vendor: 4,239 bytes, line 1
1import{a as e,i as t,n,r,t as i}from"./chunk-rolldown-runtime-B0Z9INg1.js";var a=i((e=>{var t=Symbol.for(`react.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.provider`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.iterator;function p(e){return typeof e!=`object`||!e?null:(e=f&&e[f]||e[`@@iterator`],typeof e==`function`?e:null)}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function _(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`setState(...): takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function v(){}v.prototype=_.prototype;function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}var b=y.prototype=new v;b.constructor=y,h(b,_.prototype),b.isPureReactComponent=!0;var x=Array.isArray,S=Object.prototype.hasOwnProperty,C={current:null},w={key:!0,ref:!0,__self:!0,__source:!0};function ee(e,n,r){var i,a={},o=null,s=null;if(n!=null)for(i in n.ref!==void 0&&(s=n.ref),n.key!==void 0&&(o=``+n.key),n)S.call(n,i)&&!w.hasOwnProperty(i)&&(a[i]=n[i]);var c=arguments.length-2;if(c===1)a.children=r;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];a.children=l}if(e&&e.defaultProps)for(i in c=e.defaultProps,c)a[i]===void 0&&(a[i]=c[i]);return{$$typeof:t,type:e,key:o,ref:s,props:a,_owner:C.current}}function te(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}function ne(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function re(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var ie=/\/+/g;function ae(e,t){return typeof e==`object`&&e&&e.key!=null?re(``+e.key):t.toString(36)}function oe(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0}}if(c)return c=e,o=o(c),e=a===``?`.`+ae(c,0):a,x(o)?(i=``,e!=null&&(i=e.replace(ie,`$&/`)+`/`),oe(o,r,i,``,function(e){return e})):o!=null&&(ne(o)&&(o=te(o,i+(!o.key||c&&c.key===o.key?``:(``+o.key).replace(ie,`$&/`)+`/`)+e)),r.push(o)),1;if(c=0,a=a===``?`.`:a+`:`,x(e))for(var l=0;l<e.length;l++){s=e[l];var u=a+ae(s,l);c+=oe(s,r,i,u,o)}else if(u=p(e),typeof u==`function`)for(e=u.call(e),l=0;!(s=e.next()).done;)s=s.value,u=a+ae(s,l++),c+=oe(s,r,i,u,o);else if(s===`object`)throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`);return c}function se(e,t,n){if(e==null)return e;var r=[],i=0;return oe(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function ce(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var T={current:null},E={transition:null},le={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:E,ReactCurrentOwner:C};function D(){throw Error(`act(...) is not supported in production builds of React.`)}e.Children={map:se,forEach:function(e,t,n){se(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return se(e,function(){t++}),t},toArray:function(e){return se(e,function(e){return e})||[]},only:function(e){if(!ne(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}},e.Component=_,e.Fragment=r,e.Profiler=a,e.PureComponent=y,e.StrictMode=i,e.Suspense=l,e.__SECRET_INT
1ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=le,e.act=D,e.cloneElement=function(e,n,r){if(e==null)throw Error(`React.cloneElement(...): The argument must be a React element, but you passed `+e+`.`);var i=h({},e.props),a=e.key,o=e.ref,s=e._owner;if(n!=null){if(n.ref!==void 0&&(o=n.ref,s=C.current),n.key!==void 0&&(a=``+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in n)S.call(n,l)&&!w.hasOwnProperty(l)&&(i[l]=n[l]===void 0&&c!==void 0?c[l]:n[l])}var l=arguments.length-2;if(l===1)i.children=r;else if(1<l){c=Array(l);for(var u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}return{$$typeof:t,type:e.type,key:a,ref:o,props:i,_owner:s}},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:o,_context:e},e.Consumer=e},e.createElement=ee,e.createFactory=function(e){var t=ee.bind(null,e);return t.type=e,t},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=ne,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:ce}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=E.transition;E.transition={};try{e()}finally{E.transition=t}},e.unstable_act=D,e.useCallback=function(e,t){return T.current.useCallback(e,t)},e.useContext=function(e){return T.current.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e){return T.current.useDeferredValue(e)},e.useEffect=function(e,t){return T.current.useEffect(e,t)},e.useId=function(){return T.current.useId()},e.useImperativeHandle=function(e,t,n){return T.current.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return T.current.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return T.current.useLayoutEffect(e,t)},e.useMemo=function(e,t){return T.current.useMemo(e,t)},e.useReducer=function(e,t,n){return T.current.useReducer(e,t,n)},e.useRef=function(e){return T.current.useRef(e)},e.useState=function(e){return T.current.useState(e)},e.useSyncExternalStore=function(e,t,n){return T.current.useSyncExternalStore(e,t,n)},e.useTransition=function(){return T.current.useTransition()},e.version=`18.3.1`})),o=i(((e,t)=>{t.exports=a()}));function s(e){let t=`https://mui.com/production-error/?code=`+e;for(let e=1;e<arguments.length;e+=1)t+=`&args[]=`+encodeURIComponent(arguments[e]);return`Minified MUI error #`+e+`; visit `+t+` for the full message.`}var c=e(o()),l=`$$material`;function u(){return u=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},u.apply(null,arguments)}var d=n((()=>{}));function f(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var p=n((()=>{}));function m(e){let t=`https://mui.com/production-error/?code=`+e;for(let e=1;e<arguments.length;e+=1)t+=`&args[]=`+encodeURIComponent(arguments[e]);return`Minified MUI error #`+e+`; visit `+t+` for the full message.`}var h=n((()=>{})),g=r({default:()=>m}),_=n((()=>{h()}));function v(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function y(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t.setAttribute(`data-s`,``),t}var b,x=n((()=>{b=function(){function e(e){var t=this;this._insertTag=function(e){var n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling;t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(y(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=v(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++}
vendor: 15,761 bytes, line 1
1,t.flush=function(){this.tags.forEach(function(e){return e.parentNode?.removeChild(e)}),this.tags=[],this.ctr=0},e}()})),S,C,w,ee,te,ne,re,ie,ae,oe=n((()=>{S=`-ms-`,C=`-moz-`,w=`-webkit-`,ee=`comm`,te=`rule`,ne=`decl`,re=`@import`,ie=`@keyframes`,ae=`@layer`}));function se(e,t){return D(e,0)^45?(((t<<2^D(e,0))<<2^D(e,1))<<2^D(e,2))<<2^D(e,3):0}function ce(e){return e.trim()}function T(e,t){return(e=t.exec(e))?e[0]:e}function E(e,t,n){return e.replace(t,n)}function le(e,t){return e.indexOf(t)}function D(e,t){return e.charCodeAt(t)|0}function ue(e,t,n){return e.slice(t,n)}function de(e){return e.length}function fe(e){return e.length}function pe(e,t){return t.push(e),e}function me(e,t){return e.map(t).join(``)}var he,ge,_e,O=n((()=>{he=Math.abs,ge=String.fromCharCode,_e=Object.assign}));function ve(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:Pe,column:Fe,length:o,return:``}}function ye(e,t){return _e(ve(``,null,null,``,null,null,0),e,{length:-e.length},t)}function be(){return j}function xe(){return j=A>0?D(Le,--A):0,Fe--,j===10&&(Fe=1,Pe--),j}function k(){return j=A<Ie?D(Le,A++):0,Fe++,j===10&&(Fe=1,Pe++),j}function Se(){return D(Le,A)}function Ce(){return A}function we(e,t){return ue(Le,e,t)}function Te(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ee(e){return Pe=Fe=1,Ie=de(Le=e),A=0,[]}function De(e){return Le=``,e}function Oe(e){return ce(we(A-1,je(e===91?e+2:e===40?e+1:e)))}function ke(e){for(;(j=Se())&&j<33;)k();return Te(e)>2||Te(j)>3?``:` `}function Ae(e,t){for(;--t&&k()&&!(j<48||j>102||j>57&&j<65||j>70&&j<97););return we(e,Ce()+(t<6&&Se()==32&&k()==32))}function je(e){for(;k();)switch(j){case e:return A;case 34:case 39:e!==34&&e!==39&&je(j);break;case 40:e===41&&je(e);break;case 92:k();break}return A}function Me(e,t){for(;k()&&e+j!==57&&(e+j!==84||Se()!==47););return`/*`+we(t,A-1)+`*`+ge(e===47?e:k())}function Ne(e){for(;!Te(Se());)k();return we(e,A)}var Pe,Fe,Ie,A,j,Le,Re=n((()=>{O(),Pe=1,Fe=1,Ie=0,A=0,j=0,Le=``}));function ze(e){return De(Be(``,null,null,null,[``],e=Ee(e),0,[0],e))}function Be(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=k()){case 40:if(m!=108&&D(C,d-1)==58){le(C+=E(Oe(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=Oe(v);break;case 9:case 10:case 13:case 32:C+=ke(m);break;case 92:C+=Ae(Ce()-1,7);continue;case 47:switch(Se()){case 42:case 47:pe(He(Me(k(),Ce()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=de(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=E(C,/\f/g,``)),p>0&&de(C)-d&&pe(p>32?Ue(C+`;`,r,n,d-1):Ue(E(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(pe(S=Ve(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123){if(u===0)Be(C,t,S,S,b,a,d,s,x);else switch(f===99&&D(C,3)===110?100:f){case 100:case 108:case 109:case 115:Be(e,S,S,r&&pe(Ve(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:Be(C,S,S,S,[``],x,0,s,x)}}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+de(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&xe()==125)continue}switch(C+=ge(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(de(C)-1)*_,_=1;break;case 64:Se()===45&&(C+=Oe(k())),f=Se(),u=d=de(y=C+=Ne(Ce())),v++;break;case 45:m===45&&de(C)==2&&(h=0)}}return a}function Ve(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=fe(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=ue(e,d+1,d=he(h=o[m])),y=e;_<p;++_)(y=ce(h>0?f[_]+` `+v:E(v,/&\f/g,f[_])))&&(c[g++]=y);return ve(e,t,n,i===0?te:s,c,l,u)}function He(e,t,n){return ve(e,t,n,ee,ge(be()),ue(e,2,-2),0)}function Ue(e,t,n,r){return ve(e,t,n,ne,ue(e,0,r),ue(e,r+1,-1),r)}var We=n((()=>{oe(),O(),Re()})),Ge=n((()=>{}));function Ke(e,t){for(var n=``,r=fe(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function qe(e,t,n,r){switch(e.type){case ae:if(e.children.length)break;case re:case ne:return e.return=e.return||e.value;case ee:return``;case ie:return e.return=e.value+`{`+Ke(e.children,r)+`}`;case te:e.value=e.props.join(`,`)}return de(n=Ke(e.children,r))?e.return=e.value+`{`+n+`}`:``}var Je=n((()=>{oe(),O()}));function Ye(e){var t=fe(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function Xe(e){return function(t){t.root||(t=t.return)&&e(t)}}var Ze=n((()=>{O()})),Qe=n((()=>{oe(),O(),We(),Ge(),Re(),Je(),Ze()}));function $e(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var et=n((()=>{}));function tt(e,t){switch(se(e,t)){case 5103:return w+`print-`+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return w+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return w+e+C+e+S+e+e;case 6828:case 4268:return w+e+S+e+e;case 6165:return w+e+S+`flex-`+e+e;case 5187:return w+e+E(e,/(\w+).+(:[^]+)/,w+`box-$1$2`+S+`flex-$1$2`)+e;case 5443:return w+e+S+`flex-item-`+E(e,/flex-|-self/,``)+e;case 4675:return w+e+S+`flex-line-pack`+E(e,/align-content|flex-|-self/,``)+e;case 5548:return w+e+S+E(e,`shrink`,`negative`)+e;case 5292:return w+e+S+E(e,`basis`,`preferred-size`)+e;case 6060:return w+`box-`+E(e,`-grow`,``)+w+e+S+E(e,`grow`,`positive`)+e;case 4554:return w+E(e,/([^-])(transform)/g,`$1`+w+`$2`)+e;case 6187:return E(E(E(e,/(zoom-|grab)/,w+`$1`),/(image-set)/,w+`$1`),e,``)+e;case 5495:case 3959:return E(e,/(image-set\([^]*)/,w+"$1$`$1");case 4968:return E(E(e,/(.+:)(flex-)?(.*)/,w+`box-pack:$3`+S+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+w+e+e;case 4095:case 3583:case 4068:case 2532:return E(e,/(.+)-inline(.+)/,w+`$1$2`)+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(de(e)-1-t>6)switch(D(e,t+1)){case 109:if(D(e,t+4)!==45)break;case 102:return E(e,/(.+:)(.+)-([^]+)/,`$1`+w+`$2-$3$1`+C+(D(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~le(e,`stretch`)?tt(E(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(D(e,t+1)!==115)break;case 6444:switch(D(e,de(e)-3-(~le(e,`!important`)&&10))){case 107:return E(e,`:`,`:`+w)+e;case 101:return E(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+w+(D(e,14)===45?`inline-`:``)+`box$3$1`+w+`$2$3$1`+S+`$2box$3`)+e}break;case 5936:switch(D(e,t+11)){case 114:return w+e+S+E(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return w+e+S+E(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return w+e+S+E(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return w+e+S+e+e}return e}var nt,rt,it,at,ot,st,ct,lt,ut=n((()=>{x(),Qe(),nt=function(e,t,n){for(var r=0,i=0;r=i,i=Se(),r===38&&i===12&&(t[n]=1),!Te(i);)k();return we(e,A)},rt=function(e,t){var n=-1,r=44;do switch(Te(r)){case 0:r===38&&Se()===12&&(t[n]=1),e[n]+=nt(A-1,t,n);break;case 2:e[n]+=Oe(r);break;case 4:if(r===44){e[++n]=Se()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=ge(r)}while(r=k());return e},it=function(e,t){return De(rt(Ee(e),t))},at=new WeakMap,ot=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!at.get(n))&&!r){at.set(e,!0);for(var i=[],a=it(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},st=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}},ct=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case ne:e.return=tt(e.value,e.length);break;case ie:return Ke([ye(e,{value:E(e.value,`@`,`@`+w)})],r);case te:if(e.length)return me(e.props,function(t){switch(T(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return Ke([ye(e,{props:[E(t,/:(read-\w+)/,`:`+C+`$1`)]})],r);case`::placeholder`:return Ke([ye(e,{props:[E(t,/:(plac\w+)/,`:`+w+`input-$1`)]}),ye(e,{props:[E(t,/:(plac\w+)/,`:`+C+`$1`)]}),ye(e,{props:[E(t,/:(plac\w+)/,S+`input-$1`)]})],r)}return``})}}],lt=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){e.getAttribute(`data-emotion`).indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||ct,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[ot,st],l,u=[qe,Xe(function(e){l.insert(e)})],d=Ye(c.concat(r,u)),f=function(e){return Ke(ze(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new b({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p}})),dt=i((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e=e&&e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),ft=i(((e,t)=>{t.exports=dt()})),pt=i(((e,t)=>{var n=ft(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h}));function mt(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var ht,gt,_t=n((()=>{ht=function(e,t,n){var r=e.key+`-`+t.name;n===!1&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},gt=function(e,t,n){ht(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}}}));function vt(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var yt=n((()=>{})),bt,xt=n((()=>{bt={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 St(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;if(i.anim===1)return Pt={name:i.name,styles:i.styles,next:Pt},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)Pt={name:o.name,styles:o.styles,next:Pt},o=o.next;return a.styles+`;`}return Ct(e,t,n);case`function`:if(e!==void 0){var s=Pt,c=n(e);return Pt=s,St(e,t,c)}}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function Ct(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=St(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:kt(s)&&(r+=At(a)+`:`+jt(a,s)+`;`)}else{if(a===`NO_COMPONENT_SELECTOR`&&Tt)throw Error(Mt);if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)kt(o[c])&&(r+=At(a)+`:`+jt(a,o[c])+`;`);else{var l=St(e,t,o);switch(a){case`animation`:case`animationName`:r+=At(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}}return r}function wt(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;Pt=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=St(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=St(n,t,e[o]),r&&(i+=a[o]);Nt.lastIndex=0;for(var s=``,c;(c=Nt.exec(i))!==null;)s+=`-`+c[1];return{name:vt(i)+s,styles:i,next:Pt}}var Tt,Et,Dt,Ot,kt,At,jt,Mt,Nt,Pt,Ft=n((()=>{yt(),xt(),et(),Tt=!1,Et=/[A-Z]|^ms/g,Dt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ot=function(e){return e.charCodeAt(1)===45},kt=function(e){return e!=null&&typeof e!=`boolean`},At=$e(function(e){return Ot(e)?e:e.replace(Et,`-$&`).toLowerCase()}),jt=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(Dt,function(e,t,n){return Pt={name:t,styles:n,next:Pt},t})}
1return bt[e]!==1&&!Ot(e)&&typeof t==`number`&&t!==0?t+`px`:t},Mt=`Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.`,Nt=/label:\s*([^\s;{]+)\s*(;|$)/g})),It,Lt,Rt,zt,Bt=n((()=>{It=function(e){return e()},Lt=c.useInsertionEffect?c.useInsertionEffect:!1,Rt=Lt||It,zt=Lt||c.useLayoutEffect})),Vt,Ht,Ut,Wt,Gt,Kt,qt,Jt,Yt,Xt,Zt,Qt=n((()=>{Vt=e(o()),Ht=e(o()),ut(),_t(),Ft(),Bt(),Ut=Vt.createContext(typeof HTMLElement<`u`?lt({key:`css`}):null),Wt=Ut.Provider,Gt=function(e){return(0,Ht.forwardRef)(function(t,n){return e(t,(0,Ht.useContext)(Ut),n)})},Kt=Vt.createContext({}),qt={}.hasOwnProperty,Jt=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,Yt=function(e,t){var n={};for(var r in t)qt.call(t,r)&&(n[r]=t[r]);return n[Jt]=e,n},Xt=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return ht(t,n,r),Rt(function(){return gt(t,n,r)}),null},Zt=Gt(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[Jt],a=[r],o=``;typeof e.className==`string`?o=mt(t.registered,a,e.className):e.className!=null&&(o=e.className+` `);var s=wt(a,void 0,Vt.useContext(Kt));o+=t.key+`-`+s.name;var c={};for(var l in e)qt.call(e,l)&&l!==`css`&&l!==Jt&&(c[l]=e[l]);return c.className=o,n&&(c.ref=n),Vt.createElement(Vt.Fragment,null,Vt.createElement(Xt,{cache:t,serialized:s,isStringTag:typeof i==`string`}),Vt.createElement(i,c))})}));function $t(){return wt([...arguments])}function en(){var e=$t.apply(void 0,arguments),t=`animation-`+e.name;return{name:t,styles:`@keyframes `+t+`{`+e.styles+`}`,anim:1,toString:function(){return`_EMO_`+this.name+`_`+this.styles+`_EMO_`}}}var tn,nn,rn,an=n((()=>{Qt(),tn=e(o()),_t(),Bt(),Ft(),pt(),nn=function(e,t){var n=arguments;if(t==null||!qt.call(t,`css`))return tn.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=Zt,i[1]=Yt(e,t);for(var a=2;a<r;a++)i[a]=n[a];return tn.createElement.apply(null,i)},(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(nn||(nn={})),rn=Gt(function(e,t){var n=e.styles,r=wt([n],void 0,tn.useContext(Kt)),i=tn.useRef();return zt(function(){var e=t.key+`-global`,n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,o=document.querySelector(`style[data-emotion="`+e+` `+r.name+`"]`);return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),o!==null&&(a=!0,o.setAttribute(`data-emotion`,e),n.hydrate([o])),i.current=[n,a],function(){n.flush()}},[t]),zt(function(){var e=i.current,n=e[0];if(e[1]){e[1]=!1;return}r.next!==void 0&>(t,r.next,!0),n.tags.length&&(n.before=n.tags[n.tags.length-1].nextElementSibling,n.flush()),t.insert(``,r,n,!1)},[t,r.name]),null})})),on,sn,cn=n((()=>{et(),on=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRen
vendor: 4,137 bytes, line 1
1dering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,sn=$e(function(e){return on.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91})})),ln,un,dn,fn,pn,mn,hn,gn,_n=n((()=>{d(),an(),Ft(),Bt(),_t(),ln=e(o()),cn(),un=!1,dn=sn,fn=function(e){return e!==`theme`},pn=function(e){return typeof e==`string`&&e.charCodeAt(0)>96?dn:fn},mn=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return typeof r!=`function`&&n&&(r=e.__emotion_forwardProp),r},hn=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return ht(t,n,r),Rt(function(){return gt(t,n,r)}),null},gn=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,a,o;n!==void 0&&(a=n.label,o=n.target);var s=mn(t,n,r),c=s||pn(i),l=!c(`as`);return function(){var d=arguments,f=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&f.push(`label:`+a+`;`),d[0]==null||d[0].raw===void 0)f.push.apply(f,d);else{var p=d[0];f.push(p[0]);for(var m=d.length,h=1;h<m;h++)f.push(d[h],p[h])}var g=Gt(function(e,t,n){var r=l&&e.as||i,a=``,u=[],d=e;if(e.theme==null){for(var p in d={},e)d[p]=e[p];d.theme=ln.useContext(Kt)}typeof e.className==`string`?a=mt(t.registered,u,e.className):e.className!=null&&(a=e.className+` `);var m=wt(f.concat(u),t.registered,d);a+=t.key+`-`+m.name,o!==void 0&&(a+=` `+o);var h=l&&s===void 0?pn(r):c,g={};for(var _ in e)l&&_===`as`||h(_)&&(g[_]=e[_]);return g.className=a,n&&(g.ref=n),ln.createElement(ln.Fragment,null,ln.createElement(hn,{cache:t,serialized:m,isStringTag:typeof r==`string`}),ln.createElement(r,g))});return g.displayName=a===void 0?`Styled(`+(typeof i==`string`?i:i.displayName||i.name||`Component`)+`)`:a,g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=i,g.__emotion_styles=f,g.__emotion_forwardProp=s,Object.defineProperty(g,"toString",{value:function(){return o===void 0&&un?`NO_COMPONENT_SELECTOR`
1:`.`+o}}),g.withComponent=function(t,r){return e(t,u({},n,r,{shouldForwardProp:mn(g,r,!0)})).apply(void 0,f)},g}}})),vn,yn,bn=n((()=>{_n(),Bt(),o(),vn=`a.abbr.address.area.article.aside.audio.b.base.bdi.bdo.big.blockquote.body.br.button.canvas.caption.cite.code.col.colgroup.data.datalist.dd.del.details.dfn.dialog.div.dl.dt.em.embed.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.iframe.img.input.ins.kbd.keygen.label.legend.li.link.main.map.mark.marquee.menu.menuitem.meta.meter.nav.noscript.object.ol.optgroup.option.output.p.param.picture.pre.progress.q.rp.rt.ruby.s.samp.script.section.select.small.source.span.strong.style.sub.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.title.tr.track.u.ul.var.video.wbr.circle.clipPath.defs.ellipse.foreignObject.g.image.line.linearGradient.mask.path.pattern.polygon.polyline.radialGradient.rect.stop.svg.text.tspan`.split(`.`),yn=gn.bind(null),vn.forEach(function(e){yn[e]=yn(e)})})),xn=i((e=>{var t=o(),n=Symbol.for(`react.element`),r=Symbol.for(`react.fragment`),i=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var o,c={},l=null,u=null;for(o in r!==void 0&&(l=``+r),t.key!==void 0&&(l=``+t.key),t.ref!==void 0&&(u=t.ref),t)i.call(t,o)&&!s.hasOwnProperty(o)&&(c[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps,t)c[o]===void 0&&(c[o]=t[o]);return{$$typeof:n,type:e,key:l,ref:u,props:c,_owner:a.current}}e.Fragment=r,e.jsx=c,e.jsxs=c})),Sn=i(((e,t)=>{t.exports=xn()}));function Cn(e,t){let n=lt({key:`css`,prepend:e});if(t){let e=n.insert;n.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return n}function wn(e){let{injectFirst:t,enableCssLayer:n,children:r}=e,i=Tn.useMemo(()=>{let e=`${t}-${n}`;if(typeof document==`object`&&Dn.has(e))return Dn.get(e);let r=Cn(t,n);return Dn.set(e,r),r},[t,n]);return t||n?(0,En.jsx)(Wt,{value:i,children:r}):r}var Tn,En,Dn,On=n((()=>{Tn=e(o()),an(),ut(),En=Sn(),Dn=new Map})),kn=n((()=>{On()}));function An(e){return e==null||Object.keys(e).length===0}function jn(e){let{styles:t,defaultTheme:n={}}=e;return(0,Mn.jsx)(rn,{styles:typeof t==`function`?e=>t(An(e)?n:e):t})}var Mn,Nn=n((()=>{o(),an(),Mn=Sn()})),Pn=n((()=>{Nn()})),Fn=r({GlobalStyles:()=>jn,StyledEngineProvider:()=>wn,ThemeContext:()=>Kt,css:()=>$t,default:()=>In,internal_processStyles:()=>Rn,internal_serializeStyles:()=>Ln,keyframes:()=>en});function In(e,t){return yn(e,t)}function Ln(e){return zn[0]=e,wt(zn)}var Rn,zn,Bn=n((()=>{bn(),Ft(),an(),kn(),Pn(),Rn=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},zn=[]}));function Vn(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Hn(e){if(Wn.isValidElement(e)||!Vn(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=Hn(e[n])}),t}function Un(e,t,n={clone:!0}){let r=n.clone?u({},e):e;return Vn(e)&&Vn(t)&&Object.keys(t).forEach(i=>{Wn.isValidElement(t[i])?r[i]=t[i]:Vn(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&Vn(e[i])?r[i]=Un(e[i],t[i],n):n.clone?r[i]=Vn(t[i])?Hn(t[i]):t[i]:r[i]=t[i]}),r}var Wn,Gn=n((()=>{d(),Wn=e(o())})),Kn=r({default:()=>Un,isPlainObject:()=>Vn}),qn=n((()=>{Gn(),Gn()}));function Jn(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5}=e,i=f(e,Yn),a=Xn(t),o=Object.keys(a);function s(e){return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n})`}function c(e){return`@media (max-width:${(typeof t[e]==`number`?t[e]:e)-r/100}${n})`}function l(e,i){let a=o.indexOf(i);return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n}) and (max-width:${(a!==-1&&typeof t[o[a]]==`number`?t[o[a]]:i)-r/100}${n})`}function d(e){return o.indexOf(e)+1<o.length?l(e,o[o.indexOf(e)+1]):s(e)}function p(e){let t=o.indexOf(e);return t===0?s(o[1]):t===o.length-1?c(o[t]):l(e,o[o.indexOf(e)+1]).replace(`@media`,`@media not all and`)}return u({keys:o,values:a,up:s,down:c,between:l,only:d,not:p,unit:n},i)}var Yn,Xn,Zn=n((()=>{p(),d(),Yn=[`values`,`unit`,`step`],Xn=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}
1))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>u({},e,{[t.key]:t.val}),{})}})),Qn,$n=n((()=>{Qn={borderRadius:4}}));function er(e,t){return t?Un(e,t,{clone:!1}):e}var tr=n((()=>{qn()}));function nr(e,t,n){let r=e.theme||{};if(Array.isArray(t)){let e=r.breakpoints||lr;return t.reduce((r,i,a)=>(r[e.up(e.keys[a])]=n(t[a]),r),{})}if(typeof t==`object`){let e=r.breakpoints||lr;return Object.keys(t).reduce((r,i)=>{if(Object.keys(e.values||cr).indexOf(i)!==-1){let a=e.up(i);r[a]=n(t[i],i)}else{let e=i;r[e]=t[e]}return r},{})}return n(t)}function rr(e={}){return e.keys?.reduce((t,n)=>{let r=e.up(n);return t[r]={},t},{})||{}}function ir(e,t){return e.reduce((e,t)=>{let n=e[t];return(!n||Object.keys(n).length===0)&&delete e[t],e},t)}function ar(e,...t){let n=rr(e),r=[n,...t].reduce((e,t)=>Un(e,t),{});return ir(Object.keys(n),r)}function or(e,t){if(typeof e!=`object`)return{};let n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((t,r)=>{r<e.length&&(n[t]=!0)}):r.forEach(t=>{e[t]!=null&&(n[t]=!0)}),n}function sr({values:e,breakpoints:t,base:n}){let r=n||or(e,t),i=Object.keys(r);if(i.length===0)return e;let a;return i.reduce((t,n,r)=>(Array.isArray(e)?(t[n]=e[r]==null?e[a]:e[r],a=r):typeof e==`object`?(t[n]=e[n]==null?e[a]:e[n],a=n):t[n]=e,t),{})}var cr,lr,ur=n((()=>{qn(),cr={xs:0,sm:600,md:900,lg:1200,xl:1536},lr={keys:[`xs`,`sm`,`md`,`lg`,`xl`],up:e=>`@media (min-width:${cr[e]}px)`}}));function dr(e){if(typeof e!=`string`)throw Error(m(7));return e.charAt(0).toUpperCase()+e.slice(1)}var fr=n((()=>{_()})),pr=r({default:()=>dr}),mr=n((()=>{fr()}));function hr(e,t,n=!0){if(!t||typeof t!=`string`)return null;if(e&&e.vars&&n){let n=`vars.${t}`.split(`.`).reduce((e,t)=>e&&e[t]?e[t]:null,e);if(n!=null)return n}return t.split(`.`).reduce((e,t)=>e&&e[t]!=null?e[t]:null,e)}function gr(e,t,n,r=n){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||r:hr(e,n)||r,t&&(i=t(i,r,e)),i}function M(e){let{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=e=>{if(e[t]==null)return null;let a=e[t],o=e.theme,s=hr(o,r)||{};return nr(e,a,e=>{let r=gr(s,i,e);return e===r&&typeof e==`string`&&(r=gr(s,i,`${t}${e==="default"?``:dr(e)}`,e)),n===!1?r:{[n]:r}})};return a.propTypes={},a.filterProps=[t],a}var _r=n((()=>{mr(),ur()}));function vr(e){let t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}var yr=n((()=>{}));function br(e,t,n,r){let i=hr(e,t,!1)??n;return typeof i==`number`?e=>typeof e==`string`?e:i*e:Array.isArray(i)?e=>typeof e==`string`?e:i[e]:typeof i==`function`?i:()=>void 0}function xr(e){return br(e,`spacing`,8,`spacing`)}function Sr(e,t){if(typeof t==`string`||t==null)return t;let n=e(Math.abs(t));return t>=0?n:typeof n==`number`?-n:`-${n}`}function Cr(e,t){return n=>e.reduce((e,r)=>(e[r]=Sr(t,n),e),{})}function wr(e,t,n,r){if(t.indexOf(n)===-1)return null;let i=Cr(kr(n),r),a=e[n];return nr(e,a,i)}function Tr(e,t){let n=xr(e.theme);return Object.keys(e).map(r=>wr(e,t,r,n)).reduce(er,{})}function N(e){return Tr(e,Ar)}function P(e){return Tr(e,jr)}var Er,Dr,Or,kr,Ar,jr,Mr=n((()=>{ur(),_r(),tr(),yr(),Er={m:`margin`,p:`padding`},Dr={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},Or={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},kr=vr(e=>{if(e.length>2){if(Or[e])e=Or[e];else return[e]}let[t,n]=e.split(``),r=Er[t],i=Dr[n]||``;return Array.isArray(i)?i.map(e=>r+e):[r+i]}),Ar=[`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`],jr=[`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`],[...Ar,...jr],N.propTypes={},N.filterProps=Ar,P.propTypes={},P.filterProps=jr}));function Nr(e=8){if(e.mui)return e;let t=xr({spacing:e}),n=(...e)=>(e.length===0?[1]:e).map(e=>{let n=t(e);
1return typeof n==`number`?`${n}px`:n}).join(` `);return n.mui=!0,n}var Pr=n((()=>{Mr()}));function Fr(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?er(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}var Ir=n((()=>{tr()}));function Lr(e){return typeof e==`number`?`${e}px solid`:e}function Rr(e,t){return M({prop:e,themeKey:`borders`,transform:t})}var zr,Br,Vr,Hr,Ur,Wr,Gr,Kr,qr,Jr,Yr,Xr,Zr,Qr=n((()=>{_r(),Ir(),Mr(),ur(),zr=Rr(`border`,Lr),Br=Rr(`borderTop`,Lr),Vr=Rr(`borderRight`,Lr),Hr=Rr(`borderBottom`,Lr),Ur=Rr(`borderLeft`,Lr),Wr=Rr(`borderColor`),Gr=Rr(`borderTopColor`),Kr=Rr(`borderRightColor`),qr=Rr(`borderBottomColor`),Jr=Rr(`borderLeftColor`),Yr=Rr(`outline`,Lr),Xr=Rr(`outlineColor`),Zr=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=br(e.theme,`shape.borderRadius`,4,`borderRadius`);return nr(e,e.borderRadius,e=>({borderRadius:Sr(t,e)}))}return null},Zr.propTypes={},Zr.filterProps=[`borderRadius`],Fr(zr,Br,Vr,Hr,Ur,Wr,Gr,Kr,qr,Jr,Zr,Yr,Xr)})),$r,ei,ti,ni,ri,ii,ai,oi,si,ci,li,ui,di=n((()=>{_r(),Ir(),Mr(),ur(),$r=e=>{if(e.gap!==void 0&&e.gap!==null){let t=br(e.theme,`spacing`,8,`gap`);return nr(e,e.gap,e=>({gap:Sr(t,e)}))}return null},$r.propTypes={},$r.filterProps=[`gap`],ei=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=br(e.theme,`spacing`,8,`columnGap`);return nr(e,e.columnGap,e=>({columnGap:Sr(t,e)}))}return null},ei.propTypes={},ei.filterProps=[`columnGap`],ti=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=br(e.theme,`spacing`,8,`rowGap`);return nr(e,e.rowGap,e=>({rowGap:Sr(t,e)}))}return null},ti.propTypes={},ti.filterProps=[`rowGap`],ni=M({prop:`gridColumn`}),ri=M({prop:`gridRow`}),ii=M({prop:`gridAutoFlow`}),ai=M({prop:`gridAutoColumns`}),oi=M({prop:`gridAutoRows`}),si=M({prop:`gridTemplateColumns`}),ci=M({prop:`gridTemplateRows`}),li=M({prop:`gridTemplateAreas`}),ui=M({prop:`gridArea`}),Fr($r,ei,ti,ni,ri,ii,ai,oi,si,ci,li,ui)}));function fi(e,t){return t===`grey`?t:e}var pi,mi,hi,gi=n((()=>{_r(),Ir(),pi=M({prop:`color`,themeKey:`palette`,transform:fi}),mi=M({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:fi}),hi=M({prop:`backgroundColor`,themeKey:`palette`,transform:fi}),Fr(pi,mi,hi)}));function _i(e){return e<=1&&e!==0?`${e*100}%`:e}var vi,yi,bi,xi,Si,Ci,wi,Ti=n((()=>{_r(),Ir(),ur(),vi=M({prop:`width`,transform:_i}),yi=e=>e.maxWidth!==void 0&&e.maxWidth!==null?nr(e,e.maxWidth,t=>{var n,r;let i=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[t])||cr[t];return i?((r=e.theme)==null||(r=r.breakpoints)==null?void 0:r.unit)===`px`?{maxWidth:i}:{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:_i(t)}}):null,yi.filterProps=[`maxWidth`],bi=M({prop:`minWidth`,transform:_i}),xi=M({prop:`height`,transform:_i}),Si=M({prop:`maxHeight`,transform:_i}),Ci=M({prop:`minHeight`,transform:_i}),M({prop:`size`,cssProperty:`width`,transform:_i}),M({prop:`size`,cssProperty:`height`,transform:_i}),wi=M({prop:`boxSizing`}),Fr(vi,yi,bi,xi,Si,Ci,wi)})),Ei,Di=n((()=>{Mr(),Qr(),di(),gi(),Ti(),Ei={border:{themeKey:`borders`,transform:Lr},borderTop:{themeKey:`borders`,transform:Lr},borderRight:{themeKey:`borders`,transform:Lr},borderBottom:{themeKey:`borders`,transform:Lr},borderLeft:{themeKey:`borders`,transform:Lr},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:Lr},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:Zr},color:{themeKey:`palette`,transform:fi},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:fi},backgroundColor:{themeKey:`palette`,transform:fi},p:{style:P},pt:{style:P},pr:{style:P},pb:{style:P},pl:{style:P},px:{style:P},py:{style:P},padding:{style:P},paddingTop:{style:P},paddingRight:{style:P},paddingBottom:{style:P},paddingLeft:{style:P},paddingX:{style:P},paddingY:{style:P},paddingInline:{style:P},paddingInlineStart:{style:P},paddingInlineEnd:{style:P},paddingBlock:{style:P},paddingBlockStart:{style:P},paddingBlockEnd:{style:P},m:{style:N},mt:{style:N},mr:{style:N},mb:{style:N},ml:{style:N},mx:{style:N},my:{style:N},margin:{style:N},marginTop:{style:N},marginRight:{style:N},marginBottom:{style:N},marginLeft:{style:N},marginX:{style:N},marginY:{style:N},marginInline:{style:N},marginInlineStart:{style:N},marginInlineEnd:{style:N},marginBlock:{style:N},marginBlockStart:{style:N},marginBlockEnd:{style:N},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:$r},rowGap:{style:ti},columnGap:{style:ei},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:_i},maxWidth:{style:yi},minWidth:{transform:_i},height:{transform:_i},maxHeight:{transform:_i},minHeight:{transform:_i},boxSizing:{},fontFamily:{themeKey:`typography`},fontSize:{themeKey:`typography`},fontStyle:{themeKey:`typography`},fontWeight:{themeKey:`typography`},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:`typography`}}}
1));function Oi(...e){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}function ki(e,t){return typeof e==`function`?e(t):e}function Ai(){function e(e,t,n,r){let i={[e]:t,theme:n},a=r[e];if(!a)return{[e]:t};let{cssProperty:o=e,themeKey:s,transform:c,style:l}=a;if(t==null)return null;if(s===`typography`&&t===`inherit`)return{[e]:t};let u=hr(n,s)||{};return l?l(i):nr(i,t,t=>{let n=gr(u,c,t);return t===n&&typeof t==`string`&&(n=gr(u,c,`${e}${t==="default"?``:dr(t)}`,t)),o===!1?n:{[o]:n}})}function t(n){let{sx:r,theme:i={},nested:a}=n||{};if(!r)return null;let o=i.unstable_sxConfig??Ei;function s(n){let r=n;if(typeof n==`function`)r=n(i);else if(typeof n!=`object`)return n;if(!r)return null;let s=rr(i.breakpoints),c=Object.keys(s),l=s;return Object.keys(r).forEach(n=>{let a=ki(r[n],i);if(a!=null){if(typeof a==`object`){if(o[n])l=er(l,e(n,a,i,o));else{let e=nr({theme:i},a,e=>({[n]:e}));Oi(e,a)?l[n]=t({sx:a,theme:i,nested:!0}):l=er(l,e)}}else l=er(l,e(n,a,i,o))}}),!a&&i.modularCssLayers?{"@layer sx":ir(c,l)}:ir(c,l)}return Array.isArray(r)?r.map(s):s(r)}return t}var ji,Mi=n((()=>{mr(),tr(),_r(),ur(),Di(),ji=Ai(),ji.filterProps=[`sx`]}));function Ni(e,t){let n=this;return n.vars&&typeof n.getColorSchemeSelector==`function`?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,`*:where($1)`)]:t}:n.palette.mode===e?t:{}}var Pi=n((()=>{}));function Fi(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={}}=e,o=f(e,Ii),s=Jn(n),c=Nr(i),l=Un({breakpoints:s,direction:`ltr`,components:{},palette:u({mode:`light`},r),spacing:c,shape:u({},Qn,a)},o);return l.applyStyles=Ni,l=t.reduce((e,t)=>Un(e,t),l),l.unstable_sxConfig=u({},Ei,o?.unstable_sxConfig),l.unstable_sx=function(e){return ji({sx:e,theme:this})},l}var Ii,Li=n((()=>{d(),p(),qn(),Zn(),$n(),Pr(),Mi(),Di(),Pi(),Ii=[`breakpoints`,`palette`,`spacing`,`shape`]})),Ri=r({default:()=>Fi,private_createBreakpoints:()=>Jn,unstable_applyStyles:()=>Ni}),zi=n((()=>{Li(),Zn(),Pi()}));zi();var F=e(o());Bn();function Bi(e){return Object.keys(e).length===0}function Vi(e=null){let t=F.useContext(Kt);return!t||Bi(t)?e:t}var Hi=Fi();function Ui(e=Hi){return Vi(e)}function Wi(e){let{sx:t}=e,n=f(e,Gi),{systemProps:r,otherProps:i}=Ki(n),a;return a=Array.isArray(t)?[r,...t]:typeof t==`function`?(...e)=>{let n=t(...e);return Vn(n)?u({},r,n):r}:u({},r,t),u({},i,{sx:a})}var Gi,Ki,qi=n((()=>{d(),p(),qn(),Di(),Gi=[`sx`],Ki=e=>{var t;let n={systemProps:{},otherProps:{}},r=(e==null||(t=e.theme)==null?void 0:t.unstable_sxConfig)??Ei;return Object.keys(e).forEach(t=>{r[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]}),n}})),Ji=r({default:()=>ji,extendSxProp:()=>Wi,unstable_createStyleFunctionSx:()=>Ai,unstable_defaultSxConfig:()=>Ei}),Yi=n((()=>{Mi(),qi(),Di()}));function Xi(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Xi(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function I(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Xi(e))&&(r&&(r+=` `),r+=t);return r}d(),p(),Bn(),Yi();var L=Sn(),Zi=[`className`,`component`];function Qi(e={}){let{themeId:t,defaultTheme:n,defaultClassName:r=`MuiBox-root`,generateClassName:i}=e,a=In(`div`,{shouldForwardProp:e=>e!==`theme`&&e!==`sx`&&e!==`as`})(ji);return F.forwardRef(function(e,o){let s=Ui(n),c=Wi(e),{className:l,component:d=`div`}=c,p=f(c,Zi);return(0,L.jsx)(a,u({as:d,ref:o,className:I(l,i?i(r):r),theme:t&&s[t]||s},p))})}var $i=i((e=>{var t=Symbol.for(`react.forward_ref`),n=Symbol.for(`react.memo`);e.ForwardRef=t,e.Memo=n})),ea=i(((e,t)=>{t.exports=$i()}));function ta(e){let t=`${e}`.match(oa);return t&&t[1]||``}function na(e,t=``){return e.displayName||e.name||ta(e)||t}function ra(e,t,n){let r=na(t);return e.displayName||(r===``?n:`${n}(${r})`)}function ia(e){if(e!=null){if(typeof e==`string`)return e;if(typeof e==`function`)return na(e,`Component`);if(typeof e==`object`)switch(e.$$typeof){case aa.ForwardRef:return ra(e,e.render,`ForwardRef`);case aa.Memo:return ra(e,e.type,`memo`);default:return}}}var aa,oa,sa=n((()=>{aa=ea(),oa=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/})),ca=r({default:()=>ia,getFunctionName:()=>ta}
1),la=n((()=>{sa(),sa()}));d();function ua(e,t){let n=u({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=u({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){let i=e[r]||{},a=t[r];n[r]={},!a||!Object.keys(a)?n[r]=i:!i||!Object.keys(i)?n[r]=a:(n[r]=u({},a),Object.keys(i).forEach(e=>{n[r][e]=ua(i[e],a[e])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function da(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}var fa=n((()=>{})),pa=r({default:()=>da}),ma=n((()=>{fa()})),ha=F.createContext(void 0);function ga({value:e,children:t}){return(0,L.jsx)(ha.Provider,{value:e,children:t})}function _a(e){let{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;let i=t.components[n];return i.defaultProps?ua(i.defaultProps,r):!i.styleOverrides&&!i.variants?ua(i,r):r}function va({props:e,name:t}){return _a({props:e,name:t,theme:{components:F.useContext(ha)}})}d();function ya(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function ba(e){if(F.isValidElement(e)||!ya(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=ba(e[n])}),t}function xa(e,t,n={clone:!0}){let r=n.clone?u({},e):e;return ya(e)&&ya(t)&&Object.keys(t).forEach(i=>{F.isValidElement(t[i])?r[i]=t[i]:ya(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&ya(e[i])?r[i]=xa(e[i],t[i],n):n.clone?r[i]=ya(t[i])?ba(t[i]):t[i]:r[i]=t[i]}),r}var Sa=e=>e,Ca=(()=>{let e=Sa;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Sa}}})(),wa={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 Ta(e,t,n=`Mui`){let r=wa[t];return r?`${n}-${r}`:`${Ca.generate(e)}-${t}`}d();function Ea(e,t){return u({toolbar:{minHeight:56,[e.up(`xs`)]:{"@media (orientation: landscape)":{minHeight:48}},[e.up(`sm`)]:{minHeight:64}}},t)}var Da=i(((e,t)=>{function n(e){return e&&e.__esModule?e:{default:e}}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})),Oa=i((e=>{var n=Da();Object.defineProperty(e,"__esModule",{value:!0}),e.alpha=p,e.colorChannel=void 0,e.darken=m,e.emphasize=v,e.getContrastRatio=f,e.lighten=h,e.private_safeColorChannel=void 0;var r=n((_(),t(g))),i=n((ma(),t(pa)));function a(e,t=0,n=1){return(0,i.default)(e,t,n)}function o(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,`g`),n=e.match(t);return n&&n[0].length===1&&(n=n.map(e=>e+e)),n?`rgb${n.length===4?`a`:``}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(`, `)})`:``}function s(e){if(e.type)return e;if(e.charAt(0)===`#`)return s(o(e));let t=e.indexOf(`(`),n=e.substring(0,t);if([`rgb`,`rgba`,`hsl`,`hsla`,`color`].indexOf(n)===-1)throw Error((0,r.default)(9,e));let i=e.substring(t+1,e.length-1),a;if(n===`color`){if(i=i.split(` `),a=i.shift(),i.length===4&&i[3].charAt(0)===`/`&&(i[3]=i[3].slice(1)),[`srgb`,`display-p3`,`a98-rgb`,`prophoto-rgb`,`rec-2020`].indexOf(a)===-1)throw Error((0,r.default)(10,a))}else i=i.split(`,`);return i=i.map(e=>parseFloat(e)),{type:n,values:i,colorSpace:a}}var c=e=>{let t=s(e);return t.values.slice(0,3).map((e,n)=>t.type.indexOf(`hsl`)!==-1&&n!==0?`${e}%`:e).join(` `)};e.colorChannel=c,e.private_safeColorChannel=(e,t)=>{try{return c(e)}catch{return e}};function l(e){let{type:t,colorSpace:n}=e,{values:r}=e;return t.indexOf(`rgb`)===-1?t.indexOf(`hsl`)!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`):r=r.map((e,t)=>t<3?parseInt(e,10):e),r=t.indexOf(`color`)===-1?`${r.join(`, `)}`:`${n} ${r.join(` `)}`,`${t}(${r})`}function u(e){e=s(e);let{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),o=(e,t=(e+n/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1),c=`rgb`,u=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type===`hsla`&&(c+=`a`,u.push(t[3])),l({type:c,values:u})}function d(e){e=s(e);let t=e.type===`hsl`||e.type===`hsla`?s(u(e)).values:e.values;return t=t.map(t=>(e.type!==`color`&&(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 f(e,t){let n=d(e),r=d(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function p(e,t){return e=s(e),t=a(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,l(e)}function m(e,t){if(e=s(e),t=a(t),e.type.indexOf(`hsl`)!==-1)e.values[2]*=1-t;else if(e.type.indexOf(`rgb`)!==-1||e.type.indexOf(`color`)!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)}function h(e,t){if(e=s(e),t=a(t),e.type.indexOf(`hsl`)!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf(`rgb`)!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf(`color`)!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)}function v(e,t=.15){return d(e)>
1.5?m(e,t):h(e,t)}})),R=Oa(),ka={black:`#000`,white:`#fff`},Aa={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`},ja={50:`#f3e5f5`,100:`#e1bee7`,200:`#ce93d8`,300:`#ba68c8`,400:`#ab47bc`,500:`#9c27b0`,600:`#8e24aa`,700:`#7b1fa2`,800:`#6a1b9a`,900:`#4a148c`,A100:`#ea80fc`,A200:`#e040fb`,A400:`#d500f9`,A700:`#aa00ff`},Ma={50:`#ffebee`,100:`#ffcdd2`,200:`#ef9a9a`,300:`#e57373`,400:`#ef5350`,500:`#f44336`,600:`#e53935`,700:`#d32f2f`,800:`#c62828`,900:`#b71c1c`,A100:`#ff8a80`,A200:`#ff5252`,A400:`#ff1744`,A700:`#d50000`},Na={50:`#fff3e0`,100:`#ffe0b2`,200:`#ffcc80`,300:`#ffb74d`,400:`#ffa726`,500:`#ff9800`,600:`#fb8c00`,700:`#f57c00`,800:`#ef6c00`,900:`#e65100`,A100:`#ffd180`,A200:`#ffab40`,A400:`#ff9100`,A700:`#ff6d00`},Pa={50:`#e3f2fd`,100:`#bbdefb`,200:`#90caf9`,300:`#64b5f6`,400:`#42a5f5`,500:`#2196f3`,600:`#1e88e5`,700:`#1976d2`,800:`#1565c0`,900:`#0d47a1`,A100:`#82b1ff`,A200:`#448aff`,A400:`#2979ff`,A700:`#2962ff`},Fa={50:`#e1f5fe`,100:`#b3e5fc`,200:`#81d4fa`,300:`#4fc3f7`,400:`#29b6f6`,500:`#03a9f4`,600:`#039be5`,700:`#0288d1`,800:`#0277bd`,900:`#01579b`,A100:`#80d8ff`,A200:`#40c4ff`,A400:`#00b0ff`,A700:`#0091ea`},Ia={50:`#e8f5e9`,100:`#c8e6c9`,200:`#a5d6a7`,300:`#81c784`,400:`#66bb6a`,500:`#4caf50`,600:`#43a047`,700:`#388e3c`,800:`#2e7d32`,900:`#1b5e20`,A100:`#b9f6ca`,A200:`#69f0ae`,A400:`#00e676`,A700:`#00c853`};d(),p();var La=[`mode`,`contrastThreshold`,`tonalOffset`],Ra={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:ka.white,default:ka.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}},za={text:{primary:ka.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:ka.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}};function Ba(e,t,n,r){let i=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t===`light`?e.light=(0,R.lighten)(e.main,i):t===`dark`&&(e.dark=(0,R.darken)(e.main,a)))}function Va(e=`light`){return e===`dark`?{main:Pa[200],light:Pa[50],dark:Pa[400]}:{main:Pa[700],light:Pa[400],dark:Pa[800]}}function Ha(e=`light`){return e===`dark`?{main:ja[200],light:ja[50],dark:ja[400]}:{main:ja[500],light:ja[300],dark:ja[700]}}function Ua(e=`light`){return e===`dark`?{main:Ma[500],light:Ma[300],dark:Ma[700]}:{main:Ma[700],light:Ma[400],dark:Ma[800]}}function Wa(e=`light`){return e===`dark`?{main:Fa[400],light:Fa[300],dark:Fa[700]}:{main:Fa[700],light:Fa[500],dark:Fa[900]}}function Ga(e=`light`){return e===`dark`?{main:Ia[400],light:Ia[300],dark:Ia[700]}:{main:Ia[800],light:Ia[500],dark:Ia[900]}}function Ka(e=`light`){return e===`dark`?{main:Na[400],light:Na[300],dark:Na[700]}:{main:`#ed6c02`,light:Na[500],dark:Na[900]}}function qa(e){let{mode:t=`light`,contrastThreshold:n=3,tonalOffset:r=.2}=e,i=f(e,La),a=e.primary||Va(t),o=e.secondary||Ha(t),c=e.error||Ua(t),l=e.info||Wa(t),d=e.success||Ga(t),p=e.warning||Ka(t);function m(e){return(0,R.getContrastRatio)(e,za.text.primary)>=n?za.text.primary:Ra.text.primary}let h=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:a=700})=>{if(e=u({},e),!e.main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty(`main`))throw Error(s(11,t?` (${t})`:``,n));if(typeof e.main!=`string`)throw Error(s(12,t?` (${t})`:``,JSON.stringify(e.main)));return Ba(e,`light`,i,r),Ba(e,`dark`,a,r),e.contrastText||(e.contrastText=m(e.main)),e},g={dark:za,light:Ra};return xa(u({common:u({},ka),mode:t,primary:h({color:a,name:`primary`}
1),secondary:h({color:o,name:`secondary`,mainShade:`A400`,lightShade:`A200`,darkShade:`A700`}),error:h({color:c,name:`error`}),warning:h({color:p,name:`warning`}),info:h({color:l,name:`info`}),success:h({color:d,name:`success`}),grey:Aa,contrastThreshold:n,getContrastText:m,augmentColor:h,tonalOffset:r},g[t]),i)}d(),p();var Ja=[`fontFamily`,`fontSize`,`fontWeightLight`,`fontWeightRegular`,`fontWeightMedium`,`fontWeightBold`,`htmlFontSize`,`allVariants`,`pxToRem`];function Ya(e){return Math.round(e*1e5)/1e5}var Xa={textTransform:`uppercase`},Za=`"Roboto", "Helvetica", "Arial", sans-serif`;function Qa(e,t){let n=typeof t==`function`?t(e):t,{fontFamily:r=Za,fontSize:i=14,fontWeightLight:a=300,fontWeightRegular:o=400,fontWeightMedium:s=500,fontWeightBold:c=700,htmlFontSize:l=16,allVariants:d,pxToRem:p}=n,m=f(n,Ja),h=i/14,g=p||(e=>`${e/l*h}rem`),_=(e,t,n,i,a)=>u({fontFamily:r,fontWeight:e,fontSize:g(t),lineHeight:n},r===Za?{letterSpacing:`${Ya(i/t)}em`}:{},a,d),v={h1:_(a,96,1.167,-1.5),h2:_(a,60,1.2,-.5),h3:_(o,48,1.167,0),h4:_(o,34,1.235,.25),h5:_(o,24,1.334,0),h6:_(s,20,1.6,.15),subtitle1:_(o,16,1.75,.15),subtitle2:_(s,14,1.57,.1),body1:_(o,16,1.5,.15),body2:_(o,14,1.43,.15),button:_(s,14,1.75,.4,Xa),caption:_(o,12,1.66,.4),overline:_(o,12,2.66,1,Xa),inherit:{fontFamily:`inherit`,fontWeight:`inherit`,fontSize:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}};return xa(u({htmlFontSize:l,pxToRem:g,fontFamily:r,fontSize:i,fontWeightLight:a,fontWeightRegular:o,fontWeightMedium:s,fontWeightBold:c},v),m,{clone:!1})}var $a=.2,eo=.14,to=.12;function z(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${$a})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${eo})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${to})`].join(`,`)}var no=[`none`,z(0,2,1,-1,0,1,1,0,0,1,3,0),z(0,3,1,-2,0,2,2,0,0,1,5,0),z(0,3,3,-2,0,3,4,0,0,1,8,0),z(0,2,4,-1,0,4,5,0,0,1,10,0),z(0,3,5,-1,0,5,8,0,0,1,14,0),z(0,3,5,-1,0,6,10,0,0,1,18,0),z(0,4,5,-2,0,7,10,1,0,2,16,1),z(0,5,5,-3,0,8,10,1,0,3,14,2),z(0,5,6,-3,0,9,12,1,0,3,16,2),z(0,6,6,-3,0,10,14,1,0,4,18,3),z(0,6,7,-4,0,11,15,1,0,4,20,3),z(0,7,8,-4,0,12,17,2,0,5,22,4),z(0,7,8,-4,0,13,19,2,0,5,24,4),z(0,7,9,-4,0,14,21,2,0,5,26,4),z(0,8,9,-5,0,15,22,2,0,6,28,5),z(0,8,10,-5,0,16,24,2,0,6,30,5),z(0,8,11,-5,0,17,26,2,0,6,32,5),z(0,9,11,-5,0,18,28,2,0,7,34,6),z(0,9,12,-6,0,19,29,2,0,7,36,6),z(0,10,13,-6,0,20,31,3,0,8,38,7),z(0,10,13,-6,0,21,33,3,0,8,40,7),z(0,10,14,-6,0,22,35,3,0,8,42,7),z(0,11,14,-7,0,23,36,3,0,9,44,8),z(0,11,15,-7,0,24,38,3,0,9,46,8)];p(),d();var ro=[`duration`,`easing`,`delay`],io={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)`},ao={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function oo(e){return`${Math.round(e)}ms`}function so(e){if(!e)return 0;let t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function co(e){let t=u({},io,e.easing),n=u({},ao,e.duration);return u({getAutoHeightDuration:so,create:(e=[`all`],r={})=>{let{duration:i=n.standard,easing:a=t.easeInOut,delay:o=0}=r;return f(r,ro),(Array.isArray(e)?e:[e]).map(e=>`${e} ${typeof i==`string`?i:oo(i)} ${a} ${typeof o==`string`?o:oo(o)}`).join(`,`)}},e,{easing:t,duration:n})}var lo={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};d(),p(),Yi(),zi();var uo=[`breakpoints`,`mixins`,`spacing`,`palette`,`transitions`,`typography`,`shape`];function fo(e={},...t){let{mixins:n={},palette:r={},transitions:i={},typography:a={}}=e,o=f(e,uo);if(e.vars&&e.generateCssVars===void 0)throw Error(s(18));let c=qa(r),l=Fi(e),d=xa(l,{mixins:Ea(l.breakpoints,n),palette:c,shadows:no.slice(),typography:Qa(c,a),transitions:co(i),zIndex:u({},lo)});return d=xa(d,o),d=t.reduce((e,t)=>xa(e,t),d),d.unstable_sxConfig=u({},Ei,o?.unstable_sxConfig),d.unstable_sx=function(e){return ji({sx:e,theme:this})},d}var po=fo(),mo=i(((e,t)=>{function n(){return t.exports=n=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}
1,t.exports.__esModule=!0,t.exports.default=t.exports,n.apply(null,arguments)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})),ho=i(((e,t)=>{function n(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})),go=i((e=>{var n=Da();Object.defineProperty(e,"__esModule",{value:!0}),e.default=C,e.shouldForwardProp=g,e.systemDefaultTheme=void 0;var r=n(mo()),i=n(ho()),a=p((Bn(),t(Fn))),o=(qn(),t(Kn));n((mr(),t(pr))),n((la(),t(ca)));var s=n((zi(),t(Ri))),c=n((Yi(),t(Ji))),l=[`ownerState`],u=[`variants`],d=[`name`,`slot`,`skipVariantsResolver`,`skipSx`,`overridesResolver`];function f(e){if(typeof WeakMap!=`function`)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!=`object`&&typeof e!=`function`)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(a!=="default"&&Object.prototype.hasOwnProperty.call(e,a)){var o=i?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}function m(e){return Object.keys(e).length===0}function h(e){return typeof e==`string`&&e.charCodeAt(0)>96}function g(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function _(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}var v=e.systemDefaultTheme=(0,s.default)(),y=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function b({defaultTheme:e,theme:t,themeId:n}){return m(t)?e:t[n]||t}function x(e){return e?(t,n)=>n[e]:null}function S(e,t,n){let{ownerState:o}=t,s=(0,i.default)(t,l),c=typeof e==`function`?e((0,r.default)({ownerState:o},s)):e;if(Array.isArray(c))return c.flatMap(e=>S(e,(0,r.default)({ownerState:o},s),n));if(c&&typeof c==`object`&&Array.isArray(c.variants)){let{variants:e=[]}=c,t=(0,i.default)(c,u);return e.forEach(e=>{let i=!0;if(typeof e.props==`function`?i=e.props((0,r.default)({ownerState:o},s,o)):Object.keys(e.props).forEach(t=>{o?.[t]!==e.props[t]&&s[t]!==e.props[t]&&(i=!1)}),i){Array.isArray(t)||(t=[t]);let i=typeof e.style==`function`?e.style((0,r.default)({ownerState:o},s,o)):e.style;t.push(n?_((0,a.internal_serializeStyles)(i),n):i)}}),t}return n?_((0,a.internal_serializeStyles)(c),n):c}function C(e={}){let{themeId:t,defaultTheme:n=v,rootShouldForwardProp:s=g,slotShouldForwardProp:l=g}=e,u=e=>(0,c.default)((0,r.default)({},e,{theme:b((0,r.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{(0,a.internal_processStyles)(e,e=>e.filter(e=>!(e!=null&&e.__mui_systemSx)));let{name:f,slot:p,skipVariantsResolver:m,skipSx:_,overridesResolver:v=x(y(p))}=c,C=(0,i.default)(c,d),w=f&&f.startsWith(`Mui`)||p?`components`:`custom`,ee=m===void 0?p&&p!==`Root`&&p!==`root`||!1:m,te=_||!1,ne,re=g;p===`Root`||p===`root`?re=s:p?re=l:h(e)&&(re=void 0);let ie=(0,a.default)(e,(0,r.default)({shouldForwardProp:re,label:ne},C)),ae=e=>typeof e==`function`&&e.__emotion_real!==e||(0,o.isPlainObject)(e)?i=>{let a=b({theme:i.theme,defaultTheme:n,themeId:t});return S(e,(0,r.default)({},i,{theme:a}),a.modularCssLayers?w:void 0)}:e,oe=(i,...a)=>{let o=ae(i),s=a?a.map(ae):[];f&&v&&s.push(e=>{let i=b((0,r.default)({},e,{defaultTheme:n,themeId:t}));if(!i.components||!i.components[f]||!i.components[f].styleOverrides)return null;let a=i.components[f].styleOverrides,o={};return Object.entries(a).forEach(([t,n])=>{o[t]=S(n,(0,r.default)({},e,{theme:i}),i.modularCssLayers?`theme`:void 0)}),v(e,o)}),f&&!ee&&s.push(e=>{var i;let a=b((0,r.default)({},e,{defaultTheme:n,themeId:t}));return S({variants:a==null||(i=a.components)==null||(i=i[f])==null?void 0:i.variants},(0,r.default)({},e,{theme:a}),a.modularCssLayers?`theme`:void 0)}),te||s.push(u);let c=s.length-a.length;if(Array.isArray(i)&&c>0){let e=Array(c).fill(``);o=[...i,...e],o.raw=[...i.raw,...e]}let l=ie(o,...s);return e.muiName&&(l.muiName=e.muiName),l};return ie.withConfig&&(oe.withConfig=ie.withConfig),oe}}})),_o=e(go());function vo(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}var yo=e=>vo(e)&&e!==`classes`,B=(0,_o.default)({themeId:l,defaultTheme:po,rootShouldForwardProp:yo}),bo=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function xo(e){if(typeof e!=`string`)throw Error(s(7));return e.charAt(0).toUpperCase()+e.slice(1)}function So(e,t){typeof e==`function`?e(t):e&&(e.current=t)}var Co=typeof window<`u`?F.useLayoutEffect:F.useEffect;function wo(e){let t=F.useRef(e);return Co(()=>{t.current=e}),F.useRef((...e)=>(0,t.current)(...e)).current}function To(...e){return F.useMemo(()=>e.every(e=>e==null)?null:t=>
vendor: 1,812 bytes, line 1
1{e.forEach(e=>{So(e,t)})},e)}var Eo={};function Do(e,t){let n=F.useRef(Eo);return n.current===Eo&&(n.current=e(t)),n}var Oo=[];function ko(e){F.useEffect(e,Oo)}var Ao=class e{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new e}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}};function jo(){let e=Do(Ao.create).current;return ko(e.disposeEffect),e}var Mo=!0,No=!1,Po=new Ao,Fo={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Io(e){let{type:t,tagName:n}=e;return!!(n===`INPUT`&&Fo[t]&&!e.readOnly||n===`TEXTAREA`&&!e.readOnly||e.isContentEditable)}function Lo(e){e.metaKey||e.altKey||e.ctrlKey||(Mo=!0)}function Ro(){Mo=!1}function zo(){this.visibilityState===`hidden`&&No&&(Mo=!0)}function Bo(e){e.addEventListener(`keydown`,Lo,!0),e.addEventListener(`mousedown`,Ro,!0),e.addEventListener(`pointerdown`,Ro,!0),e.addEventListener(`touchstart`,Ro,!0),e.addEventListener(`visibilitychange`,zo,!0)}function Vo(e){let{target:t}=e;try{return t.matches(`:focus-visible`)}catch{}return Mo||Io(t)}function Ho(){let e=F.useCallback(e=>{e!=null&&Bo(e.ownerDocument)},[]),t=F.useRef(!1);function n(){return t.current?(No=!0,Po.start(100,()=>{No=!1}),t.current=!1,!0):!1}function r(e){return Vo(e)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}d();function Uo(e,t){let n=u({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=u({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){let i=e[r]||{},a=t[r];n[r]={},!a||!Object.keys(a)?n[r]=i:!i||!Object.keys(i)?n[r]=a:(n[r]=u({}
1,a),Object.keys(i).forEach(e=>{n[r][e]=Uo(i[e],a[e])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function Wo(e,t,n=void 0){let r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((e,r)=>{if(r){let i=t(r);i!==``&&e.push(i),n&&n[r]&&e.push(n[r])}return e},[]).join(` `)}),r}function Go(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=Ta(e,t,n)}),r}function Ko(e){return typeof e==`string`}d();function qo(e,t,n){return e===void 0||Ko(e)?t:u({},t,{ownerState:u({},t.ownerState,n)})}function Jo(e,t=[]){if(e===void 0)return{};let n={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]==`function`&&!t.includes(n)).forEach(t=>{n[t]=e[t]}),n}function Yo(e){if(e===void 0)return{};let t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&typeof e[t]==`function`)).forEach(n=>{t[n]=e[n]}),t}d();function Xo(e){let{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:a}=e;if(!t){let e=I(n?.className,a,i?.className,r?.className),t=u({},n?.style,i?.style,r?.style),o=u({},n,i,r);return e.length>0&&(o.className=e),Object.keys(t).length>0&&(o.style=t),{props:o,internalRef:void 0}}let o=Jo(u({},i,r)),s=Yo(r),c=Yo(i),l=t(o),d=I(l?.className,n?.className,a,i?.className,r?.className),f=u({},l?.style,n?.style,i?.style,r?.style),p=u({},l,n,c,s);return d.length>0&&(p.className=d),Object.keys(f).length>0&&(p.style=f),{props:p,internalRef:l.ref}}function Zo(e,t,n){return typeof e==`function`?e(t,n):e}var V=xo;function Qo(e){return va(e)}function $o(e){return Ta(`MuiSvgIcon`,e)}Go(`MuiSvgIcon`,[`root`,`colorPrimary`,`colorSecondary`,`colorAction`,`colorError`,`colorDisabled`,`fontSizeInherit`,`fontSizeSmall`,`fontSizeMedium`,`fontSizeLarge`]),d(),p();var es=[`children`,`className`,`color`,`component`,`fontSize`,`htmlColor`,`inheritViewBox`,`titleAccess`,`viewBox`],ts=e=>{let{color:t,fontSize:n,classes:r}=e;return Wo({root:[`root`,t!==`inherit`&&`color${V(t)}`,`fontSize${V(n)}`]},$o,r)},ns=B(`svg`,{name:`MuiSvgIcon`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color!==`inherit`&&t[`color${V(n.color)}`],t[`fontSize${V(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,i,a,o,s,c,l,u,d,f,p;return{userSelect:`none`,width:`1em`,height:`1em`,display:`inline-block`,fill:t.hasSvgAsChild?void 0:`currentColor`,flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,`fill`,{duration:(i=e.transitions)==null||(i=i.duration)==null?void 0:i.shorter}),fontSize:{inherit:`inherit`,small:((a=e.typography)==null||(o=a.pxToRem)==null?void 0:o.call(a,20))||`1.25rem`,medium:((s=e.typography)==null||(c=s.pxToRem)==null?void 0:c.call(s,24))||`1.5rem`,large:((l=e.typography)==null||(u=l.pxToRem)==null?void 0:u.call(l,35))||`2.1875rem`}[t.fontSize],color:((d=(e.vars||e).palette)==null||(d=d[t.color])==null?void 0:d.main)??{action:(f=(e.vars||e).palette)==null||(f=f.action)==null?void 0:f.active,disabled:(p=(e.vars||e).palette)==null||(p=p.action)==null?void 0:p.disabled,inherit:void 0}[t.color]}}),rs=F.forwardRef(function(e,t){let n=Qo({props:e,name:`MuiSvgIcon`}),{children:r,className:i,color:a=`inherit`,component:o=`svg`,fontSize:s=`medium`,htmlColor:c,inheritViewBox:l=!1,titleAccess:d,viewBox:p=`0 0 24 24`}=n,m=f(n,es),h=F.isValidElement(r)&&r.type===`svg`,g=u({},n,{color:a,component:o,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:l,viewBox:p,hasSvgAsChild:h}),_={};l||(_.viewBox=p);let v=ts(g);return(0,L.jsxs)(ns,u({as:o,className:I(v.root,i),focusable:`false`,color:c,"aria-hidden":!d||void 0,role:d?`img`:void 0,ref:t},_,m,h&&r.props,{ownerState:g,children:[h?r.props.children:r,d?(0,L.jsx)(`title`,{children:d}):null]}))});rs.muiName=`SvgIcon`,d();function is(e,t){function n(n,r){return(0,L.jsx)(rs,u({"data-testid":`${t}Icon`,ref:r},n,{children:e}))}return n.muiName=rs.muiName,F.memo(F.forwardRef(n))}var as=wo,os=To,ss=Ho;function cs(e,t){return cs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},cs(e,t)}function ls(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,cs(e,t)}var us=F.createContext(null);function ds(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function fs(e,t){var n=function(e){return t&&(0,F.isValidElement)(e)?t(e):e},r=Object.create(null);return e&&F.Children.map(e,function(e){return e}
vendor: 1,649 bytes, line 1
1).forEach(function(e){r[e.key]=n(e)}),r}function ps(e,t){e=e||{},t=t||{};function n(n){return n in t?t[n]:e[n]}var r=Object.create(null),i=[];for(var a in e)a in t?i.length&&(r[a]=i,i=[]):i.push(a);var o,s={};for(var c in t){if(r[c])for(o=0;o<r[c].length;o++){var l=r[c][o];s[r[c][o]]=n(l)}s[c]=n(c)}for(o=0;o<i.length;o++)s[i[o]]=n(i[o]);return s}function ms(e,t,n){return n[t]==null?e.props[t]:n[t]}function hs(e,t){return fs(e.children,function(n){return(0,F.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:ms(n,`appear`,e),enter:ms(n,`enter`,e),exit:ms(n,`exit`,e)})})}function gs(e,t,n){var r=fs(e.children),i=ps(t,r);return Object.keys(i).forEach(function(a){var o=i[a];if((0,F.isValidElement)(o)){var s=a in t,c=a in r,l=t[a],u=(0,F.isValidElement)(l)&&!l.props.in;c&&(!s||u)?i[a]=(0,F.cloneElement)(o,{onExited:n.bind(null,o),in:!0,exit:ms(o,`exit`,e),enter:ms(o,`enter`,e)}):!c&&s&&!u?i[a]=(0,F.cloneElement)(o,{in:!1}):c&&s&&(0,F.isValidElement)(l)&&(i[a]=(0,F.cloneElement)(o,{onExited:n.bind(null,o),in:l.props.in,exit:ms(o,`exit`,e),enter:ms(o,`enter`,e)}))}}),i}p(),d();var _s=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},vs={component:`div`,childFactory:function(e){return e}},ys=function(e){ls(t,e);function t(t,n){var r=e.call(this,t,n)||this;return r.state={contextValue:{isMounting:!0},handleExited:r.handleExited.bind(ds(r)),firstRender:!0},r}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;
1return{children:t.firstRender?hs(e,r):gs(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=fs(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=u({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=f(e,[`component`,`childFactory`]),i=this.state.contextValue,a=_s(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,t===null?F.createElement(us.Provider,{value:i},a):F.createElement(us.Provider,{value:i},F.createElement(t,r,a))},t}(F.Component);ys.propTypes={},ys.defaultProps=vs;function bs(e){return Ta(`MuiPaper`,e)}Go(`MuiPaper`,`root.rounded.outlined.elevation.elevation0.elevation1.elevation2.elevation3.elevation4.elevation5.elevation6.elevation7.elevation8.elevation9.elevation10.elevation11.elevation12.elevation13.elevation14.elevation15.elevation16.elevation17.elevation18.elevation19.elevation20.elevation21.elevation22.elevation23.elevation24`.split(`.`)),p(),d();var xs=[`className`,`component`,`elevation`,`square`,`variant`],Ss=e=>{let{square:t,elevation:n,variant:r,classes:i}=e;return Wo({root:[`root`,r,!t&&`rounded`,r===`elevation`&&`elevation${n}`]},bs,i)},Cs=B(`div`,{name:`MuiPaper`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant===`elevation`&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>u({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create(`box-shadow`)},!t.square&&{borderRadius:e.shape.borderRadius},t.variant===`outlined`&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant===`elevation`&&u({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode===`dark`&&{backgroundImage:`linear-gradient(${(0,R.alpha)(`#fff`,bo(t.elevation))}, ${(0,R.alpha)(`#fff`,bo(t.elevation))})`},e.vars&&{backgroundImage:e.vars.overlays?.[t.elevation]}))),ws=F.forwardRef(function(e,t){let n=Qo({props:e,name:`MuiPaper`}),{className:r,component:i=`div`,elevation:a=1,square:o=!1,variant:s=`elevation`}=n,c=f(n,xs),l=u({},n,{component:i,elevation:a,square:o,variant:s}),d=Ss(l);return(0,L.jsx)(Cs,u({as:i,ownerState:l,className:I(d.root,r),ref:t},c))});d(),p();var Ts=[`className`,`elementType`,`ownerState`,`externalForwardedProps`,`getSlotOwnerState`,`internalForwardedProps`],Es=[`component`,`slots`,`slotProps`],Ds=[`component`];function Os(e,t){let{className:n,elementType:r,ownerState:i,externalForwardedProps:a,getSlotOwnerState:o,internalForwardedProps:s}=t,c=f(t,Ts),{component:l,slots:d={[e]:void 0},slotProps:p={[e]:void 0}}=a,m=f(a,Es),h=d[e]||r,g=Zo(p[e],i),_=Xo(u({className:n},c,{externalForwardedProps:e===`root`?m:void 0,externalSlotProps:g})),{props:{component:v},internalRef:y}=_,b=f(_.props,Ds),x=To(y,g?.ref,t.ref),S=o?o(b):{},C=u({},i,S),w=e===`root`?v||l:v,ee=qo(h,u({},e===`root`&&!l&&!d[e]&&s,e!==`root`&&!d[e]&&s,b,w&&{as:w},{ref:x}),C);return Object.keys(S).forEach(e=>{delete ee[e]}),[h,ee]}function ks(e){let{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:o,in:s,onExited:c,timeout:l}=e,[u,d]=F.useState(!1),f=I(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:o,height:o,top:-(o/2)+a,left:-(o/2)+i},m=I(n.child,u&&n.childLeaving,r&&n.childPulsate);return!s&&!u&&d(!0),F.useEffect(()=>{if(!s&&c!=null){let e=setTimeout(c,l);return()=>{clearTimeout(e)}}},[c,s,l]),(0,L.jsx)(`span`,{className:f,style:p,children:(0,L.jsx)(`span`,{className:m})})}var As=Go(`MuiTouchRipple`,[`root`,`ripple`,`rippleVisible`,`ripplePulsate`,`child`,`childLeaving`,`childPulsate`]);d(),p(),an();var js=[`center`,`classes`,`className`],Ms=e=>e,Ns,Ps,Fs,Is,Ls=550,Rs=en(Ns||(Ns=Ms` 2 0% { 3 transform: scale(0); 4 opacity: 0.1; 5 } 6 7 100% { 8 transform: scale(1); 9 opacity: 0.3; 10 } 11`)),zs=en(Ps||(Ps=Ms` 12 0% { 13 opacity: 1; 14 } 15 16 100% { 17 opacity: 0; 18 } 19`)),Bs=en(Fs||(Fs=Ms` 20 0% { 21 transform: scale(1); 22 } 23 24 50% { 25 transform: scale(0.92); 26 } 27 28 100% { 29 transform: scale(1); 30 } 31`)),Vs=B(`span`,{name:`MuiTouchRipple`,slot:`Root`})({overflow:`hidden`,pointerEvents:`none`,position:`absolute`,zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:`inherit`}),Hs=B(ks,{name:`MuiTouchRipple`,slot:`Ripple`})(Is||(Is=Ms` 32 opacity: 0; 33 position: absolute; 34 35 &.${0} { 36 opacity: 0.3; 37 transform: scale(1); 38 animation-name: ${0}; 39 animation-duration: ${0}ms; 40 animation-timing-function: ${0}; 41 } 42 43 &.${0} { 44 animation-duration: ${0}ms; 45 } 46 47 & .${0} { 48 opacity: 1; 49 display: block; 50 width: 100%; 51 height: 100%; 52 border-radius: 50%; 53 background-color: currentColor; 54 } 55 56 & .${0} { 57 opacity: 0; 58 animation-name: ${0}; 59 animation-duration: ${0}ms; 60 animation-timing-function: ${0}; 61 } 62 63 & .${0} { 64 position: absolute; 65 /* @noflip */ 66 left: 0px; 67 top: 0; 68 animation-name: ${0}; 69 animation-duration: 2500ms; 70 animation-timing-function: ${0}; 71 animation-iteration-count: infinite; 72 animation-delay: 200ms; 73 } 74`),As.rippleVisible,Rs,Ls,({theme:e})=>e.transitions.easing.easeInOut,As.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,As.child,As.childLeaving,zs,Ls,({theme:e})=>e.transitions.easing.easeInOut,As.childPulsate,Bs,({theme:e})=>e.transitions.easing.easeInOut),Us=F.forwardRef(function(e,t){let n=Qo({props:e,name:`MuiTouchRipple`}),{center:r=!1,classes:i={},className:a}=n,o=f(n,js),[s,c]=F.useState([]),l=F.useRef(0),d=F.useRef(null);F.useEffect(()=>{d.current&&(d.current(),d.current=null)},[s]);let p=F.useRef(!1),m=jo(),h=F.useRef(null),g=F.useRef(null),_=F.useCallback(e=>{let{pulsate:t,rippleX:n,rippleY:r,rippleSize:a,cb:o}=e;c(e=>[...e,(0,L.jsx)(Hs,{classes:{ripple:I(i.ripple,As.ripple),rippleVisible:I(i.rippleVisible,As.rippleVisible),ripplePulsate:I(i.ripplePulsate,As.ripplePulsate),
vendor: 17,461 bytes, line 74
74child:I(i.child,As.child),childLeaving:I(i.childLeaving,As.childLeaving),childPulsate:I(i.childPulsate,As.childPulsate)},timeout:Ls,pulsate:t,rippleX:n,rippleY:r,rippleSize:a},l.current)]),l.current+=1,d.current=o},[i]),v=F.useCallback((e={},t={},n=()=>{})=>{let{pulsate:i=!1,center:a=r||t.pulsate,fakeElement:o=!1}=t;if(e?.type===`mousedown`&&p.current){p.current=!1;return}e?.type===`touchstart`&&(p.current=!0);let s=o?null:g.current,c=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0},l,u,d;if(a||e===void 0||e.clientX===0&&e.clientY===0||!e.clientX&&!e.touches)l=Math.round(c.width/2),u=Math.round(c.height/2);else{let{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;l=Math.round(t-c.left),u=Math.round(n-c.top)}if(a)d=Math.sqrt((2*c.width**2+c.height**2)/3),d%2==0&&(d+=1);else{let e=Math.max(Math.abs((s?s.clientWidth:0)-l),l)*2+2,t=Math.max(Math.abs((s?s.clientHeight:0)-u),u)*2+2;d=Math.sqrt(e**2+t**2)}e!=null&&e.touches?h.current===null&&(h.current=()=>{_({pulsate:i,rippleX:l,rippleY:u,rippleSize:d,cb:n})},m.start(80,()=>{h.current&&(h.current(),h.current=null)})):_({pulsate:i,rippleX:l,rippleY:u,rippleSize:d,cb:n})},[r,_,m]),y=F.useCallback(()=>{v({},{pulsate:!0})},[v]),b=F.useCallback((e,t)=>{if(m.clear(),e?.type===`touchend`&&h.current){h.current(),h.current=null,m.start(0,()=>{b(e,t)});return}h.current=null,c(e=>e.length>0?e.slice(1):e),d.current=t},[m]);return F.useImperativeHandle(t,()=>({pulsate:y,start:v,stop:b}),[y,v,b]),(0,L.jsx)(Vs,u({className:I(As.root,i.root,a),ref:g},o,{children:(0,L.jsx)(ys,{component:null,exit:!0,children:s})}))});function Ws(e){return Ta(`MuiButtonBase`,e)}var Gs=Go(`MuiButtonBase`,[`root`,`disabled`,`focusVisible`]);d(),p();var Ks=`action.centerRipple.children.className.component.disabled.disableRipple.disableTouchRipple.focusRipple.focusVisibleClassName.LinkComponent.onBlur.onClick.onContextMenu.onDragLeave.onFocus.onFocusVisible.onKeyDown.onKeyUp.onMouseDown.onMouseLeave.onMouseUp.onTouchEnd.onTouchMove.onTouchStart.tabIndex.TouchRippleProps.touchRippleRef.type`.split(`.`),qs=e=>{let{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,a=Wo({root:[`root`,t&&`disabled`,n&&`focusVisible`]},Ws,i);return n&&r&&(a.root+=` ${r}`),a},Js=B(`button`,{name:`MuiButtonBase`,slot:`Root`,overridesResolver:(e,t)=>t.root})({display:`inline-flex`,alignItems:`center`,justifyContent:`center`,position:`relative`,boxSizing:`border-box`,WebkitTapHighlightColor:`transparent`,backgroundColor:`transparent`,outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:`pointer`,userSelect:`none`,verticalAlign:`middle`,MozAppearance:`none`,WebkitAppearance:`none`,textDecoration:`none`,color:`inherit`,"&::-moz-focus-inner":{borderStyle:`none`},[`&.${Gs.disabled}`]:{pointerEvents:`none`,cursor:`default`},"@media print":{colorAdjust:`exact`}}),Ys=F.forwardRef(function(e,t){let n=Qo({props:e,name:`MuiButtonBase`}),{action:r,centerRipple:i=!1,children:a,className:o,component:s=`button`,disabled:c=!1,disableRipple:l=!1,disableTouchRipple:d=!1,focusRipple:p=!1,LinkComponent:m=`a`,onBlur:h,onClick:g,onContextMenu:_,onDragLeave:v,onFocus:y,onFocusVisible:b,onKeyDown:x,onKeyUp:S,onMouseDown:C,onMouseLeave:w,onMouseUp:ee,onTouchEnd:te,onTouchMove:ne,onTouchStart:re,tabIndex:ie=0,TouchRippleProps:ae,touchRippleRef:oe,type:se}=n,ce=f(n,Ks),T=F.useRef(null),E=F.useRef(null),le=os(E,oe),{isFocusVisibleRef:D,onFocus:ue,onBlur:de,ref:fe}=ss(),[pe,me]=F.useState(!1);c&&pe&&me(!1),F.useImperativeHandle(r,()=>({focusVisible:()=>{me(!0),T.current.focus()}}),[]);let[he,ge]=F.useState(!1);F.useEffect(()=>{ge(!0)},[]);let _e=he&&!l&&!c;F.useEffect(()=>{pe&&p&&!l&&he&&E.current.pulsate()},[l,p,pe,he]);function O(e,t,n=d){return as(r=>(t&&t(r),!n&&E.current&&E.current[e](r),!0))}let ve=O(`start`,C),ye=O(`stop`,_),be=O(`stop`,v),xe=O(`stop`,ee),k=O(`stop`,e=>{pe&&e.preventDefault(),w&&w(e)}),Se=O(`start`,re),Ce=O(`stop`,te),we=O(`stop`,ne),Te=O(`stop`,e=>{de(e),D.current===!1&&me(!1),h&&h(e)},!1),Ee=as(e=>{T.current||(T.current=e.currentTarget),ue(e),D.current===!0&&(me(!0),b&&b(e)),y&&y(e)}),De=()=>{let e=T.current;return s&&s!==`button`&&!(e.tagName===`A`&&e.href)},Oe=F.useRef(!1),ke=as(e=>{p&&!Oe.current&&pe&&E.current&&e.key===` `&&(Oe.current=!0,E.current.stop(e,()=>{E.current.start(e)})),e.target===e.currentTarget&&De()&&e.key===` `&&e.preventDefault(),x&&x(e),e.target===e.currentTarget&&De()&&e.key===`Enter`&&!c&&(e.preventDefault(),g&&g(e))}),Ae=as(e=>{p&&e.key===` `&&E.current&&pe&&!e.defaultPrevented&&(Oe.current=!1,E.current.stop(e,()=>{E.current.pulsate(e)})),S&&S(e),g&&e.target===e.currentTarget&&De()&&e.key===` `&&!e.defaultPrevented&&g(e)}),je=s;je===`button`&&(ce.href||ce.to)&&(je=m);let Me={};je===`button`?(Me.type=se===void 0?`button`:se,Me.disabled=c):(!ce.href&&!ce.to&&(Me.role=`button`),c&&(Me[`aria-disabled`]=c));let Ne=os(t,fe,T),Pe=u({},n,{centerRipple:i,component:s,disabled:c,disableRipple:l,disableTouchRipple:d,focusRipple:p,tabIndex:ie,focusVisible:pe}),Fe=qs(Pe);return(0,L.jsxs)(Js,u({as:je,className:I(Fe.root,o),ownerState:Pe,onBlur:Te,onClick:g,onContextMenu:ye,onFocus:Ee,onKeyDown:ke,onKeyUp:Ae,onMouseDown:ve,onMouseLeave:k,onMouseUp:xe,onDragLeave:be,onTouchEnd:Ce,onTouchMove:we,onTouchStart:Se,ref:Ne,tabIndex:c?-1:ie,type:se},Me,ce,{children:[a,_e?(0,L.jsx)(Us,u({ref:le,center:i},ae)):null]}))});function Xs(e){return Ta(`MuiAlert`,e)}var Zs=Go(`MuiAlert`,[`root`,`action`,`icon`,`message`,`filled`,`colorSuccess`,`colorInfo`,`colorWarning`,`colorError`,`filledSuccess`,`filledInfo`,`filledWarning`,`filledError`,`outlined`,`outlinedSuccess`,`outlinedInfo`,`outlinedWarning`,`outlinedError`,`standard`,`standardSuccess`,`standardInfo`,`standardWarning`,`standardError`]);function Qs(e){return Ta(`MuiIconButton`,e)}var $s=Go(`MuiIconButton`,[`root`,`disabled`,`colorInherit`,`colorPrimary`,`colorSecondary`,`colorError`,`colorInfo`,`colorSuccess`,`colorWarning`,`edgeStart`,`edgeEnd`,`sizeSmall`,`sizeMedium`,`sizeLarge`]);p(),d();var ec=[`edge`,`children`,`className`,`color`,`disabled`,`disableFocusRipple`,`size`],tc=e=>{let{classes:t,disabled:n,color:r,edge:i,size:a}=e;return Wo({root:[`root`,n&&`disabled`,r!=="default"&&`color${V(r)}`,i&&`edge${V(i)}`,`size${V(a)}`]},Qs,t)},nc=B(Ys,{name:`MuiIconButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${V(n.color)}`],n.edge&&t[`edge${V(n.edge)}`],t[`size${V(n.size)}`]]}})(({theme:e,ownerState:t})=>u({textAlign:`center`,flex:`0 0 auto`,fontSize:e.typography.pxToRem(24),padding:8,borderRadius:`50%`,overflow:`visible`,color:(e.vars||e).palette.action.active,transition:e.transitions.create(`background-color`,{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,R.alpha)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:`transparent`}}},t.edge===`start`&&{marginLeft:t.size===`small`?-3:-12},t.edge===`end`&&{marginRight:t.size===`small`?-3:-12}),({theme:e,ownerState:t})=>{let n=(e.vars||e).palette?.[t.color];return u({},t.color===`inherit`&&{color:`inherit`},t.color!==`inherit`&&t.color!=="default"&&u({color:n?.main},!t.disableRipple&&{"&:hover":u({},n&&{backgroundColor:e.vars?`rgba(${n.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,R.alpha)(n.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:`transparent`}})}),t.size===`small`&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size===`large`&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${$s.disabled}`]:{backgroundColor:`transparent`,color:(e.vars||e).palette.action.disabled}})}),rc=F.forwardRef(function(e,t){let n=Qo({props:e,name:`MuiIconButton`}),{edge:r=!1,children:i,className:a,color:o=`default`,disabled:s=!1,disableFocusRipple:c=!1,size:l=`medium`}=n,d=f(n,ec),p=u({},n,{edge:r,color:o,disabled:s,disableFocusRipple:c,size:l}),m=tc(p);return(0,L.jsx)(nc,u({className:I(m.root,a),centerRipple:!0,focusRipple:!c,disabled:s,ref:t},d,{ownerState:p,children:i}))}),ic=is((0,L.jsx)(`path`,{d:`M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z`}),`SuccessOutlined`),ac=is((0,L.jsx)(`path`,{d:`M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z`}),`ReportProblemOutlined`),oc=is((0,L.jsx)(`path`,{d:`M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z`}),`ErrorOutline`),sc=is((0,L.jsx)(`path`,{d:`M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z`}),`InfoOutlined`),cc=is((0,L.jsx)(`path`,{d:`M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z`}),`Close`);p(),d();var lc=[`action`,`children`,`className`,`closeText`,`color`,`components`,`componentsProps`,`icon`,`iconMapping`,`onClose`,`role`,`severity`,`slotProps`,`slots`,`variant`],uc=e=>{let{variant:t,color:n,severity:r,classes:i}=e;return Wo({root:[`root`,`color${V(n||r)}`,`${t}${V(n||r)}`,`${t}`],icon:[`icon`],message:[`message`],action:[`action`]},Xs,i)},dc=B(ws,{name:`MuiAlert`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${V(n.color||n.severity)}`]]}})(({theme:e})=>{let t=e.palette.mode===`light`?R.darken:R.lighten,n=e.palette.mode===`light`?R.lighten:R.darken;return u({},e.typography.body2,{backgroundColor:`transparent`,display:`flex`,padding:`6px 16px`,variants:[...Object.entries(e.palette).filter(([,e])=>e.main&&e.light).map(([r])=>({props:{colorSeverity:r,variant:`standard`},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${Zs.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(([,e])=>e.main&&e.light).map(([n])=>({props:{colorSeverity:n,variant:`outlined`},style:{color:e.vars?e.vars.palette.Alert[`${n}Color`]:t(e.palette[n].light,.6),border:`1px solid ${(e.vars||e).palette[n].light}`,[`& .${Zs.icon}`]:e.vars?{color:e.vars.palette.Alert[`${n}IconColor`]}:{color:e.palette[n].main}}})),...Object.entries(e.palette).filter(([,e])=>e.main&&e.dark).map(([t])=>({props:{colorSeverity:t,variant:`filled`},style:u({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${t}FilledColor`],backgroundColor:e.vars.palette.Alert[`${t}FilledBg`]}:{backgroundColor:e.palette.mode===`dark`?e.palette[t].dark:e.palette[t].main,color:e.palette.getContrastText(e.palette[t].main)})}))]})}),fc=B(`div`,{name:`MuiAlert`,slot:`Icon`,overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:`7px 0`,display:`flex`,fontSize:22,opacity:.9}),pc=B(`div`,{name:`MuiAlert`,slot:`Message`,overridesResolver:(e,t)=>t.message})({padding:`8px 0`,minWidth:0,overflow:`auto`}),mc=B(`div`,{name:`MuiAlert`,slot:`Action`,overridesResolver:(e,t)=>t.action})({display:`flex`,alignItems:`flex-start`,padding:`4px 0 0 16px`,marginLeft:`auto`,marginRight:-8}),hc={success:(0,L.jsx)(ic,{fontSize:`inherit`}),warning:(0,L.jsx)(ac,{fontSize:`inherit`}),error:(0,L.jsx)(oc,{fontSize:`inherit`}),info:(0,L.jsx)(sc,{fontSize:`inherit`})},gc=F.forwardRef(function(e,t){let n=Qo({props:e,name:`MuiAlert`}),{action:r,children:i,className:a,closeText:o=`Close`,color:s,components:c={},componentsProps:l={},icon:d,iconMapping:p=hc,onClose:m,role:h=`alert`,severity:g=`success`,slotProps:_={},slots:v={},variant:y=`standard`}=n,b=f(n,lc),x=u({},n,{color:s,severity:g,variant:y,colorSeverity:s||g}),S=uc(x),C={slots:u({closeButton:c.CloseButton,closeIcon:c.CloseIcon},v),slotProps:u({},l,_)},[w,ee]=Os(`closeButton`,{elementType:rc,externalForwardedProps:C,ownerState:x}),[te,ne]=Os(`closeIcon`,{elementType:cc,externalForwardedProps:C,ownerState:x});return(0,L.jsxs)(dc,u({role:h,elevation:0,ownerState:x,className:I(S.root,a),ref:t},b,{children:[d===!1?null:(0,L.jsx)(fc,{ownerState:x,className:S.icon,children:d||p[g]||hc[g]}),(0,L.jsx)(pc,{ownerState:x,className:S.message,children:i}),r==null?null:(0,L.jsx)(mc,{ownerState:x,className:S.action,children:r}),r==null&&m?(0,L.jsx)(mc,{ownerState:x,className:S.action,children:(0,L.jsx)(w,u({size:`small`,"aria-label":o,title:o,color:`inherit`,onClick:m},ee,{children:(0,L.jsx)(te,u({fontSize:`small`},ne))}))}):null]}))});function _c(e){return Ta(`MuiTypography`,e)}Go(`MuiTypography`,[`root`,`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`subtitle1`,`subtitle2`,`body1`,`body2`,`inherit`,`button`,`caption`,`overline`,`alignLeft`,`alignRight`,`alignCenter`,`alignJustify`,`noWrap`,`gutterBottom`,`paragraph`]),p(),d(),Yi();var vc=[`align`,`className`,`component`,`gutterBottom`,`noWrap`,`paragraph`,`variant`,`variantMapping`],yc=e=>{let{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:a,classes:o}=e;return Wo({root:[`root`,a,e.align!==`inherit`&&`align${V(t)}`,n&&`gutterBottom`,r&&`noWrap`,i&&`paragraph`]},_c,o)},bc=B(`span`,{name:`MuiTypography`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!==`inherit`&&t[`align${V(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>u({margin:0},t.variant===`inherit`&&{font:`inherit`},t.variant!==`inherit`&&e.typography[t.variant],t.align!==`inherit`&&{textAlign:t.align},t.noWrap&&{overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},t.gutterBottom&&{marginBottom:`0.35em`},t.paragraph&&{marginBottom:16})),xc={h1:`h1`,h2:`h2`,h3:`h3`,h4:`h4`,h5:`h5`,h6:`h6`,subtitle1:`h6`,subtitle2:`h6`,body1:`p`,body2:`p`,inherit:`p`},Sc={primary:`primary.main`,textPrimary:`text.primary`,secondary:`secondary.main`,textSecondary:`text.secondary`,error:`error.main`},Cc=e=>Sc[e]||e,wc=F.forwardRef(function(e,t){let n=Qo({props:e,name:`MuiTypography`}),r=Cc(n.color),i=Wi(u({},n,{color:r})),{align:a=`inherit`,className:o,component:s,gutterBottom:c=!1,noWrap:l=!1,paragraph:d=!1,variant:p=`body1`,variantMapping:m=xc}=i,h=f(i,vc),g=u({},i,{align:a,color:r,className:o,component:s,gutterBottom:c,noWrap:l,paragraph:d,variant:p,variantMapping:m}),_=s||(d?`p`:m[p]||xc[p])||`span`,v=yc(g);return(0,L.jsx)(bc,u({as:_,ref:t,ownerState:g,className:I(v.root,o)},h))}),Tc=Go(`MuiBox`,[`root`]),Ec=Qi({themeId:l,defaultTheme:fo(),defaultClassName:Tc.root,generateClassName:Ca.generate});function Dc(e){return Ta(`MuiButton`,e)}var Oc=Go(`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`.split(`.`)),kc=F.createContext({}),Ac=F.createContext(void 0);p(),d();var jc=[`children`,`color`,`component`,`className`,`disabled`,`disableElevation`,`disableFocusRipple`,`endIcon`,`focusVisibleClassName`,`fullWidth`,`size`,`startIcon`,`type`,`variant`],Mc=e=>{let{color:t,disableElevation:n,fullWidth:r,size:i,variant:a,classes:o}=e,s=Wo({root:[`root`,a,`${a}${V(t)}`,`size${V(i)}`,`${a}Size${V(i)}`,`color${V(t)}`,n&&`disableElevation`,r&&`fullWidth`],label:[`label`],startIcon:[`icon`,`startIcon`,`iconSize${V(i)}`],endIcon:[`icon`,`endIcon`,`iconSize${V(i)}`]},Dc,o);return u({},o,s)},Nc=e=>u({},e.size===`small`&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size===`medium`&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size===`large`&&{"& > *:nth-of-type(1)":{fontSize:22}}),Pc=B(Ys,{shouldForwardProp:e=>yo(e)||e===`classes`,name:`MuiButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${V(n.color)}`],t[`size${V(n.size)}`],t[`${n.variant}Size${V(n.size)}`],n.color===`inherit`&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n;let r=e.palette.mode===`light`?e.palette.grey[300]:e.palette.grey[800],i=e.palette.mode===`light`?e.palette.grey.A100:e.palette.grey[700];return u({},e.typography.button,{minWidth:64,padding:`6px 16px`,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create([`background-color`,`box-shadow`,`border-color`,`color`],{duration:e.transitions.duration.short}),"&:hover":u({textDecoration:`none`,backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,R.alpha)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:`transparent`}},t.variant===`text`&&t.color!==`inherit`&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainCh
74annel} / ${e.vars.palette.action.hoverOpacity})`:(0,R.alpha)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:`transparent`}},t.variant===`outlined`&&t.color!==`inherit`&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,R.alpha)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:`transparent`}},t.variant===`contained`&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant===`contained`&&t.color!==`inherit`&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":u({},t.variant===`contained`&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Oc.focusVisible}`]:u({},t.variant===`contained`&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Oc.disabled}`]:u({color:(e.vars||e).palette.action.disabled},t.variant===`outlined`&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant===`contained`&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant===`text`&&{padding:`6px 8px`},t.variant===`text`&&t.color!==`inherit`&&{color:(e.vars||e).palette[t.color].main},t.variant===`outlined`&&{padding:`5px 15px`,border:`1px solid currentColor`},t.variant===`outlined`&&t.color!==`inherit`&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,R.alpha)(e.palette[t.color].main,.5)}`},t.variant===`contained`&&{color:e.vars?e.vars.palette.text.primary:(n=e.palette).getContrastText?.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:r,boxShadow:(e.vars||e).shadows[2]},t.variant===`contained`&&t.color!==`inherit`&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color===`inherit`&&{color:`inherit`,borderColor:`currentColor`},t.size===`small`&&t.variant===`text`&&{padding:`4px 5px`,fontSize:e.typography.pxToRem(13)},t.size===`large`&&t.variant===`text`&&{padding:`8px 11px`,fontSize:e.typography.pxToRem(15)},t.size===`small`&&t.variant===`outlined`&&{padding:`3px 9px`,fontSize:e.typography.pxToRem(13)},t.size===`large`&&t.variant===`outlined`&&{padding:`7px 21px`,fontSize:e.typography.pxToRem(15)},t.size===`small`&&t.variant===`contained`&&{padding:`4px 10px`,fontSize:e.typography.pxToRem(13)},t.size===`large`&&t.variant===`contained`&&{padding:`8px 22px`,fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:`100%`})},({ownerState:e})=>e.disableElevation&&{boxShadow:`none`,"&:hover":{boxShadow:`none`},[`&.${Oc.focusVisible}`]:{boxShadow:`none`},"&:active":{boxShadow:`none`},[`&.${Oc.disabled}`]:{boxShadow:`none`}}),Fc=B(`span`,{name:`MuiButton`,slot:`StartIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.startIcon,t[`iconSize${V(n.size)}`]]}})(({ownerState:e})=>u({display:`inherit`,marginRight:8,marginLeft:-4},e.size===`small`&&{marginLeft:-2},Nc(e))),Ic=B(`span`,{name:`MuiButton`,slot:`EndIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.endIcon,t[`iconSize${V(n.size)}`]]}})(({ownerState:e})=>u({display:`inherit`,marginRight:-4,marginLeft:8},e.size===`small`&&{marginRight:-2},Nc(e))),Lc=F.forwardRef(function(e,t){let n=F.useContext(kc),r=F.useContext(Ac),i=Qo({props:Uo(n,e),name:`MuiButton`}),{children:a,color:o=`primary`,component:s=`button`,className:c,disabled:l=!1,disableElevation:d=!1,disableFocusRipple:p=!1,endIcon:m,focusVisibleClassName:h,fullWidth:g=!1,size:_=`medium`,startIcon:v,type:y,variant:b=`text`}=i,x=f(i,jc),S=u({},i,{color:o,component:s,disabled:l,disableElevation:d,disableFocusRipple:p,fullWidth:g,size:_,type:y,variant:b}),C=Mc(S),w=v&&(0,L.jsx)(Fc,{className:C.startIcon,ownerState:S,children:v}),ee=m&&(0,L.jsx)(Ic,{className:C.endIcon,ownerState:S,children:m}),te=r||``;return(0,L.jsxs)(Pc,u({ownerState:S,className:I(n.className,C.root,c,te),component:s,disabled:l,focu
74sRipple:!p,focusVisibleClassName:I(C.focusVisible,h),ref:t,type:y},x,{classes:C,children:[w,a,ee]}))}),Rc=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}};function zc(e,t){if(t.has(e))throw TypeError(`Cannot initialize the same private elements twice on an object`)}function H(e,t,n){zc(e,t),t.set(e,n)}function U(e,t,n){if(typeof e==`function`?e===t:e.has(t))return arguments.length<3?t:n;throw TypeError(`Private element is not present on this object`)}function W(e,t,n){return e.set(U(e,t),n),n}function G(e,t){return e.get(U(e,t))}var Bc,Vc,Hc,Uc=new(Bc=new WeakMap,Vc=new WeakMap,Hc=new WeakMap,class extends Rc{constructor(){super(),H(this,Bc,void 0),H(this,Vc,void 0),H(this,Hc,void 0),W(Hc,this,e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}})}onSubscribe(){G(Vc,this)||this.setEventListener(G(Hc,this))}onUnsubscribe(){this.hasListeners()||(G(Vc,this)?.call(this),W(Vc,this,void 0))}setEventListener(e){W(Hc,this,e),G(Vc,this)?.call(this),W(Vc,this,e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()}))}setFocused(e){G(Bc,this)!==e&&(W(Bc,this,e),this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof G(Bc,this)==`boolean`?G(Bc,this):globalThis.document?.visibilityState!==`hidden`}}),Wc,Gc,Kc={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},qc=new(Wc=new WeakMap,Gc=new WeakMap,class{constructor(){H(this,Wc,Kc),H(this,Gc,!1)}setTimeoutProvider(e){W(Wc,this,e)}setTimeout(e,t){return G(Wc,this).setTimeout(e,t)}clearTimeout(e){G(Wc,this).clearTimeout(e)}setInterval(e,t){return G(Wc,this).setInterval(e,t)}clearInterval(e){G(Wc,this).clearInterval(e)}});function Jc(e){setTimeout(e,0)}var Yc=typeof window>`u`||`Deno`in globalThis;function K(){}function Xc(e,t){return typeof e==`function`?e(t):e}function Zc(e){return typeof e==`number`&&e>=0&&e!==1/0}function Qc(e,t){return Math.max(e+(t||0)-Date.now(),0)}function $c(e,t){return typeof e==`function`?e(t):e}function el(e,t){return typeof e==`function`?e(t):e}function tl(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==rl(o,t.options))return!1}else if(!al(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function nl(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(il(t.options.mutationKey)!==il(a))return!1}else if(!al(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function rl(e,t){return(t?.queryKeyHashFn||il)(e)}function il(e){return JSON.stringify(e,(e,t)=>ul(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function al(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(e&&t&&typeof e==`object`&&typeof t==`object`){if(Array.isArray(e)&&Array.isArray(t)){for(let n=0;n<t.length;n++)if(!al(e[n],t[n]))return!1;return!0}let n=Object.keys(t);for(let r of n)if(!al(e[r],t[r]))return!1;return!0}return!1}var ol=Object.prototype.hasOwnProperty;function sl(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=ll(e)&&ll(t);if(!r&&!(ul(e)&&ul(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l<o;l++){let o=r?l:a[l],u=e[o],d=t[o];if(u===d){s[o]=u,(r?l<i:ol.call(e,o))&&c++;continue}if(u===null||d===null||typeof u!=`object`||typeof d!=`object`){s[o]=d;continue}let f=sl(u,d,n+1);s[o]=f,f===u&&c++}return i===o&&c===i?e:s}function cl(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function ll(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function ul(e){if(!dl(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!dl(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function dl(e){return Object.prototype.toString.call(e)===`[object Object]`}function fl(e){return new Promise(t=>{qc.setTimeout(t,e)})}function pl(e,t,n){return typeof n.structuralSharing==`function`?n.structuralSharing(e,t):n.structuralSharing===!1?t:sl(e,t)}function ml(e){return e}function hl(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function gl(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var _l=Symbol();function vl(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===_l?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function yl(e,t){return typeof e==`function`?e(...t):!!e}function bl(e,t,n){let r=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??(i=t()),r?i:(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0}),i))}),e}var xl=(()=>{let e=()=>Yc;return{isServer(){return e()},setIsServer(t){e=t}}})();function Sl(){let e,t,n=new Promise((n,r)=>{e=n,t=r});n.status=`pending`,n.catch(()=>{});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.resolve=t=>{r({status:`fulfilled`,value:t}),e(t)},n.reject=e=>{r({status:`rejected`,reason:e}),t(e)},n}var Cl=Jc;function wl(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=Cl,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>
74{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var q=wl(),Tl,El,Dl,Ol=new(Tl=new WeakMap,El=new WeakMap,Dl=new WeakMap,class extends Rc{constructor(){super(),H(this,Tl,!0),H(this,El,void 0),H(this,Dl,void 0),W(Dl,this,e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}})}onSubscribe(){G(El,this)||this.setEventListener(G(Dl,this))}onUnsubscribe(){this.hasListeners()||(G(El,this)?.call(this),W(El,this,void 0))}setEventListener(e){W(Dl,this,e),G(El,this)?.call(this),W(El,this,e(this.setOnline.bind(this)))}setOnline(e){G(Tl,this)!==e&&(W(Tl,this,e),this.listeners.forEach(t=>{t(e)}))}isOnline(){return G(Tl,this)}});function kl(e){return Math.min(1e3*2**e,3e4)}function Al(e){return(e??`online`)!==`online`||Ol.isOnline()}var jl=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function Ml(e){let t=!1,n=0,r,i=Sl(),a=()=>i.status!==`pending`,o=t=>{if(!a()){let n=new jl(t);f(n),e.onCancel?.(n)}},s=()=>{t=!0},c=()=>{t=!1},l=()=>Uc.isFocused()&&(e.networkMode===`always`||Ol.isOnline())&&e.canRun(),u=()=>Al(e.networkMode)&&e.canRun(),d=e=>{a()||(r?.(),i.resolve(e))},f=e=>{a()||(r?.(),i.reject(e))},p=()=>new Promise(t=>{r=e=>{(a()||l())&&t(e)},e.onPause?.()}).then(()=>{r=void 0,a()||e.onContinue?.()}),m=()=>{if(a())return;let r,i=n===0?e.initialPromise:void 0;try{r=i??e.fn()}catch(e){r=Promise.reject(e)}Promise.resolve(r).then(d).catch(r=>{if(a())return;let i=e.retry??(xl.isServer()?0:3),o=e.retryDelay??kl,s=typeof o==`function`?o(n,r):o,c=i===!0||typeof i==`number`&&n<i||typeof i==`function`&&i(n,r);if(t||!c){f(r);return}n++,e.onFail?.(n,r),fl(s).then(()=>l()?void 0:p()).then(()=>{t?f(r):m()})})};return{promise:i,status:()=>i.status,cancel:o,continue:()=>(r?.(),i),cancelRetry:s,continueRetry:c,canStart:u,start:()=>(u()?m():p().then(m),i)}}var Nl,Pl=(Nl=new WeakMap,class{constructor(){H(this,Nl,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Zc(this.gcTime)&&W(Nl,this,qc.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(xl.isServer()?1/0:3e5))}clearGcTimeout(){G(Nl,this)!==void 0&&(qc.clearTimeout(G(Nl,this)),W(Nl,this,void 0))}});function Fl(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{bl(e,()=>t.signal,()=>n=!0)},u=vl(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject(t.signal.reason);if(r==null&&e.pages.length)return Promise.resolve(e);let a=(()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})(),o=await u(a),{maxPages:s}=t.options,c=i?gl:hl;return{pages:c(e.pages,o,s),pageParams:c(e.pageParams,r,s)}};if(i&&a.length){let e=i===`backward`,t=e?Ll:Il,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:Il(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.fetchFn=t.options.persister?()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):l}}}function Il(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Ll(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}function Rl(e,t){return t?Il(e,t)!=null:!1}function zl(e,t){return!t||!e.getPreviousPageParam?!1:Ll(e,t)!=null}function Bl(e,t){zc(e,t),t.add(e)}var Vl,Hl,Ul,Wl,Gl,J,Kl,ql,Jl,Yl=(Vl=new WeakMap,Hl=new WeakMap,Ul=new WeakMap,Wl=new WeakMap,Gl=new WeakMap,J=new WeakMap,Kl=new WeakMap,ql=new WeakMap,Jl=new WeakSet,class extends Pl{constructor(e){super(),Bl(this,Jl),H(this,Vl,void 0),H(this,Hl,void 0),H(this,Ul,void 0),H(this,Wl,void 0),H(this,Gl,void 0),H(this,J,void 0),H(this,Kl,void 0),H(this,ql,void 0),W(ql,this,!1),W(Kl,this,e.defaultOptions),this.setOptions(e.options),this.observers=[],W(Gl,this,e.client),W(Wl,this,G(Gl,this).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,W(Hl,this,eu(this.options)),this.state=e.state??G(Hl,this),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return G(Vl,this)}get promise(){return G(J,this)?.promise}setOptions(e){if(this.options={...G(Kl,this),...e},e?._type&&W(Vl,this,e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=eu(this.options);e.data!==void 0&&(this.setState($l(e.data,e.dataUpdatedAt)),W(Hl,this,e))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&G(Wl,this).remove(this)}setData(e,t){let n=pl(this.state.data,e,this.options);return U(Jl,this,Zl).call(this,{data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){U(Jl,this,Zl).call(this,{type:`setState`,state:e})}cancel(e){let t=G(J,this)?.promise;return G(J,this)?.cancel(e),t?t.then(K).catch(K):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return G(Hl,this)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>el(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===_l||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdate
74Count>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>$c(e.options.staleTime,this)===`static`)}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e===`static`?!1:this.state.isInvalidated?!0:!Qc(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),G(J,this)?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),G(J,this)?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),G(Wl,this).notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(G(J,this)&&(G(ql,this)||U(Jl,this,Xl).call(this)?G(J,this).cancel({revert:!0}):G(J,this).cancelRetry()),this.scheduleGc()),G(Wl,this).notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||U(Jl,this,Zl).call(this,{type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&G(J,this)?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(G(J,this))return G(J,this).continueRetry(),G(J,this).promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(W(ql,this,!0),n.signal)})},i=()=>{let e=vl(this.options,t),n=(()=>{let e={client:G(Gl,this),queryKey:this.queryKey,meta:this.meta};return r(e),e})();return W(ql,this,!1),this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:G(Gl,this),state:this.state,fetchFn:i};return r(e),e})();(G(Vl,this)===`infinite`?Fl(this.options.pages):this.options.behavior)?.onFetch(a,this),W(Ul,this,this.state),(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&U(Jl,this,Zl).call(this,{type:`fetch`,meta:a.fetchOptions?.meta}),W(J,this,Ml({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof jl&&e.revert&&this.setState({...G(Ul,this),fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{U(Jl,this,Zl).call(this,{type:`failed`,failureCount:e,error:t})},onPause:()=>{U(Jl,this,Zl).call(this,{type:`pause`})},onContinue:()=>{U(Jl,this,Zl).call(this,{type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0}));try{let e=await G(J,this).start();if(e===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),G(Wl,this).config.onSuccess?.(e,this),G(Wl,this).config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof jl){if(e.silent)return G(J,this).promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw U(Jl,this,Zl).call(this,{type:`error`,error:e}),G(Wl,this).config.onError?.(e,this),G(Wl,this).config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}});function Xl(){return this.state.fetchStatus===`paused`&&this.state.status===`pending`}function Zl(e){let t=t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,...Ql(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...$l(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return W(Ul,this,e.manual?n:void 0),n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}};this.state=t(this.state),q.batch(()=>
74{this.observers.forEach(e=>{e.onQueryUpdate()}),G(Wl,this).notify({query:this,type:`updated`,action:e})})}function Ql(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Al(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function $l(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function eu(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}var tu,Y,nu,X,ru,iu,au,ou,su,cu,lu,uu,du,fu,pu,Z,mu=(tu=new WeakMap,Y=new WeakMap,nu=new WeakMap,X=new WeakMap,ru=new WeakMap,iu=new WeakMap,au=new WeakMap,ou=new WeakMap,su=new WeakMap,cu=new WeakMap,lu=new WeakMap,uu=new WeakMap,du=new WeakMap,fu=new WeakMap,pu=new WeakMap,Z=new WeakSet,class extends Rc{constructor(e,t){super(),Bl(this,Z),H(this,tu,void 0),H(this,Y,void 0),H(this,nu,void 0),H(this,X,void 0),H(this,ru,void 0),H(this,iu,void 0),H(this,au,void 0),H(this,ou,void 0),H(this,su,void 0),H(this,cu,void 0),H(this,lu,void 0),H(this,uu,void 0),H(this,du,void 0),H(this,fu,void 0),H(this,pu,new Set),this.options=t,W(tu,this,e),W(ou,this,null),W(au,this,Sl()),this.bindMethods(),this.setOptions(t)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(G(Y,this).addObserver(this),Tu(G(Y,this),this.options)?U(Z,this,hu).call(this):this.updateResult(),U(Z,this,yu).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Eu(G(Y,this),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Eu(G(Y,this),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,U(Z,this,bu).call(this),U(Z,this,xu).call(this),G(Y,this).removeObserver(this)}setOptions(e){let t=this.options,n=G(Y,this);if(this.options=G(tu,this).defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!=`boolean`&&typeof this.options.enabled!=`function`&&typeof el(this.options.enabled,G(Y,this))!=`boolean`)throw Error(`Expected enabled to be a boolean or a callback that returns a boolean`);U(Z,this,Su).call(this),G(Y,this).setOptions(this.options),t._defaulted&&!cl(this.options,t)&&G(tu,this).getQueryCache().notify({type:`observerOptionsUpdated`,query:G(Y,this),observer:this});let r=this.hasListeners();r&&Du(G(Y,this),n,this.options,t)&&U(Z,this,hu).call(this),this.updateResult(),r&&(G(Y,this)!==n||el(this.options.enabled,G(Y,this))!==el(t.enabled,G(Y,this))||$c(this.options.staleTime,G(Y,this))!==$c(t.staleTime,G(Y,this)))&&U(Z,this,gu).call(this);let i=U(Z,this,_u).call(this);r&&(G(Y,this)!==n||el(this.options.enabled,G(Y,this))!==el(t.enabled,G(Y,this))||i!==G(fu,this))&&U(Z,this,vu).call(this,i)}getOptimisticResult(e){let t=G(tu,this).getQueryCache().build(G(tu,this),e),n=this.createResult(t,e);return ku(this,n)&&(W(X,this,n),W(iu,this,this.options),W(ru,this,G(Y,this).state)),n}getCurrentResult(){return G(X,this)}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),n===`promise`&&(this.trackProp(`data`),!this.options.experimental_prefetchInRender&&G(au,this).status===`pending`&&G(au,this).reject(Error(`experimental_prefetchInRender feature flag is not enabled`))),Reflect.get(e,n))})}trackProp(e){G(pu,this).add(e)}getCurrentQuery(){return G(Y,this)}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=G(tu,this).defaultQueryOptions(e),n=G(tu,this).getQueryCache().build(G(tu,this),t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return U(Z,this,hu).call(this,{...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),G(X,this)))}createResult(e,t){let n=G(Y,this),r=this.options,i=G(X,this),a=G(ru,this),o=G(iu,this),s=e===n?G(nu,this):e.state,{state:c}=e,l={...c},u=!1,d;if(t._optimisticResults){let i=this.hasListeners(),a=!i&&Tu(e,t),o=i&&Du(e,n,t,r);(a||o)&&(l={...l,...Ql(c.data,e.options)}),t._optimisticResults===`isRestoring`&&(l.fetchStatus=`idle`)}let{error:f,errorUpdatedAt:p,status:m}=l;d=l.data;let h=!1;if(t.placeholderData!==void 0&&d===void 0&&m===`pending`){let e;i?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=i.data,h=!0):e=typeof t.placeholderData==`function`?t.placeholderData(G(lu,this)?.state.data,G(lu,this)):t.placeholderData,e!==void 0&&(m=`success`,d=pl(i?.data,e,t),u=!0)}if(t.select&&d!==void 0&&!h){if(i&&d===a?.data&&t.select===G(su,this))d=G(cu,this);else try{W(su,this,t.select),d=t.select(d),d=pl(i?.data,d,t),W(cu,this,d),W(ou,this,null)}catch(e){W(ou,this,e)}}G(ou,this)&&(f=G(ou,this),d=G(cu,this),p=Date.now(),m=`error`);let g=l.fetchStatus===`fetching`,_=m===`pending`,v=m===`error`,y=_&&g,b=d!==void 0,x={status:m,fetchStatus:l.fetchStatus,isPending:_,isSuccess:m===`success`,isError:v,isInitialLoading:y,isLoading:y,data:d,dataUpdatedAt:l.dataUpdatedAt,error:f,errorUpdatedAt:p,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdate
74Count:l.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:l.dataUpdateCount>s.dataUpdateCount||l.errorUpdateCount>s.errorUpdateCount,isFetching:g,isRefetching:g&&!_,isLoadingError:v&&!b,isPaused:l.fetchStatus===`paused`,isPlaceholderData:u,isRefetchError:v&&b,isStale:Ou(e,t),refetch:this.refetch,promise:G(au,this),isEnabled:el(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){let t=x.data!==void 0,r=x.status===`error`&&!t,i=e=>{r?e.reject(x.error):t&&e.resolve(x.data)},a=()=>{let e=W(au,this,x.promise=Sl());i(e)},o=G(au,this);switch(o.status){case`pending`:e.queryHash===n.queryHash&&i(o);break;case`fulfilled`:(r||x.data!==o.value)&&a();break;case`rejected`:(!r||x.error!==o.reason)&&a()}}return x}updateResult(){let e=G(X,this),t=this.createResult(G(Y,this),this.options);W(ru,this,G(Y,this).state),W(iu,this,this.options),G(ru,this).data!==void 0&&W(lu,this,G(Y,this)),!cl(t,e)&&(W(X,this,t),U(Z,this,Cu).call(this,{listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n=typeof t==`function`?t():t;if(n===`all`||!n&&!G(pu,this).size)return!0;let r=new Set(n??G(pu,this));return this.options.throwOnError&&r.add(`error`),Object.keys(G(X,this)).some(t=>{let n=t;return G(X,this)[n]!==e[n]&&r.has(n)})})()}))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&U(Z,this,yu).call(this)}});function hu(e){U(Z,this,Su).call(this);let t=G(Y,this).fetch(this.options,e);return e?.throwOnError||(t=t.catch(K)),t}function gu(){U(Z,this,bu).call(this);let e=$c(this.options.staleTime,G(Y,this));if(xl.isServer()||G(X,this).isStale||!Zc(e))return;let t=Qc(G(X,this).dataUpdatedAt,e)+1;W(uu,this,qc.setTimeout(()=>{G(X,this).isStale||this.updateResult()},t))}function _u(){return(typeof this.options.refetchInterval==`function`?this.options.refetchInterval(G(Y,this)):this.options.refetchInterval)??!1}function vu(e){U(Z,this,xu).call(this),W(fu,this,e),!(xl.isServer()||el(this.options.enabled,G(Y,this))===!1||!Zc(G(fu,this))||G(fu,this)===0)&&W(du,this,qc.setInterval(()=>{(this.options.refetchIntervalInBackground||Uc.isFocused())&&U(Z,this,hu).call(this)},G(fu,this)))}function yu(){U(Z,this,gu).call(this),U(Z,this,vu).call(this,U(Z,this,_u).call(this))}function bu(){G(uu,this)!==void 0&&(qc.clearTimeout(G(uu,this)),W(uu,this,void 0))}function xu(){G(du,this)!==void 0&&(qc.clearInterval(G(du,this)),W(du,this,void 0))}function Su(){let e=G(tu,this).getQueryCache().build(G(tu,this),this.options);if(e===G(Y,this))return;let t=G(Y,this);W(Y,this,e),W(nu,this,e.state),this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}function Cu(e){q.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(G(X,this))}),G(tu,this).getQueryCache().notify({query:G(Y,this),type:`observerResultsUpdated`})})}function wu(e,t){return el(t.enabled,e)!==!1&&e.state.data===void 0&&(e.state.status!==`error`||el(t.retryOnMount,e)!==!1)}function Tu(e,t){return wu(e,t)||e.state.data!==void 0&&Eu(e,t,t.refetchOnMount)}function Eu(e,t,n){if(el(t.enabled,e)!==!1&&$c(t.staleTime,e)!==`static`){let r=typeof n==`function`?n(e):n;return r===`always`||r!==!1&&Ou(e,t)}return!1}function Du(e,t,n,r){return(e!==t||el(r.enabled,e)===!1)&&(!n.suspense||e.state.status!==`error`)&&Ou(e,n)}function Ou(e,t){return el(t.enabled,e)!==!1&&e.isStaleByTime($c(t.staleTime,e))}function ku(e,t){return!cl(e.getCurrentResult(),t)}var Au,ju,Q,Mu,Nu,Pu=(Au=new WeakMap,ju=new WeakMap,Q=new WeakMap,Mu=new WeakMap,Nu=new WeakSet,class extends Pl{constructor(e){super(),Bl(this,Nu),H(this,Au,void 0),H(this,ju,void 0),H(this,Q,void 0),H(this,Mu,void 0),W(Au,this,e.client),this.mutationId=e.mutationId,W(Q,this,e.mutationCache),W(ju,this,[]),this.state=e.state||Iu(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){G(ju,this).includes(e)||(G(ju,this).push(e),this.clearGcTimeout(),G(Q,this).notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){W(ju,this,G(ju,this).filter(t=>t!==e)),this.scheduleGc(),G(Q,this).notify({type:`observerRemoved`,mutation:this,observer:e})}
74optionalRemove(){G(ju,this).length||(this.state.status===`pending`?this.scheduleGc():G(Q,this).remove(this))}continue(){return G(Mu,this)?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{U(Nu,this,Fu).call(this,{type:`continue`})},n={client:G(Au,this),meta:this.options.meta,mutationKey:this.options.mutationKey};W(Mu,this,Ml({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{U(Nu,this,Fu).call(this,{type:`failed`,failureCount:e,error:t})},onPause:()=>{U(Nu,this,Fu).call(this,{type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>G(Q,this).canRun(this)}));let r=this.state.status===`pending`,i=!G(Mu,this).canStart();try{if(r)t();else{U(Nu,this,Fu).call(this,{type:`pending`,variables:e,isPaused:i}),G(Q,this).config.onMutate&&await G(Q,this).config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&U(Nu,this,Fu).call(this,{type:`pending`,context:t,variables:e,isPaused:i})}let a=await G(Mu,this).start();return await G(Q,this).config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await G(Q,this).config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),U(Nu,this,Fu).call(this,{type:`success`,data:a}),a}catch(t){try{await G(Q,this).config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await G(Q,this).config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw U(Nu,this,Fu).call(this,{type:`error`,error:t}),t}finally{G(Q,this).runNext(this)}}});function Fu(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}};this.state=t(this.state),q.batch(()=>{G(ju,this).forEach(t=>{t.onMutationUpdate(e)}),G(Q,this).notify({mutation:this,type:`updated`,action:e})})}function Iu(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var Lu,Ru,zu,Bu=(Lu=new WeakMap,Ru=new WeakMap,zu=new WeakMap,class extends Rc{constructor(e={}){super(),H(this,Lu,void 0),H(this,Ru,void 0),H(this,zu,void 0),this.config=e,W(Lu,this,new Set),W(Ru,this,new Map),W(zu,this,0)}build(e,t,n){var r;let i=new Pu({client:e,mutationCache:this,mutationId:W(zu,this,(r=G(zu,this),++r)),options:e.defaultMutationOptions(t),state:n});return this.add(i),i}add(e){G(Lu,this).add(e);let t=Vu(e);if(typeof t==`string`){let n=G(Ru,this).get(t);n?n.push(e):G(Ru,this).set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(G(Lu,this).delete(e)){let t=Vu(e);if(typeof t==`string`){let n=G(Ru,this).get(t);if(n){if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&G(Ru,this).delete(t)}}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=Vu(e);if(typeof t==`string`){let n=G(Ru,this).get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}return!0}runNext(e){let t=Vu(e);return typeof t==`string`?(G(Ru,this).get(t)?.find(t=>
74t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){q.batch(()=>{G(Lu,this).forEach(e=>{this.notify({type:`removed`,mutation:e})}),G(Lu,this).clear(),G(Ru,this).clear()})}getAll(){return Array.from(G(Lu,this))}find(e){let t={exact:!0,...e};return this.getAll().find(e=>nl(t,e))}findAll(e={}){return this.getAll().filter(t=>nl(e,t))}notify(e){q.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return q.batch(()=>Promise.all(e.map(e=>e.continue().catch(K))))}});function Vu(e){return e.options.scope?.id}var Hu,Uu=(Hu=new WeakMap,class extends Rc{constructor(e={}){super(),H(this,Hu,void 0),this.config=e,W(Hu,this,new Map)}build(e,t,n){let r=t.queryKey,i=t.queryHash??rl(r,t),a=this.get(i);return a||(a=new Yl({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){G(Hu,this).has(e.queryHash)||(G(Hu,this).set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=G(Hu,this).get(e.queryHash);t&&(e.destroy(),t===e&&G(Hu,this).delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){q.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return G(Hu,this).get(e)}getAll(){return[...G(Hu,this).values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>tl(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>tl(e,t)):t}notify(e){q.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){q.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){q.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}}),$,Wu,Gu,Ku,qu,Ju,Yu,Xu,Zu=($=new WeakMap,Wu=new WeakMap,Gu=new WeakMap,Ku=new WeakMap,qu=new WeakMap,Ju=new WeakMap,Yu=new WeakMap,Xu=new WeakMap,class{constructor(e={}){H(this,$,void 0),H(this,Wu,void 0),H(this,Gu,void 0),H(this,Ku,void 0),H(this,qu,void 0),H(this,Ju,void 0),H(this,Yu,void 0),H(this,Xu,void 0),W($,this,e.queryCache||new Uu),W(Wu,this,e.mutationCache||new Bu),W(Gu,this,e.defaultOptions||{}),W(Ku,this,new Map),W(qu,this,new Map),W(Ju,this,0)}mount(){var e;W(Ju,this,(e=G(Ju,this),e++,e)),G(Ju,this)===1&&(W(Yu,this,Uc.subscribe(async e=>{e&&(await this.resumePausedMutations(),G($,this).onFocus())})),W(Xu,this,Ol.subscribe(async e=>{e&&(await this.resumePausedMutations(),G($,this).onOnline())})))}unmount(){var e;W(Ju,this,(e=G(Ju,this),e--,e)),G(Ju,this)===0&&(G(Yu,this)?.call(this),W(Yu,this,void 0),G(Xu,this)?.call(this),W(Xu,this,void 0))}isFetching(e){return G($,this).findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return G(Wu,this).findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return G($,this).get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=G($,this).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime($c(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return G($,this).findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=G($,this).get(r.queryHash)?.state.data,a=Xc(t,i);if(a!==void 0)return G($,this).build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return q.batch(()=>G($,this).findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return G($,this).get(t.queryHash)?.state}removeQueries(e){let t=G($,this);q.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=G($,this);return q.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=q.batch(()=>G($,this).findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(K).catch(K)}invalidateQueries(e,t={}){return q.batch(()=>(G($,this).findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=q.batch(()=>G($,this).findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(K)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(K)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=G($,this).build(this,t);return n.isStaleByTime($c(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(K).catch(K)}fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(K).catch(K)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return Ol.isOnline()?G(Wu,this).resumePausedMutations():Promise.resolve()}getQueryCache(){return G($,this)}getMutationCache(){return G(Wu,this)}getDefaultOptions(){return G(Gu,this)}setDefaultOptions(e){W(Gu,this,e)}setQueryDefaults(e,t){G(Ku,this).set(il(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...G(Ku,this).values()],n={};return t.forEach(t=>{al(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){G(qu,this).set(il(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...G(qu,this).values()],n={};return t.forEach(t=>{al(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...G(Gu,this).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=rl(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===_l&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...G(Gu,this).mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){G($,this).clear(),G(Wu,this).clear()}}),Qu=F.createContext(void 0),$u=e=>{let t=F.useContext(Qu);
74if(e)return e;if(!t)throw Error(`No QueryClient set, use QueryClientProvider to set one`);return t},ed=({client:e,children:t})=>(F.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,L.jsx)(Qu.Provider,{value:e,children:t})),td=F.createContext(!1),nd=()=>F.useContext(td);td.Provider;function rd(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var id=F.createContext(rd()),ad=()=>F.useContext(id),od=(e,t,n)=>{let r=n?.state.error&&typeof e.throwOnError==`function`?yl(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},sd=e=>{F.useEffect(()=>{e.clearReset()},[e])},cd=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&e.data===void 0||yl(n,[e.error,r])),ld=e=>{if(e.suspense){let t=1e3,n=e=>e===`static`?e:Math.max(e??t,t),r=e.staleTime;e.staleTime=typeof r==`function`?(...e)=>n(r(...e)):n(r),typeof e.gcTime==`number`&&(e.gcTime=Math.max(e.gcTime,t))}},ud=(e,t)=>e.isLoading&&e.isFetching&&!t,dd=(e,t)=>e?.suspense&&t.isPending,fd=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function pd(e,t,n){let r=nd(),i=ad(),a=$u(n),o=a.defaultQueryOptions(e);a.getDefaultOptions().queries?._experimental_beforeQuery?.(o);let s=a.getQueryCache().get(o.queryHash),c=e.subscribed!==!1;o._optimisticResults=r?`isRestoring`:c?`optimistic`:void 0,ld(o),od(o,i,s),sd(i);let l=!a.getQueryCache().get(o.queryHash),[u]=F.useState(()=>new t(a,o)),d=u.getOptimisticResult(o),f=!r&&c;if(F.useSyncExternalStore(F.useCallback(e=>{let t=f?u.subscribe(q.batchCalls(e)):K;return u.updateResult(),t},[u,f]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),F.useEffect(()=>{u.setOptions(o)},[o,u]),dd(o,d))throw fd(o,u,i);if(cd({result:d,errorResetBoundary:i,throwOnError:o.throwOnError,query:s,suspense:o.suspense}))throw d.error;return a.getDefaultOptions().queries?._experimental_afterQuery?.(o,d),o.experimental_prefetchInRender&&!xl.isServer()&&ud(d,r)&&(l?fd(o,u,i):s?.promise)?.catch(K).finally(()=>{u.updateResult()}),o.notifyOnChangeProps?d:u.trackResult(d)}function md(e,t){return pd(e,mu,t)}var hd=new Zu({defaultOptions:{queries:{refetchOnWindowFocus:!1,staleTime:6e4,retry:(e,t)=>{let n=t?.status;return n!==void 0&&n<500?!1:e<3},retryDelay:e=>{let t=Math.min(1e3*2**e,3e4);return Math.round(t/2+t/2*Math.random())}}}});hd.getQueryCache().subscribe(e=>{if(e.type===`removed`&&e.query.queryKey[0]===`extension-icon`){let t=e.query.state.data;typeof t==`string`&&t.startsWith(`blob:`)&&URL.revokeObjectURL(t)}});var gd={staleTime:0,gcTime:0};function _d(e){let t=new AbortController;return e&&(e.aborted?t.abort():e.addEventListener(`abort`,()=>t.abort(),{once:!0})),t}var vd=(0,F.createContext)(void 0);export{V as $,qn as $t,W as A,I as At,$s as B,ji as Bt,il as C,l as Cn,Ta as Ct,cl as D,da as Dt,sl as E,ma as Et,Ec as F,Vi as Ft,us as G,_r as Gt,Os as H,Sr as Ht,wc as I,zi as It,os as J,fr as Jt,ls as K,mr as Kt,gc as L,Fi as Lt,H as M,Wi as Mt,Rc as N,qi as Nt,yl as O,fa as Ot,Lc as P,Ui as Pt,Qo as Q,sr as Qt,cc as R,Li as Rt,q as S,d as Sn,Oa as St,K as T,o as Tn,ga as Tt,ws as U,Mr as Ut,Ys as V,xr as Vt,ys as W,hr as Wt,is as X,ur as Xt,as as Y,nr as Yt,rs as Z,ar as Zt,Iu as _,m as _n,vo as _t,md as a,Ln as an,Go as at,Rl as b,p as bn,fo as bt,fd as c,jn as cn,Ho as ct,cd as d,$t as dn,To as dt,Un as en,Zo as et,sd as f,an as fn,wo as ft,$u as g,_ as gn,yo as gt,ed as h,Qt as hn,B as ht,hd as i,Rn as in,Ko as it,U as j,Yi as jt,G as k,ua as kt,dd as l,Nn as ln,Ao as lt,nd as m,Kt as mn,So as mt,gd as n,Vn as nn,Jo as nt,pd as o,In as on,Wo as ot,ad as p,en as pn,Co as pt,ss as q,dr as qt,_d as r,Bn as rn,qo as rt,ld as s,Fn as sn,Uo as st,vd as t,Gn as tn,Xo as tt,od as u,Sn as un,jo as ut,mu as v,h as vn,go as vt,ml as w,s as wn,xa as wt,zl as x,u as xn,ao as xt,Bl as y,f as yn,po as yt,rc as z,Mi as zt}; 75//# sourceMappingURL=chunk-context-fF3cXpK_.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.