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
23 KiB
1 line
23 KiB
3 years ago
|
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[941],{8283:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/file-manager",function(){return r(32)}])},9297:function(e,n,r){"use strict";r.d(n,{C:function(){return d},k:function(){return x}});var t=r(5893),o=r(1458),i=r(1496),a=r(7169),l=(0,i.ZP)(o.Z)({height:"1em",borderRadius:a.n_,backgroundColor:a.v9});function c(e,n,r){return n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,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 c(e={},"& .".concat(s.barOk),{backgroundColor:a.Ej}),c(e,"& .".concat(s.barWarning),{backgroundColor:a.Wd}),c(e,"& .".concat(s.barAlert),{backgroundColor:a.hM}),c(e,"& .".concat(s.underline),{borderRadius:a.n_}),e})),d=function(e){var n=e.allocated;return(0,t.jsxs)(f,{children:[(0,t.jsx)(l,{classes:{bar:n>70?n>90?s.barAlert:s.barWarning:s.barOk},variant:"determinate",value:n}),(0,t.jsx)(o.Z,{className:s.underline,variant:"determinate",value:0})]})};function p(e,n,r){return n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}var v="ProgressBar",h={barOk:"".concat(v,"-barOk"),barInProgress:"".concat(v,"-barInProgress"),underline:"".concat(v,"-underline")},m=(0,i.ZP)("div")((function(){var e;return p(e={},"& .".concat(h.barOk),{backgroundColor:a.Ej}),p(e,"& .".concat(h.barInProgress),{backgroundColor:a.Wd}),p(e,"& .".concat(h.underline),{borderRadius:a.n_}),e})),x=function(e){var n=e.progressPercentage;return(0,t.jsxs)(m,{children:[(0,t.jsx)(l,{classes:{bar:n<100?h.barInProgress:h.barOk},variant:"determinate",value:n}),(0,t.jsx)(o.Z,{className:h.underline,variant:"determinate",value:0})]})}},1706:function(e,n,r){"use strict";r.d(n,{Z:function(){return a}});var t=r(1496),o=r(3946),i=r(7169),a=(0,t.ZP)(o.Z)({borderRadius:i.n_,backgroundColor:i.s7,"&:hover":{backgroundColor:i.lD},color:i.E5})},1200:function(e,n){"use strict";function r(e,n){(null==n||n>e.length)&&(n=e.length);for(var r=0,t=new Array(n);r<n;r++)t[r]=e[r];return t}function t(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"===typeof e)return r(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return r(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.Z=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return fetch.apply(void 0,t(n)).then((function(e){return e.json()}))}},1905:function(e,n,r){"use strict";var t=r(2515),o=r(1200);n.Z=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.refreshInterval,i=void 0===r?5e3:r,a=n.onSuccess,l=(0,t.ZP)(e,o.Z,{refreshInterval:i,onSuccess:a}),c=l.data,u=l.error;return{data:c,isLoading:!u&&!c,isError:u}}},32:function(e,n,r){"use strict";r.r(n),r.d(n,{default:function(){return Qe}});var t,o=r(5893),i=r(9008),a=r(4051),l=r.n(a),c=r(7294),u=r(7357),s=r(2428),f=r(2026),d=r(1797),p=r(5293),v=r.n(p),h=null===(t="/cgi-bin")?void 0:t.replace("/cgi-bin","/api"),m=r(7169),x=r(8128),y=r(3631),b=r(8262),g=r(1496),j=r(3321),w=(0,g.ZP)(j.Z)({backgroundColor:m.lD,color:m.E5,textTransform:"none","&:hover":{backgroundColor:m.s7}}),Z=function(e){var n=e.children,r=e.onClick,t=e.sx,i=e.type;return(0,o.jsx)(w,{onClick:r,sx:t,type:i,variant:"contained",children:n})},C=r(9203),P=r(3430),k={actionCancelText:"Cancel",proceedButtonProps:{sx:void 0}},S=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:k,n=e.actionCancelText,r=e.actionProceedText,t=e.contentText,i=e.dialogPro
|