You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
39 KiB
1 line
39 KiB
1 year ago
|
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[62],{9297:function(e,r,n){n.d(r,{C:function(){return d},k:function(){return v}});var t=n(5893),o=n(1458),i=n(1496),c=n(7169),a=(0,i.ZP)(o.Z)({height:"1em",borderRadius:c.n_,backgroundColor:c.v9});function l(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}var u="AllocationBar",s={barOk:"".concat(u,"-barOk"),barWarning:"".concat(u,"-barWarning"),barAlert:"".concat(u,"-barAlert"),underline:"".concat(u,"-underline")},f=(0,i.ZP)("div")((function(){var e;return l(e={},"& .".concat(s.barOk),{backgroundColor:c.Ej}),l(e,"& .".concat(s.barWarning),{backgroundColor:c.Wd}),l(e,"& .".concat(s.barAlert),{backgroundColor:c.hM}),l(e,"& .".concat(s.underline),{borderRadius:c.n_}),e})),d=function(e){var r=e.allocated;return(0,t.jsxs)(f,{children:[(0,t.jsx)(a,{classes:{bar:r>70?r>90?s.barAlert:s.barWarning:s.barOk},variant:"determinate",value:r}),(0,t.jsx)(o.Z,{className:s.underline,variant:"determinate",value:0})]})};function p(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}var b="ProgressBar",m={barOk:"".concat(b,"-barOk"),barInProgress:"".concat(b,"-barInProgress"),underline:"".concat(b,"-underline")},y=(0,i.ZP)("div")((function(){var e;return p(e={},"& .".concat(m.barOk),{backgroundColor:c.Ej}),p(e,"& .".concat(m.barInProgress),{backgroundColor:c.Wd}),p(e,"& .".concat(m.underline),{borderRadius:c.n_}),e})),v=function(e){var r=e.progressPercentage;return(0,t.jsxs)(y,{children:[(0,t.jsx)(a,{classes:{bar:r<100?m.barInProgress:m.barOk},variant:"determinate",value:r}),(0,t.jsx)(o.Z,{className:m.underline,variant:"determinate",value:0})]})}},2349:function(e,r,n){var t=n(5893),o=n(8128),i=n(3631),c=n(7169);function a(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function l(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(r){a(e,r,n[r])}))}return e}function u(e,r){if(null==e)return{};var n,t,o=function(e,r){if(null==e)return{};var n,t,o={},i=Object.keys(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||(o[n]=e[n]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}r.Z=function(e){var r=e.sx,n=u(e,["sx"]);return(0,t.jsx)(o.Z,l({},n,{sx:l(a({color:c.s7},"&.".concat(i.Z.checked),{color:c.s7}),r)}))}},582:function(e,r,n){var t=n(1496),o=n(7720),i=n(7169),c=(0,t.ZP)(o.Z)({backgroundColor:i.d});r.Z=c},4690:function(e,r,n){var t=n(5893),o=n(7357),i=n(7294);function c(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function a(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(r){c(e,r,n[r])}))}return e}function l(e,r){if(null==e)return{};var n,t,o=function(e,r){if(null==e)return{};var n,t,o={},i=Object.keys(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||(o[n]=e[n]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var u={columnSpacing:void 0,fullWidth:!1,growFirst:!1,row:!1,rowSpacing:void 0,lg:void 0,md:void 0,sm:void 0,spacing:"1em",xl:void 0,xs:"column"},s=function(e){var r=e.fullWidth,n=e.growFirst,c=e.lg,s=void 0===c?u.lg:c,f=e.md,d=void 0===f?u.md:f,p=e.row,b=e.sm,m=void 0===b?u.sm:b,y=e.spacing,v=void 0===y?u.spacing:y,g=e.sx,h=e.xl,O=void 0===h?u.xl:h,j=e.x
|