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.

101 lines
103 KiB

"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[738],{917:function(e,t,n){var r;n.d(t,{xB:function(){return u},iv:function(){return d},F4:function(){return p}});var o=n(7294),i=(n(4474),n(4880)),a=(n(8679),n(444)),s=n(3772),l=n(1526),c=(r||(r=n.t(o,2))).useInsertionEffect?(r||(r=n.t(o,2))).useInsertionEffect:o.useLayoutEffect,u=(0,i.w)((function(e,t){var n=e.styles,r=(0,s.O)([n],void 0,(0,o.useContext)(i.T)),u=(0,o.useRef)();return c((function(){var e=t.key+"-global",n=new l.m({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,i=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==i&&(o=!0,i.setAttribute("data-emotion",e),n.hydrate([i])),u.current=[n,o],function(){n.flush()}}),[t]),c((function(){var e=u.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&(0,a.My)(t,r.next,!0),n.tags.length){var o=n.tags[n.tags.length-1].nextElementSibling;n.before=o,n.flush()}t.insert("",r,n,!1)}}),[t,r.name]),null}));function d(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,s.O)(t)}var p=function(){var e=d.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},444:function(e,t,n){n.d(t,{fp:function(){return r},My:function(){return i},hC:function(){return o}});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},i=function(e,t,n){o(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0);i=i.next}while(void 0!==i)}}},8385:function(e,t,n){var r=n(7294),o=n(3935),i=n(67),a=n(6600),s=n(7960);const l=r.forwardRef((function(e,t){const{children:n,container:l,disablePortal:c=!1}=e,[u,d]=r.useState(null),p=(0,i.Z)(r.isValidElement(n)?n.ref:null,t);return(0,a.Z)((()=>{c||d(function(e){return"function"===typeof e?e():e}(l)||document.body)}),[l,c]),(0,a.Z)((()=>{if(u&&!c)return(0,s.Z)(t,u),()=>{(0,s.Z)(t,null)}}),[t,u,c]),c?r.isValidElement(n)?r.cloneElement(n,{ref:p}):n:u?o.createPortal(n,u):u}));t.Z=l},2310:function(e,t,n){var r=n(7294),o=n(67),i=n(7094),a=n(5893);const s=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function l(e){const t=[],n=[];return Array.from(e.querySelectorAll(s)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex"),10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function c(){return!0}t.Z=function(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:s=!1,disableRestoreFocus:u=!1,getTabbable:d=l,isEnabled:p=c,open:f}=e,m=r.useRef(),h=r.useRef(null),v=r.useRef(null),g=r.useRef(null),y=r.useRef(null),b=r.useRef(!1),Z=r.useRef(null),x=(0,o.Z)(t.ref,Z),S=r.useRef(null);r.useEffect((()=>{f&&Z.current&&(b.current=!n)}),[n,f]),r.useEffect((()=>{if(!f||!Z.current)return;const e=(0,i.Z)(Z.current);return Z.current.contains(e.activeElement)||(Z.current.hasAttribute("tabIndex")||Z.current.setAttribute("tabIndex",-1),b.current&&Z.current.focus()),()=>{u||(g.current&&g.current.focus&&(m.current=!0,g.current.focus()),g.current=null)}}),[f]),r.useEffect((()=>
0% {
transform: scale(0);
opacity: 0.1;
}
100% {
transform: scale(1);
opacity: 0.3;
}
`)),O=(0,x.F4)(C||(C=z`
0% {
opacity: 1;
}
100% {
opacity: 0;
}
`)),F=(0,x.F4)(T||(T=z`
0% {
transform: scale(1);
}
50% {
transform: scale(0.92);
}
100% {
transform: scale(1);
}
`)),N=(0,l.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),$=(0,l.ZP)(w,{name:"MuiTouchRipple",slot:"Ripple"})(M||(M=z`
opacity: 0;
position: absolute;
&.${0} {
opacity: 0.3;
transform: scale(1);
animation-name: ${0};
animation-duration: ${0}ms;
animation-timing-function: ${0};
}
&.${0} {
animation-duration: ${0}ms;
}
& .${0} {
opacity: 1;
display: block;
width: 100%;
height: 100%;
border-radius: 50%;
background-color: currentColor;
}
& .${0} {
opacity: 0;
animation-name: ${0};
animation-duration: ${0}ms;
animation-timing-function: ${0};
}
& .${0} {
position: absolute;
/* @noflip */
left: 0px;
top: 0;
animation-name: ${0};
animation-duration: 2500ms;
animation-timing-function: ${0};
animation-iteration-count: infinite;
animation-delay: 200ms;
}
`),E.rippleVisible,I,550,(({theme:e})=>e.transitions.easing.easeInOut),E.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),E.child,E.childLeaving,O,550,(({theme:e})=>e.transitions.easing.easeInOut),E.childPulsate,F,(({theme:e})=>e.transitions.easing.easeInOut));var L=i.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiTouchRipple"}),{center:s=!1,classes:l={},className:u}=n,d=(0,o.Z)(n,R),[p,f]=i.useState([]),m=i.useRef(0),h=i.useRef(null);i.useEffect((()=>{h.current&&(h.current(),h.current=null)}),[p]);const v=i.useRef(!1),g=i.useRef(null),y=i.useRef(null),b=i.useRef(null);i.useEffect((()=>()=>{clearTimeout(g.current)}),[]);const x=i.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:o,cb:i}=e;f((e=>[...e,(0,S.jsx)($,{classes:{ripple:(0,a.Z)(l.ripple,E.ripple),rippleVisible:(0,a.Z)(l.rippleVisible,E.rippleVisible),ripplePulsate:(0,a.Z)(l.ripplePulsate,E.ripplePulsate),child:(0,a.Z)(l.child,E.child),childLeaving:(0,a.Z)(l.childLeaving,E.childLeaving),childPulsate:(0,a.Z)(l.childPulsate,E.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},m.current)])),m.current+=1,h.current=i}),[l]),w=i.useCallback(((e={},t={},n)=>{const{pulsate:r=!1,center:o=s||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===e.type&&v.current)return void(v.current=!1);"touchstart"===e.type&&(v.current=!0);const a=i?null:b.current,l=a?a.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,d;if(o||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:n}=e.touches?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(n-l.top)}if(o)d=Math.sqrt((2*l.width**2+l.height**2)/3),d%2===0&&(d+=1);else{const e=2*Math.max(Math.abs((a?a.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((a?a.clientHeight:0)-u),u)+2;d=Math.sqrt(e**2+t**2)}e.touches?null===y.current&&(y.current=()=>{x({pulsate:r,rippleX:c,rippleY:u,rippleSize:d,cb:n})},g.current=setTimeout((()=>{y.current&&(y.current(),y.current=null)}),80)):x({pulsate:r,rippleX:c,rippleY:u,rippleSize:d,cb:n})}),[s,x]),k=i.useCallback((()=>{w({},{pulsate:!0})}),[w]),P=i.useCallback(((e,t)=>{if(clearTimeout(g.current),"touchend"===e.type&&y.current)return y.current(),y.current=null,void(g.current=setTimeout((()=>{P(e,t)})));y.current=null,f((e=>e.length>0?e.slice(1):e)),h.current=t}),[]);return i.useImperativeHandle(t,(()=>({pulsate:k,start:w,stop:P})),[k,w,P]),(0,S.jsx)(N,(0,r.Z)({className:(0,a.Z)(l.root,E.root,u),ref:b},d,{children:(0,S.jsx)(Z,{component:null,exit:!0,children:p})}))})),j=n(8979);function A(e){return(0,j.Z)("MuiButtonBase",e)}var D=(0,k.Z)("MuiButtonBase",["root","disabled","focusVisible"]);const B=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],V=(0,l.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${D.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}});var _=i.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiButtonBase"}),{action:l,centerRipple:f=!1,children:m,className:h,component:v="button",disabled:g=!1,disableRipple:y=!1,disableTouchRipple:b=!1,focusRipple:Z=!1,LinkComponent:x="a",onBlur:w,onClick:k,onContextMenu:E,onDragLeave:R,onFocus:P,onFocusVisible:C,onKeyDown:T,onKeyUp:M,onMouseDown:z,onMouseLeave:I,onMouseUp:O,onTouchEnd:F,on
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
`)),S=(0,l.F4)(v||(v=b`
0% {
stroke-dasharray: 1px, 200px;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 100px, 200px;
stroke-dashoffset: -15px;
}
100% {
stroke-dasharray: 100px, 200px;
stroke-dashoffset: -125px;
}
`)),w=(0,d.ZP)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${(0,c.Z)(n.color)}`]]}})((({ownerState:e,theme:t})=>(0,o.Z)({display:"inline-block"},"determinate"===e.variant&&{transition:t.transitions.create("transform")},"inherit"!==e.color&&{color:t.palette[e.color].main})),(({ownerState:e})=>"indeterminate"===e.variant&&(0,l.iv)(g||(g=b`
animation: ${0} 1.4s linear infinite;
`),x))),k=(0,d.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),E=(0,d.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${(0,c.Z)(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})((({ownerState:e,theme:t})=>(0,o.Z)({stroke:"currentColor"},"determinate"===e.variant&&{transition:t.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})),(({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&(0,l.iv)(y||(y=b`
animation: ${0} 1.4s ease-in-out infinite;
`),S))),R=i.forwardRef((function(e,t){const n=(0,u.Z)({props:e,name:"MuiCircularProgress"}),{className:i,color:l="primary",disableShrink:d=!1,size:h=40,style:v,thickness:g=3.6,value:y=0,variant:b="indeterminate"}=n,x=(0,r.Z)(n,m),S=(0,o.Z)({},n,{color:l,disableShrink:d,size:h,thickness:g,value:y,variant:b}),R=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,i={root:["root",n,`color${(0,c.Z)(r)}`],svg:["svg"],circle:["circle",`circle${(0,c.Z)(n)}`,o&&"circleDisableShrink"]};return(0,s.Z)(i,p.C,t)})(S),P={},C={},T={};if("determinate"===b){const e=2*Math.PI*((Z-g)/2);P.strokeDasharray=e.toFixed(3),T["aria-valuenow"]=Math.round(y),P.strokeDashoffset=`${((100-y)/100*e).toFixed(3)}px`,C.transform="rotate(-90deg)"}return(0,f.jsx)(w,(0,o.Z)({className:(0,a.Z)(R.root,i),style:(0,o.Z)({width:h,height:h},C,v),ownerState:S,ref:t,role:"progressbar"},T,x,{children:(0,f.jsx)(k,{className:R.svg,ownerState:S,viewBox:"22 22 44 44",children:(0,f.jsx)(E,{className:R.circle,style:P,ownerState:S,cx:Z,cy:Z,r:(Z-g)/2,fill:"none",strokeWidth:g})})}))}));t.Z=R},2346:function(e,t,n){n.d(t,{C:function(){return o}});var r=n(8979);function o(e){return(0,r.Z)("MuiCircularProgress",e)}const i=(0,n(6087).Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);t.Z=i},5097:function(e,t,n){n.d(t,{V:function(){return o}});var r=n(8979);function o(e){return(0,r.Z)("MuiDivider",e)}const i=(0,n(6087).Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);t.Z=i},6628:function(e,t,n){var r=n(7462),o=n(3366),i=n(7294),a=n(8885),s=n(2734),l=n(577),c=n(1705),u=n(5893);const d=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],p={entering:{opacity:1},entered:{opacity:1}},f=i.forwardRef((function(e,t){const n=(0,s.Z)(),f={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:m,appear:h=!0,children:v,easing:g,in:y,onEnter:b,onEntered:Z,onEntering:x,onExit:S,onExited:w,onExiting:k,style:E,timeout:R=f,TransitionComponent:P=a.ZP}=e,C=(0,o.Z)(e,d),T=i.useRef(null),M=(0,c.Z)(v.ref,t),z=(0,c.Z)(T,M),I=e=>t=>{if(e){const n=T.current;void 0===t?e(n):e(n,t)}},O=I(x),F=I(((e,t)=>{(0,l.n)(e);const r=(0,l.C)({style:E,timeout:R,easing:g},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),b&&b(e,t)})),N=I(Z),$=I(k),L=I((e=>{const t=(0,l.C)({style:E,timeout:R,easing:g},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),S&&S(e)})),j=I(w);return(0,u.jsx)(P,(0,r.Z)({appear:h,in:y,nodeRef:T,onEnter:F,onEntered:N,onEntering:O,onExit:L,onExited:j,onExiting:$,addEndListener:e=>{m&&m(T.current,e)},timeout:R},C,{children:(e,t)=>i.cloneElement(v,(0,r.Z)({style:(0,r.Z)({opacity:0,visibility:"exited"!==e||y?void 0:"hidden"},p[e],E,v.props.style),ref:z},t))}))}));t.Z=f},7167:function(e,t,n){const r=n(7294).createContext();t.Z=r},4423:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(7294),o=n(7167);function i(){return r.useContext(o.Z)}},2287:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(7462),o=(n(7294),n(917)),i=n(5893);function a(e){const{styles:t,defaultTheme:n={}}=e,r="function"===typeof t?e=>{return t(void 0===(r=e)||null===r||0===Object.keys(r).length?n:e);var r}:t;return(0,i.jsx)(o.xB,{styles:r})}var s=n(247);var l=function(e){return(0,i.jsx)(a,(0,r.Z)({},e,{defaultTheme:s.Z}))}},6514:function(e,t,n){var r=n(7462),o=n(3366),i=n(7294),a=n(8885),s=n(2734),l=n(577),c=n(1705),u=n(5893);const d=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function p(e){return`scale(${e}, ${e**2})`}const f={