Local modifications to ClusterLabs/Anvil by Alteeve
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
22 KiB

"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[818],{9297:function(r,e,n){n.d(e,{C:function(){return d},k:function(){return g}});var t=n(5893),o=n(1458),i=n(1496),a=n(7169),c=(0,i.ZP)(o.Z)({height:"1em",borderRadius:a.n_,backgroundColor:a.v9});function l(r,e,n){return e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}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 r;return l(r={},"& .".concat(s.barOk),{backgroundColor:a.Ej}),l(r,"& .".concat(s.barWarning),{backgroundColor:a.Wd}),l(r,"& .".concat(s.barAlert),{backgroundColor:a.hM}),l(r,"& .".concat(s.underline),{borderRadius:a.n_}),r})),d=function(r){var e=r.allocated;return(0,t.jsxs)(f,{children:[(0,t.jsx)(c,{classes:{bar:e>70?e>90?s.barAlert:s.barWarning:s.barOk},variant:"determinate",value:e}),(0,t.jsx)(o.Z,{className:s.underline,variant:"determinate",value:0})]})};function p(r,e,n){return e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}var b="ProgressBar",m={barOk:"".concat(b,"-barOk"),barInProgress:"".concat(b,"-barInProgress"),underline:"".concat(b,"-underline")},h=(0,i.ZP)("div")((function(){var r;return p(r={},"& .".concat(m.barOk),{backgroundColor:a.Ej}),p(r,"& .".concat(m.barInProgress),{backgroundColor:a.Wd}),p(r,"& .".concat(m.underline),{borderRadius:a.n_}),r})),g=function(r){var e=r.progressPercentage;return(0,t.jsxs)(h,{children:[(0,t.jsx)(c,{classes:{bar:e<100?m.barInProgress:m.barOk},variant:"determinate",value:e}),(0,t.jsx)(o.Z,{className:m.underline,variant:"determinate",value:0})]})}},2349:function(r,e,n){var t=n(5893),o=n(8128),i=n(3631),a=n(7169);function c(r,e,n){return e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function l(r){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable})))),t.forEach((function(e){c(r,e,n[e])}))}return r}function u(r,e){if(null==r)return{};var n,t,o=function(r,e){if(null==r)return{};var n,t,o={},i=Object.keys(r);for(t=0;t<i.length;t++)n=i[t],e.indexOf(n)>=0||(o[n]=r[n]);return o}(r,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(t=0;t<i.length;t++)n=i[t],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(r,n)&&(o[n]=r[n])}return o}e.Z=function(r){var e=r.sx,n=u(r,["sx"]);return(0,t.jsx)(o.Z,l({},n,{sx:l(c({color:a.s7},"&.".concat(i.Z.checked),{color:a.s7}),e)}))}},582:function(r,e,n){var t=n(1496),o=n(7720),i=n(7169),a=(0,t.ZP)(o.Z)({backgroundColor:i.d});e.Z=a},5716:function(r,e,n){n.d(e,{Z:function(){return ir}});var t=n(5893),o=n(1113),i=n(1496),a=n(2293),c=n(7357),l=n(3321),u=n(4799),s=n(7294),f=n(7169),d=[{text:"Files",image:"/pngs/files_on.png",uri:"/../file-manager"},{text:"Tasks",image:"/pngs/tasks_no-jobs_icon.png",uri:"/striker?jobs=true"},{text:"Configure",image:"/pngs/configure_icon_on.png",uri:"/striker?configure=true"},{text:"Striker",image:"/pngs/striker_icon_on.png",uri:"/striker?striker=true"},{text:"Anvil",image:"/pngs/anvil_icon_on.png",uri:"/striker?anvil=true"},{text:"Email",image:"/pngs/email_on.png",uri:"/striker?email=true"},{text:"Logout",image:"/pngs/users_icon_on.png",uri:"/striker?logout=true"},{text:"Help",image:"/pngs/help_icon_on.png",uri:"https://alteeve.com/w/Support"}],p={width:"40em",height:"40em"},b=n(7533),m=n(8462),h=n(891),g=n(7720),y=n(5709),v=n(2416);function x(r,e,n){return e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function j(r){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(r){return Object.getOwnPropertyDescriptor(n,r).e