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
35 KiB
1 line
35 KiB
2 years ago
|
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[490],{2026:function(e,t,n){"use strict";var r=n(7892),o=n(5893);t.Z=(0,r.Z)((0,o.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check")},2852:function(e,t,n){"use strict";var r=n(3366),o=n(7462),i=n(7294),c=n(6010),l=n(7192),a=n(1796),s=n(8216),u=n(1964),d=n(3616),f=n(1496),h=n(9632),p=n(5893);const m=["className","color","edge","size","sx"],b=(0,f.ZP)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${(0,s.Z)(n.edge)}`],t[`size${(0,s.Z)(n.size)}`]]}})((({ownerState:e})=>(0,o.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,[`& .${h.Z.thumb}`]:{width:16,height:16},[`& .${h.Z.switchBase}`]:{padding:4,[`&.${h.Z.checked}`]:{transform:"translateX(16px)"}}}))),y=(0,f.ZP)(u.Z,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${h.Z.input}`]:t.input},"default"!==n.color&&t[`color${(0,s.Z)(n.color)}`]]}})((({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:"light"===e.palette.mode?e.palette.common.white:e.palette.grey[300],transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${h.Z.checked}`]:{transform:"translateX(20px)"},[`&.${h.Z.disabled}`]:{color:"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]},[`&.${h.Z.checked} + .${h.Z.track}`]:{opacity:.5},[`&.${h.Z.disabled} + .${h.Z.track}`]:{opacity:"light"===e.palette.mode?.12:.2},[`& .${h.Z.input}`]:{left:"-100%",width:"300%"}})),(({theme:e,ownerState:t})=>(0,o.Z)({"&:hover":{backgroundColor:(0,a.Fq)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${h.Z.checked}`]:{color:e.palette[t.color].main,"&:hover":{backgroundColor:(0,a.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${h.Z.disabled}`]:{color:"light"===e.palette.mode?(0,a.$n)(e.palette[t.color].main,.62):(0,a._j)(e.palette[t.color].main,.55)}},[`&.${h.Z.checked} + .${h.Z.track}`]:{backgroundColor:e.palette[t.color].main}}))),g=(0,f.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:"light"===e.palette.mode?e.palette.common.black:e.palette.common.white,opacity:"light"===e.palette.mode?.38:.3}))),v=(0,f.ZP)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})((({theme:e})=>({boxShadow:e.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),x=i.forwardRef((function(e,t){const n=(0,d.Z)({props:e,name:"MuiSwitch"}),{className:i,color:a="primary",edge:u=!1,size:f="medium",sx:x}=n,j=(0,r.Z)(n,m),w=(0,o.Z)({},n,{color:a,edge:u,size:f}),Z=(e=>{const{classes:t,edge:n,size:r,color:i,checked:c,disabled:a}=e,u={root:["root",n&&`edge${(0,s.Z)(n)}`,`size${(0,s.Z)(r)}`],switchBase:["switchBase",`color${(0,s.Z)(i)}`,c&&"checked",a&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},d=(0,l.Z)(u,h.H,t);return(0,o.Z)({},t,d)})(w),P=(0,p.jsx)(v,{className:Z.thumb,ownerState:w});return(0,p.jsxs)(b,{className:(0,c.Z)(Z.root,i),sx:x,ownerState:w,children:[(0,p.jsx)(y,(0,o.Z)({type:"checkbox",icon:P,checkedIcon:P,ref:t,ownerState:w},j,{classes:(0,o.Z)({},Z,{root:Z.switchBase})})),(0,p.jsx)(g,{className:Z.track,ownerState:w})]})}));t.Z=x},329:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/config",function(){return n(528)}])},528:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Ge}});var r=n(5893),o=n(7357),i=n(6886),c=n(7294),l=n(2029),a=n(157),s=n(571
|