@perses-dev/stat-chart-plugin 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +41 -0
- package/__mf/css/async/263.1ed8bb01.css +1 -0
- package/__mf/css/async/341.1ed8bb01.css +1 -0
- package/__mf/css/async/759.1ed8bb01.css +1 -0
- package/__mf/font/lato-all-300-normal.322bdf14.woff +0 -0
- package/__mf/font/lato-all-400-normal.63513b00.woff +0 -0
- package/__mf/font/lato-all-700-normal.bb27db94.woff +0 -0
- package/__mf/font/lato-all-900-normal.a27049a3.woff +0 -0
- package/__mf/font/lato-latin-300-normal.c5195215.woff2 +0 -0
- package/__mf/font/lato-latin-400-normal.b7ffde23.woff2 +0 -0
- package/__mf/font/lato-latin-700-normal.d5eb20bc.woff2 +0 -0
- package/__mf/font/lato-latin-900-normal.d884a71c.woff2 +0 -0
- package/__mf/font/lato-latin-ext-300-normal.abcc64a9.woff2 +0 -0
- package/__mf/font/lato-latin-ext-400-normal.6ebed106.woff2 +0 -0
- package/__mf/font/lato-latin-ext-700-normal.8697d1d5.woff2 +0 -0
- package/__mf/font/lato-latin-ext-900-normal.20a2b415.woff2 +0 -0
- package/__mf/js/435.f40076fc.js +5 -0
- package/__mf/js/StatChart.b0400032.js +5 -0
- package/__mf/js/async/162.6eaaf026.js +73 -0
- package/__mf/js/async/162.6eaaf026.js.LICENSE.txt +19 -0
- package/__mf/js/async/173.b6c742e7.js +2 -0
- package/__mf/js/async/173.b6c742e7.js.LICENSE.txt +19 -0
- package/__mf/js/async/214.60d550e8.js +1 -0
- package/__mf/js/async/224.978cad14.js +1 -0
- package/__mf/js/async/238.6c65e7fc.js +1 -0
- package/__mf/js/async/292.4573cfd2.js +1 -0
- package/__mf/js/async/298.0f019169.js +1 -0
- package/__mf/js/async/318.98a6e364.js +83 -0
- package/__mf/js/async/318.98a6e364.js.LICENSE.txt +27 -0
- package/__mf/js/async/488.078788e1.js +1 -0
- package/__mf/js/async/610.dad41cbd.js +1 -0
- package/__mf/js/async/620.415051b8.js +2 -0
- package/__mf/js/async/620.415051b8.js.LICENSE.txt +9 -0
- package/__mf/js/async/651.4eb924e1.js +1 -0
- package/__mf/js/async/656.dbf72cfa.js +1 -0
- package/__mf/js/async/694.5088b7d2.js +1 -0
- package/__mf/js/async/738.5905ca00.js +1 -0
- package/__mf/js/async/740.6ca05ea5.js +1 -0
- package/__mf/js/async/75.fb6da1e8.js +1 -0
- package/__mf/js/async/770.0eef8b15.js +1 -0
- package/__mf/js/async/870.3ed3413d.js +29 -0
- package/__mf/js/async/870.3ed3413d.js.LICENSE.txt +59 -0
- package/__mf/js/async/877.0e870142.js +65 -0
- package/__mf/js/async/960.b6b50cb1.js +2 -0
- package/__mf/js/async/960.b6b50cb1.js.LICENSE.txt +8 -0
- package/__mf/js/async/964.f3efac0a.js +2 -0
- package/__mf/js/async/964.f3efac0a.js.LICENSE.txt +9 -0
- package/__mf/js/async/981.0942fcbb.js +2 -0
- package/__mf/js/async/981.0942fcbb.js.LICENSE.txt +8 -0
- package/__mf/js/async/996.7e490e79.js +2 -0
- package/__mf/js/async/996.7e490e79.js.LICENSE.txt +24 -0
- package/__mf/js/async/__federation_expose_StatChart.0d43d15e.js +1 -0
- package/__mf/js/async/lib-router.3a3f0205.js +2 -0
- package/__mf/js/async/lib-router.3a3f0205.js.LICENSE.txt +32 -0
- package/__mf/js/main.628b2309.js +1 -0
- package/lib/StatChart.d.ts +8 -0
- package/lib/StatChart.d.ts.map +1 -0
- package/lib/StatChart.js +37 -0
- package/lib/StatChart.js.map +1 -0
- package/lib/StatChartOptionsEditorSettings.d.ts +4 -0
- package/lib/StatChartOptionsEditorSettings.d.ts.map +1 -0
- package/lib/StatChartOptionsEditorSettings.js +102 -0
- package/lib/StatChartOptionsEditorSettings.js.map +1 -0
- package/lib/StatChartPanel.d.ts +7 -0
- package/lib/StatChartPanel.d.ts.map +1 -0
- package/lib/StatChartPanel.js +119 -0
- package/lib/StatChartPanel.js.map +1 -0
- package/lib/StatChartValueMappingEditor.d.ts +6 -0
- package/lib/StatChartValueMappingEditor.d.ts.map +1 -0
- package/lib/StatChartValueMappingEditor.js +28 -0
- package/lib/StatChartValueMappingEditor.js.map +1 -0
- package/lib/bootstrap.d.ts +2 -0
- package/lib/bootstrap.d.ts.map +1 -0
- package/lib/bootstrap.js +19 -0
- package/lib/bootstrap.js.map +1 -0
- package/lib/cjs/StatChart.js +43 -0
- package/lib/cjs/StatChartOptionsEditorSettings.js +115 -0
- package/lib/cjs/StatChartPanel.js +127 -0
- package/lib/cjs/StatChartValueMappingEditor.js +36 -0
- package/lib/cjs/bootstrap.js +26 -0
- package/lib/cjs/env.d.js +14 -0
- package/lib/cjs/getPluginModule.js +27 -0
- package/lib/cjs/index-federation.js +55 -0
- package/lib/cjs/index.js +29 -0
- package/lib/cjs/setup-tests.js +19 -0
- package/lib/cjs/stat-chart-model.js +31 -0
- package/lib/cjs/utils/calculate-value.js +30 -0
- package/lib/cjs/utils/data-transform.js +36 -0
- package/lib/cjs/utils/get-color.js +66 -0
- package/lib/env.d.js +15 -0
- package/lib/env.d.js.map +1 -0
- package/lib/getPluginModule.d.ts +6 -0
- package/lib/getPluginModule.d.ts.map +1 -0
- package/lib/getPluginModule.js +16 -0
- package/lib/getPluginModule.js.map +1 -0
- package/lib/index-federation.d.ts +1 -0
- package/lib/index-federation.d.ts.map +1 -0
- package/lib/index-federation.js +15 -0
- package/lib/index-federation.js.map +1 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +8 -0
- package/lib/index.js.map +1 -0
- package/lib/setup-tests.d.ts +2 -0
- package/lib/setup-tests.d.ts.map +1 -0
- package/lib/setup-tests.js +17 -0
- package/lib/setup-tests.js.map +1 -0
- package/lib/stat-chart-model.d.ts +25 -0
- package/lib/stat-chart-model.d.ts.map +1 -0
- package/lib/stat-chart-model.js +23 -0
- package/lib/stat-chart-model.js.map +1 -0
- package/lib/utils/calculate-value.d.ts +3 -0
- package/lib/utils/calculate-value.d.ts.map +1 -0
- package/lib/utils/calculate-value.js +22 -0
- package/lib/utils/calculate-value.js.map +1 -0
- package/lib/utils/data-transform.d.ts +5 -0
- package/lib/utils/data-transform.d.ts.map +1 -0
- package/lib/utils/data-transform.js +28 -0
- package/lib/utils/data-transform.js.map +1 -0
- package/lib/utils/get-color.d.ts +6 -0
- package/lib/utils/get-color.d.ts.map +1 -0
- package/lib/utils/get-color.js +58 -0
- package/lib/utils/get-color.js.map +1 -0
- package/mf-manifest.json +320 -0
- package/mf-stats.json +365 -0
- package/package.json +53 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkStatChart=self.webpackChunkStatChart||[]).push([["292"],{36679:function(e,t,r){r.r(t),r.d(t,{Controller:()=>R,Form:()=>P,FormProvider:()=>k,appendErrors:()=>$,get:()=>g,set:()=>A,useController:()=>N,useFieldArray:()=>eh,useForm:()=>eR,useFormContext:()=>w,useFormState:()=>B,useWatch:()=>M});var a=r(54538),s=e=>"checkbox"===e.type,i=e=>e instanceof Date,l=e=>null==e;let u=e=>"object"==typeof e;var n=e=>!l(e)&&!Array.isArray(e)&&u(e)&&!i(e),o=e=>n(e)&&e.target?s(e.target)?e.target.checked:e.target.value:e,d=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,f=(e,t)=>e.has(d(t)),c=e=>{let t=e.constructor&&e.constructor.prototype;return n(t)&&t.hasOwnProperty("isPrototypeOf")},y="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function m(e){let t;let r=Array.isArray(e),a="undefined"!=typeof FileList&&e instanceof FileList;if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(!(y&&(e instanceof Blob||a))&&(r||n(e))))return e;else if(t=r?[]:{},r||c(e))for(let r in e)e.hasOwnProperty(r)&&(t[r]=m(e[r]));else t=e;return t}var _=e=>Array.isArray(e)?e.filter(Boolean):[],p=e=>void 0===e,g=(e,t,r)=>{if(!t||!n(e))return r;let a=_(t.split(/[,[\].]+?/)).reduce((e,t)=>l(e)?e:e[t],e);return p(a)||a===e?p(e[t])?r:e[t]:a},h=e=>"boolean"==typeof e,v=e=>/^\w*$/.test(e),b=e=>_(e.replace(/["|']|\]/g,"").split(/\.|\[/)),A=(e,t,r)=>{let a=-1,s=v(t)?[t]:b(t),i=s.length,l=i-1;for(;++a<i;){let t=s[a],i=r;if(a!==l){let r=e[t];i=n(r)||Array.isArray(r)?r:isNaN(+s[a+1])?{}:[]}if("__proto__"===t||"constructor"===t||"prototype"===t)return;e[t]=i,e=e[t]}return e};let F={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},x={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},V={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},S=a.createContext(null),w=()=>a.useContext(S),k=e=>{let{children:t,...r}=e;return a.createElement(S.Provider,{value:r},t)};var D=(e,t,r,a=!0)=>{let s={defaultValues:t._defaultValues};for(let i in e)Object.defineProperty(s,i,{get:()=>(t._proxyFormState[i]!==x.all&&(t._proxyFormState[i]=!a||x.all),r&&(r[i]=!0),e[i])});return s},C=e=>n(e)&&!Object.keys(e).length,E=(e,t,r,a)=>{r(e);let{name:s,...i}=e;return C(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(e=>t[e]===(!a||x.all))},O=e=>Array.isArray(e)?e:[e],j=(e,t,r)=>!e||!t||e===t||O(e).some(e=>e&&(r?e===t:e.startsWith(t)||t.startsWith(e)));function T(e){let t=a.useRef(e);t.current=e,a.useEffect(()=>{let r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}},[e.disabled])}function B(e){let t=w(),{control:r=t.control,disabled:s,name:i,exact:l}=e||{},[u,n]=a.useState(r._formState),o=a.useRef(!0),d=a.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),f=a.useRef(i);return f.current=i,T({disabled:s,next:e=>o.current&&j(f.current,e.name,l)&&E(e,d.current,r._updateFormState)&&n({...r._formState,...e}),subject:r._subjects.state}),a.useEffect(()=>(o.current=!0,d.current.isValid&&r._updateValid(!0),()=>{o.current=!1}),[r]),a.useMemo(()=>D(u,r,d.current,!1),[u,r])}var U=e=>"string"==typeof e,L=(e,t,r,a,s)=>U(e)?(a&&t.watch.add(e),g(r,e,s)):Array.isArray(e)?e.map(e=>(a&&t.watch.add(e),g(r,e))):(a&&(t.watchAll=!0),r);function M(e){let t=w(),{control:r=t.control,name:s,defaultValue:i,disabled:l,exact:u}=e||{},n=a.useRef(s);n.current=s,T({disabled:l,subject:r._subjects.values,next:e=>{j(n.current,e.name,u)&&d(m(L(n.current,r._names,e.values||r._formValues,!1,i)))}});let[o,d]=a.useState(r._getWatch(s,i));return a.useEffect(()=>r._removeUnmounted()),o}function N(e){let t=w(),{name:r,disabled:s,control:i=t.control,shouldUnregister:l}=e,u=f(i._names.array,r),n=M({control:i,name:r,defaultValue:g(i._formValues,r,g(i._defaultValues,r,e.defaultValue)),exact:!0}),d=B({control:i,name:r,exact:!0}),c=a.useRef(i.register(r,{...e.rules,value:n,...h(e.disabled)?{disabled:e.disabled}:{}})),y=a.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!g(d.errors,r)},isDirty:{enumerable:!0,get:()=>!!g(d.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!g(d.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!g(d.validatingFields,r)},error:{enumerable:!0,get:()=>g(d.errors,r)}}),[d,r]),_=a.useMemo(()=>({name:r,value:n,...h(s)||d.disabled?{disabled:d.disabled||s}:{},onChange:e=>c.current.onChange({target:{value:o(e),name:r},type:F.CHANGE}),onBlur:()=>c.current.onBlur({target:{value:g(i._formValues,r),name:r},type:F.BLUR}),ref:e=>{let t=g(i._fields,r);t&&e&&(t._f.ref={focus:()=>e.focus(),select:()=>e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})}}),[r,i._formValues,s,d.disabled,n,i._fields]);return a.useEffect(()=>{let e=i._options.shouldUnregister||l,t=(e,t)=>{let r=g(i._fields,e);r&&r._f&&(r._f.mount=t)};if(t(r,!0),e){let e=m(g(i._options.defaultValues,r));A(i._defaultValues,r,e),p(g(i._formValues,r))&&A(i._formValues,r,e)}return u||i.register(r),()=>{(u?e&&!i._state.action:e)?i.unregister(r):t(r,!1)}},[r,i,u,l]),a.useEffect(()=>{i._updateDisabledField({disabled:s,fields:i._fields,name:r})},[s,r,i]),a.useMemo(()=>({field:_,formState:d,fieldState:y}),[_,d,y])}let R=e=>e.render(N(e)),q=e=>{let t={};for(let r of Object.keys(e))if(u(e[r])&&null!==e[r]){let a=q(e[r]);for(let e of Object.keys(a))t[`${r}.${e}`]=a[e]}else t[r]=e[r];return t};function P(e){let t=w(),[r,s]=a.useState(!1),{control:i=t.control,onSubmit:l,children:u,action:n,method:o="post",headers:d,encType:f,onError:c,render:y,onSuccess:m,validateStatus:_,...p}=e,g=async t=>{let r=!1,a="";await i.handleSubmit(async e=>{let s=new FormData,u="";try{u=JSON.stringify(e)}catch(e){}let y=q(i._formValues);for(let e in y)s.append(e,y[e]);if(l&&await l({data:e,event:t,method:o,formData:s,formDataJson:u}),n)try{let e=[d&&d["Content-Type"],f].some(e=>e&&e.includes("json")),t=await fetch(String(n),{method:o,headers:{...d,...f?{"Content-Type":f}:{}},body:e?u:s});t&&(_?!_(t.status):t.status<200||t.status>=300)?(r=!0,c&&c({response:t}),a=String(t.status)):m&&m({response:t})}catch(e){r=!0,c&&c({error:e})}})(t),r&&e.control&&(e.control._subjects.state.next({isSubmitSuccessful:!1}),e.control.setError("root.server",{type:a}))};return a.useEffect(()=>{s(!0)},[]),y?a.createElement(a.Fragment,null,y({submit:g})):a.createElement("form",{noValidate:r,action:n,method:o,encType:f,onSubmit:g,...p},u)}var $=(e,t,r,a,s)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[a]:s||!0}}:{},I=()=>{let e="undefined"==typeof performance?Date.now():1e3*performance.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,t=>{let r=(16*Math.random()+e)%16|0;return("x"==t?r:3&r|8).toString(16)})},W=(e,t,r={})=>r.shouldFocus||p(r.shouldFocus)?r.focusName||`${e}.${p(r.focusIndex)?t:r.focusIndex}.`:"",H=e=>({isOnSubmit:!e||e===x.onSubmit,isOnBlur:e===x.onBlur,isOnChange:e===x.onChange,isOnAll:e===x.all,isOnTouch:e===x.onTouched}),G=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));let z=(e,t,r,a)=>{for(let s of r||Object.keys(e)){let r=g(e,s);if(r){let{_f:e,...i}=r;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],s)&&!a)return!0;if(e.ref&&t(e.ref,e.name)&&!a)return!0;if(z(i,t))break}else if(n(i)&&z(i,t))break}}};var J=(e,t,r)=>{let a=O(g(e,r));return A(a,"root",t[r]),A(e,r,a),e},K=e=>"file"===e.type,Q=e=>"function"==typeof e,X=e=>{if(!y)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Y=e=>U(e),Z=e=>"radio"===e.type,ee=e=>e instanceof RegExp;let et={value:!1,isValid:!1},er={value:!0,isValid:!0};var ea=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!p(e[0].attributes.value)?p(e[0].value)||""===e[0].value?er:{value:e[0].value,isValid:!0}:er:et}return et};let es={isValid:!1,value:null};var ei=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,es):es;function el(e,t,r="validate"){if(Y(e)||Array.isArray(e)&&e.every(Y)||h(e)&&!e)return{type:r,message:Y(e)?e:"",ref:t}}var eu=e=>n(e)&&!ee(e)?e:{value:e,message:""},en=async(e,t,r,a,i,u)=>{let{ref:o,refs:d,required:f,maxLength:c,minLength:y,min:m,max:_,pattern:v,validate:b,name:A,valueAsNumber:F,mount:x}=e._f,S=g(r,A);if(!x||t.has(A))return{};let w=d?d[0]:o,k=e=>{i&&w.reportValidity&&(w.setCustomValidity(h(e)?"":e||""),w.reportValidity())},D={},E=Z(o),O=s(o),j=(F||K(o))&&p(o.value)&&p(S)||X(o)&&""===o.value||""===S||Array.isArray(S)&&!S.length,T=$.bind(null,A,a,D),B=(e,t,r,a=V.maxLength,s=V.minLength)=>{let i=e?t:r;D[A]={type:e?a:s,message:i,ref:o,...T(e?a:s,i)}};if(u?!Array.isArray(S)||!S.length:f&&(!(E||O)&&(j||l(S))||h(S)&&!S||O&&!ea(d).isValid||E&&!ei(d).isValid)){let{value:e,message:t}=Y(f)?{value:!!f,message:f}:eu(f);if(e&&(D[A]={type:V.required,message:t,ref:w,...T(V.required,t)},!a))return k(t),D}if(!j&&(!l(m)||!l(_))){let e,t;let r=eu(_),s=eu(m);if(l(S)||isNaN(S)){let a=o.valueAsDate||new Date(S),i=e=>new Date(new Date().toDateString()+" "+e),l="time"==o.type,u="week"==o.type;U(r.value)&&S&&(e=l?i(S)>i(r.value):u?S>r.value:a>new Date(r.value)),U(s.value)&&S&&(t=l?i(S)<i(s.value):u?S<s.value:a<new Date(s.value))}else{let a=o.valueAsNumber||(S?+S:S);l(r.value)||(e=a>r.value),l(s.value)||(t=a<s.value)}if((e||t)&&(B(!!e,r.message,s.message,V.max,V.min),!a))return k(D[A].message),D}if((c||y)&&!j&&(U(S)||u&&Array.isArray(S))){let e=eu(c),t=eu(y),r=!l(e.value)&&S.length>+e.value,s=!l(t.value)&&S.length<+t.value;if((r||s)&&(B(r,e.message,t.message),!a))return k(D[A].message),D}if(v&&!j&&U(S)){let{value:e,message:t}=eu(v);if(ee(e)&&!S.match(e)&&(D[A]={type:V.pattern,message:t,ref:o,...T(V.pattern,t)},!a))return k(t),D}if(b){if(Q(b)){let e=el(await b(S,r),w);if(e&&(D[A]={...e,...T(V.validate,e.message)},!a))return k(e.message),D}else if(n(b)){let e={};for(let t in b){if(!C(e)&&!a)break;let s=el(await b[t](S,r),w,t);s&&(e={...s,...T(t,s.message)},k(s.message),a&&(D[A]=e))}if(!C(e)&&(D[A]={ref:w,...e},!a))return D}}return k(!0),D},eo=(e,t)=>[...e,...O(t)],ed=e=>Array.isArray(e)?e.map(()=>void 0):void 0;function ef(e,t,r){return[...e.slice(0,t),...O(r),...e.slice(t)]}var ec=(e,t,r)=>Array.isArray(e)?(p(e[r])&&(e[r]=void 0),e.splice(r,0,e.splice(t,1)[0]),e):[],ey=(e,t)=>[...O(t),...O(e)],em=(e,t)=>p(t)?[]:function(e,t){let r=0,a=[...e];for(let e of t)a.splice(e-r,1),r++;return _(a).length?a:[]}(e,O(t).sort((e,t)=>e-t)),e_=(e,t,r)=>{[e[t],e[r]]=[e[r],e[t]]};function ep(e,t){let r=Array.isArray(t)?t:v(t)?[t]:b(t),a=1===r.length?e:function(e,t){let r=t.slice(0,-1).length,a=0;for(;a<r;)e=p(e)?a++:e[t[a++]];return e}(e,r),s=r.length-1,i=r[s];return a&&delete a[i],0!==s&&(n(a)&&C(a)||Array.isArray(a)&&function(e){for(let t in e)if(e.hasOwnProperty(t)&&!p(e[t]))return!1;return!0}(a))&&ep(e,r.slice(0,-1)),e}var eg=(e,t,r)=>(e[t]=r,e);function eh(e){let t=w(),{control:r=t.control,name:s,keyName:i="id",shouldUnregister:l,rules:u}=e,[n,o]=a.useState(r._getFieldArray(s)),d=a.useRef(r._getFieldArray(s).map(I)),f=a.useRef(n),c=a.useRef(s),y=a.useRef(!1);c.current=s,f.current=n,r._names.array.add(s),u&&r.register(s,u),T({next:({values:e,name:t})=>{if(t===c.current||!t){let t=g(e,c.current);Array.isArray(t)&&(o(t),d.current=t.map(I))}},subject:r._subjects.array});let _=a.useCallback(e=>{y.current=!0,r._updateFieldArray(s,e)},[r,s]);return a.useEffect(()=>{if(r._state.action=!1,G(s,r._names)&&r._subjects.state.next({...r._formState}),y.current&&(!H(r._options.mode).isOnSubmit||r._formState.isSubmitted)){if(r._options.resolver)r._executeSchema([s]).then(e=>{let t=g(e.errors,s),a=g(r._formState.errors,s);(a?!t&&a.type||t&&(a.type!==t.type||a.message!==t.message):t&&t.type)&&(t?A(r._formState.errors,s,t):ep(r._formState.errors,s),r._subjects.state.next({errors:r._formState.errors}))});else{let e=g(r._fields,s);e&&e._f&&!(H(r._options.reValidateMode).isOnSubmit&&H(r._options.mode).isOnSubmit)&&en(e,r._names.disabled,r._formValues,r._options.criteriaMode===x.all,r._options.shouldUseNativeValidation,!0).then(e=>!C(e)&&r._subjects.state.next({errors:J(r._formState.errors,e,s)}))}}r._subjects.values.next({name:s,values:{...r._formValues}}),r._names.focus&&z(r._fields,(e,t)=>{if(r._names.focus&&t.startsWith(r._names.focus)&&e.focus)return e.focus(),1}),r._names.focus="",r._updateValid(),y.current=!1},[n,s,r]),a.useEffect(()=>(g(r._formValues,s)||r._updateFieldArray(s),()=>{(r._options.shouldUnregister||l)&&r.unregister(s)}),[s,r,i,l]),{swap:a.useCallback((e,t)=>{let a=r._getFieldArray(s);e_(a,e,t),e_(d.current,e,t),_(a),o(a),r._updateFieldArray(s,a,e_,{argA:e,argB:t},!1)},[_,s,r]),move:a.useCallback((e,t)=>{let a=r._getFieldArray(s);ec(a,e,t),ec(d.current,e,t),_(a),o(a),r._updateFieldArray(s,a,ec,{argA:e,argB:t},!1)},[_,s,r]),prepend:a.useCallback((e,t)=>{let a=O(m(e)),i=ey(r._getFieldArray(s),a);r._names.focus=W(s,0,t),d.current=ey(d.current,a.map(I)),_(i),o(i),r._updateFieldArray(s,i,ey,{argA:ed(e)})},[_,s,r]),append:a.useCallback((e,t)=>{let a=O(m(e)),i=eo(r._getFieldArray(s),a);r._names.focus=W(s,i.length-1,t),d.current=eo(d.current,a.map(I)),_(i),o(i),r._updateFieldArray(s,i,eo,{argA:ed(e)})},[_,s,r]),remove:a.useCallback(e=>{let t=em(r._getFieldArray(s),e);d.current=em(d.current,e),_(t),o(t),Array.isArray(g(r._fields,s))||A(r._fields,s,void 0),r._updateFieldArray(s,t,em,{argA:e})},[_,s,r]),insert:a.useCallback((e,t,a)=>{let i=O(m(t)),l=ef(r._getFieldArray(s),e,i);r._names.focus=W(s,e,a),d.current=ef(d.current,e,i.map(I)),_(l),o(l),r._updateFieldArray(s,l,ef,{argA:e,argB:ed(t)})},[_,s,r]),update:a.useCallback((e,t)=>{let a=m(t),i=eg(r._getFieldArray(s),e,a);d.current=[...i].map((t,r)=>t&&r!==e?d.current[r]:I()),_(i),o([...i]),r._updateFieldArray(s,i,eg,{argA:e,argB:a},!0,!1)},[_,s,r]),replace:a.useCallback(e=>{let t=O(m(e));d.current=t.map(I),_([...t]),o([...t]),r._updateFieldArray(s,[...t],e=>e,{},!0,!1)},[_,s,r]),fields:a.useMemo(()=>n.map((e,t)=>({...e,[i]:d.current[t]||I()})),[n,i])}}var ev=()=>{let e=[];return{get observers(){return e},next:t=>{for(let r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}},eb=e=>l(e)||!u(e);function eA(e,t){if(eb(e)||eb(t))return e===t;if(i(e)&&i(t))return e.getTime()===t.getTime();let r=Object.keys(e),a=Object.keys(t);if(r.length!==a.length)return!1;for(let s of r){let r=e[s];if(!a.includes(s))return!1;if("ref"!==s){let e=t[s];if(i(r)&&i(e)||n(r)&&n(e)||Array.isArray(r)&&Array.isArray(e)?!eA(r,e):r!==e)return!1}}return!0}var eF=e=>"select-multiple"===e.type,ex=e=>Z(e)||s(e),eV=e=>X(e)&&e.isConnected,eS=e=>{for(let t in e)if(Q(e[t]))return!0;return!1};function ew(e,t={}){let r=Array.isArray(e);if(n(e)||r)for(let r in e)Array.isArray(e[r])||n(e[r])&&!eS(e[r])?(t[r]=Array.isArray(e[r])?[]:{},ew(e[r],t[r])):l(e[r])||(t[r]=!0);return t}var ek=(e,t)=>(function e(t,r,a){let s=Array.isArray(t);if(n(t)||s)for(let s in t)Array.isArray(t[s])||n(t[s])&&!eS(t[s])?p(r)||eb(a[s])?a[s]=Array.isArray(t[s])?ew(t[s],[]):{...ew(t[s])}:e(t[s],l(r)?{}:r[s],a[s]):a[s]=!eA(t[s],r[s]);return a})(e,t,ew(t)),eD=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:a})=>p(e)?e:t?""===e?NaN:e?+e:e:r&&U(e)?new Date(e):a?a(e):e;function eC(e){let t=e.ref;return K(t)?t.files:Z(t)?ei(e.refs).value:eF(t)?[...t.selectedOptions].map(({value:e})=>e):s(t)?ea(e.refs).value:eD(p(t.value)?e.ref.value:t.value,e)}var eE=(e,t,r,a)=>{let s={};for(let r of e){let e=g(t,r);e&&A(s,r,e._f)}return{criteriaMode:r,names:[...e],fields:s,shouldUseNativeValidation:a}},eO=e=>p(e)?e:ee(e)?e.source:n(e)?ee(e.value)?e.value.source:e.value:e;let ej="AsyncFunction";var eT=e=>!!e&&!!e.validate&&!!(Q(e.validate)&&e.validate.constructor.name===ej||n(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===ej)),eB=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function eU(e,t,r){let a=g(e,r);if(a||v(r))return{error:a,name:r};let s=r.split(".");for(;s.length;){let a=s.join("."),i=g(t,a),l=g(e,a);if(i&&!Array.isArray(i)&&r!==a)break;if(l&&l.type)return{name:a,error:l};s.pop()}return{name:r}}var eL=(e,t,r,a,s)=>!s.isOnAll&&(!r&&s.isOnTouch?!(t||e):(r?a.isOnBlur:s.isOnBlur)?!e:(r?!a.isOnChange:!s.isOnChange)||e),eM=(e,t)=>!_(g(e,t)).length&&ep(e,t);let eN={mode:x.onSubmit,reValidateMode:x.onChange,shouldFocusError:!0};function eR(e={}){let t=a.useRef(void 0),r=a.useRef(void 0),[u,d]=a.useState({isDirty:!1,isValidating:!1,isLoading:Q(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Q(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...function(e={}){let t,r={...eN,...e},a={submitCount:0,isDirty:!1,isLoading:Q(r.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:r.errors||{},disabled:r.disabled||!1},u={},d=(n(r.defaultValues)||n(r.values))&&m(r.defaultValues||r.values)||{},c=r.shouldUnregister?{}:m(d),v={action:!1,mount:!1,watch:!1},b={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},V=0,S={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},w={values:ev(),array:ev(),state:ev()},k=H(r.mode),D=H(r.reValidateMode),E=r.criteriaMode===x.all,j=e=>t=>{clearTimeout(V),V=setTimeout(e,t)},T=async e=>{if(!r.disabled&&(S.isValid||e)){let e=r.resolver?C((await P()).errors):await I(u,!0);e!==a.isValid&&w.state.next({isValid:e})}},B=(e,t)=>{!r.disabled&&(S.isValidating||S.validatingFields)&&((e||Array.from(b.mount)).forEach(e=>{e&&(t?A(a.validatingFields,e,t):ep(a.validatingFields,e))}),w.state.next({validatingFields:a.validatingFields,isValidating:!C(a.validatingFields)}))},M=(e,t)=>{A(a.errors,e,t),w.state.next({errors:a.errors})},N=(e,t,r,a)=>{let s=g(u,e);if(s){let i=g(c,e,p(r)?g(d,e):r);p(i)||a&&a.defaultChecked||t?A(c,e,t?i:eC(s._f)):Z(e,i),v.mount&&T()}},R=(e,t,s,i,l)=>{let n=!1,o=!1,f={name:e};if(!r.disabled){let r=!!(g(u,e)&&g(u,e)._f&&g(u,e)._f.disabled);if(!s||i){S.isDirty&&(o=a.isDirty,a.isDirty=f.isDirty=W(),n=o!==f.isDirty);let s=r||eA(g(d,e),t);o=!!(!r&&g(a.dirtyFields,e)),s||r?ep(a.dirtyFields,e):A(a.dirtyFields,e,!0),f.dirtyFields=a.dirtyFields,n=n||S.dirtyFields&&!s!==o}if(s){let t=g(a.touchedFields,e);t||(A(a.touchedFields,e,s),f.touchedFields=a.touchedFields,n=n||S.touchedFields&&t!==s)}n&&l&&w.state.next(f)}return n?f:{}},q=(e,s,i,l)=>{let u=g(a.errors,e),n=S.isValid&&h(s)&&a.isValid!==s;if(r.delayError&&i?(t=j(()=>M(e,i)))(r.delayError):(clearTimeout(V),t=null,i?A(a.errors,e,i):ep(a.errors,e)),(i?!eA(u,i):u)||!C(l)||n){let t={...l,...n&&h(s)?{isValid:s}:{},errors:a.errors,name:e};a={...a,...t},w.state.next(t)}},P=async e=>{B(e,!0);let t=await r.resolver(c,r.context,eE(e||b.mount,u,r.criteriaMode,r.shouldUseNativeValidation));return B(e),t},$=async e=>{let{errors:t}=await P(e);if(e)for(let r of e){let e=g(t,r);e?A(a.errors,r,e):ep(a.errors,r)}else a.errors=t;return t},I=async(e,t,s={valid:!0})=>{for(let i in e){let l=e[i];if(l){let{_f:e,...u}=l;if(e){let u=b.array.has(e.name),n=l._f&&eT(l._f);n&&S.validatingFields&&B([i],!0);let o=await en(l,b.disabled,c,E,r.shouldUseNativeValidation&&!t,u);if(n&&S.validatingFields&&B([i]),o[e.name]&&(s.valid=!1,t))break;t||(g(o,e.name)?u?J(a.errors,o,e.name):A(a.errors,e.name,o[e.name]):ep(a.errors,e.name))}C(u)||await I(u,t,s)}}return s.valid},W=(e,t)=>!r.disabled&&(e&&t&&A(c,e,t),!eA(ei(),d)),Y=(e,t,r)=>L(e,b,{...v.mount?c:p(t)?d:U(e)?{[e]:t}:t},r,t),Z=(e,t,r={})=>{let a=g(u,e),i=t;if(a){let r=a._f;r&&(r.disabled||A(c,e,eD(t,r)),i=X(r.ref)&&l(t)?"":t,eF(r.ref)?[...r.ref.options].forEach(e=>e.selected=i.includes(e.value)):r.refs?s(r.ref)?r.refs.length>1?r.refs.forEach(e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(i)?!!i.find(t=>t===e.value):i===e.value)):r.refs[0]&&(r.refs[0].checked=!!i):r.refs.forEach(e=>e.checked=e.value===i):K(r.ref)?r.ref.value="":(r.ref.value=i,r.ref.type||w.values.next({name:e,values:{...c}})))}(r.shouldDirty||r.shouldTouch)&&R(e,i,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&es(e)},ee=(e,t,r)=>{for(let a in t){let s=t[a],l=`${e}.${a}`,o=g(u,l);(b.array.has(e)||n(s)||o&&!o._f)&&!i(s)?ee(l,s,r):Z(l,s,r)}},et=(e,t,r={})=>{let s=g(u,e),i=b.array.has(e),n=m(t);A(c,e,n),i?(w.array.next({name:e,values:{...c}}),(S.isDirty||S.dirtyFields)&&r.shouldDirty&&w.state.next({name:e,dirtyFields:ek(d,c),isDirty:W(e,n)})):!s||s._f||l(n)?Z(e,n,r):ee(e,n,r),G(e,b)&&w.state.next({...a}),w.values.next({name:v.mount?e:void 0,values:{...c}})},er=async e=>{v.mount=!0;let s=e.target,l=s.name,n=!0,d=g(u,l),f=e=>{n=Number.isNaN(e)||i(e)&&isNaN(e.getTime())||eA(e,g(c,l,e))};if(d){let i,y;let m=s.type?eC(d._f):o(e),_=e.type===F.BLUR||e.type===F.FOCUS_OUT,p=!eB(d._f)&&!r.resolver&&!g(a.errors,l)&&!d._f.deps||eL(_,g(a.touchedFields,l),a.isSubmitted,D,k),h=G(l,b,_);A(c,l,m),_?(d._f.onBlur&&d._f.onBlur(e),t&&t(0)):d._f.onChange&&d._f.onChange(e);let v=R(l,m,_,!1),x=!C(v)||h;if(_||w.values.next({name:l,type:e.type,values:{...c}}),p)return S.isValid&&("onBlur"===r.mode&&_?T():_||T()),x&&w.state.next({name:l,...h?{}:v});if(!_&&h&&w.state.next({...a}),r.resolver){let{errors:e}=await P([l]);if(f(m),n){let t=eU(a.errors,u,l),r=eU(e,u,t.name||l);i=r.error,l=r.name,y=C(e)}}else B([l],!0),i=(await en(d,b.disabled,c,E,r.shouldUseNativeValidation))[l],B([l]),f(m),n&&(i?y=!1:S.isValid&&(y=await I(u,!0)));n&&(d._f.deps&&es(d._f.deps),q(l,y,i,v))}},ea=(e,t)=>{if(g(a.errors,t)&&e.focus)return e.focus(),1},es=async(e,t={})=>{let s,i;let l=O(e);if(r.resolver){let t=await $(p(e)?e:l);s=C(t),i=e?!l.some(e=>g(t,e)):s}else e?((i=(await Promise.all(l.map(async e=>{let t=g(u,e);return await I(t&&t._f?{[e]:t}:t)}))).every(Boolean))||a.isValid)&&T():i=s=await I(u);return w.state.next({...!U(e)||S.isValid&&s!==a.isValid?{}:{name:e},...r.resolver||!e?{isValid:s}:{},errors:a.errors}),t.shouldFocus&&!i&&z(u,ea,e?l:b.mount),i},ei=e=>{let t={...v.mount?c:d};return p(e)?t:U(e)?g(t,e):e.map(e=>g(t,e))},el=(e,t)=>({invalid:!!g((t||a).errors,e),isDirty:!!g((t||a).dirtyFields,e),error:g((t||a).errors,e),isValidating:!!g(a.validatingFields,e),isTouched:!!g((t||a).touchedFields,e)}),eu=(e,t,r)=>{let s=(g(u,e,{_f:{}})._f||{}).ref,{ref:i,message:l,type:n,...o}=g(a.errors,e)||{};A(a.errors,e,{...o,...t,ref:s}),w.state.next({name:e,errors:a.errors,isValid:!1}),r&&r.shouldFocus&&s&&s.focus&&s.focus()},eo=(e,t={})=>{for(let s of e?O(e):b.mount)b.mount.delete(s),b.array.delete(s),t.keepValue||(ep(u,s),ep(c,s)),t.keepError||ep(a.errors,s),t.keepDirty||ep(a.dirtyFields,s),t.keepTouched||ep(a.touchedFields,s),t.keepIsValidating||ep(a.validatingFields,s),r.shouldUnregister||t.keepDefaultValue||ep(d,s);w.values.next({values:{...c}}),w.state.next({...a,...t.keepDirty?{isDirty:W()}:{}}),t.keepIsValid||T()},ed=({disabled:e,name:t,field:r,fields:a})=>{(h(e)&&v.mount||e||b.disabled.has(t))&&(e?b.disabled.add(t):b.disabled.delete(t),R(t,eC(r?r._f:g(a,t)._f),!1,!1,!0))},ef=(e,t={})=>{let a=g(u,e),s=h(t.disabled)||h(r.disabled);return A(u,e,{...a||{},_f:{...a&&a._f?a._f:{ref:{name:e}},name:e,mount:!0,...t}}),b.mount.add(e),a?ed({field:a,disabled:h(t.disabled)?t.disabled:r.disabled,name:e}):N(e,!0,t.value),{...s?{disabled:t.disabled||r.disabled}:{},...r.progressive?{required:!!t.required,min:eO(t.min),max:eO(t.max),minLength:eO(t.minLength),maxLength:eO(t.maxLength),pattern:eO(t.pattern)}:{},name:e,onChange:er,onBlur:er,ref:s=>{if(s){ef(e,t),a=g(u,e);let r=p(s.value)&&s.querySelectorAll&&s.querySelectorAll("input,select,textarea")[0]||s,i=ex(r),l=a._f.refs||[];(i?!l.find(e=>e===r):r!==a._f.ref)&&(A(u,e,{_f:{...a._f,...i?{refs:[...l.filter(eV),r,...Array.isArray(g(d,e))?[{}]:[]],ref:{type:r.type,name:e}}:{ref:r}}}),N(e,!1,void 0,r))}else(a=g(u,e,{}))._f&&(a._f.mount=!1),(r.shouldUnregister||t.shouldUnregister)&&!(f(b.array,e)&&v.action)&&b.unMount.add(e)}}},ec=()=>r.shouldFocusError&&z(u,ea,b.mount),ey=(e,t)=>async s=>{let i;s&&(s.preventDefault&&s.preventDefault(),s.persist&&s.persist());let l=m(c);if(b.disabled.size)for(let e of b.disabled)A(l,e,void 0);if(w.state.next({isSubmitting:!0}),r.resolver){let{errors:e,values:t}=await P();a.errors=e,l=t}else await I(u);if(ep(a.errors,"root"),C(a.errors)){w.state.next({errors:{}});try{await e(l,s)}catch(e){i=e}}else t&&await t({...a.errors},s),ec(),setTimeout(ec);if(w.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:C(a.errors)&&!i,submitCount:a.submitCount+1,errors:a.errors}),i)throw i},em=(e,t={})=>{let s=e?m(e):d,i=m(s),l=C(e),n=l?d:i;if(t.keepDefaultValues||(d=s),!t.keepValues){if(t.keepDirtyValues)for(let e of Array.from(new Set([...b.mount,...Object.keys(ek(d,c))])))g(a.dirtyFields,e)?A(n,e,g(c,e)):et(e,g(n,e));else{if(y&&p(e))for(let e of b.mount){let t=g(u,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(X(e)){let t=e.closest("form");if(t){t.reset();break}}}}u={}}c=r.shouldUnregister?t.keepDefaultValues?m(d):{}:m(n),w.array.next({values:{...n}}),w.values.next({values:{...n}})}b={mount:t.keepDirtyValues?b.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},v.mount=!S.isValid||!!t.keepIsValid||!!t.keepDirtyValues,v.watch=!!r.shouldUnregister,w.state.next({submitCount:t.keepSubmitCount?a.submitCount:0,isDirty:!l&&(t.keepDirty?a.isDirty:!!(t.keepDefaultValues&&!eA(e,d))),isSubmitted:!!t.keepIsSubmitted&&a.isSubmitted,dirtyFields:l?{}:t.keepDirtyValues?t.keepDefaultValues&&c?ek(d,c):a.dirtyFields:t.keepDefaultValues&&e?ek(d,e):t.keepDirty?a.dirtyFields:{},touchedFields:t.keepTouched?a.touchedFields:{},errors:t.keepErrors?a.errors:{},isSubmitSuccessful:!!t.keepIsSubmitSuccessful&&a.isSubmitSuccessful,isSubmitting:!1})},e_=(e,t)=>em(Q(e)?e(c):e,t);return{control:{register:ef,unregister:eo,getFieldState:el,handleSubmit:ey,setError:eu,_executeSchema:P,_getWatch:Y,_getDirty:W,_updateValid:T,_removeUnmounted:()=>{for(let e of b.unMount){let t=g(u,e);t&&(t._f.refs?t._f.refs.every(e=>!eV(e)):!eV(t._f.ref))&&eo(e)}b.unMount=new Set},_updateFieldArray:(e,t=[],s,i,l=!0,n=!0)=>{if(i&&s&&!r.disabled){if(v.action=!0,n&&Array.isArray(g(u,e))){let t=s(g(u,e),i.argA,i.argB);l&&A(u,e,t)}if(n&&Array.isArray(g(a.errors,e))){let t=s(g(a.errors,e),i.argA,i.argB);l&&A(a.errors,e,t),eM(a.errors,e)}if(S.touchedFields&&n&&Array.isArray(g(a.touchedFields,e))){let t=s(g(a.touchedFields,e),i.argA,i.argB);l&&A(a.touchedFields,e,t)}S.dirtyFields&&(a.dirtyFields=ek(d,c)),w.state.next({name:e,isDirty:W(e,t),dirtyFields:a.dirtyFields,errors:a.errors,isValid:a.isValid})}else A(c,e,t)},_updateDisabledField:ed,_getFieldArray:e=>_(g(v.mount?c:d,e,r.shouldUnregister?g(d,e,[]):[])),_reset:em,_resetDefaultValues:()=>Q(r.defaultValues)&&r.defaultValues().then(e=>{e_(e,r.resetOptions),w.state.next({isLoading:!1})}),_updateFormState:e=>{a={...a,...e}},_disableForm:e=>{h(e)&&(w.state.next({disabled:e}),z(u,(t,r)=>{let a=g(u,r);a&&(t.disabled=a._f.disabled||e,Array.isArray(a._f.refs)&&a._f.refs.forEach(t=>{t.disabled=a._f.disabled||e}))},0,!1))},_subjects:w,_proxyFormState:S,_setErrors:e=>{a.errors=e,w.state.next({errors:a.errors,isValid:!1})},get _fields(){return u},get _formValues(){return c},get _state(){return v},set _state(value){v=value},get _defaultValues(){return d},get _names(){return b},set _names(value){b=value},get _formState(){return a},set _formState(value){a=value},get _options(){return r},set _options(value){r={...r,...value}}},trigger:es,register:ef,handleSubmit:ey,watch:(e,t)=>Q(e)?w.values.subscribe({next:r=>e(Y(void 0,t),r)}):Y(e,t,!0),setValue:et,getValues:ei,reset:e_,resetField:(e,t={})=>{g(u,e)&&(p(t.defaultValue)?et(e,m(g(d,e))):(et(e,t.defaultValue),A(d,e,m(t.defaultValue))),t.keepTouched||ep(a.touchedFields,e),t.keepDirty||(ep(a.dirtyFields,e),a.isDirty=t.defaultValue?W(e,m(g(d,e))):W()),!t.keepError&&(ep(a.errors,e),S.isValid&&T()),w.state.next({...a}))},clearErrors:e=>{e&&O(e).forEach(e=>ep(a.errors,e)),w.state.next({errors:e?a.errors:{}})},unregister:eo,setError:eu,setFocus:(e,t={})=>{let r=g(u,e),a=r&&r._f;if(a){let e=a.refs?a.refs[0]:a.ref;e.focus&&(e.focus(),t.shouldSelect&&Q(e.select)&&e.select())}},getFieldState:el}}(e),formState:u});let c=t.current.control;return c._options=e,T({subject:c._subjects.state,next:e=>{E(e,c._proxyFormState,c._updateFormState,!0)&&d({...c._formState})}}),a.useEffect(()=>c._disableForm(e.disabled),[c,e.disabled]),a.useEffect(()=>{if(c._proxyFormState.isDirty){let e=c._getDirty();e!==u.isDirty&&c._subjects.state.next({isDirty:e})}},[c,u.isDirty]),a.useEffect(()=>{e.values&&!eA(e.values,r.current)?(c._reset(e.values,c._options.resetOptions),r.current=e.values,d(e=>({...e}))):c._resetDefaultValues()},[e.values,c]),a.useEffect(()=>{e.errors&&c._setErrors(e.errors)},[e.errors,c]),a.useEffect(()=>{c._state.mount||(c._updateValid(),c._state.mount=!0),c._state.watch&&(c._state.watch=!1,c._subjects.state.next({...c._formState})),c._removeUnmounted()}),a.useEffect(()=>{e.shouldUnregister&&c._subjects.values.next({values:c._getWatch()})},[e.shouldUnregister,c]),t.current.formState=D(u,c),t.current}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunkStatChart=self.webpackChunkStatChart||[]).push([["298"],{96586:function(t,n,r){var o=r(57753),e=r(82452),i=r(22115),u=r(38256),c=r(67426);function f(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var o=t[n];this.set(o[0],o[1])}}f.prototype.clear=o,f.prototype.delete=e,f.prototype.get=i,f.prototype.has=u,f.prototype.set=c,t.exports=f},36301:function(t,n,r){var o=r(63663),e=r(72470),i=r(66165),u=r(71873),c=r(52556);function f(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var o=t[n];this.set(o[0],o[1])}}f.prototype.clear=o,f.prototype.delete=e,f.prototype.get=i,f.prototype.has=u,f.prototype.set=c,t.exports=f},44538:function(t,n,r){var o=r(81822)(r(77400),"Map");t.exports=o},74554:function(t,n,r){var o=r(39448),e=r(7738),i=r(66575),u=r(7238),c=r(38738);function f(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var o=t[n];this.set(o[0],o[1])}}f.prototype.clear=o,f.prototype.delete=e,f.prototype.get=i,f.prototype.has=u,f.prototype.set=c,t.exports=f},23694:function(t,n,r){var o=r(36301),e=r(7354),i=r(5863),u=r(12367),c=r(90748),f=r(97569);function a(t){var n=this.__data__=new o(t);this.size=n.size}a.prototype.clear=e,a.prototype.delete=i,a.prototype.get=u,a.prototype.has=c,a.prototype.set=f,t.exports=a},96539:function(t,n,r){var o=r(77400).Symbol;t.exports=o},59942:function(t,n,r){var o=r(77400).Uint8Array;t.exports=o},79349:function(t){t.exports=function(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}},98213:function(t,n,r){var o=r(24701),e=r(2900),i=r(19785),u=r(43854),c=r(42383),f=r(48519),a=Object.prototype.hasOwnProperty;t.exports=function(t,n){var r=i(t),s=!r&&e(t),p=!r&&!s&&u(t),v=!r&&!s&&!p&&f(t),l=r||s||p||v,h=l?o(t.length,String):[],y=h.length;for(var _ in t)(n||a.call(t,_))&&!(l&&("length"==_||p&&("offset"==_||"parent"==_)||v&&("buffer"==_||"byteLength"==_||"byteOffset"==_)||c(_,y)))&&h.push(_);return h}},73140:function(t,n,r){var o=r(88799),e=r(85638);t.exports=function(t,n,r){(void 0===r||e(t[n],r))&&(void 0!==r||n in t)||o(t,n,r)}},71928:function(t,n,r){var o=r(88799),e=r(85638),i=Object.prototype.hasOwnProperty;t.exports=function(t,n,r){var u=t[n];i.call(t,n)&&e(u,r)&&(void 0!==r||n in t)||o(t,n,r)}},93382:function(t,n,r){var o=r(85638);t.exports=function(t,n){for(var r=t.length;r--;)if(o(t[r][0],n))return r;return -1}},88799:function(t,n,r){var o=r(42630);t.exports=function(t,n,r){"__proto__"==n&&o?o(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}},80158:function(t,n,r){var o=r(11611),e=Object.create,i=function(){function t(){}return function(n){if(!o(n))return{};if(e)return e(n);t.prototype=n;var r=new t;return t.prototype=void 0,r}}();t.exports=i},49819:function(t,n,r){var o=r(18911)();t.exports=o},99736:function(t,n,r){var o=r(96539),e=r(34840),i=r(21258),u=o?o.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":u&&u in Object(t)?e(t):i(t)}},55829:function(t,n,r){var o=r(99736),e=r(92360);t.exports=function(t){return e(t)&&"[object Arguments]"==o(t)}},46729:function(t,n,r){var o=r(28338),e=r(99678),i=r(11611),u=r(76532),c=/^\[object .+?Constructor\]$/,f=Object.prototype,a=Function.prototype.toString,s=f.hasOwnProperty,p=RegExp("^"+a.call(s).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||e(t))&&(o(t)?p:c).test(u(t))}},26972:function(t,n,r){var o=r(99736),e=r(84194),i=r(92360),u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u["[object Arguments]"]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u["[object Function]"]=u["[object Map]"]=u["[object Number]"]=u["[object Object]"]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&e(t.length)&&!!u[o(t)]}},59464:function(t,n,r){var o=r(11611),e=r(56016),i=r(21586),u=Object.prototype.hasOwnProperty;t.exports=function(t){if(!o(t))return i(t);var n=e(t),r=[];for(var c in t)"constructor"==c&&(n||!u.call(t,c))||r.push(c);return r}},40015:function(t,n,r){var o=r(23694),e=r(73140),i=r(49819),u=r(68867),c=r(11611),f=r(53893),a=r(97494);t.exports=function t(n,r,s,p,v){n!==r&&i(r,function(i,f){if(v||(v=new o),c(i))u(n,r,f,s,t,p,v);else{var l=p?p(a(n,f),i,f+"",n,r,v):void 0;void 0===l&&(l=i),e(n,f,l)}},f)}},68867:function(t,n,r){var o=r(73140),e=r(2734),i=r(63428),u=r(37561),c=r(97635),f=r(2900),a=r(19785),s=r(36468),p=r(43854),v=r(28338),l=r(11611),h=r(40861),y=r(48519),_=r(97494),x=r(89328);t.exports=function(t,n,r,b,d,j,g){var O=_(t,r),w=_(n,r),A=g.get(w);if(A){o(t,r,A);return}var m=j?j(O,w,r+"",t,n,g):void 0,z=void 0===m;if(z){var S=a(w),P=!S&&p(w),F=!S&&!P&&y(w);m=w,S||P||F?a(O)?m=O:s(O)?m=u(O):P?(z=!1,m=e(w,!0)):F?(z=!1,m=i(w,!0)):m=[]:h(w)||f(w)?(m=O,f(O)?m=x(O):(!l(O)||v(O))&&(m=c(w))):z=!1}z&&(g.set(w,m),d(m,w,b,j,g),g.delete(w)),o(t,r,m)}},1197:function(t,n,r){var o=r(31137),e=r(11871),i=r(63132);t.exports=function(t,n){return i(e(t,n,o),t+"")}},54459:function(t,n,r){var o=r(551),e=r(42630),i=r(31137),u=e?function(t,n){return e(t,"toString",{configurable:!0,enumerable:!1,value:o(n),writable:!0})}:i;t.exports=u},24701:function(t){t.exports=function(t,n){for(var r=-1,o=Array(t);++r<t;)o[r]=n(r);return o}},39334:function(t){t.exports=function(t){return function(n){return t(n)}}},95825:function(t,n,r){var o=r(59942);t.exports=function(t){var n=new t.constructor(t.byteLength);return new o(n).set(new o(t)),n}},2734:function(t,n,r){t=r.nmd(t);var o=r(77400),e=n&&!n.nodeType&&n,i=e&&t&&!t.nodeType&&t,u=i&&i.exports===e?o.Buffer:void 0,c=u?u.allocUnsafe:void 0;t.exports=function(t,n){if(n)return t.slice();var r=t.length,o=c?c(r):new t.constructor(r);return t.copy(o),o}},63428:function(t,n,r){var o=r(95825);t.exports=function(t,n){var r=n?o(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},37561:function(t){t.exports=function(t,n){var r=-1,o=t.length;for(n||(n=Array(o));++r<o;)n[r]=t[r];return n}},35159:function(t,n,r){var o=r(71928),e=r(88799);t.exports=function(t,n,r,i){var u=!r;r||(r={});for(var c=-1,f=n.length;++c<f;){var a=n[c],s=i?i(r[a],t[a],a,r,t):void 0;void 0===s&&(s=t[a]),u?e(r,a,s):o(r,a,s)}return r}},64937:function(t,n,r){var o=r(77400)["__core-js_shared__"];t.exports=o},7270:function(t,n,r){var o=r(1197),e=r(57535);t.exports=function(t){return o(function(n,r){var o=-1,i=r.length,u=i>1?r[i-1]:void 0,c=i>2?r[2]:void 0;for(u=t.length>3&&"function"==typeof u?(i--,u):void 0,c&&e(r[0],r[1],c)&&(u=i<3?void 0:u,i=1),n=Object(n);++o<i;){var f=r[o];f&&t(n,f,o,u)}return n})}},18911:function(t){t.exports=function(t){return function(n,r,o){for(var e=-1,i=Object(n),u=o(n),c=u.length;c--;){var f=u[t?c:++e];if(!1===r(i[f],f,i))break}return n}}},42630:function(t,n,r){var o=r(81822),e=function(){try{var t=o(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=e},39120:function(t,n,r){var o="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=o},95899:function(t,n,r){var o=r(54479);t.exports=function(t,n){var r=t.__data__;return o(n)?r["string"==typeof n?"string":"hash"]:r.map}},81822:function(t,n,r){var o=r(46729),e=r(15371);t.exports=function(t,n){var r=e(t,n);return o(r)?r:void 0}},2173:function(t,n,r){var o=r(58023)(Object.getPrototypeOf,Object);t.exports=o},34840:function(t,n,r){var o=r(96539),e=Object.prototype,i=e.hasOwnProperty,u=e.toString,c=o?o.toStringTag:void 0;t.exports=function(t){var n=i.call(t,c),r=t[c];try{t[c]=void 0;var o=!0}catch(t){}var e=u.call(t);return o&&(n?t[c]=r:delete t[c]),e}},15371:function(t){t.exports=function(t,n){return null==t?void 0:t[n]}},57753:function(t,n,r){var o=r(35718);t.exports=function(){this.__data__=o?o(null):{},this.size=0}},82452:function(t){t.exports=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=+!!n,n}},22115:function(t,n,r){var o=r(35718),e=Object.prototype.hasOwnProperty;t.exports=function(t){var n=this.__data__;if(o){var r=n[t];return"__lodash_hash_undefined__"===r?void 0:r}return e.call(n,t)?n[t]:void 0}},38256:function(t,n,r){var o=r(35718),e=Object.prototype.hasOwnProperty;t.exports=function(t){var n=this.__data__;return o?void 0!==n[t]:e.call(n,t)}},67426:function(t,n,r){var o=r(35718);t.exports=function(t,n){var r=this.__data__;return this.size+=+!this.has(t),r[t]=o&&void 0===n?"__lodash_hash_undefined__":n,this}},97635:function(t,n,r){var o=r(80158),e=r(2173),i=r(56016);t.exports=function(t){return"function"!=typeof t.constructor||i(t)?{}:o(e(t))}},42383:function(t){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var o=typeof t;return!!(r=null==r?0x1fffffffffffff:r)&&("number"==o||"symbol"!=o&&n.test(t))&&t>-1&&t%1==0&&t<r}},57535:function(t,n,r){var o=r(85638),e=r(80068),i=r(42383),u=r(11611);t.exports=function(t,n,r){if(!u(r))return!1;var c=typeof n;return("number"==c?!!(e(r)&&i(n,r.length)):"string"==c&&n in r)&&o(r[n],t)}},54479:function(t){t.exports=function(t){var n=typeof t;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t}},99678:function(t,n,r){var o,e=r(64937),i=(o=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"";t.exports=function(t){return!!i&&i in t}},56016:function(t){var n=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||n)}},63663:function(t){t.exports=function(){this.__data__=[],this.size=0}},72470:function(t,n,r){var o=r(93382),e=Array.prototype.splice;t.exports=function(t){var n=this.__data__,r=o(n,t);return!(r<0)&&(r==n.length-1?n.pop():e.call(n,r,1),--this.size,!0)}},66165:function(t,n,r){var o=r(93382);t.exports=function(t){var n=this.__data__,r=o(n,t);return r<0?void 0:n[r][1]}},71873:function(t,n,r){var o=r(93382);t.exports=function(t){return o(this.__data__,t)>-1}},52556:function(t,n,r){var o=r(93382);t.exports=function(t,n){var r=this.__data__,e=o(r,t);return e<0?(++this.size,r.push([t,n])):r[e][1]=n,this}},39448:function(t,n,r){var o=r(96586),e=r(36301),i=r(44538);t.exports=function(){this.size=0,this.__data__={hash:new o,map:new(i||e),string:new o}}},7738:function(t,n,r){var o=r(95899);t.exports=function(t){var n=o(this,t).delete(t);return this.size-=+!!n,n}},66575:function(t,n,r){var o=r(95899);t.exports=function(t){return o(this,t).get(t)}},7238:function(t,n,r){var o=r(95899);t.exports=function(t){return o(this,t).has(t)}},38738:function(t,n,r){var o=r(95899);t.exports=function(t,n){var r=o(this,t),e=r.size;return r.set(t,n),this.size+=+(r.size!=e),this}},35718:function(t,n,r){var o=r(81822)(Object,"create");t.exports=o},21586:function(t){t.exports=function(t){var n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}},18125:function(t,n,r){t=r.nmd(t);var o=r(39120),e=n&&!n.nodeType&&n,i=e&&t&&!t.nodeType&&t,u=i&&i.exports===e&&o.process,c=function(){try{var t=i&&i.require&&i.require("util").types;if(t)return t;return u&&u.binding&&u.binding("util")}catch(t){}}();t.exports=c},21258:function(t){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},58023:function(t){t.exports=function(t,n){return function(r){return t(n(r))}}},11871:function(t,n,r){var o=r(79349),e=Math.max;t.exports=function(t,n,r){return n=e(void 0===n?t.length-1:n,0),function(){for(var i=arguments,u=-1,c=e(i.length-n,0),f=Array(c);++u<c;)f[u]=i[n+u];u=-1;for(var a=Array(n+1);++u<n;)a[u]=i[u];return a[n]=r(f),o(t,this,a)}}},77400:function(t,n,r){var o=r(39120),e="object"==typeof self&&self&&self.Object===Object&&self,i=o||e||Function("return this")();t.exports=i},97494:function(t){t.exports=function(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}},63132:function(t,n,r){var o=r(54459),e=r(49591)(o);t.exports=e},49591:function(t){var n=Date.now;t.exports=function(t){var r=0,o=0;return function(){var e=n(),i=16-(e-o);if(o=e,i>0){if(++r>=800)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}},7354:function(t,n,r){var o=r(36301);t.exports=function(){this.__data__=new o,this.size=0}},5863:function(t){t.exports=function(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r}},12367:function(t){t.exports=function(t){return this.__data__.get(t)}},90748:function(t){t.exports=function(t){return this.__data__.has(t)}},97569:function(t,n,r){var o=r(36301),e=r(44538),i=r(74554);t.exports=function(t,n){var r=this.__data__;if(r instanceof o){var u=r.__data__;if(!e||u.length<199)return u.push([t,n]),this.size=++r.size,this;r=this.__data__=new i(u)}return r.set(t,n),this.size=r.size,this}},76532:function(t){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},551:function(t){t.exports=function(t){return function(){return t}}},85638:function(t){t.exports=function(t,n){return t===n||t!=t&&n!=n}},31137:function(t){t.exports=function(t){return t}},2900:function(t,n,r){var o=r(55829),e=r(92360),i=Object.prototype,u=i.hasOwnProperty,c=i.propertyIsEnumerable,f=o(function(){return arguments}())?o:function(t){return e(t)&&u.call(t,"callee")&&!c.call(t,"callee")};t.exports=f},19785:function(t){var n=Array.isArray;t.exports=n},80068:function(t,n,r){var o=r(28338),e=r(84194);t.exports=function(t){return null!=t&&e(t.length)&&!o(t)}},36468:function(t,n,r){var o=r(80068),e=r(92360);t.exports=function(t){return e(t)&&o(t)}},43854:function(t,n,r){t=r.nmd(t);var o=r(77400),e=r(57714),i=n&&!n.nodeType&&n,u=i&&t&&!t.nodeType&&t,c=u&&u.exports===i?o.Buffer:void 0,f=c?c.isBuffer:void 0;t.exports=f||e},28338:function(t,n,r){var o=r(99736),e=r(11611);t.exports=function(t){if(!e(t))return!1;var n=o(t);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}},84194:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff}},11611:function(t){t.exports=function(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}},92360:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},40861:function(t,n,r){var o=r(99736),e=r(2173),i=r(92360),u=Object.prototype,c=Function.prototype.toString,f=u.hasOwnProperty,a=c.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=o(t))return!1;var n=e(t);if(null===n)return!0;var r=f.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&c.call(r)==a}},48519:function(t,n,r){var o=r(26972),e=r(39334),i=r(18125),u=i&&i.isTypedArray,c=u?e(u):o;t.exports=c},53893:function(t,n,r){var o=r(98213),e=r(59464),i=r(80068);t.exports=function(t){return i(t)?o(t,!0):e(t)}},15409:function(t,n,r){var o=r(40015),e=r(7270)(function(t,n,r){o(t,n,r)});t.exports=e},57714:function(t){t.exports=function(){return!1}},89328:function(t,n,r){var o=r(35159),e=r(53893);t.exports=function(t){return o(t,e(t))}}}]);
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/*! For license information please see 318.98a6e364.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunkStatChart=self.webpackChunkStatChart||[]).push([["318"],{17960:function(e,t,r){r.d(t,{Z:()=>n});function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}},42747:function(e,t,r){r.d(t,{O:()=>h});var n,o={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},i=r(17960),a=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},u=(0,i.Z)(function(e){return s(e)?e:e.replace(a,"-$&").toLowerCase()}),f=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(l,function(e,t,r){return n={name:t,styles:r,next:n},t})}return 1===o[e]||s(e)||"number"!=typeof t||0===t?t:t+"px"};function p(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return n={name:r.name,styles:r.styles,next:n},r.name;if(void 0!==r.styles){var o=r.next;if(void 0!==o)for(;void 0!==o;)n={name:o.name,styles:o.styles,next:n},o=o.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=p(e,t,r[o])+";";else for(var i in r){var a=r[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?n+=i+"{"+t[a]+"}":c(a)&&(n+=u(i)+":"+f(i,a)+";");else if(Array.isArray(a)&&"string"==typeof a[0]&&(null==t||void 0===t[a[0]]))for(var l=0;l<a.length;l++)c(a[l])&&(n+=u(i)+":"+f(i,a[l])+";");else{var s=p(e,t,a);switch(i){case"animation":case"animationName":n+=u(i)+":"+s+";";break;default:n+=i+"{"+s+"}"}}}return n}(e,t,r);case"function":if(void 0!==e){var i=n,a=r(e);return n=i,p(e,t,a)}}if(null==t)return r;var l=t[r];return void 0!==l?l:r}var d=/label:\s*([^\s;{]+)\s*(;|$)/g;function h(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o,i=!0,a="";n=void 0;var l=e[0];null==l||void 0===l.raw?(i=!1,a+=p(r,t,l)):a+=l[0];for(var s=1;s<e.length;s++)a+=p(r,t,e[s]),i&&(a+=l[s]);d.lastIndex=0;for(var c="";null!==(o=d.exec(a));)c+="-"+o[1];return{name:function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&r)*0x5bd1e995+((r>>>16)*59797<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}(a)+c,styles:a,next:n}}},14544:function(e,t,r){r.d(t,{Z:()=>j});var n=r(54538),o=r(90496),i=r(82267),a=r(74111),l=r(12709),s=r(51751),c=r(51183),u=r(67151),f=r(99565);class p{static create(){return new p}static use(){let e=(0,f.Z)(p.create).current,[t,r]=n.useState(!1);return e.shouldMount=t,e.setShouldMount=r,n.useEffect(e.mountEffect,[t]),e}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=function(){let e,t;let r=new Promise((r,n)=>{e=r,t=n});return r.resolve=e,r.reject=t,r}(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}}var d=r(16317),h=r(47126),m=r(72116),g=r(24246),y=r(44124);let b=(0,y.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),v=(0,m.keyframes)`
|
|
3
|
+
0% {
|
|
4
|
+
transform: scale(0);
|
|
5
|
+
opacity: 0.1;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
100% {
|
|
9
|
+
transform: scale(1);
|
|
10
|
+
opacity: 0.3;
|
|
11
|
+
}
|
|
12
|
+
`,k=(0,m.keyframes)`
|
|
13
|
+
0% {
|
|
14
|
+
opacity: 1;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
100% {
|
|
18
|
+
opacity: 0;
|
|
19
|
+
}
|
|
20
|
+
`,x=(0,m.keyframes)`
|
|
21
|
+
0% {
|
|
22
|
+
transform: scale(1);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
50% {
|
|
26
|
+
transform: scale(0.92);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
100% {
|
|
30
|
+
transform: scale(1);
|
|
31
|
+
}
|
|
32
|
+
`,S=(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"}),w=(0,l.ZP)(function(e){let{className:t,classes:r,pulsate:i=!1,rippleX:a,rippleY:l,rippleSize:s,in:c,onExited:u,timeout:f}=e,[p,d]=n.useState(!1),h=(0,o.Z)(t,r.ripple,r.rippleVisible,i&&r.ripplePulsate),m=(0,o.Z)(r.child,p&&r.childLeaving,i&&r.childPulsate);return c||p||d(!0),n.useEffect(()=>{if(!c&&null!=u){let e=setTimeout(u,f);return()=>{clearTimeout(e)}}},[u,c,f]),(0,g.jsx)("span",{className:h,style:{width:s,height:s,top:-(s/2)+l,left:-(s/2)+a},children:(0,g.jsx)("span",{className:m})})},{name:"MuiTouchRipple",slot:"Ripple"})`
|
|
33
|
+
opacity: 0;
|
|
34
|
+
position: absolute;
|
|
35
|
+
|
|
36
|
+
&.${b.rippleVisible} {
|
|
37
|
+
opacity: 0.3;
|
|
38
|
+
transform: scale(1);
|
|
39
|
+
animation-name: ${v};
|
|
40
|
+
animation-duration: ${550}ms;
|
|
41
|
+
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.${b.ripplePulsate} {
|
|
45
|
+
animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
& .${b.child} {
|
|
49
|
+
opacity: 1;
|
|
50
|
+
display: block;
|
|
51
|
+
width: 100%;
|
|
52
|
+
height: 100%;
|
|
53
|
+
border-radius: 50%;
|
|
54
|
+
background-color: currentColor;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
& .${b.childLeaving} {
|
|
58
|
+
opacity: 0;
|
|
59
|
+
animation-name: ${k};
|
|
60
|
+
animation-duration: ${550}ms;
|
|
61
|
+
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
& .${b.childPulsate} {
|
|
65
|
+
position: absolute;
|
|
66
|
+
/* @noflip */
|
|
67
|
+
left: 0px;
|
|
68
|
+
top: 0;
|
|
69
|
+
animation-name: ${x};
|
|
70
|
+
animation-duration: 2500ms;
|
|
71
|
+
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
72
|
+
animation-iteration-count: infinite;
|
|
73
|
+
animation-delay: 200ms;
|
|
74
|
+
}
|
|
75
|
+
`,Z=n.forwardRef(function(e,t){let{center:r=!1,classes:i={},className:a,...l}=(0,s.i)({props:e,name:"MuiTouchRipple"}),[c,u]=n.useState([]),f=n.useRef(0),p=n.useRef(null);n.useEffect(()=>{p.current&&(p.current(),p.current=null)},[c]);let m=n.useRef(!1),y=(0,h.Z)(),v=n.useRef(null),k=n.useRef(null),x=n.useCallback(e=>{let{pulsate:t,rippleX:r,rippleY:n,rippleSize:a,cb:l}=e;u(e=>[...e,(0,g.jsx)(w,{classes:{ripple:(0,o.Z)(i.ripple,b.ripple),rippleVisible:(0,o.Z)(i.rippleVisible,b.rippleVisible),ripplePulsate:(0,o.Z)(i.ripplePulsate,b.ripplePulsate),child:(0,o.Z)(i.child,b.child),childLeaving:(0,o.Z)(i.childLeaving,b.childLeaving),childPulsate:(0,o.Z)(i.childPulsate,b.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:a},f.current)]),f.current+=1,p.current=l},[i]),Z=n.useCallback((e={},t={},n=()=>{})=>{let o,i,a;let{pulsate:l=!1,center:s=r||t.pulsate,fakeElement:c=!1}=t;if(e?.type==="mousedown"&&m.current){m.current=!1;return}e?.type==="touchstart"&&(m.current=!0);let u=c?null:k.current,f=u?u.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(!s&&void 0!==e&&(0!==e.clientX||0!==e.clientY)&&(e.clientX||e.touches)){let{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;o=Math.round(t-f.left),i=Math.round(r-f.top)}else o=Math.round(f.width/2),i=Math.round(f.height/2);s?(a=Math.sqrt((2*f.width**2+f.height**2)/3))%2==0&&(a+=1):a=Math.sqrt((2*Math.max(Math.abs((u?u.clientWidth:0)-o),o)+2)**2+(2*Math.max(Math.abs((u?u.clientHeight:0)-i),i)+2)**2),e?.touches?null===v.current&&(v.current=()=>{x({pulsate:l,rippleX:o,rippleY:i,rippleSize:a,cb:n})},y.start(80,()=>{v.current&&(v.current(),v.current=null)})):x({pulsate:l,rippleX:o,rippleY:i,rippleSize:a,cb:n})},[r,x,y]),C=n.useCallback(()=>{Z({},{pulsate:!0})},[Z]),$=n.useCallback((e,t)=>{if(y.clear(),e?.type==="touchend"&&v.current){v.current(),v.current=null,y.start(0,()=>{$(e,t)});return}v.current=null,u(e=>e.length>0?e.slice(1):e),p.current=t},[y]);return n.useImperativeHandle(t,()=>({pulsate:C,start:Z,stop:$}),[C,Z,$]),(0,g.jsx)(S,{className:(0,o.Z)(b.root,i.root,a),ref:k,...l,children:(0,g.jsx)(d.Z,{component:null,exit:!0,children:c})})});var C=r(6749);function $(e){return(0,C.ZP)("MuiButtonBase",e)}let A=(0,y.Z)("MuiButtonBase",["root","disabled","focusVisible"]),P=e=>{let{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,a=(0,i.Z)({root:["root",t&&"disabled",r&&"focusVisible"]},$,o);return r&&n&&(a.root+=` ${n}`),a},_=(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"},[`&.${A.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}});function O(e,t,r,n=!1){return(0,u.Z)(o=>(r&&r(o),n||e[t](o),!0))}let j=n.forwardRef(function(e,t){let r=(0,s.i)({props:e,name:"MuiButtonBase"}),{action:i,centerRipple:l=!1,children:f,className:d,component:h="button",disabled:m=!1,disableRipple:y=!1,disableTouchRipple:b=!1,focusRipple:v=!1,focusVisibleClassName:k,LinkComponent:x="a",onBlur:S,onClick:w,onContextMenu:C,onDragLeave:$,onFocus:A,onFocusVisible:j,onKeyDown:B,onKeyUp:R,onMouseDown:T,onMouseLeave:E,onMouseUp:M,onTouchEnd:I,onTouchMove:z,onTouchStart:F,tabIndex:D=0,TouchRippleProps:L,touchRippleRef:N,type:W,...q}=r,V=n.useRef(null),K=p.use(),G=(0,c.Z)(K.ref,N),[H,X]=n.useState(!1);m&&H&&X(!1),n.useImperativeHandle(i,()=>({focusVisible:()=>{X(!0),V.current.focus()}}),[]);let U=K.shouldMount&&!y&&!m;n.useEffect(()=>{H&&v&&!y&&K.pulsate()},[y,v,H,K]);let Y=O(K,"start",T,b),J=O(K,"stop",C,b),Q=O(K,"stop",$,b),ee=O(K,"stop",M,b),et=O(K,"stop",e=>{H&&e.preventDefault(),E&&E(e)},b),er=O(K,"start",F,b),en=O(K,"stop",I,b),eo=O(K,"stop",z,b),ei=O(K,"stop",e=>{(0,a.Z)(e.target)||X(!1),S&&S(e)},!1),ea=(0,u.Z)(e=>{V.current||(V.current=e.currentTarget),(0,a.Z)(e.target)&&(X(!0),j&&j(e)),A&&A(e)}),el=()=>{let e=V.current;return h&&"button"!==h&&!("A"===e.tagName&&e.href)},es=(0,u.Z)(e=>{v&&!e.repeat&&H&&" "===e.key&&K.stop(e,()=>{K.start(e)}),e.target===e.currentTarget&&el()&&" "===e.key&&e.preventDefault(),B&&B(e),e.target===e.currentTarget&&el()&&"Enter"===e.key&&!m&&(e.preventDefault(),w&&w(e))}),ec=(0,u.Z)(e=>{v&&" "===e.key&&H&&!e.defaultPrevented&&K.stop(e,()=>{K.pulsate(e)}),R&&R(e),w&&e.target===e.currentTarget&&el()&&" "===e.key&&!e.defaultPrevented&&w(e)}),eu=h;"button"===eu&&(q.href||q.to)&&(eu=x);let ef={};"button"===eu?(ef.type=void 0===W?"button":W,ef.disabled=m):(q.href||q.to||(ef.role="button"),m&&(ef["aria-disabled"]=m));let ep=(0,c.Z)(t,V),ed={...r,centerRipple:l,component:h,disabled:m,disableRipple:y,disableTouchRipple:b,focusRipple:v,tabIndex:D,focusVisible:H},eh=P(ed);return(0,g.jsxs)(_,{as:eu,className:(0,o.Z)(eh.root,d),ownerState:ed,onBlur:ei,onClick:w,onContextMenu:J,onFocus:ea,onKeyDown:es,onKeyUp:ec,onMouseDown:Y,onMouseLeave:et,onMouseUp:ee,onDragLeave:Q,onTouchEnd:en,onTouchMove:eo,onTouchStart:er,ref:ep,tabIndex:m?-1:D,type:W,...ef,...q,children:[f,U?(0,g.jsx)(Z,{ref:G,center:l,...L}):null]})})},51751:function(e,t,r){r.d(t,{i:()=>a});var n=r(54538),o=r(16819);r(24246);let i=n.createContext(void 0);function a(e){return function({props:e,name:t}){return function(e){let{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;let i=t.components[r];return i.defaultProps?(0,o.Z)(i.defaultProps,n):i.styleOverrides||i.variants?n:(0,o.Z)(i,n)}({props:e,name:t,theme:{components:n.useContext(i)}})}(e)}},29992:function(e,t,r){r.d(t,{Z:()=>n});let n=r(54538).createContext(void 0)},36683:function(e,t,r){r.d(t,{Z:()=>i});var n=r(54538),o=r(29992);function i(){return n.useContext(o.Z)}},25283:function(e,t,r){r.d(t,{Z:()=>a});var n=r(79886),o=r(12709),i=r(51751);let a=(0,n.Z)({createStyledComponent:(0,o.ZP)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,i.i)({props:e,name:"MuiStack"})})},87895:function(e,t,r){r.d(t,{Z:()=>w});var n=r(54538),o=r(90496),i=r(82267),a=r(16838),l=r(51640),s=r(90433),c=r(99140),u=r(12709),f=r(82319),p=r(51751),d=r(44124),h=r(6749);function m(e){return(0,h.ZP)("MuiSwitch",e)}let g=(0,d.Z)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);var y=r(24246);let b=e=>{let{classes:t,edge:r,size:n,color:o,checked:a,disabled:s}=e,c={root:["root",r&&`edge${(0,l.Z)(r)}`,`size${(0,l.Z)(n)}`],switchBase:["switchBase",`color${(0,l.Z)(o)}`,a&&"checked",s&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},u=(0,i.Z)(c,m,t);return{...t,...u}},v=(0,u.ZP)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.edge&&t[`edge${(0,l.Z)(r.edge)}`],t[`size${(0,l.Z)(r.size)}`]]}})({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"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${g.thumb}`]:{width:16,height:16},[`& .${g.switchBase}`]:{padding:4,[`&.${g.checked}`]:{transform:"translateX(16px)"}}}}]}),k=(0,u.ZP)(c.Z,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.switchBase,{[`& .${g.input}`]:t.input},"default"!==r.color&&t[`color${(0,l.Z)(r.color)}`]]}})((0,f.Z)(({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}),[`&.${g.checked}`]:{transform:"translateX(20px)"},[`&.${g.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${g.checked} + .${g.track}`]:{opacity:.5},[`&.${g.disabled} + .${g.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${"light"===e.palette.mode?.12:.2}`},[`& .${g.input}`]:{left:"-100%",width:"300%"}})),(0,f.Z)(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,a.Fq)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter((0,s.Z)(["light"])).map(([t])=>({props:{color:t},style:{[`&.${g.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,a.Fq)(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${g.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${"light"===e.palette.mode?(0,a.$n)(e.palette[t].main,.62):(0,a._j)(e.palette[t].main,.55)}`}},[`&.${g.checked} + .${g.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),x=(0,u.ZP)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})((0,f.Z)(({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}`}))),S=(0,u.ZP)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})((0,f.Z)(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),w=n.forwardRef(function(e,t){let r=(0,p.i)({props:e,name:"MuiSwitch"}),{className:n,color:i="primary",edge:a=!1,size:l="medium",sx:s,...c}=r,u={...r,color:i,edge:a,size:l},f=b(u),d=(0,y.jsx)(S,{className:f.thumb,ownerState:u});return(0,y.jsxs)(v,{className:(0,o.Z)(f.root,n),sx:s,ownerState:u,children:[(0,y.jsx)(k,{type:"checkbox",icon:d,checkedIcon:d,ref:t,ownerState:u,...c,classes:{...f,root:f.switchBase}}),(0,y.jsx)(x,{className:f.track,ownerState:u})]})})},52054:function(e,t,r){r.d(t,{Z:()=>v});var n=r(54538),o=r(90496),i=r(82267),a=r(32543),l=r(12709),s=r(82319),c=r(51751),u=r(51640),f=r(90433),p=r(67488),d=r(24246);let h={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},m=(0,a.u7)(),g=e=>{let{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:a,classes:l}=e,s={root:["root",a,"inherit"!==e.align&&`align${(0,u.Z)(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]};return(0,i.Z)(s,p.f,l)},y=(0,l.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t[`align${(0,u.Z)(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})((0,s.Z)(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([e,t])=>"inherit"!==e&&t&&"object"==typeof t).map(([e,t])=>({props:{variant:e},style:t})),...Object.entries(e.palette).filter((0,f.Z)()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,e])=>"string"==typeof e).map(([t])=>({props:{color:`text${(0,u.Z)(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:e})=>"inherit"!==e.align,style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:e})=>e.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]}))),b={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},v=n.forwardRef(function(e,t){let{color:r,...n}=(0,c.i)({props:e,name:"MuiTypography"}),i=!h[r],a=m({...n,...i&&{color:r}}),{align:l="inherit",className:s,component:u,gutterBottom:f=!1,noWrap:p=!1,paragraph:v=!1,variant:k="body1",variantMapping:x=b,...S}=a,w={...a,align:l,color:r,className:s,component:u,gutterBottom:f,noWrap:p,paragraph:v,variant:k,variantMapping:x},Z=u||(v?"p":x[k]||b[k])||"span",C=g(w);return(0,d.jsx)(y,{as:Z,ref:t,className:(0,o.Z)(C.root,s),...S,ownerState:w,style:{..."inherit"!==l&&{"--Typography-textAlign":l},...S.style}})})},67488:function(e,t,r){r.d(t,{Z:()=>a,f:()=>i});var n=r(44124),o=r(6749);function i(e){return(0,o.ZP)("MuiTypography",e)}let a=(0,n.Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"])},99140:function(e,t,r){r.d(t,{Z:()=>v});var n=r(54538),o=r(82267),i=r(51640),a=r(73037),l=r(12709),s=r(18817),c=r(36683),u=r(14544),f=r(44124),p=r(6749);function d(e){return(0,p.ZP)("PrivateSwitchBase",e)}(0,f.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var h=r(16351),m=r(24246);let g=e=>{let{classes:t,checked:r,disabled:n,edge:a}=e,l={root:["root",r&&"checked",n&&"disabled",a&&`edge${(0,i.Z)(a)}`],input:["input"]};return(0,o.Z)(l,d,t)},y=(0,l.ZP)(u.Z)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>"start"===e&&"small"!==t.size,style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>"end"===e&&"small"!==t.size,style:{marginRight:-12}}]}),b=(0,l.ZP)("input",{shouldForwardProp:a.Z})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),v=n.forwardRef(function(e,t){let{autoFocus:r,checked:n,checkedIcon:o,defaultChecked:i,disabled:a,disableFocusRipple:l=!1,edge:u=!1,icon:f,id:p,inputProps:d,inputRef:v,name:k,onBlur:x,onChange:S,onFocus:w,readOnly:Z,required:C=!1,tabIndex:$,type:A,value:P,slots:_={},slotProps:O={},...j}=e,[B,R]=(0,s.Z)({controlled:n,default:!!i,name:"SwitchBase",state:"checked"}),T=(0,c.Z)(),E=e=>{w&&w(e),T&&T.onFocus&&T.onFocus(e)},M=e=>{x&&x(e),T&&T.onBlur&&T.onBlur(e)},I=e=>{if(e.nativeEvent.defaultPrevented)return;let t=e.target.checked;R(t),S&&S(e,t)},z=a;T&&void 0===z&&(z=T.disabled);let F="checkbox"===A||"radio"===A,D={...e,checked:B,disabled:z,disableFocusRipple:l,edge:u},L=g(D),N={slots:_,slotProps:{input:d,...O}},[W,q]=(0,h.Z)("root",{ref:t,elementType:y,className:L.root,shouldForwardComponentProp:!0,externalForwardedProps:{...N,component:"span",...j},getSlotProps:e=>({...e,onFocus:t=>{e.onFocus?.(t),E(t)},onBlur:t=>{e.onBlur?.(t),M(t)}}),ownerState:D,additionalProps:{centerRipple:!0,focusRipple:!l,disabled:z,role:void 0,tabIndex:null}}),[V,K]=(0,h.Z)("input",{ref:v,elementType:b,className:L.input,externalForwardedProps:N,getSlotProps:e=>({onChange:t=>{e.onChange?.(t),I(t)}}),ownerState:D,additionalProps:{autoFocus:r,checked:n,defaultChecked:i,disabled:z,id:F?p:void 0,name:k,readOnly:Z,required:C,tabIndex:$,type:A,..."checkbox"===A&&void 0===P?{}:{value:P}}});return(0,m.jsxs)(W,{...q,children:[(0,m.jsx)(V,{...K}),B?o:f]})})},28730:function(e,t,r){r.d(t,{Z:()=>J});var n=r(62220),o=r(61170),i=r(16838);let a={black:"#000",white:"#fff"},l={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},s={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},c={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},u={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},f={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},p={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},d={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function h(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:a.white,default:a.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}let m=h();function g(){return{text:{primary:a.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:a.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}let y=g();function b(e,t,r,n){let o=n.light||n,a=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,i.$n)(e.main,o):"dark"===t&&(e.dark=(0,i._j)(e.main,a)))}function v(e){let t;let{mode:r="light",contrastThreshold:v=3,tonalOffset:k=.2,...x}=e,S=e.primary||function(e="light"){return"dark"===e?{main:f["200"],light:f["50"],dark:f["400"]}:{main:f["700"],light:f["400"],dark:f["800"]}}(r),w=e.secondary||function(e="light"){return"dark"===e?{main:s["200"],light:s["50"],dark:s["400"]}:{main:s["500"],light:s["300"],dark:s["700"]}}(r),Z=e.error||function(e="light"){return"dark"===e?{main:c["500"],light:c["300"],dark:c["700"]}:{main:c["700"],light:c["400"],dark:c["800"]}}(r),C=e.info||function(e="light"){return"dark"===e?{main:p["400"],light:p["300"],dark:p["700"]}:{main:p["700"],light:p["500"],dark:p["900"]}}(r),$=e.success||function(e="light"){return"dark"===e?{main:d["400"],light:d["300"],dark:d["700"]}:{main:d["800"],light:d["500"],dark:d["900"]}}(r),A=e.warning||function(e="light"){return"dark"===e?{main:u["400"],light:u["300"],dark:u["700"]}:{main:"#ed6c02",light:u["500"],dark:u["900"]}}(r);function P(e){return(0,i.mi)(e,y.text.primary)>=v?y.text.primary:m.text.primary}let _=({color:e,name:t,mainShade:r=500,lightShade:o=300,darkShade:i=700})=>{if(!(e={...e}).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw Error((0,n.Z)(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw Error((0,n.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return b(e,"light",o,k),b(e,"dark",i,k),e.contrastText||(e.contrastText=P(e.main)),e};return"light"===r?t=h():"dark"===r&&(t=g()),(0,o.Z)({common:{...a},mode:r,primary:_({color:S,name:"primary"}),secondary:_({color:w,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:_({color:Z,name:"error"}),warning:_({color:A,name:"warning"}),info:_({color:C,name:"info"}),success:_({color:$,name:"success"}),grey:l,contrastThreshold:v,getContrastText:P,augmentColor:_,tonalOffset:k,...t},x)}var k=r(4715),x=r(82664);let S=(e,t,r,n=[])=>{let o=e;t.forEach((e,i)=>{i===t.length-1?Array.isArray(o)?o[Number(e)]=r:o&&"object"==typeof o&&(o[e]=r):o&&"object"==typeof o&&(o[e]||(o[e]=n.includes(e)?[]:{}),o=o[e])})},w=(e,t,r)=>{!function e(n,o=[],i=[]){Object.entries(n).forEach(([n,a])=>{r&&(!r||r([...o,n]))||null==a||("object"==typeof a&&Object.keys(a).length>0?e(a,[...o,n],Array.isArray(a)?[...i,n]:i):t([...o,n],a,i))})}(e)},Z=(e,t)=>"number"==typeof t?["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function C(e,t){let{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return w(e,(e,t,l)=>{if(("string"==typeof t||"number"==typeof t)&&(!n||!n(e,t))){let n=`--${r?`${r}-`:""}${e.join("-")}`,s=Z(e,t);Object.assign(o,{[n]:s}),S(i,e,`var(${n})`,l),S(a,e,`var(${n}, ${s})`,l)}},e=>"vars"===e[0]),{css:o,vars:i,varsWithDefaults:a}}let $=function(e,t={}){let{getSelector:r=function(t,r){let n=i;if("class"===i&&(n=".%s"),"data"===i&&(n="[data-%s]"),i?.startsWith("data-")&&!i.includes("%s")&&(n=`[${i}="%s"]`),t){if("media"===n){if(e.defaultColorScheme===t)return":root";let n=a[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${n})`]:{":root":r}}}if(n)return e.defaultColorScheme===t?`:root, ${n.replace("%s",String(t))}`:n.replace("%s",String(t))}return":root"},disableCssColorScheme:n,colorSchemeSelector:i}=t,{colorSchemes:a={},components:l,defaultColorScheme:s="light",...c}=e,{vars:u,css:f,varsWithDefaults:p}=C(c,t),d=p,h={},{[s]:m,...g}=a;if(Object.entries(g||{}).forEach(([e,r])=>{let{vars:n,css:i,varsWithDefaults:a}=C(r,t);d=(0,o.Z)(d,a),h[e]={css:i,vars:n}}),m){let{css:e,vars:r,varsWithDefaults:n}=C(m,t);d=(0,o.Z)(d,n),h[s]={css:e,vars:r}}return{vars:d,generateThemeVars:()=>{let e={...u};return Object.entries(h).forEach(([,{vars:t}])=>{e=(0,o.Z)(e,t)}),e},generateStyleSheets:()=>{let t=[],o=e.defaultColorScheme||"light";function i(e,r){Object.keys(r).length&&t.push("string"==typeof e?{[e]:{...r}}:e)}i(r(void 0,{...f}),f);let{[o]:l,...s}=h;if(l){let{css:e}=l,t=a[o]?.palette?.mode,s=!n&&t?{colorScheme:t,...e}:{...e};i(r(o,{...s}),s)}return Object.entries(s).forEach(([e,{css:t}])=>{let o=a[e]?.palette?.mode,l=!n&&o?{colorScheme:o,...t}:{...t};i(r(e,{...l}),l)}),t}}};var A=r(40273),P=r(11652),_=r(6798);let O={textTransform:"uppercase"},j='"Roboto", "Helvetica", "Arial", sans-serif';function B(...e){return`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2),${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14),${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`}let R=["none",B(0,2,1,-1,0,1,1,0,0,1,3,0),B(0,3,1,-2,0,2,2,0,0,1,5,0),B(0,3,3,-2,0,3,4,0,0,1,8,0),B(0,2,4,-1,0,4,5,0,0,1,10,0),B(0,3,5,-1,0,5,8,0,0,1,14,0),B(0,3,5,-1,0,6,10,0,0,1,18,0),B(0,4,5,-2,0,7,10,1,0,2,16,1),B(0,5,5,-3,0,8,10,1,0,3,14,2),B(0,5,6,-3,0,9,12,1,0,3,16,2),B(0,6,6,-3,0,10,14,1,0,4,18,3),B(0,6,7,-4,0,11,15,1,0,4,20,3),B(0,7,8,-4,0,12,17,2,0,5,22,4),B(0,7,8,-4,0,13,19,2,0,5,24,4),B(0,7,9,-4,0,14,21,2,0,5,26,4),B(0,8,9,-5,0,15,22,2,0,6,28,5),B(0,8,10,-5,0,16,24,2,0,6,30,5),B(0,8,11,-5,0,17,26,2,0,6,32,5),B(0,9,11,-5,0,18,28,2,0,7,34,6),B(0,9,12,-6,0,19,29,2,0,7,36,6),B(0,10,13,-6,0,20,31,3,0,8,38,7),B(0,10,13,-6,0,21,33,3,0,8,40,7),B(0,10,14,-6,0,22,35,3,0,8,42,7),B(0,11,14,-7,0,23,36,3,0,9,44,8),B(0,11,15,-7,0,24,38,3,0,9,46,8)];var T=r(39508);let E={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function M(e={}){let t={...e};return!function e(t){let r=Object.entries(t);for(let n=0;n<r.length;n++){let[i,a]=r[n];!((0,o.P)(a)||void 0===a||"string"==typeof a||"boolean"==typeof a||"number"==typeof a||Array.isArray(a))||i.startsWith("unstable_")?delete t[i]:(0,o.P)(a)&&(t[i]={...a},e(t[i]))}}(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
76
|
+
|
|
77
|
+
const theme = ${JSON.stringify(t,null,2)};
|
|
78
|
+
|
|
79
|
+
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
80
|
+
theme.transitions = createTransitions(theme.transitions || {});
|
|
81
|
+
|
|
82
|
+
export default theme;`}let I=function(e={},...t){var r;let{breakpoints:i,mixins:a={},spacing:l,palette:s={},transitions:c={},typography:u={},shape:f,...p}=e;if(e.vars&&void 0===e.generateThemeVars)throw Error((0,n.Z)(20));let d=v(s),h=(0,_.Z)(e),m=(0,o.Z)(h,{mixins:{toolbar:{minHeight:56,[(r=h.breakpoints).up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[r.up("sm")]:{minHeight:64}},...a},palette:d,shadows:R.slice(),typography:function(e,t){let{fontFamily:r=j,fontSize:n=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:u,pxToRem:f,...p}="function"==typeof t?t(e):t,d=n/14,h=f||(e=>`${e/c*d}rem`),m=(e,t,n,o,i)=>({fontFamily:r,fontWeight:e,fontSize:h(t),lineHeight:n,...r===j?{letterSpacing:`${Math.round(o/t*1e5)/1e5}em`}:{},...i,...u}),g={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(l,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(l,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(l,14,1.75,.4,O),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,O),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,o.Z)({htmlFontSize:c,pxToRem:h,fontFamily:r,fontSize:n,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:s,...g},p,{clone:!1})}(d,u),transitions:(0,T.ZP)(c),zIndex:{...E}});return m=(0,o.Z)(m,p),(m=t.reduce((e,t)=>(0,o.Z)(e,t),m)).unstable_sxConfig={...A.Z,...p?.unstable_sxConfig},m.unstable_sx=function(e){return(0,P.Z)({sx:e,theme:this})},m.toRuntimeSource=M,m};var z=r(8505);let F=[...Array(25)].map((e,t)=>{if(0===t)return"none";let r=(0,z.Z)(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function D(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function L(e){return"dark"===e?F:[]}function N(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}let W=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],q=e=>(t,r)=>{let n=e.rootSelector||":root",o=e.colorSchemeSelector,i=o;if("class"===o&&(i=".%s"),"data"===o&&(i="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if("dark"===t){let o={};return(W(e.cssVarPrefix).forEach(e=>{o[e]=r[e],delete r[e]}),"media"===i)?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:o}}:i?{[i.replace("%s",t)]:o,[`${n}, ${i.replace("%s",t)}`]:r}:{[n]:{...r,...o}}}if(i&&"media"!==i)return`${n}, ${i.replace("%s",String(t))}`}else if(t){if("media"===i)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(i)return i.replace("%s",String(t))}return n};function V(e,t,r){!e[t]&&r&&(e[t]=r)}function K(e){return"string"==typeof e&&e.startsWith("hsl")?(0,i.ve)(e):e}function G(e,t){`${t}Channel`in e||(e[`${t}Channel`]=(0,i.LR)(K(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
83
|
+
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}let H=e=>{try{return e()}catch(e){}},X=(e="mui")=>(function(e=""){return(t,...r)=>`var(--${e?`${e}-`:""}${t}${function t(...r){if(!r.length)return"";let n=r[0];return"string"!=typeof n||n.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${n}`:`, var(--${e?`${e}-`:""}${n}${t(...r.slice(1))})`}(...r)})`})(e);function U(e,t,r,n){if(!t)return;t=!0===t?{}:t;let o="dark"===n?"dark":"light";if(!r){e[n]=function(e){let{palette:t={mode:"light"},opacity:r,overlays:n,...o}=e,i=v(t);return{palette:i,opacity:{...D(i.mode),...r},overlays:n||L(i.mode),...o}}({...t,palette:{mode:o,...t?.palette}});return}let{palette:i,...a}=I({...r,palette:{mode:o,...t?.palette}});return e[n]={...t,palette:i,opacity:{...D(o),...t?.opacity},overlays:t?.overlays||L(o)},a}function Y(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...!0!==r&&r,palette:v({...!0===r?{}:r.palette,mode:t})})}function J(e={},...t){let{palette:r,cssVariables:a=!1,colorSchemes:l=r?void 0:{light:!0},defaultColorScheme:s=r?.mode,...c}=e,u=s||"light",f=l?.[u],p={...l,...r?{[u]:{..."boolean"!=typeof f&&f,palette:r}}:void 0};if(!1===a){if(!("colorSchemes"in e))return I(e,...t);let n=r;"palette"in e||!p[u]||(!0!==p[u]?n=p[u].palette:"dark"!==u||(n={mode:"dark"}));let o=I({...e,palette:n},...t);return o.defaultColorScheme=u,o.colorSchemes=p,"light"===o.palette.mode&&(o.colorSchemes.light={...!0!==p.light&&p.light,palette:o.palette},Y(o,"dark",p.dark)),"dark"===o.palette.mode&&(o.colorSchemes.dark={...!0!==p.dark&&p.dark,palette:o.palette},Y(o,"light",p.light)),o}return r||"light"in p||"light"!==u||(p.light=!0),function(e={},...t){var r;let{colorSchemes:a={light:!0},defaultColorScheme:l,disableCssColorScheme:s=!1,cssVarPrefix:c="mui",shouldSkipGeneratingVar:u=N,colorSchemeSelector:f=a.light&&a.dark?"media":void 0,rootSelector:p=":root",...d}=e,h=Object.keys(a)[0],m=l||(a.light&&"light"!==h?"light":h),g=X(c),{[m]:y,light:b,dark:v,...S}=a,w={...S},Z=y;if(("dark"!==m||"dark"in a)&&("light"!==m||"light"in a)||(Z=!0),!Z)throw Error((0,n.Z)(21,m));let C=U(w,Z,d,m);b&&!w.light&&U(w,b,void 0,"light"),v&&!w.dark&&U(w,v,void 0,"dark");let _={defaultColorScheme:m,...C,cssVarPrefix:c,colorSchemeSelector:f,rootSelector:p,getCssVar:g,colorSchemes:w,font:{...function(e){let t={};return Object.entries(e).forEach(e=>{let[r,n]=e;"object"==typeof n&&(t[r]=`${n.fontStyle?`${n.fontStyle} `:""}${n.fontVariant?`${n.fontVariant} `:""}${n.fontWeight?`${n.fontWeight} `:""}${n.fontStretch?`${n.fontStretch} `:""}${n.fontSize||""}${n.lineHeight?`/${n.lineHeight} `:""}${n.fontFamily||""}`)}),t}(C.typography),...C.font},spacing:"number"==typeof(r=d.spacing)?`${r}px`:"string"==typeof r||"function"==typeof r||Array.isArray(r)?r:"8px"};Object.keys(_.colorSchemes).forEach(e=>{let t=_.colorSchemes[e].palette,r=e=>{let r=e.split("-"),n=r[1],o=r[2];return g(e,t[n][o])};if("light"===t.mode&&(V(t.common,"background","#fff"),V(t.common,"onBackground","#000")),"dark"===t.mode&&(V(t.common,"background","#000"),V(t.common,"onBackground","#fff")),function(e,t){t.forEach(t=>{e[t]||(e[t]={})})}(t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),"light"===t.mode){V(t.Alert,"errorColor",(0,i.q8)(t.error.light,.6)),V(t.Alert,"infoColor",(0,i.q8)(t.info.light,.6)),V(t.Alert,"successColor",(0,i.q8)(t.success.light,.6)),V(t.Alert,"warningColor",(0,i.q8)(t.warning.light,.6)),V(t.Alert,"errorFilledBg",r("palette-error-main")),V(t.Alert,"infoFilledBg",r("palette-info-main")),V(t.Alert,"successFilledBg",r("palette-success-main")),V(t.Alert,"warningFilledBg",r("palette-warning-main")),V(t.Alert,"errorFilledColor",H(()=>t.getContrastText(t.error.main))),V(t.Alert,"infoFilledColor",H(()=>t.getContrastText(t.info.main))),V(t.Alert,"successFilledColor",H(()=>t.getContrastText(t.success.main))),V(t.Alert,"warningFilledColor",H(()=>t.getContrastText(t.warning.main))),V(t.Alert,"errorStandardBg",(0,i.ux)(t.error.light,.9)),V(t.Alert,"infoStandardBg",(0,i.ux)(t.info.light,.9)),V(t.Alert,"successStandardBg",(0,i.ux)(t.success.light,.9)),V(t.Alert,"warningStandardBg",(0,i.ux)(t.warning.light,.9)),V(t.Alert,"errorIconColor",r("palette-error-main")),V(t.Alert,"infoIconColor",r("palette-info-main")),V(t.Alert,"successIconColor",r("palette-success-main")),V(t.Alert,"warningIconColor",r("palette-warning-main")),V(t.AppBar,"defaultBg",r("palette-grey-100")),V(t.Avatar,"defaultBg",r("palette-grey-400")),V(t.Button,"inheritContainedBg",r("palette-grey-300")),V(t.Button,"inheritContainedHoverBg",r("palette-grey-A100")),V(t.Chip,"defaultBorder",r("palette-grey-400")),V(t.Chip,"defaultAvatarColor",r("palette-grey-700")),V(t.Chip,"defaultIconColor",r("palette-grey-700")),V(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),V(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),V(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),V(t.LinearProgress,"primaryBg",(0,i.ux)(t.primary.main,.62)),V(t.LinearProgress,"secondaryBg",(0,i.ux)(t.secondary.main,.62)),V(t.LinearProgress,"errorBg",(0,i.ux)(t.error.main,.62)),V(t.LinearProgress,"infoBg",(0,i.ux)(t.info.main,.62)),V(t.LinearProgress,"successBg",(0,i.ux)(t.success.main,.62)),V(t.LinearProgress,"warningBg",(0,i.ux)(t.warning.main,.62)),V(t.Skeleton,"bg",`rgba(${r("palette-text-primaryChannel")} / 0.11)`),V(t.Slider,"primaryTrack",(0,i.ux)(t.primary.main,.62)),V(t.Slider,"secondaryTrack",(0,i.ux)(t.secondary.main,.62)),V(t.Slider,"errorTrack",(0,i.ux)(t.error.main,.62)),V(t.Slider,"infoTrack",(0,i.ux)(t.info.main,.62)),V(t.Slider,"successTrack",(0,i.ux)(t.success.main,.62)),V(t.Slider,"warningTrack",(0,i.ux)(t.warning.main,.62));let e=(0,i.fk)(t.background.default,.8);V(t.SnackbarContent,"bg",e),V(t.SnackbarContent,"color",H(()=>t.getContrastText(e))),V(t.SpeedDialAction,"fabHoverBg",(0,i.fk)(t.background.paper,.15)),V(t.StepConnector,"border",r("palette-grey-400")),V(t.StepContent,"border",r("palette-grey-400")),V(t.Switch,"defaultColor",r("palette-common-white")),V(t.Switch,"defaultDisabledColor",r("palette-grey-100")),V(t.Switch,"primaryDisabledColor",(0,i.ux)(t.primary.main,.62)),V(t.Switch,"secondaryDisabledColor",(0,i.ux)(t.secondary.main,.62)),V(t.Switch,"errorDisabledColor",(0,i.ux)(t.error.main,.62)),V(t.Switch,"infoDisabledColor",(0,i.ux)(t.info.main,.62)),V(t.Switch,"successDisabledColor",(0,i.ux)(t.success.main,.62)),V(t.Switch,"warningDisabledColor",(0,i.ux)(t.warning.main,.62)),V(t.TableCell,"border",(0,i.ux)((0,i.zp)(t.divider,1),.88)),V(t.Tooltip,"bg",(0,i.zp)(t.grey[700],.92))}if("dark"===t.mode){V(t.Alert,"errorColor",(0,i.ux)(t.error.light,.6)),V(t.Alert,"infoColor",(0,i.ux)(t.info.light,.6)),V(t.Alert,"successColor",(0,i.ux)(t.success.light,.6)),V(t.Alert,"warningColor",(0,i.ux)(t.warning.light,.6)),V(t.Alert,"errorFilledBg",r("palette-error-dark")),V(t.Alert,"infoFilledBg",r("palette-info-dark")),V(t.Alert,"successFilledBg",r("palette-success-dark")),V(t.Alert,"warningFilledBg",r("palette-warning-dark")),V(t.Alert,"errorFilledColor",H(()=>t.getContrastText(t.error.dark))),V(t.Alert,"infoFilledColor",H(()=>t.getContrastText(t.info.dark))),V(t.Alert,"successFilledColor",H(()=>t.getContrastText(t.success.dark))),V(t.Alert,"warningFilledColor",H(()=>t.getContrastText(t.warning.dark))),V(t.Alert,"errorStandardBg",(0,i.q8)(t.error.light,.9)),V(t.Alert,"infoStandardBg",(0,i.q8)(t.info.light,.9)),V(t.Alert,"successStandardBg",(0,i.q8)(t.success.light,.9)),V(t.Alert,"warningStandardBg",(0,i.q8)(t.warning.light,.9)),V(t.Alert,"errorIconColor",r("palette-error-main")),V(t.Alert,"infoIconColor",r("palette-info-main")),V(t.Alert,"successIconColor",r("palette-success-main")),V(t.Alert,"warningIconColor",r("palette-warning-main")),V(t.AppBar,"defaultBg",r("palette-grey-900")),V(t.AppBar,"darkBg",r("palette-background-paper")),V(t.AppBar,"darkColor",r("palette-text-primary")),V(t.Avatar,"defaultBg",r("palette-grey-600")),V(t.Button,"inheritContainedBg",r("palette-grey-800")),V(t.Button,"inheritContainedHoverBg",r("palette-grey-700")),V(t.Chip,"defaultBorder",r("palette-grey-700")),V(t.Chip,"defaultAvatarColor",r("palette-grey-300")),V(t.Chip,"defaultIconColor",r("palette-grey-300")),V(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),V(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),V(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),V(t.LinearProgress,"primaryBg",(0,i.q8)(t.primary.main,.5)),V(t.LinearProgress,"secondaryBg",(0,i.q8)(t.secondary.main,.5)),V(t.LinearProgress,"errorBg",(0,i.q8)(t.error.main,.5)),V(t.LinearProgress,"infoBg",(0,i.q8)(t.info.main,.5)),V(t.LinearProgress,"successBg",(0,i.q8)(t.success.main,.5)),V(t.LinearProgress,"warningBg",(0,i.q8)(t.warning.main,.5)),V(t.Skeleton,"bg",`rgba(${r("palette-text-primaryChannel")} / 0.13)`),V(t.Slider,"primaryTrack",(0,i.q8)(t.primary.main,.5)),V(t.Slider,"secondaryTrack",(0,i.q8)(t.secondary.main,.5)),V(t.Slider,"errorTrack",(0,i.q8)(t.error.main,.5)),V(t.Slider,"infoTrack",(0,i.q8)(t.info.main,.5)),V(t.Slider,"successTrack",(0,i.q8)(t.success.main,.5)),V(t.Slider,"warningTrack",(0,i.q8)(t.warning.main,.5));let e=(0,i.fk)(t.background.default,.98);V(t.SnackbarContent,"bg",e),V(t.SnackbarContent,"color",H(()=>t.getContrastText(e))),V(t.SpeedDialAction,"fabHoverBg",(0,i.fk)(t.background.paper,.15)),V(t.StepConnector,"border",r("palette-grey-600")),V(t.StepContent,"border",r("palette-grey-600")),V(t.Switch,"defaultColor",r("palette-grey-300")),V(t.Switch,"defaultDisabledColor",r("palette-grey-600")),V(t.Switch,"primaryDisabledColor",(0,i.q8)(t.primary.main,.55)),V(t.Switch,"secondaryDisabledColor",(0,i.q8)(t.secondary.main,.55)),V(t.Switch,"errorDisabledColor",(0,i.q8)(t.error.main,.55)),V(t.Switch,"infoDisabledColor",(0,i.q8)(t.info.main,.55)),V(t.Switch,"successDisabledColor",(0,i.q8)(t.success.main,.55)),V(t.Switch,"warningDisabledColor",(0,i.q8)(t.warning.main,.55)),V(t.TableCell,"border",(0,i.q8)((0,i.zp)(t.divider,1),.68)),V(t.Tooltip,"bg",(0,i.zp)(t.grey[700],.92))}G(t.background,"default"),G(t.background,"paper"),G(t.common,"background"),G(t.common,"onBackground"),G(t,"divider"),Object.keys(t).forEach(e=>{let r=t[e];"tonalOffset"!==e&&r&&"object"==typeof r&&(r.main&&V(t[e],"mainChannel",(0,i.LR)(K(r.main))),r.light&&V(t[e],"lightChannel",(0,i.LR)(K(r.light))),r.dark&&V(t[e],"darkChannel",(0,i.LR)(K(r.dark))),r.contrastText&&V(t[e],"contrastTextChannel",(0,i.LR)(K(r.contrastText))),"text"===e&&(G(t[e],"primary"),G(t[e],"secondary")),"action"===e&&(r.active&&G(t[e],"active"),r.selected&&G(t[e],"selected")))})});let O={prefix:c,disableCssColorScheme:s,shouldSkipGeneratingVar:u,getSelector:q(_=t.reduce((e,t)=>(0,o.Z)(e,t),_))},{vars:j,generateThemeVars:B,generateStyleSheets:R}=$(_,O);return _.vars=j,Object.entries(_.colorSchemes[_.defaultColorScheme]).forEach(([e,t])=>{_[e]=t}),_.generateThemeVars=B,_.generateStyleSheets=R,_.generateSpacing=function(){return(0,k.Z)(d.spacing,(0,x.hB)(this))},_.getColorSchemeSelector=function(e){return"media"===f?`@media (prefers-color-scheme: ${e})`:f?f.startsWith("data-")&&!f.includes("%s")?`[${f}="${e}"] &`:"class"===f?`.${e} &`:"data"===f?`[data-${e}] &`:`${f.replace("%s",e)} &`:"&"},_.spacing=_.generateSpacing(),_.shouldSkipGeneratingVar=u,_.unstable_sxConfig={...A.Z,...d?.unstable_sxConfig},_.unstable_sx=function(e){return(0,P.Z)({sx:e,theme:this})},_.toRuntimeSource=M,_}({...c,colorSchemes:p,defaultColorScheme:u,..."boolean"!=typeof a&&a},...t)}},39508:function(e,t,r){r.d(t,{ZP:()=>l,x9:()=>o});let n={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},o={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function i(e){return`${Math.round(e)}ms`}function a(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function l(e){let t={...n,...e.easing},r={...o,...e.duration};return{getAutoHeightDuration:a,create:(e=["all"],n={})=>{let{duration:o=r.standard,easing:a=t.easeInOut,delay:l=0,...s}=n;return(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof o?o:i(o)} ${a} ${"string"==typeof l?l:i(l)}`).join(",")},...e,easing:t,duration:r}}},53126:function(e,t,r){r.d(t,{Z:()=>n});let n=(0,r(28730).Z)()},8505:function(e,t,r){r.d(t,{Z:()=>n});function n(e){let t;return Math.round(10*(e<1?5.11916*e**2:4.5*Math.log(e+1)+2))/1e3}},92994:function(e,t,r){r.d(t,{Z:()=>n});let n="$$material"},73037:function(e,t,r){r.d(t,{Z:()=>o});var n=r(4005);let o=e=>(0,n.Z)(e)&&"classes"!==e},4005:function(e,t,r){r.d(t,{Z:()=>n});let n=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}},12709:function(e,t,r){r.d(t,{ZP:()=>l});var n=r(35315),o=r(53126),i=r(92994),a=r(73037);let l=(0,n.ZP)({themeId:i.Z,defaultTheme:o.Z,rootShouldForwardProp:a.Z})},51640:function(e,t,r){r.d(t,{Z:()=>n});let n=r(3150).Z},90433:function(e,t,r){r.d(t,{Z:()=>n});function n(e=[]){return([,t])=>t&&function(e,t=[]){if("string"!=typeof e.main)return!1;for(let r of t)if(!e.hasOwnProperty(r)||"string"!=typeof e[r])return!1;return!0}(t,e)}},82319:function(e,t,r){r.d(t,{Z:()=>i});var n=r(83606);let o={theme:void 0},i=function(e){let t,r;return function(i){let a=t;return(void 0===a||i.theme!==r)&&(o.theme=i.theme,t=a=(0,n.Z)(e(o)),r=i.theme),a}}},18817:function(e,t,r){r.d(t,{Z:()=>n});let n=r(9831).Z},67151:function(e,t,r){r.d(t,{Z:()=>n});let n=r(81925).Z},51183:function(e,t,r){r.d(t,{Z:()=>n});let n=r(97048).Z},16351:function(e,t,r){r.d(t,{Z:()=>l});var n=r(97048),o=r(60206),i=r(85480),a=r(92729);function l(e,t){let{className:r,elementType:l,ownerState:s,externalForwardedProps:c,internalForwardedProps:u,shouldForwardComponentProp:f=!1,...p}=t,{component:d,slots:h={[e]:void 0},slotProps:m={[e]:void 0},...g}=c,y=h[e]||l,b=(0,i.Z)(m[e],s),{props:{component:v,...k},internalRef:x}=(0,a.Z)({className:r,...p,externalForwardedProps:"root"===e?g:void 0,externalSlotProps:b}),S=(0,n.Z)(x,b?.ref,t.ref),w="root"===e?v||d:v,Z=(0,o.Z)(y,{..."root"===e&&!d&&!h[e]&&u,..."root"!==e&&!h[e]&&u,...k,...w&&!f&&{as:w},...w&&f&&{component:w},ref:S},s);return[y,Z]}},32543:function(e,t,r){r.d(t,{zY:()=>p,u7:()=>d}),r(54538);var n=r(93772),o=r(72116),i=r(24246);function a(e){let{styles:t,defaultTheme:r={}}=e,n="function"==typeof t?e=>t(null==e||0===Object.keys(e).length?r:e):t;return(0,i.jsx)(o.Global,{styles:n})}var l=r(38971);let s=function({styles:e,themeId:t,defaultTheme:r={}}){let n=(0,l.Z)(r),o="function"==typeof e?e(t&&n[t]||n):e;return(0,i.jsx)(a,{styles:o})};var c=r(53126),u=r(92994);let f=function(e){return(0,i.jsx)(s,{...e,defaultTheme:c.Z,themeId:u.Z})};function p(e){return function(t){return(0,i.jsx)(f,{styles:"function"==typeof e?r=>e({theme:r,...t}):e})}}function d(){return n.Z}},89966:function(e,t,r){r.d(t,{ZP:()=>a,bu:()=>c,nf:()=>l});var n=r(45913),o=r.n(n),i=r(42747);function a(e,t){return o()(e,t)}function l(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}r(72116);let s=[];function c(e){return s[0]=e,(0,i.O)(s)}},79886:function(e,t,r){r.d(t,{Z:()=>k});var n=r(54538),o=r(90496),i=r(61170),a=r(6749),l=r(82267),s=r(4560),c=r(22179),u=r(93772),f=r(6798),p=r(13890),d=r(82664),h=r(24246);let m=(0,f.Z)(),g=(0,s.Z)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function y(e){return(0,c.Z)({props:e,name:"MuiStack",defaultTheme:m})}let b=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],v=({ownerState:e,theme:t})=>{let r={display:"flex",flexDirection:"column",...(0,p.k9)({theme:t},(0,p.P$)({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e}))};if(e.spacing){let n=(0,d.hB)(t),o=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),{}),a=(0,p.P$)({values:e.direction,base:o}),l=(0,p.P$)({values:e.spacing,base:o});"object"==typeof a&&Object.keys(a).forEach((e,t,r)=>{if(!a[e]){let n=t>0?a[r[t-1]]:"column";a[e]=n}}),r=(0,i.Z)(r,(0,p.k9)({theme:t},l,(t,r)=>e.useFlexGap?{gap:(0,d.NA)(n,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${b(r?a[r]:e.direction)}`]:(0,d.NA)(n,t)}}))}return(0,p.dt)(t.breakpoints,r)};function k(e={}){let{createStyledComponent:t=g,useThemeProps:r=y,componentName:i="MuiStack"}=e,s=()=>(0,l.Z)({root:["root"]},e=>(0,a.ZP)(i,e),{}),c=t(v);return n.forwardRef(function(e,t){let i=r(e),{component:a="div",direction:l="column",spacing:f=0,divider:p,children:d,className:m,useFlexGap:g=!1,...y}=(0,u.Z)(i),b=s();return(0,h.jsx)(c,{as:a,ownerState:{direction:l,spacing:f,useFlexGap:g},ref:t,className:(0,o.Z)(b.root,m),...y,children:p?function(e,t){let r=n.Children.toArray(e).filter(Boolean);return r.reduce((e,o,i)=>(e.push(o),i<r.length-1&&e.push(n.cloneElement(t,{key:`separator-${i}`})),e),[])}(d,p):d})})}},13890:function(e,t,r){r.d(t,{L7:()=>u,P$:()=>p,VO:()=>i,W8:()=>c,dt:()=>f,k9:()=>s});var n=r(61170),o=r(58787);let i={xs:0,sm:600,md:900,lg:1200,xl:1536},a={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${i[e]}px)`},l={containerQueries:e=>({up:t=>{let r="number"==typeof t?t:i[t]||t;return"number"==typeof r&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function s(e,t,r){let n=e.theme||{};if(Array.isArray(t)){let e=n.breakpoints||a;return t.reduce((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n),{})}if("object"==typeof t){let e=n.breakpoints||a;return Object.keys(t).reduce((a,s)=>{if((0,o.WX)(e.keys,s)){let e=(0,o.ue)(n.containerQueries?n:l,s);e&&(a[e]=r(t[s],s))}else Object.keys(e.values||i).includes(s)?a[e.up(s)]=r(t[s],s):a[s]=t[s];return a},{})}return r(t)}function c(e={}){return e.keys?.reduce((t,r)=>(t[e.up(r)]={},t),{})||{}}function u(e,t){return e.reduce((e,t)=>{let r=e[t];return r&&0!==Object.keys(r).length||delete e[t],e},t)}function f(e,...t){let r=c(e),o=[r,...t].reduce((e,t)=>(0,n.Z)(e,t),{});return u(Object.keys(r),o)}function p({values:e,breakpoints:t,base:r}){let n;let o=Object.keys(r||function(e,t){if("object"!=typeof e)return{};let r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((t,n)=>{n<e.length&&(r[t]=!0)}):n.forEach(t=>{null!=e[t]&&(r[t]=!0)}),r}(e,t));return 0===o.length?e:o.reduce((t,r,o)=>(Array.isArray(e)?(t[r]=null!=e[o]?e[o]:e[n],n=o):"object"==typeof e?(t[r]=null!=e[r]?e[r]:e[n],n=r):t[r]=e,t),{})}},16838:function(e,t,r){r.d(t,{ve:()=>c,LR:()=>l,Fq:()=>p,q8:()=>m,fk:()=>b,mi:()=>f,ux:()=>y,$n:()=>g,zp:()=>d,_j:()=>h});var n=r(62220);function o(e,t=0,r=1){return function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}(e,t,r)}function i(e){let t;if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map(e=>e+e)),r?`rgb${4===r.length?"a":""}(${r.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let r=e.indexOf("("),o=e.substring(0,r);if(!["rgb","rgba","hsl","hsla","color"].includes(o))throw Error((0,n.Z)(9,e));let a=e.substring(r+1,e.length-1);if("color"===o){if(t=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(t))throw Error((0,n.Z)(10,t))}else a=a.split(",");return{type:o,values:a=a.map(e=>parseFloat(e)),colorSpace:t}}let a=e=>{let t=i(e);return t.values.slice(0,3).map((e,r)=>t.type.includes("hsl")&&0!==r?`${e}%`:e).join(" ")},l=(e,t)=>{try{return a(e)}catch(t){return e}};function s(e){let{type:t,colorSpace:r}=e,{values:n}=e;return t.includes("rgb")?n=n.map((e,t)=>t<3?parseInt(e,10):e):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=t.includes("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function c(e){let{values:t}=e=i(e),r=t[0],n=t[1]/100,o=t[2]/100,a=n*Math.min(o,1-o),l=(e,t=(e+r/30)%12)=>o-a*Math.max(Math.min(t-3,9-t,1),-1),c="rgb",u=[Math.round(255*l(0)),Math.round(255*l(8)),Math.round(255*l(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),s({type:c,values:u})}function u(e){let t="hsl"===(e=i(e)).type||"hsla"===e.type?i(c(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function f(e,t){let r=u(e),n=u(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function p(e,t){return e=i(e),t=o(t),("rgb"===e.type||"hsl"===e.type)&&(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,s(e)}function d(e,t,r){try{return p(e,t)}catch(t){return e}}function h(e,t){if(e=i(e),t=o(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return s(e)}function m(e,t,r){try{return h(e,t)}catch(t){return e}}function g(e,t){if(e=i(e),t=o(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return s(e)}function y(e,t,r){try{return g(e,t)}catch(t){return e}}function b(e,t,r){try{return function(e,t=.15){return u(e)>.5?h(e,t):g(e,t)}(e,t)}catch(t){return e}}},35315:function(e,t,r){r.d(t,{ZP:()=>p,x9:()=>c});var n=r(89966),o=r(61170),i=r(6798),a=r(11652),l=r(83606);let s=(0,i.Z)();function c(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function u(e,t){let r="function"==typeof t?t(e):t;if(Array.isArray(r))return r.flatMap(t=>u(e,t));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=r.style;else{let{variants:e,...n}=r;t=n}return f(e,r.variants,[t])}return r?.isProcessed?r.style:r}function f(e,t,r=[]){let n;e:for(let o=0;o<t.length;o+=1){let i=t[o];if("function"==typeof i.props){if(n??={...e,...e.ownerState,ownerState:e.ownerState},!i.props(n))continue}else for(let t in i.props)if(e[t]!==i.props[t]&&e.ownerState?.[t]!==i.props[t])continue e;"function"==typeof i.style?(n??={...e,...e.ownerState,ownerState:e.ownerState},r.push(i.style(n))):r.push(i.style)}return r}function p(e={}){let{themeId:t,defaultTheme:r=s,rootShouldForwardProp:i=c,slotShouldForwardProp:d=c}=e;function h(e){e.theme=!function(e){for(let t in e)return!1;return!0}(e.theme)?e.theme[t]||e.theme:r}return(e,t={})=>{var r,s,p,m,g;(0,n.nf)(e,e=>e.filter(e=>e!==a.Z));let{name:y,slot:b,skipVariantsResolver:v,skipSx:k,overridesResolver:x=(r=(s=b)?s.charAt(0).toLowerCase()+s.slice(1):s)?(e,t)=>t[r]:null,...S}=t,w=void 0!==v?v:b&&"Root"!==b&&"root"!==b||!1,Z=k||!1,C=c;"Root"===b||"root"===b?C=i:b?C=d:"string"==typeof(p=e)&&p.charCodeAt(0)>96&&(C=void 0);let $=(0,n.ZP)(e,{shouldForwardProp:C,label:(m=0,g=0,void 0),...S}),A=e=>{if("function"==typeof e&&e.__emotion_real!==e)return function(t){return u(t,e)};if((0,o.P)(e)){let t=(0,l.Z)(e);return t.variants?function(e){return u(e,t)}:t.style}return e},P=(...t)=>{let r=[],n=t.map(A),o=[];if(r.push(h),y&&x&&o.push(function(e){let t=e.theme,r=t.components?.[y]?.styleOverrides;if(!r)return null;let n={};for(let t in r)n[t]=u(e,r[t]);return x(e,n)}),y&&!w&&o.push(function(e){let t=e.theme,r=t?.components?.[y]?.variants;return r?f(e,r):null}),Z||o.push(a.Z),Array.isArray(n[0])){let e;let t=n.shift(),i=Array(r.length).fill(""),a=Array(o.length).fill("");(e=[...i,...t,...a]).raw=[...i,...t.raw,...a],r.unshift(e)}let i=$(...r,...n,...o);return e.muiName&&(i.muiName=e.muiName),i};return $.withConfig&&(P.withConfig=$.withConfig),P}}},4715:function(e,t,r){r.d(t,{Z:()=>o});var n=r(82664);function o(e=8,t=(0,n.hB)({spacing:e})){if(e.mui)return e;let r=(...e)=>(0===e.length?[1]:e).map(e=>{let r=t(e);return"number"==typeof r?`${r}px`:r}).join(" ");return r.mui=!0,r}},6798:function(e,t,r){r.d(t,{Z:()=>f});var n=r(61170);let o=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})};var i=r(58787);let a={borderRadius:4};var l=r(4715),s=r(11652),c=r(40273);function u(e,t){if(this.vars){if(!this.colorSchemes?.[e]||"function"!=typeof this.getColorSchemeSelector)return{};let r=this.getColorSchemeSelector(e);return"&"===r?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return this.palette.mode===e?t:{}}let f=function(e={},...t){let{breakpoints:r={},palette:f={},spacing:p,shape:d={},...h}=e,m=function(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...i}=e,a=o(t),l=Object.keys(a);function s(e){let n="number"==typeof t[e]?t[e]:e;return`@media (min-width:${n}${r})`}function c(e){let o="number"==typeof t[e]?t[e]:e;return`@media (max-width:${o-n/100}${r})`}function u(e,o){let i=l.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==i&&"number"==typeof t[l[i]]?t[l[i]]:o)-n/100}${r})`}return{keys:l,values:a,up:s,down:c,between:u,only:function(e){return l.indexOf(e)+1<l.length?u(e,l[l.indexOf(e)+1]):s(e)},not:function(e){let t=l.indexOf(e);return 0===t?s(l[1]):t===l.length-1?c(l[t]):u(e,l[l.indexOf(e)+1]).replace("@media","@media not all and")},unit:r,...i}}(r),g=(0,l.Z)(p),y=(0,n.Z)({breakpoints:m,direction:"ltr",components:{},palette:{mode:"light",...f},spacing:g,shape:{...a,...d}},h);return(y=(0,i.ZP)(y)).applyStyles=u,(y=t.reduce((e,t)=>(0,n.Z)(e,t),y)).unstable_sxConfig={...c.Z,...h?.unstable_sxConfig},y.unstable_sx=function(e){return(0,s.Z)({sx:e,theme:this})},y}},58787:function(e,t,r){function n(e,t){if(!e.containerQueries)return t;let r=Object.keys(t).filter(e=>e.startsWith("@container")).sort((e,t)=>{let r=/min-width:\s*([0-9.]+)/;return+(e.match(r)?.[1]||0)-+(t.match(r)?.[1]||0)});return r.length?r.reduce((e,r)=>{let n=t[r];return delete e[r],e[r]=n,e},{...t}):t}function o(e,t){return"@"===t||t.startsWith("@")&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function i(e,t){let r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;let[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function a(e){let t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function r(r,n){r.up=(...r)=>t(e.breakpoints.up(...r),n),r.down=(...r)=>t(e.breakpoints.down(...r),n),r.between=(...r)=>t(e.breakpoints.between(...r),n),r.only=(...r)=>t(e.breakpoints.only(...r),n),r.not=(...r)=>{let o=t(e.breakpoints.not(...r),n);return o.includes("not all and")?o.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):o}}let n={},o=e=>(r(n,e),n);return r(o),{...e,containerQueries:o}}r.d(t,{WX:()=>o,ZP:()=>a,ar:()=>n,ue:()=>i})},76360:function(e,t,r){r.d(t,{Z:()=>o});var n=r(61170);let o=function(e,t){return t?(0,n.Z)(e,t,{clone:!1}):e}},83606:function(e,t,r){r.d(t,{Z:()=>o});var n=r(89966);function o(e){let{variants:t,...r}=e,o={variants:t,style:(0,n.bu)(r),isProcessed:!0};return o.style===r||t&&t.forEach(e=>{"function"!=typeof e.style&&(e.style=(0,n.bu)(e.style))}),o}},82664:function(e,t,r){r.d(t,{NA:()=>m,hB:()=>h,e6:()=>y,o3:()=>b,eI:()=>d});var n=r(13890),o=r(33160),i=r(76360);let a={m:"margin",p:"padding"},l={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},s={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(e){let t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}(e=>{if(e.length>2){if(!s[e])return[e];e=s[e]}let[t,r]=e.split(""),n=a[t],o=l[r]||"";return Array.isArray(o)?o.map(e=>n+e):[n+o]}),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[...u,...f];function d(e,t,r,n){let i=(0,o.DW)(e,t,!0)??r;return"number"==typeof i||"string"==typeof i?e=>"string"==typeof e?e:"string"==typeof i?`calc(${e} * ${i})`:i*e:Array.isArray(i)?e=>{if("string"==typeof e)return e;let t=i[Math.abs(e)];return e>=0?t:"number"==typeof t?-t:`-${t}`}:"function"==typeof i?i:()=>void 0}function h(e){return d(e,"spacing",8,"spacing")}function m(e,t){return"string"==typeof t||null==t?t:e(t)}function g(e,t){let r=h(e.theme);return Object.keys(e).map(o=>(function(e,t,r,o){var i;if(!t.includes(r))return null;let a=(i=c(r),e=>i.reduce((t,r)=>(t[r]=m(o,e),t),{})),l=e[r];return(0,n.k9)(e,l,a)})(e,t,o,r)).reduce(i.Z,{})}function y(e){return g(e,u)}function b(e){return g(e,f)}function v(e){return g(e,p)}y.propTypes={},y.filterProps=u,b.propTypes={},b.filterProps=f,v.propTypes={},v.filterProps=p},33160:function(e,t,r){r.d(t,{DW:()=>i,Jq:()=>a,ZP:()=>l});var n=r(3150),o=r(13890);function i(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){let r=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=r)return r}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function a(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:i(e,r)||n,t&&(o=t(o,n,e)),o}let l=function(e){let{prop:t,cssProperty:r=e.prop,themeKey:l,transform:s}=e,c=e=>{if(null==e[t])return null;let c=e[t],u=i(e.theme,l)||{};return(0,o.k9)(e,c,e=>{let o=a(u,s,e);return(e===o&&"string"==typeof e&&(o=a(u,s,`${t}${"default"===e?"":(0,n.Z)(e)}`,e)),!1===r)?o:{[r]:o}})};return c.propTypes={},c.filterProps=[t],c}},40273:function(e,t,r){r.d(t,{Z:()=>N});var n=r(82664),o=r(33160),i=r(76360);let a=function(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),r=e=>Object.keys(e).reduce((r,n)=>t[n]?(0,i.Z)(r,t[n](e)):r,{});return r.propTypes={},r.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),r};var l=r(13890);function s(e){return"number"!=typeof e?e:`${e}px solid`}function c(e,t){return(0,o.ZP)({prop:e,themeKey:"borders",transform:t})}let u=c("border",s),f=c("borderTop",s),p=c("borderRight",s),d=c("borderBottom",s),h=c("borderLeft",s),m=c("borderColor"),g=c("borderTopColor"),y=c("borderRightColor"),b=c("borderBottomColor"),v=c("borderLeftColor"),k=c("outline",s),x=c("outlineColor"),S=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){let t=(0,n.eI)(e.theme,"shape.borderRadius",4,"borderRadius");return(0,l.k9)(e,e.borderRadius,e=>({borderRadius:(0,n.NA)(t,e)}))}return null};S.propTypes={},S.filterProps=["borderRadius"],a(u,f,p,d,h,m,g,y,b,v,S,k,x);let w=e=>{if(void 0!==e.gap&&null!==e.gap){let t=(0,n.eI)(e.theme,"spacing",8,"gap");return(0,l.k9)(e,e.gap,e=>({gap:(0,n.NA)(t,e)}))}return null};w.propTypes={},w.filterProps=["gap"];let Z=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){let t=(0,n.eI)(e.theme,"spacing",8,"columnGap");return(0,l.k9)(e,e.columnGap,e=>({columnGap:(0,n.NA)(t,e)}))}return null};Z.propTypes={},Z.filterProps=["columnGap"];let C=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){let t=(0,n.eI)(e.theme,"spacing",8,"rowGap");return(0,l.k9)(e,e.rowGap,e=>({rowGap:(0,n.NA)(t,e)}))}return null};C.propTypes={},C.filterProps=["rowGap"];let $=(0,o.ZP)({prop:"gridColumn"}),A=(0,o.ZP)({prop:"gridRow"}),P=(0,o.ZP)({prop:"gridAutoFlow"}),_=(0,o.ZP)({prop:"gridAutoColumns"}),O=(0,o.ZP)({prop:"gridAutoRows"}),j=(0,o.ZP)({prop:"gridTemplateColumns"}),B=(0,o.ZP)({prop:"gridTemplateRows"});function R(e,t){return"grey"===t?t:e}a(w,Z,C,$,A,P,_,O,j,B,(0,o.ZP)({prop:"gridTemplateAreas"}),(0,o.ZP)({prop:"gridArea"}));let T=(0,o.ZP)({prop:"color",themeKey:"palette",transform:R});function E(e){return e<=1&&0!==e?`${100*e}%`:e}a(T,(0,o.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:R}),(0,o.ZP)({prop:"backgroundColor",themeKey:"palette",transform:R}));let M=(0,o.ZP)({prop:"width",transform:E}),I=e=>void 0!==e.maxWidth&&null!==e.maxWidth?(0,l.k9)(e,e.maxWidth,t=>{let r=e.theme?.breakpoints?.values?.[t]||l.VO[t];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:E(t)}}):null;I.filterProps=["maxWidth"];let z=(0,o.ZP)({prop:"minWidth",transform:E}),F=(0,o.ZP)({prop:"height",transform:E}),D=(0,o.ZP)({prop:"maxHeight",transform:E}),L=(0,o.ZP)({prop:"minHeight",transform:E});(0,o.ZP)({prop:"size",cssProperty:"width",transform:E}),(0,o.ZP)({prop:"size",cssProperty:"height",transform:E}),a(M,I,z,F,D,L,(0,o.ZP)({prop:"boxSizing"}));let N={border:{themeKey:"borders",transform:s},borderTop:{themeKey:"borders",transform:s},borderRight:{themeKey:"borders",transform:s},borderBottom:{themeKey:"borders",transform:s},borderLeft:{themeKey:"borders",transform:s},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:s},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:S},color:{themeKey:"palette",transform:R},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:R},backgroundColor:{themeKey:"palette",transform:R},p:{style:n.o3},pt:{style:n.o3},pr:{style:n.o3},pb:{style:n.o3},pl:{style:n.o3},px:{style:n.o3},py:{style:n.o3},padding:{style:n.o3},paddingTop:{style:n.o3},paddingRight:{style:n.o3},paddingBottom:{style:n.o3},paddingLeft:{style:n.o3},paddingX:{style:n.o3},paddingY:{style:n.o3},paddingInline:{style:n.o3},paddingInlineStart:{style:n.o3},paddingInlineEnd:{style:n.o3},paddingBlock:{style:n.o3},paddingBlockStart:{style:n.o3},paddingBlockEnd:{style:n.o3},m:{style:n.e6},mt:{style:n.e6},mr:{style:n.e6},mb:{style:n.e6},ml:{style:n.e6},mx:{style:n.e6},my:{style:n.e6},margin:{style:n.e6},marginTop:{style:n.e6},marginRight:{style:n.e6},marginBottom:{style:n.e6},marginLeft:{style:n.e6},marginX:{style:n.e6},marginY:{style:n.e6},marginInline:{style:n.e6},marginInlineStart:{style:n.e6},marginInlineEnd:{style:n.e6},marginBlock:{style:n.e6},marginBlockStart:{style:n.e6},marginBlockEnd:{style:n.e6},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:w},rowGap:{style:C},columnGap:{style:Z},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:E},maxWidth:{style:I},minWidth:{transform:E},height:{transform:E},maxHeight:{transform:E},minHeight:{transform:E},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}},93772:function(e,t,r){r.d(t,{Z:()=>a});var n=r(61170),o=r(40273);let i=e=>{let t={systemProps:{},otherProps:{}},r=e?.theme?.unstable_sxConfig??o.Z;return Object.keys(e).forEach(n=>{r[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]}),t};function a(e){let t;let{sx:r,...o}=e,{systemProps:a,otherProps:l}=i(o);return t=Array.isArray(r)?[a,...r]:"function"==typeof r?(...e)=>{let t=r(...e);return(0,n.P)(t)?{...a,...t}:a}:{...a,...r},{...l,sx:t}}},11652:function(e,t,r){r.d(t,{Z:()=>u});var n=r(3150),o=r(76360),i=r(33160),a=r(13890),l=r(58787),s=r(40273);let c=function(){function e(e,t,r,o){let l={[e]:t,theme:r},s=o[e];if(!s)return{[e]:t};let{cssProperty:c=e,themeKey:u,transform:f,style:p}=s;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};let d=(0,i.DW)(r,u)||{};return p?p(l):(0,a.k9)(l,t,t=>{let r=(0,i.Jq)(d,f,t);return(t===r&&"string"==typeof t&&(r=(0,i.Jq)(d,f,`${e}${"default"===t?"":(0,n.Z)(t)}`,t)),!1===c)?r:{[c]:r}})}return function t(r){let{sx:n,theme:i={}}=r||{};if(!n)return null;let c=i.unstable_sxConfig??s.Z;function u(r){let n=r;if("function"==typeof r)n=r(i);else if("object"!=typeof r)return r;if(!n)return null;let s=(0,a.W8)(i.breakpoints),u=Object.keys(s),f=s;return Object.keys(n).forEach(r=>{var l;let s="function"==typeof(l=n[r])?l(i):l;if(null!=s){if("object"==typeof s){if(c[r])f=(0,o.Z)(f,e(r,s,i,c));else{let e=(0,a.k9)({theme:i},s,e=>({[r]:e}));(function(...e){let t=new Set(e.reduce((e,t)=>e.concat(Object.keys(t)),[]));return e.every(e=>t.size===Object.keys(e).length)})(e,s)?f[r]=t({sx:s,theme:i}):f=(0,o.Z)(f,e)}}else f=(0,o.Z)(f,e(r,s,i,c))}}),(0,l.ar)(i,(0,a.L7)(u,f))}return Array.isArray(n)?n.map(u):u(n)}}();c.filterProps=["sx"];let u=c},4560:function(e,t,r){r.d(t,{Z:()=>n});let n=(0,r(35315).ZP)()},38971:function(e,t,r){r.d(t,{Z:()=>a});var n=r(6798),o=r(24105);let i=(0,n.Z)(),a=function(e=i){return(0,o.Z)(e)}},49267:function(e,t,r){r.d(t,{Z:()=>o});var n=r(16819);function o(e){let{theme:t,name:r,props:o}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?(0,n.Z)(t.components[r].defaultProps,o):o}},22179:function(e,t,r){r.d(t,{Z:()=>i});var n=r(49267),o=r(38971);function i({props:e,name:t,defaultTheme:r,themeId:i}){let a=(0,o.Z)(r);return i&&(a=a[i]||a),(0,n.Z)({theme:a,name:t,props:e})}},24105:function(e,t,r){r.d(t,{Z:()=>i});var n=r(54538),o=r(72116);let i=function(e=null){let t=n.useContext(o.ThemeContext);return t&&0!==Object.keys(t).length?t:e}},70544:function(e,t,r){let n;r.d(t,{Z:()=>i});let o=e=>e,i=(n=o,{configure(e){n=e},generate:e=>n(e),reset(){n=o}})},60206:function(e,t,r){r.d(t,{Z:()=>n});let n=function(e,t,r){return void 0===e||"string"==typeof e?t:{...t,ownerState:{...t.ownerState,...r}}}},3150:function(e,t,r){r.d(t,{Z:()=>o});var n=r(62220);function o(e){if("string"!=typeof e)throw Error((0,n.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},82267:function(e,t,r){r.d(t,{Z:()=>n});function n(e,t,r){let n={};for(let o in e){let i=e[o],a="",l=!0;for(let e=0;e<i.length;e+=1){let n=i[e];n&&(a+=(!0===l?"":" ")+t(n),l=!1,r&&r[n]&&(a+=" "+r[n]))}n[o]=a}return n}},61170:function(e,t,r){r.d(t,{P:()=>i,Z:()=>function e(t,r,a={clone:!0}){let l=a.clone?{...t}:t;return i(t)&&i(r)&&Object.keys(r).forEach(s=>{n.isValidElement(r[s])||(0,o.isValidElementType)(r[s])?l[s]=r[s]:i(r[s])&&Object.prototype.hasOwnProperty.call(t,s)&&i(t[s])?l[s]=e(t[s],r[s],a):a.clone?l[s]=i(r[s])?function e(t){if(n.isValidElement(t)||(0,o.isValidElementType)(t)||!i(t))return t;let r={};return Object.keys(t).forEach(n=>{r[n]=e(t[n])}),r}(r[s]):r[s]:l[s]=r[s]}),l}});var n=r(54538),o=r(41453);function i(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}},92438:function(e,t,r){r.d(t,{Z:()=>n});let n=function(e,t=[]){if(void 0===e)return{};let r={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&"function"==typeof e[r]&&!t.includes(r)).forEach(t=>{r[t]=e[t]}),r}},62220:function(e,t,r){r.d(t,{Z:()=>n});function n(e,...t){let r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>r.searchParams.append("args[]",e)),`Minified MUI error #${e}; visit ${r} for the full message.`}},6749:function(e,t,r){r.d(t,{ZP:()=>i});var n=r(70544);let o={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function i(e,t,r="Mui"){let a=o[t];return a?`${r}-${a}`:`${n.Z.generate(e)}-${t}`}},44124:function(e,t,r){r.d(t,{Z:()=>o});var n=r(6749);function o(e,t,r="Mui"){let i={};return t.forEach(t=>{i[t]=(0,n.ZP)(e,t,r)}),i}},74111:function(e,t,r){r.d(t,{Z:()=>n});function n(e){try{return e.matches(":focus-visible")}catch(e){}return!1}},92729:function(e,t,r){r.d(t,{Z:()=>a});var n=r(90496),o=r(92438);let i=function(e){if(void 0===e)return{};let t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(r=>{t[r]=e[r]}),t},a=function(e){let{getSlotProps:t,additionalProps:r,externalSlotProps:a,externalForwardedProps:l,className:s}=e;if(!t){let e=(0,n.Z)(r?.className,s,l?.className,a?.className),t={...r?.style,...l?.style,...a?.style},o={...r,...l,...a};return e.length>0&&(o.className=e),Object.keys(t).length>0&&(o.style=t),{props:o,internalRef:void 0}}let c=(0,o.Z)({...l,...a}),u=i(a),f=i(l),p=t(c),d=(0,n.Z)(p?.className,r?.className,s,l?.className,a?.className),h={...p?.style,...r?.style,...l?.style,...a?.style},m={...p,...r,...f,...u};return d.length>0&&(m.className=d),Object.keys(h).length>0&&(m.style=h),{props:m,internalRef:p.ref}}},85480:function(e,t,r){r.d(t,{Z:()=>n});let n=function(e,t,r){return"function"==typeof e?e(t,r):e}},16819:function(e,t,r){r.d(t,{Z:()=>function e(t,r){let n={...r};for(let o in t)if(Object.prototype.hasOwnProperty.call(t,o)){if("components"===o||"slots"===o)n[o]={...t[o],...n[o]};else if("componentsProps"===o||"slotProps"===o){let i=t[o],a=r[o];if(a){if(i)for(let t in n[o]={...a},i)Object.prototype.hasOwnProperty.call(i,t)&&(n[o][t]=e(i[t],a[t]));else n[o]=a}else n[o]=i||{}}else void 0===n[o]&&(n[o]=t[o])}return n}})},85817:function(e,t,r){r.d(t,{Z:()=>n});function n(e,t){"function"==typeof e?e(t):e&&(e.current=t)}},9831:function(e,t,r){r.d(t,{Z:()=>o});var n=r(54538);function o({controlled:e,default:t,name:r,state:o="value"}){let{current:i}=n.useRef(void 0!==e),[a,l]=n.useState(t),s=n.useCallback(e=>{i||l(e)},[]);return[i?e:a,s]}},96858:function(e,t,r){r.d(t,{Z:()=>o});var n=r(54538);let o="undefined"!=typeof window?n.useLayoutEffect:n.useEffect},81925:function(e,t,r){r.d(t,{Z:()=>i});var n=r(54538),o=r(96858);let i=function(e){let t=n.useRef(e);return(0,o.Z)(()=>{t.current=e}),n.useRef((...e)=>(0,t.current)(...e)).current}},97048:function(e,t,r){r.d(t,{Z:()=>i});var n=r(54538),o=r(85817);function i(...e){return n.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{(0,o.Z)(e,t)})},e)}},99565:function(e,t,r){r.d(t,{Z:()=>i});var n=r(54538);let o={};function i(e,t){let r=n.useRef(o);return r.current===o&&(r.current=e(t)),r}},47126:function(e,t,r){r.d(t,{V:()=>a,Z:()=>l});var n=r(99565),o=r(54538);let i=[];class a{static create(){return new a}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function l(){var e;let t=(0,n.Z)(a.create).current;return e=t.disposeEffect,o.useEffect(e,i),t}},41453:function(e,t){var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler");Symbol.for("react.provider");var l=Symbol.for("react.consumer"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),m=Symbol.for("react.client.reference");t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===a||e===i||e===u||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===p||e.$$typeof===s||e.$$typeof===l||e.$$typeof===c||e.$$typeof===m||void 0!==e.getModuleId)||!1}},16317:function(e,t,r){r.d(t,{Z:()=>d});var n=r(97784),o=r(70252),i=r(54652),a=r(54538),l=r.n(a),s=r(16897);function c(e,t){var r=Object.create(null);return e&&a.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=t&&(0,a.isValidElement)(e)?t(e):e}),r}function u(e,t,r){return null!=r[t]?r[t]:e.props[t]}var f=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},p=function(e){function t(t,r){var n,o=(n=e.call(this,t,r)||this).handleExited.bind(function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},n}(0,i.Z)(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,n,o=t.children,i=t.handleExited;return{children:t.firstRender?c(e.children,function(t){return(0,a.cloneElement)(t,{onExited:i.bind(null,t),in:!0,appear:u(t,"appear",e),enter:u(t,"enter",e),exit:u(t,"exit",e)})}):(Object.keys(n=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var l={};for(var s in t){if(o[s])for(n=0;n<o[s].length;n++){var c=o[s][n];l[o[s][n]]=r(c)}l[s]=r(s)}for(n=0;n<i.length;n++)l[i[n]]=r(i[n]);return l}(o,r=c(e.children))).forEach(function(t){var l=n[t];if((0,a.isValidElement)(l)){var s=t in o,c=t in r,f=o[t],p=(0,a.isValidElement)(f)&&!f.props.in;c&&(!s||p)?n[t]=(0,a.cloneElement)(l,{onExited:i.bind(null,l),in:!0,exit:u(l,"exit",e),enter:u(l,"enter",e)}):c||!s||p?c&&s&&(0,a.isValidElement)(f)&&(n[t]=(0,a.cloneElement)(l,{onExited:i.bind(null,l),in:f.props.in,exit:u(l,"exit",e),enter:u(l,"enter",e)})):n[t]=(0,a.cloneElement)(l,{in:!1})}}),n),firstRender:!1}},r.handleExited=function(e,t){var r=c(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var r=(0,o.Z)({},t.children);return delete r[e.key],{children:r}}))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,o=(0,n.Z)(e,["component","childFactory"]),i=this.state.contextValue,a=f(this.state.children).map(r);return(delete o.appear,delete o.enter,delete o.exit,null===t)?l().createElement(s.Z.Provider,{value:i},a):l().createElement(s.Z.Provider,{value:i},l().createElement(t,o,a))},t}(l().Component);p.propTypes={},p.defaultProps={component:"div",childFactory:function(e){return e}};let d=p},16897:function(e,t,r){r.d(t,{Z:()=>o});var n=r(54538);let o=r.n(n)().createContext(null)},71426:function(e,t,r){var n=r(54538),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,i={},c=null,u=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,n)&&!s.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:l.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},24246:function(e,t,r){e.exports=r(71426)},70252:function(e,t,r){r.d(t,{Z:()=>n});function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}},54652:function(e,t,r){function n(e,t){return(n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)}r.d(t,{Z:()=>o})},97784:function(e,t,r){r.d(t,{Z:()=>n});function n(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}},90496:function(e,t,r){r.d(t,{Z:()=>n});let n=function(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=function e(t){var r,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t)){var i=t.length;for(r=0;r<i;r++)t[r]&&(n=e(t[r]))&&(o&&(o+=" "),o+=n)}else for(n in t)t[n]&&(o&&(o+=" "),o+=n)}return o}(e))&&(n&&(n+=" "),n+=t);return n}},75586:function(e,t,r){r.d(t,{Uy:()=>W,sc:()=>i,vV:()=>x});var n,o=Symbol.for("immer-nothing"),i=Symbol.for("immer-draftable"),a=Symbol.for("immer-state");function l(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var s=Object.getPrototypeOf;function c(e){return!!e&&!!e[a]}function u(e){return!!e&&(p(e)||Array.isArray(e)||!!e[i]||!!e.constructor?.[i]||y(e)||b(e))}var f=Object.prototype.constructor.toString();function p(e){if(!e||"object"!=typeof e)return!1;let t=s(e);if(null===t)return!0;let r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===f}function d(e,t){0===h(e)?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function h(e){let t=e[a];return t?t.type_:Array.isArray(e)?1:y(e)?2:3*!!b(e)}function m(e,t){return 2===h(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function g(e,t,r){let n=h(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function y(e){return e instanceof Map}function b(e){return e instanceof Set}function v(e){return e.copy_||e.base_}function k(e,t){if(y(e))return new Map(e);if(b(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);let r=p(e);if(!0!==t&&("class_only"!==t||r)){let t=s(e);return null!==t&&r?{...e}:Object.assign(Object.create(t),e)}{let t=Object.getOwnPropertyDescriptors(e);delete t[a];let r=Reflect.ownKeys(t);for(let n=0;n<r.length;n++){let o=r[n],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(s(e),t)}}function x(e,t=!1){return w(e)||c(e)||!u(e)||(h(e)>1&&(e.set=e.add=e.clear=e.delete=S),Object.freeze(e),t&&Object.entries(e).forEach(([e,t])=>x(t,!0))),e}function S(){l(2)}function w(e){return Object.isFrozen(e)}var Z={};function C(e){let t=Z[e];return t||l(0,e),t}function $(e,t){t&&(C("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function A(e){P(e),e.drafts_.forEach(O),e.drafts_=null}function P(e){e===n&&(n=e.parent_)}function _(e){return n={drafts_:[],parent_:n,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function O(e){let t=e[a];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function j(e,t){t.unfinalizedDrafts_=t.drafts_.length;let r=t.drafts_[0];return void 0!==e&&e!==r?(r[a].modified_&&(A(t),l(4)),u(e)&&(e=B(t,e),t.parent_||T(t,e)),t.patches_&&C("Patches").generateReplacementPatches_(r[a].base_,e,t.patches_,t.inversePatches_)):e=B(t,r,[]),A(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==o?e:void 0}function B(e,t,r){if(w(t))return t;let n=t[a];if(!n)return d(t,(o,i)=>R(e,n,t,o,i,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return T(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;let t=n.copy_,o=t,i=!1;3===n.type_&&(o=new Set(t),t.clear(),i=!0),d(o,(o,a)=>R(e,n,t,o,a,r,i)),T(e,t,!1),r&&e.patches_&&C("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function R(e,t,r,n,o,i,a){if(c(o)){let a=B(e,o,i&&t&&3!==t.type_&&!m(t.assigned_,n)?i.concat(n):void 0);if(g(r,n,a),!c(a))return;e.canAutoFreeze_=!1}else a&&r.add(o);if(u(o)&&!w(o)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;B(e,o),(!t||!t.scope_.parent_)&&"symbol"!=typeof n&&Object.prototype.propertyIsEnumerable.call(r,n)&&T(e,o)}}function T(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&x(t,r)}var E={get(e,t){if(t===a)return e;let r=v(e);if(!m(r,t))return function(e,t,r){let n=z(t,r);return n?"value"in n?n.value:n.get?.call(e.draft_):void 0}(e,r,t);let n=r[t];return e.finalized_||!u(n)?n:n===I(e.base_,t)?(D(e),e.copy_[t]=L(n,e)):n},has:(e,t)=>t in v(e),ownKeys:e=>Reflect.ownKeys(v(e)),set(e,t,r){let n=z(v(e),t);if(n?.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){let n=I(v(e),t),o=n?.[a];if(o&&o.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if((r===n?0!==r||1/r==1/n:r!=r&&n!=n)&&(void 0!==r||m(e.base_,t)))return!0;D(e),F(e)}return!!(e.copy_[t]===r&&(void 0!==r||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t]))||(e.copy_[t]=r,e.assigned_[t]=!0,!0)},deleteProperty:(e,t)=>(void 0!==I(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,D(e),F(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){let r=v(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty(){l(11)},getPrototypeOf:e=>s(e.base_),setPrototypeOf(){l(12)}},M={};function I(e,t){let r=e[a];return(r?v(r):e)[t]}function z(e,t){if(!(t in e))return;let r=s(e);for(;r;){let e=Object.getOwnPropertyDescriptor(r,t);if(e)return e;r=s(r)}}function F(e){!e.modified_&&(e.modified_=!0,e.parent_&&F(e.parent_))}function D(e){e.copy_||(e.copy_=k(e.base_,e.scope_.immer_.useStrictShallowCopy_))}function L(e,t){let r=y(e)?C("MapSet").proxyMap_(e,t):b(e)?C("MapSet").proxySet_(e,t):function(e,t){let r=Array.isArray(e),o={type_:+!!r,scope_:t?t.scope_:n,modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},i=o,a=E;r&&(i=[o],a=M);let{revoke:l,proxy:s}=Proxy.revocable(i,a);return o.draft_=s,o.revoke_=l,s}(e,t);return(t?t.scope_:n).drafts_.push(r),r}d(E,(e,t)=>{M[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),M.deleteProperty=function(e,t){return M.set.call(this,e,t,void 0)},M.set=function(e,t,r){return E.set.call(this,e[0],t,r,e[0])};var N=new class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(e,t,r)=>{let n;if("function"==typeof e&&"function"!=typeof t){let r=t;t=e;let n=this;return function(e=r,...o){return n.produce(e,e=>t.call(this,e,...o))}}if("function"!=typeof t&&l(6),void 0!==r&&"function"!=typeof r&&l(7),u(e)){let o=_(this),i=L(e,void 0),a=!0;try{n=t(i),a=!1}finally{a?A(o):P(o)}return $(o,r),j(n,o)}if(e&&"object"==typeof e)l(1,e);else{if(void 0===(n=t(e))&&(n=e),n===o&&(n=void 0),this.autoFreeze_&&x(n,!0),r){let t=[],o=[];C("Patches").generateReplacementPatches_(e,n,t,o),r(t,o)}return n}},this.produceWithPatches=(e,t)=>{let r,n;return"function"==typeof e?(t,...r)=>this.produceWithPatches(t,t=>e(t,...r)):[this.produce(e,t,(e,t)=>{r=e,n=t}),r,n]},"boolean"==typeof e?.autoFreeze&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof e?.useStrictShallowCopy&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){var t;u(e)||l(8),c(e)&&(c(t=e)||l(10,t),e=function e(t){let r;if(!u(t)||w(t))return t;let n=t[a];if(n){if(!n.modified_)return n.base_;n.finalized_=!0,r=k(t,n.scope_.immer_.useStrictShallowCopy_)}else r=k(t,!0);return d(r,(t,n)=>{g(r,t,e(n))}),n&&(n.finalized_=!1),r}(t));let r=_(this),n=L(e,void 0);return n[a].isManual_=!0,P(r),n}finishDraft(e,t){let r=e&&e[a];r&&r.isManual_||l(9);let{scope_:n}=r;return $(n,t),j(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){let n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));let n=C("Patches").applyPatches_;return c(e)?n(e,t):this.produce(e,e=>n(e,t))}},W=N.produce;N.produceWithPatches.bind(N),N.setAutoFreeze.bind(N),N.setUseStrictShallowCopy.bind(N),N.applyPatches.bind(N),N.createDraft.bind(N),N.finishDraft.bind(N)}}]);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-is.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* @license React
|
|
13
|
+
* react-jsx-runtime.production.min.js
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
16
|
+
*
|
|
17
|
+
* This source code is licensed under the MIT license found in the
|
|
18
|
+
* LICENSE file in the root directory of this source tree.
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @mui/styled-engine v6.4.8
|
|
23
|
+
*
|
|
24
|
+
* @license MIT
|
|
25
|
+
* This source code is licensed under the MIT license found in the
|
|
26
|
+
* LICENSE file in the root directory of this source tree.
|
|
27
|
+
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkStatChart=self.webpackChunkStatChart||[]).push([["488"],{56050:function(){}}]);
|