@webex/cc-task 1.28.0-ccconnectors.7 → 1.28.0-ccconnectors.8

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -99,4 +99,4 @@
99
99
  animation: ${Y} 1.4s linear infinite;
100
100
  `:null,Z="string"!=typeof J?P.css`
101
101
  animation: ${J} 1.4s ease-in-out infinite;
102
- `:null,ee=(0,d.Ay)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${(0,H.A)(n.color)}`]]}})((0,f.A)((({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:Q||{animation:`${Y} 1.4s linear infinite`}},...Object.entries(e.palette).filter(q()).map((([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})))]})))),te=(0,d.Ay)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),ne=(0,d.Ay)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${(0,H.A)(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})((0,f.A)((({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink,style:Z||{animation:`${J} 1.4s ease-in-out infinite`}}]})))),re=r.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiCircularProgress"}),{className:r,color:o="primary",disableShrink:a=!1,size:l=40,style:u,thickness:c=3.6,value:d=0,variant:f="indeterminate",...h}=n,g={...n,color:o,disableShrink:a,size:l,thickness:c,value:d,variant:f},m=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,i={root:["root",n,`color${(0,H.A)(r)}`],svg:["svg"],circle:["circle",`circle${(0,H.A)(n)}`,o&&"circleDisableShrink"]};return(0,s.A)(i,X,t)})(g),v={},y={},b={};if("determinate"===f){const e=2*Math.PI*((44-c)/2);v.strokeDasharray=e.toFixed(3),b["aria-valuenow"]=Math.round(d),v.strokeDashoffset=`${((100-d)/100*e).toFixed(3)}px`,y.transform="rotate(-90deg)"}return(0,R.jsx)(ee,{className:(0,i.A)(m.root,r),style:{width:l,height:l,...y,...u},ownerState:g,ref:t,role:"progressbar",...b,...h,children:(0,R.jsx)(te,{className:m.svg,ownerState:g,viewBox:"22 22 44 44",children:(0,R.jsx)(ne,{className:m.circle,style:v,ownerState:g,cx:44,cy:44,r:(44-c)/2,fill:"none",strokeWidth:c})})})}));function oe(e){return(0,z.Ay)("MuiButton",e)}const ie=(0,M.A)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),ae=r.createContext({}),se=r.createContext(void 0),le=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],ue=(0,d.Ay)(G,{shouldForwardProp:e=>(0,c.A)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${(0,H.A)(n.color)}`],t[`size${(0,H.A)(n.size)}`],t[`${n.variant}Size${(0,H.A)(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})((0,f.A)((({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],n="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${ie.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${ie.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${ie.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${ie.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(q()).map((([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.5)`:(0,l.X4)(e.palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette[t].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette[t].main,e.palette.action.hoverOpacity)}}}}))),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${ie.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${ie.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${ie.loading}`]:{color:"transparent"}}}]}}))),ce=(0,d.Ay)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${(0,H.A)(n.size)}`]]}})((({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...le]}))),de=(0,d.Ay)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${(0,H.A)(n.size)}`]]}})((({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...le]}))),fe=(0,d.Ay)("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})((({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]}))),pe=(0,d.Ay)("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(e,t)=>t.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),he=r.forwardRef((function(e,t){const n=r.useContext(ae),o=r.useContext(se),l=(0,a.A)(n,e),c=(0,p.b)({props:l,name:"MuiButton"}),{children:d,color:f="primary",component:h="button",className:g,disabled:m=!1,disableElevation:v=!1,disableFocusRipple:y=!1,endIcon:b,focusVisibleClassName:_,fullWidth:S=!1,id:x,loading:w=null,loadingIndicator:k,loadingPosition:A="center",size:O="medium",startIcon:C,type:E,variant:j="text",...T}=c,P=(0,u.A)(x),M=k??(0,R.jsx)(re,{"aria-labelledby":P,color:"inherit",size:16}),B={...c,color:f,component:h,disabled:m,disableElevation:v,disableFocusRipple:y,fullWidth:S,loading:w,loadingIndicator:M,loadingPosition:A,size:O,type:E,variant:j},$=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,loading:a,loadingPosition:l,classes:u}=e,c={root:["root",a&&"loading",i,`${i}${(0,H.A)(t)}`,`size${(0,H.A)(o)}`,`${i}Size${(0,H.A)(o)}`,`color${(0,H.A)(t)}`,n&&"disableElevation",r&&"fullWidth",a&&`loadingPosition${(0,H.A)(l)}`],startIcon:["icon","startIcon",`iconSize${(0,H.A)(o)}`],endIcon:["icon","endIcon",`iconSize${(0,H.A)(o)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},d=(0,s.A)(c,oe,u);return{...u,...d}})(B),I=(C||w&&"start"===A)&&(0,R.jsx)(ce,{className:$.startIcon,ownerState:B,children:C||(0,R.jsx)(pe,{className:$.loadingIconPlaceholder,ownerState:B})}),N=(b||w&&"end"===A)&&(0,R.jsx)(de,{className:$.endIcon,ownerState:B,children:b||(0,R.jsx)(pe,{className:$.loadingIconPlaceholder,ownerState:B})}),D=o||"",L="boolean"==typeof w?(0,R.jsx)("span",{className:$.loadingWrapper,style:{display:"contents"},children:w&&(0,R.jsx)(fe,{className:$.loadingIndicator,ownerState:B,children:M})}):null;return(0,R.jsxs)(ue,{ownerState:B,className:(0,i.A)(n.className,$.root,g,D),component:h,disabled:m||w,focusRipple:!y,focusVisibleClassName:(0,i.A)($.focusVisible,_),ref:t,type:E,id:P,...T,classes:$,children:[I,"end"!==A&&L,d,"end"===A&&L,N]})}))},8033:(e,t,n)=>{"use strict";n.d(t,{b:()=>a});var r=n(4953),o=n(4441);n(6870);const i=r.createContext(void 0);function a(e){return function({props:e,name:t}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const i=t.components[n];return i.defaultProps?(0,o.A)(i.defaultProps,r):i.styleOverrides||i.variants?r:(0,o.A)(i,r)}({props:e,name:t,theme:{components:r.useContext(i)}})}(e)}},1257:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e},7273:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>Dt});var r=n(2455),o=n(4953),i=n(7436);function a(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function s(e){if(o.isValidElement(e)||(0,i.Hy)(e)||!a(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=s(e[n])})),t}function l(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return a(e)&&a(t)&&Object.keys(t).forEach((u=>{o.isValidElement(t[u])||(0,i.Hy)(t[u])?r[u]=t[u]:a(t[u])&&Object.prototype.hasOwnProperty.call(e,u)&&a(e[u])?r[u]=l(e[u],t[u],n):n.clone?r[u]=a(t[u])?s(t[u]):t[u]:r[u]=t[u]})),r}function u(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,i=(e=>{const 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})),{})})(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function u(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-r/100}${n})`}return{keys:a,values:i,up:s,down:l,between:u,only:function(e){return a.indexOf(e)+1<a.length?u(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):u(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n,...o}}const c={borderRadius:4},d={xs:0,sm:600,md:900,lg:1200,xl:1536},f={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${d[e]}px)`},p={containerQueries:e=>({up:t=>{let n="number"==typeof t?t:d[t]||t;return"number"==typeof n&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function h(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||f;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"==typeof t){const e=r.breakpoints||f;return Object.keys(t).reduce(((o,i)=>{if(a=e.keys,"@"===(s=i)||s.startsWith("@")&&(a.some((e=>s.startsWith(`@${e}`)))||s.match(/^@\d/))){const e=function(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,o]=n,i=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(i)}(r.containerQueries?r:p,i);e&&(o[e]=n(t[i],i))}else if(Object.keys(e.values||d).includes(i))o[e.up(i)]=n(t[i],i);else{const e=i;o[e]=t[e]}var a,s;return o}),{})}return n(t)}var g=n(9525);function m(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function v(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:m(e,n)||r,t&&(o=t(o,r,e)),o}const y=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=m(e.theme,r)||{};return h(e,i,(e=>{let r=v(a,o,e);return e===r&&"string"==typeof e&&(r=v(a,o,`${t}${"default"===e?"":(0,g.A)(e)}`,e)),!1===n?r:{[n]:r}}))};return i.propTypes={},i.filterProps=[t],i},b=function(e,t){return t?l(e,t,{clone:!1}):e},_={m:"margin",p:"padding"},S={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},x={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},w=function(){const e={};return t=>(void 0===e[t]&&(e[t]=(e=>{if(e.length>2){if(!x[e])return[e];e=x[e]}const[t,n]=e.split(""),r=_[t],o=S[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})(t)),e[t])}(),k=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],A=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],O=[...k,...A];function C(e,t,n,r){const o=m(e,t,!0)??n;return"number"==typeof o||"string"==typeof o?e=>"string"==typeof e?e:"string"==typeof o?`calc(${e} * ${o})`:o*e:Array.isArray(o)?e=>{if("string"==typeof e)return e;const t=Math.abs(e),n=o[t];return e>=0?n:"number"==typeof n?-n:`-${n}`}:"function"==typeof o?o:()=>{}}function E(e){return C(e,"spacing",8)}function j(e,t){return"string"==typeof t||null==t?t:e(t)}function T(e,t){const n=E(e.theme);return Object.keys(e).map((r=>function(e,t,n,r){if(!t.includes(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=j(t,n),e)),{})}(w(n),r);return h(e,e[n],o)}(e,t,r,n))).reduce(b,{})}function P(e){return T(e,k)}function R(e){return T(e,A)}function M(e){return T(e,O)}function B(e=8,t=E({spacing:e})){if(e.mui)return e;const n=(...e)=>(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ");return n.mui=!0,n}P.propTypes={},P.filterProps=k,R.propTypes={},R.filterProps=A,M.propTypes={},M.filterProps=O;const $=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?b(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n};function I(e){return"number"!=typeof e?e:`${e}px solid`}function N(e,t){return y({prop:e,themeKey:"borders",transform:t})}const D=N("border",I),L=N("borderTop",I),V=N("borderRight",I),z=N("borderBottom",I),W=N("borderLeft",I),K=N("borderColor"),F=N("borderTopColor"),U=N("borderRightColor"),G=N("borderBottomColor"),H=N("borderLeftColor"),q=N("outline",I),X=N("outlineColor"),Y=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=C(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:j(t,e)});return h(e,e.borderRadius,n)}return null};Y.propTypes={},Y.filterProps=["borderRadius"],$(D,L,V,z,W,K,F,U,G,H,Y,q,X);const J=e=>{if(void 0!==e.gap&&null!==e.gap){const t=C(e.theme,"spacing",8),n=e=>({gap:j(t,e)});return h(e,e.gap,n)}return null};J.propTypes={},J.filterProps=["gap"];const Q=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=C(e.theme,"spacing",8),n=e=>({columnGap:j(t,e)});return h(e,e.columnGap,n)}return null};Q.propTypes={},Q.filterProps=["columnGap"];const Z=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=C(e.theme,"spacing",8),n=e=>({rowGap:j(t,e)});return h(e,e.rowGap,n)}return null};function ee(e,t){return"grey"===t?t:e}function te(e){return e<=1&&0!==e?100*e+"%":e}Z.propTypes={},Z.filterProps=["rowGap"],$(J,Q,Z,y({prop:"gridColumn"}),y({prop:"gridRow"}),y({prop:"gridAutoFlow"}),y({prop:"gridAutoColumns"}),y({prop:"gridAutoRows"}),y({prop:"gridTemplateColumns"}),y({prop:"gridTemplateRows"}),y({prop:"gridTemplateAreas"}),y({prop:"gridArea"})),$(y({prop:"color",themeKey:"palette",transform:ee}),y({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ee}),y({prop:"backgroundColor",themeKey:"palette",transform:ee}));const ne=y({prop:"width",transform:te}),re=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{const n=e.theme?.breakpoints?.values?.[t]||d[t];return n?"px"!==e.theme?.breakpoints?.unit?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:te(t)}};return h(e,e.maxWidth,t)}return null};re.filterProps=["maxWidth"];const oe=y({prop:"minWidth",transform:te}),ie=y({prop:"height",transform:te}),ae=y({prop:"maxHeight",transform:te}),se=y({prop:"minHeight",transform:te}),le=(y({prop:"size",cssProperty:"width",transform:te}),y({prop:"size",cssProperty:"height",transform:te}),$(ne,re,oe,ie,ae,se,y({prop:"boxSizing"})),{border:{themeKey:"borders",transform:I},borderTop:{themeKey:"borders",transform:I},borderRight:{themeKey:"borders",transform:I},borderBottom:{themeKey:"borders",transform:I},borderLeft:{themeKey:"borders",transform:I},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:I},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Y},color:{themeKey:"palette",transform:ee},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ee},backgroundColor:{themeKey:"palette",transform:ee},p:{style:R},pt:{style:R},pr:{style:R},pb:{style:R},pl:{style:R},px:{style:R},py:{style:R},padding:{style:R},paddingTop:{style:R},paddingRight:{style:R},paddingBottom:{style:R},paddingLeft:{style:R},paddingX:{style:R},paddingY:{style:R},paddingInline:{style:R},paddingInlineStart:{style:R},paddingInlineEnd:{style:R},paddingBlock:{style:R},paddingBlockStart:{style:R},paddingBlockEnd:{style:R},m:{style:P},mt:{style:P},mr:{style:P},mb:{style:P},ml:{style:P},mx:{style:P},my:{style:P},margin:{style:P},marginTop:{style:P},marginRight:{style:P},marginBottom:{style:P},marginLeft:{style:P},marginX:{style:P},marginY:{style:P},marginInline:{style:P},marginInlineStart:{style:P},marginInlineEnd:{style:P},marginBlock:{style:P},marginBlockStart:{style:P},marginBlockEnd:{style:P},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:J},rowGap:{style:Z},columnGap:{style:Q},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:te},maxWidth:{style:re},minWidth:{transform:te},height:{transform:te},maxHeight:{transform:te},minHeight:{transform:te},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"}}),ue=function(){function e(e,t,n,r){const o={[e]:t,theme:n},i=r[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:u}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const c=m(n,s)||{};return u?u(o):h(o,t,(t=>{let n=v(c,l,t);return t===n&&"string"==typeof t&&(n=v(c,l,`${e}${"default"===t?"":(0,g.A)(t)}`,t)),!1===a?n:{[a]:n}}))}return function t(n){const{sx:r,theme:o={}}=n||{};if(!r)return null;const i=o.unstable_sxConfig??le;function a(n){let r=n;if("function"==typeof n)r=n(o);else if("object"!=typeof n)return n;if(!r)return null;const a=function(e={}){const t=e.keys?.reduce(((t,n)=>(t[e.up(n)]={},t)),{});return t||{}}(o.breakpoints),s=Object.keys(a);let l=a;return Object.keys(r).forEach((n=>{const a="function"==typeof(s=r[n])?s(o):s;var s;if(null!=a)if("object"==typeof a)if(i[n])l=b(l,e(n,a,o,i));else{const e=h({theme:o},a,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,a)?l=b(l,e):l[n]=t({sx:a,theme:o})}else l=b(l,e(n,a,o,i))})),function(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter((e=>e.startsWith("@container"))).sort(((e,t)=>{const n=/min-width:\s*([0-9.]+)/;return+(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)}));return n.length?n.reduce(((e,n)=>{const r=t[n];return delete e[n],e[n]=r,e}),{...t}):t}(o,(u=l,s.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),u)));var u}return Array.isArray(r)?r.map(a):a(r)}}();ue.filterProps=["sx"];const ce=ue;function de(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||"function"!=typeof n.getColorSchemeSelector)return{};let r=n.getColorSchemeSelector(e);return"&"===r?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return n.palette.mode===e?t:{}}const fe=function(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={},...a}=e;let s=l({breakpoints:u(n),direction:"ltr",components:{},palette:{mode:"light",...r},spacing:B(o),shape:{...c,...i}},a);return s=function(e){const t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{const o=t(e.breakpoints.not(...n),r);return o.includes("not all and")?o.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):o}}const r={},o=e=>(n(r,e),r);return n(o),{...e,containerQueries:o}}(s),s.applyStyles=de,s=t.reduce(((e,t)=>l(e,t)),s),s.unstable_sxConfig={...le,...a?.unstable_sxConfig},s.unstable_sx=function(e){return ce({sx:e,theme:this})},s};var pe=n(4516);const he=fe();function ge(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function me(e){return e?(t,n)=>n[e]:null}function ve(e,t){const n="function"==typeof t?t(e):t;if(Array.isArray(n))return n.flatMap((t=>ve(e,t)));if(Array.isArray(n?.variants)){let t;if(n.isProcessed)t=n.style;else{const{variants:e,...r}=n;t=r}return ye(e,n.variants,[t])}return n?.isProcessed?n.style:n}function ye(e,t,n=[]){let r;e:for(let o=0;o<t.length;o+=1){const i=t[o];if("function"==typeof i.props){if(r??={...e,...e.ownerState,ownerState:e.ownerState},!i.props(r))continue}else for(const t in i.props)if(e[t]!==i.props[t]&&e.ownerState?.[t]!==i.props[t])continue e;"function"==typeof i.style?(r??={...e,...e.ownerState,ownerState:e.ownerState},n.push(i.style(r))):n.push(i.style)}return n}function be(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}var _e=n(4699),Se=n(7801);const xe={black:"#000",white:"#fff"},we={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"},ke="#f3e5f5",Ae="#ce93d8",Oe="#ba68c8",Ce="#ab47bc",Ee="#9c27b0",je="#7b1fa2",Te="#e57373",Pe="#ef5350",Re="#f44336",Me="#d32f2f",Be="#c62828",$e="#ffb74d",Ie="#ffa726",Ne="#ff9800",De="#f57c00",Le="#e65100",Ve="#e3f2fd",ze="#90caf9",We="#42a5f5",Ke="#1976d2",Fe="#1565c0",Ue="#4fc3f7",Ge="#29b6f6",He="#03a9f4",qe="#0288d1",Xe="#01579b",Ye="#81c784",Je="#66bb6a",Qe="#4caf50",Ze="#388e3c",et="#2e7d32",tt="#1b5e20";function nt(){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:xe.white,default:xe.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}}}const rt=nt();function ot(){return{text:{primary:xe.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:xe.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}}}const it=ot();function at(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,Se.a)(e.main,o):"dark"===t&&(e.dark=(0,Se.e$)(e.main,i)))}function st(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...o}=e,i=e.primary||function(e="light"){return"dark"===e?{main:ze,light:Ve,dark:We}:{main:Ke,light:We,dark:Fe}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:Ae,light:ke,dark:Ce}:{main:Ee,light:Oe,dark:je}}(t),s=e.error||function(e="light"){return"dark"===e?{main:Re,light:Te,dark:Me}:{main:Me,light:Pe,dark:Be}}(t),u=e.info||function(e="light"){return"dark"===e?{main:Ge,light:Ue,dark:qe}:{main:qe,light:He,dark:Xe}}(t),c=e.success||function(e="light"){return"dark"===e?{main:Je,light:Ye,dark:Ze}:{main:et,light:Qe,dark:tt}}(t),d=e.warning||function(e="light"){return"dark"===e?{main:Ie,light:$e,dark:De}:{main:"#ed6c02",light:Ne,dark:Le}}(t);function f(e){return(0,Se.eM)(e,it.text.primary)>=n?it.text.primary:rt.text.primary}const p=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:i=700})=>{if(!(e={...e}).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error((0,_e.A)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error((0,_e.A)(12,t?` (${t})`:"",JSON.stringify(e.main)));return at(e,"light",o,r),at(e,"dark",i,r),e.contrastText||(e.contrastText=f(e.main)),e};let h;return"light"===t?h=nt():"dark"===t&&(h=ot()),l({common:{...xe},mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:d,name:"warning"}),info:p({color:u,name:"info"}),success:p({color:c,name:"success"}),grey:we,contrastThreshold:n,getContrastText:f,augmentColor:p,tonalOffset:r,...h},o)}function lt(e=""){function t(...n){if(!n.length)return"";const r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...n.slice(1))})`}return(n,...r)=>`var(--${e?`${e}-`:""}${n}${t(...r)})`}function ut(e){const t={};return Object.entries(e).forEach((e=>{const[n,r]=e;"object"==typeof r&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:""}${r.fontVariant?`${r.fontVariant} `:""}${r.fontWeight?`${r.fontWeight} `:""}${r.fontStretch?`${r.fontStretch} `:""}${r.fontSize||""}${r.lineHeight?`/${r.lineHeight} `:""}${r.fontFamily||""}`)})),t}const ct=(e,t,n,r=[])=>{let o=e;t.forEach(((e,i)=>{i===t.length-1?Array.isArray(o)?o[Number(e)]=n:o&&"object"==typeof o&&(o[e]=n):o&&"object"==typeof o&&(o[e]||(o[e]=r.includes(e)?[]:{}),o=o[e])}))};function dt(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},a={};var s,l;return s=(e,t,s)=>{if(!("string"!=typeof t&&"number"!=typeof t||r&&r(e,t))){const r=`--${n?`${n}-`:""}${e.join("-")}`,l=((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)(e,t);Object.assign(o,{[r]:l}),ct(i,e,`var(${r})`,s),ct(a,e,`var(${r}, ${l})`,s)}},l=e=>"vars"===e[0],function e(t,n=[],r=[]){Object.entries(t).forEach((([t,o])=>{(!l||l&&!l([...n,t]))&&null!=o&&("object"==typeof o&&Object.keys(o).length>0?e(o,[...n,t],Array.isArray(o)?[...r,t]:r):s([...n,t],o,r))}))}(e),{css:o,vars:i,varsWithDefaults:a}}const ft={textTransform:"uppercase"},pt='"Roboto", "Helvetica", "Arial", sans-serif';function ht(e,t){const{fontFamily:n=pt,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:u=16,allVariants:c,pxToRem:d,...f}="function"==typeof t?t(e):t,p=r/14,h=d||(e=>e/u*p+"rem"),g=(e,t,r,o,i)=>{return{fontFamily:n,fontWeight:e,fontSize:h(t),lineHeight:r,...n===pt?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5+"em")}:{},...i,...c};var a},m={h1:g(o,96,1.167,-1.5),h2:g(o,60,1.2,-.5),h3:g(i,48,1.167,0),h4:g(i,34,1.235,.25),h5:g(i,24,1.334,0),h6:g(a,20,1.6,.15),subtitle1:g(i,16,1.75,.15),subtitle2:g(a,14,1.57,.1),body1:g(i,16,1.5,.15),body2:g(i,14,1.43,.15),button:g(a,14,1.75,.4,ft),caption:g(i,12,1.66,.4),overline:g(i,12,2.66,1,ft),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return l({htmlFontSize:u,pxToRem:h,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s,...m},f,{clone:!1})}function gt(...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)`].join(",")}const mt=["none",gt(0,2,1,-1,0,1,1,0,0,1,3,0),gt(0,3,1,-2,0,2,2,0,0,1,5,0),gt(0,3,3,-2,0,3,4,0,0,1,8,0),gt(0,2,4,-1,0,4,5,0,0,1,10,0),gt(0,3,5,-1,0,5,8,0,0,1,14,0),gt(0,3,5,-1,0,6,10,0,0,1,18,0),gt(0,4,5,-2,0,7,10,1,0,2,16,1),gt(0,5,5,-3,0,8,10,1,0,3,14,2),gt(0,5,6,-3,0,9,12,1,0,3,16,2),gt(0,6,6,-3,0,10,14,1,0,4,18,3),gt(0,6,7,-4,0,11,15,1,0,4,20,3),gt(0,7,8,-4,0,12,17,2,0,5,22,4),gt(0,7,8,-4,0,13,19,2,0,5,24,4),gt(0,7,9,-4,0,14,21,2,0,5,26,4),gt(0,8,9,-5,0,15,22,2,0,6,28,5),gt(0,8,10,-5,0,16,24,2,0,6,30,5),gt(0,8,11,-5,0,17,26,2,0,6,32,5),gt(0,9,11,-5,0,18,28,2,0,7,34,6),gt(0,9,12,-6,0,19,29,2,0,7,36,6),gt(0,10,13,-6,0,20,31,3,0,8,38,7),gt(0,10,13,-6,0,21,33,3,0,8,40,7),gt(0,10,14,-6,0,22,35,3,0,8,42,7),gt(0,11,14,-7,0,23,36,3,0,9,44,8),gt(0,11,15,-7,0,24,38,3,0,9,46,8)],vt={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)"},yt={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function bt(e){return`${Math.round(e)}ms`}function _t(e){if(!e)return 0;const t=e/36;return Math.min(Math.round(10*(4+15*t**.25+t/5)),3e3)}function St(e){const t={...vt,...e.easing},n={...yt,...e.duration};return{getAutoHeightDuration:_t,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:a=0,...s}=r;return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:bt(o)} ${i} ${"string"==typeof a?a:bt(a)}`)).join(",")},...e,easing:t,duration:n}}const xt={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function wt(e={}){const t={...e};return function e(t){const n=Object.entries(t);for(let o=0;o<n.length;o++){const[i,s]=n[o];!a(r=s)&&void 0!==r&&"string"!=typeof r&&"boolean"!=typeof r&&"number"!=typeof r&&!Array.isArray(r)||i.startsWith("unstable_")?delete t[i]:a(s)&&(t[i]={...s},e(t[i]))}var r}(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ${JSON.stringify(t,null,2)};\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;`}const kt=function(e={},...t){const{breakpoints:n,mixins:r={},spacing:o,palette:i={},transitions:a={},typography:s={},shape:u,...c}=e;if(e.vars)throw new Error((0,_e.A)(20));const d=st(i),f=fe(e);let p=l(f,{mixins:(h=f.breakpoints,g=r,{toolbar:{minHeight:56,[h.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[h.up("sm")]:{minHeight:64}},...g}),palette:d,shadows:mt.slice(),typography:ht(d,s),transitions:St(a),zIndex:{...xt}});var h,g;return p=l(p,c),p=t.reduce(((e,t)=>l(e,t)),p),p.unstable_sxConfig={...le,...c?.unstable_sxConfig},p.unstable_sx=function(e){return ce({sx:e,theme:this})},p.toRuntimeSource=wt,p},At=[...Array(25)].map(((e,t)=>{if(0===t)return"none";const n=function(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(10*t)/1e3}(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`}));function Ot(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function Ct(e){return"dark"===e?At:[]}function Et(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)/)}const jt=e=>(t,n)=>{const r=e.rootSelector||":root",o=e.colorSchemeSelector;let 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){const o={};return(a=e.cssVarPrefix,[...[...Array(25)].map(((e,t)=>`--${a?`${a}-`:""}overlays-${t}`)),`--${a?`${a}-`:""}palette-AppBar-darkBg`,`--${a?`${a}-`:""}palette-AppBar-darkColor`]).forEach((e=>{o[e]=n[e],delete n[e]})),"media"===i?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:o}}:i?{[i.replace("%s",t)]:o,[`${r}, ${i.replace("%s",t)}`]:n}:{[r]:{...n,...o}}}if(i&&"media"!==i)return`${r}, ${i.replace("%s",String(t))}`}else if(t){if("media"===i)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(i)return i.replace("%s",String(t))}var a;return r};function Tt(e,t,n){!e[t]&&n&&(e[t]=n)}function Pt(e){return"string"==typeof e&&e.startsWith("hsl")?(0,Se.YL)(e):e}function Rt(e,t){`${t}Channel`in e||(e[`${t}Channel`]=(0,Se.Me)(Pt(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().\nTo 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.`))}const Mt=e=>{try{return e()}catch(e){}};function Bt(e,t,n,r){if(!t)return;t=!0===t?{}:t;const o="dark"===r?"dark":"light";if(!n)return void(e[r]=function(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...o}=e,i=st(t);return{palette:i,opacity:{...Ot(i.mode),...n},overlays:r||Ct(i.mode),...o}}({...t,palette:{mode:o,...t?.palette}}));const{palette:i,...a}=kt({...n,palette:{mode:o,...t?.palette}});return e[r]={...t,palette:i,opacity:{...Ot(o),...t?.opacity},overlays:t?.overlays||Ct(o)},a}function $t(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:a=Et,colorSchemeSelector:s=(n.light&&n.dark?"media":void 0),rootSelector:u=":root",...c}=e,d=Object.keys(n)[0],f=r||(n.light&&"light"!==d?"light":d),p=((e="mui")=>lt(e))(i),{[f]:h,light:g,dark:m,...v}=n,y={...v};let b=h;if(("dark"===f&&!("dark"in n)||"light"===f&&!("light"in n))&&(b=!0),!b)throw new Error((0,_e.A)(21,f));const _=Bt(y,b,c,f);g&&!y.light&&Bt(y,g,void 0,"light"),m&&!y.dark&&Bt(y,m,void 0,"dark");let S={defaultColorScheme:f,..._,cssVarPrefix:i,colorSchemeSelector:s,rootSelector:u,getCssVar:p,colorSchemes:y,font:{...ut(_.typography),..._.font},spacing:(x=c.spacing,"number"==typeof x?`${x}px`:"string"==typeof x||"function"==typeof x||Array.isArray(x)?x:"8px")};var x;Object.keys(S.colorSchemes).forEach((e=>{const t=S.colorSchemes[e].palette,n=e=>{const n=e.split("-"),r=n[1],o=n[2];return p(e,t[r][o])};var r;if("light"===t.mode&&(Tt(t.common,"background","#fff"),Tt(t.common,"onBackground","#000")),"dark"===t.mode&&(Tt(t.common,"background","#000"),Tt(t.common,"onBackground","#fff")),r=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach((e=>{r[e]||(r[e]={})})),"light"===t.mode){Tt(t.Alert,"errorColor",(0,Se.Nd)(t.error.light,.6)),Tt(t.Alert,"infoColor",(0,Se.Nd)(t.info.light,.6)),Tt(t.Alert,"successColor",(0,Se.Nd)(t.success.light,.6)),Tt(t.Alert,"warningColor",(0,Se.Nd)(t.warning.light,.6)),Tt(t.Alert,"errorFilledBg",n("palette-error-main")),Tt(t.Alert,"infoFilledBg",n("palette-info-main")),Tt(t.Alert,"successFilledBg",n("palette-success-main")),Tt(t.Alert,"warningFilledBg",n("palette-warning-main")),Tt(t.Alert,"errorFilledColor",Mt((()=>t.getContrastText(t.error.main)))),Tt(t.Alert,"infoFilledColor",Mt((()=>t.getContrastText(t.info.main)))),Tt(t.Alert,"successFilledColor",Mt((()=>t.getContrastText(t.success.main)))),Tt(t.Alert,"warningFilledColor",Mt((()=>t.getContrastText(t.warning.main)))),Tt(t.Alert,"errorStandardBg",(0,Se.j4)(t.error.light,.9)),Tt(t.Alert,"infoStandardBg",(0,Se.j4)(t.info.light,.9)),Tt(t.Alert,"successStandardBg",(0,Se.j4)(t.success.light,.9)),Tt(t.Alert,"warningStandardBg",(0,Se.j4)(t.warning.light,.9)),Tt(t.Alert,"errorIconColor",n("palette-error-main")),Tt(t.Alert,"infoIconColor",n("palette-info-main")),Tt(t.Alert,"successIconColor",n("palette-success-main")),Tt(t.Alert,"warningIconColor",n("palette-warning-main")),Tt(t.AppBar,"defaultBg",n("palette-grey-100")),Tt(t.Avatar,"defaultBg",n("palette-grey-400")),Tt(t.Button,"inheritContainedBg",n("palette-grey-300")),Tt(t.Button,"inheritContainedHoverBg",n("palette-grey-A100")),Tt(t.Chip,"defaultBorder",n("palette-grey-400")),Tt(t.Chip,"defaultAvatarColor",n("palette-grey-700")),Tt(t.Chip,"defaultIconColor",n("palette-grey-700")),Tt(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Tt(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Tt(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Tt(t.LinearProgress,"primaryBg",(0,Se.j4)(t.primary.main,.62)),Tt(t.LinearProgress,"secondaryBg",(0,Se.j4)(t.secondary.main,.62)),Tt(t.LinearProgress,"errorBg",(0,Se.j4)(t.error.main,.62)),Tt(t.LinearProgress,"infoBg",(0,Se.j4)(t.info.main,.62)),Tt(t.LinearProgress,"successBg",(0,Se.j4)(t.success.main,.62)),Tt(t.LinearProgress,"warningBg",(0,Se.j4)(t.warning.main,.62)),Tt(t.Skeleton,"bg",`rgba(${n("palette-text-primaryChannel")} / 0.11)`),Tt(t.Slider,"primaryTrack",(0,Se.j4)(t.primary.main,.62)),Tt(t.Slider,"secondaryTrack",(0,Se.j4)(t.secondary.main,.62)),Tt(t.Slider,"errorTrack",(0,Se.j4)(t.error.main,.62)),Tt(t.Slider,"infoTrack",(0,Se.j4)(t.info.main,.62)),Tt(t.Slider,"successTrack",(0,Se.j4)(t.success.main,.62)),Tt(t.Slider,"warningTrack",(0,Se.j4)(t.warning.main,.62));const e=(0,Se.Y9)(t.background.default,.8);Tt(t.SnackbarContent,"bg",e),Tt(t.SnackbarContent,"color",Mt((()=>t.getContrastText(e)))),Tt(t.SpeedDialAction,"fabHoverBg",(0,Se.Y9)(t.background.paper,.15)),Tt(t.StepConnector,"border",n("palette-grey-400")),Tt(t.StepContent,"border",n("palette-grey-400")),Tt(t.Switch,"defaultColor",n("palette-common-white")),Tt(t.Switch,"defaultDisabledColor",n("palette-grey-100")),Tt(t.Switch,"primaryDisabledColor",(0,Se.j4)(t.primary.main,.62)),Tt(t.Switch,"secondaryDisabledColor",(0,Se.j4)(t.secondary.main,.62)),Tt(t.Switch,"errorDisabledColor",(0,Se.j4)(t.error.main,.62)),Tt(t.Switch,"infoDisabledColor",(0,Se.j4)(t.info.main,.62)),Tt(t.Switch,"successDisabledColor",(0,Se.j4)(t.success.main,.62)),Tt(t.Switch,"warningDisabledColor",(0,Se.j4)(t.warning.main,.62)),Tt(t.TableCell,"border",(0,Se.j4)((0,Se.Cg)(t.divider,1),.88)),Tt(t.Tooltip,"bg",(0,Se.Cg)(t.grey[700],.92))}if("dark"===t.mode){Tt(t.Alert,"errorColor",(0,Se.j4)(t.error.light,.6)),Tt(t.Alert,"infoColor",(0,Se.j4)(t.info.light,.6)),Tt(t.Alert,"successColor",(0,Se.j4)(t.success.light,.6)),Tt(t.Alert,"warningColor",(0,Se.j4)(t.warning.light,.6)),Tt(t.Alert,"errorFilledBg",n("palette-error-dark")),Tt(t.Alert,"infoFilledBg",n("palette-info-dark")),Tt(t.Alert,"successFilledBg",n("palette-success-dark")),Tt(t.Alert,"warningFilledBg",n("palette-warning-dark")),Tt(t.Alert,"errorFilledColor",Mt((()=>t.getContrastText(t.error.dark)))),Tt(t.Alert,"infoFilledColor",Mt((()=>t.getContrastText(t.info.dark)))),Tt(t.Alert,"successFilledColor",Mt((()=>t.getContrastText(t.success.dark)))),Tt(t.Alert,"warningFilledColor",Mt((()=>t.getContrastText(t.warning.dark)))),Tt(t.Alert,"errorStandardBg",(0,Se.Nd)(t.error.light,.9)),Tt(t.Alert,"infoStandardBg",(0,Se.Nd)(t.info.light,.9)),Tt(t.Alert,"successStandardBg",(0,Se.Nd)(t.success.light,.9)),Tt(t.Alert,"warningStandardBg",(0,Se.Nd)(t.warning.light,.9)),Tt(t.Alert,"errorIconColor",n("palette-error-main")),Tt(t.Alert,"infoIconColor",n("palette-info-main")),Tt(t.Alert,"successIconColor",n("palette-success-main")),Tt(t.Alert,"warningIconColor",n("palette-warning-main")),Tt(t.AppBar,"defaultBg",n("palette-grey-900")),Tt(t.AppBar,"darkBg",n("palette-background-paper")),Tt(t.AppBar,"darkColor",n("palette-text-primary")),Tt(t.Avatar,"defaultBg",n("palette-grey-600")),Tt(t.Button,"inheritContainedBg",n("palette-grey-800")),Tt(t.Button,"inheritContainedHoverBg",n("palette-grey-700")),Tt(t.Chip,"defaultBorder",n("palette-grey-700")),Tt(t.Chip,"defaultAvatarColor",n("palette-grey-300")),Tt(t.Chip,"defaultIconColor",n("palette-grey-300")),Tt(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Tt(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Tt(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Tt(t.LinearProgress,"primaryBg",(0,Se.Nd)(t.primary.main,.5)),Tt(t.LinearProgress,"secondaryBg",(0,Se.Nd)(t.secondary.main,.5)),Tt(t.LinearProgress,"errorBg",(0,Se.Nd)(t.error.main,.5)),Tt(t.LinearProgress,"infoBg",(0,Se.Nd)(t.info.main,.5)),Tt(t.LinearProgress,"successBg",(0,Se.Nd)(t.success.main,.5)),Tt(t.LinearProgress,"warningBg",(0,Se.Nd)(t.warning.main,.5)),Tt(t.Skeleton,"bg",`rgba(${n("palette-text-primaryChannel")} / 0.13)`),Tt(t.Slider,"primaryTrack",(0,Se.Nd)(t.primary.main,.5)),Tt(t.Slider,"secondaryTrack",(0,Se.Nd)(t.secondary.main,.5)),Tt(t.Slider,"errorTrack",(0,Se.Nd)(t.error.main,.5)),Tt(t.Slider,"infoTrack",(0,Se.Nd)(t.info.main,.5)),Tt(t.Slider,"successTrack",(0,Se.Nd)(t.success.main,.5)),Tt(t.Slider,"warningTrack",(0,Se.Nd)(t.warning.main,.5));const e=(0,Se.Y9)(t.background.default,.98);Tt(t.SnackbarContent,"bg",e),Tt(t.SnackbarContent,"color",Mt((()=>t.getContrastText(e)))),Tt(t.SpeedDialAction,"fabHoverBg",(0,Se.Y9)(t.background.paper,.15)),Tt(t.StepConnector,"border",n("palette-grey-600")),Tt(t.StepContent,"border",n("palette-grey-600")),Tt(t.Switch,"defaultColor",n("palette-grey-300")),Tt(t.Switch,"defaultDisabledColor",n("palette-grey-600")),Tt(t.Switch,"primaryDisabledColor",(0,Se.Nd)(t.primary.main,.55)),Tt(t.Switch,"secondaryDisabledColor",(0,Se.Nd)(t.secondary.main,.55)),Tt(t.Switch,"errorDisabledColor",(0,Se.Nd)(t.error.main,.55)),Tt(t.Switch,"infoDisabledColor",(0,Se.Nd)(t.info.main,.55)),Tt(t.Switch,"successDisabledColor",(0,Se.Nd)(t.success.main,.55)),Tt(t.Switch,"warningDisabledColor",(0,Se.Nd)(t.warning.main,.55)),Tt(t.TableCell,"border",(0,Se.Nd)((0,Se.Cg)(t.divider,1),.68)),Tt(t.Tooltip,"bg",(0,Se.Cg)(t.grey[700],.92))}Rt(t.background,"default"),Rt(t.background,"paper"),Rt(t.common,"background"),Rt(t.common,"onBackground"),Rt(t,"divider"),Object.keys(t).forEach((e=>{const n=t[e];"tonalOffset"!==e&&n&&"object"==typeof n&&(n.main&&Tt(t[e],"mainChannel",(0,Se.Me)(Pt(n.main))),n.light&&Tt(t[e],"lightChannel",(0,Se.Me)(Pt(n.light))),n.dark&&Tt(t[e],"darkChannel",(0,Se.Me)(Pt(n.dark))),n.contrastText&&Tt(t[e],"contrastTextChannel",(0,Se.Me)(Pt(n.contrastText))),"text"===e&&(Rt(t[e],"primary"),Rt(t[e],"secondary")),"action"===e&&(n.active&&Rt(t[e],"active"),n.selected&&Rt(t[e],"selected")))}))})),S=t.reduce(((e,t)=>l(e,t)),S);const w={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:jt(S)},{vars:k,generateThemeVars:A,generateStyleSheets:O}=function(e,t={}){const{getSelector:n=v,disableCssColorScheme:r,colorSchemeSelector:o}=t,{colorSchemes:i={},components:a,defaultColorScheme:s="light",...u}=e,{vars:c,css:d,varsWithDefaults:f}=dt(u,t);let p=f;const h={},{[s]:g,...m}=i;if(Object.entries(m||{}).forEach((([e,n])=>{const{vars:r,css:o,varsWithDefaults:i}=dt(n,t);p=l(p,i),h[e]={css:o,vars:r}})),g){const{css:e,vars:n,varsWithDefaults:r}=dt(g,t);p=l(p,r),h[s]={css:e,vars:n}}function v(t,n){let r=o;if("class"===o&&(r=".%s"),"data"===o&&(r="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(r=`[${o}="%s"]`),t){if("media"===r){if(e.defaultColorScheme===t)return":root";const r=i[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${r})`]:{":root":n}}}if(r)return e.defaultColorScheme===t?`:root, ${r.replace("%s",String(t))}`:r.replace("%s",String(t))}return":root"}return{vars:p,generateThemeVars:()=>{let e={...c};return Object.entries(h).forEach((([,{vars:t}])=>{e=l(e,t)})),e},generateStyleSheets:()=>{const t=[],o=e.defaultColorScheme||"light";function a(e,n){Object.keys(n).length&&t.push("string"==typeof e?{[e]:{...n}}:e)}a(n(void 0,{...d}),d);const{[o]:s,...l}=h;if(s){const{css:e}=s,t=i[o]?.palette?.mode,l=!r&&t?{colorScheme:t,...e}:{...e};a(n(o,{...l}),l)}return Object.entries(l).forEach((([e,{css:t}])=>{const o=i[e]?.palette?.mode,s=!r&&o?{colorScheme:o,...t}:{...t};a(n(e,{...s}),s)})),t}}}(S,w);return S.vars=k,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach((([e,t])=>{S[e]=t})),S.generateThemeVars=A,S.generateStyleSheets=O,S.generateSpacing=function(){return B(c.spacing,E(this))},S.getColorSchemeSelector=function(e){return function(t){return"media"===e?`@media (prefers-color-scheme: ${t})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:"class"===e?`.${t} &`:"data"===e?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}(s),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=a,S.unstable_sxConfig={...le,...c?.unstable_sxConfig},S.unstable_sx=function(e){return ce({sx:e,theme:this})},S.toRuntimeSource=wt,S}function It(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...!0!==n&&n,palette:st({...!0===n?{}:n.palette,mode:t})})}const Nt=function(e={}){const{themeId:t,defaultTheme:n=he,rootShouldForwardProp:o=ge,slotShouldForwardProp:i=ge}=e;function s(e){!function(e,t,n){e.theme=function(e){for(const t in e)return!1;return!0}(e.theme)?n:e.theme[t]||e.theme}(e,t,n)}return(e,t={})=>{(0,r.HX)(e,(e=>e.filter((e=>e!==ce))));const{name:n,slot:l,skipVariantsResolver:u,skipSx:c,overridesResolver:d=me(be(l)),...f}=t,p=void 0!==u?u:l&&"Root"!==l&&"root"!==l||!1,h=c||!1;let g=ge;"Root"===l||"root"===l?g=o:l?g=i:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(g=void 0);const m=(0,r.Ay)(e,{shouldForwardProp:g,label:void 0,...f}),v=e=>{if("function"==typeof e&&e.__emotion_real!==e)return function(t){return ve(t,e)};if(a(e)){const t=(0,pe.A)(e);return t.variants?function(e){return ve(e,t)}:t.style}return e},y=(...t)=>{const r=[],o=t.map(v),i=[];if(r.push(s),n&&d&&i.push((function(e){const t=e.theme,r=t.components?.[n]?.styleOverrides;if(!r)return null;const o={};for(const t in r)o[t]=ve(e,r[t]);return d(e,o)})),n&&!p&&i.push((function(e){const t=e.theme,r=t?.components?.[n]?.variants;return r?ye(e,r):null})),h||i.push(ce),Array.isArray(o[0])){const e=o.shift(),t=new Array(r.length).fill(""),n=new Array(i.length).fill("");let a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}const a=[...r,...o,...i],l=m(...a);return e.muiName&&(l.muiName=e.muiName),l};return m.withConfig&&(y.withConfig=m.withConfig),y}}({themeId:"$$material",defaultTheme:function(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=(n?void 0:{light:!0}),defaultColorScheme:i=n?.mode,...a}=e,s=i||"light",l=o?.[s],u={...o,...n?{[s]:{..."boolean"!=typeof l&&l,palette:n}}:void 0};if(!1===r){if(!("colorSchemes"in e))return kt(e,...t);let r=n;"palette"in e||u[s]&&(!0!==u[s]?r=u[s].palette:"dark"===s&&(r={mode:"dark"}));const o=kt({...e,palette:r},...t);return o.defaultColorScheme=s,o.colorSchemes=u,"light"===o.palette.mode&&(o.colorSchemes.light={...!0!==u.light&&u.light,palette:o.palette},It(o,"dark",u.dark)),"dark"===o.palette.mode&&(o.colorSchemes.dark={...!0!==u.dark&&u.dark,palette:o.palette},It(o,"light",u.light)),o}return n||"light"in u||"light"!==s||(u.light=!0),$t({...a,colorSchemes:u,defaultColorScheme:s,..."boolean"!=typeof r&&r},...t)}(),rootShouldForwardProp:n(1257).A}),Dt=Nt},3572:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(9525).A},415:(e,t,n)=>{"use strict";n.r(t),n.d(t,{capitalize:()=>o.A,createChainedFunction:()=>i,createSvgIcon:()=>b,debounce:()=>_,deprecatedPropType:()=>S,isMuiElement:()=>x,mergeSlotProps:()=>B,ownerDocument:()=>k,ownerWindow:()=>A,requirePropFactory:()=>O,setRef:()=>C,unstable_ClassNameGenerator:()=>$,unstable_memoTheme:()=>c.A,unstable_useEnhancedEffect:()=>E,unstable_useId:()=>j.A,unsupportedProp:()=>T,useControlled:()=>P,useEventCallback:()=>R.A,useForkRef:()=>M.A});var r=n(8205),o=n(3572);const i=function(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))};var a=n(4953),s=n(7064),l=n(8841),u=n(7273),c=n(227),d=n(8033),f=n(2667),p=n(8223);function h(e){return(0,p.Ay)("MuiSvgIcon",e)}(0,f.A)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var g=n(6870);const m=(0,u.Ay)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${(0,o.A)(n.color)}`],t[`fontSize${(0,o.A)(n.fontSize)}`]]}})((0,c.A)((({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}}))),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]})))),v=a.forwardRef((function(e,t){const n=(0,d.b)({props:e,name:"MuiSvgIcon"}),{children:r,className:i,color:u="inherit",component:c="svg",fontSize:f="medium",htmlColor:p,inheritViewBox:v=!1,titleAccess:y,viewBox:b="0 0 24 24",..._}=n,S=a.isValidElement(r)&&"svg"===r.type,x={...n,color:u,component:c,fontSize:f,instanceFontSize:e.fontSize,inheritViewBox:v,viewBox:b,hasSvgAsChild:S},w={};v||(w.viewBox=b);const k=(e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root","inherit"!==t&&`color${(0,o.A)(t)}`,`fontSize${(0,o.A)(n)}`]};return(0,l.A)(i,h,r)})(x);return(0,g.jsxs)(m,{as:c,className:(0,s.A)(k.root,i),focusable:"false",color:p,"aria-hidden":!y||void 0,role:y?"img":void 0,ref:t,...w,..._,...S&&r.props,ownerState:x,children:[S?r.props.children:r,y?(0,g.jsx)("title",{children:y}):null]})}));v.muiName="SvgIcon";const y=v;function b(e,t){function n(n,r){return(0,g.jsx)(y,{"data-testid":`${t}Icon`,ref:r,...n,children:e})}return n.muiName=y.muiName,a.memo(a.forwardRef(n))}const _=function(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r},S=function(e,t){return()=>null},x=function(e,t){return a.isValidElement(e)&&-1!==t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)};function w(e){return e&&e.ownerDocument||document}const k=w,A=function(e){return w(e).defaultView||window},O=function(e,t){return()=>null},C=n(5115).A,E=n(3375).A;var j=n(8886);const T=function(e,t,n,r,o){return null},P=function({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=a.useRef(void 0!==e),[i,s]=a.useState(t);return[o?e:i,a.useCallback((e=>{o||s(e)}),[])]};var R=n(8591),M=n(9349);function B(e,t){if(!e)return t;if("function"==typeof e||"function"==typeof t)return n=>{const r="function"==typeof t?t(n):t,o="function"==typeof e?e({...n,...r}):e,i=(0,s.A)(n?.className,r?.className,o?.className);return{...r,...o,...!!i&&{className:i},...r?.style&&o?.style&&{style:{...r.style,...o.style}}}};const n=(0,s.A)(t?.className,e?.className);return{...t,...e,...!!n&&{className:n},...t?.style&&e?.style&&{style:{...t.style,...e.style}}}}const $={configure:e=>{r.A.configure(e)}}},227:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(4516);const o={theme:void 0},i=function(e){let t,n;return function(i){let a=t;return void 0!==a&&i.theme===n||(o.theme=i.theme,a=(0,r.A)(e(o)),t=a,n=i.theme),a}}},8591:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(4953),o=n(3375);const i=function(e){const t=r.useRef(e);return(0,o.A)((()=>{t.current=e})),r.useRef(((...e)=>(0,t.current)(...e))).current}},9349:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(4953),o=n(5115);const i=function(...e){return r.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{(0,o.A)(e,t)}))}),e)}},8886:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(4953);let o=0;const i={...r}.useId,a=function(e){if(void 0!==i){const t=i();return e??t}return function(e){const[t,n]=r.useState(e),i=e||t;return r.useEffect((()=>{null==t&&(o+=1,n(`mui-${o}`))}),[t]),i}(e)}},2455:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>y,HX:()=>b,tT:()=>S});const r=require("@emotion/styled");var o=n.n(r),i={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};function a(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var s=!1,l=/[A-Z]|^ms/g,u=/_EMO_([^_]+?)_([^]*?)_EMO_/g,c=function(e){return 45===e.charCodeAt(1)},d=function(e){return null!=e&&"boolean"!=typeof e},f=a((function(e){return c(e)?e:e.replace(l,"-$&").toLowerCase()})),p=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(u,(function(e,t,n){return m={name:t,styles:n,next:m},t}))}return 1===i[e]||c(e)||"number"!=typeof t||0===t?t:t+"px"},h="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function g(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return m={name:o.name,styles:o.styles,next:m},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)m={name:a.name,styles:a.styles,next:m},a=a.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=g(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var l=a;null!=t&&void 0!==t[l]?r+=i+"{"+t[l]+"}":d(l)&&(r+=f(i)+":"+p(i,l)+";")}else{if("NO_COMPONENT_SELECTOR"===i&&s)throw new Error(h);if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var u=g(e,t,a);switch(i){case"animation":case"animationName":r+=f(i)+":"+u+";";break;default:r+=i+"{"+u+"}"}}else for(var c=0;c<a.length;c++)d(a[c])&&(r+=f(i)+":"+p(i,a[c])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var l=m,u=n(e);return m=l,g(e,t,u)}}var c=n;if(null==t)return c;var v=t[c];return void 0!==v?v:c}var m,v=/label:\s*([^\s;{]+)\s*(;|$)/g;function y(e,t){return o()(e,t)}function b(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}n(1007);const _=[];function S(e){return _[0]=e,function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";m=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=g(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=g(n,t,e[a]),r&&(o+=i[a]);v.lastIndex=0;for(var s,l="";null!==(s=v.exec(o));)l+="-"+s[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:u,styles:o,next:m}}(_)}},7801:(e,t,n)=>{"use strict";n.d(t,{X4:()=>f,e$:()=>h,eM:()=>d,YL:()=>u,a:()=>m,Cg:()=>p,Me:()=>s,Nd:()=>g,Y9:()=>y,j4:()=>v});var r=n(4699);const o=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))};function i(e,t=0,n=1){return o(e,t,n)}function a(e){if(e.type)return e;if("#"===e.charAt(0))return a(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error((0,r.A)(9,e));let o,i=e.substring(t+1,e.length-1);if("color"===n){if(i=i.split(" "),o=i.shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error((0,r.A)(10,o))}else i=i.split(",");return i=i.map((e=>parseFloat(e))),{type:n,values:i,colorSpace:o}}const s=(e,t)=>{try{return(e=>{const t=a(e);return t.values.slice(0,3).map(((e,n)=>t.type.includes("hsl")&&0!==n?`${e}%`:e)).join(" ")})(e)}catch(t){return e}};function l(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function u(e){e=a(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),s=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let u="rgb";const c=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),l({type:u,values:c})}function c(e){let t="hsl"===(e=a(e)).type||"hsla"===e.type?a(u(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function d(e,t){const n=c(e),r=c(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function f(e,t){return e=a(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,l(e)}function p(e,t,n){try{return f(e,t)}catch(t){return e}}function h(e,t){if(e=a(e),t=i(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)}function g(e,t,n){try{return h(e,t)}catch(t){return e}}function m(e,t){if(e=a(e),t=i(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)}function v(e,t,n){try{return m(e,t)}catch(t){return e}}function y(e,t,n){try{return function(e,t=.15){return c(e)>.5?h(e,t):m(e,t)}(e,t)}catch(t){return e}}},4516:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2455);function o(e){const{variants:t,...n}=e,o={variants:t,style:(0,r.tT)(n),isProcessed:!0};return o.style===n||t&&t.forEach((e=>{"function"!=typeof e.style&&(e.style=(0,r.tT)(e.style))})),o}},8205:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r=e=>e,o=(()=>{let e=r;return{configure(t){e=t},generate:t=>e(t),reset(){e=r}}})()},9525:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(4699);function o(e){if("string"!=typeof e)throw new Error((0,r.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},8841:(e,t,n)=>{"use strict";function r(e,t,n=void 0){const r={};for(const o in e){const i=e[o];let a="",s=!0;for(let e=0;e<i.length;e+=1){const r=i[e];r&&(a+=(!0===s?"":" ")+t(r),s=!1,n&&n[r]&&(a+=" "+n[r]))}r[o]=a}return r}n.d(t,{A:()=>r})},4699:(e,t,n)=>{"use strict";function r(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach((e=>n.searchParams.append("args[]",e))),`Minified MUI error #${e}; visit ${n} for the full message.`}n.d(t,{A:()=>r})},8223:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>i});var r=n(8205);const 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,n="Mui"){const i=o[t];return i?`${n}-${i}`:`${r.A.generate(e)}-${t}`}},2667:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8223);function o(e,t,n="Mui"){const o={};return t.forEach((t=>{o[t]=(0,r.Ay)(e,t,n)})),o}},4441:(e,t,n)=>{"use strict";function r(e,t){const n={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const i=o;if("components"===i||"slots"===i)n[i]={...e[i],...n[i]};else if("componentsProps"===i||"slotProps"===i){const o=e[i],a=t[i];if(a)if(o){n[i]={...a};for(const e in o)if(Object.prototype.hasOwnProperty.call(o,e)){const t=e;n[i][t]=r(o[t],a[t])}}else n[i]=a;else n[i]=o||{}}else void 0===n[i]&&(n[i]=e[i])}return n}n.d(t,{A:()=>r})},5115:(e,t,n)=>{"use strict";function r(e,t){"function"==typeof e?e(t):e&&(e.current=t)}n.d(t,{A:()=>r})},3375:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(4953);const o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect},7436:(e,t)=>{"use strict";Symbol.for("react.transitional.element"),Symbol.for("react.portal");var n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler");Symbol.for("react.provider");var i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),p=Symbol.for("react.client.reference");t.Hy=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===o||e===r||e===l||e===u||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===c||e.$$typeof===a||e.$$typeof===i||e.$$typeof===s||e.$$typeof===p||void 0!==e.getModuleId)}},4178:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(6063),o=n.n(r),i=n(5248),a=n.n(i)()(o());a.push([e.id,".box{background-color:#fff;border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,.1);padding:20px;max-width:800px;margin:0 auto}.section-box{padding:10px;border:1px solid #ddd;border-radius:8px}.fieldset{border:1px solid #ccc;border-radius:5px;padding:10px;margin-bottom:20px}.legend-box{font-weight:bold;color:#0052bf}.btn{padding:10px 20px;background-color:#0052bf;color:#fff;border:none;border-radius:4px;cursor:pointer;transition:background-color .3s;margin-right:8px}.btn:disabled{background-color:gray;cursor:not-allowed}.select{width:100%;padding:8px;margin-top:8px;margin-bottom:12px;border:1px solid #ccc;border-radius:4px}.input{width:97%;padding:8px;margin-top:8px;margin-bottom:12px;border:1px solid #ccc;border-radius:4px}",""]);const s=a},5248:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var u=0;u<e.length;u++){var c=[].concat(e[u]);r&&a[c[0]]||(void 0!==i&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=i),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),o&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=o):c[4]="".concat(o)),t.push(c))}},t}},6063:e=>{"use strict";e.exports=function(e){return e[1]}},9062:(e,t,n)=>{"use strict";function r(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("number"==typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}n.r(t),n.d(t,{Observer:()=>Br,_observerFinalizationRegistry:()=>wr,clearTimers:()=>Dr,enableStaticRendering:()=>yr,isObserverBatched:()=>gr,isUsingStaticRendering:()=>br,observer:()=>Pr,observerBatching:()=>hr,useAsObservableSource:()=>Ir,useLocalObservable:()=>$r,useLocalStore:()=>Nr,useObserver:()=>Lr,useStaticRendering:()=>Vr});var o={};function i(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:o}var a=Object.assign,s=Object.getOwnPropertyDescriptor,l=Object.defineProperty,u=Object.prototype,c=[];Object.freeze(c);var d={};Object.freeze(d);var f="undefined"!=typeof Proxy,p=Object.toString();function h(){f||r("Proxy not available")}function g(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var m=function(){};function v(e){return"function"==typeof e}function y(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function b(e){return null!==e&&"object"==typeof e}function _(e){if(!b(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n.toString()===p}function S(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function x(e,t,n){l(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function w(e,t,n){l(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function k(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return b(e)&&!0===e[n]}}function A(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function O(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var C=void 0!==Object.getOwnPropertySymbols,E="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:C?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function j(e){return null===e?null:"object"==typeof e?""+e:e}function T(e,t){return u.hasOwnProperty.call(e,t)}var P=Object.getOwnPropertyDescriptors||function(e){var t={};return E(e).forEach((function(n){t[n]=s(e,n)})),t};function R(e,t){return!!(e&t)}function M(e,t,n){return n?e|=t:e&=~t,e}function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function $(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,z(r.key),r)}}function I(e,t,n){return t&&$(e.prototype,t),n&&$(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function N(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return B(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?B(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function D(){return D=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},D.apply(null,arguments)}function L(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,V(e,t)}function V(e,t){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},V(e,t)}function z(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var W=Symbol("mobx-stored-annotations");function K(e){return Object.assign((function(t,n){if(U(n))return e.decorate_20223_(t,n);F(t,n,e)}),e)}function F(e,t,n){T(e,W)||x(e,W,D({},e[W])),function(e){return e.annotationType_===Z}(n)||(e[W][t]=n)}function U(e){return"object"==typeof e&&"string"==typeof e.kind}var G=Symbol("mobx administration"),H=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.flags_=0,this.observers_=new Set,this.lastAccessedBy_=0,this.lowestObserverState_=Ye.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.reportObserved=function(){return bt(this)},t.reportChanged=function(){vt(),_t(this),yt()},t.toString=function(){return this.name_},I(e,[{key:"isBeingObserved",get:function(){return R(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=M(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return R(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=M(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return R(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=M(this.flags_,e.diffValueMask_,1===t)}}])}();H.isBeingObservedMask_=1,H.isPendingUnobservationMask_=2,H.diffValueMask_=4;var q=k("Atom",H);function X(e,t,n){void 0===t&&(t=m),void 0===n&&(n=m);var r=new H(e);return t!==m&&zt(Dt,r,t,undefined),n!==m&&Vt(r,n),r}var Y={identity:function(e,t){return e===t},structural:function(e,t){return or(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t},shallow:function(e,t){return or(e,t,1)}};function J(e,t,n){return en(e)?e:Array.isArray(e)?$e.array(e,{name:n}):_(e)?$e.object(e,void 0,{name:n}):A(e)?$e.map(e,{name:n}):O(e)?$e.set(e,{name:n}):"function"!=typeof e||It(e)||Zt(e)?e:S(e)?Jt(e):$t(n,e)}function Q(e){return e}var Z="override";function ee(e,t){return{annotationType_:e,options_:t,make_:te,extend_:ne,decorate_20223_:re}}function te(e,t,n,r){var o;if(null!=(o=this.options_)&&o.bound)return null===this.extend_(e,t,n,!1)?0:1;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(It(n.value))return 1;var i=oe(e,this,t,n,!1);return l(r,t,i),2}function ne(e,t,n,r){var o=oe(e,this,t,n);return e.defineProperty_(t,o,r)}function re(e,t){var n,o=t.kind,i=t.name,a=t.addInitializer,s=this,l=function(e){var t,n,r,o;return Fe(null!=(t=null==(n=s.options_)?void 0:n.name)?t:i.toString(),e,null!=(r=null==(o=s.options_)?void 0:o.autoAction)&&r)};return"field"==o?function(e){var t,n=e;return It(n)||(n=l(n)),null!=(t=s.options_)&&t.bound&&((n=n.bind(this)).isMobxAction=!0),n}:"method"==o?(It(e)||(e=l(e)),null!=(n=this.options_)&&n.bound&&a((function(){var e=this,t=e[i].bind(e);t.isMobxAction=!0,e[i]=t})),e):void r("Cannot apply '"+s.annotationType_+"' to '"+String(i)+"' (kind: "+o+"):\n'"+s.annotationType_+"' can only be used on properties with a function value.")}function oe(e,t,n,r,o){var i,a,s,l,u,c,d,f;void 0===o&&(o=pt.safeDescriptors),f=r,t.annotationType_,f.value;var p,h=r.value;return null!=(i=t.options_)&&i.bound&&(h=h.bind(null!=(p=e.proxy_)?p:e.target_)),{value:Fe(null!=(a=null==(s=t.options_)?void 0:s.name)?a:n.toString(),h,null!=(l=null==(u=t.options_)?void 0:u.autoAction)&&l,null!=(c=t.options_)&&c.bound?null!=(d=e.proxy_)?d:e.target_:void 0),configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function ie(e,t){return{annotationType_:e,options_:t,make_:ae,extend_:se,decorate_20223_:le}}function ae(e,t,n,r){var o;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(o=this.options_)&&o.bound&&(!T(e.target_,t)||!Zt(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(Zt(n.value))return 1;var i=ue(e,this,0,n,!1,!1);return l(r,t,i),2}function se(e,t,n,r){var o,i=ue(e,this,0,n,null==(o=this.options_)?void 0:o.bound);return e.defineProperty_(t,i,r)}function le(e,t){var n,r=t.name,o=t.addInitializer;return Zt(e)||(e=Jt(e)),null!=(n=this.options_)&&n.bound&&o((function(){var e=this,t=e[r].bind(e);t.isMobXFlow=!0,e[r]=t})),e}function ue(e,t,n,r,o,i){var a;void 0===i&&(i=pt.safeDescriptors),a=r,t.annotationType_,a.value;var s,l=r.value;return Zt(l)||(l=Jt(l)),o&&((l=l.bind(null!=(s=e.proxy_)?s:e.target_)).isMobXFlow=!0),{value:l,configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function ce(e,t){return{annotationType_:e,options_:t,make_:de,extend_:fe,decorate_20223_:pe}}function de(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function fe(e,t,n,r){return o=n,this.annotationType_,o.get,e.defineComputedProperty_(t,D({},this.options_,{get:n.get,set:n.set}),r);var o}function pe(e,t){var n=this,r=t.name;return(0,t.addInitializer)((function(){var t=In(this)[G],o=D({},n.options_,{get:e,context:this});o.name||(o.name="ObservableObject."+r.toString()),t.values_.set(r,new Xe(o))})),function(){return this[G].getObservablePropValue_(r)}}function he(e,t){return{annotationType_:e,options_:t,make_:ge,extend_:me,decorate_20223_:ve}}function ge(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function me(e,t,n,r){var o,i;return this.annotationType_,e.defineObservableProperty_(t,n.value,null!=(o=null==(i=this.options_)?void 0:i.enhancer)?o:J,r)}function ve(e,t){var n=this,r=t.kind,o=t.name,i=new WeakSet;function a(e,t){var r,a,s=In(e)[G],l=new qe(t,null!=(r=null==(a=n.options_)?void 0:a.enhancer)?r:J,"ObservableObject."+o.toString(),!1);s.values_.set(o,l),i.add(e)}if("accessor"==r)return{get:function(){return i.has(this)||a(this,e.get.call(this)),this[G].getObservablePropValue_(o)},set:function(e){return i.has(this)||a(this,e),this[G].setObservablePropValue_(o,e)},init:function(e){return i.has(this)||a(this,e),e}}}var ye="true",be=_e();function _e(e){return{annotationType_:ye,options_:e,make_:Se,extend_:xe,decorate_20223_:we}}function Se(e,t,n,r){var o,i,a,s;if(n.get)return Le.make_(e,t,n,r);if(n.set){var u=Fe(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!pt.safeDescriptors||e.isPlainObject_,set:u})?0:2:(l(r,t,{configurable:!0,set:u}),2)}if(r!==e.target_&&"function"==typeof n.value)return S(n.value)?(null!=(s=this.options_)&&s.autoBind?Jt.bound:Jt).make_(e,t,n,r):(null!=(a=this.options_)&&a.autoBind?$t.bound:$t).make_(e,t,n,r);var c,d=!1===(null==(o=this.options_)?void 0:o.deep)?$e.ref:$e;return"function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(c=e.proxy_)?c:e.target_)),d.make_(e,t,n,r)}function xe(e,t,n,r){var o,i,a;return n.get?Le.extend_(e,t,n,r):n.set?e.defineProperty_(t,{configurable:!pt.safeDescriptors||e.isPlainObject_,set:Fe(t.toString(),n.set)},r):("function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_)),(!1===(null==(i=this.options_)?void 0:i.deep)?$e.ref:$e).extend_(e,t,n,r))}function we(e,t){r("'"+this.annotationType_+"' cannot be used as a decorator")}var ke={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function Ae(e){return e||ke}Object.freeze(ke);var Oe=he("observable"),Ce=he("observable.ref",{enhancer:Q}),Ee=he("observable.shallow",{enhancer:function(e,t,n){return null==e||Ln(e)||xn(e)||Cn(e)||Pn(e)?e:Array.isArray(e)?$e.array(e,{name:n,deep:!1}):_(e)?$e.object(e,void 0,{name:n,deep:!1}):A(e)?$e.map(e,{name:n,deep:!1}):O(e)?$e.set(e,{name:n,deep:!1}):void 0}}),je=he("observable.struct",{enhancer:function(e,t){return or(e,t)?t:e}}),Te=K(Oe);function Pe(e){return!0===e.deep?J:!1===e.deep?Q:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:J;var t,n,r}function Re(e,t,n){return U(t)?Oe.decorate_20223_(e,t):y(t)?void F(e,t,Oe):en(e)?e:_(e)?$e.object(e,t,n):Array.isArray(e)?$e.array(e,t):A(e)?$e.map(e,t):O(e)?$e.set(e,t):"object"==typeof e&&null!==e?e:$e.box(e,t)}a(Re,Te);var Me,Be,$e=a(Re,{box:function(e,t){var n=Ae(t);return new qe(e,Pe(n),n.name,!0,n.equals)},array:function(e,t){var n=Ae(t);return(!1===pt.useProxies||!1===n.proxy?Jn:gn)(e,Pe(n),n.name)},map:function(e,t){var n=Ae(t);return new On(e,Pe(n),n.name)},set:function(e,t){var n=Ae(t);return new Tn(e,Pe(n),n.name)},object:function(e,t,n){return tr((function(){return function(e,t,n,r){var o=P(t);return tr((function(){var t=In(e,r)[G];E(o).forEach((function(e){t.extend_(e,o[e],!n||!(e in n)||n[e])}))})),e}(!1===pt.useProxies||!1===(null==n?void 0:n.proxy)?In({},n):function(e,t){var n,r;return h(),null!=(r=(n=(e=In(e,t))[G]).proxy_)?r:n.proxy_=new Proxy(e,rn)}({},n),e,t)}))},ref:K(Ce),shallow:K(Ee),deep:Te,struct:K(je)}),Ie="computed",Ne=ce(Ie),De=ce("computed.struct",{equals:Y.structural}),Le=function(e,t){if(U(t))return Ne.decorate_20223_(e,t);if(y(t))return F(e,t,Ne);if(_(e))return K(ce(Ie,e));var n=_(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new Xe(n)};Object.assign(Le,Ne),Le.struct=K(De);var Ve=0,ze=1,We=null!=(Me=null==(Be=s((function(){}),"name"))?void 0:Be.configurable)&&Me,Ke={value:"action",configurable:!0,writable:!1,enumerable:!1};function Fe(e,t,n,r){function o(){return Ue(0,n,t,r||this,arguments)}return void 0===n&&(n=!1),o.isMobxAction=!0,o.toString=function(){return t.toString()},We&&(Ke.value=e,l(o,"name",Ke)),o}function Ue(e,t,n,o,i){var a=function(e,t){var n=pt.trackingDerivation,r=!t||!n;vt();var o=pt.allowStateChanges;r&&(it(),o=Ge(!0));var i={runAsAction_:r,prevDerivation_:n,prevAllowStateChanges_:o,prevAllowStateReads_:st(!0),notifySpy_:!1,startTime_:0,actionId_:ze++,parentActionId_:Ve};return Ve=i.actionId_,i}(0,t);try{return n.apply(o,i)}catch(e){throw a.error_=e,e}finally{!function(e){Ve!==e.actionId_&&r(30),Ve=e.parentActionId_,void 0!==e.error_&&(pt.suppressReactionErrors=!0),He(e.prevAllowStateChanges_),lt(e.prevAllowStateReads_),yt(),e.runAsAction_&&at(e.prevDerivation_),pt.suppressReactionErrors=!1}(a)}}function Ge(e){var t=pt.allowStateChanges;return pt.allowStateChanges=e,t}function He(e){pt.allowStateChanges=e}var qe=function(e){function t(t,n,r,o,i){var a;return void 0===r&&(r="ObservableValue"),void 0===o&&(o=!0),void 0===i&&(i=Y.default),(a=e.call(this,r)||this).enhancer=void 0,a.name_=void 0,a.equals=void 0,a.hasUnreportedChange_=!1,a.interceptors_=void 0,a.changeListeners_=void 0,a.value_=void 0,a.dehancer=void 0,a.enhancer=n,a.name_=r,a.equals=i,a.value_=n(t,void 0,r),a}L(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){this.value_,(e=this.prepareNewValue_(e))!==pt.UNCHANGED&&this.setNewValue_(e)},n.prepareNewValue_=function(e){if(on(this)){var t=sn(this,{object:this,type:fn,newValue:e});if(!t)return pt.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?pt.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),ln(this)&&cn(this,{type:fn,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return an(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:fn,newValue:this.value_,oldValue:void 0}),un(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return j(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(H),Xe=function(){function e(e){this.dependenciesState_=Ye.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Ye.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new Ze(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=Je.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||r(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=Fe("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?Y.structural:Y.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){!function(e){e.lowestObserverState_===Ye.UP_TO_DATE_&&(e.lowestObserverState_=Ye.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Ye.UP_TO_DATE_&&(e.dependenciesState_=Ye.POSSIBLY_STALE_,e.onBecomeStale_())})))}(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.get=function(){if(this.isComputing&&r(32,this.name_,this.derivation),0!==pt.inBatch||0!==this.observers_.size||this.keepAlive_){if(bt(this),tt(this)){var e=pt.trackingContext;this.keepAlive_&&!e&&(pt.trackingContext=this),this.trackAndCompute()&&function(e){e.lowestObserverState_!==Ye.STALE_&&(e.lowestObserverState_=Ye.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===Ye.POSSIBLY_STALE_?t.dependenciesState_=Ye.STALE_:t.dependenciesState_===Ye.UP_TO_DATE_&&(e.lowestObserverState_=Ye.UP_TO_DATE_)})))}(this),pt.trackingContext=e}}else tt(this)&&(this.warnAboutUntrackedRead_(),vt(),this.value_=this.computeValue_(!1),yt());var t=this.value_;if(et(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter&&r(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else r(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===Ye.NOT_TRACKING_,n=this.computeValue_(!0),r=t||et(e)||et(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing=!0;var t,n=Ge(!1);if(e)t=nt(this,this.derivation,this.scope_);else if(!0===pt.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new Ze(e)}return He(n),this.isComputing=!1,t},t.suspend_=function(){this.keepAlive_||(rt(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,o=void 0;return function(e,t){var n,r,o,i;void 0===t&&(t=d);var a,s=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(t.scheduler||t.delay){var l=function(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Nt}(t),u=!1;a=new St(s,(function(){u||(u=!0,l((function(){u=!1,a.isDisposed||a.track(c)})))}),t.onError,t.requiresObservable)}else a=new St(s,(function(){this.track(c)}),t.onError,t.requiresObservable);function c(){e(a)}return null!=(o=t)&&null!=(o=o.signal)&&o.aborted||a.schedule_(),a.getDisposer_(null==(i=t)?void 0:i.signal)}((function(){var i=n.get();if(!r||t){var a=it();e({observableKind:"computed",debugObjectName:n.name_,type:fn,object:n,newValue:i,oldValue:o}),at(a)}r=!1,o=i}))},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return j(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},I(e,[{key:"isComputing",get:function(){return R(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=M(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return R(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=M(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return R(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=M(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return R(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=M(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return R(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=M(this.flags_,e.diffValueMask_,1===t)}}])}();Xe.isComputingMask_=1,Xe.isRunningSetterMask_=2,Xe.isBeingObservedMask_=4,Xe.isPendingUnobservationMask_=8,Xe.diffValueMask_=16;var Ye,Je,Qe=k("ComputedValue",Xe);!function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"}(Ye||(Ye={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Je||(Je={}));var Ze=function(e){this.cause=void 0,this.cause=e};function et(e){return e instanceof Ze}function tt(e){switch(e.dependenciesState_){case Ye.UP_TO_DATE_:return!1;case Ye.NOT_TRACKING_:case Ye.STALE_:return!0;case Ye.POSSIBLY_STALE_:for(var t=st(!0),n=it(),r=e.observing_,o=r.length,i=0;i<o;i++){var a=r[i];if(Qe(a)){if(pt.disableErrorBoundaries)a.get();else try{a.get()}catch(e){return at(n),lt(t),!0}if(e.dependenciesState_===Ye.STALE_)return at(n),lt(t),!0}}return ut(e),at(n),lt(t),!1}}function nt(e,t,n){var r=st(!0);ut(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++pt.runId;var o,i=pt.trackingDerivation;if(pt.trackingDerivation=e,pt.inBatch++,!0===pt.disableErrorBoundaries)o=t.call(n);else try{o=t.call(n)}catch(e){o=new Ze(e)}return pt.inBatch--,pt.trackingDerivation=i,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=Ye.UP_TO_DATE_,o=0,i=e.unboundDepsCount_,a=0;a<i;a++){var s=n[a];0===s.diffValue&&(s.diffValue=1,o!==a&&(n[o]=s),o++),s.dependenciesState_>r&&(r=s.dependenciesState_)}for(n.length=o,e.newObserving_=null,i=t.length;i--;){var l=t[i];0===l.diffValue&&gt(l,e),l.diffValue=0}for(;o--;){var u=n[o];1===u.diffValue&&(u.diffValue=0,ht(u,e))}r!==Ye.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),lt(r),o}function rt(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)gt(t[n],e);e.dependenciesState_=Ye.NOT_TRACKING_}function ot(e){var t=it();try{return e()}finally{at(t)}}function it(){var e=pt.trackingDerivation;return pt.trackingDerivation=null,e}function at(e){pt.trackingDerivation=e}function st(e){var t=pt.allowStateReads;return pt.allowStateReads=e,t}function lt(e){pt.allowStateReads=e}function ut(e){if(e.dependenciesState_!==Ye.UP_TO_DATE_){e.dependenciesState_=Ye.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=Ye.UP_TO_DATE_}}var ct=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},dt=!0,ft=!1,pt=function(){var e=i();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(dt=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new ct).version&&(dt=!1),dt?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new ct):(setTimeout((function(){ft||r(35)}),1),new ct)}();function ht(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function gt(e,t){e.observers_.delete(t),0===e.observers_.size&&mt(e)}function mt(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,pt.pendingUnobservations.push(e))}function vt(){pt.inBatch++}function yt(){if(0==--pt.inBatch){kt();for(var e=pt.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation=!1,0===n.observers_.size&&(n.isBeingObserved&&(n.isBeingObserved=!1,n.onBUO()),n instanceof Xe&&n.suspend_())}pt.pendingUnobservations=[]}}function bt(e){var t=pt.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved&&pt.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(0===e.observers_.size&&pt.inBatch>0&&mt(e),!1)}function _t(e){e.lowestObserverState_!==Ye.STALE_&&(e.lowestObserverState_=Ye.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Ye.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=Ye.STALE_})))}var St=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=Ye.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=Je.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled||(this.isScheduled=!0,pt.pendingReactions.push(this),kt())},t.runReaction_=function(){if(!this.isDisposed){vt(),this.isScheduled=!1;var e=pt.trackingContext;if(pt.trackingContext=this,tt(this)){this.isTrackPending=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}pt.trackingContext=e,yt()}},t.track=function(e){if(!this.isDisposed){vt(),this.isRunning=!0;var t=pt.trackingContext;pt.trackingContext=this;var n=nt(this,e,void 0);pt.trackingContext=t,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&rt(this),et(n)&&this.reportExceptionInDerivation_(n.cause),yt()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(pt.disableErrorBoundaries)throw e;var n="[mobx] uncaught error in '"+this+"'";pt.suppressReactionErrors||console.error(n,e),pt.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))}},t.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.isRunning||(vt(),rt(this),yt()))},t.getDisposer_=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[G]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1)},I(e,[{key:"isDisposed",get:function(){return R(this.flags_,e.isDisposedMask_)},set:function(t){this.flags_=M(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){return R(this.flags_,e.isScheduledMask_)},set:function(t){this.flags_=M(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){return R(this.flags_,e.isTrackPendingMask_)},set:function(t){this.flags_=M(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){return R(this.flags_,e.isRunningMask_)},set:function(t){this.flags_=M(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){return R(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=M(this.flags_,e.diffValueMask_,1===t)}}])}();St.isDisposedMask_=1,St.isScheduledMask_=2,St.isTrackPendingMask_=4,St.isRunningMask_=8,St.diffValueMask_=16;var xt=100,wt=function(e){return e()};function kt(){pt.inBatch>0||pt.isRunningReactions||wt(At)}function At(){pt.isRunningReactions=!0;for(var e=pt.pendingReactions,t=0;e.length>0;){++t===xt&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;r<o;r++)n[r].runReaction_()}pt.isRunningReactions=!1}var Ot=k("Reaction",St),Ct="action",Et="autoAction",jt=ee(Ct),Tt=ee("action.bound",{bound:!0}),Pt=ee(Et,{autoAction:!0}),Rt=ee("autoAction.bound",{autoAction:!0,bound:!0});function Mt(e){return function(t,n){return v(t)?Fe(t.name||"<unnamed action>",t,e):v(n)?Fe(t,n,e):U(n)?(e?Pt:jt).decorate_20223_(t,n):y(n)?F(t,n,e?Pt:jt):y(t)?K(ee(e?Et:Ct,{name:t,autoAction:e})):void 0}}var Bt=Mt(!1);Object.assign(Bt,jt);var $t=Mt(!0);function It(e){return v(e)&&!0===e.isMobxAction}Object.assign($t,Pt),Bt.bound=K(Tt),$t.bound=K(Rt);var Nt=function(e){return e()};var Dt="onBO",Lt="onBUO";function Vt(e,t,n){return zt(Lt,e,t,n)}function zt(e,t,n,r){var o="function"==typeof r?Qn(t,n):Qn(t),i=v(r)?r:n,a=e+"L";return o[a]?o[a].add(i):o[a]=new Set([i]),function(){var e=o[a];e&&(e.delete(i),0===e.size&&delete o[a])}}var Wt="never",Kt="always",Ft="observed";function Ut(e){!0===e.isolateGlobalState&&function(){if((pt.pendingReactions.length||pt.inBatch||pt.isRunningReactions)&&r(36),ft=!0,dt){var e=i();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),pt=new ct}}();var t,n,o=e.useProxies,a=e.enforceActions;if(void 0!==o&&(pt.useProxies=o===Kt||o!==Wt&&"undefined"!=typeof Proxy),"ifavailable"===o&&(pt.verifyProxies=!0),void 0!==a){var s=a===Kt?Kt:a===Ft;pt.enforceActions=s,pt.allowStateChanges=!0!==s&&s!==Kt}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach((function(t){t in e&&(pt[t]=!!e[t])})),pt.allowStateReads=!pt.observableRequiresReaction,e.reactionScheduler&&(t=e.reactionScheduler,n=wt,wt=function(e){return t((function(){return n(e)}))})}function Gt(e){var t,n={name:e.name_};return e.observing_&&e.observing_.length>0&&(n.dependencies=(t=e.observing_,Array.from(new Set(t))).map(Gt)),n}var Ht=0;function qt(){this.message="FLOW_CANCELLED"}qt.prototype=Object.create(Error.prototype);var Xt=ie("flow"),Yt=ie("flow.bound",{bound:!0}),Jt=Object.assign((function(e,t){if(U(t))return Xt.decorate_20223_(e,t);if(y(t))return F(e,t,Xt);var n=e,r=n.name||"<unnamed flow>",o=function(){var e,t=arguments,o=++Ht,i=Bt(r+" - runid: "+o+" - init",n).apply(this,t),a=void 0,s=new Promise((function(t,n){var s=0;function l(e){var t;a=void 0;try{t=Bt(r+" - runid: "+o+" - yield "+s++,i.next).call(i,e)}catch(e){return n(e)}c(t)}function u(e){var t;a=void 0;try{t=Bt(r+" - runid: "+o+" - yield "+s++,i.throw).call(i,e)}catch(e){return n(e)}c(t)}function c(e){if(!v(null==e?void 0:e.then))return e.done?t(e.value):(a=Promise.resolve(e.value)).then(l,u);e.then(c,n)}e=n,l(void 0)}));return s.cancel=Bt(r+" - runid: "+o+" - cancel",(function(){try{a&&Qt(a);var t=i.return(void 0),n=Promise.resolve(t.value);n.then(m,m),Qt(n),e(new qt)}catch(t){e(t)}})),s};return o.isMobXFlow=!0,o}),Xt);function Qt(e){v(e.cancel)&&e.cancel()}function Zt(e){return!0===(null==e?void 0:e.isMobXFlow)}function en(e){return function(e,t){return!!e&&(void 0!==t?!!Ln(e)&&e[G].values_.has(t):Ln(e)||!!e[G]||q(e)||Ot(e)||Qe(e))}(e)}function tn(e,t){void 0===t&&(t=void 0),vt();try{return e.apply(t)}finally{yt()}}function nn(e){return e[G]}Jt.bound=K(Yt);var rn={has:function(e,t){return nn(e).has_(t)},get:function(e,t){return nn(e).get_(t)},set:function(e,t,n){var r;return!!y(t)&&(null==(r=nn(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!y(t)&&(null==(n=nn(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return null==(r=nn(e).defineProperty_(t,n))||r},ownKeys:function(e){return nn(e).ownKeys_()},preventExtensions:function(e){r(13)}};function on(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function an(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),g((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function sn(e,t){var n=it();try{for(var o=[].concat(e.interceptors_||[]),i=0,a=o.length;i<a&&((t=o[i](t))&&!t.type&&r(14),t);i++);return t}finally{at(n)}}function ln(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function un(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),g((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function cn(e,t){var n=it(),r=e.changeListeners_;if(r){for(var o=0,i=(r=r.slice()).length;o<i;o++)r[o](t);at(n)}}var dn="splice",fn="update",pn={get:function(e,t){var n=e[G];return t===G?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?T(mn,t)?mn[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[G];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){r(15)}},hn=function(){function e(e,t,n,r){void 0===e&&(e="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=r,this.atom_=new H(e),this.enhancer_=function(e,n){return t(e,n,"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return an(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),un(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&r("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),o=0;o<e-t;o++)n[o]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&r(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&Yn(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var o=this.values_.length;if(void 0===e?e=0:e>o?e=o:e<0&&(e=Math.max(0,o+e)),t=1===arguments.length?o-e:null==t?0:Math.max(0,Math.min(t,o-e)),void 0===n&&(n=c),on(this)){var i=sn(this,{object:this.proxy_,type:dn,index:e,removedCount:t,added:n});if(!i)return c;t=i.removedCount,n=i.added}if(n=0===n.length?n:n.map((function(e){return r.enhancer_(e,void 0)})),this.legacyMode_){var a=n.length-t;this.updateArrayLength_(o,a)}var s=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){var r;if(n.length<1e4)return(r=this.values_).splice.apply(r,[e,t].concat(n));var o=this.values_.slice(e,e+t),i=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var a=0;a<n.length;a++)this.values_[e+a]=n[a];for(var s=0;s<i.length;s++)this.values_[e+n.length+s]=i[s];return o},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,o=ln(this),i=o||r?{observableKind:"array",object:this.proxy_,type:fn,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),o&&cn(this,i)},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,o=ln(this),i=o||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:dn,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),o&&cn(this,i)},t.get_=function(e){if(!(this.legacyMode_&&e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("[mobx] Out of bounds read: "+e)},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&r(17,e,n.length),e<n.length){this.atom_;var o=n[e];if(on(this)){var i=sn(this,{type:fn,object:this.proxy_,index:e,newValue:t});if(!i)return;t=i.newValue}(t=this.enhancer_(t,o))!==o&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,o))}else{for(var a=new Array(e+1-n.length),s=0;s<a.length-1;s++)a[s]=void 0;a[a.length-1]=t,this.spliceWithArray_(n.length,0,a)}},e}();function gn(e,t,n,r){return void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),h(),tr((function(){var o=new hn(n,t,r,!1);w(o.values_,G,o);var i=new Proxy(o.values_,pn);return o.proxy_=i,e&&e.length&&o.spliceWithArray_(0,0,e),i}))}var mn={clear:function(){return this.splice(0)},replace:function(e){var t=this[G];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=this[G];switch(arguments.length){case 0:return[];case 1:return i.spliceWithArray_(e);case 2:return i.spliceWithArray_(e,t)}return i.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[G].spliceWithArray_(e,t,n)},push:function(){for(var e=this[G],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[G].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[G],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return pt.trackingDerivation&&r(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){pt.trackingDerivation&&r(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[G],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function vn(e,t){"function"==typeof Array.prototype[e]&&(mn[e]=t(e))}function yn(e){return function(){var t=this[G];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function bn(e){return function(t,n){var r=this,o=this[G];return o.atom_.reportObserved(),o.dehanceValues_(o.values_)[e]((function(e,o){return t.call(n,e,o,r)}))}}function _n(e){return function(){var t=this,n=this[G];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),o=arguments[0];return arguments[0]=function(e,n,r){return o(e,n,r,t)},r[e].apply(r,arguments)}}vn("at",yn),vn("concat",yn),vn("flat",yn),vn("includes",yn),vn("indexOf",yn),vn("join",yn),vn("lastIndexOf",yn),vn("slice",yn),vn("toString",yn),vn("toLocaleString",yn),vn("toSorted",yn),vn("toSpliced",yn),vn("with",yn),vn("every",bn),vn("filter",bn),vn("find",bn),vn("findIndex",bn),vn("findLast",bn),vn("findLastIndex",bn),vn("flatMap",bn),vn("forEach",bn),vn("map",bn),vn("some",bn),vn("toReversed",bn),vn("reduce",_n),vn("reduceRight",_n);var Sn=k("ObservableArrayAdministration",hn);function xn(e){return b(e)&&Sn(e[G])}var wn={},kn="add",An="delete",On=function(){function e(e,t,n){var o=this;void 0===t&&(t=J),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[G]=wn,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,v(Map)||r(18),tr((function(){o.keysAtom_=X("ObservableMap.keys()"),o.data_=new Map,o.hasMap_=new Map,e&&o.merge(e)}))}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!pt.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new qe(this.has_(e),Q,"ObservableMap.key?",!1);this.hasMap_.set(e,r),Vt(r,(function(){return t.hasMap_.delete(e)}))}return n.get()},t.set=function(e,t){var n=this.has_(e);if(on(this)){var r=sn(this,{type:n?fn:kn,object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if(this.keysAtom_,on(this)&&!sn(this,{type:An,object:this,name:e}))return!1;if(this.has_(e)){var n=ln(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:An,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return tn((function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)})),n&&cn(this,r),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==pt.UNCHANGED){var r=ln(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:fn,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&cn(this,o)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,tn((function(){var r,o=new qe(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,o),t=o.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()}));var r=ln(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:kn,object:this,name:e,newValue:t}:null;r&&cn(this,o)},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return En({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:e.get(o)}}})},t.entries=function(){var e=this,t=this.keys();return En({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:[o,e.get(o)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=N(this);!(n=r()).done;){var o=n.value,i=o[0],a=o[1];e.call(t,a,i,this)}},t.merge=function(e){var t=this;return Cn(e)&&(e=new Map(e)),tn((function(){var n,o,i;_(e)?function(e){var t=Object.keys(e);if(!C)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter((function(t){return u.propertyIsEnumerable.call(e,t)}))):t}(e).forEach((function(n){return t.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){var n=e[0],r=e[1];return t.set(n,r)})):A(e)?(n=e,o=Object.getPrototypeOf(n),i=Object.getPrototypeOf(o),null!==Object.getPrototypeOf(i)&&r(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!=e&&r(20,e)})),this},t.clear=function(){var e=this;tn((function(){ot((function(){for(var t,n=N(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.replace=function(e){var t=this;return tn((function(){for(var n,o=function(e){if(A(e)||Cn(e))return e;if(Array.isArray(e))return new Map(e);if(_(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return r(21,e)}(e),i=new Map,a=!1,s=N(t.data_.keys());!(n=s()).done;){var l=n.value;if(!o.has(l))if(t.delete(l))a=!0;else{var u=t.data_.get(l);i.set(l,u)}}for(var c,d=N(o.entries());!(c=d()).done;){var f=c.value,p=f[0],h=f[1],g=t.data_.has(p);if(t.set(p,h),t.data_.has(p)){var m=t.data_.get(p);i.set(p,m),g||(a=!0)}}if(!a)if(t.data_.size!==i.size)t.keysAtom_.reportChanged();else for(var v=t.data_.keys(),y=i.keys(),b=v.next(),S=y.next();!b.done;){if(b.value!==S.value){t.keysAtom_.reportChanged();break}b=v.next(),S=y.next()}t.data_=i})),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return un(this,e)},t.intercept_=function(e){return an(this,e)},I(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),Cn=k("ObservableMap",On);function En(e){return e[Symbol.toStringTag]="MapIterator",lr(e)}var jn={},Tn=function(){function e(e,t,n){var o=this;void 0===t&&(t=J),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[G]=jn,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,v(Set)||r(22),this.enhancer_=function(e,r){return t(e,r,n)},tr((function(){o.atom_=X(o.name_),e&&o.replace(e)}))}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;tn((function(){ot((function(){for(var t,n=N(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.forEach=function(e,t){for(var n,r=N(this);!(n=r()).done;){var o=n.value;e.call(t,o,o,this)}},t.add=function(e){var t=this;if(this.atom_,on(this)&&!sn(this,{type:kn,object:this,newValue:e}))return this;if(!this.has(e)){tn((function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()}));var n=ln(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:kn,object:this,newValue:e}:null;n&&cn(this,r)}return this},t.delete=function(e){var t=this;if(on(this)&&!sn(this,{type:An,object:this,oldValue:e}))return!1;if(this.has(e)){var n=ln(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:An,object:this,oldValue:e}:null;return tn((function(){t.atom_.reportChanged(),t.data_.delete(e)})),n&&cn(this,r),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return Rn({next:function(){var r=e;return e+=1,r<n.length?{value:[t[r],n[r]],done:!1}:{value:void 0,done:!0}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=0,n=Array.from(this.data_.values());return Rn({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{value:void 0,done:!0}}})},t.intersection=function(e){return O(e)&&!Pn(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return O(e)&&!Pn(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return O(e)&&!Pn(e)?e.symmetricDifference(this):new Set(this).symmetricDifference(e)},t.isSubsetOf=function(e){return new Set(this).isSubsetOf(e)},t.isSupersetOf=function(e){return new Set(this).isSupersetOf(e)},t.isDisjointFrom=function(e){return O(e)&&!Pn(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return Pn(e)&&(e=new Set(e)),tn((function(){Array.isArray(e)||O(e)?(t.clear(),e.forEach((function(e){return t.add(e)}))):null!=e&&r("Cannot initialize set from "+e)})),this},t.observe_=function(e,t){return un(this,e)},t.intercept_=function(e){return an(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[Symbol.iterator]=function(){return this.values()},I(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),Pn=k("ObservableSet",Tn);function Rn(e){return e[Symbol.toStringTag]="SetIterator",lr(e)}var Mn=Object.create(null),Bn="remove",$n=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=be),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=r,this.keysAtom_=new H("ObservableObject.keys"),this.isPlainObject_=_(this.target_)}var t=e.prototype;return t.getObservablePropValue_=function(e){return this.values_.get(e).get()},t.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof Xe)return n.set(t),!0;if(on(this)){var r=sn(this,{type:fn,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==pt.UNCHANGED){var o=ln(this),i=o?{type:fn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),o&&cn(this,i)}return!0},t.get_=function(e){return pt.trackingDerivation&&!T(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),T(this.target_,e)?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},t.has_=function(e){if(!pt.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new qe(e in this.target_,Q,"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(!(e in this.target_)){var n;if(null!=(n=this.target_[W])&&n[e])return;r(1,t.annotationType_,this.name_+"."+e.toString())}for(var o=this.target_;o&&o!==u;){var i=s(o,e);if(i){var a=t.make_(this,e,i,o);if(0===a)return;if(1===a)break}o=Object.getPrototypeOf(o)}Vn(this,0,e)}},t.extend_=function(e,t,n,r){if(void 0===r&&(r=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,r);var o=n.extend_(this,e,t,r);return o&&Vn(this,0,e),o},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{vt();var r=this.delete_(e);if(!r)return r;if(on(this)){var o=sn(this,{object:this.proxy_||this.target_,name:e,type:kn,newValue:t.value});if(!o)return null;var i=o.newValue;t.value!==i&&(t=D({},t,{value:i}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else l(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{yt()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),this.keysAtom_;try{vt();var o=this.delete_(e);if(!o)return o;if(on(this)){var i=sn(this,{object:this.proxy_||this.target_,name:e,type:kn,newValue:t});if(!i)return null;t=i.newValue}var a=Dn(e),s={configurable:!pt.safeDescriptors||this.isPlainObject_,enumerable:!0,get:a.get,set:a.set};if(r){if(!Reflect.defineProperty(this.target_,e,s))return!1}else l(this.target_,e,s);var u=new qe(t,n,"ObservableObject.key",!1);this.values_.set(e,u),this.notifyPropertyAddition_(e,u.value_)}finally{yt()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{vt();var r=this.delete_(e);if(!r)return r;if(on(this)&&!sn(this,{object:this.proxy_||this.target_,name:e,type:kn,newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var o=Dn(e),i={configurable:!pt.safeDescriptors||this.isPlainObject_,enumerable:!1,get:o.get,set:o.set};if(n){if(!Reflect.defineProperty(this.target_,e,i))return!1}else l(this.target_,e,i);this.values_.set(e,new Xe(t)),this.notifyPropertyAddition_(e,void 0)}finally{yt()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),this.keysAtom_,!T(this.target_,e))return!0;if(on(this)&&!sn(this,{object:this.proxy_||this.target_,name:e,type:Bn}))return null;try{var n;vt();var r,o=ln(this),i=this.values_.get(e),a=void 0;if(!i&&o&&(a=null==(r=s(this.target_,e))?void 0:r.value),t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(i&&(this.values_.delete(e),i instanceof qe&&(a=i.value_),_t(i)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),o){var l={type:Bn,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:a,name:e};o&&cn(this,l)}}finally{yt()}return!0},t.observe_=function(e,t){return un(this,e)},t.intercept_=function(e){return an(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r=ln(this);if(r){var o=r?{type:kn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;r&&cn(this,o)}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),E(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function In(e,t){var n;if(T(e,G))return e;var r=null!=(n=null==t?void 0:t.name)?n:"ObservableObject",o=new $n(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:_e(e):void 0}(t));return x(e,G,o),e}var Nn=k("ObservableObjectAdministration",$n);function Dn(e){return Mn[e]||(Mn[e]={get:function(){return this[G].getObservablePropValue_(e)},set:function(t){return this[G].setObservablePropValue_(e,t)}})}function Ln(e){return!!b(e)&&Nn(e[G])}function Vn(e,t,n){var r;null==(r=e.target_[W])||delete r[n]}var zn,Wn,Kn=qn(0),Fn=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),Un=0,Gn=function(){};zn=Gn,Wn=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(zn.prototype,Wn):void 0!==zn.prototype.__proto__?zn.prototype.__proto__=Wn:zn.prototype=Wn;var Hn=function(e){function t(t,n,r,o){var i;return void 0===r&&(r="ObservableArray"),void 0===o&&(o=!1),i=e.call(this)||this,tr((function(){var e=new hn(r,n,o,!0);e.proxy_=i,w(i,G,e),t&&t.length&&i.spliceWithArray(0,0,t),Fn&&Object.defineProperty(i,"0",Kn)})),i}L(t,e);var n=t.prototype;return n.concat=function(){this[G].atom_.reportObserved();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map((function(e){return xn(e)?e.slice():e})))},n[Symbol.iterator]=function(){var e=this,t=0;return lr({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},I(t,[{key:"length",get:function(){return this[G].getArrayLength_()},set:function(e){this[G].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(Gn);function qn(e){return{enumerable:!1,configurable:!0,get:function(){return this[G].get_(e)},set:function(t){this[G].set_(e,t)}}}function Xn(e){l(Hn.prototype,""+e,qn(e))}function Yn(e){if(e>Un){for(var t=Un;t<e+100;t++)Xn(t);Un=e}}function Jn(e,t,n){return new Hn(e,t,n)}function Qn(e,t){if("object"==typeof e&&null!==e){if(xn(e))return void 0!==t&&r(23),e[G].atom_;if(Pn(e))return e.atom_;if(Cn(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||r(25,t,er(e)),n}if(Ln(e)){if(!t)return r(26);var o=e[G].values_.get(t);return o||r(27,t,er(e)),o}if(q(e)||Qe(e)||Ot(e))return e}else if(v(e)&&Ot(e[G]))return e[G];r(28)}function Zn(e,t){return e||r(29),void 0!==t?Zn(Qn(e,t)):q(e)||Qe(e)||Ot(e)||Cn(e)||Pn(e)?e:e[G]?e[G]:void r(24,e)}function er(e,t){var n;if(void 0!==t)n=Qn(e,t);else{if(It(e))return e.name;n=Ln(e)||Cn(e)||Pn(e)?Zn(e):Qn(e)}return n.name_}function tr(e){var t=it(),n=Ge(!0);vt();try{return e()}finally{yt(),He(n),at(t)}}Object.entries(mn).forEach((function(e){var t=e[0],n=e[1];"concat"!==t&&x(Hn.prototype,t,n)})),Yn(1e3);var nr,rr=u.toString;function or(e,t,n){return void 0===n&&(n=-1),ir(e,t,n)}function ir(e,t,n,r,o){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var i=typeof e;if("function"!==i&&"object"!==i&&"object"!=typeof t)return!1;var a=rr.call(e);if(a!==rr.call(t))return!1;switch(a){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":n>=0&&n++}e=ar(e),t=ar(t);var s="[object Array]"===a;if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var l=e.constructor,u=t.constructor;if(l!==u&&!(v(l)&&l instanceof l&&v(u)&&u instanceof u)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),o=o||[];for(var c=(r=r||[]).length;c--;)if(r[c]===e)return o[c]===t;if(r.push(e),o.push(t),s){if((c=e.length)!==t.length)return!1;for(;c--;)if(!ir(e[c],t[c],n-1,r,o))return!1}else{var d,f=Object.keys(e);if(c=f.length,Object.keys(t).length!==c)return!1;for(;c--;)if(!T(t,d=f[c])||!ir(e[d],t[d],n-1,r,o))return!1}return r.pop(),o.pop(),!0}function ar(e){return xn(e)?e.slice():A(e)||Cn(e)||O(e)||Pn(e)?Array.from(e.entries()):e}var sr=(null==(nr=i().Iterator)?void 0:nr.prototype)||{};function lr(e){return e[Symbol.iterator]=ur,Object.assign(Object.create(sr),e)}function ur(){return this}["Symbol","Map","Set"].forEach((function(e){void 0===i()[e]&&r("MobX requires global '"+e+"' to be available or polyfilled")})),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:er},$mobx:G});var cr=n(4953),dr=n.n(cr);if(!cr.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!function(e,t,n){return tr((function(){var r=In(e,n)[G];null!=t||(t=function(e){return T(e,W)||x(e,W,D({},e[W])),e[W]}(e)),E(t).forEach((function(e){return r.make_(e,t[e])}))})),e})throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");const fr=require("react-dom");function pr(e){e()}function hr(e){e||(e=pr),Ut({reactionScheduler:e})}var gr=function(){return!0};function mr(e){return Gt(Qn(e,t));var t}var vr=!1;function yr(e){vr=e}function br(){return vr}var _r,Sr,xr=function(){function e(e){var t=this;Object.defineProperty(this,"finalize",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"registrations",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"sweepTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sweep",{enumerable:!0,configurable:!0,writable:!0,value:function(e){void 0===e&&(e=1e4),clearTimeout(t.sweepTimeout),t.sweepTimeout=void 0;var n=Date.now();t.registrations.forEach((function(r,o){n-r.registeredAt>=e&&(t.finalize(r.value),t.registrations.delete(o))})),t.registrations.size>0&&t.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){t.sweep(0)}})}return Object.defineProperty(e.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){this.registrations.set(n,{value:t,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.registrations.delete(e)}}),Object.defineProperty(e.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){void 0===this.sweepTimeout&&(this.sweepTimeout=setTimeout(this.sweep,1e4))}}),e}(),wr=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:xr)((function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null})),kr=n(3634);function Ar(e){e.reaction=new St("observer".concat(e.name),(function(){var t;e.stateVersion=Symbol(),null===(t=e.onStoreChange)||void 0===t||t.call(e)}))}function Or(e,t){if(void 0===t&&(t="observed"),br())return e();var n=dr().useRef(null);if(!n.current){var r={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(e){return wr.unregister(r),r.onStoreChange=e,r.reaction||(Ar(r),r.stateVersion=Symbol()),function(){var e;r.onStoreChange=null,null===(e=r.reaction)||void 0===e||e.dispose(),r.reaction=null}},getSnapshot:function(){return r.stateVersion}};n.current=r}var o,i,a=n.current;if(a.reaction||(Ar(a),wr.register(n,a,a)),dr().useDebugValue(a.reaction,mr),(0,kr.useSyncExternalStore)(a.subscribe,a.getSnapshot,a.getSnapshot),a.reaction.track((function(){try{o=e()}catch(e){i=e}})),i)throw i;return o}var Cr="function"==typeof Symbol&&Symbol.for,Er=null!==(Sr=null===(_r=Object.getOwnPropertyDescriptor((function(){}),"name"))||void 0===_r?void 0:_r.configurable)&&void 0!==Sr&&Sr,jr=Cr?Symbol.for("react.forward_ref"):"function"==typeof cr.forwardRef&&(0,cr.forwardRef)((function(e){return null})).$$typeof,Tr=Cr?Symbol.for("react.memo"):"function"==typeof cr.memo&&(0,cr.memo)((function(e){return null})).$$typeof;function Pr(e,t){var n;if(Tr&&e.$$typeof===Tr)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");if(br())return e;var r=null!==(n=null==t?void 0:t.forwardRef)&&void 0!==n&&n,o=e,i=e.displayName||e.name;if(jr&&e.$$typeof===jr&&(r=!0,"function"!=typeof(o=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var a,s,l=function(e,t){return Or((function(){return o(e,t)}),i)};return l.displayName=e.displayName,Er&&Object.defineProperty(l,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(l.contextTypes=e.contextTypes),r&&(l=(0,cr.forwardRef)(l)),l=(0,cr.memo)(l),a=e,s=l,Object.keys(a).forEach((function(e){Mr[e]||Object.defineProperty(s,e,Object.getOwnPropertyDescriptor(a,e))})),l}var Rr,Mr={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function Br(e){var t=e.children,n=e.render;t&&n&&console.error("MobX Observer: Do not use children and render in the same time in `Observer`");var r=t||n;return"function"!=typeof r?null:Or(r)}function $r(e,t){return(0,cr.useState)((function(){return $e(e(),t,{autoBind:!0})}))[0]}function Ir(e){var t=(0,cr.useState)((function(){return $e(e,{},{deep:!1})}))[0];return function(e){Ue(0,!1,e,this,void 0)}((function(){Object.assign(t,e)})),t}function Nr(e,t){var n=t&&Ir(t);return(0,cr.useState)((function(){return $e(e(n),void 0,{autoBind:!0})}))[0]}Br.displayName="Observer",hr(fr.unstable_batchedUpdates);var Dr=null!==(Rr=wr.finalizeAllImmediately)&&void 0!==Rr?Rr:function(){};function Lr(e,t){return void 0===t&&(t="observed"),Or(e,t)}function Vr(e){yr(e)}},9094:(e,t,n)=>{"use strict";var r=n(4953),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,i={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:u,ref:c,props:i,_owner:s.current}}t.Fragment=i,t.jsx=u,t.jsxs=u},6870:(e,t,n)=>{"use strict";e.exports=n(9094)},9031:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(7478),o=n.n(r),i=n(7135),a=n.n(i),s=n(1301),l=n.n(s),u=n(9222),c=n.n(u),d=n(6626),f=n.n(d),p=n(8279),h=n.n(p),g=n(4178),m={};m.styleTagTransform=h(),m.setAttributes=c(),m.insert=l().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=f(),o()(g.A,m);const v=g.A&&g.A.locals?g.A.locals:void 0},7478:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},a=[],s=0;s<e.length;s++){var l=e[s],u=r.base?l[0]+r.base:l[0],c=i[u]||0,d="".concat(u," ").concat(c);i[u]=c+1;var f=n(d),p={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(p);else{var h=o(p,r);r.byIndex=s,t.splice(s,0,{identifier:d,updater:h,references:1})}a.push(d)}return a}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=n(i[a]);t[s].references--}for(var l=r(e,o),u=0;u<i.length;u++){var c=n(i[u]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}i=l}}},1301:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},6626:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},9222:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7135:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},8279:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},8319:(e,t,n)=>{"use strict";var r=n(4953),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,c=r[1];return s((function(){o.value=n,o.getSnapshot=t,u(o)&&c({inst:o})}),[e,n,t]),a((function(){return u(o)&&c({inst:o}),e((function(){u(o)&&c({inst:o})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},3634:(e,t,n)=>{"use strict";e.exports=n(8319)},2159:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=i(n(4953));n(9031);const l=n(1085),u=a(n(321)),c=a(n(2968)),d=a(n(6866)),f=a(n(9513)),p=a(n(6006));t.default=function(e){const[t,n]=(0,s.useState)(!1),[r,o]=(0,s.useState)(!0),[i,a]=(0,s.useState)(null),[h,g]=(0,s.useState)(null),{currentTask:m,audioRef:v,toggleHold:y,toggleRecording:b,endCall:_,wrapupCall:S,wrapupCodes:x,wrapupRequired:w}=e;return(0,s.useEffect)((()=>{if(!m||!m.data||!m.data.interaction)return;const{interaction:e,mediaResourceId:t}=m.data,{media:r,callProcessingDetails:i}=e,a=r&&r[t]&&r[t].isHold;if(n(a),i){const{isPaused:e}=i;o(!e)}}),[m]),s.default.createElement(s.default.Fragment,null,s.default.createElement("audio",{ref:v,id:"remote-audio",autoPlay:!0}),m&&s.default.createElement(l.Box,{sx:{p:2}},!w&&s.default.createElement(l.Box,{sx:{display:"flex",gap:2}},!t&&s.default.createElement(l.IconButton,{onClick:_,sx:{width:56,height:40,backgroundColor:"#D3381C",color:"white",borderRadius:1,boxShadow:1,":hover":{backgroundColor:"#B03018"}}},s.default.createElement(d.default,null)),s.default.createElement(l.IconButton,{onClick:()=>{y(!t),n(!t)},sx:{width:56,height:40,backgroundColor:"#EDEDED",color:"black",borderRadius:1,boxShadow:1,":hover":{backgroundColor:"#D3D3D3"}}},t?s.default.createElement(c.default,null):s.default.createElement(u.default,null)),s.default.createElement(l.IconButton,{onClick:()=>{b(r),o(!r)},sx:{width:56,height:40,backgroundColor:"#EDEDED",color:r?"red":"black",borderRadius:1,boxShadow:1,":hover":{backgroundColor:"#D3D3D3"}}},s.default.createElement(p.default,null))),w&&s.default.createElement(l.Box,{sx:{display:"flex",gap:2,alignItems:"center"}},s.default.createElement(l.TextField,{select:!0,label:"Wrap-Up Reason",variant:"standard",value:h||"",onChange:e=>{const t=e.target.value,n=x.find((e=>e.id===t));n&&(a(n.name),g(t))},fullWidth:!0,sx:{color:"black",height:40}},x.map((e=>s.default.createElement(l.MenuItem,{key:e.id,value:e.id},e.name)))),s.default.createElement(l.IconButton,{onClick:()=>{i&&h&&(S(i,h),a(""),g(null))},disabled:!i,sx:Object.assign({width:40,height:40,backgroundColor:"#227AA3",color:"white",borderRadius:"4px",boxShadow:1,":hover":{backgroundColor:"#1E698F",cursor:i?"pointer":"not-allowed",color:i?"white":"gray"}},null===i&&{backgroundColor:"#227AA3",color:"white"})},s.default.createElement(f.default,null)))))}},6681:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CallControl=void 0;const o=r(n(4953)),i=n(9062),a=r(n(5768)),s=n(2306),l=r(n(2159)),u=(0,i.observer)((({onHoldResume:e,onEnd:t,onWrapUp:n})=>{const{logger:r,currentTask:i,wrapupCodes:u,wrapupRequired:c}=a.default,d=(0,s.useCallControl)({currentTask:i,onHoldResume:e,onEnd:t,onWrapUp:n,logger:r});return o.default.createElement(l.default,Object.assign({},d,{wrapupRequired:c,wrapupCodes:u}))}));t.CallControl=u},869:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(4953)),i=r(n(1307)),a={box:{backgroundColor:"#ffffff",borderRadius:"8px",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)",padding:"20px",maxWidth:"800px",margin:"0 auto"},sectionBox:{padding:"10px",border:"1px solid #ddd",borderRadius:"8px",marginBottom:"20px"},fieldset:{border:"1px solid #ccc",borderRadius:"5px",padding:"10px",marginBottom:"20px",position:"relative"},legendBox:{fontWeight:"bold",color:"#0052bf"},container:{border:"1px solid #ccc",borderRadius:"8px",padding:"16px",width:"350px",boxShadow:"0px 4px 8px rgba(0, 0, 0, 0.2)",fontFamily:"Arial, sans-serif",backgroundColor:"#ffffff",display:"flex",flexDirection:"column"},topSection:{display:"flex",justifyContent:"space-between",alignItems:"center"},iconWrapper:{display:"inline-block",backgroundColor:"#d4f8e8",borderRadius:"50%",width:"40px",height:"40px",justifyContent:"center",alignItems:"center",marginRight:"10px"},iconSvg:{width:"24px",height:"24px",color:"#146f5c"},callInfo:{margin:0,fontSize:"1.2em",color:"#333"},aniText:{fontSize:"1.1em",fontWeight:"bold",margin:"4px 0",color:"#146f5c"},buttonsWrapper:{display:"flex",flexDirection:"column",alignItems:"flex-end",marginLeft:"16px"},answerButton:{padding:"8px 16px",border:"none",borderRadius:"6px",fontSize:"0.9em",cursor:"pointer",fontWeight:"bold",backgroundColor:"#28a745",color:"#fff",marginBottom:"8px"},declineButton:{padding:"8px 16px",border:"none",borderRadius:"6px",fontSize:"0.9em",cursor:"pointer",fontWeight:"bold",backgroundColor:"#dc3545",color:"#fff"},queueInfo:{fontSize:"0.9em",color:"#666",marginTop:"8px"},timeElapsed:{color:"#28a745",fontWeight:"bold"},callDetails:{marginTop:"16px",fontSize:"0.9em",color:"#333"},detailItem:{margin:"4px 0"},detailLabel:{color:"#555",fontWeight:"bold"}};t.default=e=>{const{incomingTask:t,accept:n,decline:r,isBrowser:s}=e;if(!t)return o.default.createElement(o.default.Fragment,null);const l=t.data.interaction.callAssociatedDetails,{ani:u,dn:c,virtualTeamName:d}=l;return o.default.createElement("div",{style:a.box},o.default.createElement("section",{style:a.sectionBox},o.default.createElement("fieldset",{style:a.fieldset},o.default.createElement("legend",{style:a.legendBox},"Incoming Task"),o.default.createElement(i.default,{variant:"contained"},"Test Button"),o.default.createElement("div",{"data-testid":"incoming-task-presentational",style:a.container},o.default.createElement("div",{style:a.topSection},o.default.createElement("div",{style:{display:"flex",alignItems:"center"}},o.default.createElement("span",{style:a.iconWrapper},o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:a.iconSvg},o.default.createElement("path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.86 19.86 0 0 1-8.63-2.73 19.5 19.5 0 0 1-6-6A19.86 19.86 0 0 1 3.08 4.18 2 2 0 0 1 5 2h3a2 2 0 0 1 2 1.72c.2 1.52.71 2.94 1.41 4.24a2 2 0 0 1-.45 2.31L9.91 11a16 16 0 0 0 6 6l1.73-1.05a2 2 0 0 1 2.31-.45 16.11 16.11 0 0 0 4.24 1.41A2 2 0 0 1 22 16.92z"}))),o.default.createElement("div",null,o.default.createElement("h2",{style:a.callInfo},"Incoming Call"),o.default.createElement("p",{"data-testid":"incoming-task-ani",style:a.aniText},u))),s&&o.default.createElement("div",{style:a.buttonsWrapper},o.default.createElement("button",{style:a.answerButton,onClick:n},"Answer"),o.default.createElement("button",{style:a.declineButton,onClick:r},"Decline"))),o.default.createElement("p",{style:a.queueInfo},d," - ",o.default.createElement("span",{style:a.timeElapsed},"")),o.default.createElement("div",{style:a.callDetails},o.default.createElement("p",{style:a.detailItem},o.default.createElement("strong",{style:a.detailLabel},"Phone Number:")," ",u),o.default.createElement("p",{style:a.detailItem},o.default.createElement("strong",{style:a.detailLabel},"DNIS:")," ",c),o.default.createElement("p",{style:a.detailItem},o.default.createElement("strong",{style:a.detailLabel},"Queue Name:")," ",d))))))}},4360:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.IncomingTask=void 0;const o=r(n(4953)),i=n(9062),a=r(n(5768)),s=n(2306),l=r(n(869)),u=(0,i.observer)((({onAccepted:e,onDeclined:t})=>{const{cc:n,deviceType:r,incomingTask:i,logger:u}=a.default,c=(0,s.useIncomingTask)({cc:n,incomingTask:i,onAccepted:e,onDeclined:t,deviceType:r,logger:u}),d=Object.assign({},c);return o.default.createElement(l.default,Object.assign({},d))}));t.IncomingTask=u},196:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TaskList=void 0;const o=r(n(4953)),i=r(n(5768)),a=n(9062),s=r(n(1859)),l=n(2306),u=(0,a.observer)((()=>{const{cc:e,taskList:t,currentTask:n,deviceType:r,logger:a}=i.default,u=(0,l.useTaskList)({cc:e,deviceType:r,logger:a,taskList:t}),c=Object.assign(Object.assign({},u),{currentTask:n});return o.default.createElement(s.default,Object.assign({},c))}));t.TaskList=u},1859:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(4953)),i=n(1085),a=r(n(3243)),s=r(n(6866));t.default=e=>{const{currentTask:t,taskList:n,acceptTask:r,declineTask:l,isBrowser:u}=e;return n.length<=0?null:o.default.createElement(i.Box,{sx:{maxWidth:800,margin:"0 auto",p:3}},n.map(((e,n)=>{const c=e.data.interaction.callAssociatedDetails,{ani:d,virtualTeamName:f}=c;return o.default.createElement(i.Box,{key:n,sx:{display:"flex",alignItems:"center",justifyContent:"space-between",p:1.5,mb:2}},o.default.createElement(i.Box,{sx:{display:"flex",alignItems:"center",gap:1}},o.default.createElement(i.Box,null,o.default.createElement(i.Typography,{variant:"body1",sx:{fontWeight:"bold"}},d),o.default.createElement(i.Typography,{variant:"body2",sx:{color:"text.secondary"}},f))),!t&&o.default.createElement(i.Box,null,u?o.default.createElement(i.Box,{sx:{display:"flex",gap:1}},o.default.createElement(i.IconButton,{color:"success",onClick:()=>r(e)},o.default.createElement(a.default,null)),o.default.createElement(i.IconButton,{color:"error",onClick:()=>l(e)},o.default.createElement(s.default,null))):null))})))}},2306:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useCallControl=t.useIncomingTask=t.useTaskList=void 0;const o=n(4953),i=r(n(5768)),a=n(3088);t.useTaskList=e=>{const{deviceType:t,onTaskAccepted:n,onTaskDeclined:r,logger:o,taskList:i}=e,a=(e,t)=>{o.error(e,{module:"widget-cc-task#helper.ts",method:`useTaskList#${t}`})};return{taskList:i,acceptTask:e=>{const t=null==e?void 0:e.data.interactionId;t&&e.accept(t).then((()=>{n&&n(e)})).catch((e=>{a(`Error accepting task: ${e}`,"acceptTask")}))},declineTask:e=>{const t=null==e?void 0:e.data.interactionId;t&&e.decline(t).then((()=>{r&&r(e)})).catch((e=>{a(`Error declining task: ${e}`,"declineTask")}))},isBrowser:"BROWSER"===t}},t.useIncomingTask=e=>{const{cc:t,onAccepted:n,onDeclined:r,deviceType:o,incomingTask:i,logger:a}=e,s=(e,t)=>{a.error(e,{module:"widget-cc-task#helper.ts",method:`useIncomingTask#${t}`})};return{incomingTask:i,accept:()=>{const e=null==i?void 0:i.data.interactionId;e&&i.accept(e).then((()=>{n&&n()})).catch((e=>{s(`Error accepting incoming task: ${e}`,"accept")}))},decline:()=>{const e=null==i?void 0:i.data.interactionId;e&&i.decline(e).then((()=>{r&&r()})).catch((e=>{s(`Error declining incoming task: ${e}`,"decline")}))},isBrowser:"BROWSER"===o}},t.useCallControl=e=>{const{currentTask:t,onHoldResume:n,onEnd:r,onWrapUp:s,logger:l}=e,u=(0,o.useRef)(null),c=(e,t)=>{l.error(e,{module:"widget-cc-task#helper.ts",method:`useCallControl#${t}`})},d=(0,o.useCallback)((e=>{u.current&&(u.current.srcObject=new MediaStream([e]))}),[u,t]);return(0,o.useEffect)((()=>{if(t)return t.on(a.TASK_EVENTS.TASK_MEDIA,d),i.default.setCustomStatus("ENGAGED"),()=>{t.off(a.TASK_EVENTS.TASK_MEDIA,d),i.default.setCustomStatus("")}}),[t]),{currentTask:t,audioRef:u,endCall:()=>{t.end().then((()=>{r&&r()})).catch((e=>{c(`Error ending call: ${e}`,"endCall")}))},toggleHold:e=>{e?t.hold().then((()=>n&&n())).catch((e=>{c(`Error holding call: ${e}`,"toggleHold")})):t.resume().then((()=>n&&n())).catch((e=>{c(`Error resuming call: ${e}`,"toggleHold")}))},toggleRecording:e=>{e?t.pauseRecording().catch((e=>{c(`Error pausing recording: ${e}`,"toggleRecording")})):t.resumeRecording().catch((e=>{c(`Error resuming recording: ${e}`,"toggleRecording")}))},wrapupCall:(e,n)=>{t.wrapup({wrapUpReason:e,auxCodeId:n}).then((()=>{s&&s({wrapUpReason:e,task:null==t?void 0:t.data}),i.default.handleTaskRemove(t.data.interactionId)})).catch((e=>{c(`Error wrapping up call: ${e}`,"wrapupCall")}))}}}},3088:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.TASK_EVENTS=void 0,function(e){e.TASK_INCOMING="task:incoming",e.TASK_ASSIGNED="task:assigned",e.TASK_MEDIA="task:media",e.TASK_HOLD="task:hold",e.TASK_UNHOLD="task:unhold",e.TASK_CONSULT="task:consult",e.TASK_CONSULT_END="task:consultEnd",e.TASK_CONSULT_ACCEPT="task:consultAccepted",e.TASK_PAUSE="task:pause",e.TASK_RESUME="task:resume",e.TASK_END="task:end",e.TASK_WRAPUP="task:wrapup"}(n||(t.TASK_EVENTS=n={}))},1007:e=>{"use strict";e.exports=require("@emotion/react")},1085:e=>{"use strict";e.exports=require("@mui/material")},5768:e=>{"use strict";e.exports=require("@webex/cc-store")},4953:e=>{"use strict";e.exports=require("react")},9428:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},7064:(e,t,n)=>{"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}n.d(t,{A:()=>o});const o=function(){for(var e,t,n=0,o="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var r={};(()=>{"use strict";var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.CallControl=e.TaskList=e.IncomingTask=void 0;const t=n(4360);Object.defineProperty(e,"IncomingTask",{enumerable:!0,get:function(){return t.IncomingTask}});const o=n(196);Object.defineProperty(e,"TaskList",{enumerable:!0,get:function(){return o.TaskList}});const i=n(6681);Object.defineProperty(e,"CallControl",{enumerable:!0,get:function(){return i.CallControl}})})(),module.exports=r})();
102
+ `:null,ee=(0,d.Ay)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${(0,H.A)(n.color)}`]]}})((0,f.A)((({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:Q||{animation:`${Y} 1.4s linear infinite`}},...Object.entries(e.palette).filter(q()).map((([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})))]})))),te=(0,d.Ay)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),ne=(0,d.Ay)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${(0,H.A)(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})((0,f.A)((({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink,style:Z||{animation:`${J} 1.4s ease-in-out infinite`}}]})))),re=r.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiCircularProgress"}),{className:r,color:o="primary",disableShrink:a=!1,size:l=40,style:u,thickness:c=3.6,value:d=0,variant:f="indeterminate",...h}=n,g={...n,color:o,disableShrink:a,size:l,thickness:c,value:d,variant:f},m=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,i={root:["root",n,`color${(0,H.A)(r)}`],svg:["svg"],circle:["circle",`circle${(0,H.A)(n)}`,o&&"circleDisableShrink"]};return(0,s.A)(i,X,t)})(g),v={},y={},b={};if("determinate"===f){const e=2*Math.PI*((44-c)/2);v.strokeDasharray=e.toFixed(3),b["aria-valuenow"]=Math.round(d),v.strokeDashoffset=`${((100-d)/100*e).toFixed(3)}px`,y.transform="rotate(-90deg)"}return(0,R.jsx)(ee,{className:(0,i.A)(m.root,r),style:{width:l,height:l,...y,...u},ownerState:g,ref:t,role:"progressbar",...b,...h,children:(0,R.jsx)(te,{className:m.svg,ownerState:g,viewBox:"22 22 44 44",children:(0,R.jsx)(ne,{className:m.circle,style:v,ownerState:g,cx:44,cy:44,r:(44-c)/2,fill:"none",strokeWidth:c})})})}));function oe(e){return(0,z.Ay)("MuiButton",e)}const ie=(0,M.A)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),ae=r.createContext({}),se=r.createContext(void 0),le=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],ue=(0,d.Ay)(G,{shouldForwardProp:e=>(0,c.A)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${(0,H.A)(n.color)}`],t[`size${(0,H.A)(n.size)}`],t[`${n.variant}Size${(0,H.A)(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})((0,f.A)((({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],n="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${ie.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${ie.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${ie.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${ie.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(q()).map((([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.5)`:(0,l.X4)(e.palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette[t].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette[t].main,e.palette.action.hoverOpacity)}}}}))),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${ie.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${ie.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${ie.loading}`]:{color:"transparent"}}}]}}))),ce=(0,d.Ay)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${(0,H.A)(n.size)}`]]}})((({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...le]}))),de=(0,d.Ay)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${(0,H.A)(n.size)}`]]}})((({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...le]}))),fe=(0,d.Ay)("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})((({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]}))),pe=(0,d.Ay)("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(e,t)=>t.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),he=r.forwardRef((function(e,t){const n=r.useContext(ae),o=r.useContext(se),l=(0,a.A)(n,e),c=(0,p.b)({props:l,name:"MuiButton"}),{children:d,color:f="primary",component:h="button",className:g,disabled:m=!1,disableElevation:v=!1,disableFocusRipple:y=!1,endIcon:b,focusVisibleClassName:_,fullWidth:S=!1,id:x,loading:w=null,loadingIndicator:k,loadingPosition:A="center",size:O="medium",startIcon:C,type:E,variant:j="text",...T}=c,P=(0,u.A)(x),M=k??(0,R.jsx)(re,{"aria-labelledby":P,color:"inherit",size:16}),B={...c,color:f,component:h,disabled:m,disableElevation:v,disableFocusRipple:y,fullWidth:S,loading:w,loadingIndicator:M,loadingPosition:A,size:O,type:E,variant:j},$=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,loading:a,loadingPosition:l,classes:u}=e,c={root:["root",a&&"loading",i,`${i}${(0,H.A)(t)}`,`size${(0,H.A)(o)}`,`${i}Size${(0,H.A)(o)}`,`color${(0,H.A)(t)}`,n&&"disableElevation",r&&"fullWidth",a&&`loadingPosition${(0,H.A)(l)}`],startIcon:["icon","startIcon",`iconSize${(0,H.A)(o)}`],endIcon:["icon","endIcon",`iconSize${(0,H.A)(o)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},d=(0,s.A)(c,oe,u);return{...u,...d}})(B),I=(C||w&&"start"===A)&&(0,R.jsx)(ce,{className:$.startIcon,ownerState:B,children:C||(0,R.jsx)(pe,{className:$.loadingIconPlaceholder,ownerState:B})}),N=(b||w&&"end"===A)&&(0,R.jsx)(de,{className:$.endIcon,ownerState:B,children:b||(0,R.jsx)(pe,{className:$.loadingIconPlaceholder,ownerState:B})}),D=o||"",L="boolean"==typeof w?(0,R.jsx)("span",{className:$.loadingWrapper,style:{display:"contents"},children:w&&(0,R.jsx)(fe,{className:$.loadingIndicator,ownerState:B,children:M})}):null;return(0,R.jsxs)(ue,{ownerState:B,className:(0,i.A)(n.className,$.root,g,D),component:h,disabled:m||w,focusRipple:!y,focusVisibleClassName:(0,i.A)($.focusVisible,_),ref:t,type:E,id:P,...T,classes:$,children:[I,"end"!==A&&L,d,"end"===A&&L,N]})}))},8033:(e,t,n)=>{"use strict";n.d(t,{b:()=>a});var r=n(4953),o=n(4441);n(6870);const i=r.createContext(void 0);function a(e){return function({props:e,name:t}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const i=t.components[n];return i.defaultProps?(0,o.A)(i.defaultProps,r):i.styleOverrides||i.variants?r:(0,o.A)(i,r)}({props:e,name:t,theme:{components:r.useContext(i)}})}(e)}},1257:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e},7273:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>Dt});var r=n(2455),o=n(4953),i=n(7436);function a(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function s(e){if(o.isValidElement(e)||(0,i.Hy)(e)||!a(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=s(e[n])})),t}function l(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return a(e)&&a(t)&&Object.keys(t).forEach((u=>{o.isValidElement(t[u])||(0,i.Hy)(t[u])?r[u]=t[u]:a(t[u])&&Object.prototype.hasOwnProperty.call(e,u)&&a(e[u])?r[u]=l(e[u],t[u],n):n.clone?r[u]=a(t[u])?s(t[u]):t[u]:r[u]=t[u]})),r}function u(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,i=(e=>{const 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})),{})})(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function u(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-r/100}${n})`}return{keys:a,values:i,up:s,down:l,between:u,only:function(e){return a.indexOf(e)+1<a.length?u(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):u(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n,...o}}const c={borderRadius:4},d={xs:0,sm:600,md:900,lg:1200,xl:1536},f={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${d[e]}px)`},p={containerQueries:e=>({up:t=>{let n="number"==typeof t?t:d[t]||t;return"number"==typeof n&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function h(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||f;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"==typeof t){const e=r.breakpoints||f;return Object.keys(t).reduce(((o,i)=>{if(a=e.keys,"@"===(s=i)||s.startsWith("@")&&(a.some((e=>s.startsWith(`@${e}`)))||s.match(/^@\d/))){const e=function(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,o]=n,i=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(i)}(r.containerQueries?r:p,i);e&&(o[e]=n(t[i],i))}else if(Object.keys(e.values||d).includes(i))o[e.up(i)]=n(t[i],i);else{const e=i;o[e]=t[e]}var a,s;return o}),{})}return n(t)}var g=n(9525);function m(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function v(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:m(e,n)||r,t&&(o=t(o,r,e)),o}const y=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=m(e.theme,r)||{};return h(e,i,(e=>{let r=v(a,o,e);return e===r&&"string"==typeof e&&(r=v(a,o,`${t}${"default"===e?"":(0,g.A)(e)}`,e)),!1===n?r:{[n]:r}}))};return i.propTypes={},i.filterProps=[t],i},b=function(e,t){return t?l(e,t,{clone:!1}):e},_={m:"margin",p:"padding"},S={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},x={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},w=function(){const e={};return t=>(void 0===e[t]&&(e[t]=(e=>{if(e.length>2){if(!x[e])return[e];e=x[e]}const[t,n]=e.split(""),r=_[t],o=S[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})(t)),e[t])}(),k=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],A=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],O=[...k,...A];function C(e,t,n,r){const o=m(e,t,!0)??n;return"number"==typeof o||"string"==typeof o?e=>"string"==typeof e?e:"string"==typeof o?`calc(${e} * ${o})`:o*e:Array.isArray(o)?e=>{if("string"==typeof e)return e;const t=Math.abs(e),n=o[t];return e>=0?n:"number"==typeof n?-n:`-${n}`}:"function"==typeof o?o:()=>{}}function E(e){return C(e,"spacing",8)}function j(e,t){return"string"==typeof t||null==t?t:e(t)}function T(e,t){const n=E(e.theme);return Object.keys(e).map((r=>function(e,t,n,r){if(!t.includes(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=j(t,n),e)),{})}(w(n),r);return h(e,e[n],o)}(e,t,r,n))).reduce(b,{})}function P(e){return T(e,k)}function R(e){return T(e,A)}function M(e){return T(e,O)}function B(e=8,t=E({spacing:e})){if(e.mui)return e;const n=(...e)=>(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ");return n.mui=!0,n}P.propTypes={},P.filterProps=k,R.propTypes={},R.filterProps=A,M.propTypes={},M.filterProps=O;const $=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?b(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n};function I(e){return"number"!=typeof e?e:`${e}px solid`}function N(e,t){return y({prop:e,themeKey:"borders",transform:t})}const D=N("border",I),L=N("borderTop",I),V=N("borderRight",I),z=N("borderBottom",I),W=N("borderLeft",I),K=N("borderColor"),F=N("borderTopColor"),U=N("borderRightColor"),G=N("borderBottomColor"),H=N("borderLeftColor"),q=N("outline",I),X=N("outlineColor"),Y=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=C(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:j(t,e)});return h(e,e.borderRadius,n)}return null};Y.propTypes={},Y.filterProps=["borderRadius"],$(D,L,V,z,W,K,F,U,G,H,Y,q,X);const J=e=>{if(void 0!==e.gap&&null!==e.gap){const t=C(e.theme,"spacing",8),n=e=>({gap:j(t,e)});return h(e,e.gap,n)}return null};J.propTypes={},J.filterProps=["gap"];const Q=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=C(e.theme,"spacing",8),n=e=>({columnGap:j(t,e)});return h(e,e.columnGap,n)}return null};Q.propTypes={},Q.filterProps=["columnGap"];const Z=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=C(e.theme,"spacing",8),n=e=>({rowGap:j(t,e)});return h(e,e.rowGap,n)}return null};function ee(e,t){return"grey"===t?t:e}function te(e){return e<=1&&0!==e?100*e+"%":e}Z.propTypes={},Z.filterProps=["rowGap"],$(J,Q,Z,y({prop:"gridColumn"}),y({prop:"gridRow"}),y({prop:"gridAutoFlow"}),y({prop:"gridAutoColumns"}),y({prop:"gridAutoRows"}),y({prop:"gridTemplateColumns"}),y({prop:"gridTemplateRows"}),y({prop:"gridTemplateAreas"}),y({prop:"gridArea"})),$(y({prop:"color",themeKey:"palette",transform:ee}),y({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ee}),y({prop:"backgroundColor",themeKey:"palette",transform:ee}));const ne=y({prop:"width",transform:te}),re=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{const n=e.theme?.breakpoints?.values?.[t]||d[t];return n?"px"!==e.theme?.breakpoints?.unit?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:te(t)}};return h(e,e.maxWidth,t)}return null};re.filterProps=["maxWidth"];const oe=y({prop:"minWidth",transform:te}),ie=y({prop:"height",transform:te}),ae=y({prop:"maxHeight",transform:te}),se=y({prop:"minHeight",transform:te}),le=(y({prop:"size",cssProperty:"width",transform:te}),y({prop:"size",cssProperty:"height",transform:te}),$(ne,re,oe,ie,ae,se,y({prop:"boxSizing"})),{border:{themeKey:"borders",transform:I},borderTop:{themeKey:"borders",transform:I},borderRight:{themeKey:"borders",transform:I},borderBottom:{themeKey:"borders",transform:I},borderLeft:{themeKey:"borders",transform:I},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:I},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Y},color:{themeKey:"palette",transform:ee},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ee},backgroundColor:{themeKey:"palette",transform:ee},p:{style:R},pt:{style:R},pr:{style:R},pb:{style:R},pl:{style:R},px:{style:R},py:{style:R},padding:{style:R},paddingTop:{style:R},paddingRight:{style:R},paddingBottom:{style:R},paddingLeft:{style:R},paddingX:{style:R},paddingY:{style:R},paddingInline:{style:R},paddingInlineStart:{style:R},paddingInlineEnd:{style:R},paddingBlock:{style:R},paddingBlockStart:{style:R},paddingBlockEnd:{style:R},m:{style:P},mt:{style:P},mr:{style:P},mb:{style:P},ml:{style:P},mx:{style:P},my:{style:P},margin:{style:P},marginTop:{style:P},marginRight:{style:P},marginBottom:{style:P},marginLeft:{style:P},marginX:{style:P},marginY:{style:P},marginInline:{style:P},marginInlineStart:{style:P},marginInlineEnd:{style:P},marginBlock:{style:P},marginBlockStart:{style:P},marginBlockEnd:{style:P},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:J},rowGap:{style:Z},columnGap:{style:Q},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:te},maxWidth:{style:re},minWidth:{transform:te},height:{transform:te},maxHeight:{transform:te},minHeight:{transform:te},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"}}),ue=function(){function e(e,t,n,r){const o={[e]:t,theme:n},i=r[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:u}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const c=m(n,s)||{};return u?u(o):h(o,t,(t=>{let n=v(c,l,t);return t===n&&"string"==typeof t&&(n=v(c,l,`${e}${"default"===t?"":(0,g.A)(t)}`,t)),!1===a?n:{[a]:n}}))}return function t(n){const{sx:r,theme:o={}}=n||{};if(!r)return null;const i=o.unstable_sxConfig??le;function a(n){let r=n;if("function"==typeof n)r=n(o);else if("object"!=typeof n)return n;if(!r)return null;const a=function(e={}){const t=e.keys?.reduce(((t,n)=>(t[e.up(n)]={},t)),{});return t||{}}(o.breakpoints),s=Object.keys(a);let l=a;return Object.keys(r).forEach((n=>{const a="function"==typeof(s=r[n])?s(o):s;var s;if(null!=a)if("object"==typeof a)if(i[n])l=b(l,e(n,a,o,i));else{const e=h({theme:o},a,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,a)?l=b(l,e):l[n]=t({sx:a,theme:o})}else l=b(l,e(n,a,o,i))})),function(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter((e=>e.startsWith("@container"))).sort(((e,t)=>{const n=/min-width:\s*([0-9.]+)/;return+(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)}));return n.length?n.reduce(((e,n)=>{const r=t[n];return delete e[n],e[n]=r,e}),{...t}):t}(o,(u=l,s.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),u)));var u}return Array.isArray(r)?r.map(a):a(r)}}();ue.filterProps=["sx"];const ce=ue;function de(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||"function"!=typeof n.getColorSchemeSelector)return{};let r=n.getColorSchemeSelector(e);return"&"===r?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return n.palette.mode===e?t:{}}const fe=function(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={},...a}=e;let s=l({breakpoints:u(n),direction:"ltr",components:{},palette:{mode:"light",...r},spacing:B(o),shape:{...c,...i}},a);return s=function(e){const t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{const o=t(e.breakpoints.not(...n),r);return o.includes("not all and")?o.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):o}}const r={},o=e=>(n(r,e),r);return n(o),{...e,containerQueries:o}}(s),s.applyStyles=de,s=t.reduce(((e,t)=>l(e,t)),s),s.unstable_sxConfig={...le,...a?.unstable_sxConfig},s.unstable_sx=function(e){return ce({sx:e,theme:this})},s};var pe=n(4516);const he=fe();function ge(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function me(e){return e?(t,n)=>n[e]:null}function ve(e,t){const n="function"==typeof t?t(e):t;if(Array.isArray(n))return n.flatMap((t=>ve(e,t)));if(Array.isArray(n?.variants)){let t;if(n.isProcessed)t=n.style;else{const{variants:e,...r}=n;t=r}return ye(e,n.variants,[t])}return n?.isProcessed?n.style:n}function ye(e,t,n=[]){let r;e:for(let o=0;o<t.length;o+=1){const i=t[o];if("function"==typeof i.props){if(r??={...e,...e.ownerState,ownerState:e.ownerState},!i.props(r))continue}else for(const t in i.props)if(e[t]!==i.props[t]&&e.ownerState?.[t]!==i.props[t])continue e;"function"==typeof i.style?(r??={...e,...e.ownerState,ownerState:e.ownerState},n.push(i.style(r))):n.push(i.style)}return n}function be(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}var _e=n(4699),Se=n(7801);const xe={black:"#000",white:"#fff"},we={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"},ke="#f3e5f5",Ae="#ce93d8",Oe="#ba68c8",Ce="#ab47bc",Ee="#9c27b0",je="#7b1fa2",Te="#e57373",Pe="#ef5350",Re="#f44336",Me="#d32f2f",Be="#c62828",$e="#ffb74d",Ie="#ffa726",Ne="#ff9800",De="#f57c00",Le="#e65100",Ve="#e3f2fd",ze="#90caf9",We="#42a5f5",Ke="#1976d2",Fe="#1565c0",Ue="#4fc3f7",Ge="#29b6f6",He="#03a9f4",qe="#0288d1",Xe="#01579b",Ye="#81c784",Je="#66bb6a",Qe="#4caf50",Ze="#388e3c",et="#2e7d32",tt="#1b5e20";function nt(){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:xe.white,default:xe.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}}}const rt=nt();function ot(){return{text:{primary:xe.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:xe.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}}}const it=ot();function at(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,Se.a)(e.main,o):"dark"===t&&(e.dark=(0,Se.e$)(e.main,i)))}function st(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...o}=e,i=e.primary||function(e="light"){return"dark"===e?{main:ze,light:Ve,dark:We}:{main:Ke,light:We,dark:Fe}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:Ae,light:ke,dark:Ce}:{main:Ee,light:Oe,dark:je}}(t),s=e.error||function(e="light"){return"dark"===e?{main:Re,light:Te,dark:Me}:{main:Me,light:Pe,dark:Be}}(t),u=e.info||function(e="light"){return"dark"===e?{main:Ge,light:Ue,dark:qe}:{main:qe,light:He,dark:Xe}}(t),c=e.success||function(e="light"){return"dark"===e?{main:Je,light:Ye,dark:Ze}:{main:et,light:Qe,dark:tt}}(t),d=e.warning||function(e="light"){return"dark"===e?{main:Ie,light:$e,dark:De}:{main:"#ed6c02",light:Ne,dark:Le}}(t);function f(e){return(0,Se.eM)(e,it.text.primary)>=n?it.text.primary:rt.text.primary}const p=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:i=700})=>{if(!(e={...e}).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error((0,_e.A)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error((0,_e.A)(12,t?` (${t})`:"",JSON.stringify(e.main)));return at(e,"light",o,r),at(e,"dark",i,r),e.contrastText||(e.contrastText=f(e.main)),e};let h;return"light"===t?h=nt():"dark"===t&&(h=ot()),l({common:{...xe},mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:d,name:"warning"}),info:p({color:u,name:"info"}),success:p({color:c,name:"success"}),grey:we,contrastThreshold:n,getContrastText:f,augmentColor:p,tonalOffset:r,...h},o)}function lt(e=""){function t(...n){if(!n.length)return"";const r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...n.slice(1))})`}return(n,...r)=>`var(--${e?`${e}-`:""}${n}${t(...r)})`}function ut(e){const t={};return Object.entries(e).forEach((e=>{const[n,r]=e;"object"==typeof r&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:""}${r.fontVariant?`${r.fontVariant} `:""}${r.fontWeight?`${r.fontWeight} `:""}${r.fontStretch?`${r.fontStretch} `:""}${r.fontSize||""}${r.lineHeight?`/${r.lineHeight} `:""}${r.fontFamily||""}`)})),t}const ct=(e,t,n,r=[])=>{let o=e;t.forEach(((e,i)=>{i===t.length-1?Array.isArray(o)?o[Number(e)]=n:o&&"object"==typeof o&&(o[e]=n):o&&"object"==typeof o&&(o[e]||(o[e]=r.includes(e)?[]:{}),o=o[e])}))};function dt(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},a={};var s,l;return s=(e,t,s)=>{if(!("string"!=typeof t&&"number"!=typeof t||r&&r(e,t))){const r=`--${n?`${n}-`:""}${e.join("-")}`,l=((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)(e,t);Object.assign(o,{[r]:l}),ct(i,e,`var(${r})`,s),ct(a,e,`var(${r}, ${l})`,s)}},l=e=>"vars"===e[0],function e(t,n=[],r=[]){Object.entries(t).forEach((([t,o])=>{(!l||l&&!l([...n,t]))&&null!=o&&("object"==typeof o&&Object.keys(o).length>0?e(o,[...n,t],Array.isArray(o)?[...r,t]:r):s([...n,t],o,r))}))}(e),{css:o,vars:i,varsWithDefaults:a}}const ft={textTransform:"uppercase"},pt='"Roboto", "Helvetica", "Arial", sans-serif';function ht(e,t){const{fontFamily:n=pt,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:u=16,allVariants:c,pxToRem:d,...f}="function"==typeof t?t(e):t,p=r/14,h=d||(e=>e/u*p+"rem"),g=(e,t,r,o,i)=>{return{fontFamily:n,fontWeight:e,fontSize:h(t),lineHeight:r,...n===pt?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5+"em")}:{},...i,...c};var a},m={h1:g(o,96,1.167,-1.5),h2:g(o,60,1.2,-.5),h3:g(i,48,1.167,0),h4:g(i,34,1.235,.25),h5:g(i,24,1.334,0),h6:g(a,20,1.6,.15),subtitle1:g(i,16,1.75,.15),subtitle2:g(a,14,1.57,.1),body1:g(i,16,1.5,.15),body2:g(i,14,1.43,.15),button:g(a,14,1.75,.4,ft),caption:g(i,12,1.66,.4),overline:g(i,12,2.66,1,ft),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return l({htmlFontSize:u,pxToRem:h,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s,...m},f,{clone:!1})}function gt(...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)`].join(",")}const mt=["none",gt(0,2,1,-1,0,1,1,0,0,1,3,0),gt(0,3,1,-2,0,2,2,0,0,1,5,0),gt(0,3,3,-2,0,3,4,0,0,1,8,0),gt(0,2,4,-1,0,4,5,0,0,1,10,0),gt(0,3,5,-1,0,5,8,0,0,1,14,0),gt(0,3,5,-1,0,6,10,0,0,1,18,0),gt(0,4,5,-2,0,7,10,1,0,2,16,1),gt(0,5,5,-3,0,8,10,1,0,3,14,2),gt(0,5,6,-3,0,9,12,1,0,3,16,2),gt(0,6,6,-3,0,10,14,1,0,4,18,3),gt(0,6,7,-4,0,11,15,1,0,4,20,3),gt(0,7,8,-4,0,12,17,2,0,5,22,4),gt(0,7,8,-4,0,13,19,2,0,5,24,4),gt(0,7,9,-4,0,14,21,2,0,5,26,4),gt(0,8,9,-5,0,15,22,2,0,6,28,5),gt(0,8,10,-5,0,16,24,2,0,6,30,5),gt(0,8,11,-5,0,17,26,2,0,6,32,5),gt(0,9,11,-5,0,18,28,2,0,7,34,6),gt(0,9,12,-6,0,19,29,2,0,7,36,6),gt(0,10,13,-6,0,20,31,3,0,8,38,7),gt(0,10,13,-6,0,21,33,3,0,8,40,7),gt(0,10,14,-6,0,22,35,3,0,8,42,7),gt(0,11,14,-7,0,23,36,3,0,9,44,8),gt(0,11,15,-7,0,24,38,3,0,9,46,8)],vt={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)"},yt={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function bt(e){return`${Math.round(e)}ms`}function _t(e){if(!e)return 0;const t=e/36;return Math.min(Math.round(10*(4+15*t**.25+t/5)),3e3)}function St(e){const t={...vt,...e.easing},n={...yt,...e.duration};return{getAutoHeightDuration:_t,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:a=0,...s}=r;return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:bt(o)} ${i} ${"string"==typeof a?a:bt(a)}`)).join(",")},...e,easing:t,duration:n}}const xt={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function wt(e={}){const t={...e};return function e(t){const n=Object.entries(t);for(let o=0;o<n.length;o++){const[i,s]=n[o];!a(r=s)&&void 0!==r&&"string"!=typeof r&&"boolean"!=typeof r&&"number"!=typeof r&&!Array.isArray(r)||i.startsWith("unstable_")?delete t[i]:a(s)&&(t[i]={...s},e(t[i]))}var r}(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ${JSON.stringify(t,null,2)};\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;`}const kt=function(e={},...t){const{breakpoints:n,mixins:r={},spacing:o,palette:i={},transitions:a={},typography:s={},shape:u,...c}=e;if(e.vars)throw new Error((0,_e.A)(20));const d=st(i),f=fe(e);let p=l(f,{mixins:(h=f.breakpoints,g=r,{toolbar:{minHeight:56,[h.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[h.up("sm")]:{minHeight:64}},...g}),palette:d,shadows:mt.slice(),typography:ht(d,s),transitions:St(a),zIndex:{...xt}});var h,g;return p=l(p,c),p=t.reduce(((e,t)=>l(e,t)),p),p.unstable_sxConfig={...le,...c?.unstable_sxConfig},p.unstable_sx=function(e){return ce({sx:e,theme:this})},p.toRuntimeSource=wt,p},At=[...Array(25)].map(((e,t)=>{if(0===t)return"none";const n=function(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(10*t)/1e3}(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`}));function Ot(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function Ct(e){return"dark"===e?At:[]}function Et(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)/)}const jt=e=>(t,n)=>{const r=e.rootSelector||":root",o=e.colorSchemeSelector;let 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){const o={};return(a=e.cssVarPrefix,[...[...Array(25)].map(((e,t)=>`--${a?`${a}-`:""}overlays-${t}`)),`--${a?`${a}-`:""}palette-AppBar-darkBg`,`--${a?`${a}-`:""}palette-AppBar-darkColor`]).forEach((e=>{o[e]=n[e],delete n[e]})),"media"===i?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:o}}:i?{[i.replace("%s",t)]:o,[`${r}, ${i.replace("%s",t)}`]:n}:{[r]:{...n,...o}}}if(i&&"media"!==i)return`${r}, ${i.replace("%s",String(t))}`}else if(t){if("media"===i)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(i)return i.replace("%s",String(t))}var a;return r};function Tt(e,t,n){!e[t]&&n&&(e[t]=n)}function Pt(e){return"string"==typeof e&&e.startsWith("hsl")?(0,Se.YL)(e):e}function Rt(e,t){`${t}Channel`in e||(e[`${t}Channel`]=(0,Se.Me)(Pt(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().\nTo 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.`))}const Mt=e=>{try{return e()}catch(e){}};function Bt(e,t,n,r){if(!t)return;t=!0===t?{}:t;const o="dark"===r?"dark":"light";if(!n)return void(e[r]=function(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...o}=e,i=st(t);return{palette:i,opacity:{...Ot(i.mode),...n},overlays:r||Ct(i.mode),...o}}({...t,palette:{mode:o,...t?.palette}}));const{palette:i,...a}=kt({...n,palette:{mode:o,...t?.palette}});return e[r]={...t,palette:i,opacity:{...Ot(o),...t?.opacity},overlays:t?.overlays||Ct(o)},a}function $t(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:a=Et,colorSchemeSelector:s=(n.light&&n.dark?"media":void 0),rootSelector:u=":root",...c}=e,d=Object.keys(n)[0],f=r||(n.light&&"light"!==d?"light":d),p=((e="mui")=>lt(e))(i),{[f]:h,light:g,dark:m,...v}=n,y={...v};let b=h;if(("dark"===f&&!("dark"in n)||"light"===f&&!("light"in n))&&(b=!0),!b)throw new Error((0,_e.A)(21,f));const _=Bt(y,b,c,f);g&&!y.light&&Bt(y,g,void 0,"light"),m&&!y.dark&&Bt(y,m,void 0,"dark");let S={defaultColorScheme:f,..._,cssVarPrefix:i,colorSchemeSelector:s,rootSelector:u,getCssVar:p,colorSchemes:y,font:{...ut(_.typography),..._.font},spacing:(x=c.spacing,"number"==typeof x?`${x}px`:"string"==typeof x||"function"==typeof x||Array.isArray(x)?x:"8px")};var x;Object.keys(S.colorSchemes).forEach((e=>{const t=S.colorSchemes[e].palette,n=e=>{const n=e.split("-"),r=n[1],o=n[2];return p(e,t[r][o])};var r;if("light"===t.mode&&(Tt(t.common,"background","#fff"),Tt(t.common,"onBackground","#000")),"dark"===t.mode&&(Tt(t.common,"background","#000"),Tt(t.common,"onBackground","#fff")),r=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach((e=>{r[e]||(r[e]={})})),"light"===t.mode){Tt(t.Alert,"errorColor",(0,Se.Nd)(t.error.light,.6)),Tt(t.Alert,"infoColor",(0,Se.Nd)(t.info.light,.6)),Tt(t.Alert,"successColor",(0,Se.Nd)(t.success.light,.6)),Tt(t.Alert,"warningColor",(0,Se.Nd)(t.warning.light,.6)),Tt(t.Alert,"errorFilledBg",n("palette-error-main")),Tt(t.Alert,"infoFilledBg",n("palette-info-main")),Tt(t.Alert,"successFilledBg",n("palette-success-main")),Tt(t.Alert,"warningFilledBg",n("palette-warning-main")),Tt(t.Alert,"errorFilledColor",Mt((()=>t.getContrastText(t.error.main)))),Tt(t.Alert,"infoFilledColor",Mt((()=>t.getContrastText(t.info.main)))),Tt(t.Alert,"successFilledColor",Mt((()=>t.getContrastText(t.success.main)))),Tt(t.Alert,"warningFilledColor",Mt((()=>t.getContrastText(t.warning.main)))),Tt(t.Alert,"errorStandardBg",(0,Se.j4)(t.error.light,.9)),Tt(t.Alert,"infoStandardBg",(0,Se.j4)(t.info.light,.9)),Tt(t.Alert,"successStandardBg",(0,Se.j4)(t.success.light,.9)),Tt(t.Alert,"warningStandardBg",(0,Se.j4)(t.warning.light,.9)),Tt(t.Alert,"errorIconColor",n("palette-error-main")),Tt(t.Alert,"infoIconColor",n("palette-info-main")),Tt(t.Alert,"successIconColor",n("palette-success-main")),Tt(t.Alert,"warningIconColor",n("palette-warning-main")),Tt(t.AppBar,"defaultBg",n("palette-grey-100")),Tt(t.Avatar,"defaultBg",n("palette-grey-400")),Tt(t.Button,"inheritContainedBg",n("palette-grey-300")),Tt(t.Button,"inheritContainedHoverBg",n("palette-grey-A100")),Tt(t.Chip,"defaultBorder",n("palette-grey-400")),Tt(t.Chip,"defaultAvatarColor",n("palette-grey-700")),Tt(t.Chip,"defaultIconColor",n("palette-grey-700")),Tt(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Tt(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Tt(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Tt(t.LinearProgress,"primaryBg",(0,Se.j4)(t.primary.main,.62)),Tt(t.LinearProgress,"secondaryBg",(0,Se.j4)(t.secondary.main,.62)),Tt(t.LinearProgress,"errorBg",(0,Se.j4)(t.error.main,.62)),Tt(t.LinearProgress,"infoBg",(0,Se.j4)(t.info.main,.62)),Tt(t.LinearProgress,"successBg",(0,Se.j4)(t.success.main,.62)),Tt(t.LinearProgress,"warningBg",(0,Se.j4)(t.warning.main,.62)),Tt(t.Skeleton,"bg",`rgba(${n("palette-text-primaryChannel")} / 0.11)`),Tt(t.Slider,"primaryTrack",(0,Se.j4)(t.primary.main,.62)),Tt(t.Slider,"secondaryTrack",(0,Se.j4)(t.secondary.main,.62)),Tt(t.Slider,"errorTrack",(0,Se.j4)(t.error.main,.62)),Tt(t.Slider,"infoTrack",(0,Se.j4)(t.info.main,.62)),Tt(t.Slider,"successTrack",(0,Se.j4)(t.success.main,.62)),Tt(t.Slider,"warningTrack",(0,Se.j4)(t.warning.main,.62));const e=(0,Se.Y9)(t.background.default,.8);Tt(t.SnackbarContent,"bg",e),Tt(t.SnackbarContent,"color",Mt((()=>t.getContrastText(e)))),Tt(t.SpeedDialAction,"fabHoverBg",(0,Se.Y9)(t.background.paper,.15)),Tt(t.StepConnector,"border",n("palette-grey-400")),Tt(t.StepContent,"border",n("palette-grey-400")),Tt(t.Switch,"defaultColor",n("palette-common-white")),Tt(t.Switch,"defaultDisabledColor",n("palette-grey-100")),Tt(t.Switch,"primaryDisabledColor",(0,Se.j4)(t.primary.main,.62)),Tt(t.Switch,"secondaryDisabledColor",(0,Se.j4)(t.secondary.main,.62)),Tt(t.Switch,"errorDisabledColor",(0,Se.j4)(t.error.main,.62)),Tt(t.Switch,"infoDisabledColor",(0,Se.j4)(t.info.main,.62)),Tt(t.Switch,"successDisabledColor",(0,Se.j4)(t.success.main,.62)),Tt(t.Switch,"warningDisabledColor",(0,Se.j4)(t.warning.main,.62)),Tt(t.TableCell,"border",(0,Se.j4)((0,Se.Cg)(t.divider,1),.88)),Tt(t.Tooltip,"bg",(0,Se.Cg)(t.grey[700],.92))}if("dark"===t.mode){Tt(t.Alert,"errorColor",(0,Se.j4)(t.error.light,.6)),Tt(t.Alert,"infoColor",(0,Se.j4)(t.info.light,.6)),Tt(t.Alert,"successColor",(0,Se.j4)(t.success.light,.6)),Tt(t.Alert,"warningColor",(0,Se.j4)(t.warning.light,.6)),Tt(t.Alert,"errorFilledBg",n("palette-error-dark")),Tt(t.Alert,"infoFilledBg",n("palette-info-dark")),Tt(t.Alert,"successFilledBg",n("palette-success-dark")),Tt(t.Alert,"warningFilledBg",n("palette-warning-dark")),Tt(t.Alert,"errorFilledColor",Mt((()=>t.getContrastText(t.error.dark)))),Tt(t.Alert,"infoFilledColor",Mt((()=>t.getContrastText(t.info.dark)))),Tt(t.Alert,"successFilledColor",Mt((()=>t.getContrastText(t.success.dark)))),Tt(t.Alert,"warningFilledColor",Mt((()=>t.getContrastText(t.warning.dark)))),Tt(t.Alert,"errorStandardBg",(0,Se.Nd)(t.error.light,.9)),Tt(t.Alert,"infoStandardBg",(0,Se.Nd)(t.info.light,.9)),Tt(t.Alert,"successStandardBg",(0,Se.Nd)(t.success.light,.9)),Tt(t.Alert,"warningStandardBg",(0,Se.Nd)(t.warning.light,.9)),Tt(t.Alert,"errorIconColor",n("palette-error-main")),Tt(t.Alert,"infoIconColor",n("palette-info-main")),Tt(t.Alert,"successIconColor",n("palette-success-main")),Tt(t.Alert,"warningIconColor",n("palette-warning-main")),Tt(t.AppBar,"defaultBg",n("palette-grey-900")),Tt(t.AppBar,"darkBg",n("palette-background-paper")),Tt(t.AppBar,"darkColor",n("palette-text-primary")),Tt(t.Avatar,"defaultBg",n("palette-grey-600")),Tt(t.Button,"inheritContainedBg",n("palette-grey-800")),Tt(t.Button,"inheritContainedHoverBg",n("palette-grey-700")),Tt(t.Chip,"defaultBorder",n("palette-grey-700")),Tt(t.Chip,"defaultAvatarColor",n("palette-grey-300")),Tt(t.Chip,"defaultIconColor",n("palette-grey-300")),Tt(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Tt(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Tt(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Tt(t.LinearProgress,"primaryBg",(0,Se.Nd)(t.primary.main,.5)),Tt(t.LinearProgress,"secondaryBg",(0,Se.Nd)(t.secondary.main,.5)),Tt(t.LinearProgress,"errorBg",(0,Se.Nd)(t.error.main,.5)),Tt(t.LinearProgress,"infoBg",(0,Se.Nd)(t.info.main,.5)),Tt(t.LinearProgress,"successBg",(0,Se.Nd)(t.success.main,.5)),Tt(t.LinearProgress,"warningBg",(0,Se.Nd)(t.warning.main,.5)),Tt(t.Skeleton,"bg",`rgba(${n("palette-text-primaryChannel")} / 0.13)`),Tt(t.Slider,"primaryTrack",(0,Se.Nd)(t.primary.main,.5)),Tt(t.Slider,"secondaryTrack",(0,Se.Nd)(t.secondary.main,.5)),Tt(t.Slider,"errorTrack",(0,Se.Nd)(t.error.main,.5)),Tt(t.Slider,"infoTrack",(0,Se.Nd)(t.info.main,.5)),Tt(t.Slider,"successTrack",(0,Se.Nd)(t.success.main,.5)),Tt(t.Slider,"warningTrack",(0,Se.Nd)(t.warning.main,.5));const e=(0,Se.Y9)(t.background.default,.98);Tt(t.SnackbarContent,"bg",e),Tt(t.SnackbarContent,"color",Mt((()=>t.getContrastText(e)))),Tt(t.SpeedDialAction,"fabHoverBg",(0,Se.Y9)(t.background.paper,.15)),Tt(t.StepConnector,"border",n("palette-grey-600")),Tt(t.StepContent,"border",n("palette-grey-600")),Tt(t.Switch,"defaultColor",n("palette-grey-300")),Tt(t.Switch,"defaultDisabledColor",n("palette-grey-600")),Tt(t.Switch,"primaryDisabledColor",(0,Se.Nd)(t.primary.main,.55)),Tt(t.Switch,"secondaryDisabledColor",(0,Se.Nd)(t.secondary.main,.55)),Tt(t.Switch,"errorDisabledColor",(0,Se.Nd)(t.error.main,.55)),Tt(t.Switch,"infoDisabledColor",(0,Se.Nd)(t.info.main,.55)),Tt(t.Switch,"successDisabledColor",(0,Se.Nd)(t.success.main,.55)),Tt(t.Switch,"warningDisabledColor",(0,Se.Nd)(t.warning.main,.55)),Tt(t.TableCell,"border",(0,Se.Nd)((0,Se.Cg)(t.divider,1),.68)),Tt(t.Tooltip,"bg",(0,Se.Cg)(t.grey[700],.92))}Rt(t.background,"default"),Rt(t.background,"paper"),Rt(t.common,"background"),Rt(t.common,"onBackground"),Rt(t,"divider"),Object.keys(t).forEach((e=>{const n=t[e];"tonalOffset"!==e&&n&&"object"==typeof n&&(n.main&&Tt(t[e],"mainChannel",(0,Se.Me)(Pt(n.main))),n.light&&Tt(t[e],"lightChannel",(0,Se.Me)(Pt(n.light))),n.dark&&Tt(t[e],"darkChannel",(0,Se.Me)(Pt(n.dark))),n.contrastText&&Tt(t[e],"contrastTextChannel",(0,Se.Me)(Pt(n.contrastText))),"text"===e&&(Rt(t[e],"primary"),Rt(t[e],"secondary")),"action"===e&&(n.active&&Rt(t[e],"active"),n.selected&&Rt(t[e],"selected")))}))})),S=t.reduce(((e,t)=>l(e,t)),S);const w={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:jt(S)},{vars:k,generateThemeVars:A,generateStyleSheets:O}=function(e,t={}){const{getSelector:n=v,disableCssColorScheme:r,colorSchemeSelector:o}=t,{colorSchemes:i={},components:a,defaultColorScheme:s="light",...u}=e,{vars:c,css:d,varsWithDefaults:f}=dt(u,t);let p=f;const h={},{[s]:g,...m}=i;if(Object.entries(m||{}).forEach((([e,n])=>{const{vars:r,css:o,varsWithDefaults:i}=dt(n,t);p=l(p,i),h[e]={css:o,vars:r}})),g){const{css:e,vars:n,varsWithDefaults:r}=dt(g,t);p=l(p,r),h[s]={css:e,vars:n}}function v(t,n){let r=o;if("class"===o&&(r=".%s"),"data"===o&&(r="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(r=`[${o}="%s"]`),t){if("media"===r){if(e.defaultColorScheme===t)return":root";const r=i[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${r})`]:{":root":n}}}if(r)return e.defaultColorScheme===t?`:root, ${r.replace("%s",String(t))}`:r.replace("%s",String(t))}return":root"}return{vars:p,generateThemeVars:()=>{let e={...c};return Object.entries(h).forEach((([,{vars:t}])=>{e=l(e,t)})),e},generateStyleSheets:()=>{const t=[],o=e.defaultColorScheme||"light";function a(e,n){Object.keys(n).length&&t.push("string"==typeof e?{[e]:{...n}}:e)}a(n(void 0,{...d}),d);const{[o]:s,...l}=h;if(s){const{css:e}=s,t=i[o]?.palette?.mode,l=!r&&t?{colorScheme:t,...e}:{...e};a(n(o,{...l}),l)}return Object.entries(l).forEach((([e,{css:t}])=>{const o=i[e]?.palette?.mode,s=!r&&o?{colorScheme:o,...t}:{...t};a(n(e,{...s}),s)})),t}}}(S,w);return S.vars=k,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach((([e,t])=>{S[e]=t})),S.generateThemeVars=A,S.generateStyleSheets=O,S.generateSpacing=function(){return B(c.spacing,E(this))},S.getColorSchemeSelector=function(e){return function(t){return"media"===e?`@media (prefers-color-scheme: ${t})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:"class"===e?`.${t} &`:"data"===e?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}(s),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=a,S.unstable_sxConfig={...le,...c?.unstable_sxConfig},S.unstable_sx=function(e){return ce({sx:e,theme:this})},S.toRuntimeSource=wt,S}function It(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...!0!==n&&n,palette:st({...!0===n?{}:n.palette,mode:t})})}const Nt=function(e={}){const{themeId:t,defaultTheme:n=he,rootShouldForwardProp:o=ge,slotShouldForwardProp:i=ge}=e;function s(e){!function(e,t,n){e.theme=function(e){for(const t in e)return!1;return!0}(e.theme)?n:e.theme[t]||e.theme}(e,t,n)}return(e,t={})=>{(0,r.HX)(e,(e=>e.filter((e=>e!==ce))));const{name:n,slot:l,skipVariantsResolver:u,skipSx:c,overridesResolver:d=me(be(l)),...f}=t,p=void 0!==u?u:l&&"Root"!==l&&"root"!==l||!1,h=c||!1;let g=ge;"Root"===l||"root"===l?g=o:l?g=i:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(g=void 0);const m=(0,r.Ay)(e,{shouldForwardProp:g,label:void 0,...f}),v=e=>{if("function"==typeof e&&e.__emotion_real!==e)return function(t){return ve(t,e)};if(a(e)){const t=(0,pe.A)(e);return t.variants?function(e){return ve(e,t)}:t.style}return e},y=(...t)=>{const r=[],o=t.map(v),i=[];if(r.push(s),n&&d&&i.push((function(e){const t=e.theme,r=t.components?.[n]?.styleOverrides;if(!r)return null;const o={};for(const t in r)o[t]=ve(e,r[t]);return d(e,o)})),n&&!p&&i.push((function(e){const t=e.theme,r=t?.components?.[n]?.variants;return r?ye(e,r):null})),h||i.push(ce),Array.isArray(o[0])){const e=o.shift(),t=new Array(r.length).fill(""),n=new Array(i.length).fill("");let a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}const a=[...r,...o,...i],l=m(...a);return e.muiName&&(l.muiName=e.muiName),l};return m.withConfig&&(y.withConfig=m.withConfig),y}}({themeId:"$$material",defaultTheme:function(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=(n?void 0:{light:!0}),defaultColorScheme:i=n?.mode,...a}=e,s=i||"light",l=o?.[s],u={...o,...n?{[s]:{..."boolean"!=typeof l&&l,palette:n}}:void 0};if(!1===r){if(!("colorSchemes"in e))return kt(e,...t);let r=n;"palette"in e||u[s]&&(!0!==u[s]?r=u[s].palette:"dark"===s&&(r={mode:"dark"}));const o=kt({...e,palette:r},...t);return o.defaultColorScheme=s,o.colorSchemes=u,"light"===o.palette.mode&&(o.colorSchemes.light={...!0!==u.light&&u.light,palette:o.palette},It(o,"dark",u.dark)),"dark"===o.palette.mode&&(o.colorSchemes.dark={...!0!==u.dark&&u.dark,palette:o.palette},It(o,"light",u.light)),o}return n||"light"in u||"light"!==s||(u.light=!0),$t({...a,colorSchemes:u,defaultColorScheme:s,..."boolean"!=typeof r&&r},...t)}(),rootShouldForwardProp:n(1257).A}),Dt=Nt},3572:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(9525).A},415:(e,t,n)=>{"use strict";n.r(t),n.d(t,{capitalize:()=>o.A,createChainedFunction:()=>i,createSvgIcon:()=>b,debounce:()=>_,deprecatedPropType:()=>S,isMuiElement:()=>x,mergeSlotProps:()=>B,ownerDocument:()=>k,ownerWindow:()=>A,requirePropFactory:()=>O,setRef:()=>C,unstable_ClassNameGenerator:()=>$,unstable_memoTheme:()=>c.A,unstable_useEnhancedEffect:()=>E,unstable_useId:()=>j.A,unsupportedProp:()=>T,useControlled:()=>P,useEventCallback:()=>R.A,useForkRef:()=>M.A});var r=n(8205),o=n(3572);const i=function(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))};var a=n(4953),s=n(7064),l=n(8841),u=n(7273),c=n(227),d=n(8033),f=n(2667),p=n(8223);function h(e){return(0,p.Ay)("MuiSvgIcon",e)}(0,f.A)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var g=n(6870);const m=(0,u.Ay)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${(0,o.A)(n.color)}`],t[`fontSize${(0,o.A)(n.fontSize)}`]]}})((0,c.A)((({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}}))),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]})))),v=a.forwardRef((function(e,t){const n=(0,d.b)({props:e,name:"MuiSvgIcon"}),{children:r,className:i,color:u="inherit",component:c="svg",fontSize:f="medium",htmlColor:p,inheritViewBox:v=!1,titleAccess:y,viewBox:b="0 0 24 24",..._}=n,S=a.isValidElement(r)&&"svg"===r.type,x={...n,color:u,component:c,fontSize:f,instanceFontSize:e.fontSize,inheritViewBox:v,viewBox:b,hasSvgAsChild:S},w={};v||(w.viewBox=b);const k=(e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root","inherit"!==t&&`color${(0,o.A)(t)}`,`fontSize${(0,o.A)(n)}`]};return(0,l.A)(i,h,r)})(x);return(0,g.jsxs)(m,{as:c,className:(0,s.A)(k.root,i),focusable:"false",color:p,"aria-hidden":!y||void 0,role:y?"img":void 0,ref:t,...w,..._,...S&&r.props,ownerState:x,children:[S?r.props.children:r,y?(0,g.jsx)("title",{children:y}):null]})}));v.muiName="SvgIcon";const y=v;function b(e,t){function n(n,r){return(0,g.jsx)(y,{"data-testid":`${t}Icon`,ref:r,...n,children:e})}return n.muiName=y.muiName,a.memo(a.forwardRef(n))}const _=function(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r},S=function(e,t){return()=>null},x=function(e,t){return a.isValidElement(e)&&-1!==t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)};function w(e){return e&&e.ownerDocument||document}const k=w,A=function(e){return w(e).defaultView||window},O=function(e,t){return()=>null},C=n(5115).A,E=n(3375).A;var j=n(8886);const T=function(e,t,n,r,o){return null},P=function({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=a.useRef(void 0!==e),[i,s]=a.useState(t);return[o?e:i,a.useCallback((e=>{o||s(e)}),[])]};var R=n(8591),M=n(9349);function B(e,t){if(!e)return t;if("function"==typeof e||"function"==typeof t)return n=>{const r="function"==typeof t?t(n):t,o="function"==typeof e?e({...n,...r}):e,i=(0,s.A)(n?.className,r?.className,o?.className);return{...r,...o,...!!i&&{className:i},...r?.style&&o?.style&&{style:{...r.style,...o.style}}}};const n=(0,s.A)(t?.className,e?.className);return{...t,...e,...!!n&&{className:n},...t?.style&&e?.style&&{style:{...t.style,...e.style}}}}const $={configure:e=>{r.A.configure(e)}}},227:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(4516);const o={theme:void 0},i=function(e){let t,n;return function(i){let a=t;return void 0!==a&&i.theme===n||(o.theme=i.theme,a=(0,r.A)(e(o)),t=a,n=i.theme),a}}},8591:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(4953),o=n(3375);const i=function(e){const t=r.useRef(e);return(0,o.A)((()=>{t.current=e})),r.useRef(((...e)=>(0,t.current)(...e))).current}},9349:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(4953),o=n(5115);const i=function(...e){return r.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{(0,o.A)(e,t)}))}),e)}},8886:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(4953);let o=0;const i={...r}.useId,a=function(e){if(void 0!==i){const t=i();return e??t}return function(e){const[t,n]=r.useState(e),i=e||t;return r.useEffect((()=>{null==t&&(o+=1,n(`mui-${o}`))}),[t]),i}(e)}},2455:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>y,HX:()=>b,tT:()=>S});const r=require("@emotion/styled");var o=n.n(r),i={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};function a(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var s=!1,l=/[A-Z]|^ms/g,u=/_EMO_([^_]+?)_([^]*?)_EMO_/g,c=function(e){return 45===e.charCodeAt(1)},d=function(e){return null!=e&&"boolean"!=typeof e},f=a((function(e){return c(e)?e:e.replace(l,"-$&").toLowerCase()})),p=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(u,(function(e,t,n){return m={name:t,styles:n,next:m},t}))}return 1===i[e]||c(e)||"number"!=typeof t||0===t?t:t+"px"},h="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function g(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return m={name:o.name,styles:o.styles,next:m},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)m={name:a.name,styles:a.styles,next:m},a=a.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=g(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var l=a;null!=t&&void 0!==t[l]?r+=i+"{"+t[l]+"}":d(l)&&(r+=f(i)+":"+p(i,l)+";")}else{if("NO_COMPONENT_SELECTOR"===i&&s)throw new Error(h);if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var u=g(e,t,a);switch(i){case"animation":case"animationName":r+=f(i)+":"+u+";";break;default:r+=i+"{"+u+"}"}}else for(var c=0;c<a.length;c++)d(a[c])&&(r+=f(i)+":"+p(i,a[c])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var l=m,u=n(e);return m=l,g(e,t,u)}}var c=n;if(null==t)return c;var v=t[c];return void 0!==v?v:c}var m,v=/label:\s*([^\s;{]+)\s*(;|$)/g;function y(e,t){return o()(e,t)}function b(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}n(1007);const _=[];function S(e){return _[0]=e,function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";m=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=g(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=g(n,t,e[a]),r&&(o+=i[a]);v.lastIndex=0;for(var s,l="";null!==(s=v.exec(o));)l+="-"+s[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:u,styles:o,next:m}}(_)}},7801:(e,t,n)=>{"use strict";n.d(t,{X4:()=>f,e$:()=>h,eM:()=>d,YL:()=>u,a:()=>m,Cg:()=>p,Me:()=>s,Nd:()=>g,Y9:()=>y,j4:()=>v});var r=n(4699);const o=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))};function i(e,t=0,n=1){return o(e,t,n)}function a(e){if(e.type)return e;if("#"===e.charAt(0))return a(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error((0,r.A)(9,e));let o,i=e.substring(t+1,e.length-1);if("color"===n){if(i=i.split(" "),o=i.shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error((0,r.A)(10,o))}else i=i.split(",");return i=i.map((e=>parseFloat(e))),{type:n,values:i,colorSpace:o}}const s=(e,t)=>{try{return(e=>{const t=a(e);return t.values.slice(0,3).map(((e,n)=>t.type.includes("hsl")&&0!==n?`${e}%`:e)).join(" ")})(e)}catch(t){return e}};function l(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function u(e){e=a(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),s=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let u="rgb";const c=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),l({type:u,values:c})}function c(e){let t="hsl"===(e=a(e)).type||"hsla"===e.type?a(u(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function d(e,t){const n=c(e),r=c(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function f(e,t){return e=a(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,l(e)}function p(e,t,n){try{return f(e,t)}catch(t){return e}}function h(e,t){if(e=a(e),t=i(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)}function g(e,t,n){try{return h(e,t)}catch(t){return e}}function m(e,t){if(e=a(e),t=i(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)}function v(e,t,n){try{return m(e,t)}catch(t){return e}}function y(e,t,n){try{return function(e,t=.15){return c(e)>.5?h(e,t):m(e,t)}(e,t)}catch(t){return e}}},4516:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2455);function o(e){const{variants:t,...n}=e,o={variants:t,style:(0,r.tT)(n),isProcessed:!0};return o.style===n||t&&t.forEach((e=>{"function"!=typeof e.style&&(e.style=(0,r.tT)(e.style))})),o}},8205:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r=e=>e,o=(()=>{let e=r;return{configure(t){e=t},generate:t=>e(t),reset(){e=r}}})()},9525:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(4699);function o(e){if("string"!=typeof e)throw new Error((0,r.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},8841:(e,t,n)=>{"use strict";function r(e,t,n=void 0){const r={};for(const o in e){const i=e[o];let a="",s=!0;for(let e=0;e<i.length;e+=1){const r=i[e];r&&(a+=(!0===s?"":" ")+t(r),s=!1,n&&n[r]&&(a+=" "+n[r]))}r[o]=a}return r}n.d(t,{A:()=>r})},4699:(e,t,n)=>{"use strict";function r(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach((e=>n.searchParams.append("args[]",e))),`Minified MUI error #${e}; visit ${n} for the full message.`}n.d(t,{A:()=>r})},8223:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>i});var r=n(8205);const 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,n="Mui"){const i=o[t];return i?`${n}-${i}`:`${r.A.generate(e)}-${t}`}},2667:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8223);function o(e,t,n="Mui"){const o={};return t.forEach((t=>{o[t]=(0,r.Ay)(e,t,n)})),o}},4441:(e,t,n)=>{"use strict";function r(e,t){const n={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const i=o;if("components"===i||"slots"===i)n[i]={...e[i],...n[i]};else if("componentsProps"===i||"slotProps"===i){const o=e[i],a=t[i];if(a)if(o){n[i]={...a};for(const e in o)if(Object.prototype.hasOwnProperty.call(o,e)){const t=e;n[i][t]=r(o[t],a[t])}}else n[i]=a;else n[i]=o||{}}else void 0===n[i]&&(n[i]=e[i])}return n}n.d(t,{A:()=>r})},5115:(e,t,n)=>{"use strict";function r(e,t){"function"==typeof e?e(t):e&&(e.current=t)}n.d(t,{A:()=>r})},3375:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(4953);const o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect},7436:(e,t)=>{"use strict";Symbol.for("react.transitional.element"),Symbol.for("react.portal");var n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler");Symbol.for("react.provider");var i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),p=Symbol.for("react.client.reference");t.Hy=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===o||e===r||e===l||e===u||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===c||e.$$typeof===a||e.$$typeof===i||e.$$typeof===s||e.$$typeof===p||void 0!==e.getModuleId)}},4178:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(6063),o=n.n(r),i=n(5248),a=n.n(i)()(o());a.push([e.id,".box{background-color:#fff;border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,.1);padding:20px;max-width:800px;margin:0 auto}.section-box{padding:10px;border:1px solid #ddd;border-radius:8px}.fieldset{border:1px solid #ccc;border-radius:5px;padding:10px;margin-bottom:20px}.legend-box{font-weight:bold;color:#0052bf}.btn{padding:10px 20px;background-color:#0052bf;color:#fff;border:none;border-radius:4px;cursor:pointer;transition:background-color .3s;margin-right:8px}.btn:disabled{background-color:gray;cursor:not-allowed}.select{width:100%;padding:8px;margin-top:8px;margin-bottom:12px;border:1px solid #ccc;border-radius:4px}.input{width:97%;padding:8px;margin-top:8px;margin-bottom:12px;border:1px solid #ccc;border-radius:4px}",""]);const s=a},5248:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var u=0;u<e.length;u++){var c=[].concat(e[u]);r&&a[c[0]]||(void 0!==i&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=i),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),o&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=o):c[4]="".concat(o)),t.push(c))}},t}},6063:e=>{"use strict";e.exports=function(e){return e[1]}},9062:(e,t,n)=>{"use strict";function r(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("number"==typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}n.r(t),n.d(t,{Observer:()=>Br,_observerFinalizationRegistry:()=>wr,clearTimers:()=>Dr,enableStaticRendering:()=>yr,isObserverBatched:()=>gr,isUsingStaticRendering:()=>br,observer:()=>Pr,observerBatching:()=>hr,useAsObservableSource:()=>Ir,useLocalObservable:()=>$r,useLocalStore:()=>Nr,useObserver:()=>Lr,useStaticRendering:()=>Vr});var o={};function i(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:o}var a=Object.assign,s=Object.getOwnPropertyDescriptor,l=Object.defineProperty,u=Object.prototype,c=[];Object.freeze(c);var d={};Object.freeze(d);var f="undefined"!=typeof Proxy,p=Object.toString();function h(){f||r("Proxy not available")}function g(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var m=function(){};function v(e){return"function"==typeof e}function y(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function b(e){return null!==e&&"object"==typeof e}function _(e){if(!b(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n.toString()===p}function S(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function x(e,t,n){l(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function w(e,t,n){l(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function k(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return b(e)&&!0===e[n]}}function A(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function O(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var C=void 0!==Object.getOwnPropertySymbols,E="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:C?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function j(e){return null===e?null:"object"==typeof e?""+e:e}function T(e,t){return u.hasOwnProperty.call(e,t)}var P=Object.getOwnPropertyDescriptors||function(e){var t={};return E(e).forEach((function(n){t[n]=s(e,n)})),t};function R(e,t){return!!(e&t)}function M(e,t,n){return n?e|=t:e&=~t,e}function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function $(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,z(r.key),r)}}function I(e,t,n){return t&&$(e.prototype,t),n&&$(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function N(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return B(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?B(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function D(){return D=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},D.apply(null,arguments)}function L(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,V(e,t)}function V(e,t){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},V(e,t)}function z(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var W=Symbol("mobx-stored-annotations");function K(e){return Object.assign((function(t,n){if(U(n))return e.decorate_20223_(t,n);F(t,n,e)}),e)}function F(e,t,n){T(e,W)||x(e,W,D({},e[W])),function(e){return e.annotationType_===Z}(n)||(e[W][t]=n)}function U(e){return"object"==typeof e&&"string"==typeof e.kind}var G=Symbol("mobx administration"),H=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.flags_=0,this.observers_=new Set,this.lastAccessedBy_=0,this.lowestObserverState_=Ye.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.reportObserved=function(){return bt(this)},t.reportChanged=function(){vt(),_t(this),yt()},t.toString=function(){return this.name_},I(e,[{key:"isBeingObserved",get:function(){return R(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=M(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return R(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=M(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return R(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=M(this.flags_,e.diffValueMask_,1===t)}}])}();H.isBeingObservedMask_=1,H.isPendingUnobservationMask_=2,H.diffValueMask_=4;var q=k("Atom",H);function X(e,t,n){void 0===t&&(t=m),void 0===n&&(n=m);var r=new H(e);return t!==m&&zt(Dt,r,t,undefined),n!==m&&Vt(r,n),r}var Y={identity:function(e,t){return e===t},structural:function(e,t){return or(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t},shallow:function(e,t){return or(e,t,1)}};function J(e,t,n){return en(e)?e:Array.isArray(e)?$e.array(e,{name:n}):_(e)?$e.object(e,void 0,{name:n}):A(e)?$e.map(e,{name:n}):O(e)?$e.set(e,{name:n}):"function"!=typeof e||It(e)||Zt(e)?e:S(e)?Jt(e):$t(n,e)}function Q(e){return e}var Z="override";function ee(e,t){return{annotationType_:e,options_:t,make_:te,extend_:ne,decorate_20223_:re}}function te(e,t,n,r){var o;if(null!=(o=this.options_)&&o.bound)return null===this.extend_(e,t,n,!1)?0:1;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(It(n.value))return 1;var i=oe(e,this,t,n,!1);return l(r,t,i),2}function ne(e,t,n,r){var o=oe(e,this,t,n);return e.defineProperty_(t,o,r)}function re(e,t){var n,o=t.kind,i=t.name,a=t.addInitializer,s=this,l=function(e){var t,n,r,o;return Fe(null!=(t=null==(n=s.options_)?void 0:n.name)?t:i.toString(),e,null!=(r=null==(o=s.options_)?void 0:o.autoAction)&&r)};return"field"==o?function(e){var t,n=e;return It(n)||(n=l(n)),null!=(t=s.options_)&&t.bound&&((n=n.bind(this)).isMobxAction=!0),n}:"method"==o?(It(e)||(e=l(e)),null!=(n=this.options_)&&n.bound&&a((function(){var e=this,t=e[i].bind(e);t.isMobxAction=!0,e[i]=t})),e):void r("Cannot apply '"+s.annotationType_+"' to '"+String(i)+"' (kind: "+o+"):\n'"+s.annotationType_+"' can only be used on properties with a function value.")}function oe(e,t,n,r,o){var i,a,s,l,u,c,d,f;void 0===o&&(o=pt.safeDescriptors),f=r,t.annotationType_,f.value;var p,h=r.value;return null!=(i=t.options_)&&i.bound&&(h=h.bind(null!=(p=e.proxy_)?p:e.target_)),{value:Fe(null!=(a=null==(s=t.options_)?void 0:s.name)?a:n.toString(),h,null!=(l=null==(u=t.options_)?void 0:u.autoAction)&&l,null!=(c=t.options_)&&c.bound?null!=(d=e.proxy_)?d:e.target_:void 0),configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function ie(e,t){return{annotationType_:e,options_:t,make_:ae,extend_:se,decorate_20223_:le}}function ae(e,t,n,r){var o;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(o=this.options_)&&o.bound&&(!T(e.target_,t)||!Zt(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(Zt(n.value))return 1;var i=ue(e,this,0,n,!1,!1);return l(r,t,i),2}function se(e,t,n,r){var o,i=ue(e,this,0,n,null==(o=this.options_)?void 0:o.bound);return e.defineProperty_(t,i,r)}function le(e,t){var n,r=t.name,o=t.addInitializer;return Zt(e)||(e=Jt(e)),null!=(n=this.options_)&&n.bound&&o((function(){var e=this,t=e[r].bind(e);t.isMobXFlow=!0,e[r]=t})),e}function ue(e,t,n,r,o,i){var a;void 0===i&&(i=pt.safeDescriptors),a=r,t.annotationType_,a.value;var s,l=r.value;return Zt(l)||(l=Jt(l)),o&&((l=l.bind(null!=(s=e.proxy_)?s:e.target_)).isMobXFlow=!0),{value:l,configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function ce(e,t){return{annotationType_:e,options_:t,make_:de,extend_:fe,decorate_20223_:pe}}function de(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function fe(e,t,n,r){return o=n,this.annotationType_,o.get,e.defineComputedProperty_(t,D({},this.options_,{get:n.get,set:n.set}),r);var o}function pe(e,t){var n=this,r=t.name;return(0,t.addInitializer)((function(){var t=In(this)[G],o=D({},n.options_,{get:e,context:this});o.name||(o.name="ObservableObject."+r.toString()),t.values_.set(r,new Xe(o))})),function(){return this[G].getObservablePropValue_(r)}}function he(e,t){return{annotationType_:e,options_:t,make_:ge,extend_:me,decorate_20223_:ve}}function ge(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function me(e,t,n,r){var o,i;return this.annotationType_,e.defineObservableProperty_(t,n.value,null!=(o=null==(i=this.options_)?void 0:i.enhancer)?o:J,r)}function ve(e,t){var n=this,r=t.kind,o=t.name,i=new WeakSet;function a(e,t){var r,a,s=In(e)[G],l=new qe(t,null!=(r=null==(a=n.options_)?void 0:a.enhancer)?r:J,"ObservableObject."+o.toString(),!1);s.values_.set(o,l),i.add(e)}if("accessor"==r)return{get:function(){return i.has(this)||a(this,e.get.call(this)),this[G].getObservablePropValue_(o)},set:function(e){return i.has(this)||a(this,e),this[G].setObservablePropValue_(o,e)},init:function(e){return i.has(this)||a(this,e),e}}}var ye="true",be=_e();function _e(e){return{annotationType_:ye,options_:e,make_:Se,extend_:xe,decorate_20223_:we}}function Se(e,t,n,r){var o,i,a,s;if(n.get)return Le.make_(e,t,n,r);if(n.set){var u=Fe(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!pt.safeDescriptors||e.isPlainObject_,set:u})?0:2:(l(r,t,{configurable:!0,set:u}),2)}if(r!==e.target_&&"function"==typeof n.value)return S(n.value)?(null!=(s=this.options_)&&s.autoBind?Jt.bound:Jt).make_(e,t,n,r):(null!=(a=this.options_)&&a.autoBind?$t.bound:$t).make_(e,t,n,r);var c,d=!1===(null==(o=this.options_)?void 0:o.deep)?$e.ref:$e;return"function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(c=e.proxy_)?c:e.target_)),d.make_(e,t,n,r)}function xe(e,t,n,r){var o,i,a;return n.get?Le.extend_(e,t,n,r):n.set?e.defineProperty_(t,{configurable:!pt.safeDescriptors||e.isPlainObject_,set:Fe(t.toString(),n.set)},r):("function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_)),(!1===(null==(i=this.options_)?void 0:i.deep)?$e.ref:$e).extend_(e,t,n,r))}function we(e,t){r("'"+this.annotationType_+"' cannot be used as a decorator")}var ke={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function Ae(e){return e||ke}Object.freeze(ke);var Oe=he("observable"),Ce=he("observable.ref",{enhancer:Q}),Ee=he("observable.shallow",{enhancer:function(e,t,n){return null==e||Ln(e)||xn(e)||Cn(e)||Pn(e)?e:Array.isArray(e)?$e.array(e,{name:n,deep:!1}):_(e)?$e.object(e,void 0,{name:n,deep:!1}):A(e)?$e.map(e,{name:n,deep:!1}):O(e)?$e.set(e,{name:n,deep:!1}):void 0}}),je=he("observable.struct",{enhancer:function(e,t){return or(e,t)?t:e}}),Te=K(Oe);function Pe(e){return!0===e.deep?J:!1===e.deep?Q:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:J;var t,n,r}function Re(e,t,n){return U(t)?Oe.decorate_20223_(e,t):y(t)?void F(e,t,Oe):en(e)?e:_(e)?$e.object(e,t,n):Array.isArray(e)?$e.array(e,t):A(e)?$e.map(e,t):O(e)?$e.set(e,t):"object"==typeof e&&null!==e?e:$e.box(e,t)}a(Re,Te);var Me,Be,$e=a(Re,{box:function(e,t){var n=Ae(t);return new qe(e,Pe(n),n.name,!0,n.equals)},array:function(e,t){var n=Ae(t);return(!1===pt.useProxies||!1===n.proxy?Jn:gn)(e,Pe(n),n.name)},map:function(e,t){var n=Ae(t);return new On(e,Pe(n),n.name)},set:function(e,t){var n=Ae(t);return new Tn(e,Pe(n),n.name)},object:function(e,t,n){return tr((function(){return function(e,t,n,r){var o=P(t);return tr((function(){var t=In(e,r)[G];E(o).forEach((function(e){t.extend_(e,o[e],!n||!(e in n)||n[e])}))})),e}(!1===pt.useProxies||!1===(null==n?void 0:n.proxy)?In({},n):function(e,t){var n,r;return h(),null!=(r=(n=(e=In(e,t))[G]).proxy_)?r:n.proxy_=new Proxy(e,rn)}({},n),e,t)}))},ref:K(Ce),shallow:K(Ee),deep:Te,struct:K(je)}),Ie="computed",Ne=ce(Ie),De=ce("computed.struct",{equals:Y.structural}),Le=function(e,t){if(U(t))return Ne.decorate_20223_(e,t);if(y(t))return F(e,t,Ne);if(_(e))return K(ce(Ie,e));var n=_(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new Xe(n)};Object.assign(Le,Ne),Le.struct=K(De);var Ve=0,ze=1,We=null!=(Me=null==(Be=s((function(){}),"name"))?void 0:Be.configurable)&&Me,Ke={value:"action",configurable:!0,writable:!1,enumerable:!1};function Fe(e,t,n,r){function o(){return Ue(0,n,t,r||this,arguments)}return void 0===n&&(n=!1),o.isMobxAction=!0,o.toString=function(){return t.toString()},We&&(Ke.value=e,l(o,"name",Ke)),o}function Ue(e,t,n,o,i){var a=function(e,t){var n=pt.trackingDerivation,r=!t||!n;vt();var o=pt.allowStateChanges;r&&(it(),o=Ge(!0));var i={runAsAction_:r,prevDerivation_:n,prevAllowStateChanges_:o,prevAllowStateReads_:st(!0),notifySpy_:!1,startTime_:0,actionId_:ze++,parentActionId_:Ve};return Ve=i.actionId_,i}(0,t);try{return n.apply(o,i)}catch(e){throw a.error_=e,e}finally{!function(e){Ve!==e.actionId_&&r(30),Ve=e.parentActionId_,void 0!==e.error_&&(pt.suppressReactionErrors=!0),He(e.prevAllowStateChanges_),lt(e.prevAllowStateReads_),yt(),e.runAsAction_&&at(e.prevDerivation_),pt.suppressReactionErrors=!1}(a)}}function Ge(e){var t=pt.allowStateChanges;return pt.allowStateChanges=e,t}function He(e){pt.allowStateChanges=e}var qe=function(e){function t(t,n,r,o,i){var a;return void 0===r&&(r="ObservableValue"),void 0===o&&(o=!0),void 0===i&&(i=Y.default),(a=e.call(this,r)||this).enhancer=void 0,a.name_=void 0,a.equals=void 0,a.hasUnreportedChange_=!1,a.interceptors_=void 0,a.changeListeners_=void 0,a.value_=void 0,a.dehancer=void 0,a.enhancer=n,a.name_=r,a.equals=i,a.value_=n(t,void 0,r),a}L(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){this.value_,(e=this.prepareNewValue_(e))!==pt.UNCHANGED&&this.setNewValue_(e)},n.prepareNewValue_=function(e){if(on(this)){var t=sn(this,{object:this,type:fn,newValue:e});if(!t)return pt.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?pt.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),ln(this)&&cn(this,{type:fn,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return an(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:fn,newValue:this.value_,oldValue:void 0}),un(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return j(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(H),Xe=function(){function e(e){this.dependenciesState_=Ye.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Ye.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new Ze(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=Je.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||r(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=Fe("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?Y.structural:Y.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){!function(e){e.lowestObserverState_===Ye.UP_TO_DATE_&&(e.lowestObserverState_=Ye.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Ye.UP_TO_DATE_&&(e.dependenciesState_=Ye.POSSIBLY_STALE_,e.onBecomeStale_())})))}(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.get=function(){if(this.isComputing&&r(32,this.name_,this.derivation),0!==pt.inBatch||0!==this.observers_.size||this.keepAlive_){if(bt(this),tt(this)){var e=pt.trackingContext;this.keepAlive_&&!e&&(pt.trackingContext=this),this.trackAndCompute()&&function(e){e.lowestObserverState_!==Ye.STALE_&&(e.lowestObserverState_=Ye.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===Ye.POSSIBLY_STALE_?t.dependenciesState_=Ye.STALE_:t.dependenciesState_===Ye.UP_TO_DATE_&&(e.lowestObserverState_=Ye.UP_TO_DATE_)})))}(this),pt.trackingContext=e}}else tt(this)&&(this.warnAboutUntrackedRead_(),vt(),this.value_=this.computeValue_(!1),yt());var t=this.value_;if(et(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter&&r(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else r(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===Ye.NOT_TRACKING_,n=this.computeValue_(!0),r=t||et(e)||et(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing=!0;var t,n=Ge(!1);if(e)t=nt(this,this.derivation,this.scope_);else if(!0===pt.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new Ze(e)}return He(n),this.isComputing=!1,t},t.suspend_=function(){this.keepAlive_||(rt(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,o=void 0;return function(e,t){var n,r,o,i;void 0===t&&(t=d);var a,s=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(t.scheduler||t.delay){var l=function(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Nt}(t),u=!1;a=new St(s,(function(){u||(u=!0,l((function(){u=!1,a.isDisposed||a.track(c)})))}),t.onError,t.requiresObservable)}else a=new St(s,(function(){this.track(c)}),t.onError,t.requiresObservable);function c(){e(a)}return null!=(o=t)&&null!=(o=o.signal)&&o.aborted||a.schedule_(),a.getDisposer_(null==(i=t)?void 0:i.signal)}((function(){var i=n.get();if(!r||t){var a=it();e({observableKind:"computed",debugObjectName:n.name_,type:fn,object:n,newValue:i,oldValue:o}),at(a)}r=!1,o=i}))},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return j(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},I(e,[{key:"isComputing",get:function(){return R(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=M(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return R(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=M(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return R(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=M(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return R(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=M(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return R(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=M(this.flags_,e.diffValueMask_,1===t)}}])}();Xe.isComputingMask_=1,Xe.isRunningSetterMask_=2,Xe.isBeingObservedMask_=4,Xe.isPendingUnobservationMask_=8,Xe.diffValueMask_=16;var Ye,Je,Qe=k("ComputedValue",Xe);!function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"}(Ye||(Ye={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Je||(Je={}));var Ze=function(e){this.cause=void 0,this.cause=e};function et(e){return e instanceof Ze}function tt(e){switch(e.dependenciesState_){case Ye.UP_TO_DATE_:return!1;case Ye.NOT_TRACKING_:case Ye.STALE_:return!0;case Ye.POSSIBLY_STALE_:for(var t=st(!0),n=it(),r=e.observing_,o=r.length,i=0;i<o;i++){var a=r[i];if(Qe(a)){if(pt.disableErrorBoundaries)a.get();else try{a.get()}catch(e){return at(n),lt(t),!0}if(e.dependenciesState_===Ye.STALE_)return at(n),lt(t),!0}}return ut(e),at(n),lt(t),!1}}function nt(e,t,n){var r=st(!0);ut(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++pt.runId;var o,i=pt.trackingDerivation;if(pt.trackingDerivation=e,pt.inBatch++,!0===pt.disableErrorBoundaries)o=t.call(n);else try{o=t.call(n)}catch(e){o=new Ze(e)}return pt.inBatch--,pt.trackingDerivation=i,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=Ye.UP_TO_DATE_,o=0,i=e.unboundDepsCount_,a=0;a<i;a++){var s=n[a];0===s.diffValue&&(s.diffValue=1,o!==a&&(n[o]=s),o++),s.dependenciesState_>r&&(r=s.dependenciesState_)}for(n.length=o,e.newObserving_=null,i=t.length;i--;){var l=t[i];0===l.diffValue&&gt(l,e),l.diffValue=0}for(;o--;){var u=n[o];1===u.diffValue&&(u.diffValue=0,ht(u,e))}r!==Ye.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),lt(r),o}function rt(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)gt(t[n],e);e.dependenciesState_=Ye.NOT_TRACKING_}function ot(e){var t=it();try{return e()}finally{at(t)}}function it(){var e=pt.trackingDerivation;return pt.trackingDerivation=null,e}function at(e){pt.trackingDerivation=e}function st(e){var t=pt.allowStateReads;return pt.allowStateReads=e,t}function lt(e){pt.allowStateReads=e}function ut(e){if(e.dependenciesState_!==Ye.UP_TO_DATE_){e.dependenciesState_=Ye.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=Ye.UP_TO_DATE_}}var ct=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},dt=!0,ft=!1,pt=function(){var e=i();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(dt=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new ct).version&&(dt=!1),dt?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new ct):(setTimeout((function(){ft||r(35)}),1),new ct)}();function ht(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function gt(e,t){e.observers_.delete(t),0===e.observers_.size&&mt(e)}function mt(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,pt.pendingUnobservations.push(e))}function vt(){pt.inBatch++}function yt(){if(0==--pt.inBatch){kt();for(var e=pt.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation=!1,0===n.observers_.size&&(n.isBeingObserved&&(n.isBeingObserved=!1,n.onBUO()),n instanceof Xe&&n.suspend_())}pt.pendingUnobservations=[]}}function bt(e){var t=pt.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved&&pt.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(0===e.observers_.size&&pt.inBatch>0&&mt(e),!1)}function _t(e){e.lowestObserverState_!==Ye.STALE_&&(e.lowestObserverState_=Ye.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Ye.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=Ye.STALE_})))}var St=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=Ye.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=Je.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled||(this.isScheduled=!0,pt.pendingReactions.push(this),kt())},t.runReaction_=function(){if(!this.isDisposed){vt(),this.isScheduled=!1;var e=pt.trackingContext;if(pt.trackingContext=this,tt(this)){this.isTrackPending=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}pt.trackingContext=e,yt()}},t.track=function(e){if(!this.isDisposed){vt(),this.isRunning=!0;var t=pt.trackingContext;pt.trackingContext=this;var n=nt(this,e,void 0);pt.trackingContext=t,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&rt(this),et(n)&&this.reportExceptionInDerivation_(n.cause),yt()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(pt.disableErrorBoundaries)throw e;var n="[mobx] uncaught error in '"+this+"'";pt.suppressReactionErrors||console.error(n,e),pt.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))}},t.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.isRunning||(vt(),rt(this),yt()))},t.getDisposer_=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[G]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1)},I(e,[{key:"isDisposed",get:function(){return R(this.flags_,e.isDisposedMask_)},set:function(t){this.flags_=M(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){return R(this.flags_,e.isScheduledMask_)},set:function(t){this.flags_=M(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){return R(this.flags_,e.isTrackPendingMask_)},set:function(t){this.flags_=M(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){return R(this.flags_,e.isRunningMask_)},set:function(t){this.flags_=M(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){return R(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=M(this.flags_,e.diffValueMask_,1===t)}}])}();St.isDisposedMask_=1,St.isScheduledMask_=2,St.isTrackPendingMask_=4,St.isRunningMask_=8,St.diffValueMask_=16;var xt=100,wt=function(e){return e()};function kt(){pt.inBatch>0||pt.isRunningReactions||wt(At)}function At(){pt.isRunningReactions=!0;for(var e=pt.pendingReactions,t=0;e.length>0;){++t===xt&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;r<o;r++)n[r].runReaction_()}pt.isRunningReactions=!1}var Ot=k("Reaction",St),Ct="action",Et="autoAction",jt=ee(Ct),Tt=ee("action.bound",{bound:!0}),Pt=ee(Et,{autoAction:!0}),Rt=ee("autoAction.bound",{autoAction:!0,bound:!0});function Mt(e){return function(t,n){return v(t)?Fe(t.name||"<unnamed action>",t,e):v(n)?Fe(t,n,e):U(n)?(e?Pt:jt).decorate_20223_(t,n):y(n)?F(t,n,e?Pt:jt):y(t)?K(ee(e?Et:Ct,{name:t,autoAction:e})):void 0}}var Bt=Mt(!1);Object.assign(Bt,jt);var $t=Mt(!0);function It(e){return v(e)&&!0===e.isMobxAction}Object.assign($t,Pt),Bt.bound=K(Tt),$t.bound=K(Rt);var Nt=function(e){return e()};var Dt="onBO",Lt="onBUO";function Vt(e,t,n){return zt(Lt,e,t,n)}function zt(e,t,n,r){var o="function"==typeof r?Qn(t,n):Qn(t),i=v(r)?r:n,a=e+"L";return o[a]?o[a].add(i):o[a]=new Set([i]),function(){var e=o[a];e&&(e.delete(i),0===e.size&&delete o[a])}}var Wt="never",Kt="always",Ft="observed";function Ut(e){!0===e.isolateGlobalState&&function(){if((pt.pendingReactions.length||pt.inBatch||pt.isRunningReactions)&&r(36),ft=!0,dt){var e=i();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),pt=new ct}}();var t,n,o=e.useProxies,a=e.enforceActions;if(void 0!==o&&(pt.useProxies=o===Kt||o!==Wt&&"undefined"!=typeof Proxy),"ifavailable"===o&&(pt.verifyProxies=!0),void 0!==a){var s=a===Kt?Kt:a===Ft;pt.enforceActions=s,pt.allowStateChanges=!0!==s&&s!==Kt}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach((function(t){t in e&&(pt[t]=!!e[t])})),pt.allowStateReads=!pt.observableRequiresReaction,e.reactionScheduler&&(t=e.reactionScheduler,n=wt,wt=function(e){return t((function(){return n(e)}))})}function Gt(e){var t,n={name:e.name_};return e.observing_&&e.observing_.length>0&&(n.dependencies=(t=e.observing_,Array.from(new Set(t))).map(Gt)),n}var Ht=0;function qt(){this.message="FLOW_CANCELLED"}qt.prototype=Object.create(Error.prototype);var Xt=ie("flow"),Yt=ie("flow.bound",{bound:!0}),Jt=Object.assign((function(e,t){if(U(t))return Xt.decorate_20223_(e,t);if(y(t))return F(e,t,Xt);var n=e,r=n.name||"<unnamed flow>",o=function(){var e,t=arguments,o=++Ht,i=Bt(r+" - runid: "+o+" - init",n).apply(this,t),a=void 0,s=new Promise((function(t,n){var s=0;function l(e){var t;a=void 0;try{t=Bt(r+" - runid: "+o+" - yield "+s++,i.next).call(i,e)}catch(e){return n(e)}c(t)}function u(e){var t;a=void 0;try{t=Bt(r+" - runid: "+o+" - yield "+s++,i.throw).call(i,e)}catch(e){return n(e)}c(t)}function c(e){if(!v(null==e?void 0:e.then))return e.done?t(e.value):(a=Promise.resolve(e.value)).then(l,u);e.then(c,n)}e=n,l(void 0)}));return s.cancel=Bt(r+" - runid: "+o+" - cancel",(function(){try{a&&Qt(a);var t=i.return(void 0),n=Promise.resolve(t.value);n.then(m,m),Qt(n),e(new qt)}catch(t){e(t)}})),s};return o.isMobXFlow=!0,o}),Xt);function Qt(e){v(e.cancel)&&e.cancel()}function Zt(e){return!0===(null==e?void 0:e.isMobXFlow)}function en(e){return function(e,t){return!!e&&(void 0!==t?!!Ln(e)&&e[G].values_.has(t):Ln(e)||!!e[G]||q(e)||Ot(e)||Qe(e))}(e)}function tn(e,t){void 0===t&&(t=void 0),vt();try{return e.apply(t)}finally{yt()}}function nn(e){return e[G]}Jt.bound=K(Yt);var rn={has:function(e,t){return nn(e).has_(t)},get:function(e,t){return nn(e).get_(t)},set:function(e,t,n){var r;return!!y(t)&&(null==(r=nn(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!y(t)&&(null==(n=nn(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return null==(r=nn(e).defineProperty_(t,n))||r},ownKeys:function(e){return nn(e).ownKeys_()},preventExtensions:function(e){r(13)}};function on(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function an(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),g((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function sn(e,t){var n=it();try{for(var o=[].concat(e.interceptors_||[]),i=0,a=o.length;i<a&&((t=o[i](t))&&!t.type&&r(14),t);i++);return t}finally{at(n)}}function ln(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function un(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),g((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function cn(e,t){var n=it(),r=e.changeListeners_;if(r){for(var o=0,i=(r=r.slice()).length;o<i;o++)r[o](t);at(n)}}var dn="splice",fn="update",pn={get:function(e,t){var n=e[G];return t===G?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?T(mn,t)?mn[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[G];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){r(15)}},hn=function(){function e(e,t,n,r){void 0===e&&(e="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=r,this.atom_=new H(e),this.enhancer_=function(e,n){return t(e,n,"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return an(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),un(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&r("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),o=0;o<e-t;o++)n[o]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&r(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&Yn(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var o=this.values_.length;if(void 0===e?e=0:e>o?e=o:e<0&&(e=Math.max(0,o+e)),t=1===arguments.length?o-e:null==t?0:Math.max(0,Math.min(t,o-e)),void 0===n&&(n=c),on(this)){var i=sn(this,{object:this.proxy_,type:dn,index:e,removedCount:t,added:n});if(!i)return c;t=i.removedCount,n=i.added}if(n=0===n.length?n:n.map((function(e){return r.enhancer_(e,void 0)})),this.legacyMode_){var a=n.length-t;this.updateArrayLength_(o,a)}var s=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){var r;if(n.length<1e4)return(r=this.values_).splice.apply(r,[e,t].concat(n));var o=this.values_.slice(e,e+t),i=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var a=0;a<n.length;a++)this.values_[e+a]=n[a];for(var s=0;s<i.length;s++)this.values_[e+n.length+s]=i[s];return o},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,o=ln(this),i=o||r?{observableKind:"array",object:this.proxy_,type:fn,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),o&&cn(this,i)},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,o=ln(this),i=o||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:dn,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),o&&cn(this,i)},t.get_=function(e){if(!(this.legacyMode_&&e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("[mobx] Out of bounds read: "+e)},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&r(17,e,n.length),e<n.length){this.atom_;var o=n[e];if(on(this)){var i=sn(this,{type:fn,object:this.proxy_,index:e,newValue:t});if(!i)return;t=i.newValue}(t=this.enhancer_(t,o))!==o&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,o))}else{for(var a=new Array(e+1-n.length),s=0;s<a.length-1;s++)a[s]=void 0;a[a.length-1]=t,this.spliceWithArray_(n.length,0,a)}},e}();function gn(e,t,n,r){return void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),h(),tr((function(){var o=new hn(n,t,r,!1);w(o.values_,G,o);var i=new Proxy(o.values_,pn);return o.proxy_=i,e&&e.length&&o.spliceWithArray_(0,0,e),i}))}var mn={clear:function(){return this.splice(0)},replace:function(e){var t=this[G];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=this[G];switch(arguments.length){case 0:return[];case 1:return i.spliceWithArray_(e);case 2:return i.spliceWithArray_(e,t)}return i.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[G].spliceWithArray_(e,t,n)},push:function(){for(var e=this[G],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[G].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[G],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return pt.trackingDerivation&&r(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){pt.trackingDerivation&&r(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[G],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function vn(e,t){"function"==typeof Array.prototype[e]&&(mn[e]=t(e))}function yn(e){return function(){var t=this[G];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function bn(e){return function(t,n){var r=this,o=this[G];return o.atom_.reportObserved(),o.dehanceValues_(o.values_)[e]((function(e,o){return t.call(n,e,o,r)}))}}function _n(e){return function(){var t=this,n=this[G];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),o=arguments[0];return arguments[0]=function(e,n,r){return o(e,n,r,t)},r[e].apply(r,arguments)}}vn("at",yn),vn("concat",yn),vn("flat",yn),vn("includes",yn),vn("indexOf",yn),vn("join",yn),vn("lastIndexOf",yn),vn("slice",yn),vn("toString",yn),vn("toLocaleString",yn),vn("toSorted",yn),vn("toSpliced",yn),vn("with",yn),vn("every",bn),vn("filter",bn),vn("find",bn),vn("findIndex",bn),vn("findLast",bn),vn("findLastIndex",bn),vn("flatMap",bn),vn("forEach",bn),vn("map",bn),vn("some",bn),vn("toReversed",bn),vn("reduce",_n),vn("reduceRight",_n);var Sn=k("ObservableArrayAdministration",hn);function xn(e){return b(e)&&Sn(e[G])}var wn={},kn="add",An="delete",On=function(){function e(e,t,n){var o=this;void 0===t&&(t=J),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[G]=wn,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,v(Map)||r(18),tr((function(){o.keysAtom_=X("ObservableMap.keys()"),o.data_=new Map,o.hasMap_=new Map,e&&o.merge(e)}))}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!pt.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new qe(this.has_(e),Q,"ObservableMap.key?",!1);this.hasMap_.set(e,r),Vt(r,(function(){return t.hasMap_.delete(e)}))}return n.get()},t.set=function(e,t){var n=this.has_(e);if(on(this)){var r=sn(this,{type:n?fn:kn,object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if(this.keysAtom_,on(this)&&!sn(this,{type:An,object:this,name:e}))return!1;if(this.has_(e)){var n=ln(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:An,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return tn((function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)})),n&&cn(this,r),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==pt.UNCHANGED){var r=ln(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:fn,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&cn(this,o)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,tn((function(){var r,o=new qe(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,o),t=o.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()}));var r=ln(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:kn,object:this,name:e,newValue:t}:null;r&&cn(this,o)},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return En({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:e.get(o)}}})},t.entries=function(){var e=this,t=this.keys();return En({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:[o,e.get(o)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=N(this);!(n=r()).done;){var o=n.value,i=o[0],a=o[1];e.call(t,a,i,this)}},t.merge=function(e){var t=this;return Cn(e)&&(e=new Map(e)),tn((function(){var n,o,i;_(e)?function(e){var t=Object.keys(e);if(!C)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter((function(t){return u.propertyIsEnumerable.call(e,t)}))):t}(e).forEach((function(n){return t.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){var n=e[0],r=e[1];return t.set(n,r)})):A(e)?(n=e,o=Object.getPrototypeOf(n),i=Object.getPrototypeOf(o),null!==Object.getPrototypeOf(i)&&r(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!=e&&r(20,e)})),this},t.clear=function(){var e=this;tn((function(){ot((function(){for(var t,n=N(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.replace=function(e){var t=this;return tn((function(){for(var n,o=function(e){if(A(e)||Cn(e))return e;if(Array.isArray(e))return new Map(e);if(_(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return r(21,e)}(e),i=new Map,a=!1,s=N(t.data_.keys());!(n=s()).done;){var l=n.value;if(!o.has(l))if(t.delete(l))a=!0;else{var u=t.data_.get(l);i.set(l,u)}}for(var c,d=N(o.entries());!(c=d()).done;){var f=c.value,p=f[0],h=f[1],g=t.data_.has(p);if(t.set(p,h),t.data_.has(p)){var m=t.data_.get(p);i.set(p,m),g||(a=!0)}}if(!a)if(t.data_.size!==i.size)t.keysAtom_.reportChanged();else for(var v=t.data_.keys(),y=i.keys(),b=v.next(),S=y.next();!b.done;){if(b.value!==S.value){t.keysAtom_.reportChanged();break}b=v.next(),S=y.next()}t.data_=i})),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return un(this,e)},t.intercept_=function(e){return an(this,e)},I(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),Cn=k("ObservableMap",On);function En(e){return e[Symbol.toStringTag]="MapIterator",lr(e)}var jn={},Tn=function(){function e(e,t,n){var o=this;void 0===t&&(t=J),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[G]=jn,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,v(Set)||r(22),this.enhancer_=function(e,r){return t(e,r,n)},tr((function(){o.atom_=X(o.name_),e&&o.replace(e)}))}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;tn((function(){ot((function(){for(var t,n=N(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.forEach=function(e,t){for(var n,r=N(this);!(n=r()).done;){var o=n.value;e.call(t,o,o,this)}},t.add=function(e){var t=this;if(this.atom_,on(this)&&!sn(this,{type:kn,object:this,newValue:e}))return this;if(!this.has(e)){tn((function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()}));var n=ln(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:kn,object:this,newValue:e}:null;n&&cn(this,r)}return this},t.delete=function(e){var t=this;if(on(this)&&!sn(this,{type:An,object:this,oldValue:e}))return!1;if(this.has(e)){var n=ln(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:An,object:this,oldValue:e}:null;return tn((function(){t.atom_.reportChanged(),t.data_.delete(e)})),n&&cn(this,r),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return Rn({next:function(){var r=e;return e+=1,r<n.length?{value:[t[r],n[r]],done:!1}:{value:void 0,done:!0}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=0,n=Array.from(this.data_.values());return Rn({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{value:void 0,done:!0}}})},t.intersection=function(e){return O(e)&&!Pn(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return O(e)&&!Pn(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return O(e)&&!Pn(e)?e.symmetricDifference(this):new Set(this).symmetricDifference(e)},t.isSubsetOf=function(e){return new Set(this).isSubsetOf(e)},t.isSupersetOf=function(e){return new Set(this).isSupersetOf(e)},t.isDisjointFrom=function(e){return O(e)&&!Pn(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return Pn(e)&&(e=new Set(e)),tn((function(){Array.isArray(e)||O(e)?(t.clear(),e.forEach((function(e){return t.add(e)}))):null!=e&&r("Cannot initialize set from "+e)})),this},t.observe_=function(e,t){return un(this,e)},t.intercept_=function(e){return an(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[Symbol.iterator]=function(){return this.values()},I(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),Pn=k("ObservableSet",Tn);function Rn(e){return e[Symbol.toStringTag]="SetIterator",lr(e)}var Mn=Object.create(null),Bn="remove",$n=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=be),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=r,this.keysAtom_=new H("ObservableObject.keys"),this.isPlainObject_=_(this.target_)}var t=e.prototype;return t.getObservablePropValue_=function(e){return this.values_.get(e).get()},t.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof Xe)return n.set(t),!0;if(on(this)){var r=sn(this,{type:fn,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==pt.UNCHANGED){var o=ln(this),i=o?{type:fn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),o&&cn(this,i)}return!0},t.get_=function(e){return pt.trackingDerivation&&!T(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),T(this.target_,e)?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},t.has_=function(e){if(!pt.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new qe(e in this.target_,Q,"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(!(e in this.target_)){var n;if(null!=(n=this.target_[W])&&n[e])return;r(1,t.annotationType_,this.name_+"."+e.toString())}for(var o=this.target_;o&&o!==u;){var i=s(o,e);if(i){var a=t.make_(this,e,i,o);if(0===a)return;if(1===a)break}o=Object.getPrototypeOf(o)}Vn(this,0,e)}},t.extend_=function(e,t,n,r){if(void 0===r&&(r=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,r);var o=n.extend_(this,e,t,r);return o&&Vn(this,0,e),o},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{vt();var r=this.delete_(e);if(!r)return r;if(on(this)){var o=sn(this,{object:this.proxy_||this.target_,name:e,type:kn,newValue:t.value});if(!o)return null;var i=o.newValue;t.value!==i&&(t=D({},t,{value:i}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else l(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{yt()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),this.keysAtom_;try{vt();var o=this.delete_(e);if(!o)return o;if(on(this)){var i=sn(this,{object:this.proxy_||this.target_,name:e,type:kn,newValue:t});if(!i)return null;t=i.newValue}var a=Dn(e),s={configurable:!pt.safeDescriptors||this.isPlainObject_,enumerable:!0,get:a.get,set:a.set};if(r){if(!Reflect.defineProperty(this.target_,e,s))return!1}else l(this.target_,e,s);var u=new qe(t,n,"ObservableObject.key",!1);this.values_.set(e,u),this.notifyPropertyAddition_(e,u.value_)}finally{yt()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{vt();var r=this.delete_(e);if(!r)return r;if(on(this)&&!sn(this,{object:this.proxy_||this.target_,name:e,type:kn,newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var o=Dn(e),i={configurable:!pt.safeDescriptors||this.isPlainObject_,enumerable:!1,get:o.get,set:o.set};if(n){if(!Reflect.defineProperty(this.target_,e,i))return!1}else l(this.target_,e,i);this.values_.set(e,new Xe(t)),this.notifyPropertyAddition_(e,void 0)}finally{yt()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),this.keysAtom_,!T(this.target_,e))return!0;if(on(this)&&!sn(this,{object:this.proxy_||this.target_,name:e,type:Bn}))return null;try{var n;vt();var r,o=ln(this),i=this.values_.get(e),a=void 0;if(!i&&o&&(a=null==(r=s(this.target_,e))?void 0:r.value),t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(i&&(this.values_.delete(e),i instanceof qe&&(a=i.value_),_t(i)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),o){var l={type:Bn,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:a,name:e};o&&cn(this,l)}}finally{yt()}return!0},t.observe_=function(e,t){return un(this,e)},t.intercept_=function(e){return an(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r=ln(this);if(r){var o=r?{type:kn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;r&&cn(this,o)}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),E(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function In(e,t){var n;if(T(e,G))return e;var r=null!=(n=null==t?void 0:t.name)?n:"ObservableObject",o=new $n(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:_e(e):void 0}(t));return x(e,G,o),e}var Nn=k("ObservableObjectAdministration",$n);function Dn(e){return Mn[e]||(Mn[e]={get:function(){return this[G].getObservablePropValue_(e)},set:function(t){return this[G].setObservablePropValue_(e,t)}})}function Ln(e){return!!b(e)&&Nn(e[G])}function Vn(e,t,n){var r;null==(r=e.target_[W])||delete r[n]}var zn,Wn,Kn=qn(0),Fn=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),Un=0,Gn=function(){};zn=Gn,Wn=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(zn.prototype,Wn):void 0!==zn.prototype.__proto__?zn.prototype.__proto__=Wn:zn.prototype=Wn;var Hn=function(e){function t(t,n,r,o){var i;return void 0===r&&(r="ObservableArray"),void 0===o&&(o=!1),i=e.call(this)||this,tr((function(){var e=new hn(r,n,o,!0);e.proxy_=i,w(i,G,e),t&&t.length&&i.spliceWithArray(0,0,t),Fn&&Object.defineProperty(i,"0",Kn)})),i}L(t,e);var n=t.prototype;return n.concat=function(){this[G].atom_.reportObserved();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map((function(e){return xn(e)?e.slice():e})))},n[Symbol.iterator]=function(){var e=this,t=0;return lr({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},I(t,[{key:"length",get:function(){return this[G].getArrayLength_()},set:function(e){this[G].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(Gn);function qn(e){return{enumerable:!1,configurable:!0,get:function(){return this[G].get_(e)},set:function(t){this[G].set_(e,t)}}}function Xn(e){l(Hn.prototype,""+e,qn(e))}function Yn(e){if(e>Un){for(var t=Un;t<e+100;t++)Xn(t);Un=e}}function Jn(e,t,n){return new Hn(e,t,n)}function Qn(e,t){if("object"==typeof e&&null!==e){if(xn(e))return void 0!==t&&r(23),e[G].atom_;if(Pn(e))return e.atom_;if(Cn(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||r(25,t,er(e)),n}if(Ln(e)){if(!t)return r(26);var o=e[G].values_.get(t);return o||r(27,t,er(e)),o}if(q(e)||Qe(e)||Ot(e))return e}else if(v(e)&&Ot(e[G]))return e[G];r(28)}function Zn(e,t){return e||r(29),void 0!==t?Zn(Qn(e,t)):q(e)||Qe(e)||Ot(e)||Cn(e)||Pn(e)?e:e[G]?e[G]:void r(24,e)}function er(e,t){var n;if(void 0!==t)n=Qn(e,t);else{if(It(e))return e.name;n=Ln(e)||Cn(e)||Pn(e)?Zn(e):Qn(e)}return n.name_}function tr(e){var t=it(),n=Ge(!0);vt();try{return e()}finally{yt(),He(n),at(t)}}Object.entries(mn).forEach((function(e){var t=e[0],n=e[1];"concat"!==t&&x(Hn.prototype,t,n)})),Yn(1e3);var nr,rr=u.toString;function or(e,t,n){return void 0===n&&(n=-1),ir(e,t,n)}function ir(e,t,n,r,o){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var i=typeof e;if("function"!==i&&"object"!==i&&"object"!=typeof t)return!1;var a=rr.call(e);if(a!==rr.call(t))return!1;switch(a){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":n>=0&&n++}e=ar(e),t=ar(t);var s="[object Array]"===a;if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var l=e.constructor,u=t.constructor;if(l!==u&&!(v(l)&&l instanceof l&&v(u)&&u instanceof u)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),o=o||[];for(var c=(r=r||[]).length;c--;)if(r[c]===e)return o[c]===t;if(r.push(e),o.push(t),s){if((c=e.length)!==t.length)return!1;for(;c--;)if(!ir(e[c],t[c],n-1,r,o))return!1}else{var d,f=Object.keys(e);if(c=f.length,Object.keys(t).length!==c)return!1;for(;c--;)if(!T(t,d=f[c])||!ir(e[d],t[d],n-1,r,o))return!1}return r.pop(),o.pop(),!0}function ar(e){return xn(e)?e.slice():A(e)||Cn(e)||O(e)||Pn(e)?Array.from(e.entries()):e}var sr=(null==(nr=i().Iterator)?void 0:nr.prototype)||{};function lr(e){return e[Symbol.iterator]=ur,Object.assign(Object.create(sr),e)}function ur(){return this}["Symbol","Map","Set"].forEach((function(e){void 0===i()[e]&&r("MobX requires global '"+e+"' to be available or polyfilled")})),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:er},$mobx:G});var cr=n(4953),dr=n.n(cr);if(!cr.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!function(e,t,n){return tr((function(){var r=In(e,n)[G];null!=t||(t=function(e){return T(e,W)||x(e,W,D({},e[W])),e[W]}(e)),E(t).forEach((function(e){return r.make_(e,t[e])}))})),e})throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");const fr=require("react-dom");function pr(e){e()}function hr(e){e||(e=pr),Ut({reactionScheduler:e})}var gr=function(){return!0};function mr(e){return Gt(Qn(e,t));var t}var vr=!1;function yr(e){vr=e}function br(){return vr}var _r,Sr,xr=function(){function e(e){var t=this;Object.defineProperty(this,"finalize",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"registrations",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"sweepTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sweep",{enumerable:!0,configurable:!0,writable:!0,value:function(e){void 0===e&&(e=1e4),clearTimeout(t.sweepTimeout),t.sweepTimeout=void 0;var n=Date.now();t.registrations.forEach((function(r,o){n-r.registeredAt>=e&&(t.finalize(r.value),t.registrations.delete(o))})),t.registrations.size>0&&t.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){t.sweep(0)}})}return Object.defineProperty(e.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){this.registrations.set(n,{value:t,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.registrations.delete(e)}}),Object.defineProperty(e.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){void 0===this.sweepTimeout&&(this.sweepTimeout=setTimeout(this.sweep,1e4))}}),e}(),wr=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:xr)((function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null})),kr=n(3634);function Ar(e){e.reaction=new St("observer".concat(e.name),(function(){var t;e.stateVersion=Symbol(),null===(t=e.onStoreChange)||void 0===t||t.call(e)}))}function Or(e,t){if(void 0===t&&(t="observed"),br())return e();var n=dr().useRef(null);if(!n.current){var r={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(e){return wr.unregister(r),r.onStoreChange=e,r.reaction||(Ar(r),r.stateVersion=Symbol()),function(){var e;r.onStoreChange=null,null===(e=r.reaction)||void 0===e||e.dispose(),r.reaction=null}},getSnapshot:function(){return r.stateVersion}};n.current=r}var o,i,a=n.current;if(a.reaction||(Ar(a),wr.register(n,a,a)),dr().useDebugValue(a.reaction,mr),(0,kr.useSyncExternalStore)(a.subscribe,a.getSnapshot,a.getSnapshot),a.reaction.track((function(){try{o=e()}catch(e){i=e}})),i)throw i;return o}var Cr="function"==typeof Symbol&&Symbol.for,Er=null!==(Sr=null===(_r=Object.getOwnPropertyDescriptor((function(){}),"name"))||void 0===_r?void 0:_r.configurable)&&void 0!==Sr&&Sr,jr=Cr?Symbol.for("react.forward_ref"):"function"==typeof cr.forwardRef&&(0,cr.forwardRef)((function(e){return null})).$$typeof,Tr=Cr?Symbol.for("react.memo"):"function"==typeof cr.memo&&(0,cr.memo)((function(e){return null})).$$typeof;function Pr(e,t){var n;if(Tr&&e.$$typeof===Tr)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");if(br())return e;var r=null!==(n=null==t?void 0:t.forwardRef)&&void 0!==n&&n,o=e,i=e.displayName||e.name;if(jr&&e.$$typeof===jr&&(r=!0,"function"!=typeof(o=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var a,s,l=function(e,t){return Or((function(){return o(e,t)}),i)};return l.displayName=e.displayName,Er&&Object.defineProperty(l,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(l.contextTypes=e.contextTypes),r&&(l=(0,cr.forwardRef)(l)),l=(0,cr.memo)(l),a=e,s=l,Object.keys(a).forEach((function(e){Mr[e]||Object.defineProperty(s,e,Object.getOwnPropertyDescriptor(a,e))})),l}var Rr,Mr={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function Br(e){var t=e.children,n=e.render;t&&n&&console.error("MobX Observer: Do not use children and render in the same time in `Observer`");var r=t||n;return"function"!=typeof r?null:Or(r)}function $r(e,t){return(0,cr.useState)((function(){return $e(e(),t,{autoBind:!0})}))[0]}function Ir(e){var t=(0,cr.useState)((function(){return $e(e,{},{deep:!1})}))[0];return function(e){Ue(0,!1,e,this,void 0)}((function(){Object.assign(t,e)})),t}function Nr(e,t){var n=t&&Ir(t);return(0,cr.useState)((function(){return $e(e(n),void 0,{autoBind:!0})}))[0]}Br.displayName="Observer",hr(fr.unstable_batchedUpdates);var Dr=null!==(Rr=wr.finalizeAllImmediately)&&void 0!==Rr?Rr:function(){};function Lr(e,t){return void 0===t&&(t="observed"),Or(e,t)}function Vr(e){yr(e)}},9094:(e,t,n)=>{"use strict";var r=n(4953),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,i={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:u,ref:c,props:i,_owner:s.current}}t.Fragment=i,t.jsx=u,t.jsxs=u},6870:(e,t,n)=>{"use strict";e.exports=n(9094)},9031:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(7478),o=n.n(r),i=n(7135),a=n.n(i),s=n(1301),l=n.n(s),u=n(9222),c=n.n(u),d=n(6626),f=n.n(d),p=n(8279),h=n.n(p),g=n(4178),m={};m.styleTagTransform=h(),m.setAttributes=c(),m.insert=l().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=f(),o()(g.A,m);const v=g.A&&g.A.locals?g.A.locals:void 0},7478:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},a=[],s=0;s<e.length;s++){var l=e[s],u=r.base?l[0]+r.base:l[0],c=i[u]||0,d="".concat(u," ").concat(c);i[u]=c+1;var f=n(d),p={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(p);else{var h=o(p,r);r.byIndex=s,t.splice(s,0,{identifier:d,updater:h,references:1})}a.push(d)}return a}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=n(i[a]);t[s].references--}for(var l=r(e,o),u=0;u<i.length;u++){var c=n(i[u]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}i=l}}},1301:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},6626:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},9222:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7135:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},8279:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},8319:(e,t,n)=>{"use strict";var r=n(4953),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,c=r[1];return s((function(){o.value=n,o.getSnapshot=t,u(o)&&c({inst:o})}),[e,n,t]),a((function(){return u(o)&&c({inst:o}),e((function(){u(o)&&c({inst:o})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},3634:(e,t,n)=>{"use strict";e.exports=n(8319)},2159:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=i(n(4953));n(9031);const l=n(1085),u=a(n(321)),c=a(n(2968)),d=a(n(6866)),f=a(n(9513)),p=a(n(6006));t.default=function(e){const[t,n]=(0,s.useState)(!1),[r,o]=(0,s.useState)(!0),[i,a]=(0,s.useState)(null),[h,g]=(0,s.useState)(null),{currentTask:m,audioRef:v,toggleHold:y,toggleRecording:b,endCall:_,wrapupCall:S,wrapupCodes:x,wrapupRequired:w}=e;return(0,s.useEffect)((()=>{if(!m||!m.data||!m.data.interaction)return;const{interaction:e,mediaResourceId:t}=m.data,{media:r,callProcessingDetails:i}=e,a=r&&r[t]&&r[t].isHold;if(n(a),i){const{isPaused:e}=i;o(!e)}}),[m]),(0,s.useEffect)((()=>{if(!m||!m.data||!m.data.interaction)return;const{interaction:e,mediaResourceId:t}=m.data,{media:r,callProcessingDetails:i}=e,a=r&&r[t]&&r[t].isHold;if(n(a),i){const{isPaused:e}=i;o(!e)}}),[m]),s.default.createElement(s.default.Fragment,null,s.default.createElement("audio",{ref:v,id:"remote-audio",autoPlay:!0}),m&&s.default.createElement(l.Box,{sx:{p:2}},!w&&s.default.createElement(l.Box,{sx:{display:"flex",gap:2}},!t&&s.default.createElement(l.IconButton,{onClick:_,sx:{width:56,height:40,backgroundColor:"#D3381C",color:"white",borderRadius:1,boxShadow:1,":hover":{backgroundColor:"#B03018"}}},s.default.createElement(d.default,null)),s.default.createElement(l.IconButton,{onClick:()=>{y(!t),n(!t)},sx:{width:56,height:40,backgroundColor:"#EDEDED",color:"black",borderRadius:1,boxShadow:1,":hover":{backgroundColor:"#D3D3D3"}}},t?s.default.createElement(c.default,null):s.default.createElement(u.default,null)),s.default.createElement(l.IconButton,{onClick:()=>{b(r),o(!r)},sx:{width:56,height:40,backgroundColor:"#EDEDED",color:r?"red":"black",borderRadius:1,boxShadow:1,":hover":{backgroundColor:"#D3D3D3"}}},s.default.createElement(p.default,null))),w&&s.default.createElement(l.Box,{sx:{display:"flex",gap:2,alignItems:"center"}},s.default.createElement(l.TextField,{select:!0,label:"Wrap-Up Reason",variant:"standard",value:h||"",onChange:e=>{const t=e.target.value,n=x.find((e=>e.id===t));n&&(a(n.name),g(t))},fullWidth:!0,sx:{color:"black",height:40}},x.map((e=>s.default.createElement(l.MenuItem,{key:e.id,value:e.id},e.name)))),s.default.createElement(l.IconButton,{onClick:()=>{i&&h&&(S(i,h),a(null),g(null))},disabled:!i,sx:Object.assign({width:40,height:40,backgroundColor:"#227AA3",color:"white",borderRadius:"4px",boxShadow:1,":hover":{backgroundColor:"#1E698F",cursor:i?"pointer":"not-allowed",color:i?"white":"gray"}},null===i&&{backgroundColor:"#227AA3",color:"white"})},s.default.createElement(f.default,null)))))}},6681:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CallControl=void 0;const o=r(n(4953)),i=n(9062),a=r(n(5768)),s=n(2306),l=r(n(2159)),u=(0,i.observer)((({onHoldResume:e,onEnd:t,onWrapUp:n})=>{const{logger:r,currentTask:i,wrapupCodes:u,wrapupRequired:c}=a.default,d=(0,s.useCallControl)({currentTask:i,onHoldResume:e,onEnd:t,onWrapUp:n,logger:r});return o.default.createElement(l.default,Object.assign({},d,{wrapupRequired:c,wrapupCodes:u}))}));t.CallControl=u},869:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(4953)),i=r(n(1307)),a={box:{backgroundColor:"#ffffff",borderRadius:"8px",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)",padding:"20px",maxWidth:"800px",margin:"0 auto"},sectionBox:{padding:"10px",border:"1px solid #ddd",borderRadius:"8px",marginBottom:"20px"},fieldset:{border:"1px solid #ccc",borderRadius:"5px",padding:"10px",marginBottom:"20px",position:"relative"},legendBox:{fontWeight:"bold",color:"#0052bf"},container:{border:"1px solid #ccc",borderRadius:"8px",padding:"16px",width:"350px",boxShadow:"0px 4px 8px rgba(0, 0, 0, 0.2)",fontFamily:"Arial, sans-serif",backgroundColor:"#ffffff",display:"flex",flexDirection:"column"},topSection:{display:"flex",justifyContent:"space-between",alignItems:"center"},iconWrapper:{display:"inline-block",backgroundColor:"#d4f8e8",borderRadius:"50%",width:"40px",height:"40px",justifyContent:"center",alignItems:"center",marginRight:"10px"},iconSvg:{width:"24px",height:"24px",color:"#146f5c"},callInfo:{margin:0,fontSize:"1.2em",color:"#333"},aniText:{fontSize:"1.1em",fontWeight:"bold",margin:"4px 0",color:"#146f5c"},buttonsWrapper:{display:"flex",flexDirection:"column",alignItems:"flex-end",marginLeft:"16px"},answerButton:{padding:"8px 16px",border:"none",borderRadius:"6px",fontSize:"0.9em",cursor:"pointer",fontWeight:"bold",backgroundColor:"#28a745",color:"#fff",marginBottom:"8px"},declineButton:{padding:"8px 16px",border:"none",borderRadius:"6px",fontSize:"0.9em",cursor:"pointer",fontWeight:"bold",backgroundColor:"#dc3545",color:"#fff"},queueInfo:{fontSize:"0.9em",color:"#666",marginTop:"8px"},timeElapsed:{color:"#28a745",fontWeight:"bold"},callDetails:{marginTop:"16px",fontSize:"0.9em",color:"#333"},detailItem:{margin:"4px 0"},detailLabel:{color:"#555",fontWeight:"bold"}};t.default=e=>{const{incomingTask:t,accept:n,decline:r,isBrowser:s}=e;if(!t)return o.default.createElement(o.default.Fragment,null);const l=t.data.interaction.callAssociatedDetails,{ani:u,dn:c,virtualTeamName:d}=l;return o.default.createElement("div",{style:a.box},o.default.createElement("section",{style:a.sectionBox},o.default.createElement("fieldset",{style:a.fieldset},o.default.createElement("legend",{style:a.legendBox},"Incoming Task"),o.default.createElement(i.default,{variant:"contained"},"Test Button"),o.default.createElement("div",{"data-testid":"incoming-task-presentational",style:a.container},o.default.createElement("div",{style:a.topSection},o.default.createElement("div",{style:{display:"flex",alignItems:"center"}},o.default.createElement("span",{style:a.iconWrapper},o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:a.iconSvg},o.default.createElement("path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.86 19.86 0 0 1-8.63-2.73 19.5 19.5 0 0 1-6-6A19.86 19.86 0 0 1 3.08 4.18 2 2 0 0 1 5 2h3a2 2 0 0 1 2 1.72c.2 1.52.71 2.94 1.41 4.24a2 2 0 0 1-.45 2.31L9.91 11a16 16 0 0 0 6 6l1.73-1.05a2 2 0 0 1 2.31-.45 16.11 16.11 0 0 0 4.24 1.41A2 2 0 0 1 22 16.92z"}))),o.default.createElement("div",null,o.default.createElement("h2",{style:a.callInfo},"Incoming Call"),o.default.createElement("p",{"data-testid":"incoming-task-ani",style:a.aniText},u))),s&&o.default.createElement("div",{style:a.buttonsWrapper},o.default.createElement("button",{style:a.answerButton,onClick:n},"Answer"),o.default.createElement("button",{style:a.declineButton,onClick:r},"Decline"))),o.default.createElement("p",{style:a.queueInfo},d," - ",o.default.createElement("span",{style:a.timeElapsed},"")),o.default.createElement("div",{style:a.callDetails},o.default.createElement("p",{style:a.detailItem},o.default.createElement("strong",{style:a.detailLabel},"Phone Number:")," ",u),o.default.createElement("p",{style:a.detailItem},o.default.createElement("strong",{style:a.detailLabel},"DNIS:")," ",c),o.default.createElement("p",{style:a.detailItem},o.default.createElement("strong",{style:a.detailLabel},"Queue Name:")," ",d))))))}},4360:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.IncomingTask=void 0;const o=r(n(4953)),i=n(9062),a=r(n(5768)),s=n(2306),l=r(n(869)),u=(0,i.observer)((({onAccepted:e,onDeclined:t})=>{const{cc:n,deviceType:r,incomingTask:i,logger:u}=a.default,c=(0,s.useIncomingTask)({cc:n,incomingTask:i,onAccepted:e,onDeclined:t,deviceType:r,logger:u}),d=Object.assign({},c);return o.default.createElement(l.default,Object.assign({},d))}));t.IncomingTask=u},196:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TaskList=void 0;const o=r(n(4953)),i=r(n(5768)),a=n(9062),s=r(n(1859)),l=n(2306),u=(0,a.observer)((()=>{const{cc:e,taskList:t,currentTask:n,deviceType:r,logger:a}=i.default,u=(0,l.useTaskList)({cc:e,deviceType:r,logger:a,taskList:t}),c=Object.assign(Object.assign({},u),{currentTask:n});return o.default.createElement(s.default,Object.assign({},c))}));t.TaskList=u},1859:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(4953)),i=n(1085),a=r(n(3243)),s=r(n(6866));t.default=e=>{const{currentTask:t,taskList:n,acceptTask:r,declineTask:l,isBrowser:u}=e;return n.length<=0?null:o.default.createElement(i.Box,{sx:{maxWidth:800,margin:"0 auto",p:3}},n.map(((e,n)=>{const c=e.data.interaction.callAssociatedDetails,{ani:d,virtualTeamName:f}=c;return o.default.createElement(i.Box,{key:n,sx:{display:"flex",alignItems:"center",justifyContent:"space-between",p:1.5,mb:2}},o.default.createElement(i.Box,{sx:{display:"flex",alignItems:"center",gap:1}},o.default.createElement(i.Box,null,o.default.createElement(i.Typography,{variant:"body1",sx:{fontWeight:"bold"}},d),o.default.createElement(i.Typography,{variant:"body2",sx:{color:"text.secondary"}},f))),!t&&o.default.createElement(i.Box,null,u?o.default.createElement(i.Box,{sx:{display:"flex",gap:1}},o.default.createElement(i.IconButton,{color:"success",onClick:()=>r(e)},o.default.createElement(a.default,null)),o.default.createElement(i.IconButton,{color:"error",onClick:()=>l(e)},o.default.createElement(s.default,null))):null))})))}},2306:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useCallControl=t.useIncomingTask=t.useTaskList=void 0;const o=n(4953),i=r(n(5768)),a=n(3088);t.useTaskList=e=>{const{deviceType:t,onTaskAccepted:n,onTaskDeclined:r,logger:o,taskList:i}=e,a=(e,t)=>{o.error(e,{module:"widget-cc-task#helper.ts",method:`useTaskList#${t}`})};return{taskList:i,acceptTask:e=>{const t=null==e?void 0:e.data.interactionId;t&&e.accept(t).then((()=>{n&&n(e)})).catch((e=>{a(`Error accepting task: ${e}`,"acceptTask")}))},declineTask:e=>{const t=null==e?void 0:e.data.interactionId;t&&e.decline(t).then((()=>{r&&r(e)})).catch((e=>{a(`Error declining task: ${e}`,"declineTask")}))},isBrowser:"BROWSER"===t}},t.useIncomingTask=e=>{const{cc:t,onAccepted:n,onDeclined:r,deviceType:o,incomingTask:i,logger:a}=e,s=(e,t)=>{a.error(e,{module:"widget-cc-task#helper.ts",method:`useIncomingTask#${t}`})};return{incomingTask:i,accept:()=>{const e=null==i?void 0:i.data.interactionId;e&&i.accept(e).then((()=>{n&&n()})).catch((e=>{s(`Error accepting incoming task: ${e}`,"accept")}))},decline:()=>{const e=null==i?void 0:i.data.interactionId;e&&i.decline(e).then((()=>{r&&r()})).catch((e=>{s(`Error declining incoming task: ${e}`,"decline")}))},isBrowser:"BROWSER"===o}},t.useCallControl=e=>{const{currentTask:t,onHoldResume:n,onEnd:r,onWrapUp:s,logger:l}=e,u=(0,o.useRef)(null),c=(e,t)=>{l.error(e,{module:"widget-cc-task#helper.ts",method:`useCallControl#${t}`})},d=(0,o.useCallback)((e=>{u.current&&(u.current.srcObject=new MediaStream([e]))}),[u,t]);return(0,o.useEffect)((()=>{if(t)return t.on(a.TASK_EVENTS.TASK_MEDIA,d),i.default.setCustomStatus("ENGAGED"),()=>{t.off(a.TASK_EVENTS.TASK_MEDIA,d),i.default.setCustomStatus("")}}),[t]),{currentTask:t,audioRef:u,endCall:()=>{t.end().then((()=>{r&&r()})).catch((e=>{c(`Error ending call: ${e}`,"endCall")}))},toggleHold:e=>{e?t.hold().then((()=>n&&n())).catch((e=>{c(`Error holding call: ${e}`,"toggleHold")})):t.resume().then((()=>n&&n())).catch((e=>{c(`Error resuming call: ${e}`,"toggleHold")}))},toggleRecording:e=>{e?t.pauseRecording().catch((e=>{c(`Error pausing recording: ${e}`,"toggleRecording")})):t.resumeRecording().catch((e=>{c(`Error resuming recording: ${e}`,"toggleRecording")}))},wrapupCall:(e,n)=>{t.wrapup({wrapUpReason:e,auxCodeId:n}).then((()=>{s&&s({wrapUpReason:e,task:null==t?void 0:t.data}),i.default.handleTaskRemove(t.data.interactionId)})).catch((e=>{c(`Error wrapping up call: ${e}`,"wrapupCall")}))}}}},3088:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.TASK_EVENTS=void 0,function(e){e.TASK_INCOMING="task:incoming",e.TASK_ASSIGNED="task:assigned",e.TASK_MEDIA="task:media",e.TASK_HOLD="task:hold",e.TASK_UNHOLD="task:unhold",e.TASK_CONSULT="task:consult",e.TASK_CONSULT_END="task:consultEnd",e.TASK_CONSULT_ACCEPT="task:consultAccepted",e.TASK_PAUSE="task:pause",e.TASK_RESUME="task:resume",e.TASK_END="task:end",e.TASK_WRAPUP="task:wrapup"}(n||(t.TASK_EVENTS=n={}))},1007:e=>{"use strict";e.exports=require("@emotion/react")},1085:e=>{"use strict";e.exports=require("@mui/material")},5768:e=>{"use strict";e.exports=require("@webex/cc-store")},4953:e=>{"use strict";e.exports=require("react")},9428:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},7064:(e,t,n)=>{"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}n.d(t,{A:()=>o});const o=function(){for(var e,t,n=0,o="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var r={};(()=>{"use strict";var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.CallControl=e.TaskList=e.IncomingTask=void 0;const t=n(4360);Object.defineProperty(e,"IncomingTask",{enumerable:!0,get:function(){return t.IncomingTask}});const o=n(196);Object.defineProperty(e,"TaskList",{enumerable:!0,get:function(){return o.TaskList}});const i=n(6681);Object.defineProperty(e,"CallControl",{enumerable:!0,get:function(){return i.CallControl}})})(),module.exports=r})();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webex/cc-task",
3
3
  "description": "Webex Contact Center Widgets: Task",
4
- "version": "1.28.0-ccconnectors.7",
4
+ "version": "1.28.0-ccconnectors.8",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -19,9 +19,9 @@
19
19
  "test:unit": "jest --coverage"
20
20
  },
21
21
  "dependencies": {
22
- "@webex/cc-store": "1.28.0-ccconnectors.7",
22
+ "@webex/cc-store": "1.28.0-ccconnectors.8",
23
23
  "mobx-react-lite": "^4.1.0",
24
- "webex": "3.7.0-wxcc.12"
24
+ "webex": "3.7.0-wxcc.15"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@babel/core": "7.25.2",
@@ -62,5 +62,5 @@
62
62
  "^.+\\.(css|less|scss)$": "babel-jest"
63
63
  }
64
64
  },
65
- "stableVersion": "1.28.0-ccconnectors.6"
65
+ "stableVersion": "1.28.0-ccconnectors.7"
66
66
  }