pankosmia-rcl 0.1.13 → 0.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,306 @@
1
+ var EP=Object.defineProperty;var IP=(e,t,n)=>t in e?EP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var al=(e,t,n)=>IP(e,typeof t!="symbol"?t+"":t,n);function $P(e,t){for(var n=0;n<t.length;n++){const i=t[n];if(typeof i!="string"&&!Array.isArray(i)){for(const a in i)if(a!=="default"&&!(a in e)){const s=Object.getOwnPropertyDescriptor(i,a);s&&Object.defineProperty(e,a,s.get?s:{enumerable:!0,get:()=>i[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))i(a);new MutationObserver(a=>{for(const s of a)if(s.type==="childList")for(const c of s.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&i(c)}).observe(document,{childList:!0,subtree:!0});function n(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(a){if(a.ep)return;a.ep=!0;const s=n(a);fetch(a.href,s)}})();function Od(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function oc(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function i(){return this instanceof i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(i){var a=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(n,i,a.get?a:{enumerable:!0,get:function(){return e[i]}})}),n}var Jf={exports:{}},sl={},Zf={exports:{}},Pt={};/**
2
+ * @license React
3
+ * react.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var x0;function MP(){if(x0)return Pt;x0=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),y=Symbol.iterator;function x(B){return B===null||typeof B!="object"?null:(B=y&&B[y]||B["@@iterator"],typeof B=="function"?B:null)}var P={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,b={};function k(B,G,Z){this.props=B,this.context=G,this.refs=b,this.updater=Z||P}k.prototype.isReactComponent={},k.prototype.setState=function(B,G){if(typeof B!="object"&&typeof B!="function"&&B!=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,B,G,"setState")},k.prototype.forceUpdate=function(B){this.updater.enqueueForceUpdate(this,B,"forceUpdate")};function w(){}w.prototype=k.prototype;function T(B,G,Z){this.props=B,this.context=G,this.refs=b,this.updater=Z||P}var R=T.prototype=new w;R.constructor=T,C(R,k.prototype),R.isPureReactComponent=!0;var I=Array.isArray,O=Object.prototype.hasOwnProperty,j={current:null},A={key:!0,ref:!0,__self:!0,__source:!0};function N(B,G,Z){var te,K={},J=null,Q=null;if(G!=null)for(te in G.ref!==void 0&&(Q=G.ref),G.key!==void 0&&(J=""+G.key),G)O.call(G,te)&&!A.hasOwnProperty(te)&&(K[te]=G[te]);var ie=arguments.length-2;if(ie===1)K.children=Z;else if(1<ie){for(var se=Array(ie),ue=0;ue<ie;ue++)se[ue]=arguments[ue+2];K.children=se}if(B&&B.defaultProps)for(te in ie=B.defaultProps,ie)K[te]===void 0&&(K[te]=ie[te]);return{$$typeof:e,type:B,key:J,ref:Q,props:K,_owner:j.current}}function $(B,G){return{$$typeof:e,type:B.type,key:G,ref:B.ref,props:B.props,_owner:B._owner}}function S(B){return typeof B=="object"&&B!==null&&B.$$typeof===e}function L(B){var G={"=":"=0",":":"=2"};return"$"+B.replace(/[=:]/g,function(Z){return G[Z]})}var U=/\/+/g;function M(B,G){return typeof B=="object"&&B!==null&&B.key!=null?L(""+B.key):G.toString(36)}function D(B,G,Z,te,K){var J=typeof B;(J==="undefined"||J==="boolean")&&(B=null);var Q=!1;if(B===null)Q=!0;else switch(J){case"string":case"number":Q=!0;break;case"object":switch(B.$$typeof){case e:case t:Q=!0}}if(Q)return Q=B,K=K(Q),B=te===""?"."+M(Q,0):te,I(K)?(Z="",B!=null&&(Z=B.replace(U,"$&/")+"/"),D(K,G,Z,"",function(ue){return ue})):K!=null&&(S(K)&&(K=$(K,Z+(!K.key||Q&&Q.key===K.key?"":(""+K.key).replace(U,"$&/")+"/")+B)),G.push(K)),1;if(Q=0,te=te===""?".":te+":",I(B))for(var ie=0;ie<B.length;ie++){J=B[ie];var se=te+M(J,ie);Q+=D(J,G,Z,se,K)}else if(se=x(B),typeof se=="function")for(B=se.call(B),ie=0;!(J=B.next()).done;)J=J.value,se=te+M(J,ie++),Q+=D(J,G,Z,se,K);else if(J==="object")throw G=String(B),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(B).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.");return Q}function W(B,G,Z){if(B==null)return B;var te=[],K=0;return D(B,te,"","",function(J){return G.call(Z,J,K++)}),te}function H(B){if(B._status===-1){var G=B._result;G=G(),G.then(function(Z){(B._status===0||B._status===-1)&&(B._status=1,B._result=Z)},function(Z){(B._status===0||B._status===-1)&&(B._status=2,B._result=Z)}),B._status===-1&&(B._status=0,B._result=G)}if(B._status===1)return B._result.default;throw B._result}var q={current:null},F={transition:null},_={ReactCurrentDispatcher:q,ReactCurrentBatchConfig:F,ReactCurrentOwner:j};function V(){throw Error("act(...) is not supported in production builds of React.")}return Pt.Children={map:W,forEach:function(B,G,Z){W(B,function(){G.apply(this,arguments)},Z)},count:function(B){var G=0;return W(B,function(){G++}),G},toArray:function(B){return W(B,function(G){return G})||[]},only:function(B){if(!S(B))throw Error("React.Children.only expected to receive a single React element child.");return B}},Pt.Component=k,Pt.Fragment=n,Pt.Profiler=a,Pt.PureComponent=T,Pt.StrictMode=i,Pt.Suspense=d,Pt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_,Pt.act=V,Pt.cloneElement=function(B,G,Z){if(B==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+B+".");var te=C({},B.props),K=B.key,J=B.ref,Q=B._owner;if(G!=null){if(G.ref!==void 0&&(J=G.ref,Q=j.current),G.key!==void 0&&(K=""+G.key),B.type&&B.type.defaultProps)var ie=B.type.defaultProps;for(se in G)O.call(G,se)&&!A.hasOwnProperty(se)&&(te[se]=G[se]===void 0&&ie!==void 0?ie[se]:G[se])}var se=arguments.length-2;if(se===1)te.children=Z;else if(1<se){ie=Array(se);for(var ue=0;ue<se;ue++)ie[ue]=arguments[ue+2];te.children=ie}return{$$typeof:e,type:B.type,key:K,ref:J,props:te,_owner:Q}},Pt.createContext=function(B){return B={$$typeof:c,_currentValue:B,_currentValue2:B,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},B.Provider={$$typeof:s,_context:B},B.Consumer=B},Pt.createElement=N,Pt.createFactory=function(B){var G=N.bind(null,B);return G.type=B,G},Pt.createRef=function(){return{current:null}},Pt.forwardRef=function(B){return{$$typeof:u,render:B}},Pt.isValidElement=S,Pt.lazy=function(B){return{$$typeof:m,_payload:{_status:-1,_result:B},_init:H}},Pt.memo=function(B,G){return{$$typeof:f,type:B,compare:G===void 0?null:G}},Pt.startTransition=function(B){var G=F.transition;F.transition={};try{B()}finally{F.transition=G}},Pt.unstable_act=V,Pt.useCallback=function(B,G){return q.current.useCallback(B,G)},Pt.useContext=function(B){return q.current.useContext(B)},Pt.useDebugValue=function(){},Pt.useDeferredValue=function(B){return q.current.useDeferredValue(B)},Pt.useEffect=function(B,G){return q.current.useEffect(B,G)},Pt.useId=function(){return q.current.useId()},Pt.useImperativeHandle=function(B,G,Z){return q.current.useImperativeHandle(B,G,Z)},Pt.useInsertionEffect=function(B,G){return q.current.useInsertionEffect(B,G)},Pt.useLayoutEffect=function(B,G){return q.current.useLayoutEffect(B,G)},Pt.useMemo=function(B,G){return q.current.useMemo(B,G)},Pt.useReducer=function(B,G,Z){return q.current.useReducer(B,G,Z)},Pt.useRef=function(B){return q.current.useRef(B)},Pt.useState=function(B){return q.current.useState(B)},Pt.useSyncExternalStore=function(B,G,Z){return q.current.useSyncExternalStore(B,G,Z)},Pt.useTransition=function(){return q.current.useTransition()},Pt.version="18.3.1",Pt}var S0;function Ln(){return S0||(S0=1,Zf.exports=MP()),Zf.exports}/**
10
+ * @license React
11
+ * react-jsx-runtime.production.min.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var C0;function OP(){if(C0)return sl;C0=1;var e=Ln(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(u,d,f){var m,y={},x=null,P=null;f!==void 0&&(x=""+f),d.key!==void 0&&(x=""+d.key),d.ref!==void 0&&(P=d.ref);for(m in d)i.call(d,m)&&!s.hasOwnProperty(m)&&(y[m]=d[m]);if(u&&u.defaultProps)for(m in d=u.defaultProps,d)y[m]===void 0&&(y[m]=d[m]);return{$$typeof:t,type:u,key:x,ref:P,props:y,_owner:a.current}}return sl.Fragment=n,sl.jsx=c,sl.jsxs=c,sl}var w0;function ga(){return w0||(w0=1,Jf.exports=OP()),Jf.exports}var g=ga(),Tu={},em={exports:{}},ir={},tm={exports:{}},nm={};/**
18
+ * @license React
19
+ * scheduler.production.min.js
20
+ *
21
+ * Copyright (c) Facebook, Inc. and its affiliates.
22
+ *
23
+ * This source code is licensed under the MIT license found in the
24
+ * LICENSE file in the root directory of this source tree.
25
+ */var k0;function AP(){return k0||(k0=1,(function(e){function t(F,_){var V=F.length;F.push(_);e:for(;0<V;){var B=V-1>>>1,G=F[B];if(0<a(G,_))F[B]=_,F[V]=G,V=B;else break e}}function n(F){return F.length===0?null:F[0]}function i(F){if(F.length===0)return null;var _=F[0],V=F.pop();if(V!==_){F[0]=V;e:for(var B=0,G=F.length,Z=G>>>1;B<Z;){var te=2*(B+1)-1,K=F[te],J=te+1,Q=F[J];if(0>a(K,V))J<G&&0>a(Q,K)?(F[B]=Q,F[J]=V,B=J):(F[B]=K,F[te]=V,B=te);else if(J<G&&0>a(Q,V))F[B]=Q,F[J]=V,B=J;else break e}}return _}function a(F,_){var V=F.sortIndex-_.sortIndex;return V!==0?V:F.id-_.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var c=Date,u=c.now();e.unstable_now=function(){return c.now()-u}}var d=[],f=[],m=1,y=null,x=3,P=!1,C=!1,b=!1,k=typeof setTimeout=="function"?setTimeout:null,w=typeof clearTimeout=="function"?clearTimeout:null,T=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function R(F){for(var _=n(f);_!==null;){if(_.callback===null)i(f);else if(_.startTime<=F)i(f),_.sortIndex=_.expirationTime,t(d,_);else break;_=n(f)}}function I(F){if(b=!1,R(F),!C)if(n(d)!==null)C=!0,H(O);else{var _=n(f);_!==null&&q(I,_.startTime-F)}}function O(F,_){C=!1,b&&(b=!1,w(N),N=-1),P=!0;var V=x;try{for(R(_),y=n(d);y!==null&&(!(y.expirationTime>_)||F&&!L());){var B=y.callback;if(typeof B=="function"){y.callback=null,x=y.priorityLevel;var G=B(y.expirationTime<=_);_=e.unstable_now(),typeof G=="function"?y.callback=G:y===n(d)&&i(d),R(_)}else i(d);y=n(d)}if(y!==null)var Z=!0;else{var te=n(f);te!==null&&q(I,te.startTime-_),Z=!1}return Z}finally{y=null,x=V,P=!1}}var j=!1,A=null,N=-1,$=5,S=-1;function L(){return!(e.unstable_now()-S<$)}function U(){if(A!==null){var F=e.unstable_now();S=F;var _=!0;try{_=A(!0,F)}finally{_?M():(j=!1,A=null)}}else j=!1}var M;if(typeof T=="function")M=function(){T(U)};else if(typeof MessageChannel<"u"){var D=new MessageChannel,W=D.port2;D.port1.onmessage=U,M=function(){W.postMessage(null)}}else M=function(){k(U,0)};function H(F){A=F,j||(j=!0,M())}function q(F,_){N=k(function(){F(e.unstable_now())},_)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(F){F.callback=null},e.unstable_continueExecution=function(){C||P||(C=!0,H(O))},e.unstable_forceFrameRate=function(F){0>F||125<F?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$=0<F?Math.floor(1e3/F):5},e.unstable_getCurrentPriorityLevel=function(){return x},e.unstable_getFirstCallbackNode=function(){return n(d)},e.unstable_next=function(F){switch(x){case 1:case 2:case 3:var _=3;break;default:_=x}var V=x;x=_;try{return F()}finally{x=V}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(F,_){switch(F){case 1:case 2:case 3:case 4:case 5:break;default:F=3}var V=x;x=F;try{return _()}finally{x=V}},e.unstable_scheduleCallback=function(F,_,V){var B=e.unstable_now();switch(typeof V=="object"&&V!==null?(V=V.delay,V=typeof V=="number"&&0<V?B+V:B):V=B,F){case 1:var G=-1;break;case 2:G=250;break;case 5:G=1073741823;break;case 4:G=1e4;break;default:G=5e3}return G=V+G,F={id:m++,callback:_,priorityLevel:F,startTime:V,expirationTime:G,sortIndex:-1},V>B?(F.sortIndex=V,t(f,F),n(d)===null&&F===n(f)&&(b?(w(N),N=-1):b=!0,q(I,V-B))):(F.sortIndex=G,t(d,F),C||P||(C=!0,H(O))),F},e.unstable_shouldYield=L,e.unstable_wrapCallback=function(F){var _=x;return function(){var V=x;x=_;try{return F.apply(this,arguments)}finally{x=V}}}})(nm)),nm}var R0;function jP(){return R0||(R0=1,tm.exports=AP()),tm.exports}/**
26
+ * @license React
27
+ * react-dom.production.min.js
28
+ *
29
+ * Copyright (c) Facebook, Inc. and its affiliates.
30
+ *
31
+ * This source code is licensed under the MIT license found in the
32
+ * LICENSE file in the root directory of this source tree.
33
+ */var P0;function LP(){if(P0)return ir;P0=1;var e=Ln(),t=jP();function n(r){for(var o="https://reactjs.org/docs/error-decoder.html?invariant="+r,l=1;l<arguments.length;l++)o+="&args[]="+encodeURIComponent(arguments[l]);return"Minified React error #"+r+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,a={};function s(r,o){c(r,o),c(r+"Capture",o)}function c(r,o){for(a[r]=o,r=0;r<o.length;r++)i.add(o[r])}var u=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,m={},y={};function x(r){return d.call(y,r)?!0:d.call(m,r)?!1:f.test(r)?y[r]=!0:(m[r]=!0,!1)}function P(r,o,l,p){if(l!==null&&l.type===0)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":return p?!1:l!==null?!l.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function C(r,o,l,p){if(o===null||typeof o>"u"||P(r,o,l,p))return!0;if(p)return!1;if(l!==null)switch(l.type){case 3:return!o;case 4:return o===!1;case 5:return isNaN(o);case 6:return isNaN(o)||1>o}return!1}function b(r,o,l,p,v,E,z){this.acceptsBooleans=o===2||o===3||o===4,this.attributeName=p,this.attributeNamespace=v,this.mustUseProperty=l,this.propertyName=r,this.type=o,this.sanitizeURL=E,this.removeEmptyString=z}var k={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){k[r]=new b(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var o=r[0];k[o]=new b(o,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){k[r]=new b(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){k[r]=new b(r,2,!1,r,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(r){k[r]=new b(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){k[r]=new b(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){k[r]=new b(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){k[r]=new b(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){k[r]=new b(r,5,!1,r.toLowerCase(),null,!1,!1)});var w=/[\-:]([a-z])/g;function T(r){return r[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(r){var o=r.replace(w,T);k[o]=new b(o,1,!1,r,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var o=r.replace(w,T);k[o]=new b(o,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var o=r.replace(w,T);k[o]=new b(o,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){k[r]=new b(r,1,!1,r.toLowerCase(),null,!1,!1)}),k.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){k[r]=new b(r,1,!1,r.toLowerCase(),null,!0,!0)});function R(r,o,l,p){var v=k.hasOwnProperty(o)?k[o]:null;(v!==null?v.type!==0:p||!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(C(o,l,v,p)&&(l=null),p||v===null?x(o)&&(l===null?r.removeAttribute(o):r.setAttribute(o,""+l)):v.mustUseProperty?r[v.propertyName]=l===null?v.type===3?!1:"":l:(o=v.attributeName,p=v.attributeNamespace,l===null?r.removeAttribute(o):(v=v.type,l=v===3||v===4&&l===!0?"":""+l,p?r.setAttributeNS(p,o,l):r.setAttribute(o,l))))}var I=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,O=Symbol.for("react.element"),j=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),$=Symbol.for("react.profiler"),S=Symbol.for("react.provider"),L=Symbol.for("react.context"),U=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),D=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),q=Symbol.for("react.offscreen"),F=Symbol.iterator;function _(r){return r===null||typeof r!="object"?null:(r=F&&r[F]||r["@@iterator"],typeof r=="function"?r:null)}var V=Object.assign,B;function G(r){if(B===void 0)try{throw Error()}catch(l){var o=l.stack.trim().match(/\n( *(at )?)/);B=o&&o[1]||""}return`
34
+ `+B+r}var Z=!1;function te(r,o){if(!r||Z)return"";Z=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(o)if(o=function(){throw Error()},Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(me){var p=me}Reflect.construct(r,[],o)}else{try{o.call()}catch(me){p=me}r.call(o.prototype)}else{try{throw Error()}catch(me){p=me}r()}}catch(me){if(me&&p&&typeof me.stack=="string"){for(var v=me.stack.split(`
35
+ `),E=p.stack.split(`
36
+ `),z=v.length-1,Y=E.length-1;1<=z&&0<=Y&&v[z]!==E[Y];)Y--;for(;1<=z&&0<=Y;z--,Y--)if(v[z]!==E[Y]){if(z!==1||Y!==1)do if(z--,Y--,0>Y||v[z]!==E[Y]){var ne=`
37
+ `+v[z].replace(" at new "," at ");return r.displayName&&ne.includes("<anonymous>")&&(ne=ne.replace("<anonymous>",r.displayName)),ne}while(1<=z&&0<=Y);break}}}finally{Z=!1,Error.prepareStackTrace=l}return(r=r?r.displayName||r.name:"")?G(r):""}function K(r){switch(r.tag){case 5:return G(r.type);case 16:return G("Lazy");case 13:return G("Suspense");case 19:return G("SuspenseList");case 0:case 2:case 15:return r=te(r.type,!1),r;case 11:return r=te(r.type.render,!1),r;case 1:return r=te(r.type,!0),r;default:return""}}function J(r){if(r==null)return null;if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case A:return"Fragment";case j:return"Portal";case $:return"Profiler";case N:return"StrictMode";case M:return"Suspense";case D:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case L:return(r.displayName||"Context")+".Consumer";case S:return(r._context.displayName||"Context")+".Provider";case U:var o=r.render;return r=r.displayName,r||(r=o.displayName||o.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case W:return o=r.displayName||null,o!==null?o:J(r.type)||"Memo";case H:o=r._payload,r=r._init;try{return J(r(o))}catch{}}return null}function Q(r){var o=r.type;switch(r.tag){case 24:return"Cache";case 9:return(o.displayName||"Context")+".Consumer";case 10:return(o._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return r=o.render,r=r.displayName||r.name||"",o.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 5:return o;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return J(o);case 8:return o===N?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o}return null}function ie(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function se(r){var o=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function ue(r){var o=se(r)?"checked":"value",l=Object.getOwnPropertyDescriptor(r.constructor.prototype,o),p=""+r[o];if(!r.hasOwnProperty(o)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var v=l.get,E=l.set;return Object.defineProperty(r,o,{configurable:!0,get:function(){return v.call(this)},set:function(z){p=""+z,E.call(this,z)}}),Object.defineProperty(r,o,{enumerable:l.enumerable}),{getValue:function(){return p},setValue:function(z){p=""+z},stopTracking:function(){r._valueTracker=null,delete r[o]}}}}function ge(r){r._valueTracker||(r._valueTracker=ue(r))}function ce(r){if(!r)return!1;var o=r._valueTracker;if(!o)return!0;var l=o.getValue(),p="";return r&&(p=se(r)?r.checked?"true":"false":r.value),r=p,r!==l?(o.setValue(r),!0):!1}function he(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}function Se(r,o){var l=o.checked;return V({},o,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??r._wrapperState.initialChecked})}function Ae(r,o){var l=o.defaultValue==null?"":o.defaultValue,p=o.checked!=null?o.checked:o.defaultChecked;l=ie(o.value!=null?o.value:l),r._wrapperState={initialChecked:p,initialValue:l,controlled:o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null}}function He(r,o){o=o.checked,o!=null&&R(r,"checked",o,!1)}function fe(r,o){He(r,o);var l=ie(o.value),p=o.type;if(l!=null)p==="number"?(l===0&&r.value===""||r.value!=l)&&(r.value=""+l):r.value!==""+l&&(r.value=""+l);else if(p==="submit"||p==="reset"){r.removeAttribute("value");return}o.hasOwnProperty("value")?Ne(r,o.type,l):o.hasOwnProperty("defaultValue")&&Ne(r,o.type,ie(o.defaultValue)),o.checked==null&&o.defaultChecked!=null&&(r.defaultChecked=!!o.defaultChecked)}function ve(r,o,l){if(o.hasOwnProperty("value")||o.hasOwnProperty("defaultValue")){var p=o.type;if(!(p!=="submit"&&p!=="reset"||o.value!==void 0&&o.value!==null))return;o=""+r._wrapperState.initialValue,l||o===r.value||(r.value=o),r.defaultValue=o}l=r.name,l!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,l!==""&&(r.name=l)}function Ne(r,o,l){(o!=="number"||he(r.ownerDocument)!==r)&&(l==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+l&&(r.defaultValue=""+l))}var Be=Array.isArray;function be(r,o,l,p){if(r=r.options,o){o={};for(var v=0;v<l.length;v++)o["$"+l[v]]=!0;for(l=0;l<r.length;l++)v=o.hasOwnProperty("$"+r[l].value),r[l].selected!==v&&(r[l].selected=v),v&&p&&(r[l].defaultSelected=!0)}else{for(l=""+ie(l),o=null,v=0;v<r.length;v++){if(r[v].value===l){r[v].selected=!0,p&&(r[v].defaultSelected=!0);return}o!==null||r[v].disabled||(o=r[v])}o!==null&&(o.selected=!0)}}function oe(r,o){if(o.dangerouslySetInnerHTML!=null)throw Error(n(91));return V({},o,{value:void 0,defaultValue:void 0,children:""+r._wrapperState.initialValue})}function Me(r,o){var l=o.value;if(l==null){if(l=o.children,o=o.defaultValue,l!=null){if(o!=null)throw Error(n(92));if(Be(l)){if(1<l.length)throw Error(n(93));l=l[0]}o=l}o==null&&(o=""),l=o}r._wrapperState={initialValue:ie(l)}}function Re(r,o){var l=ie(o.value),p=ie(o.defaultValue);l!=null&&(l=""+l,l!==r.value&&(r.value=l),o.defaultValue==null&&r.defaultValue!==l&&(r.defaultValue=l)),p!=null&&(r.defaultValue=""+p)}function pe(r){var o=r.textContent;o===r._wrapperState.initialValue&&o!==""&&o!==null&&(r.value=o)}function ye(r){switch(r){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function De(r,o){return r==null||r==="http://www.w3.org/1999/xhtml"?ye(o):r==="http://www.w3.org/2000/svg"&&o==="foreignObject"?"http://www.w3.org/1999/xhtml":r}var we,je=(function(r){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,l,p,v){MSApp.execUnsafeLocalFunction(function(){return r(o,l,p,v)})}:r})(function(r,o){if(r.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in r)r.innerHTML=o;else{for(we=we||document.createElement("div"),we.innerHTML="<svg>"+o.valueOf().toString()+"</svg>",o=we.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;o.firstChild;)r.appendChild(o.firstChild)}});function Pe(r,o){if(o){var l=r.firstChild;if(l&&l===r.lastChild&&l.nodeType===3){l.nodeValue=o;return}}r.textContent=o}var Fe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ot=["Webkit","ms","Moz","O"];Object.keys(Fe).forEach(function(r){ot.forEach(function(o){o=o+r.charAt(0).toUpperCase()+r.substring(1),Fe[o]=Fe[r]})});function Ke(r,o,l){return o==null||typeof o=="boolean"||o===""?"":l||typeof o!="number"||o===0||Fe.hasOwnProperty(r)&&Fe[r]?(""+o).trim():o+"px"}function ht(r,o){r=r.style;for(var l in o)if(o.hasOwnProperty(l)){var p=l.indexOf("--")===0,v=Ke(l,o[l],p);l==="float"&&(l="cssFloat"),p?r.setProperty(l,v):r[l]=v}}var Ve=V({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function it(r,o){if(o){if(Ve[r]&&(o.children!=null||o.dangerouslySetInnerHTML!=null))throw Error(n(137,r));if(o.dangerouslySetInnerHTML!=null){if(o.children!=null)throw Error(n(60));if(typeof o.dangerouslySetInnerHTML!="object"||!("__html"in o.dangerouslySetInnerHTML))throw Error(n(61))}if(o.style!=null&&typeof o.style!="object")throw Error(n(62))}}function Et(r,o){if(r.indexOf("-")===-1)return typeof o.is=="string";switch(r){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ht=null;function an(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var Jt=null,gn=null,ft=null;function Mt(r){if(r=Vs(r)){if(typeof Jt!="function")throw Error(n(280));var o=r.stateNode;o&&(o=Wc(o),Jt(r.stateNode,r.type,o))}}function sn(r){gn?ft?ft.push(r):ft=[r]:gn=r}function Mn(){if(gn){var r=gn,o=ft;if(ft=gn=null,Mt(r),o)for(r=0;r<o.length;r++)Mt(o[r])}}function ln(r,o){return r(o)}function at(){}var cn=!1;function Ge(r,o,l){if(cn)return r(o,l);cn=!0;try{return ln(r,o,l)}finally{cn=!1,(gn!==null||ft!==null)&&(at(),Mn())}}function qe(r,o){var l=r.stateNode;if(l===null)return null;var p=Wc(l);if(p===null)return null;l=p[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(p=!p.disabled)||(r=r.type,p=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!p;break e;default:r=!1}if(r)return null;if(l&&typeof l!="function")throw Error(n(231,o,typeof l));return l}var mt=!1;if(u)try{var pt={};Object.defineProperty(pt,"passive",{get:function(){mt=!0}}),window.addEventListener("test",pt,pt),window.removeEventListener("test",pt,pt)}catch{mt=!1}function Ot(r,o,l,p,v,E,z,Y,ne){var me=Array.prototype.slice.call(arguments,3);try{o.apply(l,me)}catch(_e){this.onError(_e)}}var vt=!1,tt=null,nt=!1,yt=null,ut={onError:function(r){vt=!0,tt=r}};function Nt(r,o,l,p,v,E,z,Y,ne){vt=!1,tt=null,Ot.apply(ut,arguments)}function nn(r,o,l,p,v,E,z,Y,ne){if(Nt.apply(this,arguments),vt){if(vt){var me=tt;vt=!1,tt=null}else throw Error(n(198));nt||(nt=!0,yt=me)}}function Rt(r){var o=r,l=r;if(r.alternate)for(;o.return;)o=o.return;else{r=o;do o=r,(o.flags&4098)!==0&&(l=o.return),r=o.return;while(r)}return o.tag===3?l:null}function Te(r){if(r.tag===13){var o=r.memoizedState;if(o===null&&(r=r.alternate,r!==null&&(o=r.memoizedState)),o!==null)return o.dehydrated}return null}function Ce(r){if(Rt(r)!==r)throw Error(n(188))}function Xe(r){var o=r.alternate;if(!o){if(o=Rt(r),o===null)throw Error(n(188));return o!==r?null:r}for(var l=r,p=o;;){var v=l.return;if(v===null)break;var E=v.alternate;if(E===null){if(p=v.return,p!==null){l=p;continue}break}if(v.child===E.child){for(E=v.child;E;){if(E===l)return Ce(v),r;if(E===p)return Ce(v),o;E=E.sibling}throw Error(n(188))}if(l.return!==p.return)l=v,p=E;else{for(var z=!1,Y=v.child;Y;){if(Y===l){z=!0,l=v,p=E;break}if(Y===p){z=!0,p=v,l=E;break}Y=Y.sibling}if(!z){for(Y=E.child;Y;){if(Y===l){z=!0,l=E,p=v;break}if(Y===p){z=!0,p=E,l=v;break}Y=Y.sibling}if(!z)throw Error(n(189))}}if(l.alternate!==p)throw Error(n(190))}if(l.tag!==3)throw Error(n(188));return l.stateNode.current===l?r:o}function gt(r){return r=Xe(r),r!==null?wt(r):null}function wt(r){if(r.tag===5||r.tag===6)return r;for(r=r.child;r!==null;){var o=wt(r);if(o!==null)return o;r=r.sibling}return null}var Ft=t.unstable_scheduleCallback,un=t.unstable_cancelCallback,Zn=t.unstable_shouldYield,Ps=t.unstable_requestPaint,dn=t.unstable_now,wc=t.unstable_getCurrentPriorityLevel,Yo=t.unstable_ImmediatePriority,Mi=t.unstable_UserBlockingPriority,It=t.unstable_NormalPriority,Er=t.unstable_LowPriority,qr=t.unstable_IdlePriority,io=null,Ir=null;function H2(r){if(Ir&&typeof Ir.onCommitFiberRoot=="function")try{Ir.onCommitFiberRoot(io,r,void 0,(r.current.flags&128)===128)}catch{}}var Kr=Math.clz32?Math.clz32:G2,U2=Math.log,V2=Math.LN2;function G2(r){return r>>>=0,r===0?32:31-(U2(r)/V2|0)|0}var kc=64,Rc=4194304;function Ts(r){switch(r&-r){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return r&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return r}}function Pc(r,o){var l=r.pendingLanes;if(l===0)return 0;var p=0,v=r.suspendedLanes,E=r.pingedLanes,z=l&268435455;if(z!==0){var Y=z&~v;Y!==0?p=Ts(Y):(E&=z,E!==0&&(p=Ts(E)))}else z=l&~v,z!==0?p=Ts(z):E!==0&&(p=Ts(E));if(p===0)return 0;if(o!==0&&o!==p&&(o&v)===0&&(v=p&-p,E=o&-o,v>=E||v===16&&(E&4194240)!==0))return o;if((p&4)!==0&&(p|=l&16),o=r.entangledLanes,o!==0)for(r=r.entanglements,o&=p;0<o;)l=31-Kr(o),v=1<<l,p|=r[l],o&=~v;return p}function q2(r,o){switch(r){case 1:case 2:case 4:return o+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function K2(r,o){for(var l=r.suspendedLanes,p=r.pingedLanes,v=r.expirationTimes,E=r.pendingLanes;0<E;){var z=31-Kr(E),Y=1<<z,ne=v[z];ne===-1?((Y&l)===0||(Y&p)!==0)&&(v[z]=q2(Y,o)):ne<=o&&(r.expiredLanes|=Y),E&=~Y}}function yp(r){return r=r.pendingLanes&-1073741825,r!==0?r:r&1073741824?1073741824:0}function Qh(){var r=kc;return kc<<=1,(kc&4194240)===0&&(kc=64),r}function bp(r){for(var o=[],l=0;31>l;l++)o.push(r);return o}function Es(r,o,l){r.pendingLanes|=o,o!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,o=31-Kr(o),r[o]=l}function Y2(r,o){var l=r.pendingLanes&~o;r.pendingLanes=o,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=o,r.mutableReadLanes&=o,r.entangledLanes&=o,o=r.entanglements;var p=r.eventTimes;for(r=r.expirationTimes;0<l;){var v=31-Kr(l),E=1<<v;o[v]=0,p[v]=-1,r[v]=-1,l&=~E}}function xp(r,o){var l=r.entangledLanes|=o;for(r=r.entanglements;l;){var p=31-Kr(l),v=1<<p;v&o|r[p]&o&&(r[p]|=o),l&=~v}}var Wt=0;function Jh(r){return r&=-r,1<r?4<r?(r&268435455)!==0?16:536870912:4:1}var Zh,Sp,ev,tv,nv,Cp=!1,Tc=[],Xo=null,Qo=null,Jo=null,Is=new Map,$s=new Map,Zo=[],X2="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function rv(r,o){switch(r){case"focusin":case"focusout":Xo=null;break;case"dragenter":case"dragleave":Qo=null;break;case"mouseover":case"mouseout":Jo=null;break;case"pointerover":case"pointerout":Is.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":$s.delete(o.pointerId)}}function Ms(r,o,l,p,v,E){return r===null||r.nativeEvent!==E?(r={blockedOn:o,domEventName:l,eventSystemFlags:p,nativeEvent:E,targetContainers:[v]},o!==null&&(o=Vs(o),o!==null&&Sp(o)),r):(r.eventSystemFlags|=p,o=r.targetContainers,v!==null&&o.indexOf(v)===-1&&o.push(v),r)}function Q2(r,o,l,p,v){switch(o){case"focusin":return Xo=Ms(Xo,r,o,l,p,v),!0;case"dragenter":return Qo=Ms(Qo,r,o,l,p,v),!0;case"mouseover":return Jo=Ms(Jo,r,o,l,p,v),!0;case"pointerover":var E=v.pointerId;return Is.set(E,Ms(Is.get(E)||null,r,o,l,p,v)),!0;case"gotpointercapture":return E=v.pointerId,$s.set(E,Ms($s.get(E)||null,r,o,l,p,v)),!0}return!1}function ov(r){var o=Oi(r.target);if(o!==null){var l=Rt(o);if(l!==null){if(o=l.tag,o===13){if(o=Te(l),o!==null){r.blockedOn=o,nv(r.priority,function(){ev(l)});return}}else if(o===3&&l.stateNode.current.memoizedState.isDehydrated){r.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}r.blockedOn=null}function Ec(r){if(r.blockedOn!==null)return!1;for(var o=r.targetContainers;0<o.length;){var l=kp(r.domEventName,r.eventSystemFlags,o[0],r.nativeEvent);if(l===null){l=r.nativeEvent;var p=new l.constructor(l.type,l);Ht=p,l.target.dispatchEvent(p),Ht=null}else return o=Vs(l),o!==null&&Sp(o),r.blockedOn=l,!1;o.shift()}return!0}function iv(r,o,l){Ec(r)&&l.delete(o)}function J2(){Cp=!1,Xo!==null&&Ec(Xo)&&(Xo=null),Qo!==null&&Ec(Qo)&&(Qo=null),Jo!==null&&Ec(Jo)&&(Jo=null),Is.forEach(iv),$s.forEach(iv)}function Os(r,o){r.blockedOn===o&&(r.blockedOn=null,Cp||(Cp=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,J2)))}function As(r){function o(v){return Os(v,r)}if(0<Tc.length){Os(Tc[0],r);for(var l=1;l<Tc.length;l++){var p=Tc[l];p.blockedOn===r&&(p.blockedOn=null)}}for(Xo!==null&&Os(Xo,r),Qo!==null&&Os(Qo,r),Jo!==null&&Os(Jo,r),Is.forEach(o),$s.forEach(o),l=0;l<Zo.length;l++)p=Zo[l],p.blockedOn===r&&(p.blockedOn=null);for(;0<Zo.length&&(l=Zo[0],l.blockedOn===null);)ov(l),l.blockedOn===null&&Zo.shift()}var Sa=I.ReactCurrentBatchConfig,Ic=!0;function Z2(r,o,l,p){var v=Wt,E=Sa.transition;Sa.transition=null;try{Wt=1,wp(r,o,l,p)}finally{Wt=v,Sa.transition=E}}function eR(r,o,l,p){var v=Wt,E=Sa.transition;Sa.transition=null;try{Wt=4,wp(r,o,l,p)}finally{Wt=v,Sa.transition=E}}function wp(r,o,l,p){if(Ic){var v=kp(r,o,l,p);if(v===null)_p(r,o,p,$c,l),rv(r,p);else if(Q2(v,r,o,l,p))p.stopPropagation();else if(rv(r,p),o&4&&-1<X2.indexOf(r)){for(;v!==null;){var E=Vs(v);if(E!==null&&Zh(E),E=kp(r,o,l,p),E===null&&_p(r,o,p,$c,l),E===v)break;v=E}v!==null&&p.stopPropagation()}else _p(r,o,p,null,l)}}var $c=null;function kp(r,o,l,p){if($c=null,r=an(p),r=Oi(r),r!==null)if(o=Rt(r),o===null)r=null;else if(l=o.tag,l===13){if(r=Te(o),r!==null)return r;r=null}else if(l===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;r=null}else o!==r&&(r=null);return $c=r,null}function av(r){switch(r){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(wc()){case Yo:return 1;case Mi:return 4;case It:case Er:return 16;case qr:return 536870912;default:return 16}default:return 16}}var ei=null,Rp=null,Mc=null;function sv(){if(Mc)return Mc;var r,o=Rp,l=o.length,p,v="value"in ei?ei.value:ei.textContent,E=v.length;for(r=0;r<l&&o[r]===v[r];r++);var z=l-r;for(p=1;p<=z&&o[l-p]===v[E-p];p++);return Mc=v.slice(r,1<p?1-p:void 0)}function Oc(r){var o=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&o===13&&(r=13)):r=o,r===10&&(r=13),32<=r||r===13?r:0}function Ac(){return!0}function lv(){return!1}function gr(r){function o(l,p,v,E,z){this._reactName=l,this._targetInst=v,this.type=p,this.nativeEvent=E,this.target=z,this.currentTarget=null;for(var Y in r)r.hasOwnProperty(Y)&&(l=r[Y],this[Y]=l?l(E):E[Y]);return this.isDefaultPrevented=(E.defaultPrevented!=null?E.defaultPrevented:E.returnValue===!1)?Ac:lv,this.isPropagationStopped=lv,this}return V(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Ac)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Ac)},persist:function(){},isPersistent:Ac}),o}var Ca={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Pp=gr(Ca),js=V({},Ca,{view:0,detail:0}),tR=gr(js),Tp,Ep,Ls,jc=V({},js,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$p,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==Ls&&(Ls&&r.type==="mousemove"?(Tp=r.screenX-Ls.screenX,Ep=r.screenY-Ls.screenY):Ep=Tp=0,Ls=r),Tp)},movementY:function(r){return"movementY"in r?r.movementY:Ep}}),cv=gr(jc),nR=V({},jc,{dataTransfer:0}),rR=gr(nR),oR=V({},js,{relatedTarget:0}),Ip=gr(oR),iR=V({},Ca,{animationName:0,elapsedTime:0,pseudoElement:0}),aR=gr(iR),sR=V({},Ca,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),lR=gr(sR),cR=V({},Ca,{data:0}),uv=gr(cR),uR={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},dR={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},pR={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function fR(r){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(r):(r=pR[r])?!!o[r]:!1}function $p(){return fR}var mR=V({},js,{key:function(r){if(r.key){var o=uR[r.key]||r.key;if(o!=="Unidentified")return o}return r.type==="keypress"?(r=Oc(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?dR[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$p,charCode:function(r){return r.type==="keypress"?Oc(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?Oc(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),gR=gr(mR),hR=V({},jc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),dv=gr(hR),vR=V({},js,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$p}),yR=gr(vR),bR=V({},Ca,{propertyName:0,elapsedTime:0,pseudoElement:0}),xR=gr(bR),SR=V({},jc,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),CR=gr(SR),wR=[9,13,27,32],Mp=u&&"CompositionEvent"in window,Ns=null;u&&"documentMode"in document&&(Ns=document.documentMode);var kR=u&&"TextEvent"in window&&!Ns,pv=u&&(!Mp||Ns&&8<Ns&&11>=Ns),fv=" ",mv=!1;function gv(r,o){switch(r){case"keyup":return wR.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function hv(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var wa=!1;function RR(r,o){switch(r){case"compositionend":return hv(o);case"keypress":return o.which!==32?null:(mv=!0,fv);case"textInput":return r=o.data,r===fv&&mv?null:r;default:return null}}function PR(r,o){if(wa)return r==="compositionend"||!Mp&&gv(r,o)?(r=sv(),Mc=Rp=ei=null,wa=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return pv&&o.locale!=="ko"?null:o.data;default:return null}}var TR={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function vv(r){var o=r&&r.nodeName&&r.nodeName.toLowerCase();return o==="input"?!!TR[r.type]:o==="textarea"}function yv(r,o,l,p){sn(p),o=zc(o,"onChange"),0<o.length&&(l=new Pp("onChange","change",null,l,p),r.push({event:l,listeners:o}))}var Bs=null,Ds=null;function ER(r){Nv(r,0)}function Lc(r){var o=Ea(r);if(ce(o))return r}function IR(r,o){if(r==="change")return o}var bv=!1;if(u){var Op;if(u){var Ap="oninput"in document;if(!Ap){var xv=document.createElement("div");xv.setAttribute("oninput","return;"),Ap=typeof xv.oninput=="function"}Op=Ap}else Op=!1;bv=Op&&(!document.documentMode||9<document.documentMode)}function Sv(){Bs&&(Bs.detachEvent("onpropertychange",Cv),Ds=Bs=null)}function Cv(r){if(r.propertyName==="value"&&Lc(Ds)){var o=[];yv(o,Ds,r,an(r)),Ge(ER,o)}}function $R(r,o,l){r==="focusin"?(Sv(),Bs=o,Ds=l,Bs.attachEvent("onpropertychange",Cv)):r==="focusout"&&Sv()}function MR(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return Lc(Ds)}function OR(r,o){if(r==="click")return Lc(o)}function AR(r,o){if(r==="input"||r==="change")return Lc(o)}function jR(r,o){return r===o&&(r!==0||1/r===1/o)||r!==r&&o!==o}var Yr=typeof Object.is=="function"?Object.is:jR;function zs(r,o){if(Yr(r,o))return!0;if(typeof r!="object"||r===null||typeof o!="object"||o===null)return!1;var l=Object.keys(r),p=Object.keys(o);if(l.length!==p.length)return!1;for(p=0;p<l.length;p++){var v=l[p];if(!d.call(o,v)||!Yr(r[v],o[v]))return!1}return!0}function wv(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function kv(r,o){var l=wv(r);r=0;for(var p;l;){if(l.nodeType===3){if(p=r+l.textContent.length,r<=o&&p>=o)return{node:l,offset:o-r};r=p}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=wv(l)}}function Rv(r,o){return r&&o?r===o?!0:r&&r.nodeType===3?!1:o&&o.nodeType===3?Rv(r,o.parentNode):"contains"in r?r.contains(o):r.compareDocumentPosition?!!(r.compareDocumentPosition(o)&16):!1:!1}function Pv(){for(var r=window,o=he();o instanceof r.HTMLIFrameElement;){try{var l=typeof o.contentWindow.location.href=="string"}catch{l=!1}if(l)r=o.contentWindow;else break;o=he(r.document)}return o}function jp(r){var o=r&&r.nodeName&&r.nodeName.toLowerCase();return o&&(o==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||o==="textarea"||r.contentEditable==="true")}function LR(r){var o=Pv(),l=r.focusedElem,p=r.selectionRange;if(o!==l&&l&&l.ownerDocument&&Rv(l.ownerDocument.documentElement,l)){if(p!==null&&jp(l)){if(o=p.start,r=p.end,r===void 0&&(r=o),"selectionStart"in l)l.selectionStart=o,l.selectionEnd=Math.min(r,l.value.length);else if(r=(o=l.ownerDocument||document)&&o.defaultView||window,r.getSelection){r=r.getSelection();var v=l.textContent.length,E=Math.min(p.start,v);p=p.end===void 0?E:Math.min(p.end,v),!r.extend&&E>p&&(v=p,p=E,E=v),v=kv(l,E);var z=kv(l,p);v&&z&&(r.rangeCount!==1||r.anchorNode!==v.node||r.anchorOffset!==v.offset||r.focusNode!==z.node||r.focusOffset!==z.offset)&&(o=o.createRange(),o.setStart(v.node,v.offset),r.removeAllRanges(),E>p?(r.addRange(o),r.extend(z.node,z.offset)):(o.setEnd(z.node,z.offset),r.addRange(o)))}}for(o=[],r=l;r=r.parentNode;)r.nodeType===1&&o.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<o.length;l++)r=o[l],r.element.scrollLeft=r.left,r.element.scrollTop=r.top}}var NR=u&&"documentMode"in document&&11>=document.documentMode,ka=null,Lp=null,Fs=null,Np=!1;function Tv(r,o,l){var p=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Np||ka==null||ka!==he(p)||(p=ka,"selectionStart"in p&&jp(p)?p={start:p.selectionStart,end:p.selectionEnd}:(p=(p.ownerDocument&&p.ownerDocument.defaultView||window).getSelection(),p={anchorNode:p.anchorNode,anchorOffset:p.anchorOffset,focusNode:p.focusNode,focusOffset:p.focusOffset}),Fs&&zs(Fs,p)||(Fs=p,p=zc(Lp,"onSelect"),0<p.length&&(o=new Pp("onSelect","select",null,o,l),r.push({event:o,listeners:p}),o.target=ka)))}function Nc(r,o){var l={};return l[r.toLowerCase()]=o.toLowerCase(),l["Webkit"+r]="webkit"+o,l["Moz"+r]="moz"+o,l}var Ra={animationend:Nc("Animation","AnimationEnd"),animationiteration:Nc("Animation","AnimationIteration"),animationstart:Nc("Animation","AnimationStart"),transitionend:Nc("Transition","TransitionEnd")},Bp={},Ev={};u&&(Ev=document.createElement("div").style,"AnimationEvent"in window||(delete Ra.animationend.animation,delete Ra.animationiteration.animation,delete Ra.animationstart.animation),"TransitionEvent"in window||delete Ra.transitionend.transition);function Bc(r){if(Bp[r])return Bp[r];if(!Ra[r])return r;var o=Ra[r],l;for(l in o)if(o.hasOwnProperty(l)&&l in Ev)return Bp[r]=o[l];return r}var Iv=Bc("animationend"),$v=Bc("animationiteration"),Mv=Bc("animationstart"),Ov=Bc("transitionend"),Av=new Map,jv="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ti(r,o){Av.set(r,o),s(o,[r])}for(var Dp=0;Dp<jv.length;Dp++){var zp=jv[Dp],BR=zp.toLowerCase(),DR=zp[0].toUpperCase()+zp.slice(1);ti(BR,"on"+DR)}ti(Iv,"onAnimationEnd"),ti($v,"onAnimationIteration"),ti(Mv,"onAnimationStart"),ti("dblclick","onDoubleClick"),ti("focusin","onFocus"),ti("focusout","onBlur"),ti(Ov,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var _s="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),zR=new Set("cancel close invalid load scroll toggle".split(" ").concat(_s));function Lv(r,o,l){var p=r.type||"unknown-event";r.currentTarget=l,nn(p,o,void 0,r),r.currentTarget=null}function Nv(r,o){o=(o&4)!==0;for(var l=0;l<r.length;l++){var p=r[l],v=p.event;p=p.listeners;e:{var E=void 0;if(o)for(var z=p.length-1;0<=z;z--){var Y=p[z],ne=Y.instance,me=Y.currentTarget;if(Y=Y.listener,ne!==E&&v.isPropagationStopped())break e;Lv(v,Y,me),E=ne}else for(z=0;z<p.length;z++){if(Y=p[z],ne=Y.instance,me=Y.currentTarget,Y=Y.listener,ne!==E&&v.isPropagationStopped())break e;Lv(v,Y,me),E=ne}}}if(nt)throw r=yt,nt=!1,yt=null,r}function Zt(r,o){var l=o[qp];l===void 0&&(l=o[qp]=new Set);var p=r+"__bubble";l.has(p)||(Bv(o,r,2,!1),l.add(p))}function Fp(r,o,l){var p=0;o&&(p|=4),Bv(l,r,p,o)}var Dc="_reactListening"+Math.random().toString(36).slice(2);function Ws(r){if(!r[Dc]){r[Dc]=!0,i.forEach(function(l){l!=="selectionchange"&&(zR.has(l)||Fp(l,!1,r),Fp(l,!0,r))});var o=r.nodeType===9?r:r.ownerDocument;o===null||o[Dc]||(o[Dc]=!0,Fp("selectionchange",!1,o))}}function Bv(r,o,l,p){switch(av(o)){case 1:var v=Z2;break;case 4:v=eR;break;default:v=wp}l=v.bind(null,o,l,r),v=void 0,!mt||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(v=!0),p?v!==void 0?r.addEventListener(o,l,{capture:!0,passive:v}):r.addEventListener(o,l,!0):v!==void 0?r.addEventListener(o,l,{passive:v}):r.addEventListener(o,l,!1)}function _p(r,o,l,p,v){var E=p;if((o&1)===0&&(o&2)===0&&p!==null)e:for(;;){if(p===null)return;var z=p.tag;if(z===3||z===4){var Y=p.stateNode.containerInfo;if(Y===v||Y.nodeType===8&&Y.parentNode===v)break;if(z===4)for(z=p.return;z!==null;){var ne=z.tag;if((ne===3||ne===4)&&(ne=z.stateNode.containerInfo,ne===v||ne.nodeType===8&&ne.parentNode===v))return;z=z.return}for(;Y!==null;){if(z=Oi(Y),z===null)return;if(ne=z.tag,ne===5||ne===6){p=E=z;continue e}Y=Y.parentNode}}p=p.return}Ge(function(){var me=E,_e=an(l),We=[];e:{var ze=Av.get(r);if(ze!==void 0){var Ye=Pp,Ze=r;switch(r){case"keypress":if(Oc(l)===0)break e;case"keydown":case"keyup":Ye=gR;break;case"focusin":Ze="focus",Ye=Ip;break;case"focusout":Ze="blur",Ye=Ip;break;case"beforeblur":case"afterblur":Ye=Ip;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Ye=cv;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ye=rR;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ye=yR;break;case Iv:case $v:case Mv:Ye=aR;break;case Ov:Ye=xR;break;case"scroll":Ye=tR;break;case"wheel":Ye=CR;break;case"copy":case"cut":case"paste":Ye=lR;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ye=dv}var et=(o&4)!==0,bn=!et&&r==="scroll",le=et?ze!==null?ze+"Capture":null:ze;et=[];for(var re=me,de;re!==null;){de=re;var Ue=de.stateNode;if(de.tag===5&&Ue!==null&&(de=Ue,le!==null&&(Ue=qe(re,le),Ue!=null&&et.push(Hs(re,Ue,de)))),bn)break;re=re.return}0<et.length&&(ze=new Ye(ze,Ze,null,l,_e),We.push({event:ze,listeners:et}))}}if((o&7)===0){e:{if(ze=r==="mouseover"||r==="pointerover",Ye=r==="mouseout"||r==="pointerout",ze&&l!==Ht&&(Ze=l.relatedTarget||l.fromElement)&&(Oi(Ze)||Ze[wo]))break e;if((Ye||ze)&&(ze=_e.window===_e?_e:(ze=_e.ownerDocument)?ze.defaultView||ze.parentWindow:window,Ye?(Ze=l.relatedTarget||l.toElement,Ye=me,Ze=Ze?Oi(Ze):null,Ze!==null&&(bn=Rt(Ze),Ze!==bn||Ze.tag!==5&&Ze.tag!==6)&&(Ze=null)):(Ye=null,Ze=me),Ye!==Ze)){if(et=cv,Ue="onMouseLeave",le="onMouseEnter",re="mouse",(r==="pointerout"||r==="pointerover")&&(et=dv,Ue="onPointerLeave",le="onPointerEnter",re="pointer"),bn=Ye==null?ze:Ea(Ye),de=Ze==null?ze:Ea(Ze),ze=new et(Ue,re+"leave",Ye,l,_e),ze.target=bn,ze.relatedTarget=de,Ue=null,Oi(_e)===me&&(et=new et(le,re+"enter",Ze,l,_e),et.target=de,et.relatedTarget=bn,Ue=et),bn=Ue,Ye&&Ze)t:{for(et=Ye,le=Ze,re=0,de=et;de;de=Pa(de))re++;for(de=0,Ue=le;Ue;Ue=Pa(Ue))de++;for(;0<re-de;)et=Pa(et),re--;for(;0<de-re;)le=Pa(le),de--;for(;re--;){if(et===le||le!==null&&et===le.alternate)break t;et=Pa(et),le=Pa(le)}et=null}else et=null;Ye!==null&&Dv(We,ze,Ye,et,!1),Ze!==null&&bn!==null&&Dv(We,bn,Ze,et,!0)}}e:{if(ze=me?Ea(me):window,Ye=ze.nodeName&&ze.nodeName.toLowerCase(),Ye==="select"||Ye==="input"&&ze.type==="file")var rt=IR;else if(vv(ze))if(bv)rt=AR;else{rt=MR;var st=$R}else(Ye=ze.nodeName)&&Ye.toLowerCase()==="input"&&(ze.type==="checkbox"||ze.type==="radio")&&(rt=OR);if(rt&&(rt=rt(r,me))){yv(We,rt,l,_e);break e}st&&st(r,ze,me),r==="focusout"&&(st=ze._wrapperState)&&st.controlled&&ze.type==="number"&&Ne(ze,"number",ze.value)}switch(st=me?Ea(me):window,r){case"focusin":(vv(st)||st.contentEditable==="true")&&(ka=st,Lp=me,Fs=null);break;case"focusout":Fs=Lp=ka=null;break;case"mousedown":Np=!0;break;case"contextmenu":case"mouseup":case"dragend":Np=!1,Tv(We,l,_e);break;case"selectionchange":if(NR)break;case"keydown":case"keyup":Tv(We,l,_e)}var lt;if(Mp)e:{switch(r){case"compositionstart":var dt="onCompositionStart";break e;case"compositionend":dt="onCompositionEnd";break e;case"compositionupdate":dt="onCompositionUpdate";break e}dt=void 0}else wa?gv(r,l)&&(dt="onCompositionEnd"):r==="keydown"&&l.keyCode===229&&(dt="onCompositionStart");dt&&(pv&&l.locale!=="ko"&&(wa||dt!=="onCompositionStart"?dt==="onCompositionEnd"&&wa&&(lt=sv()):(ei=_e,Rp="value"in ei?ei.value:ei.textContent,wa=!0)),st=zc(me,dt),0<st.length&&(dt=new uv(dt,r,null,l,_e),We.push({event:dt,listeners:st}),lt?dt.data=lt:(lt=hv(l),lt!==null&&(dt.data=lt)))),(lt=kR?RR(r,l):PR(r,l))&&(me=zc(me,"onBeforeInput"),0<me.length&&(_e=new uv("onBeforeInput","beforeinput",null,l,_e),We.push({event:_e,listeners:me}),_e.data=lt))}Nv(We,o)})}function Hs(r,o,l){return{instance:r,listener:o,currentTarget:l}}function zc(r,o){for(var l=o+"Capture",p=[];r!==null;){var v=r,E=v.stateNode;v.tag===5&&E!==null&&(v=E,E=qe(r,l),E!=null&&p.unshift(Hs(r,E,v)),E=qe(r,o),E!=null&&p.push(Hs(r,E,v))),r=r.return}return p}function Pa(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5);return r||null}function Dv(r,o,l,p,v){for(var E=o._reactName,z=[];l!==null&&l!==p;){var Y=l,ne=Y.alternate,me=Y.stateNode;if(ne!==null&&ne===p)break;Y.tag===5&&me!==null&&(Y=me,v?(ne=qe(l,E),ne!=null&&z.unshift(Hs(l,ne,Y))):v||(ne=qe(l,E),ne!=null&&z.push(Hs(l,ne,Y)))),l=l.return}z.length!==0&&r.push({event:o,listeners:z})}var FR=/\r\n?/g,_R=/\u0000|\uFFFD/g;function zv(r){return(typeof r=="string"?r:""+r).replace(FR,`
38
+ `).replace(_R,"")}function Fc(r,o,l){if(o=zv(o),zv(r)!==o&&l)throw Error(n(425))}function _c(){}var Wp=null,Hp=null;function Up(r,o){return r==="textarea"||r==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var Vp=typeof setTimeout=="function"?setTimeout:void 0,WR=typeof clearTimeout=="function"?clearTimeout:void 0,Fv=typeof Promise=="function"?Promise:void 0,HR=typeof queueMicrotask=="function"?queueMicrotask:typeof Fv<"u"?function(r){return Fv.resolve(null).then(r).catch(UR)}:Vp;function UR(r){setTimeout(function(){throw r})}function Gp(r,o){var l=o,p=0;do{var v=l.nextSibling;if(r.removeChild(l),v&&v.nodeType===8)if(l=v.data,l==="/$"){if(p===0){r.removeChild(v),As(o);return}p--}else l!=="$"&&l!=="$?"&&l!=="$!"||p++;l=v}while(l);As(o)}function ni(r){for(;r!=null;r=r.nextSibling){var o=r.nodeType;if(o===1||o===3)break;if(o===8){if(o=r.data,o==="$"||o==="$!"||o==="$?")break;if(o==="/$")return null}}return r}function _v(r){r=r.previousSibling;for(var o=0;r;){if(r.nodeType===8){var l=r.data;if(l==="$"||l==="$!"||l==="$?"){if(o===0)return r;o--}else l==="/$"&&o++}r=r.previousSibling}return null}var Ta=Math.random().toString(36).slice(2),ao="__reactFiber$"+Ta,Us="__reactProps$"+Ta,wo="__reactContainer$"+Ta,qp="__reactEvents$"+Ta,VR="__reactListeners$"+Ta,GR="__reactHandles$"+Ta;function Oi(r){var o=r[ao];if(o)return o;for(var l=r.parentNode;l;){if(o=l[wo]||l[ao]){if(l=o.alternate,o.child!==null||l!==null&&l.child!==null)for(r=_v(r);r!==null;){if(l=r[ao])return l;r=_v(r)}return o}r=l,l=r.parentNode}return null}function Vs(r){return r=r[ao]||r[wo],!r||r.tag!==5&&r.tag!==6&&r.tag!==13&&r.tag!==3?null:r}function Ea(r){if(r.tag===5||r.tag===6)return r.stateNode;throw Error(n(33))}function Wc(r){return r[Us]||null}var Kp=[],Ia=-1;function ri(r){return{current:r}}function en(r){0>Ia||(r.current=Kp[Ia],Kp[Ia]=null,Ia--)}function Xt(r,o){Ia++,Kp[Ia]=r.current,r.current=o}var oi={},zn=ri(oi),er=ri(!1),Ai=oi;function $a(r,o){var l=r.type.contextTypes;if(!l)return oi;var p=r.stateNode;if(p&&p.__reactInternalMemoizedUnmaskedChildContext===o)return p.__reactInternalMemoizedMaskedChildContext;var v={},E;for(E in l)v[E]=o[E];return p&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=o,r.__reactInternalMemoizedMaskedChildContext=v),v}function tr(r){return r=r.childContextTypes,r!=null}function Hc(){en(er),en(zn)}function Wv(r,o,l){if(zn.current!==oi)throw Error(n(168));Xt(zn,o),Xt(er,l)}function Hv(r,o,l){var p=r.stateNode;if(o=o.childContextTypes,typeof p.getChildContext!="function")return l;p=p.getChildContext();for(var v in p)if(!(v in o))throw Error(n(108,Q(r)||"Unknown",v));return V({},l,p)}function Uc(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||oi,Ai=zn.current,Xt(zn,r),Xt(er,er.current),!0}function Uv(r,o,l){var p=r.stateNode;if(!p)throw Error(n(169));l?(r=Hv(r,o,Ai),p.__reactInternalMemoizedMergedChildContext=r,en(er),en(zn),Xt(zn,r)):en(er),Xt(er,l)}var ko=null,Vc=!1,Yp=!1;function Vv(r){ko===null?ko=[r]:ko.push(r)}function qR(r){Vc=!0,Vv(r)}function ii(){if(!Yp&&ko!==null){Yp=!0;var r=0,o=Wt;try{var l=ko;for(Wt=1;r<l.length;r++){var p=l[r];do p=p(!0);while(p!==null)}ko=null,Vc=!1}catch(v){throw ko!==null&&(ko=ko.slice(r+1)),Ft(Yo,ii),v}finally{Wt=o,Yp=!1}}return null}var Ma=[],Oa=0,Gc=null,qc=0,$r=[],Mr=0,ji=null,Ro=1,Po="";function Li(r,o){Ma[Oa++]=qc,Ma[Oa++]=Gc,Gc=r,qc=o}function Gv(r,o,l){$r[Mr++]=Ro,$r[Mr++]=Po,$r[Mr++]=ji,ji=r;var p=Ro;r=Po;var v=32-Kr(p)-1;p&=~(1<<v),l+=1;var E=32-Kr(o)+v;if(30<E){var z=v-v%5;E=(p&(1<<z)-1).toString(32),p>>=z,v-=z,Ro=1<<32-Kr(o)+v|l<<v|p,Po=E+r}else Ro=1<<E|l<<v|p,Po=r}function Xp(r){r.return!==null&&(Li(r,1),Gv(r,1,0))}function Qp(r){for(;r===Gc;)Gc=Ma[--Oa],Ma[Oa]=null,qc=Ma[--Oa],Ma[Oa]=null;for(;r===ji;)ji=$r[--Mr],$r[Mr]=null,Po=$r[--Mr],$r[Mr]=null,Ro=$r[--Mr],$r[Mr]=null}var hr=null,vr=null,rn=!1,Xr=null;function qv(r,o){var l=Lr(5,null,null,0);l.elementType="DELETED",l.stateNode=o,l.return=r,o=r.deletions,o===null?(r.deletions=[l],r.flags|=16):o.push(l)}function Kv(r,o){switch(r.tag){case 5:var l=r.type;return o=o.nodeType!==1||l.toLowerCase()!==o.nodeName.toLowerCase()?null:o,o!==null?(r.stateNode=o,hr=r,vr=ni(o.firstChild),!0):!1;case 6:return o=r.pendingProps===""||o.nodeType!==3?null:o,o!==null?(r.stateNode=o,hr=r,vr=null,!0):!1;case 13:return o=o.nodeType!==8?null:o,o!==null?(l=ji!==null?{id:Ro,overflow:Po}:null,r.memoizedState={dehydrated:o,treeContext:l,retryLane:1073741824},l=Lr(18,null,null,0),l.stateNode=o,l.return=r,r.child=l,hr=r,vr=null,!0):!1;default:return!1}}function Jp(r){return(r.mode&1)!==0&&(r.flags&128)===0}function Zp(r){if(rn){var o=vr;if(o){var l=o;if(!Kv(r,o)){if(Jp(r))throw Error(n(418));o=ni(l.nextSibling);var p=hr;o&&Kv(r,o)?qv(p,l):(r.flags=r.flags&-4097|2,rn=!1,hr=r)}}else{if(Jp(r))throw Error(n(418));r.flags=r.flags&-4097|2,rn=!1,hr=r}}}function Yv(r){for(r=r.return;r!==null&&r.tag!==5&&r.tag!==3&&r.tag!==13;)r=r.return;hr=r}function Kc(r){if(r!==hr)return!1;if(!rn)return Yv(r),rn=!0,!1;var o;if((o=r.tag!==3)&&!(o=r.tag!==5)&&(o=r.type,o=o!=="head"&&o!=="body"&&!Up(r.type,r.memoizedProps)),o&&(o=vr)){if(Jp(r))throw Xv(),Error(n(418));for(;o;)qv(r,o),o=ni(o.nextSibling)}if(Yv(r),r.tag===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(n(317));e:{for(r=r.nextSibling,o=0;r;){if(r.nodeType===8){var l=r.data;if(l==="/$"){if(o===0){vr=ni(r.nextSibling);break e}o--}else l!=="$"&&l!=="$!"&&l!=="$?"||o++}r=r.nextSibling}vr=null}}else vr=hr?ni(r.stateNode.nextSibling):null;return!0}function Xv(){for(var r=vr;r;)r=ni(r.nextSibling)}function Aa(){vr=hr=null,rn=!1}function ef(r){Xr===null?Xr=[r]:Xr.push(r)}var KR=I.ReactCurrentBatchConfig;function Gs(r,o,l){if(r=l.ref,r!==null&&typeof r!="function"&&typeof r!="object"){if(l._owner){if(l=l._owner,l){if(l.tag!==1)throw Error(n(309));var p=l.stateNode}if(!p)throw Error(n(147,r));var v=p,E=""+r;return o!==null&&o.ref!==null&&typeof o.ref=="function"&&o.ref._stringRef===E?o.ref:(o=function(z){var Y=v.refs;z===null?delete Y[E]:Y[E]=z},o._stringRef=E,o)}if(typeof r!="string")throw Error(n(284));if(!l._owner)throw Error(n(290,r))}return r}function Yc(r,o){throw r=Object.prototype.toString.call(o),Error(n(31,r==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":r))}function Qv(r){var o=r._init;return o(r._payload)}function Jv(r){function o(le,re){if(r){var de=le.deletions;de===null?(le.deletions=[re],le.flags|=16):de.push(re)}}function l(le,re){if(!r)return null;for(;re!==null;)o(le,re),re=re.sibling;return null}function p(le,re){for(le=new Map;re!==null;)re.key!==null?le.set(re.key,re):le.set(re.index,re),re=re.sibling;return le}function v(le,re){return le=fi(le,re),le.index=0,le.sibling=null,le}function E(le,re,de){return le.index=de,r?(de=le.alternate,de!==null?(de=de.index,de<re?(le.flags|=2,re):de):(le.flags|=2,re)):(le.flags|=1048576,re)}function z(le){return r&&le.alternate===null&&(le.flags|=2),le}function Y(le,re,de,Ue){return re===null||re.tag!==6?(re=Gf(de,le.mode,Ue),re.return=le,re):(re=v(re,de),re.return=le,re)}function ne(le,re,de,Ue){var rt=de.type;return rt===A?_e(le,re,de.props.children,Ue,de.key):re!==null&&(re.elementType===rt||typeof rt=="object"&&rt!==null&&rt.$$typeof===H&&Qv(rt)===re.type)?(Ue=v(re,de.props),Ue.ref=Gs(le,re,de),Ue.return=le,Ue):(Ue=bu(de.type,de.key,de.props,null,le.mode,Ue),Ue.ref=Gs(le,re,de),Ue.return=le,Ue)}function me(le,re,de,Ue){return re===null||re.tag!==4||re.stateNode.containerInfo!==de.containerInfo||re.stateNode.implementation!==de.implementation?(re=qf(de,le.mode,Ue),re.return=le,re):(re=v(re,de.children||[]),re.return=le,re)}function _e(le,re,de,Ue,rt){return re===null||re.tag!==7?(re=Hi(de,le.mode,Ue,rt),re.return=le,re):(re=v(re,de),re.return=le,re)}function We(le,re,de){if(typeof re=="string"&&re!==""||typeof re=="number")return re=Gf(""+re,le.mode,de),re.return=le,re;if(typeof re=="object"&&re!==null){switch(re.$$typeof){case O:return de=bu(re.type,re.key,re.props,null,le.mode,de),de.ref=Gs(le,null,re),de.return=le,de;case j:return re=qf(re,le.mode,de),re.return=le,re;case H:var Ue=re._init;return We(le,Ue(re._payload),de)}if(Be(re)||_(re))return re=Hi(re,le.mode,de,null),re.return=le,re;Yc(le,re)}return null}function ze(le,re,de,Ue){var rt=re!==null?re.key:null;if(typeof de=="string"&&de!==""||typeof de=="number")return rt!==null?null:Y(le,re,""+de,Ue);if(typeof de=="object"&&de!==null){switch(de.$$typeof){case O:return de.key===rt?ne(le,re,de,Ue):null;case j:return de.key===rt?me(le,re,de,Ue):null;case H:return rt=de._init,ze(le,re,rt(de._payload),Ue)}if(Be(de)||_(de))return rt!==null?null:_e(le,re,de,Ue,null);Yc(le,de)}return null}function Ye(le,re,de,Ue,rt){if(typeof Ue=="string"&&Ue!==""||typeof Ue=="number")return le=le.get(de)||null,Y(re,le,""+Ue,rt);if(typeof Ue=="object"&&Ue!==null){switch(Ue.$$typeof){case O:return le=le.get(Ue.key===null?de:Ue.key)||null,ne(re,le,Ue,rt);case j:return le=le.get(Ue.key===null?de:Ue.key)||null,me(re,le,Ue,rt);case H:var st=Ue._init;return Ye(le,re,de,st(Ue._payload),rt)}if(Be(Ue)||_(Ue))return le=le.get(de)||null,_e(re,le,Ue,rt,null);Yc(re,Ue)}return null}function Ze(le,re,de,Ue){for(var rt=null,st=null,lt=re,dt=re=0,jn=null;lt!==null&&dt<de.length;dt++){lt.index>dt?(jn=lt,lt=null):jn=lt.sibling;var jt=ze(le,lt,de[dt],Ue);if(jt===null){lt===null&&(lt=jn);break}r&&lt&&jt.alternate===null&&o(le,lt),re=E(jt,re,dt),st===null?rt=jt:st.sibling=jt,st=jt,lt=jn}if(dt===de.length)return l(le,lt),rn&&Li(le,dt),rt;if(lt===null){for(;dt<de.length;dt++)lt=We(le,de[dt],Ue),lt!==null&&(re=E(lt,re,dt),st===null?rt=lt:st.sibling=lt,st=lt);return rn&&Li(le,dt),rt}for(lt=p(le,lt);dt<de.length;dt++)jn=Ye(lt,le,dt,de[dt],Ue),jn!==null&&(r&&jn.alternate!==null&&lt.delete(jn.key===null?dt:jn.key),re=E(jn,re,dt),st===null?rt=jn:st.sibling=jn,st=jn);return r&&lt.forEach(function(mi){return o(le,mi)}),rn&&Li(le,dt),rt}function et(le,re,de,Ue){var rt=_(de);if(typeof rt!="function")throw Error(n(150));if(de=rt.call(de),de==null)throw Error(n(151));for(var st=rt=null,lt=re,dt=re=0,jn=null,jt=de.next();lt!==null&&!jt.done;dt++,jt=de.next()){lt.index>dt?(jn=lt,lt=null):jn=lt.sibling;var mi=ze(le,lt,jt.value,Ue);if(mi===null){lt===null&&(lt=jn);break}r&&lt&&mi.alternate===null&&o(le,lt),re=E(mi,re,dt),st===null?rt=mi:st.sibling=mi,st=mi,lt=jn}if(jt.done)return l(le,lt),rn&&Li(le,dt),rt;if(lt===null){for(;!jt.done;dt++,jt=de.next())jt=We(le,jt.value,Ue),jt!==null&&(re=E(jt,re,dt),st===null?rt=jt:st.sibling=jt,st=jt);return rn&&Li(le,dt),rt}for(lt=p(le,lt);!jt.done;dt++,jt=de.next())jt=Ye(lt,le,dt,jt.value,Ue),jt!==null&&(r&&jt.alternate!==null&&lt.delete(jt.key===null?dt:jt.key),re=E(jt,re,dt),st===null?rt=jt:st.sibling=jt,st=jt);return r&&lt.forEach(function(TP){return o(le,TP)}),rn&&Li(le,dt),rt}function bn(le,re,de,Ue){if(typeof de=="object"&&de!==null&&de.type===A&&de.key===null&&(de=de.props.children),typeof de=="object"&&de!==null){switch(de.$$typeof){case O:e:{for(var rt=de.key,st=re;st!==null;){if(st.key===rt){if(rt=de.type,rt===A){if(st.tag===7){l(le,st.sibling),re=v(st,de.props.children),re.return=le,le=re;break e}}else if(st.elementType===rt||typeof rt=="object"&&rt!==null&&rt.$$typeof===H&&Qv(rt)===st.type){l(le,st.sibling),re=v(st,de.props),re.ref=Gs(le,st,de),re.return=le,le=re;break e}l(le,st);break}else o(le,st);st=st.sibling}de.type===A?(re=Hi(de.props.children,le.mode,Ue,de.key),re.return=le,le=re):(Ue=bu(de.type,de.key,de.props,null,le.mode,Ue),Ue.ref=Gs(le,re,de),Ue.return=le,le=Ue)}return z(le);case j:e:{for(st=de.key;re!==null;){if(re.key===st)if(re.tag===4&&re.stateNode.containerInfo===de.containerInfo&&re.stateNode.implementation===de.implementation){l(le,re.sibling),re=v(re,de.children||[]),re.return=le,le=re;break e}else{l(le,re);break}else o(le,re);re=re.sibling}re=qf(de,le.mode,Ue),re.return=le,le=re}return z(le);case H:return st=de._init,bn(le,re,st(de._payload),Ue)}if(Be(de))return Ze(le,re,de,Ue);if(_(de))return et(le,re,de,Ue);Yc(le,de)}return typeof de=="string"&&de!==""||typeof de=="number"?(de=""+de,re!==null&&re.tag===6?(l(le,re.sibling),re=v(re,de),re.return=le,le=re):(l(le,re),re=Gf(de,le.mode,Ue),re.return=le,le=re),z(le)):l(le,re)}return bn}var ja=Jv(!0),Zv=Jv(!1),Xc=ri(null),Qc=null,La=null,tf=null;function nf(){tf=La=Qc=null}function rf(r){var o=Xc.current;en(Xc),r._currentValue=o}function of(r,o,l){for(;r!==null;){var p=r.alternate;if((r.childLanes&o)!==o?(r.childLanes|=o,p!==null&&(p.childLanes|=o)):p!==null&&(p.childLanes&o)!==o&&(p.childLanes|=o),r===l)break;r=r.return}}function Na(r,o){Qc=r,tf=La=null,r=r.dependencies,r!==null&&r.firstContext!==null&&((r.lanes&o)!==0&&(nr=!0),r.firstContext=null)}function Or(r){var o=r._currentValue;if(tf!==r)if(r={context:r,memoizedValue:o,next:null},La===null){if(Qc===null)throw Error(n(308));La=r,Qc.dependencies={lanes:0,firstContext:r}}else La=La.next=r;return o}var Ni=null;function af(r){Ni===null?Ni=[r]:Ni.push(r)}function ey(r,o,l,p){var v=o.interleaved;return v===null?(l.next=l,af(o)):(l.next=v.next,v.next=l),o.interleaved=l,To(r,p)}function To(r,o){r.lanes|=o;var l=r.alternate;for(l!==null&&(l.lanes|=o),l=r,r=r.return;r!==null;)r.childLanes|=o,l=r.alternate,l!==null&&(l.childLanes|=o),l=r,r=r.return;return l.tag===3?l.stateNode:null}var ai=!1;function sf(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ty(r,o){r=r.updateQueue,o.updateQueue===r&&(o.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects})}function Eo(r,o){return{eventTime:r,lane:o,tag:0,payload:null,callback:null,next:null}}function si(r,o,l){var p=r.updateQueue;if(p===null)return null;if(p=p.shared,(At&2)!==0){var v=p.pending;return v===null?o.next=o:(o.next=v.next,v.next=o),p.pending=o,To(r,l)}return v=p.interleaved,v===null?(o.next=o,af(p)):(o.next=v.next,v.next=o),p.interleaved=o,To(r,l)}function Jc(r,o,l){if(o=o.updateQueue,o!==null&&(o=o.shared,(l&4194240)!==0)){var p=o.lanes;p&=r.pendingLanes,l|=p,o.lanes=l,xp(r,l)}}function ny(r,o){var l=r.updateQueue,p=r.alternate;if(p!==null&&(p=p.updateQueue,l===p)){var v=null,E=null;if(l=l.firstBaseUpdate,l!==null){do{var z={eventTime:l.eventTime,lane:l.lane,tag:l.tag,payload:l.payload,callback:l.callback,next:null};E===null?v=E=z:E=E.next=z,l=l.next}while(l!==null);E===null?v=E=o:E=E.next=o}else v=E=o;l={baseState:p.baseState,firstBaseUpdate:v,lastBaseUpdate:E,shared:p.shared,effects:p.effects},r.updateQueue=l;return}r=l.lastBaseUpdate,r===null?l.firstBaseUpdate=o:r.next=o,l.lastBaseUpdate=o}function Zc(r,o,l,p){var v=r.updateQueue;ai=!1;var E=v.firstBaseUpdate,z=v.lastBaseUpdate,Y=v.shared.pending;if(Y!==null){v.shared.pending=null;var ne=Y,me=ne.next;ne.next=null,z===null?E=me:z.next=me,z=ne;var _e=r.alternate;_e!==null&&(_e=_e.updateQueue,Y=_e.lastBaseUpdate,Y!==z&&(Y===null?_e.firstBaseUpdate=me:Y.next=me,_e.lastBaseUpdate=ne))}if(E!==null){var We=v.baseState;z=0,_e=me=ne=null,Y=E;do{var ze=Y.lane,Ye=Y.eventTime;if((p&ze)===ze){_e!==null&&(_e=_e.next={eventTime:Ye,lane:0,tag:Y.tag,payload:Y.payload,callback:Y.callback,next:null});e:{var Ze=r,et=Y;switch(ze=o,Ye=l,et.tag){case 1:if(Ze=et.payload,typeof Ze=="function"){We=Ze.call(Ye,We,ze);break e}We=Ze;break e;case 3:Ze.flags=Ze.flags&-65537|128;case 0:if(Ze=et.payload,ze=typeof Ze=="function"?Ze.call(Ye,We,ze):Ze,ze==null)break e;We=V({},We,ze);break e;case 2:ai=!0}}Y.callback!==null&&Y.lane!==0&&(r.flags|=64,ze=v.effects,ze===null?v.effects=[Y]:ze.push(Y))}else Ye={eventTime:Ye,lane:ze,tag:Y.tag,payload:Y.payload,callback:Y.callback,next:null},_e===null?(me=_e=Ye,ne=We):_e=_e.next=Ye,z|=ze;if(Y=Y.next,Y===null){if(Y=v.shared.pending,Y===null)break;ze=Y,Y=ze.next,ze.next=null,v.lastBaseUpdate=ze,v.shared.pending=null}}while(!0);if(_e===null&&(ne=We),v.baseState=ne,v.firstBaseUpdate=me,v.lastBaseUpdate=_e,o=v.shared.interleaved,o!==null){v=o;do z|=v.lane,v=v.next;while(v!==o)}else E===null&&(v.shared.lanes=0);zi|=z,r.lanes=z,r.memoizedState=We}}function ry(r,o,l){if(r=o.effects,o.effects=null,r!==null)for(o=0;o<r.length;o++){var p=r[o],v=p.callback;if(v!==null){if(p.callback=null,p=l,typeof v!="function")throw Error(n(191,v));v.call(p)}}}var qs={},so=ri(qs),Ks=ri(qs),Ys=ri(qs);function Bi(r){if(r===qs)throw Error(n(174));return r}function lf(r,o){switch(Xt(Ys,o),Xt(Ks,r),Xt(so,qs),r=o.nodeType,r){case 9:case 11:o=(o=o.documentElement)?o.namespaceURI:De(null,"");break;default:r=r===8?o.parentNode:o,o=r.namespaceURI||null,r=r.tagName,o=De(o,r)}en(so),Xt(so,o)}function Ba(){en(so),en(Ks),en(Ys)}function oy(r){Bi(Ys.current);var o=Bi(so.current),l=De(o,r.type);o!==l&&(Xt(Ks,r),Xt(so,l))}function cf(r){Ks.current===r&&(en(so),en(Ks))}var pn=ri(0);function eu(r){for(var o=r;o!==null;){if(o.tag===13){var l=o.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||l.data==="$!"))return o}else if(o.tag===19&&o.memoizedProps.revealOrder!==void 0){if((o.flags&128)!==0)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===r)break;for(;o.sibling===null;){if(o.return===null||o.return===r)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var uf=[];function df(){for(var r=0;r<uf.length;r++)uf[r]._workInProgressVersionPrimary=null;uf.length=0}var tu=I.ReactCurrentDispatcher,pf=I.ReactCurrentBatchConfig,Di=0,fn=null,Pn=null,On=null,nu=!1,Xs=!1,Qs=0,YR=0;function Fn(){throw Error(n(321))}function ff(r,o){if(o===null)return!1;for(var l=0;l<o.length&&l<r.length;l++)if(!Yr(r[l],o[l]))return!1;return!0}function mf(r,o,l,p,v,E){if(Di=E,fn=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,tu.current=r===null||r.memoizedState===null?ZR:eP,r=l(p,v),Xs){E=0;do{if(Xs=!1,Qs=0,25<=E)throw Error(n(301));E+=1,On=Pn=null,o.updateQueue=null,tu.current=tP,r=l(p,v)}while(Xs)}if(tu.current=iu,o=Pn!==null&&Pn.next!==null,Di=0,On=Pn=fn=null,nu=!1,o)throw Error(n(300));return r}function gf(){var r=Qs!==0;return Qs=0,r}function lo(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return On===null?fn.memoizedState=On=r:On=On.next=r,On}function Ar(){if(Pn===null){var r=fn.alternate;r=r!==null?r.memoizedState:null}else r=Pn.next;var o=On===null?fn.memoizedState:On.next;if(o!==null)On=o,Pn=r;else{if(r===null)throw Error(n(310));Pn=r,r={memoizedState:Pn.memoizedState,baseState:Pn.baseState,baseQueue:Pn.baseQueue,queue:Pn.queue,next:null},On===null?fn.memoizedState=On=r:On=On.next=r}return On}function Js(r,o){return typeof o=="function"?o(r):o}function hf(r){var o=Ar(),l=o.queue;if(l===null)throw Error(n(311));l.lastRenderedReducer=r;var p=Pn,v=p.baseQueue,E=l.pending;if(E!==null){if(v!==null){var z=v.next;v.next=E.next,E.next=z}p.baseQueue=v=E,l.pending=null}if(v!==null){E=v.next,p=p.baseState;var Y=z=null,ne=null,me=E;do{var _e=me.lane;if((Di&_e)===_e)ne!==null&&(ne=ne.next={lane:0,action:me.action,hasEagerState:me.hasEagerState,eagerState:me.eagerState,next:null}),p=me.hasEagerState?me.eagerState:r(p,me.action);else{var We={lane:_e,action:me.action,hasEagerState:me.hasEagerState,eagerState:me.eagerState,next:null};ne===null?(Y=ne=We,z=p):ne=ne.next=We,fn.lanes|=_e,zi|=_e}me=me.next}while(me!==null&&me!==E);ne===null?z=p:ne.next=Y,Yr(p,o.memoizedState)||(nr=!0),o.memoizedState=p,o.baseState=z,o.baseQueue=ne,l.lastRenderedState=p}if(r=l.interleaved,r!==null){v=r;do E=v.lane,fn.lanes|=E,zi|=E,v=v.next;while(v!==r)}else v===null&&(l.lanes=0);return[o.memoizedState,l.dispatch]}function vf(r){var o=Ar(),l=o.queue;if(l===null)throw Error(n(311));l.lastRenderedReducer=r;var p=l.dispatch,v=l.pending,E=o.memoizedState;if(v!==null){l.pending=null;var z=v=v.next;do E=r(E,z.action),z=z.next;while(z!==v);Yr(E,o.memoizedState)||(nr=!0),o.memoizedState=E,o.baseQueue===null&&(o.baseState=E),l.lastRenderedState=E}return[E,p]}function iy(){}function ay(r,o){var l=fn,p=Ar(),v=o(),E=!Yr(p.memoizedState,v);if(E&&(p.memoizedState=v,nr=!0),p=p.queue,yf(cy.bind(null,l,p,r),[r]),p.getSnapshot!==o||E||On!==null&&On.memoizedState.tag&1){if(l.flags|=2048,Zs(9,ly.bind(null,l,p,v,o),void 0,null),An===null)throw Error(n(349));(Di&30)!==0||sy(l,o,v)}return v}function sy(r,o,l){r.flags|=16384,r={getSnapshot:o,value:l},o=fn.updateQueue,o===null?(o={lastEffect:null,stores:null},fn.updateQueue=o,o.stores=[r]):(l=o.stores,l===null?o.stores=[r]:l.push(r))}function ly(r,o,l,p){o.value=l,o.getSnapshot=p,uy(o)&&dy(r)}function cy(r,o,l){return l(function(){uy(o)&&dy(r)})}function uy(r){var o=r.getSnapshot;r=r.value;try{var l=o();return!Yr(r,l)}catch{return!0}}function dy(r){var o=To(r,1);o!==null&&eo(o,r,1,-1)}function py(r){var o=lo();return typeof r=="function"&&(r=r()),o.memoizedState=o.baseState=r,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Js,lastRenderedState:r},o.queue=r,r=r.dispatch=JR.bind(null,fn,r),[o.memoizedState,r]}function Zs(r,o,l,p){return r={tag:r,create:o,destroy:l,deps:p,next:null},o=fn.updateQueue,o===null?(o={lastEffect:null,stores:null},fn.updateQueue=o,o.lastEffect=r.next=r):(l=o.lastEffect,l===null?o.lastEffect=r.next=r:(p=l.next,l.next=r,r.next=p,o.lastEffect=r)),r}function fy(){return Ar().memoizedState}function ru(r,o,l,p){var v=lo();fn.flags|=r,v.memoizedState=Zs(1|o,l,void 0,p===void 0?null:p)}function ou(r,o,l,p){var v=Ar();p=p===void 0?null:p;var E=void 0;if(Pn!==null){var z=Pn.memoizedState;if(E=z.destroy,p!==null&&ff(p,z.deps)){v.memoizedState=Zs(o,l,E,p);return}}fn.flags|=r,v.memoizedState=Zs(1|o,l,E,p)}function my(r,o){return ru(8390656,8,r,o)}function yf(r,o){return ou(2048,8,r,o)}function gy(r,o){return ou(4,2,r,o)}function hy(r,o){return ou(4,4,r,o)}function vy(r,o){if(typeof o=="function")return r=r(),o(r),function(){o(null)};if(o!=null)return r=r(),o.current=r,function(){o.current=null}}function yy(r,o,l){return l=l!=null?l.concat([r]):null,ou(4,4,vy.bind(null,o,r),l)}function bf(){}function by(r,o){var l=Ar();o=o===void 0?null:o;var p=l.memoizedState;return p!==null&&o!==null&&ff(o,p[1])?p[0]:(l.memoizedState=[r,o],r)}function xy(r,o){var l=Ar();o=o===void 0?null:o;var p=l.memoizedState;return p!==null&&o!==null&&ff(o,p[1])?p[0]:(r=r(),l.memoizedState=[r,o],r)}function Sy(r,o,l){return(Di&21)===0?(r.baseState&&(r.baseState=!1,nr=!0),r.memoizedState=l):(Yr(l,o)||(l=Qh(),fn.lanes|=l,zi|=l,r.baseState=!0),o)}function XR(r,o){var l=Wt;Wt=l!==0&&4>l?l:4,r(!0);var p=pf.transition;pf.transition={};try{r(!1),o()}finally{Wt=l,pf.transition=p}}function Cy(){return Ar().memoizedState}function QR(r,o,l){var p=di(r);if(l={lane:p,action:l,hasEagerState:!1,eagerState:null,next:null},wy(r))ky(o,l);else if(l=ey(r,o,l,p),l!==null){var v=Kn();eo(l,r,p,v),Ry(l,o,p)}}function JR(r,o,l){var p=di(r),v={lane:p,action:l,hasEagerState:!1,eagerState:null,next:null};if(wy(r))ky(o,v);else{var E=r.alternate;if(r.lanes===0&&(E===null||E.lanes===0)&&(E=o.lastRenderedReducer,E!==null))try{var z=o.lastRenderedState,Y=E(z,l);if(v.hasEagerState=!0,v.eagerState=Y,Yr(Y,z)){var ne=o.interleaved;ne===null?(v.next=v,af(o)):(v.next=ne.next,ne.next=v),o.interleaved=v;return}}catch{}finally{}l=ey(r,o,v,p),l!==null&&(v=Kn(),eo(l,r,p,v),Ry(l,o,p))}}function wy(r){var o=r.alternate;return r===fn||o!==null&&o===fn}function ky(r,o){Xs=nu=!0;var l=r.pending;l===null?o.next=o:(o.next=l.next,l.next=o),r.pending=o}function Ry(r,o,l){if((l&4194240)!==0){var p=o.lanes;p&=r.pendingLanes,l|=p,o.lanes=l,xp(r,l)}}var iu={readContext:Or,useCallback:Fn,useContext:Fn,useEffect:Fn,useImperativeHandle:Fn,useInsertionEffect:Fn,useLayoutEffect:Fn,useMemo:Fn,useReducer:Fn,useRef:Fn,useState:Fn,useDebugValue:Fn,useDeferredValue:Fn,useTransition:Fn,useMutableSource:Fn,useSyncExternalStore:Fn,useId:Fn,unstable_isNewReconciler:!1},ZR={readContext:Or,useCallback:function(r,o){return lo().memoizedState=[r,o===void 0?null:o],r},useContext:Or,useEffect:my,useImperativeHandle:function(r,o,l){return l=l!=null?l.concat([r]):null,ru(4194308,4,vy.bind(null,o,r),l)},useLayoutEffect:function(r,o){return ru(4194308,4,r,o)},useInsertionEffect:function(r,o){return ru(4,2,r,o)},useMemo:function(r,o){var l=lo();return o=o===void 0?null:o,r=r(),l.memoizedState=[r,o],r},useReducer:function(r,o,l){var p=lo();return o=l!==void 0?l(o):o,p.memoizedState=p.baseState=o,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:o},p.queue=r,r=r.dispatch=QR.bind(null,fn,r),[p.memoizedState,r]},useRef:function(r){var o=lo();return r={current:r},o.memoizedState=r},useState:py,useDebugValue:bf,useDeferredValue:function(r){return lo().memoizedState=r},useTransition:function(){var r=py(!1),o=r[0];return r=XR.bind(null,r[1]),lo().memoizedState=r,[o,r]},useMutableSource:function(){},useSyncExternalStore:function(r,o,l){var p=fn,v=lo();if(rn){if(l===void 0)throw Error(n(407));l=l()}else{if(l=o(),An===null)throw Error(n(349));(Di&30)!==0||sy(p,o,l)}v.memoizedState=l;var E={value:l,getSnapshot:o};return v.queue=E,my(cy.bind(null,p,E,r),[r]),p.flags|=2048,Zs(9,ly.bind(null,p,E,l,o),void 0,null),l},useId:function(){var r=lo(),o=An.identifierPrefix;if(rn){var l=Po,p=Ro;l=(p&~(1<<32-Kr(p)-1)).toString(32)+l,o=":"+o+"R"+l,l=Qs++,0<l&&(o+="H"+l.toString(32)),o+=":"}else l=YR++,o=":"+o+"r"+l.toString(32)+":";return r.memoizedState=o},unstable_isNewReconciler:!1},eP={readContext:Or,useCallback:by,useContext:Or,useEffect:yf,useImperativeHandle:yy,useInsertionEffect:gy,useLayoutEffect:hy,useMemo:xy,useReducer:hf,useRef:fy,useState:function(){return hf(Js)},useDebugValue:bf,useDeferredValue:function(r){var o=Ar();return Sy(o,Pn.memoizedState,r)},useTransition:function(){var r=hf(Js)[0],o=Ar().memoizedState;return[r,o]},useMutableSource:iy,useSyncExternalStore:ay,useId:Cy,unstable_isNewReconciler:!1},tP={readContext:Or,useCallback:by,useContext:Or,useEffect:yf,useImperativeHandle:yy,useInsertionEffect:gy,useLayoutEffect:hy,useMemo:xy,useReducer:vf,useRef:fy,useState:function(){return vf(Js)},useDebugValue:bf,useDeferredValue:function(r){var o=Ar();return Pn===null?o.memoizedState=r:Sy(o,Pn.memoizedState,r)},useTransition:function(){var r=vf(Js)[0],o=Ar().memoizedState;return[r,o]},useMutableSource:iy,useSyncExternalStore:ay,useId:Cy,unstable_isNewReconciler:!1};function Qr(r,o){if(r&&r.defaultProps){o=V({},o),r=r.defaultProps;for(var l in r)o[l]===void 0&&(o[l]=r[l]);return o}return o}function xf(r,o,l,p){o=r.memoizedState,l=l(p,o),l=l==null?o:V({},o,l),r.memoizedState=l,r.lanes===0&&(r.updateQueue.baseState=l)}var au={isMounted:function(r){return(r=r._reactInternals)?Rt(r)===r:!1},enqueueSetState:function(r,o,l){r=r._reactInternals;var p=Kn(),v=di(r),E=Eo(p,v);E.payload=o,l!=null&&(E.callback=l),o=si(r,E,v),o!==null&&(eo(o,r,v,p),Jc(o,r,v))},enqueueReplaceState:function(r,o,l){r=r._reactInternals;var p=Kn(),v=di(r),E=Eo(p,v);E.tag=1,E.payload=o,l!=null&&(E.callback=l),o=si(r,E,v),o!==null&&(eo(o,r,v,p),Jc(o,r,v))},enqueueForceUpdate:function(r,o){r=r._reactInternals;var l=Kn(),p=di(r),v=Eo(l,p);v.tag=2,o!=null&&(v.callback=o),o=si(r,v,p),o!==null&&(eo(o,r,p,l),Jc(o,r,p))}};function Py(r,o,l,p,v,E,z){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(p,E,z):o.prototype&&o.prototype.isPureReactComponent?!zs(l,p)||!zs(v,E):!0}function Ty(r,o,l){var p=!1,v=oi,E=o.contextType;return typeof E=="object"&&E!==null?E=Or(E):(v=tr(o)?Ai:zn.current,p=o.contextTypes,E=(p=p!=null)?$a(r,v):oi),o=new o(l,E),r.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=au,r.stateNode=o,o._reactInternals=r,p&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=v,r.__reactInternalMemoizedMaskedChildContext=E),o}function Ey(r,o,l,p){r=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(l,p),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(l,p),o.state!==r&&au.enqueueReplaceState(o,o.state,null)}function Sf(r,o,l,p){var v=r.stateNode;v.props=l,v.state=r.memoizedState,v.refs={},sf(r);var E=o.contextType;typeof E=="object"&&E!==null?v.context=Or(E):(E=tr(o)?Ai:zn.current,v.context=$a(r,E)),v.state=r.memoizedState,E=o.getDerivedStateFromProps,typeof E=="function"&&(xf(r,o,E,l),v.state=r.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(o=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),o!==v.state&&au.enqueueReplaceState(v,v.state,null),Zc(r,l,v,p),v.state=r.memoizedState),typeof v.componentDidMount=="function"&&(r.flags|=4194308)}function Da(r,o){try{var l="",p=o;do l+=K(p),p=p.return;while(p);var v=l}catch(E){v=`
39
+ Error generating stack: `+E.message+`
40
+ `+E.stack}return{value:r,source:o,stack:v,digest:null}}function Cf(r,o,l){return{value:r,source:null,stack:l??null,digest:o??null}}function wf(r,o){try{console.error(o.value)}catch(l){setTimeout(function(){throw l})}}var nP=typeof WeakMap=="function"?WeakMap:Map;function Iy(r,o,l){l=Eo(-1,l),l.tag=3,l.payload={element:null};var p=o.value;return l.callback=function(){fu||(fu=!0,Df=p),wf(r,o)},l}function $y(r,o,l){l=Eo(-1,l),l.tag=3;var p=r.type.getDerivedStateFromError;if(typeof p=="function"){var v=o.value;l.payload=function(){return p(v)},l.callback=function(){wf(r,o)}}var E=r.stateNode;return E!==null&&typeof E.componentDidCatch=="function"&&(l.callback=function(){wf(r,o),typeof p!="function"&&(ci===null?ci=new Set([this]):ci.add(this));var z=o.stack;this.componentDidCatch(o.value,{componentStack:z!==null?z:""})}),l}function My(r,o,l){var p=r.pingCache;if(p===null){p=r.pingCache=new nP;var v=new Set;p.set(o,v)}else v=p.get(o),v===void 0&&(v=new Set,p.set(o,v));v.has(l)||(v.add(l),r=hP.bind(null,r,o,l),o.then(r,r))}function Oy(r){do{var o;if((o=r.tag===13)&&(o=r.memoizedState,o=o!==null?o.dehydrated!==null:!0),o)return r;r=r.return}while(r!==null);return null}function Ay(r,o,l,p,v){return(r.mode&1)===0?(r===o?r.flags|=65536:(r.flags|=128,l.flags|=131072,l.flags&=-52805,l.tag===1&&(l.alternate===null?l.tag=17:(o=Eo(-1,1),o.tag=2,si(l,o,1))),l.lanes|=1),r):(r.flags|=65536,r.lanes=v,r)}var rP=I.ReactCurrentOwner,nr=!1;function qn(r,o,l,p){o.child=r===null?Zv(o,null,l,p):ja(o,r.child,l,p)}function jy(r,o,l,p,v){l=l.render;var E=o.ref;return Na(o,v),p=mf(r,o,l,p,E,v),l=gf(),r!==null&&!nr?(o.updateQueue=r.updateQueue,o.flags&=-2053,r.lanes&=~v,Io(r,o,v)):(rn&&l&&Xp(o),o.flags|=1,qn(r,o,p,v),o.child)}function Ly(r,o,l,p,v){if(r===null){var E=l.type;return typeof E=="function"&&!Vf(E)&&E.defaultProps===void 0&&l.compare===null&&l.defaultProps===void 0?(o.tag=15,o.type=E,Ny(r,o,E,p,v)):(r=bu(l.type,null,p,o,o.mode,v),r.ref=o.ref,r.return=o,o.child=r)}if(E=r.child,(r.lanes&v)===0){var z=E.memoizedProps;if(l=l.compare,l=l!==null?l:zs,l(z,p)&&r.ref===o.ref)return Io(r,o,v)}return o.flags|=1,r=fi(E,p),r.ref=o.ref,r.return=o,o.child=r}function Ny(r,o,l,p,v){if(r!==null){var E=r.memoizedProps;if(zs(E,p)&&r.ref===o.ref)if(nr=!1,o.pendingProps=p=E,(r.lanes&v)!==0)(r.flags&131072)!==0&&(nr=!0);else return o.lanes=r.lanes,Io(r,o,v)}return kf(r,o,l,p,v)}function By(r,o,l){var p=o.pendingProps,v=p.children,E=r!==null?r.memoizedState:null;if(p.mode==="hidden")if((o.mode&1)===0)o.memoizedState={baseLanes:0,cachePool:null,transitions:null},Xt(Fa,yr),yr|=l;else{if((l&1073741824)===0)return r=E!==null?E.baseLanes|l:l,o.lanes=o.childLanes=1073741824,o.memoizedState={baseLanes:r,cachePool:null,transitions:null},o.updateQueue=null,Xt(Fa,yr),yr|=r,null;o.memoizedState={baseLanes:0,cachePool:null,transitions:null},p=E!==null?E.baseLanes:l,Xt(Fa,yr),yr|=p}else E!==null?(p=E.baseLanes|l,o.memoizedState=null):p=l,Xt(Fa,yr),yr|=p;return qn(r,o,v,l),o.child}function Dy(r,o){var l=o.ref;(r===null&&l!==null||r!==null&&r.ref!==l)&&(o.flags|=512,o.flags|=2097152)}function kf(r,o,l,p,v){var E=tr(l)?Ai:zn.current;return E=$a(o,E),Na(o,v),l=mf(r,o,l,p,E,v),p=gf(),r!==null&&!nr?(o.updateQueue=r.updateQueue,o.flags&=-2053,r.lanes&=~v,Io(r,o,v)):(rn&&p&&Xp(o),o.flags|=1,qn(r,o,l,v),o.child)}function zy(r,o,l,p,v){if(tr(l)){var E=!0;Uc(o)}else E=!1;if(Na(o,v),o.stateNode===null)lu(r,o),Ty(o,l,p),Sf(o,l,p,v),p=!0;else if(r===null){var z=o.stateNode,Y=o.memoizedProps;z.props=Y;var ne=z.context,me=l.contextType;typeof me=="object"&&me!==null?me=Or(me):(me=tr(l)?Ai:zn.current,me=$a(o,me));var _e=l.getDerivedStateFromProps,We=typeof _e=="function"||typeof z.getSnapshotBeforeUpdate=="function";We||typeof z.UNSAFE_componentWillReceiveProps!="function"&&typeof z.componentWillReceiveProps!="function"||(Y!==p||ne!==me)&&Ey(o,z,p,me),ai=!1;var ze=o.memoizedState;z.state=ze,Zc(o,p,z,v),ne=o.memoizedState,Y!==p||ze!==ne||er.current||ai?(typeof _e=="function"&&(xf(o,l,_e,p),ne=o.memoizedState),(Y=ai||Py(o,l,Y,p,ze,ne,me))?(We||typeof z.UNSAFE_componentWillMount!="function"&&typeof z.componentWillMount!="function"||(typeof z.componentWillMount=="function"&&z.componentWillMount(),typeof z.UNSAFE_componentWillMount=="function"&&z.UNSAFE_componentWillMount()),typeof z.componentDidMount=="function"&&(o.flags|=4194308)):(typeof z.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=p,o.memoizedState=ne),z.props=p,z.state=ne,z.context=me,p=Y):(typeof z.componentDidMount=="function"&&(o.flags|=4194308),p=!1)}else{z=o.stateNode,ty(r,o),Y=o.memoizedProps,me=o.type===o.elementType?Y:Qr(o.type,Y),z.props=me,We=o.pendingProps,ze=z.context,ne=l.contextType,typeof ne=="object"&&ne!==null?ne=Or(ne):(ne=tr(l)?Ai:zn.current,ne=$a(o,ne));var Ye=l.getDerivedStateFromProps;(_e=typeof Ye=="function"||typeof z.getSnapshotBeforeUpdate=="function")||typeof z.UNSAFE_componentWillReceiveProps!="function"&&typeof z.componentWillReceiveProps!="function"||(Y!==We||ze!==ne)&&Ey(o,z,p,ne),ai=!1,ze=o.memoizedState,z.state=ze,Zc(o,p,z,v);var Ze=o.memoizedState;Y!==We||ze!==Ze||er.current||ai?(typeof Ye=="function"&&(xf(o,l,Ye,p),Ze=o.memoizedState),(me=ai||Py(o,l,me,p,ze,Ze,ne)||!1)?(_e||typeof z.UNSAFE_componentWillUpdate!="function"&&typeof z.componentWillUpdate!="function"||(typeof z.componentWillUpdate=="function"&&z.componentWillUpdate(p,Ze,ne),typeof z.UNSAFE_componentWillUpdate=="function"&&z.UNSAFE_componentWillUpdate(p,Ze,ne)),typeof z.componentDidUpdate=="function"&&(o.flags|=4),typeof z.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof z.componentDidUpdate!="function"||Y===r.memoizedProps&&ze===r.memoizedState||(o.flags|=4),typeof z.getSnapshotBeforeUpdate!="function"||Y===r.memoizedProps&&ze===r.memoizedState||(o.flags|=1024),o.memoizedProps=p,o.memoizedState=Ze),z.props=p,z.state=Ze,z.context=ne,p=me):(typeof z.componentDidUpdate!="function"||Y===r.memoizedProps&&ze===r.memoizedState||(o.flags|=4),typeof z.getSnapshotBeforeUpdate!="function"||Y===r.memoizedProps&&ze===r.memoizedState||(o.flags|=1024),p=!1)}return Rf(r,o,l,p,E,v)}function Rf(r,o,l,p,v,E){Dy(r,o);var z=(o.flags&128)!==0;if(!p&&!z)return v&&Uv(o,l,!1),Io(r,o,E);p=o.stateNode,rP.current=o;var Y=z&&typeof l.getDerivedStateFromError!="function"?null:p.render();return o.flags|=1,r!==null&&z?(o.child=ja(o,r.child,null,E),o.child=ja(o,null,Y,E)):qn(r,o,Y,E),o.memoizedState=p.state,v&&Uv(o,l,!0),o.child}function Fy(r){var o=r.stateNode;o.pendingContext?Wv(r,o.pendingContext,o.pendingContext!==o.context):o.context&&Wv(r,o.context,!1),lf(r,o.containerInfo)}function _y(r,o,l,p,v){return Aa(),ef(v),o.flags|=256,qn(r,o,l,p),o.child}var Pf={dehydrated:null,treeContext:null,retryLane:0};function Tf(r){return{baseLanes:r,cachePool:null,transitions:null}}function Wy(r,o,l){var p=o.pendingProps,v=pn.current,E=!1,z=(o.flags&128)!==0,Y;if((Y=z)||(Y=r!==null&&r.memoizedState===null?!1:(v&2)!==0),Y?(E=!0,o.flags&=-129):(r===null||r.memoizedState!==null)&&(v|=1),Xt(pn,v&1),r===null)return Zp(o),r=o.memoizedState,r!==null&&(r=r.dehydrated,r!==null)?((o.mode&1)===0?o.lanes=1:r.data==="$!"?o.lanes=8:o.lanes=1073741824,null):(z=p.children,r=p.fallback,E?(p=o.mode,E=o.child,z={mode:"hidden",children:z},(p&1)===0&&E!==null?(E.childLanes=0,E.pendingProps=z):E=xu(z,p,0,null),r=Hi(r,p,l,null),E.return=o,r.return=o,E.sibling=r,o.child=E,o.child.memoizedState=Tf(l),o.memoizedState=Pf,r):Ef(o,z));if(v=r.memoizedState,v!==null&&(Y=v.dehydrated,Y!==null))return oP(r,o,z,p,Y,v,l);if(E){E=p.fallback,z=o.mode,v=r.child,Y=v.sibling;var ne={mode:"hidden",children:p.children};return(z&1)===0&&o.child!==v?(p=o.child,p.childLanes=0,p.pendingProps=ne,o.deletions=null):(p=fi(v,ne),p.subtreeFlags=v.subtreeFlags&14680064),Y!==null?E=fi(Y,E):(E=Hi(E,z,l,null),E.flags|=2),E.return=o,p.return=o,p.sibling=E,o.child=p,p=E,E=o.child,z=r.child.memoizedState,z=z===null?Tf(l):{baseLanes:z.baseLanes|l,cachePool:null,transitions:z.transitions},E.memoizedState=z,E.childLanes=r.childLanes&~l,o.memoizedState=Pf,p}return E=r.child,r=E.sibling,p=fi(E,{mode:"visible",children:p.children}),(o.mode&1)===0&&(p.lanes=l),p.return=o,p.sibling=null,r!==null&&(l=o.deletions,l===null?(o.deletions=[r],o.flags|=16):l.push(r)),o.child=p,o.memoizedState=null,p}function Ef(r,o){return o=xu({mode:"visible",children:o},r.mode,0,null),o.return=r,r.child=o}function su(r,o,l,p){return p!==null&&ef(p),ja(o,r.child,null,l),r=Ef(o,o.pendingProps.children),r.flags|=2,o.memoizedState=null,r}function oP(r,o,l,p,v,E,z){if(l)return o.flags&256?(o.flags&=-257,p=Cf(Error(n(422))),su(r,o,z,p)):o.memoizedState!==null?(o.child=r.child,o.flags|=128,null):(E=p.fallback,v=o.mode,p=xu({mode:"visible",children:p.children},v,0,null),E=Hi(E,v,z,null),E.flags|=2,p.return=o,E.return=o,p.sibling=E,o.child=p,(o.mode&1)!==0&&ja(o,r.child,null,z),o.child.memoizedState=Tf(z),o.memoizedState=Pf,E);if((o.mode&1)===0)return su(r,o,z,null);if(v.data==="$!"){if(p=v.nextSibling&&v.nextSibling.dataset,p)var Y=p.dgst;return p=Y,E=Error(n(419)),p=Cf(E,p,void 0),su(r,o,z,p)}if(Y=(z&r.childLanes)!==0,nr||Y){if(p=An,p!==null){switch(z&-z){case 4:v=2;break;case 16:v=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:v=32;break;case 536870912:v=268435456;break;default:v=0}v=(v&(p.suspendedLanes|z))!==0?0:v,v!==0&&v!==E.retryLane&&(E.retryLane=v,To(r,v),eo(p,r,v,-1))}return Uf(),p=Cf(Error(n(421))),su(r,o,z,p)}return v.data==="$?"?(o.flags|=128,o.child=r.child,o=vP.bind(null,r),v._reactRetry=o,null):(r=E.treeContext,vr=ni(v.nextSibling),hr=o,rn=!0,Xr=null,r!==null&&($r[Mr++]=Ro,$r[Mr++]=Po,$r[Mr++]=ji,Ro=r.id,Po=r.overflow,ji=o),o=Ef(o,p.children),o.flags|=4096,o)}function Hy(r,o,l){r.lanes|=o;var p=r.alternate;p!==null&&(p.lanes|=o),of(r.return,o,l)}function If(r,o,l,p,v){var E=r.memoizedState;E===null?r.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:p,tail:l,tailMode:v}:(E.isBackwards=o,E.rendering=null,E.renderingStartTime=0,E.last=p,E.tail=l,E.tailMode=v)}function Uy(r,o,l){var p=o.pendingProps,v=p.revealOrder,E=p.tail;if(qn(r,o,p.children,l),p=pn.current,(p&2)!==0)p=p&1|2,o.flags|=128;else{if(r!==null&&(r.flags&128)!==0)e:for(r=o.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&Hy(r,l,o);else if(r.tag===19)Hy(r,l,o);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===o)break e;for(;r.sibling===null;){if(r.return===null||r.return===o)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}p&=1}if(Xt(pn,p),(o.mode&1)===0)o.memoizedState=null;else switch(v){case"forwards":for(l=o.child,v=null;l!==null;)r=l.alternate,r!==null&&eu(r)===null&&(v=l),l=l.sibling;l=v,l===null?(v=o.child,o.child=null):(v=l.sibling,l.sibling=null),If(o,!1,v,l,E);break;case"backwards":for(l=null,v=o.child,o.child=null;v!==null;){if(r=v.alternate,r!==null&&eu(r)===null){o.child=v;break}r=v.sibling,v.sibling=l,l=v,v=r}If(o,!0,l,null,E);break;case"together":If(o,!1,null,null,void 0);break;default:o.memoizedState=null}return o.child}function lu(r,o){(o.mode&1)===0&&r!==null&&(r.alternate=null,o.alternate=null,o.flags|=2)}function Io(r,o,l){if(r!==null&&(o.dependencies=r.dependencies),zi|=o.lanes,(l&o.childLanes)===0)return null;if(r!==null&&o.child!==r.child)throw Error(n(153));if(o.child!==null){for(r=o.child,l=fi(r,r.pendingProps),o.child=l,l.return=o;r.sibling!==null;)r=r.sibling,l=l.sibling=fi(r,r.pendingProps),l.return=o;l.sibling=null}return o.child}function iP(r,o,l){switch(o.tag){case 3:Fy(o),Aa();break;case 5:oy(o);break;case 1:tr(o.type)&&Uc(o);break;case 4:lf(o,o.stateNode.containerInfo);break;case 10:var p=o.type._context,v=o.memoizedProps.value;Xt(Xc,p._currentValue),p._currentValue=v;break;case 13:if(p=o.memoizedState,p!==null)return p.dehydrated!==null?(Xt(pn,pn.current&1),o.flags|=128,null):(l&o.child.childLanes)!==0?Wy(r,o,l):(Xt(pn,pn.current&1),r=Io(r,o,l),r!==null?r.sibling:null);Xt(pn,pn.current&1);break;case 19:if(p=(l&o.childLanes)!==0,(r.flags&128)!==0){if(p)return Uy(r,o,l);o.flags|=128}if(v=o.memoizedState,v!==null&&(v.rendering=null,v.tail=null,v.lastEffect=null),Xt(pn,pn.current),p)break;return null;case 22:case 23:return o.lanes=0,By(r,o,l)}return Io(r,o,l)}var Vy,$f,Gy,qy;Vy=function(r,o){for(var l=o.child;l!==null;){if(l.tag===5||l.tag===6)r.appendChild(l.stateNode);else if(l.tag!==4&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===o)break;for(;l.sibling===null;){if(l.return===null||l.return===o)return;l=l.return}l.sibling.return=l.return,l=l.sibling}},$f=function(){},Gy=function(r,o,l,p){var v=r.memoizedProps;if(v!==p){r=o.stateNode,Bi(so.current);var E=null;switch(l){case"input":v=Se(r,v),p=Se(r,p),E=[];break;case"select":v=V({},v,{value:void 0}),p=V({},p,{value:void 0}),E=[];break;case"textarea":v=oe(r,v),p=oe(r,p),E=[];break;default:typeof v.onClick!="function"&&typeof p.onClick=="function"&&(r.onclick=_c)}it(l,p);var z;l=null;for(me in v)if(!p.hasOwnProperty(me)&&v.hasOwnProperty(me)&&v[me]!=null)if(me==="style"){var Y=v[me];for(z in Y)Y.hasOwnProperty(z)&&(l||(l={}),l[z]="")}else me!=="dangerouslySetInnerHTML"&&me!=="children"&&me!=="suppressContentEditableWarning"&&me!=="suppressHydrationWarning"&&me!=="autoFocus"&&(a.hasOwnProperty(me)?E||(E=[]):(E=E||[]).push(me,null));for(me in p){var ne=p[me];if(Y=v!=null?v[me]:void 0,p.hasOwnProperty(me)&&ne!==Y&&(ne!=null||Y!=null))if(me==="style")if(Y){for(z in Y)!Y.hasOwnProperty(z)||ne&&ne.hasOwnProperty(z)||(l||(l={}),l[z]="");for(z in ne)ne.hasOwnProperty(z)&&Y[z]!==ne[z]&&(l||(l={}),l[z]=ne[z])}else l||(E||(E=[]),E.push(me,l)),l=ne;else me==="dangerouslySetInnerHTML"?(ne=ne?ne.__html:void 0,Y=Y?Y.__html:void 0,ne!=null&&Y!==ne&&(E=E||[]).push(me,ne)):me==="children"?typeof ne!="string"&&typeof ne!="number"||(E=E||[]).push(me,""+ne):me!=="suppressContentEditableWarning"&&me!=="suppressHydrationWarning"&&(a.hasOwnProperty(me)?(ne!=null&&me==="onScroll"&&Zt("scroll",r),E||Y===ne||(E=[])):(E=E||[]).push(me,ne))}l&&(E=E||[]).push("style",l);var me=E;(o.updateQueue=me)&&(o.flags|=4)}},qy=function(r,o,l,p){l!==p&&(o.flags|=4)};function el(r,o){if(!rn)switch(r.tailMode){case"hidden":o=r.tail;for(var l=null;o!==null;)o.alternate!==null&&(l=o),o=o.sibling;l===null?r.tail=null:l.sibling=null;break;case"collapsed":l=r.tail;for(var p=null;l!==null;)l.alternate!==null&&(p=l),l=l.sibling;p===null?o||r.tail===null?r.tail=null:r.tail.sibling=null:p.sibling=null}}function _n(r){var o=r.alternate!==null&&r.alternate.child===r.child,l=0,p=0;if(o)for(var v=r.child;v!==null;)l|=v.lanes|v.childLanes,p|=v.subtreeFlags&14680064,p|=v.flags&14680064,v.return=r,v=v.sibling;else for(v=r.child;v!==null;)l|=v.lanes|v.childLanes,p|=v.subtreeFlags,p|=v.flags,v.return=r,v=v.sibling;return r.subtreeFlags|=p,r.childLanes=l,o}function aP(r,o,l){var p=o.pendingProps;switch(Qp(o),o.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _n(o),null;case 1:return tr(o.type)&&Hc(),_n(o),null;case 3:return p=o.stateNode,Ba(),en(er),en(zn),df(),p.pendingContext&&(p.context=p.pendingContext,p.pendingContext=null),(r===null||r.child===null)&&(Kc(o)?o.flags|=4:r===null||r.memoizedState.isDehydrated&&(o.flags&256)===0||(o.flags|=1024,Xr!==null&&(_f(Xr),Xr=null))),$f(r,o),_n(o),null;case 5:cf(o);var v=Bi(Ys.current);if(l=o.type,r!==null&&o.stateNode!=null)Gy(r,o,l,p,v),r.ref!==o.ref&&(o.flags|=512,o.flags|=2097152);else{if(!p){if(o.stateNode===null)throw Error(n(166));return _n(o),null}if(r=Bi(so.current),Kc(o)){p=o.stateNode,l=o.type;var E=o.memoizedProps;switch(p[ao]=o,p[Us]=E,r=(o.mode&1)!==0,l){case"dialog":Zt("cancel",p),Zt("close",p);break;case"iframe":case"object":case"embed":Zt("load",p);break;case"video":case"audio":for(v=0;v<_s.length;v++)Zt(_s[v],p);break;case"source":Zt("error",p);break;case"img":case"image":case"link":Zt("error",p),Zt("load",p);break;case"details":Zt("toggle",p);break;case"input":Ae(p,E),Zt("invalid",p);break;case"select":p._wrapperState={wasMultiple:!!E.multiple},Zt("invalid",p);break;case"textarea":Me(p,E),Zt("invalid",p)}it(l,E),v=null;for(var z in E)if(E.hasOwnProperty(z)){var Y=E[z];z==="children"?typeof Y=="string"?p.textContent!==Y&&(E.suppressHydrationWarning!==!0&&Fc(p.textContent,Y,r),v=["children",Y]):typeof Y=="number"&&p.textContent!==""+Y&&(E.suppressHydrationWarning!==!0&&Fc(p.textContent,Y,r),v=["children",""+Y]):a.hasOwnProperty(z)&&Y!=null&&z==="onScroll"&&Zt("scroll",p)}switch(l){case"input":ge(p),ve(p,E,!0);break;case"textarea":ge(p),pe(p);break;case"select":case"option":break;default:typeof E.onClick=="function"&&(p.onclick=_c)}p=v,o.updateQueue=p,p!==null&&(o.flags|=4)}else{z=v.nodeType===9?v:v.ownerDocument,r==="http://www.w3.org/1999/xhtml"&&(r=ye(l)),r==="http://www.w3.org/1999/xhtml"?l==="script"?(r=z.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild)):typeof p.is=="string"?r=z.createElement(l,{is:p.is}):(r=z.createElement(l),l==="select"&&(z=r,p.multiple?z.multiple=!0:p.size&&(z.size=p.size))):r=z.createElementNS(r,l),r[ao]=o,r[Us]=p,Vy(r,o,!1,!1),o.stateNode=r;e:{switch(z=Et(l,p),l){case"dialog":Zt("cancel",r),Zt("close",r),v=p;break;case"iframe":case"object":case"embed":Zt("load",r),v=p;break;case"video":case"audio":for(v=0;v<_s.length;v++)Zt(_s[v],r);v=p;break;case"source":Zt("error",r),v=p;break;case"img":case"image":case"link":Zt("error",r),Zt("load",r),v=p;break;case"details":Zt("toggle",r),v=p;break;case"input":Ae(r,p),v=Se(r,p),Zt("invalid",r);break;case"option":v=p;break;case"select":r._wrapperState={wasMultiple:!!p.multiple},v=V({},p,{value:void 0}),Zt("invalid",r);break;case"textarea":Me(r,p),v=oe(r,p),Zt("invalid",r);break;default:v=p}it(l,v),Y=v;for(E in Y)if(Y.hasOwnProperty(E)){var ne=Y[E];E==="style"?ht(r,ne):E==="dangerouslySetInnerHTML"?(ne=ne?ne.__html:void 0,ne!=null&&je(r,ne)):E==="children"?typeof ne=="string"?(l!=="textarea"||ne!=="")&&Pe(r,ne):typeof ne=="number"&&Pe(r,""+ne):E!=="suppressContentEditableWarning"&&E!=="suppressHydrationWarning"&&E!=="autoFocus"&&(a.hasOwnProperty(E)?ne!=null&&E==="onScroll"&&Zt("scroll",r):ne!=null&&R(r,E,ne,z))}switch(l){case"input":ge(r),ve(r,p,!1);break;case"textarea":ge(r),pe(r);break;case"option":p.value!=null&&r.setAttribute("value",""+ie(p.value));break;case"select":r.multiple=!!p.multiple,E=p.value,E!=null?be(r,!!p.multiple,E,!1):p.defaultValue!=null&&be(r,!!p.multiple,p.defaultValue,!0);break;default:typeof v.onClick=="function"&&(r.onclick=_c)}switch(l){case"button":case"input":case"select":case"textarea":p=!!p.autoFocus;break e;case"img":p=!0;break e;default:p=!1}}p&&(o.flags|=4)}o.ref!==null&&(o.flags|=512,o.flags|=2097152)}return _n(o),null;case 6:if(r&&o.stateNode!=null)qy(r,o,r.memoizedProps,p);else{if(typeof p!="string"&&o.stateNode===null)throw Error(n(166));if(l=Bi(Ys.current),Bi(so.current),Kc(o)){if(p=o.stateNode,l=o.memoizedProps,p[ao]=o,(E=p.nodeValue!==l)&&(r=hr,r!==null))switch(r.tag){case 3:Fc(p.nodeValue,l,(r.mode&1)!==0);break;case 5:r.memoizedProps.suppressHydrationWarning!==!0&&Fc(p.nodeValue,l,(r.mode&1)!==0)}E&&(o.flags|=4)}else p=(l.nodeType===9?l:l.ownerDocument).createTextNode(p),p[ao]=o,o.stateNode=p}return _n(o),null;case 13:if(en(pn),p=o.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(rn&&vr!==null&&(o.mode&1)!==0&&(o.flags&128)===0)Xv(),Aa(),o.flags|=98560,E=!1;else if(E=Kc(o),p!==null&&p.dehydrated!==null){if(r===null){if(!E)throw Error(n(318));if(E=o.memoizedState,E=E!==null?E.dehydrated:null,!E)throw Error(n(317));E[ao]=o}else Aa(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;_n(o),E=!1}else Xr!==null&&(_f(Xr),Xr=null),E=!0;if(!E)return o.flags&65536?o:null}return(o.flags&128)!==0?(o.lanes=l,o):(p=p!==null,p!==(r!==null&&r.memoizedState!==null)&&p&&(o.child.flags|=8192,(o.mode&1)!==0&&(r===null||(pn.current&1)!==0?Tn===0&&(Tn=3):Uf())),o.updateQueue!==null&&(o.flags|=4),_n(o),null);case 4:return Ba(),$f(r,o),r===null&&Ws(o.stateNode.containerInfo),_n(o),null;case 10:return rf(o.type._context),_n(o),null;case 17:return tr(o.type)&&Hc(),_n(o),null;case 19:if(en(pn),E=o.memoizedState,E===null)return _n(o),null;if(p=(o.flags&128)!==0,z=E.rendering,z===null)if(p)el(E,!1);else{if(Tn!==0||r!==null&&(r.flags&128)!==0)for(r=o.child;r!==null;){if(z=eu(r),z!==null){for(o.flags|=128,el(E,!1),p=z.updateQueue,p!==null&&(o.updateQueue=p,o.flags|=4),o.subtreeFlags=0,p=l,l=o.child;l!==null;)E=l,r=p,E.flags&=14680066,z=E.alternate,z===null?(E.childLanes=0,E.lanes=r,E.child=null,E.subtreeFlags=0,E.memoizedProps=null,E.memoizedState=null,E.updateQueue=null,E.dependencies=null,E.stateNode=null):(E.childLanes=z.childLanes,E.lanes=z.lanes,E.child=z.child,E.subtreeFlags=0,E.deletions=null,E.memoizedProps=z.memoizedProps,E.memoizedState=z.memoizedState,E.updateQueue=z.updateQueue,E.type=z.type,r=z.dependencies,E.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),l=l.sibling;return Xt(pn,pn.current&1|2),o.child}r=r.sibling}E.tail!==null&&dn()>_a&&(o.flags|=128,p=!0,el(E,!1),o.lanes=4194304)}else{if(!p)if(r=eu(z),r!==null){if(o.flags|=128,p=!0,l=r.updateQueue,l!==null&&(o.updateQueue=l,o.flags|=4),el(E,!0),E.tail===null&&E.tailMode==="hidden"&&!z.alternate&&!rn)return _n(o),null}else 2*dn()-E.renderingStartTime>_a&&l!==1073741824&&(o.flags|=128,p=!0,el(E,!1),o.lanes=4194304);E.isBackwards?(z.sibling=o.child,o.child=z):(l=E.last,l!==null?l.sibling=z:o.child=z,E.last=z)}return E.tail!==null?(o=E.tail,E.rendering=o,E.tail=o.sibling,E.renderingStartTime=dn(),o.sibling=null,l=pn.current,Xt(pn,p?l&1|2:l&1),o):(_n(o),null);case 22:case 23:return Hf(),p=o.memoizedState!==null,r!==null&&r.memoizedState!==null!==p&&(o.flags|=8192),p&&(o.mode&1)!==0?(yr&1073741824)!==0&&(_n(o),o.subtreeFlags&6&&(o.flags|=8192)):_n(o),null;case 24:return null;case 25:return null}throw Error(n(156,o.tag))}function sP(r,o){switch(Qp(o),o.tag){case 1:return tr(o.type)&&Hc(),r=o.flags,r&65536?(o.flags=r&-65537|128,o):null;case 3:return Ba(),en(er),en(zn),df(),r=o.flags,(r&65536)!==0&&(r&128)===0?(o.flags=r&-65537|128,o):null;case 5:return cf(o),null;case 13:if(en(pn),r=o.memoizedState,r!==null&&r.dehydrated!==null){if(o.alternate===null)throw Error(n(340));Aa()}return r=o.flags,r&65536?(o.flags=r&-65537|128,o):null;case 19:return en(pn),null;case 4:return Ba(),null;case 10:return rf(o.type._context),null;case 22:case 23:return Hf(),null;case 24:return null;default:return null}}var cu=!1,Wn=!1,lP=typeof WeakSet=="function"?WeakSet:Set,Je=null;function za(r,o){var l=r.ref;if(l!==null)if(typeof l=="function")try{l(null)}catch(p){hn(r,o,p)}else l.current=null}function Mf(r,o,l){try{l()}catch(p){hn(r,o,p)}}var Ky=!1;function cP(r,o){if(Wp=Ic,r=Pv(),jp(r)){if("selectionStart"in r)var l={start:r.selectionStart,end:r.selectionEnd};else e:{l=(l=r.ownerDocument)&&l.defaultView||window;var p=l.getSelection&&l.getSelection();if(p&&p.rangeCount!==0){l=p.anchorNode;var v=p.anchorOffset,E=p.focusNode;p=p.focusOffset;try{l.nodeType,E.nodeType}catch{l=null;break e}var z=0,Y=-1,ne=-1,me=0,_e=0,We=r,ze=null;t:for(;;){for(var Ye;We!==l||v!==0&&We.nodeType!==3||(Y=z+v),We!==E||p!==0&&We.nodeType!==3||(ne=z+p),We.nodeType===3&&(z+=We.nodeValue.length),(Ye=We.firstChild)!==null;)ze=We,We=Ye;for(;;){if(We===r)break t;if(ze===l&&++me===v&&(Y=z),ze===E&&++_e===p&&(ne=z),(Ye=We.nextSibling)!==null)break;We=ze,ze=We.parentNode}We=Ye}l=Y===-1||ne===-1?null:{start:Y,end:ne}}else l=null}l=l||{start:0,end:0}}else l=null;for(Hp={focusedElem:r,selectionRange:l},Ic=!1,Je=o;Je!==null;)if(o=Je,r=o.child,(o.subtreeFlags&1028)!==0&&r!==null)r.return=o,Je=r;else for(;Je!==null;){o=Je;try{var Ze=o.alternate;if((o.flags&1024)!==0)switch(o.tag){case 0:case 11:case 15:break;case 1:if(Ze!==null){var et=Ze.memoizedProps,bn=Ze.memoizedState,le=o.stateNode,re=le.getSnapshotBeforeUpdate(o.elementType===o.type?et:Qr(o.type,et),bn);le.__reactInternalSnapshotBeforeUpdate=re}break;case 3:var de=o.stateNode.containerInfo;de.nodeType===1?de.textContent="":de.nodeType===9&&de.documentElement&&de.removeChild(de.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Ue){hn(o,o.return,Ue)}if(r=o.sibling,r!==null){r.return=o.return,Je=r;break}Je=o.return}return Ze=Ky,Ky=!1,Ze}function tl(r,o,l){var p=o.updateQueue;if(p=p!==null?p.lastEffect:null,p!==null){var v=p=p.next;do{if((v.tag&r)===r){var E=v.destroy;v.destroy=void 0,E!==void 0&&Mf(o,l,E)}v=v.next}while(v!==p)}}function uu(r,o){if(o=o.updateQueue,o=o!==null?o.lastEffect:null,o!==null){var l=o=o.next;do{if((l.tag&r)===r){var p=l.create;l.destroy=p()}l=l.next}while(l!==o)}}function Of(r){var o=r.ref;if(o!==null){var l=r.stateNode;switch(r.tag){case 5:r=l;break;default:r=l}typeof o=="function"?o(r):o.current=r}}function Yy(r){var o=r.alternate;o!==null&&(r.alternate=null,Yy(o)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(o=r.stateNode,o!==null&&(delete o[ao],delete o[Us],delete o[qp],delete o[VR],delete o[GR])),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function Xy(r){return r.tag===5||r.tag===3||r.tag===4}function Qy(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||Xy(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function Af(r,o,l){var p=r.tag;if(p===5||p===6)r=r.stateNode,o?l.nodeType===8?l.parentNode.insertBefore(r,o):l.insertBefore(r,o):(l.nodeType===8?(o=l.parentNode,o.insertBefore(r,l)):(o=l,o.appendChild(r)),l=l._reactRootContainer,l!=null||o.onclick!==null||(o.onclick=_c));else if(p!==4&&(r=r.child,r!==null))for(Af(r,o,l),r=r.sibling;r!==null;)Af(r,o,l),r=r.sibling}function jf(r,o,l){var p=r.tag;if(p===5||p===6)r=r.stateNode,o?l.insertBefore(r,o):l.appendChild(r);else if(p!==4&&(r=r.child,r!==null))for(jf(r,o,l),r=r.sibling;r!==null;)jf(r,o,l),r=r.sibling}var Nn=null,Jr=!1;function li(r,o,l){for(l=l.child;l!==null;)Jy(r,o,l),l=l.sibling}function Jy(r,o,l){if(Ir&&typeof Ir.onCommitFiberUnmount=="function")try{Ir.onCommitFiberUnmount(io,l)}catch{}switch(l.tag){case 5:Wn||za(l,o);case 6:var p=Nn,v=Jr;Nn=null,li(r,o,l),Nn=p,Jr=v,Nn!==null&&(Jr?(r=Nn,l=l.stateNode,r.nodeType===8?r.parentNode.removeChild(l):r.removeChild(l)):Nn.removeChild(l.stateNode));break;case 18:Nn!==null&&(Jr?(r=Nn,l=l.stateNode,r.nodeType===8?Gp(r.parentNode,l):r.nodeType===1&&Gp(r,l),As(r)):Gp(Nn,l.stateNode));break;case 4:p=Nn,v=Jr,Nn=l.stateNode.containerInfo,Jr=!0,li(r,o,l),Nn=p,Jr=v;break;case 0:case 11:case 14:case 15:if(!Wn&&(p=l.updateQueue,p!==null&&(p=p.lastEffect,p!==null))){v=p=p.next;do{var E=v,z=E.destroy;E=E.tag,z!==void 0&&((E&2)!==0||(E&4)!==0)&&Mf(l,o,z),v=v.next}while(v!==p)}li(r,o,l);break;case 1:if(!Wn&&(za(l,o),p=l.stateNode,typeof p.componentWillUnmount=="function"))try{p.props=l.memoizedProps,p.state=l.memoizedState,p.componentWillUnmount()}catch(Y){hn(l,o,Y)}li(r,o,l);break;case 21:li(r,o,l);break;case 22:l.mode&1?(Wn=(p=Wn)||l.memoizedState!==null,li(r,o,l),Wn=p):li(r,o,l);break;default:li(r,o,l)}}function Zy(r){var o=r.updateQueue;if(o!==null){r.updateQueue=null;var l=r.stateNode;l===null&&(l=r.stateNode=new lP),o.forEach(function(p){var v=yP.bind(null,r,p);l.has(p)||(l.add(p),p.then(v,v))})}}function Zr(r,o){var l=o.deletions;if(l!==null)for(var p=0;p<l.length;p++){var v=l[p];try{var E=r,z=o,Y=z;e:for(;Y!==null;){switch(Y.tag){case 5:Nn=Y.stateNode,Jr=!1;break e;case 3:Nn=Y.stateNode.containerInfo,Jr=!0;break e;case 4:Nn=Y.stateNode.containerInfo,Jr=!0;break e}Y=Y.return}if(Nn===null)throw Error(n(160));Jy(E,z,v),Nn=null,Jr=!1;var ne=v.alternate;ne!==null&&(ne.return=null),v.return=null}catch(me){hn(v,o,me)}}if(o.subtreeFlags&12854)for(o=o.child;o!==null;)e0(o,r),o=o.sibling}function e0(r,o){var l=r.alternate,p=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:if(Zr(o,r),co(r),p&4){try{tl(3,r,r.return),uu(3,r)}catch(et){hn(r,r.return,et)}try{tl(5,r,r.return)}catch(et){hn(r,r.return,et)}}break;case 1:Zr(o,r),co(r),p&512&&l!==null&&za(l,l.return);break;case 5:if(Zr(o,r),co(r),p&512&&l!==null&&za(l,l.return),r.flags&32){var v=r.stateNode;try{Pe(v,"")}catch(et){hn(r,r.return,et)}}if(p&4&&(v=r.stateNode,v!=null)){var E=r.memoizedProps,z=l!==null?l.memoizedProps:E,Y=r.type,ne=r.updateQueue;if(r.updateQueue=null,ne!==null)try{Y==="input"&&E.type==="radio"&&E.name!=null&&He(v,E),Et(Y,z);var me=Et(Y,E);for(z=0;z<ne.length;z+=2){var _e=ne[z],We=ne[z+1];_e==="style"?ht(v,We):_e==="dangerouslySetInnerHTML"?je(v,We):_e==="children"?Pe(v,We):R(v,_e,We,me)}switch(Y){case"input":fe(v,E);break;case"textarea":Re(v,E);break;case"select":var ze=v._wrapperState.wasMultiple;v._wrapperState.wasMultiple=!!E.multiple;var Ye=E.value;Ye!=null?be(v,!!E.multiple,Ye,!1):ze!==!!E.multiple&&(E.defaultValue!=null?be(v,!!E.multiple,E.defaultValue,!0):be(v,!!E.multiple,E.multiple?[]:"",!1))}v[Us]=E}catch(et){hn(r,r.return,et)}}break;case 6:if(Zr(o,r),co(r),p&4){if(r.stateNode===null)throw Error(n(162));v=r.stateNode,E=r.memoizedProps;try{v.nodeValue=E}catch(et){hn(r,r.return,et)}}break;case 3:if(Zr(o,r),co(r),p&4&&l!==null&&l.memoizedState.isDehydrated)try{As(o.containerInfo)}catch(et){hn(r,r.return,et)}break;case 4:Zr(o,r),co(r);break;case 13:Zr(o,r),co(r),v=r.child,v.flags&8192&&(E=v.memoizedState!==null,v.stateNode.isHidden=E,!E||v.alternate!==null&&v.alternate.memoizedState!==null||(Bf=dn())),p&4&&Zy(r);break;case 22:if(_e=l!==null&&l.memoizedState!==null,r.mode&1?(Wn=(me=Wn)||_e,Zr(o,r),Wn=me):Zr(o,r),co(r),p&8192){if(me=r.memoizedState!==null,(r.stateNode.isHidden=me)&&!_e&&(r.mode&1)!==0)for(Je=r,_e=r.child;_e!==null;){for(We=Je=_e;Je!==null;){switch(ze=Je,Ye=ze.child,ze.tag){case 0:case 11:case 14:case 15:tl(4,ze,ze.return);break;case 1:za(ze,ze.return);var Ze=ze.stateNode;if(typeof Ze.componentWillUnmount=="function"){p=ze,l=ze.return;try{o=p,Ze.props=o.memoizedProps,Ze.state=o.memoizedState,Ze.componentWillUnmount()}catch(et){hn(p,l,et)}}break;case 5:za(ze,ze.return);break;case 22:if(ze.memoizedState!==null){r0(We);continue}}Ye!==null?(Ye.return=ze,Je=Ye):r0(We)}_e=_e.sibling}e:for(_e=null,We=r;;){if(We.tag===5){if(_e===null){_e=We;try{v=We.stateNode,me?(E=v.style,typeof E.setProperty=="function"?E.setProperty("display","none","important"):E.display="none"):(Y=We.stateNode,ne=We.memoizedProps.style,z=ne!=null&&ne.hasOwnProperty("display")?ne.display:null,Y.style.display=Ke("display",z))}catch(et){hn(r,r.return,et)}}}else if(We.tag===6){if(_e===null)try{We.stateNode.nodeValue=me?"":We.memoizedProps}catch(et){hn(r,r.return,et)}}else if((We.tag!==22&&We.tag!==23||We.memoizedState===null||We===r)&&We.child!==null){We.child.return=We,We=We.child;continue}if(We===r)break e;for(;We.sibling===null;){if(We.return===null||We.return===r)break e;_e===We&&(_e=null),We=We.return}_e===We&&(_e=null),We.sibling.return=We.return,We=We.sibling}}break;case 19:Zr(o,r),co(r),p&4&&Zy(r);break;case 21:break;default:Zr(o,r),co(r)}}function co(r){var o=r.flags;if(o&2){try{e:{for(var l=r.return;l!==null;){if(Xy(l)){var p=l;break e}l=l.return}throw Error(n(160))}switch(p.tag){case 5:var v=p.stateNode;p.flags&32&&(Pe(v,""),p.flags&=-33);var E=Qy(r);jf(r,E,v);break;case 3:case 4:var z=p.stateNode.containerInfo,Y=Qy(r);Af(r,Y,z);break;default:throw Error(n(161))}}catch(ne){hn(r,r.return,ne)}r.flags&=-3}o&4096&&(r.flags&=-4097)}function uP(r,o,l){Je=r,t0(r)}function t0(r,o,l){for(var p=(r.mode&1)!==0;Je!==null;){var v=Je,E=v.child;if(v.tag===22&&p){var z=v.memoizedState!==null||cu;if(!z){var Y=v.alternate,ne=Y!==null&&Y.memoizedState!==null||Wn;Y=cu;var me=Wn;if(cu=z,(Wn=ne)&&!me)for(Je=v;Je!==null;)z=Je,ne=z.child,z.tag===22&&z.memoizedState!==null?o0(v):ne!==null?(ne.return=z,Je=ne):o0(v);for(;E!==null;)Je=E,t0(E),E=E.sibling;Je=v,cu=Y,Wn=me}n0(r)}else(v.subtreeFlags&8772)!==0&&E!==null?(E.return=v,Je=E):n0(r)}}function n0(r){for(;Je!==null;){var o=Je;if((o.flags&8772)!==0){var l=o.alternate;try{if((o.flags&8772)!==0)switch(o.tag){case 0:case 11:case 15:Wn||uu(5,o);break;case 1:var p=o.stateNode;if(o.flags&4&&!Wn)if(l===null)p.componentDidMount();else{var v=o.elementType===o.type?l.memoizedProps:Qr(o.type,l.memoizedProps);p.componentDidUpdate(v,l.memoizedState,p.__reactInternalSnapshotBeforeUpdate)}var E=o.updateQueue;E!==null&&ry(o,E,p);break;case 3:var z=o.updateQueue;if(z!==null){if(l=null,o.child!==null)switch(o.child.tag){case 5:l=o.child.stateNode;break;case 1:l=o.child.stateNode}ry(o,z,l)}break;case 5:var Y=o.stateNode;if(l===null&&o.flags&4){l=Y;var ne=o.memoizedProps;switch(o.type){case"button":case"input":case"select":case"textarea":ne.autoFocus&&l.focus();break;case"img":ne.src&&(l.src=ne.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(o.memoizedState===null){var me=o.alternate;if(me!==null){var _e=me.memoizedState;if(_e!==null){var We=_e.dehydrated;We!==null&&As(We)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}Wn||o.flags&512&&Of(o)}catch(ze){hn(o,o.return,ze)}}if(o===r){Je=null;break}if(l=o.sibling,l!==null){l.return=o.return,Je=l;break}Je=o.return}}function r0(r){for(;Je!==null;){var o=Je;if(o===r){Je=null;break}var l=o.sibling;if(l!==null){l.return=o.return,Je=l;break}Je=o.return}}function o0(r){for(;Je!==null;){var o=Je;try{switch(o.tag){case 0:case 11:case 15:var l=o.return;try{uu(4,o)}catch(ne){hn(o,l,ne)}break;case 1:var p=o.stateNode;if(typeof p.componentDidMount=="function"){var v=o.return;try{p.componentDidMount()}catch(ne){hn(o,v,ne)}}var E=o.return;try{Of(o)}catch(ne){hn(o,E,ne)}break;case 5:var z=o.return;try{Of(o)}catch(ne){hn(o,z,ne)}}}catch(ne){hn(o,o.return,ne)}if(o===r){Je=null;break}var Y=o.sibling;if(Y!==null){Y.return=o.return,Je=Y;break}Je=o.return}}var dP=Math.ceil,du=I.ReactCurrentDispatcher,Lf=I.ReactCurrentOwner,jr=I.ReactCurrentBatchConfig,At=0,An=null,kn=null,Bn=0,yr=0,Fa=ri(0),Tn=0,nl=null,zi=0,pu=0,Nf=0,rl=null,rr=null,Bf=0,_a=1/0,$o=null,fu=!1,Df=null,ci=null,mu=!1,ui=null,gu=0,ol=0,zf=null,hu=-1,vu=0;function Kn(){return(At&6)!==0?dn():hu!==-1?hu:hu=dn()}function di(r){return(r.mode&1)===0?1:(At&2)!==0&&Bn!==0?Bn&-Bn:KR.transition!==null?(vu===0&&(vu=Qh()),vu):(r=Wt,r!==0||(r=window.event,r=r===void 0?16:av(r.type)),r)}function eo(r,o,l,p){if(50<ol)throw ol=0,zf=null,Error(n(185));Es(r,l,p),((At&2)===0||r!==An)&&(r===An&&((At&2)===0&&(pu|=l),Tn===4&&pi(r,Bn)),or(r,p),l===1&&At===0&&(o.mode&1)===0&&(_a=dn()+500,Vc&&ii()))}function or(r,o){var l=r.callbackNode;K2(r,o);var p=Pc(r,r===An?Bn:0);if(p===0)l!==null&&un(l),r.callbackNode=null,r.callbackPriority=0;else if(o=p&-p,r.callbackPriority!==o){if(l!=null&&un(l),o===1)r.tag===0?qR(a0.bind(null,r)):Vv(a0.bind(null,r)),HR(function(){(At&6)===0&&ii()}),l=null;else{switch(Jh(p)){case 1:l=Yo;break;case 4:l=Mi;break;case 16:l=It;break;case 536870912:l=qr;break;default:l=It}l=m0(l,i0.bind(null,r))}r.callbackPriority=o,r.callbackNode=l}}function i0(r,o){if(hu=-1,vu=0,(At&6)!==0)throw Error(n(327));var l=r.callbackNode;if(Wa()&&r.callbackNode!==l)return null;var p=Pc(r,r===An?Bn:0);if(p===0)return null;if((p&30)!==0||(p&r.expiredLanes)!==0||o)o=yu(r,p);else{o=p;var v=At;At|=2;var E=l0();(An!==r||Bn!==o)&&($o=null,_a=dn()+500,_i(r,o));do try{mP();break}catch(Y){s0(r,Y)}while(!0);nf(),du.current=E,At=v,kn!==null?o=0:(An=null,Bn=0,o=Tn)}if(o!==0){if(o===2&&(v=yp(r),v!==0&&(p=v,o=Ff(r,v))),o===1)throw l=nl,_i(r,0),pi(r,p),or(r,dn()),l;if(o===6)pi(r,p);else{if(v=r.current.alternate,(p&30)===0&&!pP(v)&&(o=yu(r,p),o===2&&(E=yp(r),E!==0&&(p=E,o=Ff(r,E))),o===1))throw l=nl,_i(r,0),pi(r,p),or(r,dn()),l;switch(r.finishedWork=v,r.finishedLanes=p,o){case 0:case 1:throw Error(n(345));case 2:Wi(r,rr,$o);break;case 3:if(pi(r,p),(p&130023424)===p&&(o=Bf+500-dn(),10<o)){if(Pc(r,0)!==0)break;if(v=r.suspendedLanes,(v&p)!==p){Kn(),r.pingedLanes|=r.suspendedLanes&v;break}r.timeoutHandle=Vp(Wi.bind(null,r,rr,$o),o);break}Wi(r,rr,$o);break;case 4:if(pi(r,p),(p&4194240)===p)break;for(o=r.eventTimes,v=-1;0<p;){var z=31-Kr(p);E=1<<z,z=o[z],z>v&&(v=z),p&=~E}if(p=v,p=dn()-p,p=(120>p?120:480>p?480:1080>p?1080:1920>p?1920:3e3>p?3e3:4320>p?4320:1960*dP(p/1960))-p,10<p){r.timeoutHandle=Vp(Wi.bind(null,r,rr,$o),p);break}Wi(r,rr,$o);break;case 5:Wi(r,rr,$o);break;default:throw Error(n(329))}}}return or(r,dn()),r.callbackNode===l?i0.bind(null,r):null}function Ff(r,o){var l=rl;return r.current.memoizedState.isDehydrated&&(_i(r,o).flags|=256),r=yu(r,o),r!==2&&(o=rr,rr=l,o!==null&&_f(o)),r}function _f(r){rr===null?rr=r:rr.push.apply(rr,r)}function pP(r){for(var o=r;;){if(o.flags&16384){var l=o.updateQueue;if(l!==null&&(l=l.stores,l!==null))for(var p=0;p<l.length;p++){var v=l[p],E=v.getSnapshot;v=v.value;try{if(!Yr(E(),v))return!1}catch{return!1}}}if(l=o.child,o.subtreeFlags&16384&&l!==null)l.return=o,o=l;else{if(o===r)break;for(;o.sibling===null;){if(o.return===null||o.return===r)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function pi(r,o){for(o&=~Nf,o&=~pu,r.suspendedLanes|=o,r.pingedLanes&=~o,r=r.expirationTimes;0<o;){var l=31-Kr(o),p=1<<l;r[l]=-1,o&=~p}}function a0(r){if((At&6)!==0)throw Error(n(327));Wa();var o=Pc(r,0);if((o&1)===0)return or(r,dn()),null;var l=yu(r,o);if(r.tag!==0&&l===2){var p=yp(r);p!==0&&(o=p,l=Ff(r,p))}if(l===1)throw l=nl,_i(r,0),pi(r,o),or(r,dn()),l;if(l===6)throw Error(n(345));return r.finishedWork=r.current.alternate,r.finishedLanes=o,Wi(r,rr,$o),or(r,dn()),null}function Wf(r,o){var l=At;At|=1;try{return r(o)}finally{At=l,At===0&&(_a=dn()+500,Vc&&ii())}}function Fi(r){ui!==null&&ui.tag===0&&(At&6)===0&&Wa();var o=At;At|=1;var l=jr.transition,p=Wt;try{if(jr.transition=null,Wt=1,r)return r()}finally{Wt=p,jr.transition=l,At=o,(At&6)===0&&ii()}}function Hf(){yr=Fa.current,en(Fa)}function _i(r,o){r.finishedWork=null,r.finishedLanes=0;var l=r.timeoutHandle;if(l!==-1&&(r.timeoutHandle=-1,WR(l)),kn!==null)for(l=kn.return;l!==null;){var p=l;switch(Qp(p),p.tag){case 1:p=p.type.childContextTypes,p!=null&&Hc();break;case 3:Ba(),en(er),en(zn),df();break;case 5:cf(p);break;case 4:Ba();break;case 13:en(pn);break;case 19:en(pn);break;case 10:rf(p.type._context);break;case 22:case 23:Hf()}l=l.return}if(An=r,kn=r=fi(r.current,null),Bn=yr=o,Tn=0,nl=null,Nf=pu=zi=0,rr=rl=null,Ni!==null){for(o=0;o<Ni.length;o++)if(l=Ni[o],p=l.interleaved,p!==null){l.interleaved=null;var v=p.next,E=l.pending;if(E!==null){var z=E.next;E.next=v,p.next=z}l.pending=p}Ni=null}return r}function s0(r,o){do{var l=kn;try{if(nf(),tu.current=iu,nu){for(var p=fn.memoizedState;p!==null;){var v=p.queue;v!==null&&(v.pending=null),p=p.next}nu=!1}if(Di=0,On=Pn=fn=null,Xs=!1,Qs=0,Lf.current=null,l===null||l.return===null){Tn=1,nl=o,kn=null;break}e:{var E=r,z=l.return,Y=l,ne=o;if(o=Bn,Y.flags|=32768,ne!==null&&typeof ne=="object"&&typeof ne.then=="function"){var me=ne,_e=Y,We=_e.tag;if((_e.mode&1)===0&&(We===0||We===11||We===15)){var ze=_e.alternate;ze?(_e.updateQueue=ze.updateQueue,_e.memoizedState=ze.memoizedState,_e.lanes=ze.lanes):(_e.updateQueue=null,_e.memoizedState=null)}var Ye=Oy(z);if(Ye!==null){Ye.flags&=-257,Ay(Ye,z,Y,E,o),Ye.mode&1&&My(E,me,o),o=Ye,ne=me;var Ze=o.updateQueue;if(Ze===null){var et=new Set;et.add(ne),o.updateQueue=et}else Ze.add(ne);break e}else{if((o&1)===0){My(E,me,o),Uf();break e}ne=Error(n(426))}}else if(rn&&Y.mode&1){var bn=Oy(z);if(bn!==null){(bn.flags&65536)===0&&(bn.flags|=256),Ay(bn,z,Y,E,o),ef(Da(ne,Y));break e}}E=ne=Da(ne,Y),Tn!==4&&(Tn=2),rl===null?rl=[E]:rl.push(E),E=z;do{switch(E.tag){case 3:E.flags|=65536,o&=-o,E.lanes|=o;var le=Iy(E,ne,o);ny(E,le);break e;case 1:Y=ne;var re=E.type,de=E.stateNode;if((E.flags&128)===0&&(typeof re.getDerivedStateFromError=="function"||de!==null&&typeof de.componentDidCatch=="function"&&(ci===null||!ci.has(de)))){E.flags|=65536,o&=-o,E.lanes|=o;var Ue=$y(E,Y,o);ny(E,Ue);break e}}E=E.return}while(E!==null)}u0(l)}catch(rt){o=rt,kn===l&&l!==null&&(kn=l=l.return);continue}break}while(!0)}function l0(){var r=du.current;return du.current=iu,r===null?iu:r}function Uf(){(Tn===0||Tn===3||Tn===2)&&(Tn=4),An===null||(zi&268435455)===0&&(pu&268435455)===0||pi(An,Bn)}function yu(r,o){var l=At;At|=2;var p=l0();(An!==r||Bn!==o)&&($o=null,_i(r,o));do try{fP();break}catch(v){s0(r,v)}while(!0);if(nf(),At=l,du.current=p,kn!==null)throw Error(n(261));return An=null,Bn=0,Tn}function fP(){for(;kn!==null;)c0(kn)}function mP(){for(;kn!==null&&!Zn();)c0(kn)}function c0(r){var o=f0(r.alternate,r,yr);r.memoizedProps=r.pendingProps,o===null?u0(r):kn=o,Lf.current=null}function u0(r){var o=r;do{var l=o.alternate;if(r=o.return,(o.flags&32768)===0){if(l=aP(l,o,yr),l!==null){kn=l;return}}else{if(l=sP(l,o),l!==null){l.flags&=32767,kn=l;return}if(r!==null)r.flags|=32768,r.subtreeFlags=0,r.deletions=null;else{Tn=6,kn=null;return}}if(o=o.sibling,o!==null){kn=o;return}kn=o=r}while(o!==null);Tn===0&&(Tn=5)}function Wi(r,o,l){var p=Wt,v=jr.transition;try{jr.transition=null,Wt=1,gP(r,o,l,p)}finally{jr.transition=v,Wt=p}return null}function gP(r,o,l,p){do Wa();while(ui!==null);if((At&6)!==0)throw Error(n(327));l=r.finishedWork;var v=r.finishedLanes;if(l===null)return null;if(r.finishedWork=null,r.finishedLanes=0,l===r.current)throw Error(n(177));r.callbackNode=null,r.callbackPriority=0;var E=l.lanes|l.childLanes;if(Y2(r,E),r===An&&(kn=An=null,Bn=0),(l.subtreeFlags&2064)===0&&(l.flags&2064)===0||mu||(mu=!0,m0(It,function(){return Wa(),null})),E=(l.flags&15990)!==0,(l.subtreeFlags&15990)!==0||E){E=jr.transition,jr.transition=null;var z=Wt;Wt=1;var Y=At;At|=4,Lf.current=null,cP(r,l),e0(l,r),LR(Hp),Ic=!!Wp,Hp=Wp=null,r.current=l,uP(l),Ps(),At=Y,Wt=z,jr.transition=E}else r.current=l;if(mu&&(mu=!1,ui=r,gu=v),E=r.pendingLanes,E===0&&(ci=null),H2(l.stateNode),or(r,dn()),o!==null)for(p=r.onRecoverableError,l=0;l<o.length;l++)v=o[l],p(v.value,{componentStack:v.stack,digest:v.digest});if(fu)throw fu=!1,r=Df,Df=null,r;return(gu&1)!==0&&r.tag!==0&&Wa(),E=r.pendingLanes,(E&1)!==0?r===zf?ol++:(ol=0,zf=r):ol=0,ii(),null}function Wa(){if(ui!==null){var r=Jh(gu),o=jr.transition,l=Wt;try{if(jr.transition=null,Wt=16>r?16:r,ui===null)var p=!1;else{if(r=ui,ui=null,gu=0,(At&6)!==0)throw Error(n(331));var v=At;for(At|=4,Je=r.current;Je!==null;){var E=Je,z=E.child;if((Je.flags&16)!==0){var Y=E.deletions;if(Y!==null){for(var ne=0;ne<Y.length;ne++){var me=Y[ne];for(Je=me;Je!==null;){var _e=Je;switch(_e.tag){case 0:case 11:case 15:tl(8,_e,E)}var We=_e.child;if(We!==null)We.return=_e,Je=We;else for(;Je!==null;){_e=Je;var ze=_e.sibling,Ye=_e.return;if(Yy(_e),_e===me){Je=null;break}if(ze!==null){ze.return=Ye,Je=ze;break}Je=Ye}}}var Ze=E.alternate;if(Ze!==null){var et=Ze.child;if(et!==null){Ze.child=null;do{var bn=et.sibling;et.sibling=null,et=bn}while(et!==null)}}Je=E}}if((E.subtreeFlags&2064)!==0&&z!==null)z.return=E,Je=z;else e:for(;Je!==null;){if(E=Je,(E.flags&2048)!==0)switch(E.tag){case 0:case 11:case 15:tl(9,E,E.return)}var le=E.sibling;if(le!==null){le.return=E.return,Je=le;break e}Je=E.return}}var re=r.current;for(Je=re;Je!==null;){z=Je;var de=z.child;if((z.subtreeFlags&2064)!==0&&de!==null)de.return=z,Je=de;else e:for(z=re;Je!==null;){if(Y=Je,(Y.flags&2048)!==0)try{switch(Y.tag){case 0:case 11:case 15:uu(9,Y)}}catch(rt){hn(Y,Y.return,rt)}if(Y===z){Je=null;break e}var Ue=Y.sibling;if(Ue!==null){Ue.return=Y.return,Je=Ue;break e}Je=Y.return}}if(At=v,ii(),Ir&&typeof Ir.onPostCommitFiberRoot=="function")try{Ir.onPostCommitFiberRoot(io,r)}catch{}p=!0}return p}finally{Wt=l,jr.transition=o}}return!1}function d0(r,o,l){o=Da(l,o),o=Iy(r,o,1),r=si(r,o,1),o=Kn(),r!==null&&(Es(r,1,o),or(r,o))}function hn(r,o,l){if(r.tag===3)d0(r,r,l);else for(;o!==null;){if(o.tag===3){d0(o,r,l);break}else if(o.tag===1){var p=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof p.componentDidCatch=="function"&&(ci===null||!ci.has(p))){r=Da(l,r),r=$y(o,r,1),o=si(o,r,1),r=Kn(),o!==null&&(Es(o,1,r),or(o,r));break}}o=o.return}}function hP(r,o,l){var p=r.pingCache;p!==null&&p.delete(o),o=Kn(),r.pingedLanes|=r.suspendedLanes&l,An===r&&(Bn&l)===l&&(Tn===4||Tn===3&&(Bn&130023424)===Bn&&500>dn()-Bf?_i(r,0):Nf|=l),or(r,o)}function p0(r,o){o===0&&((r.mode&1)===0?o=1:(o=Rc,Rc<<=1,(Rc&130023424)===0&&(Rc=4194304)));var l=Kn();r=To(r,o),r!==null&&(Es(r,o,l),or(r,l))}function vP(r){var o=r.memoizedState,l=0;o!==null&&(l=o.retryLane),p0(r,l)}function yP(r,o){var l=0;switch(r.tag){case 13:var p=r.stateNode,v=r.memoizedState;v!==null&&(l=v.retryLane);break;case 19:p=r.stateNode;break;default:throw Error(n(314))}p!==null&&p.delete(o),p0(r,l)}var f0;f0=function(r,o,l){if(r!==null)if(r.memoizedProps!==o.pendingProps||er.current)nr=!0;else{if((r.lanes&l)===0&&(o.flags&128)===0)return nr=!1,iP(r,o,l);nr=(r.flags&131072)!==0}else nr=!1,rn&&(o.flags&1048576)!==0&&Gv(o,qc,o.index);switch(o.lanes=0,o.tag){case 2:var p=o.type;lu(r,o),r=o.pendingProps;var v=$a(o,zn.current);Na(o,l),v=mf(null,o,p,r,v,l);var E=gf();return o.flags|=1,typeof v=="object"&&v!==null&&typeof v.render=="function"&&v.$$typeof===void 0?(o.tag=1,o.memoizedState=null,o.updateQueue=null,tr(p)?(E=!0,Uc(o)):E=!1,o.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,sf(o),v.updater=au,o.stateNode=v,v._reactInternals=o,Sf(o,p,r,l),o=Rf(null,o,p,!0,E,l)):(o.tag=0,rn&&E&&Xp(o),qn(null,o,v,l),o=o.child),o;case 16:p=o.elementType;e:{switch(lu(r,o),r=o.pendingProps,v=p._init,p=v(p._payload),o.type=p,v=o.tag=xP(p),r=Qr(p,r),v){case 0:o=kf(null,o,p,r,l);break e;case 1:o=zy(null,o,p,r,l);break e;case 11:o=jy(null,o,p,r,l);break e;case 14:o=Ly(null,o,p,Qr(p.type,r),l);break e}throw Error(n(306,p,""))}return o;case 0:return p=o.type,v=o.pendingProps,v=o.elementType===p?v:Qr(p,v),kf(r,o,p,v,l);case 1:return p=o.type,v=o.pendingProps,v=o.elementType===p?v:Qr(p,v),zy(r,o,p,v,l);case 3:e:{if(Fy(o),r===null)throw Error(n(387));p=o.pendingProps,E=o.memoizedState,v=E.element,ty(r,o),Zc(o,p,null,l);var z=o.memoizedState;if(p=z.element,E.isDehydrated)if(E={element:p,isDehydrated:!1,cache:z.cache,pendingSuspenseBoundaries:z.pendingSuspenseBoundaries,transitions:z.transitions},o.updateQueue.baseState=E,o.memoizedState=E,o.flags&256){v=Da(Error(n(423)),o),o=_y(r,o,p,l,v);break e}else if(p!==v){v=Da(Error(n(424)),o),o=_y(r,o,p,l,v);break e}else for(vr=ni(o.stateNode.containerInfo.firstChild),hr=o,rn=!0,Xr=null,l=Zv(o,null,p,l),o.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(Aa(),p===v){o=Io(r,o,l);break e}qn(r,o,p,l)}o=o.child}return o;case 5:return oy(o),r===null&&Zp(o),p=o.type,v=o.pendingProps,E=r!==null?r.memoizedProps:null,z=v.children,Up(p,v)?z=null:E!==null&&Up(p,E)&&(o.flags|=32),Dy(r,o),qn(r,o,z,l),o.child;case 6:return r===null&&Zp(o),null;case 13:return Wy(r,o,l);case 4:return lf(o,o.stateNode.containerInfo),p=o.pendingProps,r===null?o.child=ja(o,null,p,l):qn(r,o,p,l),o.child;case 11:return p=o.type,v=o.pendingProps,v=o.elementType===p?v:Qr(p,v),jy(r,o,p,v,l);case 7:return qn(r,o,o.pendingProps,l),o.child;case 8:return qn(r,o,o.pendingProps.children,l),o.child;case 12:return qn(r,o,o.pendingProps.children,l),o.child;case 10:e:{if(p=o.type._context,v=o.pendingProps,E=o.memoizedProps,z=v.value,Xt(Xc,p._currentValue),p._currentValue=z,E!==null)if(Yr(E.value,z)){if(E.children===v.children&&!er.current){o=Io(r,o,l);break e}}else for(E=o.child,E!==null&&(E.return=o);E!==null;){var Y=E.dependencies;if(Y!==null){z=E.child;for(var ne=Y.firstContext;ne!==null;){if(ne.context===p){if(E.tag===1){ne=Eo(-1,l&-l),ne.tag=2;var me=E.updateQueue;if(me!==null){me=me.shared;var _e=me.pending;_e===null?ne.next=ne:(ne.next=_e.next,_e.next=ne),me.pending=ne}}E.lanes|=l,ne=E.alternate,ne!==null&&(ne.lanes|=l),of(E.return,l,o),Y.lanes|=l;break}ne=ne.next}}else if(E.tag===10)z=E.type===o.type?null:E.child;else if(E.tag===18){if(z=E.return,z===null)throw Error(n(341));z.lanes|=l,Y=z.alternate,Y!==null&&(Y.lanes|=l),of(z,l,o),z=E.sibling}else z=E.child;if(z!==null)z.return=E;else for(z=E;z!==null;){if(z===o){z=null;break}if(E=z.sibling,E!==null){E.return=z.return,z=E;break}z=z.return}E=z}qn(r,o,v.children,l),o=o.child}return o;case 9:return v=o.type,p=o.pendingProps.children,Na(o,l),v=Or(v),p=p(v),o.flags|=1,qn(r,o,p,l),o.child;case 14:return p=o.type,v=Qr(p,o.pendingProps),v=Qr(p.type,v),Ly(r,o,p,v,l);case 15:return Ny(r,o,o.type,o.pendingProps,l);case 17:return p=o.type,v=o.pendingProps,v=o.elementType===p?v:Qr(p,v),lu(r,o),o.tag=1,tr(p)?(r=!0,Uc(o)):r=!1,Na(o,l),Ty(o,p,v),Sf(o,p,v,l),Rf(null,o,p,!0,r,l);case 19:return Uy(r,o,l);case 22:return By(r,o,l)}throw Error(n(156,o.tag))};function m0(r,o){return Ft(r,o)}function bP(r,o,l,p){this.tag=r,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=p,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Lr(r,o,l,p){return new bP(r,o,l,p)}function Vf(r){return r=r.prototype,!(!r||!r.isReactComponent)}function xP(r){if(typeof r=="function")return Vf(r)?1:0;if(r!=null){if(r=r.$$typeof,r===U)return 11;if(r===W)return 14}return 2}function fi(r,o){var l=r.alternate;return l===null?(l=Lr(r.tag,o,r.key,r.mode),l.elementType=r.elementType,l.type=r.type,l.stateNode=r.stateNode,l.alternate=r,r.alternate=l):(l.pendingProps=o,l.type=r.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=r.flags&14680064,l.childLanes=r.childLanes,l.lanes=r.lanes,l.child=r.child,l.memoizedProps=r.memoizedProps,l.memoizedState=r.memoizedState,l.updateQueue=r.updateQueue,o=r.dependencies,l.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},l.sibling=r.sibling,l.index=r.index,l.ref=r.ref,l}function bu(r,o,l,p,v,E){var z=2;if(p=r,typeof r=="function")Vf(r)&&(z=1);else if(typeof r=="string")z=5;else e:switch(r){case A:return Hi(l.children,v,E,o);case N:z=8,v|=8;break;case $:return r=Lr(12,l,o,v|2),r.elementType=$,r.lanes=E,r;case M:return r=Lr(13,l,o,v),r.elementType=M,r.lanes=E,r;case D:return r=Lr(19,l,o,v),r.elementType=D,r.lanes=E,r;case q:return xu(l,v,E,o);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case S:z=10;break e;case L:z=9;break e;case U:z=11;break e;case W:z=14;break e;case H:z=16,p=null;break e}throw Error(n(130,r==null?r:typeof r,""))}return o=Lr(z,l,o,v),o.elementType=r,o.type=p,o.lanes=E,o}function Hi(r,o,l,p){return r=Lr(7,r,p,o),r.lanes=l,r}function xu(r,o,l,p){return r=Lr(22,r,p,o),r.elementType=q,r.lanes=l,r.stateNode={isHidden:!1},r}function Gf(r,o,l){return r=Lr(6,r,null,o),r.lanes=l,r}function qf(r,o,l){return o=Lr(4,r.children!==null?r.children:[],r.key,o),o.lanes=l,o.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},o}function SP(r,o,l,p,v){this.tag=o,this.containerInfo=r,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=bp(0),this.expirationTimes=bp(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=bp(0),this.identifierPrefix=p,this.onRecoverableError=v,this.mutableSourceEagerHydrationData=null}function Kf(r,o,l,p,v,E,z,Y,ne){return r=new SP(r,o,l,Y,ne),o===1?(o=1,E===!0&&(o|=8)):o=0,E=Lr(3,null,null,o),r.current=E,E.stateNode=r,E.memoizedState={element:p,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null},sf(E),r}function CP(r,o,l){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:j,key:p==null?null:""+p,children:r,containerInfo:o,implementation:l}}function g0(r){if(!r)return oi;r=r._reactInternals;e:{if(Rt(r)!==r||r.tag!==1)throw Error(n(170));var o=r;do{switch(o.tag){case 3:o=o.stateNode.context;break e;case 1:if(tr(o.type)){o=o.stateNode.__reactInternalMemoizedMergedChildContext;break e}}o=o.return}while(o!==null);throw Error(n(171))}if(r.tag===1){var l=r.type;if(tr(l))return Hv(r,l,o)}return o}function h0(r,o,l,p,v,E,z,Y,ne){return r=Kf(l,p,!0,r,v,E,z,Y,ne),r.context=g0(null),l=r.current,p=Kn(),v=di(l),E=Eo(p,v),E.callback=o??null,si(l,E,v),r.current.lanes=v,Es(r,v,p),or(r,p),r}function Su(r,o,l,p){var v=o.current,E=Kn(),z=di(v);return l=g0(l),o.context===null?o.context=l:o.pendingContext=l,o=Eo(E,z),o.payload={element:r},p=p===void 0?null:p,p!==null&&(o.callback=p),r=si(v,o,z),r!==null&&(eo(r,v,z,E),Jc(r,v,z)),z}function Cu(r){if(r=r.current,!r.child)return null;switch(r.child.tag){case 5:return r.child.stateNode;default:return r.child.stateNode}}function v0(r,o){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var l=r.retryLane;r.retryLane=l!==0&&l<o?l:o}}function Yf(r,o){v0(r,o),(r=r.alternate)&&v0(r,o)}function wP(){return null}var y0=typeof reportError=="function"?reportError:function(r){console.error(r)};function Xf(r){this._internalRoot=r}wu.prototype.render=Xf.prototype.render=function(r){var o=this._internalRoot;if(o===null)throw Error(n(409));Su(r,o,null,null)},wu.prototype.unmount=Xf.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var o=r.containerInfo;Fi(function(){Su(null,r,null,null)}),o[wo]=null}};function wu(r){this._internalRoot=r}wu.prototype.unstable_scheduleHydration=function(r){if(r){var o=tv();r={blockedOn:null,target:r,priority:o};for(var l=0;l<Zo.length&&o!==0&&o<Zo[l].priority;l++);Zo.splice(l,0,r),l===0&&ov(r)}};function Qf(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function ku(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11&&(r.nodeType!==8||r.nodeValue!==" react-mount-point-unstable "))}function b0(){}function kP(r,o,l,p,v){if(v){if(typeof p=="function"){var E=p;p=function(){var me=Cu(z);E.call(me)}}var z=h0(o,p,r,0,null,!1,!1,"",b0);return r._reactRootContainer=z,r[wo]=z.current,Ws(r.nodeType===8?r.parentNode:r),Fi(),z}for(;v=r.lastChild;)r.removeChild(v);if(typeof p=="function"){var Y=p;p=function(){var me=Cu(ne);Y.call(me)}}var ne=Kf(r,0,!1,null,null,!1,!1,"",b0);return r._reactRootContainer=ne,r[wo]=ne.current,Ws(r.nodeType===8?r.parentNode:r),Fi(function(){Su(o,ne,l,p)}),ne}function Ru(r,o,l,p,v){var E=l._reactRootContainer;if(E){var z=E;if(typeof v=="function"){var Y=v;v=function(){var ne=Cu(z);Y.call(ne)}}Su(o,z,r,v)}else z=kP(l,o,r,v,p);return Cu(z)}Zh=function(r){switch(r.tag){case 3:var o=r.stateNode;if(o.current.memoizedState.isDehydrated){var l=Ts(o.pendingLanes);l!==0&&(xp(o,l|1),or(o,dn()),(At&6)===0&&(_a=dn()+500,ii()))}break;case 13:Fi(function(){var p=To(r,1);if(p!==null){var v=Kn();eo(p,r,1,v)}}),Yf(r,1)}},Sp=function(r){if(r.tag===13){var o=To(r,134217728);if(o!==null){var l=Kn();eo(o,r,134217728,l)}Yf(r,134217728)}},ev=function(r){if(r.tag===13){var o=di(r),l=To(r,o);if(l!==null){var p=Kn();eo(l,r,o,p)}Yf(r,o)}},tv=function(){return Wt},nv=function(r,o){var l=Wt;try{return Wt=r,o()}finally{Wt=l}},Jt=function(r,o,l){switch(o){case"input":if(fe(r,l),o=l.name,l.type==="radio"&&o!=null){for(l=r;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),o=0;o<l.length;o++){var p=l[o];if(p!==r&&p.form===r.form){var v=Wc(p);if(!v)throw Error(n(90));ce(p),fe(p,v)}}}break;case"textarea":Re(r,l);break;case"select":o=l.value,o!=null&&be(r,!!l.multiple,o,!1)}},ln=Wf,at=Fi;var RP={usingClientEntryPoint:!1,Events:[Vs,Ea,Wc,sn,Mn,Wf]},il={findFiberByHostInstance:Oi,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},PP={bundleType:il.bundleType,version:il.version,rendererPackageName:il.rendererPackageName,rendererConfig:il.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:I.ReactCurrentDispatcher,findHostInstanceByFiber:function(r){return r=gt(r),r===null?null:r.stateNode},findFiberByHostInstance:il.findFiberByHostInstance||wP,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Pu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Pu.isDisabled&&Pu.supportsFiber)try{io=Pu.inject(PP),Ir=Pu}catch{}}return ir.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=RP,ir.createPortal=function(r,o){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Qf(o))throw Error(n(200));return CP(r,o,null,l)},ir.createRoot=function(r,o){if(!Qf(r))throw Error(n(299));var l=!1,p="",v=y0;return o!=null&&(o.unstable_strictMode===!0&&(l=!0),o.identifierPrefix!==void 0&&(p=o.identifierPrefix),o.onRecoverableError!==void 0&&(v=o.onRecoverableError)),o=Kf(r,1,!1,null,null,l,!1,p,v),r[wo]=o.current,Ws(r.nodeType===8?r.parentNode:r),new Xf(o)},ir.findDOMNode=function(r){if(r==null)return null;if(r.nodeType===1)return r;var o=r._reactInternals;if(o===void 0)throw typeof r.render=="function"?Error(n(188)):(r=Object.keys(r).join(","),Error(n(268,r)));return r=gt(o),r=r===null?null:r.stateNode,r},ir.flushSync=function(r){return Fi(r)},ir.hydrate=function(r,o,l){if(!ku(o))throw Error(n(200));return Ru(null,r,o,!0,l)},ir.hydrateRoot=function(r,o,l){if(!Qf(r))throw Error(n(405));var p=l!=null&&l.hydratedSources||null,v=!1,E="",z=y0;if(l!=null&&(l.unstable_strictMode===!0&&(v=!0),l.identifierPrefix!==void 0&&(E=l.identifierPrefix),l.onRecoverableError!==void 0&&(z=l.onRecoverableError)),o=h0(o,null,r,1,l??null,v,!1,E,z),r[wo]=o.current,Ws(r),p)for(r=0;r<p.length;r++)l=p[r],v=l._getVersion,v=v(l._source),o.mutableSourceEagerHydrationData==null?o.mutableSourceEagerHydrationData=[l,v]:o.mutableSourceEagerHydrationData.push(l,v);return new wu(o)},ir.render=function(r,o,l){if(!ku(o))throw Error(n(200));return Ru(null,r,o,!1,l)},ir.unmountComponentAtNode=function(r){if(!ku(r))throw Error(n(40));return r._reactRootContainer?(Fi(function(){Ru(null,null,r,!1,function(){r._reactRootContainer=null,r[wo]=null})}),!0):!1},ir.unstable_batchedUpdates=Wf,ir.unstable_renderSubtreeIntoContainer=function(r,o,l,p){if(!ku(l))throw Error(n(200));if(r==null||r._reactInternals===void 0)throw Error(n(38));return Ru(r,o,l,!1,p)},ir.version="18.3.1-next-f1338f8080-20240426",ir}var T0;function d1(){if(T0)return em.exports;T0=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),em.exports=LP(),em.exports}var E0;function NP(){if(E0)return Tu;E0=1;var e=d1();return Tu.createRoot=e.createRoot,Tu.hydrateRoot=e.hydrateRoot,Tu}var BP=NP(),h=Ln();const Ct=Od(h),hd=$P({__proto__:null,default:Ct},[h]),ls={black:"#000",white:"#fff"},Gi={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"},DP={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},qi={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"},zP={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"},FP={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},Ki={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"},Yi={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"},_P={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4"},WP={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"},Xi={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"},HP={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17"},UP={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00"},VP={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600"},GP={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"},Ya={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"},qP={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00"},KP={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037"},p1={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"},YP={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64"},XP=Object.freeze(Object.defineProperty({__proto__:null,amber:GP,blue:Ki,blueGrey:YP,brown:KP,common:ls,cyan:_P,deepOrange:qP,deepPurple:zP,green:Xi,grey:p1,indigo:FP,lightBlue:Yi,lightGreen:HP,lime:UP,orange:Ya,pink:DP,purple:qi,red:Gi,teal:WP,yellow:VP},Symbol.toStringTag,{value:"Module"}));function pr(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(i=>n.searchParams.append("args[]",i)),`Minified MUI error #${e}; visit ${n} for the full message.`}const cr="$$material";function vd(){return vd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},vd.apply(null,arguments)}function QP(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 JP(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 f1=(function(){function e(n){var i=this;this._insertTag=function(a){var s;i.tags.length===0?i.insertionPoint?s=i.insertionPoint.nextSibling:i.prepend?s=i.container.firstChild:s=i.before:s=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(a,s),i.tags.push(a)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(i){i.forEach(this._insertTag)},t.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(JP(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var s=QP(a);try{s.insertRule(i,s.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(i));this.ctr++},t.flush=function(){this.tags.forEach(function(i){var a;return(a=i.parentNode)==null?void 0:a.removeChild(i)}),this.tags=[],this.ctr=0},e})(),Hn="-ms-",yd="-moz-",Bt="-webkit-",m1="comm",Lg="rule",Ng="decl",ZP="@import",g1="@keyframes",eT="@layer",tT=Math.abs,Ad=String.fromCharCode,nT=Object.assign;function rT(e,t){return Dn(e,0)^45?(((t<<2^Dn(e,0))<<2^Dn(e,1))<<2^Dn(e,2))<<2^Dn(e,3):0}function h1(e){return e.trim()}function oT(e,t){return(e=t.exec(e))?e[0]:e}function Dt(e,t,n){return e.replace(t,n)}function Jm(e,t){return e.indexOf(t)}function Dn(e,t){return e.charCodeAt(t)|0}function _l(e,t,n){return e.slice(t,n)}function fo(e){return e.length}function Bg(e){return e.length}function Eu(e,t){return t.push(e),e}function iT(e,t){return e.map(t).join("")}var jd=1,cs=1,v1=0,fr=0,Rn=0,ys="";function Ld(e,t,n,i,a,s,c){return{value:e,root:t,parent:n,type:i,props:a,children:s,line:jd,column:cs,length:c,return:""}}function ll(e,t){return nT(Ld("",null,null,"",null,null,0),e,{length:-e.length},t)}function aT(){return Rn}function sT(){return Rn=fr>0?Dn(ys,--fr):0,cs--,Rn===10&&(cs=1,jd--),Rn}function kr(){return Rn=fr<v1?Dn(ys,fr++):0,cs++,Rn===10&&(cs=1,jd++),Rn}function ho(){return Dn(ys,fr)}function Zu(){return fr}function ic(e,t){return _l(ys,e,t)}function Wl(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 y1(e){return jd=cs=1,v1=fo(ys=e),fr=0,[]}function b1(e){return ys="",e}function ed(e){return h1(ic(fr-1,Zm(e===91?e+2:e===40?e+1:e)))}function lT(e){for(;(Rn=ho())&&Rn<33;)kr();return Wl(e)>2||Wl(Rn)>3?"":" "}function cT(e,t){for(;--t&&kr()&&!(Rn<48||Rn>102||Rn>57&&Rn<65||Rn>70&&Rn<97););return ic(e,Zu()+(t<6&&ho()==32&&kr()==32))}function Zm(e){for(;kr();)switch(Rn){case e:return fr;case 34:case 39:e!==34&&e!==39&&Zm(Rn);break;case 40:e===41&&Zm(e);break;case 92:kr();break}return fr}function uT(e,t){for(;kr()&&e+Rn!==57;)if(e+Rn===84&&ho()===47)break;return"/*"+ic(t,fr-1)+"*"+Ad(e===47?e:kr())}function dT(e){for(;!Wl(ho());)kr();return ic(e,fr)}function pT(e){return b1(td("",null,null,null,[""],e=y1(e),0,[0],e))}function td(e,t,n,i,a,s,c,u,d){for(var f=0,m=0,y=c,x=0,P=0,C=0,b=1,k=1,w=1,T=0,R="",I=a,O=s,j=i,A=R;k;)switch(C=T,T=kr()){case 40:if(C!=108&&Dn(A,y-1)==58){Jm(A+=Dt(ed(T),"&","&\f"),"&\f")!=-1&&(w=-1);break}case 34:case 39:case 91:A+=ed(T);break;case 9:case 10:case 13:case 32:A+=lT(C);break;case 92:A+=cT(Zu()-1,7);continue;case 47:switch(ho()){case 42:case 47:Eu(fT(uT(kr(),Zu()),t,n),d);break;default:A+="/"}break;case 123*b:u[f++]=fo(A)*w;case 125*b:case 59:case 0:switch(T){case 0:case 125:k=0;case 59+m:w==-1&&(A=Dt(A,/\f/g,"")),P>0&&fo(A)-y&&Eu(P>32?$0(A+";",i,n,y-1):$0(Dt(A," ","")+";",i,n,y-2),d);break;case 59:A+=";";default:if(Eu(j=I0(A,t,n,f,m,a,u,R,I=[],O=[],y),s),T===123)if(m===0)td(A,t,j,j,I,s,y,u,O);else switch(x===99&&Dn(A,3)===110?100:x){case 100:case 108:case 109:case 115:td(e,j,j,i&&Eu(I0(e,j,j,0,0,a,u,R,a,I=[],y),O),a,O,y,u,i?I:O);break;default:td(A,j,j,j,[""],O,0,u,O)}}f=m=P=0,b=w=1,R=A="",y=c;break;case 58:y=1+fo(A),P=C;default:if(b<1){if(T==123)--b;else if(T==125&&b++==0&&sT()==125)continue}switch(A+=Ad(T),T*b){case 38:w=m>0?1:(A+="\f",-1);break;case 44:u[f++]=(fo(A)-1)*w,w=1;break;case 64:ho()===45&&(A+=ed(kr())),x=ho(),m=y=fo(R=A+=dT(Zu())),T++;break;case 45:C===45&&fo(A)==2&&(b=0)}}return s}function I0(e,t,n,i,a,s,c,u,d,f,m){for(var y=a-1,x=a===0?s:[""],P=Bg(x),C=0,b=0,k=0;C<i;++C)for(var w=0,T=_l(e,y+1,y=tT(b=c[C])),R=e;w<P;++w)(R=h1(b>0?x[w]+" "+T:Dt(T,/&\f/g,x[w])))&&(d[k++]=R);return Ld(e,t,n,a===0?Lg:u,d,f,m)}function fT(e,t,n){return Ld(e,t,n,m1,Ad(aT()),_l(e,2,-2),0)}function $0(e,t,n,i){return Ld(e,t,n,Ng,_l(e,0,i),_l(e,i+1,-1),i)}function ns(e,t){for(var n="",i=Bg(e),a=0;a<i;a++)n+=t(e[a],a,e,t)||"";return n}function mT(e,t,n,i){switch(e.type){case eT:if(e.children.length)break;case ZP:case Ng:return e.return=e.return||e.value;case m1:return"";case g1:return e.return=e.value+"{"+ns(e.children,i)+"}";case Lg:e.value=e.props.join(",")}return fo(n=ns(e.children,i))?e.return=e.value+"{"+n+"}":""}function gT(e){var t=Bg(e);return function(n,i,a,s){for(var c="",u=0;u<t;u++)c+=e[u](n,i,a,s)||"";return c}}function hT(e){return function(t){t.root||(t=t.return)&&e(t)}}function x1(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var vT=function(t,n,i){for(var a=0,s=0;a=s,s=ho(),a===38&&s===12&&(n[i]=1),!Wl(s);)kr();return ic(t,fr)},yT=function(t,n){var i=-1,a=44;do switch(Wl(a)){case 0:a===38&&ho()===12&&(n[i]=1),t[i]+=vT(fr-1,n,i);break;case 2:t[i]+=ed(a);break;case 4:if(a===44){t[++i]=ho()===58?"&\f":"",n[i]=t[i].length;break}default:t[i]+=Ad(a)}while(a=kr());return t},bT=function(t,n){return b1(yT(y1(t),n))},M0=new WeakMap,xT=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,i=t.parent,a=t.column===i.column&&t.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!M0.get(i))&&!a){M0.set(t,!0);for(var s=[],c=bT(n,s),u=i.props,d=0,f=0;d<c.length;d++)for(var m=0;m<u.length;m++,f++)t.props[f]=s[d]?c[d].replace(/&\f/g,u[m]):u[m]+" "+c[d]}}},ST=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function S1(e,t){switch(rT(e,t)){case 5103:return Bt+"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 Bt+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Bt+e+yd+e+Hn+e+e;case 6828:case 4268:return Bt+e+Hn+e+e;case 6165:return Bt+e+Hn+"flex-"+e+e;case 5187:return Bt+e+Dt(e,/(\w+).+(:[^]+)/,Bt+"box-$1$2"+Hn+"flex-$1$2")+e;case 5443:return Bt+e+Hn+"flex-item-"+Dt(e,/flex-|-self/,"")+e;case 4675:return Bt+e+Hn+"flex-line-pack"+Dt(e,/align-content|flex-|-self/,"")+e;case 5548:return Bt+e+Hn+Dt(e,"shrink","negative")+e;case 5292:return Bt+e+Hn+Dt(e,"basis","preferred-size")+e;case 6060:return Bt+"box-"+Dt(e,"-grow","")+Bt+e+Hn+Dt(e,"grow","positive")+e;case 4554:return Bt+Dt(e,/([^-])(transform)/g,"$1"+Bt+"$2")+e;case 6187:return Dt(Dt(Dt(e,/(zoom-|grab)/,Bt+"$1"),/(image-set)/,Bt+"$1"),e,"")+e;case 5495:case 3959:return Dt(e,/(image-set\([^]*)/,Bt+"$1$`$1");case 4968:return Dt(Dt(e,/(.+:)(flex-)?(.*)/,Bt+"box-pack:$3"+Hn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Bt+e+e;case 4095:case 3583:case 4068:case 2532:return Dt(e,/(.+)-inline(.+)/,Bt+"$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(fo(e)-1-t>6)switch(Dn(e,t+1)){case 109:if(Dn(e,t+4)!==45)break;case 102:return Dt(e,/(.+:)(.+)-([^]+)/,"$1"+Bt+"$2-$3$1"+yd+(Dn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Jm(e,"stretch")?S1(Dt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Dn(e,t+1)!==115)break;case 6444:switch(Dn(e,fo(e)-3-(~Jm(e,"!important")&&10))){case 107:return Dt(e,":",":"+Bt)+e;case 101:return Dt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Bt+(Dn(e,14)===45?"inline-":"")+"box$3$1"+Bt+"$2$3$1"+Hn+"$2box$3")+e}break;case 5936:switch(Dn(e,t+11)){case 114:return Bt+e+Hn+Dt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Bt+e+Hn+Dt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Bt+e+Hn+Dt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Bt+e+Hn+e+e}return e}var CT=function(t,n,i,a){if(t.length>-1&&!t.return)switch(t.type){case Ng:t.return=S1(t.value,t.length);break;case g1:return ns([ll(t,{value:Dt(t.value,"@","@"+Bt)})],a);case Lg:if(t.length)return iT(t.props,function(s){switch(oT(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ns([ll(t,{props:[Dt(s,/:(read-\w+)/,":"+yd+"$1")]})],a);case"::placeholder":return ns([ll(t,{props:[Dt(s,/:(plac\w+)/,":"+Bt+"input-$1")]}),ll(t,{props:[Dt(s,/:(plac\w+)/,":"+yd+"$1")]}),ll(t,{props:[Dt(s,/:(plac\w+)/,Hn+"input-$1")]})],a)}return""})}},wT=[CT],C1=function(t){var n=t.key;if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(b){var k=b.getAttribute("data-emotion");k.indexOf(" ")!==-1&&(document.head.appendChild(b),b.setAttribute("data-s",""))})}var a=t.stylisPlugins||wT,s={},c,u=[];c=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(b){for(var k=b.getAttribute("data-emotion").split(" "),w=1;w<k.length;w++)s[k[w]]=!0;u.push(b)});var d,f=[xT,ST];{var m,y=[mT,hT(function(b){m.insert(b)})],x=gT(f.concat(a,y)),P=function(k){return ns(pT(k),x)};d=function(k,w,T,R){m=T,P(k?k+"{"+w.styles+"}":w.styles),R&&(C.inserted[w.name]=!0)}}var C={key:n,sheet:new f1({key:n,container:c,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:d};return C.sheet.hydrate(u),C},rm={exports:{}},_t={};/** @license React v16.13.1
41
+ * react-is.production.min.js
42
+ *
43
+ * Copyright (c) Facebook, Inc. and its affiliates.
44
+ *
45
+ * This source code is licensed under the MIT license found in the
46
+ * LICENSE file in the root directory of this source tree.
47
+ */var O0;function kT(){if(O0)return _t;O0=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,y=e?Symbol.for("react.suspense"):60113,x=e?Symbol.for("react.suspense_list"):60120,P=e?Symbol.for("react.memo"):60115,C=e?Symbol.for("react.lazy"):60116,b=e?Symbol.for("react.block"):60121,k=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function R(O){if(typeof O=="object"&&O!==null){var j=O.$$typeof;switch(j){case t:switch(O=O.type,O){case d:case f:case i:case s:case a:case y:return O;default:switch(O=O&&O.$$typeof,O){case u:case m:case C:case P:case c:return O;default:return j}}case n:return j}}}function I(O){return R(O)===f}return _t.AsyncMode=d,_t.ConcurrentMode=f,_t.ContextConsumer=u,_t.ContextProvider=c,_t.Element=t,_t.ForwardRef=m,_t.Fragment=i,_t.Lazy=C,_t.Memo=P,_t.Portal=n,_t.Profiler=s,_t.StrictMode=a,_t.Suspense=y,_t.isAsyncMode=function(O){return I(O)||R(O)===d},_t.isConcurrentMode=I,_t.isContextConsumer=function(O){return R(O)===u},_t.isContextProvider=function(O){return R(O)===c},_t.isElement=function(O){return typeof O=="object"&&O!==null&&O.$$typeof===t},_t.isForwardRef=function(O){return R(O)===m},_t.isFragment=function(O){return R(O)===i},_t.isLazy=function(O){return R(O)===C},_t.isMemo=function(O){return R(O)===P},_t.isPortal=function(O){return R(O)===n},_t.isProfiler=function(O){return R(O)===s},_t.isStrictMode=function(O){return R(O)===a},_t.isSuspense=function(O){return R(O)===y},_t.isValidElementType=function(O){return typeof O=="string"||typeof O=="function"||O===i||O===f||O===s||O===a||O===y||O===x||typeof O=="object"&&O!==null&&(O.$$typeof===C||O.$$typeof===P||O.$$typeof===c||O.$$typeof===u||O.$$typeof===m||O.$$typeof===k||O.$$typeof===w||O.$$typeof===T||O.$$typeof===b)},_t.typeOf=R,_t}var A0;function RT(){return A0||(A0=1,rm.exports=kT()),rm.exports}var om,j0;function PT(){if(j0)return om;j0=1;var e=RT(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[e.ForwardRef]=i,s[e.Memo]=a;function c(C){return e.isMemo(C)?a:s[C.$$typeof]||t}var u=Object.defineProperty,d=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,x=Object.prototype;function P(C,b,k){if(typeof b!="string"){if(x){var w=y(b);w&&w!==x&&P(C,w,k)}var T=d(b);f&&(T=T.concat(f(b)));for(var R=c(C),I=c(b),O=0;O<T.length;++O){var j=T[O];if(!n[j]&&!(k&&k[j])&&!(I&&I[j])&&!(R&&R[j])){var A=m(b,j);try{u(C,j,A)}catch{}}}}return C}return om=P,om}PT();var TT=!0;function w1(e,t,n){var i="";return n.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):a&&(i+=a+" ")}),i}var Dg=function(t,n,i){var a=t.key+"-"+n.name;(i===!1||TT===!1)&&t.registered[a]===void 0&&(t.registered[a]=n.styles)},zg=function(t,n,i){Dg(t,n,i);var a=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var s=n;do t.insert(n===s?"."+a:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function ET(e){for(var t=0,n,i=0,a=e.length;a>=4;++i,a-=4)n=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&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(a){case 3:t^=(e.charCodeAt(i+2)&255)<<16;case 2:t^=(e.charCodeAt(i+1)&255)<<8;case 1:t^=e.charCodeAt(i)&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 IT={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},$T=/[A-Z]|^ms/g,MT=/_EMO_([^_]+?)_([^]*?)_EMO_/g,k1=function(t){return t.charCodeAt(1)===45},L0=function(t){return t!=null&&typeof t!="boolean"},im=x1(function(e){return k1(e)?e:e.replace($T,"-$&").toLowerCase()}),N0=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(MT,function(i,a,s){return mo={name:a,styles:s,next:mo},a})}return IT[t]!==1&&!k1(t)&&typeof n=="number"&&n!==0?n+"px":n};function Hl(e,t,n){if(n==null)return"";var i=n;if(i.__emotion_styles!==void 0)return i;switch(typeof n){case"boolean":return"";case"object":{var a=n;if(a.anim===1)return mo={name:a.name,styles:a.styles,next:mo},a.name;var s=n;if(s.styles!==void 0){var c=s.next;if(c!==void 0)for(;c!==void 0;)mo={name:c.name,styles:c.styles,next:mo},c=c.next;var u=s.styles+";";return u}return OT(e,t,n)}case"function":{if(e!==void 0){var d=mo,f=n(e);return mo=d,Hl(e,t,f)}break}}var m=n;if(t==null)return m;var y=t[m];return y!==void 0?y:m}function OT(e,t,n){var i="";if(Array.isArray(n))for(var a=0;a<n.length;a++)i+=Hl(e,t,n[a])+";";else for(var s in n){var c=n[s];if(typeof c!="object"){var u=c;t!=null&&t[u]!==void 0?i+=s+"{"+t[u]+"}":L0(u)&&(i+=im(s)+":"+N0(s,u)+";")}else if(Array.isArray(c)&&typeof c[0]=="string"&&(t==null||t[c[0]]===void 0))for(var d=0;d<c.length;d++)L0(c[d])&&(i+=im(s)+":"+N0(s,c[d])+";");else{var f=Hl(e,t,c);switch(s){case"animation":case"animationName":{i+=im(s)+":"+f+";";break}default:i+=s+"{"+f+"}"}}}return i}var B0=/label:\s*([^\s;{]+)\s*(;|$)/g,mo;function ac(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var i=!0,a="";mo=void 0;var s=e[0];if(s==null||s.raw===void 0)i=!1,a+=Hl(n,t,s);else{var c=s;a+=c[0]}for(var u=1;u<e.length;u++)if(a+=Hl(n,t,e[u]),i){var d=s;a+=d[u]}B0.lastIndex=0;for(var f="",m;(m=B0.exec(a))!==null;)f+="-"+m[1];var y=ET(a)+f;return{name:y,styles:a,next:mo}}var AT=function(t){return t()},R1=hd.useInsertionEffect?hd.useInsertionEffect:!1,P1=R1||AT,D0=R1||h.useLayoutEffect,T1=h.createContext(typeof HTMLElement<"u"?C1({key:"css"}):null),jT=T1.Provider,Fg=function(t){return h.forwardRef(function(n,i){var a=h.useContext(T1);return t(n,a,i)})},sc=h.createContext({}),_g={}.hasOwnProperty,eg="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",LT=function(t,n){var i={};for(var a in n)_g.call(n,a)&&(i[a]=n[a]);return i[eg]=t,i},NT=function(t){var n=t.cache,i=t.serialized,a=t.isStringTag;return Dg(n,i,a),P1(function(){return zg(n,i,a)}),null},BT=Fg(function(e,t,n){var i=e.css;typeof i=="string"&&t.registered[i]!==void 0&&(i=t.registered[i]);var a=e[eg],s=[i],c="";typeof e.className=="string"?c=w1(t.registered,s,e.className):e.className!=null&&(c=e.className+" ");var u=ac(s,void 0,h.useContext(sc));c+=t.key+"-"+u.name;var d={};for(var f in e)_g.call(e,f)&&f!=="css"&&f!==eg&&(d[f]=e[f]);return d.className=c,n&&(d.ref=n),h.createElement(h.Fragment,null,h.createElement(NT,{cache:t,serialized:u,isStringTag:typeof a=="string"}),h.createElement(a,d))}),DT=BT,z0=function(t,n){var i=arguments;if(n==null||!_g.call(n,"css"))return h.createElement.apply(void 0,i);var a=i.length,s=new Array(a);s[0]=DT,s[1]=LT(t,n);for(var c=2;c<a;c++)s[c]=i[c];return h.createElement.apply(null,s)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(z0||(z0={}));var zT=Fg(function(e,t){var n=e.styles,i=ac([n],void 0,h.useContext(sc)),a=h.useRef();return D0(function(){var s=t.key+"-global",c=new t.sheet.constructor({key:s,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),u=!1,d=document.querySelector('style[data-emotion="'+s+" "+i.name+'"]');return t.sheet.tags.length&&(c.before=t.sheet.tags[0]),d!==null&&(u=!0,d.setAttribute("data-emotion",s),c.hydrate([d])),a.current=[c,u],function(){c.flush()}},[t]),D0(function(){var s=a.current,c=s[0],u=s[1];if(u){s[1]=!1;return}if(i.next!==void 0&&zg(t,i.next,!0),c.tags.length){var d=c.tags[c.tags.length-1].nextElementSibling;c.before=d,c.flush()}t.insert("",i,c,!1)},[t,i.name]),null});function So(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ac(t)}function Vr(){var e=So.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 FT=/^((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|colorRendering|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)-.*))$/,_T=x1(function(e){return FT.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),WT=_T,HT=function(t){return t!=="theme"},F0=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?WT:HT},_0=function(t,n,i){var a;if(n){var s=n.shouldForwardProp;a=t.__emotion_forwardProp&&s?function(c){return t.__emotion_forwardProp(c)&&s(c)}:s}return typeof a!="function"&&i&&(a=t.__emotion_forwardProp),a},UT=function(t){var n=t.cache,i=t.serialized,a=t.isStringTag;return Dg(n,i,a),P1(function(){return zg(n,i,a)}),null},VT=function e(t,n){var i=t.__emotion_real===t,a=i&&t.__emotion_base||t,s,c;n!==void 0&&(s=n.label,c=n.target);var u=_0(t,n,i),d=u||F0(a),f=!d("as");return function(){var m=arguments,y=i&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(s!==void 0&&y.push("label:"+s+";"),m[0]==null||m[0].raw===void 0)y.push.apply(y,m);else{var x=m[0];y.push(x[0]);for(var P=m.length,C=1;C<P;C++)y.push(m[C],x[C])}var b=Fg(function(k,w,T){var R=f&&k.as||a,I="",O=[],j=k;if(k.theme==null){j={};for(var A in k)j[A]=k[A];j.theme=h.useContext(sc)}typeof k.className=="string"?I=w1(w.registered,O,k.className):k.className!=null&&(I=k.className+" ");var N=ac(y.concat(O),w.registered,j);I+=w.key+"-"+N.name,c!==void 0&&(I+=" "+c);var $=f&&u===void 0?F0(R):d,S={};for(var L in k)f&&L==="as"||$(L)&&(S[L]=k[L]);return S.className=I,T&&(S.ref=T),h.createElement(h.Fragment,null,h.createElement(UT,{cache:w,serialized:N,isStringTag:typeof R=="string"}),h.createElement(R,S))});return b.displayName=s!==void 0?s:"Styled("+(typeof a=="string"?a:a.displayName||a.name||"Component")+")",b.defaultProps=t.defaultProps,b.__emotion_real=b,b.__emotion_base=a,b.__emotion_styles=y,b.__emotion_forwardProp=u,Object.defineProperty(b,"toString",{value:function(){return"."+c}}),b.withComponent=function(k,w){var T=e(k,vd({},n,w,{shouldForwardProp:_0(b,w,!0)}));return T.apply(void 0,y)},b}},GT=["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"],tg=VT.bind(null);GT.forEach(function(e){tg[e]=tg(e)});var am={exports:{}},sm,W0;function qT(){if(W0)return sm;W0=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return sm=e,sm}var lm,H0;function KT(){if(H0)return lm;H0=1;var e=qT();function t(){}function n(){}return n.resetWarningCache=t,lm=function(){function i(c,u,d,f,m,y){if(y!==e){var x=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw x.name="Invariant Violation",x}}i.isRequired=i;function a(){return i}var s={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:a,element:i,elementType:i,instanceOf:a,node:i,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:n,resetWarningCache:t};return s.PropTypes=s,s},lm}var U0;function YT(){return U0||(U0=1,am.exports=KT()()),am.exports}var XT=YT();const tn=Od(XT),cm=new Map,QT=(e,t)=>{const n=C1(e);return n.sheet=new t({key:n.key,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy,prepend:n.sheet.prepend,insertionPoint:n.sheet.insertionPoint}),n};let yi;if(typeof document=="object"&&(yi=document.querySelector('[name="emotion-insertion-point"]'),!yi)){yi=document.createElement("meta"),yi.setAttribute("name","emotion-insertion-point"),yi.setAttribute("content","");const e=document.querySelector("head");e&&e.prepend(yi)}function JT(e,t){if(e||t){class n extends f1{insert(s,c){return this.key&&this.key.endsWith("global")&&(this.before=yi),super.insert(s,c)}}const i=QT({key:"css",insertionPoint:e?yi:void 0},n);if(t){const a=i.insert;i.insert=(...s)=>(s[1].styles.match(/^@layer\s+[^{]*$/)||(s[1].styles=`@layer mui {${s[1].styles}}`),a(...s))}return i}}function E1(e){const{injectFirst:t,enableCssLayer:n,children:i}=e,a=h.useMemo(()=>{const s=`${t}-${n}`;if(typeof document=="object"&&cm.has(s))return cm.get(s);const c=JT(t,n);return cm.set(s,c),c},[t,n]);return a?g.jsx(jT,{value:a,children:i}):i}function ZT(e){return e==null||Object.keys(e).length===0}function I1(e){const{styles:t,defaultTheme:n={}}=e,i=typeof t=="function"?a=>t(ZT(a)?n:a):t;return g.jsx(zT,{styles:i})}/**
48
+ * @mui/styled-engine v6.5.0
49
+ *
50
+ * @license MIT
51
+ * This source code is licensed under the MIT license found in the
52
+ * LICENSE file in the root directory of this source tree.
53
+ */function $1(e,t){return tg(e,t)}function eE(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const V0=[];function ki(e){return V0[0]=e,ac(V0)}var um={exports:{}},Ut={};/**
54
+ * @license React
55
+ * react-is.production.js
56
+ *
57
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
58
+ *
59
+ * This source code is licensed under the MIT license found in the
60
+ * LICENSE file in the root directory of this source tree.
61
+ */var G0;function tE(){if(G0)return Ut;G0=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),x=Symbol.for("react.view_transition"),P=Symbol.for("react.client.reference");function C(b){if(typeof b=="object"&&b!==null){var k=b.$$typeof;switch(k){case e:switch(b=b.type,b){case n:case a:case i:case d:case f:case x:return b;default:switch(b=b&&b.$$typeof,b){case c:case u:case y:case m:return b;case s:return b;default:return k}}case t:return k}}}return Ut.ContextConsumer=s,Ut.ContextProvider=c,Ut.Element=e,Ut.ForwardRef=u,Ut.Fragment=n,Ut.Lazy=y,Ut.Memo=m,Ut.Portal=t,Ut.Profiler=a,Ut.StrictMode=i,Ut.Suspense=d,Ut.SuspenseList=f,Ut.isContextConsumer=function(b){return C(b)===s},Ut.isContextProvider=function(b){return C(b)===c},Ut.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},Ut.isForwardRef=function(b){return C(b)===u},Ut.isFragment=function(b){return C(b)===n},Ut.isLazy=function(b){return C(b)===y},Ut.isMemo=function(b){return C(b)===m},Ut.isPortal=function(b){return C(b)===t},Ut.isProfiler=function(b){return C(b)===a},Ut.isStrictMode=function(b){return C(b)===i},Ut.isSuspense=function(b){return C(b)===d},Ut.isSuspenseList=function(b){return C(b)===f},Ut.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===a||b===i||b===d||b===f||typeof b=="object"&&b!==null&&(b.$$typeof===y||b.$$typeof===m||b.$$typeof===c||b.$$typeof===s||b.$$typeof===u||b.$$typeof===P||b.getModuleId!==void 0)},Ut.typeOf=C,Ut}var q0;function nE(){return q0||(q0=1,um.exports=tE()),um.exports}var M1=nE();function go(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function O1(e){if(h.isValidElement(e)||M1.isValidElementType(e)||!go(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=O1(e[n])}),t}function En(e,t,n={clone:!0}){const i=n.clone?{...e}:e;return go(e)&&go(t)&&Object.keys(t).forEach(a=>{h.isValidElement(t[a])||M1.isValidElementType(t[a])?i[a]=t[a]:go(t[a])&&Object.prototype.hasOwnProperty.call(e,a)&&go(e[a])?i[a]=En(e[a],t[a],n):n.clone?i[a]=go(t[a])?O1(t[a]):t[a]:i[a]=t[a]}),i}const rE=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,i)=>n.val-i.val),t.reduce((n,i)=>({...n,[i.key]:i.val}),{})};function Nd(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:i=5,...a}=e,s=rE(t),c=Object.keys(s);function u(x){return`@media (min-width:${typeof t[x]=="number"?t[x]:x}${n})`}function d(x){return`@media (max-width:${(typeof t[x]=="number"?t[x]:x)-i/100}${n})`}function f(x,P){const C=c.indexOf(P);return`@media (min-width:${typeof t[x]=="number"?t[x]:x}${n}) and (max-width:${(C!==-1&&typeof t[c[C]]=="number"?t[c[C]]:P)-i/100}${n})`}function m(x){return c.indexOf(x)+1<c.length?f(x,c[c.indexOf(x)+1]):u(x)}function y(x){const P=c.indexOf(x);return P===0?u(c[1]):P===c.length-1?d(c[P]):f(x,c[c.indexOf(x)+1]).replace("@media","@media not all and")}return{keys:c,values:s,up:u,down:d,between:f,only:m,not:y,unit:n,...a}}function K0(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(i=>i.startsWith("@container")).sort((i,a)=>{var c,u;const s=/min-width:\s*([0-9.]+)/;return+(((c=i.match(s))==null?void 0:c[1])||0)-+(((u=a.match(s))==null?void 0:u[1])||0)});return n.length?n.reduce((i,a)=>{const s=t[a];return delete i[a],i[a]=s,i},{...t}):t}function oE(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function iE(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,i,a]=n,s=Number.isNaN(+i)?i||0:+i;return e.containerQueries(a).up(s)}function aE(e){const t=(s,c)=>s.replace("@media",c?`@container ${c}`:"@container");function n(s,c){s.up=(...u)=>t(e.breakpoints.up(...u),c),s.down=(...u)=>t(e.breakpoints.down(...u),c),s.between=(...u)=>t(e.breakpoints.between(...u),c),s.only=(...u)=>t(e.breakpoints.only(...u),c),s.not=(...u)=>{const d=t(e.breakpoints.not(...u),c);return d.includes("not all and")?d.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):d}}const i={},a=s=>(n(i,s),i);return n(a),{...e,containerQueries:a}}const sE={borderRadius:4};function jl(e,t){return t?En(e,t,{clone:!1}):e}const Bd={xs:0,sm:600,md:900,lg:1200,xl:1536},Y0={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Bd[e]}px)`},lE={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Bd[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function mr(e,t,n){const i=e.theme||{};if(Array.isArray(t)){const s=i.breakpoints||Y0;return t.reduce((c,u,d)=>(c[s.up(s.keys[d])]=n(t[d]),c),{})}if(typeof t=="object"){const s=i.breakpoints||Y0;return Object.keys(t).reduce((c,u)=>{if(oE(s.keys,u)){const d=iE(i.containerQueries?i:lE,u);d&&(c[d]=n(t[u],u))}else if(Object.keys(s.values||Bd).includes(u)){const d=s.up(u);c[d]=n(t[u],u)}else{const d=u;c[d]=t[d]}return c},{})}return n(t)}function A1(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((i,a)=>{const s=e.up(a);return i[s]={},i},{}))||{}}function ng(e,t){return e.reduce((n,i)=>{const a=n[i];return(!a||Object.keys(a).length===0)&&delete n[i],n},t)}function cE(e,...t){const n=A1(e),i=[n,...t].reduce((a,s)=>En(a,s),{});return ng(Object.keys(n),i)}function uE(e,t){if(typeof e!="object")return{};const n={},i=Object.keys(t);return Array.isArray(e)?i.forEach((a,s)=>{s<e.length&&(n[a]=!0)}):i.forEach(a=>{e[a]!=null&&(n[a]=!0)}),n}function sa({values:e,breakpoints:t,base:n}){const i=n||uE(e,t),a=Object.keys(i);if(a.length===0)return e;let s;return a.reduce((c,u,d)=>(Array.isArray(e)?(c[u]=e[d]!=null?e[d]:e[s],s=d):typeof e=="object"?(c[u]=e[u]!=null?e[u]:e[s],s=u):c[u]=e,c),{})}function ee(e){if(typeof e!="string")throw new Error(pr(7));return e.charAt(0).toUpperCase()+e.slice(1)}function xi(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const i=`vars.${t}`.split(".").reduce((a,s)=>a&&a[s]?a[s]:null,e);if(i!=null)return i}return t.split(".").reduce((i,a)=>i&&i[a]!=null?i[a]:null,e)}function bd(e,t,n,i=n){let a;return typeof e=="function"?a=e(n):Array.isArray(e)?a=e[n]||i:a=xi(e,n)||i,t&&(a=t(a,i,e)),a}function Sn(e){const{prop:t,cssProperty:n=e.prop,themeKey:i,transform:a}=e,s=c=>{if(c[t]==null)return null;const u=c[t],d=c.theme,f=xi(d,i)||{};return mr(c,u,y=>{let x=bd(f,a,y);return y===x&&typeof y=="string"&&(x=bd(f,a,`${t}${y==="default"?"":ee(y)}`,y)),n===!1?x:{[n]:x}})};return s.propTypes={},s.filterProps=[t],s}function dE(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const pE={m:"margin",p:"padding"},fE={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},X0={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},mE=dE(e=>{if(e.length>2)if(X0[e])e=X0[e];else return[e];const[t,n]=e.split(""),i=pE[t],a=fE[n]||"";return Array.isArray(a)?a.map(s=>i+s):[i+a]}),Wg=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Hg=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Wg,...Hg];function lc(e,t,n,i){const a=xi(e,t,!0)??n;return typeof a=="number"||typeof a=="string"?s=>typeof s=="string"?s:typeof a=="string"?`calc(${s} * ${a})`:a*s:Array.isArray(a)?s=>{if(typeof s=="string")return s;const c=Math.abs(s),u=a[c];return s>=0?u:typeof u=="number"?-u:`-${u}`}:typeof a=="function"?a:()=>{}}function Dd(e){return lc(e,"spacing",8)}function da(e,t){return typeof t=="string"||t==null?t:e(t)}function gE(e,t){return n=>e.reduce((i,a)=>(i[a]=da(t,n),i),{})}function hE(e,t,n,i){if(!t.includes(n))return null;const a=mE(n),s=gE(a,i),c=e[n];return mr(e,c,s)}function j1(e,t){const n=Dd(e.theme);return Object.keys(e).map(i=>hE(e,t,i,n)).reduce(jl,{})}function vn(e){return j1(e,Wg)}vn.propTypes={};vn.filterProps=Wg;function yn(e){return j1(e,Hg)}yn.propTypes={};yn.filterProps=Hg;function Ug(e=8,t=Dd({spacing:e})){if(e.mui)return e;const n=(...i)=>(i.length===0?[1]:i).map(s=>{const c=t(s);return typeof c=="number"?`${c}px`:c}).join(" ");return n.mui=!0,n}function zd(...e){const t=e.reduce((i,a)=>(a.filterProps.forEach(s=>{i[s]=a}),i),{}),n=i=>Object.keys(i).reduce((a,s)=>t[s]?jl(a,t[s](i)):a,{});return n.propTypes={},n.filterProps=e.reduce((i,a)=>i.concat(a.filterProps),[]),n}function Nr(e){return typeof e!="number"?e:`${e}px solid`}function Gr(e,t){return Sn({prop:e,themeKey:"borders",transform:t})}const vE=Gr("border",Nr),yE=Gr("borderTop",Nr),bE=Gr("borderRight",Nr),xE=Gr("borderBottom",Nr),SE=Gr("borderLeft",Nr),CE=Gr("borderColor"),wE=Gr("borderTopColor"),kE=Gr("borderRightColor"),RE=Gr("borderBottomColor"),PE=Gr("borderLeftColor"),TE=Gr("outline",Nr),EE=Gr("outlineColor"),Fd=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=lc(e.theme,"shape.borderRadius",4),n=i=>({borderRadius:da(t,i)});return mr(e,e.borderRadius,n)}return null};Fd.propTypes={};Fd.filterProps=["borderRadius"];zd(vE,yE,bE,xE,SE,CE,wE,kE,RE,PE,Fd,TE,EE);const _d=e=>{if(e.gap!==void 0&&e.gap!==null){const t=lc(e.theme,"spacing",8),n=i=>({gap:da(t,i)});return mr(e,e.gap,n)}return null};_d.propTypes={};_d.filterProps=["gap"];const Wd=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=lc(e.theme,"spacing",8),n=i=>({columnGap:da(t,i)});return mr(e,e.columnGap,n)}return null};Wd.propTypes={};Wd.filterProps=["columnGap"];const Hd=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=lc(e.theme,"spacing",8),n=i=>({rowGap:da(t,i)});return mr(e,e.rowGap,n)}return null};Hd.propTypes={};Hd.filterProps=["rowGap"];const IE=Sn({prop:"gridColumn"}),$E=Sn({prop:"gridRow"}),ME=Sn({prop:"gridAutoFlow"}),OE=Sn({prop:"gridAutoColumns"}),AE=Sn({prop:"gridAutoRows"}),jE=Sn({prop:"gridTemplateColumns"}),LE=Sn({prop:"gridTemplateRows"}),NE=Sn({prop:"gridTemplateAreas"}),BE=Sn({prop:"gridArea"});zd(_d,Wd,Hd,IE,$E,ME,OE,AE,jE,LE,NE,BE);function rs(e,t){return t==="grey"?t:e}const DE=Sn({prop:"color",themeKey:"palette",transform:rs}),zE=Sn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:rs}),FE=Sn({prop:"backgroundColor",themeKey:"palette",transform:rs});zd(DE,zE,FE);function Cr(e){return e<=1&&e!==0?`${e*100}%`:e}const _E=Sn({prop:"width",transform:Cr}),Vg=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var a,s,c,u,d;const i=((c=(s=(a=e.theme)==null?void 0:a.breakpoints)==null?void 0:s.values)==null?void 0:c[n])||Bd[n];return i?((d=(u=e.theme)==null?void 0:u.breakpoints)==null?void 0:d.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Cr(n)}};return mr(e,e.maxWidth,t)}return null};Vg.filterProps=["maxWidth"];const WE=Sn({prop:"minWidth",transform:Cr}),HE=Sn({prop:"height",transform:Cr}),UE=Sn({prop:"maxHeight",transform:Cr}),VE=Sn({prop:"minHeight",transform:Cr});Sn({prop:"size",cssProperty:"width",transform:Cr});Sn({prop:"size",cssProperty:"height",transform:Cr});const GE=Sn({prop:"boxSizing"});zd(_E,Vg,WE,HE,UE,VE,GE);const cc={border:{themeKey:"borders",transform:Nr},borderTop:{themeKey:"borders",transform:Nr},borderRight:{themeKey:"borders",transform:Nr},borderBottom:{themeKey:"borders",transform:Nr},borderLeft:{themeKey:"borders",transform:Nr},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Nr},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Fd},color:{themeKey:"palette",transform:rs},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:rs},backgroundColor:{themeKey:"palette",transform:rs},p:{style:yn},pt:{style:yn},pr:{style:yn},pb:{style:yn},pl:{style:yn},px:{style:yn},py:{style:yn},padding:{style:yn},paddingTop:{style:yn},paddingRight:{style:yn},paddingBottom:{style:yn},paddingLeft:{style:yn},paddingX:{style:yn},paddingY:{style:yn},paddingInline:{style:yn},paddingInlineStart:{style:yn},paddingInlineEnd:{style:yn},paddingBlock:{style:yn},paddingBlockStart:{style:yn},paddingBlockEnd:{style:yn},m:{style:vn},mt:{style:vn},mr:{style:vn},mb:{style:vn},ml:{style:vn},mx:{style:vn},my:{style:vn},margin:{style:vn},marginTop:{style:vn},marginRight:{style:vn},marginBottom:{style:vn},marginLeft:{style:vn},marginX:{style:vn},marginY:{style:vn},marginInline:{style:vn},marginInlineStart:{style:vn},marginInlineEnd:{style:vn},marginBlock:{style:vn},marginBlockStart:{style:vn},marginBlockEnd:{style:vn},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:_d},rowGap:{style:Hd},columnGap:{style:Wd},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Cr},maxWidth:{style:Vg},minWidth:{transform:Cr},height:{transform:Cr},maxHeight:{transform:Cr},minHeight:{transform:Cr},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function qE(...e){const t=e.reduce((i,a)=>i.concat(Object.keys(a)),[]),n=new Set(t);return e.every(i=>n.size===Object.keys(i).length)}function KE(e,t){return typeof e=="function"?e(t):e}function YE(){function e(n,i,a,s){const c={[n]:i,theme:a},u=s[n];if(!u)return{[n]:i};const{cssProperty:d=n,themeKey:f,transform:m,style:y}=u;if(i==null)return null;if(f==="typography"&&i==="inherit")return{[n]:i};const x=xi(a,f)||{};return y?y(c):mr(c,i,C=>{let b=bd(x,m,C);return C===b&&typeof C=="string"&&(b=bd(x,m,`${n}${C==="default"?"":ee(C)}`,C)),d===!1?b:{[d]:b}})}function t(n){const{sx:i,theme:a={},nested:s}=n||{};if(!i)return null;const c=a.unstable_sxConfig??cc;function u(d){let f=d;if(typeof d=="function")f=d(a);else if(typeof d!="object")return d;if(!f)return null;const m=A1(a.breakpoints),y=Object.keys(m);let x=m;return Object.keys(f).forEach(P=>{const C=KE(f[P],a);if(C!=null)if(typeof C=="object")if(c[P])x=jl(x,e(P,C,a,c));else{const b=mr({theme:a},C,k=>({[P]:k}));qE(b,C)?x[P]=t({sx:C,theme:a,nested:!0}):x=jl(x,b)}else x=jl(x,e(P,C,a,c))}),!s&&a.modularCssLayers?{"@layer sx":K0(a,ng(y,x))}:K0(a,ng(y,x))}return Array.isArray(i)?i.map(u):u(i)}return t}const Pi=YE();Pi.filterProps=["sx"];function XE(e,t){var i;const n=this;if(n.vars){if(!((i=n.colorSchemes)!=null&&i[e])||typeof n.getColorSchemeSelector!="function")return{};let a=n.getColorSchemeSelector(e);return a==="&"?t:((a.includes("data-")||a.includes("."))&&(a=`*:where(${a.replace(/\s*&$/,"")}) &`),{[a]:t})}return n.palette.mode===e?t:{}}function bs(e={},...t){const{breakpoints:n={},palette:i={},spacing:a,shape:s={},...c}=e,u=Nd(n),d=Ug(a);let f=En({breakpoints:u,direction:"ltr",components:{},palette:{mode:"light",...i},spacing:d,shape:{...sE,...s}},c);return f=aE(f),f.applyStyles=XE,f=t.reduce((m,y)=>En(m,y),f),f.unstable_sxConfig={...cc,...c==null?void 0:c.unstable_sxConfig},f.unstable_sx=function(y){return Pi({sx:y,theme:this})},f}function QE(e){return Object.keys(e).length===0}function Ud(e=null){const t=h.useContext(sc);return!t||QE(t)?e:t}const JE=bs();function uc(e=JE){return Ud(e)}function dm(e){const t=ki(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function L1({styles:e,themeId:t,defaultTheme:n={}}){const i=uc(n),a=t&&i[t]||i;let s=typeof e=="function"?e(a):e;return a.modularCssLayers&&(Array.isArray(s)?s=s.map(c=>dm(typeof c=="function"?c(a):c)):s=dm(s)),g.jsx(I1,{styles:s})}const ZE=e=>{var i;const t={systemProps:{},otherProps:{}},n=((i=e==null?void 0:e.theme)==null?void 0:i.unstable_sxConfig)??cc;return Object.keys(e).forEach(a=>{n[a]?t.systemProps[a]=e[a]:t.otherProps[a]=e[a]}),t};function dc(e){const{sx:t,...n}=e,{systemProps:i,otherProps:a}=ZE(n);let s;return Array.isArray(t)?s=[i,...t]:typeof t=="function"?s=(...c)=>{const u=t(...c);return go(u)?{...i,...u}:i}:s={...i,...t},{...a,sx:s}}const Q0=e=>e,eI=()=>{let e=Q0;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Q0}}},Gg=eI();function N1(e){var t,n,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=N1(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function ae(){for(var e,t,n=0,i="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=N1(e))&&(i&&(i+=" "),i+=t);return i}function tI(e={}){const{themeId:t,defaultTheme:n,defaultClassName:i="MuiBox-root",generateClassName:a}=e,s=$1("div",{shouldForwardProp:u=>u!=="theme"&&u!=="sx"&&u!=="as"})(Pi);return h.forwardRef(function(d,f){const m=uc(n),{className:y,component:x="div",...P}=dc(d);return g.jsx(s,{as:x,ref:f,className:ae(y,a?a(i):i),theme:t&&m[t]||m,...P})})}const nI={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 Ee(e,t,n="Mui"){const i=nI[t];return i?`${n}-${i}`:`${Gg.generate(e)}-${t}`}function Ie(e,t,n="Mui"){const i={};return t.forEach(a=>{i[a]=Ee(e,a,n)}),i}function B1(e){const{variants:t,...n}=e,i={variants:t,style:ki(n),isProcessed:!0};return i.style===n||t&&t.forEach(a=>{typeof a.style!="function"&&(a.style=ki(a.style))}),i}const rI=bs();function pm(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function ra(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function oI(e){return e?(t,n)=>n[e]:null}function iI(e,t,n){e.theme=sI(e.theme)?n:e.theme[t]||e.theme}function nd(e,t,n){const i=typeof t=="function"?t(e):t;if(Array.isArray(i))return i.flatMap(a=>nd(e,a,n));if(Array.isArray(i==null?void 0:i.variants)){let a;if(i.isProcessed)a=n?ra(i.style,n):i.style;else{const{variants:s,...c}=i;a=n?ra(ki(c),n):c}return D1(e,i.variants,[a],n)}return i!=null&&i.isProcessed?n?ra(ki(i.style),n):i.style:n?ra(ki(i),n):i}function D1(e,t,n=[],i=void 0){var s;let a;e:for(let c=0;c<t.length;c+=1){const u=t[c];if(typeof u.props=="function"){if(a??(a={...e,...e.ownerState,ownerState:e.ownerState}),!u.props(a))continue}else for(const d in u.props)if(e[d]!==u.props[d]&&((s=e.ownerState)==null?void 0:s[d])!==u.props[d])continue e;typeof u.style=="function"?(a??(a={...e,...e.ownerState,ownerState:e.ownerState}),n.push(i?ra(ki(u.style(a)),i):u.style(a))):n.push(i?ra(ki(u.style),i):u.style)}return n}function z1(e={}){const{themeId:t,defaultTheme:n=rI,rootShouldForwardProp:i=pm,slotShouldForwardProp:a=pm}=e;function s(u){iI(u,t,n)}return(u,d={})=>{eE(u,j=>j.filter(A=>A!==Pi));const{name:f,slot:m,skipVariantsResolver:y,skipSx:x,overridesResolver:P=oI(cI(m)),...C}=d,b=f&&f.startsWith("Mui")||m?"components":"custom",k=y!==void 0?y:m&&m!=="Root"&&m!=="root"||!1,w=x||!1;let T=pm;m==="Root"||m==="root"?T=i:m?T=a:lI(u)&&(T=void 0);const R=$1(u,{shouldForwardProp:T,label:aI(),...C}),I=j=>{if(j.__emotion_real===j)return j;if(typeof j=="function")return function(N){return nd(N,j,N.theme.modularCssLayers?b:void 0)};if(go(j)){const A=B1(j);return function($){return A.variants?nd($,A,$.theme.modularCssLayers?b:void 0):$.theme.modularCssLayers?ra(A.style,b):A.style}}return j},O=(...j)=>{const A=[],N=j.map(I),$=[];if(A.push(s),f&&P&&$.push(function(M){var q,F;const W=(F=(q=M.theme.components)==null?void 0:q[f])==null?void 0:F.styleOverrides;if(!W)return null;const H={};for(const _ in W)H[_]=nd(M,W[_],M.theme.modularCssLayers?"theme":void 0);return P(M,H)}),f&&!k&&$.push(function(M){var H,q;const D=M.theme,W=(q=(H=D==null?void 0:D.components)==null?void 0:H[f])==null?void 0:q.variants;return W?D1(M,W,[],M.theme.modularCssLayers?"theme":void 0):null}),w||$.push(Pi),Array.isArray(N[0])){const U=N.shift(),M=new Array(A.length).fill(""),D=new Array($.length).fill("");let W;W=[...M,...U,...D],W.raw=[...M,...U.raw,...D],A.unshift(W)}const S=[...A,...N,...$],L=R(...S);return u.muiName&&(L.muiName=u.muiName),L};return R.withConfig&&(O.withConfig=R.withConfig),O}}function aI(e,t){return void 0}function sI(e){for(const t in e)return!1;return!0}function lI(e){return typeof e=="string"&&e.charCodeAt(0)>96}function cI(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const qg=z1();function us(e,t){const n={...t};for(const i in e)if(Object.prototype.hasOwnProperty.call(e,i)){const a=i;if(a==="components"||a==="slots")n[a]={...e[a],...n[a]};else if(a==="componentsProps"||a==="slotProps"){const s=e[a],c=t[a];if(!c)n[a]=s||{};else if(!s)n[a]=c;else{n[a]={...c};for(const u in s)if(Object.prototype.hasOwnProperty.call(s,u)){const d=u;n[a][d]=us(s[d],c[d])}}}else n[a]===void 0&&(n[a]=e[a])}return n}function Kg(e){const{theme:t,name:n,props:i}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?i:us(t.components[n].defaultProps,i)}function Vd({props:e,name:t,defaultTheme:n,themeId:i}){let a=uc(n);return i&&(a=a[i]||a),Kg({theme:a,name:t,props:e})}const xn=typeof window<"u"?h.useLayoutEffect:h.useEffect;function uI(e,t,n,i,a){const[s,c]=h.useState(()=>a&&n?n(e).matches:i?i(e).matches:t);return xn(()=>{if(!n)return;const u=n(e),d=()=>{c(u.matches)};return d(),u.addEventListener("change",d),()=>{u.removeEventListener("change",d)}},[e,n]),s}const dI={...hd},F1=dI.useSyncExternalStore;function pI(e,t,n,i,a){const s=h.useCallback(()=>t,[t]),c=h.useMemo(()=>{if(a&&n)return()=>n(e).matches;if(i!==null){const{matches:m}=i(e);return()=>m}return s},[s,e,i,a,n]),[u,d]=h.useMemo(()=>{if(n===null)return[s,()=>()=>{}];const m=n(e);return[()=>m.matches,y=>(m.addEventListener("change",y),()=>{m.removeEventListener("change",y)})]},[s,n,e]);return F1(d,u,c)}function _1(e={}){const{themeId:t}=e;return function(i,a={}){let s=Ud();s&&t&&(s=s[t]||s);const c=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:u=!1,matchMedia:d=c?window.matchMedia:null,ssrMatchMedia:f=null,noSsr:m=!1}=Kg({name:"MuiUseMediaQuery",props:a,theme:s});let y=typeof i=="function"?i(s):i;return y=y.replace(/^@media( ?)/m,""),y.includes("print")&&console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.","Using the print media query to modify print styles can lead to unexpected results.","Consider using the `displayPrint` field in the `sx` prop instead.","More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join(`
62
+ `)),(F1!==void 0?pI:uI)(y,u,d,f,m)}}_1();function bi(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function Yg(e,t=0,n=1){return bi(e,t,n)}function Xg(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(i=>i+i)),n?`rgb${n.length===4?"a":""}(${n.map((i,a)=>a<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function fI(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function no(e){if(e.type)return e;if(e.charAt(0)==="#")return no(Xg(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(pr(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"].includes(a))throw new Error(pr(10,a))}else i=i.split(",");return i=i.map(s=>parseFloat(s)),{type:n,values:i,colorSpace:a}}const mI=e=>{const t=no(e);return t.values.slice(0,3).map((n,i)=>t.type.includes("hsl")&&i!==0?`${n}%`:n).join(" ")},Pl=(e,t)=>{try{return mI(e)}catch{return e}};function xs(e){const{type:t,colorSpace:n}=e;let{values:i}=e;return t.includes("rgb")?i=i.map((a,s)=>s<3?parseInt(a,10):a):t.includes("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),t.includes("color")?i=`${n} ${i.join(" ")}`:i=`${i.join(", ")}`,`${t}(${i})`}function W1(e){if(e.startsWith("#"))return e;const{values:t}=no(e);return`#${t.map((n,i)=>fI(i===3?Math.round(255*n):n)).join("")}`}function Gd(e){e=no(e);const{values:t}=e,n=t[0],i=t[1]/100,a=t[2]/100,s=i*Math.min(a,1-a),c=(f,m=(f+n/30)%12)=>a-s*Math.max(Math.min(m-3,9-m,1),-1);let u="rgb";const d=[Math.round(c(0)*255),Math.round(c(8)*255),Math.round(c(4)*255)];return e.type==="hsla"&&(u+="a",d.push(t[3])),xs({type:u,values:d})}function Ul(e){e=no(e);let t=e.type==="hsl"||e.type==="hsla"?no(Gd(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Qg(e,t){const n=Ul(e),i=Ul(t);return(Math.max(n,i)+.05)/(Math.min(n,i)+.05)}function Qe(e,t){return e=no(e),t=Yg(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,xs(e)}function Iu(e,t,n){try{return Qe(e,t)}catch{return e}}function _r(e,t){if(e=no(e),t=Yg(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return xs(e)}function Gt(e,t,n){try{return _r(e,t)}catch{return e}}function Wr(e,t){if(e=no(e),t=Yg(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return xs(e)}function qt(e,t,n){try{return Wr(e,t)}catch{return e}}function pa(e,t=.15){return Ul(e)>.5?_r(e,t):Wr(e,t)}function $u(e,t,n){try{return pa(e,t)}catch{return e}}function Vl(...e){return e.reduce((t,n)=>n==null?t:function(...a){t.apply(this,a),n.apply(this,a)},()=>{})}function ha(e,t=166){let n;function i(...a){const s=()=>{e.apply(this,a)};clearTimeout(n),n=setTimeout(s,t)}return i.clear=()=>{clearTimeout(n)},i}function H1(e,t){return()=>null}function vo(e,t){var n,i,a;return h.isValidElement(e)&&t.indexOf(e.type.muiName??((a=(i=(n=e.type)==null?void 0:n._payload)==null?void 0:i.value)==null?void 0:a.muiName))!==-1}function Kt(e){return e&&e.ownerDocument||document}function In(e){return Kt(e).defaultView||window}function U1(e,t){return()=>null}function Gl(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let J0=0;function gI(e){const[t,n]=h.useState(e),i=e||t;return h.useEffect(()=>{t==null&&(J0+=1,n(`mui-${J0}`))},[t]),i}const hI={...hd},Z0=hI.useId;function Jn(e){if(Z0!==void 0){const t=Z0();return e??t}return gI(e)}function V1(e,t,n,i,a){return null}function Qn({controlled:e,default:t,name:n,state:i="value"}){const{current:a}=h.useRef(e!==void 0),[s,c]=h.useState(t),u=a?e:s,d=h.useCallback(f=>{a||c(f)},[]);return[u,d]}function Yt(e){const t=h.useRef(e);return xn(()=>{t.current=e}),h.useRef((...n)=>(0,t.current)(...n)).current}function Lt(...e){const t=h.useRef(void 0),n=h.useCallback(i=>{const a=e.map(s=>{if(s==null)return null;if(typeof s=="function"){const c=s,u=c(i);return typeof u=="function"?u:()=>{c(null)}}return s.current=i,()=>{s.current=null}});return()=>{a.forEach(s=>s==null?void 0:s())}},e);return h.useMemo(()=>e.every(i=>i==null)?null:i=>{t.current&&(t.current(),t.current=void 0),i!=null&&(t.current=n(i))},e)}const eb={};function G1(e,t){const n=h.useRef(eb);return n.current===eb&&(n.current=e(t)),n}const vI=[];function yI(e){h.useEffect(e,vI)}class qd{constructor(){al(this,"currentId",null);al(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});al(this,"disposeEffect",()=>this.clear)}static create(){return new qd}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Do(){const e=G1(qd.create).current;return yI(e.disposeEffect),e}function bo(e){try{return e.matches(":focus-visible")}catch{}return!1}function q1(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}const Jg=e=>{const t=h.useRef({});return h.useEffect(()=>{t.current=e}),t.current};function K1(e){return h.Children.toArray(e).filter(t=>h.isValidElement(t))}const Zg={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function $e(e,t,n=void 0){const i={};for(const a in e){const s=e[a];let c="",u=!0;for(let d=0;d<s.length;d+=1){const f=s[d];f&&(c+=(u===!0?"":" ")+t(f),u=!1,n&&n[f]&&(c+=" "+n[f]))}i[a]=c}return i}function bI(e){return typeof e=="string"}function Y1(e,t,n){return e===void 0||bI(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function la(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(i=>i.match(/^on[A-Z]/)&&typeof e[i]=="function"&&!t.includes(i)).forEach(i=>{n[i]=e[i]}),n}function tb(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function X1(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:i,externalForwardedProps:a,className:s}=e;if(!t){const P=ae(n==null?void 0:n.className,s,a==null?void 0:a.className,i==null?void 0:i.className),C={...n==null?void 0:n.style,...a==null?void 0:a.style,...i==null?void 0:i.style},b={...n,...a,...i};return P.length>0&&(b.className=P),Object.keys(C).length>0&&(b.style=C),{props:b,internalRef:void 0}}const c=la({...a,...i}),u=tb(i),d=tb(a),f=t(c),m=ae(f==null?void 0:f.className,n==null?void 0:n.className,s,a==null?void 0:a.className,i==null?void 0:i.className),y={...f==null?void 0:f.style,...n==null?void 0:n.style,...a==null?void 0:a.style,...i==null?void 0:i.style},x={...f,...n,...d,...u};return m.length>0&&(x.className=m),Object.keys(y).length>0&&(x.style=y),{props:x,internalRef:f.ref}}function Q1(e,t,n){return typeof e=="function"?e(t,n):e}function Yn(e){var y;const{elementType:t,externalSlotProps:n,ownerState:i,skipResolvingSlotProps:a=!1,...s}=e,c=a?{}:Q1(n,i),{props:u,internalRef:d}=X1({...s,externalSlotProps:c}),f=Lt(d,c==null?void 0:c.ref,(y=e.additionalProps)==null?void 0:y.ref);return Y1(t,{...u,ref:f},i)}function qo(e){var t;return parseInt(h.version,10)>=19?((t=e==null?void 0:e.props)==null?void 0:t.ref)||null:(e==null?void 0:e.ref)||null}const J1=h.createContext(null);function eh(){return h.useContext(J1)}const xI=typeof Symbol=="function"&&Symbol.for,SI=xI?Symbol.for("mui.nested"):"__THEME_NESTED__";function CI(e,t){return typeof t=="function"?t(e):{...e,...t}}function wI(e){const{children:t,theme:n}=e,i=eh(),a=h.useMemo(()=>{const s=i===null?{...n}:CI(i,n);return s!=null&&(s[SI]=i!==null),s},[n,i]);return g.jsx(J1.Provider,{value:a,children:t})}const Z1=h.createContext();function kI({value:e,...t}){return g.jsx(Z1.Provider,{value:e??!0,...t})}const oo=()=>h.useContext(Z1)??!1,eS=h.createContext(void 0);function RI({value:e,children:t}){return g.jsx(eS.Provider,{value:e,children:t})}function PI(e){const{theme:t,name:n,props:i}=e;if(!t||!t.components||!t.components[n])return i;const a=t.components[n];return a.defaultProps?us(a.defaultProps,i):!a.styleOverrides&&!a.variants?us(a,i):i}function TI({props:e,name:t}){const n=h.useContext(eS);return PI({props:e,name:t,theme:{components:n}})}function EI(e){const t=Ud(),n=Jn()||"",{modularCssLayers:i}=e;let a="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!i||t!==null?a="":typeof i=="string"?a=i.replace(/mui(?!\.)/g,a):a=`@layer ${a};`,xn(()=>{var u,d;const s=document.querySelector("head");if(!s)return;const c=s.firstChild;if(a){if(c&&((u=c.hasAttribute)!=null&&u.call(c,"data-mui-layer-order"))&&c.getAttribute("data-mui-layer-order")===n)return;const f=document.createElement("style");f.setAttribute("data-mui-layer-order",n),f.textContent=a,s.prepend(f)}else(d=s.querySelector(`style[data-mui-layer-order="${n}"]`))==null||d.remove()},[a,n]),a?g.jsx(L1,{styles:a}):null}const nb={};function rb(e,t,n,i=!1){return h.useMemo(()=>{const a=e&&t[e]||t;if(typeof n=="function"){const s=n(a),c=e?{...t,[e]:s}:s;return i?()=>c:c}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,i])}function tS(e){const{children:t,theme:n,themeId:i}=e,a=Ud(nb),s=eh()||nb,c=rb(i,a,n),u=rb(i,s,n,!0),d=(i?c[i]:c).direction==="rtl",f=EI(c);return g.jsx(wI,{theme:u,children:g.jsx(sc.Provider,{value:c,children:g.jsx(kI,{value:d,children:g.jsxs(RI,{value:i?c[i].components:c.components,children:[f,t]})})})})}const ob={theme:void 0};function II(e){let t,n;return function(a){let s=t;return(s===void 0||a.theme!==n)&&(ob.theme=a.theme,s=B1(e(ob)),t=s,n=a.theme),s}}const th="mode",nh="color-scheme",$I="data-color-scheme";function MI(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:i="dark",modeStorageKey:a=th,colorSchemeStorageKey:s=nh,attribute:c=$I,colorSchemeNode:u="document.documentElement",nonce:d}=e||{};let f="",m=c;if(c==="class"&&(m=".%s"),c==="data"&&(m="[data-%s]"),m.startsWith(".")){const x=m.substring(1);f+=`${u}.classList.remove('${x}'.replace('%s', light), '${x}'.replace('%s', dark));
63
+ ${u}.classList.add('${x}'.replace('%s', colorScheme));`}const y=m.match(/\[([^\]]+)\]/);if(y){const[x,P]=y[1].split("=");P||(f+=`${u}.removeAttribute('${x}'.replace('%s', light));
64
+ ${u}.removeAttribute('${x}'.replace('%s', dark));`),f+=`
65
+ ${u}.setAttribute('${x}'.replace('%s', colorScheme), ${P?`${P}.replace('%s', colorScheme)`:'""'});`}else f+=`${u}.setAttribute('${m}', colorScheme);`;return g.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?d:"",dangerouslySetInnerHTML:{__html:`(function() {
66
+ try {
67
+ let colorScheme = '';
68
+ const mode = localStorage.getItem('${a}') || '${t}';
69
+ const dark = localStorage.getItem('${s}-dark') || '${i}';
70
+ const light = localStorage.getItem('${s}-light') || '${n}';
71
+ if (mode === 'system') {
72
+ // handle system mode
73
+ const mql = window.matchMedia('(prefers-color-scheme: dark)');
74
+ if (mql.matches) {
75
+ colorScheme = dark
76
+ } else {
77
+ colorScheme = light
78
+ }
79
+ }
80
+ if (mode === 'light') {
81
+ colorScheme = light;
82
+ }
83
+ if (mode === 'dark') {
84
+ colorScheme = dark;
85
+ }
86
+ if (colorScheme) {
87
+ ${f}
88
+ }
89
+ } catch(e){}})();`}},"mui-color-scheme-init")}function OI(){}const AI=({key:e,storageWindow:t})=>(!t&&typeof window<"u"&&(t=window),{get(n){if(typeof window>"u")return;if(!t)return n;let i;try{i=t.localStorage.getItem(e)}catch{}return i||n},set:n=>{if(t)try{t.localStorage.setItem(e,n)}catch{}},subscribe:n=>{if(!t)return OI;const i=a=>{const s=a.newValue;a.key===e&&n(s)};return t.addEventListener("storage",i),()=>{t.removeEventListener("storage",i)}}});function fm(){}function ib(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function nS(e,t){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return t("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return t("dark")}function jI(e){return nS(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function LI(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:i,supportedColorSchemes:a=[],modeStorageKey:s=th,colorSchemeStorageKey:c=nh,storageWindow:u=typeof window>"u"?void 0:window,storageManager:d=AI,noSsr:f=!1}=e,m=a.join(","),y=a.length>1,x=h.useMemo(()=>d==null?void 0:d({key:s,storageWindow:u}),[d,s,u]),P=h.useMemo(()=>d==null?void 0:d({key:`${c}-light`,storageWindow:u}),[d,c,u]),C=h.useMemo(()=>d==null?void 0:d({key:`${c}-dark`,storageWindow:u}),[d,c,u]),[b,k]=h.useState(()=>{const N=(x==null?void 0:x.get(t))||t,$=(P==null?void 0:P.get(n))||n,S=(C==null?void 0:C.get(i))||i;return{mode:N,systemMode:ib(N),lightColorScheme:$,darkColorScheme:S}}),[w,T]=h.useState(f||!y);h.useEffect(()=>{T(!0)},[]);const R=jI(b),I=h.useCallback(N=>{k($=>{if(N===$.mode)return $;const S=N??t;return x==null||x.set(S),{...$,mode:S,systemMode:ib(S)}})},[x,t]),O=h.useCallback(N=>{N?typeof N=="string"?N&&!m.includes(N)?console.error(`\`${N}\` does not exist in \`theme.colorSchemes\`.`):k($=>{const S={...$};return nS($,L=>{L==="light"&&(P==null||P.set(N),S.lightColorScheme=N),L==="dark"&&(C==null||C.set(N),S.darkColorScheme=N)}),S}):k($=>{const S={...$},L=N.light===null?n:N.light,U=N.dark===null?i:N.dark;return L&&(m.includes(L)?(S.lightColorScheme=L,P==null||P.set(L)):console.error(`\`${L}\` does not exist in \`theme.colorSchemes\`.`)),U&&(m.includes(U)?(S.darkColorScheme=U,C==null||C.set(U)):console.error(`\`${U}\` does not exist in \`theme.colorSchemes\`.`)),S}):k($=>(P==null||P.set(n),C==null||C.set(i),{...$,lightColorScheme:n,darkColorScheme:i}))},[m,P,C,n,i]),j=h.useCallback(N=>{b.mode==="system"&&k($=>{const S=N!=null&&N.matches?"dark":"light";return $.systemMode===S?$:{...$,systemMode:S}})},[b.mode]),A=h.useRef(j);return A.current=j,h.useEffect(()=>{if(typeof window.matchMedia!="function"||!y)return;const N=(...S)=>A.current(...S),$=window.matchMedia("(prefers-color-scheme: dark)");return $.addListener(N),N($),()=>{$.removeListener(N)}},[y]),h.useEffect(()=>{if(y){const N=(x==null?void 0:x.subscribe(L=>{(!L||["light","dark","system"].includes(L))&&I(L||t)}))||fm,$=(P==null?void 0:P.subscribe(L=>{(!L||m.match(L))&&O({light:L})}))||fm,S=(C==null?void 0:C.subscribe(L=>{(!L||m.match(L))&&O({dark:L})}))||fm;return()=>{N(),$(),S()}}},[O,I,m,t,u,y,x,P,C]),{...b,mode:w?b.mode:void 0,systemMode:w?b.systemMode:void 0,colorScheme:w?R:void 0,setMode:I,setColorScheme:O}}const NI="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function BI(e){const{themeId:t,theme:n={},modeStorageKey:i=th,colorSchemeStorageKey:a=nh,disableTransitionOnChange:s=!1,defaultColorScheme:c,resolveTheme:u}=e,d={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},f=h.createContext(void 0),m=()=>h.useContext(f)||d,y={},x={};function P(w){var Re,pe,ye,De;const{children:T,theme:R,modeStorageKey:I=i,colorSchemeStorageKey:O=a,disableTransitionOnChange:j=s,storageManager:A,storageWindow:N=typeof window>"u"?void 0:window,documentNode:$=typeof document>"u"?void 0:document,colorSchemeNode:S=typeof document>"u"?void 0:document.documentElement,disableNestedContext:L=!1,disableStyleSheetGeneration:U=!1,defaultMode:M="system",noSsr:D}=w,W=h.useRef(!1),H=eh(),q=h.useContext(f),F=!!q&&!L,_=h.useMemo(()=>R||(typeof n=="function"?n():n),[R]),V=_[t],B=V||_,{colorSchemes:G=y,components:Z=x,cssVarPrefix:te}=B,K=Object.keys(G).filter(we=>!!G[we]).join(","),J=h.useMemo(()=>K.split(","),[K]),Q=typeof c=="string"?c:c.light,ie=typeof c=="string"?c:c.dark,se=G[Q]&&G[ie]?M:((pe=(Re=G[B.defaultColorScheme])==null?void 0:Re.palette)==null?void 0:pe.mode)||((ye=B.palette)==null?void 0:ye.mode),{mode:ue,setMode:ge,systemMode:ce,lightColorScheme:he,darkColorScheme:Se,colorScheme:Ae,setColorScheme:He}=LI({supportedColorSchemes:J,defaultLightColorScheme:Q,defaultDarkColorScheme:ie,modeStorageKey:I,colorSchemeStorageKey:O,defaultMode:se,storageManager:A,storageWindow:N,noSsr:D});let fe=ue,ve=Ae;F&&(fe=q.mode,ve=q.colorScheme);const Ne=h.useMemo(()=>{var Fe;const we=ve||B.defaultColorScheme,je=((Fe=B.generateThemeVars)==null?void 0:Fe.call(B))||B.vars,Pe={...B,components:Z,colorSchemes:G,cssVarPrefix:te,vars:je};if(typeof Pe.generateSpacing=="function"&&(Pe.spacing=Pe.generateSpacing()),we){const ot=G[we];ot&&typeof ot=="object"&&Object.keys(ot).forEach(Ke=>{ot[Ke]&&typeof ot[Ke]=="object"?Pe[Ke]={...Pe[Ke],...ot[Ke]}:Pe[Ke]=ot[Ke]})}return u?u(Pe):Pe},[B,ve,Z,G,te]),Be=B.colorSchemeSelector;xn(()=>{if(ve&&S&&Be&&Be!=="media"){const we=Be;let je=Be;if(we==="class"&&(je=".%s"),we==="data"&&(je="[data-%s]"),we!=null&&we.startsWith("data-")&&!we.includes("%s")&&(je=`[${we}="%s"]`),je.startsWith("."))S.classList.remove(...J.map(Pe=>je.substring(1).replace("%s",Pe))),S.classList.add(je.substring(1).replace("%s",ve));else{const Pe=je.replace("%s",ve).match(/\[([^\]]+)\]/);if(Pe){const[Fe,ot]=Pe[1].split("=");ot||J.forEach(Ke=>{S.removeAttribute(Fe.replace(ve,Ke))}),S.setAttribute(Fe,ot?ot.replace(/"|'/g,""):"")}else S.setAttribute(je,ve)}}},[ve,Be,S,J]),h.useEffect(()=>{let we;if(j&&W.current&&$){const je=$.createElement("style");je.appendChild($.createTextNode(NI)),$.head.appendChild(je),window.getComputedStyle($.body),we=setTimeout(()=>{$.head.removeChild(je)},1)}return()=>{clearTimeout(we)}},[ve,j,$]),h.useEffect(()=>(W.current=!0,()=>{W.current=!1}),[]);const be=h.useMemo(()=>({allColorSchemes:J,colorScheme:ve,darkColorScheme:Se,lightColorScheme:he,mode:fe,setColorScheme:He,setMode:ge,systemMode:ce}),[J,ve,Se,he,fe,He,ge,ce,Ne.colorSchemeSelector]);let oe=!0;(U||B.cssVariables===!1||F&&(H==null?void 0:H.cssVarPrefix)===te)&&(oe=!1);const Me=g.jsxs(h.Fragment,{children:[g.jsx(tS,{themeId:V?t:void 0,theme:Ne,children:T}),oe&&g.jsx(I1,{styles:((De=Ne.generateStyleSheets)==null?void 0:De.call(Ne))||[]})]});return F?Me:g.jsx(f.Provider,{value:be,children:Me})}const C=typeof c=="string"?c:c.light,b=typeof c=="string"?c:c.dark;return{CssVarsProvider:P,useColorScheme:m,getInitColorSchemeScript:w=>MI({colorSchemeStorageKey:a,defaultLightColorScheme:C,defaultDarkColorScheme:b,modeStorageKey:i,...w})}}function DI(e=""){function t(...i){if(!i.length)return"";const a=i[0];return typeof a=="string"&&!a.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${a}${t(...i.slice(1))})`:`, ${a}`}return(i,...a)=>`var(--${e?`${e}-`:""}${i}${t(...a)})`}const ab=(e,t,n,i=[])=>{let a=e;t.forEach((s,c)=>{c===t.length-1?Array.isArray(a)?a[Number(s)]=n:a&&typeof a=="object"&&(a[s]=n):a&&typeof a=="object"&&(a[s]||(a[s]=i.includes(s)?[]:{}),a=a[s])})},zI=(e,t,n)=>{function i(a,s=[],c=[]){Object.entries(a).forEach(([u,d])=>{(!n||n&&!n([...s,u]))&&d!=null&&(typeof d=="object"&&Object.keys(d).length>0?i(d,[...s,u],Array.isArray(d)?[...c,u]:c):t([...s,u],d,c))})}i(e)},FI=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(i=>e.includes(i))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function mm(e,t){const{prefix:n,shouldSkipGeneratingVar:i}=t||{},a={},s={},c={};return zI(e,(u,d,f)=>{if((typeof d=="string"||typeof d=="number")&&(!i||!i(u,d))){const m=`--${n?`${n}-`:""}${u.join("-")}`,y=FI(u,d);Object.assign(a,{[m]:y}),ab(s,u,`var(${m})`,f),ab(c,u,`var(${m}, ${y})`,f)}},u=>u[0]==="vars"),{css:a,vars:s,varsWithDefaults:c}}function _I(e,t={}){const{getSelector:n=k,disableCssColorScheme:i,colorSchemeSelector:a}=t,{colorSchemes:s={},components:c,defaultColorScheme:u="light",...d}=e,{vars:f,css:m,varsWithDefaults:y}=mm(d,t);let x=y;const P={},{[u]:C,...b}=s;if(Object.entries(b||{}).forEach(([R,I])=>{const{vars:O,css:j,varsWithDefaults:A}=mm(I,t);x=En(x,A),P[R]={css:j,vars:O}}),C){const{css:R,vars:I,varsWithDefaults:O}=mm(C,t);x=En(x,O),P[u]={css:R,vars:I}}function k(R,I){var j,A;let O=a;if(a==="class"&&(O=".%s"),a==="data"&&(O="[data-%s]"),a!=null&&a.startsWith("data-")&&!a.includes("%s")&&(O=`[${a}="%s"]`),R){if(O==="media")return e.defaultColorScheme===R?":root":{[`@media (prefers-color-scheme: ${((A=(j=s[R])==null?void 0:j.palette)==null?void 0:A.mode)||R})`]:{":root":I}};if(O)return e.defaultColorScheme===R?`:root, ${O.replace("%s",String(R))}`:O.replace("%s",String(R))}return":root"}return{vars:x,generateThemeVars:()=>{let R={...f};return Object.entries(P).forEach(([,{vars:I}])=>{R=En(R,I)}),R},generateStyleSheets:()=>{var N,$;const R=[],I=e.defaultColorScheme||"light";function O(S,L){Object.keys(L).length&&R.push(typeof S=="string"?{[S]:{...L}}:S)}O(n(void 0,{...m}),m);const{[I]:j,...A}=P;if(j){const{css:S}=j,L=($=(N=s[I])==null?void 0:N.palette)==null?void 0:$.mode,U=!i&&L?{colorScheme:L,...S}:{...S};O(n(I,{...U}),U)}return Object.entries(A).forEach(([S,{css:L}])=>{var D,W;const U=(W=(D=s[S])==null?void 0:D.palette)==null?void 0:W.mode,M=!i&&U?{colorScheme:U,...L}:{...L};O(n(S,{...M}),M)}),R}}}function WI(e){return function(n){return e==="media"?`@media (prefers-color-scheme: ${n})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}const HI=bs(),UI=qg("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${ee(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),VI=e=>Vd({props:e,name:"MuiContainer",defaultTheme:HI}),GI=(e,t)=>{const n=d=>Ee(t,d),{classes:i,fixed:a,disableGutters:s,maxWidth:c}=e,u={root:["root",c&&`maxWidth${ee(String(c))}`,a&&"fixed",s&&"disableGutters"]};return $e(u,n,i)};function qI(e={}){const{createStyledComponent:t=UI,useThemeProps:n=VI,componentName:i="MuiContainer"}=e,a=t(({theme:c,ownerState:u})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!u.disableGutters&&{paddingLeft:c.spacing(2),paddingRight:c.spacing(2),[c.breakpoints.up("sm")]:{paddingLeft:c.spacing(3),paddingRight:c.spacing(3)}}}),({theme:c,ownerState:u})=>u.fixed&&Object.keys(c.breakpoints.values).reduce((d,f)=>{const m=f,y=c.breakpoints.values[m];return y!==0&&(d[c.breakpoints.up(m)]={maxWidth:`${y}${c.breakpoints.unit}`}),d},{}),({theme:c,ownerState:u})=>({...u.maxWidth==="xs"&&{[c.breakpoints.up("xs")]:{maxWidth:Math.max(c.breakpoints.values.xs,444)}},...u.maxWidth&&u.maxWidth!=="xs"&&{[c.breakpoints.up(u.maxWidth)]:{maxWidth:`${c.breakpoints.values[u.maxWidth]}${c.breakpoints.unit}`}}}));return h.forwardRef(function(u,d){const f=n(u),{className:m,component:y="div",disableGutters:x=!1,fixed:P=!1,maxWidth:C="lg",classes:b,...k}=f,w={...f,component:y,disableGutters:x,fixed:P,maxWidth:C},T=GI(w,i);return g.jsx(a,{as:y,ownerState:w,className:ae(T.root,m),ref:d,...k})})}const KI=(e,t)=>e.filter(n=>t.includes(n)),Ss=(e,t,n)=>{const i=e.keys[0];Array.isArray(t)?t.forEach((a,s)=>{n((c,u)=>{s<=e.keys.length-1&&(s===0?Object.assign(c,u):c[e.up(e.keys[s])]=u)},a)}):t&&typeof t=="object"?(Object.keys(t).length>e.keys.length?e.keys:KI(e.keys,Object.keys(t))).forEach(s=>{if(e.keys.includes(s)){const c=t[s];c!==void 0&&n((u,d)=>{i===s?Object.assign(u,d):u[e.up(s)]=d},c)}}):(typeof t=="number"||typeof t=="string")&&n((a,s)=>{Object.assign(a,s)},t)};function xd(e){return`--Grid-${e}Spacing`}function Kd(e){return`--Grid-parent-${e}Spacing`}const sb="--Grid-columns",os="--Grid-parent-columns",YI=({theme:e,ownerState:t})=>{const n={};return Ss(e.breakpoints,t.size,(i,a)=>{let s={};a==="grow"&&(s={flexBasis:0,flexGrow:1,maxWidth:"100%"}),a==="auto"&&(s={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),typeof a=="number"&&(s={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${a} / var(${os}) - (var(${os}) - ${a}) * (var(${Kd("column")}) / var(${os})))`}),i(n,s)}),n},XI=({theme:e,ownerState:t})=>{const n={};return Ss(e.breakpoints,t.offset,(i,a)=>{let s={};a==="auto"&&(s={marginLeft:"auto"}),typeof a=="number"&&(s={marginLeft:a===0?"0px":`calc(100% * ${a} / var(${os}) + var(${Kd("column")}) * ${a} / var(${os}))`}),i(n,s)}),n},QI=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={[sb]:12};return Ss(e.breakpoints,t.columns,(i,a)=>{const s=a??12;i(n,{[sb]:s,"> *":{[os]:s}})}),n},JI=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return Ss(e.breakpoints,t.rowSpacing,(i,a)=>{var c;const s=typeof a=="string"?a:(c=e.spacing)==null?void 0:c.call(e,a);i(n,{[xd("row")]:s,"> *":{[Kd("row")]:s}})}),n},ZI=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return Ss(e.breakpoints,t.columnSpacing,(i,a)=>{var c;const s=typeof a=="string"?a:(c=e.spacing)==null?void 0:c.call(e,a);i(n,{[xd("column")]:s,"> *":{[Kd("column")]:s}})}),n},e$=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return Ss(e.breakpoints,t.direction,(i,a)=>{i(n,{flexDirection:a})}),n},t$=({ownerState:e})=>({minWidth:0,boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",...e.wrap&&e.wrap!=="wrap"&&{flexWrap:e.wrap},gap:`var(${xd("row")}) var(${xd("column")})`}}),n$=e=>{const t=[];return Object.entries(e).forEach(([n,i])=>{i!==!1&&i!==void 0&&t.push(`grid-${n}-${String(i)}`)}),t},r$=(e,t="xs")=>{function n(i){return i===void 0?!1:typeof i=="string"&&!Number.isNaN(Number(i))||typeof i=="number"&&i>0}if(n(e))return[`spacing-${t}-${String(e)}`];if(typeof e=="object"&&!Array.isArray(e)){const i=[];return Object.entries(e).forEach(([a,s])=>{n(s)&&i.push(`spacing-${a}-${String(s)}`)}),i}return[]},o$=e=>e===void 0?[]:typeof e=="object"?Object.entries(e).map(([t,n])=>`direction-${t}-${n}`):[`direction-xs-${String(e)}`];function i$(e,t){e.item!==void 0&&delete e.item,e.zeroMinWidth!==void 0&&delete e.zeroMinWidth,t.keys.forEach(n=>{e[n]!==void 0&&delete e[n]})}const a$=bs(),s$=qg("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function l$(e){return Vd({props:e,name:"MuiGrid",defaultTheme:a$})}function c$(e={}){const{createStyledComponent:t=s$,useThemeProps:n=l$,useTheme:i=uc,componentName:a="MuiGrid"}=e,s=(f,m)=>{const{container:y,direction:x,spacing:P,wrap:C,size:b}=f,k={root:["root",y&&"container",C!=="wrap"&&`wrap-xs-${String(C)}`,...o$(x),...n$(b),...y?r$(P,m.breakpoints.keys[0]):[]]};return $e(k,w=>Ee(a,w),{})};function c(f,m,y=()=>!0){const x={};return f===null||(Array.isArray(f)?f.forEach((P,C)=>{P!==null&&y(P)&&m.keys[C]&&(x[m.keys[C]]=P)}):typeof f=="object"?Object.keys(f).forEach(P=>{const C=f[P];C!=null&&y(C)&&(x[P]=C)}):x[m.keys[0]]=f),x}const u=t(QI,ZI,JI,YI,e$,t$,XI),d=h.forwardRef(function(m,y){const x=i(),P=n(m),C=dc(P);i$(C,x.breakpoints);const{className:b,children:k,columns:w=12,container:T=!1,component:R="div",direction:I="row",wrap:O="wrap",size:j={},offset:A={},spacing:N=0,rowSpacing:$=N,columnSpacing:S=N,unstable_level:L=0,...U}=C,M=c(j,x.breakpoints,B=>B!==!1),D=c(A,x.breakpoints),W=m.columns??(L?void 0:w),H=m.spacing??(L?void 0:N),q=m.rowSpacing??m.spacing??(L?void 0:$),F=m.columnSpacing??m.spacing??(L?void 0:S),_={...C,level:L,columns:W,container:T,direction:I,wrap:O,spacing:H,rowSpacing:q,columnSpacing:F,size:M,offset:D},V=s(_,x);return g.jsx(u,{ref:y,as:R,ownerState:_,className:ae(V.root,b),...U,children:h.Children.map(k,B=>{var G;return h.isValidElement(B)&&vo(B,["Grid"])&&T&&B.props.container?h.cloneElement(B,{unstable_level:((G=B.props)==null?void 0:G.unstable_level)??L+1}):B})})});return d.muiName="Grid",d}const u$=bs(),d$=qg("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function p$(e){return Vd({props:e,name:"MuiStack",defaultTheme:u$})}function f$(e,t){const n=h.Children.toArray(e).filter(Boolean);return n.reduce((i,a,s)=>(i.push(a),s<n.length-1&&i.push(h.cloneElement(t,{key:`separator-${s}`})),i),[])}const m$=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],g$=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...mr({theme:t},sa({values:e.direction,breakpoints:t.breakpoints.values}),i=>({flexDirection:i}))};if(e.spacing){const i=Dd(t),a=Object.keys(t.breakpoints.values).reduce((d,f)=>((typeof e.spacing=="object"&&e.spacing[f]!=null||typeof e.direction=="object"&&e.direction[f]!=null)&&(d[f]=!0),d),{}),s=sa({values:e.direction,base:a}),c=sa({values:e.spacing,base:a});typeof s=="object"&&Object.keys(s).forEach((d,f,m)=>{if(!s[d]){const x=f>0?s[m[f-1]]:"column";s[d]=x}}),n=En(n,mr({theme:t},c,(d,f)=>e.useFlexGap?{gap:da(i,d)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${m$(f?s[f]:e.direction)}`]:da(i,d)}}))}return n=cE(t.breakpoints,n),n};function h$(e={}){const{createStyledComponent:t=d$,useThemeProps:n=p$,componentName:i="MuiStack"}=e,a=()=>$e({root:["root"]},d=>Ee(i,d),{}),s=t(g$);return h.forwardRef(function(d,f){const m=n(d),y=dc(m),{component:x="div",direction:P="column",spacing:C=0,divider:b,children:k,className:w,useFlexGap:T=!1,...R}=y,I={direction:P,spacing:C,useFlexGap:T},O=a();return g.jsx(s,{as:x,ownerState:I,ref:f,className:ae(O.root,w),...R,children:b?f$(k,b):k})})}function rS(e){const{defaultProps:t={},mixins:n={},overrides:i={},palette:a={},props:s={},styleOverrides:c={},...u}=e,d={...u,components:{}};Object.keys(t).forEach(b=>{const k=d.components[b]||{};k.defaultProps=t[b],d.components[b]=k}),Object.keys(s).forEach(b=>{const k=d.components[b]||{};k.defaultProps=s[b],d.components[b]=k}),Object.keys(c).forEach(b=>{const k=d.components[b]||{};k.styleOverrides=c[b],d.components[b]=k}),Object.keys(i).forEach(b=>{const k=d.components[b]||{};k.styleOverrides=i[b],d.components[b]=k}),d.spacing=Ug(e.spacing);const f=Nd(e.breakpoints||{}),m=d.spacing;d.mixins={gutters:(b={})=>({paddingLeft:m(2),paddingRight:m(2),...b,[f.up("sm")]:{paddingLeft:m(3),paddingRight:m(3),...b[f.up("sm")]}}),...n};const{type:y,mode:x,...P}=a,C=x||y||"light";return d.palette={text:{hint:C==="dark"?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:C,type:C,...P},d}function oS(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:ls.white,default:ls.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const v$=oS();function iS(){return{text:{primary:ls.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:ls.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const lb=iS();function cb(e,t,n,i){const a=i.light||i,s=i.dark||i*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=Wr(e.main,a):t==="dark"&&(e.dark=_r(e.main,s)))}function y$(e="light"){return e==="dark"?{main:Ki[200],light:Ki[50],dark:Ki[400]}:{main:Ki[700],light:Ki[400],dark:Ki[800]}}function b$(e="light"){return e==="dark"?{main:qi[200],light:qi[50],dark:qi[400]}:{main:qi[500],light:qi[300],dark:qi[700]}}function x$(e="light"){return e==="dark"?{main:Gi[500],light:Gi[300],dark:Gi[700]}:{main:Gi[700],light:Gi[400],dark:Gi[800]}}function S$(e="light"){return e==="dark"?{main:Yi[400],light:Yi[300],dark:Yi[700]}:{main:Yi[700],light:Yi[500],dark:Yi[900]}}function C$(e="light"){return e==="dark"?{main:Xi[400],light:Xi[300],dark:Xi[700]}:{main:Xi[800],light:Xi[500],dark:Xi[900]}}function w$(e="light"){return e==="dark"?{main:Ya[400],light:Ya[300],dark:Ya[700]}:{main:"#ed6c02",light:Ya[500],dark:Ya[900]}}function rh(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:i=.2,...a}=e,s=e.primary||y$(t),c=e.secondary||b$(t),u=e.error||x$(t),d=e.info||S$(t),f=e.success||C$(t),m=e.warning||w$(t);function y(b){return Qg(b,lb.text.primary)>=n?lb.text.primary:v$.text.primary}const x=({color:b,name:k,mainShade:w=500,lightShade:T=300,darkShade:R=700})=>{if(b={...b},!b.main&&b[w]&&(b.main=b[w]),!b.hasOwnProperty("main"))throw new Error(pr(11,k?` (${k})`:"",w));if(typeof b.main!="string")throw new Error(pr(12,k?` (${k})`:"",JSON.stringify(b.main)));return cb(b,"light",T,i),cb(b,"dark",R,i),b.contrastText||(b.contrastText=y(b.main)),b};let P;return t==="light"?P=oS():t==="dark"&&(P=iS()),En({common:{...ls},mode:t,primary:x({color:s,name:"primary"}),secondary:x({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:x({color:u,name:"error"}),warning:x({color:m,name:"warning"}),info:x({color:d,name:"info"}),success:x({color:f,name:"success"}),grey:p1,contrastThreshold:n,getContrastText:y,augmentColor:x,tonalOffset:i,...P},a)}function k$(e){const t={};return Object.entries(e).forEach(i=>{const[a,s]=i;typeof s=="object"&&(t[a]=`${s.fontStyle?`${s.fontStyle} `:""}${s.fontVariant?`${s.fontVariant} `:""}${s.fontWeight?`${s.fontWeight} `:""}${s.fontStretch?`${s.fontStretch} `:""}${s.fontSize||""}${s.lineHeight?`/${s.lineHeight} `:""}${s.fontFamily||""}`)}),t}function oh(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function R$(e){return Math.round(e*1e5)/1e5}const ub={textTransform:"uppercase"},db='"Roboto", "Helvetica", "Arial", sans-serif';function Yd(e,t){const{fontFamily:n=db,fontSize:i=14,fontWeightLight:a=300,fontWeightRegular:s=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:d=16,allVariants:f,pxToRem:m,...y}=typeof t=="function"?t(e):t,x=i/14,P=m||(k=>`${k/d*x}rem`),C=(k,w,T,R,I)=>({fontFamily:n,fontWeight:k,fontSize:P(w),lineHeight:T,...n===db?{letterSpacing:`${R$(R/w)}em`}:{},...I,...f}),b={h1:C(a,96,1.167,-1.5),h2:C(a,60,1.2,-.5),h3:C(s,48,1.167,0),h4:C(s,34,1.235,.25),h5:C(s,24,1.334,0),h6:C(c,20,1.6,.15),subtitle1:C(s,16,1.75,.15),subtitle2:C(c,14,1.57,.1),body1:C(s,16,1.5,.15),body2:C(s,14,1.43,.15),button:C(c,14,1.75,.4,ub),caption:C(s,12,1.66,.4),overline:C(s,12,2.66,1,ub),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return En({htmlFontSize:d,pxToRem:P,fontFamily:n,fontSize:i,fontWeightLight:a,fontWeightRegular:s,fontWeightMedium:c,fontWeightBold:u,...b},y,{clone:!1})}const P$=.2,T$=.14,E$=.12;function on(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${P$})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${T$})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${E$})`].join(",")}const I$=["none",on(0,2,1,-1,0,1,1,0,0,1,3,0),on(0,3,1,-2,0,2,2,0,0,1,5,0),on(0,3,3,-2,0,3,4,0,0,1,8,0),on(0,2,4,-1,0,4,5,0,0,1,10,0),on(0,3,5,-1,0,5,8,0,0,1,14,0),on(0,3,5,-1,0,6,10,0,0,1,18,0),on(0,4,5,-2,0,7,10,1,0,2,16,1),on(0,5,5,-3,0,8,10,1,0,3,14,2),on(0,5,6,-3,0,9,12,1,0,3,16,2),on(0,6,6,-3,0,10,14,1,0,4,18,3),on(0,6,7,-4,0,11,15,1,0,4,20,3),on(0,7,8,-4,0,12,17,2,0,5,22,4),on(0,7,8,-4,0,13,19,2,0,5,24,4),on(0,7,9,-4,0,14,21,2,0,5,26,4),on(0,8,9,-5,0,15,22,2,0,6,28,5),on(0,8,10,-5,0,16,24,2,0,6,30,5),on(0,8,11,-5,0,17,26,2,0,6,32,5),on(0,9,11,-5,0,18,28,2,0,7,34,6),on(0,9,12,-6,0,19,29,2,0,7,36,6),on(0,10,13,-6,0,20,31,3,0,8,38,7),on(0,10,13,-6,0,21,33,3,0,8,40,7),on(0,10,14,-6,0,22,35,3,0,8,42,7),on(0,11,14,-7,0,23,36,3,0,9,44,8),on(0,11,15,-7,0,24,38,3,0,9,46,8)],ih={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)"},Xd={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function pb(e){return`${Math.round(e)}ms`}function $$(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function ah(e){const t={...ih,...e.easing},n={...Xd,...e.duration};return{getAutoHeightDuration:$$,create:(a=["all"],s={})=>{const{duration:c=n.standard,easing:u=t.easeInOut,delay:d=0,...f}=s;return(Array.isArray(a)?a:[a]).map(m=>`${m} ${typeof c=="string"?c:pb(c)} ${u} ${typeof d=="string"?d:pb(d)}`).join(",")},...e,easing:t,duration:n}}const M$={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function O$(e){return go(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function aS(e={}){const t={...e};function n(i){const a=Object.entries(i);for(let s=0;s<a.length;s++){const[c,u]=a[s];!O$(u)||c.startsWith("unstable_")?delete i[c]:go(u)&&(i[c]={...u},n(i[c]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
90
+
91
+ const theme = ${JSON.stringify(t,null,2)};
92
+
93
+ theme.breakpoints = createBreakpoints(theme.breakpoints || {});
94
+ theme.transitions = createTransitions(theme.transitions || {});
95
+
96
+ export default theme;`}function Sd(e={},...t){const{breakpoints:n,mixins:i={},spacing:a,palette:s={},transitions:c={},typography:u={},shape:d,...f}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(pr(20));const m=rh(s),y=bs(e);let x=En(y,{mixins:oh(y.breakpoints,i),palette:m,shadows:I$.slice(),typography:Yd(m,u),transitions:ah(c),zIndex:{...M$}});return x=En(x,f),x=t.reduce((P,C)=>En(P,C),x),x.unstable_sxConfig={...cc,...f==null?void 0:f.unstable_sxConfig},x.unstable_sx=function(C){return Pi({sx:C,theme:this})},x.toRuntimeSource=aS,x}function sS(...e){return Sd(...e)}function ql(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const A$=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=ql(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function lS(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function cS(e){return e==="dark"?A$:[]}function sh(e){const{palette:t={mode:"light"},opacity:n,overlays:i,...a}=e,s=rh(t);return{palette:s,opacity:{...lS(s.mode),...n},overlays:i||cS(s.mode),...a}}function lh(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const ch=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],j$=e=>(t,n)=>{const i=e.rootSelector||":root",a=e.colorSchemeSelector;let s=a;if(a==="class"&&(s=".%s"),a==="data"&&(s="[data-%s]"),a!=null&&a.startsWith("data-")&&!a.includes("%s")&&(s=`[${a}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const c={};return ch(e.cssVarPrefix).forEach(u=>{c[u]=n[u],delete n[u]}),s==="media"?{[i]:n,"@media (prefers-color-scheme: dark)":{[i]:c}}:s?{[s.replace("%s",t)]:c,[`${i}, ${s.replace("%s",t)}`]:n}:{[i]:{...n,...c}}}if(s&&s!=="media")return`${i}, ${s.replace("%s",String(t))}`}else if(t){if(s==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[i]:n}};if(s)return s.replace("%s",String(t))}return i};function L$(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function ke(e,t,n){!e[t]&&n&&(e[t]=n)}function Tl(e){return typeof e!="string"||!e.startsWith("hsl")?e:Gd(e)}function Mo(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Pl(Tl(e[t])))}function N$(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const uo=e=>{try{return e()}catch{}},B$=(e="mui")=>DI(e);function gm(e,t,n,i){if(!t)return;t=t===!0?{}:t;const a=i==="dark"?"dark":"light";if(!n){e[i]=sh({...t,palette:{mode:a,...t==null?void 0:t.palette}});return}const{palette:s,...c}=Sd({...n,palette:{mode:a,...t==null?void 0:t.palette}});return e[i]={...t,palette:s,opacity:{...lS(a),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||cS(a)},c}function Qd(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:i,disableCssColorScheme:a=!1,cssVarPrefix:s="mui",shouldSkipGeneratingVar:c=lh,colorSchemeSelector:u=n.light&&n.dark?"media":void 0,rootSelector:d=":root",...f}=e,m=Object.keys(n)[0],y=i||(n.light&&m!=="light"?"light":m),x=B$(s),{[y]:P,light:C,dark:b,...k}=n,w={...k};let T=P;if((y==="dark"&&!("dark"in n)||y==="light"&&!("light"in n))&&(T=!0),!T)throw new Error(pr(21,y));const R=gm(w,T,f,y);C&&!w.light&&gm(w,C,void 0,"light"),b&&!w.dark&&gm(w,b,void 0,"dark");let I={defaultColorScheme:y,...R,cssVarPrefix:s,colorSchemeSelector:u,rootSelector:d,getCssVar:x,colorSchemes:w,font:{...k$(R.typography),...R.font},spacing:N$(f.spacing)};Object.keys(I.colorSchemes).forEach($=>{const S=I.colorSchemes[$].palette,L=U=>{const M=U.split("-"),D=M[1],W=M[2];return x(U,S[D][W])};if(S.mode==="light"&&(ke(S.common,"background","#fff"),ke(S.common,"onBackground","#000")),S.mode==="dark"&&(ke(S.common,"background","#000"),ke(S.common,"onBackground","#fff")),L$(S,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),S.mode==="light"){ke(S.Alert,"errorColor",Gt(S.error.light,.6)),ke(S.Alert,"infoColor",Gt(S.info.light,.6)),ke(S.Alert,"successColor",Gt(S.success.light,.6)),ke(S.Alert,"warningColor",Gt(S.warning.light,.6)),ke(S.Alert,"errorFilledBg",L("palette-error-main")),ke(S.Alert,"infoFilledBg",L("palette-info-main")),ke(S.Alert,"successFilledBg",L("palette-success-main")),ke(S.Alert,"warningFilledBg",L("palette-warning-main")),ke(S.Alert,"errorFilledColor",uo(()=>S.getContrastText(S.error.main))),ke(S.Alert,"infoFilledColor",uo(()=>S.getContrastText(S.info.main))),ke(S.Alert,"successFilledColor",uo(()=>S.getContrastText(S.success.main))),ke(S.Alert,"warningFilledColor",uo(()=>S.getContrastText(S.warning.main))),ke(S.Alert,"errorStandardBg",qt(S.error.light,.9)),ke(S.Alert,"infoStandardBg",qt(S.info.light,.9)),ke(S.Alert,"successStandardBg",qt(S.success.light,.9)),ke(S.Alert,"warningStandardBg",qt(S.warning.light,.9)),ke(S.Alert,"errorIconColor",L("palette-error-main")),ke(S.Alert,"infoIconColor",L("palette-info-main")),ke(S.Alert,"successIconColor",L("palette-success-main")),ke(S.Alert,"warningIconColor",L("palette-warning-main")),ke(S.AppBar,"defaultBg",L("palette-grey-100")),ke(S.Avatar,"defaultBg",L("palette-grey-400")),ke(S.Button,"inheritContainedBg",L("palette-grey-300")),ke(S.Button,"inheritContainedHoverBg",L("palette-grey-A100")),ke(S.Chip,"defaultBorder",L("palette-grey-400")),ke(S.Chip,"defaultAvatarColor",L("palette-grey-700")),ke(S.Chip,"defaultIconColor",L("palette-grey-700")),ke(S.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),ke(S.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),ke(S.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),ke(S.LinearProgress,"primaryBg",qt(S.primary.main,.62)),ke(S.LinearProgress,"secondaryBg",qt(S.secondary.main,.62)),ke(S.LinearProgress,"errorBg",qt(S.error.main,.62)),ke(S.LinearProgress,"infoBg",qt(S.info.main,.62)),ke(S.LinearProgress,"successBg",qt(S.success.main,.62)),ke(S.LinearProgress,"warningBg",qt(S.warning.main,.62)),ke(S.Skeleton,"bg",`rgba(${L("palette-text-primaryChannel")} / 0.11)`),ke(S.Slider,"primaryTrack",qt(S.primary.main,.62)),ke(S.Slider,"secondaryTrack",qt(S.secondary.main,.62)),ke(S.Slider,"errorTrack",qt(S.error.main,.62)),ke(S.Slider,"infoTrack",qt(S.info.main,.62)),ke(S.Slider,"successTrack",qt(S.success.main,.62)),ke(S.Slider,"warningTrack",qt(S.warning.main,.62));const U=$u(S.background.default,.8);ke(S.SnackbarContent,"bg",U),ke(S.SnackbarContent,"color",uo(()=>S.getContrastText(U))),ke(S.SpeedDialAction,"fabHoverBg",$u(S.background.paper,.15)),ke(S.StepConnector,"border",L("palette-grey-400")),ke(S.StepContent,"border",L("palette-grey-400")),ke(S.Switch,"defaultColor",L("palette-common-white")),ke(S.Switch,"defaultDisabledColor",L("palette-grey-100")),ke(S.Switch,"primaryDisabledColor",qt(S.primary.main,.62)),ke(S.Switch,"secondaryDisabledColor",qt(S.secondary.main,.62)),ke(S.Switch,"errorDisabledColor",qt(S.error.main,.62)),ke(S.Switch,"infoDisabledColor",qt(S.info.main,.62)),ke(S.Switch,"successDisabledColor",qt(S.success.main,.62)),ke(S.Switch,"warningDisabledColor",qt(S.warning.main,.62)),ke(S.TableCell,"border",qt(Iu(S.divider,1),.88)),ke(S.Tooltip,"bg",Iu(S.grey[700],.92))}if(S.mode==="dark"){ke(S.Alert,"errorColor",qt(S.error.light,.6)),ke(S.Alert,"infoColor",qt(S.info.light,.6)),ke(S.Alert,"successColor",qt(S.success.light,.6)),ke(S.Alert,"warningColor",qt(S.warning.light,.6)),ke(S.Alert,"errorFilledBg",L("palette-error-dark")),ke(S.Alert,"infoFilledBg",L("palette-info-dark")),ke(S.Alert,"successFilledBg",L("palette-success-dark")),ke(S.Alert,"warningFilledBg",L("palette-warning-dark")),ke(S.Alert,"errorFilledColor",uo(()=>S.getContrastText(S.error.dark))),ke(S.Alert,"infoFilledColor",uo(()=>S.getContrastText(S.info.dark))),ke(S.Alert,"successFilledColor",uo(()=>S.getContrastText(S.success.dark))),ke(S.Alert,"warningFilledColor",uo(()=>S.getContrastText(S.warning.dark))),ke(S.Alert,"errorStandardBg",Gt(S.error.light,.9)),ke(S.Alert,"infoStandardBg",Gt(S.info.light,.9)),ke(S.Alert,"successStandardBg",Gt(S.success.light,.9)),ke(S.Alert,"warningStandardBg",Gt(S.warning.light,.9)),ke(S.Alert,"errorIconColor",L("palette-error-main")),ke(S.Alert,"infoIconColor",L("palette-info-main")),ke(S.Alert,"successIconColor",L("palette-success-main")),ke(S.Alert,"warningIconColor",L("palette-warning-main")),ke(S.AppBar,"defaultBg",L("palette-grey-900")),ke(S.AppBar,"darkBg",L("palette-background-paper")),ke(S.AppBar,"darkColor",L("palette-text-primary")),ke(S.Avatar,"defaultBg",L("palette-grey-600")),ke(S.Button,"inheritContainedBg",L("palette-grey-800")),ke(S.Button,"inheritContainedHoverBg",L("palette-grey-700")),ke(S.Chip,"defaultBorder",L("palette-grey-700")),ke(S.Chip,"defaultAvatarColor",L("palette-grey-300")),ke(S.Chip,"defaultIconColor",L("palette-grey-300")),ke(S.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),ke(S.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),ke(S.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),ke(S.LinearProgress,"primaryBg",Gt(S.primary.main,.5)),ke(S.LinearProgress,"secondaryBg",Gt(S.secondary.main,.5)),ke(S.LinearProgress,"errorBg",Gt(S.error.main,.5)),ke(S.LinearProgress,"infoBg",Gt(S.info.main,.5)),ke(S.LinearProgress,"successBg",Gt(S.success.main,.5)),ke(S.LinearProgress,"warningBg",Gt(S.warning.main,.5)),ke(S.Skeleton,"bg",`rgba(${L("palette-text-primaryChannel")} / 0.13)`),ke(S.Slider,"primaryTrack",Gt(S.primary.main,.5)),ke(S.Slider,"secondaryTrack",Gt(S.secondary.main,.5)),ke(S.Slider,"errorTrack",Gt(S.error.main,.5)),ke(S.Slider,"infoTrack",Gt(S.info.main,.5)),ke(S.Slider,"successTrack",Gt(S.success.main,.5)),ke(S.Slider,"warningTrack",Gt(S.warning.main,.5));const U=$u(S.background.default,.98);ke(S.SnackbarContent,"bg",U),ke(S.SnackbarContent,"color",uo(()=>S.getContrastText(U))),ke(S.SpeedDialAction,"fabHoverBg",$u(S.background.paper,.15)),ke(S.StepConnector,"border",L("palette-grey-600")),ke(S.StepContent,"border",L("palette-grey-600")),ke(S.Switch,"defaultColor",L("palette-grey-300")),ke(S.Switch,"defaultDisabledColor",L("palette-grey-600")),ke(S.Switch,"primaryDisabledColor",Gt(S.primary.main,.55)),ke(S.Switch,"secondaryDisabledColor",Gt(S.secondary.main,.55)),ke(S.Switch,"errorDisabledColor",Gt(S.error.main,.55)),ke(S.Switch,"infoDisabledColor",Gt(S.info.main,.55)),ke(S.Switch,"successDisabledColor",Gt(S.success.main,.55)),ke(S.Switch,"warningDisabledColor",Gt(S.warning.main,.55)),ke(S.TableCell,"border",Gt(Iu(S.divider,1),.68)),ke(S.Tooltip,"bg",Iu(S.grey[700],.92))}Mo(S.background,"default"),Mo(S.background,"paper"),Mo(S.common,"background"),Mo(S.common,"onBackground"),Mo(S,"divider"),Object.keys(S).forEach(U=>{const M=S[U];U!=="tonalOffset"&&M&&typeof M=="object"&&(M.main&&ke(S[U],"mainChannel",Pl(Tl(M.main))),M.light&&ke(S[U],"lightChannel",Pl(Tl(M.light))),M.dark&&ke(S[U],"darkChannel",Pl(Tl(M.dark))),M.contrastText&&ke(S[U],"contrastTextChannel",Pl(Tl(M.contrastText))),U==="text"&&(Mo(S[U],"primary"),Mo(S[U],"secondary")),U==="action"&&(M.active&&Mo(S[U],"active"),M.selected&&Mo(S[U],"selected")))})}),I=t.reduce(($,S)=>En($,S),I);const O={prefix:s,disableCssColorScheme:a,shouldSkipGeneratingVar:c,getSelector:j$(I)},{vars:j,generateThemeVars:A,generateStyleSheets:N}=_I(I,O);return I.vars=j,Object.entries(I.colorSchemes[I.defaultColorScheme]).forEach(([$,S])=>{I[$]=S}),I.generateThemeVars=A,I.generateStyleSheets=N,I.generateSpacing=function(){return Ug(f.spacing,Dd(this))},I.getColorSchemeSelector=WI(u),I.spacing=I.generateSpacing(),I.shouldSkipGeneratingVar=c,I.unstable_sxConfig={...cc,...f==null?void 0:f.unstable_sxConfig},I.unstable_sx=function(S){return Pi({sx:S,theme:this})},I.toRuntimeSource=aS,I}function fb(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:rh({...n===!0?{}:n.palette,mode:t})})}function Co(e={},...t){const{palette:n,cssVariables:i=!1,colorSchemes:a=n?void 0:{light:!0},defaultColorScheme:s=n==null?void 0:n.mode,...c}=e,u=s||"light",d=a==null?void 0:a[u],f={...a,...n?{[u]:{...typeof d!="boolean"&&d,palette:n}}:void 0};if(i===!1){if(!("colorSchemes"in e))return Sd(e,...t);let m=n;"palette"in e||f[u]&&(f[u]!==!0?m=f[u].palette:u==="dark"&&(m={mode:"dark"}));const y=Sd({...e,palette:m},...t);return y.defaultColorScheme=u,y.colorSchemes=f,y.palette.mode==="light"&&(y.colorSchemes.light={...f.light!==!0&&f.light,palette:y.palette},fb(y,"dark",f.dark)),y.palette.mode==="dark"&&(y.colorSchemes.dark={...f.dark!==!0&&f.dark,palette:y.palette},fb(y,"light",f.light)),y}return!n&&!("light"in f)&&u==="light"&&(f.light=!0),Qd({...c,colorSchemes:f,defaultColorScheme:u,...typeof i!="boolean"&&i},...t)}function uS(e,...t){return Co(En({unstable_strictMode:!0},e),...t)}let mb=!1;function dS(e){return mb||(console.warn(["MUI: createStyles from @mui/material/styles is deprecated.","Please use @mui/styles/createStyles"].join(`
97
+ `)),mb=!0),e}function gb(e){return String(parseFloat(e)).length===String(e).length}function Jd(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function po(e){return parseFloat(e)}function D$(e){return(t,n)=>{const i=Jd(t);if(i===n)return t;let a=po(t);i!=="px"&&(i==="em"||i==="rem")&&(a=po(t)*po(e));let s=a;if(n!=="px")if(n==="em")s=a/po(e);else if(n==="rem")s=a/po(e);else return t;return parseFloat(s.toFixed(5))+n}}function z$({size:e,grid:t}){const n=e-e%t,i=n+t;return e-n<i-e?n:i}function F$({lineHeight:e,pixels:t,htmlFontSize:n}){return t/(e*n)}function _$({cssProperty:e,min:t,max:n,unit:i="rem",breakpoints:a=[600,900,1200],transform:s=null}){const c={[e]:`${t}${i}`},u=(n-t)/a[a.length-1];return a.forEach(d=>{let f=t+u*d;s!==null&&(f=s(f)),c[`@media (min-width:${d}px)`]={[e]:`${Math.round(f*1e4)/1e4}${i}`}}),c}function pS(e,t={}){const{breakpoints:n=["sm","md","lg"],disableAlign:i=!1,factor:a=2,variants:s=["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]}=t,c={...e};c.typography={...c.typography};const u=c.typography,d=D$(u.htmlFontSize),f=n.map(m=>c.breakpoints.values[m]);return s.forEach(m=>{const y=u[m];if(!y)return;const x=parseFloat(d(y.fontSize,"rem"));if(x<=1)return;const P=x,C=1+(P-1)/a;let{lineHeight:b}=y;if(!gb(b)&&!i)throw new Error(pr(6));gb(b)||(b=parseFloat(d(b,"rem"))/parseFloat(x));let k=null;i||(k=w=>z$({size:w,grid:F$({pixels:4,lineHeight:b,htmlFontSize:u.htmlFontSize})})),u[m]={...y,..._$({cssProperty:"fontSize",min:C,max:P,unit:"rem",breakpoints:f,transform:k})}}),c}const Zd=Co();function Cn(){const e=uc(Zd);return e[cr]||e}function fS({props:e,name:t}){return Vd({props:e,name:t,defaultTheme:Zd,themeId:cr})}function Cs(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const wn=e=>Cs(e)&&e!=="classes",X=z1({themeId:cr,defaultTheme:Zd,rootShouldForwardProp:wn});function W$({theme:e,...t}){const n=cr in e?e[cr]:void 0;return g.jsx(tS,{...t,themeId:n?cr:void 0,theme:n||e})}const Mu={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:mS,useColorScheme:gS,getInitColorSchemeScript:H$}=BI({themeId:cr,theme:()=>Co({cssVariables:!0}),colorSchemeStorageKey:Mu.colorSchemeStorageKey,modeStorageKey:Mu.modeStorageKey,defaultColorScheme:{light:Mu.defaultLightColorScheme,dark:Mu.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:Yd(e.palette,e.typography)};return t.unstable_sx=function(i){return Pi({sx:i,theme:this})},t}});function hS(e){return g.jsx(mS,{...e})}let hb=!1;const vS=e=>(hb||(console.warn(["MUI: The getInitColorSchemeScript function has been deprecated.","","You should use `import InitColorSchemeScript from '@mui/material/InitColorSchemeScript'`","and replace the function call with `<InitColorSchemeScript />` instead."].join(`
98
+ `)),hb=!0),H$(e)),uh=mS;function va({theme:e,...t}){const n=h.useMemo(()=>{if(typeof e=="function")return e;const i=cr in e?e[cr]:e;return"colorSchemes"in i?null:"vars"in i?e:{...e,vars:null}},[e]);return n?g.jsx(W$,{theme:n,...t}):g.jsx(uh,{theme:e,...t})}function yS(){throw new Error(pr(14))}function bS(){throw new Error(pr(15))}function xS(){throw new Error(pr(16))}let vb=!1;function SS(...e){return vb||(console.warn(["MUI: The `experimental_extendTheme` has been stabilized.","","You should use `import { extendTheme } from '@mui/material/styles'`"].join(`
99
+ `)),vb=!0),Qd(...e)}function CS(){throw new Error(pr(19))}const U$=Object.freeze(Object.defineProperty({__proto__:null,CssVarsProvider:uh,Experimental_CssVarsProvider:hS,StyledEngineProvider:E1,THEME_ID:cr,ThemeProvider:va,adaptV4Theme:rS,alpha:Qe,createColorScheme:sh,createMuiTheme:sS,createStyles:dS,createTheme:Co,createTransitions:ah,css:So,darken:_r,decomposeColor:no,duration:Xd,easing:ih,emphasize:pa,experimentalStyled:X,experimental_extendTheme:SS,experimental_sx:CS,extendTheme:Qd,getContrastRatio:Qg,getInitColorSchemeScript:vS,getLuminance:Ul,getOverlayAlpha:ql,hexToRgb:Xg,hslToRgb:Gd,keyframes:Vr,lighten:Wr,makeStyles:yS,private_createMixins:oh,private_createTypography:Yd,private_excludeVariablesFromRoot:ch,recomposeColor:xs,responsiveFontSizes:pS,rgbToHex:W1,shouldSkipGeneratingVar:lh,styled:X,unstable_createBreakpoints:Nd,unstable_createMuiStrictModeTheme:uS,unstable_getUnit:Jd,unstable_toUnitless:po,useColorScheme:gS,useTheme:Cn,useThemeProps:fS,withStyles:bS,withTheme:xS},Symbol.toStringTag,{value:"Module"}));function wS(e){return g.jsx(L1,{...e,defaultTheme:Zd,themeId:cr})}function dh(e){return function(n){return g.jsx(wS,{styles:typeof e=="function"?i=>e({theme:i,...n}):e})}}function V$(){return dc}const xe=II;function Oe(e){return TI(e)}function kS(e){return Ee("MuiSvgIcon",e)}const G$=Ie("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]),q$=e=>{const{color:t,fontSize:n,classes:i}=e,a={root:["root",t!=="inherit"&&`color${ee(t)}`,`fontSize${ee(n)}`]};return $e(a,kS,i)},K$=X("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${ee(n.color)}`],t[`fontSize${ee(n.fontSize)}`]]}})(xe(({theme:e})=>{var t,n,i,a,s,c,u,d,f,m,y,x,P,C;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(a=(t=e.transitions)==null?void 0:t.create)==null?void 0:a.call(t,"fill",{duration:(i=(n=(e.vars??e).transitions)==null?void 0:n.duration)==null?void 0:i.shorter}),variants:[{props:b=>!b.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((c=(s=e.typography)==null?void 0:s.pxToRem)==null?void 0:c.call(s,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((d=(u=e.typography)==null?void 0:u.pxToRem)==null?void 0:d.call(u,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((m=(f=e.typography)==null?void 0:f.pxToRem)==null?void 0:m.call(f,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,b])=>b&&b.main).map(([b])=>{var k,w;return{props:{color:b},style:{color:(w=(k=(e.vars??e).palette)==null?void 0:k[b])==null?void 0:w.main}}}),{props:{color:"action"},style:{color:(x=(y=(e.vars??e).palette)==null?void 0:y.action)==null?void 0:x.active}},{props:{color:"disabled"},style:{color:(C=(P=(e.vars??e).palette)==null?void 0:P.action)==null?void 0:C.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Kl=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiSvgIcon"}),{children:a,className:s,color:c="inherit",component:u="svg",fontSize:d="medium",htmlColor:f,inheritViewBox:m=!1,titleAccess:y,viewBox:x="0 0 24 24",...P}=i,C=h.isValidElement(a)&&a.type==="svg",b={...i,color:c,component:u,fontSize:d,instanceFontSize:t.fontSize,inheritViewBox:m,viewBox:x,hasSvgAsChild:C},k={};m||(k.viewBox=x);const w=q$(b);return g.jsxs(K$,{as:u,className:ae(w.root,s),focusable:"false",color:f,"aria-hidden":y?void 0:!0,role:y?"img":void 0,ref:n,...k,...P,...C&&a.props,ownerState:b,children:[C?a.props.children:a,y?g.jsx("title",{children:y}):null]})});Kl.muiName="SvgIcon";function xt(e,t){function n(i,a){return g.jsx(Kl,{"data-testid":`${t}Icon`,ref:a,...i,children:e})}return n.muiName=Kl.muiName,h.memo(h.forwardRef(n))}function Ti(e,t){if(!e)return t;if(typeof e=="function"||typeof t=="function")return a=>{const s=typeof t=="function"?t(a):t,c=typeof e=="function"?e({...a,...s}):e,u=ae(a==null?void 0:a.className,s==null?void 0:s.className,c==null?void 0:c.className);return{...s,...c,...!!u&&{className:u},...(s==null?void 0:s.style)&&(c==null?void 0:c.style)&&{style:{...s.style,...c.style}},...(s==null?void 0:s.sx)&&(c==null?void 0:c.sx)&&{sx:[...Array.isArray(s.sx)?s.sx:[s.sx],...Array.isArray(c.sx)?c.sx:[c.sx]]}}};const n=t,i=ae(n==null?void 0:n.className,e==null?void 0:e.className);return{...t,...e,...!!i&&{className:i},...(n==null?void 0:n.style)&&(e==null?void 0:e.style)&&{style:{...n.style,...e.style}},...(n==null?void 0:n.sx)&&(e==null?void 0:e.sx)&&{sx:[...Array.isArray(n.sx)?n.sx:[n.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}const RS={configure:e=>{Gg.configure(e)}},Y$=Object.freeze(Object.defineProperty({__proto__:null,capitalize:ee,createChainedFunction:Vl,createSvgIcon:xt,debounce:ha,deprecatedPropType:H1,isMuiElement:vo,mergeSlotProps:Ti,ownerDocument:Kt,ownerWindow:In,requirePropFactory:U1,setRef:Gl,unstable_ClassNameGenerator:RS,unstable_memoTheme:xe,unstable_useEnhancedEffect:xn,unstable_useId:Jn,unsupportedProp:V1,useControlled:Qn,useEventCallback:Yt,useForkRef:Lt},Symbol.toStringTag,{value:"Module"}));function PS(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)!==-1)continue;n[i]=e[i]}return n}function rg(e,t){return rg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},rg(e,t)}function TS(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,rg(e,t)}var Yl=d1();const Ou=Od(Yl),yb={disabled:!1},Cd=Ct.createContext(null);var X$=function(t){return t.scrollTop},El="unmounted",Qi="exited",Ji="entering",Xa="entered",og="exiting",Pr=(function(e){TS(t,e);function t(i,a){var s;s=e.call(this,i,a)||this;var c=a,u=c&&!c.isMounting?i.enter:i.appear,d;return s.appearStatus=null,i.in?u?(d=Qi,s.appearStatus=Ji):d=Xa:i.unmountOnExit||i.mountOnEnter?d=El:d=Qi,s.state={status:d},s.nextCallback=null,s}t.getDerivedStateFromProps=function(a,s){var c=a.in;return c&&s.status===El?{status:Qi}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(a){var s=null;if(a!==this.props){var c=this.state.status;this.props.in?c!==Ji&&c!==Xa&&(s=Ji):(c===Ji||c===Xa)&&(s=og)}this.updateStatus(!1,s)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var a=this.props.timeout,s,c,u;return s=c=u=a,a!=null&&typeof a!="number"&&(s=a.exit,c=a.enter,u=a.appear!==void 0?a.appear:c),{exit:s,enter:c,appear:u}},n.updateStatus=function(a,s){if(a===void 0&&(a=!1),s!==null)if(this.cancelNextCallback(),s===Ji){if(this.props.unmountOnExit||this.props.mountOnEnter){var c=this.props.nodeRef?this.props.nodeRef.current:Ou.findDOMNode(this);c&&X$(c)}this.performEnter(a)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Qi&&this.setState({status:El})},n.performEnter=function(a){var s=this,c=this.props.enter,u=this.context?this.context.isMounting:a,d=this.props.nodeRef?[u]:[Ou.findDOMNode(this),u],f=d[0],m=d[1],y=this.getTimeouts(),x=u?y.appear:y.enter;if(!a&&!c||yb.disabled){this.safeSetState({status:Xa},function(){s.props.onEntered(f)});return}this.props.onEnter(f,m),this.safeSetState({status:Ji},function(){s.props.onEntering(f,m),s.onTransitionEnd(x,function(){s.safeSetState({status:Xa},function(){s.props.onEntered(f,m)})})})},n.performExit=function(){var a=this,s=this.props.exit,c=this.getTimeouts(),u=this.props.nodeRef?void 0:Ou.findDOMNode(this);if(!s||yb.disabled){this.safeSetState({status:Qi},function(){a.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:og},function(){a.props.onExiting(u),a.onTransitionEnd(c.exit,function(){a.safeSetState({status:Qi},function(){a.props.onExited(u)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(a,s){s=this.setNextCallback(s),this.setState(a,s)},n.setNextCallback=function(a){var s=this,c=!0;return this.nextCallback=function(u){c&&(c=!1,s.nextCallback=null,a(u))},this.nextCallback.cancel=function(){c=!1},this.nextCallback},n.onTransitionEnd=function(a,s){this.setNextCallback(s);var c=this.props.nodeRef?this.props.nodeRef.current:Ou.findDOMNode(this),u=a==null&&!this.props.addEndListener;if(!c||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var d=this.props.nodeRef?[this.nextCallback]:[c,this.nextCallback],f=d[0],m=d[1];this.props.addEndListener(f,m)}a!=null&&setTimeout(this.nextCallback,a)},n.render=function(){var a=this.state.status;if(a===El)return null;var s=this.props,c=s.children;s.in,s.mountOnEnter,s.unmountOnExit,s.appear,s.enter,s.exit,s.timeout,s.addEndListener,s.onEnter,s.onEntering,s.onEntered,s.onExit,s.onExiting,s.onExited,s.nodeRef;var u=PS(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Ct.createElement(Cd.Provider,{value:null},typeof c=="function"?c(a,u):Ct.cloneElement(Ct.Children.only(c),u))},t})(Ct.Component);Pr.contextType=Cd;Pr.propTypes={};function Ha(){}Pr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ha,onEntering:Ha,onEntered:Ha,onExit:Ha,onExiting:Ha,onExited:Ha};Pr.UNMOUNTED=El;Pr.EXITED=Qi;Pr.ENTERING=Ji;Pr.ENTERED=Xa;Pr.EXITING=og;function Q$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ph(e,t){var n=function(s){return t&&h.isValidElement(s)?t(s):s},i=Object.create(null);return e&&h.Children.map(e,function(a){return a}).forEach(function(a){i[a.key]=n(a)}),i}function J$(e,t){e=e||{},t=t||{};function n(m){return m in t?t[m]:e[m]}var i=Object.create(null),a=[];for(var s in e)s in t?a.length&&(i[s]=a,a=[]):a.push(s);var c,u={};for(var d in t){if(i[d])for(c=0;c<i[d].length;c++){var f=i[d][c];u[i[d][c]]=n(f)}u[d]=n(d)}for(c=0;c<a.length;c++)u[a[c]]=n(a[c]);return u}function oa(e,t,n){return n[t]!=null?n[t]:e.props[t]}function Z$(e,t){return ph(e.children,function(n){return h.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:oa(n,"appear",e),enter:oa(n,"enter",e),exit:oa(n,"exit",e)})})}function eM(e,t,n){var i=ph(e.children),a=J$(t,i);return Object.keys(a).forEach(function(s){var c=a[s];if(h.isValidElement(c)){var u=s in t,d=s in i,f=t[s],m=h.isValidElement(f)&&!f.props.in;d&&(!u||m)?a[s]=h.cloneElement(c,{onExited:n.bind(null,c),in:!0,exit:oa(c,"exit",e),enter:oa(c,"enter",e)}):!d&&u&&!m?a[s]=h.cloneElement(c,{in:!1}):d&&u&&h.isValidElement(f)&&(a[s]=h.cloneElement(c,{onExited:n.bind(null,c),in:f.props.in,exit:oa(c,"exit",e),enter:oa(c,"enter",e)}))}}),a}var tM=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},nM={component:"div",childFactory:function(t){return t}},fh=(function(e){TS(t,e);function t(i,a){var s;s=e.call(this,i,a)||this;var c=s.handleExited.bind(Q$(s));return s.state={contextValue:{isMounting:!0},handleExited:c,firstRender:!0},s}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(a,s){var c=s.children,u=s.handleExited,d=s.firstRender;return{children:d?Z$(a,u):eM(a,c,u),firstRender:!1}},n.handleExited=function(a,s){var c=ph(this.props.children);a.key in c||(a.props.onExited&&a.props.onExited(s),this.mounted&&this.setState(function(u){var d=vd({},u.children);return delete d[a.key],{children:d}}))},n.render=function(){var a=this.props,s=a.component,c=a.childFactory,u=PS(a,["component","childFactory"]),d=this.state.contextValue,f=tM(this.state.children).map(c);return delete u.appear,delete u.enter,delete u.exit,s===null?Ct.createElement(Cd.Provider,{value:d},f):Ct.createElement(Cd.Provider,{value:d},Ct.createElement(s,u,f))},t})(Ct.Component);fh.propTypes={};fh.defaultProps=nM;const ep=e=>e.scrollTop;function ro(e,t){const{timeout:n,easing:i,style:a={}}=e;return{duration:a.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:a.transitionTimingFunction??(typeof i=="object"?i[t.mode]:i),delay:a.transitionDelay}}function ES(e){return Ee("MuiCollapse",e)}const rM=Ie("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]),oM=e=>{const{orientation:t,classes:n}=e,i={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return $e(i,ES,n)},iM=X("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.state==="entered"&&t.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&t.hidden]}})(xe(({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:t})=>t.state==="exited"&&!t.in&&t.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),aM=X("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),sM=X("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),Uo=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiCollapse"}),{addEndListener:a,children:s,className:c,collapsedSize:u="0px",component:d,easing:f,in:m,onEnter:y,onEntered:x,onEntering:P,onExit:C,onExited:b,onExiting:k,orientation:w="vertical",style:T,timeout:R=Xd.standard,TransitionComponent:I=Pr,...O}=i,j={...i,orientation:w,collapsedSize:u},A=oM(j),N=Cn(),$=Do(),S=h.useRef(null),L=h.useRef(),U=typeof u=="number"?`${u}px`:u,M=w==="horizontal",D=M?"width":"height",W=h.useRef(null),H=Lt(n,W),q=J=>Q=>{if(J){const ie=W.current;Q===void 0?J(ie):J(ie,Q)}},F=()=>S.current?S.current[M?"clientWidth":"clientHeight"]:0,_=q((J,Q)=>{S.current&&M&&(S.current.style.position="absolute"),J.style[D]=U,y&&y(J,Q)}),V=q((J,Q)=>{const ie=F();S.current&&M&&(S.current.style.position="");const{duration:se,easing:ue}=ro({style:T,timeout:R,easing:f},{mode:"enter"});if(R==="auto"){const ge=N.transitions.getAutoHeightDuration(ie);J.style.transitionDuration=`${ge}ms`,L.current=ge}else J.style.transitionDuration=typeof se=="string"?se:`${se}ms`;J.style[D]=`${ie}px`,J.style.transitionTimingFunction=ue,P&&P(J,Q)}),B=q((J,Q)=>{J.style[D]="auto",x&&x(J,Q)}),G=q(J=>{J.style[D]=`${F()}px`,C&&C(J)}),Z=q(b),te=q(J=>{const Q=F(),{duration:ie,easing:se}=ro({style:T,timeout:R,easing:f},{mode:"exit"});if(R==="auto"){const ue=N.transitions.getAutoHeightDuration(Q);J.style.transitionDuration=`${ue}ms`,L.current=ue}else J.style.transitionDuration=typeof ie=="string"?ie:`${ie}ms`;J.style[D]=U,J.style.transitionTimingFunction=se,k&&k(J)}),K=J=>{R==="auto"&&$.start(L.current||0,J),a&&a(W.current,J)};return g.jsx(I,{in:m,onEnter:_,onEntered:B,onEntering:V,onExit:G,onExited:Z,onExiting:te,addEndListener:K,nodeRef:W,timeout:R==="auto"?null:R,...O,children:(J,{ownerState:Q,...ie})=>g.jsx(iM,{as:d,className:ae(A.root,c,{entered:A.entered,exited:!m&&U==="0px"&&A.hidden}[J]),style:{[M?"minWidth":"minHeight"]:U,...T},ref:H,ownerState:{...j,state:J},...ie,children:g.jsx(aM,{ownerState:{...j,state:J},className:A.wrapper,ref:S,children:g.jsx(sM,{ownerState:{...j,state:J},className:A.wrapperInner,children:s})})})})});Uo&&(Uo.muiSupportAuto=!0);function IS(e){return Ee("MuiPaper",e)}const lM=Ie("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"]),cM=e=>{const{square:t,elevation:n,variant:i,classes:a}=e,s={root:["root",i,!t&&"rounded",i==="elevation"&&`elevation${n}`]};return $e(s,IS,a)},uM=X("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(xe(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Gn=h.forwardRef(function(t,n){var P;const i=Oe({props:t,name:"MuiPaper"}),a=Cn(),{className:s,component:c="div",elevation:u=1,square:d=!1,variant:f="elevation",...m}=i,y={...i,component:c,elevation:u,square:d,variant:f},x=cM(y);return g.jsx(uM,{as:c,ownerState:y,className:ae(x.root,s),ref:n,...m,style:{...f==="elevation"&&{"--Paper-shadow":(a.vars||a).shadows[u],...a.vars&&{"--Paper-overlay":(P=a.vars.overlays)==null?void 0:P[u]},...!a.vars&&a.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Qe("#fff",ql(u))}, ${Qe("#fff",ql(u))})`}},...m.style}})}),$S=h.createContext({});function Le(e,t){const{className:n,elementType:i,ownerState:a,externalForwardedProps:s,internalForwardedProps:c,shouldForwardComponentProp:u=!1,...d}=t,{component:f,slots:m={[e]:void 0},slotProps:y={[e]:void 0},...x}=s,P=m[e]||i,C=Q1(y[e],a),{props:{component:b,...k},internalRef:w}=X1({className:n,...d,externalForwardedProps:e==="root"?x:void 0,externalSlotProps:C}),T=Lt(w,C==null?void 0:C.ref,t.ref),R=e==="root"?b||f:b,I=Y1(P,{...e==="root"&&!f&&!m[e]&&c,...e!=="root"&&!m[e]&&c,...k,...R&&!u&&{as:R},...R&&u&&{component:R},ref:T},a);return[P,I]}function MS(e){return Ee("MuiAccordion",e)}const Il=Ie("MuiAccordion",["root","heading","rounded","expanded","disabled","gutters","region"]),dM=e=>{const{classes:t,square:n,expanded:i,disabled:a,disableGutters:s}=e;return $e({root:["root",!n&&"rounded",i&&"expanded",a&&"disabled",!s&&"gutters"],heading:["heading"],region:["region"]},MS,t)},pM=X(Gn,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Il.region}`]:t.region},t.root,!n.square&&t.rounded,!n.disableGutters&&t.gutters]}})(xe(({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(e.vars||e).palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${Il.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${Il.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}}),xe(({theme:e})=>({variants:[{props:t=>!t.square,style:{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}},{props:t=>!t.disableGutters,style:{[`&.${Il.expanded}`]:{margin:"16px 0"}}}]}))),fM=X("h3",{name:"MuiAccordion",slot:"Heading",overridesResolver:(e,t)=>t.heading})({all:"unset"}),mM=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiAccordion"}),{children:a,className:s,defaultExpanded:c=!1,disabled:u=!1,disableGutters:d=!1,expanded:f,onChange:m,square:y=!1,slots:x={},slotProps:P={},TransitionComponent:C,TransitionProps:b,...k}=i,[w,T]=Qn({controlled:f,default:c,name:"Accordion",state:"expanded"}),R=h.useCallback(F=>{T(!w),m&&m(F,!w)},[w,m,T]),[I,...O]=h.Children.toArray(a),j=h.useMemo(()=>({expanded:w,disabled:u,disableGutters:d,toggle:R}),[w,u,d,R]),A={...i,square:y,disabled:u,disableGutters:d,expanded:w},N=dM(A),$={transition:C,...x},S={transition:b,...P},L={slots:$,slotProps:S},[U,M]=Le("root",{elementType:pM,externalForwardedProps:{...L,...k},className:ae(N.root,s),shouldForwardComponentProp:!0,ownerState:A,ref:n,additionalProps:{square:y}}),[D,W]=Le("heading",{elementType:fM,externalForwardedProps:L,className:N.heading,ownerState:A}),[H,q]=Le("transition",{elementType:Uo,externalForwardedProps:L,ownerState:A});return g.jsxs(U,{...M,children:[g.jsx(D,{...W,children:g.jsx($S.Provider,{value:j,children:I})}),g.jsx(H,{in:w,timeout:"auto",...q,children:g.jsx("div",{"aria-labelledby":I.props.id,id:I.props["aria-controls"],role:"region",className:N.region,children:O})})]})});function OS(e){return Ee("MuiAccordionActions",e)}const gM=Ie("MuiAccordionActions",["root","spacing"]),hM=e=>{const{classes:t,disableSpacing:n}=e;return $e({root:["root",!n&&"spacing"]},OS,t)},vM=X("div",{name:"MuiAccordionActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",variants:[{props:e=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),yM=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiAccordionActions"}),{className:a,disableSpacing:s=!1,...c}=i,u={...i,disableSpacing:s},d=hM(u);return g.jsx(vM,{className:ae(d.root,a),ref:n,ownerState:u,...c})});function AS(e){return Ee("MuiAccordionDetails",e)}const bM=Ie("MuiAccordionDetails",["root"]),xM=e=>{const{classes:t}=e;return $e({root:["root"]},AS,t)},SM=X("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})(xe(({theme:e})=>({padding:e.spacing(1,2,2)}))),CM=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiAccordionDetails"}),{className:a,...s}=i,c=i,u=xM(c);return g.jsx(SM,{className:ae(u.root,a),ref:n,ownerState:c,...s})});class wd{constructor(){al(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new wd}static use(){const t=G1(wd.create).current,[n,i]=h.useState(!1);return t.shouldMount=n,t.setShouldMount=i,h.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=kM(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.start(...t)})}stop(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.stop(...t)})}pulsate(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.pulsate(...t)})}}function wM(){return wd.use()}function kM(){let e,t;const n=new Promise((i,a)=>{e=i,t=a});return n.resolve=e,n.reject=t,n}function RM(e){const{className:t,classes:n,pulsate:i=!1,rippleX:a,rippleY:s,rippleSize:c,in:u,onExited:d,timeout:f}=e,[m,y]=h.useState(!1),x=ae(t,n.ripple,n.rippleVisible,i&&n.ripplePulsate),P={width:c,height:c,top:-(c/2)+s,left:-(c/2)+a},C=ae(n.child,m&&n.childLeaving,i&&n.childPulsate);return!u&&!m&&y(!0),h.useEffect(()=>{if(!u&&d!=null){const b=setTimeout(d,f);return()=>{clearTimeout(b)}}},[d,u,f]),g.jsx("span",{className:x,style:P,children:g.jsx("span",{className:C})})}function PM(e){return Ee("MuiTouchRipple",e)}const Sr=Ie("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),ig=550,TM=80,EM=Vr`
100
+ 0% {
101
+ transform: scale(0);
102
+ opacity: 0.1;
103
+ }
104
+
105
+ 100% {
106
+ transform: scale(1);
107
+ opacity: 0.3;
108
+ }
109
+ `,IM=Vr`
110
+ 0% {
111
+ opacity: 1;
112
+ }
113
+
114
+ 100% {
115
+ opacity: 0;
116
+ }
117
+ `,$M=Vr`
118
+ 0% {
119
+ transform: scale(1);
120
+ }
121
+
122
+ 50% {
123
+ transform: scale(0.92);
124
+ }
125
+
126
+ 100% {
127
+ transform: scale(1);
128
+ }
129
+ `,MM=X("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),OM=X(RM,{name:"MuiTouchRipple",slot:"Ripple"})`
130
+ opacity: 0;
131
+ position: absolute;
132
+
133
+ &.${Sr.rippleVisible} {
134
+ opacity: 0.3;
135
+ transform: scale(1);
136
+ animation-name: ${EM};
137
+ animation-duration: ${ig}ms;
138
+ animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
139
+ }
140
+
141
+ &.${Sr.ripplePulsate} {
142
+ animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
143
+ }
144
+
145
+ & .${Sr.child} {
146
+ opacity: 1;
147
+ display: block;
148
+ width: 100%;
149
+ height: 100%;
150
+ border-radius: 50%;
151
+ background-color: currentColor;
152
+ }
153
+
154
+ & .${Sr.childLeaving} {
155
+ opacity: 0;
156
+ animation-name: ${IM};
157
+ animation-duration: ${ig}ms;
158
+ animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
159
+ }
160
+
161
+ & .${Sr.childPulsate} {
162
+ position: absolute;
163
+ /* @noflip */
164
+ left: 0px;
165
+ top: 0;
166
+ animation-name: ${$M};
167
+ animation-duration: 2500ms;
168
+ animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
169
+ animation-iteration-count: infinite;
170
+ animation-delay: 200ms;
171
+ }
172
+ `,AM=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiTouchRipple"}),{center:a=!1,classes:s={},className:c,...u}=i,[d,f]=h.useState([]),m=h.useRef(0),y=h.useRef(null);h.useEffect(()=>{y.current&&(y.current(),y.current=null)},[d]);const x=h.useRef(!1),P=Do(),C=h.useRef(null),b=h.useRef(null),k=h.useCallback(I=>{const{pulsate:O,rippleX:j,rippleY:A,rippleSize:N,cb:$}=I;f(S=>[...S,g.jsx(OM,{classes:{ripple:ae(s.ripple,Sr.ripple),rippleVisible:ae(s.rippleVisible,Sr.rippleVisible),ripplePulsate:ae(s.ripplePulsate,Sr.ripplePulsate),child:ae(s.child,Sr.child),childLeaving:ae(s.childLeaving,Sr.childLeaving),childPulsate:ae(s.childPulsate,Sr.childPulsate)},timeout:ig,pulsate:O,rippleX:j,rippleY:A,rippleSize:N},m.current)]),m.current+=1,y.current=$},[s]),w=h.useCallback((I={},O={},j=()=>{})=>{const{pulsate:A=!1,center:N=a||O.pulsate,fakeElement:$=!1}=O;if((I==null?void 0:I.type)==="mousedown"&&x.current){x.current=!1;return}(I==null?void 0:I.type)==="touchstart"&&(x.current=!0);const S=$?null:b.current,L=S?S.getBoundingClientRect():{width:0,height:0,left:0,top:0};let U,M,D;if(N||I===void 0||I.clientX===0&&I.clientY===0||!I.clientX&&!I.touches)U=Math.round(L.width/2),M=Math.round(L.height/2);else{const{clientX:W,clientY:H}=I.touches&&I.touches.length>0?I.touches[0]:I;U=Math.round(W-L.left),M=Math.round(H-L.top)}if(N)D=Math.sqrt((2*L.width**2+L.height**2)/3),D%2===0&&(D+=1);else{const W=Math.max(Math.abs((S?S.clientWidth:0)-U),U)*2+2,H=Math.max(Math.abs((S?S.clientHeight:0)-M),M)*2+2;D=Math.sqrt(W**2+H**2)}I!=null&&I.touches?C.current===null&&(C.current=()=>{k({pulsate:A,rippleX:U,rippleY:M,rippleSize:D,cb:j})},P.start(TM,()=>{C.current&&(C.current(),C.current=null)})):k({pulsate:A,rippleX:U,rippleY:M,rippleSize:D,cb:j})},[a,k,P]),T=h.useCallback(()=>{w({},{pulsate:!0})},[w]),R=h.useCallback((I,O)=>{if(P.clear(),(I==null?void 0:I.type)==="touchend"&&C.current){C.current(),C.current=null,P.start(0,()=>{R(I,O)});return}C.current=null,f(j=>j.length>0?j.slice(1):j),y.current=O},[P]);return h.useImperativeHandle(n,()=>({pulsate:T,start:w,stop:R}),[T,w,R]),g.jsx(MM,{className:ae(Sr.root,s.root,c),ref:b,...u,children:g.jsx(fh,{component:null,exit:!0,children:d})})});function jS(e){return Ee("MuiButtonBase",e)}const LS=Ie("MuiButtonBase",["root","disabled","focusVisible"]),jM=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:i,classes:a}=e,c=$e({root:["root",t&&"disabled",n&&"focusVisible"]},jS,a);return n&&i&&(c.root+=` ${i}`),c},LM=X("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"},[`&.${LS.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),$n=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiButtonBase"}),{action:a,centerRipple:s=!1,children:c,className:u,component:d="button",disabled:f=!1,disableRipple:m=!1,disableTouchRipple:y=!1,focusRipple:x=!1,focusVisibleClassName:P,LinkComponent:C="a",onBlur:b,onClick:k,onContextMenu:w,onDragLeave:T,onFocus:R,onFocusVisible:I,onKeyDown:O,onKeyUp:j,onMouseDown:A,onMouseLeave:N,onMouseUp:$,onTouchEnd:S,onTouchMove:L,onTouchStart:U,tabIndex:M=0,TouchRippleProps:D,touchRippleRef:W,type:H,...q}=i,F=h.useRef(null),_=wM(),V=Lt(_.ref,W),[B,G]=h.useState(!1);f&&B&&G(!1),h.useImperativeHandle(a,()=>({focusVisible:()=>{G(!0),F.current.focus()}}),[]);const Z=_.shouldMount&&!m&&!f;h.useEffect(()=>{B&&x&&!m&&_.pulsate()},[m,x,B,_]);const te=Oo(_,"start",A,y),K=Oo(_,"stop",w,y),J=Oo(_,"stop",T,y),Q=Oo(_,"stop",$,y),ie=Oo(_,"stop",oe=>{B&&oe.preventDefault(),N&&N(oe)},y),se=Oo(_,"start",U,y),ue=Oo(_,"stop",S,y),ge=Oo(_,"stop",L,y),ce=Oo(_,"stop",oe=>{bo(oe.target)||G(!1),b&&b(oe)},!1),he=Yt(oe=>{F.current||(F.current=oe.currentTarget),bo(oe.target)&&(G(!0),I&&I(oe)),R&&R(oe)}),Se=()=>{const oe=F.current;return d&&d!=="button"&&!(oe.tagName==="A"&&oe.href)},Ae=Yt(oe=>{x&&!oe.repeat&&B&&oe.key===" "&&_.stop(oe,()=>{_.start(oe)}),oe.target===oe.currentTarget&&Se()&&oe.key===" "&&oe.preventDefault(),O&&O(oe),oe.target===oe.currentTarget&&Se()&&oe.key==="Enter"&&!f&&(oe.preventDefault(),k&&k(oe))}),He=Yt(oe=>{x&&oe.key===" "&&B&&!oe.defaultPrevented&&_.stop(oe,()=>{_.pulsate(oe)}),j&&j(oe),k&&oe.target===oe.currentTarget&&Se()&&oe.key===" "&&!oe.defaultPrevented&&k(oe)});let fe=d;fe==="button"&&(q.href||q.to)&&(fe=C);const ve={};fe==="button"?(ve.type=H===void 0?"button":H,ve.disabled=f):(!q.href&&!q.to&&(ve.role="button"),f&&(ve["aria-disabled"]=f));const Ne=Lt(n,F),Be={...i,centerRipple:s,component:d,disabled:f,disableRipple:m,disableTouchRipple:y,focusRipple:x,tabIndex:M,focusVisible:B},be=jM(Be);return g.jsxs(LM,{as:fe,className:ae(be.root,u),ownerState:Be,onBlur:ce,onClick:k,onContextMenu:K,onFocus:he,onKeyDown:Ae,onKeyUp:He,onMouseDown:te,onMouseLeave:ie,onMouseUp:Q,onDragLeave:J,onTouchEnd:ue,onTouchMove:ge,onTouchStart:se,ref:Ne,tabIndex:f?-1:M,type:H,...ve,...q,children:[c,Z?g.jsx(AM,{ref:V,center:s,...D}):null]})});function Oo(e,t,n,i=!1){return Yt(a=>(n&&n(a),i||e[t](a),!0))}function NS(e){return Ee("MuiAccordionSummary",e)}const ia=Ie("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),NM=e=>{const{classes:t,expanded:n,disabled:i,disableGutters:a}=e;return $e({root:["root",n&&"expanded",i&&"disabled",!a&&"gutters"],focusVisible:["focusVisible"],content:["content",n&&"expanded",!a&&"contentGutters"],expandIconWrapper:["expandIconWrapper",n&&"expanded"]},NS,t)},BM=X($n,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})(xe(({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{display:"flex",width:"100%",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],t),[`&.${ia.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ia.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${ia.disabled})`]:{cursor:"pointer"},variants:[{props:n=>!n.disableGutters,style:{[`&.${ia.expanded}`]:{minHeight:64}}}]}})),DM=X("span",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})(xe(({theme:e})=>({display:"flex",textAlign:"start",flexGrow:1,margin:"12px 0",variants:[{props:t=>!t.disableGutters,style:{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${ia.expanded}`]:{margin:"20px 0"}}}]}))),zM=X("span",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})(xe(({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${ia.expanded}`]:{transform:"rotate(180deg)"}}))),FM=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiAccordionSummary"}),{children:a,className:s,expandIcon:c,focusVisibleClassName:u,onClick:d,slots:f,slotProps:m,...y}=i,{disabled:x=!1,disableGutters:P,expanded:C,toggle:b}=h.useContext($S),k=S=>{b&&b(S),d&&d(S)},w={...i,expanded:C,disabled:x,disableGutters:P},T=NM(w),R={slots:f,slotProps:m},[I,O]=Le("root",{ref:n,shouldForwardComponentProp:!0,className:ae(T.root,s),elementType:BM,externalForwardedProps:{...R,...y},ownerState:w,additionalProps:{focusRipple:!1,disableRipple:!0,disabled:x,"aria-expanded":C,focusVisibleClassName:ae(T.focusVisible,u)},getSlotProps:S=>({...S,onClick:L=>{var U;(U=S.onClick)==null||U.call(S,L),k(L)}})}),[j,A]=Le("content",{className:T.content,elementType:DM,externalForwardedProps:R,ownerState:w}),[N,$]=Le("expandIconWrapper",{className:T.expandIconWrapper,elementType:zM,externalForwardedProps:R,ownerState:w});return g.jsxs(I,{...O,children:[g.jsx(j,{...A,children:a}),c&&g.jsx(N,{...$,children:c})]})});function _M(e){return typeof e.main=="string"}function WM(e,t=[]){if(!_M(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function kt(e=[]){return([,t])=>t&&WM(t,e)}function BS(e){return Ee("MuiAlert",e)}const ag=Ie("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 DS(e){return Ee("MuiCircularProgress",e)}const HM=Ie("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]),gi=44,sg=Vr`
173
+ 0% {
174
+ transform: rotate(0deg);
175
+ }
176
+
177
+ 100% {
178
+ transform: rotate(360deg);
179
+ }
180
+ `,lg=Vr`
181
+ 0% {
182
+ stroke-dasharray: 1px, 200px;
183
+ stroke-dashoffset: 0;
184
+ }
185
+
186
+ 50% {
187
+ stroke-dasharray: 100px, 200px;
188
+ stroke-dashoffset: -15px;
189
+ }
190
+
191
+ 100% {
192
+ stroke-dasharray: 1px, 200px;
193
+ stroke-dashoffset: -126px;
194
+ }
195
+ `,UM=typeof sg!="string"?So`
196
+ animation: ${sg} 1.4s linear infinite;
197
+ `:null,VM=typeof lg!="string"?So`
198
+ animation: ${lg} 1.4s ease-in-out infinite;
199
+ `:null,GM=e=>{const{classes:t,variant:n,color:i,disableShrink:a}=e,s={root:["root",n,`color${ee(i)}`],svg:["svg"],circle:["circle",`circle${ee(n)}`,a&&"circleDisableShrink"]};return $e(s,DS,t)},qM=X("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${ee(n.color)}`]]}})(xe(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:UM||{animation:`${sg} 1.4s linear infinite`}},...Object.entries(e.palette).filter(kt()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),KM=X("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),YM=X("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${ee(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(xe(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:VM||{animation:`${lg} 1.4s ease-in-out infinite`}}]}))),Xl=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiCircularProgress"}),{className:a,color:s="primary",disableShrink:c=!1,size:u=40,style:d,thickness:f=3.6,value:m=0,variant:y="indeterminate",...x}=i,P={...i,color:s,disableShrink:c,size:u,thickness:f,value:m,variant:y},C=GM(P),b={},k={},w={};if(y==="determinate"){const T=2*Math.PI*((gi-f)/2);b.strokeDasharray=T.toFixed(3),w["aria-valuenow"]=Math.round(m),b.strokeDashoffset=`${((100-m)/100*T).toFixed(3)}px`,k.transform="rotate(-90deg)"}return g.jsx(qM,{className:ae(C.root,a),style:{width:u,height:u,...k,...d},ownerState:P,ref:n,role:"progressbar",...w,...x,children:g.jsx(KM,{className:C.svg,ownerState:P,viewBox:`${gi/2} ${gi/2} ${gi} ${gi}`,children:g.jsx(YM,{className:C.circle,style:b,ownerState:P,cx:gi,cy:gi,r:(gi-f)/2,fill:"none",strokeWidth:f})})})});function zS(e){return Ee("MuiIconButton",e)}const cg=Ie("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),XM=e=>{const{classes:t,disabled:n,color:i,edge:a,size:s,loading:c}=e,u={root:["root",c&&"loading",n&&"disabled",i!=="default"&&`color${ee(i)}`,a&&`edge${ee(a)}`,`size${ee(s)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return $e(u,zS,t)},QM=X($n,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.loading&&t.loading,n.color!=="default"&&t[`color${ee(n.color)}`],n.edge&&t[`edge${ee(n.edge)}`],t[`size${ee(n.size)}`]]}})(xe(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(e.palette.action.active,e.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),xe(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(kt()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(kt()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe((e.vars||e).palette[t].main,e.palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${cg.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${cg.loading}`]:{color:"transparent"}}))),JM=X("span",{name:"MuiIconButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),lr=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiIconButton"}),{edge:a=!1,children:s,className:c,color:u="default",disabled:d=!1,disableFocusRipple:f=!1,size:m="medium",id:y,loading:x=null,loadingIndicator:P,...C}=i,b=Jn(y),k=P??g.jsx(Xl,{"aria-labelledby":b,color:"inherit",size:16}),w={...i,edge:a,color:u,disabled:d,disableFocusRipple:f,loading:x,loadingIndicator:k,size:m},T=XM(w);return g.jsxs(QM,{id:x?b:y,className:ae(T.root,c),centerRipple:!0,focusRipple:!f,disabled:d||x,ref:n,...C,ownerState:w,children:[typeof x=="boolean"&&g.jsx("span",{className:T.loadingWrapper,style:{display:"contents"},children:g.jsx(JM,{className:T.loadingIndicator,ownerState:w,children:x&&k})}),s]})}),ZM=xt(g.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"),eO=xt(g.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),tO=xt(g.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"),nO=xt(g.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"),FS=xt(g.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"),rO=e=>{const{variant:t,color:n,severity:i,classes:a}=e,s={root:["root",`color${ee(n||i)}`,`${t}${ee(n||i)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return $e(s,BS,a)},oO=X(Gn,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ee(n.color||n.severity)}`]]}})(xe(({theme:e})=>{const t=e.palette.mode==="light"?_r:Wr,n=e.palette.mode==="light"?Wr:_r;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(kt(["light"])).map(([i])=>({props:{colorSeverity:i,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${i}Color`]:t(e.palette[i].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${i}StandardBg`]:n(e.palette[i].light,.9),[`& .${ag.icon}`]:e.vars?{color:e.vars.palette.Alert[`${i}IconColor`]}:{color:e.palette[i].main}}})),...Object.entries(e.palette).filter(kt(["light"])).map(([i])=>({props:{colorSeverity:i,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${i}Color`]:t(e.palette[i].light,.6),border:`1px solid ${(e.vars||e).palette[i].light}`,[`& .${ag.icon}`]:e.vars?{color:e.vars.palette.Alert[`${i}IconColor`]}:{color:e.palette[i].main}}})),...Object.entries(e.palette).filter(kt(["dark"])).map(([i])=>({props:{colorSeverity:i,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${i}FilledColor`],backgroundColor:e.vars.palette.Alert[`${i}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[i].dark:e.palette[i].main,color:e.palette.getContrastText(e.palette[i].main)}}}))]}})),iO=X("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),aO=X("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),sO=X("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),bb={success:g.jsx(ZM,{fontSize:"inherit"}),warning:g.jsx(eO,{fontSize:"inherit"}),error:g.jsx(tO,{fontSize:"inherit"}),info:g.jsx(nO,{fontSize:"inherit"})},ug=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiAlert"}),{action:a,children:s,className:c,closeText:u="Close",color:d,components:f={},componentsProps:m={},icon:y,iconMapping:x=bb,onClose:P,role:C="alert",severity:b="success",slotProps:k={},slots:w={},variant:T="standard",...R}=i,I={...i,color:d,severity:b,variant:T,colorSeverity:d||b},O=rO(I),j={slots:{closeButton:f.CloseButton,closeIcon:f.CloseIcon,...w},slotProps:{...m,...k}},[A,N]=Le("root",{ref:n,shouldForwardComponentProp:!0,className:ae(O.root,c),elementType:oO,externalForwardedProps:{...j,...R},ownerState:I,additionalProps:{role:C,elevation:0}}),[$,S]=Le("icon",{className:O.icon,elementType:iO,externalForwardedProps:j,ownerState:I}),[L,U]=Le("message",{className:O.message,elementType:aO,externalForwardedProps:j,ownerState:I}),[M,D]=Le("action",{className:O.action,elementType:sO,externalForwardedProps:j,ownerState:I}),[W,H]=Le("closeButton",{elementType:lr,externalForwardedProps:j,ownerState:I}),[q,F]=Le("closeIcon",{elementType:FS,externalForwardedProps:j,ownerState:I});return g.jsxs(A,{...N,children:[y!==!1?g.jsx($,{...S,children:y||x[b]||bb[b]}):null,g.jsx(L,{...U,children:s}),a!=null?g.jsx(M,{...D,children:a}):null,a==null&&P?g.jsx(M,{...D,children:g.jsx(W,{size:"small","aria-label":u,title:u,color:"inherit",onClick:P,...H,children:g.jsx(q,{fontSize:"small",...F})})}):null]})});function _S(e){return Ee("MuiTypography",e)}const Ql=Ie("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),lO={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},cO=V$(),uO=e=>{const{align:t,gutterBottom:n,noWrap:i,paragraph:a,variant:s,classes:c}=e,u={root:["root",s,e.align!=="inherit"&&`align${ee(t)}`,n&&"gutterBottom",i&&"noWrap",a&&"paragraph"]};return $e(u,_S,c)},dO=X("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${ee(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(xe(({theme:e})=>{var t;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([n,i])=>n!=="inherit"&&i&&typeof i=="object").map(([n,i])=>({props:{variant:n},style:i})),...Object.entries(e.palette).filter(kt()).map(([n])=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),...Object.entries(((t=e.palette)==null?void 0:t.text)||{}).filter(([,n])=>typeof n=="string").map(([n])=>({props:{color:`text${ee(n)}`},style:{color:(e.vars||e).palette.text[n]}})),{props:({ownerState:n})=>n.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:n})=>n.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:n})=>n.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:n})=>n.paragraph,style:{marginBottom:16}}]}})),xb={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},zt=h.forwardRef(function(t,n){const{color:i,...a}=Oe({props:t,name:"MuiTypography"}),s=!lO[i],c=cO({...a,...s&&{color:i}}),{align:u="inherit",className:d,component:f,gutterBottom:m=!1,noWrap:y=!1,paragraph:x=!1,variant:P="body1",variantMapping:C=xb,...b}=c,k={...c,align:u,color:i,className:d,component:f,gutterBottom:m,noWrap:y,paragraph:x,variant:P,variantMapping:C},w=f||(x?"p":C[P]||xb[P])||"span",T=uO(k);return g.jsx(dO,{as:w,ref:n,className:ae(T.root,d),...b,ownerState:k,style:{...u!=="inherit"&&{"--Typography-textAlign":u},...b.style}})});function WS(e){return Ee("MuiAlertTitle",e)}const pO=Ie("MuiAlertTitle",["root"]),fO=e=>{const{classes:t}=e;return $e({root:["root"]},WS,t)},mO=X(zt,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(e,t)=>t.root})(xe(({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2}))),gO=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiAlertTitle"}),{className:a,...s}=i,c=i,u=fO(c);return g.jsx(mO,{gutterBottom:!0,component:"div",ownerState:c,ref:n,className:ae(u.root,a),...s})});function HS(e){return Ee("MuiAppBar",e)}const hO=Ie("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]),vO=e=>{const{color:t,position:n,classes:i}=e,a={root:["root",`color${ee(t)}`,`position${ee(n)}`]};return $e(a,HS,i)},Sb=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,yO=X(Gn,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${ee(n.position)}`],t[`color${ee(n.color)}`]]}})(xe(({theme:e})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles("dark",{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter(kt(["contrastText"])).map(([t])=>({props:{color:t},style:{"--AppBar-background":(e.vars??e).palette[t].main,"--AppBar-color":(e.vars??e).palette[t].contrastText}})),{props:t=>t.enableColorOnDark===!0&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:t=>t.enableColorOnDark===!1&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?Sb(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?Sb(e.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundImage:"none"})}}]}))),mh=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiAppBar"}),{className:a,color:s="primary",enableColorOnDark:c=!1,position:u="fixed",...d}=i,f={...i,color:s,position:u,enableColorOnDark:c},m=vO(f);return g.jsx(yO,{square:!0,component:"header",ownerState:f,elevation:4,className:ae(m.root,a,u==="fixed"&&"mui-fixed"),ref:n,...d})});function Cb(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function US(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:i,matchFrom:a="any",stringify:s,trim:c=!1}=e;return(u,{inputValue:d,getOptionLabel:f})=>{let m=c?d.trim():d;n&&(m=m.toLowerCase()),t&&(m=Cb(m));const y=m?u.filter(x=>{let P=(s||f)(x);return n&&(P=P.toLowerCase()),t&&(P=Cb(P)),a==="start"?P.startsWith(m):P.includes(m)}):u;return typeof i=="number"?y.slice(0,i):y}}const bO=US(),wb=5,xO=e=>{var t;return e.current!==null&&((t=e.current.parentElement)==null?void 0:t.contains(document.activeElement))},SO=[];function kb(e,t,n){if(t||e==null)return"";const i=n(e);return typeof i=="string"?i:""}function VS(e){const{unstable_isActiveElementInListbox:t=xO,unstable_classNamePrefix:n="Mui",autoComplete:i=!1,autoHighlight:a=!1,autoSelect:s=!1,blurOnSelect:c=!1,clearOnBlur:u=!e.freeSolo,clearOnEscape:d=!1,componentName:f="useAutocomplete",defaultValue:m=e.multiple?SO:null,disableClearable:y=!1,disableCloseOnSelect:x=!1,disabled:P,disabledItemsFocusable:C=!1,disableListWrap:b=!1,filterOptions:k=bO,filterSelectedOptions:w=!1,freeSolo:T=!1,getOptionDisabled:R,getOptionKey:I,getOptionLabel:O=Te=>Te.label??Te,groupBy:j,handleHomeEndKeys:A=!e.freeSolo,id:N,includeInputInList:$=!1,inputValue:S,isOptionEqualToValue:L=(Te,Ce)=>Te===Ce,multiple:U=!1,onChange:M,onClose:D,onHighlightChange:W,onInputChange:H,onOpen:q,open:F,openOnFocus:_=!1,options:V,readOnly:B=!1,selectOnFocus:G=!e.freeSolo,value:Z}=e,te=Jn(N);let K=O;K=Te=>{const Ce=O(Te);return typeof Ce!="string"?String(Ce):Ce};const J=h.useRef(!1),Q=h.useRef(!0),ie=h.useRef(null),se=h.useRef(null),[ue,ge]=h.useState(null),[ce,he]=h.useState(-1),Se=a?0:-1,Ae=h.useRef(Se),He=h.useRef(kb(m??Z,U,K)).current,[fe,ve]=Qn({controlled:Z,default:m,name:f}),[Ne,Be]=Qn({controlled:S,default:He,name:f,state:"inputValue"}),[be,oe]=h.useState(!1),Me=h.useCallback((Te,Ce,Xe)=>{if(!(U?fe.length<Ce.length:Ce!==null)&&!u)return;const wt=kb(Ce,U,K);Ne!==wt&&(Be(wt),H&&H(Te,wt,Xe))},[K,Ne,U,H,Be,u,fe]),[Re,pe]=Qn({controlled:F,default:!1,name:f,state:"open"}),[ye,De]=h.useState(!0),we=!U&&fe!=null&&Ne===K(fe),je=Re&&!B,Pe=je?k(V.filter(Te=>!(w&&(U?fe:[fe]).some(Ce=>Ce!==null&&L(Te,Ce)))),{inputValue:we&&ye?"":Ne,getOptionLabel:K}):[],Fe=Jg({filteredOptions:Pe,value:fe,inputValue:Ne});h.useEffect(()=>{const Te=fe!==Fe.value;be&&!Te||T&&!Te||Me(null,fe,"reset")},[fe,Me,be,Fe.value,T]);const ot=Re&&Pe.length>0&&!B,Ke=Yt(Te=>{Te===-1?ie.current.focus():ue.querySelector(`[data-tag-index="${Te}"]`).focus()});h.useEffect(()=>{U&&ce>fe.length-1&&(he(-1),Ke(-1))},[fe,U,ce,Ke]);function ht(Te,Ce){if(!se.current||Te<0||Te>=Pe.length)return-1;let Xe=Te;for(;;){const gt=se.current.querySelector(`[data-option-index="${Xe}"]`),wt=C?!1:!gt||gt.disabled||gt.getAttribute("aria-disabled")==="true";if(gt&&gt.hasAttribute("tabindex")&&!wt)return Xe;if(Ce==="next"?Xe=(Xe+1)%Pe.length:Xe=(Xe-1+Pe.length)%Pe.length,Xe===Te)return-1}}const Ve=Yt(({event:Te,index:Ce,reason:Xe})=>{if(Ae.current=Ce,Ce===-1?ie.current.removeAttribute("aria-activedescendant"):ie.current.setAttribute("aria-activedescendant",`${te}-option-${Ce}`),W&&["mouse","keyboard","touch"].includes(Xe)&&W(Te,Ce===-1?null:Pe[Ce],Xe),!se.current)return;const gt=se.current.querySelector(`[role="option"].${n}-focused`);gt&&(gt.classList.remove(`${n}-focused`),gt.classList.remove(`${n}-focusVisible`));let wt=se.current;if(se.current.getAttribute("role")!=="listbox"&&(wt=se.current.parentElement.querySelector('[role="listbox"]')),!wt)return;if(Ce===-1){wt.scrollTop=0;return}const Ft=se.current.querySelector(`[data-option-index="${Ce}"]`);if(Ft&&(Ft.classList.add(`${n}-focused`),Xe==="keyboard"&&Ft.classList.add(`${n}-focusVisible`),wt.scrollHeight>wt.clientHeight&&Xe!=="mouse"&&Xe!=="touch")){const un=Ft,Zn=wt.clientHeight+wt.scrollTop,Ps=un.offsetTop+un.offsetHeight;Ps>Zn?wt.scrollTop=Ps-wt.clientHeight:un.offsetTop-un.offsetHeight*(j?1.3:0)<wt.scrollTop&&(wt.scrollTop=un.offsetTop-un.offsetHeight*(j?1.3:0))}}),it=Yt(({event:Te,diff:Ce,direction:Xe="next",reason:gt})=>{if(!je)return;const Ft=ht((()=>{const un=Pe.length-1;if(Ce==="reset")return Se;if(Ce==="start")return 0;if(Ce==="end")return un;const Zn=Ae.current+Ce;return Zn<0?Zn===-1&&$?-1:b&&Ae.current!==-1||Math.abs(Ce)>1?0:un:Zn>un?Zn===un+1&&$?-1:b||Math.abs(Ce)>1?un:0:Zn})(),Xe);if(Ve({index:Ft,reason:gt,event:Te}),i&&Ce!=="reset")if(Ft===-1)ie.current.value=Ne;else{const un=K(Pe[Ft]);ie.current.value=un,un.toLowerCase().indexOf(Ne.toLowerCase())===0&&Ne.length>0&&ie.current.setSelectionRange(Ne.length,un.length)}}),Et=()=>{const Te=(Ce,Xe)=>{const gt=Ce?K(Ce):"",wt=Xe?K(Xe):"";return gt===wt};if(Ae.current!==-1&&Fe.filteredOptions&&Fe.filteredOptions.length!==Pe.length&&Fe.inputValue===Ne&&(U?fe.length===Fe.value.length&&Fe.value.every((Ce,Xe)=>K(fe[Xe])===K(Ce)):Te(Fe.value,fe))){const Ce=Fe.filteredOptions[Ae.current];if(Ce)return Pe.findIndex(Xe=>K(Xe)===K(Ce))}return-1},Ht=h.useCallback(()=>{if(!je)return;const Te=Et();if(Te!==-1){Ae.current=Te;return}const Ce=U?fe[0]:fe;if(Pe.length===0||Ce==null){it({diff:"reset"});return}if(se.current){if(Ce!=null){const Xe=Pe[Ae.current];if(U&&Xe&&fe.findIndex(wt=>L(Xe,wt))!==-1)return;const gt=Pe.findIndex(wt=>L(wt,Ce));gt===-1?it({diff:"reset"}):Ve({index:gt});return}if(Ae.current>=Pe.length-1){Ve({index:Pe.length-1});return}Ve({index:Ae.current})}},[Pe.length,U?!1:fe,w,it,Ve,je,Ne,U]),an=Yt(Te=>{Gl(se,Te),Te&&Ht()});h.useEffect(()=>{Ht()},[Ht]);const Jt=Te=>{Re||(pe(!0),De(!0),q&&q(Te))},gn=(Te,Ce)=>{Re&&(pe(!1),D&&D(Te,Ce))},ft=(Te,Ce,Xe,gt)=>{if(U){if(fe.length===Ce.length&&fe.every((wt,Ft)=>wt===Ce[Ft]))return}else if(fe===Ce)return;M&&M(Te,Ce,Xe,gt),ve(Ce)},Mt=h.useRef(!1),sn=(Te,Ce,Xe="selectOption",gt="options")=>{let wt=Xe,Ft=Ce;if(U){Ft=Array.isArray(fe)?fe.slice():[];const un=Ft.findIndex(Zn=>L(Ce,Zn));un===-1?Ft.push(Ce):gt!=="freeSolo"&&(Ft.splice(un,1),wt="removeOption")}Me(Te,Ft,wt),ft(Te,Ft,wt,{option:Ce}),!x&&(!Te||!Te.ctrlKey&&!Te.metaKey)&&gn(Te,wt),(c===!0||c==="touch"&&Mt.current||c==="mouse"&&!Mt.current)&&ie.current.blur()};function Mn(Te,Ce){if(Te===-1)return-1;let Xe=Te;for(;;){if(Ce==="next"&&Xe===fe.length||Ce==="previous"&&Xe===-1)return-1;const gt=ue.querySelector(`[data-tag-index="${Xe}"]`);if(!gt||!gt.hasAttribute("tabindex")||gt.disabled||gt.getAttribute("aria-disabled")==="true")Xe+=Ce==="next"?1:-1;else return Xe}}const ln=(Te,Ce)=>{if(!U)return;Ne===""&&gn(Te,"toggleInput");let Xe=ce;ce===-1?Ne===""&&Ce==="previous"&&(Xe=fe.length-1):(Xe+=Ce==="next"?1:-1,Xe<0&&(Xe=0),Xe===fe.length&&(Xe=-1)),Xe=Mn(Xe,Ce),he(Xe),Ke(Xe)},at=Te=>{J.current=!0,Be(""),H&&H(Te,"","clear"),ft(Te,U?[]:null,"clear")},cn=Te=>Ce=>{if(Te.onKeyDown&&Te.onKeyDown(Ce),!Ce.defaultMuiPrevented&&(ce!==-1&&!["ArrowLeft","ArrowRight"].includes(Ce.key)&&(he(-1),Ke(-1)),Ce.which!==229))switch(Ce.key){case"Home":je&&A&&(Ce.preventDefault(),it({diff:"start",direction:"next",reason:"keyboard",event:Ce}));break;case"End":je&&A&&(Ce.preventDefault(),it({diff:"end",direction:"previous",reason:"keyboard",event:Ce}));break;case"PageUp":Ce.preventDefault(),it({diff:-wb,direction:"previous",reason:"keyboard",event:Ce}),Jt(Ce);break;case"PageDown":Ce.preventDefault(),it({diff:wb,direction:"next",reason:"keyboard",event:Ce}),Jt(Ce);break;case"ArrowDown":Ce.preventDefault(),it({diff:1,direction:"next",reason:"keyboard",event:Ce}),Jt(Ce);break;case"ArrowUp":Ce.preventDefault(),it({diff:-1,direction:"previous",reason:"keyboard",event:Ce}),Jt(Ce);break;case"ArrowLeft":ln(Ce,"previous");break;case"ArrowRight":ln(Ce,"next");break;case"Enter":if(Ae.current!==-1&&je){const Xe=Pe[Ae.current],gt=R?R(Xe):!1;if(Ce.preventDefault(),gt)return;sn(Ce,Xe,"selectOption"),i&&ie.current.setSelectionRange(ie.current.value.length,ie.current.value.length)}else T&&Ne!==""&&we===!1&&(U&&Ce.preventDefault(),sn(Ce,Ne,"createOption","freeSolo"));break;case"Escape":je?(Ce.preventDefault(),Ce.stopPropagation(),gn(Ce,"escape")):d&&(Ne!==""||U&&fe.length>0)&&(Ce.preventDefault(),Ce.stopPropagation(),at(Ce));break;case"Backspace":if(U&&!B&&Ne===""&&fe.length>0){const Xe=ce===-1?fe.length-1:ce,gt=fe.slice();gt.splice(Xe,1),ft(Ce,gt,"removeOption",{option:fe[Xe]})}break;case"Delete":if(U&&!B&&Ne===""&&fe.length>0&&ce!==-1){const Xe=ce,gt=fe.slice();gt.splice(Xe,1),ft(Ce,gt,"removeOption",{option:fe[Xe]})}break}},Ge=Te=>{oe(!0),_&&!J.current&&Jt(Te)},qe=Te=>{if(t(se)){ie.current.focus();return}oe(!1),Q.current=!0,J.current=!1,s&&Ae.current!==-1&&je?sn(Te,Pe[Ae.current],"blur"):s&&T&&Ne!==""?sn(Te,Ne,"blur","freeSolo"):u&&Me(Te,fe,"blur"),gn(Te,"blur")},mt=Te=>{const Ce=Te.target.value;Ne!==Ce&&(Be(Ce),De(!1),H&&H(Te,Ce,"input")),Ce===""?!y&&!U&&ft(Te,null,"clear"):Jt(Te)},pt=Te=>{const Ce=Number(Te.currentTarget.getAttribute("data-option-index"));Ae.current!==Ce&&Ve({event:Te,index:Ce,reason:"mouse"})},Ot=Te=>{Ve({event:Te,index:Number(Te.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Mt.current=!0},vt=Te=>{const Ce=Number(Te.currentTarget.getAttribute("data-option-index"));sn(Te,Pe[Ce],"selectOption"),Mt.current=!1},tt=Te=>Ce=>{const Xe=fe.slice();Xe.splice(Te,1),ft(Ce,Xe,"removeOption",{option:fe[Te]})},nt=Te=>{Re?gn(Te,"toggleInput"):Jt(Te)},yt=Te=>{Te.currentTarget.contains(Te.target)&&Te.target.getAttribute("id")!==te&&Te.preventDefault()},ut=Te=>{Te.currentTarget.contains(Te.target)&&(ie.current.focus(),G&&Q.current&&ie.current.selectionEnd-ie.current.selectionStart===0&&ie.current.select(),Q.current=!1)},Nt=Te=>{!P&&(Ne===""||!Re)&&nt(Te)};let nn=T&&Ne.length>0;nn=nn||(U?fe.length>0:fe!==null);let Rt=Pe;return j&&(Rt=Pe.reduce((Te,Ce,Xe)=>{const gt=j(Ce);return Te.length>0&&Te[Te.length-1].group===gt?Te[Te.length-1].options.push(Ce):Te.push({key:Xe,index:Xe,group:gt,options:[Ce]}),Te},[])),P&&be&&qe(),{getRootProps:(Te={})=>({...Te,onKeyDown:cn(Te),onMouseDown:yt,onClick:ut}),getInputLabelProps:()=>({id:`${te}-label`,htmlFor:te}),getInputProps:()=>({id:te,value:Ne,onBlur:qe,onFocus:Ge,onChange:mt,onMouseDown:Nt,"aria-activedescendant":je?"":null,"aria-autocomplete":i?"both":"list","aria-controls":ot?`${te}-listbox`:void 0,"aria-expanded":ot,autoComplete:"off",ref:ie,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:P}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:at}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:nt}),getTagProps:({index:Te})=>({key:Te,"data-tag-index":Te,tabIndex:-1,...!B&&{onDelete:tt(Te)}}),getListboxProps:()=>({role:"listbox",id:`${te}-listbox`,"aria-labelledby":`${te}-label`,ref:an,onMouseDown:Te=>{Te.preventDefault()}}),getOptionProps:({index:Te,option:Ce})=>{const Xe=(U?fe:[fe]).some(wt=>wt!=null&&L(Ce,wt)),gt=R?R(Ce):!1;return{key:(I==null?void 0:I(Ce))??K(Ce),tabIndex:-1,role:"option",id:`${te}-option-${Te}`,onMouseMove:pt,onClick:vt,onTouchStart:Ot,"data-option-index":Te,"aria-disabled":gt,"aria-selected":Xe}},id:te,inputValue:Ne,value:fe,dirty:nn,expanded:je&&ue,popupOpen:je,focused:be||ce!==-1,anchorEl:ue,setAnchorEl:ge,focusedTag:ce,groupedOptions:Rt}}var ur="top",Hr="bottom",Ur="right",dr="left",gh="auto",pc=[ur,Hr,Ur,dr],ds="start",Jl="end",CO="clippingParents",GS="viewport",cl="popper",wO="reference",Rb=pc.reduce(function(e,t){return e.concat([t+"-"+ds,t+"-"+Jl])},[]),qS=[].concat(pc,[gh]).reduce(function(e,t){return e.concat([t,t+"-"+ds,t+"-"+Jl])},[]),kO="beforeRead",RO="read",PO="afterRead",TO="beforeMain",EO="main",IO="afterMain",$O="beforeWrite",MO="write",OO="afterWrite",AO=[kO,RO,PO,TO,EO,IO,$O,MO,OO];function xo(e){return e?(e.nodeName||"").toLowerCase():null}function Rr(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function fa(e){var t=Rr(e).Element;return e instanceof t||e instanceof Element}function zr(e){var t=Rr(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function hh(e){if(typeof ShadowRoot>"u")return!1;var t=Rr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function jO(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var i=t.styles[n]||{},a=t.attributes[n]||{},s=t.elements[n];!zr(s)||!xo(s)||(Object.assign(s.style,i),Object.keys(a).forEach(function(c){var u=a[c];u===!1?s.removeAttribute(c):s.setAttribute(c,u===!0?"":u)}))})}function LO(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(i){var a=t.elements[i],s=t.attributes[i]||{},c=Object.keys(t.styles.hasOwnProperty(i)?t.styles[i]:n[i]),u=c.reduce(function(d,f){return d[f]="",d},{});!zr(a)||!xo(a)||(Object.assign(a.style,u),Object.keys(s).forEach(function(d){a.removeAttribute(d)}))})}}const NO={name:"applyStyles",enabled:!0,phase:"write",fn:jO,effect:LO,requires:["computeStyles"]};function yo(e){return e.split("-")[0]}var ca=Math.max,kd=Math.min,ps=Math.round;function dg(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function KS(){return!/^((?!chrome|android).)*safari/i.test(dg())}function fs(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var i=e.getBoundingClientRect(),a=1,s=1;t&&zr(e)&&(a=e.offsetWidth>0&&ps(i.width)/e.offsetWidth||1,s=e.offsetHeight>0&&ps(i.height)/e.offsetHeight||1);var c=fa(e)?Rr(e):window,u=c.visualViewport,d=!KS()&&n,f=(i.left+(d&&u?u.offsetLeft:0))/a,m=(i.top+(d&&u?u.offsetTop:0))/s,y=i.width/a,x=i.height/s;return{width:y,height:x,top:m,right:f+y,bottom:m+x,left:f,x:f,y:m}}function vh(e){var t=fs(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function YS(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&hh(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Vo(e){return Rr(e).getComputedStyle(e)}function BO(e){return["table","td","th"].indexOf(xo(e))>=0}function Ei(e){return((fa(e)?e.ownerDocument:e.document)||window.document).documentElement}function tp(e){return xo(e)==="html"?e:e.assignedSlot||e.parentNode||(hh(e)?e.host:null)||Ei(e)}function Pb(e){return!zr(e)||Vo(e).position==="fixed"?null:e.offsetParent}function DO(e){var t=/firefox/i.test(dg()),n=/Trident/i.test(dg());if(n&&zr(e)){var i=Vo(e);if(i.position==="fixed")return null}var a=tp(e);for(hh(a)&&(a=a.host);zr(a)&&["html","body"].indexOf(xo(a))<0;){var s=Vo(a);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return a;a=a.parentNode}return null}function fc(e){for(var t=Rr(e),n=Pb(e);n&&BO(n)&&Vo(n).position==="static";)n=Pb(n);return n&&(xo(n)==="html"||xo(n)==="body"&&Vo(n).position==="static")?t:n||DO(e)||t}function yh(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ll(e,t,n){return ca(e,kd(t,n))}function zO(e,t,n){var i=Ll(e,t,n);return i>n?n:i}function XS(){return{top:0,right:0,bottom:0,left:0}}function QS(e){return Object.assign({},XS(),e)}function JS(e,t){return t.reduce(function(n,i){return n[i]=e,n},{})}var FO=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,QS(typeof t!="number"?t:JS(t,pc))};function _O(e){var t,n=e.state,i=e.name,a=e.options,s=n.elements.arrow,c=n.modifiersData.popperOffsets,u=yo(n.placement),d=yh(u),f=[dr,Ur].indexOf(u)>=0,m=f?"height":"width";if(!(!s||!c)){var y=FO(a.padding,n),x=vh(s),P=d==="y"?ur:dr,C=d==="y"?Hr:Ur,b=n.rects.reference[m]+n.rects.reference[d]-c[d]-n.rects.popper[m],k=c[d]-n.rects.reference[d],w=fc(s),T=w?d==="y"?w.clientHeight||0:w.clientWidth||0:0,R=b/2-k/2,I=y[P],O=T-x[m]-y[C],j=T/2-x[m]/2+R,A=Ll(I,j,O),N=d;n.modifiersData[i]=(t={},t[N]=A,t.centerOffset=A-j,t)}}function WO(e){var t=e.state,n=e.options,i=n.element,a=i===void 0?"[data-popper-arrow]":i;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||YS(t.elements.popper,a)&&(t.elements.arrow=a))}const HO={name:"arrow",enabled:!0,phase:"main",fn:_O,effect:WO,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ms(e){return e.split("-")[1]}var UO={top:"auto",right:"auto",bottom:"auto",left:"auto"};function VO(e,t){var n=e.x,i=e.y,a=t.devicePixelRatio||1;return{x:ps(n*a)/a||0,y:ps(i*a)/a||0}}function Tb(e){var t,n=e.popper,i=e.popperRect,a=e.placement,s=e.variation,c=e.offsets,u=e.position,d=e.gpuAcceleration,f=e.adaptive,m=e.roundOffsets,y=e.isFixed,x=c.x,P=x===void 0?0:x,C=c.y,b=C===void 0?0:C,k=typeof m=="function"?m({x:P,y:b}):{x:P,y:b};P=k.x,b=k.y;var w=c.hasOwnProperty("x"),T=c.hasOwnProperty("y"),R=dr,I=ur,O=window;if(f){var j=fc(n),A="clientHeight",N="clientWidth";if(j===Rr(n)&&(j=Ei(n),Vo(j).position!=="static"&&u==="absolute"&&(A="scrollHeight",N="scrollWidth")),j=j,a===ur||(a===dr||a===Ur)&&s===Jl){I=Hr;var $=y&&j===O&&O.visualViewport?O.visualViewport.height:j[A];b-=$-i.height,b*=d?1:-1}if(a===dr||(a===ur||a===Hr)&&s===Jl){R=Ur;var S=y&&j===O&&O.visualViewport?O.visualViewport.width:j[N];P-=S-i.width,P*=d?1:-1}}var L=Object.assign({position:u},f&&UO),U=m===!0?VO({x:P,y:b},Rr(n)):{x:P,y:b};if(P=U.x,b=U.y,d){var M;return Object.assign({},L,(M={},M[I]=T?"0":"",M[R]=w?"0":"",M.transform=(O.devicePixelRatio||1)<=1?"translate("+P+"px, "+b+"px)":"translate3d("+P+"px, "+b+"px, 0)",M))}return Object.assign({},L,(t={},t[I]=T?b+"px":"",t[R]=w?P+"px":"",t.transform="",t))}function GO(e){var t=e.state,n=e.options,i=n.gpuAcceleration,a=i===void 0?!0:i,s=n.adaptive,c=s===void 0?!0:s,u=n.roundOffsets,d=u===void 0?!0:u,f={placement:yo(t.placement),variation:ms(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Tb(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:d})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Tb(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:d})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const qO={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:GO,data:{}};var Au={passive:!0};function KO(e){var t=e.state,n=e.instance,i=e.options,a=i.scroll,s=a===void 0?!0:a,c=i.resize,u=c===void 0?!0:c,d=Rr(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&f.forEach(function(m){m.addEventListener("scroll",n.update,Au)}),u&&d.addEventListener("resize",n.update,Au),function(){s&&f.forEach(function(m){m.removeEventListener("scroll",n.update,Au)}),u&&d.removeEventListener("resize",n.update,Au)}}const YO={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:KO,data:{}};var XO={left:"right",right:"left",bottom:"top",top:"bottom"};function rd(e){return e.replace(/left|right|bottom|top/g,function(t){return XO[t]})}var QO={start:"end",end:"start"};function Eb(e){return e.replace(/start|end/g,function(t){return QO[t]})}function bh(e){var t=Rr(e),n=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:n,scrollTop:i}}function xh(e){return fs(Ei(e)).left+bh(e).scrollLeft}function JO(e,t){var n=Rr(e),i=Ei(e),a=n.visualViewport,s=i.clientWidth,c=i.clientHeight,u=0,d=0;if(a){s=a.width,c=a.height;var f=KS();(f||!f&&t==="fixed")&&(u=a.offsetLeft,d=a.offsetTop)}return{width:s,height:c,x:u+xh(e),y:d}}function ZO(e){var t,n=Ei(e),i=bh(e),a=(t=e.ownerDocument)==null?void 0:t.body,s=ca(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),c=ca(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),u=-i.scrollLeft+xh(e),d=-i.scrollTop;return Vo(a||n).direction==="rtl"&&(u+=ca(n.clientWidth,a?a.clientWidth:0)-s),{width:s,height:c,x:u,y:d}}function Sh(e){var t=Vo(e),n=t.overflow,i=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+i)}function ZS(e){return["html","body","#document"].indexOf(xo(e))>=0?e.ownerDocument.body:zr(e)&&Sh(e)?e:ZS(tp(e))}function Nl(e,t){var n;t===void 0&&(t=[]);var i=ZS(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=Rr(i),c=a?[s].concat(s.visualViewport||[],Sh(i)?i:[]):i,u=t.concat(c);return a?u:u.concat(Nl(tp(c)))}function pg(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function eA(e,t){var n=fs(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Ib(e,t,n){return t===GS?pg(JO(e,n)):fa(t)?eA(t,n):pg(ZO(Ei(e)))}function tA(e){var t=Nl(tp(e)),n=["absolute","fixed"].indexOf(Vo(e).position)>=0,i=n&&zr(e)?fc(e):e;return fa(i)?t.filter(function(a){return fa(a)&&YS(a,i)&&xo(a)!=="body"}):[]}function nA(e,t,n,i){var a=t==="clippingParents"?tA(e):[].concat(t),s=[].concat(a,[n]),c=s[0],u=s.reduce(function(d,f){var m=Ib(e,f,i);return d.top=ca(m.top,d.top),d.right=kd(m.right,d.right),d.bottom=kd(m.bottom,d.bottom),d.left=ca(m.left,d.left),d},Ib(e,c,i));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function eC(e){var t=e.reference,n=e.element,i=e.placement,a=i?yo(i):null,s=i?ms(i):null,c=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,d;switch(a){case ur:d={x:c,y:t.y-n.height};break;case Hr:d={x:c,y:t.y+t.height};break;case Ur:d={x:t.x+t.width,y:u};break;case dr:d={x:t.x-n.width,y:u};break;default:d={x:t.x,y:t.y}}var f=a?yh(a):null;if(f!=null){var m=f==="y"?"height":"width";switch(s){case ds:d[f]=d[f]-(t[m]/2-n[m]/2);break;case Jl:d[f]=d[f]+(t[m]/2-n[m]/2);break}}return d}function Zl(e,t){t===void 0&&(t={});var n=t,i=n.placement,a=i===void 0?e.placement:i,s=n.strategy,c=s===void 0?e.strategy:s,u=n.boundary,d=u===void 0?CO:u,f=n.rootBoundary,m=f===void 0?GS:f,y=n.elementContext,x=y===void 0?cl:y,P=n.altBoundary,C=P===void 0?!1:P,b=n.padding,k=b===void 0?0:b,w=QS(typeof k!="number"?k:JS(k,pc)),T=x===cl?wO:cl,R=e.rects.popper,I=e.elements[C?T:x],O=nA(fa(I)?I:I.contextElement||Ei(e.elements.popper),d,m,c),j=fs(e.elements.reference),A=eC({reference:j,element:R,placement:a}),N=pg(Object.assign({},R,A)),$=x===cl?N:j,S={top:O.top-$.top+w.top,bottom:$.bottom-O.bottom+w.bottom,left:O.left-$.left+w.left,right:$.right-O.right+w.right},L=e.modifiersData.offset;if(x===cl&&L){var U=L[a];Object.keys(S).forEach(function(M){var D=[Ur,Hr].indexOf(M)>=0?1:-1,W=[ur,Hr].indexOf(M)>=0?"y":"x";S[M]+=U[W]*D})}return S}function rA(e,t){t===void 0&&(t={});var n=t,i=n.placement,a=n.boundary,s=n.rootBoundary,c=n.padding,u=n.flipVariations,d=n.allowedAutoPlacements,f=d===void 0?qS:d,m=ms(i),y=m?u?Rb:Rb.filter(function(C){return ms(C)===m}):pc,x=y.filter(function(C){return f.indexOf(C)>=0});x.length===0&&(x=y);var P=x.reduce(function(C,b){return C[b]=Zl(e,{placement:b,boundary:a,rootBoundary:s,padding:c})[yo(b)],C},{});return Object.keys(P).sort(function(C,b){return P[C]-P[b]})}function oA(e){if(yo(e)===gh)return[];var t=rd(e);return[Eb(e),t,Eb(t)]}function iA(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var a=n.mainAxis,s=a===void 0?!0:a,c=n.altAxis,u=c===void 0?!0:c,d=n.fallbackPlacements,f=n.padding,m=n.boundary,y=n.rootBoundary,x=n.altBoundary,P=n.flipVariations,C=P===void 0?!0:P,b=n.allowedAutoPlacements,k=t.options.placement,w=yo(k),T=w===k,R=d||(T||!C?[rd(k)]:oA(k)),I=[k].concat(R).reduce(function(te,K){return te.concat(yo(K)===gh?rA(t,{placement:K,boundary:m,rootBoundary:y,padding:f,flipVariations:C,allowedAutoPlacements:b}):K)},[]),O=t.rects.reference,j=t.rects.popper,A=new Map,N=!0,$=I[0],S=0;S<I.length;S++){var L=I[S],U=yo(L),M=ms(L)===ds,D=[ur,Hr].indexOf(U)>=0,W=D?"width":"height",H=Zl(t,{placement:L,boundary:m,rootBoundary:y,altBoundary:x,padding:f}),q=D?M?Ur:dr:M?Hr:ur;O[W]>j[W]&&(q=rd(q));var F=rd(q),_=[];if(s&&_.push(H[U]<=0),u&&_.push(H[q]<=0,H[F]<=0),_.every(function(te){return te})){$=L,N=!1;break}A.set(L,_)}if(N)for(var V=C?3:1,B=function(K){var J=I.find(function(Q){var ie=A.get(Q);if(ie)return ie.slice(0,K).every(function(se){return se})});if(J)return $=J,"break"},G=V;G>0;G--){var Z=B(G);if(Z==="break")break}t.placement!==$&&(t.modifiersData[i]._skip=!0,t.placement=$,t.reset=!0)}}const aA={name:"flip",enabled:!0,phase:"main",fn:iA,requiresIfExists:["offset"],data:{_skip:!1}};function $b(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Mb(e){return[ur,Ur,Hr,dr].some(function(t){return e[t]>=0})}function sA(e){var t=e.state,n=e.name,i=t.rects.reference,a=t.rects.popper,s=t.modifiersData.preventOverflow,c=Zl(t,{elementContext:"reference"}),u=Zl(t,{altBoundary:!0}),d=$b(c,i),f=$b(u,a,s),m=Mb(d),y=Mb(f);t.modifiersData[n]={referenceClippingOffsets:d,popperEscapeOffsets:f,isReferenceHidden:m,hasPopperEscaped:y},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":m,"data-popper-escaped":y})}const lA={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:sA};function cA(e,t,n){var i=yo(e),a=[dr,ur].indexOf(i)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,c=s[0],u=s[1];return c=c||0,u=(u||0)*a,[dr,Ur].indexOf(i)>=0?{x:u,y:c}:{x:c,y:u}}function uA(e){var t=e.state,n=e.options,i=e.name,a=n.offset,s=a===void 0?[0,0]:a,c=qS.reduce(function(m,y){return m[y]=cA(y,t.rects,s),m},{}),u=c[t.placement],d=u.x,f=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=d,t.modifiersData.popperOffsets.y+=f),t.modifiersData[i]=c}const dA={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:uA};function pA(e){var t=e.state,n=e.name;t.modifiersData[n]=eC({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const fA={name:"popperOffsets",enabled:!0,phase:"read",fn:pA,data:{}};function mA(e){return e==="x"?"y":"x"}function gA(e){var t=e.state,n=e.options,i=e.name,a=n.mainAxis,s=a===void 0?!0:a,c=n.altAxis,u=c===void 0?!1:c,d=n.boundary,f=n.rootBoundary,m=n.altBoundary,y=n.padding,x=n.tether,P=x===void 0?!0:x,C=n.tetherOffset,b=C===void 0?0:C,k=Zl(t,{boundary:d,rootBoundary:f,padding:y,altBoundary:m}),w=yo(t.placement),T=ms(t.placement),R=!T,I=yh(w),O=mA(I),j=t.modifiersData.popperOffsets,A=t.rects.reference,N=t.rects.popper,$=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,S=typeof $=="number"?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,U={x:0,y:0};if(j){if(s){var M,D=I==="y"?ur:dr,W=I==="y"?Hr:Ur,H=I==="y"?"height":"width",q=j[I],F=q+k[D],_=q-k[W],V=P?-N[H]/2:0,B=T===ds?A[H]:N[H],G=T===ds?-N[H]:-A[H],Z=t.elements.arrow,te=P&&Z?vh(Z):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:XS(),J=K[D],Q=K[W],ie=Ll(0,A[H],te[H]),se=R?A[H]/2-V-ie-J-S.mainAxis:B-ie-J-S.mainAxis,ue=R?-A[H]/2+V+ie+Q+S.mainAxis:G+ie+Q+S.mainAxis,ge=t.elements.arrow&&fc(t.elements.arrow),ce=ge?I==="y"?ge.clientTop||0:ge.clientLeft||0:0,he=(M=L==null?void 0:L[I])!=null?M:0,Se=q+se-he-ce,Ae=q+ue-he,He=Ll(P?kd(F,Se):F,q,P?ca(_,Ae):_);j[I]=He,U[I]=He-q}if(u){var fe,ve=I==="x"?ur:dr,Ne=I==="x"?Hr:Ur,Be=j[O],be=O==="y"?"height":"width",oe=Be+k[ve],Me=Be-k[Ne],Re=[ur,dr].indexOf(w)!==-1,pe=(fe=L==null?void 0:L[O])!=null?fe:0,ye=Re?oe:Be-A[be]-N[be]-pe+S.altAxis,De=Re?Be+A[be]+N[be]-pe-S.altAxis:Me,we=P&&Re?zO(ye,Be,De):Ll(P?ye:oe,Be,P?De:Me);j[O]=we,U[O]=we-Be}t.modifiersData[i]=U}}const hA={name:"preventOverflow",enabled:!0,phase:"main",fn:gA,requiresIfExists:["offset"]};function vA(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function yA(e){return e===Rr(e)||!zr(e)?bh(e):vA(e)}function bA(e){var t=e.getBoundingClientRect(),n=ps(t.width)/e.offsetWidth||1,i=ps(t.height)/e.offsetHeight||1;return n!==1||i!==1}function xA(e,t,n){n===void 0&&(n=!1);var i=zr(t),a=zr(t)&&bA(t),s=Ei(t),c=fs(e,a,n),u={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(i||!i&&!n)&&((xo(t)!=="body"||Sh(s))&&(u=yA(t)),zr(t)?(d=fs(t,!0),d.x+=t.clientLeft,d.y+=t.clientTop):s&&(d.x=xh(s))),{x:c.left+u.scrollLeft-d.x,y:c.top+u.scrollTop-d.y,width:c.width,height:c.height}}function SA(e){var t=new Map,n=new Set,i=[];e.forEach(function(s){t.set(s.name,s)});function a(s){n.add(s.name);var c=[].concat(s.requires||[],s.requiresIfExists||[]);c.forEach(function(u){if(!n.has(u)){var d=t.get(u);d&&a(d)}}),i.push(s)}return e.forEach(function(s){n.has(s.name)||a(s)}),i}function CA(e){var t=SA(e);return AO.reduce(function(n,i){return n.concat(t.filter(function(a){return a.phase===i}))},[])}function wA(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function kA(e){var t=e.reduce(function(n,i){var a=n[i.name];return n[i.name]=a?Object.assign({},a,i,{options:Object.assign({},a.options,i.options),data:Object.assign({},a.data,i.data)}):i,n},{});return Object.keys(t).map(function(n){return t[n]})}var Ob={placement:"bottom",modifiers:[],strategy:"absolute"};function Ab(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function RA(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,i=n===void 0?[]:n,a=t.defaultOptions,s=a===void 0?Ob:a;return function(u,d,f){f===void 0&&(f=s);var m={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ob,s),modifiersData:{},elements:{reference:u,popper:d},attributes:{},styles:{}},y=[],x=!1,P={state:m,setOptions:function(w){var T=typeof w=="function"?w(m.options):w;b(),m.options=Object.assign({},s,m.options,T),m.scrollParents={reference:fa(u)?Nl(u):u.contextElement?Nl(u.contextElement):[],popper:Nl(d)};var R=CA(kA([].concat(i,m.options.modifiers)));return m.orderedModifiers=R.filter(function(I){return I.enabled}),C(),P.update()},forceUpdate:function(){if(!x){var w=m.elements,T=w.reference,R=w.popper;if(Ab(T,R)){m.rects={reference:xA(T,fc(R),m.options.strategy==="fixed"),popper:vh(R)},m.reset=!1,m.placement=m.options.placement,m.orderedModifiers.forEach(function(S){return m.modifiersData[S.name]=Object.assign({},S.data)});for(var I=0;I<m.orderedModifiers.length;I++){if(m.reset===!0){m.reset=!1,I=-1;continue}var O=m.orderedModifiers[I],j=O.fn,A=O.options,N=A===void 0?{}:A,$=O.name;typeof j=="function"&&(m=j({state:m,options:N,name:$,instance:P})||m)}}}},update:wA(function(){return new Promise(function(k){P.forceUpdate(),k(m)})}),destroy:function(){b(),x=!0}};if(!Ab(u,d))return P;P.setOptions(f).then(function(k){!x&&f.onFirstUpdate&&f.onFirstUpdate(k)});function C(){m.orderedModifiers.forEach(function(k){var w=k.name,T=k.options,R=T===void 0?{}:T,I=k.effect;if(typeof I=="function"){var O=I({state:m,name:w,instance:P,options:R}),j=function(){};y.push(O||j)}})}function b(){y.forEach(function(k){return k()}),y=[]}return P}}var PA=[YO,fA,qO,NO,dA,aA,hA,HO,lA],TA=RA({defaultModifiers:PA});function EA(e){return typeof e=="function"?e():e}const Ch=h.forwardRef(function(t,n){const{children:i,container:a,disablePortal:s=!1}=t,[c,u]=h.useState(null),d=Lt(h.isValidElement(i)?qo(i):null,n);if(xn(()=>{s||u(EA(a)||document.body)},[a,s]),xn(()=>{if(c&&!s)return Gl(n,c),()=>{Gl(n,null)}},[n,c,s]),s){if(h.isValidElement(i)){const f={ref:d};return h.cloneElement(i,f)}return i}return c&&Yl.createPortal(i,c)});function tC(e){return Ee("MuiPopper",e)}Ie("MuiPopper",["root"]);function IA(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function fg(e){return typeof e=="function"?e():e}function $A(e){return e.nodeType!==void 0}const MA=e=>{const{classes:t}=e;return $e({root:["root"]},tC,t)},OA={},AA=h.forwardRef(function(t,n){const{anchorEl:i,children:a,direction:s,disablePortal:c,modifiers:u,open:d,placement:f,popperOptions:m,popperRef:y,slotProps:x={},slots:P={},TransitionProps:C,ownerState:b,...k}=t,w=h.useRef(null),T=Lt(w,n),R=h.useRef(null),I=Lt(R,y),O=h.useRef(I);xn(()=>{O.current=I},[I]),h.useImperativeHandle(y,()=>R.current,[]);const j=IA(f,s),[A,N]=h.useState(j),[$,S]=h.useState(fg(i));h.useEffect(()=>{R.current&&R.current.forceUpdate()}),h.useEffect(()=>{i&&S(fg(i))},[i]),xn(()=>{if(!$||!d)return;const W=F=>{N(F.placement)};let H=[{name:"preventOverflow",options:{altBoundary:c}},{name:"flip",options:{altBoundary:c}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:F})=>{W(F)}}];u!=null&&(H=H.concat(u)),m&&m.modifiers!=null&&(H=H.concat(m.modifiers));const q=TA($,w.current,{placement:j,...m,modifiers:H});return O.current(q),()=>{q.destroy(),O.current(null)}},[$,c,u,d,m,j]);const L={placement:A};C!==null&&(L.TransitionProps=C);const U=MA(t),M=P.root??"div",D=Yn({elementType:M,externalSlotProps:x.root,externalForwardedProps:k,additionalProps:{role:"tooltip",ref:T},ownerState:t,className:U.root});return g.jsx(M,{...D,children:typeof a=="function"?a(L):a})}),jA=h.forwardRef(function(t,n){const{anchorEl:i,children:a,container:s,direction:c="ltr",disablePortal:u=!1,keepMounted:d=!1,modifiers:f,open:m,placement:y="bottom",popperOptions:x=OA,popperRef:P,style:C,transition:b=!1,slotProps:k={},slots:w={},...T}=t,[R,I]=h.useState(!0),O=()=>{I(!1)},j=()=>{I(!0)};if(!d&&!m&&(!b||R))return null;let A;if(s)A=s;else if(i){const S=fg(i);A=S&&$A(S)?Kt(S).body:Kt(null).body}const N=!m&&d&&(!b||R)?"none":void 0,$=b?{in:m,onEnter:O,onExited:j}:void 0;return g.jsx(Ch,{disablePortal:u,container:A,children:g.jsx(AA,{anchorEl:i,direction:c,disablePortal:u,modifiers:f,ref:n,open:b?!R:m,placement:y,popperOptions:x,popperRef:P,slotProps:k,slots:w,...T,style:{position:"fixed",top:0,left:0,display:N,...C},TransitionProps:$,children:a})})}),LA=X(jA,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),mc=h.forwardRef(function(t,n){const i=oo(),a=Oe({props:t,name:"MuiPopper"}),{anchorEl:s,component:c,components:u,componentsProps:d,container:f,disablePortal:m,keepMounted:y,modifiers:x,open:P,placement:C,popperOptions:b,popperRef:k,transition:w,slots:T,slotProps:R,...I}=a,O=(T==null?void 0:T.root)??(u==null?void 0:u.Root),j={anchorEl:s,container:f,disablePortal:m,keepMounted:y,modifiers:x,open:P,placement:C,popperOptions:b,popperRef:k,transition:w,...I};return g.jsx(LA,{as:c,direction:i?"rtl":"ltr",slots:{root:O},slotProps:R??d,...j,ref:n})});function nC(e){return Ee("MuiListSubheader",e)}const NA=Ie("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]),BA=e=>{const{classes:t,color:n,disableGutters:i,inset:a,disableSticky:s}=e,c={root:["root",n!=="default"&&`color${ee(n)}`,!i&&"gutters",a&&"inset",!s&&"sticky"]};return $e(c,nC,t)},DA=X("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${ee(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(xe(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.inset,style:{paddingLeft:72}},{props:({ownerState:t})=>!t.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),Rd=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiListSubheader"}),{className:a,color:s="default",component:c="li",disableGutters:u=!1,disableSticky:d=!1,inset:f=!1,...m}=i,y={...i,color:s,component:c,disableGutters:u,disableSticky:d,inset:f},x=BA(y);return g.jsx(DA,{as:c,className:ae(x.root,a),ref:n,ownerState:y,...m})});Rd&&(Rd.muiSkipListHighlight=!0);const zA=xt(g.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function rC(e){return Ee("MuiChip",e)}const Tt=Ie("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),FA=e=>{const{classes:t,disabled:n,size:i,color:a,iconColor:s,onDelete:c,clickable:u,variant:d}=e,f={root:["root",d,n&&"disabled",`size${ee(i)}`,`color${ee(a)}`,u&&"clickable",u&&`clickableColor${ee(a)}`,c&&"deletable",c&&`deletableColor${ee(a)}`,`${d}${ee(a)}`],label:["label",`label${ee(i)}`],avatar:["avatar",`avatar${ee(i)}`,`avatarColor${ee(a)}`],icon:["icon",`icon${ee(i)}`,`iconColor${ee(s)}`],deleteIcon:["deleteIcon",`deleteIcon${ee(i)}`,`deleteIconColor${ee(a)}`,`deleteIcon${ee(d)}Color${ee(a)}`]};return $e(f,rC,t)},_A=X("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:i,iconColor:a,clickable:s,onDelete:c,size:u,variant:d}=n;return[{[`& .${Tt.avatar}`]:t.avatar},{[`& .${Tt.avatar}`]:t[`avatar${ee(u)}`]},{[`& .${Tt.avatar}`]:t[`avatarColor${ee(i)}`]},{[`& .${Tt.icon}`]:t.icon},{[`& .${Tt.icon}`]:t[`icon${ee(u)}`]},{[`& .${Tt.icon}`]:t[`iconColor${ee(a)}`]},{[`& .${Tt.deleteIcon}`]:t.deleteIcon},{[`& .${Tt.deleteIcon}`]:t[`deleteIcon${ee(u)}`]},{[`& .${Tt.deleteIcon}`]:t[`deleteIconColor${ee(i)}`]},{[`& .${Tt.deleteIcon}`]:t[`deleteIcon${ee(d)}Color${ee(i)}`]},t.root,t[`size${ee(u)}`],t[`color${ee(i)}`],s&&t.clickable,s&&i!=="default"&&t[`clickableColor${ee(i)})`],c&&t.deletable,c&&i!=="default"&&t[`deletableColor${ee(i)}`],t[d],t[`${d}${ee(i)}`]]}})(xe(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Tt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Tt.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${Tt.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Tt.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Tt.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Tt.icon}`]:{marginLeft:5,marginRight:-6},[`& .${Tt.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:Qe(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Qe(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${Tt.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${Tt.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(kt(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText,[`& .${Tt.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].contrastTextChannel} / 0.7)`:Qe(e.palette[n].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].contrastText}}}})),{props:n=>n.iconColor===n.color,style:{[`& .${Tt.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${Tt.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${Tt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Qe(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(kt(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${Tt.focusVisible}`]:{background:(e.vars||e).palette[n].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Qe(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${Tt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Qe(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(kt(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${Tt.focusVisible}`]:{backgroundColor:(e.vars||e).palette[n].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${Tt.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Tt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Tt.avatar}`]:{marginLeft:4},[`& .${Tt.avatarSmall}`]:{marginLeft:2},[`& .${Tt.icon}`]:{marginLeft:4},[`& .${Tt.iconSmall}`]:{marginLeft:2},[`& .${Tt.deleteIcon}`]:{marginRight:5},[`& .${Tt.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(kt()).map(([n])=>({props:{variant:"outlined",color:n},style:{color:(e.vars||e).palette[n].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:Qe(e.palette[n].main,.7)}`,[`&.${Tt.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(e.palette[n].main,e.palette.action.hoverOpacity)},[`&.${Tt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Qe(e.palette[n].main,e.palette.action.focusOpacity)},[`& .${Tt.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:Qe(e.palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),WA=X("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:i}=n;return[t.label,t[`label${ee(i)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function jb(e){return e.key==="Backspace"||e.key==="Delete"}const ma=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiChip"}),{avatar:a,className:s,clickable:c,color:u="default",component:d,deleteIcon:f,disabled:m=!1,icon:y,label:x,onClick:P,onDelete:C,onKeyDown:b,onKeyUp:k,size:w="medium",variant:T="filled",tabIndex:R,skipFocusWhenDisabled:I=!1,...O}=i,j=h.useRef(null),A=Lt(j,n),N=_=>{_.stopPropagation(),C&&C(_)},$=_=>{_.currentTarget===_.target&&jb(_)&&_.preventDefault(),b&&b(_)},S=_=>{_.currentTarget===_.target&&C&&jb(_)&&C(_),k&&k(_)},L=c!==!1&&P?!0:c,U=L||C?$n:d||"div",M={...i,component:U,disabled:m,size:w,color:u,iconColor:h.isValidElement(y)&&y.props.color||u,onDelete:!!C,clickable:L,variant:T},D=FA(M),W=U===$n?{component:d||"div",focusVisibleClassName:D.focusVisible,...C&&{disableRipple:!0}}:{};let H=null;C&&(H=f&&h.isValidElement(f)?h.cloneElement(f,{className:ae(f.props.className,D.deleteIcon),onClick:N}):g.jsx(zA,{className:ae(D.deleteIcon),onClick:N}));let q=null;a&&h.isValidElement(a)&&(q=h.cloneElement(a,{className:ae(D.avatar,a.props.className)}));let F=null;return y&&h.isValidElement(y)&&(F=h.cloneElement(y,{className:ae(D.icon,y.props.className)})),g.jsxs(_A,{as:U,className:ae(D.root,s),disabled:L&&m?!0:void 0,onClick:P,onKeyDown:$,onKeyUp:S,ref:A,tabIndex:I&&m?-1:R,ownerState:M,...W,...O,children:[q||F,g.jsx(WA,{className:ae(D.label),ownerState:M,children:x}),H]})});function ju(e){return parseInt(e,10)||0}const HA={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function UA(e){for(const t in e)return!1;return!0}function Lb(e){return UA(e)||e.outerHeightStyle===0&&!e.overflowing}const oC=h.forwardRef(function(t,n){const{onChange:i,maxRows:a,minRows:s=1,style:c,value:u,...d}=t,{current:f}=h.useRef(u!=null),m=h.useRef(null),y=Lt(n,m),x=h.useRef(null),P=h.useRef(null),C=h.useCallback(()=>{const R=m.current,I=P.current;if(!R||!I)return;const j=In(R).getComputedStyle(R);if(j.width==="0px")return{outerHeightStyle:0,overflowing:!1};I.style.width=j.width,I.value=R.value||t.placeholder||"x",I.value.slice(-1)===`
200
+ `&&(I.value+=" ");const A=j.boxSizing,N=ju(j.paddingBottom)+ju(j.paddingTop),$=ju(j.borderBottomWidth)+ju(j.borderTopWidth),S=I.scrollHeight;I.value="x";const L=I.scrollHeight;let U=S;s&&(U=Math.max(Number(s)*L,U)),a&&(U=Math.min(Number(a)*L,U)),U=Math.max(U,L);const M=U+(A==="border-box"?N+$:0),D=Math.abs(U-S)<=1;return{outerHeightStyle:M,overflowing:D}},[a,s,t.placeholder]),b=Yt(()=>{const R=m.current,I=C();if(!R||!I||Lb(I))return!1;const O=I.outerHeightStyle;return x.current!=null&&x.current!==O}),k=h.useCallback(()=>{const R=m.current,I=C();if(!R||!I||Lb(I))return;const O=I.outerHeightStyle;x.current!==O&&(x.current=O,R.style.height=`${O}px`),R.style.overflow=I.overflowing?"hidden":""},[C]),w=h.useRef(-1);xn(()=>{const R=ha(k),I=m==null?void 0:m.current;if(!I)return;const O=In(I);O.addEventListener("resize",R);let j;return typeof ResizeObserver<"u"&&(j=new ResizeObserver(()=>{b()&&(j.unobserve(I),cancelAnimationFrame(w.current),k(),w.current=requestAnimationFrame(()=>{j.observe(I)}))}),j.observe(I)),()=>{R.clear(),cancelAnimationFrame(w.current),O.removeEventListener("resize",R),j&&j.disconnect()}},[C,k,b]),xn(()=>{k()});const T=R=>{f||k(),i&&i(R)};return g.jsxs(h.Fragment,{children:[g.jsx("textarea",{value:u,onChange:T,ref:y,rows:s,style:c,...d}),g.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:P,tabIndex:-1,style:{...HA.shadow,...c,paddingTop:0,paddingBottom:0}})]})});function _o(e){return typeof e=="string"}function Ko({props:e,states:t,muiFormControl:n}){return t.reduce((i,a)=>(i[a]=e[a],n&&typeof e[a]>"u"&&(i[a]=n[a]),i),{})}const np=h.createContext(void 0);function Tr(){return h.useContext(np)}function Nb(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Pd(e,t=!1){return e&&(Nb(e.value)&&e.value!==""||t&&Nb(e.defaultValue)&&e.defaultValue!=="")}function VA(e){return e.startAdornment}function iC(e){return Ee("MuiInputBase",e)}const ar=Ie("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var Bb;const rp=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${ee(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},op=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},GA=e=>{const{classes:t,color:n,disabled:i,error:a,endAdornment:s,focused:c,formControl:u,fullWidth:d,hiddenLabel:f,multiline:m,readOnly:y,size:x,startAdornment:P,type:C}=e,b={root:["root",`color${ee(n)}`,i&&"disabled",a&&"error",d&&"fullWidth",c&&"focused",u&&"formControl",x&&x!=="medium"&&`size${ee(x)}`,m&&"multiline",P&&"adornedStart",s&&"adornedEnd",f&&"hiddenLabel",y&&"readOnly"],input:["input",i&&"disabled",C==="search"&&"inputTypeSearch",m&&"inputMultiline",x==="small"&&"inputSizeSmall",f&&"inputHiddenLabel",P&&"inputAdornedStart",s&&"inputAdornedEnd",y&&"readOnly"]};return $e(b,iC,t)},ip=X("div",{name:"MuiInputBase",slot:"Root",overridesResolver:rp})(xe(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${ar.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:n})=>t.multiline&&n==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),ap=X("input",{name:"MuiInputBase",slot:"Input",overridesResolver:op})(xe(({theme:e})=>{const t=e.palette.mode==="light",n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},i={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${ar.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${ar.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:s})=>!s.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:s})=>s.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),Db=dh({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),gc=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiInputBase"}),{"aria-describedby":a,autoComplete:s,autoFocus:c,className:u,color:d,components:f={},componentsProps:m={},defaultValue:y,disabled:x,disableInjectingGlobalStyles:P,endAdornment:C,error:b,fullWidth:k=!1,id:w,inputComponent:T="input",inputProps:R={},inputRef:I,margin:O,maxRows:j,minRows:A,multiline:N=!1,name:$,onBlur:S,onChange:L,onClick:U,onFocus:M,onKeyDown:D,onKeyUp:W,placeholder:H,readOnly:q,renderSuffix:F,rows:_,size:V,slotProps:B={},slots:G={},startAdornment:Z,type:te="text",value:K,...J}=i,Q=R.value!=null?R.value:K,{current:ie}=h.useRef(Q!=null),se=h.useRef(),ue=h.useCallback(Fe=>{},[]),ge=Lt(se,I,R.ref,ue),[ce,he]=h.useState(!1),Se=Tr(),Ae=Ko({props:i,muiFormControl:Se,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Ae.focused=Se?Se.focused:ce,h.useEffect(()=>{!Se&&x&&ce&&(he(!1),S&&S())},[Se,x,ce,S]);const He=Se&&Se.onFilled,fe=Se&&Se.onEmpty,ve=h.useCallback(Fe=>{Pd(Fe)?He&&He():fe&&fe()},[He,fe]);xn(()=>{ie&&ve({value:Q})},[Q,ve,ie]);const Ne=Fe=>{M&&M(Fe),R.onFocus&&R.onFocus(Fe),Se&&Se.onFocus?Se.onFocus(Fe):he(!0)},Be=Fe=>{S&&S(Fe),R.onBlur&&R.onBlur(Fe),Se&&Se.onBlur?Se.onBlur(Fe):he(!1)},be=(Fe,...ot)=>{if(!ie){const Ke=Fe.target||se.current;if(Ke==null)throw new Error(pr(1));ve({value:Ke.value})}R.onChange&&R.onChange(Fe,...ot),L&&L(Fe,...ot)};h.useEffect(()=>{ve(se.current)},[]);const oe=Fe=>{se.current&&Fe.currentTarget===Fe.target&&se.current.focus(),U&&U(Fe)};let Me=T,Re=R;N&&Me==="input"&&(_?Re={type:void 0,minRows:_,maxRows:_,...Re}:Re={type:void 0,maxRows:j,minRows:A,...Re},Me=oC);const pe=Fe=>{ve(Fe.animationName==="mui-auto-fill-cancel"?se.current:{value:"x"})};h.useEffect(()=>{Se&&Se.setAdornedStart(!!Z)},[Se,Z]);const ye={...i,color:Ae.color||"primary",disabled:Ae.disabled,endAdornment:C,error:Ae.error,focused:Ae.focused,formControl:Se,fullWidth:k,hiddenLabel:Ae.hiddenLabel,multiline:N,size:Ae.size,startAdornment:Z,type:te},De=GA(ye),we=G.root||f.Root||ip,je=B.root||m.root||{},Pe=G.input||f.Input||ap;return Re={...Re,...B.input??m.input},g.jsxs(h.Fragment,{children:[!P&&typeof Db=="function"&&(Bb||(Bb=g.jsx(Db,{}))),g.jsxs(we,{...je,ref:n,onClick:oe,...J,...!_o(we)&&{ownerState:{...ye,...je.ownerState}},className:ae(De.root,je.className,u,q&&"MuiInputBase-readOnly"),children:[Z,g.jsx(np.Provider,{value:null,children:g.jsx(Pe,{"aria-invalid":Ae.error,"aria-describedby":a,autoComplete:s,autoFocus:c,defaultValue:y,disabled:Ae.disabled,id:w,onAnimationStart:pe,name:$,placeholder:H,readOnly:q,required:Ae.required,rows:_,value:Q,onKeyDown:D,onKeyUp:W,type:te,...Re,...!_o(Pe)&&{as:Me,ownerState:{...ye,...Re.ownerState}},ref:ge,className:ae(De.input,Re.className,q&&"MuiInputBase-readOnly"),onBlur:Be,onChange:be,onFocus:Ne})}),C,F?F({...Ae,startAdornment:Z}):null]})]})});function aC(e){return Ee("MuiInput",e)}const Bo={...ar,...Ie("MuiInput",["root","underline","input"])};function sC(e){return Ee("MuiOutlinedInput",e)}const xr={...ar,...Ie("MuiOutlinedInput",["root","notchedOutline","input"])};function lC(e){return Ee("MuiFilledInput",e)}const sr={...ar,...Ie("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},wh=xt(g.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function cC(e){return Ee("MuiAutocomplete",e)}const St=Ie("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var zb,Fb;const qA=e=>{const{classes:t,disablePortal:n,expanded:i,focused:a,fullWidth:s,hasClearIcon:c,hasPopupIcon:u,inputFocused:d,popupOpen:f,size:m}=e,y={root:["root",i&&"expanded",a&&"focused",s&&"fullWidth",c&&"hasClearIcon",u&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",d&&"inputFocused"],tag:["tag",`tagSize${ee(m)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",f&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return $e(y,cC,t)},KA=X("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:i,hasClearIcon:a,hasPopupIcon:s,inputFocused:c,size:u}=n;return[{[`& .${St.tag}`]:t.tag},{[`& .${St.tag}`]:t[`tagSize${ee(u)}`]},{[`& .${St.inputRoot}`]:t.inputRoot},{[`& .${St.input}`]:t.input},{[`& .${St.input}`]:c&&t.inputFocused},t.root,i&&t.fullWidth,s&&t.hasPopupIcon,a&&t.hasClearIcon]}})({[`&.${St.focused} .${St.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${St.clearIndicator}`]:{visibility:"visible"}},[`& .${St.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${St.inputRoot}`]:{[`.${St.hasPopupIcon}&, .${St.hasClearIcon}&`]:{paddingRight:30},[`.${St.hasPopupIcon}.${St.hasClearIcon}&`]:{paddingRight:56},[`& .${St.input}`]:{width:0,minWidth:30}},[`& .${Bo.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${Bo.root}.${ar.sizeSmall}`]:{[`& .${Bo.input}`]:{padding:"2px 4px 3px 0"}},[`& .${xr.root}`]:{padding:9,[`.${St.hasPopupIcon}&, .${St.hasClearIcon}&`]:{paddingRight:39},[`.${St.hasPopupIcon}.${St.hasClearIcon}&`]:{paddingRight:65},[`& .${St.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${St.endAdornment}`]:{right:9}},[`& .${xr.root}.${ar.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${St.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${sr.root}`]:{paddingTop:19,paddingLeft:8,[`.${St.hasPopupIcon}&, .${St.hasClearIcon}&`]:{paddingRight:39},[`.${St.hasPopupIcon}.${St.hasClearIcon}&`]:{paddingRight:65},[`& .${sr.input}`]:{padding:"7px 4px"},[`& .${St.endAdornment}`]:{right:9}},[`& .${sr.root}.${ar.sizeSmall}`]:{paddingBottom:1,[`& .${sr.input}`]:{padding:"2.5px 4px"}},[`& .${ar.hiddenLabel}`]:{paddingTop:8},[`& .${sr.root}.${ar.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${St.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${sr.root}.${ar.hiddenLabel}.${ar.sizeSmall}`]:{[`& .${St.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${St.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${St.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${St.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${St.inputRoot}`]:{flexWrap:"wrap"}}}]}),YA=X("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),XA=X(lr,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),QA=X(lr,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popupIndicator,n.popupOpen&&t.popupIndicatorOpen]}})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),JA=X(mc,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${St.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(xe(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),ZA=X(Gn,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(xe(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),e5=X("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(xe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),t5=X("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(xe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),n5=X("ul",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(xe(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${St.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${St.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${St.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${St.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${St.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),r5=X(Rd,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(xe(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),o5=X("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${St.option}`]:{paddingLeft:24}}),uC=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiAutocomplete"}),{autoComplete:a=!1,autoHighlight:s=!1,autoSelect:c=!1,blurOnSelect:u=!1,ChipProps:d,className:f,clearIcon:m=zb||(zb=g.jsx(FS,{fontSize:"small"})),clearOnBlur:y=!i.freeSolo,clearOnEscape:x=!1,clearText:P="Clear",closeText:C="Close",componentsProps:b,defaultValue:k=i.multiple?[]:null,disableClearable:w=!1,disableCloseOnSelect:T=!1,disabled:R=!1,disabledItemsFocusable:I=!1,disableListWrap:O=!1,disablePortal:j=!1,filterOptions:A,filterSelectedOptions:N=!1,forcePopupIcon:$="auto",freeSolo:S=!1,fullWidth:L=!1,getLimitTagsText:U=It=>`+${It}`,getOptionDisabled:M,getOptionKey:D,getOptionLabel:W,isOptionEqualToValue:H,groupBy:q,handleHomeEndKeys:F=!i.freeSolo,id:_,includeInputInList:V=!1,inputValue:B,limitTags:G=-1,ListboxComponent:Z,ListboxProps:te,loading:K=!1,loadingText:J="Loading…",multiple:Q=!1,noOptionsText:ie="No options",onChange:se,onClose:ue,onHighlightChange:ge,onInputChange:ce,onOpen:he,open:Se,openOnFocus:Ae=!1,openText:He="Open",options:fe,PaperComponent:ve,PopperComponent:Ne,popupIcon:Be=Fb||(Fb=g.jsx(wh,{})),readOnly:be=!1,renderGroup:oe,renderInput:Me,renderOption:Re,renderTags:pe,selectOnFocus:ye=!i.freeSolo,size:De="medium",slots:we={},slotProps:je={},value:Pe,...Fe}=i,{getRootProps:ot,getInputProps:Ke,getInputLabelProps:ht,getPopupIndicatorProps:Ve,getClearProps:it,getTagProps:Et,getListboxProps:Ht,getOptionProps:an,value:Jt,dirty:gn,expanded:ft,id:Mt,popupOpen:sn,focused:Mn,focusedTag:ln,anchorEl:at,setAnchorEl:cn,inputValue:Ge,groupedOptions:qe}=VS({...i,componentName:"Autocomplete"}),mt=!w&&!R&&gn&&!be,pt=(!S||$===!0)&&$!==!1,{onMouseDown:Ot}=Ke(),{ref:vt,...tt}=Ht(),yt=W||(It=>It.label??It),ut={...i,disablePortal:j,expanded:ft,focused:Mn,fullWidth:L,getOptionLabel:yt,hasClearIcon:mt,hasPopupIcon:pt,inputFocused:ln===-1,popupOpen:sn,size:De},Nt=qA(ut),nn={slots:{paper:ve,popper:Ne,...we},slotProps:{chip:d,listbox:te,...b,...je}},[Rt,Te]=Le("listbox",{elementType:n5,externalForwardedProps:nn,ownerState:ut,className:Nt.listbox,additionalProps:tt,ref:vt}),[Ce,Xe]=Le("paper",{elementType:Gn,externalForwardedProps:nn,ownerState:ut,className:Nt.paper}),[gt,wt]=Le("popper",{elementType:mc,externalForwardedProps:nn,ownerState:ut,className:Nt.popper,additionalProps:{disablePortal:j,style:{width:at?at.clientWidth:null},role:"presentation",anchorEl:at,open:sn}});let Ft;if(Q&&Jt.length>0){const It=Er=>({className:Nt.tag,disabled:R,...Et(Er)});pe?Ft=pe(Jt,It,ut):Ft=Jt.map((Er,qr)=>{const{key:io,...Ir}=It({index:qr});return g.jsx(ma,{label:yt(Er),size:De,...Ir,...nn.slotProps.chip},io)})}if(G>-1&&Array.isArray(Ft)){const It=Ft.length-G;!Mn&&It>0&&(Ft=Ft.splice(0,G),Ft.push(g.jsx("span",{className:Nt.tag,children:U(It)},Ft.length)))}const Zn=oe||(It=>g.jsxs("li",{children:[g.jsx(r5,{className:Nt.groupLabel,ownerState:ut,component:"div",children:It.group}),g.jsx(o5,{className:Nt.groupUl,ownerState:ut,children:It.children})]},It.key)),dn=Re||((It,Er)=>{const{key:qr,...io}=It;return g.jsx("li",{...io,children:yt(Er)},qr)}),wc=(It,Er)=>{const qr=an({option:It,index:Er});return dn({...qr,className:Nt.option},It,{selected:qr["aria-selected"],index:Er,inputValue:Ge},ut)},Yo=nn.slotProps.clearIndicator,Mi=nn.slotProps.popupIndicator;return g.jsxs(h.Fragment,{children:[g.jsx(KA,{ref:n,className:ae(Nt.root,f),ownerState:ut,...ot(Fe),children:Me({id:Mt,disabled:R,fullWidth:!0,size:De==="small"?"small":void 0,InputLabelProps:ht(),InputProps:{ref:cn,className:Nt.inputRoot,startAdornment:Ft,onMouseDown:It=>{It.target===It.currentTarget&&Ot(It)},...(mt||pt)&&{endAdornment:g.jsxs(YA,{className:Nt.endAdornment,ownerState:ut,children:[mt?g.jsx(XA,{...it(),"aria-label":P,title:P,ownerState:ut,...Yo,className:ae(Nt.clearIndicator,Yo==null?void 0:Yo.className),children:m}):null,pt?g.jsx(QA,{...Ve(),disabled:R,"aria-label":sn?C:He,title:sn?C:He,ownerState:ut,...Mi,className:ae(Nt.popupIndicator,Mi==null?void 0:Mi.className),children:Be}):null]})}},inputProps:{className:Nt.input,disabled:R,readOnly:be,...Ke()}})}),at?g.jsx(JA,{as:gt,...wt,children:g.jsxs(ZA,{as:Ce,...Xe,children:[K&&qe.length===0?g.jsx(e5,{className:Nt.loading,ownerState:ut,children:J}):null,qe.length===0&&!S&&!K?g.jsx(t5,{className:Nt.noOptions,ownerState:ut,role:"presentation",onMouseDown:It=>{It.preventDefault()},children:ie}):null,qe.length>0?g.jsx(Rt,{as:Z,...Te,children:qe.map((It,Er)=>q?Zn({key:It.key,group:It.group,children:It.options.map((qr,io)=>wc(qr,It.index+io))}):wc(It,Er))}):null]})}):null]})}),i5=xt(g.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function dC(e){return Ee("MuiAvatar",e)}const pC=Ie("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]),a5=e=>{const{classes:t,variant:n,colorDefault:i}=e;return $e({root:["root",n,i&&"colorDefault"],img:["img"],fallback:["fallback"]},dC,t)},s5=X("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(xe(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(e.vars||e).palette.background.default,...e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.grey[400],...e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})}}}]}))),l5=X("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),c5=X(i5,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function u5({crossOrigin:e,referrerPolicy:t,src:n,srcSet:i}){const[a,s]=h.useState(!1);return h.useEffect(()=>{if(!n&&!i)return;s(!1);let c=!0;const u=new Image;return u.onload=()=>{c&&s("loaded")},u.onerror=()=>{c&&s("error")},u.crossOrigin=e,u.referrerPolicy=t,u.src=n,i&&(u.srcset=i),()=>{c=!1}},[e,t,n,i]),a}const fC=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiAvatar"}),{alt:a,children:s,className:c,component:u="div",slots:d={},slotProps:f={},imgProps:m,sizes:y,src:x,srcSet:P,variant:C="circular",...b}=i;let k=null;const w={...i,component:u,variant:C},T=u5({...m,...typeof f.img=="function"?f.img(w):f.img,src:x,srcSet:P}),R=x||P,I=R&&T!=="error";w.colorDefault=!I,delete w.ownerState;const O=a5(w),[j,A]=Le("img",{className:O.img,elementType:l5,externalForwardedProps:{slots:d,slotProps:{img:{...m,...f.img}}},additionalProps:{alt:a,src:x,srcSet:P,sizes:y},ownerState:w});return I?k=g.jsx(j,{...A}):s||s===0?k=s:R&&a?k=a[0]:k=g.jsx(c5,{ownerState:w,className:O.fallback}),g.jsx(s5,{as:u,className:ae(O.root,c),ref:n,...b,ownerState:w,children:k})});function mC(e){return Ee("MuiAvatarGroup",e)}const gC=Ie("MuiAvatarGroup",["root","avatar"]),hm={small:-16,medium:-8},d5=e=>{const{classes:t}=e;return $e({root:["root"],avatar:["avatar"]},mC,t)},p5=X("div",{name:"MuiAvatarGroup",slot:"Root",overridesResolver:(e,t)=>[{[`& .${gC.avatar}`]:t.avatar},t.root]})(xe(({theme:e})=>({display:"flex",flexDirection:"row-reverse",[`& .${pC.root}`]:{border:`2px solid ${(e.vars||e).palette.background.default}`,boxSizing:"content-box",marginLeft:"var(--AvatarGroup-spacing, -8px)","&:last-child":{marginLeft:0}}}))),f5=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiAvatarGroup"}),{children:a,className:s,component:c="div",componentsProps:u,max:d=5,renderSurplus:f,slotProps:m={},slots:y={},spacing:x="medium",total:P,variant:C="circular",...b}=i;let k=d<2?2:d;const w={...i,max:d,spacing:x,component:c,variant:C},T=d5(w),R=h.Children.toArray(a).filter(U=>h.isValidElement(U)),I=P||R.length;I===k&&(k+=1),k=Math.min(I+1,k);const O=Math.min(R.length,k-1),j=Math.max(I-k,I-O,0),A=f?f(j):`+${j}`;let N;w.spacing&&hm[w.spacing]!==void 0?N=hm[w.spacing]:w.spacing===0?N=0:N=-w.spacing||hm.medium;const $={slots:y,slotProps:{surplus:m.additionalAvatar??(u==null?void 0:u.additionalAvatar),...u,...m}},[S,L]=Le("surplus",{elementType:fC,externalForwardedProps:$,className:T.avatar,ownerState:w,additionalProps:{variant:C}});return g.jsxs(p5,{as:c,ownerState:w,className:ae(T.root,s),ref:n,...b,style:{"--AvatarGroup-spacing":`${N}px`,...b.style},children:[j?g.jsx(S,{...L,children:A}):null,R.slice(0,O).reverse().map(U=>h.cloneElement(U,{className:ae(U.props.className,T.avatar),variant:U.props.variant||C}))]})}),m5={entering:{opacity:1},entered:{opacity:1}},Td=h.forwardRef(function(t,n){const i=Cn(),a={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{addEndListener:s,appear:c=!0,children:u,easing:d,in:f,onEnter:m,onEntered:y,onEntering:x,onExit:P,onExited:C,onExiting:b,style:k,timeout:w=a,TransitionComponent:T=Pr,...R}=t,I=h.useRef(null),O=Lt(I,qo(u),n),j=D=>W=>{if(D){const H=I.current;W===void 0?D(H):D(H,W)}},A=j(x),N=j((D,W)=>{ep(D);const H=ro({style:k,timeout:w,easing:d},{mode:"enter"});D.style.webkitTransition=i.transitions.create("opacity",H),D.style.transition=i.transitions.create("opacity",H),m&&m(D,W)}),$=j(y),S=j(b),L=j(D=>{const W=ro({style:k,timeout:w,easing:d},{mode:"exit"});D.style.webkitTransition=i.transitions.create("opacity",W),D.style.transition=i.transitions.create("opacity",W),P&&P(D)}),U=j(C),M=D=>{s&&s(I.current,D)};return g.jsx(T,{appear:c,in:f,nodeRef:I,onEnter:N,onEntered:$,onEntering:A,onExit:L,onExited:U,onExiting:S,addEndListener:M,timeout:w,...R,children:(D,{ownerState:W,...H})=>h.cloneElement(u,{style:{opacity:0,visibility:D==="exited"&&!f?"hidden":void 0,...m5[D],...k,...u.props.style},ref:O,...H})})});function hC(e){return Ee("MuiBackdrop",e)}const g5=Ie("MuiBackdrop",["root","invisible"]),h5=e=>{const{classes:t,invisible:n}=e;return $e({root:["root",n&&"invisible"]},hC,t)},v5=X("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),kh=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiBackdrop"}),{children:a,className:s,component:c="div",invisible:u=!1,open:d,components:f={},componentsProps:m={},slotProps:y={},slots:x={},TransitionComponent:P,transitionDuration:C,...b}=i,k={...i,component:c,invisible:u},w=h5(k),T={transition:P,root:f.Root,...x},R={...m,...y},I={slots:T,slotProps:R},[O,j]=Le("root",{elementType:v5,externalForwardedProps:I,className:ae(w.root,s),ownerState:k}),[A,N]=Le("transition",{elementType:Td,externalForwardedProps:I,ownerState:k});return g.jsx(A,{in:d,timeout:C,...b,...N,children:g.jsx(O,{"aria-hidden":!0,...j,classes:w,ref:n,children:a})})});function y5(e){const{badgeContent:t,invisible:n=!1,max:i=99,showZero:a=!1}=e,s=Jg({badgeContent:t,max:i});let c=n;n===!1&&t===0&&!a&&(c=!0);const{badgeContent:u,max:d=i}=c?s:e,f=u&&Number(u)>d?`${d}+`:u;return{badgeContent:u,invisible:c,max:d,displayValue:f}}function vC(e){return Ee("MuiBadge",e)}const No=Ie("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),vm=10,ym=4,b5=e=>{const{color:t,anchorOrigin:n,invisible:i,overlap:a,variant:s,classes:c={}}=e,u={root:["root"],badge:["badge",s,i&&"invisible",`anchorOrigin${ee(n.vertical)}${ee(n.horizontal)}`,`anchorOrigin${ee(n.vertical)}${ee(n.horizontal)}${ee(a)}`,`overlap${ee(a)}`,t!=="default"&&`color${ee(t)}`]};return $e(u,vC,c)},x5=X("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),S5=X("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${ee(n.anchorOrigin.vertical)}${ee(n.anchorOrigin.horizontal)}${ee(n.overlap)}`],n.color!=="default"&&t[`color${ee(n.color)}`],n.invisible&&t.invisible]}})(xe(({theme:e})=>({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:vm*2,lineHeight:1,padding:"0 6px",height:vm*2,borderRadius:vm,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen}),variants:[...Object.entries(e.palette).filter(kt(["contrastText"])).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText}})),{props:{variant:"dot"},style:{borderRadius:ym,height:ym*2,minWidth:ym*2,padding:0}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="rectangular",style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${No.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="rectangular",style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${No.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="rectangular",style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${No.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="rectangular",style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${No.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="circular",style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${No.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="circular",style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${No.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="circular",style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${No.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="circular",style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${No.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}]})));function _b(e){return{vertical:(e==null?void 0:e.vertical)??"top",horizontal:(e==null?void 0:e.horizontal)??"right"}}const C5=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiBadge"}),{anchorOrigin:a,className:s,classes:c,component:u,components:d={},componentsProps:f={},children:m,overlap:y="rectangular",color:x="default",invisible:P=!1,max:C=99,badgeContent:b,slots:k,slotProps:w,showZero:T=!1,variant:R="standard",...I}=i,{badgeContent:O,invisible:j,max:A,displayValue:N}=y5({max:C,invisible:P,badgeContent:b,showZero:T}),$=Jg({anchorOrigin:_b(a),color:x,overlap:y,variant:R,badgeContent:b}),S=j||O==null&&R!=="dot",{color:L=x,overlap:U=y,anchorOrigin:M,variant:D=R}=S?$:i,W=_b(M),H=D!=="dot"?N:void 0,q={...i,badgeContent:O,invisible:S,max:A,displayValue:H,showZero:T,anchorOrigin:W,color:L,overlap:U,variant:D},F=b5(q),_={slots:{root:(k==null?void 0:k.root)??d.Root,badge:(k==null?void 0:k.badge)??d.Badge},slotProps:{root:(w==null?void 0:w.root)??f.root,badge:(w==null?void 0:w.badge)??f.badge}},[V,B]=Le("root",{elementType:x5,externalForwardedProps:{..._,...I},ownerState:q,className:ae(F.root,s),ref:n,additionalProps:{as:u}}),[G,Z]=Le("badge",{elementType:S5,externalForwardedProps:_,ownerState:q,className:F.badge});return g.jsxs(V,{...B,children:[m,g.jsx(G,{...Z,children:H})]})});function yC(e){return Ee("MuiBottomNavigation",e)}const w5=Ie("MuiBottomNavigation",["root"]),k5=e=>{const{classes:t}=e;return $e({root:["root"]},yC,t)},R5=X("div",{name:"MuiBottomNavigation",slot:"Root",overridesResolver:(e,t)=>t.root})(xe(({theme:e})=>({display:"flex",justifyContent:"center",height:56,backgroundColor:(e.vars||e).palette.background.paper}))),P5=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiBottomNavigation"}),{children:a,className:s,component:c="div",onChange:u,showLabels:d=!1,value:f,...m}=i,y={...i,component:c,showLabels:d},x=k5(y);return g.jsx(R5,{as:c,className:ae(x.root,s),ref:n,ownerState:y,...m,children:h.Children.map(a,(P,C)=>{if(!h.isValidElement(P))return null;const b=P.props.value===void 0?C:P.props.value;return h.cloneElement(P,{selected:b===f,showLabel:P.props.showLabel!==void 0?P.props.showLabel:d,value:b,onChange:u})})})});function bC(e){return Ee("MuiBottomNavigationAction",e)}const Rh=Ie("MuiBottomNavigationAction",["root","iconOnly","selected","label"]),T5=e=>{const{classes:t,showLabel:n,selected:i}=e;return $e({root:["root",!n&&!i&&"iconOnly",i&&"selected"],label:["label",!n&&!i&&"iconOnly",i&&"selected"]},bC,t)},E5=X($n,{name:"MuiBottomNavigationAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.showLabel&&!n.selected&&t.iconOnly]}})(xe(({theme:e})=>({transition:e.transitions.create(["color","padding-top"],{duration:e.transitions.duration.short}),padding:"0px 12px",minWidth:80,maxWidth:168,color:(e.vars||e).palette.text.secondary,flexDirection:"column",flex:"1",[`&.${Rh.selected}`]:{color:(e.vars||e).palette.primary.main},variants:[{props:({showLabel:t,selected:n})=>!t&&!n,style:{paddingTop:14}},{props:({showLabel:t,selected:n,label:i})=>!t&&!n&&!i,style:{paddingTop:0}}]}))),I5=X("span",{name:"MuiBottomNavigationAction",slot:"Label",overridesResolver:(e,t)=>t.label})(xe(({theme:e})=>({fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(12),opacity:1,transition:"font-size 0.2s, opacity 0.2s",transitionDelay:"0.1s",[`&.${Rh.selected}`]:{fontSize:e.typography.pxToRem(14)},variants:[{props:({showLabel:t,selected:n})=>!t&&!n,style:{opacity:0,transitionDelay:"0s"}}]}))),$5=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiBottomNavigationAction"}),{className:a,icon:s,label:c,onChange:u,onClick:d,selected:f,showLabel:m,value:y,slots:x={},slotProps:P={},...C}=i,b=i,k=T5(b),w=A=>{u&&u(A,y),d&&d(A)},T={slots:x,slotProps:P},[R,I]=Le("root",{elementType:E5,externalForwardedProps:{...T,...C},shouldForwardComponentProp:!0,ownerState:b,ref:n,className:ae(k.root,a),additionalProps:{focusRipple:!0},getSlotProps:A=>({...A,onClick:N=>{var $;($=A.onClick)==null||$.call(A,N),w(N)}})}),[O,j]=Le("label",{elementType:I5,externalForwardedProps:T,ownerState:b,className:k.label});return g.jsxs(R,{...I,children:[s,g.jsx(O,{...j,children:c})]})}),xC=Ie("MuiBox",["root"]),M5=Co(),$t=tI({themeId:cr,defaultTheme:M5,defaultClassName:xC.root,generateClassName:Gg.generate}),O5=xt(g.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz"),A5=X($n,{name:"MuiBreadcrumbCollapsed"})(xe(({theme:e})=>({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`,...e.palette.mode==="light"?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},borderRadius:2,"&:hover, &:focus":{...e.palette.mode==="light"?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}},"&:active":{boxShadow:e.shadows[0],...e.palette.mode==="light"?{backgroundColor:pa(e.palette.grey[200],.12)}:{backgroundColor:pa(e.palette.grey[600],.12)}}}))),j5=X(O5)({width:24,height:16});function L5(e){const{slots:t={},slotProps:n={},...i}=e,a=e;return g.jsx("li",{children:g.jsx(A5,{focusRipple:!0,...i,ownerState:a,children:g.jsx(j5,{as:t.CollapsedIcon,ownerState:a,...n.collapsedIcon})})})}function SC(e){return Ee("MuiBreadcrumbs",e)}const CC=Ie("MuiBreadcrumbs",["root","ol","li","separator"]),N5=e=>{const{classes:t}=e;return $e({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},SC,t)},B5=X(zt,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{[`& .${CC.li}`]:t.li},t.root]})({}),D5=X("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),z5=X("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function F5(e,t,n,i){return e.reduce((a,s,c)=>(c<e.length-1?a=a.concat(s,g.jsx(z5,{"aria-hidden":!0,className:t,ownerState:i,children:n},`separator-${c}`)):a.push(s),a),[])}const _5=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiBreadcrumbs"}),{children:a,className:s,component:c="nav",slots:u={},slotProps:d={},expandText:f="Show path",itemsAfterCollapse:m=1,itemsBeforeCollapse:y=1,maxItems:x=8,separator:P="/",...C}=i,[b,k]=h.useState(!1),w={...i,component:c,expanded:b,expandText:f,itemsAfterCollapse:m,itemsBeforeCollapse:y,maxItems:x,separator:P},T=N5(w),R=Yn({elementType:u.CollapsedIcon,externalSlotProps:d.collapsedIcon,ownerState:w}),I=h.useRef(null),O=A=>{const N=()=>{k(!0);const $=I.current.querySelector("a[href],button,[tabindex]");$&&$.focus()};return y+m>=A.length?A:[...A.slice(0,y),g.jsx(L5,{"aria-label":f,slots:{CollapsedIcon:u.CollapsedIcon},slotProps:{collapsedIcon:R},onClick:N},"ellipsis"),...A.slice(A.length-m,A.length)]},j=h.Children.toArray(a).filter(A=>h.isValidElement(A)).map((A,N)=>g.jsx("li",{className:T.li,children:A},`child-${N}`));return g.jsx(B5,{ref:n,component:c,color:"textSecondary",className:ae(T.root,s),ownerState:w,...C,children:g.jsx(D5,{className:T.ol,ref:I,ownerState:w,children:F5(b||x&&j.length<=x?j:O(j),T.separator,P,w)})})});function wC(e){return Ee("MuiButton",e)}const vi=Ie("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),Ph=h.createContext({}),Th=h.createContext(void 0),W5=e=>{const{color:t,disableElevation:n,fullWidth:i,size:a,variant:s,loading:c,loadingPosition:u,classes:d}=e,f={root:["root",c&&"loading",s,`${s}${ee(t)}`,`size${ee(a)}`,`${s}Size${ee(a)}`,`color${ee(t)}`,n&&"disableElevation",i&&"fullWidth",c&&`loadingPosition${ee(u)}`],startIcon:["icon","startIcon",`iconSize${ee(a)}`],endIcon:["icon","endIcon",`iconSize${ee(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},m=$e(f,wC,d);return{...d,...m}},kC=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],H5=X($n,{shouldForwardProp:e=>wn(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ee(n.color)}`],t[`size${ee(n.size)}`],t[`${n.variant}Size${ee(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(xe(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${vi.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${vi.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${vi.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${vi.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(kt()).map(([i])=>({props:{color:i},style:{"--variant-textColor":(e.vars||e).palette[i].main,"--variant-outlinedColor":(e.vars||e).palette[i].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[i].mainChannel} / 0.5)`:Qe(e.palette[i].main,.5),"--variant-containedColor":(e.vars||e).palette[i].contrastText,"--variant-containedBg":(e.vars||e).palette[i].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[i].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[i].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(e.palette[i].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[i].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[i].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(e.palette[i].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${vi.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${vi.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${vi.loading}`]:{color:"transparent"}}}]}})),U5=X("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${ee(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...kC]})),V5=X("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${ee(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...kC]})),G5=X("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),Wb=X("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(e,t)=>t.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),Wo=h.forwardRef(function(t,n){const i=h.useContext(Ph),a=h.useContext(Th),s=us(i,t),c=Oe({props:s,name:"MuiButton"}),{children:u,color:d="primary",component:f="button",className:m,disabled:y=!1,disableElevation:x=!1,disableFocusRipple:P=!1,endIcon:C,focusVisibleClassName:b,fullWidth:k=!1,id:w,loading:T=null,loadingIndicator:R,loadingPosition:I="center",size:O="medium",startIcon:j,type:A,variant:N="text",...$}=c,S=Jn(w),L=R??g.jsx(Xl,{"aria-labelledby":S,color:"inherit",size:16}),U={...c,color:d,component:f,disabled:y,disableElevation:x,disableFocusRipple:P,fullWidth:k,loading:T,loadingIndicator:L,loadingPosition:I,size:O,type:A,variant:N},M=W5(U),D=(j||T&&I==="start")&&g.jsx(U5,{className:M.startIcon,ownerState:U,children:j||g.jsx(Wb,{className:M.loadingIconPlaceholder,ownerState:U})}),W=(C||T&&I==="end")&&g.jsx(V5,{className:M.endIcon,ownerState:U,children:C||g.jsx(Wb,{className:M.loadingIconPlaceholder,ownerState:U})}),H=a||"",q=typeof T=="boolean"?g.jsx("span",{className:M.loadingWrapper,style:{display:"contents"},children:T&&g.jsx(G5,{className:M.loadingIndicator,ownerState:U,children:L})}):null;return g.jsxs(H5,{ownerState:U,className:ae(i.className,M.root,m,H),component:f,disabled:y||T,focusRipple:!P,focusVisibleClassName:ae(M.focusVisible,b),ref:n,type:A,id:T?S:w,...$,classes:M,children:[D,I!=="end"&&q,u,I==="end"&&q,W]})});function RC(e){return Ee("MuiButtonGroup",e)}const bt=Ie("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","firstButton","fullWidth","horizontal","vertical","colorPrimary","colorSecondary","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary","lastButton","middleButton"]),q5=(e,t)=>{const{ownerState:n}=e;return[{[`& .${bt.grouped}`]:t.grouped},{[`& .${bt.grouped}`]:t[`grouped${ee(n.orientation)}`]},{[`& .${bt.grouped}`]:t[`grouped${ee(n.variant)}`]},{[`& .${bt.grouped}`]:t[`grouped${ee(n.variant)}${ee(n.orientation)}`]},{[`& .${bt.grouped}`]:t[`grouped${ee(n.variant)}${ee(n.color)}`]},{[`& .${bt.firstButton}`]:t.firstButton},{[`& .${bt.lastButton}`]:t.lastButton},{[`& .${bt.middleButton}`]:t.middleButton},t.root,t[n.variant],n.disableElevation===!0&&t.disableElevation,n.fullWidth&&t.fullWidth,n.orientation==="vertical"&&t.vertical]},K5=e=>{const{classes:t,color:n,disabled:i,disableElevation:a,fullWidth:s,orientation:c,variant:u}=e,d={root:["root",u,c,s&&"fullWidth",a&&"disableElevation",`color${ee(n)}`],grouped:["grouped",`grouped${ee(c)}`,`grouped${ee(u)}`,`grouped${ee(u)}${ee(c)}`,`grouped${ee(u)}${ee(n)}`,i&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return $e(d,RC,t)},Y5=X("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:q5})(xe(({theme:e})=>({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius,variants:[{props:{variant:"contained"},style:{boxShadow:(e.vars||e).shadows[2]}},{props:{disableElevation:!0},style:{boxShadow:"none"}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${bt.lastButton},& .${bt.middleButton}`]:{borderTopRightRadius:0,borderTopLeftRadius:0},[`& .${bt.firstButton},& .${bt.middleButton}`]:{borderBottomRightRadius:0,borderBottomLeftRadius:0}}},{props:{orientation:"horizontal"},style:{[`& .${bt.firstButton},& .${bt.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${bt.lastButton},& .${bt.middleButton}`]:{borderTopLeftRadius:0,borderBottomLeftRadius:0}}},{props:{variant:"text",orientation:"horizontal"},style:{[`& .${bt.firstButton},& .${bt.middleButton}`]:{borderRight:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:`1px solid ${e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${bt.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},{props:{variant:"text",orientation:"vertical"},style:{[`& .${bt.firstButton},& .${bt.middleButton}`]:{borderBottom:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:`1px solid ${e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${bt.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},...Object.entries(e.palette).filter(kt()).flatMap(([t])=>[{props:{variant:"text",color:t},style:{[`& .${bt.firstButton},& .${bt.middleButton}`]:{borderColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.5)`:Qe(e.palette[t].main,.5)}}}]),{props:{variant:"outlined",orientation:"horizontal"},style:{[`& .${bt.firstButton},& .${bt.middleButton}`]:{borderRightColor:"transparent","&:hover":{borderRightColor:"currentColor"}},[`& .${bt.lastButton},& .${bt.middleButton}`]:{marginLeft:-1}}},{props:{variant:"outlined",orientation:"vertical"},style:{[`& .${bt.firstButton},& .${bt.middleButton}`]:{borderBottomColor:"transparent","&:hover":{borderBottomColor:"currentColor"}},[`& .${bt.lastButton},& .${bt.middleButton}`]:{marginTop:-1}}},{props:{variant:"contained",orientation:"horizontal"},style:{[`& .${bt.firstButton},& .${bt.middleButton}`]:{borderRight:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${bt.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},{props:{variant:"contained",orientation:"vertical"},style:{[`& .${bt.firstButton},& .${bt.middleButton}`]:{borderBottom:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${bt.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},...Object.entries(e.palette).filter(kt(["dark"])).map(([t])=>({props:{variant:"contained",color:t},style:{[`& .${bt.firstButton},& .${bt.middleButton}`]:{borderColor:(e.vars||e).palette[t].dark}}}))],[`& .${bt.grouped}`]:{minWidth:40,boxShadow:"none",props:{variant:"contained"},style:{"&:hover":{boxShadow:"none"}}}}))),X5=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiButtonGroup"}),{children:a,className:s,color:c="primary",component:u="div",disabled:d=!1,disableElevation:f=!1,disableFocusRipple:m=!1,disableRipple:y=!1,fullWidth:x=!1,orientation:P="horizontal",size:C="medium",variant:b="outlined",...k}=i,w={...i,color:c,component:u,disabled:d,disableElevation:f,disableFocusRipple:m,disableRipple:y,fullWidth:x,orientation:P,size:C,variant:b},T=K5(w),R=h.useMemo(()=>({className:T.grouped,color:c,disabled:d,disableElevation:f,disableFocusRipple:m,disableRipple:y,fullWidth:x,size:C,variant:b}),[c,d,f,m,y,x,C,b,T.grouped]),I=K1(a),O=I.length,j=A=>{const N=A===0,$=A===O-1;return N&&$?"":N?T.firstButton:$?T.lastButton:T.middleButton};return g.jsx(Y5,{as:u,role:"group",className:ae(T.root,s),ref:n,ownerState:w,...k,children:g.jsx(Ph.Provider,{value:R,children:I.map((A,N)=>g.jsx(Th.Provider,{value:j(N),children:A},N))})})});function PC(e){return Ee("MuiCard",e)}const Q5=Ie("MuiCard",["root"]),J5=e=>{const{classes:t}=e;return $e({root:["root"]},PC,t)},Z5=X(Gn,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})({overflow:"hidden"}),ej=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiCard"}),{className:a,raised:s=!1,...c}=i,u={...i,raised:s},d=J5(u);return g.jsx(Z5,{className:ae(d.root,a),elevation:s?8:void 0,ref:n,ownerState:u,...c})});function TC(e){return Ee("MuiCardActionArea",e)}const od=Ie("MuiCardActionArea",["root","focusVisible","focusHighlight"]),tj=e=>{const{classes:t}=e;return $e({root:["root"],focusHighlight:["focusHighlight"]},TC,t)},nj=X($n,{name:"MuiCardActionArea",slot:"Root",overridesResolver:(e,t)=>t.root})(xe(({theme:e})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${od.focusHighlight}`]:{opacity:(e.vars||e).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${od.focusVisible} .${od.focusHighlight}`]:{opacity:(e.vars||e).palette.action.focusOpacity}}))),rj=X("span",{name:"MuiCardActionArea",slot:"FocusHighlight",overridesResolver:(e,t)=>t.focusHighlight})(xe(({theme:e})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})}))),oj=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiCardActionArea"}),{children:a,className:s,focusVisibleClassName:c,slots:u={},slotProps:d={},...f}=i,m=i,y=tj(m),x={slots:u,slotProps:d},[P,C]=Le("root",{elementType:nj,externalForwardedProps:{...x,...f},shouldForwardComponentProp:!0,ownerState:m,ref:n,className:ae(y.root,s),additionalProps:{focusVisibleClassName:ae(c,y.focusVisible)}}),[b,k]=Le("focusHighlight",{elementType:rj,externalForwardedProps:x,ownerState:m,ref:n,className:y.focusHighlight});return g.jsxs(P,{...C,children:[a,g.jsx(b,{...k})]})});function EC(e){return Ee("MuiCardActions",e)}const ij=Ie("MuiCardActions",["root","spacing"]),aj=e=>{const{classes:t,disableSpacing:n}=e;return $e({root:["root",!n&&"spacing"]},EC,t)},sj=X("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,variants:[{props:{disableSpacing:!1},style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),lj=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiCardActions"}),{disableSpacing:a=!1,className:s,...c}=i,u={...i,disableSpacing:a},d=aj(u);return g.jsx(sj,{className:ae(d.root,s),ownerState:u,ref:n,...c})});function IC(e){return Ee("MuiCardContent",e)}const cj=Ie("MuiCardContent",["root"]),uj=e=>{const{classes:t}=e;return $e({root:["root"]},IC,t)},dj=X("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),pj=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiCardContent"}),{className:a,component:s="div",...c}=i,u={...i,component:s},d=uj(u);return g.jsx(dj,{as:s,className:ae(d.root,a),ownerState:u,ref:n,...c})});function $C(e){return Ee("MuiCardHeader",e)}const ec=Ie("MuiCardHeader",["root","avatar","action","content","title","subheader"]),fj=e=>{const{classes:t}=e;return $e({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},$C,t)},mj=X("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,t)=>[{[`& .${ec.title}`]:t.title},{[`& .${ec.subheader}`]:t.subheader},t.root]})({display:"flex",alignItems:"center",padding:16}),gj=X("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(e,t)=>t.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),hj=X("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(e,t)=>t.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),vj=X("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(e,t)=>t.content})({flex:"1 1 auto",[`.${Ql.root}:where(& .${ec.title})`]:{display:"block"},[`.${Ql.root}:where(& .${ec.subheader})`]:{display:"block"}}),yj=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiCardHeader"}),{action:a,avatar:s,component:c="div",disableTypography:u=!1,subheader:d,subheaderTypographyProps:f,title:m,titleTypographyProps:y,slots:x={},slotProps:P={},...C}=i,b={...i,component:c,disableTypography:u},k=fj(b),w={slots:x,slotProps:{title:y,subheader:f,...P}};let T=m;const[R,I]=Le("title",{className:k.title,elementType:zt,externalForwardedProps:w,ownerState:b,additionalProps:{variant:s?"body2":"h5",component:"span"}});T!=null&&T.type!==zt&&!u&&(T=g.jsx(R,{...I,children:T}));let O=d;const[j,A]=Le("subheader",{className:k.subheader,elementType:zt,externalForwardedProps:w,ownerState:b,additionalProps:{variant:s?"body2":"body1",color:"textSecondary",component:"span"}});O!=null&&O.type!==zt&&!u&&(O=g.jsx(j,{...A,children:O}));const[N,$]=Le("root",{ref:n,className:k.root,elementType:mj,externalForwardedProps:{...w,...C,component:c},ownerState:b}),[S,L]=Le("avatar",{className:k.avatar,elementType:gj,externalForwardedProps:w,ownerState:b}),[U,M]=Le("content",{className:k.content,elementType:vj,externalForwardedProps:w,ownerState:b}),[D,W]=Le("action",{className:k.action,elementType:hj,externalForwardedProps:w,ownerState:b});return g.jsxs(N,{...$,children:[s&&g.jsx(S,{...L,children:s}),g.jsxs(U,{...M,children:[T,O]}),a&&g.jsx(D,{...W,children:a})]})});function MC(e){return Ee("MuiCardMedia",e)}const bj=Ie("MuiCardMedia",["root","media","img"]),xj=e=>{const{classes:t,isMediaComponent:n,isImageComponent:i}=e;return $e({root:["root",n&&"media",i&&"img"]},MC,t)},Sj=X("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{isMediaComponent:i,isImageComponent:a}=n;return[t.root,i&&t.media,a&&t.img]}})({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",variants:[{props:{isMediaComponent:!0},style:{width:"100%"}},{props:{isImageComponent:!0},style:{objectFit:"cover"}}]}),Cj=["video","audio","picture","iframe","img"],wj=["picture","img"],kj=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiCardMedia"}),{children:a,className:s,component:c="div",image:u,src:d,style:f,...m}=i,y=Cj.includes(c),x=!y&&u?{backgroundImage:`url("${u}")`,...f}:f,P={...i,component:c,isMediaComponent:y,isImageComponent:wj.includes(c)},C=xj(P);return g.jsx(Sj,{className:ae(C.root,s),as:c,role:!y&&u?"img":void 0,ref:n,style:x,ownerState:P,src:y?u||d:void 0,...m,children:a})});function Rj(e){return Ee("PrivateSwitchBase",e)}Ie("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const Pj=e=>{const{classes:t,checked:n,disabled:i,edge:a}=e,s={root:["root",n&&"checked",i&&"disabled",a&&`edge${ee(a)}`],input:["input"]};return $e(s,Rj,t)},Tj=X($n,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),Ej=X("input",{name:"MuiSwitchBase",shouldForwardProp:wn})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Eh=h.forwardRef(function(t,n){const{autoFocus:i,checked:a,checkedIcon:s,defaultChecked:c,disabled:u,disableFocusRipple:d=!1,edge:f=!1,icon:m,id:y,inputProps:x,inputRef:P,name:C,onBlur:b,onChange:k,onFocus:w,readOnly:T,required:R=!1,tabIndex:I,type:O,value:j,slots:A={},slotProps:N={},...$}=t,[S,L]=Qn({controlled:a,default:!!c,name:"SwitchBase",state:"checked"}),U=Tr(),M=K=>{w&&w(K),U&&U.onFocus&&U.onFocus(K)},D=K=>{b&&b(K),U&&U.onBlur&&U.onBlur(K)},W=K=>{if(K.nativeEvent.defaultPrevented)return;const J=K.target.checked;L(J),k&&k(K,J)};let H=u;U&&typeof H>"u"&&(H=U.disabled);const q=O==="checkbox"||O==="radio",F={...t,checked:S,disabled:H,disableFocusRipple:d,edge:f},_=Pj(F),V={slots:A,slotProps:{input:x,...N}},[B,G]=Le("root",{ref:n,elementType:Tj,className:_.root,shouldForwardComponentProp:!0,externalForwardedProps:{...V,component:"span",...$},getSlotProps:K=>({...K,onFocus:J=>{var Q;(Q=K.onFocus)==null||Q.call(K,J),M(J)},onBlur:J=>{var Q;(Q=K.onBlur)==null||Q.call(K,J),D(J)}}),ownerState:F,additionalProps:{centerRipple:!0,focusRipple:!d,disabled:H,role:void 0,tabIndex:null}}),[Z,te]=Le("input",{ref:P,elementType:Ej,className:_.input,externalForwardedProps:V,getSlotProps:K=>({onChange:J=>{var Q;(Q=K.onChange)==null||Q.call(K,J),W(J)}}),ownerState:F,additionalProps:{autoFocus:i,checked:a,defaultChecked:c,disabled:H,id:q?y:void 0,name:C,readOnly:T,required:R,tabIndex:I,type:O,...O==="checkbox"&&j===void 0?{}:{value:j}}});return g.jsxs(B,{...G,children:[g.jsx(Z,{...te}),S?s:m]})}),Ij=xt(g.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),$j=xt(g.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),Mj=xt(g.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function OC(e){return Ee("MuiCheckbox",e)}const id=Ie("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),Oj=e=>{const{classes:t,indeterminate:n,color:i,size:a}=e,s={root:["root",n&&"indeterminate",`color${ee(i)}`,`size${ee(a)}`]},c=$e(s,OC,t);return{...t,...c}},Aj=X(Eh,{shouldForwardProp:e=>wn(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${ee(n.size)}`],n.color!=="default"&&t[`color${ee(n.color)}`]]}})(xe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(kt()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(kt()).map(([t])=>({props:{color:t},style:{[`&.${id.checked}, &.${id.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${id.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),jj=g.jsx($j,{}),Lj=g.jsx(Ij,{}),Nj=g.jsx(Mj,{}),tc=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiCheckbox"}),{checkedIcon:a=jj,color:s="primary",icon:c=Lj,indeterminate:u=!1,indeterminateIcon:d=Nj,inputProps:f,size:m="medium",disableRipple:y=!1,className:x,slots:P={},slotProps:C={},...b}=i,k=u?d:c,w=u?d:a,T={...i,disableRipple:y,color:s,indeterminate:u,size:m},R=Oj(T),I=C.input??f,[O,j]=Le("root",{ref:n,elementType:Aj,className:ae(R.root,x),shouldForwardComponentProp:!0,externalForwardedProps:{slots:P,slotProps:C,...b},ownerState:T,additionalProps:{type:"checkbox",icon:h.cloneElement(k,{fontSize:k.props.fontSize??m}),checkedIcon:h.cloneElement(w,{fontSize:w.props.fontSize??m}),disableRipple:y,slots:P,slotProps:{input:Ti(typeof I=="function"?I(T):I,{"data-indeterminate":u})}}});return g.jsx(O,{...j,classes:R})});function Hb(e){return e.substring(2).toLowerCase()}function Bj(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}function AC(e){const{children:t,disableReactTree:n=!1,mouseEvent:i="onClick",onClickAway:a,touchEvent:s="onTouchEnd"}=e,c=h.useRef(!1),u=h.useRef(null),d=h.useRef(!1),f=h.useRef(!1);h.useEffect(()=>(setTimeout(()=>{d.current=!0},0),()=>{d.current=!1}),[]);const m=Lt(qo(t),u),y=Yt(C=>{const b=f.current;f.current=!1;const k=Kt(u.current);if(!d.current||!u.current||"clientX"in C&&Bj(C,k))return;if(c.current){c.current=!1;return}let w;C.composedPath?w=C.composedPath().includes(u.current):w=!k.documentElement.contains(C.target)||u.current.contains(C.target),!w&&(n||!b)&&a(C)}),x=C=>b=>{f.current=!0;const k=t.props[C];k&&k(b)},P={ref:m};return s!==!1&&(P[s]=x(s)),h.useEffect(()=>{if(s!==!1){const C=Hb(s),b=Kt(u.current),k=()=>{c.current=!0};return b.addEventListener(C,y),b.addEventListener("touchmove",k),()=>{b.removeEventListener(C,y),b.removeEventListener("touchmove",k)}}},[y,s]),i!==!1&&(P[i]=x(i)),h.useEffect(()=>{if(i!==!1){const C=Hb(i),b=Kt(u.current);return b.addEventListener(C,y),()=>{b.removeEventListener(C,y)}}},[y,i]),h.cloneElement(t,P)}const Dj=qI({createStyledComponent:X("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${ee(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>Oe({props:e,name:"MuiContainer"})});function zj(e){return Ee("MuiContainer",e)}const Fj=Ie("MuiContainer",["root","disableGutters","fixed","maxWidthXs","maxWidthSm","maxWidthMd","maxWidthLg","maxWidthXl"]),mg=typeof dh({})=="function",jC=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),LC=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),NC=(e,t=!1)=>{var s,c;const n={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([u,d])=>{var m,y;const f=e.getColorSchemeSelector(u);f.startsWith("@")?n[f]={":root":{colorScheme:(m=d.palette)==null?void 0:m.mode}}:n[f.replace(/\s*&/,"")]={colorScheme:(y=d.palette)==null?void 0:y.mode}});let i={html:jC(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...LC(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...n};const a=(c=(s=e.components)==null?void 0:s.MuiCssBaseline)==null?void 0:c.styleOverrides;return a&&(i=[i,a]),i},ad="mui-ecs",_j=e=>{const t=NC(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${ad})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([i,a])=>{var c,u;const s=e.getColorSchemeSelector(i);s.startsWith("@")?n[s]={[`:root:not(:has(.${ad}))`]:{colorScheme:(c=a.palette)==null?void 0:c.mode}}:n[s.replace(/\s*&/,"")]={[`&:not(:has(.${ad}))`]:{colorScheme:(u=a.palette)==null?void 0:u.mode}}}),t},Wj=dh(mg?({theme:e,enableColorScheme:t})=>NC(e,t):({theme:e})=>_j(e));function Hj(e){const t=Oe({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:i=!1}=t;return g.jsxs(h.Fragment,{children:[mg&&g.jsx(Wj,{enableColorScheme:i}),!mg&&!i&&g.jsx("span",{className:ad,style:{display:"none"}}),n]})}const Uj={track:"#2b2b2b",thumb:"#6b6b6b",active:"#959595"};function Vj(e=Uj){return{scrollbarColor:`${e.thumb} ${e.track}`,"&::-webkit-scrollbar, & *::-webkit-scrollbar":{backgroundColor:e.track},"&::-webkit-scrollbar-thumb, & *::-webkit-scrollbar-thumb":{borderRadius:8,backgroundColor:e.thumb,minHeight:24,border:`3px solid ${e.track}`},"&::-webkit-scrollbar-thumb:focus, & *::-webkit-scrollbar-thumb:focus":{backgroundColor:e.active},"&::-webkit-scrollbar-thumb:active, & *::-webkit-scrollbar-thumb:active":{backgroundColor:e.active},"&::-webkit-scrollbar-thumb:hover, & *::-webkit-scrollbar-thumb:hover":{backgroundColor:e.active},"&::-webkit-scrollbar-corner, & *::-webkit-scrollbar-corner":{backgroundColor:e.track}}}function Gj(e){const t=Kt(e);return t.body===e?In(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Bl(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Ub(e){return parseInt(In(e).getComputedStyle(e).paddingRight,10)||0}function qj(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),i=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||i}function Vb(e,t,n,i,a){const s=[t,n,...i];[].forEach.call(e.children,c=>{const u=!s.includes(c),d=!qj(c);u&&d&&Bl(c,a)})}function bm(e,t){let n=-1;return e.some((i,a)=>t(i)?(n=a,!0):!1),n}function Kj(e,t){const n=[],i=e.container;if(!t.disableScrollLock){if(Gj(i)){const c=q1(In(i));n.push({value:i.style.paddingRight,property:"padding-right",el:i}),i.style.paddingRight=`${Ub(i)+c}px`;const u=Kt(i).querySelectorAll(".mui-fixed");[].forEach.call(u,d=>{n.push({value:d.style.paddingRight,property:"padding-right",el:d}),d.style.paddingRight=`${Ub(d)+c}px`})}let s;if(i.parentNode instanceof DocumentFragment)s=Kt(i).body;else{const c=i.parentElement,u=In(i);s=(c==null?void 0:c.nodeName)==="HTML"&&u.getComputedStyle(c).overflowY==="scroll"?c:i}n.push({value:s.style.overflow,property:"overflow",el:s},{value:s.style.overflowX,property:"overflow-x",el:s},{value:s.style.overflowY,property:"overflow-y",el:s}),s.style.overflow="hidden"}return()=>{n.forEach(({value:s,el:c,property:u})=>{s?c.style.setProperty(u,s):c.style.removeProperty(u)})}}function Yj(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class BC{constructor(){this.modals=[],this.containers=[]}add(t,n){let i=this.modals.indexOf(t);if(i!==-1)return i;i=this.modals.length,this.modals.push(t),t.modalRef&&Bl(t.modalRef,!1);const a=Yj(n);Vb(n,t.mount,t.modalRef,a,!0);const s=bm(this.containers,c=>c.container===n);return s!==-1?(this.containers[s].modals.push(t),i):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:a}),i)}mount(t,n){const i=bm(this.containers,s=>s.modals.includes(t)),a=this.containers[i];a.restore||(a.restore=Kj(a,n))}remove(t,n=!0){const i=this.modals.indexOf(t);if(i===-1)return i;const a=bm(this.containers,c=>c.modals.includes(t)),s=this.containers[a];if(s.modals.splice(s.modals.indexOf(t),1),this.modals.splice(i,1),s.modals.length===0)s.restore&&s.restore(),t.modalRef&&Bl(t.modalRef,n),Vb(s.container,t.mount,t.modalRef,s.hiddenSiblings,!1),this.containers.splice(a,1);else{const c=s.modals[s.modals.length-1];c.modalRef&&Bl(c.modalRef,!1)}return i}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const Xj=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Qj(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function Jj(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=i=>e.ownerDocument.querySelector(`input[type="radio"]${i}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function Zj(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Jj(e))}function eL(e){const t=[],n=[];return Array.from(e.querySelectorAll(Xj)).forEach((i,a)=>{const s=Qj(i);s===-1||!Zj(i)||(s===0?t.push(i):n.push({documentOrder:a,tabIndex:s,node:i}))}),n.sort((i,a)=>i.tabIndex===a.tabIndex?i.documentOrder-a.documentOrder:i.tabIndex-a.tabIndex).map(i=>i.node).concat(t)}function tL(){return!0}function DC(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:i=!1,disableRestoreFocus:a=!1,getTabbable:s=eL,isEnabled:c=tL,open:u}=e,d=h.useRef(!1),f=h.useRef(null),m=h.useRef(null),y=h.useRef(null),x=h.useRef(null),P=h.useRef(!1),C=h.useRef(null),b=Lt(qo(t),C),k=h.useRef(null);h.useEffect(()=>{!u||!C.current||(P.current=!n)},[n,u]),h.useEffect(()=>{if(!u||!C.current)return;const R=Kt(C.current);return C.current.contains(R.activeElement)||(C.current.hasAttribute("tabIndex")||C.current.setAttribute("tabIndex","-1"),P.current&&C.current.focus()),()=>{a||(y.current&&y.current.focus&&(d.current=!0,y.current.focus()),y.current=null)}},[u]),h.useEffect(()=>{if(!u||!C.current)return;const R=Kt(C.current),I=A=>{k.current=A,!(i||!c()||A.key!=="Tab")&&R.activeElement===C.current&&A.shiftKey&&(d.current=!0,m.current&&m.current.focus())},O=()=>{var $,S;const A=C.current;if(A===null)return;if(!R.hasFocus()||!c()||d.current){d.current=!1;return}if(A.contains(R.activeElement)||i&&R.activeElement!==f.current&&R.activeElement!==m.current)return;if(R.activeElement!==x.current)x.current=null;else if(x.current!==null)return;if(!P.current)return;let N=[];if((R.activeElement===f.current||R.activeElement===m.current)&&(N=s(C.current)),N.length>0){const L=!!(($=k.current)!=null&&$.shiftKey&&((S=k.current)==null?void 0:S.key)==="Tab"),U=N[0],M=N[N.length-1];typeof U!="string"&&typeof M!="string"&&(L?M.focus():U.focus())}else A.focus()};R.addEventListener("focusin",O),R.addEventListener("keydown",I,!0);const j=setInterval(()=>{R.activeElement&&R.activeElement.tagName==="BODY"&&O()},50);return()=>{clearInterval(j),R.removeEventListener("focusin",O),R.removeEventListener("keydown",I,!0)}},[n,i,a,c,u,s]);const w=R=>{y.current===null&&(y.current=R.relatedTarget),P.current=!0,x.current=R.target;const I=t.props.onFocus;I&&I(R)},T=R=>{y.current===null&&(y.current=R.relatedTarget),P.current=!0};return g.jsxs(h.Fragment,{children:[g.jsx("div",{tabIndex:u?0:-1,onFocus:T,ref:f,"data-testid":"sentinelStart"}),h.cloneElement(t,{ref:b,onFocus:w}),g.jsx("div",{tabIndex:u?0:-1,onFocus:T,ref:m,"data-testid":"sentinelEnd"})]})}function nL(e){return typeof e=="function"?e():e}function rL(e){return e?e.props.hasOwnProperty("in"):!1}const Gb=()=>{},Lu=new BC;function oL(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:i=!1,closeAfterTransition:a=!1,onTransitionEnter:s,onTransitionExited:c,children:u,onClose:d,open:f,rootRef:m}=e,y=h.useRef({}),x=h.useRef(null),P=h.useRef(null),C=Lt(P,m),[b,k]=h.useState(!f),w=rL(u);let T=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(T=!1);const R=()=>Kt(x.current),I=()=>(y.current.modalRef=P.current,y.current.mount=x.current,y.current),O=()=>{Lu.mount(I(),{disableScrollLock:i}),P.current&&(P.current.scrollTop=0)},j=Yt(()=>{const W=nL(t)||R().body;Lu.add(I(),W),P.current&&O()}),A=()=>Lu.isTopModal(I()),N=Yt(W=>{x.current=W,W&&(f&&A()?O():P.current&&Bl(P.current,T))}),$=h.useCallback(()=>{Lu.remove(I(),T)},[T]);h.useEffect(()=>()=>{$()},[$]),h.useEffect(()=>{f?j():(!w||!a)&&$()},[f,$,w,a,j]);const S=W=>H=>{var q;(q=W.onKeyDown)==null||q.call(W,H),!(H.key!=="Escape"||H.which===229||!A())&&(n||(H.stopPropagation(),d&&d(H,"escapeKeyDown")))},L=W=>H=>{var q;(q=W.onClick)==null||q.call(W,H),H.target===H.currentTarget&&d&&d(H,"backdropClick")};return{getRootProps:(W={})=>{const H=la(e);delete H.onTransitionEnter,delete H.onTransitionExited;const q={...H,...W};return{role:"presentation",...q,onKeyDown:S(q),ref:C}},getBackdropProps:(W={})=>{const H=W;return{"aria-hidden":!0,...H,onClick:L(H),open:f}},getTransitionProps:()=>{const W=()=>{k(!1),s&&s()},H=()=>{k(!0),c&&c(),a&&$()};return{onEnter:Vl(W,(u==null?void 0:u.props.onEnter)??Gb),onExited:Vl(H,(u==null?void 0:u.props.onExited)??Gb)}},rootRef:C,portalRef:N,isTopModal:A,exited:b,hasTransition:w}}function zC(e){return Ee("MuiModal",e)}const iL=Ie("MuiModal",["root","hidden","backdrop"]),aL=e=>{const{open:t,exited:n,classes:i}=e;return $e({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},zC,i)},sL=X("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(xe(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),lL=X(kh,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),sp=h.forwardRef(function(t,n){const i=Oe({name:"MuiModal",props:t}),{BackdropComponent:a=lL,BackdropProps:s,classes:c,className:u,closeAfterTransition:d=!1,children:f,container:m,component:y,components:x={},componentsProps:P={},disableAutoFocus:C=!1,disableEnforceFocus:b=!1,disableEscapeKeyDown:k=!1,disablePortal:w=!1,disableRestoreFocus:T=!1,disableScrollLock:R=!1,hideBackdrop:I=!1,keepMounted:O=!1,onBackdropClick:j,onClose:A,onTransitionEnter:N,onTransitionExited:$,open:S,slotProps:L={},slots:U={},theme:M,...D}=i,W={...i,closeAfterTransition:d,disableAutoFocus:C,disableEnforceFocus:b,disableEscapeKeyDown:k,disablePortal:w,disableRestoreFocus:T,disableScrollLock:R,hideBackdrop:I,keepMounted:O},{getRootProps:H,getBackdropProps:q,getTransitionProps:F,portalRef:_,isTopModal:V,exited:B,hasTransition:G}=oL({...W,rootRef:n}),Z={...W,exited:B},te=aL(Z),K={};if(f.props.tabIndex===void 0&&(K.tabIndex="-1"),G){const{onEnter:ge,onExited:ce}=F();K.onEnter=ge,K.onExited=ce}const J={slots:{root:x.Root,backdrop:x.Backdrop,...U},slotProps:{...P,...L}},[Q,ie]=Le("root",{ref:n,elementType:sL,externalForwardedProps:{...J,...D,component:y},getSlotProps:H,ownerState:Z,className:ae(u,te==null?void 0:te.root,!Z.open&&Z.exited&&(te==null?void 0:te.hidden))}),[se,ue]=Le("backdrop",{ref:s==null?void 0:s.ref,elementType:a,externalForwardedProps:J,shouldForwardComponentProp:!0,additionalProps:s,getSlotProps:ge=>q({...ge,onClick:ce=>{j&&j(ce),ge!=null&&ge.onClick&&ge.onClick(ce)}}),className:ae(s==null?void 0:s.className,te==null?void 0:te.backdrop),ownerState:Z});return!O&&!S&&(!G||B)?null:g.jsx(Ch,{ref:_,container:m,disablePortal:w,children:g.jsxs(Q,{...ie,children:[!I&&a?g.jsx(se,{...ue}):null,g.jsx(DC,{disableEnforceFocus:b,disableAutoFocus:C,disableRestoreFocus:T,isEnabled:V,open:S,children:h.cloneElement(f,K)})]})})});function FC(e){return Ee("MuiDialog",e)}const sd=Ie("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),_C=h.createContext({}),cL=X(kh,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),uL=e=>{const{classes:t,scroll:n,maxWidth:i,fullWidth:a,fullScreen:s}=e,c={root:["root"],container:["container",`scroll${ee(n)}`],paper:["paper",`paperScroll${ee(n)}`,`paperWidth${ee(String(i))}`,a&&"paperFullWidth",s&&"paperFullScreen"]};return $e(c,FC,t)},dL=X(sp,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),pL=X("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${ee(n.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),fL=X(Gn,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${ee(n.scroll)}`],t[`paperWidth${ee(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(xe(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:t})=>!t.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${sd.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(t=>t!=="xs").map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${sd.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+64)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:t})=>t.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:t})=>t.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${sd.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),Ih=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiDialog"}),a=Cn(),s={enter:a.transitions.duration.enteringScreen,exit:a.transitions.duration.leavingScreen},{"aria-describedby":c,"aria-labelledby":u,"aria-modal":d=!0,BackdropComponent:f,BackdropProps:m,children:y,className:x,disableEscapeKeyDown:P=!1,fullScreen:C=!1,fullWidth:b=!1,maxWidth:k="sm",onBackdropClick:w,onClick:T,onClose:R,open:I,PaperComponent:O=Gn,PaperProps:j={},scroll:A="paper",slots:N={},slotProps:$={},TransitionComponent:S=Td,transitionDuration:L=s,TransitionProps:U,...M}=i,D={...i,disableEscapeKeyDown:P,fullScreen:C,fullWidth:b,maxWidth:k,scroll:A},W=uL(D),H=h.useRef(),q=Se=>{H.current=Se.target===Se.currentTarget},F=Se=>{T&&T(Se),H.current&&(H.current=null,w&&w(Se),R&&R(Se,"backdropClick"))},_=Jn(u),V=h.useMemo(()=>({titleId:_}),[_]),B={transition:S,...N},G={transition:U,paper:j,backdrop:m,...$},Z={slots:B,slotProps:G},[te,K]=Le("root",{elementType:dL,shouldForwardComponentProp:!0,externalForwardedProps:Z,ownerState:D,className:ae(W.root,x),ref:n}),[J,Q]=Le("backdrop",{elementType:cL,shouldForwardComponentProp:!0,externalForwardedProps:Z,ownerState:D}),[ie,se]=Le("paper",{elementType:fL,shouldForwardComponentProp:!0,externalForwardedProps:Z,ownerState:D,className:ae(W.paper,j.className)}),[ue,ge]=Le("container",{elementType:pL,externalForwardedProps:Z,ownerState:D,className:ae(W.container)}),[ce,he]=Le("transition",{elementType:Td,externalForwardedProps:Z,ownerState:D,additionalProps:{appear:!0,in:I,timeout:L,role:"presentation"}});return g.jsx(te,{closeAfterTransition:!0,slots:{backdrop:J},slotProps:{backdrop:{transitionDuration:L,as:f,...Q}},disableEscapeKeyDown:P,onClose:R,open:I,onClick:F,...K,...M,children:g.jsx(ce,{...he,children:g.jsx(ue,{onMouseDown:q,...ge,children:g.jsx(ie,{as:O,elevation:24,role:"dialog","aria-describedby":c,"aria-labelledby":_,"aria-modal":d,...se,children:g.jsx(_C.Provider,{value:V,children:y})})})})})});function WC(e){return Ee("MuiDialogActions",e)}const mL=Ie("MuiDialogActions",["root","spacing"]),gL=e=>{const{classes:t,disableSpacing:n}=e;return $e({root:["root",!n&&"spacing"]},WC,t)},hL=X("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),$h=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiDialogActions"}),{className:a,disableSpacing:s=!1,...c}=i,u={...i,disableSpacing:s},d=gL(u);return g.jsx(hL,{className:ae(d.root,a),ownerState:u,ref:n,...c})});function HC(e){return Ee("MuiDialogContent",e)}const vL=Ie("MuiDialogContent",["root","dividers"]);function UC(e){return Ee("MuiDialogTitle",e)}const VC=Ie("MuiDialogTitle",["root"]),yL=e=>{const{classes:t,dividers:n}=e;return $e({root:["root",n&&"dividers"]},HC,t)},bL=X("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(xe(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:t})=>t.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>!t.dividers,style:{[`.${VC.root} + &`]:{paddingTop:0}}}]}))),is=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiDialogContent"}),{className:a,dividers:s=!1,...c}=i,u={...i,dividers:s},d=yL(u);return g.jsx(bL,{className:ae(d.root,a),ownerState:u,ref:n,...c})});function GC(e){return Ee("MuiDialogContentText",e)}const xL=Ie("MuiDialogContentText",["root"]),SL=e=>{const{classes:t}=e,i=$e({root:["root"]},GC,t);return{...t,...i}},CL=X(zt,{shouldForwardProp:e=>wn(e)||e==="classes",name:"MuiDialogContentText",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Dl=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiDialogContentText"}),{children:a,className:s,...c}=i,u=SL(c);return g.jsx(CL,{component:"p",variant:"body1",color:"textSecondary",ref:n,ownerState:c,className:ae(u.root,s),...i,classes:u})}),wL=e=>{const{classes:t}=e;return $e({root:["root"]},UC,t)},kL=X(zt,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),qC=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiDialogTitle"}),{className:a,id:s,...c}=i,u=i,d=wL(u),{titleId:f=s}=h.useContext(_C);return g.jsx(kL,{component:"h2",className:ae(d.root,a),ownerState:u,ref:n,variant:"h6",id:s??f,...c})});function KC(e){return Ee("MuiDivider",e)}const gg=Ie("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),RL=e=>{const{absolute:t,children:n,classes:i,flexItem:a,light:s,orientation:c,textAlign:u,variant:d}=e;return $e({root:["root",t&&"absolute",d,s&&"light",c==="vertical"&&"vertical",a&&"flexItem",n&&"withChildren",n&&c==="vertical"&&"withChildrenVertical",u==="right"&&c!=="vertical"&&"textAlignRight",u==="left"&&c!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",c==="vertical"&&"wrapperVertical"]},KC,i)},PL=X("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(xe(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Qe(e.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),TL=X("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(xe(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),nc=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiDivider"}),{absolute:a=!1,children:s,className:c,orientation:u="horizontal",component:d=s||u==="vertical"?"div":"hr",flexItem:f=!1,light:m=!1,role:y=d!=="hr"?"separator":void 0,textAlign:x="center",variant:P="fullWidth",...C}=i,b={...i,absolute:a,component:d,flexItem:f,light:m,orientation:u,role:y,textAlign:x,variant:P},k=RL(b);return g.jsx(PL,{as:d,className:ae(k.root,c),role:y,ref:n,ownerState:b,"aria-orientation":y==="separator"&&(d!=="hr"||u==="vertical")?u:void 0,...C,children:s?g.jsx(TL,{className:k.wrapper,ownerState:b,children:s}):null})});nc&&(nc.muiSkipListHighlight=!0);function EL(e,t,n){const i=t.getBoundingClientRect(),a=n&&n.getBoundingClientRect(),s=In(t);let c;if(t.fakeTransform)c=t.fakeTransform;else{const f=s.getComputedStyle(t);c=f.getPropertyValue("-webkit-transform")||f.getPropertyValue("transform")}let u=0,d=0;if(c&&c!=="none"&&typeof c=="string"){const f=c.split("(")[1].split(")")[0].split(",");u=parseInt(f[4],10),d=parseInt(f[5],10)}return e==="left"?a?`translateX(${a.right+u-i.left}px)`:`translateX(${s.innerWidth+u-i.left}px)`:e==="right"?a?`translateX(-${i.right-a.left-u}px)`:`translateX(-${i.left+i.width-u}px)`:e==="up"?a?`translateY(${a.bottom+d-i.top}px)`:`translateY(${s.innerHeight+d-i.top}px)`:a?`translateY(-${i.top-a.top+i.height-d}px)`:`translateY(-${i.top+i.height-d}px)`}function IL(e){return typeof e=="function"?e():e}function Nu(e,t,n){const i=IL(n),a=EL(e,t,i);a&&(t.style.webkitTransform=a,t.style.transform=a)}const YC=h.forwardRef(function(t,n){const i=Cn(),a={enter:i.transitions.easing.easeOut,exit:i.transitions.easing.sharp},s={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{addEndListener:c,appear:u=!0,children:d,container:f,direction:m="down",easing:y=a,in:x,onEnter:P,onEntered:C,onEntering:b,onExit:k,onExited:w,onExiting:T,style:R,timeout:I=s,TransitionComponent:O=Pr,...j}=t,A=h.useRef(null),N=Lt(qo(d),A,n),$=F=>_=>{F&&(_===void 0?F(A.current):F(A.current,_))},S=$((F,_)=>{Nu(m,F,f),ep(F),P&&P(F,_)}),L=$((F,_)=>{const V=ro({timeout:I,style:R,easing:y},{mode:"enter"});F.style.webkitTransition=i.transitions.create("-webkit-transform",{...V}),F.style.transition=i.transitions.create("transform",{...V}),F.style.webkitTransform="none",F.style.transform="none",b&&b(F,_)}),U=$(C),M=$(T),D=$(F=>{const _=ro({timeout:I,style:R,easing:y},{mode:"exit"});F.style.webkitTransition=i.transitions.create("-webkit-transform",_),F.style.transition=i.transitions.create("transform",_),Nu(m,F,f),k&&k(F)}),W=$(F=>{F.style.webkitTransition="",F.style.transition="",w&&w(F)}),H=F=>{c&&c(A.current,F)},q=h.useCallback(()=>{A.current&&Nu(m,A.current,f)},[m,f]);return h.useEffect(()=>{if(x||m==="down"||m==="right")return;const F=ha(()=>{A.current&&Nu(m,A.current,f)}),_=In(A.current);return _.addEventListener("resize",F),()=>{F.clear(),_.removeEventListener("resize",F)}},[m,x,f]),h.useEffect(()=>{x||q()},[x,q]),g.jsx(O,{nodeRef:A,onEnter:S,onEntered:U,onEntering:L,onExit:D,onExited:W,onExiting:M,addEndListener:H,appear:u,in:x,timeout:I,...j,children:(F,{ownerState:_,...V})=>h.cloneElement(d,{ref:N,style:{visibility:F==="exited"&&!x?"hidden":void 0,...R,...d.props.style},...V})})});function XC(e){return Ee("MuiDrawer",e)}const $L=Ie("MuiDrawer",["root","docked","paper","anchorLeft","anchorRight","anchorTop","anchorBottom","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]),QC=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},ML=e=>{const{classes:t,anchor:n,variant:i}=e,a={root:["root",`anchor${ee(n)}`],docked:[(i==="permanent"||i==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${ee(n)}`,i!=="temporary"&&`paperAnchorDocked${ee(n)}`]};return $e(a,XC,t)},OL=X(sp,{name:"MuiDrawer",slot:"Root",overridesResolver:QC})(xe(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),AL=X("div",{shouldForwardProp:wn,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:QC})({flex:"0 0 auto"}),jL=X(Gn,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${ee(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${ee(n.anchor)}`]]}})(xe(({theme:e})=>({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0,variants:[{props:{anchor:"left"},style:{left:0}},{props:{anchor:"top"},style:{top:0,left:0,right:0,height:"auto",maxHeight:"100%"}},{props:{anchor:"right"},style:{right:0}},{props:{anchor:"bottom"},style:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"}},{props:({ownerState:t})=>t.anchor==="left"&&t.variant!=="temporary",style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="top"&&t.variant!=="temporary",style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="right"&&t.variant!=="temporary",style:{borderLeft:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="bottom"&&t.variant!=="temporary",style:{borderTop:`1px solid ${(e.vars||e).palette.divider}`}}]}))),JC={left:"right",right:"left",top:"down",bottom:"up"};function ea(e){return["left","right"].includes(e)}function $l({direction:e},t){return e==="rtl"&&ea(t)?JC[t]:t}const lp=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiDrawer"}),a=Cn(),s=oo(),c={enter:a.transitions.duration.enteringScreen,exit:a.transitions.duration.leavingScreen},{anchor:u="left",BackdropProps:d,children:f,className:m,elevation:y=16,hideBackdrop:x=!1,ModalProps:{BackdropProps:P,...C}={},onClose:b,open:k=!1,PaperProps:w={},SlideProps:T,TransitionComponent:R,transitionDuration:I=c,variant:O="temporary",slots:j={},slotProps:A={},...N}=i,$=h.useRef(!1);h.useEffect(()=>{$.current=!0},[]);const S=$l({direction:s?"rtl":"ltr"},u),U={...i,anchor:u,elevation:y,open:k,variant:O,...N},M=ML(U),D={slots:{transition:R,...j},slotProps:{paper:w,transition:T,...A,backdrop:Ti(A.backdrop||{...d,...P},{transitionDuration:I})}},[W,H]=Le("root",{ref:n,elementType:OL,className:ae(M.root,M.modal,m),shouldForwardComponentProp:!0,ownerState:U,externalForwardedProps:{...D,...N,...C},additionalProps:{open:k,onClose:b,hideBackdrop:x,slots:{backdrop:D.slots.backdrop},slotProps:{backdrop:D.slotProps.backdrop}}}),[q,F]=Le("paper",{elementType:jL,shouldForwardComponentProp:!0,className:ae(M.paper,w.className),ownerState:U,externalForwardedProps:D,additionalProps:{elevation:O==="temporary"?y:0,square:!0}}),[_,V]=Le("docked",{elementType:AL,ref:n,className:ae(M.root,M.docked,m),ownerState:U,externalForwardedProps:D,additionalProps:N}),[B,G]=Le("transition",{elementType:YC,ownerState:U,externalForwardedProps:D,additionalProps:{in:k,direction:JC[S],timeout:I,appear:$.current}}),Z=g.jsx(q,{...F,children:f});if(O==="permanent")return g.jsx(_,{...V,children:Z});const te=g.jsx(B,{...G,children:Z});return O==="persistent"?g.jsx(_,{...V,children:te}):g.jsx(W,{...H,children:te})});function ZC(e){return Ee("MuiFab",e)}const hg=Ie("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]),LL=e=>{const{color:t,variant:n,classes:i,size:a}=e,s={root:["root",n,`size${ee(a)}`,t==="inherit"?"colorInherit":t]},c=$e(s,ZC,i);return{...i,...c}},NL=X($n,{name:"MuiFab",slot:"Root",shouldForwardProp:e=>wn(e)||e==="classes",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${ee(n.size)}`],n.color==="inherit"&&t.colorInherit,t[ee(n.size)],t[n.color]]}})(xe(({theme:e})=>{var t,n;return{...e.typography.button,minHeight:36,transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,zIndex:(e.vars||e).zIndex.fab,boxShadow:(e.vars||e).shadows[6],"&:active":{boxShadow:(e.vars||e).shadows[12]},color:e.vars?e.vars.palette.text.primary:(n=(t=e.palette).getContrastText)==null?void 0:n.call(t,e.palette.grey[300]),backgroundColor:(e.vars||e).palette.grey[300],"&:hover":{backgroundColor:(e.vars||e).palette.grey.A100,"@media (hover: none)":{backgroundColor:(e.vars||e).palette.grey[300]},textDecoration:"none"},[`&.${hg.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},variants:[{props:{size:"small"},style:{width:40,height:40}},{props:{size:"medium"},style:{width:48,height:48}},{props:{variant:"extended"},style:{borderRadius:48/2,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48}},{props:{variant:"extended",size:"small"},style:{width:"auto",padding:"0 8px",borderRadius:34/2,minWidth:34,height:34}},{props:{variant:"extended",size:"medium"},style:{width:"auto",padding:"0 16px",borderRadius:40/2,minWidth:40,height:40}},{props:{color:"inherit"},style:{color:"inherit"}}]}}),xe(({theme:e})=>({variants:[...Object.entries(e.palette).filter(kt(["dark","contrastText"])).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].contrastText,backgroundColor:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:(e.vars||e).palette[t].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t].main}}}}))]})),xe(({theme:e})=>({[`&.${hg.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}))),Mh=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiFab"}),{children:a,className:s,color:c="default",component:u="button",disabled:d=!1,disableFocusRipple:f=!1,focusVisibleClassName:m,size:y="large",variant:x="circular",...P}=i,C={...i,color:c,component:u,disabled:d,disableFocusRipple:f,size:y,variant:x},b=LL(C);return g.jsx(NL,{className:ae(b.root,s),component:u,disabled:d,focusRipple:!f,focusVisibleClassName:ae(b.focusVisible,m),ownerState:C,ref:n,...P,classes:b,children:a})}),BL=e=>{const{classes:t,disableUnderline:n,startAdornment:i,endAdornment:a,size:s,hiddenLabel:c,multiline:u}=e,d={root:["root",!n&&"underline",i&&"adornedStart",a&&"adornedEnd",s==="small"&&`size${ee(s)}`,c&&"hiddenLabel",u&&"multiline"],input:["input"]},f=$e(d,lC,t);return{...t,...f}},DL=X(ip,{shouldForwardProp:e=>wn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...rp(e,t),!n.disableUnderline&&t.underline]}})(xe(({theme:e})=>{const t=e.palette.mode==="light",n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",i=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",a=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:a,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i}},[`&.${sr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i},[`&.${sr.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s},variants:[{props:({ownerState:c})=>!c.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${sr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${sr.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${sr.disabled}, .${sr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${sr.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(kt()).map(([c])=>{var u;return{props:{disableUnderline:!1,color:c},style:{"&::after":{borderBottom:`2px solid ${(u=(e.vars||e).palette[c])==null?void 0:u.main}`}}}}),{props:({ownerState:c})=>c.startAdornment,style:{paddingLeft:12}},{props:({ownerState:c})=>c.endAdornment,style:{paddingRight:12}},{props:({ownerState:c})=>c.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:c,size:u})=>c.multiline&&u==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:c})=>c.multiline&&c.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:c})=>c.multiline&&c.hiddenLabel&&c.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),zL=X(ap,{name:"MuiFilledInput",slot:"Input",overridesResolver:op})(xe(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),cp=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiFilledInput"}),{disableUnderline:a=!1,components:s={},componentsProps:c,fullWidth:u=!1,hiddenLabel:d,inputComponent:f="input",multiline:m=!1,slotProps:y,slots:x={},type:P="text",...C}=i,b={...i,disableUnderline:a,fullWidth:u,inputComponent:f,multiline:m,type:P},k=BL(i),w={root:{ownerState:b},input:{ownerState:b}},T=y??c?En(w,y??c):w,R=x.root??s.Root??DL,I=x.input??s.Input??zL;return g.jsx(gc,{slots:{root:R,input:I},slotProps:T,fullWidth:u,inputComponent:f,multiline:m,ref:n,type:P,...C,classes:k})});cp.muiName="Input";function ew(e){return Ee("MuiFormControl",e)}const FL=Ie("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]),_L=e=>{const{classes:t,margin:n,fullWidth:i}=e,a={root:["root",n!=="none"&&`margin${ee(n)}`,i&&"fullWidth"]};return $e(a,ew,t)},WL=X("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`margin${ee(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),tw=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiFormControl"}),{children:a,className:s,color:c="primary",component:u="div",disabled:d=!1,error:f=!1,focused:m,fullWidth:y=!1,hiddenLabel:x=!1,margin:P="none",required:C=!1,size:b="medium",variant:k="outlined",...w}=i,T={...i,color:c,component:u,disabled:d,error:f,fullWidth:y,hiddenLabel:x,margin:P,required:C,size:b,variant:k},R=_L(T),[I,O]=h.useState(()=>{let W=!1;return a&&h.Children.forEach(a,H=>{if(!vo(H,["Input","Select"]))return;const q=vo(H,["Select"])?H.props.input:H;q&&VA(q.props)&&(W=!0)}),W}),[j,A]=h.useState(()=>{let W=!1;return a&&h.Children.forEach(a,H=>{vo(H,["Input","Select"])&&(Pd(H.props,!0)||Pd(H.props.inputProps,!0))&&(W=!0)}),W}),[N,$]=h.useState(!1);d&&N&&$(!1);const S=m!==void 0&&!d?m:N;let L;h.useRef(!1);const U=h.useCallback(()=>{A(!0)},[]),M=h.useCallback(()=>{A(!1)},[]),D=h.useMemo(()=>({adornedStart:I,setAdornedStart:O,color:c,disabled:d,error:f,filled:j,focused:S,fullWidth:y,hiddenLabel:x,size:b,onBlur:()=>{$(!1)},onFocus:()=>{$(!0)},onEmpty:M,onFilled:U,registerEffect:L,required:C,variant:k}),[I,c,d,f,j,S,y,x,L,M,U,C,b,k]);return g.jsx(np.Provider,{value:D,children:g.jsx(WL,{as:u,ownerState:T,className:ae(R.root,s),ref:n,...w,children:a})})});function nw(e){return Ee("MuiFormControlLabel",e)}const es=Ie("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),HL=e=>{const{classes:t,disabled:n,labelPlacement:i,error:a,required:s}=e,c={root:["root",n&&"disabled",`labelPlacement${ee(i)}`,a&&"error",s&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",a&&"error"]};return $e(c,nw,t)},UL=X("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${es.label}`]:t.label},t.root,t[`labelPlacement${ee(n.labelPlacement)}`]]}})(xe(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${es.disabled}`]:{cursor:"default"},[`& .${es.label}`]:{[`&.${es.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:t})=>t==="start"||t==="top"||t==="bottom",style:{marginLeft:16}}]}))),VL=X("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(xe(({theme:e})=>({[`&.${es.error}`]:{color:(e.vars||e).palette.error.main}}))),ld=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiFormControlLabel"}),{checked:a,className:s,componentsProps:c={},control:u,disabled:d,disableTypography:f,inputRef:m,label:y,labelPlacement:x="end",name:P,onChange:C,required:b,slots:k={},slotProps:w={},value:T,...R}=i,I=Tr(),O=d??u.props.disabled??(I==null?void 0:I.disabled),j=b??u.props.required,A={disabled:O,required:j};["checked","name","onChange","value","inputRef"].forEach(W=>{typeof u.props[W]>"u"&&typeof i[W]<"u"&&(A[W]=i[W])});const N=Ko({props:i,muiFormControl:I,states:["error"]}),$={...i,disabled:O,labelPlacement:x,required:j,error:N.error},S=HL($),L={slots:k,slotProps:{...c,...w}},[U,M]=Le("typography",{elementType:zt,externalForwardedProps:L,ownerState:$});let D=y;return D!=null&&D.type!==zt&&!f&&(D=g.jsx(U,{component:"span",...M,className:ae(S.label,M==null?void 0:M.className),children:D})),g.jsxs(UL,{className:ae(S.root,s),ownerState:$,ref:n,...R,children:[h.cloneElement(u,A),j?g.jsxs("div",{children:[D,g.jsxs(VL,{ownerState:$,"aria-hidden":!0,className:S.asterisk,children:[" ","*"]})]}):D]})});function rw(e){return Ee("MuiFormGroup",e)}const GL=Ie("MuiFormGroup",["root","row","error"]),qL=e=>{const{classes:t,row:n,error:i}=e;return $e({root:["root",n&&"row",i&&"error"]},rw,t)},KL=X("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.row&&t.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),zl=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiFormGroup"}),{className:a,row:s=!1,...c}=i,u=Tr(),d=Ko({props:i,muiFormControl:u,states:["error"]}),f={...i,row:s,error:d.error},m=qL(f);return g.jsx(KL,{className:ae(m.root,a),ownerState:f,ref:n,...c})});function ow(e){return Ee("MuiFormHelperText",e)}const vg=Ie("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var qb;const YL=e=>{const{classes:t,contained:n,size:i,disabled:a,error:s,filled:c,focused:u,required:d}=e,f={root:["root",a&&"disabled",s&&"error",i&&`size${ee(i)}`,n&&"contained",u&&"focused",c&&"filled",d&&"required"]};return $e(f,ow,t)},XL=X("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${ee(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(xe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${vg.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${vg.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),iw=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiFormHelperText"}),{children:a,className:s,component:c="p",disabled:u,error:d,filled:f,focused:m,margin:y,required:x,variant:P,...C}=i,b=Tr(),k=Ko({props:i,muiFormControl:b,states:["variant","size","disabled","error","filled","focused","required"]}),w={...i,component:c,contained:k.variant==="filled"||k.variant==="outlined",variant:k.variant,size:k.size,disabled:k.disabled,error:k.error,filled:k.filled,focused:k.focused,required:k.required};delete w.ownerState;const T=YL(w);return g.jsx(XL,{as:c,className:ae(T.root,s),ref:n,...C,ownerState:w,children:a===" "?qb||(qb=g.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):a})});function aw(e){return Ee("MuiFormLabel",e)}const as=Ie("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),QL=e=>{const{classes:t,color:n,focused:i,disabled:a,error:s,filled:c,required:u}=e,d={root:["root",`color${ee(n)}`,a&&"disabled",s&&"error",c&&"filled",i&&"focused",u&&"required"],asterisk:["asterisk",s&&"error"]};return $e(d,aw,t)},sw=X("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color==="secondary"&&t.colorSecondary,n.filled&&t.filled]}})(xe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(kt()).map(([t])=>({props:{color:t},style:{[`&.${as.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${as.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${as.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),JL=X("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(xe(({theme:e})=>({[`&.${as.error}`]:{color:(e.vars||e).palette.error.main}}))),lw=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiFormLabel"}),{children:a,className:s,color:c,component:u="label",disabled:d,error:f,filled:m,focused:y,required:x,...P}=i,C=Tr(),b=Ko({props:i,muiFormControl:C,states:["color","required","focused","disabled","error","filled"]}),k={...i,color:b.color||"primary",component:u,disabled:b.disabled,error:b.error,filled:b.filled,focused:b.focused,required:b.required},w=QL(k);return g.jsxs(sw,{as:u,ownerState:k,className:ae(w.root,s),ref:n,...P,children:[a,b.required&&g.jsxs(JL,{ownerState:k,"aria-hidden":!0,className:w.asterisk,children:[" ","*"]})]})}),Kb=h.createContext();function ZL(e){return Ee("MuiGrid",e)}const e4=[0,1,2,3,4,5,6,7,8,9,10],t4=["column-reverse","column","row-reverse","row"],n4=["nowrap","wrap-reverse","wrap"],ul=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],rc=Ie("MuiGrid",["root","container","item","zeroMinWidth",...e4.map(e=>`spacing-xs-${e}`),...t4.map(e=>`direction-xs-${e}`),...n4.map(e=>`wrap-xs-${e}`),...ul.map(e=>`grid-xs-${e}`),...ul.map(e=>`grid-sm-${e}`),...ul.map(e=>`grid-md-${e}`),...ul.map(e=>`grid-lg-${e}`),...ul.map(e=>`grid-xl-${e}`)]);function r4({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((i,a)=>{let s={};if(t[a]&&(n=t[a]),!n)return i;if(n===!0)s={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")s={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const c=sa({values:t.columns,breakpoints:e.breakpoints.values}),u=typeof c=="object"?c[a]:c;if(u==null)return i;const d=`${Math.round(n/u*1e8)/1e6}%`;let f={};if(t.container&&t.item&&t.columnSpacing!==0){const m=e.spacing(t.columnSpacing);if(m!=="0px"){const y=`calc(${d} + ${m})`;f={flexBasis:y,maxWidth:y}}}s={flexBasis:d,flexGrow:0,maxWidth:d,...f}}return e.breakpoints.values[a]===0?Object.assign(i,s):i[e.breakpoints.up(a)]=s,i},{})}function o4({theme:e,ownerState:t}){const n=sa({values:t.direction,breakpoints:e.breakpoints.values});return mr({theme:e},n,i=>{const a={flexDirection:i};return i.startsWith("column")&&(a[`& > .${rc.item}`]={maxWidth:"none"}),a})}function cw({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(a=>{n===""&&t[a]!==0&&(n=a)});const i=Object.keys(e).sort((a,s)=>e[a]-e[s]);return i.slice(0,i.indexOf(n))}function i4({theme:e,ownerState:t}){const{container:n,rowSpacing:i}=t;let a={};if(n&&i!==0){const s=sa({values:i,breakpoints:e.breakpoints.values});let c;typeof s=="object"&&(c=cw({breakpoints:e.breakpoints.values,values:s})),a=mr({theme:e},s,(u,d)=>{const f=e.spacing(u);return f!=="0px"?{marginTop:`calc(-1 * ${f})`,[`& > .${rc.item}`]:{paddingTop:f}}:c!=null&&c.includes(d)?{}:{marginTop:0,[`& > .${rc.item}`]:{paddingTop:0}}})}return a}function a4({theme:e,ownerState:t}){const{container:n,columnSpacing:i}=t;let a={};if(n&&i!==0){const s=sa({values:i,breakpoints:e.breakpoints.values});let c;typeof s=="object"&&(c=cw({breakpoints:e.breakpoints.values,values:s})),a=mr({theme:e},s,(u,d)=>{const f=e.spacing(u);if(f!=="0px"){const m=`calc(-1 * ${f})`;return{width:`calc(100% + ${f})`,marginLeft:m,[`& > .${rc.item}`]:{paddingLeft:f}}}return c!=null&&c.includes(d)?{}:{width:"100%",marginLeft:0,[`& > .${rc.item}`]:{paddingLeft:0}}})}return a}function s4(e,t,n={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[n[`spacing-xs-${String(e)}`]];const i=[];return t.forEach(a=>{const s=e[a];Number(s)>0&&i.push(n[`spacing-${a}-${String(s)}`])}),i}const l4=X("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:i,direction:a,item:s,spacing:c,wrap:u,zeroMinWidth:d,breakpoints:f}=n;let m=[];i&&(m=s4(c,f,t));const y=[];return f.forEach(x=>{const P=n[x];P&&y.push(t[`grid-${x}-${String(P)}`])}),[t.root,i&&t.container,s&&t.item,d&&t.zeroMinWidth,...m,a!=="row"&&t[`direction-xs-${String(a)}`],u!=="wrap"&&t[`wrap-xs-${String(u)}`],...y]}})(({ownerState:e})=>({boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},...e.item&&{margin:0},...e.zeroMinWidth&&{minWidth:0},...e.wrap!=="wrap"&&{flexWrap:e.wrap}}),o4,i4,a4,r4);function c4(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const n=[];return t.forEach(i=>{const a=e[i];if(Number(a)>0){const s=`spacing-${i}-${String(a)}`;n.push(s)}}),n}const u4=e=>{const{classes:t,container:n,direction:i,item:a,spacing:s,wrap:c,zeroMinWidth:u,breakpoints:d}=e;let f=[];n&&(f=c4(s,d));const m=[];d.forEach(x=>{const P=e[x];P&&m.push(`grid-${x}-${String(P)}`)});const y={root:["root",n&&"container",a&&"item",u&&"zeroMinWidth",...f,i!=="row"&&`direction-xs-${String(i)}`,c!=="wrap"&&`wrap-xs-${String(c)}`,...m]};return $e(y,ZL,t)},d4=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiGrid"}),{breakpoints:a}=Cn(),s=dc(i),{className:c,columns:u,columnSpacing:d,component:f="div",container:m=!1,direction:y="row",item:x=!1,rowSpacing:P,spacing:C=0,wrap:b="wrap",zeroMinWidth:k=!1,...w}=s,T=P||C,R=d||C,I=h.useContext(Kb),O=m?u||12:I,j={},A={...w};a.keys.forEach(S=>{w[S]!=null&&(j[S]=w[S],delete A[S])});const N={...s,columns:O,container:m,direction:y,item:x,rowSpacing:T,columnSpacing:R,wrap:b,zeroMinWidth:k,spacing:C,...j,breakpoints:a.keys},$=u4(N);return g.jsx(Kb.Provider,{value:O,children:g.jsx(l4,{ownerState:N,className:ae($.root,c),as:f,ref:n,...A})})}),Xn=c$({createStyledComponent:X("div",{name:"MuiGrid2",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.container&&t.container]}}),componentName:"MuiGrid2",useThemeProps:e=>Oe({props:e,name:"MuiGrid2"}),useTheme:Cn});function p4(e){return Ee("MuiGrid2",e)}const f4=[0,1,2,3,4,5,6,7,8,9,10],m4=["column-reverse","column","row-reverse","row"],g4=["nowrap","wrap-reverse","wrap"],dl=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],h4=Ie("MuiGrid2",["root","container",...f4.map(e=>`spacing-xs-${e}`),...m4.map(e=>`direction-xs-${e}`),...g4.map(e=>`wrap-xs-${e}`),...dl.map(e=>`grid-xs-${e}`),...dl.map(e=>`grid-sm-${e}`),...dl.map(e=>`grid-md-${e}`),...dl.map(e=>`grid-lg-${e}`),...dl.map(e=>`grid-xl-${e}`)]);function yg(e){return`scale(${e}, ${e**2})`}const v4={entering:{opacity:1,transform:yg(1)},entered:{opacity:1,transform:"none"}},xm=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),gs=h.forwardRef(function(t,n){const{addEndListener:i,appear:a=!0,children:s,easing:c,in:u,onEnter:d,onEntered:f,onEntering:m,onExit:y,onExited:x,onExiting:P,style:C,timeout:b="auto",TransitionComponent:k=Pr,...w}=t,T=Do(),R=h.useRef(),I=Cn(),O=h.useRef(null),j=Lt(O,qo(s),n),A=W=>H=>{if(W){const q=O.current;H===void 0?W(q):W(q,H)}},N=A(m),$=A((W,H)=>{ep(W);const{duration:q,delay:F,easing:_}=ro({style:C,timeout:b,easing:c},{mode:"enter"});let V;b==="auto"?(V=I.transitions.getAutoHeightDuration(W.clientHeight),R.current=V):V=q,W.style.transition=[I.transitions.create("opacity",{duration:V,delay:F}),I.transitions.create("transform",{duration:xm?V:V*.666,delay:F,easing:_})].join(","),d&&d(W,H)}),S=A(f),L=A(P),U=A(W=>{const{duration:H,delay:q,easing:F}=ro({style:C,timeout:b,easing:c},{mode:"exit"});let _;b==="auto"?(_=I.transitions.getAutoHeightDuration(W.clientHeight),R.current=_):_=H,W.style.transition=[I.transitions.create("opacity",{duration:_,delay:q}),I.transitions.create("transform",{duration:xm?_:_*.666,delay:xm?q:q||_*.333,easing:F})].join(","),W.style.opacity=0,W.style.transform=yg(.75),y&&y(W)}),M=A(x),D=W=>{b==="auto"&&T.start(R.current||0,W),i&&i(O.current,W)};return g.jsx(k,{appear:a,in:u,nodeRef:O,onEnter:$,onEntered:S,onEntering:N,onExit:U,onExited:M,onExiting:L,addEndListener:D,timeout:b==="auto"?null:b,...w,children:(W,{ownerState:H,...q})=>h.cloneElement(s,{style:{opacity:0,transform:yg(.75),visibility:W==="exited"&&!u?"hidden":void 0,...v4[W],...C,...s.props.style},ref:j,...q})})});gs&&(gs.muiSupportAuto=!0);const uw=_1({themeId:cr}),Si=["xs","sm","md","lg","xl"],y4=(e,t,n=!0)=>n?Si.indexOf(e)<=Si.indexOf(t):Si.indexOf(e)<Si.indexOf(t),b4=(e,t,n=!1)=>n?Si.indexOf(t)<=Si.indexOf(e):Si.indexOf(t)<Si.indexOf(e),x4=(e={})=>t=>{const{withTheme:n=!1,noSSR:i=!1,initialWidth:a}=e;function s(c){const u=Cn(),d=c.theme||u,{initialWidth:f,width:m,...y}=Kg({theme:d,name:"MuiWithWidth",props:c}),[x,P]=h.useState(!1);xn(()=>{P(!0)},[]);const b=d.breakpoints.keys.slice().reverse().reduce((w,T)=>{const R=uw(d.breakpoints.up(T));return!w&&R?T:w},null),k={width:m||(x||i?b:void 0)||f||a,...n?{theme:d}:{},...y};return k.width===void 0?null:g.jsx(t,{...k})}return s};function dw(e){const{children:t,only:n,width:i}=e,a=Cn();let s=!0;if(n)if(Array.isArray(n))for(let c=0;c<n.length;c+=1){const u=n[c];if(i===u){s=!1;break}}else n&&i===n&&(s=!1);if(s)for(let c=0;c<a.breakpoints.keys.length;c+=1){const u=a.breakpoints.keys[c],d=e[`${u}Up`],f=e[`${u}Down`];if(d&&y4(u,i)||f&&b4(u,i)){s=!1;break}}return s?t:null}dw.propTypes={children:tn.node,lgDown:tn.bool,lgUp:tn.bool,mdDown:tn.bool,mdUp:tn.bool,only:tn.oneOfType([tn.oneOf(["xs","sm","md","lg","xl"]),tn.arrayOf(tn.oneOf(["xs","sm","md","lg","xl"]))]),smDown:tn.bool,smUp:tn.bool,width:tn.string.isRequired,xlDown:tn.bool,xlUp:tn.bool,xsDown:tn.bool,xsUp:tn.bool};const S4=x4()(dw);function C4(e){return Ee("PrivateHiddenCss",e)}Ie("PrivateHiddenCss",["root","xlDown","xlUp","onlyXl","lgDown","lgUp","onlyLg","mdDown","mdUp","onlyMd","smDown","smUp","onlySm","xsDown","xsUp","onlyXs"]);const w4=e=>{const{classes:t,breakpoints:n}=e,i={root:["root",...n.map(({breakpoint:a,dir:s})=>s==="only"?`${s}${ee(a)}`:`${a}${ee(s)}`)]};return $e(i,C4,t)},k4=X("div",{name:"PrivateHiddenCss",slot:"Root"})(({theme:e,ownerState:t})=>{const n={display:"none"};return{...t.breakpoints.map(({breakpoint:i,dir:a})=>a==="only"?{[e.breakpoints.only(i)]:n}:a==="up"?{[e.breakpoints.up(i)]:n}:{[e.breakpoints.down(i)]:n}).reduce((i,a)=>(Object.keys(a).forEach(s=>{i[s]=a[s]}),i),{})}});function R4(e){const{children:t,className:n,only:i,...a}=e,s=Cn(),c=[];for(let f=0;f<s.breakpoints.keys.length;f+=1){const m=s.breakpoints.keys[f],y=a[`${m}Up`],x=a[`${m}Down`];y&&c.push({breakpoint:m,dir:"up"}),x&&c.push({breakpoint:m,dir:"down"})}i&&(Array.isArray(i)?i:[i]).forEach(m=>{c.push({breakpoint:m,dir:"only"})});const u={...e,breakpoints:c},d=w4(u);return g.jsx(k4,{className:ae(d.root,n),ownerState:u,children:t})}function P4(e){const{implementation:t="js",lgDown:n=!1,lgUp:i=!1,mdDown:a=!1,mdUp:s=!1,smDown:c=!1,smUp:u=!1,xlDown:d=!1,xlUp:f=!1,xsDown:m=!1,xsUp:y=!1,...x}=e;return t==="js"?g.jsx(S4,{lgDown:n,lgUp:i,mdDown:a,mdUp:s,smDown:c,smUp:u,xlDown:d,xlUp:f,xsDown:m,xsUp:y,...x}):g.jsx(R4,{lgDown:n,lgUp:i,mdDown:a,mdUp:s,smDown:c,smUp:u,xlDown:d,xlUp:f,xsDown:m,xsUp:y,...x})}function pw(e){return Ee("MuiIcon",e)}const T4=Ie("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]),E4=e=>{const{color:t,fontSize:n,classes:i}=e,a={root:["root",t!=="inherit"&&`color${ee(t)}`,`fontSize${ee(n)}`]};return $e(a,pw,i)},I4=X("span",{name:"MuiIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${ee(n.color)}`],t[`fontSize${ee(n.fontSize)}`]]}})(xe(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",overflow:"hidden",display:"inline-block",textAlign:"center",flexShrink:0,variants:[{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography.pxToRem(20)}},{props:{fontSize:"medium"},style:{fontSize:e.typography.pxToRem(24)}},{props:{fontSize:"large"},style:{fontSize:e.typography.pxToRem(36)}},{props:{color:"action"},style:{color:(e.vars||e).palette.action.active}},{props:{color:"disabled"},style:{color:(e.vars||e).palette.action.disabled}},{props:{color:"inherit"},style:{color:void 0}},...Object.entries(e.palette).filter(kt()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),fw=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiIcon"}),{baseClassName:a="material-icons",className:s,color:c="inherit",component:u="span",fontSize:d="medium",...f}=i,m={...i,baseClassName:a,color:c,component:u,fontSize:d},y=E4(m);return g.jsx(I4,{as:u,className:ae(a,"notranslate",y.root,s),ownerState:m,"aria-hidden":!0,ref:n,...f})});fw.muiName="Icon";function mw(e){return Ee("MuiImageList",e)}const $4=Ie("MuiImageList",["root","masonry","quilted","standard","woven"]),gw=h.createContext({}),M4=e=>{const{classes:t,variant:n}=e;return $e({root:["root",n]},mw,t)},O4=X("ul",{name:"MuiImageList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant]]}})({display:"grid",overflowY:"auto",listStyle:"none",padding:0,WebkitOverflowScrolling:"touch",variants:[{props:{variant:"masonry"},style:{display:"block"}}]}),A4=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiImageList"}),{children:a,className:s,cols:c=2,component:u="ul",rowHeight:d="auto",gap:f=4,style:m,variant:y="standard",...x}=i,P=h.useMemo(()=>({rowHeight:d,gap:f,variant:y}),[d,f,y]),C=y==="masonry"?{columnCount:c,columnGap:f,...m}:{gridTemplateColumns:`repeat(${c}, 1fr)`,gap:f,...m},b={...i,component:u,gap:f,rowHeight:d,variant:y},k=M4(b);return g.jsx(O4,{as:u,className:ae(k.root,k[y],s),ref:n,style:C,ownerState:b,...x,children:g.jsx(gw.Provider,{value:P,children:a})})});function hw(e){return Ee("MuiImageListItem",e)}const cd=Ie("MuiImageListItem",["root","img","standard","woven","masonry","quilted"]),j4=e=>{const{classes:t,variant:n}=e;return $e({root:["root",n],img:["img"]},hw,t)},L4=X("li",{name:"MuiImageListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${cd.img}`]:t.img},t.root,t[n.variant]]}})({display:"block",position:"relative",[`& .${cd.img}`]:{objectFit:"cover",width:"100%",height:"100%",display:"block"},variants:[{props:{variant:"standard"},style:{display:"flex",flexDirection:"column"}},{props:{variant:"woven"},style:{height:"100%",alignSelf:"center","&:nth-of-type(even)":{height:"70%"}}},{props:{variant:"standard"},style:{[`& .${cd.img}`]:{height:"auto",flexGrow:1}}}]}),N4=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiImageListItem"}),{children:a,className:s,cols:c=1,component:u="li",rows:d=1,style:f,...m}=i,{rowHeight:y="auto",gap:x,variant:P}=h.useContext(gw);let C="auto";P==="woven"?C=void 0:y!=="auto"&&(C=y*d+x*(d-1));const b={...i,cols:c,component:u,gap:x,rowHeight:y,rows:d,variant:P},k=j4(b);return g.jsx(L4,{as:u,className:ae(k.root,k[P],s),ref:n,style:{height:C,gridColumnEnd:P!=="masonry"?`span ${c}`:void 0,gridRowEnd:P!=="masonry"?`span ${d}`:void 0,marginBottom:P==="masonry"?x:void 0,breakInside:P==="masonry"?"avoid":void 0,...f},ownerState:b,...m,children:h.Children.map(a,w=>h.isValidElement(w)?w.type==="img"||vo(w,["Image"])?h.cloneElement(w,{className:ae(k.img,w.props.className)}):w:null)})});function vw(e){return Ee("MuiImageListItemBar",e)}const B4=Ie("MuiImageListItemBar",["root","positionBottom","positionTop","positionBelow","actionPositionLeft","actionPositionRight","titleWrap","titleWrapBottom","titleWrapTop","titleWrapBelow","titleWrapActionPosLeft","titleWrapActionPosRight","title","subtitle","actionIcon","actionIconActionPosLeft","actionIconActionPosRight"]),D4=e=>{const{classes:t,position:n,actionIcon:i,actionPosition:a}=e,s={root:["root",`position${ee(n)}`,`actionPosition${ee(a)}`],titleWrap:["titleWrap",`titleWrap${ee(n)}`,i&&`titleWrapActionPos${ee(a)}`],title:["title"],subtitle:["subtitle"],actionIcon:["actionIcon",`actionIconActionPos${ee(a)}`]};return $e(s,vw,t)},z4=X("div",{name:"MuiImageListItemBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${ee(n.position)}`]]}})(xe(({theme:e})=>({position:"absolute",left:0,right:0,background:"rgba(0, 0, 0, 0.5)",display:"flex",alignItems:"center",fontFamily:e.typography.fontFamily,variants:[{props:{position:"bottom"},style:{bottom:0}},{props:{position:"top"},style:{top:0}},{props:{position:"below"},style:{position:"relative",background:"transparent",alignItems:"normal"}}]}))),F4=X("div",{name:"MuiImageListItemBar",slot:"TitleWrap",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.titleWrap,t[`titleWrap${ee(n.position)}`],n.actionIcon&&t[`titleWrapActionPos${ee(n.actionPosition)}`]]}})(xe(({theme:e})=>({flexGrow:1,padding:"12px 16px",color:(e.vars||e).palette.common.white,overflow:"hidden",variants:[{props:{position:"below"},style:{padding:"6px 0 12px",color:"inherit"}},{props:({ownerState:t})=>t.actionIcon&&t.actionPosition==="left",style:{paddingLeft:0}},{props:({ownerState:t})=>t.actionIcon&&t.actionPosition==="right",style:{paddingRight:0}}]}))),_4=X("div",{name:"MuiImageListItemBar",slot:"Title",overridesResolver:(e,t)=>t.title})(xe(({theme:e})=>({fontSize:e.typography.pxToRem(16),lineHeight:"24px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"}))),W4=X("div",{name:"MuiImageListItemBar",slot:"Subtitle",overridesResolver:(e,t)=>t.subtitle})(xe(({theme:e})=>({fontSize:e.typography.pxToRem(12),lineHeight:1,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"}))),H4=X("div",{name:"MuiImageListItemBar",slot:"ActionIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.actionIcon,t[`actionIconActionPos${ee(n.actionPosition)}`]]}})({variants:[{props:{actionPosition:"left"},style:{order:-1}}]}),U4=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiImageListItemBar"}),{actionIcon:a,actionPosition:s="right",className:c,subtitle:u,title:d,position:f="bottom",...m}=i,y={...i,position:f,actionPosition:s},x=D4(y);return g.jsxs(z4,{ownerState:y,className:ae(x.root,c),ref:n,...m,children:[g.jsxs(F4,{ownerState:y,className:x.titleWrap,children:[g.jsx(_4,{className:x.title,children:d}),u?g.jsx(W4,{className:x.subtitle,children:u}):null]}),a?g.jsx(H4,{ownerState:y,className:x.actionIcon,children:a}):null]})}),V4=e=>{const{classes:t,disableUnderline:n}=e,a=$e({root:["root",!n&&"underline"],input:["input"]},aC,t);return{...t,...a}},G4=X(ip,{shouldForwardProp:e=>wn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...rp(e,t),!n.disableUnderline&&t.underline]}})(xe(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:i})=>i.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:i})=>!i.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Bo.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Bo.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Bo.disabled}, .${Bo.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Bo.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(kt()).map(([i])=>({props:{color:i,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[i].main}`}}}))]}})),q4=X(ap,{name:"MuiInput",slot:"Input",overridesResolver:op})({}),hc=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiInput"}),{disableUnderline:a=!1,components:s={},componentsProps:c,fullWidth:u=!1,inputComponent:d="input",multiline:f=!1,slotProps:m,slots:y={},type:x="text",...P}=i,C=V4(i),k={root:{ownerState:{disableUnderline:a}}},w=m??c?En(m??c,k):k,T=y.root??s.Root??G4,R=y.input??s.Input??q4;return g.jsx(gc,{slots:{root:T,input:R},slotProps:w,fullWidth:u,inputComponent:d,multiline:f,ref:n,type:x,...P,classes:C})});hc.muiName="Input";function yw(e){return Ee("MuiInputAdornment",e)}const bg=Ie("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var Yb;const K4=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${ee(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},Y4=e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:i,position:a,size:s,variant:c}=e,u={root:["root",n&&"disablePointerEvents",a&&`position${ee(a)}`,c,i&&"hiddenLabel",s&&`size${ee(s)}`]};return $e(u,yw,t)},X4=X("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:K4})(xe(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${bg.positionStart}&:not(.${bg.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),Q4=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiInputAdornment"}),{children:a,className:s,component:c="div",disablePointerEvents:u=!1,disableTypography:d=!1,position:f,variant:m,...y}=i,x=Tr()||{};let P=m;m&&x.variant,x&&!P&&(P=x.variant);const C={...i,hiddenLabel:x.hiddenLabel,size:x.size,disablePointerEvents:u,position:f,variant:P},b=Y4(C);return g.jsx(np.Provider,{value:null,children:g.jsx(X4,{as:c,ownerState:C,className:ae(b.root,s),ref:n,...y,children:typeof a=="string"&&!d?g.jsx(zt,{color:"textSecondary",children:a}):g.jsxs(h.Fragment,{children:[f==="start"?Yb||(Yb=g.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,a]})})})});function bw(e){return Ee("MuiInputLabel",e)}const J4=Ie("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]),Z4=e=>{const{classes:t,formControl:n,size:i,shrink:a,disableAnimation:s,variant:c,required:u}=e,d={root:["root",n&&"formControl",!s&&"animated",a&&"shrink",i&&i!=="normal"&&`size${ee(i)}`,c],asterisk:[u&&"asterisk"]},f=$e(d,bw,t);return{...t,...f}},eN=X(lw,{shouldForwardProp:e=>wn(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${as.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(xe(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="filled"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:n,size:i})=>t==="filled"&&n.shrink&&i==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="outlined"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),xw=h.forwardRef(function(t,n){const i=Oe({name:"MuiInputLabel",props:t}),{disableAnimation:a=!1,margin:s,shrink:c,variant:u,className:d,...f}=i,m=Tr();let y=c;typeof y>"u"&&m&&(y=m.filled||m.focused||m.adornedStart);const x=Ko({props:i,muiFormControl:m,states:["size","variant","required","focused"]}),P={...i,disableAnimation:a,formControl:m,shrink:y,size:x.size,variant:x.variant,required:x.required,focused:x.focused},C=Z4(P);return g.jsx(eN,{"data-shrink":y,ref:n,className:ae(C.root,d),...f,ownerState:P,classes:C})});function Sw(e){return Ee("MuiLinearProgress",e)}const tN=Ie("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","bar1","bar2","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]),xg=4,Sg=Vr`
201
+ 0% {
202
+ left: -35%;
203
+ right: 100%;
204
+ }
205
+
206
+ 60% {
207
+ left: 100%;
208
+ right: -90%;
209
+ }
210
+
211
+ 100% {
212
+ left: 100%;
213
+ right: -90%;
214
+ }
215
+ `,nN=typeof Sg!="string"?So`
216
+ animation: ${Sg} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
217
+ `:null,Cg=Vr`
218
+ 0% {
219
+ left: -200%;
220
+ right: 100%;
221
+ }
222
+
223
+ 60% {
224
+ left: 107%;
225
+ right: -8%;
226
+ }
227
+
228
+ 100% {
229
+ left: 107%;
230
+ right: -8%;
231
+ }
232
+ `,rN=typeof Cg!="string"?So`
233
+ animation: ${Cg} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
234
+ `:null,wg=Vr`
235
+ 0% {
236
+ opacity: 1;
237
+ background-position: 0 -23px;
238
+ }
239
+
240
+ 60% {
241
+ opacity: 0;
242
+ background-position: 0 -23px;
243
+ }
244
+
245
+ 100% {
246
+ opacity: 1;
247
+ background-position: -200px -23px;
248
+ }
249
+ `,oN=typeof wg!="string"?So`
250
+ animation: ${wg} 3s infinite linear;
251
+ `:null,iN=e=>{const{classes:t,variant:n,color:i}=e,a={root:["root",`color${ee(i)}`,n],dashed:["dashed",`dashedColor${ee(i)}`],bar1:["bar","bar1",`barColor${ee(i)}`,(n==="indeterminate"||n==="query")&&"bar1Indeterminate",n==="determinate"&&"bar1Determinate",n==="buffer"&&"bar1Buffer"],bar2:["bar","bar2",n!=="buffer"&&`barColor${ee(i)}`,n==="buffer"&&`color${ee(i)}`,(n==="indeterminate"||n==="query")&&"bar2Indeterminate",n==="buffer"&&"bar2Buffer"]};return $e(a,Sw,t)},Oh=(e,t)=>e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:e.palette.mode==="light"?Wr(e.palette[t].main,.62):_r(e.palette[t].main,.5),aN=X("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${ee(n.color)}`],t[n.variant]]}})(xe(({theme:e})=>({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},variants:[...Object.entries(e.palette).filter(kt()).map(([t])=>({props:{color:t},style:{backgroundColor:Oh(e,t)}})),{props:({ownerState:t})=>t.color==="inherit"&&t.variant!=="buffer",style:{"&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}}},{props:{variant:"buffer"},style:{backgroundColor:"transparent"}},{props:{variant:"query"},style:{transform:"rotate(180deg)"}}]}))),sN=X("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.dashed,t[`dashedColor${ee(n.color)}`]]}})(xe(({theme:e})=>({position:"absolute",marginTop:0,height:"100%",width:"100%",backgroundSize:"10px 10px",backgroundPosition:"0 -23px",variants:[{props:{color:"inherit"},style:{opacity:.3,backgroundImage:"radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"}},...Object.entries(e.palette).filter(kt()).map(([t])=>{const n=Oh(e,t);return{props:{color:t},style:{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`}}})]})),oN||{animation:`${wg} 3s infinite linear`}),lN=X("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t.bar1,t[`barColor${ee(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&t.bar1Indeterminate,n.variant==="determinate"&&t.bar1Determinate,n.variant==="buffer"&&t.bar1Buffer]}})(xe(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[{props:{color:"inherit"},style:{backgroundColor:"currentColor"}},...Object.entries(e.palette).filter(kt()).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main}})),{props:{variant:"determinate"},style:{transition:`transform .${xg}s linear`}},{props:{variant:"buffer"},style:{zIndex:1,transition:`transform .${xg}s linear`}},{props:({ownerState:t})=>t.variant==="indeterminate"||t.variant==="query",style:{width:"auto"}},{props:({ownerState:t})=>t.variant==="indeterminate"||t.variant==="query",style:nN||{animation:`${Sg} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]}))),cN=X("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t.bar2,t[`barColor${ee(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&t.bar2Indeterminate,n.variant==="buffer"&&t.bar2Buffer]}})(xe(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[...Object.entries(e.palette).filter(kt()).map(([t])=>({props:{color:t},style:{"--LinearProgressBar2-barColor":(e.vars||e).palette[t].main}})),{props:({ownerState:t})=>t.variant!=="buffer"&&t.color!=="inherit",style:{backgroundColor:"var(--LinearProgressBar2-barColor, currentColor)"}},{props:({ownerState:t})=>t.variant!=="buffer"&&t.color==="inherit",style:{backgroundColor:"currentColor"}},{props:{color:"inherit"},style:{opacity:.3}},...Object.entries(e.palette).filter(kt()).map(([t])=>({props:{color:t,variant:"buffer"},style:{backgroundColor:Oh(e,t),transition:`transform .${xg}s linear`}})),{props:({ownerState:t})=>t.variant==="indeterminate"||t.variant==="query",style:{width:"auto"}},{props:({ownerState:t})=>t.variant==="indeterminate"||t.variant==="query",style:rN||{animation:`${Cg} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]}))),Cw=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiLinearProgress"}),{className:a,color:s="primary",value:c,valueBuffer:u,variant:d="indeterminate",...f}=i,m={...i,color:s,variant:d},y=iN(m),x=oo(),P={},C={bar1:{},bar2:{}};if((d==="determinate"||d==="buffer")&&c!==void 0){P["aria-valuenow"]=Math.round(c),P["aria-valuemin"]=0,P["aria-valuemax"]=100;let b=c-100;x&&(b=-b),C.bar1.transform=`translateX(${b}%)`}if(d==="buffer"&&u!==void 0){let b=(u||0)-100;x&&(b=-b),C.bar2.transform=`translateX(${b}%)`}return g.jsxs(aN,{className:ae(y.root,a),ownerState:m,role:"progressbar",...P,ref:n,...f,children:[d==="buffer"?g.jsx(sN,{className:y.dashed,ownerState:m}):null,g.jsx(lN,{className:y.bar1,ownerState:m,style:C.bar1}),d==="determinate"?null:g.jsx(cN,{className:y.bar2,ownerState:m,style:C.bar2})]})});function ww(e){return Ee("MuiLink",e)}const kw=Ie("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),uN=({theme:e,ownerState:t})=>{const n=t.color,i=xi(e,`palette.${n}.main`,!1)||xi(e,`palette.${n}`,!1)||t.color,a=xi(e,`palette.${n}.mainChannel`)||xi(e,`palette.${n}Channel`);return"vars"in e&&a?`rgba(${a} / 0.4)`:Qe(i,.4)},Xb={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},dN=e=>{const{classes:t,component:n,focusVisible:i,underline:a}=e,s={root:["root",`underline${ee(a)}`,n==="button"&&"button",i&&"focusVisible"]};return $e(s,ww,t)},pN=X(zt,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${ee(n.underline)}`],n.component==="button"&&t.button]}})(xe(({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:t,ownerState:n})=>t==="always"&&n.color!=="inherit",style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(e.palette).filter(kt()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.4)`:Qe(e.palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Qe(e.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.secondaryChannel} / 0.4)`:Qe(e.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${kw.focusVisible}`]:{outline:"auto"}}}]}))),fN=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiLink"}),a=Cn(),{className:s,color:c="primary",component:u="a",onBlur:d,onFocus:f,TypographyClasses:m,underline:y="always",variant:x="inherit",sx:P,...C}=i,[b,k]=h.useState(!1),w=O=>{bo(O.target)||k(!1),d&&d(O)},T=O=>{bo(O.target)&&k(!0),f&&f(O)},R={...i,color:c,component:u,focusVisible:b,underline:y,variant:x},I=dN(R);return g.jsx(pN,{color:c,className:ae(I.root,s),classes:m,component:u,onBlur:w,onFocus:T,ref:n,ownerState:R,variant:x,...C,sx:[...Xb[c]===void 0?[{color:c}]:[],...Array.isArray(P)?P:[P]],style:{...C.style,...y==="always"&&c!=="inherit"&&!Xb[c]&&{"--Link-underlineColor":uN({theme:a,ownerState:R})}}})}),Fr=h.createContext({});function Rw(e){return Ee("MuiList",e)}const mN=Ie("MuiList",["root","padding","dense","subheader"]),gN=e=>{const{classes:t,disablePadding:n,dense:i,subheader:a}=e;return $e({root:["root",!n&&"padding",i&&"dense",a&&"subheader"]},Rw,t)},hN=X("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),Ri=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiList"}),{children:a,className:s,component:c="ul",dense:u=!1,disablePadding:d=!1,subheader:f,...m}=i,y=h.useMemo(()=>({dense:u}),[u]),x={...i,component:c,dense:u,disablePadding:d},P=gN(x);return g.jsx(Fr.Provider,{value:y,children:g.jsxs(hN,{as:c,className:ae(P.root,s),ref:n,ownerState:x,...m,children:[f,a]})})});function Pw(e){return Ee("MuiListItem",e)}const vN=Ie("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);function Tw(e){return Ee("MuiListItemButton",e)}const ta=Ie("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),yN=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]},bN=e=>{const{alignItems:t,classes:n,dense:i,disabled:a,disableGutters:s,divider:c,selected:u}=e,f=$e({root:["root",i&&"dense",!s&&"gutters",c&&"divider",a&&"disabled",t==="flex-start"&&"alignItemsFlexStart",u&&"selected"]},Tw,n);return{...n,...f}},xN=X($n,{shouldForwardProp:e=>wn(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:yN})(xe(({theme:e})=>({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ta.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${ta.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${ta.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${ta.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ta.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.dense,style:{paddingTop:4,paddingBottom:4}}]}))),Br=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiListItemButton"}),{alignItems:a="center",autoFocus:s=!1,component:c="div",children:u,dense:d=!1,disableGutters:f=!1,divider:m=!1,focusVisibleClassName:y,selected:x=!1,className:P,...C}=i,b=h.useContext(Fr),k=h.useMemo(()=>({dense:d||b.dense||!1,alignItems:a,disableGutters:f}),[a,b.dense,d,f]),w=h.useRef(null);xn(()=>{s&&w.current&&w.current.focus()},[s]);const T={...i,alignItems:a,dense:k.dense,disableGutters:f,divider:m,selected:x},R=bN(T),I=Lt(w,n);return g.jsx(Fr.Provider,{value:k,children:g.jsx(xN,{ref:I,href:C.href||C.to,component:(C.href||C.to)&&c==="div"?"button":c,focusVisibleClassName:ae(R.focusVisible,y),ownerState:T,className:ae(R.root,P),...C,classes:R,children:u})})});function Ew(e){return Ee("MuiListItemSecondaryAction",e)}const SN=Ie("MuiListItemSecondaryAction",["root","disableGutters"]),CN=e=>{const{disableGutters:t,classes:n}=e;return $e({root:["root",t&&"disableGutters"]},Ew,n)},wN=X("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),Ah=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiListItemSecondaryAction"}),{className:a,...s}=i,c=h.useContext(Fr),u={...i,disableGutters:c.disableGutters},d=CN(u);return g.jsx(wN,{className:ae(d.root,a),ownerState:u,ref:n,...s})});Ah.muiName="ListItemSecondaryAction";const kN=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.hasSecondaryAction&&t.secondaryAction]},RN=e=>{const{alignItems:t,classes:n,dense:i,disableGutters:a,disablePadding:s,divider:c,hasSecondaryAction:u}=e;return $e({root:["root",i&&"dense",!a&&"gutters",!s&&"padding",c&&"divider",t==="flex-start"&&"alignItemsFlexStart",u&&"secondaryAction"],container:["container"]},Pw,n)},PN=X("div",{name:"MuiListItem",slot:"Root",overridesResolver:kN})(xe(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:t})=>!t.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:t})=>!t.disablePadding&&t.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:t})=>!t.disablePadding&&!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>!t.disablePadding&&!!t.secondaryAction,style:{paddingRight:48}},{props:({ownerState:t})=>!!t.secondaryAction,style:{[`& > .${ta.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>t.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:t})=>t.hasSecondaryAction,style:{paddingRight:48}}]}))),TN=X("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Ci=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiListItem"}),{alignItems:a="center",children:s,className:c,component:u,components:d={},componentsProps:f={},ContainerComponent:m="li",ContainerProps:{className:y,...x}={},dense:P=!1,disableGutters:C=!1,disablePadding:b=!1,divider:k=!1,secondaryAction:w,slotProps:T={},slots:R={},...I}=i,O=h.useContext(Fr),j=h.useMemo(()=>({dense:P||O.dense||!1,alignItems:a,disableGutters:C}),[a,O.dense,P,C]),A=h.useRef(null),N=h.Children.toArray(s),$=N.length&&vo(N[N.length-1],["ListItemSecondaryAction"]),S={...i,alignItems:a,dense:j.dense,disableGutters:C,disablePadding:b,divider:k,hasSecondaryAction:$},L=RN(S),U=Lt(A,n),M=R.root||d.Root||PN,D=T.root||f.root||{},W={className:ae(L.root,D.className,c),...I};let H=u||"li";return $?(H=!W.component&&!u?"div":H,m==="li"&&(H==="li"?H="div":W.component==="li"&&(W.component="div")),g.jsx(Fr.Provider,{value:j,children:g.jsxs(TN,{as:m,className:ae(L.container,y),ref:U,ownerState:S,...x,children:[g.jsx(M,{...D,...!_o(M)&&{as:H,ownerState:{...S,...D.ownerState}},...W,children:N}),N.pop()]})})):g.jsx(Fr.Provider,{value:j,children:g.jsxs(M,{...D,as:H,ref:U,...!_o(M)&&{ownerState:{...S,...D.ownerState}},...W,children:[N,w&&g.jsx(Ah,{children:w})]})})});function Iw(e){return Ee("MuiListItemAvatar",e)}const EN=Ie("MuiListItemAvatar",["root","alignItemsFlexStart"]),IN=e=>{const{alignItems:t,classes:n}=e;return $e({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},Iw,n)},$N=X("div",{name:"MuiListItemAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})({minWidth:56,flexShrink:0,variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}),MN=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiListItemAvatar"}),{className:a,...s}=i,c=h.useContext(Fr),u={...i,alignItems:c.alignItems},d=IN(u);return g.jsx($N,{className:ae(d.root,a),ownerState:u,ref:n,...s})});function $w(e){return Ee("MuiListItemIcon",e)}const kg=Ie("MuiListItemIcon",["root","alignItemsFlexStart"]),ON=e=>{const{alignItems:t,classes:n}=e;return $e({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},$w,n)},AN=X("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(xe(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),jN=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiListItemIcon"}),{className:a,...s}=i,c=h.useContext(Fr),u={...i,alignItems:c.alignItems},d=ON(u);return g.jsx(AN,{className:ae(d.root,a),ownerState:u,ref:n,...s})});function Mw(e){return Ee("MuiListItemText",e)}const aa=Ie("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),LN=e=>{const{classes:t,inset:n,primary:i,secondary:a,dense:s}=e;return $e({root:["root",n&&"inset",s&&"dense",i&&a&&"multiline"],primary:["primary"],secondary:["secondary"]},Mw,t)},NN=X("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${aa.primary}`]:t.primary},{[`& .${aa.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${Ql.root}:where(& .${aa.primary})`]:{display:"block"},[`.${Ql.root}:where(& .${aa.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),Dr=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiListItemText"}),{children:a,className:s,disableTypography:c=!1,inset:u=!1,primary:d,primaryTypographyProps:f,secondary:m,secondaryTypographyProps:y,slots:x={},slotProps:P={},...C}=i,{dense:b}=h.useContext(Fr);let k=d??a,w=m;const T={...i,disableTypography:c,inset:u,primary:!!k,secondary:!!w,dense:b},R=LN(T),I={slots:x,slotProps:{primary:f,secondary:y,...P}},[O,j]=Le("root",{className:ae(R.root,s),elementType:NN,externalForwardedProps:{...I,...C},ownerState:T,ref:n}),[A,N]=Le("primary",{className:R.primary,elementType:zt,externalForwardedProps:I,ownerState:T}),[$,S]=Le("secondary",{className:R.secondary,elementType:zt,externalForwardedProps:I,ownerState:T});return k!=null&&k.type!==zt&&!c&&(k=g.jsx(A,{variant:b?"body2":"body1",component:N!=null&&N.variant?void 0:"span",...N,children:k})),w!=null&&w.type!==zt&&!c&&(w=g.jsx($,{variant:"body2",color:"textSecondary",...S,children:w})),g.jsxs(O,{...j,children:[k,w]})});function Sm(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Qb(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Ow(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(""))}function pl(e,t,n,i,a,s){let c=!1,u=a(e,t,t?n:!1);for(;u;){if(u===e.firstChild){if(c)return!1;c=!0}const d=i?!1:u.disabled||u.getAttribute("aria-disabled")==="true";if(!u.hasAttribute("tabindex")||!Ow(u,s)||d)u=a(e,u,n);else return u.focus(),!0}return!1}const Aw=h.forwardRef(function(t,n){const{actions:i,autoFocus:a=!1,autoFocusItem:s=!1,children:c,className:u,disabledItemsFocusable:d=!1,disableListWrap:f=!1,onKeyDown:m,variant:y="selectedMenu",...x}=t,P=h.useRef(null),C=h.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});xn(()=>{a&&P.current.focus()},[a]),h.useImperativeHandle(i,()=>({adjustStyleForScrollbar:(R,{direction:I})=>{const O=!P.current.style.width;if(R.clientHeight<P.current.clientHeight&&O){const j=`${q1(In(R))}px`;P.current.style[I==="rtl"?"paddingLeft":"paddingRight"]=j,P.current.style.width=`calc(100% + ${j})`}return P.current}}),[]);const b=R=>{const I=P.current,O=R.key;if(R.ctrlKey||R.metaKey||R.altKey){m&&m(R);return}const A=Kt(I).activeElement;if(O==="ArrowDown")R.preventDefault(),pl(I,A,f,d,Sm);else if(O==="ArrowUp")R.preventDefault(),pl(I,A,f,d,Qb);else if(O==="Home")R.preventDefault(),pl(I,null,f,d,Sm);else if(O==="End")R.preventDefault(),pl(I,null,f,d,Qb);else if(O.length===1){const N=C.current,$=O.toLowerCase(),S=performance.now();N.keys.length>0&&(S-N.lastTime>500?(N.keys=[],N.repeating=!0,N.previousKeyMatched=!0):N.repeating&&$!==N.keys[0]&&(N.repeating=!1)),N.lastTime=S,N.keys.push($);const L=A&&!N.repeating&&Ow(A,N);N.previousKeyMatched&&(L||pl(I,A,!1,d,Sm,N))?R.preventDefault():N.previousKeyMatched=!1}m&&m(R)},k=Lt(P,n);let w=-1;h.Children.forEach(c,(R,I)=>{if(!h.isValidElement(R)){w===I&&(w+=1,w>=c.length&&(w=-1));return}R.props.disabled||(y==="selectedMenu"&&R.props.selected||w===-1)&&(w=I),w===I&&(R.props.disabled||R.props.muiSkipListHighlight||R.type.muiSkipListHighlight)&&(w+=1,w>=c.length&&(w=-1))});const T=h.Children.map(c,(R,I)=>{if(I===w){const O={};return s&&(O.autoFocus=!0),R.props.tabIndex===void 0&&y==="selectedMenu"&&(O.tabIndex=0),h.cloneElement(R,O)}return R});return g.jsx(Ri,{role:"menu",ref:k,className:u,onKeyDown:b,tabIndex:a?0:-1,...x,children:T})});function jw(e){return Ee("MuiPopover",e)}const BN=Ie("MuiPopover",["root","paper"]);function Rg(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function Pg(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function Jb(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function Bu(e){return typeof e=="function"?e():e}const DN=e=>{const{classes:t}=e;return $e({root:["root"],paper:["paper"]},jw,t)},Lw=X(sp,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),jh=X(Gn,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Lh=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiPopover"}),{action:a,anchorEl:s,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:d="anchorEl",children:f,className:m,container:y,elevation:x=8,marginThreshold:P=16,open:C,PaperProps:b={},slots:k={},slotProps:w={},transformOrigin:T={vertical:"top",horizontal:"left"},TransitionComponent:R,transitionDuration:I="auto",TransitionProps:O={},disableScrollLock:j=!1,...A}=i,N=h.useRef(),$={...i,anchorOrigin:c,anchorReference:d,elevation:x,marginThreshold:P,transformOrigin:T,TransitionComponent:R,transitionDuration:I,TransitionProps:O},S=DN($),L=h.useCallback(()=>{if(d==="anchorPosition")return u;const ue=Bu(s),ce=(ue&&ue.nodeType===1?ue:Kt(N.current).body).getBoundingClientRect();return{top:ce.top+Rg(ce,c.vertical),left:ce.left+Pg(ce,c.horizontal)}},[s,c.horizontal,c.vertical,u,d]),U=h.useCallback(ue=>({vertical:Rg(ue,T.vertical),horizontal:Pg(ue,T.horizontal)}),[T.horizontal,T.vertical]),M=h.useCallback(ue=>{const ge={width:ue.offsetWidth,height:ue.offsetHeight},ce=U(ge);if(d==="none")return{top:null,left:null,transformOrigin:Jb(ce)};const he=L();let Se=he.top-ce.vertical,Ae=he.left-ce.horizontal;const He=Se+ge.height,fe=Ae+ge.width,ve=In(Bu(s)),Ne=ve.innerHeight-P,Be=ve.innerWidth-P;if(P!==null&&Se<P){const be=Se-P;Se-=be,ce.vertical+=be}else if(P!==null&&He>Ne){const be=He-Ne;Se-=be,ce.vertical+=be}if(P!==null&&Ae<P){const be=Ae-P;Ae-=be,ce.horizontal+=be}else if(fe>Be){const be=fe-Be;Ae-=be,ce.horizontal+=be}return{top:`${Math.round(Se)}px`,left:`${Math.round(Ae)}px`,transformOrigin:Jb(ce)}},[s,d,L,U,P]),[D,W]=h.useState(C),H=h.useCallback(()=>{const ue=N.current;if(!ue)return;const ge=M(ue);ge.top!==null&&ue.style.setProperty("top",ge.top),ge.left!==null&&(ue.style.left=ge.left),ue.style.transformOrigin=ge.transformOrigin,W(!0)},[M]);h.useEffect(()=>(j&&window.addEventListener("scroll",H),()=>window.removeEventListener("scroll",H)),[s,j,H]);const q=()=>{H()},F=()=>{W(!1)};h.useEffect(()=>{C&&H()}),h.useImperativeHandle(a,()=>C?{updatePosition:()=>{H()}}:null,[C,H]),h.useEffect(()=>{if(!C)return;const ue=ha(()=>{H()}),ge=In(Bu(s));return ge.addEventListener("resize",ue),()=>{ue.clear(),ge.removeEventListener("resize",ue)}},[s,C,H]);let _=I;const V={slots:{transition:R,...k},slotProps:{transition:O,paper:b,...w}},[B,G]=Le("transition",{elementType:gs,externalForwardedProps:V,ownerState:$,getSlotProps:ue=>({...ue,onEntering:(ge,ce)=>{var he;(he=ue.onEntering)==null||he.call(ue,ge,ce),q()},onExited:ge=>{var ce;(ce=ue.onExited)==null||ce.call(ue,ge),F()}}),additionalProps:{appear:!0,in:C}});I==="auto"&&!B.muiSupportAuto&&(_=void 0);const Z=y||(s?Kt(Bu(s)).body:void 0),[te,{slots:K,slotProps:J,...Q}]=Le("root",{ref:n,elementType:Lw,externalForwardedProps:{...V,...A},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:k.backdrop},slotProps:{backdrop:Ti(typeof w.backdrop=="function"?w.backdrop($):w.backdrop,{invisible:!0})},container:Z,open:C},ownerState:$,className:ae(S.root,m)}),[ie,se]=Le("paper",{ref:N,className:S.paper,elementType:jh,externalForwardedProps:V,shouldForwardComponentProp:!0,additionalProps:{elevation:x,style:D?void 0:{opacity:0}},ownerState:$});return g.jsx(te,{...Q,...!_o(te)&&{slots:K,slotProps:J,disableScrollLock:j},children:g.jsx(B,{...G,timeout:_,children:g.jsx(ie,{...se,children:f})})})});function Nw(e){return Ee("MuiMenu",e)}const zN=Ie("MuiMenu",["root","paper","list"]),FN={vertical:"top",horizontal:"right"},_N={vertical:"top",horizontal:"left"},WN=e=>{const{classes:t}=e;return $e({root:["root"],paper:["paper"],list:["list"]},Nw,t)},HN=X(Lh,{shouldForwardProp:e=>wn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),UN=X(jh,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),VN=X(Aw,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Bw=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiMenu"}),{autoFocus:a=!0,children:s,className:c,disableAutoFocusItem:u=!1,MenuListProps:d={},onClose:f,open:m,PaperProps:y={},PopoverClasses:x,transitionDuration:P="auto",TransitionProps:{onEntering:C,...b}={},variant:k="selectedMenu",slots:w={},slotProps:T={},...R}=i,I=oo(),O={...i,autoFocus:a,disableAutoFocusItem:u,MenuListProps:d,onEntering:C,PaperProps:y,transitionDuration:P,TransitionProps:b,variant:k},j=WN(O),A=a&&!u&&m,N=h.useRef(null),$=(_,V)=>{N.current&&N.current.adjustStyleForScrollbar(_,{direction:I?"rtl":"ltr"}),C&&C(_,V)},S=_=>{_.key==="Tab"&&(_.preventDefault(),f&&f(_,"tabKeyDown"))};let L=-1;h.Children.map(s,(_,V)=>{h.isValidElement(_)&&(_.props.disabled||(k==="selectedMenu"&&_.props.selected||L===-1)&&(L=V))});const U={slots:w,slotProps:{list:d,transition:b,paper:y,...T}},M=Yn({elementType:w.root,externalSlotProps:T.root,ownerState:O,className:[j.root,c]}),[D,W]=Le("paper",{className:j.paper,elementType:UN,externalForwardedProps:U,shouldForwardComponentProp:!0,ownerState:O}),[H,q]=Le("list",{className:ae(j.list,d.className),elementType:VN,shouldForwardComponentProp:!0,externalForwardedProps:U,getSlotProps:_=>({..._,onKeyDown:V=>{var B;S(V),(B=_.onKeyDown)==null||B.call(_,V)}}),ownerState:O}),F=typeof U.slotProps.transition=="function"?U.slotProps.transition(O):U.slotProps.transition;return g.jsx(HN,{onClose:f,anchorOrigin:{vertical:"bottom",horizontal:I?"right":"left"},transformOrigin:I?FN:_N,slots:{root:w.root,paper:D,backdrop:w.backdrop,...w.transition&&{transition:w.transition}},slotProps:{root:M,paper:W,backdrop:typeof T.backdrop=="function"?T.backdrop(O):T.backdrop,transition:{...F,onEntering:(..._)=>{var V;$(..._),(V=F==null?void 0:F.onEntering)==null||V.call(F,..._)}}},open:m,ref:n,transitionDuration:P,ownerState:O,...R,classes:x,children:g.jsx(H,{actions:N,autoFocus:a&&(L===-1||u),autoFocusItem:A,variant:k,...q,children:s})})});function Dw(e){return Ee("MuiMenuItem",e)}const Qa=Ie("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),GN=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},qN=e=>{const{disabled:t,dense:n,divider:i,disableGutters:a,selected:s,classes:c}=e,d=$e({root:["root",n&&"dense",t&&"disabled",!a&&"gutters",i&&"divider",s&&"selected"]},Dw,c);return{...c,...d}},KN=X($n,{shouldForwardProp:e=>wn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:GN})(xe(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Qa.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Qa.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Qa.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Qa.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Qa.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${gg.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${gg.inset}`]:{marginLeft:52},[`& .${aa.root}`]:{marginTop:0,marginBottom:0},[`& .${aa.inset}`]:{paddingLeft:36},[`& .${kg.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${kg.root} svg`]:{fontSize:"1.25rem"}}}]}))),zw=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiMenuItem"}),{autoFocus:a=!1,component:s="li",dense:c=!1,divider:u=!1,disableGutters:d=!1,focusVisibleClassName:f,role:m="menuitem",tabIndex:y,className:x,...P}=i,C=h.useContext(Fr),b=h.useMemo(()=>({dense:c||C.dense||!1,disableGutters:d}),[C.dense,c,d]),k=h.useRef(null);xn(()=>{a&&k.current&&k.current.focus()},[a]);const w={...i,dense:b.dense,divider:u,disableGutters:d},T=qN(i),R=Lt(k,n);let I;return i.disabled||(I=y!==void 0?y:-1),g.jsx(Fr.Provider,{value:b,children:g.jsx(KN,{ref:R,role:m,tabIndex:I,component:s,focusVisibleClassName:ae(T.focusVisible,f),className:ae(T.root,x),...P,ownerState:w,classes:T})})});function Fw(e){return Ee("MuiMobileStepper",e)}const YN=Ie("MuiMobileStepper",["root","positionBottom","positionTop","positionStatic","dots","dot","dotActive","progress"]),XN=e=>{const{classes:t,position:n}=e,i={root:["root",`position${ee(n)}`],dots:["dots"],dot:["dot"],dotActive:["dotActive"],progress:["progress"]};return $e(i,Fw,t)},QN=X(Gn,{name:"MuiMobileStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${ee(n.position)}`]]}})(xe(({theme:e})=>({display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",background:(e.vars||e).palette.background.default,padding:8,variants:[{props:({position:t})=>t==="top"||t==="bottom",style:{position:"fixed",left:0,right:0,zIndex:(e.vars||e).zIndex.mobileStepper}},{props:{position:"top"},style:{top:0}},{props:{position:"bottom"},style:{bottom:0}}]}))),JN=X("div",{name:"MuiMobileStepper",slot:"Dots",overridesResolver:(e,t)=>t.dots})({variants:[{props:{variant:"dots"},style:{display:"flex",flexDirection:"row"}}]}),ZN=X("div",{name:"MuiMobileStepper",slot:"Dot",shouldForwardProp:e=>Cs(e)&&e!=="dotActive",overridesResolver:(e,t)=>{const{dotActive:n}=e;return[t.dot,n&&t.dotActive]}})(xe(({theme:e})=>({variants:[{props:{variant:"dots"},style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),backgroundColor:(e.vars||e).palette.action.disabled,borderRadius:"50%",width:8,height:8,margin:"0 2px"}},{props:{variant:"dots",dotActive:!0},style:{backgroundColor:(e.vars||e).palette.primary.main}}]}))),eB=X(Cw,{name:"MuiMobileStepper",slot:"Progress",overridesResolver:(e,t)=>t.progress})({variants:[{props:{variant:"progress"},style:{width:"50%"}}]}),tB=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiMobileStepper"}),{activeStep:a=0,backButton:s,className:c,LinearProgressProps:u,nextButton:d,position:f="bottom",steps:m,variant:y="dots",slots:x={},slotProps:P={},...C}=i,b={...i,activeStep:a,position:f,variant:y};let k;y==="progress"&&(m===1?k=100:k=Math.ceil(a/(m-1)*100));const w=XN(b),T={slots:x,slotProps:{progress:u,...P}},[R,I]=Le("root",{ref:n,elementType:QN,shouldForwardComponentProp:!0,className:ae(w.root,c),externalForwardedProps:{...T,...C},ownerState:b,additionalProps:{square:!0,elevation:0}}),[O,j]=Le("dots",{className:w.dots,elementType:JN,externalForwardedProps:T,ownerState:b}),[A,N]=Le("dot",{elementType:ZN,externalForwardedProps:T,ownerState:b}),[$,S]=Le("progress",{className:w.progress,elementType:eB,shouldForwardComponentProp:!0,externalForwardedProps:T,ownerState:b,additionalProps:{value:k,variant:"determinate"}});return g.jsxs(R,{...I,children:[s,y==="text"&&g.jsxs(h.Fragment,{children:[a+1," / ",m]}),y==="dots"&&g.jsx(O,{...j,children:[...new Array(m)].map((L,U)=>g.jsx(A,{...N,className:ae(w.dot,N.className,U===a&&w.dotActive),dotActive:U===a},U))}),y==="progress"&&g.jsx($,{...S}),d]})});function Nh(e){return Ee("MuiNativeSelect",e)}const up=Ie("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),nB=e=>{const{classes:t,variant:n,disabled:i,multiple:a,open:s,error:c}=e,u={select:["select",n,i&&"disabled",a&&"multiple",c&&"error"],icon:["icon",`icon${ee(n)}`,s&&"iconOpen",i&&"disabled"]};return $e(u,Nh,t)},_w=X("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${up.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),rB=X(_w,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:wn,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${up.multiple}`]:t.multiple}]}})({}),Ww=X("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${up.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),oB=X(Ww,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ee(n.variant)}`],n.open&&t.iconOpen]}})({}),Hw=h.forwardRef(function(t,n){const{className:i,disabled:a,error:s,IconComponent:c,inputRef:u,variant:d="standard",...f}=t,m={...t,disabled:a,variant:d,error:s},y=nB(m);return g.jsxs(h.Fragment,{children:[g.jsx(rB,{ownerState:m,className:ae(y.select,i),disabled:a,ref:u||n,...f}),t.multiple?null:g.jsx(oB,{as:c,ownerState:m,className:y.icon})]})}),iB=e=>{const{classes:t}=e;return $e({root:["root"]},Nh,t)},aB=g.jsx(hc,{}),Uw=h.forwardRef(function(t,n){const i=Oe({name:"MuiNativeSelect",props:t}),{className:a,children:s,classes:c={},IconComponent:u=wh,input:d=aB,inputProps:f,variant:m,...y}=i,x=Tr(),P=Ko({props:i,muiFormControl:x,states:["variant"]}),C={...i,classes:c},b=iB(C),{root:k,...w}=c;return g.jsx(h.Fragment,{children:h.cloneElement(d,{inputComponent:Hw,inputProps:{children:s,classes:w,IconComponent:u,variant:P.variant,type:void 0,...f,...d?d.props.inputProps:{}},ref:n,...y,className:ae(b.root,d.props.className,a)})})});Uw.muiName="Select";function Vw(e){const{children:t,defer:n=!1,fallback:i=null}=e,[a,s]=h.useState(!1);return xn(()=>{n||s(!0)},[n]),h.useEffect(()=>{n&&s(!0)},[n]),a?t:i}var Zb;const sB=X("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:wn})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),lB=X("legend",{name:"MuiNotchedOutlined",shouldForwardProp:wn})(xe(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function cB(e){const{children:t,classes:n,className:i,label:a,notched:s,...c}=e,u=a!=null&&a!=="",d={...e,notched:s,withLabel:u};return g.jsx(sB,{"aria-hidden":!0,className:i,ownerState:d,...c,children:g.jsx(lB,{ownerState:d,children:u?g.jsx("span",{children:a}):Zb||(Zb=g.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}const uB=e=>{const{classes:t}=e,i=$e({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},sC,t);return{...t,...i}},dB=X(ip,{shouldForwardProp:e=>wn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:rp})(xe(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${xr.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${xr.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${xr.focused} .${xr.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(kt()).map(([n])=>({props:{color:n},style:{[`&.${xr.focused} .${xr.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{[`&.${xr.error} .${xr.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${xr.disabled} .${xr.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:14}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:14}},{props:({ownerState:n})=>n.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:n,size:i})=>n.multiline&&i==="small",style:{padding:"8.5px 14px"}}]}})),pB=X(cB,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(xe(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),fB=X(ap,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:op})(xe(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),dp=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiOutlinedInput"}),{components:a={},fullWidth:s=!1,inputComponent:c="input",label:u,multiline:d=!1,notched:f,slots:m={},slotProps:y={},type:x="text",...P}=i,C=uB(i),b=Tr(),k=Ko({props:i,muiFormControl:b,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),w={...i,color:k.color||"primary",disabled:k.disabled,error:k.error,focused:k.focused,formControl:b,fullWidth:s,hiddenLabel:k.hiddenLabel,multiline:d,size:k.size,type:x},T=m.root??a.Root??dB,R=m.input??a.Input??fB,[I,O]=Le("notchedOutline",{elementType:pB,className:C.notchedOutline,shouldForwardComponentProp:!0,ownerState:w,externalForwardedProps:{slots:m,slotProps:y},additionalProps:{label:u!=null&&u!==""&&k.required?g.jsxs(h.Fragment,{children:[u," ","*"]}):u}});return g.jsx(gc,{slots:{root:T,input:R},slotProps:y,renderSuffix:j=>g.jsx(I,{...O,notched:typeof f<"u"?f:!!(j.startAdornment||j.filled||j.focused)}),fullWidth:s,inputComponent:c,multiline:d,ref:n,type:x,...P,classes:{...C,notchedOutline:null}})});dp.muiName="Input";function Gw(e){return Ee("MuiPagination",e)}const mB=Ie("MuiPagination",["root","ul","outlined","text"]);function qw(e={}){const{boundaryCount:t=1,componentName:n="usePagination",count:i=1,defaultPage:a=1,disabled:s=!1,hideNextButton:c=!1,hidePrevButton:u=!1,onChange:d,page:f,showFirstButton:m=!1,showLastButton:y=!1,siblingCount:x=1,...P}=e,[C,b]=Qn({controlled:f,default:a,name:n,state:"page"}),k=($,S)=>{f||b(S),d&&d($,S)},w=($,S)=>{const L=S-$+1;return Array.from({length:L},(U,M)=>$+M)},T=w(1,Math.min(t,i)),R=w(Math.max(i-t+1,t+1),i),I=Math.max(Math.min(C-x,i-t-x*2-1),t+2),O=Math.min(Math.max(C+x,t+x*2+2),i-t-1),j=[...m?["first"]:[],...u?[]:["previous"],...T,...I>t+2?["start-ellipsis"]:t+1<i-t?[t+1]:[],...w(I,O),...O<i-t-1?["end-ellipsis"]:i-t>t?[i-t]:[],...R,...c?[]:["next"],...y?["last"]:[]],A=$=>{switch($){case"first":return 1;case"previous":return C-1;case"next":return C+1;case"last":return i;default:return null}};return{items:j.map($=>typeof $=="number"?{onClick:S=>{k(S,$)},type:"page",page:$,selected:$===C,disabled:s,"aria-current":$===C?"page":void 0}:{onClick:S=>{k(S,A($))},type:$,page:A($),selected:!1,disabled:s||!$.includes("ellipsis")&&($==="next"||$==="last"?C>=i:C<=1)}),...P}}function Kw(e){return Ee("MuiPaginationItem",e)}const Un=Ie("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]),Yw=xt(g.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),Xw=xt(g.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),gB=xt(g.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),hB=xt(g.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),Qw=(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${ee(n.size)}`],n.variant==="text"&&t[`text${ee(n.color)}`],n.variant==="outlined"&&t[`outlined${ee(n.color)}`],n.shape==="rounded"&&t.rounded,n.type==="page"&&t.page,(n.type==="start-ellipsis"||n.type==="end-ellipsis")&&t.ellipsis,(n.type==="previous"||n.type==="next")&&t.previousNext,(n.type==="first"||n.type==="last")&&t.firstLast]},vB=e=>{const{classes:t,color:n,disabled:i,selected:a,size:s,shape:c,type:u,variant:d}=e,f={root:["root",`size${ee(s)}`,d,c,n!=="standard"&&`color${ee(n)}`,n!=="standard"&&`${d}${ee(n)}`,i&&"disabled",a&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[u]],icon:["icon"]};return $e(f,Kw,t)},yB=X("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:Qw})(xe(({theme:e})=>({...e.typography.body2,borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto",[`&.${Un.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:{size:"small"},style:{minWidth:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)}}]}))),bB=X($n,{name:"MuiPaginationItem",slot:"Root",overridesResolver:Qw})(xe(({theme:e})=>({...e.typography.body2,borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,[`&.${Un.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Un.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},transition:e.transitions.create(["color","background-color"],{duration:e.transitions.duration.short}),"&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Un.selected}`]:{backgroundColor:(e.vars||e).palette.action.selected,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Qe(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Un.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Qe(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},[`&.${Un.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}},variants:[{props:{size:"small"},style:{minWidth:26,height:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,height:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)}},{props:{shape:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"outlined"},style:{border:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:`1px solid ${e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${Un.selected}`]:{[`&.${Un.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}}}},{props:{variant:"text"},style:{[`&.${Un.selected}`]:{[`&.${Un.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}},...Object.entries(e.palette).filter(kt(["dark","contrastText"])).map(([t])=>({props:{variant:"text",color:t},style:{[`&.${Un.selected}`]:{color:(e.vars||e).palette[t].contrastText,backgroundColor:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:(e.vars||e).palette[t].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t].main}},[`&.${Un.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark},[`&.${Un.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}})),...Object.entries(e.palette).filter(kt(["light"])).map(([t])=>({props:{variant:"outlined",color:t},style:{[`&.${Un.selected}`]:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.5)`:Qe(e.palette[t].main,.5)}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.activatedOpacity})`:Qe(e.palette[t].main,e.palette.action.activatedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Qe(e.palette[t].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Un.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Qe(e.palette[t].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity)}}}}))]}))),xB=X("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:(e,t)=>t.icon})(xe(({theme:e})=>({fontSize:e.typography.pxToRem(20),margin:"0 -8px",variants:[{props:{size:"small"},style:{fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{fontSize:e.typography.pxToRem(22)}}]}))),Jw=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiPaginationItem"}),{className:a,color:s="standard",component:c,components:u={},disabled:d=!1,page:f,selected:m=!1,shape:y="circular",size:x="medium",slots:P={},slotProps:C={},type:b="page",variant:k="text",...w}=i,T={...i,color:s,disabled:d,selected:m,shape:y,size:x,type:b,variant:k},R=oo(),I=vB(T),O={slots:{previous:P.previous??u.previous,next:P.next??u.next,first:P.first??u.first,last:P.last??u.last},slotProps:C},[j,A]=Le("previous",{elementType:gB,externalForwardedProps:O,ownerState:T}),[N,$]=Le("next",{elementType:hB,externalForwardedProps:O,ownerState:T}),[S,L]=Le("first",{elementType:Yw,externalForwardedProps:O,ownerState:T}),[U,M]=Le("last",{elementType:Xw,externalForwardedProps:O,ownerState:T}),D=R?{previous:"next",next:"previous",first:"last",last:"first"}[b]:b,W={previous:j,next:N,first:S,last:U}[D],H={previous:A,next:$,first:L,last:M}[D];return b==="start-ellipsis"||b==="end-ellipsis"?g.jsx(yB,{ref:n,ownerState:T,className:ae(I.root,a),children:"…"}):g.jsxs(bB,{ref:n,ownerState:T,component:c,disabled:d,className:ae(I.root,a),...w,children:[b==="page"&&f,W?g.jsx(xB,{...H,className:I.icon,as:W}):null]})}),SB=e=>{const{classes:t,variant:n}=e;return $e({root:["root",n],ul:["ul"]},Gw,t)},CB=X("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant]]}})({}),wB=X("ul",{name:"MuiPagination",slot:"Ul",overridesResolver:(e,t)=>t.ul})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function kB(e,t,n){return e==="page"?`${n?"":"Go to "}page ${t}`:`Go to ${e} page`}const RB=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiPagination"}),{boundaryCount:a=1,className:s,color:c="standard",count:u=1,defaultPage:d=1,disabled:f=!1,getItemAriaLabel:m=kB,hideNextButton:y=!1,hidePrevButton:x=!1,onChange:P,page:C,renderItem:b=S=>g.jsx(Jw,{...S}),shape:k="circular",showFirstButton:w=!1,showLastButton:T=!1,siblingCount:R=1,size:I="medium",variant:O="text",...j}=i,{items:A}=qw({...i,componentName:"Pagination"}),N={...i,boundaryCount:a,color:c,count:u,defaultPage:d,disabled:f,getItemAriaLabel:m,hideNextButton:y,hidePrevButton:x,renderItem:b,shape:k,showFirstButton:w,showLastButton:T,siblingCount:R,size:I,variant:O},$=SB(N);return g.jsx(CB,{"aria-label":"pagination navigation",className:ae($.root,s),ownerState:N,ref:n,...j,children:g.jsx(wB,{className:$.ul,ownerState:N,children:A.map((S,L)=>g.jsx("li",{children:b({...S,color:c,"aria-label":m(S.type,S.page,S.selected),shape:k,size:I,variant:O})},L))})})}),PB=xt(g.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),TB=xt(g.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),EB=X("span",{name:"MuiRadioButtonIcon",shouldForwardProp:wn})({position:"relative",display:"flex"}),IB=X(PB,{name:"MuiRadioButtonIcon"})({transform:"scale(1)"}),$B=X(TB,{name:"MuiRadioButtonIcon"})(xe(({theme:e})=>({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})));function Zw(e){const{checked:t=!1,classes:n={},fontSize:i}=e,a={...e,checked:t};return g.jsxs(EB,{className:n.root,ownerState:a,children:[g.jsx(IB,{fontSize:i,className:n.background,ownerState:a}),g.jsx($B,{fontSize:i,className:n.dot,ownerState:a})]})}const ek=h.createContext(void 0);function tk(){return h.useContext(ek)}function nk(e){return Ee("MuiRadio",e)}const Tg=Ie("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),MB=e=>{const{classes:t,color:n,size:i}=e,a={root:["root",`color${ee(n)}`,i!=="medium"&&`size${ee(i)}`]};return{...t,...$e(a,nk,t)}},OB=X(Eh,{shouldForwardProp:e=>wn(e)||e==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size!=="medium"&&t[`size${ee(n.size)}`],t[`color${ee(n.color)}`]]}})(xe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${Tg.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(kt()).map(([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(kt()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${Tg.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function AB(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}const jB=g.jsx(Zw,{checked:!0}),LB=g.jsx(Zw,{}),NB=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiRadio"}),{checked:a,checkedIcon:s=jB,color:c="primary",icon:u=LB,name:d,onChange:f,size:m="medium",className:y,disabled:x,disableRipple:P=!1,slots:C={},slotProps:b={},inputProps:k,...w}=i,T=Tr();let R=x;T&&typeof R>"u"&&(R=T.disabled),R??(R=!1);const I={...i,disabled:R,disableRipple:P,color:c,size:m},O=MB(I),j=tk();let A=a;const N=Vl(f,j&&j.onChange);let $=d;j&&(typeof A>"u"&&(A=AB(j.value,i.value)),typeof $>"u"&&($=j.name));const S=b.input??k,[L,U]=Le("root",{ref:n,elementType:OB,className:ae(O.root,y),shouldForwardComponentProp:!0,externalForwardedProps:{slots:C,slotProps:b,...w},getSlotProps:M=>({...M,onChange:(D,...W)=>{var H;(H=M.onChange)==null||H.call(M,D,...W),N(D,...W)}}),ownerState:I,additionalProps:{type:"radio",icon:h.cloneElement(u,{fontSize:u.props.fontSize??m}),checkedIcon:h.cloneElement(s,{fontSize:s.props.fontSize??m}),disabled:R,name:$,checked:A,slots:C,slotProps:{input:typeof S=="function"?S(I):S}}});return g.jsx(L,{...U,classes:O})});function rk(e){return Ee("MuiRadioGroup",e)}const BB=Ie("MuiRadioGroup",["root","row","error"]),DB=e=>{const{classes:t,row:n,error:i}=e;return $e({root:["root",n&&"row",i&&"error"]},rk,t)},zB=h.forwardRef(function(t,n){const{actions:i,children:a,className:s,defaultValue:c,name:u,onChange:d,value:f,...m}=t,y=h.useRef(null),x=DB(t),[P,C]=Qn({controlled:f,default:c,name:"RadioGroup"});h.useImperativeHandle(i,()=>({focus:()=>{let T=y.current.querySelector("input:not(:disabled):checked");T||(T=y.current.querySelector("input:not(:disabled)")),T&&T.focus()}}),[]);const b=Lt(n,y),k=Jn(u),w=h.useMemo(()=>({name:k,onChange(T){C(T.target.value),d&&d(T,T.target.value)},value:P}),[k,d,C,P]);return g.jsx(ek.Provider,{value:w,children:g.jsx(zl,{role:"radiogroup",ref:b,className:ae(x.root,s),...m,children:a})})}),FB=xt(g.jsx("path",{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star"),_B=xt(g.jsx("path",{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarBorder");function ok(e){return Ee("MuiRating",e)}const Ja=Ie("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]);function WB(e){const t=e.toString().split(".")[1];return t?t.length:0}function Cm(e,t){if(e==null)return e;const n=Math.round(e/t)*t;return Number(n.toFixed(WB(t)))}const HB=e=>{const{classes:t,size:n,readOnly:i,disabled:a,emptyValueFocused:s,focusVisible:c}=e,u={root:["root",`size${ee(n)}`,a&&"disabled",c&&"focusVisible",i&&"readOnly"],label:["label","pristine"],labelEmptyValue:[s&&"labelEmptyValueActive"],icon:["icon"],iconEmpty:["iconEmpty"],iconFilled:["iconFilled"],iconHover:["iconHover"],iconFocus:["iconFocus"],iconActive:["iconActive"],decimal:["decimal"],visuallyHidden:["visuallyHidden"]};return $e(u,ok,t)},UB=X("span",{name:"MuiRating",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ja.visuallyHidden}`]:t.visuallyHidden},t.root,t[`size${ee(n.size)}`],n.readOnly&&t.readOnly]}})(xe(({theme:e})=>({display:"inline-flex",position:"relative",fontSize:e.typography.pxToRem(24),color:"#faaf00",cursor:"pointer",textAlign:"left",width:"min-content",WebkitTapHighlightColor:"transparent",[`&.${Ja.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${Ja.focusVisible} .${Ja.iconActive}`]:{outline:"1px solid #999"},[`& .${Ja.visuallyHidden}`]:Zg,variants:[{props:{size:"small"},style:{fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{fontSize:e.typography.pxToRem(30)}},{props:({ownerState:t})=>t.readOnly,style:{pointerEvents:"none"}}]}))),ik=X("label",{name:"MuiRating",slot:"Label",overridesResolver:({ownerState:e},t)=>[t.label,e.emptyValueFocused&&t.labelEmptyValueActive]})({cursor:"inherit",variants:[{props:({ownerState:e})=>e.emptyValueFocused,style:{top:0,bottom:0,position:"absolute",outline:"1px solid #999",width:"100%"}}]}),VB=X("span",{name:"MuiRating",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.iconEmpty&&t.iconEmpty,n.iconFilled&&t.iconFilled,n.iconHover&&t.iconHover,n.iconFocus&&t.iconFocus,n.iconActive&&t.iconActive]}})(xe(({theme:e})=>({display:"flex",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),pointerEvents:"none",variants:[{props:({ownerState:t})=>t.iconActive,style:{transform:"scale(1.2)"}},{props:({ownerState:t})=>t.iconEmpty,style:{color:(e.vars||e).palette.action.disabled}}]}))),GB=X("span",{name:"MuiRating",slot:"Decimal",shouldForwardProp:e=>Cs(e)&&e!=="iconActive",overridesResolver:(e,t)=>{const{iconActive:n}=e;return[t.decimal,n&&t.iconActive]}})({position:"relative",variants:[{props:({iconActive:e})=>e,style:{transform:"scale(1.2)"}}]});function qB(e){const{value:t,...n}=e;return g.jsx("span",{...n})}function ex(e){const{classes:t,disabled:n,emptyIcon:i,focus:a,getLabelText:s,highlightSelectedOnly:c,hover:u,icon:d,IconContainerComponent:f,isActive:m,itemValue:y,labelProps:x,name:P,onBlur:C,onChange:b,onClick:k,onFocus:w,readOnly:T,ownerState:R,ratingValue:I,ratingValueRounded:O,slots:j={},slotProps:A={}}=e,N=c?y===I:y<=I,$=y<=u,S=y<=a,L=y===O,U=`${P}-${Jn()}`,M={slots:j,slotProps:A},[D,W]=Le("icon",{elementType:VB,className:ae(t.icon,N?t.iconFilled:t.iconEmpty,$&&t.iconHover,S&&t.iconFocus,m&&t.iconActive),externalForwardedProps:M,ownerState:{...R,iconEmpty:!N,iconFilled:N,iconHover:$,iconFocus:S,iconActive:m},additionalProps:{value:y},internalForwardedProps:{as:f}}),[H,q]=Le("label",{elementType:ik,externalForwardedProps:M,ownerState:{...R,emptyValueFocused:void 0},additionalProps:{style:x==null?void 0:x.style,htmlFor:U}}),F=g.jsx(D,{...W,children:i&&!N?i:d});return T?g.jsx("span",{...x,children:F}):g.jsxs(h.Fragment,{children:[g.jsxs(H,{...q,children:[F,g.jsx("span",{className:t.visuallyHidden,children:s(y)})]}),g.jsx("input",{className:t.visuallyHidden,onFocus:w,onBlur:C,onChange:b,onClick:k,disabled:n,value:y,id:U,type:"radio",name:P,checked:L})]})}const KB=g.jsx(FB,{fontSize:"inherit"}),YB=g.jsx(_B,{fontSize:"inherit"});function XB(e){return`${e||"0"} Star${e!==1?"s":""}`}const QB=h.forwardRef(function(t,n){const i=Oe({name:"MuiRating",props:t}),{component:a="span",className:s,defaultValue:c=null,disabled:u=!1,emptyIcon:d=YB,emptyLabelText:f="Empty",getLabelText:m=XB,highlightSelectedOnly:y=!1,icon:x=KB,IconContainerComponent:P=qB,max:C=5,name:b,onChange:k,onChangeActive:w,onMouseLeave:T,onMouseMove:R,precision:I=1,readOnly:O=!1,size:j="medium",value:A,slots:N={},slotProps:$={},...S}=i,L=Jn(b),[U,M]=Qn({controlled:A,default:c,name:"Rating"}),D=Cm(U,I),W=oo(),[{hover:H,focus:q},F]=h.useState({hover:-1,focus:-1});let _=D;H!==-1&&(_=H),q!==-1&&(_=q);const[V,B]=h.useState(!1),G=h.useRef(),Z=Lt(G,n),te=be=>{R&&R(be);const oe=G.current,{right:Me,left:Re,width:pe}=oe.getBoundingClientRect();let ye;W?ye=(Me-be.clientX)/pe:ye=(be.clientX-Re)/pe;let De=Cm(C*ye+I/2,I);De=bi(De,I,C),F(we=>we.hover===De&&we.focus===De?we:{hover:De,focus:De}),B(!1),w&&H!==De&&w(be,De)},K=be=>{T&&T(be);const oe=-1;F({hover:oe,focus:oe}),w&&H!==oe&&w(be,oe)},J=be=>{let oe=be.target.value===""?null:parseFloat(be.target.value);H!==-1&&(oe=H),M(oe),k&&k(be,oe)},Q=be=>{be.clientX===0&&be.clientY===0||(F({hover:-1,focus:-1}),M(null),k&&parseFloat(be.target.value)===D&&k(be,null))},ie=be=>{bo(be.target)&&B(!0);const oe=parseFloat(be.target.value);F(Me=>({hover:Me.hover,focus:oe}))},se=be=>{if(H!==-1)return;bo(be.target)||B(!1);const oe=-1;F(Me=>({hover:Me.hover,focus:oe}))},[ue,ge]=h.useState(!1),ce={...i,component:a,defaultValue:c,disabled:u,emptyIcon:d,emptyLabelText:f,emptyValueFocused:ue,focusVisible:V,getLabelText:m,icon:x,IconContainerComponent:P,max:C,precision:I,readOnly:O,size:j},he=HB(ce),Se={slots:N,slotProps:$},[Ae,He]=Le("root",{ref:Z,className:ae(he.root,s),elementType:UB,externalForwardedProps:{...Se,...S,component:a},getSlotProps:be=>({...be,onMouseMove:oe=>{var Me;te(oe),(Me=be.onMouseMove)==null||Me.call(be,oe)},onMouseLeave:oe=>{var Me;K(oe),(Me=be.onMouseLeave)==null||Me.call(be,oe)}}),ownerState:ce,additionalProps:{role:O?"img":null,"aria-label":O?m(_):null}}),[fe,ve]=Le("label",{className:ae(he.label,he.labelEmptyValue),elementType:ik,externalForwardedProps:Se,ownerState:ce}),[Ne,Be]=Le("decimal",{className:he.decimal,elementType:GB,externalForwardedProps:Se,ownerState:ce});return g.jsxs(Ae,{...He,children:[Array.from(new Array(C)).map((be,oe)=>{const Me=oe+1,Re={classes:he,disabled:u,emptyIcon:d,focus:q,getLabelText:m,highlightSelectedOnly:y,hover:H,icon:x,IconContainerComponent:P,name:L,onBlur:se,onChange:J,onClick:Q,onFocus:ie,ratingValue:_,ratingValueRounded:D,readOnly:O,ownerState:ce,slots:N,slotProps:$},pe=Me===Math.ceil(_)&&(H!==-1||q!==-1);if(I<1){const ye=Array.from(new Array(1/I));return h.createElement(Ne,{...Be,key:Me,className:ae(Be.className,pe&&he.iconActive),iconActive:pe},ye.map((De,we)=>{const je=Cm(Me-1+(we+1)*I,I);return g.jsx(ex,{...Re,isActive:!1,itemValue:je,labelProps:{style:ye.length-1===we?{}:{width:je===_?`${(we+1)*I*100}%`:"0%",overflow:"hidden",position:"absolute"}}},je)}))}return g.jsx(ex,{...Re,isActive:pe,itemValue:Me},Me)}),!O&&!u&&g.jsxs(fe,{...ve,children:[g.jsx("input",{className:he.visuallyHidden,value:"",id:`${L}-empty`,type:"radio",name:L,checked:D==null,onFocus:()=>ge(!0),onBlur:()=>ge(!1),onChange:J}),g.jsx("span",{className:he.visuallyHidden,children:f})]})]})});function ak(e){return Ee("MuiScopedCssBaseline",e)}const JB=Ie("MuiScopedCssBaseline",["root"]),ZB=e=>{const{classes:t}=e;return $e({root:["root"]},ak,t)},eD=X("div",{name:"MuiScopedCssBaseline",slot:"Root",overridesResolver:(e,t)=>t.root})(xe(({theme:e})=>{const t={};return e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([n,i])=>{var s,c;const a=e.getColorSchemeSelector(n);a.startsWith("@")?t[a]={colorScheme:(s=i.palette)==null?void 0:s.mode}:t[`&${a.replace(/\s*&/,"")}`]={colorScheme:(c=i.palette)==null?void 0:c.mode}}),{...jC(e,!1),...LC(e),"& *, & *::before, & *::after":{boxSizing:"inherit"},"& strong, & b":{fontWeight:e.typography.fontWeightBold},variants:[{props:{enableColorScheme:!0},style:e.vars?t:{colorScheme:e.palette.mode}}]}})),tD=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiScopedCssBaseline"}),{className:a,component:s="div",enableColorScheme:c,...u}=i,d={...i,component:s},f=ZB(d);return g.jsx(eD,{as:s,className:ae(f.root,a),ref:n,ownerState:d,...u})});function Bh(e){return Ee("MuiSelect",e)}const Za=Ie("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var tx;const nD=X(_w,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Za.select}`]:t.select},{[`&.${Za.select}`]:t[n.variant]},{[`&.${Za.error}`]:t.error},{[`&.${Za.multiple}`]:t.multiple}]}})({[`&.${Za.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),rD=X(Ww,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ee(n.variant)}`],n.open&&t.iconOpen]}})({}),oD=X("input",{shouldForwardProp:e=>Cs(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function nx(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function iD(e){return e==null||typeof e=="string"&&!e.trim()}const aD=e=>{const{classes:t,variant:n,disabled:i,multiple:a,open:s,error:c}=e,u={select:["select",n,i&&"disabled",a&&"multiple",c&&"error"],icon:["icon",`icon${ee(n)}`,s&&"iconOpen",i&&"disabled"],nativeInput:["nativeInput"]};return $e(u,Bh,t)},sD=h.forwardRef(function(t,n){var ht;const{"aria-describedby":i,"aria-label":a,autoFocus:s,autoWidth:c,children:u,className:d,defaultOpen:f,defaultValue:m,disabled:y,displayEmpty:x,error:P=!1,IconComponent:C,inputRef:b,labelId:k,MenuProps:w={},multiple:T,name:R,onBlur:I,onChange:O,onClose:j,onFocus:A,onOpen:N,open:$,readOnly:S,renderValue:L,required:U,SelectDisplayProps:M={},tabIndex:D,type:W,value:H,variant:q="standard",...F}=t,[_,V]=Qn({controlled:H,default:m,name:"Select"}),[B,G]=Qn({controlled:$,default:f,name:"Select"}),Z=h.useRef(null),te=h.useRef(null),[K,J]=h.useState(null),{current:Q}=h.useRef($!=null),[ie,se]=h.useState(),ue=Lt(n,b),ge=h.useCallback(Ve=>{te.current=Ve,Ve&&J(Ve)},[]),ce=K==null?void 0:K.parentNode;h.useImperativeHandle(ue,()=>({focus:()=>{te.current.focus()},node:Z.current,value:_}),[_]),h.useEffect(()=>{f&&B&&K&&!Q&&(se(c?null:ce.clientWidth),te.current.focus())},[K,c]),h.useEffect(()=>{s&&te.current.focus()},[s]),h.useEffect(()=>{if(!k)return;const Ve=Kt(te.current).getElementById(k);if(Ve){const it=()=>{getSelection().isCollapsed&&te.current.focus()};return Ve.addEventListener("click",it),()=>{Ve.removeEventListener("click",it)}}},[k]);const he=(Ve,it)=>{Ve?N&&N(it):j&&j(it),Q||(se(c?null:ce.clientWidth),G(Ve))},Se=Ve=>{Ve.button===0&&(Ve.preventDefault(),te.current.focus(),he(!0,Ve))},Ae=Ve=>{he(!1,Ve)},He=h.Children.toArray(u),fe=Ve=>{const it=He.find(Et=>Et.props.value===Ve.target.value);it!==void 0&&(V(it.props.value),O&&O(Ve,it))},ve=Ve=>it=>{let Et;if(it.currentTarget.hasAttribute("tabindex")){if(T){Et=Array.isArray(_)?_.slice():[];const Ht=_.indexOf(Ve.props.value);Ht===-1?Et.push(Ve.props.value):Et.splice(Ht,1)}else Et=Ve.props.value;if(Ve.props.onClick&&Ve.props.onClick(it),_!==Et&&(V(Et),O)){const Ht=it.nativeEvent||it,an=new Ht.constructor(Ht.type,Ht);Object.defineProperty(an,"target",{writable:!0,value:{value:Et,name:R}}),O(an,Ve)}T||he(!1,it)}},Ne=Ve=>{S||[" ","ArrowUp","ArrowDown","Enter"].includes(Ve.key)&&(Ve.preventDefault(),he(!0,Ve))},Be=K!==null&&B,be=Ve=>{!Be&&I&&(Object.defineProperty(Ve,"target",{writable:!0,value:{value:_,name:R}}),I(Ve))};delete F["aria-invalid"];let oe,Me;const Re=[];let pe=!1;(Pd({value:_})||x)&&(L?oe=L(_):pe=!0);const ye=He.map(Ve=>{if(!h.isValidElement(Ve))return null;let it;if(T){if(!Array.isArray(_))throw new Error(pr(2));it=_.some(Et=>nx(Et,Ve.props.value)),it&&pe&&Re.push(Ve.props.children)}else it=nx(_,Ve.props.value),it&&pe&&(Me=Ve.props.children);return h.cloneElement(Ve,{"aria-selected":it?"true":"false",onClick:ve(Ve),onKeyUp:Et=>{Et.key===" "&&Et.preventDefault(),Ve.props.onKeyUp&&Ve.props.onKeyUp(Et)},role:"option",selected:it,value:void 0,"data-value":Ve.props.value})});pe&&(T?Re.length===0?oe=null:oe=Re.reduce((Ve,it,Et)=>(Ve.push(it),Et<Re.length-1&&Ve.push(", "),Ve),[]):oe=Me);let De=ie;!c&&Q&&K&&(De=ce.clientWidth);let we;typeof D<"u"?we=D:we=y?null:0;const je=M.id||(R?`mui-component-select-${R}`:void 0),Pe={...t,variant:q,value:_,open:Be,error:P},Fe=aD(Pe),ot={...w.PaperProps,...(ht=w.slotProps)==null?void 0:ht.paper},Ke=Jn();return g.jsxs(h.Fragment,{children:[g.jsx(nD,{as:"div",ref:ge,tabIndex:we,role:"combobox","aria-controls":Be?Ke:void 0,"aria-disabled":y?"true":void 0,"aria-expanded":Be?"true":"false","aria-haspopup":"listbox","aria-label":a,"aria-labelledby":[k,je].filter(Boolean).join(" ")||void 0,"aria-describedby":i,"aria-required":U?"true":void 0,"aria-invalid":P?"true":void 0,onKeyDown:Ne,onMouseDown:y||S?null:Se,onBlur:be,onFocus:A,...M,ownerState:Pe,className:ae(M.className,Fe.select,d),id:je,children:iD(oe)?tx||(tx=g.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):oe}),g.jsx(oD,{"aria-invalid":P,value:Array.isArray(_)?_.join(","):_,name:R,ref:Z,"aria-hidden":!0,onChange:fe,tabIndex:-1,disabled:y,className:Fe.nativeInput,autoFocus:s,required:U,...F,ownerState:Pe}),g.jsx(rD,{as:C,className:Fe.icon,ownerState:Pe}),g.jsx(Bw,{id:`menu-${R||""}`,anchorEl:ce,open:Be,onClose:Ae,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...w,slotProps:{...w.slotProps,list:{"aria-labelledby":k,role:"listbox","aria-multiselectable":T?"true":void 0,disableListWrap:!0,id:Ke,...w.MenuListProps},paper:{...ot,style:{minWidth:De,...ot!=null?ot.style:null}}},children:ye})]})}),lD=e=>{const{classes:t}=e,i=$e({root:["root"]},Bh,t);return{...t,...i}},Dh={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>wn(e)&&e!=="variant",slot:"Root"},cD=X(hc,Dh)(""),uD=X(dp,Dh)(""),dD=X(cp,Dh)(""),pp=h.forwardRef(function(t,n){const i=Oe({name:"MuiSelect",props:t}),{autoWidth:a=!1,children:s,classes:c={},className:u,defaultOpen:d=!1,displayEmpty:f=!1,IconComponent:m=wh,id:y,input:x,inputProps:P,label:C,labelId:b,MenuProps:k,multiple:w=!1,native:T=!1,onClose:R,onOpen:I,open:O,renderValue:j,SelectDisplayProps:A,variant:N="outlined",...$}=i,S=T?Hw:sD,L=Tr(),U=Ko({props:i,muiFormControl:L,states:["variant","error"]}),M=U.variant||N,D={...i,variant:M,classes:c},W=lD(D),{root:H,...q}=W,F=x||{standard:g.jsx(cD,{ownerState:D}),outlined:g.jsx(uD,{label:C,ownerState:D}),filled:g.jsx(dD,{ownerState:D})}[M],_=Lt(n,qo(F));return g.jsx(h.Fragment,{children:h.cloneElement(F,{inputComponent:S,inputProps:{children:s,error:U.error,IconComponent:m,variant:M,type:void 0,multiple:w,...T?{id:y}:{autoWidth:a,defaultOpen:d,displayEmpty:f,labelId:b,MenuProps:k,onClose:R,onOpen:I,open:O,renderValue:j,SelectDisplayProps:{id:y,...A}},...P,classes:P?En(q,P.classes):q,...x?x.props.inputProps:{}},...(w&&T||f)&&M==="outlined"?{notched:!0}:{},ref:_,className:ae(F.props.className,u,W.root),...!x&&{variant:M},...$})})});pp.muiName="Select";function sk(e){return Ee("MuiSkeleton",e)}const pD=Ie("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]),fD=e=>{const{classes:t,variant:n,animation:i,hasChildren:a,width:s,height:c}=e;return $e({root:["root",n,i,a&&"withChildren",a&&!s&&"fitContent",a&&!c&&"heightAuto"]},sk,t)},Eg=Vr`
252
+ 0% {
253
+ opacity: 1;
254
+ }
255
+
256
+ 50% {
257
+ opacity: 0.4;
258
+ }
259
+
260
+ 100% {
261
+ opacity: 1;
262
+ }
263
+ `,Ig=Vr`
264
+ 0% {
265
+ transform: translateX(-100%);
266
+ }
267
+
268
+ 50% {
269
+ /* +0.5s of delay between each loop */
270
+ transform: translateX(100%);
271
+ }
272
+
273
+ 100% {
274
+ transform: translateX(100%);
275
+ }
276
+ `,mD=typeof Eg!="string"?So`
277
+ animation: ${Eg} 2s ease-in-out 0.5s infinite;
278
+ `:null,gD=typeof Ig!="string"?So`
279
+ &::after {
280
+ animation: ${Ig} 2s linear 0.5s infinite;
281
+ }
282
+ `:null,hD=X("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.animation!==!1&&t[n.animation],n.hasChildren&&t.withChildren,n.hasChildren&&!n.width&&t.fitContent,n.hasChildren&&!n.height&&t.heightAuto]}})(xe(({theme:e})=>{const t=Jd(e.shape.borderRadius)||"px",n=po(e.shape.borderRadius);return{display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:Qe(e.palette.text.primary,e.palette.mode==="light"?.11:.13),height:"1.2em",variants:[{props:{variant:"text"},style:{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${n}${t}/${Math.round(n/.6*10)/10}${t}`,"&:empty:before":{content:'"\\00a0"'}}},{props:{variant:"circular"},style:{borderRadius:"50%"}},{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:({ownerState:i})=>i.hasChildren,style:{"& > *":{visibility:"hidden"}}},{props:({ownerState:i})=>i.hasChildren&&!i.width,style:{maxWidth:"fit-content"}},{props:({ownerState:i})=>i.hasChildren&&!i.height,style:{height:"auto"}},{props:{animation:"pulse"},style:mD||{animation:`${Eg} 2s ease-in-out 0.5s infinite`}},{props:{animation:"wave"},style:{position:"relative",overflow:"hidden",WebkitMaskImage:"-webkit-radial-gradient(white, black)","&::after":{background:`linear-gradient(
283
+ 90deg,
284
+ transparent,
285
+ ${(e.vars||e).palette.action.hover},
286
+ transparent
287
+ )`,content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}}},{props:{animation:"wave"},style:gD||{"&::after":{animation:`${Ig} 2s linear 0.5s infinite`}}}]}})),vD=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiSkeleton"}),{animation:a="pulse",className:s,component:c="span",height:u,style:d,variant:f="text",width:m,...y}=i,x={...i,animation:a,component:c,variant:f,hasChildren:!!y.children},P=fD(x);return g.jsx(hD,{as:c,ref:n,className:ae(P.root,s),ownerState:x,...y,style:{width:m,height:u,...d}})});function yD(e,t,n=(i,a)=>i===a){return e.length===t.length&&e.every((i,a)=>n(i,t[a]))}const bD=2;function Ua(e,t,n,i,a){return n===1?Math.min(e+t,a):Math.max(e-t,i)}function lk(e,t){return e-t}function rx(e,t){const{index:n}=e.reduce((i,a,s)=>{const c=Math.abs(t-a);return i===null||c<i.distance||c===i.distance?{distance:c,index:s}:i},null)??{};return n}function Du(e,t){if(t.current!==void 0&&e.changedTouches){const n=e;for(let i=0;i<n.changedTouches.length;i+=1){const a=n.changedTouches[i];if(a.identifier===t.current)return{x:a.clientX,y:a.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function Ed(e,t,n){return(e-t)*100/(n-t)}function xD(e,t,n){return(n-t)*e+t}function SD(e){if(Math.abs(e)<1){const n=e.toExponential().split("e-"),i=n[0].split(".")[1];return(i?i.length:0)+parseInt(n[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}function CD(e,t,n){const i=Math.round((e-n)/t)*t+n;return Number(i.toFixed(SD(t)))}function ox({values:e,newValue:t,index:n}){const i=e.slice();return i[n]=t,i.sort(lk)}function zu({sliderRef:e,activeIndex:t,setActive:n}){var a,s,c;const i=Kt(e.current);(!((a=e.current)!=null&&a.contains(i.activeElement))||Number((s=i==null?void 0:i.activeElement)==null?void 0:s.getAttribute("data-index"))!==t)&&((c=e.current)==null||c.querySelector(`[type="range"][data-index="${t}"]`).focus()),n&&n(t)}function Fu(e,t){return typeof e=="number"&&typeof t=="number"?e===t:typeof e=="object"&&typeof t=="object"?yD(e,t):!1}const wD={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},kD=e=>e;let _u;function ix(){return _u===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?_u=CSS.supports("touch-action","none"):_u=!0),_u}function RD(e){const{"aria-labelledby":t,defaultValue:n,disabled:i=!1,disableSwap:a=!1,isRtl:s=!1,marks:c=!1,max:u=100,min:d=0,name:f,onChange:m,onChangeCommitted:y,orientation:x="horizontal",rootRef:P,scale:C=kD,step:b=1,shiftStep:k=10,tabIndex:w,value:T}=e,R=h.useRef(void 0),[I,O]=h.useState(-1),[j,A]=h.useState(-1),[N,$]=h.useState(!1),S=h.useRef(0),L=h.useRef(null),[U,M]=Qn({controlled:T,default:n??d,name:"Slider"}),D=m&&((pe,ye,De)=>{const we=pe.nativeEvent||pe,je=new we.constructor(we.type,we);Object.defineProperty(je,"target",{writable:!0,value:{value:ye,name:f}}),L.current=ye,m(je,ye,De)}),W=Array.isArray(U);let H=W?U.slice().sort(lk):[U];H=H.map(pe=>pe==null?d:bi(pe,d,u));const q=c===!0&&b!==null?[...Array(Math.floor((u-d)/b)+1)].map((pe,ye)=>({value:d+b*ye})):c||[],F=q.map(pe=>pe.value),[_,V]=h.useState(-1),B=h.useRef(null),G=Lt(P,B),Z=pe=>ye=>{var we;const De=Number(ye.currentTarget.getAttribute("data-index"));bo(ye.target)&&V(De),A(De),(we=pe==null?void 0:pe.onFocus)==null||we.call(pe,ye)},te=pe=>ye=>{var De;bo(ye.target)||V(-1),A(-1),(De=pe==null?void 0:pe.onBlur)==null||De.call(pe,ye)},K=(pe,ye)=>{const De=Number(pe.currentTarget.getAttribute("data-index")),we=H[De],je=F.indexOf(we);let Pe=ye;if(q&&b==null){const Fe=F[F.length-1];Pe>=Fe?Pe=Fe:Pe<=F[0]?Pe=F[0]:Pe=Pe<we?F[je-1]:F[je+1]}if(Pe=bi(Pe,d,u),W){a&&(Pe=bi(Pe,H[De-1]||-1/0,H[De+1]||1/0));const Fe=Pe;Pe=ox({values:H,newValue:Pe,index:De});let ot=De;a||(ot=Pe.indexOf(Fe)),zu({sliderRef:B,activeIndex:ot})}M(Pe),V(De),D&&!Fu(Pe,U)&&D(pe,Pe,De),y&&y(pe,L.current??Pe)},J=pe=>ye=>{var De;if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","PageUp","PageDown","Home","End"].includes(ye.key)){ye.preventDefault();const we=Number(ye.currentTarget.getAttribute("data-index")),je=H[we];let Pe=null;if(b!=null){const Fe=ye.shiftKey?k:b;switch(ye.key){case"ArrowUp":Pe=Ua(je,Fe,1,d,u);break;case"ArrowRight":Pe=Ua(je,Fe,s?-1:1,d,u);break;case"ArrowDown":Pe=Ua(je,Fe,-1,d,u);break;case"ArrowLeft":Pe=Ua(je,Fe,s?1:-1,d,u);break;case"PageUp":Pe=Ua(je,k,1,d,u);break;case"PageDown":Pe=Ua(je,k,-1,d,u);break;case"Home":Pe=d;break;case"End":Pe=u;break}}else if(q){const Fe=F[F.length-1],ot=F.indexOf(je),Ke=[s?"ArrowRight":"ArrowLeft","ArrowDown","PageDown","Home"],ht=[s?"ArrowLeft":"ArrowRight","ArrowUp","PageUp","End"];Ke.includes(ye.key)?ot===0?Pe=F[0]:Pe=F[ot-1]:ht.includes(ye.key)&&(ot===F.length-1?Pe=Fe:Pe=F[ot+1])}Pe!=null&&K(ye,Pe)}(De=pe==null?void 0:pe.onKeyDown)==null||De.call(pe,ye)};xn(()=>{var pe;i&&B.current.contains(document.activeElement)&&((pe=document.activeElement)==null||pe.blur())},[i]),i&&I!==-1&&O(-1),i&&_!==-1&&V(-1);const Q=pe=>ye=>{var De;(De=pe.onChange)==null||De.call(pe,ye),K(ye,ye.target.valueAsNumber)},ie=h.useRef(void 0);let se=x;s&&x==="horizontal"&&(se+="-reverse");const ue=({finger:pe,move:ye=!1})=>{const{current:De}=B,{width:we,height:je,bottom:Pe,left:Fe}=De.getBoundingClientRect();let ot;se.startsWith("vertical")?ot=(Pe-pe.y)/je:ot=(pe.x-Fe)/we,se.includes("-reverse")&&(ot=1-ot);let Ke;if(Ke=xD(ot,d,u),b)Ke=CD(Ke,b,d);else{const Ve=rx(F,Ke);Ke=F[Ve]}Ke=bi(Ke,d,u);let ht=0;if(W){ye?ht=ie.current:ht=rx(H,Ke),a&&(Ke=bi(Ke,H[ht-1]||-1/0,H[ht+1]||1/0));const Ve=Ke;Ke=ox({values:H,newValue:Ke,index:ht}),a&&ye||(ht=Ke.indexOf(Ve),ie.current=ht)}return{newValue:Ke,activeIndex:ht}},ge=Yt(pe=>{const ye=Du(pe,R);if(!ye)return;if(S.current+=1,pe.type==="mousemove"&&pe.buttons===0){ce(pe);return}const{newValue:De,activeIndex:we}=ue({finger:ye,move:!0});zu({sliderRef:B,activeIndex:we,setActive:O}),M(De),!N&&S.current>bD&&$(!0),D&&!Fu(De,U)&&D(pe,De,we)}),ce=Yt(pe=>{const ye=Du(pe,R);if($(!1),!ye)return;const{newValue:De}=ue({finger:ye,move:!0});O(-1),pe.type==="touchend"&&A(-1),y&&y(pe,L.current??De),R.current=void 0,Se()}),he=Yt(pe=>{if(i)return;ix()||pe.preventDefault();const ye=pe.changedTouches[0];ye!=null&&(R.current=ye.identifier);const De=Du(pe,R);if(De!==!1){const{newValue:je,activeIndex:Pe}=ue({finger:De});zu({sliderRef:B,activeIndex:Pe,setActive:O}),M(je),D&&!Fu(je,U)&&D(pe,je,Pe)}S.current=0;const we=Kt(B.current);we.addEventListener("touchmove",ge,{passive:!0}),we.addEventListener("touchend",ce,{passive:!0})}),Se=h.useCallback(()=>{const pe=Kt(B.current);pe.removeEventListener("mousemove",ge),pe.removeEventListener("mouseup",ce),pe.removeEventListener("touchmove",ge),pe.removeEventListener("touchend",ce)},[ce,ge]);h.useEffect(()=>{const{current:pe}=B;return pe.addEventListener("touchstart",he,{passive:ix()}),()=>{pe.removeEventListener("touchstart",he),Se()}},[Se,he]),h.useEffect(()=>{i&&Se()},[i,Se]);const Ae=pe=>ye=>{var je;if((je=pe.onMouseDown)==null||je.call(pe,ye),i||ye.defaultPrevented||ye.button!==0)return;ye.preventDefault();const De=Du(ye,R);if(De!==!1){const{newValue:Pe,activeIndex:Fe}=ue({finger:De});zu({sliderRef:B,activeIndex:Fe,setActive:O}),M(Pe),D&&!Fu(Pe,U)&&D(ye,Pe,Fe)}S.current=0;const we=Kt(B.current);we.addEventListener("mousemove",ge,{passive:!0}),we.addEventListener("mouseup",ce)},He=Ed(W?H[0]:d,d,u),fe=Ed(H[H.length-1],d,u)-He,ve=(pe={})=>{const ye=la(pe),De={onMouseDown:Ae(ye||{})},we={...ye,...De};return{...pe,ref:G,...we}},Ne=pe=>ye=>{var we;(we=pe.onMouseOver)==null||we.call(pe,ye);const De=Number(ye.currentTarget.getAttribute("data-index"));A(De)},Be=pe=>ye=>{var De;(De=pe.onMouseLeave)==null||De.call(pe,ye),A(-1)},be=(pe={})=>{const ye=la(pe),De={onMouseOver:Ne(ye||{}),onMouseLeave:Be(ye||{})};return{...pe,...ye,...De}},oe=pe=>({pointerEvents:I!==-1&&I!==pe?"none":void 0});let Me;return x==="vertical"&&(Me=s?"vertical-rl":"vertical-lr"),{active:I,axis:se,axisProps:wD,dragging:N,focusedThumbIndex:_,getHiddenInputProps:(pe={})=>{const ye=la(pe),De={onChange:Q(ye||{}),onFocus:Z(ye||{}),onBlur:te(ye||{}),onKeyDown:J(ye||{})},we={...ye,...De};return{tabIndex:w,"aria-labelledby":t,"aria-orientation":x,"aria-valuemax":C(u),"aria-valuemin":C(d),name:f,type:"range",min:e.min,max:e.max,step:e.step===null&&e.marks?"any":e.step??void 0,disabled:i,...pe,...we,style:{...Zg,direction:s?"rtl":"ltr",width:"100%",height:"100%",writingMode:Me}}},getRootProps:ve,getThumbProps:be,marks:q,open:j,range:W,rootRef:G,trackLeap:fe,trackOffset:He,values:H,getThumbStyle:oe}}const PD=e=>!e||!_o(e);function ck(e){return Ee("MuiSlider",e)}const wr=Ie("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),TD=e=>{const{open:t}=e;return{offset:ae(t&&wr.valueLabelOpen),circle:wr.valueLabelCircle,label:wr.valueLabelLabel}};function ED(e){const{children:t,className:n,value:i}=e,a=TD(e);return t?h.cloneElement(t,{className:ae(t.props.className)},g.jsxs(h.Fragment,{children:[t.props.children,g.jsx("span",{className:ae(a.offset,n),"aria-hidden":!0,children:g.jsx("span",{className:a.circle,children:g.jsx("span",{className:a.label,children:i})})})]})):null}function ax(e){return e}const uk=X("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${ee(n.color)}`],n.size!=="medium"&&t[`size${ee(n.size)}`],n.marked&&t.marked,n.orientation==="vertical"&&t.vertical,n.track==="inverted"&&t.trackInverted,n.track===!1&&t.trackFalse]}})(xe(({theme:e})=>({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${wr.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${wr.dragging}`]:{[`& .${wr.thumb}, & .${wr.track}`]:{transition:"none"}},variants:[...Object.entries(e.palette).filter(kt()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}))),dk=X("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),pk=X("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})(xe(({theme:e})=>({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.entries(e.palette).filter(kt()).map(([t])=>({props:{color:t,track:"inverted"},style:{...e.vars?{backgroundColor:e.vars.palette.Slider[`${t}Track`],borderColor:e.vars.palette.Slider[`${t}Track`]}:{backgroundColor:Wr(e.palette[t].main,.62),borderColor:Wr(e.palette[t].main,.62),...e.applyStyles("dark",{backgroundColor:_r(e.palette[t].main,.5)}),...e.applyStyles("dark",{borderColor:_r(e.palette[t].main,.5)})}}}))]}))),fk=X("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${ee(n.color)}`],n.size!=="medium"&&t[`thumbSize${ee(n.size)}`]]}})(xe(({theme:e})=>({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${wr.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.entries(e.palette).filter(kt()).map(([t])=>({props:{color:t},style:{[`&:hover, &.${wr.focusVisible}`]:{...e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[t].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${Qe(e.palette[t].main,.16)}`},"@media (hover: none)":{boxShadow:"none"}},[`&.${wr.active}`]:{...e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[t].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${Qe(e.palette[t].main,.16)}`}}}}))]}))),mk=X(ED,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(xe(({theme:e})=>({zIndex:1,whiteSpace:"nowrap",...e.typography.body2,fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${wr.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${wr.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]}))),gk=X("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>Cs(e)&&e!=="markActive",overridesResolver:(e,t)=>{const{markActive:n}=e;return[t.mark,n&&t.markActive]}})(xe(({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]}))),hk=X("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>Cs(e)&&e!=="markLabelActive",overridesResolver:(e,t)=>t.markLabel})(xe(({theme:e})=>({...e.typography.body2,color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]}))),ID=e=>{const{disabled:t,dragging:n,marked:i,orientation:a,track:s,classes:c,color:u,size:d}=e,f={root:["root",t&&"disabled",n&&"dragging",i&&"marked",a==="vertical"&&"vertical",s==="inverted"&&"trackInverted",s===!1&&"trackFalse",u&&`color${ee(u)}`,d&&`size${ee(d)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",d&&`thumbSize${ee(d)}`,u&&`thumbColor${ee(u)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return $e(f,ck,c)},$D=({children:e})=>e,MD=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiSlider"}),a=oo(),{"aria-label":s,"aria-valuetext":c,"aria-labelledby":u,component:d="span",components:f={},componentsProps:m={},color:y="primary",classes:x,className:P,disableSwap:C=!1,disabled:b=!1,getAriaLabel:k,getAriaValueText:w,marks:T=!1,max:R=100,min:I=0,name:O,onChange:j,onChangeCommitted:A,orientation:N="horizontal",shiftStep:$=10,size:S="medium",step:L=1,scale:U=ax,slotProps:M,slots:D,tabIndex:W,track:H="normal",value:q,valueLabelDisplay:F="off",valueLabelFormat:_=ax,...V}=i,B={...i,isRtl:a,max:R,min:I,classes:x,disabled:b,disableSwap:C,orientation:N,marks:T,color:y,size:S,step:L,shiftStep:$,scale:U,track:H,valueLabelDisplay:F,valueLabelFormat:_},{axisProps:G,getRootProps:Z,getHiddenInputProps:te,getThumbProps:K,open:J,active:Q,axis:ie,focusedThumbIndex:se,range:ue,dragging:ge,marks:ce,values:he,trackOffset:Se,trackLeap:Ae,getThumbStyle:He}=RD({...B,rootRef:n});B.marked=ce.length>0&&ce.some(ft=>ft.label),B.dragging=ge,B.focusedThumbIndex=se;const fe=ID(B),ve=(D==null?void 0:D.root)??f.Root??uk,Ne=(D==null?void 0:D.rail)??f.Rail??dk,Be=(D==null?void 0:D.track)??f.Track??pk,be=(D==null?void 0:D.thumb)??f.Thumb??fk,oe=(D==null?void 0:D.valueLabel)??f.ValueLabel??mk,Me=(D==null?void 0:D.mark)??f.Mark??gk,Re=(D==null?void 0:D.markLabel)??f.MarkLabel??hk,pe=(D==null?void 0:D.input)??f.Input??"input",ye=(M==null?void 0:M.root)??m.root,De=(M==null?void 0:M.rail)??m.rail,we=(M==null?void 0:M.track)??m.track,je=(M==null?void 0:M.thumb)??m.thumb,Pe=(M==null?void 0:M.valueLabel)??m.valueLabel,Fe=(M==null?void 0:M.mark)??m.mark,ot=(M==null?void 0:M.markLabel)??m.markLabel,Ke=(M==null?void 0:M.input)??m.input,ht=Yn({elementType:ve,getSlotProps:Z,externalSlotProps:ye,externalForwardedProps:V,additionalProps:{...PD(ve)&&{as:d}},ownerState:{...B,...ye==null?void 0:ye.ownerState},className:[fe.root,P]}),Ve=Yn({elementType:Ne,externalSlotProps:De,ownerState:B,className:fe.rail}),it=Yn({elementType:Be,externalSlotProps:we,additionalProps:{style:{...G[ie].offset(Se),...G[ie].leap(Ae)}},ownerState:{...B,...we==null?void 0:we.ownerState},className:fe.track}),Et=Yn({elementType:be,getSlotProps:K,externalSlotProps:je,ownerState:{...B,...je==null?void 0:je.ownerState},className:fe.thumb}),Ht=Yn({elementType:oe,externalSlotProps:Pe,ownerState:{...B,...Pe==null?void 0:Pe.ownerState},className:fe.valueLabel}),an=Yn({elementType:Me,externalSlotProps:Fe,ownerState:B,className:fe.mark}),Jt=Yn({elementType:Re,externalSlotProps:ot,ownerState:B,className:fe.markLabel}),gn=Yn({elementType:pe,getSlotProps:te,externalSlotProps:Ke,ownerState:B});return g.jsxs(ve,{...ht,children:[g.jsx(Ne,{...Ve}),g.jsx(Be,{...it}),ce.filter(ft=>ft.value>=I&&ft.value<=R).map((ft,Mt)=>{const sn=Ed(ft.value,I,R),Mn=G[ie].offset(sn);let ln;return H===!1?ln=he.includes(ft.value):ln=H==="normal"&&(ue?ft.value>=he[0]&&ft.value<=he[he.length-1]:ft.value<=he[0])||H==="inverted"&&(ue?ft.value<=he[0]||ft.value>=he[he.length-1]:ft.value>=he[0]),g.jsxs(h.Fragment,{children:[g.jsx(Me,{"data-index":Mt,...an,...!_o(Me)&&{markActive:ln},style:{...Mn,...an.style},className:ae(an.className,ln&&fe.markActive)}),ft.label!=null?g.jsx(Re,{"aria-hidden":!0,"data-index":Mt,...Jt,...!_o(Re)&&{markLabelActive:ln},style:{...Mn,...Jt.style},className:ae(fe.markLabel,Jt.className,ln&&fe.markLabelActive),children:ft.label}):null]},Mt)}),he.map((ft,Mt)=>{const sn=Ed(ft,I,R),Mn=G[ie].offset(sn),ln=F==="off"?$D:oe;return g.jsx(ln,{...!_o(ln)&&{valueLabelFormat:_,valueLabelDisplay:F,value:typeof _=="function"?_(U(ft),Mt):_,index:Mt,open:J===Mt||Q===Mt||F==="on",disabled:b},...Ht,children:g.jsx(be,{"data-index":Mt,...Et,className:ae(fe.thumb,Et.className,Q===Mt&&fe.active,se===Mt&&fe.focusVisible),style:{...Mn,...He(Mt),...Et.style},children:g.jsx(pe,{"data-index":Mt,"aria-label":k?k(Mt):s,"aria-valuenow":U(ft),"aria-labelledby":u,"aria-valuetext":w?w(U(ft),Mt):c,value:he[Mt],...gn})})},Mt)})]})});function OD(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:i,open:a,resumeHideDuration:s}=e,c=Do();h.useEffect(()=>{if(!a)return;function w(T){T.defaultPrevented||T.key==="Escape"&&(i==null||i(T,"escapeKeyDown"))}return document.addEventListener("keydown",w),()=>{document.removeEventListener("keydown",w)}},[a,i]);const u=Yt((w,T)=>{i==null||i(w,T)}),d=Yt(w=>{!i||w==null||c.start(w,()=>{u(null,"timeout")})});h.useEffect(()=>(a&&d(t),c.clear),[a,t,d,c]);const f=w=>{i==null||i(w,"clickaway")},m=c.clear,y=h.useCallback(()=>{t!=null&&d(s??t*.5)},[t,s,d]),x=w=>T=>{const R=w.onBlur;R==null||R(T),y()},P=w=>T=>{const R=w.onFocus;R==null||R(T),m()},C=w=>T=>{const R=w.onMouseEnter;R==null||R(T),m()},b=w=>T=>{const R=w.onMouseLeave;R==null||R(T),y()};return h.useEffect(()=>{if(!n&&a)return window.addEventListener("focus",y),window.addEventListener("blur",m),()=>{window.removeEventListener("focus",y),window.removeEventListener("blur",m)}},[n,a,y,m]),{getRootProps:(w={})=>{const T={...la(e),...la(w)};return{role:"presentation",...w,...T,onBlur:x(T),onFocus:P(T),onMouseEnter:C(T),onMouseLeave:b(T)}},onClickAway:f}}function vk(e){return Ee("MuiSnackbarContent",e)}const AD=Ie("MuiSnackbarContent",["root","message","action"]),jD=e=>{const{classes:t}=e;return $e({root:["root"],action:["action"],message:["message"]},vk,t)},LD=X(Gn,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(xe(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=pa(e.palette.background.default,t);return{...e.typography.body2,color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}})),ND=X("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),BD=X("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),yk=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiSnackbarContent"}),{action:a,className:s,message:c,role:u="alert",...d}=i,f=i,m=jD(f);return g.jsxs(LD,{role:u,square:!0,elevation:6,className:ae(m.root,s),ownerState:f,ref:n,...d,children:[g.jsx(ND,{className:m.message,ownerState:f,children:c}),a?g.jsx(BD,{className:m.action,ownerState:f,children:a}):null]})});function bk(e){return Ee("MuiSnackbar",e)}const DD=Ie("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]),zD=e=>{const{classes:t,anchorOrigin:n}=e,i={root:["root",`anchorOrigin${ee(n.vertical)}${ee(n.horizontal)}`]};return $e(i,bk,t)},FD=X("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${ee(n.anchorOrigin.vertical)}${ee(n.anchorOrigin.horizontal)}`]]}})(xe(({theme:e})=>({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center",variants:[{props:({ownerState:t})=>t.anchorOrigin.vertical==="top",style:{top:8,[e.breakpoints.up("sm")]:{top:24}}},{props:({ownerState:t})=>t.anchorOrigin.vertical!=="top",style:{bottom:8,[e.breakpoints.up("sm")]:{bottom:24}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="left",style:{justifyContent:"flex-start",[e.breakpoints.up("sm")]:{left:24,right:"auto"}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="right",style:{justifyContent:"flex-end",[e.breakpoints.up("sm")]:{right:24,left:"auto"}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="center",style:{[e.breakpoints.up("sm")]:{left:"50%",right:"auto",transform:"translateX(-50%)"}}}]}))),_D=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiSnackbar"}),a=Cn(),s={enter:a.transitions.duration.enteringScreen,exit:a.transitions.duration.leavingScreen},{action:c,anchorOrigin:{vertical:u,horizontal:d}={vertical:"bottom",horizontal:"left"},autoHideDuration:f=null,children:m,className:y,ClickAwayListenerProps:x,ContentProps:P,disableWindowBlurListener:C=!1,message:b,onBlur:k,onClose:w,onFocus:T,onMouseEnter:R,onMouseLeave:I,open:O,resumeHideDuration:j,slots:A={},slotProps:N={},TransitionComponent:$,transitionDuration:S=s,TransitionProps:{onEnter:L,onExited:U,...M}={},...D}=i,W={...i,anchorOrigin:{vertical:u,horizontal:d},autoHideDuration:f,disableWindowBlurListener:C,TransitionComponent:$,transitionDuration:S},H=zD(W),{getRootProps:q,onClickAway:F}=OD({...W}),[_,V]=h.useState(!0),B=he=>{V(!0),U&&U(he)},G=(he,Se)=>{V(!1),L&&L(he,Se)},Z={slots:{transition:$,...A},slotProps:{content:P,clickAwayListener:x,transition:M,...N}},[te,K]=Le("root",{ref:n,className:[H.root,y],elementType:FD,getSlotProps:q,externalForwardedProps:{...Z,...D},ownerState:W}),[J,{ownerState:Q,...ie}]=Le("clickAwayListener",{elementType:AC,externalForwardedProps:Z,getSlotProps:he=>({onClickAway:(...Se)=>{var Ae;(Ae=he.onClickAway)==null||Ae.call(he,...Se),F(...Se)}}),ownerState:W}),[se,ue]=Le("content",{elementType:yk,shouldForwardComponentProp:!0,externalForwardedProps:Z,additionalProps:{message:b,action:c},ownerState:W}),[ge,ce]=Le("transition",{elementType:gs,externalForwardedProps:Z,getSlotProps:he=>({onEnter:(...Se)=>{var Ae;(Ae=he.onEnter)==null||Ae.call(he,...Se),G(...Se)},onExited:(...Se)=>{var Ae;(Ae=he.onExited)==null||Ae.call(he,...Se),B(...Se)}}),additionalProps:{appear:!0,in:O,timeout:S,direction:u==="top"?"down":"up"},ownerState:W});return!O&&_?null:g.jsx(J,{...ie,...A.clickAwayListener&&{ownerState:Q},children:g.jsx(te,{...K,children:g.jsx(ge,{...ce,children:m||g.jsx(se,{...ue})})})})}),WD={entering:{transform:"none"},entered:{transform:"none"}},xk=h.forwardRef(function(t,n){const i=Cn(),a={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{addEndListener:s,appear:c=!0,children:u,easing:d,in:f,onEnter:m,onEntered:y,onEntering:x,onExit:P,onExited:C,onExiting:b,style:k,timeout:w=a,TransitionComponent:T=Pr,...R}=t,I=h.useRef(null),O=Lt(I,qo(u),n),j=D=>W=>{if(D){const H=I.current;W===void 0?D(H):D(H,W)}},A=j(x),N=j((D,W)=>{ep(D);const H=ro({style:k,timeout:w,easing:d},{mode:"enter"});D.style.webkitTransition=i.transitions.create("transform",H),D.style.transition=i.transitions.create("transform",H),m&&m(D,W)}),$=j(y),S=j(b),L=j(D=>{const W=ro({style:k,timeout:w,easing:d},{mode:"exit"});D.style.webkitTransition=i.transitions.create("transform",W),D.style.transition=i.transitions.create("transform",W),P&&P(D)}),U=j(C),M=D=>{s&&s(I.current,D)};return g.jsx(T,{appear:c,in:f,nodeRef:I,onEnter:N,onEntered:$,onEntering:A,onExit:L,onExited:U,onExiting:S,addEndListener:M,timeout:w,...R,children:(D,{ownerState:W,...H})=>h.cloneElement(u,{style:{transform:"scale(0)",visibility:D==="exited"&&!f?"hidden":void 0,...WD[D],...k,...u.props.style},ref:O,...H})})});function Sk(e){return Ee("MuiSpeedDial",e)}const Ml=Ie("MuiSpeedDial",["root","fab","directionUp","directionDown","directionLeft","directionRight","actions","actionsClosed"]),HD=e=>{const{classes:t,open:n,direction:i}=e,a={root:["root",`direction${ee(i)}`],fab:["fab"],actions:["actions",!n&&"actionsClosed"]};return $e(a,Sk,t)};function fl(e){if(e==="up"||e==="down")return"vertical";if(e==="right"||e==="left")return"horizontal"}const hi=32,Wu=16,UD=X("div",{name:"MuiSpeedDial",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`direction${ee(n.direction)}`]]}})(xe(({theme:e})=>({zIndex:(e.vars||e).zIndex.speedDial,display:"flex",alignItems:"center",pointerEvents:"none",variants:[{props:{direction:"up"},style:{flexDirection:"column-reverse",[`& .${Ml.actions}`]:{flexDirection:"column-reverse",marginBottom:-hi,paddingBottom:Wu+hi}}},{props:{direction:"down"},style:{flexDirection:"column",[`& .${Ml.actions}`]:{flexDirection:"column",marginTop:-hi,paddingTop:Wu+hi}}},{props:{direction:"left"},style:{flexDirection:"row-reverse",[`& .${Ml.actions}`]:{flexDirection:"row-reverse",marginRight:-hi,paddingRight:Wu+hi}}},{props:{direction:"right"},style:{flexDirection:"row",[`& .${Ml.actions}`]:{flexDirection:"row",marginLeft:-hi,paddingLeft:Wu+hi}}}]}))),VD=X(Mh,{name:"MuiSpeedDial",slot:"Fab",overridesResolver:(e,t)=>t.fab})({pointerEvents:"auto"}),GD=X("div",{name:"MuiSpeedDial",slot:"Actions",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.actions,!n.open&&t.actionsClosed]}})({display:"flex",pointerEvents:"auto",variants:[{props:({ownerState:e})=>!e.open,style:{transition:"top 0s linear 0.2s",pointerEvents:"none"}}]}),qD=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiSpeedDial"}),a=Cn(),s={enter:a.transitions.duration.enteringScreen,exit:a.transitions.duration.leavingScreen},{ariaLabel:c,FabProps:{ref:u,...d}={},children:f,className:m,direction:y="up",hidden:x=!1,icon:P,onBlur:C,onClose:b,onFocus:k,onKeyDown:w,onMouseEnter:T,onMouseLeave:R,onOpen:I,open:O,openIcon:j,slots:A={},slotProps:N={},TransitionComponent:$,TransitionProps:S,transitionDuration:L=s,...U}=i,[M,D]=Qn({controlled:O,default:!1,name:"SpeedDial",state:"open"}),W={...i,open:M,direction:y},H=HD(W),q=Do(),F=h.useRef(0),_=h.useRef(),V=h.useRef([]);V.current=[V.current[0]];const B=h.useCallback(ve=>{V.current[0]=ve},[]),G=Lt(u,B),Z=(ve,Ne)=>Be=>{V.current[ve+1]=Be,Ne&&Ne(Be)},te=ve=>{w&&w(ve);const Ne=ve.key.replace("Arrow","").toLowerCase(),{current:Be=Ne}=_;if(ve.key==="Escape"){D(!1),V.current[0].focus(),b&&b(ve,"escapeKeyDown");return}if(fl(Ne)===fl(Be)&&fl(Ne)!==void 0){ve.preventDefault();const be=Ne===Be?1:-1,oe=bi(F.current+be,0,V.current.length-1);V.current[oe].focus(),F.current=oe,_.current=Be}};h.useEffect(()=>{M||(F.current=0,_.current=void 0)},[M]);const K=ve=>{ve.type==="mouseleave"&&R&&R(ve),ve.type==="blur"&&C&&C(ve),q.clear(),ve.type==="blur"?q.start(0,()=>{D(!1),b&&b(ve,"blur")}):(D(!1),b&&b(ve,"mouseLeave"))},J=ve=>{d.onClick&&d.onClick(ve),q.clear(),M?(D(!1),b&&b(ve,"toggle")):(D(!0),I&&I(ve,"toggle"))},Q=ve=>{ve.type==="mouseenter"&&T&&T(ve),ve.type==="focus"&&k&&k(ve),q.clear(),M||q.start(0,()=>{D(!0),I&&I(ve,{focus:"focus",mouseenter:"mouseEnter"}[ve.type])})},ie=c.replace(/^[^a-z]+|[^\w:.-]+/gi,""),se=h.Children.toArray(f).filter(ve=>h.isValidElement(ve)),ue=se.map((ve,Ne)=>{const{FabProps:{ref:Be,...be}={},tooltipPlacement:oe}=ve.props,Me=oe||(fl(y)==="vertical"?"left":"top");return h.cloneElement(ve,{FabProps:{...be,ref:Z(Ne,Be)},delay:30*(M?Ne:se.length-Ne),open:M,tooltipPlacement:Me,id:`${ie}-action-${Ne}`})}),ge={transition:$,...A},ce={transition:S,...N},he={slots:ge,slotProps:ce},[Se,Ae]=Le("root",{elementType:UD,externalForwardedProps:{...he,...U},ownerState:W,ref:n,className:ae(H.root,m),additionalProps:{role:"presentation"},getSlotProps:ve=>({...ve,onKeyDown:Ne=>{var Be;(Be=ve.onKeyDown)==null||Be.call(ve,Ne),te(Ne)},onBlur:Ne=>{var Be;(Be=ve.onBlur)==null||Be.call(ve,Ne),K(Ne)},onFocus:Ne=>{var Be;(Be=ve.onFocus)==null||Be.call(ve,Ne),Q(Ne)},onMouseEnter:Ne=>{var Be;(Be=ve.onMouseEnter)==null||Be.call(ve,Ne),Q(Ne)},onMouseLeave:Ne=>{var Be;(Be=ve.onMouseLeave)==null||Be.call(ve,Ne),K(Ne)}})}),[He,fe]=Le("transition",{elementType:xk,externalForwardedProps:he,ownerState:W});return g.jsxs(Se,{...Ae,children:[g.jsx(He,{in:!x,timeout:L,unmountOnExit:!0,...fe,children:g.jsx(VD,{color:"primary","aria-label":c,"aria-haspopup":"true","aria-expanded":M,"aria-controls":`${ie}-actions`,...d,onClick:J,className:ae(H.fab,d.className),ref:G,ownerState:W,children:h.isValidElement(P)&&vo(P,["SpeedDialIcon"])?h.cloneElement(P,{open:M}):P})}),g.jsx(GD,{id:`${ie}-actions`,role:"menu","aria-orientation":fl(y),className:ae(H.actions,!M&&H.actionsClosed),ownerState:W,children:ue})]})});function Ck(e){return Ee("MuiTooltip",e)}const mn=Ie("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function KD(e){return Math.round(e*1e5)/1e5}const YD=e=>{const{classes:t,disableInteractive:n,arrow:i,touch:a,placement:s}=e,c={popper:["popper",!n&&"popperInteractive",i&&"popperArrow"],tooltip:["tooltip",i&&"tooltipArrow",a&&"touch",`tooltipPlacement${ee(s.split("-")[0])}`],arrow:["arrow"]};return $e(c,Ck,t)},XD=X(mc,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(xe(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${mn.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${mn.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${mn.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${mn.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${mn.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${mn.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${mn.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${mn.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),QD=X("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${ee(n.placement.split("-")[0])}`]]}})(xe(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Qe(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${mn.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${mn.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${mn.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${mn.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${KD(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${mn.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${mn.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${mn.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${mn.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${mn.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${mn.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${mn.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${mn.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${mn.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${mn.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),JD=X("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(xe(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Qe(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Hu=!1;const sx=new qd;let ml={x:0,y:0};function Uu(e,t){return(n,...i)=>{t&&t(n,...i),e(n,...i)}}const zh=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiTooltip"}),{arrow:a=!1,children:s,classes:c,components:u={},componentsProps:d={},describeChild:f=!1,disableFocusListener:m=!1,disableHoverListener:y=!1,disableInteractive:x=!1,disableTouchListener:P=!1,enterDelay:C=100,enterNextDelay:b=0,enterTouchDelay:k=700,followCursor:w=!1,id:T,leaveDelay:R=0,leaveTouchDelay:I=1500,onClose:O,onOpen:j,open:A,placement:N="bottom",PopperComponent:$,PopperProps:S={},slotProps:L={},slots:U={},title:M,TransitionComponent:D,TransitionProps:W,...H}=i,q=h.isValidElement(s)?s:g.jsx("span",{children:s}),F=Cn(),_=oo(),[V,B]=h.useState(),[G,Z]=h.useState(null),te=h.useRef(!1),K=x||w,J=Do(),Q=Do(),ie=Do(),se=Do(),[ue,ge]=Qn({controlled:A,default:!1,name:"Tooltip",state:"open"});let ce=ue;const he=Jn(T),Se=h.useRef(),Ae=Yt(()=>{Se.current!==void 0&&(document.body.style.WebkitUserSelect=Se.current,Se.current=void 0),se.clear()});h.useEffect(()=>Ae,[Ae]);const He=at=>{sx.clear(),Hu=!0,ge(!0),j&&!ce&&j(at)},fe=Yt(at=>{sx.start(800+R,()=>{Hu=!1}),ge(!1),O&&ce&&O(at),J.start(F.transitions.duration.shortest,()=>{te.current=!1})}),ve=at=>{te.current&&at.type!=="touchstart"||(V&&V.removeAttribute("title"),Q.clear(),ie.clear(),C||Hu&&b?Q.start(Hu?b:C,()=>{He(at)}):He(at))},Ne=at=>{Q.clear(),ie.start(R,()=>{fe(at)})},[,Be]=h.useState(!1),be=at=>{bo(at.target)||(Be(!1),Ne(at))},oe=at=>{V||B(at.currentTarget),bo(at.target)&&(Be(!0),ve(at))},Me=at=>{te.current=!0;const cn=q.props;cn.onTouchStart&&cn.onTouchStart(at)},Re=at=>{Me(at),ie.clear(),J.clear(),Ae(),Se.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",se.start(k,()=>{document.body.style.WebkitUserSelect=Se.current,ve(at)})},pe=at=>{q.props.onTouchEnd&&q.props.onTouchEnd(at),Ae(),ie.start(I,()=>{fe(at)})};h.useEffect(()=>{if(!ce)return;function at(cn){cn.key==="Escape"&&fe(cn)}return document.addEventListener("keydown",at),()=>{document.removeEventListener("keydown",at)}},[fe,ce]);const ye=Lt(qo(q),B,n);!M&&M!==0&&(ce=!1);const De=h.useRef(),we=at=>{const cn=q.props;cn.onMouseMove&&cn.onMouseMove(at),ml={x:at.clientX,y:at.clientY},De.current&&De.current.update()},je={},Pe=typeof M=="string";f?(je.title=!ce&&Pe&&!y?M:null,je["aria-describedby"]=ce?he:null):(je["aria-label"]=Pe?M:null,je["aria-labelledby"]=ce&&!Pe?he:null);const Fe={...je,...H,...q.props,className:ae(H.className,q.props.className),onTouchStart:Me,ref:ye,...w?{onMouseMove:we}:{}},ot={};P||(Fe.onTouchStart=Re,Fe.onTouchEnd=pe),y||(Fe.onMouseOver=Uu(ve,Fe.onMouseOver),Fe.onMouseLeave=Uu(Ne,Fe.onMouseLeave),K||(ot.onMouseOver=ve,ot.onMouseLeave=Ne)),m||(Fe.onFocus=Uu(oe,Fe.onFocus),Fe.onBlur=Uu(be,Fe.onBlur),K||(ot.onFocus=oe,ot.onBlur=be));const Ke={...i,isRtl:_,arrow:a,disableInteractive:K,placement:N,PopperComponentProp:$,touch:te.current},ht=typeof L.popper=="function"?L.popper(Ke):L.popper,Ve=h.useMemo(()=>{var cn,Ge;let at=[{name:"arrow",enabled:!!G,options:{element:G,padding:4}}];return(cn=S.popperOptions)!=null&&cn.modifiers&&(at=at.concat(S.popperOptions.modifiers)),(Ge=ht==null?void 0:ht.popperOptions)!=null&&Ge.modifiers&&(at=at.concat(ht.popperOptions.modifiers)),{...S.popperOptions,...ht==null?void 0:ht.popperOptions,modifiers:at}},[G,S.popperOptions,ht==null?void 0:ht.popperOptions]),it=YD(Ke),Et=typeof L.transition=="function"?L.transition(Ke):L.transition,Ht={slots:{popper:u.Popper,transition:u.Transition??D,tooltip:u.Tooltip,arrow:u.Arrow,...U},slotProps:{arrow:L.arrow??d.arrow,popper:{...S,...ht??d.popper},tooltip:L.tooltip??d.tooltip,transition:{...W,...Et??d.transition}}},[an,Jt]=Le("popper",{elementType:XD,externalForwardedProps:Ht,ownerState:Ke,className:ae(it.popper,S==null?void 0:S.className)}),[gn,ft]=Le("transition",{elementType:gs,externalForwardedProps:Ht,ownerState:Ke}),[Mt,sn]=Le("tooltip",{elementType:QD,className:it.tooltip,externalForwardedProps:Ht,ownerState:Ke}),[Mn,ln]=Le("arrow",{elementType:JD,className:it.arrow,externalForwardedProps:Ht,ownerState:Ke,ref:Z});return g.jsxs(h.Fragment,{children:[h.cloneElement(q,Fe),g.jsx(an,{as:$??mc,placement:N,anchorEl:w?{getBoundingClientRect:()=>({top:ml.y,left:ml.x,right:ml.x,bottom:ml.y,width:0,height:0})}:V,popperRef:De,open:V?ce:!1,id:he,transition:!0,...ot,...Jt,popperOptions:Ve,children:({TransitionProps:at})=>g.jsx(gn,{timeout:F.transitions.duration.shorter,...at,...ft,children:g.jsxs(Mt,{...sn,children:[M,a?g.jsx(Mn,{...ln}):null]})})})]})});function wk(e){return Ee("MuiSpeedDialAction",e)}const Ol=Ie("MuiSpeedDialAction",["fab","fabClosed","staticTooltip","staticTooltipClosed","staticTooltipLabel","tooltipPlacementLeft","tooltipPlacementRight"]),ZD=e=>{const{open:t,tooltipPlacement:n,classes:i}=e,a={fab:["fab",!t&&"fabClosed"],staticTooltip:["staticTooltip",`tooltipPlacement${ee(n)}`,!t&&"staticTooltipClosed"],staticTooltipLabel:["staticTooltipLabel"]};return $e(a,wk,i)},ez=X(Mh,{name:"MuiSpeedDialAction",slot:"Fab",skipVariantsResolver:!1,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.fab,!n.open&&t.fabClosed]}})(xe(({theme:e})=>({margin:8,color:(e.vars||e).palette.text.secondary,backgroundColor:(e.vars||e).palette.background.paper,"&:hover":{backgroundColor:e.vars?e.vars.palette.SpeedDialAction.fabHoverBg:pa(e.palette.background.paper,.15)},transition:`${e.transitions.create("transform",{duration:e.transitions.duration.shorter})}, opacity 0.8s`,opacity:1,variants:[{props:({ownerState:t})=>!t.open,style:{opacity:0,transform:"scale(0)"}}]}))),tz=X("span",{name:"MuiSpeedDialAction",slot:"StaticTooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.staticTooltip,!n.open&&t.staticTooltipClosed,t[`tooltipPlacement${ee(n.tooltipPlacement)}`]]}})(xe(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",[`& .${Ol.staticTooltipLabel}`]:{transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.shorter}),opacity:1},variants:[{props:({ownerState:t})=>!t.open,style:{[`& .${Ol.staticTooltipLabel}`]:{opacity:0,transform:"scale(0.5)"}}},{props:{tooltipPlacement:"left"},style:{[`& .${Ol.staticTooltipLabel}`]:{transformOrigin:"100% 50%",right:"100%",marginRight:8}}},{props:{tooltipPlacement:"right"},style:{[`& .${Ol.staticTooltipLabel}`]:{transformOrigin:"0% 50%",left:"100%",marginLeft:8}}}]}))),nz=X("span",{name:"MuiSpeedDialAction",slot:"StaticTooltipLabel",overridesResolver:(e,t)=>t.staticTooltipLabel})(xe(({theme:e})=>({position:"absolute",...e.typography.body1,backgroundColor:(e.vars||e).palette.background.paper,borderRadius:(e.vars||e).shape.borderRadius,boxShadow:(e.vars||e).shadows[1],color:(e.vars||e).palette.text.secondary,padding:"4px 16px",wordBreak:"keep-all"}))),rz=h.forwardRef(function(t,n){var F;const i=Oe({props:t,name:"MuiSpeedDialAction"}),{className:a,delay:s=0,FabProps:c={},icon:u,id:d,open:f,TooltipClasses:m,tooltipOpen:y=!1,tooltipPlacement:x="left",tooltipTitle:P,slots:C={},slotProps:b={},...k}=i,w={...i,tooltipPlacement:x},T=ZD(w),R={slots:C,slotProps:{fab:c,...b,tooltip:Ti(typeof b.tooltip=="function"?b.tooltip(w):b.tooltip,{title:P,open:y,placement:x,classes:m})}},[I,O]=h.useState((F=R.slotProps.tooltip)==null?void 0:F.open),j=()=>{O(!1)},A=()=>{O(!0)},N={transitionDelay:`${s}ms`},[$,S]=Le("fab",{elementType:ez,externalForwardedProps:R,ownerState:w,shouldForwardComponentProp:!0,className:ae(T.fab,a),additionalProps:{style:N,tabIndex:-1,role:"menuitem",size:"small"}}),[L,U]=Le("tooltip",{elementType:zh,externalForwardedProps:R,shouldForwardComponentProp:!0,ref:n,additionalProps:{id:d},ownerState:w,getSlotProps:_=>({..._,onClose:V=>{var B;(B=_.onClose)==null||B.call(_,V),j()},onOpen:V=>{var B;(B=_.onOpen)==null||B.call(_,V),A()}})}),[M,D]=Le("staticTooltip",{elementType:tz,externalForwardedProps:R,ownerState:w,ref:n,className:T.staticTooltip,additionalProps:{id:d}}),[W,H]=Le("staticTooltipLabel",{elementType:nz,externalForwardedProps:R,ownerState:w,className:T.staticTooltipLabel,additionalProps:{style:N,id:`${d}-label`}}),q=g.jsx($,{...S,children:u});return U.open?g.jsxs(M,{...D,...k,children:[g.jsx(W,{...H,children:U.title}),h.cloneElement(q,{"aria-labelledby":`${d}-label`})]}):(!f&&I&&O(!1),g.jsx(L,{...U,title:U.title,open:f&&I,placement:U.placement,classes:U.classes,...k,children:q}))}),oz=xt(g.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");function kk(e){return Ee("MuiSpeedDialIcon",e)}const to=Ie("MuiSpeedDialIcon",["root","icon","iconOpen","iconWithOpenIconOpen","openIcon","openIconOpen"]),iz=e=>{const{classes:t,open:n,openIcon:i}=e;return $e({root:["root"],icon:["icon",n&&"iconOpen",i&&n&&"iconWithOpenIconOpen"],openIcon:["openIcon",n&&"openIconOpen"]},kk,t)},az=X("span",{name:"MuiSpeedDialIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${to.icon}`]:t.icon},{[`& .${to.icon}`]:n.open&&t.iconOpen},{[`& .${to.icon}`]:n.open&&n.openIcon&&t.iconWithOpenIconOpen},{[`& .${to.openIcon}`]:t.openIcon},{[`& .${to.openIcon}`]:n.open&&t.openIconOpen},t.root]}})(xe(({theme:e})=>({height:24,[`& .${to.icon}`]:{transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.short})},[`& .${to.openIcon}`]:{position:"absolute",transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.short}),opacity:0,transform:"rotate(-45deg)"},variants:[{props:({ownerState:t})=>t.open,style:{[`& .${to.icon}`]:{transform:"rotate(45deg)"}}},{props:({ownerState:t})=>t.open&&t.openIcon,style:{[`& .${to.icon}`]:{opacity:0}}},{props:({ownerState:t})=>t.open,style:{[`& .${to.openIcon}`]:{transform:"rotate(0deg)",opacity:1}}}]}))),Rk=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiSpeedDialIcon"}),{className:a,icon:s,open:c,openIcon:u,...d}=i,f=i,m=iz(f);function y(x,P){return h.isValidElement(x)?h.cloneElement(x,{className:P}):x}return g.jsxs(az,{className:ae(m.root,a),ref:n,ownerState:f,...d,children:[u?y(u,m.openIcon):null,s?y(s,m.icon):g.jsx(oz,{className:m.icon})]})});Rk.muiName="SpeedDialIcon";const Go=h$({createStyledComponent:X("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>Oe({props:e,name:"MuiStack"})}),sz=Ie("MuiStack",["root"]),Ii=h.createContext({});function lz(){return h.useContext(Ii)}const ya=h.createContext({});function cz(){return h.useContext(ya)}function Pk(e){return Ee("MuiStep",e)}const uz=Ie("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]),dz=e=>{const{classes:t,orientation:n,alternativeLabel:i,completed:a}=e;return $e({root:["root",n,i&&"alternativeLabel",a&&"completed"]},Pk,t)},pz=X("div",{name:"MuiStep",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel,n.completed&&t.completed]}})({variants:[{props:{orientation:"horizontal"},style:{paddingLeft:8,paddingRight:8}},{props:{alternativeLabel:!0},style:{flex:1,position:"relative"}}]}),fz=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiStep"}),{active:a,children:s,className:c,component:u="div",completed:d,disabled:f,expanded:m=!1,index:y,last:x,...P}=i,{activeStep:C,connector:b,alternativeLabel:k,orientation:w,nonLinear:T}=h.useContext(Ii);let[R=!1,I=!1,O=!1]=[a,d,f];C===y?R=a!==void 0?a:!0:!T&&C>y?I=d!==void 0?d:!0:!T&&C<y&&(O=f!==void 0?f:!0);const j=h.useMemo(()=>({index:y,last:x,expanded:m,icon:y+1,active:R,completed:I,disabled:O}),[y,x,m,R,I,O]),A={...i,active:R,orientation:w,alternativeLabel:k,completed:I,disabled:O,expanded:m,component:u},N=dz(A),$=g.jsxs(pz,{as:u,className:ae(N.root,c),ref:n,ownerState:A,...P,children:[b&&k&&y!==0?b:null,s]});return g.jsx(ya.Provider,{value:j,children:b&&!k&&y!==0?g.jsxs(h.Fragment,{children:[b,$]}):$})}),mz=xt(g.jsx("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),gz=xt(g.jsx("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");function Tk(e){return Ee("MuiStepIcon",e)}const ud=Ie("MuiStepIcon",["root","active","completed","error","text"]);var lx;const hz=e=>{const{classes:t,active:n,completed:i,error:a}=e;return $e({root:["root",n&&"active",i&&"completed",a&&"error"],text:["text"]},Tk,t)},wm=X(Kl,{name:"MuiStepIcon",slot:"Root",overridesResolver:(e,t)=>t.root})(xe(({theme:e})=>({display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),color:(e.vars||e).palette.text.disabled,[`&.${ud.completed}`]:{color:(e.vars||e).palette.primary.main},[`&.${ud.active}`]:{color:(e.vars||e).palette.primary.main},[`&.${ud.error}`]:{color:(e.vars||e).palette.error.main}}))),vz=X("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:(e,t)=>t.text})(xe(({theme:e})=>({fill:(e.vars||e).palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily}))),Ek=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiStepIcon"}),{active:a=!1,className:s,completed:c=!1,error:u=!1,icon:d,...f}=i,m={...i,active:a,completed:c,error:u},y=hz(m);if(typeof d=="number"||typeof d=="string"){const x=ae(s,y.root);return u?g.jsx(wm,{as:gz,className:x,ref:n,ownerState:m,...f}):c?g.jsx(wm,{as:mz,className:x,ref:n,ownerState:m,...f}):g.jsxs(wm,{className:x,ref:n,ownerState:m,...f,children:[lx||(lx=g.jsx("circle",{cx:"12",cy:"12",r:"12"})),g.jsx(vz,{className:y.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:m,children:d})]})}return d});function Ik(e){return Ee("MuiStepLabel",e)}const zo=Ie("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"]),yz=e=>{const{classes:t,orientation:n,active:i,completed:a,error:s,disabled:c,alternativeLabel:u}=e;return $e({root:["root",n,s&&"error",c&&"disabled",u&&"alternativeLabel"],label:["label",i&&"active",a&&"completed",s&&"error",c&&"disabled",u&&"alternativeLabel"],iconContainer:["iconContainer",i&&"active",a&&"completed",s&&"error",c&&"disabled",u&&"alternativeLabel"],labelContainer:["labelContainer",u&&"alternativeLabel"]},Ik,t)},bz=X("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation]]}})({display:"flex",alignItems:"center",[`&.${zo.alternativeLabel}`]:{flexDirection:"column"},[`&.${zo.disabled}`]:{cursor:"default"},variants:[{props:{orientation:"vertical"},style:{textAlign:"left",padding:"8px 0"}}]}),xz=X("span",{name:"MuiStepLabel",slot:"Label",overridesResolver:(e,t)=>t.label})(xe(({theme:e})=>({...e.typography.body2,display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),[`&.${zo.active}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${zo.completed}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${zo.alternativeLabel}`]:{marginTop:16},[`&.${zo.error}`]:{color:(e.vars||e).palette.error.main}}))),Sz=X("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:(e,t)=>t.iconContainer})({flexShrink:0,display:"flex",paddingRight:8,[`&.${zo.alternativeLabel}`]:{paddingRight:0}}),Cz=X("span",{name:"MuiStepLabel",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})(xe(({theme:e})=>({width:"100%",color:(e.vars||e).palette.text.secondary,[`&.${zo.alternativeLabel}`]:{textAlign:"center"}}))),Fh=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiStepLabel"}),{children:a,className:s,componentsProps:c={},error:u=!1,icon:d,optional:f,slots:m={},slotProps:y={},StepIconComponent:x,StepIconProps:P,...C}=i,{alternativeLabel:b,orientation:k}=h.useContext(Ii),{active:w,disabled:T,completed:R,icon:I}=h.useContext(ya),O=d||I;let j=x;O&&!j&&(j=Ek);const A={...i,active:w,alternativeLabel:b,completed:R,disabled:T,error:u,orientation:k},N=yz(A),$={slots:m,slotProps:{stepIcon:P,...c,...y}},[S,L]=Le("root",{elementType:bz,externalForwardedProps:{...$,...C},ownerState:A,ref:n,className:ae(N.root,s)}),[U,M]=Le("label",{elementType:xz,externalForwardedProps:$,ownerState:A}),[D,W]=Le("stepIcon",{elementType:j,externalForwardedProps:$,ownerState:A});return g.jsxs(S,{...L,children:[O||D?g.jsx(Sz,{className:N.iconContainer,ownerState:A,children:g.jsx(D,{completed:R,active:w,error:u,icon:O,...W})}):null,g.jsxs(Cz,{className:N.labelContainer,ownerState:A,children:[a?g.jsx(U,{...M,className:ae(N.label,M==null?void 0:M.className),children:a}):null,f]})]})});Fh.muiName="StepLabel";function $k(e){return Ee("MuiStepButton",e)}const $g=Ie("MuiStepButton",["root","horizontal","vertical","touchRipple"]),wz=e=>{const{classes:t,orientation:n}=e;return $e({root:["root",n],touchRipple:["touchRipple"]},$k,t)},kz=X($n,{name:"MuiStepButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${$g.touchRipple}`]:t.touchRipple},t.root,t[n.orientation]]}})({width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box",[`& .${$g.touchRipple}`]:{color:"rgba(0, 0, 0, 0.3)"},variants:[{props:{orientation:"vertical"},style:{justifyContent:"flex-start",padding:"8px",margin:"-8px"}}]}),Rz=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiStepButton"}),{children:a,className:s,icon:c,optional:u,...d}=i,{disabled:f,active:m}=h.useContext(ya),{orientation:y}=h.useContext(Ii),x={...i,orientation:y},P=wz(x),C={icon:c,optional:u},b=vo(a,["StepLabel"])?h.cloneElement(a,C):g.jsx(Fh,{...C,children:a});return g.jsx(kz,{focusRipple:!0,disabled:f,TouchRippleProps:{className:P.touchRipple},className:ae(P.root,s),ref:n,ownerState:x,"aria-current":m?"step":void 0,...d,children:b})});function Mk(e){return Ee("MuiStepConnector",e)}const Pz=Ie("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"]),Tz=e=>{const{classes:t,orientation:n,alternativeLabel:i,active:a,completed:s,disabled:c}=e,u={root:["root",n,i&&"alternativeLabel",a&&"active",s&&"completed",c&&"disabled"],line:["line",`line${ee(n)}`]};return $e(u,Mk,t)},Ez=X("div",{name:"MuiStepConnector",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel,n.completed&&t.completed]}})({flex:"1 1 auto",variants:[{props:{orientation:"vertical"},style:{marginLeft:12}},{props:{alternativeLabel:!0},style:{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"}}]}),Iz=X("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.line,t[`line${ee(n.orientation)}`]]}})(xe(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[600];return{display:"block",borderColor:e.vars?e.vars.palette.StepConnector.border:t,variants:[{props:{orientation:"horizontal"},style:{borderTopStyle:"solid",borderTopWidth:1}},{props:{orientation:"vertical"},style:{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24}}]}})),Ok=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiStepConnector"}),{className:a,...s}=i,{alternativeLabel:c,orientation:u="horizontal"}=h.useContext(Ii),{active:d,disabled:f,completed:m}=h.useContext(ya),y={...i,alternativeLabel:c,orientation:u,active:d,completed:m,disabled:f},x=Tz(y);return g.jsx(Ez,{className:ae(x.root,a),ref:n,ownerState:y,...s,children:g.jsx(Iz,{className:x.line,ownerState:y})})});function Ak(e){return Ee("MuiStepContent",e)}const $z=Ie("MuiStepContent",["root","last","transition"]),Mz=e=>{const{classes:t,last:n}=e;return $e({root:["root",n&&"last"],transition:["transition"]},Ak,t)},Oz=X("div",{name:"MuiStepContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.last&&t.last]}})(xe(({theme:e})=>({marginLeft:12,paddingLeft:20,paddingRight:8,borderLeft:e.vars?`1px solid ${e.vars.palette.StepContent.border}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[600]}`,variants:[{props:{last:!0},style:{borderLeft:"none"}}]}))),Az=X(Uo,{name:"MuiStepContent",slot:"Transition",overridesResolver:(e,t)=>t.transition})({}),jz=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiStepContent"}),{children:a,className:s,TransitionComponent:c=Uo,transitionDuration:u="auto",TransitionProps:d,slots:f={},slotProps:m={},...y}=i,{orientation:x}=h.useContext(Ii),{active:P,last:C,expanded:b}=h.useContext(ya),k={...i,last:C},w=Mz(k);let T=u;u==="auto"&&!c.muiSupportAuto&&(T=void 0);const R={slots:f,slotProps:{transition:d,...m}},[I,O]=Le("transition",{elementType:Az,externalForwardedProps:R,ownerState:k,className:w.transition,additionalProps:{in:P||b,timeout:T,unmountOnExit:!0}});return g.jsx(Oz,{className:ae(w.root,s),ref:n,ownerState:k,...y,children:g.jsx(I,{as:c,...O,children:a})})});function jk(e){return Ee("MuiStepper",e)}const Lz=Ie("MuiStepper",["root","horizontal","vertical","nonLinear","alternativeLabel"]),Nz=e=>{const{orientation:t,nonLinear:n,alternativeLabel:i,classes:a}=e;return $e({root:["root",t,n&&"nonLinear",i&&"alternativeLabel"]},jk,a)},Bz=X("div",{name:"MuiStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel,n.nonLinear&&t.nonLinear]}})({display:"flex",variants:[{props:{orientation:"horizontal"},style:{flexDirection:"row",alignItems:"center"}},{props:{orientation:"vertical"},style:{flexDirection:"column"}},{props:{alternativeLabel:!0},style:{alignItems:"flex-start"}}]}),Dz=g.jsx(Ok,{}),zz=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiStepper"}),{activeStep:a=0,alternativeLabel:s=!1,children:c,className:u,component:d="div",connector:f=Dz,nonLinear:m=!1,orientation:y="horizontal",...x}=i,P={...i,nonLinear:m,alternativeLabel:s,orientation:y,component:d},C=Nz(P),b=h.Children.toArray(c).filter(Boolean),k=b.map((T,R)=>h.cloneElement(T,{index:R,last:R+1===b.length,...T.props})),w=h.useMemo(()=>({activeStep:a,alternativeLabel:s,connector:f,nonLinear:m,orientation:y}),[a,s,f,m,y]);return g.jsx(Ii.Provider,{value:w,children:g.jsx(Bz,{as:d,ownerState:P,className:ae(C.root,u),ref:n,...x,children:k})})}),Fz=X("div",{name:"MuiSwipeArea",shouldForwardProp:wn})(xe(({theme:e})=>({position:"fixed",top:0,left:0,bottom:0,zIndex:e.zIndex.drawer-1,variants:[{props:{anchor:"left"},style:{right:"auto"}},{props:{anchor:"right"},style:{left:"auto",right:0}},{props:{anchor:"top"},style:{bottom:"auto",right:0}},{props:{anchor:"bottom"},style:{top:"auto",bottom:0,right:0}}]}))),_z=h.forwardRef(function(t,n){const{anchor:i,classes:a={},className:s,width:c,style:u,...d}=t,f=t;return g.jsx(Fz,{className:ae("PrivateSwipeArea-root",a.root,a[`anchor${ee(i)}`],s),ref:n,style:{[ea(i)?"width":"height"]:c,...u},ownerState:f,...d})}),Vu=3,km=20;let Ao=null;function Rm(e,t,n){return e==="right"?n.body.offsetWidth-t[0].pageX:t[0].pageX}function Pm(e,t,n){return e==="bottom"?n.innerHeight-t[0].clientY:t[0].clientY}function gl(e,t){return e?t.clientWidth:t.clientHeight}function cx(e,t,n,i){return Math.min(Math.max(n?t-e:i+t-e,0),i)}function Wz(e,t){const n=[];for(;e&&e!==t.parentElement;){const i=In(t).getComputedStyle(e);i.getPropertyValue("position")==="absolute"||i.getPropertyValue("overflow-x")==="hidden"||(e.clientWidth>0&&e.scrollWidth>e.clientWidth||e.clientHeight>0&&e.scrollHeight>e.clientHeight)&&n.push(e),e=e.parentElement}return n}function Hz({domTreeShapes:e,start:t,current:n,anchor:i}){const a={scrollPosition:{x:"scrollLeft",y:"scrollTop"},scrollLength:{x:"scrollWidth",y:"scrollHeight"},clientLength:{x:"clientWidth",y:"clientHeight"}};return e.some(s=>{let c=n>=t;(i==="top"||i==="left")&&(c=!c);const u=i==="left"||i==="right"?"x":"y",d=Math.round(s[a.scrollPosition[u]]),f=d>0,m=d+s[a.clientLength[u]]<s[a.scrollLength[u]];return!!(c&&m||!c&&f)})}const Uz=typeof navigator<"u"&&/iPad|iPhone|iPod/.test(navigator.userAgent),Vz=h.forwardRef(function(t,n){const i=Oe({name:"MuiSwipeableDrawer",props:t}),a=Cn(),s={enter:a.transitions.duration.enteringScreen,exit:a.transitions.duration.leavingScreen},{anchor:c="left",disableBackdropTransition:u=!1,disableDiscovery:d=!1,disableSwipeToOpen:f=Uz,hideBackdrop:m,hysteresis:y=.52,allowSwipeInChildren:x=!1,minFlingVelocity:P=450,ModalProps:{BackdropProps:C,...b}={},onClose:k,onOpen:w,open:T=!1,PaperProps:R={},SwipeAreaProps:I,swipeAreaWidth:O=20,transitionDuration:j=s,variant:A="temporary",slots:N={},slotProps:$={},...S}=i,[L,U]=h.useState(!1),M=h.useRef({isSwiping:null}),D=h.useRef(),W=h.useRef(),H=h.useRef(),q=Lt(R.ref,H),F=h.useRef(!1),_=h.useRef();xn(()=>{_.current=null},[T]);const V=h.useCallback((Q,ie={})=>{const{mode:se=null,changeTransition:ue=!0}=ie,ge=$l(a,c),ce=["right","bottom"].includes(ge)?1:-1,he=ea(c),Se=he?`translate(${ce*Q}px, 0)`:`translate(0, ${ce*Q}px)`,Ae=H.current.style;Ae.webkitTransform=Se,Ae.transform=Se;let He="";if(se&&(He=a.transitions.create("all",ro({easing:void 0,style:void 0,timeout:j},{mode:se}))),ue&&(Ae.webkitTransition=He,Ae.transition=He),!u&&!m){const fe=W.current.style;fe.opacity=1-Q/gl(he,H.current),ue&&(fe.webkitTransition=He,fe.transition=He)}},[c,u,m,a,j]),B=Yt(Q=>{if(!F.current)return;if(Ao=null,F.current=!1,Yl.flushSync(()=>{U(!1)}),!M.current.isSwiping){M.current.isSwiping=null;return}M.current.isSwiping=null;const ie=$l(a,c),se=ea(c);let ue;se?ue=Rm(ie,Q.changedTouches,Kt(Q.currentTarget)):ue=Pm(ie,Q.changedTouches,In(Q.currentTarget));const ge=se?M.current.startX:M.current.startY,ce=gl(se,H.current),he=cx(ue,ge,T,ce),Se=he/ce;if(Math.abs(M.current.velocity)>P&&(_.current=Math.abs((ce-he)/M.current.velocity)*1e3),T){M.current.velocity>P||Se>y?k():V(0,{mode:"exit"});return}M.current.velocity<-P||1-Se>y?w():V(gl(se,H.current),{mode:"enter"})}),G=(Q=!1)=>{if(!L){(Q||!(d&&x))&&Yl.flushSync(()=>{U(!0)});const ie=ea(c);!T&&H.current&&V(gl(ie,H.current)+(d?15:-km),{changeTransition:!1}),M.current.velocity=0,M.current.lastTime=null,M.current.lastTranslate=null,M.current.paperHit=!1,F.current=!0}},Z=Yt(Q=>{if(!H.current||!F.current||Ao!==null&&Ao!==M.current)return;G(!0);const ie=$l(a,c),se=ea(c),ue=Rm(ie,Q.touches,Kt(Q.currentTarget)),ge=Pm(ie,Q.touches,In(Q.currentTarget));if(T&&H.current.contains(Q.target)&&Ao===null){const He=Wz(Q.target,H.current);if(Hz({domTreeShapes:He,start:se?M.current.startX:M.current.startY,current:se?ue:ge,anchor:c})){Ao=!0;return}Ao=M.current}if(M.current.isSwiping==null){const He=Math.abs(ue-M.current.startX),fe=Math.abs(ge-M.current.startY),ve=se?He>fe&&He>Vu:fe>He&&fe>Vu;if(ve&&Q.cancelable&&Q.preventDefault(),ve===!0||(se?fe>Vu:He>Vu)){if(M.current.isSwiping=ve,!ve){B(Q);return}M.current.startX=ue,M.current.startY=ge,!d&&!T&&(se?M.current.startX-=km:M.current.startY-=km)}}if(!M.current.isSwiping)return;const ce=gl(se,H.current);let he=se?M.current.startX:M.current.startY;T&&!M.current.paperHit&&(he=Math.min(he,ce));const Se=cx(se?ue:ge,he,T,ce);if(T)if(M.current.paperHit)Se===0&&(M.current.startX=ue,M.current.startY=ge);else if(se?ue<ce:ge<ce)M.current.paperHit=!0,M.current.startX=ue,M.current.startY=ge;else return;M.current.lastTranslate===null&&(M.current.lastTranslate=Se,M.current.lastTime=performance.now()+1);const Ae=(Se-M.current.lastTranslate)/(performance.now()-M.current.lastTime)*1e3;M.current.velocity=M.current.velocity*.4+Ae*.6,M.current.lastTranslate=Se,M.current.lastTime=performance.now(),Q.cancelable&&Q.preventDefault(),V(Se)}),te=Yt(Q=>{var ce;if(Q.defaultPrevented||Q.defaultMuiPrevented||T&&(m||!W.current.contains(Q.target))&&!H.current.contains(Q.target))return;const ie=$l(a,c),se=ea(c),ue=Rm(ie,Q.touches,Kt(Q.currentTarget)),ge=Pm(ie,Q.touches,In(Q.currentTarget));if(!T){if(f||!(Q.target===D.current||(ce=H.current)!=null&&ce.contains(Q.target)&&(typeof x=="function"?x(Q,D.current,H.current):x)))return;if(se){if(ue>O)return}else if(ge>O)return}Q.defaultMuiPrevented=!0,Ao=null,M.current.startX=ue,M.current.startY=ge,G()});h.useEffect(()=>{if(A==="temporary"){const Q=Kt(H.current);return Q.addEventListener("touchstart",te),Q.addEventListener("touchmove",Z,{passive:!T}),Q.addEventListener("touchend",B),()=>{Q.removeEventListener("touchstart",te),Q.removeEventListener("touchmove",Z,{passive:!T}),Q.removeEventListener("touchend",B)}}},[A,T,te,Z,B]),h.useEffect(()=>()=>{Ao===M.current&&(Ao=null)},[]),h.useEffect(()=>{T||U(!1)},[T]);const[K,J]=Le("swipeArea",{ref:D,elementType:_z,ownerState:i,externalForwardedProps:{slots:N,slotProps:{swipeArea:I,...$}},additionalProps:{width:O,anchor:c}});return g.jsxs(h.Fragment,{children:[g.jsx(lp,{open:A==="temporary"&&L?!0:T,variant:A,ModalProps:{BackdropProps:{...C,ref:W},...A==="temporary"&&{keepMounted:!0},...b},hideBackdrop:m,anchor:c,transitionDuration:_.current||j,onClose:k,ref:n,slots:N,slotProps:{...$,backdrop:Ti($.backdrop??C,{ref:W}),paper:Ti($.paper??R,{style:{pointerEvents:A==="temporary"&&!T&&!x?"none":""},ref:q})},...S}),!f&&A==="temporary"&&g.jsx(Vw,{children:g.jsx(K,{...J})})]})});function Lk(e){return Ee("MuiSwitch",e)}const Vn=Ie("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),Gz=e=>{const{classes:t,edge:n,size:i,color:a,checked:s,disabled:c}=e,u={root:["root",n&&`edge${ee(n)}`,`size${ee(i)}`],switchBase:["switchBase",`color${ee(a)}`,s&&"checked",c&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},d=$e(u,Lk,t);return{...t,...d}},qz=X("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${ee(n.edge)}`],t[`size${ee(n.size)}`]]}})({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${Vn.thumb}`]:{width:16,height:16},[`& .${Vn.switchBase}`]:{padding:4,[`&.${Vn.checked}`]:{transform:"translateX(16px)"}}}}]}),Kz=X(Eh,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${Vn.input}`]:t.input},n.color!=="default"&&t[`color${ee(n.color)}`]]}})(xe(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${Vn.checked}`]:{transform:"translateX(20px)"},[`&.${Vn.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${Vn.checked} + .${Vn.track}`]:{opacity:.5},[`&.${Vn.disabled} + .${Vn.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${Vn.input}`]:{left:"-100%",width:"300%"}})),xe(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(kt(["light"])).map(([t])=>({props:{color:t},style:{[`&.${Vn.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Vn.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${e.palette.mode==="light"?Wr(e.palette[t].main,.62):_r(e.palette[t].main,.55)}`}},[`&.${Vn.checked} + .${Vn.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),Yz=X("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(xe(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`}))),Xz=X("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(xe(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),hs=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiSwitch"}),{className:a,color:s="primary",edge:c=!1,size:u="medium",sx:d,slots:f={},slotProps:m={},...y}=i,x={...i,color:s,edge:c,size:u},P=Gz(x),C={slots:f,slotProps:m},[b,k]=Le("root",{className:ae(P.root,a),elementType:qz,externalForwardedProps:C,ownerState:x,additionalProps:{sx:d}}),[w,T]=Le("thumb",{className:P.thumb,elementType:Xz,externalForwardedProps:C,ownerState:x}),R=g.jsx(w,{...T}),[I,O]=Le("track",{className:P.track,elementType:Yz,externalForwardedProps:C,ownerState:x});return g.jsxs(b,{...k,children:[g.jsx(Kz,{type:"checkbox",icon:R,checkedIcon:R,ref:n,ownerState:x,...y,classes:{...P,root:P.switchBase},slots:{...f.switchBase&&{root:f.switchBase},...f.input&&{input:f.input}},slotProps:{...m.switchBase&&{root:typeof m.switchBase=="function"?m.switchBase(x):m.switchBase},...m.input&&{input:typeof m.input=="function"?m.input(x):m.input}}}),g.jsx(I,{...O})]})});function Nk(e){return Ee("MuiTab",e)}const br=Ie("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"]),Qz=e=>{const{classes:t,textColor:n,fullWidth:i,wrapped:a,icon:s,label:c,selected:u,disabled:d}=e,f={root:["root",s&&c&&"labelIcon",`textColor${ee(n)}`,i&&"fullWidth",a&&"wrapped",u&&"selected",d&&"disabled"],icon:["iconWrapper","icon"]};return $e(f,Nk,t)},Jz=X($n,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${ee(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped,{[`& .${br.iconWrapper}`]:t.iconWrapper},{[`& .${br.icon}`]:t.icon}]}})(xe(({theme:e})=>({...e.typography.button,maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",lineHeight:1.25,variants:[{props:({ownerState:t})=>t.label&&(t.iconPosition==="top"||t.iconPosition==="bottom"),style:{flexDirection:"column"}},{props:({ownerState:t})=>t.label&&t.iconPosition!=="top"&&t.iconPosition!=="bottom",style:{flexDirection:"row"}},{props:({ownerState:t})=>t.icon&&t.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="top",style:{[`& > .${br.icon}`]:{marginBottom:6}}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="bottom",style:{[`& > .${br.icon}`]:{marginTop:6}}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="start",style:{[`& > .${br.icon}`]:{marginRight:e.spacing(1)}}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="end",style:{[`& > .${br.icon}`]:{marginLeft:e.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${br.selected}`]:{opacity:1},[`&.${br.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${br.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${br.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${br.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${br.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:({ownerState:t})=>t.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:t})=>t.wrapped,style:{fontSize:e.typography.pxToRem(12)}}]}))),Zz=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiTab"}),{className:a,disabled:s=!1,disableFocusRipple:c=!1,fullWidth:u,icon:d,iconPosition:f="top",indicator:m,label:y,onChange:x,onClick:P,onFocus:C,selected:b,selectionFollowsFocus:k,textColor:w="inherit",value:T,wrapped:R=!1,...I}=i,O={...i,disabled:s,disableFocusRipple:c,selected:b,icon:!!d,iconPosition:f,label:!!y,fullWidth:u,textColor:w,wrapped:R},j=Qz(O),A=d&&y&&h.isValidElement(d)?h.cloneElement(d,{className:ae(j.icon,d.props.className)}):d,N=S=>{!b&&x&&x(S,T),P&&P(S)},$=S=>{k&&!b&&x&&x(S,T),C&&C(S)};return g.jsxs(Jz,{focusRipple:!c,className:ae(j.root,a),ref:n,role:"tab","aria-selected":b,disabled:s,onClick:N,onFocus:$,ownerState:O,tabIndex:b?0:-1,...I,children:[f==="top"||f==="start"?g.jsxs(h.Fragment,{children:[A,y]}):g.jsxs(h.Fragment,{children:[y,A]}),m]})}),Bk=h.createContext();function Dk(e){return Ee("MuiTable",e)}const e3=Ie("MuiTable",["root","stickyHeader"]),t3=e=>{const{classes:t,stickyHeader:n}=e;return $e({root:["root",n&&"stickyHeader"]},Dk,t)},n3=X("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(xe(({theme:e})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":{...e.typography.body2,padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"},variants:[{props:({ownerState:t})=>t.stickyHeader,style:{borderCollapse:"separate"}}]}))),ux="table",zk=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiTable"}),{className:a,component:s=ux,padding:c="normal",size:u="medium",stickyHeader:d=!1,...f}=i,m={...i,component:s,padding:c,size:u,stickyHeader:d},y=t3(m),x=h.useMemo(()=>({padding:c,size:u,stickyHeader:d}),[c,u,d]);return g.jsx(Bk.Provider,{value:x,children:g.jsx(n3,{as:s,role:s===ux?null:"table",ref:n,className:ae(y.root,a),ownerState:m,...f})})}),vc=h.createContext();function Fk(e){return Ee("MuiTableBody",e)}const r3=Ie("MuiTableBody",["root"]),o3=e=>{const{classes:t}=e;return $e({root:["root"]},Fk,t)},i3=X("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),a3={variant:"body"},dx="tbody",_k=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiTableBody"}),{className:a,component:s=dx,...c}=i,u={...i,component:s},d=o3(u);return g.jsx(vc.Provider,{value:a3,children:g.jsx(i3,{className:ae(d.root,a),as:s,ref:n,role:s===dx?null:"rowgroup",ownerState:u,...c})})});function Wk(e){return Ee("MuiTableCell",e)}const Hk=Ie("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),s3=e=>{const{classes:t,variant:n,align:i,padding:a,size:s,stickyHeader:c}=e,u={root:["root",n,c&&"stickyHeader",i!=="inherit"&&`align${ee(i)}`,a!=="normal"&&`padding${ee(a)}`,`size${ee(s)}`]};return $e(u,Wk,t)},l3=X("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${ee(n.size)}`],n.padding!=="normal"&&t[`padding${ee(n.padding)}`],n.align!=="inherit"&&t[`align${ee(n.align)}`],n.stickyHeader&&t.stickyHeader]}})(xe(({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid
288
+ ${e.palette.mode==="light"?Wr(Qe(e.palette.divider,1),.88):_r(Qe(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${Hk.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:t})=>t.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]}))),Ho=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiTableCell"}),{align:a="inherit",className:s,component:c,padding:u,scope:d,size:f,sortDirection:m,variant:y,...x}=i,P=h.useContext(Bk),C=h.useContext(vc),b=C&&C.variant==="head";let k;c?k=c:k=b?"th":"td";let w=d;k==="td"?w=void 0:!w&&b&&(w="col");const T=y||C&&C.variant,R={...i,align:a,component:k,padding:u||(P&&P.padding?P.padding:"normal"),size:f||(P&&P.size?P.size:"medium"),sortDirection:m,stickyHeader:T==="head"&&P&&P.stickyHeader,variant:T},I=s3(R);let O=null;return m&&(O=m==="asc"?"ascending":"descending"),g.jsx(l3,{as:k,ref:n,className:ae(I.root,s),"aria-sort":O,scope:w,ownerState:R,...x})});function Uk(e){return Ee("MuiTableContainer",e)}const c3=Ie("MuiTableContainer",["root"]),u3=e=>{const{classes:t}=e;return $e({root:["root"]},Uk,t)},d3=X("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),Vk=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiTableContainer"}),{className:a,component:s="div",...c}=i,u={...i,component:s},d=u3(u);return g.jsx(d3,{ref:n,as:s,className:ae(d.root,a),ownerState:u,...c})});function Gk(e){return Ee("MuiTableFooter",e)}const p3=Ie("MuiTableFooter",["root"]),f3=e=>{const{classes:t}=e;return $e({root:["root"]},Gk,t)},m3=X("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),g3={variant:"footer"},px="tfoot",h3=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiTableFooter"}),{className:a,component:s=px,...c}=i,u={...i,component:s},d=f3(u);return g.jsx(vc.Provider,{value:g3,children:g.jsx(m3,{as:s,className:ae(d.root,a),ref:n,role:s===px?null:"rowgroup",ownerState:u,...c})})});function qk(e){return Ee("MuiTableHead",e)}const v3=Ie("MuiTableHead",["root"]),y3=e=>{const{classes:t}=e;return $e({root:["root"]},qk,t)},b3=X("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),x3={variant:"head"},fx="thead",Kk=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiTableHead"}),{className:a,component:s=fx,...c}=i,u={...i,component:s},d=y3(u);return g.jsx(vc.Provider,{value:x3,children:g.jsx(b3,{as:s,className:ae(d.root,a),ref:n,role:s===fx?null:"rowgroup",ownerState:u,...c})})});function Yk(e){return Ee("MuiToolbar",e)}const S3=Ie("MuiToolbar",["root","gutters","regular","dense"]),C3=e=>{const{classes:t,disableGutters:n,variant:i}=e;return $e({root:["root",!n&&"gutters",i]},Yk,t)},w3=X("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(xe(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]}))),ws=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiToolbar"}),{className:a,component:s="div",disableGutters:c=!1,variant:u="regular",...d}=i,f={...i,component:s,disableGutters:c,variant:u},m=C3(f);return g.jsx(w3,{as:s,className:ae(m.root,a),ref:n,ownerState:f,...d})}),Xk=xt(g.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),Qk=xt(g.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),k3=h.forwardRef(function(t,n){const{backIconButtonProps:i,count:a,disabled:s=!1,getItemAriaLabel:c,nextIconButtonProps:u,onPageChange:d,page:f,rowsPerPage:m,showFirstButton:y,showLastButton:x,slots:P={},slotProps:C={},...b}=t,k=oo(),w=B=>{d(B,0)},T=B=>{d(B,f-1)},R=B=>{d(B,f+1)},I=B=>{d(B,Math.max(0,Math.ceil(a/m)-1))},O=P.firstButton??lr,j=P.lastButton??lr,A=P.nextButton??lr,N=P.previousButton??lr,$=P.firstButtonIcon??Yw,S=P.lastButtonIcon??Xw,L=P.nextButtonIcon??Qk,U=P.previousButtonIcon??Xk,M=k?j:O,D=k?A:N,W=k?N:A,H=k?O:j,q=k?C.lastButton:C.firstButton,F=k?C.nextButton:C.previousButton,_=k?C.previousButton:C.nextButton,V=k?C.firstButton:C.lastButton;return g.jsxs("div",{ref:n,...b,children:[y&&g.jsx(M,{onClick:w,disabled:s||f===0,"aria-label":c("first",f),title:c("first",f),...q,children:k?g.jsx(S,{...C.lastButtonIcon}):g.jsx($,{...C.firstButtonIcon})}),g.jsx(D,{onClick:T,disabled:s||f===0,color:"inherit","aria-label":c("previous",f),title:c("previous",f),...F??i,children:k?g.jsx(L,{...C.nextButtonIcon}):g.jsx(U,{...C.previousButtonIcon})}),g.jsx(W,{onClick:R,disabled:s||(a!==-1?f>=Math.ceil(a/m)-1:!1),color:"inherit","aria-label":c("next",f),title:c("next",f),..._??u,children:k?g.jsx(U,{...C.previousButtonIcon}):g.jsx(L,{...C.nextButtonIcon})}),x&&g.jsx(H,{onClick:I,disabled:s||f>=Math.ceil(a/m)-1,"aria-label":c("last",f),title:c("last",f),...V,children:k?g.jsx($,{...C.firstButtonIcon}):g.jsx(S,{...C.lastButtonIcon})})]})});function Jk(e){return Ee("MuiTablePagination",e)}const ss=Ie("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var mx;const R3=X(Ho,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(xe(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),P3=X(ws,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>({[`& .${ss.actions}`]:t.actions,...t.toolbar})})(xe(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${ss.actions}`]:{flexShrink:0,marginLeft:20}}))),T3=X("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),E3=X("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(xe(({theme:e})=>({...e.typography.body2,flexShrink:0}))),I3=X(pp,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>({[`& .${ss.selectIcon}`]:t.selectIcon,[`& .${ss.select}`]:t.select,...t.input,...t.selectRoot})})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${ss.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),$3=X(zw,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),M3=X("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(xe(({theme:e})=>({...e.typography.body2,flexShrink:0})));function O3({from:e,to:t,count:n}){return`${e}–${t} of ${n!==-1?n:`more than ${t}`}`}function A3(e){return`Go to ${e} page`}const j3=e=>{const{classes:t}=e;return $e({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},Jk,t)},L3=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiTablePagination"}),{ActionsComponent:a=k3,backIconButtonProps:s,colSpan:c,component:u=Ho,count:d,disabled:f=!1,getItemAriaLabel:m=A3,labelDisplayedRows:y=O3,labelRowsPerPage:x="Rows per page:",nextIconButtonProps:P,onPageChange:C,onRowsPerPageChange:b,page:k,rowsPerPage:w,rowsPerPageOptions:T=[10,25,50,100],SelectProps:R={},showFirstButton:I=!1,showLastButton:O=!1,slotProps:j={},slots:A={},...N}=i,$=i,S=j3($),L=(j==null?void 0:j.select)??R,U=L.native?"option":$3;let M;(u===Ho||u==="td")&&(M=c||1e3);const D=Jn(L.id),W=Jn(L.labelId),H=()=>d===-1?(k+1)*w:w===-1?d:Math.min(d,(k+1)*w),q={slots:A,slotProps:j},[F,_]=Le("root",{ref:n,className:S.root,elementType:R3,externalForwardedProps:{...q,component:u,...N},ownerState:$,additionalProps:{colSpan:M}}),[V,B]=Le("toolbar",{className:S.toolbar,elementType:P3,externalForwardedProps:q,ownerState:$}),[G,Z]=Le("spacer",{className:S.spacer,elementType:T3,externalForwardedProps:q,ownerState:$}),[te,K]=Le("selectLabel",{className:S.selectLabel,elementType:E3,externalForwardedProps:q,ownerState:$,additionalProps:{id:W}}),[J,Q]=Le("select",{className:S.select,elementType:I3,externalForwardedProps:q,ownerState:$}),[ie,se]=Le("menuItem",{className:S.menuItem,elementType:U,externalForwardedProps:q,ownerState:$}),[ue,ge]=Le("displayedRows",{className:S.displayedRows,elementType:M3,externalForwardedProps:q,ownerState:$});return g.jsx(F,{..._,children:g.jsxs(V,{...B,children:[g.jsx(G,{...Z}),T.length>1&&g.jsx(te,{...K,children:x}),T.length>1&&g.jsx(J,{variant:"standard",...!L.variant&&{input:mx||(mx=g.jsx(gc,{}))},value:w,onChange:b,id:D,labelId:W,...L,classes:{...L.classes,root:ae(S.input,S.selectRoot,(L.classes||{}).root),select:ae(S.select,(L.classes||{}).select),icon:ae(S.selectIcon,(L.classes||{}).icon)},disabled:f,...Q,children:T.map(ce=>h.createElement(ie,{...se,key:ce.label?ce.label:ce,value:ce.value?ce.value:ce},ce.label?ce.label:ce))}),g.jsx(ue,{...ge,children:y({from:d===0?0:k*w+1,to:H(),count:d===-1?-1:d,page:k})}),g.jsx(a,{className:S.actions,backIconButtonProps:s,count:d,nextIconButtonProps:P,onPageChange:C,page:k,rowsPerPage:w,showFirstButton:I,showLastButton:O,slotProps:j.actions,slots:A.actions,getItemAriaLabel:m,disabled:f})]})})});function Zk(e){return Ee("MuiTableRow",e)}const Mg=Ie("MuiTableRow",["root","selected","hover","head","footer"]),N3=e=>{const{classes:t,selected:n,hover:i,head:a,footer:s}=e;return $e({root:["root",n&&"selected",i&&"hover",a&&"head",s&&"footer"]},Zk,t)},B3=X("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(xe(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${Mg.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Mg.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),gx="tr",Id=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiTableRow"}),{className:a,component:s=gx,hover:c=!1,selected:u=!1,...d}=i,f=h.useContext(vc),m={...i,component:s,hover:c,selected:u,head:f&&f.variant==="head",footer:f&&f.variant==="footer"},y=N3(m);return g.jsx(B3,{as:s,ref:n,className:ae(y.root,a),role:s===gx?null:"row",ownerState:m,...d})}),D3=xt(g.jsx("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");function e2(e){return Ee("MuiTableSortLabel",e)}const dd=Ie("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc","directionDesc","directionAsc"]),z3=e=>{const{classes:t,direction:n,active:i}=e,a={root:["root",i&&"active",`direction${ee(n)}`],icon:["icon",`iconDirection${ee(n)}`]};return $e(a,e2,t)},F3=X($n,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.active&&t.active]}})(xe(({theme:e})=>({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:(e.vars||e).palette.text.secondary},"&:hover":{color:(e.vars||e).palette.text.secondary,[`& .${dd.icon}`]:{opacity:.5}},[`&.${dd.active}`]:{color:(e.vars||e).palette.text.primary,[`& .${dd.icon}`]:{opacity:1,color:(e.vars||e).palette.text.secondary}}}))),_3=X("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,t[`iconDirection${ee(n.direction)}`]]}})(xe(({theme:e})=>({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none",variants:[{props:{direction:"desc"},style:{transform:"rotate(0deg)"}},{props:{direction:"asc"},style:{transform:"rotate(180deg)"}}]}))),t2=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiTableSortLabel"}),{active:a=!1,children:s,className:c,direction:u="asc",hideSortIcon:d=!1,IconComponent:f=D3,slots:m={},slotProps:y={},...x}=i,P={...i,active:a,direction:u,hideSortIcon:d,IconComponent:f},C=z3(P),b={slots:m,slotProps:y},[k,w]=Le("root",{elementType:F3,externalForwardedProps:b,ownerState:P,className:ae(C.root,c),ref:n}),[T,R]=Le("icon",{elementType:_3,externalForwardedProps:b,ownerState:P,className:C.icon});return g.jsxs(k,{disableRipple:!0,component:"span",...w,...x,children:[s,d&&!a?null:g.jsx(T,{as:f,...R})]})});function W3(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function H3(e,t,n,i={},a=()=>{}){const{ease:s=W3,duration:c=300}=i;let u=null;const d=t[e];let f=!1;const m=()=>{f=!0},y=x=>{if(f){a(new Error("Animation cancelled"));return}u===null&&(u=x);const P=Math.min(1,(x-u)/c);if(t[e]=s(P)*(n-d)+d,P>=1){requestAnimationFrame(()=>{a(null)});return}requestAnimationFrame(y)};return d===n?(a(new Error("Element already at target position")),m):(requestAnimationFrame(y),m)}const U3={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function V3(e){const{onChange:t,...n}=e,i=h.useRef(),a=h.useRef(null),s=()=>{i.current=a.current.offsetHeight-a.current.clientHeight};return xn(()=>{const c=ha(()=>{const d=i.current;s(),d!==i.current&&t(i.current)}),u=In(a.current);return u.addEventListener("resize",c),()=>{c.clear(),u.removeEventListener("resize",c)}},[t]),h.useEffect(()=>{s(),t(i.current)},[t]),g.jsx("div",{style:U3,...n,ref:a})}function n2(e){return Ee("MuiTabScrollButton",e)}const r2=Ie("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),G3=e=>{const{classes:t,orientation:n,disabled:i}=e;return $e({root:["root",n,i&&"disabled"]},n2,t)},q3=X($n,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${r2.disabled}`]:{opacity:0},variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),o2=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiTabScrollButton"}),{className:a,slots:s={},slotProps:c={},direction:u,orientation:d,disabled:f,...m}=i,y=oo(),x={isRtl:y,...i},P=G3(x),C=s.StartScrollButtonIcon??Xk,b=s.EndScrollButtonIcon??Qk,k=Yn({elementType:C,externalSlotProps:c.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:x}),w=Yn({elementType:b,externalSlotProps:c.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:x});return g.jsx(q3,{component:"div",className:ae(P.root,a),ref:n,role:null,ownerState:x,tabIndex:null,...m,style:{...m.style,...d==="vertical"&&{"--TabScrollButton-svgRotate":`rotate(${y?-90:90}deg)`}},children:u==="left"?g.jsx(C,{...k}):g.jsx(b,{...w})})});function i2(e){return Ee("MuiTabs",e)}const pd=Ie("MuiTabs",["root","vertical","list","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),hx=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,vx=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,Gu=(e,t,n)=>{let i=!1,a=n(e,t);for(;a;){if(a===e.firstChild){if(i)return;i=!0}const s=a.disabled||a.getAttribute("aria-disabled")==="true";if(!a.hasAttribute("tabindex")||s)a=n(e,a);else{a.focus();return}}},K3=e=>{const{vertical:t,fixed:n,hideScrollbar:i,scrollableX:a,scrollableY:s,centered:c,scrollButtonsHideMobile:u,classes:d}=e;return $e({root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",i&&"hideScrollbar",a&&"scrollableX",s&&"scrollableY"],list:["list","flexContainer",t&&"flexContainerVertical",t&&"vertical",c&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",u&&"scrollButtonsHideMobile"],scrollableX:[a&&"scrollableX"],hideScrollbar:[i&&"hideScrollbar"]},i2,d)},Y3=X("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${pd.scrollButtons}`]:t.scrollButtons},{[`& .${pd.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})(xe(({theme:e})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:t})=>t.vertical,style:{flexDirection:"column"}},{props:({ownerState:t})=>t.scrollButtonsHideMobile,style:{[`& .${pd.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}}}]}))),X3=X("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap",variants:[{props:({ownerState:e})=>e.fixed,style:{overflowX:"hidden",width:"100%"}},{props:({ownerState:e})=>e.hideScrollbar,style:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}},{props:({ownerState:e})=>e.scrollableX,style:{overflowX:"auto",overflowY:"hidden"}},{props:({ownerState:e})=>e.scrollableY,style:{overflowY:"auto",overflowX:"hidden"}}]}),Q3=X("div",{name:"MuiTabs",slot:"List",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.list,t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})({display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.centered,style:{justifyContent:"center"}}]}),J3=X("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(xe(({theme:e})=>({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create(),variants:[{props:{indicatorColor:"primary"},style:{backgroundColor:(e.vars||e).palette.primary.main}},{props:{indicatorColor:"secondary"},style:{backgroundColor:(e.vars||e).palette.secondary.main}},{props:({ownerState:t})=>t.vertical,style:{height:"100%",width:2,right:0}}]}))),Z3=X(V3)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),yx={},e8=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiTabs"}),a=Cn(),s=oo(),{"aria-label":c,"aria-labelledby":u,action:d,centered:f=!1,children:m,className:y,component:x="div",allowScrollButtonsMobile:P=!1,indicatorColor:C="primary",onChange:b,orientation:k="horizontal",ScrollButtonComponent:w,scrollButtons:T="auto",selectionFollowsFocus:R,slots:I={},slotProps:O={},TabIndicatorProps:j={},TabScrollButtonProps:A={},textColor:N="primary",value:$,variant:S="standard",visibleScrollbar:L=!1,...U}=i,M=S==="scrollable",D=k==="vertical",W=D?"scrollTop":"scrollLeft",H=D?"top":"left",q=D?"bottom":"right",F=D?"clientHeight":"clientWidth",_=D?"height":"width",V={...i,component:x,allowScrollButtonsMobile:P,indicatorColor:C,orientation:k,vertical:D,scrollButtons:T,textColor:N,variant:S,visibleScrollbar:L,fixed:!M,hideScrollbar:M&&!L,scrollableX:M&&!D,scrollableY:M&&D,centered:f&&!M,scrollButtonsHideMobile:!P},B=K3(V),G=Yn({elementType:I.StartScrollButtonIcon,externalSlotProps:O.startScrollButtonIcon,ownerState:V}),Z=Yn({elementType:I.EndScrollButtonIcon,externalSlotProps:O.endScrollButtonIcon,ownerState:V}),[te,K]=h.useState(!1),[J,Q]=h.useState(yx),[ie,se]=h.useState(!1),[ue,ge]=h.useState(!1),[ce,he]=h.useState(!1),[Se,Ae]=h.useState({overflow:"hidden",scrollbarWidth:0}),He=new Map,fe=h.useRef(null),ve=h.useRef(null),Ne={slots:I,slotProps:{indicator:j,scrollButton:A,...O}},Be=()=>{const Ge=fe.current;let qe;if(Ge){const pt=Ge.getBoundingClientRect();qe={clientWidth:Ge.clientWidth,scrollLeft:Ge.scrollLeft,scrollTop:Ge.scrollTop,scrollWidth:Ge.scrollWidth,top:pt.top,bottom:pt.bottom,left:pt.left,right:pt.right}}let mt;if(Ge&&$!==!1){const pt=ve.current.children;if(pt.length>0){const Ot=pt[He.get($)];mt=Ot?Ot.getBoundingClientRect():null}}return{tabsMeta:qe,tabMeta:mt}},be=Yt(()=>{const{tabsMeta:Ge,tabMeta:qe}=Be();let mt=0,pt;D?(pt="top",qe&&Ge&&(mt=qe.top-Ge.top+Ge.scrollTop)):(pt=s?"right":"left",qe&&Ge&&(mt=(s?-1:1)*(qe[pt]-Ge[pt]+Ge.scrollLeft)));const Ot={[pt]:mt,[_]:qe?qe[_]:0};if(typeof J[pt]!="number"||typeof J[_]!="number")Q(Ot);else{const vt=Math.abs(J[pt]-Ot[pt]),tt=Math.abs(J[_]-Ot[_]);(vt>=1||tt>=1)&&Q(Ot)}}),oe=(Ge,{animation:qe=!0}={})=>{qe?H3(W,fe.current,Ge,{duration:a.transitions.duration.standard}):fe.current[W]=Ge},Me=Ge=>{let qe=fe.current[W];D?qe+=Ge:qe+=Ge*(s?-1:1),oe(qe)},Re=()=>{const Ge=fe.current[F];let qe=0;const mt=Array.from(ve.current.children);for(let pt=0;pt<mt.length;pt+=1){const Ot=mt[pt];if(qe+Ot[F]>Ge){pt===0&&(qe=Ge);break}qe+=Ot[F]}return qe},pe=()=>{Me(-1*Re())},ye=()=>{Me(Re())},[De,{onChange:we,...je}]=Le("scrollbar",{className:ae(B.scrollableX,B.hideScrollbar),elementType:Z3,shouldForwardComponentProp:!0,externalForwardedProps:Ne,ownerState:V}),Pe=h.useCallback(Ge=>{we==null||we(Ge),Ae({overflow:null,scrollbarWidth:Ge})},[we]),[Fe,ot]=Le("scrollButtons",{className:ae(B.scrollButtons,A.className),elementType:o2,externalForwardedProps:Ne,ownerState:V,additionalProps:{orientation:k,slots:{StartScrollButtonIcon:I.startScrollButtonIcon||I.StartScrollButtonIcon,EndScrollButtonIcon:I.endScrollButtonIcon||I.EndScrollButtonIcon},slotProps:{startScrollButtonIcon:G,endScrollButtonIcon:Z}}}),Ke=()=>{const Ge={};Ge.scrollbarSizeListener=M?g.jsx(De,{...je,onChange:Pe}):null;const mt=M&&(T==="auto"&&(ie||ue)||T===!0);return Ge.scrollButtonStart=mt?g.jsx(Fe,{direction:s?"right":"left",onClick:pe,disabled:!ie,...ot}):null,Ge.scrollButtonEnd=mt?g.jsx(Fe,{direction:s?"left":"right",onClick:ye,disabled:!ue,...ot}):null,Ge},ht=Yt(Ge=>{const{tabsMeta:qe,tabMeta:mt}=Be();if(!(!mt||!qe)){if(mt[H]<qe[H]){const pt=qe[W]+(mt[H]-qe[H]);oe(pt,{animation:Ge})}else if(mt[q]>qe[q]){const pt=qe[W]+(mt[q]-qe[q]);oe(pt,{animation:Ge})}}}),Ve=Yt(()=>{M&&T!==!1&&he(!ce)});h.useEffect(()=>{const Ge=ha(()=>{fe.current&&be()});let qe;const mt=vt=>{vt.forEach(tt=>{tt.removedNodes.forEach(nt=>{qe==null||qe.unobserve(nt)}),tt.addedNodes.forEach(nt=>{qe==null||qe.observe(nt)})}),Ge(),Ve()},pt=In(fe.current);pt.addEventListener("resize",Ge);let Ot;return typeof ResizeObserver<"u"&&(qe=new ResizeObserver(Ge),Array.from(ve.current.children).forEach(vt=>{qe.observe(vt)})),typeof MutationObserver<"u"&&(Ot=new MutationObserver(mt),Ot.observe(ve.current,{childList:!0})),()=>{Ge.clear(),pt.removeEventListener("resize",Ge),Ot==null||Ot.disconnect(),qe==null||qe.disconnect()}},[be,Ve]),h.useEffect(()=>{const Ge=Array.from(ve.current.children),qe=Ge.length;if(typeof IntersectionObserver<"u"&&qe>0&&M&&T!==!1){const mt=Ge[0],pt=Ge[qe-1],Ot={root:fe.current,threshold:.99},vt=ut=>{se(!ut[0].isIntersecting)},tt=new IntersectionObserver(vt,Ot);tt.observe(mt);const nt=ut=>{ge(!ut[0].isIntersecting)},yt=new IntersectionObserver(nt,Ot);return yt.observe(pt),()=>{tt.disconnect(),yt.disconnect()}}},[M,T,ce,m==null?void 0:m.length]),h.useEffect(()=>{K(!0)},[]),h.useEffect(()=>{be()}),h.useEffect(()=>{ht(yx!==J)},[ht,J]),h.useImperativeHandle(d,()=>({updateIndicator:be,updateScrollButtons:Ve}),[be,Ve]);const[it,Et]=Le("indicator",{className:ae(B.indicator,j.className),elementType:J3,externalForwardedProps:Ne,ownerState:V,additionalProps:{style:J}}),Ht=g.jsx(it,{...Et});let an=0;const Jt=h.Children.map(m,Ge=>{if(!h.isValidElement(Ge))return null;const qe=Ge.props.value===void 0?an:Ge.props.value;He.set(qe,an);const mt=qe===$;return an+=1,h.cloneElement(Ge,{fullWidth:S==="fullWidth",indicator:mt&&!te&&Ht,selected:mt,selectionFollowsFocus:R,onChange:b,textColor:N,value:qe,...an===1&&$===!1&&!Ge.props.tabIndex?{tabIndex:0}:{}})}),gn=Ge=>{if(Ge.altKey||Ge.shiftKey||Ge.ctrlKey||Ge.metaKey)return;const qe=ve.current,mt=Kt(qe).activeElement;if(mt.getAttribute("role")!=="tab")return;let Ot=k==="horizontal"?"ArrowLeft":"ArrowUp",vt=k==="horizontal"?"ArrowRight":"ArrowDown";switch(k==="horizontal"&&s&&(Ot="ArrowRight",vt="ArrowLeft"),Ge.key){case Ot:Ge.preventDefault(),Gu(qe,mt,vx);break;case vt:Ge.preventDefault(),Gu(qe,mt,hx);break;case"Home":Ge.preventDefault(),Gu(qe,null,hx);break;case"End":Ge.preventDefault(),Gu(qe,null,vx);break}},ft=Ke(),[Mt,sn]=Le("root",{ref:n,className:ae(B.root,y),elementType:Y3,externalForwardedProps:{...Ne,...U,component:x},ownerState:V}),[Mn,ln]=Le("scroller",{ref:fe,className:B.scroller,elementType:X3,externalForwardedProps:Ne,ownerState:V,additionalProps:{style:{overflow:Se.overflow,[D?`margin${s?"Left":"Right"}`:"marginBottom"]:L?void 0:-Se.scrollbarWidth}}}),[at,cn]=Le("list",{ref:ve,className:ae(B.list,B.flexContainer),elementType:Q3,externalForwardedProps:Ne,ownerState:V,getSlotProps:Ge=>({...Ge,onKeyDown:qe=>{var mt;gn(qe),(mt=Ge.onKeyDown)==null||mt.call(Ge,qe)}})});return g.jsxs(Mt,{...sn,children:[ft.scrollButtonStart,ft.scrollbarSizeListener,g.jsxs(Mn,{...ln,children:[g.jsx(at,{"aria-label":c,"aria-labelledby":u,"aria-orientation":k==="vertical"?"vertical":null,role:"tablist",...cn,children:Jt}),te&&Ht]}),ft.scrollButtonEnd]})});function a2(e){return Ee("MuiTextField",e)}const t8=Ie("MuiTextField",["root"]),n8={standard:hc,filled:cp,outlined:dp},r8=e=>{const{classes:t}=e;return $e({root:["root"]},a2,t)},o8=X(tw,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),_h=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiTextField"}),{autoComplete:a,autoFocus:s=!1,children:c,className:u,color:d="primary",defaultValue:f,disabled:m=!1,error:y=!1,FormHelperTextProps:x,fullWidth:P=!1,helperText:C,id:b,InputLabelProps:k,inputProps:w,InputProps:T,inputRef:R,label:I,maxRows:O,minRows:j,multiline:A=!1,name:N,onBlur:$,onChange:S,onFocus:L,placeholder:U,required:M=!1,rows:D,select:W=!1,SelectProps:H,slots:q={},slotProps:F={},type:_,value:V,variant:B="outlined",...G}=i,Z={...i,autoFocus:s,color:d,disabled:m,error:y,fullWidth:P,multiline:A,required:M,select:W,variant:B},te=r8(Z),K=Jn(b),J=C&&K?`${K}-helper-text`:void 0,Q=I&&K?`${K}-label`:void 0,ie=n8[B],se={slots:q,slotProps:{input:T,inputLabel:k,htmlInput:w,formHelperText:x,select:H,...F}},ue={},ge=se.slotProps.inputLabel;B==="outlined"&&(ge&&typeof ge.shrink<"u"&&(ue.notched=ge.shrink),ue.label=I),W&&((!H||!H.native)&&(ue.id=void 0),ue["aria-describedby"]=void 0);const[ce,he]=Le("root",{elementType:o8,shouldForwardComponentProp:!0,externalForwardedProps:{...se,...G},ownerState:Z,className:ae(te.root,u),ref:n,additionalProps:{disabled:m,error:y,fullWidth:P,required:M,color:d,variant:B}}),[Se,Ae]=Le("input",{elementType:ie,externalForwardedProps:se,additionalProps:ue,ownerState:Z}),[He,fe]=Le("inputLabel",{elementType:xw,externalForwardedProps:se,ownerState:Z}),[ve,Ne]=Le("htmlInput",{elementType:"input",externalForwardedProps:se,ownerState:Z}),[Be,be]=Le("formHelperText",{elementType:iw,externalForwardedProps:se,ownerState:Z}),[oe,Me]=Le("select",{elementType:pp,externalForwardedProps:se,ownerState:Z}),Re=g.jsx(Se,{"aria-describedby":J,autoComplete:a,autoFocus:s,defaultValue:f,fullWidth:P,multiline:A,name:N,rows:D,maxRows:O,minRows:j,type:_,value:V,id:K,inputRef:R,onBlur:$,onChange:S,onFocus:L,placeholder:U,inputProps:Ne,slots:{input:q.htmlInput?ve:void 0},...Ae});return g.jsxs(ce,{...he,children:[I!=null&&I!==""&&g.jsx(He,{htmlFor:K,id:Q,...fe,children:I}),W?g.jsx(oe,{"aria-describedby":J,id:K,labelId:Q,value:V,input:Re,...Me,children:c}):Re,C&&g.jsx(Be,{id:J,...be,children:C})]})});function s2(e){return Ee("MuiToggleButton",e)}const wi=Ie("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]),l2=h.createContext({}),c2=h.createContext(void 0);function i8(e,t){return t===void 0||e===void 0?!1:Array.isArray(t)?t.includes(e):e===t}const a8=e=>{const{classes:t,fullWidth:n,selected:i,disabled:a,size:s,color:c}=e,u={root:["root",i&&"selected",a&&"disabled",n&&"fullWidth",`size${ee(s)}`,c]};return $e(u,s2,t)},s8=X($n,{name:"MuiToggleButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`size${ee(n.size)}`]]}})(xe(({theme:e})=>({...e.typography.button,borderRadius:(e.vars||e).shape.borderRadius,padding:11,border:`1px solid ${(e.vars||e).palette.divider}`,color:(e.vars||e).palette.action.active,[`&.${wi.disabled}`]:{color:(e.vars||e).palette.action.disabled,border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[{props:{color:"standard"},style:{[`&.${wi.selected}`]:{color:(e.vars||e).palette.text.primary,backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.selectedOpacity})`:Qe(e.palette.text.primary,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Qe(e.palette.text.primary,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.selectedOpacity})`:Qe(e.palette.text.primary,e.palette.action.selectedOpacity)}}}}},...Object.entries(e.palette).filter(kt()).map(([t])=>({props:{color:t},style:{[`&.${wi.selected}`]:{color:(e.vars||e).palette[t].main,backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Qe(e.palette[t].main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Qe(e.palette[t].main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Qe(e.palette[t].main,e.palette.action.selectedOpacity)}}}}})),{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{padding:7,fontSize:e.typography.pxToRem(13)}},{props:{size:"large"},style:{padding:15,fontSize:e.typography.pxToRem(15)}}]}))),l8=h.forwardRef(function(t,n){const{value:i,...a}=h.useContext(l2),s=h.useContext(c2),c=us({...a,selected:i8(t.value,i)},t),u=Oe({props:c,name:"MuiToggleButton"}),{children:d,className:f,color:m="standard",disabled:y=!1,disableFocusRipple:x=!1,fullWidth:P=!1,onChange:C,onClick:b,selected:k,size:w="medium",value:T,...R}=u,I={...u,color:m,disabled:y,disableFocusRipple:x,fullWidth:P,size:w},O=a8(I),j=N=>{b&&(b(N,T),N.defaultPrevented)||C&&C(N,T)},A=s||"";return g.jsx(s8,{className:ae(a.className,O.root,f,A),disabled:y,focusRipple:!x,ref:n,onClick:j,onChange:C,value:T,ownerState:I,"aria-pressed":k,...R,children:d})});function u2(e){return Ee("MuiToggleButtonGroup",e)}const Qt=Ie("MuiToggleButtonGroup",["root","selected","horizontal","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]),c8=e=>{const{classes:t,orientation:n,fullWidth:i,disabled:a}=e,s={root:["root",n,i&&"fullWidth"],grouped:["grouped",`grouped${ee(n)}`,a&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return $e(s,u2,t)},u8=X("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Qt.grouped}`]:t.grouped},{[`& .${Qt.grouped}`]:t[`grouped${ee(n.orientation)}`]},{[`& .${Qt.firstButton}`]:t.firstButton},{[`& .${Qt.lastButton}`]:t.lastButton},{[`& .${Qt.middleButton}`]:t.middleButton},t.root,n.orientation==="vertical"&&t.vertical,n.fullWidth&&t.fullWidth]}})(xe(({theme:e})=>({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius,variants:[{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${Qt.grouped}`]:{[`&.${Qt.selected} + .${Qt.grouped}.${Qt.selected}`]:{borderTop:0,marginTop:0}},[`& .${Qt.firstButton},& .${Qt.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${Qt.lastButton},& .${Qt.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},[`& .${Qt.lastButton}.${wi.disabled},& .${Qt.middleButton}.${wi.disabled}`]:{borderTop:"1px solid transparent"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"horizontal"},style:{[`& .${Qt.grouped}`]:{[`&.${Qt.selected} + .${Qt.grouped}.${Qt.selected}`]:{borderLeft:0,marginLeft:0}},[`& .${Qt.firstButton},& .${Qt.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${Qt.lastButton},& .${Qt.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},[`& .${Qt.lastButton}.${wi.disabled},& .${Qt.middleButton}.${wi.disabled}`]:{borderLeft:"1px solid transparent"}}}]}))),d8=h.forwardRef(function(t,n){const i=Oe({props:t,name:"MuiToggleButtonGroup"}),{children:a,className:s,color:c="standard",disabled:u=!1,exclusive:d=!1,fullWidth:f=!1,onChange:m,orientation:y="horizontal",size:x="medium",value:P,...C}=i,b={...i,disabled:u,fullWidth:f,orientation:y,size:x},k=c8(b),w=h.useCallback((A,N)=>{if(!m)return;const $=P&&P.indexOf(N);let S;P&&$>=0?(S=P.slice(),S.splice($,1)):S=P?P.concat(N):[N],m(A,S)},[m,P]),T=h.useCallback((A,N)=>{m&&m(A,P===N?null:N)},[m,P]),R=h.useMemo(()=>({className:k.grouped,onChange:d?T:w,value:P,size:x,fullWidth:f,color:c,disabled:u}),[k.grouped,d,T,w,P,x,f,c,u]),I=K1(a),O=I.length,j=A=>{const N=A===0,$=A===O-1;return N&&$?"":N?k.firstButton:$?k.lastButton:k.middleButton};return g.jsx(u8,{role:"group",className:ae(k.root,s),ref:n,ownerState:b,...C,children:g.jsx(l2.Provider,{value:R,children:I.map((A,N)=>g.jsx(c2.Provider,{value:j(N),children:A},N))})})});function p8(e,t){const{disableHysteresis:n=!1,threshold:i=100,target:a}=t,s=e.current;return a&&(e.current=a.pageYOffset!==void 0?a.pageYOffset:a.scrollTop),!n&&s!==void 0&&e.current<s?!1:e.current>i}const f8=typeof window<"u"?window:null;function m8(e={}){const{getTrigger:t=p8,target:n=f8,...i}=e,a=h.useRef(),[s,c]=h.useState(()=>t(a,i));return h.useEffect(()=>{if(n===null)return c(!1);const u=()=>{c(t(a,{target:n,...i}))};return u(),n.addEventListener("scroll",u,{passive:!0}),()=>{n.removeEventListener("scroll",u,{passive:!0})}},[n,t,JSON.stringify(i)]),s}const g8="6.5.0",h8=6,v8=5,y8=0,b8=void 0;/**
289
+ * @mui/material v6.5.0
290
+ *
291
+ * @license MIT
292
+ * This source code is licensed under the MIT license found in the
293
+ * LICENSE file in the root directory of this source tree.
294
+ */const x8=Object.freeze(Object.defineProperty({__proto__:null,Accordion:mM,AccordionActions:yM,AccordionDetails:CM,AccordionSummary:FM,Alert:ug,AlertTitle:gO,AppBar:mh,Autocomplete:uC,Avatar:fC,AvatarGroup:f5,Backdrop:kh,Badge:C5,BottomNavigation:P5,BottomNavigationAction:$5,Box:$t,Breadcrumbs:_5,Button:Wo,ButtonBase:$n,ButtonGroup:X5,ButtonGroupButtonContext:Th,ButtonGroupContext:Ph,Card:ej,CardActionArea:oj,CardActions:lj,CardContent:pj,CardHeader:yj,CardMedia:kj,Checkbox:tc,Chip:ma,CircularProgress:Xl,ClickAwayListener:AC,Collapse:Uo,Container:Dj,CssBaseline:Hj,CssVarsProvider:uh,Dialog:Ih,DialogActions:$h,DialogContent:is,DialogContentText:Dl,DialogTitle:qC,Divider:nc,Drawer:lp,Experimental_CssVarsProvider:hS,Fab:Mh,Fade:Td,FilledInput:cp,FormControl:tw,FormControlLabel:ld,FormGroup:zl,FormHelperText:iw,FormLabel:lw,FormLabelRoot:sw,GlobalStyles:wS,Grid:d4,Grid2:Xn,Grow:gs,Hidden:P4,Icon:fw,IconButton:lr,ImageList:A4,ImageListItem:N4,ImageListItemBar:U4,Input:hc,InputAdornment:Q4,InputBase:gc,InputLabel:xw,LinearProgress:Cw,Link:fN,List:Ri,ListItem:Ci,ListItemAvatar:MN,ListItemButton:Br,ListItemIcon:jN,ListItemSecondaryAction:Ah,ListItemText:Dr,ListSubheader:Rd,Menu:Bw,MenuItem:zw,MenuList:Aw,MobileStepper:tB,Modal:sp,ModalManager:BC,NativeSelect:Uw,NoSsr:Vw,OutlinedInput:dp,Pagination:RB,PaginationItem:Jw,Paper:Gn,Popover:Lh,PopoverPaper:jh,PopoverRoot:Lw,Popper:mc,Portal:Ch,Radio:NB,RadioGroup:zB,Rating:QB,ScopedCssBaseline:tD,Select:pp,Skeleton:vD,Slide:YC,Slider:MD,SliderMark:gk,SliderMarkLabel:hk,SliderRail:dk,SliderRoot:uk,SliderThumb:fk,SliderTrack:pk,SliderValueLabel:mk,Snackbar:_D,SnackbarContent:yk,SpeedDial:qD,SpeedDialAction:rz,SpeedDialIcon:Rk,Stack:Go,Step:fz,StepButton:Rz,StepConnector:Ok,StepContent:jz,StepContext:ya,StepIcon:Ek,StepLabel:Fh,Stepper:zz,StepperContext:Ii,StyledEngineProvider:E1,SvgIcon:Kl,SwipeableDrawer:Vz,Switch:hs,THEME_ID:cr,Tab:Zz,TabScrollButton:o2,Table:zk,TableBody:_k,TableCell:Ho,TableContainer:Vk,TableFooter:h3,TableHead:Kk,TablePagination:L3,TableRow:Id,TableSortLabel:t2,Tabs:e8,TextField:_h,TextareaAutosize:oC,ThemeProvider:va,ToggleButton:l8,ToggleButtonGroup:d8,Toolbar:ws,Tooltip:zh,Typography:zt,Unstable_TrapFocus:DC,Zoom:xk,accordionActionsClasses:gM,accordionClasses:Il,accordionDetailsClasses:bM,accordionSummaryClasses:ia,adaptV4Theme:rS,alertClasses:ag,alertTitleClasses:pO,alpha:Qe,appBarClasses:hO,autocompleteClasses:St,avatarClasses:pC,avatarGroupClasses:gC,backdropClasses:g5,badgeClasses:No,bottomNavigationActionClasses:Rh,bottomNavigationClasses:w5,boxClasses:xC,breadcrumbsClasses:CC,buttonBaseClasses:LS,buttonClasses:vi,buttonGroupClasses:bt,capitalize:ee,cardActionAreaClasses:od,cardActionsClasses:ij,cardClasses:Q5,cardContentClasses:cj,cardHeaderClasses:ec,cardMediaClasses:bj,checkboxClasses:id,chipClasses:Tt,circularProgressClasses:HM,collapseClasses:rM,colors:XP,containerClasses:Fj,createChainedFunction:Vl,createColorScheme:sh,createFilterOptions:US,createMuiTheme:sS,createStyles:dS,createSvgIcon:xt,createTheme:Co,createTransitions:ah,css:So,darkScrollbar:Vj,darken:_r,debounce:ha,decomposeColor:no,deprecatedPropType:H1,dialogActionsClasses:mL,dialogClasses:sd,dialogContentClasses:vL,dialogContentTextClasses:xL,dialogTitleClasses:VC,dividerClasses:gg,drawerClasses:$L,duration:Xd,easing:ih,emphasize:pa,experimentalStyled:X,experimental_extendTheme:SS,experimental_sx:CS,extendTheme:Qd,fabClasses:hg,filledInputClasses:sr,formControlClasses:FL,formControlLabelClasses:es,formGroupClasses:GL,formHelperTextClasses:vg,formLabelClasses:as,generateUtilityClass:Ee,generateUtilityClasses:Ie,getAccordionActionsUtilityClass:OS,getAccordionDetailsUtilityClass:AS,getAccordionSummaryUtilityClass:NS,getAccordionUtilityClass:MS,getAlertTitleUtilityClass:WS,getAlertUtilityClass:BS,getAppBarUtilityClass:HS,getAutocompleteUtilityClass:cC,getAvatarGroupUtilityClass:mC,getAvatarUtilityClass:dC,getBackdropUtilityClass:hC,getBadgeUtilityClass:vC,getBottomNavigationActionUtilityClass:bC,getBottomNavigationUtilityClass:yC,getBreadcrumbsUtilityClass:SC,getButtonBaseUtilityClass:jS,getButtonGroupUtilityClass:RC,getButtonUtilityClass:wC,getCardActionAreaUtilityClass:TC,getCardActionsUtilityClass:EC,getCardContentUtilityClass:IC,getCardHeaderUtilityClass:$C,getCardMediaUtilityClass:MC,getCardUtilityClass:PC,getCheckboxUtilityClass:OC,getChipUtilityClass:rC,getCircularProgressUtilityClass:DS,getCollapseUtilityClass:ES,getContainerUtilityClass:zj,getContrastRatio:Qg,getDialogActionsUtilityClass:WC,getDialogContentTextUtilityClass:GC,getDialogContentUtilityClass:HC,getDialogTitleUtilityClass:UC,getDialogUtilityClass:FC,getDividerUtilityClass:KC,getDrawerUtilityClass:XC,getFabUtilityClass:ZC,getFilledInputUtilityClass:lC,getFormControlLabelUtilityClasses:nw,getFormControlUtilityClasses:ew,getFormGroupUtilityClass:rw,getFormHelperTextUtilityClasses:ow,getFormLabelUtilityClasses:aw,getGrid2UtilityClass:p4,getIconButtonUtilityClass:zS,getIconUtilityClass:pw,getImageListItemBarUtilityClass:vw,getImageListItemUtilityClass:hw,getImageListUtilityClass:mw,getInitColorSchemeScript:vS,getInputAdornmentUtilityClass:yw,getInputBaseUtilityClass:iC,getInputLabelUtilityClasses:bw,getInputUtilityClass:aC,getLinearProgressUtilityClass:Sw,getLinkUtilityClass:ww,getListItemAvatarUtilityClass:Iw,getListItemButtonUtilityClass:Tw,getListItemIconUtilityClass:$w,getListItemSecondaryActionClassesUtilityClass:Ew,getListItemTextUtilityClass:Mw,getListItemUtilityClass:Pw,getListSubheaderUtilityClass:nC,getListUtilityClass:Rw,getLuminance:Ul,getMenuItemUtilityClass:Dw,getMenuUtilityClass:Nw,getMobileStepperUtilityClass:Fw,getModalUtilityClass:zC,getNativeSelectUtilityClasses:Nh,getOffsetLeft:Pg,getOffsetTop:Rg,getOutlinedInputUtilityClass:sC,getOverlayAlpha:ql,getPaginationItemUtilityClass:Kw,getPaginationUtilityClass:Gw,getPaperUtilityClass:IS,getPopoverUtilityClass:jw,getPopperUtilityClass:tC,getRadioGroupUtilityClass:rk,getRadioUtilityClass:nk,getRatingUtilityClass:ok,getScopedCssBaselineUtilityClass:ak,getSelectUtilityClasses:Bh,getSkeletonUtilityClass:sk,getSliderUtilityClass:ck,getSnackbarContentUtilityClass:vk,getSnackbarUtilityClass:bk,getSpeedDialActionUtilityClass:wk,getSpeedDialIconUtilityClass:kk,getSpeedDialUtilityClass:Sk,getStepButtonUtilityClass:$k,getStepConnectorUtilityClass:Mk,getStepContentUtilityClass:Ak,getStepIconUtilityClass:Tk,getStepLabelUtilityClass:Ik,getStepUtilityClass:Pk,getStepperUtilityClass:jk,getSvgIconUtilityClass:kS,getSwitchUtilityClass:Lk,getTabScrollButtonUtilityClass:n2,getTabUtilityClass:Nk,getTableBodyUtilityClass:Fk,getTableCellUtilityClass:Wk,getTableContainerUtilityClass:Uk,getTableFooterUtilityClass:Gk,getTableHeadUtilityClass:qk,getTablePaginationUtilityClass:Jk,getTableRowUtilityClass:Zk,getTableSortLabelUtilityClass:e2,getTableUtilityClass:Dk,getTabsUtilityClass:i2,getTextFieldUtilityClass:a2,getToggleButtonGroupUtilityClass:u2,getToggleButtonUtilityClass:s2,getToolbarUtilityClass:Yk,getTooltipUtilityClass:Ck,getTouchRippleUtilityClass:PM,getTypographyUtilityClass:_S,grid2Classes:h4,hexToRgb:Xg,hslToRgb:Gd,iconButtonClasses:cg,iconClasses:T4,imageListClasses:$4,imageListItemBarClasses:B4,imageListItemClasses:cd,inputAdornmentClasses:bg,inputBaseClasses:ar,inputClasses:Bo,inputLabelClasses:J4,isMuiElement:vo,keyframes:Vr,lighten:Wr,linearProgressClasses:tN,linkClasses:kw,listClasses:mN,listItemAvatarClasses:EN,listItemButtonClasses:ta,listItemClasses:vN,listItemIconClasses:kg,listItemSecondaryActionClasses:SN,listItemTextClasses:aa,listSubheaderClasses:NA,major:h8,makeStyles:yS,menuClasses:zN,menuItemClasses:Qa,mergeSlotProps:Ti,minor:v8,mobileStepperClasses:YN,modalClasses:iL,nativeSelectClasses:up,outlinedInputClasses:xr,ownerDocument:Kt,ownerWindow:In,paginationClasses:mB,paginationItemClasses:Un,paperClasses:lM,patch:y8,popoverClasses:BN,prerelease:b8,private_createMixins:oh,private_createTypography:Yd,private_excludeVariablesFromRoot:ch,radioClasses:Tg,radioGroupClasses:BB,ratingClasses:Ja,recomposeColor:xs,requirePropFactory:U1,responsiveFontSizes:pS,rgbToHex:W1,scopedCssBaselineClasses:JB,selectClasses:Za,setRef:Gl,shouldSkipGeneratingVar:lh,skeletonClasses:pD,sliderClasses:wr,snackbarClasses:DD,snackbarContentClasses:AD,speedDialActionClasses:Ol,speedDialClasses:Ml,speedDialIconClasses:to,stackClasses:sz,stepButtonClasses:$g,stepClasses:uz,stepConnectorClasses:Pz,stepContentClasses:$z,stepIconClasses:ud,stepLabelClasses:zo,stepperClasses:Lz,styled:X,svgIconClasses:G$,switchClasses:Vn,tabClasses:br,tabScrollButtonClasses:r2,tableBodyClasses:r3,tableCellClasses:Hk,tableClasses:e3,tableContainerClasses:c3,tableFooterClasses:p3,tableHeadClasses:v3,tablePaginationClasses:ss,tableRowClasses:Mg,tableSortLabelClasses:dd,tabsClasses:pd,textFieldClasses:t8,toggleButtonClasses:wi,toggleButtonGroupClasses:Qt,toolbarClasses:S3,tooltipClasses:mn,touchRippleClasses:Sr,typographyClasses:Ql,unstable_ClassNameGenerator:RS,unstable_composeClasses:$e,unstable_createBreakpoints:Nd,unstable_createMuiStrictModeTheme:uS,unstable_getUnit:Jd,unstable_memoTheme:xe,unstable_toUnitless:po,unstable_useEnhancedEffect:xn,unstable_useId:Jn,unsupportedProp:V1,useAutocomplete:VS,useColorScheme:gS,useControlled:Qn,useEventCallback:Yt,useForkRef:Lt,useFormControl:Tr,useMediaQuery:uw,usePagination:qw,useRadioGroup:tk,useScrollTrigger:m8,useStepContext:cz,useStepperContext:lz,useTheme:Cn,useThemeProps:fS,version:g8,withStyles:bS,withTheme:xS},Symbol.toStringTag,{value:"Module"})),S8=xt(g.jsx("path",{d:"M10.5 7.67V3.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5V9l8.5 5v2l-4.49-1.32zm9.28 14.94 1.41-1.41-7.69-7.7-3.94-3.94-6.75-6.75-1.42 1.41 6.38 6.38L2 14v2l8.5-2.5V19L8 20.5V22l4-1 4 1v-1.5L13.5 19v-2.67z"}),"AirplanemodeInactiveOutlined"),C8=xt(g.jsx("path",{d:"M22 16v-2l-8.5-5V3.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5V9L2 14v2l8.5-2.5V19L8 20.5V22l4-1 4 1v-1.5L13.5 19v-5.5z"}),"AirplanemodeActiveOutlined");var Tm={},Em={};const d2=oc(U$);var Ui={},bx;function fp(){if(bx)return Ui;bx=1;function e(k){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(w){return typeof w}:function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},e(k)}Object.defineProperty(Ui,"__esModule",{value:!0}),Ui.getAndSetJson=void 0,Ui.getJson=x,Ui.getText=C;function t(){var k=u(),w=k.m(t),T=(Object.getPrototypeOf?Object.getPrototypeOf(w):w.__proto__).constructor;function R(j){var A=typeof j=="function"&&j.constructor;return!!A&&(A===T||(A.displayName||A.name)==="GeneratorFunction")}var I={throw:1,return:2,break:3,continue:3};function O(j){var A,N;return function($){A||(A={stop:function(){return N($.a,2)},catch:function(){return $.v},abrupt:function(L,U){return N($.a,I[L],U)},delegateYield:function(L,U,M){return A.resultName=U,N($.d,n(L),M)},finish:function(L){return N($.f,L)}},N=function(L,U,M){$.p=A.prev,$.n=A.next;try{return L(U,M)}finally{A.next=$.n}}),A.resultName&&(A[A.resultName]=$.v,A.resultName=void 0),A.sent=$.v,A.next=$.n;try{return j.call(this,A)}finally{$.p=A.prev,$.n=A.next}}}return(t=function(){return{wrap:function(N,$,S,L){return k.w(O(N),$,S,L&&L.reverse())},isGeneratorFunction:R,mark:k.m,awrap:function(N,$){return new f(N,$)},AsyncIterator:c,async:function(N,$,S,L,U){return(R($)?s:a)(O(N),$,S,L,U)},keys:i,values:n}})()}function n(k){if(k!=null){var w=k[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],T=0;if(w)return w.call(k);if(typeof k.next=="function")return k;if(!isNaN(k.length))return{next:function(){return k&&T>=k.length&&(k=void 0),{value:k&&k[T++],done:!k}}}}throw new TypeError(e(k)+" is not iterable")}function i(k){var w=Object(k),T=[];for(var R in w)T.unshift(R);return function I(){for(;T.length;)if((R=T.pop())in w)return I.value=R,I.done=!1,I;return I.done=!0,I}}function a(k,w,T,R,I){var O=s(k,w,T,R,I);return O.next().then(function(j){return j.done?j.value:O.next()})}function s(k,w,T,R,I){return new c(u().w(k,w,T,R),I||Promise)}function c(k,w){function T(I,O,j,A){try{var N=k[I](O),$=N.value;return $ instanceof f?w.resolve($.v).then(function(S){T("next",S,j,A)},function(S){T("throw",S,j,A)}):w.resolve($).then(function(S){N.value=S,j(N)},function(S){return T("throw",S,j,A)})}catch(S){A(S)}}var R;this.next||(d(c.prototype),d(c.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),d(this,"_invoke",function(I,O,j){function A(){return new w(function(N,$){T(I,j,N,$)})}return R=R?R.then(A,A):A()},!0)}function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var k,w,T=typeof Symbol=="function"?Symbol:{},R=T.iterator||"@@iterator",I=T.toStringTag||"@@toStringTag";function O(M,D,W,H){var q=D&&D.prototype instanceof A?D:A,F=Object.create(q.prototype);return d(F,"_invoke",(function(_,V,B){var G,Z,te,K=0,J=B||[],Q=!1,ie={p:0,n:0,v:k,a:se,f:se.bind(k,4),d:function(ge,ce){return G=ge,Z=0,te=k,ie.n=ce,j}};function se(ue,ge){for(Z=ue,te=ge,w=0;!Q&&K&&!ce&&w<J.length;w++){var ce,he=J[w],Se=ie.p,Ae=he[2];ue>3?(ce=Ae===ge)&&(te=he[(Z=he[4])?5:(Z=3,3)],he[4]=he[5]=k):he[0]<=Se&&((ce=ue<2&&Se<he[1])?(Z=0,ie.v=ge,ie.n=he[1]):Se<Ae&&(ce=ue<3||he[0]>ge||ge>Ae)&&(he[4]=ue,he[5]=ge,ie.n=Ae,Z=0))}if(ce||ue>1)return j;throw Q=!0,ge}return function(ue,ge,ce){if(K>1)throw TypeError("Generator is already running");for(Q&&ge===1&&se(ge,ce),Z=ge,te=ce;(w=Z<2?k:te)||!Q;){G||(Z?Z<3?(Z>1&&(ie.n=-1),se(Z,te)):ie.n=te:ie.v=te);try{if(K=2,G){if(Z||(ue="next"),w=G[ue]){if(!(w=w.call(G,te)))throw TypeError("iterator result is not an object");if(!w.done)return w;te=w.value,Z<2&&(Z=0)}else Z===1&&(w=G.return)&&w.call(G),Z<2&&(te=TypeError("The iterator does not provide a '"+ue+"' method"),Z=1);G=k}else if((w=(Q=ie.n<0)?te:_.call(V,ie))!==j)break}catch(he){G=k,Z=1,te=he}finally{K=1}}return{value:w,done:Q}}})(M,W,H),!0),F}var j={};function A(){}function N(){}function $(){}w=Object.getPrototypeOf;var S=[][R]?w(w([][R]())):(d(w={},R,function(){return this}),w),L=$.prototype=A.prototype=Object.create(S);function U(M){return Object.setPrototypeOf?Object.setPrototypeOf(M,$):(M.__proto__=$,d(M,I,"GeneratorFunction")),M.prototype=Object.create(L),M}return N.prototype=$,d(L,"constructor",$),d($,"constructor",N),N.displayName="GeneratorFunction",d($,I,"GeneratorFunction"),d(L),d(L,I,"Generator"),d(L,R,function(){return this}),d(L,"toString",function(){return"[object Generator]"}),(u=function(){return{w:O,m:U}})()}function d(k,w,T,R){var I=Object.defineProperty;try{I({},"",{})}catch{I=0}d=function(j,A,N,$){function S(L,U){d(j,L,function(M){return this._invoke(L,U,M)})}A?I?I(j,A,{value:N,enumerable:!$,configurable:!$,writable:!$}):j[A]=N:(S("next",0),S("throw",1),S("return",2))},d(k,w,T,R)}function f(k,w){this.v=k,this.k=w}function m(k,w,T,R,I,O,j){try{var A=k[O](j),N=A.value}catch($){return void T($)}A.done?w(N):Promise.resolve(N).then(R,I)}function y(k){return function(){var w=this,T=arguments;return new Promise(function(R,I){var O=k.apply(w,T);function j(N){m(O,R,I,j,A,"next",N)}function A(N){m(O,R,I,j,A,"throw",N)}j(void 0)})}}function x(k){return P.apply(this,arguments)}function P(){return P=y(t().mark(function k(w){var T,R,I,O,j,A=arguments;return t().wrap(function($){for(;;)switch($.prev=$.next){case 0:return T=A.length>1&&A[1]!==void 0?A[1]:!1,$.prev=1,$.next=4,fetch(w);case 4:if(R=$.sent,R.ok){$.next=14;break}return $.t0=w,$.t1=R.status,$.next=10,R.text();case 10:return $.t2=$.sent,I={url:$.t0,ok:!1,status:$.t1,error:$.t2},T&&console.log("getJson",I),$.abrupt("return",I);case 14:return $.t3=w,$.t4=R.status,$.next=18,R.json();case 18:return $.t5=$.sent,O={url:$.t3,ok:!0,status:$.t4,json:$.t5},T&&console.log("getJson",O),$.abrupt("return",O);case 24:return $.prev=24,$.t6=$.catch(1),j={url:w,ok:!1,status:0,error:$.t6.message},T&&console.log("getJson",j),$.abrupt("return",j);case 29:case"end":return $.stop()}},k,null,[[1,24]])})),P.apply(this,arguments)}function C(k){return b.apply(this,arguments)}function b(){return b=y(t().mark(function k(w){var T,R,I,O,j,A=arguments;return t().wrap(function($){for(;;)switch($.prev=$.next){case 0:return T=A.length>1&&A[1]!==void 0?A[1]:!1,$.prev=1,$.next=4,fetch(w);case 4:if(R=$.sent,R.ok){$.next=14;break}return $.t0=w,$.t1=R.status,$.next=10,R.text();case 10:return $.t2=$.sent,I={url:$.t0,ok:!1,status:$.t1,error:$.t2},T&&console.log("getText",I),$.abrupt("return",I);case 14:return $.t3=w,$.t4=R.status,$.next=18,R.text();case 18:return $.t5=$.sent,O={url:$.t3,ok:!0,status:$.t4,text:$.t5},T&&console.log("getText",O),$.abrupt("return",O);case 24:return $.prev=24,$.t6=$.catch(1),j={url:w,ok:!1,status:0,error:$.t6.message},T&&console.log("getText",j),$.abrupt("return",j);case 29:case"end":return $.stop()}},k,null,[[1,24]])})),b.apply(this,arguments)}return Ui.getAndSetJson=(function(){var k=y(t().mark(function w(T){var R,I,O,j,A;return t().wrap(function($){for(;;)switch($.prev=$.next){case 0:return R=T.url,I=T.setter,O=T.debug,j=O===void 0?!1:O,$.next=3,x(R,j);case 3:if(A=$.sent,!A.ok){$.next=8;break}I(A.json),$.next=9;break;case 8:return $.abrupt("return",A);case 9:case"end":return $.stop()}},w)}));return function(T){return k.apply(this,arguments)}})(),Ui}function p2(e){var t,n,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=p2(e[t]))&&(i&&(i+=" "),i+=n);else for(t in e)e[t]&&(i&&(i+=" "),i+=t);return i}function ba(){for(var e,t,n=0,i="";n<arguments.length;)(e=arguments[n++])&&(t=p2(e))&&(i&&(i+=" "),i+=t);return i}let w8={data:""},k8=e=>{if(typeof window=="object"){let t=(e?e.querySelector("#_goober"):window._goober)||Object.assign(document.createElement("style"),{innerHTML:" ",id:"_goober"});return t.nonce=window.__nonce__,t.parentNode||(e||document.head).appendChild(t),t.firstChild}return e||w8},R8=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,P8=/\/\*[^]*?\*\/| +/g,xx=/\n+/g,na=(e,t)=>{let n="",i="",a="";for(let s in e){let c=e[s];s[0]=="@"?s[1]=="i"?n=s+" "+c+";":i+=s[1]=="f"?na(c,s):s+"{"+na(c,s[1]=="k"?"":t)+"}":typeof c=="object"?i+=na(c,t?t.replace(/([^,])+/g,u=>s.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,d=>/&/.test(d)?d.replace(/&/g,u):u?u+" "+d:d)):s):c!=null&&(s=/^--/.test(s)?s:s.replace(/[A-Z]/g,"-$&").toLowerCase(),a+=na.p?na.p(s,c):s+":"+c+";")}return n+(t&&a?t+"{"+a+"}":a)+i},jo={},f2=e=>{if(typeof e=="object"){let t="";for(let n in e)t+=n+f2(e[n]);return t}return e},T8=(e,t,n,i,a)=>{let s=f2(e),c=jo[s]||(jo[s]=(d=>{let f=0,m=11;for(;f<d.length;)m=101*m+d.charCodeAt(f++)>>>0;return"go"+m})(s));if(!jo[c]){let d=s!==e?e:(f=>{let m,y,x=[{}];for(;m=R8.exec(f.replace(P8,""));)m[4]?x.shift():m[3]?(y=m[3].replace(xx," ").trim(),x.unshift(x[0][y]=x[0][y]||{})):x[0][m[1]]=m[2].replace(xx," ").trim();return x[0]})(e);jo[c]=na(a?{["@keyframes "+c]:d}:d,n?"":"."+c)}let u=n&&jo.g?jo.g:null;return n&&(jo.g=jo[c]),((d,f,m,y)=>{y?f.data=f.data.replace(y,d):f.data.indexOf(d)===-1&&(f.data=m?d+f.data:f.data+d)})(jo[c],t,i,u),c},E8=(e,t,n)=>e.reduce((i,a,s)=>{let c=t[s];if(c&&c.call){let u=c(n),d=u&&u.props&&u.props.className||/^go/.test(u)&&u;c=d?"."+d:u&&typeof u=="object"?u.props?"":na(u,""):u===!1?"":u}return i+a+(c??"")},"");function Wh(e){let t=this||{},n=e.call?e(t.p):e;return T8(n.unshift?n.raw?E8(n,[].slice.call(arguments,1),t.p):n.reduce((i,a)=>Object.assign(i,a&&a.call?a(t.p):a),{}):n,k8(t.target),t.g,t.o,t.k)}Wh.bind({g:1});Wh.bind({k:1});function I8(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function m2(e,t,n){return t&&I8(e.prototype,t),e}function Vt(){return Vt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Vt.apply(this,arguments)}function g2(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function yc(e,t){if(e==null)return{};var n={},i=Object.keys(e),a,s;for(s=0;s<i.length;s++)a=i[s],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function Sx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Cx=function(){return""},h2=Ct.createContext({enqueueSnackbar:Cx,closeSnackbar:Cx}),Zi={downXs:"@media (max-width:599.95px)",upSm:"@media (min-width:600px)"},wx=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},Hh=function(t){return""+wx(t.vertical)+wx(t.horizontal)},qu=function(t){return!!t||t===0},Ku="unmounted",Va="exited",Ga="entering",hl="entered",kx="exiting",mp=(function(e){g2(t,e);function t(i){var a;a=e.call(this,i)||this;var s=i.appear,c;return a.appearStatus=null,i.in?s?(c=Va,a.appearStatus=Ga):c=hl:i.unmountOnExit||i.mountOnEnter?c=Ku:c=Va,a.state={status:c},a.nextCallback=null,a}t.getDerivedStateFromProps=function(a,s){var c=a.in;return c&&s.status===Ku?{status:Va}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(a){var s=null;if(a!==this.props){var c=this.state.status;this.props.in?c!==Ga&&c!==hl&&(s=Ga):(c===Ga||c===hl)&&(s=kx)}this.updateStatus(!1,s)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var a=this.props.timeout,s=a,c=a;return a!=null&&typeof a!="number"&&typeof a!="string"&&(c=a.exit,s=a.enter),{exit:c,enter:s}},n.updateStatus=function(a,s){a===void 0&&(a=!1),s!==null?(this.cancelNextCallback(),s===Ga?this.performEnter(a):this.performExit()):this.props.unmountOnExit&&this.state.status===Va&&this.setState({status:Ku})},n.performEnter=function(a){var s=this,c=this.props.enter,u=a,d=this.getTimeouts();if(!a&&!c){this.safeSetState({status:hl},function(){s.props.onEntered&&s.props.onEntered(s.node,u)});return}this.props.onEnter&&this.props.onEnter(this.node,u),this.safeSetState({status:Ga},function(){s.props.onEntering&&s.props.onEntering(s.node,u),s.onTransitionEnd(d.enter,function(){s.safeSetState({status:hl},function(){s.props.onEntered&&s.props.onEntered(s.node,u)})})})},n.performExit=function(){var a=this,s=this.props.exit,c=this.getTimeouts();if(!s){this.safeSetState({status:Va},function(){a.props.onExited&&a.props.onExited(a.node)});return}this.props.onExit&&this.props.onExit(this.node),this.safeSetState({status:kx},function(){a.props.onExiting&&a.props.onExiting(a.node),a.onTransitionEnd(c.exit,function(){a.safeSetState({status:Va},function(){a.props.onExited&&a.props.onExited(a.node)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&this.nextCallback.cancel&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(a,s){s=this.setNextCallback(s),this.setState(a,s)},n.setNextCallback=function(a){var s=this,c=!0;return this.nextCallback=function(){c&&(c=!1,s.nextCallback=null,a())},this.nextCallback.cancel=function(){c=!1},this.nextCallback},n.onTransitionEnd=function(a,s){this.setNextCallback(s);var c=a==null&&!this.props.addEndListener;if(!this.node||c){setTimeout(this.nextCallback,0);return}this.props.addEndListener&&this.props.addEndListener(this.node,this.nextCallback),a!=null&&setTimeout(this.nextCallback,a)},n.render=function(){var a=this.state.status;if(a===Ku)return null;var s=this.props,c=s.children,u=yc(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return c(a,u)},m2(t,[{key:"node",get:function(){var a,s=(a=this.props.nodeRef)===null||a===void 0?void 0:a.current;if(!s)throw new Error("notistack - Custom snackbar is not refForwarding");return s}}]),t})(Ct.Component);function qa(){}mp.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:qa,onEntering:qa,onEntered:qa,onExit:qa,onExiting:qa,onExited:qa};function Rx(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Og(e,t){return h.useMemo(function(){return e==null&&t==null?null:function(n){Rx(e,n),Rx(t,n)}},[e,t])}function $d(e){var t=e.timeout,n=e.style,i=n===void 0?{}:n,a=e.mode;return{duration:typeof t=="object"?t[a]||0:t,easing:i.transitionTimingFunction,delay:i.transitionDelay}}var Ag={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},v2=function(t){t.scrollTop=t.scrollTop},Px=function(t){return Math.round(t)+"ms"};function ts(e,t){e===void 0&&(e=["all"]);var n=t||{},i=n.duration,a=i===void 0?300:i,s=n.easing,c=s===void 0?Ag.easeInOut:s,u=n.delay,d=u===void 0?0:u,f=Array.isArray(e)?e:[e];return f.map(function(m){var y=typeof a=="string"?a:Px(a),x=typeof d=="string"?d:Px(d);return m+" "+y+" "+c+" "+x}).join(",")}function $8(e){return e&&e.ownerDocument||document}function y2(e){var t=$8(e);return t.defaultView||window}function M8(e,t){t===void 0&&(t=166);var n;function i(){for(var a=this,s=arguments.length,c=new Array(s),u=0;u<s;u++)c[u]=arguments[u];var d=function(){e.apply(a,c)};clearTimeout(n),n=setTimeout(d,t)}return i.clear=function(){clearTimeout(n)},i}function O8(e,t){var n=t.getBoundingClientRect(),i=y2(t),a;if(t.fakeTransform)a=t.fakeTransform;else{var s=i.getComputedStyle(t);a=s.getPropertyValue("-webkit-transform")||s.getPropertyValue("transform")}var c=0,u=0;if(a&&a!=="none"&&typeof a=="string"){var d=a.split("(")[1].split(")")[0].split(",");c=parseInt(d[4],10),u=parseInt(d[5],10)}switch(e){case"left":return"translateX("+(i.innerWidth+c-n.left)+"px)";case"right":return"translateX(-"+(n.left+n.width-c)+"px)";case"up":return"translateY("+(i.innerHeight+u-n.top)+"px)";default:return"translateY(-"+(n.top+n.height-u)+"px)"}}function Yu(e,t){if(t){var n=O8(e,t);n&&(t.style.webkitTransform=n,t.style.transform=n)}}var b2=h.forwardRef(function(e,t){var n=e.children,i=e.direction,a=i===void 0?"down":i,s=e.in,c=e.style,u=e.timeout,d=u===void 0?0:u,f=e.onEnter,m=e.onEntered,y=e.onExit,x=e.onExited,P=yc(e,["children","direction","in","style","timeout","onEnter","onEntered","onExit","onExited"]),C=h.useRef(null),b=Og(n.ref,C),k=Og(b,t),w=function(A,N){Yu(a,A),v2(A),f&&f(A,N)},T=function(A){var N=(c==null?void 0:c.transitionTimingFunction)||Ag.easeOut,$=$d({timeout:d,mode:"enter",style:Vt({},c,{transitionTimingFunction:N})});A.style.webkitTransition=ts("-webkit-transform",$),A.style.transition=ts("transform",$),A.style.webkitTransform="none",A.style.transform="none"},R=function(A){var N=(c==null?void 0:c.transitionTimingFunction)||Ag.sharp,$=$d({timeout:d,mode:"exit",style:Vt({},c,{transitionTimingFunction:N})});A.style.webkitTransition=ts("-webkit-transform",$),A.style.transition=ts("transform",$),Yu(a,A),y&&y(A)},I=function(A){A.style.webkitTransition="",A.style.transition="",x&&x(A)},O=h.useCallback(function(){C.current&&Yu(a,C.current)},[a]);return h.useEffect(function(){if(!(s||a==="down"||a==="right")){var j=M8(function(){C.current&&Yu(a,C.current)}),A=y2(C.current);return A.addEventListener("resize",j),function(){j.clear(),A.removeEventListener("resize",j)}}},[a,s]),h.useEffect(function(){s||O()},[s,O]),h.createElement(mp,Object.assign({appear:!0,nodeRef:C,onEnter:w,onEntered:m,onEntering:T,onExit:R,onExited:I,in:s,timeout:d},P),function(j,A){return h.cloneElement(n,Vt({ref:k,style:Vt({visibility:j==="exited"&&!s?"hidden":void 0},c,{},n.props.style)},A))})});b2.displayName="Slide";var gp=function(t){return Ct.createElement("svg",Object.assign({viewBox:"0 0 24 24",focusable:"false",style:{fontSize:20,marginInlineEnd:8,userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0}},t))},A8=function(){return Ct.createElement(gp,null,Ct.createElement("path",{d:`M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41
295
+ 10.59L10 14.17L17.59 6.58L19 8L10 17Z`}))},j8=function(){return Ct.createElement(gp,null,Ct.createElement("path",{d:"M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z"}))},L8=function(){return Ct.createElement(gp,null,Ct.createElement("path",{d:`M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,
296
+ 6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,
297
+ 13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z`}))},N8=function(){return Ct.createElement(gp,null,Ct.createElement("path",{d:`M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,
298
+ 0 22,12A10,10 0 0,0 12,2Z`}))},B8={default:void 0,success:Ct.createElement(A8,null),warning:Ct.createElement(j8,null),error:Ct.createElement(L8,null),info:Ct.createElement(N8,null)},ua={maxSnack:3,persist:!1,hideIconVariant:!1,disableWindowBlurListener:!1,variant:"default",autoHideDuration:5e3,iconVariant:B8,anchorOrigin:{vertical:"bottom",horizontal:"left"},TransitionComponent:b2,transitionDuration:{enter:225,exit:195}},D8=function(t,n){var i=function(s){return typeof s=="number"||s===null};return i(t)?t:i(n)?n:ua.autoHideDuration},z8=function(t,n){var i=function(s,c){return c.some(function(u){return typeof s===u})};return i(t,["string","number"])?t:i(t,["object"])?Vt({},ua.transitionDuration,{},i(n,["object"])&&n,{},t):i(n,["string","number"])?n:i(n,["object"])?Vt({},ua.transitionDuration,{},n):ua.transitionDuration},F8=function(t,n){return function(i,a){return a===void 0&&(a=!1),a?Vt({},ua[i],{},n[i],{},t[i]):i==="autoHideDuration"?D8(t.autoHideDuration,n.autoHideDuration):i==="transitionDuration"?z8(t.transitionDuration,n.transitionDuration):t[i]||n[i]||ua[i]}};function bc(e){return Object.entries(e).reduce(function(t,n){var i,a=n[0],s=n[1];return Vt({},t,(i={},i[a]=Wh(s),i))},{})}var vs={SnackbarContainer:"notistack-SnackbarContainer",Snackbar:"notistack-Snackbar",CollapseWrapper:"notistack-CollapseWrapper",MuiContent:"notistack-MuiContent",MuiContentVariant:function(t){return"notistack-MuiContent-"+t}},Tx=bc({root:{height:0},entered:{height:"auto"}}),Im="0px",$m=175,x2=h.forwardRef(function(e,t){var n=e.children,i=e.in,a=e.onExited,s=h.useRef(null),c=h.useRef(null),u=Og(t,c),d=function(){return s.current?s.current.clientHeight:0},f=function(b){b.style.height=Im},m=function(b){var k=d(),w=$d({timeout:$m,mode:"enter"}),T=w.duration,R=w.easing;b.style.transitionDuration=typeof T=="string"?T:T+"ms",b.style.height=k+"px",b.style.transitionTimingFunction=R||""},y=function(b){b.style.height="auto"},x=function(b){b.style.height=d()+"px"},P=function(b){v2(b);var k=$d({timeout:$m,mode:"exit"}),w=k.duration,T=k.easing;b.style.transitionDuration=typeof w=="string"?w:w+"ms",b.style.height=Im,b.style.transitionTimingFunction=T||""};return h.createElement(mp,{in:i,unmountOnExit:!0,onEnter:f,onEntered:y,onEntering:m,onExit:x,onExited:a,onExiting:P,nodeRef:c,timeout:$m},function(C,b){return h.createElement("div",Object.assign({ref:u,className:ba(Tx.root,C==="entered"&&Tx.entered),style:Vt({pointerEvents:"all",overflow:"hidden",minHeight:Im,transition:ts("height")},C==="entered"&&{overflow:"visible"},{},C==="exited"&&!i&&{visibility:"hidden"})},b),h.createElement("div",{ref:s,className:vs.CollapseWrapper,style:{display:"flex",width:"100%"}},n))})});x2.displayName="Collapse";var Ex={right:"left",left:"right",bottom:"up",top:"down"},_8=function(t){return t.horizontal!=="center"?Ex[t.horizontal]:Ex[t.vertical]},W8=function(t){return"anchorOrigin"+Hh(t)},H8=function(t){t===void 0&&(t={});var n={containerRoot:!0,containerAnchorOriginTopCenter:!0,containerAnchorOriginBottomCenter:!0,containerAnchorOriginTopRight:!0,containerAnchorOriginBottomRight:!0,containerAnchorOriginTopLeft:!0,containerAnchorOriginBottomLeft:!0};return Object.keys(t).filter(function(i){return!n[i]}).reduce(function(i,a){var s;return Vt({},i,(s={},s[a]=t[a],s))},{})},U8=function(){};function Fl(e,t){return e.reduce(function(n,i){return i==null?n:function(){for(var s=arguments.length,c=new Array(s),u=0;u<s;u++)c[u]=arguments[u];var d=[].concat(c);t&&d.indexOf(t)===-1&&d.push(t),n.apply(this,d),i.apply(this,d)}},U8)}var V8=typeof window<"u"?h.useLayoutEffect:h.useEffect;function Ix(e){var t=h.useRef(e);return V8(function(){t.current=e}),h.useCallback(function(){return t.current.apply(void 0,arguments)},[])}var S2=h.forwardRef(function(e,t){var n=e.children,i=e.className,a=e.autoHideDuration,s=e.disableWindowBlurListener,c=s===void 0?!1:s,u=e.onClose,d=e.id,f=e.open,m=e.SnackbarProps,y=m===void 0?{}:m,x=h.useRef(),P=Ix(function(){u&&u.apply(void 0,arguments)}),C=Ix(function(R){!u||R==null||(x.current&&clearTimeout(x.current),x.current=setTimeout(function(){P(null,"timeout",d)},R))});h.useEffect(function(){return f&&C(a),function(){x.current&&clearTimeout(x.current)}},[f,a,C]);var b=function(){x.current&&clearTimeout(x.current)},k=h.useCallback(function(){a!=null&&C(a*.5)},[a,C]),w=function(I){y.onMouseEnter&&y.onMouseEnter(I),b()},T=function(I){y.onMouseLeave&&y.onMouseLeave(I),k()};return h.useEffect(function(){if(!c&&f)return window.addEventListener("focus",k),window.addEventListener("blur",b),function(){window.removeEventListener("focus",k),window.removeEventListener("blur",b)}},[c,k,f]),h.createElement("div",Object.assign({ref:t},y,{className:ba(vs.Snackbar,i),onMouseEnter:w,onMouseLeave:T}),n)});S2.displayName="Snackbar";var Mm,G8=bc({root:(Mm={display:"flex",flexWrap:"wrap",flexGrow:1},Mm[Zi.upSm]={flexGrow:"initial",minWidth:"288px"},Mm)}),Uh=h.forwardRef(function(e,t){var n=e.className,i=yc(e,["className"]);return Ct.createElement("div",Object.assign({ref:t,className:ba(G8.root,n)},i))});Uh.displayName="SnackbarContent";var vl=bc({root:{backgroundColor:"#313131",fontSize:"0.875rem",lineHeight:1.43,letterSpacing:"0.01071em",color:"#fff",alignItems:"center",padding:"6px 16px",borderRadius:"4px",boxShadow:"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)"},lessPadding:{paddingLeft:8*2.5+"px"},default:{backgroundColor:"#313131"},success:{backgroundColor:"#43a047"},error:{backgroundColor:"#d32f2f"},warning:{backgroundColor:"#ff9800"},info:{backgroundColor:"#2196f3"},message:{display:"flex",alignItems:"center",padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:"16px",marginRight:"-8px"}}),$x="notistack-snackbar",C2=h.forwardRef(function(e,t){var n=e.id,i=e.message,a=e.action,s=e.iconVariant,c=e.variant,u=e.hideIconVariant,d=e.style,f=e.className,m=s[c],y=a;return typeof y=="function"&&(y=y(n)),Ct.createElement(Uh,{ref:t,role:"alert","aria-describedby":$x,style:d,className:ba(vs.MuiContent,vs.MuiContentVariant(c),vl.root,vl[c],f,!u&&m&&vl.lessPadding)},Ct.createElement("div",{id:$x,className:vl.message},u?null:m,i),y&&Ct.createElement("div",{className:vl.action},y))});C2.displayName="MaterialDesignContent";var Vh=h.memo(C2),q8=bc({wrappedRoot:{width:"100%",position:"relative",transform:"translateX(0)",top:0,right:0,bottom:0,left:0,minWidth:"288px"}}),K8=function(t){var n=h.useRef(),i=h.useState(!0),a=i[0],s=i[1],c=Fl([t.snack.onClose,t.onClose]),u=function(){t.snack.requestClose&&c(null,"instructed",t.snack.id)},d=h.useCallback(function(){n.current=setTimeout(function(){s(function($){return!$})},125)},[]);h.useEffect(function(){return function(){n.current&&clearTimeout(n.current)}},[]);var f=t.snack,m=t.classes,y=t.Component,x=y===void 0?Vh:y,P=h.useMemo(function(){return H8(m)},[m]),C=f.open,b=f.SnackbarProps,k=f.TransitionComponent,w=f.TransitionProps,T=f.transitionDuration,R=f.disableWindowBlurListener,I=f.content,O=yc(f,["open","SnackbarProps","TransitionComponent","TransitionProps","transitionDuration","disableWindowBlurListener","content","entered","requestClose","onEnter","onEntered","onExit","onExited"]),j=Vt({direction:_8(O.anchorOrigin),timeout:T},w),A=I;typeof A=="function"&&(A=A(O.id,O.message));var N=["onEnter","onEntered","onExit","onExited"].reduce(function($,S){var L;return Vt({},$,(L={},L[S]=Fl([t.snack[S],t[S]],O.id),L))},{});return Ct.createElement(x2,{in:a,onExited:N.onExited},Ct.createElement(S2,{open:C,id:O.id,disableWindowBlurListener:R,autoHideDuration:O.autoHideDuration,className:ba(q8.wrappedRoot,P.root,P[W8(O.anchorOrigin)]),SnackbarProps:b,onClose:c},Ct.createElement(k,Object.assign({},j,{appear:!0,in:C,onExit:N.onExit,onExited:d,onEnter:N.onEnter,onEntered:Fl([N.onEntered,u],O.id)}),A||Ct.createElement(x,Object.assign({},O)))))},yl,Om,Xu,Qu,Am,Lo={view:{default:20},snackbar:{default:6,dense:2}},Mx="."+vs.CollapseWrapper,jm=16,Ju=bc({root:(yl={boxSizing:"border-box",display:"flex",maxHeight:"100%",position:"fixed",zIndex:1400,height:"auto",width:"auto",transition:ts(["top","right","bottom","left","max-width"],{duration:300,easing:"ease"}),pointerEvents:"none"},yl[Mx]={padding:Lo.snackbar.default+"px 0px",transition:"padding 300ms ease 0ms"},yl.maxWidth="calc(100% - "+Lo.view.default*2+"px)",yl[Zi.downXs]={width:"100%",maxWidth:"calc(100% - "+jm*2+"px)"},yl),rootDense:(Om={},Om[Mx]={padding:Lo.snackbar.dense+"px 0px"},Om),top:{top:Lo.view.default-Lo.snackbar.default+"px",flexDirection:"column"},bottom:{bottom:Lo.view.default-Lo.snackbar.default+"px",flexDirection:"column-reverse"},left:(Xu={left:Lo.view.default+"px"},Xu[Zi.upSm]={alignItems:"flex-start"},Xu[Zi.downXs]={left:jm+"px"},Xu),right:(Qu={right:Lo.view.default+"px"},Qu[Zi.upSm]={alignItems:"flex-end"},Qu[Zi.downXs]={right:jm+"px"},Qu),center:(Am={left:"50%",transform:"translateX(-50%)"},Am[Zi.upSm]={alignItems:"center"},Am)}),Y8=function(t){var n=t.classes,i=n===void 0?{}:n,a=t.anchorOrigin,s=t.dense,c=t.children,u=ba(vs.SnackbarContainer,Ju[a.vertical],Ju[a.horizontal],Ju.root,i.containerRoot,i["containerAnchorOrigin"+Hh(a)],s&&Ju.rootDense);return Ct.createElement("div",{className:u},c)},X8=h.memo(Y8),Ox=function(t){var n=typeof t=="string"||h.isValidElement(t);return!n},Fo,w2,Gh=(function(e){g2(t,e);function t(i){var a;return a=e.call(this,i)||this,a.enqueueSnackbar=function(s,c){if(c===void 0&&(c={}),s==null)throw new Error("enqueueSnackbar called with invalid argument");var u=Ox(s)?s:c,d=Ox(s)?s.message:s,f=u.key,m=u.preventDuplicate,y=yc(u,["key","preventDuplicate"]),x=qu(f),P=x?f:new Date().getTime()+Math.random(),C=F8(y,a.props),b=Vt({id:P},y,{message:d,open:!0,entered:!1,requestClose:!1,persist:C("persist"),action:C("action"),content:C("content"),variant:C("variant"),anchorOrigin:C("anchorOrigin"),disableWindowBlurListener:C("disableWindowBlurListener"),autoHideDuration:C("autoHideDuration"),hideIconVariant:C("hideIconVariant"),TransitionComponent:C("TransitionComponent"),transitionDuration:C("transitionDuration"),TransitionProps:C("TransitionProps",!0),iconVariant:C("iconVariant",!0),style:C("style",!0),SnackbarProps:C("SnackbarProps",!0),className:ba(a.props.className,y.className)});return b.persist&&(b.autoHideDuration=void 0),a.setState(function(k){if(m===void 0&&a.props.preventDuplicate||m){var w=function(O){return x?O.id===P:O.message===d},T=k.queue.findIndex(w)>-1,R=k.snacks.findIndex(w)>-1;if(T||R)return k}return a.handleDisplaySnack(Vt({},k,{queue:[].concat(k.queue,[b])}))}),P},a.handleDisplaySnack=function(s){var c=s.snacks;return c.length>=a.maxSnack?a.handleDismissOldest(s):a.processQueue(s)},a.processQueue=function(s){var c=s.queue,u=s.snacks;return c.length>0?Vt({},s,{snacks:[].concat(u,[c[0]]),queue:c.slice(1,c.length)}):s},a.handleDismissOldest=function(s){if(s.snacks.some(function(m){return!m.open||m.requestClose}))return s;var c=!1,u=!1,d=s.snacks.reduce(function(m,y){return m+(y.open&&y.persist?1:0)},0);d===a.maxSnack&&(u=!0);var f=s.snacks.map(function(m){return!c&&(!m.persist||u)?(c=!0,m.entered?(m.onClose&&m.onClose(null,"maxsnack",m.id),a.props.onClose&&a.props.onClose(null,"maxsnack",m.id),Vt({},m,{open:!1})):Vt({},m,{requestClose:!0})):Vt({},m)});return Vt({},s,{snacks:f})},a.handleEnteredSnack=function(s,c,u){if(!qu(u))throw new Error("handleEnteredSnack Cannot be called with undefined key");a.setState(function(d){var f=d.snacks;return{snacks:f.map(function(m){return m.id===u?Vt({},m,{entered:!0}):Vt({},m)})}})},a.handleCloseSnack=function(s,c,u){a.props.onClose&&a.props.onClose(s,c,u);var d=u===void 0;a.setState(function(f){var m=f.snacks,y=f.queue;return{snacks:m.map(function(x){return!d&&x.id!==u?Vt({},x):x.entered?Vt({},x,{open:!1}):Vt({},x,{requestClose:!0})}),queue:y.filter(function(x){return x.id!==u})}})},a.closeSnackbar=function(s){var c=a.state.snacks.find(function(u){return u.id===s});qu(s)&&c&&c.onClose&&c.onClose(null,"instructed",s),a.handleCloseSnack(null,"instructed",s)},a.handleExitedSnack=function(s,c){if(!qu(c))throw new Error("handleExitedSnack Cannot be called with undefined key");a.setState(function(u){var d=a.processQueue(Vt({},u,{snacks:u.snacks.filter(function(f){return f.id!==c})}));return d.queue.length===0?d:a.handleDismissOldest(d)})},Fo=a.enqueueSnackbar,w2=a.closeSnackbar,a.state={snacks:[],queue:[],contextValue:{enqueueSnackbar:a.enqueueSnackbar.bind(Sx(a)),closeSnackbar:a.closeSnackbar.bind(Sx(a))}},a}var n=t.prototype;return n.render=function(){var a=this,s=this.state.contextValue,c=this.props,u=c.domRoot,d=c.children,f=c.dense,m=f===void 0?!1:f,y=c.Components,x=y===void 0?{}:y,P=c.classes,C=this.state.snacks.reduce(function(k,w){var T,R=Hh(w.anchorOrigin),I=k[R]||[];return Vt({},k,(T={},T[R]=[].concat(I,[w]),T))},{}),b=Object.keys(C).map(function(k){var w=C[k],T=w[0];return Ct.createElement(X8,{key:k,dense:m,anchorOrigin:T.anchorOrigin,classes:P},w.map(function(R){return Ct.createElement(K8,{key:R.id,snack:R,classes:P,Component:x[R.variant],onClose:a.handleCloseSnack,onEnter:a.props.onEnter,onExit:a.props.onExit,onExited:Fl([a.handleExitedSnack,a.props.onExited],R.id),onEntered:Fl([a.handleEnteredSnack,a.props.onEntered],R.id)})}))});return Ct.createElement(h2.Provider,{value:s},d,u?Yl.createPortal(b,u):b)},m2(t,[{key:"maxSnack",get:function(){return this.props.maxSnack||ua.maxSnack}}]),t})(h.Component),k2=(function(){return h.useContext(h2)});const Q8=Object.freeze(Object.defineProperty({__proto__:null,MaterialDesignContent:Vh,SnackbarContent:Uh,SnackbarProvider:Gh,Transition:mp,get closeSnackbar(){return w2},get enqueueSnackbar(){return Fo},useSnackbar:k2},Symbol.toStringTag,{value:"Module"})),qh=oc(Q8);async function J8(e,t){const n=e.getReader();let i;for(;!(i=await n.read()).done;)t(i.value)}function Z8(e){let t,n,i,a=!1;return function(c){t===void 0?(t=c,n=0,i=-1):t=t6(t,c);const u=t.length;let d=0;for(;n<u;){a&&(t[n]===10&&(d=++n),a=!1);let f=-1;for(;n<u&&f===-1;++n)switch(t[n]){case 58:i===-1&&(i=n-d);break;case 13:a=!0;case 10:f=n;break}if(f===-1)break;e(t.subarray(d,f),i),d=n,i=-1}d===u?t=void 0:d!==0&&(t=t.subarray(d),n-=d)}}function e6(e,t,n){let i=Ax();const a=new TextDecoder;return function(c,u){if(c.length===0)n==null||n(i),i=Ax();else if(u>0){const d=a.decode(c.subarray(0,u)),f=u+(c[u+1]===32?2:1),m=a.decode(c.subarray(f));switch(d){case"data":i.data=i.data?i.data+`
299
+ `+m:m;break;case"event":i.event=m;break;case"id":e(i.id=m);break;case"retry":const y=parseInt(m,10);isNaN(y)||t(i.retry=y);break}}}}function t6(e,t){const n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}function Ax(){return{data:"",event:"",id:"",retry:void 0}}var n6=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,i=Object.getOwnPropertySymbols(e);a<i.length;a++)t.indexOf(i[a])<0&&Object.prototype.propertyIsEnumerable.call(e,i[a])&&(n[i[a]]=e[i[a]]);return n};const Md="text/event-stream",r6=1e3,jx="last-event-id";function R2(e,t){var{signal:n,headers:i,onopen:a,onmessage:s,onclose:c,onerror:u,openWhenHidden:d,fetch:f}=t,m=n6(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((y,x)=>{const P=Object.assign({},i);P.accept||(P.accept=Md);let C;function b(){C.abort(),document.hidden||O()}d||document.addEventListener("visibilitychange",b);let k=r6,w=0;function T(){document.removeEventListener("visibilitychange",b),window.clearTimeout(w),C.abort()}n==null||n.addEventListener("abort",()=>{T(),y()});const R=f??window.fetch,I=a??o6;async function O(){var j;C=new AbortController;try{const A=await R(e,Object.assign(Object.assign({},m),{headers:P,signal:C.signal}));await I(A),await J8(A.body,Z8(e6(N=>{N?P[jx]=N:delete P[jx]},N=>{k=N},s))),c==null||c(),T(),y()}catch(A){if(!C.signal.aborted)try{const N=(j=u==null?void 0:u(A))!==null&&j!==void 0?j:k;window.clearTimeout(w),w=window.setTimeout(O,N)}catch(N){T(),x(N)}}}O()})}function o6(e){const t=e.headers.get("content-type");if(!(t!=null&&t.startsWith(Md)))throw new Error(`Expected content-type to be ${Md}, Actual: ${t}`)}const i6=Object.freeze(Object.defineProperty({__proto__:null,EventStreamContentType:Md,fetchEventSource:R2},Symbol.toStringTag,{value:"Module"})),a6=oc(i6);var Lm={},Nm={},Lx;function Kh(){return Lx||(Lx=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Ln(),n=(0,t.createContext)({debug:!1,setDebug:function(){}});e.default=n})(Nm)),Nm}var Bm={},Nx;function xc(){return Nx||(Nx=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Ln(),n=(0,t.createContext)({enableNet:!1,setEnableNet:function(){}});e.default=n})(Bm)),Bm}var Dm={},Bx;function P2(){return Bx||(Bx=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Ln(),n=(0,t.createContext)({systemBcv:!1,setSystemBcv:function(){}});e.default=n})(Dm)),Dm}var zm={},Dx;function T2(){return Dx||(Dx=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Ln(),n=(0,t.createContext)({messages:[],setMessages:function(){}});e.default=n})(zm)),zm}var Fm={},zx;function Sc(){return zx||(zx=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Ln(),n=(0,t.createContext)({i18n:{},setI18n:function(){}});e.default=n})(Fm)),Fm}var _m={},Fx;function E2(){return Fx||(Fx=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Ln(),n=(0,t.createContext)({auth:!1,setAuth:function(){}});e.default=n})(_m)),_m}var Wm={},_x;function I2(){return _x||(_x=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Ln(),n=(0,t.createContext)({typography:{},setTypography:function(){}});e.default=n})(Wm)),Wm}var Hm={},Wx;function $2(){return Wx||(Wx=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Ln(),n=(0,t.createContext)({currentProject:null,setCurrentProject:function(){}});e.default=n})(Hm)),Hm}const hp=oc(x8);var Hx;function s6(){return Hx||(Hx=1,(function(e){function t(N){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function($){return typeof $}:function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $},t(N)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=k(Ln()),i=qh,a=b(Kh()),s=b(xc()),c=b(P2()),u=b(T2()),d=b(Sc()),f=b(E2()),m=b(I2()),y=b($2()),x=hp,P=fp(),C=d2;function b(N){return N&&N.__esModule?N:{default:N}}function k(N,$){if(typeof WeakMap=="function")var S=new WeakMap,L=new WeakMap;return(k=function(M,D){if(!D&&M&&M.__esModule)return M;var W,H,q={__proto__:null,default:M};if(M===null||t(M)!="object"&&typeof M!="function")return q;if(W=D?L:S){if(W.has(M))return W.get(M);W.set(M,q)}for(var F in M)F!=="default"&&{}.hasOwnProperty.call(M,F)&&((H=(W=Object.defineProperty)&&Object.getOwnPropertyDescriptor(M,F))&&(H.get||H.set)?W(q,F,H):q[F]=M[F]);return q})(N,$)}function w(N,$){return j(N)||O(N,$)||R(N,$)||T()}function T(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
300
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function R(N,$){if(N){if(typeof N=="string")return I(N,$);var S={}.toString.call(N).slice(8,-1);return S==="Object"&&N.constructor&&(S=N.constructor.name),S==="Map"||S==="Set"?Array.from(N):S==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S)?I(N,$):void 0}}function I(N,$){($==null||$>N.length)&&($=N.length);for(var S=0,L=Array($);S<$;S++)L[S]=N[S];return L}function O(N,$){var S=N==null?null:typeof Symbol<"u"&&N[Symbol.iterator]||N["@@iterator"];if(S!=null){var L,U,M,D,W=[],H=!0,q=!1;try{if(M=(S=S.call(N)).next,$!==0)for(;!(H=(L=M.call(S)).done)&&(W.push(L.value),W.length!==$);H=!0);}catch(F){q=!0,U=F}finally{try{if(!H&&S.return!=null&&(D=S.return(),Object(D)!==D))return}finally{if(q)throw U}}return W}}function j(N){if(Array.isArray(N))return N}function A(N){var $=N.children,S=N.netValue,L=N.debugValue,U=N.bcvValue,M=N.i18nValue,D=N.authValue,W=N.typographyValue,H=N.currentProjectValue,q=(0,n.useState)([]),F=w(q,2),_=F[0],V=F[1],B={messages:_,setMessages:V},G=(0,i.useSnackbar)(),Z=G.enqueueSnackbar,te=function(ge){var ce=ge.split("--");ce.length===4&&Z("".concat(ce[2]," => ").concat(ce[3]),{variant:ce[0],anchorOrigin:{vertical:"bottom",horizontal:"right"}})};(0,n.useEffect)(function(){_.length>0&&(_.forEach(function(ue){return te(ue)}),V([]))},[_]);var K=(0,n.useState)({palette:{primary:{main:"#666"},secondary:{main:"#888"}}}),J=w(K,2),Q=J[0],ie=J[1];(0,n.useEffect)(function(){Q.palette&&Q.palette.primary&&Q.palette.primary.main&&Q.palette.primary.main==="#666"&&(0,P.getAndSetJson)({url:"/app-resources/themes/default.json",setter:ie}).then()});var se=(0,C.createTheme)(Q);return n.default.createElement(C.ThemeProvider,{theme:se},n.default.createElement(d.default.Provider,{value:M},n.default.createElement(m.default.Provider,{value:W},n.default.createElement(f.default.Provider,{value:D},n.default.createElement(y.default.Provider,{value:H},n.default.createElement(c.default.Provider,{value:U},n.default.createElement(u.default.Provider,{value:B},n.default.createElement(a.default.Provider,{value:L},n.default.createElement(s.default.Provider,{value:S},n.default.createElement(x.Box,{sx:{height:"100vh",overflow:"hidden"}},$))))))))))}e.default=A})(Lm)),Lm}var fd={exports:{}},l6=fd.exports,Ux;function M2(){return Ux||(Ux=1,(function(e,t){(function(n,i,a){e.exports=a()})("dcopy",l6,function(){return function(i){if(/number|string|boolean/.test(typeof i))return i;if(i instanceof Date)return new Date(i.getTime());var a=i instanceof Array?[]:{};return s(i,a),a;function s(c,u){for(var d in c){var f=c[d];if(f instanceof Date){var m=new Date(f.getTime());n(u,d,m)}else if(f instanceof Function){var m=f;n(u,d,m)}else if(f instanceof Array){var m=[],y=n(u,d,m);s(f,y)}else if(f instanceof Object){var m={},y=n(u,d,m);s(f,y)}else{var m=f;n(u,d,m)}}}};function n(i,a,s){if(i instanceof Array)return i.push(s),i[i.length-1];if(i instanceof Object)return i[a]=s,i[a]}})})(fd)),fd.exports}var Vx;function O2(){return Vx||(Vx=1,(function(e){function t(M){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(D){return typeof D}:function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D},t(M)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=m(Ln()),i=d2,a=fp(),s=qh,c=a6,u=f(s6()),d=f(M2());function f(M){return M&&M.__esModule?M:{default:M}}function m(M,D){if(typeof WeakMap=="function")var W=new WeakMap,H=new WeakMap;return(m=function(F,_){if(!_&&F&&F.__esModule)return F;var V,B,G={__proto__:null,default:F};if(F===null||t(F)!="object"&&typeof F!="function")return G;if(V=_?H:W){if(V.has(F))return V.get(F);V.set(F,G)}for(var Z in F)Z!=="default"&&{}.hasOwnProperty.call(F,Z)&&((B=(V=Object.defineProperty)&&Object.getOwnPropertyDescriptor(F,Z))&&(B.get||B.set)?V(G,Z,B):G[Z]=F[Z]);return G})(M,D)}function y(){var M=w(),D=M.m(y),W=(Object.getPrototypeOf?Object.getPrototypeOf(D):D.__proto__).constructor;function H(_){var V=typeof _=="function"&&_.constructor;return!!V&&(V===W||(V.displayName||V.name)==="GeneratorFunction")}var q={throw:1,return:2,break:3,continue:3};function F(_){var V,B;return function(G){V||(V={stop:function(){return B(G.a,2)},catch:function(){return G.v},abrupt:function(te,K){return B(G.a,q[te],K)},delegateYield:function(te,K,J){return V.resultName=K,B(G.d,x(te),J)},finish:function(te){return B(G.f,te)}},B=function(te,K,J){G.p=V.prev,G.n=V.next;try{return te(K,J)}finally{V.next=G.n}}),V.resultName&&(V[V.resultName]=G.v,V.resultName=void 0),V.sent=G.v,V.next=G.n;try{return _.call(this,V)}finally{G.p=V.prev,G.n=V.next}}}return(y=function(){return{wrap:function(B,G,Z,te){return M.w(F(B),G,Z,te&&te.reverse())},isGeneratorFunction:H,mark:M.m,awrap:function(B,G){return new R(B,G)},AsyncIterator:k,async:function(B,G,Z,te,K){return(H(G)?b:C)(F(B),G,Z,te,K)},keys:P,values:x}})()}function x(M){if(M!=null){var D=M[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],W=0;if(D)return D.call(M);if(typeof M.next=="function")return M;if(!isNaN(M.length))return{next:function(){return M&&W>=M.length&&(M=void 0),{value:M&&M[W++],done:!M}}}}throw new TypeError(t(M)+" is not iterable")}function P(M){var D=Object(M),W=[];for(var H in D)W.unshift(H);return function q(){for(;W.length;)if((H=W.pop())in D)return q.value=H,q.done=!1,q;return q.done=!0,q}}function C(M,D,W,H,q){var F=b(M,D,W,H,q);return F.next().then(function(_){return _.done?_.value:F.next()})}function b(M,D,W,H,q){return new k(w().w(M,D,W,H),q||Promise)}function k(M,D){function W(q,F,_,V){try{var B=M[q](F),G=B.value;return G instanceof R?D.resolve(G.v).then(function(Z){W("next",Z,_,V)},function(Z){W("throw",Z,_,V)}):D.resolve(G).then(function(Z){B.value=Z,_(B)},function(Z){return W("throw",Z,_,V)})}catch(Z){V(Z)}}var H;this.next||(T(k.prototype),T(k.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),T(this,"_invoke",function(q,F,_){function V(){return new D(function(B,G){W(q,_,B,G)})}return H=H?H.then(V,V):V()},!0)}function w(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var M,D,W=typeof Symbol=="function"?Symbol:{},H=W.iterator||"@@iterator",q=W.toStringTag||"@@toStringTag";function F(J,Q,ie,se){var ue=Q&&Q.prototype instanceof V?Q:V,ge=Object.create(ue.prototype);return T(ge,"_invoke",(function(ce,he,Se){var Ae,He,fe,ve=0,Ne=Se||[],Be=!1,be={p:0,n:0,v:M,a:oe,f:oe.bind(M,4),d:function(Re,pe){return Ae=Re,He=0,fe=M,be.n=pe,_}};function oe(Me,Re){for(He=Me,fe=Re,D=0;!Be&&ve&&!pe&&D<Ne.length;D++){var pe,ye=Ne[D],De=be.p,we=ye[2];Me>3?(pe=we===Re)&&(fe=ye[(He=ye[4])?5:(He=3,3)],ye[4]=ye[5]=M):ye[0]<=De&&((pe=Me<2&&De<ye[1])?(He=0,be.v=Re,be.n=ye[1]):De<we&&(pe=Me<3||ye[0]>Re||Re>we)&&(ye[4]=Me,ye[5]=Re,be.n=we,He=0))}if(pe||Me>1)return _;throw Be=!0,Re}return function(Me,Re,pe){if(ve>1)throw TypeError("Generator is already running");for(Be&&Re===1&&oe(Re,pe),He=Re,fe=pe;(D=He<2?M:fe)||!Be;){Ae||(He?He<3?(He>1&&(be.n=-1),oe(He,fe)):be.n=fe:be.v=fe);try{if(ve=2,Ae){if(He||(Me="next"),D=Ae[Me]){if(!(D=D.call(Ae,fe)))throw TypeError("iterator result is not an object");if(!D.done)return D;fe=D.value,He<2&&(He=0)}else He===1&&(D=Ae.return)&&D.call(Ae),He<2&&(fe=TypeError("The iterator does not provide a '"+Me+"' method"),He=1);Ae=M}else if((D=(Be=be.n<0)?fe:ce.call(he,be))!==_)break}catch(ye){Ae=M,He=1,fe=ye}finally{ve=1}}return{value:D,done:Be}}})(J,ie,se),!0),ge}var _={};function V(){}function B(){}function G(){}D=Object.getPrototypeOf;var Z=[][H]?D(D([][H]())):(T(D={},H,function(){return this}),D),te=G.prototype=V.prototype=Object.create(Z);function K(J){return Object.setPrototypeOf?Object.setPrototypeOf(J,G):(J.__proto__=G,T(J,q,"GeneratorFunction")),J.prototype=Object.create(te),J}return B.prototype=G,T(te,"constructor",G),T(G,"constructor",B),B.displayName="GeneratorFunction",T(G,q,"GeneratorFunction"),T(te),T(te,q,"Generator"),T(te,H,function(){return this}),T(te,"toString",function(){return"[object Generator]"}),(w=function(){return{w:F,m:K}})()}function T(M,D,W,H){var q=Object.defineProperty;try{q({},"",{})}catch{q=0}T=function(_,V,B,G){function Z(te,K){T(_,te,function(J){return this._invoke(te,K,J)})}V?q?q(_,V,{value:B,enumerable:!G,configurable:!G,writable:!G}):_[V]=B:(Z("next",0),Z("throw",1),Z("return",2))},T(M,D,W,H)}function R(M,D){this.v=M,this.k=D}function I(M,D,W,H,q,F,_){try{var V=M[F](_),B=V.value}catch(G){return void W(G)}V.done?D(B):Promise.resolve(B).then(H,q)}function O(M){return function(){var D=this,W=arguments;return new Promise(function(H,q){var F=M.apply(D,W);function _(B){I(F,H,q,_,V,"next",B)}function V(B){I(F,H,q,_,V,"throw",B)}_(void 0)})}}function j(M,D){return L(M)||S(M,D)||N(M,D)||A()}function A(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
301
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function N(M,D){if(M){if(typeof M=="string")return $(M,D);var W={}.toString.call(M).slice(8,-1);return W==="Object"&&M.constructor&&(W=M.constructor.name),W==="Map"||W==="Set"?Array.from(M):W==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(W)?$(M,D):void 0}}function $(M,D){(D==null||D>M.length)&&(D=M.length);for(var W=0,H=Array(D);W<D;W++)H[W]=M[W];return H}function S(M,D){var W=M==null?null:typeof Symbol<"u"&&M[Symbol.iterator]||M["@@iterator"];if(W!=null){var H,q,F,_,V=[],B=!0,G=!1;try{if(F=(W=W.call(M)).next,D===0){if(Object(W)!==W)return;B=!1}else for(;!(B=(H=F.call(W)).done)&&(V.push(H.value),V.length!==D);B=!0);}catch(Z){G=!0,q=Z}finally{try{if(!B&&W.return!=null&&(_=W.return(),Object(_)!==_))return}finally{if(G)throw q}}return V}}function L(M){if(Array.isArray(M))return M}function U(M){var D=M.children,W=(0,n.useState)(!1),H=j(W,2),q=H[0],F=H[1],_=(0,n.useRef)(q),V=function(tt){_.current=tt,F(tt)},B=(0,n.useState)(!1),G=j(B,2),Z=G[0],te=G[1],K=(0,n.useRef)(Z),J=function(tt){K.current=tt,te(tt)},Q=(0,n.useState)({}),ie=j(Q,2),se=ie[0],ue=ie[1],ge=(0,n.useRef)(se),ce=function(tt){ge.current=tt,ue(tt)},he=(0,n.useState)({bookCode:"TIT",chapterNum:1,verseNum:1}),Se=j(he,2),Ae=Se[0],He=Se[1],fe=(0,n.useRef)(Ae),ve=function(tt){fe.current=tt,He(tt)},Ne=(0,n.useState)({}),Be=j(Ne,2),be=Be[0],oe=Be[1],Me=(0,n.useRef)(be),Re=function(tt){Me.current=tt,oe(tt)},pe=(0,n.useState)({font_set:"Pankosmia-CardoPankosmia-EzraSILPankosmia-PadaukPankosmia-AwamiNastaliqPankosmia-NotoNastaliqUrduPankosmia-GentiumPlus",size:"medium",direction:"ltr"}),ye=j(pe,2),De=ye[0],we=ye[1],je=(0,n.useRef)(De),Pe=function(tt){je.current=tt,we(tt)},Fe=(0,n.useState)(null),ot=j(Fe,2),Ke=ot[0],ht=ot[1],Ve=(0,n.useRef)(Ke),it=function(tt){Ve.current=tt,ht(tt)},Et=(function(){var vt=O(y().mark(function tt(){var nt;return y().wrap(function(ut){for(;;)switch(ut.prev=ut.next){case 0:return ut.next=2,(0,a.getJson)("/i18n/flat",K.current);case 2:nt=ut.sent,nt.ok?Re(nt.json):(0,s.enqueueSnackbar)("Could not load i18n: ".concat(nt.error),{variant:"error",anchorOrigin:{vertical:"bottom",horizontal:"left"},persist:!0});case 4:case"end":return ut.stop()}},tt)}));return function(){return vt.apply(this,arguments)}})(),Ht=(function(){var vt=O(y().mark(function tt(){var nt;return y().wrap(function(ut){for(;;)switch(ut.prev=ut.next){case 0:return ut.next=2,(0,a.getJson)("/settings/typography",K.current);case 2:nt=ut.sent,nt.ok?Re(nt.json):(0,s.enqueueSnackbar)("Could not load typography: ".concat(nt.error),{variant:"error",anchorOrigin:{vertical:"bottom",horizontal:"left"},persist:!0});case 4:case"end":return ut.stop()}},tt)}));return function(){return vt.apply(this,arguments)}})();(0,n.useEffect)(function(){Et().then(),Ht().then()},[]),(0,n.useEffect)(function(){var vt=(function(){var tt=O(y().mark(function nt(){var yt,ut;return y().wrap(function(nn){for(;;)switch(nn.prev=nn.next){case 0:return nn.next=2,(0,a.getJson)("/navigation/bcv",K.current);case 2:yt=nn.sent,yt.ok?(ut=yt.json,ve({bookCode:ut.book_code,chapterNum:ut.chapter,verseNum:ut.verse})):(0,s.enqueueSnackbar)("Could not load bcv: ".concat(yt.error),{variant:"error",anchorOrigin:{vertical:"bottom",horizontal:"left"},persist:!0});case 4:case"end":return nn.stop()}},nt)}));return function(){return tt.apply(this,arguments)}})();vt().then()},[]);var an=function(tt){var nt=tt.data.split("--");if(nt.length===4){var yt=nt[1]==="enabled";yt!==_.current&&V(yt);var ut=nt[3]==="enabled";ut!==K.current&&J(ut)}},Jt=function(tt){var nt=tt.data.split("--");if(nt.length===3){var yt={bookCode:nt[0],chapterNum:parseInt(nt[1]),verseNum:parseInt(nt[2])};(yt.bookCode!==fe.current.bookCode||yt.chapterNum!==fe.current.chapterNum||yt.verseNum!==fe.current.verseNum)&&ve(yt)}},gn=function(tt){var nt=tt.data.split("--");if(nt.length===3){var yt={font_set:nt[0],size:nt[1],direction:nt[2]};(yt.font_set!==je.current.font_set||yt.size!==je.current.size||yt.direction!==je.current.direction)&&Pe(yt)}},ft=function(){Et().then()},Mt=function(tt){try{var nt=(0,d.default)(ge.current),yt=tt.data.split("--"),ut=j(yt,3),Nt=ut[0],nn=ut[1],Rt=ut[2];if(["true","false"].includes(Rt)){var Te=Rt==="true";(!(Nt in nt)||!("isActive"in nt[Nt])||Te!==nt[Nt].isActive)&&(nt[Nt]={endpoint:nn,isActive:Te},ce(nt))}}catch(Ce){console.log("Auth Error: ".concat(Ce,", data: ").concat(tt.data))}},sn=function(tt){if(tt.data===null)Ve.current!==null&&it(null);else{var nt=tt.data.split("--");if(nt.length===3){var yt={source:nt[0],organization:nt[1],project:nt[2]};(!Ve.current||yt.source!==Ve.current.source||yt.organization!==Ve.current.organization||yt.project!==Ve.current.project)&&it(yt)}else it(null)}},Mn=function(tt){var nt=tt.data.split("--");nt.length===4&&(0,s.enqueueSnackbar)("".concat(nt[2]," => ").concat(nt[3]),{variant:nt[0],anchorOrigin:{vertical:"bottom",horizontal:"left"},persist:nt[0]==="error"})};(0,n.useEffect)(function(){var vt=new AbortController,tt=(function(){var nt=O(y().mark(function yt(){return y().wrap(function(Nt){for(;;)switch(Nt.prev=Nt.next){case 0:return Nt.next=2,(0,c.fetchEventSource)("/notifications",{method:"GET",headers:{Accept:"text/event-stream"},onopen:function(Rt){Rt.ok&&Rt.status===200||Rt.status>=400&&Rt.status<500&&Rt.status!==429&&console.log("Error from SSE",Rt.status)},onmessage:function(Rt){Rt.event==="misc"?Mn(Rt):Rt.event==="status"?an(Rt):Rt.event==="bcv"?Jt(Rt):Rt.event==="auth"?Mt(Rt):Rt.event==="languages"?ft():Rt.event==="typography"?gn(Rt):Rt.event==="current_project"&&sn(Rt)},onclose:function(){console.log("SSE connection closed by the server")},onerror:function(Rt){console.log("There was an error from the SSE server",Rt)}});case 2:case"end":return Nt.stop()}},yt)}));return function(){return nt.apply(this,arguments)}})();return tt(),function(){return vt.abort()}},[]);var ln={enableNet:q,setEnableNet:V,enabledRef:_},at={debug:Z,setDebug:J,debugRef:K},cn={systemBcv:Ae,setSystemBcv:ve,bcvRef:fe},Ge={auth:se,setAuth:ce,authRef:ge},qe={i18n:be,setI18n:Re,i18nRef:Me},mt={typography:De,setTypography:Pe,typographyRef:je},pt={currentProject:Ke,setCurrentProject:it,currentProjectRef:Ve};K.current&&console.log("Rerender Spa");var Ot=(0,i.styled)(s.MaterialDesignContent)(function(){return{"&.notistack-MuiContent-error":{backgroundColor:"#FDEDED",color:"#D32F2F"},"&.notistack-MuiContent-info":{backgroundColor:"#E5F6FD",color:"#0288D1"},"&.notistack-MuiContent-warning":{backgroundColor:"#FFF4E5",color:"#EF6C00"},"&.notistack-MuiContent-success":{backgroundColor:"#EDF7ED",color:"#2E7D32"}}});return n.default.createElement(s.SnackbarProvider,{Components:{error:Ot,info:Ot,warning:Ot,success:Ot},maxSnack:6},n.default.createElement(u.default,{netValue:ln,debugValue:at,i18nValue:qe,bcvValue:cn,authValue:Ge,typographyValue:mt,currentProjectValue:pt},D))}e.default=U})(Em)),Em}var Um={},Vm={},Gx;function A2(){return Gx||(Gx=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(Ln()),n=qh,i=a(O2());function a(c){return c&&c.__esModule?c:{default:c}}function s(c){var u=c.children;return t.default.createElement(n.SnackbarProvider,{maxSnack:3},t.default.createElement(i.default,null,u))}e.default=s})(Vm)),Vm}var Gm={},bl={},qm={exports:{}},qx;function ks(){return qx||(qx=1,(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(qm)),qm.exports}var Km={};const c6=oc(Y$);var Kx;function Rs(){return Kx||(Kx=1,(function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=c6})(Km)),Km}var Yx;function u6(){if(Yx)return bl;Yx=1;var e=ks().default;Object.defineProperty(bl,"__esModule",{value:!0}),bl.default=void 0;var t=e(Rs()),n=ga();return bl.default=(0,t.default)((0,n.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2M4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12m8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8"}),"BlockOutlined"),bl}var xl={},Xx;function vp(){return Xx||(Xx=1,Object.defineProperty(xl,"__esModule",{value:!0}),xl.doI18n=void 0,xl.doI18n=function(t,n){return n[t]||t}),xl}var Ym={},Sl={},Qx;function d6(){if(Qx)return Sl;Qx=1;var e=ks().default;Object.defineProperty(Sl,"__esModule",{value:!0}),Sl.default=void 0;var t=e(Rs()),n=ga();return Sl.default=(0,t.default)((0,n.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu"),Sl}var Cl={},Jx;function p6(){if(Jx)return Cl;Jx=1;var e=ks().default;Object.defineProperty(Cl,"__esModule",{value:!0}),Cl.default=void 0;var t=e(Rs()),n=ga();return Cl.default=(0,t.default)((0,n.jsx)("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess"),Cl}var wl={},Zx;function f6(){if(Zx)return wl;Zx=1;var e=ks().default;Object.defineProperty(wl,"__esModule",{value:!0}),wl.default=void 0;var t=e(Rs()),n=ga();return wl.default=(0,t.default)((0,n.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore"),wl}var Ka={},e1;function j2(){if(e1)return Ka;e1=1;function e(T){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},e(T)}Object.defineProperty(Ka,"__esModule",{value:!0}),Ka.postEmptyJson=x,Ka.postJson=C,Ka.postText=k;function t(){var T=u(),R=T.m(t),I=(Object.getPrototypeOf?Object.getPrototypeOf(R):R.__proto__).constructor;function O(N){var $=typeof N=="function"&&N.constructor;return!!$&&($===I||($.displayName||$.name)==="GeneratorFunction")}var j={throw:1,return:2,break:3,continue:3};function A(N){var $,S;return function(L){$||($={stop:function(){return S(L.a,2)},catch:function(){return L.v},abrupt:function(M,D){return S(L.a,j[M],D)},delegateYield:function(M,D,W){return $.resultName=D,S(L.d,n(M),W)},finish:function(M){return S(L.f,M)}},S=function(M,D,W){L.p=$.prev,L.n=$.next;try{return M(D,W)}finally{$.next=L.n}}),$.resultName&&($[$.resultName]=L.v,$.resultName=void 0),$.sent=L.v,$.next=L.n;try{return N.call(this,$)}finally{L.p=$.prev,L.n=$.next}}}return(t=function(){return{wrap:function(S,L,U,M){return T.w(A(S),L,U,M&&M.reverse())},isGeneratorFunction:O,mark:T.m,awrap:function(S,L){return new f(S,L)},AsyncIterator:c,async:function(S,L,U,M,D){return(O(L)?s:a)(A(S),L,U,M,D)},keys:i,values:n}})()}function n(T){if(T!=null){var R=T[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],I=0;if(R)return R.call(T);if(typeof T.next=="function")return T;if(!isNaN(T.length))return{next:function(){return T&&I>=T.length&&(T=void 0),{value:T&&T[I++],done:!T}}}}throw new TypeError(e(T)+" is not iterable")}function i(T){var R=Object(T),I=[];for(var O in R)I.unshift(O);return function j(){for(;I.length;)if((O=I.pop())in R)return j.value=O,j.done=!1,j;return j.done=!0,j}}function a(T,R,I,O,j){var A=s(T,R,I,O,j);return A.next().then(function(N){return N.done?N.value:A.next()})}function s(T,R,I,O,j){return new c(u().w(T,R,I,O),j||Promise)}function c(T,R){function I(j,A,N,$){try{var S=T[j](A),L=S.value;return L instanceof f?R.resolve(L.v).then(function(U){I("next",U,N,$)},function(U){I("throw",U,N,$)}):R.resolve(L).then(function(U){S.value=U,N(S)},function(U){return I("throw",U,N,$)})}catch(U){$(U)}}var O;this.next||(d(c.prototype),d(c.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),d(this,"_invoke",function(j,A,N){function $(){return new R(function(S,L){I(j,N,S,L)})}return O=O?O.then($,$):$()},!0)}function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var T,R,I=typeof Symbol=="function"?Symbol:{},O=I.iterator||"@@iterator",j=I.toStringTag||"@@toStringTag";function A(W,H,q,F){var _=H&&H.prototype instanceof $?H:$,V=Object.create(_.prototype);return d(V,"_invoke",(function(B,G,Z){var te,K,J,Q=0,ie=Z||[],se=!1,ue={p:0,n:0,v:T,a:ge,f:ge.bind(T,4),d:function(he,Se){return te=he,K=0,J=T,ue.n=Se,N}};function ge(ce,he){for(K=ce,J=he,R=0;!se&&Q&&!Se&&R<ie.length;R++){var Se,Ae=ie[R],He=ue.p,fe=Ae[2];ce>3?(Se=fe===he)&&(J=Ae[(K=Ae[4])?5:(K=3,3)],Ae[4]=Ae[5]=T):Ae[0]<=He&&((Se=ce<2&&He<Ae[1])?(K=0,ue.v=he,ue.n=Ae[1]):He<fe&&(Se=ce<3||Ae[0]>he||he>fe)&&(Ae[4]=ce,Ae[5]=he,ue.n=fe,K=0))}if(Se||ce>1)return N;throw se=!0,he}return function(ce,he,Se){if(Q>1)throw TypeError("Generator is already running");for(se&&he===1&&ge(he,Se),K=he,J=Se;(R=K<2?T:J)||!se;){te||(K?K<3?(K>1&&(ue.n=-1),ge(K,J)):ue.n=J:ue.v=J);try{if(Q=2,te){if(K||(ce="next"),R=te[ce]){if(!(R=R.call(te,J)))throw TypeError("iterator result is not an object");if(!R.done)return R;J=R.value,K<2&&(K=0)}else K===1&&(R=te.return)&&R.call(te),K<2&&(J=TypeError("The iterator does not provide a '"+ce+"' method"),K=1);te=T}else if((R=(se=ue.n<0)?J:B.call(G,ue))!==N)break}catch(Ae){te=T,K=1,J=Ae}finally{Q=1}}return{value:R,done:se}}})(W,q,F),!0),V}var N={};function $(){}function S(){}function L(){}R=Object.getPrototypeOf;var U=[][O]?R(R([][O]())):(d(R={},O,function(){return this}),R),M=L.prototype=$.prototype=Object.create(U);function D(W){return Object.setPrototypeOf?Object.setPrototypeOf(W,L):(W.__proto__=L,d(W,j,"GeneratorFunction")),W.prototype=Object.create(M),W}return S.prototype=L,d(M,"constructor",L),d(L,"constructor",S),S.displayName="GeneratorFunction",d(L,j,"GeneratorFunction"),d(M),d(M,j,"Generator"),d(M,O,function(){return this}),d(M,"toString",function(){return"[object Generator]"}),(u=function(){return{w:A,m:D}})()}function d(T,R,I,O){var j=Object.defineProperty;try{j({},"",{})}catch{j=0}d=function(N,$,S,L){function U(M,D){d(N,M,function(W){return this._invoke(M,D,W)})}$?j?j(N,$,{value:S,enumerable:!L,configurable:!L,writable:!L}):N[$]=S:(U("next",0),U("throw",1),U("return",2))},d(T,R,I,O)}function f(T,R){this.v=T,this.k=R}function m(T,R,I,O,j,A,N){try{var $=T[A](N),S=$.value}catch(L){return void I(L)}$.done?R(S):Promise.resolve(S).then(O,j)}function y(T){return function(){var R=this,I=arguments;return new Promise(function(O,j){var A=T.apply(R,I);function N(S){m(A,O,j,N,$,"next",S)}function $(S){m(A,O,j,N,$,"throw",S)}N(void 0)})}}function x(T){return P.apply(this,arguments)}function P(){return P=y(t().mark(function T(R){var I,O,j,A,N,$=arguments;return t().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return I=$.length>1&&$[1]!==void 0?$[1]:!1,L.prev=1,L.next=4,fetch(R,{method:"POST"});case 4:if(O=L.sent,O.ok){L.next=14;break}return L.t0=R,L.t1=O.status,L.next=10,O.text();case 10:return L.t2=L.sent,j={url:L.t0,ok:!1,status:L.t1,error:L.t2},I&&console.log("postEmptyJson",j),L.abrupt("return",j);case 14:return L.t3=R,L.t4=O.status,L.next=18,O.json();case 18:return L.t5=L.sent,A={url:L.t3,ok:!0,status:L.t4,json:L.t5},I&&console.log("postEmptyJson",A),L.abrupt("return",A);case 24:return L.prev=24,L.t6=L.catch(1),N={url:R,ok:!1,status:0,error:L.t6.message},I&&console.log("postEmptyJson",N),L.abrupt("return",N);case 29:case"end":return L.stop()}},T,null,[[1,24]])})),P.apply(this,arguments)}function C(T,R){return b.apply(this,arguments)}function b(){return b=y(t().mark(function T(R,I){var O,j,A,N,$,S,L=arguments;return t().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return O=L.length>2&&L[2]!==void 0?L[2]:!1,j=L.length>3&&L[3]!==void 0?L[3]:"application/json",M.prev=2,M.next=5,fetch(R,{method:"POST",headers:{"Content-Type":j},body:I});case 5:if(A=M.sent,A.ok){M.next=15;break}return M.t0=R,M.t1=A.status,M.next=11,A.text();case 11:return M.t2=M.sent,N={url:M.t0,ok:!1,status:M.t1,error:M.t2},O&&console.log("postJson",N),M.abrupt("return",N);case 15:return M.t3=R,M.t4=A.status,M.next=19,A.json();case 19:return M.t5=M.sent,$={url:M.t3,ok:!0,status:M.t4,json:M.t5},O&&console.log("postJson",$),M.abrupt("return",$);case 25:return M.prev=25,M.t6=M.catch(2),S={url:R,ok:!1,status:0,error:M.t6.message},O&&console.log("postJson",S),M.abrupt("return",S);case 30:case"end":return M.stop()}},T,null,[[2,25]])})),b.apply(this,arguments)}function k(T,R){return w.apply(this,arguments)}function w(){return w=y(t().mark(function T(R,I){var O,j,A,N,$,S,L=arguments;return t().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return O=L.length>2&&L[2]!==void 0?L[2]:!1,j=L.length>3&&L[3]!==void 0?L[3]:"text/plain",M.prev=2,M.next=5,fetch(R,{method:"POST",headers:{"Content-Type":j},body:I});case 5:if(A=M.sent,A.ok){M.next=15;break}return M.t0=R,M.t1=A.status,M.next=11,A.text();case 11:return M.t2=M.sent,N={url:M.t0,ok:!1,status:M.t1,error:M.t2},O&&console.log("postText",N),M.abrupt("return",N);case 15:return M.t3=R,M.t4=A.status,M.next=19,A.text();case 19:return M.t5=M.sent,$={url:M.t3,ok:!0,status:M.t4,text:M.t5},O&&console.log("postText",$),M.abrupt("return",$);case 25:return M.prev=25,M.t6=M.catch(2),S={url:R,ok:!1,status:0,error:M.t6.message},O&&console.log("postText",S),M.abrupt("return",S);case 30:case"end":return M.stop()}},T,null,[[2,25]])})),w.apply(this,arguments)}return Ka}var Xm={},kl={},t1;function m6(){if(t1)return kl;t1=1;var e=ks().default;Object.defineProperty(kl,"__esModule",{value:!0}),kl.default=void 0;var t=e(Rs()),n=ga();return kl.default=(0,t.default)((0,n.jsx)("path",{d:"M10.5 7.67V3.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5V9l8.5 5v2l-4.49-1.32zm9.28 14.94 1.41-1.41-7.69-7.7-3.94-3.94-6.75-6.75-1.42 1.41 6.38 6.38L2 14v2l8.5-2.5V19L8 20.5V22l4-1 4 1v-1.5L13.5 19v-2.67z"}),"AirplanemodeInactiveOutlined"),kl}var Rl={},n1;function g6(){if(n1)return Rl;n1=1;var e=ks().default;Object.defineProperty(Rl,"__esModule",{value:!0}),Rl.default=void 0;var t=e(Rs()),n=ga();return Rl.default=(0,t.default)((0,n.jsx)("path",{d:"M22 16v-2l-8.5-5V3.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5V9L2 14v2l8.5-2.5V19L8 20.5V22l4-1 4 1v-1.5L13.5 19v-5.5z"}),"AirplanemodeActiveOutlined"),Rl}var r1;function h6(){return r1||(r1=1,(function(e){function t(x){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(P){return typeof P}:function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},t(x)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=y;var n=m(Ln()),i=hp,a=f(m6()),s=f(g6()),c=f(Sc()),u=f(xc()),d=vp();function f(x){return x&&x.__esModule?x:{default:x}}function m(x,P){if(typeof WeakMap=="function")var C=new WeakMap,b=new WeakMap;return(m=function(w,T){if(!T&&w&&w.__esModule)return w;var R,I,O={__proto__:null,default:w};if(w===null||t(w)!="object"&&typeof w!="function")return O;if(R=T?b:C){if(R.has(w))return R.get(w);R.set(w,O)}for(var j in w)j!=="default"&&{}.hasOwnProperty.call(w,j)&&((I=(R=Object.defineProperty)&&Object.getOwnPropertyDescriptor(w,j))&&(I.get||I.set)?R(O,j,I):O[j]=w[j]);return O})(x,P)}function y(x){var P=x.enableInternet,C=x.handleInternetToggleClick,b=x.internetDialogOpen,k=x.setInternetDialogOpen,w=(0,n.useContext)(c.default),T=w.i18nRef,R=(0,n.useContext)(u.default),I=R.enabledRef,O=function(){k(!1)};return n.default.createElement(i.Box,null,n.default.createElement(i.Chip,{icon:I.current?n.default.createElement(a.default,null):n.default.createElement(s.default,null),label:(0,d.doI18n)("components:header:offline_mode",T.current),onClick:C,color:I.current?"appbar-chip-inactive":"secondary",variant:"Filled"}),n.default.createElement(i.Dialog,{open:b,onClose:O,slotProps:{paper:{component:"form"}}},n.default.createElement(i.DialogTitle,null,n.default.createElement("b",null,(0,d.doI18n)("components:header:internet_question_label",T.current))),n.default.createElement(i.DialogContent,null,n.default.createElement(i.DialogContentText,null,n.default.createElement(i.Typography,null,(0,d.doI18n)("components:header:internet_question",T.current)))),n.default.createElement(i.DialogActions,null,n.default.createElement(i.Button,{onClick:O},(0,d.doI18n)("components:header:cancel",T.current)),n.default.createElement(i.Button,{onClick:function(){P(),O()}},(0,d.doI18n)("components:header:accept",T.current)))))}})(Xm)),Xm}var o1;function L2(){return o1||(o1=1,(function(e){function t(F){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(_){return typeof _}:function(_){return _&&typeof Symbol=="function"&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _},t(F)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=b(Ln()),i=C(xc()),a=C(Kh()),s=C(Sc()),c=hp,u=C(d6()),d=vp(),f=C(p6()),m=C(f6()),y=fp(),x=j2(),P=C(h6());function C(F){return F&&F.__esModule?F:{default:F}}function b(F,_){if(typeof WeakMap=="function")var V=new WeakMap,B=new WeakMap;return(b=function(Z,te){if(!te&&Z&&Z.__esModule)return Z;var K,J,Q={__proto__:null,default:Z};if(Z===null||t(Z)!="object"&&typeof Z!="function")return Q;if(K=te?B:V){if(K.has(Z))return K.get(Z);K.set(Z,Q)}for(var ie in Z)ie!=="default"&&{}.hasOwnProperty.call(Z,ie)&&((J=(K=Object.defineProperty)&&Object.getOwnPropertyDescriptor(Z,ie))&&(J.get||J.set)?K(Q,ie,J):Q[ie]=Z[ie]);return Q})(F,_)}function k(){var F=j(),_=F.m(k),V=(Object.getPrototypeOf?Object.getPrototypeOf(_):_.__proto__).constructor;function B(te){var K=typeof te=="function"&&te.constructor;return!!K&&(K===V||(K.displayName||K.name)==="GeneratorFunction")}var G={throw:1,return:2,break:3,continue:3};function Z(te){var K,J;return function(Q){K||(K={stop:function(){return J(Q.a,2)},catch:function(){return Q.v},abrupt:function(se,ue){return J(Q.a,G[se],ue)},delegateYield:function(se,ue,ge){return K.resultName=ue,J(Q.d,w(se),ge)},finish:function(se){return J(Q.f,se)}},J=function(se,ue,ge){Q.p=K.prev,Q.n=K.next;try{return se(ue,ge)}finally{K.next=Q.n}}),K.resultName&&(K[K.resultName]=Q.v,K.resultName=void 0),K.sent=Q.v,K.next=Q.n;try{return te.call(this,K)}finally{Q.p=K.prev,Q.n=K.next}}}return(k=function(){return{wrap:function(J,Q,ie,se){return F.w(Z(J),Q,ie,se&&se.reverse())},isGeneratorFunction:B,mark:F.m,awrap:function(J,Q){return new N(J,Q)},AsyncIterator:O,async:function(J,Q,ie,se,ue){return(B(Q)?I:R)(Z(J),Q,ie,se,ue)},keys:T,values:w}})()}function w(F){if(F!=null){var _=F[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],V=0;if(_)return _.call(F);if(typeof F.next=="function")return F;if(!isNaN(F.length))return{next:function(){return F&&V>=F.length&&(F=void 0),{value:F&&F[V++],done:!F}}}}throw new TypeError(t(F)+" is not iterable")}function T(F){var _=Object(F),V=[];for(var B in _)V.unshift(B);return function G(){for(;V.length;)if((B=V.pop())in _)return G.value=B,G.done=!1,G;return G.done=!0,G}}function R(F,_,V,B,G){var Z=I(F,_,V,B,G);return Z.next().then(function(te){return te.done?te.value:Z.next()})}function I(F,_,V,B,G){return new O(j().w(F,_,V,B),G||Promise)}function O(F,_){function V(G,Z,te,K){try{var J=F[G](Z),Q=J.value;return Q instanceof N?_.resolve(Q.v).then(function(ie){V("next",ie,te,K)},function(ie){V("throw",ie,te,K)}):_.resolve(Q).then(function(ie){J.value=ie,te(J)},function(ie){return V("throw",ie,te,K)})}catch(ie){K(ie)}}var B;this.next||(A(O.prototype),A(O.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),A(this,"_invoke",function(G,Z,te){function K(){return new _(function(J,Q){V(G,te,J,Q)})}return B=B?B.then(K,K):K()},!0)}function j(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var F,_,V=typeof Symbol=="function"?Symbol:{},B=V.iterator||"@@iterator",G=V.toStringTag||"@@toStringTag";function Z(ge,ce,he,Se){var Ae=ce&&ce.prototype instanceof K?ce:K,He=Object.create(Ae.prototype);return A(He,"_invoke",(function(fe,ve,Ne){var Be,be,oe,Me=0,Re=Ne||[],pe=!1,ye={p:0,n:0,v:F,a:De,f:De.bind(F,4),d:function(je,Pe){return Be=je,be=0,oe=F,ye.n=Pe,te}};function De(we,je){for(be=we,oe=je,_=0;!pe&&Me&&!Pe&&_<Re.length;_++){var Pe,Fe=Re[_],ot=ye.p,Ke=Fe[2];we>3?(Pe=Ke===je)&&(oe=Fe[(be=Fe[4])?5:(be=3,3)],Fe[4]=Fe[5]=F):Fe[0]<=ot&&((Pe=we<2&&ot<Fe[1])?(be=0,ye.v=je,ye.n=Fe[1]):ot<Ke&&(Pe=we<3||Fe[0]>je||je>Ke)&&(Fe[4]=we,Fe[5]=je,ye.n=Ke,be=0))}if(Pe||we>1)return te;throw pe=!0,je}return function(we,je,Pe){if(Me>1)throw TypeError("Generator is already running");for(pe&&je===1&&De(je,Pe),be=je,oe=Pe;(_=be<2?F:oe)||!pe;){Be||(be?be<3?(be>1&&(ye.n=-1),De(be,oe)):ye.n=oe:ye.v=oe);try{if(Me=2,Be){if(be||(we="next"),_=Be[we]){if(!(_=_.call(Be,oe)))throw TypeError("iterator result is not an object");if(!_.done)return _;oe=_.value,be<2&&(be=0)}else be===1&&(_=Be.return)&&_.call(Be),be<2&&(oe=TypeError("The iterator does not provide a '"+we+"' method"),be=1);Be=F}else if((_=(pe=ye.n<0)?oe:fe.call(ve,ye))!==te)break}catch(Fe){Be=F,be=1,oe=Fe}finally{Me=1}}return{value:_,done:pe}}})(ge,he,Se),!0),He}var te={};function K(){}function J(){}function Q(){}_=Object.getPrototypeOf;var ie=[][B]?_(_([][B]())):(A(_={},B,function(){return this}),_),se=Q.prototype=K.prototype=Object.create(ie);function ue(ge){return Object.setPrototypeOf?Object.setPrototypeOf(ge,Q):(ge.__proto__=Q,A(ge,G,"GeneratorFunction")),ge.prototype=Object.create(se),ge}return J.prototype=Q,A(se,"constructor",Q),A(Q,"constructor",J),J.displayName="GeneratorFunction",A(Q,G,"GeneratorFunction"),A(se),A(se,G,"Generator"),A(se,B,function(){return this}),A(se,"toString",function(){return"[object Generator]"}),(j=function(){return{w:Z,m:ue}})()}function A(F,_,V,B){var G=Object.defineProperty;try{G({},"",{})}catch{G=0}A=function(te,K,J,Q){function ie(se,ue){A(te,se,function(ge){return this._invoke(se,ue,ge)})}K?G?G(te,K,{value:J,enumerable:!Q,configurable:!Q,writable:!Q}):te[K]=J:(ie("next",0),ie("throw",1),ie("return",2))},A(F,_,V,B)}function N(F,_){this.v=F,this.k=_}function $(F,_,V,B,G,Z,te){try{var K=F[Z](te),J=K.value}catch(Q){return void V(Q)}K.done?_(J):Promise.resolve(J).then(B,G)}function S(F){return function(){var _=this,V=arguments;return new Promise(function(B,G){var Z=F.apply(_,V);function te(J){$(Z,B,G,te,K,"next",J)}function K(J){$(Z,B,G,te,K,"throw",J)}te(void 0)})}}function L(F,_){return H(F)||W(F,_)||M(F,_)||U()}function U(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
302
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function M(F,_){if(F){if(typeof F=="string")return D(F,_);var V={}.toString.call(F).slice(8,-1);return V==="Object"&&F.constructor&&(V=F.constructor.name),V==="Map"||V==="Set"?Array.from(F):V==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(V)?D(F,_):void 0}}function D(F,_){(_==null||_>F.length)&&(_=F.length);for(var V=0,B=Array(_);V<_;V++)B[V]=F[V];return B}function W(F,_){var V=F==null?null:typeof Symbol<"u"&&F[Symbol.iterator]||F["@@iterator"];if(V!=null){var B,G,Z,te,K=[],J=!0,Q=!1;try{if(Z=(V=V.call(F)).next,_!==0)for(;!(J=(B=Z.call(V)).done)&&(K.push(B.value),K.length!==_);J=!0);}catch(ie){Q=!0,G=ie}finally{try{if(!J&&V.return!=null&&(te=V.return(),Object(te)!==te))return}finally{if(Q)throw G}}return K}}function H(F){if(Array.isArray(F))return F}function q(F){var _=F.titleKey,V=F.widget,B=F.currentId,G=(0,n.useContext)(i.default),Z=G.enabledRef,te=(0,n.useContext)(a.default),K=te.debugRef,J=(0,n.useContext)(s.default),Q=J.i18nRef,ie=(0,n.useState)(!1),se=L(ie,2),ue=se[0],ge=se[1],ce=(0,n.useState)([]),he=L(ce,2),Se=he[0],Ae=he[1],He=(0,n.useState)(!0),fe=L(He,2),ve=fe[0],Ne=fe[1],Be=(0,n.useState)(!1),be=L(Be,2),oe=be[0],Me=be[1];(0,n.useEffect)(function(){var we=(0,d.doI18n)("branding:software:name",Q.current),je=(0,d.doI18n)(_,Q.current);document.title="".concat(je," - ").concat(we)}),(0,n.useEffect)(function(){var we=(function(){var je=S(k().mark(function Pe(){var Fe;return k().wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:return Ke.next=2,(0,y.getJson)("/list-clients",K.current);case 2:Fe=Ke.sent,Fe.ok&&Ae(Fe.json.filter(function(ht){return!ht.exclude_from_menu&&(K.current||!ht.requires.debug)}));case 4:case"end":return Ke.stop()}},Pe)}));return function(){return je.apply(this,arguments)}})();we().then()},[K.current]),Se.filter(function(we){return we.id===B}).length===1&&Se.filter(function(we){return we.id===B})[0].url;var Re=function(){(0,x.postEmptyJson)("/net/disable",K.current)},pe=function(){(0,x.postEmptyJson)("/net/enable",K.current)},ye=function(je){(0,y.getJson)("/debug/".concat(K.current?"disable":"enable")).then(function(){je.stopPropagation(),je.preventDefault()})},De=function(){Z.current?Re():Me(!0)};return n.default.createElement(c.Box,{display:"flex-start",sx:{flexGrow:1,m:0,p:0}},n.default.createElement(c.AppBar,{position:"static",sx:{m:0,p:0}},n.default.createElement(c.Toolbar,{variant:"dense",sx:{m:0,p:0}},n.default.createElement(c.Box,{sx:{m:0,mr:2}},n.default.createElement(c.IconButton,{onClick:function(je){return ge(!0)}},n.default.createElement(u.default,{sx:{color:"#FFF"}})),n.default.createElement(c.Drawer,{open:ue,onClose:function(){return ge(!1)}},n.default.createElement(c.Box,{sx:{width:"100%",minHeight:"98vh",m:0,p:0},role:"presentation"},n.default.createElement(c.List,{sx:{height:"100%",width:"100%"}},n.default.createElement(c.Stack,{direction:"column",spacing:0,sx:{height:"100%",width:"100%",justifyContent:"space-between",alignItems:"flex-start"}},n.default.createElement(c.Box,{sx:{width:"100%"}},Se.map(function(we,je){return we.id===B?n.default.createElement(c.ListItem,{key:je,disablePadding:!0,onClick:function(){return ge(!1)}},n.default.createElement(c.ListItemButton,{selected:!0},n.default.createElement(c.ListItemText,{primary:(0,d.doI18n)("pages:".concat(we.id,":title"),Q.current)}))):n.default.createElement(c.ListItem,{key:je,disablePadding:!0},n.default.createElement(c.ListItemButton,{disabled:we.requires.net&&!Z.current,onClick:function(){window.location.href=we.url}},n.default.createElement(c.ListItemText,{primary:(0,d.doI18n)("pages:".concat(we.id,":title"),Q.current)})))})),n.default.createElement(c.Box,null,n.default.createElement(c.ListItem,{disablePadding:!0},n.default.createElement(c.ListItemButton,{selected:B.includes("settings"),onClick:function(){window.location.href="/clients/settings"}},n.default.createElement(c.ListItemText,{primary:(0,d.doI18n)("pages:core-settings:title",Q.current)}))),n.default.createElement(c.ListItem,{disablePadding:!0},n.default.createElement(c.ListItemButton,{onClick:function(){return Ne(function(je){return!je})}},n.default.createElement(c.ListItemText,{primary:(0,d.doI18n)("components:header:advanced",Q.current)}),ve?n.default.createElement(f.default,null):n.default.createElement(m.default,null))),n.default.createElement(c.Collapse,{in:ve,timeout:"auto",unmountOnExit:!0},n.default.createElement(c.List,{component:"div",disablePadding:!0},n.default.createElement(c.ListItemButton,{onClick:ye,sx:{pl:4}},n.default.createElement(c.ListItemText,{primary:(0,d.doI18n)("components:header:experimental_mode",Q.current)}),n.default.createElement(c.Switch,{edge:"end",onChange:ye,checked:K.current})))))))))),_&&_.length>0&&n.default.createElement(c.Typography,{variant:"h6",sx:{m:0,p:0}},(0,d.doI18n)(_,Q.current)),n.default.createElement(c.Box,{sx:{flexGrow:1,m:0,p:0}},V),n.default.createElement(c.Box,{sx:{m:0,p:0}},n.default.createElement(P.default,{enableInternet:pe,handleInternetToggleClick:De,internetDialogOpen:oe,setInternetDialogOpen:Me})))))}e.default=q})(Ym)),Ym}var i1;function N2(){return i1||(i1=1,(function(e){function t(x){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(P){return typeof P}:function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},t(x)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=m(Ln()),i=hp,a=f(u6()),s=vp(),c=f(L2()),u=f(xc()),d=f(Sc());function f(x){return x&&x.__esModule?x:{default:x}}function m(x,P){if(typeof WeakMap=="function")var C=new WeakMap,b=new WeakMap;return(m=function(w,T){if(!T&&w&&w.__esModule)return w;var R,I,O={__proto__:null,default:w};if(w===null||t(w)!="object"&&typeof w!="function")return O;if(R=T?b:C){if(R.has(w))return R.get(w);R.set(w,O)}for(var j in w)j!=="default"&&{}.hasOwnProperty.call(w,j)&&((I=(R=Object.defineProperty)&&Object.getOwnPropertyDescriptor(w,j))&&(I.get||I.set)?R(O,j,I):O[j]=w[j]);return O})(x,P)}function y(x){var P=x.titleKey,C=x.widget,b=x.margin,k=b===void 0?0:b,w=x.children,T=x.requireNet,R=T===void 0?!1:T,I=x.currentId,O=(0,n.useContext)(u.default),j=O.enableNet,A=(0,n.useContext)(d.default);return R&&!j?n.default.createElement(i.Box,{sx:{m:k,height:"100%",overflowX:"hidden",overflowY:"auto"}},n.default.createElement(i.Grid2,{container:!0,spacing:0,direction:"column",alignItems:"center",justifyContent:"center",sx:{minHeight:"100vh"}},n.default.createElement(i.Grid2,{item:!0},n.default.createElement(i.Box,null,n.default.createElement(a.default,{fontSize:"large",color:"warning"}),n.default.createElement("p",null,(0,s.doI18n)("components:framework:no_entry_if_offline",A)))))):n.default.createElement(n.default.Fragment,null,n.default.createElement(i.Box,null,n.default.createElement(c.default,{titleKey:P||null,widget:C||null,currentId:I})),n.default.createElement(i.Box,{sx:{m:k,overflowX:"hidden",overflowY:"auto"}},w))}e.default=y})(Gm)),Gm}var a1;function v6(){return a1||(a1=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(Ln()),n=a(A2()),i=a(N2());function a(c){return c&&c.__esModule?c:{default:c}}function s(c){var u=c.children,d=c.titleKey,f=c.requireNet,m=c.currentId,y=c.widget,x=c.margin;return t.default.createElement(n.default,null,t.default.createElement(i.default,{titleKey:d,requireNet:f,currentId:m,widget:y||null,margin:x||0},u))}e.default=s})(Um)),Um}var s1;function y6(){return s1||(s1=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Header",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"SpSpa",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"SpSpaPage",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"Spa",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"SpaContainer",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"authContext",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(e,"bcvContext",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"currentProjectContext",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(e,"debugContext",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"doI18n",{enumerable:!0,get:function(){return P.doI18n}}),Object.defineProperty(e,"getAndSetJson",{enumerable:!0,get:function(){return C.getAndSetJson}}),Object.defineProperty(e,"getJson",{enumerable:!0,get:function(){return C.getJson}}),Object.defineProperty(e,"getText",{enumerable:!0,get:function(){return C.getText}}),Object.defineProperty(e,"i18nContext",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"messagesContext",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"netContext",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"postEmptyJson",{enumerable:!0,get:function(){return b.postEmptyJson}}),Object.defineProperty(e,"postJson",{enumerable:!0,get:function(){return b.postJson}}),Object.defineProperty(e,"postText",{enumerable:!0,get:function(){return b.postText}}),Object.defineProperty(e,"typographyContext",{enumerable:!0,get:function(){return y.default}});var t=w(O2()),n=w(v6()),i=w(A2()),a=w(N2()),s=w(Kh()),c=w(Sc()),u=w(T2()),d=w(xc()),f=w(P2()),m=w(E2()),y=w(I2()),x=w($2()),P=vp(),C=fp(),b=j2(),k=w(L2());function w(T){return T&&T.__esModule?T:{default:T}}})(Tm)),Tm}var ct=y6();function B2({i18n:e,netEnabled:t,debug:n=!1}){const[i,a]=h.useState(!1),s=()=>{a(!1)},c=()=>{ct.postEmptyJson("/net/disable",n)},u=()=>{ct.postEmptyJson("/net/enable",n)},d=()=>{t?c():a(!0)};return g.jsxs($t,{children:[g.jsx(ma,{icon:t?g.jsx(S8,{}):g.jsx(C8,{}),label:ct.doI18n("components:header:offline_mode",e),onClick:d,color:t?"appbar-chip-inactive":"secondary",variant:"Filled"}),g.jsxs(Ih,{open:i,onClose:s,slotProps:{paper:{component:"form"}},children:[g.jsx(qC,{children:g.jsx("b",{children:ct.doI18n("components:header:internet_question_label",e)})}),g.jsx(is,{children:g.jsx(Dl,{children:g.jsx(zt,{children:ct.doI18n("components:header:internet_question",e)})})}),g.jsxs($h,{children:[g.jsx(Wo,{onClick:s,children:ct.doI18n("components:header:cancel",e)}),g.jsx(Wo,{onClick:()=>{u(),s()},children:ct.doI18n("components:header:accept",e)})]})]})]})}const D2=xt(g.jsx("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu"),Yh=xt(g.jsx("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess"),Xh=xt(g.jsx("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");function b6({i18n:e,netEnabled:t,debug:n}){const[i,a]=h.useState(!1),[s,c]=h.useState(!1),[u,d]=h.useState([]);h.useEffect(()=>{(async()=>{const y=await ct.getJson("/list-clients",n);y.ok&&d(y.json.filter(x=>!x.exclude_from_menu&&(n||!x.requires.debug)))})().then()},[n]);const f=m=>{ct.getJson(`/debug/${n} ? "disable" : "enable"}`).then(()=>{m.stopPropagation(),m.preventDefault()})};return g.jsxs($t,{sx:{m:0,mr:2},children:[g.jsx(lr,{onClick:m=>a(!0),children:g.jsx(D2,{})}),g.jsx(lp,{open:i,onClose:()=>a(!1),slotProps:{paper:{sx:{width:"auto",overflow:"hidden"}}},children:g.jsx($t,{sx:{width:"100%",minHeight:"98vh",minWidth:"20vw",m:0,p:0},role:"presentation",children:g.jsx(Ri,{sx:{height:"100%",width:"100%"},children:g.jsxs(Go,{direction:"column",spacing:0,sx:{height:"100%",width:"100%",justifyContent:"space-between",alignItems:"flex-start"},children:[g.jsx($t,{sx:{width:"100%"},children:u.map((m,y)=>g.jsx(Ci,{disablePadding:!0,children:g.jsx(Br,{disabled:m.requires.net&&!t.current,onClick:()=>{window.location.href=m.url},children:g.jsx(Dr,{primary:ct.doI18n(`pages:${m.id}:title`,e)})})},y))}),g.jsxs($t,{children:[g.jsx(Ci,{disablePadding:!0,children:g.jsx(Br,{onClick:()=>{window.location.href="/clients/settings"},children:g.jsx(Dr,{primary:ct.doI18n("pages:core-settings:title",e)})})}),g.jsx(Ci,{sx:{width:"auto"},disablePadding:!0,children:g.jsxs(Br,{onClick:()=>c(m=>!m),children:[g.jsx(Dr,{primary:ct.doI18n("components:header:advanced",e)}),s?g.jsx(Yh,{}):g.jsx(Xh,{})]})}),g.jsx(Uo,{in:s,timeout:"auto",unmountOnExit:!0,children:g.jsx(Ri,{component:"div",disablePadding:!0,children:g.jsxs(Br,{onClick:f,sx:{pl:4},children:[g.jsx(Dr,{primary:ct.doI18n("components:header:experimental_mode",e)}),g.jsx(hs,{edge:"end",onChange:f,checked:n})]})})}),g.jsx($t,{sx:{visibility:"hidden",position:"absolute",whiteSpace:"nowrap",top:0,left:0},children:g.jsx(Ri,{component:"div",disablePadding:!0,children:g.jsxs(Br,{onClick:f,sx:{pl:4},children:[g.jsx(Dr,{primary:ct.doI18n("components:header:experimental_mode",e)}),g.jsx(hs,{edge:"end",onChange:f,checked:n})]})})})]})]})})})})]})}function md({titleLabel:e,isOpen:t,closeFn:n,children:i,theme:a,size:s="md",fullWidth:c=!0}){var f,m;const u=a?va:Ct.Fragment,d=a?{theme:a}:{};return g.jsx(u,{...d,children:g.jsxs(Ih,{open:t,onClose:n,sx:{overflow:"hidden"},slotProps:{sx:{overflow:"hidden !important",display:"flex",flexDirection:"column"},paper:{component:"form"}},fullWidth:c,maxWidth:s,children:[g.jsx(mh,{position:"sticky",sx:{position:"relative",borderTopLeftRadius:4,borderTopRightRadius:4,backgroundColor:(m=(f=a==null?void 0:a.palette)==null?void 0:f.secondary)==null?void 0:m.main},children:g.jsx(ws,{children:g.jsx(zt,{variant:"h6",component:"div",children:e})})}),i]})})}function l1({label:e,actionFn:t,isDisabled:n}){return g.jsx(Wo,{onClick:t,disabled:n,color:"primary",children:e})}function Qm({actionFn:e,actionLabel:t,closeFn:n,closeLabel:i,isDisabled:a,closeOnAction:s=!0,onlyCloseButton:c=!1}){return g.jsxs($h,{children:[g.jsx(l1,{actionFn:n,isDisabled:!1,label:i}),c?null:g.jsx(l1,{actionFn:()=>{e(),s&&n()},isDisabled:a,label:t})]})}const x6=xt(g.jsx("path",{d:"M14.59 8 12 10.59 9.41 8 8 9.41 10.59 12 8 14.59 9.41 16 12 13.41 14.59 16 16 14.59 13.41 12 16 9.41zM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"HighlightOff"),S6=xt(g.jsx("path",{d:"M10 18h4v-2h-4zM3 6v2h18V6zm3 7h12v-2H6z"}),"FilterList");function z2(e){const{onSelectAllClick:t,numSelected:n,order:i,orderBy:a,rowCount:s,onRequestSort:c,columns:u,columnFilters:d,setColumnFilter:f,showColumnFilters:m,groupOperations:y}=e,x=j=>A=>{c(A,j)},[P,C]=h.useState(null),[b,k]=h.useState(null),w=(j,A)=>{j.stopPropagation(),C(j.currentTarget),k(A)},T=()=>{C(null),k(null)},R=j=>{const A=j.target.value;f(b,A)},I=!!P,O=I?"filter-popover":void 0;return g.jsxs(Kk,{children:[g.jsxs(Id,{children:[y&&g.jsx(Ho,{padding:"checkbox",children:g.jsx(tc,{color:"primary",indeterminate:n>0&&n<s,checked:s>0&&n===s,onChange:t,slotProps:{"aria-label":"select all rows"}})}),u.map(j=>g.jsxs(Ho,{align:j.alignRight?"right":"left",padding:j.disablePadding?"none":"normal",sortDirection:a===j.field?i:!1,children:[g.jsxs(t2,{active:a===j.field,direction:a===j.field?i:"asc",onClick:x(j.field),children:[j.headerName,a===j.field?g.jsx($t,{component:"span",sx:Zg,children:i==="desc"?"sorted descending":"sorted ascending"}):null]}),m&&!j.numeric&&g.jsx(lr,{size:"small",onClick:A=>w(A,j.field),sx:{ml:1,p:0},color:d[j.field]?"primary":"default",children:g.jsx(S6,{fontSize:"small"})})]},j.field))]}),g.jsx(Lh,{id:O,open:I,anchorEl:P,onClose:T,anchorOrigin:{vertical:"bottom",horizontal:"left"},children:g.jsx($t,{sx:{p:2},children:g.jsx(_h,{label:`Filter ${b}`,variant:"outlined",value:b?d[b]:"",onChange:R,size:"small",autoFocus:!0})})})]})}z2.propTypes={onRequestSort:tn.func.isRequired,order:tn.oneOf(["asc","desc"]).isRequired,orderBy:tn.string.isRequired,columns:tn.array.isRequired,setColumnFilter:tn.func.isRequired,columnFilters:tn.object.isRequired};function F2(e){const{numSelected:t,selectedIds:n,clearSelection:i,tableTitle:a,groupOperations:s,dataRows:c}=e,u=h.useMemo(()=>{if(s&&s.length>0){const d={selectedIds:n,numSelected:t,clearSelection:i},f={};return s.forEach(m=>{f[m.label]=()=>m.action(d,c)}),f}},[n,t,c]);return g.jsxs(ws,{sx:{pl:{sm:2},pr:{xs:1,sm:1},...t>0&&{bgcolor:d=>Qe(d.palette.primary.main,d.palette.action.activatedOpacity)}},children:[t>0?g.jsxs(zt,{sx:{flex:"1 1 100%"},color:"inherit",variant:"subtitle1",component:"div",children:[t," selected"]}):a?g.jsx(zt,{sx:{flex:"1 1 100%"},variant:"h6",id:"tableTitle",component:"div",children:a}):g.jsx(zt,{sx:{flex:"1 1 100%"},variant:"h6",id:"tableTitle",component:"div",children:"PanTable"}),t>0?g.jsx(g.Fragment,{children:s&&s.map((d,f)=>{const m=d.icon,y=u[d.label];return g.jsx(zh,{title:d.label,children:g.jsx(lr,{onClick:y,disabled:t===0,children:g.jsx(m,{})})},f)})}):g.jsx(g.Fragment,{})]})}F2.propTypes={numSelected:tn.number.isRequired,selectedIds:tn.array.isRequired,clearSelection:tn.func.isRequired};function c1(e,t,n){return t[n]<e[n]?-1:t[n]>e[n]?1:0}function C6(e,t){return e==="desc"?(n,i)=>c1(n,i,t):(n,i)=>-c1(n,i,t)}function Al({columns:e,rows:t,defaultFilter:n,setDefaultFilter:i,filterPreset:a,showColumnFilters:s,tableTitle:c,groupOperations:u,sx:d,theme:f}){const[m,y]=h.useState("asc"),[x,P]=h.useState("date"),[C,b]=h.useState([]),[k,w]=h.useState([]),[T,R]=h.useState({}),I=f?va:Ct.Fragment,O=f?{theme:f}:{};h.useEffect(()=>{const D={};e.forEach(W=>{D[W.field]=""}),R(D)},[e]);const j=(D,W)=>{y(x===W&&m==="asc"?"desc":"asc"),P(W)},A=D=>{if(D.target.checked){const W=t.map(H=>H.id);b(W);return}b([])},N=(D,W)=>{const H=C.indexOf(W);let q=[];H===-1?q=q.concat(C,W):H===0?q=q.concat(C.slice(1)):H===C.length-1?q=q.concat(C.slice(0,-1)):H>0&&(q=q.concat(C.slice(0,H),C.slice(H+1))),b(q)},$=()=>{b([])},S=(D,W)=>{R(H=>({...H,[D]:W}))},L=D=>{w(W=>W.includes(D)?W.filter(H=>H!==D):[...W,D])},U=h.useMemo(()=>{if(!a||k.length===0)return()=>!0;const D=k.map(W=>{const H=a[W];return H&&typeof H.filter=="function"?H.filter:(console.warn(`Invalid filter function found for index ${W}`),()=>!1)});return W=>D.some(H=>H(W))},[k,a]),M=h.useMemo(()=>[...t].filter(D=>{if(n&&typeof n=="function"&&!n(D)||!U(D))return!1;for(const W in T){const H=T[W].toLowerCase();if(H&&!String(D[W]).toLowerCase().includes(H))return!1}return!0}).sort(C6(m,x)),[m,x,t,n,U,T]);return g.jsx(I,{...O,children:g.jsxs($t,{sx:{height:"100%",width:"100%"},children:[a&&g.jsx($t,{children:g.jsx(Go,{direction:"row",spacing:1,children:a.map((D,W)=>{const H=k.includes(W);return g.jsx(ma,{label:g.jsxs($t,{sx:{display:"flex",alignItems:"center",gap:H?.5:0},children:[g.jsx("span",{children:D.label}),H&&g.jsx(x6,{sx:{fontSize:24}})]}),variant:H?"filled":"outlined",color:"secondary",onClick:()=>L(W)},D.label)})})}),u&&g.jsx(F2,{numSelected:C.length,selectedIds:C,clearSelection:$,tableTitle:c,groupOperations:u,dataRows:t}),!u&&c&&g.jsx(ws,{sx:{pl:{sm:2},pr:{xs:1,sm:1}},children:g.jsx(zt,{sx:{flex:"1 1 100%"},variant:"h6",id:"tableTitle",component:"div",children:c})}),g.jsxs(Vk,{component:Gn,sx:d||{height:"100%"},children:[" ",g.jsxs(zk,{stickyHeader:!0,"aria-label":"pan table",sx:{height:"100%",width:"100%"},children:[g.jsx(z2,{numSelected:C.length,order:m,orderBy:x,onSelectAllClick:A,onRequestSort:j,rowCount:M.length,columns:e,setColumnFilter:S,columnFilters:T,showColumnFilters:s,groupOperations:u}),g.jsxs(_k,{sx:{verticalAlign:"top"},children:[M.map((D,W)=>{const H=C.includes(D.id);return g.jsxs(Id,{hover:!0,onClick:q=>{u&&N(q,D.id)},role:"checkbox",tabIndex:-1,selected:H,children:[u&&g.jsx(Ho,{padding:"checkbox",children:g.jsx(tc,{color:"primary",checked:H})}),e.map(q=>g.jsx(Ho,{align:q.alignRight?"right":"left",sx:{whiteSpace:"normal",wordBreak:"break-word"},children:q.renderCell?q.renderCell({row:D,id:D.id,field:q.field}):D[q.field]},q.field))]},D.id)}),g.jsx(Id,{sx:{height:"100%"},children:g.jsx(Ho,{colSpan:e.length,sx:{padding:0,borderBottom:"none",height:"100%"}})})]})]})]})]})})}const gd=xt(g.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M17 13l-5 5-5-5h3V9h4v4z"}),"CloudDownload"),w6=xt(g.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M10 17l-3.5-3.5 1.41-1.41L10 14.17 15.18 9l1.41 1.41z"}),"CloudDone"),k6=xt(g.jsx("path",{d:"M21 10.12h-6.78l2.74-2.82c-2.73-2.7-7.15-2.8-9.88-.1-2.73 2.71-2.73 7.08 0 9.79s7.15 2.71 9.88 0C18.32 15.65 19 14.08 19 12.1h2c0 1.98-.88 4.55-2.64 6.29-3.51 3.48-9.21 3.48-12.72 0-3.5-3.47-3.53-9.11-.02-12.58s9.14-3.47 12.65 0L21 3zM12.5 8v4.25l3.5 2.08-.72 1.21L11 13V8z"}),"Update"),$i=h.createContext({i18n:{},setI18n:()=>{}}),Cc=h.createContext({debug:!1,setDebug:()=>{}});function u1({sources:e,showColumnFilters:t,tableTitle:n,sx:i,theme:a}){const{i18nRef:s}=h.useContext($i),{debugRef:c}=h.useContext(Cc),{sourceWhitelist:u,filterExample:d,listMode:f}=h.useMemo(()=>{if(Array.isArray(e))return{listMode:!1,sourceWhitelist:e,filterExample:e.map(([$,S])=>({label:S,filter:L=>{var U;return((U=L==null?void 0:L.source)==null?void 0:U.startsWith($))??!1}}))};if(e&&typeof e=="object"){const $=[];for(const[S,L]of Object.entries(e))for(const U of Object.keys(L))$.push([`${S}/${U}`,U]);return{listMode:!0,sourceWhitelist:$,filterExample:[]}}return{listMode:!1,sourceWhitelist:[],filterExample:[]}},[e]),[m,y]=h.useState(null);h.useEffect(()=>{d.length>0&&m===null&&y(0)},[d,m]);const x=h.useMemo(()=>{var $;return m!==null?($=d[m])==null?void 0:$.filter:null},[m,d]),[P,C]=h.useState([]),[b,k]=h.useState(null),[w,T]=h.useState(null);h.useEffect(()=>{C([]),T(null)},[u]),h.useEffect(()=>{(async()=>{let S=[];for(let L of u){let U=L[0].split("/");const M=await ct.getJson(`/gitea/remote-repos/${L[0]}`,c.current);if(M.ok)if(f){const D=M.json.filter(W=>e[U[0]][U[1]].includes(W.name)).map(W=>({...W,source:L[0]}));S=[...S,...D]}else{const D=M.json.map(W=>({...W,source:L[0]}));S=[...S,...D]}}C(S)})().then()},[u]),h.useEffect(()=>{ct.getAndSetJson({url:"/git/list-local-repos",setter:k}).then()},[]),h.useEffect(()=>{!w&&P.length>0&&b&&(async()=>{const S={};for(const L of P)if(b.includes(`${L.source}/${L.name}`)){const U=`/burrito/metadata/summary/${L.source}/${L.name}`;let M=await ct.getJson(U,c.current);if(M.ok){const D=M.json.timestamp,W=Date.parse(L.updated_at)/1e3;S[`${L.source}/${L.name}`]=W-D>0?"updatable":"downloaded"}else S[`${L.source}/${L.name}`]="downloaded"}else S[`${L.source}/${L.name}`]="notDownloaded";T(S)})().then()},[w,P,b]);const R=h.useCallback(async($,S,L)=>{T(D=>({...D,[S]:"downloading"})),Fo(`${ct.doI18n("pages:core-remote-resources:downloading",s.current)} ${$.row.abbreviation}`,{variant:"info"});const U=L==="clone"?`/git/clone-repo/${S}`:`/git/pull-repo/origin/${S}`,M=await ct.postEmptyJson(U,c.current);M.ok?(Fo(`${$.row.abbreviation} ${ct.doI18n(L==="clone"?"pages:core-remote-resources:downloaded":"pages:core-remote-resources:updated",s.current)}`,{variant:"success"}),T(D=>({...D,[S]:"downloaded"}))):(Fo(`${$.row.abbreviation} ${ct.doI18n("pages:core-remote-resources:failed",s.current)} : ${M.error} (${M.status})`,{variant:"error"}),T(D=>({...D,[S]:"notDownloaded"})))},[]),I=h.useMemo(()=>[{field:"resourceCode",headerName:ct.doI18n("library:panksomia-rcl:row_resource_code",s.current),flex:.5,minWidth:140},{field:"language",headerName:ct.doI18n("library:panksomia-rcl:row_language",s.current),flex:.5,minWidth:120},{field:"description",headerName:ct.doI18n("library:panksomia-rcl:row_description",s.current),flex:2,minWidth:130},{field:"type",headerName:ct.doI18n("library:panksomia-rcl:row_type",s.current),flex:1.5,minWidth:80},{field:"download",sortable:!1,headerName:ct.doI18n("library:panksomia-rcl:row_download",s.current),flex:.5,minWidth:120,renderCell:$=>{const S=`${$.row.source}/${$.row.name}`;return w?w[S]==="notDownloaded"?g.jsx(gd,{onClick:L=>{L.stopPropagation(),R($,S,"clone")}}):w[S]==="updatable"?g.jsx(k6,{onClick:L=>{L.stopPropagation(),R($,S,"fetch")}}):w[S]==="downloading"?g.jsx(Xl,{size:"30px",color:"secondary"}):g.jsx(w6,{color:"disabled"}):g.jsx(gd,{disabled:!0})}}],[s,w,R]),O=h.useMemo(()=>P.filter($=>$.flavor).map($=>({...$,id:`${$.source}/${$.name}`,resourceCode:$.abbreviation.toUpperCase(),language:$.language_code,description:$.description,type:ct.doI18n(`flavors:names:${$.flavor_type}/${$.flavor}`,s.current)})),[P,s]),j=[{label:"Download selected",icon:gd,action:($,S)=>{if(!w)return;S.filter(U=>$.selectedIds.includes(U.id)).forEach(U=>{const M=`${U.source}/${U.name}`;w[M]==="notDownloaded"?R({row:U},M,"clone"):w[M]==="updatable"&&R({row:U},M,"fetch")})}}],A=a?va:Ct.Fragment,N=a?{theme:a}:{};return g.jsxs(A,{...N,children:[(d==null?void 0:d.length)>0&&g.jsx(Go,{direction:"row",spacing:1,alignItems:"center",sx:{mb:1,flexWrap:"wrap"},children:d.map(($,S)=>{const L=m===S;return g.jsx(ma,{label:$.label,color:L?"secondary":"default",variant:L?"filled":"outlined",onClick:()=>y(S)},$.label)})}),O&&O.length>0?g.jsx(Al,{columns:I,rows:O,tableTitle:n,groupOperations:f?j:null,defaultFilter:x,showColumnFilters:t,sx:{...i,height:"100%"}}):g.jsx($t,{sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%"},children:g.jsx(Xl,{})})]})}function R6({data:e,titleLabel:t,getOptionLabel:n,value:i,onChange:a}){return g.jsx(uC,{disablePortal:!0,value:i,onChange:a,options:e,getOptionLabel:n,sx:{width:"100%"},renderInput:s=>g.jsx(_h,{...s,label:t})})}const xa=h.createContext({enableNet:!1,setEnableNet:()=>{}});function P6({currentId:e}){const[t,n]=h.useState("auto"),[i,a]=h.useState(!1),s=h.useRef(null),[c,u]=h.useState(!0),[d,f]=h.useState(!1),[m,y]=h.useState([]),{i18nRef:x}=h.useContext($i),{enabledRef:P}=h.useContext(xa),{debugRef:C}=h.useContext(Cc);h.useEffect(()=>{(async()=>{const w=await ct.getJson("/list-clients",C.current);w.ok&&y(w.json.filter(T=>!T.exclude_from_menu&&(C.current||!T.requires.debug)))})().then()},[C.current]);const b=k=>{ct.getJson(`/debug/${C.current?"disable":"enable"}`).then(()=>{k.stopPropagation(),k.preventDefault()})};return h.useEffect(()=>{let k;if(d&&!i)return k=setTimeout(()=>{if(s.current){const w=s.current.clientWidth;w>0&&(n(`${w}px`),a(!0))}},50),()=>clearTimeout(k)},[d,i]),g.jsxs($t,{sx:{m:0,mr:2},children:[g.jsx(lr,{onClick:k=>f(!0),children:g.jsx(D2,{sx:{color:"#FFF"}})}),g.jsx(lp,{open:d,onClose:()=>f(!1),slotProps:{paper:{sx:{width:t,overflow:"hidden"}}},children:g.jsx($t,{sx:{width:"100%",minHeight:"98vh",m:0,p:0},role:"presentation",children:g.jsx(Ri,{sx:{height:"100%",width:"100%"},children:g.jsxs(Go,{direction:"column",spacing:0,sx:{height:"100%",width:"100%",justifyContent:"space-between",alignItems:"flex-start"},children:[g.jsx($t,{sx:{width:"100%"},children:m.map((k,w)=>k.id===e?g.jsx(Ci,{disablePadding:!0,onClick:()=>f(!1),children:g.jsx(Br,{selected:!0,children:g.jsx(Dr,{primary:ct.doI18n(`pages:${k.id}:title`,x.current)})})},w):g.jsx(Ci,{disablePadding:!0,children:g.jsx(Br,{disabled:k.requires.net&&!P.current,onClick:()=>{window.location.href=k.url},children:g.jsx(Dr,{primary:ct.doI18n(`pages:${k.id}:title`,x.current)})})},w))}),g.jsxs($t,{children:[g.jsx(Ci,{disablePadding:!0,children:g.jsx(Br,{selected:e.includes("settings"),onClick:()=>{window.location.href="/clients/settings"},children:g.jsx(Dr,{primary:ct.doI18n("pages:core-settings:title",x.current)})})}),g.jsx(Ci,{sx:{width:t},disablePadding:!0,children:g.jsxs(Br,{onClick:()=>u(k=>!k),children:[g.jsx(Dr,{primary:ct.doI18n("components:header:advanced",x.current)}),c?g.jsx(Yh,{}):g.jsx(Xh,{})]})}),g.jsx(Uo,{in:c,timeout:"auto",unmountOnExit:!0,children:g.jsx(Ri,{component:"div",disablePadding:!0,children:g.jsxs(Br,{onClick:b,sx:{pl:4},children:[g.jsx(Dr,{primary:ct.doI18n("components:header:experimental_mode",x.current)}),g.jsx(hs,{edge:"end",onChange:b,checked:C.current})]})})}),g.jsx($t,{ref:s,sx:{visibility:"hidden",position:"absolute",whiteSpace:"nowrap",top:0,left:0},children:g.jsx(Ri,{component:"div",disablePadding:!0,children:g.jsxs(Br,{onClick:b,sx:{pl:4},children:[g.jsx(Dr,{primary:ct.doI18n("components:header:experimental_mode",x.current)}),g.jsx(hs,{edge:"end",onChange:b,checked:C.current})]})})})]})]})})})})]})}const _2=h.createContext({clientConfig:{},setClientConfig:()=>{}});function W2({titleKey:e,widget:t,currentId:n,theme:i}){var m,y,x;const{i18nRef:a}=h.useContext($i),{clientConfigRef:s}=h.useContext(_2),{enabledRef:c}=h.useContext(xa),u=((x=(y=(m=s.current._global)==null?void 0:m.find(P=>P.id==="internetConfig"))==null?void 0:y.fields.find(P=>P.id==="internetConnectionAccess"))==null?void 0:x.value)??!0;h.useEffect(()=>{const P=ct.doI18n("branding:software:name",a.current),C=ct.doI18n(e,a.current);document.title=`${C} - ${P}`});const d=i?va:Ct.Fragment,f=i?{theme:i}:{};return g.jsx(d,{...f,children:g.jsx($t,{display:"flex-start",sx:{flexGrow:1,m:0,p:0},children:g.jsx(mh,{position:"static",sx:{m:0,p:0},children:g.jsxs(ws,{variant:"dense",sx:{m:0,p:0},children:[g.jsx(P6,{currentId:n}),e&&e.length>0&&g.jsx(zt,{variant:"h6",sx:{m:0,p:0},children:ct.doI18n(e,a.current)}),g.jsx($t,{sx:{flexGrow:1,m:0,p:0},children:t}),g.jsx($t,{sx:{m:0,p:0},children:u&&g.jsx(B2,{netEnabled:c.current,i18n:a.current})})]})})})})}const T6=h.createContext({auth:!1,setAuth:()=>{}}),E6=h.createContext({typography:{},setTypography:()=>{}}),I6=h.createContext({currentProject:null,setCurrentProject:()=>{}}),$6=h.createContext({systemBcv:!1,setSystemBcv:()=>{}}),M6=h.createContext({messages:[],setMessages:()=>{}}),O6=h.createContext({clientInterfaces:{},setClientInterfaces:()=>{}});function A6({children:e,netValue:t,debugValue:n,bcvValue:i,i18nValue:a,authValue:s,typographyValue:c,currentProjectValue:u,clientConfigValue:d,clientInterfacesValue:f}){const[m,y]=h.useState([]),x={messages:m,setMessages:y},{enqueueSnackbar:P}=k2(),C=T=>{const R=T.split("--");R.length===4&&P(`${R[2]} => ${R[3]}`,{variant:R[0],anchorOrigin:{vertical:"bottom",horizontal:"right"}})};h.useEffect(()=>{m.length>0&&(m.forEach(T=>C(T)),y([]))},[m]);const[b,k]=h.useState({palette:{primary:{main:"#666"},secondary:{main:"#888"}}});h.useEffect(()=>{b.palette&&b.palette.primary&&b.palette.primary.main&&b.palette.primary.main==="#666"&&ct.getAndSetJson({url:"/app-resources/themes/default.json",setter:k}).then()});const w=Co(b);return g.jsx(va,{theme:w,children:g.jsx(_2.Provider,{value:d,children:g.jsx(O6.Provider,{value:f,children:g.jsx($i.Provider,{value:a,children:g.jsx(E6.Provider,{value:c,children:g.jsx(T6.Provider,{value:s,children:g.jsx(I6.Provider,{value:u,children:g.jsx($6.Provider,{value:i,children:g.jsx(M6.Provider,{value:x,children:g.jsx(Cc.Provider,{value:n,children:g.jsx(xa.Provider,{value:t,children:g.jsx($t,{sx:{height:"100vh",overflow:"hidden"},children:e})})})})})})})})})})})})}var j6=M2();const L6=Od(j6);function N6({children:e}){const[t,n]=h.useState(!1),i=h.useRef(t),a=oe=>{i.current=oe,n(oe)},[s,c]=h.useState(!1),u=h.useRef(s),d=oe=>{u.current=oe,c(oe)},[f,m]=h.useState({}),y=h.useRef(f),x=oe=>{y.current=oe,m(oe)},[P,C]=h.useState({bookCode:"TIT",chapterNum:1,verseNum:1}),b=h.useRef(P),k=oe=>{b.current=oe,C(oe)},[w,T]=h.useState({}),R=h.useRef(w),I=oe=>{R.current=oe,T(oe)},[O,j]=h.useState({font_set:"Pankosmia-CardoPankosmia-EzraSILPankosmia-PadaukPankosmia-AwamiNastaliqPankosmia-NotoNastaliqUrduPankosmia-GentiumPlus",size:"medium",direction:"ltr"}),A=h.useRef(O),N=oe=>{A.current=oe,j(oe)},[$,S]=h.useState(null),L=h.useRef($),U=oe=>{L.current=oe,S(oe)},[M,D]=h.useState({}),W=h.useRef(M),H=oe=>{W.current=oe,D(oe)},q=async()=>{await ct.getJson("/client-config").then(oe=>oe.json).then(oe=>H(oe)).catch(oe=>console.error("Error :",oe))},[F,_]=h.useState({}),V=h.useRef(F),B=oe=>{V.current=oe,_(oe)},G=async()=>{await ct.getJson("/client-interfaces").then(oe=>oe.json).then(oe=>B(oe)).catch(oe=>console.error("Error :",oe))},Z=async()=>{const oe=await ct.getJson("/i18n/flat",u.current);oe.ok?I(oe.json):Fo(`Could not load i18n: ${oe.error}`,{variant:"error",anchorOrigin:{vertical:"bottom",horizontal:"left"},persist:!0})},te=async()=>{const oe=await ct.getJson("/settings/typography",u.current);oe.ok?I(oe.json):Fo(`Could not load typography: ${oe.error}`,{variant:"error",anchorOrigin:{vertical:"bottom",horizontal:"left"},persist:!0})};h.useEffect(()=>{Z().then(),te().then(),q().then(),G().then()},[]),h.useEffect(()=>{(async()=>{const Me=await ct.getJson("/navigation/bcv",u.current);if(Me.ok){const Re=Me.json;k({bookCode:Re.book_code,chapterNum:Re.chapter,verseNum:Re.verse})}else Fo(`Could not load bcv: ${Me.error}`,{variant:"error",anchorOrigin:{vertical:"bottom",horizontal:"left"},persist:!0})})().then()},[]);const K=oe=>{const Me=oe.data.split("--");if(Me.length===4){const Re=Me[1]==="enabled";Re!==i.current&&a(Re);const pe=Me[3]==="enabled";pe!==u.current&&d(pe)}},J=oe=>{const Me=oe.data.split("--");if(Me.length===3){const Re={bookCode:Me[0],chapterNum:parseInt(Me[1]),verseNum:parseInt(Me[2])};(Re.bookCode!==b.current.bookCode||Re.chapterNum!==b.current.chapterNum||Re.verseNum!==b.current.verseNum)&&k(Re)}},Q=oe=>{const Me=oe.data.split("--");if(Me.length===3){const Re={font_set:Me[0],size:Me[1],direction:Me[2]};(Re.font_set!==A.current.font_set||Re.size!==A.current.size||Re.direction!==A.current.direction)&&N(Re)}},ie=()=>{Z().then()},se=oe=>{try{const Me=L6(y.current),[Re,pe,ye]=oe.data.split("--");if(["true","false"].includes(ye)){const De=ye==="true";(!(Re in Me)||!("isActive"in Me[Re])||De!==Me[Re].isActive)&&(Me[Re]={endpoint:pe,isActive:De},x(Me))}}catch(Me){console.log(`Auth Error: ${Me}, data: ${oe.data}`)}},ue=oe=>{if(oe.data===null)L.current!==null&&U(null);else{const Me=oe.data.split("--");if(Me.length===3){let Re={source:Me[0],organization:Me[1],project:Me[2]};(!L.current||Re.source!==L.current.source||Re.organization!==L.current.organization||Re.project!==L.current.project)&&U(Re)}else U(null)}},ge=oe=>{const Me=oe.data.split("--");Me.length===4&&Fo(`${Me[2]} => ${Me[3]}`,{variant:Me[0],anchorOrigin:{vertical:"bottom",horizontal:"left"},persist:Me[0]==="error"})};h.useEffect(()=>{const oe=new AbortController;return(async()=>{await R2("/notifications",{method:"GET",headers:{Accept:"text/event-stream"},onopen(Re){Re.ok&&Re.status===200||Re.status>=400&&Re.status<500&&Re.status!==429&&console.log("Error from SSE",Re.status)},onmessage(Re){Re.event==="misc"?ge(Re):Re.event==="status"?K(Re):Re.event==="bcv"?J(Re):Re.event==="auth"?se(Re):Re.event==="languages"?ie():Re.event==="typography"?Q(Re):Re.event==="current_project"&&ue(Re)},onclose(){console.log("SSE connection closed by the server")},onerror(Re){console.log("There was an error from the SSE server",Re)}})})(),()=>oe.abort()},[]);const ce={enableNet:t,setEnableNet:a,enabledRef:i},he={debug:s,setDebug:d,debugRef:u},Se={systemBcv:P,setSystemBcv:k,bcvRef:b},Ae={auth:f,setAuth:x,authRef:y},He={i18n:w,setI18n:I,i18nRef:R},fe={typography:O,setTypography:N,typographyRef:A},ve={currentProject:$,setCurrentProject:U,currentProjectRef:L},Ne={clientInterfaces:F,setClientInterfaces:B,clientInterfacesRef:V},Be={clientConfig:M,setClientConfig:H,clientConfigRef:W};u.current&&console.log("Rerender Spa");const be=X(Vh)(()=>({"&.notistack-MuiContent-error":{backgroundColor:"#FDEDED",color:"#D32F2F"},"&.notistack-MuiContent-info":{backgroundColor:"#E5F6FD",color:"#0288D1"},"&.notistack-MuiContent-warning":{backgroundColor:"#FFF4E5",color:"#EF6C00"},"&.notistack-MuiContent-success":{backgroundColor:"#EDF7ED",color:"#2E7D32"}}));return g.jsx(Gh,{Components:{error:be,info:be,warning:be,success:be},maxSnack:6,children:g.jsx(A6,{netValue:ce,debugValue:he,i18nValue:He,bcvValue:Se,authValue:Ae,typographyValue:fe,currentProjectValue:ve,clientConfigValue:Be,clientInterfacesValue:Ne,children:e})})}function B6({children:e}){return g.jsx(Gh,{maxSnack:3,children:g.jsx(N6,{children:e})})}const D6=xt(g.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2M4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12m8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8"}),"BlockOutlined");function z6({titleKey:e,widget:t,margin:n=0,children:i,requireNet:a=!1,currentId:s}){const{enableNet:c}=h.useContext(xa),u=h.useContext($i);return a&&!c?g.jsx($t,{sx:{m:n,height:"100%",overflowX:"hidden",overflowY:"auto"},children:g.jsx(Xn,{container:!0,spacing:0,direction:"column",alignItems:"center",justifyContent:"center",sx:{minHeight:"100vh"},children:g.jsx(Xn,{item:!0,children:g.jsxs($t,{children:[g.jsx(D6,{fontSize:"large",color:"warning"}),g.jsx("p",{children:ct.doI18n("components:framework:no_entry_if_offline",u)})]})})})}):g.jsxs(g.Fragment,{children:[g.jsx($t,{children:g.jsx(W2,{titleKey:e||null,widget:t||null,currentId:s})}),g.jsx($t,{sx:{m:n,overflowX:"hidden",overflowY:"auto"},children:i})]})}function F6({children:e,titleKey:t,requireNet:n,currentId:i,widget:a,margin:s}){return g.jsx(B6,{children:g.jsx(z6,{titleKey:t,requireNet:n,currentId:i,widget:a||null,margin:s||0,children:e})})}h.createContext({languages:!1,setLanguages:()=>{}});function _6(){const{enabledRef:e}=h.useContext(xa),{i18nRef:t}=h.useContext($i),{debugRef:n}=h.useContext(Cc);return g.jsx(B2,{i18n:t.current,netEnabled:e.current,debug:n.current})}function W6(){const{debugRef:e}=h.useContext(Cc),{i18nRef:t}=h.useContext($i),{enabledRef:n}=h.useContext(xa);return g.jsx(b6,{i18n:t.current,netEnabled:n.current,debug:e.current})}function H6(){const[e,t]=h.useState(null),[n,i]=h.useState(null),[a,s]=h.useState(null),[c,u]=h.useState(!1),[d,f]=h.useState(!0),m=()=>console.log("Doing it!!!"),y=Co({palette:{primary:{main:"#C49464"},secondary:{main:"#00473E"}}});return g.jsx(g.Fragment,{children:g.jsxs(Xn,{container:!0,spacing:8,children:[g.jsxs(Xn,{item:!0,size:4,children:[g.jsx(Wo,{onClick:x=>{t(x.target)},children:" Test closeOnAction dialog "}),g.jsxs(md,{titleLabel:"A Pointless Dialog",isOpen:!!e,closeFn:()=>t(!1),theme:y,children:[g.jsxs(is,{children:[g.jsx(Dl,{children:"Text within dialog content goes within DialogContentText."}),g.jsx(zl,{children:g.jsx(ld,{control:g.jsx(tc,{checked:c,onChange:()=>u(!c),slotProps:{input:{"aria-label":"pointless-dialog-input"}}}),label:"Pointless required input"})})]}),g.jsx(Qm,{actionFn:m,actionLabel:"Do it!",closeFn:()=>t(!1),closeLabel:"Don't do it!",isDisabled:!c,closeOnAction:!1})]})]}),g.jsxs(Xn,{item:!0,size:4,children:[g.jsx(Wo,{onClick:x=>{i(x.target)},children:" open dialog "}),g.jsxs(md,{titleLabel:"A Pointless Dialog",isOpen:!!n,closeFn:()=>i(!1),children:[g.jsxs(is,{children:[g.jsx(Dl,{children:"Text within dialog content goes within DialogContentText."}),g.jsx(zl,{children:g.jsx(ld,{control:g.jsx(tc,{checked:c,onChange:()=>u(!c),slotProps:{input:{"aria-label":"pointless-dialog-input"}}}),label:"Pointless required input"})})]}),g.jsx(Qm,{actionFn:m,actionLabel:"Do it!",closeFn:()=>i(!1),closeLabel:"Don't do it!",isDisabled:!c})]})]}),g.jsxs(Xn,{item:!0,size:4,children:[g.jsx(Wo,{onClick:x=>{s(x.target)},children:" Test maxWidth dialog "}),g.jsxs(md,{titleLabel:"maxWidth Dialog",isOpen:!!a,closeFn:()=>s(!1),size:"lg",fullWidth:d,children:[g.jsxs(is,{children:[g.jsx(Dl,{children:"Text within dialog content goes within DialogContentText."}),g.jsx(zl,{children:g.jsx(ld,{control:g.jsx(hs,{checked:d,onChange:()=>f(!d),slotProps:{input:{"aria-label":"maxWith-dialog"}}}),label:"Full width"})})]}),g.jsx(Qm,{closeFn:()=>s(!1),closeLabel:"Don't do it!",closeOnAction:!1,onlyCloseButton:!0})]})]})]})})}const U6=xt(g.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete"),V6=xt([g.jsx("path",{d:"m21.67 18.17-5.3-5.3h-.99l-2.54 2.54v.99l5.3 5.3c.39.39 1.02.39 1.41 0l2.12-2.12c.39-.38.39-1.02 0-1.41"},"0"),g.jsx("path",{d:"m17.34 10.19 1.41-1.41 2.12 2.12c1.17-1.17 1.17-3.07 0-4.24l-3.54-3.54-1.41 1.41V1.71l-.7-.71-3.54 3.54.71.71h2.83l-1.41 1.41 1.06 1.06-2.89 2.89-4.13-4.13V5.06L4.83 2.04 2 4.87 5.03 7.9h1.41l4.13 4.13-.85.85H7.6l-5.3 5.3c-.39.39-.39 1.02 0 1.41l2.12 2.12c.39.39 1.02.39 1.41 0l5.3-5.3v-2.12l5.15-5.15z"},"1")],"Handyman"),G6=xt(g.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M19 18H6c-2.21 0-4-1.79-4-4 0-2.05 1.53-3.76 3.56-3.97l1.07-.11.5-.95C8.08 7.14 9.94 6 12 6c2.62 0 4.88 1.86 5.39 4.43l.3 1.5 1.53.11c1.56.1 2.78 1.41 2.78 2.96 0 1.65-1.35 3-3 3m-5.55-8h-2.9v3H8l4 4 4-4h-2.55z"}),"CloudDownloadOutlined");function q6(){const{i18nRef:e}=h.useContext($i),t=Co({palette:{primary:{main:"#C49464"},secondary:{main:"#00473E"}}}),n=[{author:"Elías Piñero <eliasrpt15@gmail.com>",date:"Mon Jul 7 14:20:09 2025 +0200",epoch:1751890809,commitId:"93699759a580f69ac19a037fdbced61969c5e7f9",message:`Add scope
303
+ `},{author:"Mark Howe <mvahowe@gmail.com>",date:"Mon Jul 7 13:59:34 2025 +0200",epoch:1751889574,commitId:"db3265ee450320e306f1fd219492be648be4d7b4",message:`Add confidential
304
+ `},{author:"Mark Howe <mvahowe@gmail.com>",date:"Mon Jul 7 13:56:16 2025 +0200",epoch:1751889376,commitId:"847d904e7fee7454dc6d2c71f5a65263caa17ead",message:`First commit
305
+ `},{author:"Loïse <loïse@gmail.com>",date:"Mon Jul 9 15:56:16 2025 +0200",epoch:1751889327,commitId:"848d904e7fee7454dc6d2c71f5a65263caa17ead",message:`Test commit
306
+ `}],i=[{field:"author",headerName:ct.doI18n("pages:content:row_author",e.current),numeric:!1,disablePadding:!1,alignRight:!1},{field:"date",headerName:ct.doI18n("pages:content:row_date",e.current),numeric:!0,disablePadding:!1,alignRight:!1},{field:"message",headerName:ct.doI18n("pages:content:row_message",e.current),numeric:!1,disablePadding:!1,alignRight:!1},{field:"download",sortable:!1,headerName:ct.doI18n("pages:core-remote-resources:row_download",e.current),flex:.5,minWidth:120,alignRight:!1,numeric:!1,renderCell:u=>g.jsx(lr,{children:g.jsx(G6,{onClick:d=>{d.stopPropagation(),alert("Downloading something!")}})})}],a=n.map((u,d)=>({...u,id:d,commitId:u.commitId,author:u.author,date:u.date,message:u.message})),s=[{label:"Mark's commits",filter:u=>String(u.author).toLowerCase().includes("mark")},{label:"Elias' commits",filter:u=>String(u.author).toLowerCase().includes("elias")},{label:"Anyone but Mark and Elias' commits",filter:u=>!String(u.author).toLowerCase().includes("mark")&&!String(u.author).toLowerCase().includes("elias")}],c=[{label:"Download selected",icon:gd,action:(u,d)=>{const m=d.filter(y=>u.selectedIds.includes(y.id)).map(y=>y.author).join(", ");alert(`Downloading these authors: ${m}`),u.clearSelection()}},{label:"Archive selected",icon:V6,action:(u,d)=>{const m=d.filter(y=>u.selectedIds.includes(y.id)).map(y=>y.date).join(", ");alert(`Archiving these commit dates: ${m}`),u.clearSelection()}},{label:"Delete selected",icon:U6,action:(u,d)=>{const m=d.filter(y=>u.selectedIds.includes(y.id)).map(y=>y.message).join(", ");alert(`Deleting these commit messages: ${m}`),u.clearSelection()}}];return g.jsxs(g.Fragment,{children:[g.jsxs(Xn,{container:!0,spacing:8,minHeight:600,children:[g.jsx(Xn,{item:!0,size:12,children:g.jsx(Al,{theme:t,columns:i,rows:a,tableTitle:"Filtering only Mark",defaultFilter:u=>String(u.author).toLowerCase().includes("mark"),sx:{height:"100%"}})}),g.jsx(Xn,{item:!0,size:4,children:g.jsx(Al,{theme:t,columns:i,rows:a,tableTitle:"Filtering Chips",filterPreset:s,sx:{height:"50%"}})})]}),g.jsxs(Xn,{container:!0,spacing:8,minHeight:350,children:[g.jsx(Xn,{item:!0,size:4,children:g.jsx(Al,{theme:t,columns:i,rows:a,tableTitle:"Column filter",showColumnFilters:!0})}),g.jsx(Xn,{item:!0,size:4,children:g.jsx(Al,{theme:t,columns:i,rows:a,tableTitle:"Group operations",groupOperations:c})})]})]})}function jg({value:e,name:t}){const[n,i]=h.useState(!1),a=e&&typeof e=="object"&&!Array.isArray(e),s=Array.isArray(e),c=()=>i(d=>!d);let u;return typeof e=="function"?u="ƒ function()":s?u=`Array(${e.length})`:a?u=`Object(${Object.keys(e).length} keys)`:u=JSON.stringify(e),g.jsxs($t,{sx:{ml:t?1:0,mb:.5},children:[g.jsxs(Go,{direction:"row",alignItems:"center",spacing:1,children:[(s||a)&&g.jsx(lr,{size:"small",onClick:c,children:n?g.jsx(Yh,{fontSize:"small"}):g.jsx(Xh,{fontSize:"small"})}),g.jsx(zt,{variant:"body2",sx:{fontWeight:500,minWidth:120},children:t}),g.jsx(zt,{variant:"body2",sx:{fontFamily:"monospace"},children:u})]}),(s||a)&&g.jsx(Uo,{in:n,timeout:"auto",unmountOnExit:!0,children:g.jsxs($t,{sx:{ml:3,borderLeft:"1px solid #ccc",pl:1},children:[s&&e.map((d,f)=>g.jsx(jg,{name:`[${f}]`,value:d},f)),a&&Object.entries(e).map(([d,f])=>g.jsx(jg,{name:d,value:f},d))]})})]})}function K6({args:e}){return g.jsxs($t,{sx:{p:2,overflow:"auto"},children:[g.jsx(zt,{variant:"h6",gutterBottom:!0,children:"PanDownload Props"}),g.jsx(Go,{spacing:1,children:Object.entries(e).map(([t,n])=>g.jsx(jg,{name:t,value:n},t))})]})}function Y6(){const[e,t]=h.useState("list"),{enabledRef:n}=h.useContext(xa),i=(n==null?void 0:n.current)??!1,[a,s]=h.useState(!1),c=Co({palette:{primary:{main:"#C49464"},secondary:{main:"#00473E"}}}),u={"git.door43.org":{uW:["en_tn","en_tw","en_ugl","grc_ugnt","hbo_uhb","en_ust","en_ult","en_ta","en_uhl"]}},d=[["git.door43.org/BurritoTruck","Xenizo curated content (Door43)"],["git.door43.org/uW","unfoldingWord curated content (Door43)"],["git.door43.org/shower","Aquifer exported content (Door43)"]],f=h.useMemo(()=>{if(e==="whitelist"&&d.length>0){const x=d[0][0];return P=>P.source.startsWith(x)}return null},[e,d]),m=()=>{t(x=>x==="list"?"whitelist":"list")},y=h.useMemo(()=>({sources:e==="list"?u:d,tableTitle:e==="list"?"Remote Resources (List Mode)":"Remote Resources (Whitelist Mode)",defaultFilterProps:f,showColumnFilters:!0,sx:{flex:1}}),[e,f]);return g.jsxs($t,{sx:{p:2,display:"grid",gridTemplateColumns:"320px 1fr",gap:2,height:"100vh"},children:[g.jsxs(Gn,{elevation:2,sx:{p:2,overflow:"auto"},children:[g.jsx(zt,{variant:"h6",gutterBottom:!0,children:"PanDownload Props"}),g.jsx(nc,{sx:{mb:2}}),g.jsxs(Go,{spacing:2,children:[g.jsxs($t,{children:[g.jsx(zt,{variant:"subtitle2",children:"Network status"}),g.jsx(ma,{label:i?"Online":"Offline",color:i?"success":"warning",size:"small"})]}),g.jsxs($t,{children:[g.jsx(zt,{variant:"subtitle2",children:"Mode"}),g.jsxs(Go,{direction:"row",spacing:1,alignItems:"center",children:[g.jsx(ma,{label:e,color:"primary",size:"small"}),g.jsx(Wo,{size:"small",variant:"outlined",onClick:m,disabled:!i,children:"Switch mode"})]})]}),g.jsx(K6,{args:{sources:e==="list"?u:d,tableTitle:e==="list"?"Remote Resources (List Mode)":"Remote Resources (Whitelist Mode)",defaultFilterProps:f,showColumnFilters:!0}}),!i&&g.jsx(ug,{severity:"warning",children:"Internet is required to load remote repositories."})]})]}),g.jsxs(Gn,{elevation:2,sx:{p:2,overflow:"hidden",display:"flex",flexDirection:"column"},children:[g.jsx(zt,{variant:"h6",gutterBottom:!0,children:"Live Preview"}),g.jsx(nc,{sx:{mb:2}}),i?g.jsx(u1,{theme:c,...y}):g.jsx(ug,{severity:"info",children:"Connect to the internet to see the component preview."})]}),g.jsxs($t,{sx:{flex:1,minHeight:0,overflow:"auto"},children:[g.jsx(Wo,{onClick:()=>s(!0),children:"PanDownload in PanDialogue"}),g.jsx(md,{isOpen:a,closeFn:()=>s(!1),children:g.jsx(is,{children:g.jsx(u1,{theme:c,...y})})})]})]})}function X6(){const[e,t]=h.useState(null),i=Object.entries([{code:"AD",label:"Andorra",phone:"376"},{code:"AI",label:"Anguilla",phone:"1-264"},{code:"AL",label:"Albania",phone:"355"},{code:"AM",label:"Armenia",phone:"374"},{code:"AO",label:"Angola",phone:"244"},{code:"AQ",label:"Antarctica",phone:"672"},{code:"AR",label:"Argentina",phone:"54"},{code:"AS",label:"American Samoa",phone:"1-684"},{code:"AT",label:"Austria",phone:"43"}]).map(([a,s])=>({code:s.code,label:s.label}));return i.length?g.jsx(R6,{value:e,data:i,titleLabel:"Countries",onChange:(a,s)=>{t(s)},getOptionLabel:a=>`${a.label||""} (${a.code})`}):g.jsx("p",{children:"loading"})}function Q6(){return g.jsx(W2,{titleKey:"test",widget:g.jsx("div",{children:"widget"}),currentId:"core-client-rcl"})}function J6({children:e}){return g.jsx(Xn,{container:!0,spacing:2,children:e})}function Vi({children:e,title:t}){return g.jsxs(Xn,{size:12,item:!0,sx:{p:2},children:[g.jsx("h1",{children:t}),e]})}function Z6(){const[e,t]=h.useState(window.innerHeight-64),n=h.useCallback(i=>{t(window.innerHeight-64)},[]);return h.useEffect(()=>(window.addEventListener("resize",n),()=>{window.removeEventListener("resize",n)}),[n]),g.jsxs($t,{sx:{maxHeight:e},children:[g.jsxs(J6,{children:[g.jsx(Vi,{title:"Appbar Hamburger",children:g.jsx(W6,{})}),g.jsx(Vi,{title:"PanFilteredMenu",children:g.jsx(X6,{})}),g.jsx(Vi,{title:"Internet Switch",children:g.jsx(_6,{})}),g.jsx(Vi,{title:"PanDialog",children:g.jsx(H6,{})}),g.jsx(Vi,{title:"PanTable",children:g.jsx(q6,{})}),g.jsx(Vi,{title:"PanDownload",children:g.jsx(Y6,{})})]}),g.jsx(Vi,{title:"Header",children:g.jsx(Q6,{})})]})}BP.createRoot(document.getElementById("root")).render(g.jsx(F6,{requireNet:!1,titleKey:"pages:core-client-rcl:title",currentId:"core-client-rcl",children:g.jsx(Z6,{})}));