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
10 KiB
1 lines
10 KiB
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[924],{57976:function(t,e,i){"use strict";var r=i(64836);e.Z=void 0;var n=r(i(64938)),o=i(85893),a=(0,n.default)((0,o.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");e.Z=a},72852:function(t,e,i){"use strict";var r=i(63366),n=i(87462),o=i(67294),a=i(63961),c=i(94780),l=i(41796),s=i(98216),u=i(21964),d=i(71657),b=i(90948),p=i(29632),v=i(85893);let h=["className","color","edge","size","sx"],useUtilityClasses=t=>{let{classes:e,edge:i,size:r,color:o,checked:a,disabled:l}=t,u={root:["root",i&&`edge${(0,s.Z)(i)}`,`size${(0,s.Z)(r)}`],switchBase:["switchBase",`color${(0,s.Z)(o)}`,a&&"checked",l&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},d=(0,c.Z)(u,p.H,e);return(0,n.Z)({},e,d)},f=(0,b.ZP)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:i}=t;return[e.root,i.edge&&e[`edge${(0,s.Z)(i.edge)}`],e[`size${(0,s.Z)(i.size)}`]]}})(({ownerState:t})=>(0,n.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,b.ZP)(u.Z,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(t,e)=>{let{ownerState:i}=t;return[e.switchBase,{[`& .${p.Z.input}`]:e.input},"default"!==i.color&&e[`color${(0,s.Z)(i.color)}`]]}})(({theme:t})=>({position:"absolute",top:0,left:0,zIndex:1,color:t.vars?t.vars.palette.Switch.defaultColor:`${"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:t.vars?t.vars.palette.Switch.defaultDisabledColor:`${"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:t.vars?t.vars.opacity.switchTrackDisabled:`${"light"===t.palette.mode?.12:.2}`},[`& .${p.Z.input}`]:{left:"-100%",width:"300%"}}),({theme:t,ownerState:e})=>(0,n.Z)({"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,l.Fq)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==e.color&&{[`&.${p.Z.checked}`]:{color:(t.vars||t).palette[e.color].main,"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,l.Fq)(t.palette[e.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${p.Z.disabled}`]:{color:t.vars?t.vars.palette.Switch[`${e.color}DisabledColor`]:`${"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.vars||t).palette[e.color].main}})),g=(0,b.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:t.vars?t.vars.palette.common.onBackground:`${"light"===t.palette.mode?t.palette.common.black:t.palette.common.white}`,opacity:t.vars?t.vars.opacity.switchTrack:`${"light"===t.palette.mode?.38:.3}`})),y=(0,b.ZP)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(t,e)=>e.thumb})(({theme:t})=>({boxShadow:(t.vars||t).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),S=o.forwardRef(function(t,e){let i=(0,d.Z)({props:t,name:"MuiSwitch"}),{className:o,color:c="primary",edge:l=!1,size:s="medium",sx:u}=i,b=(0,r.Z)(i,h),p=(0,n.Z)({},i,{color:c,edge:l,size:s}),S=useUtilityClasses(p),w=(0,v.jsx)(y,{className:S.thumb,ownerState:p});return(0,v.jsxs)(f,{className:(0,a.Z)(S.root,o),sx:u,ownerState:p,children:[(0,v.jsx)(m,(0,n.Z)({type:"checkbox",icon:w,checkedIcon:w,ref:e,ownerState:p},b,{classes:(0,n.Z)({},S,{root:S.switchBase})})),(0,v.jsx)(g,{className:S.track,ownerState:p})]})});e.Z=S},54490:function(t,e,i){"use strict";i.d(e,{_d:function(){return formatDataSizeToString},gO:function(){return formatDataSize}});var r={"b-B":8n,"b-kB":8000n,"b-MB":8000000n,"b-GB":8000000000n,"b-TB":8000000000000n,"b-PB":8000000000000000n,"b-EB":0x6f05b59d3b200000n,"b-ZB":0x1b1ae4d6e2ef5000000n,"b-YB":0x69e10de76676d08000000n,"b-KiB":8192n,"b-MiB":8388608n,"b-GiB":8589934592n,"b-TiB":8796093022208n,"b-PiB":9007199254740992n,"b-EiB":0x8000000000000000n,"b-ZiB":0x2000000000000000000n,"b-YiB":0x800000000000000000000n,"b-b":1n,"b-kbit":1000n,"b-Mbit":1000000n,"b-Gbit":1000000000n,"b-Tbit":1000000000000n,"b-Pbit":1000000000000000n,"b-Ebit":0xde0b6b3a7640000n,"b-Zbit":0x3635c9adc5dea00000n,"b-Ybit":0xd3c21bcecceda1000000n,"b-Kibit":1024n,"b-Mibit":1048576n,"b-Gibit":1073741824n,"b-Tibit":1099511627776n,"b-Pibit":1125899906842624n,"b-Eibit":0x1000000000000000n,"b-Zibit":0x400000000000000000n,"b-Yibit":0x100000000000000000000n},n=["byte","ibyte","bit","ibit"],o=["B","kB","MB","GB","TB","PB","EB","ZB","YB","B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB","b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit","b","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],p10n=function(t){return BigInt(Math.pow(10,t))},convert=function(t,e){var i=t.precision,n=t.value,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=o.isReverse;if("b"===e)return{precision:i,value:n};var c=r["b-".concat(e)];if(a)return{precision:i,value:n*c};var l=String(c).length,s=n*p10n(l)/c;return{precision:i+l,value:s}},getDataSizeUnitSectionFromUnit=function(t,e){var i="i"===t[1],r=/B$/.test(t),n="".concat(i?"i":"").concat(r?"byte":"bit"),o=e.findIndex(function(t){return t===n});return{section:n,index:o}},findClosestDataSizeUnit=function(t,e,i,r,n,o,a){var c=o.indexOf(i),l=e;c<0&&(c=getDataSizeUnitSectionFromUnit(e,o).index);for(var s=c*a,u=s+a;s<u;s+=1){var d=n[s];t>=r["b-".concat(d)]?l=d:s=u}return l};function ownKeys(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,r)}return i}function _objectSpread2(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(i),!0).forEach(function(e){var r;r=i[e],e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function _slicedToArray(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i,r,n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o=[],a=!0,c=!1;try{for(n=n.call(t);!(a=(i=n.next()).done)&&(o.push(i.value),!e||o.length!==e);a=!0);}catch(t){c=!0,r=t}finally{try{a||null==n.return||n.return()}finally{if(c)throw r}}return o}}(t,e)||function(t,e){if(t){if("string"==typeof t)return _arrayLikeToArray(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if("Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return _arrayLikeToArray(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=Array(e);i<e;i++)r[i]=t[i];return r}var format=function(t){var e=t.precision,i=t.value,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bigintFormatOptions,o=r.numberFormatOptions,a=r.locale,c=p10n(e),l=i/c,s=i%c,u=_slicedToArray("0.",2),d=u[0],b=u[1],p=l.toString(),v=s.toString();if(a){var h="string"==typeof a?a:void 0,f=_slicedToArray(.1.toLocaleString(h,o),2);d=f[0],b=f[1],p=l.toLocaleString(h,n),v=s.toLocaleString(h,_objectSpread2(_objectSpread2({},n),{},{useGrouping:!1}))}var m=p;return e>0&&(m+="".concat(b).concat(v.padStart(e,d))),m},formatDataSize=function(t){var e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i.fromUnit,n=void 0===r?"B":r,o=i.locale,a=i.precision,c=i.toUnit;try{e=sanitizeInputValue(t)}catch(t){return}var l=sanitizePrecision(a),s=l.max,u=l.min,d=sanitizeDataSizeUnit(n,"B").unit,b=selectDataSizeUnit(e=convert(e,d,{isReverse:!0}),d,{toUnit:c});return{value:format(e=trimEnd(e=round(e=convert(e,b),{toPrecision:Math.max(u,Math.min(e.precision,s))}),u),{locale:o}),unit:b}},formatDataSizeToString=function(){var t=formatDataSize.apply(void 0,arguments);return t?"".concat(t.value," ").concat(t.unit):t},round=function(t){var e=t.precision,i=t.value,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.toPrecision,o=void 0===n?0:n,a={precision:o,value:i};if(o>e)a.value*=p10n(o-e);else if(o<e){var c=e-o,l=p10n(c),s=a.value%l/p10n(c-1);a.value/=l,s>4&&(a.value+=1n)}return a},sanitizeDataSizeUnit=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o,r=i.indexOf(t);return r<0?{unit:e,unitIndex:0}:{unit:i[r],unitIndex:r}},sanitizeInputValue=function(t){var e,i,r=String(t).split(/\D/,2),n=null!==(e=null===(i=r[1])||void 0===i?void 0:i.length)&&void 0!==e?e:0,o=r.join("");if(0===o.length)throw Error("Value is blank.");return{value:BigInt(o),precision:n}},sanitizePrecision=function(){var t,e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"number"==typeof i?{max:i,min:i}:{max:null!==(t=i.max)&&void 0!==t?t:2,min:null!==(e=i.min)&&void 0!==e?e:0}},selectDataSizeUnit=function(t,e){var i=t.precision,a=t.value,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=c.conversionTable,s=void 0===l?r:l,u=c.toUnit,d=c.units,b=void 0===d?o:d,p=c.unitSections,v=void 0===p?n:p,h=c.unitSectionLength,f=void 0===h?9:h,m=b.indexOf(u);return m>=0?b[m]:findClosestDataSizeUnit(a/p10n(i),e,u,s,b,v,f)},trimEnd=function(t,e){for(var i=t.precision,r={precision:i,value:t.value},n=i-e,o=!0,a=1;o&&a<=n;a+=1)0n===r.value%10n?(r.value/=10n,r.precision-=1):o=!1;return r}},11163:function(t,e,i){t.exports=i(38355)}}]); |