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 lines
12 KiB

"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[203],{27036:function(e,t,r){var o=r(64836);t.Z=void 0;var a=o(r(64938)),l=r(85893),n=(0,a.default)((0,l.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check");t.Z=n},43800:function(e,t,r){var o=r(64836);t.Z=void 0;var a=o(r(64938)),l=r(85893),n=(0,a.default)((0,l.jsx)("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"}),"Link");t.Z=n},58843:function(e,t,r){r.d(t,{Z:function(){return z}});var o=r(63366),a=r(87462),l=r(67294),n=r(63961),i=r(94780),s=r(74423),c=r(70828),d=r(59766),u=r(34867),p=r(70182);let m=(0,p.ZP)();var h=r(29628),v=r(39707),b=r(66500),Z=r(95408),g=r(98700),f=r(85893);let k=["component","direction","spacing","divider","children","className","useFlexGap"],y=(0,b.Z)(),$=m("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function useThemePropsDefault(e){return(0,h.Z)({props:e,name:"MuiStack",defaultTheme:y})}let getSideFromDirection=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],style=({ownerState:e,theme:t})=>{let r=(0,a.Z)({display:"flex",flexDirection:"column"},(0,Z.k9)({theme:t},(0,Z.P$)({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e})));if(e.spacing){let o=(0,g.hB)(t),a=Object.keys(t.breakpoints.values).reduce((t,r)=>(("object"==typeof e.spacing&&null!=e.spacing[r]||"object"==typeof e.direction&&null!=e.direction[r])&&(t[r]=!0),t),{}),l=(0,Z.P$)({values:e.direction,base:a}),n=(0,Z.P$)({values:e.spacing,base:a});"object"==typeof l&&Object.keys(l).forEach((e,t,r)=>{let o=l[e];if(!o){let o=t>0?l[r[t-1]]:"column";l[e]=o}}),r=(0,d.Z)(r,(0,Z.k9)({theme:t},n,(t,r)=>e.useFlexGap?{gap:(0,g.NA)(o,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${getSideFromDirection(r?l[r]:e.direction)}`]:(0,g.NA)(o,t)}}))}return(0,Z.dt)(t.breakpoints,r)};var x=r(90948),C=r(71657);let w=function(e={}){let{createStyledComponent:t=$,useThemeProps:r=useThemePropsDefault,componentName:n="MuiStack"}=e,useUtilityClasses=()=>(0,i.Z)({root:["root"]},e=>(0,u.Z)(n,e),{}),s=t(style),d=l.forwardRef(function(e,t){let n=r(e),i=(0,v.Z)(n),{component:d="div",direction:u="column",spacing:p=0,divider:m,children:h,className:b,useFlexGap:Z=!1}=i,g=(0,o.Z)(i,k),y=useUtilityClasses();return(0,f.jsx)(s,(0,a.Z)({as:d,ownerState:{direction:u,spacing:p,useFlexGap:Z},ref:t,className:(0,c.Z)(y.root,b)},g,{children:m?function(e,t){let r=l.Children.toArray(e).filter(Boolean);return r.reduce((e,o,a)=>(e.push(o),a<r.length-1&&e.push(l.cloneElement(t,{key:`separator-${a}`})),e),[])}(h,m):h}))});return d}({createStyledComponent:(0,x.ZP)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,C.Z)({props:e,name:"MuiStack"})});var S=r(15861),P=r(98216),R=r(1588);function getFormControlLabelUtilityClasses(e){return(0,u.Z)("MuiFormControlLabel",e)}let D=(0,R.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);var L=r(15704);let M=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],useUtilityClasses=e=>{let{classes:t,disabled:r,labelPlacement:o,error:a,required:l}=e,n={root:["root",r&&"disabled",`labelPlacement${(0,P.Z)(o)}`,a&&"error",l&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",a&&"error"]};return(0,i.Z)(n,getFormControlLabelUtilityClasses,t)},j=(0,x.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{[`& .${D.label}`]:t.label},t.root,t[`labelPlacement${(0,P.Z)(r.labelPlacement)}`]]}})(({theme:e,ownerState:t})=>(0,a.Z)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${D.disabled}`]:{cursor:"default"}},"start"===t.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===t.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===t.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${D.label}`]:{[`&.${D.disabled}`]:{color:(e.vars||e).palette.text.disabled}}})),N=(0,x.ZP)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${D.error}`]:{color:(e.vars||e).palette.error.main}})),F=l.forwardRef(function(e,t){var r,i;let c=(0,C.Z)({props:e,name:"MuiFormControlLabel"}),{className:d,componentsProps:u={},control:p,disabled:m,disableTypography:h,label:v,labelPlacement:b="end",required:Z,slotProps:g={}}=c,k=(0,o.Z)(c,M),y=(0,s.Z)(),$=null!=(r=null!=m?m:p.props.disabled)?r:null==y?void 0:y.disabled,x=null!=Z?Z:p.props.required,P={disabled:$,required:x};["checked","name","onChange","value","inputRef"].forEach(e=>{void 0===p.props[e]&&void 0!==c[e]&&(P[e]=c[e])});let R=(0,L.Z)({props:c,muiFormControl:y,states:["error"]}),D=(0,a.Z)({},c,{disabled:$,labelPlacement:b,required:x,error:R.error}),F=useUtilityClasses(D),z=null!=(i=g.typography)?i:u.typography,T=v;return null==T||T.type===S.Z||h||(T=(0,f.jsx)(S.Z,(0,a.Z)({component:"span"},z,{className:(0,n.Z)(F.label,null==z?void 0:z.className),children:T}))),(0,f.jsxs)(j,(0,a.Z)({className:(0,n.Z)(F.root,d),ownerState:D,ref:t},k,{children:[l.cloneElement(p,P),x?(0,f.jsxs)(w,{display:"block",children:[T,(0,f.jsxs)(N,{ownerState:D,"aria-hidden":!0,className:F.asterisk,children:["","*"]})]}):T]}))});var z=F},23795:function(e,t,r){r.d(t,{Z:function(){return C}});var o=r(63366),a=r(87462),l=r(67294),n=r(63961),i=r(94780),s=r(98216),c=r(90948),d=r(71657),u=r(18791),p=r(51705),m=r(15861),h=r(1588),v=r(34867);function getLinkUtilityClass(e){return(0,v.Z)("MuiLink",e)}let b=(0,h.Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var Z=r(54844),g=r(41796);let f={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},transformDeprecatedColors=e=>f[e]||e;var Link_getTextDecoration=({theme:e,ownerState:t})=>{let r=transformDeprecatedColors(t.color),o=(0,Z.DW)(e,`palette.${r}`,!1)||t.color,a=(0,Z.DW)(e,`palette.${r}Channel`);return"vars"in e&&a?`rgba(${a} / 0.4)`:(0,g.Fq)(o,.4)},k=r(85893);let y=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],useUtilityClasses=e=>{let{classes:t,component:r,focusVisible:o,underline:a}=e,l={root:["root",`underline${(0,s.Z)(a)}`,"button"===r&&"button",o&&"focusVisible"]};return(0,i.Z)(l,getLinkUtilityClass,t)},$=(0,c.ZP)(m.Z,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`underline${(0,s.Z)(r.underline)}`],"button"===r.component&&t.button]}})(({theme:e,ownerState:t})=>(0,a.Z)({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&(0,a.Z)({textDecoration:"underline"},"inherit"!==t.color&&{textDecorationColor:Link_getTextDecoration({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===t.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${b.focusVisible}`]:{outline:"auto"}})),x=l.forwardRef(function(e,t){let r=(0,d.Z)({props:e,name:"MuiLink"}),{className:i,color:s="primary",component:c="a",onBlur:m,onFocus:h,TypographyClasses:v,underline:b="always",variant:Z="inherit",sx:g}=r,x=(0,o.Z)(r,y),{isFocusVisibleRef:C,onBlur:w,onFocus:S,ref:P}=(0,u.Z)(),[R,D]=l.useState(!1),L=(0,p.Z)(t,P),M=(0,a.Z)({},r,{color:s,component:c,focusVisible:R,underline:b,variant:Z}),j=useUtilityClasses(M);return(0,k.jsx)($,(0,a.Z)({color:s,className:(0,n.Z)(j.root,i),classes:v,component:c,onBlur:e=>{w(e),!1===C.current&&D(!1),m&&m(e)},onFocus:e=>{S(e),!0===C.current&&D(!0),h&&h(e)},ref:L,ownerState:M,variant:Z,sx:[...Object.keys(f).includes(s)?[]:[{color:s}],...Array.isArray(g)?g:[g]]},x))});var C=x},72852:function(e,t,r){var o=r(63366),a=r(87462),l=r(67294),n=r(63961),i=r(94780),s=r(41796),c=r(98216),d=r(21964),u=r(71657),p=r(90948),m=r(29632),h=r(85893);let v=["className","color","edge","size","sx"],useUtilityClasses=e=>{let{classes:t,edge:r,size:o,color:l,checked:n,disabled:s}=e,d={root:["root",r&&`edge${(0,c.Z)(r)}`,`size${(0,c.Z)(o)}`],switchBase:["switchBase",`color${(0,c.Z)(l)}`,n&&"checked",s&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},u=(0,i.Z)(d,m.H,t);return(0,a.Z)({},t,u)},b=(0,p.ZP)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.edge&&t[`edge${(0,c.Z)(r.edge)}`],t[`size${(0,c.Z)(r.size)}`]]}})(({ownerState:e})=>(0,a.Z)({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},"start"===e.edge&&{marginLeft:-8},"end"===e.edge&&{marginRight:-8},"small"===e.size&&{width:40,height:24,padding:7,[`& .${m.Z.thumb}`]:{width:16,height:16},[`& .${m.Z.switchBase}`]:{padding:4,[`&.${m.Z.checked}`]:{transform:"translateX(16px)"}}})),Z=(0,p.ZP)(d.Z,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.switchBase,{[`& .${m.Z.input}`]:t.input},"default"!==r.color&&t[`color${(0,c.Z)(r.color)}`]]}})(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${"light"===e.palette.mode?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${m.Z.checked}`]:{transform:"translateX(20px)"},[`&.${m.Z.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${m.Z.checked} + .${m.Z.track}`]:{opacity:.5},[`&.${m.Z.disabled} + .${m.Z.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${"light"===e.palette.mode?.12:.2}`},[`& .${m.Z.input}`]:{left:"-100%",width:"300%"}}),({theme:e,ownerState:t})=>(0,a.Z)({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,s.Fq)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${m.Z.checked}`]:{color:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,s.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${m.Z.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t.color}DisabledColor`]:`${"light"===e.palette.mode?(0,s.$n)(e.palette[t.color].main,.62):(0,s._j)(e.palette[t.color].main,.55)}`}},[`&.${m.Z.checked} + .${m.Z.track}`]:{backgroundColor:(e.vars||e).palette[t.color].main}})),g=(0,p.ZP)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${"light"===e.palette.mode?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${"light"===e.palette.mode?.38:.3}`})),f=(0,p.ZP)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),k=l.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"MuiSwitch"}),{className:l,color:i="primary",edge:s=!1,size:c="medium",sx:d}=r,p=(0,o.Z)(r,v),m=(0,a.Z)({},r,{color:i,edge:s,size:c}),k=useUtilityClasses(m),y=(0,h.jsx)(f,{className:k.thumb,ownerState:m});return(0,h.jsxs)(b,{className:(0,n.Z)(k.root,l),sx:d,ownerState:m,children:[(0,h.jsx)(Z,(0,a.Z)({type:"checkbox",icon:y,checkedIcon:y,ref:t,ownerState:m},p,{classes:(0,a.Z)({},k,{root:k.switchBase})})),(0,h.jsx)(g,{className:k.track,ownerState:m})]})});t.Z=k}}]);