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
9.5 KiB

(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[638],{4685:function(t,e,n){"use strict";var i=n(7892),r=n(5893);e.Z=(0,i.Z)((0,r.jsx)("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreVert")},2852:function(t,e,n){"use strict";var i=n(3366),r=n(7462),o=n(7294),a=n(6010),c=n(7192),l=n(1796),u=n(8216),s=n(1964),b=n(3616),d=n(1496),p=n(9632),h=n(5893);const v=["className","color","edge","size","sx"],f=(0,d.ZP)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.edge&&e[`edge${(0,u.Z)(n.edge)}`],e[`size${(0,u.Z)(n.size)}`]]}})((({ownerState:t})=>(0,r.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"===t.edge&&{marginLeft:-8},"end"===t.edge&&{marginRight:-8},"small"===t.size&&{width:40,height:24,padding:7,[`& .${p.Z.thumb}`]:{width:16,height:16},[`& .${p.Z.switchBase}`]:{padding:4,[`&.${p.Z.checked}`]:{transform:"translateX(16px)"}}}))),m=(0,d.ZP)(s.Z,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.switchBase,{[`& .${p.Z.input}`]:e.input},"default"!==n.color&&e[`color${(0,u.Z)(n.color)}`]]}})((({theme:t})=>({position:"absolute",top:0,left:0,zIndex:1,color:"light"===t.palette.mode?t.palette.common.white:t.palette.grey[300],transition:t.transitions.create(["left","transform"],{duration:t.transitions.duration.shortest}),[`&.${p.Z.checked}`]:{transform:"translateX(20px)"},[`&.${p.Z.disabled}`]:{color:"light"===t.palette.mode?t.palette.grey[100]:t.palette.grey[600]},[`&.${p.Z.checked} + .${p.Z.track}`]:{opacity:.5},[`&.${p.Z.disabled} + .${p.Z.track}`]:{opacity:"light"===t.palette.mode?.12:.2},[`& .${p.Z.input}`]:{left:"-100%",width:"300%"}})),(({theme:t,ownerState:e})=>(0,r.Z)({"&:hover":{backgroundColor:(0,l.Fq)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==e.color&&{[`&.${p.Z.checked}`]:{color:t.palette[e.color].main,"&:hover":{backgroundColor:(0,l.Fq)(t.palette[e.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${p.Z.disabled}`]:{color:"light"===t.palette.mode?(0,l.$n)(t.palette[e.color].main,.62):(0,l._j)(t.palette[e.color].main,.55)}},[`&.${p.Z.checked} + .${p.Z.track}`]:{backgroundColor:t.palette[e.color].main}}))),g=(0,d.ZP)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(t,e)=>e.track})((({theme:t})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:"light"===t.palette.mode?t.palette.common.black:t.palette.common.white,opacity:"light"===t.palette.mode?.38:.3}))),y=(0,d.ZP)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(t,e)=>e.thumb})((({theme:t})=>({boxShadow:t.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),Z=o.forwardRef((function(t,e){const n=(0,b.Z)({props:t,name:"MuiSwitch"}),{className:o,color:l="primary",edge:s=!1,size:d="medium",sx:Z}=n,w=(0,i.Z)(n,v),B=(0,r.Z)({},n,{color:l,edge:s,size:d}),k=(t=>{const{classes:e,edge:n,size:i,color:o,checked:a,disabled:l}=t,s={root:["root",n&&`edge${(0,u.Z)(n)}`,`size${(0,u.Z)(i)}`],switchBase:["switchBase",`color${(0,u.Z)(o)}`,a&&"checked",l&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},b=(0,c.Z)(s,p.H,e);return(0,r.Z)({},e,b)})(B),x=(0,h.jsx)(y,{className:k.thumb,ownerState:B});return(0,h.jsxs)(f,{className:(0,a.Z)(k.root,o),sx:Z,ownerState:B,children:[(0,h.jsx)(m,(0,r.Z)({type:"checkbox",icon:x,checkedIcon:x,ref:e,ownerState:B},w,{classes:(0,r.Z)({},k,{root:k.switchBase})})),(0,h.jsx)(g,{className:k.track,ownerState:B})]})}));e.Z=Z},4490:function(t,e,n){"use strict";n.d(e,{_d:function(){return m},gO:function(){return f}});var i=function(t,e,n){return Math.max(e,Math.min(t,n))},r={"b-