From b6a592fc93ccbccf597529b9c8755f30c0a850d5 Mon Sep 17 00:00:00 2001 From: itsmeurbi Date: Wed, 24 Jul 2024 16:15:30 +0000 Subject: [PATCH] deploy: 3e7dd4c6cf59c529f616718b2e310ed0b5d1f1e2 --- assets/index-BJk5kHU9.js | 337 +++++++++++++++++++++++++++++++++++++++ index.html | 2 +- 2 files changed, 338 insertions(+), 1 deletion(-) create mode 100644 assets/index-BJk5kHU9.js diff --git a/assets/index-BJk5kHU9.js b/assets/index-BJk5kHU9.js new file mode 100644 index 0000000..dbd28c0 --- /dev/null +++ b/assets/index-BJk5kHU9.js @@ -0,0 +1,337 @@ +var oN=Object.defineProperty;var iN=(e,t,n)=>t in e?oN(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var gt=(e,t,n)=>iN(e,typeof t!="symbol"?t+"":t,n);function gR(e,t){for(var n=0;nr[o]})}}}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 o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var pt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Cb(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function io(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?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(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var mR={exports:{}},Sg={},vR={exports:{}},wt={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Td=Symbol.for("react.element"),sN=Symbol.for("react.portal"),aN=Symbol.for("react.fragment"),lN=Symbol.for("react.strict_mode"),cN=Symbol.for("react.profiler"),uN=Symbol.for("react.provider"),dN=Symbol.for("react.context"),fN=Symbol.for("react.forward_ref"),pN=Symbol.for("react.suspense"),hN=Symbol.for("react.memo"),gN=Symbol.for("react.lazy"),hw=Symbol.iterator;function mN(e){return e===null||typeof e!="object"?null:(e=hw&&e[hw]||e["@@iterator"],typeof e=="function"?e:null)}var yR={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},bR=Object.assign,xR={};function cc(e,t,n){this.props=e,this.context=t,this.refs=xR,this.updater=n||yR}cc.prototype.isReactComponent={};cc.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};cc.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function CR(){}CR.prototype=cc.prototype;function Sb(e,t,n){this.props=e,this.context=t,this.refs=xR,this.updater=n||yR}var wb=Sb.prototype=new CR;wb.constructor=Sb;bR(wb,cc.prototype);wb.isPureReactComponent=!0;var gw=Array.isArray,SR=Object.prototype.hasOwnProperty,Pb={current:null},wR={key:!0,ref:!0,__self:!0,__source:!0};function PR(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)SR.call(t,r)&&!wR.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1>>1,Ce=N[ve];if(0>>1;veo(ye,Z))ueo(Be,ye)?(N[ve]=Be,N[ue]=Z,ve=ue):(N[ve]=ye,N[ae]=Z,ve=ae);else if(ueo(Be,Z))N[ve]=Be,N[ue]=Z,ve=ue;else break e}}return K}function o(N,K){var Z=N.sortIndex-K.sortIndex;return Z!==0?Z:N.id-K.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],c=[],u=1,f=null,p=3,h=!1,v=!1,m=!1,w=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,S=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function _(N){for(var K=n(c);K!==null;){if(K.callback===null)r(c);else if(K.startTime<=N)r(c),K.sortIndex=K.expirationTime,t(l,K);else break;K=n(c)}}function $(N){if(m=!1,_(N),!v)if(n(l)!==null)v=!0,D(T);else{var K=n(c);K!==null&&G($,K.startTime-N)}}function T(N,K){v=!1,m&&(m=!1,y(A),A=-1),h=!0;var Z=p;try{for(_(K),f=n(l);f!==null&&(!(f.expirationTime>K)||N&&!B());){var ve=f.callback;if(typeof ve=="function"){f.callback=null,p=f.priorityLevel;var Ce=ve(f.expirationTime<=K);K=e.unstable_now(),typeof Ce=="function"?f.callback=Ce:f===n(l)&&r(l),_(K)}else r(l);f=n(l)}if(f!==null)var se=!0;else{var ae=n(c);ae!==null&&G($,ae.startTime-K),se=!1}return se}finally{f=null,p=Z,h=!1}}var P=!1,O=null,A=-1,E=5,j=-1;function B(){return!(e.unstable_now()-jN||125ve?(N.sortIndex=Z,t(c,N),n(l)===null&&N===n(c)&&(m?(y(A),A=-1):m=!0,G($,Z-ve))):(N.sortIndex=Ce,t(l,N),v||h||(v=!0,D(T))),N},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(N){var K=p;return function(){var Z=p;p=K;try{return N.apply(this,arguments)}finally{p=Z}}}})($R);TR.exports=$R;var RN=TR.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var TN=R,ro=RN;function We(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),R0=Object.prototype.hasOwnProperty,$N=/^[: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]*$/,vw={},yw={};function ON(e){return R0.call(yw,e)?!0:R0.call(vw,e)?!1:$N.test(e)?yw[e]=!0:(vw[e]=!0,!1)}function MN(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function AN(e,t,n,r){if(t===null||typeof t>"u"||MN(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function kr(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var er={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){er[e]=new kr(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];er[t]=new kr(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){er[e]=new kr(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){er[e]=new kr(e,2,!1,e,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(e){er[e]=new kr(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){er[e]=new kr(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){er[e]=new kr(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){er[e]=new kr(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){er[e]=new kr(e,5,!1,e.toLowerCase(),null,!1,!1)});var _b=/[\-:]([a-z])/g;function Rb(e){return e[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(e){var t=e.replace(_b,Rb);er[t]=new kr(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(_b,Rb);er[t]=new kr(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(_b,Rb);er[t]=new kr(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){er[e]=new kr(e,1,!1,e.toLowerCase(),null,!1,!1)});er.xlinkHref=new kr("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){er[e]=new kr(e,1,!1,e.toLowerCase(),null,!0,!0)});function Tb(e,t,n,r){var o=er.hasOwnProperty(t)?er[t]:null;(o!==null?o.type!==0:r||!(2a||o[s]!==i[a]){var l=` +`+o[s].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Cv=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Qc(e):""}function IN(e){switch(e.tag){case 5:return Qc(e.type);case 16:return Qc("Lazy");case 13:return Qc("Suspense");case 19:return Qc("SuspenseList");case 0:case 2:case 15:return e=Sv(e.type,!1),e;case 11:return e=Sv(e.type.render,!1),e;case 1:return e=Sv(e.type,!0),e;default:return""}}function M0(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case cl:return"Fragment";case ll:return"Portal";case T0:return"Profiler";case $b:return"StrictMode";case $0:return"Suspense";case O0:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case AR:return(e.displayName||"Context")+".Consumer";case MR:return(e._context.displayName||"Context")+".Provider";case Ob:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Mb:return t=e.displayName||null,t!==null?t:M0(e.type)||"Memo";case ss:t=e._payload,e=e._init;try{return M0(e(t))}catch{}}return null}function EN(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return M0(t);case 8:return t===$b?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Ts(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ER(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function LN(e){var t=ER(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Af(e){e._valueTracker||(e._valueTracker=LN(e))}function LR(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ER(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function uh(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function A0(e,t){var n=t.checked;return un({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function xw(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ts(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function jR(e,t){t=t.checked,t!=null&&Tb(e,"checked",t,!1)}function I0(e,t){jR(e,t);var n=Ts(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?E0(e,t.type,n):t.hasOwnProperty("defaultValue")&&E0(e,t.type,Ts(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Cw(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function E0(e,t,n){(t!=="number"||uh(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Zc=Array.isArray;function Rl(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=If.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Hu(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Cu={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},jN=["Webkit","ms","Moz","O"];Object.keys(Cu).forEach(function(e){jN.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Cu[t]=Cu[e]})});function FR(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Cu.hasOwnProperty(e)&&Cu[e]?(""+t).trim():t+"px"}function zR(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=FR(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var BN=un({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 B0(e,t){if(t){if(BN[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(We(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(We(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(We(61))}if(t.style!=null&&typeof t.style!="object")throw Error(We(62))}}function D0(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){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 N0=null;function Ab(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var F0=null,Tl=null,$l=null;function Pw(e){if(e=Md(e)){if(typeof F0!="function")throw Error(We(280));var t=e.stateNode;t&&(t=Rg(t),F0(e.stateNode,e.type,t))}}function VR(e){Tl?$l?$l.push(e):$l=[e]:Tl=e}function WR(){if(Tl){var e=Tl,t=$l;if($l=Tl=null,Pw(e),t)for(e=0;e>>=0,e===0?32:31-(YN(e)/XN|0)|0}var Ef=64,Lf=4194304;function Jc(e){switch(e&-e){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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function hh(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~o;a!==0?r=Jc(a):(i&=s,i!==0&&(r=Jc(i)))}else s=n&~o,s!==0?r=Jc(s):i!==0&&(r=Jc(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function $d(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-zo(t),e[t]=n}function JN(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=wu),Iw=" ",Ew=!1;function cT(e,t){switch(e){case"keyup":return R4.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function uT(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ul=!1;function $4(e,t){switch(e){case"compositionend":return uT(t);case"keypress":return t.which!==32?null:(Ew=!0,Iw);case"textInput":return e=t.data,e===Iw&&Ew?null:e;default:return null}}function O4(e,t){if(ul)return e==="compositionend"||!Fb&&cT(e,t)?(e=aT(),Lp=Bb=ds=null,ul=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Dw(n)}}function hT(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?hT(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function gT(){for(var e=window,t=uh();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=uh(e.document)}return t}function zb(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function N4(e){var t=gT(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&hT(n.ownerDocument.documentElement,n)){if(r!==null&&zb(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Nw(n,i);var s=Nw(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,dl=null,G0=null,ku=null,K0=!1;function Fw(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;K0||dl==null||dl!==uh(r)||(r=dl,"selectionStart"in r&&zb(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ku&&qu(ku,r)||(ku=r,r=vh(G0,"onSelect"),0hl||(e.current=J0[hl],J0[hl]=null,hl--)}function qt(e,t){hl++,J0[hl]=e.current,e.current=t}var $s={},dr=Ls($s),Lr=Ls(!1),ka=$s;function Wl(e,t){var n=e.type.contextTypes;if(!n)return $s;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function jr(e){return e=e.childContextTypes,e!=null}function bh(){tn(Lr),tn(dr)}function Kw(e,t,n){if(dr.current!==$s)throw Error(We(168));qt(dr,t),qt(Lr,n)}function PT(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(We(108,EN(e)||"Unknown",o));return un({},n,r)}function xh(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||$s,ka=dr.current,qt(dr,e),qt(Lr,Lr.current),!0}function Yw(e,t,n){var r=e.stateNode;if(!r)throw Error(We(169));n?(e=PT(e,t,ka),r.__reactInternalMemoizedMergedChildContext=e,tn(Lr),tn(dr),qt(dr,e)):tn(Lr),qt(Lr,n)}var $i=null,Tg=!1,jv=!1;function kT(e){$i===null?$i=[e]:$i.push(e)}function Q4(e){Tg=!0,kT(e)}function js(){if(!jv&&$i!==null){jv=!0;var e=0,t=zt;try{var n=$i;for(zt=1;e>=s,o-=s,Ei=1<<32-zo(t)+o|n<A?(E=O,O=null):E=O.sibling;var j=p(y,O,_[A],$);if(j===null){O===null&&(O=E);break}e&&O&&j.alternate===null&&t(y,O),S=i(j,S,A),P===null?T=j:P.sibling=j,P=j,O=E}if(A===_.length)return n(y,O),on&&Zs(y,A),T;if(O===null){for(;A<_.length;A++)O=f(y,_[A],$),O!==null&&(S=i(O,S,A),P===null?T=O:P.sibling=O,P=O);return on&&Zs(y,A),T}for(O=r(y,O);A<_.length;A++)E=h(O,y,A,_[A],$),E!==null&&(e&&E.alternate!==null&&O.delete(E.key===null?A:E.key),S=i(E,S,A),P===null?T=E:P.sibling=E,P=E);return e&&O.forEach(function(B){return t(y,B)}),on&&Zs(y,A),T}function m(y,S,_,$){var T=Tc(_);if(typeof T!="function")throw Error(We(150));if(_=T.call(_),_==null)throw Error(We(151));for(var P=T=null,O=S,A=S=0,E=null,j=_.next();O!==null&&!j.done;A++,j=_.next()){O.index>A?(E=O,O=null):E=O.sibling;var B=p(y,O,j.value,$);if(B===null){O===null&&(O=E);break}e&&O&&B.alternate===null&&t(y,O),S=i(B,S,A),P===null?T=B:P.sibling=B,P=B,O=E}if(j.done)return n(y,O),on&&Zs(y,A),T;if(O===null){for(;!j.done;A++,j=_.next())j=f(y,j.value,$),j!==null&&(S=i(j,S,A),P===null?T=j:P.sibling=j,P=j);return on&&Zs(y,A),T}for(O=r(y,O);!j.done;A++,j=_.next())j=h(O,y,A,j.value,$),j!==null&&(e&&j.alternate!==null&&O.delete(j.key===null?A:j.key),S=i(j,S,A),P===null?T=j:P.sibling=j,P=j);return e&&O.forEach(function(V){return t(y,V)}),on&&Zs(y,A),T}function w(y,S,_,$){if(typeof _=="object"&&_!==null&&_.type===cl&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case Mf:e:{for(var T=_.key,P=S;P!==null;){if(P.key===T){if(T=_.type,T===cl){if(P.tag===7){n(y,P.sibling),S=o(P,_.props.children),S.return=y,y=S;break e}}else if(P.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===ss&&Qw(T)===P.type){n(y,P.sibling),S=o(P,_.props),S.ref=Ic(y,P,_),S.return=y,y=S;break e}n(y,P);break}else t(y,P);P=P.sibling}_.type===cl?(S=ba(_.props.children,y.mode,$,_.key),S.return=y,y=S):($=Wp(_.type,_.key,_.props,null,y.mode,$),$.ref=Ic(y,S,_),$.return=y,y=$)}return s(y);case ll:e:{for(P=_.key;S!==null;){if(S.key===P)if(S.tag===4&&S.stateNode.containerInfo===_.containerInfo&&S.stateNode.implementation===_.implementation){n(y,S.sibling),S=o(S,_.children||[]),S.return=y,y=S;break e}else{n(y,S);break}else t(y,S);S=S.sibling}S=Hv(_,y.mode,$),S.return=y,y=S}return s(y);case ss:return P=_._init,w(y,S,P(_._payload),$)}if(Zc(_))return v(y,S,_,$);if(Tc(_))return m(y,S,_,$);Vf(y,_)}return typeof _=="string"&&_!==""||typeof _=="number"?(_=""+_,S!==null&&S.tag===6?(n(y,S.sibling),S=o(S,_),S.return=y,y=S):(n(y,S),S=Wv(_,y.mode,$),S.return=y,y=S),s(y)):n(y,S)}return w}var Ul=$T(!0),OT=$T(!1),wh=Ls(null),Ph=null,vl=null,Ub=null;function Gb(){Ub=vl=Ph=null}function Kb(e){var t=wh.current;tn(wh),e._currentValue=t}function ny(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ml(e,t){Ph=e,Ub=vl=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Er=!0),e.firstContext=null)}function Po(e){var t=e._currentValue;if(Ub!==e)if(e={context:e,memoizedValue:t,next:null},vl===null){if(Ph===null)throw Error(We(308));vl=e,Ph.dependencies={lanes:0,firstContext:e}}else vl=vl.next=e;return t}var fa=null;function Yb(e){fa===null?fa=[e]:fa.push(e)}function MT(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Yb(t)):(n.next=o.next,o.next=n),t.interleaved=n,Hi(e,r)}function Hi(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var as=!1;function Xb(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function AT(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Fi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Cs(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Mt&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Hi(e,n)}return o=r.interleaved,o===null?(t.next=t,Yb(r)):(t.next=o.next,o.next=t),r.interleaved=t,Hi(e,n)}function Bp(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Eb(e,n)}}function Zw(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function kh(e,t,n,r){var o=e.updateQueue;as=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,c=l.next;l.next=null,s===null?i=c:s.next=c,s=l;var u=e.alternate;u!==null&&(u=u.updateQueue,a=u.lastBaseUpdate,a!==s&&(a===null?u.firstBaseUpdate=c:a.next=c,u.lastBaseUpdate=l))}if(i!==null){var f=o.baseState;s=0,u=c=l=null,a=i;do{var p=a.lane,h=a.eventTime;if((r&p)===p){u!==null&&(u=u.next={eventTime:h,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=e,m=a;switch(p=t,h=n,m.tag){case 1:if(v=m.payload,typeof v=="function"){f=v.call(h,f,p);break e}f=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=m.payload,p=typeof v=="function"?v.call(h,f,p):v,p==null)break e;f=un({},f,p);break e;case 2:as=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,p=o.effects,p===null?o.effects=[a]:p.push(a))}else h={eventTime:h,lane:p,tag:a.tag,payload:a.payload,callback:a.callback,next:null},u===null?(c=u=h,l=f):u=u.next=h,s|=p;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;p=a,a=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(!0);if(u===null&&(l=f),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=u,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Ta|=s,e.lanes=s,e.memoizedState=f}}function Jw(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Dv.transition;Dv.transition={};try{e(!1),t()}finally{zt=n,Dv.transition=r}}function XT(){return ko().memoizedState}function t3(e,t,n){var r=ws(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},qT(e))QT(t,n);else if(n=MT(e,t,n,r),n!==null){var o=xr();Vo(n,e,r,o),ZT(n,t,r)}}function n3(e,t,n){var r=ws(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(qT(e))QT(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,a=i(s,n);if(o.hasEagerState=!0,o.eagerState=a,Ho(a,s)){var l=t.interleaved;l===null?(o.next=o,Yb(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=MT(e,t,o,r),n!==null&&(o=xr(),Vo(n,e,r,o),ZT(n,t,r))}}function qT(e){var t=e.alternate;return e===cn||t!==null&&t===cn}function QT(e,t){_u=Rh=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ZT(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Eb(e,n)}}var Th={readContext:Po,useCallback:ir,useContext:ir,useEffect:ir,useImperativeHandle:ir,useInsertionEffect:ir,useLayoutEffect:ir,useMemo:ir,useReducer:ir,useRef:ir,useState:ir,useDebugValue:ir,useDeferredValue:ir,useTransition:ir,useMutableSource:ir,useSyncExternalStore:ir,useId:ir,unstable_isNewReconciler:!1},r3={readContext:Po,useCallback:function(e,t){return Qo().memoizedState=[e,t===void 0?null:t],e},useContext:Po,useEffect:t2,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Np(4194308,4,HT.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Np(4194308,4,e,t)},useInsertionEffect:function(e,t){return Np(4,2,e,t)},useMemo:function(e,t){var n=Qo();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Qo();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=t3.bind(null,cn,e),[r.memoizedState,e]},useRef:function(e){var t=Qo();return e={current:e},t.memoizedState=e},useState:e2,useDebugValue:rx,useDeferredValue:function(e){return Qo().memoizedState=e},useTransition:function(){var e=e2(!1),t=e[0];return e=e3.bind(null,e[1]),Qo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=cn,o=Qo();if(on){if(n===void 0)throw Error(We(407));n=n()}else{if(n=t(),Hn===null)throw Error(We(349));Ra&30||jT(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,t2(DT.bind(null,r,i,e),[e]),r.flags|=2048,od(9,BT.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Qo(),t=Hn.identifierPrefix;if(on){var n=Li,r=Ei;n=(r&~(1<<32-zo(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=nd++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[ni]=t,e[Ju]=r,l$(e,t,!1,!1),t.stateNode=e;e:{switch(s=D0(n,r),n){case"dialog":Jt("cancel",e),Jt("close",e),o=r;break;case"iframe":case"object":case"embed":Jt("load",e),o=r;break;case"video":case"audio":for(o=0;oYl&&(t.flags|=128,r=!0,Ec(i,!1),t.lanes=4194304)}else{if(!r)if(e=_h(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ec(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!on)return sr(t),null}else 2*yn()-i.renderingStartTime>Yl&&n!==1073741824&&(t.flags|=128,r=!0,Ec(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=yn(),t.sibling=null,n=sn.current,qt(sn,r?n&1|2:n&1),t):(sr(t),null);case 22:case 23:return cx(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Xr&1073741824&&(sr(t),t.subtreeFlags&6&&(t.flags|=8192)):sr(t),null;case 24:return null;case 25:return null}throw Error(We(156,t.tag))}function d3(e,t){switch(Wb(t),t.tag){case 1:return jr(t.type)&&bh(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Gl(),tn(Lr),tn(dr),Zb(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Qb(t),null;case 13:if(tn(sn),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(We(340));Hl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return tn(sn),null;case 4:return Gl(),null;case 10:return Kb(t.type._context),null;case 22:case 23:return cx(),null;case 24:return null;default:return null}}var Hf=!1,cr=!1,f3=typeof WeakSet=="function"?WeakSet:Set,et=null;function yl(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){gn(e,t,r)}else n.current=null}function dy(e,t,n){try{n()}catch(r){gn(e,t,r)}}var f2=!1;function p3(e,t){if(Y0=gh,e=gT(),zb(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,c=0,u=0,f=e,p=null;t:for(;;){for(var h;f!==n||o!==0&&f.nodeType!==3||(a=s+o),f!==i||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(h=f.firstChild)!==null;)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++c===o&&(a=s),p===i&&++u===r&&(l=s),(h=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=h}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(X0={focusedElem:e,selectionRange:n},gh=!1,et=t;et!==null;)if(t=et,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,et=e;else for(;et!==null;){t=et;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var m=v.memoizedProps,w=v.memoizedState,y=t.stateNode,S=y.getSnapshotBeforeUpdate(t.elementType===t.type?m:Bo(t.type,m),w);y.__reactInternalSnapshotBeforeUpdate=S}break;case 3:var _=t.stateNode.containerInfo;_.nodeType===1?_.textContent="":_.nodeType===9&&_.documentElement&&_.removeChild(_.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(We(163))}}catch($){gn(t,t.return,$)}if(e=t.sibling,e!==null){e.return=t.return,et=e;break}et=t.return}return v=f2,f2=!1,v}function Ru(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&dy(t,n,i)}o=o.next}while(o!==r)}}function Mg(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function fy(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function d$(e){var t=e.alternate;t!==null&&(e.alternate=null,d$(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ni],delete t[Ju],delete t[Z0],delete t[X4],delete t[q4])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function f$(e){return e.tag===5||e.tag===3||e.tag===4}function p2(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||f$(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function py(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=yh));else if(r!==4&&(e=e.child,e!==null))for(py(e,t,n),e=e.sibling;e!==null;)py(e,t,n),e=e.sibling}function hy(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(hy(e,t,n),e=e.sibling;e!==null;)hy(e,t,n),e=e.sibling}var Xn=null,No=!1;function es(e,t,n){for(n=n.child;n!==null;)p$(e,t,n),n=n.sibling}function p$(e,t,n){if(ii&&typeof ii.onCommitFiberUnmount=="function")try{ii.onCommitFiberUnmount(wg,n)}catch{}switch(n.tag){case 5:cr||yl(n,t);case 6:var r=Xn,o=No;Xn=null,es(e,t,n),Xn=r,No=o,Xn!==null&&(No?(e=Xn,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Xn.removeChild(n.stateNode));break;case 18:Xn!==null&&(No?(e=Xn,n=n.stateNode,e.nodeType===8?Lv(e.parentNode,n):e.nodeType===1&&Lv(e,n),Yu(e)):Lv(Xn,n.stateNode));break;case 4:r=Xn,o=No,Xn=n.stateNode.containerInfo,No=!0,es(e,t,n),Xn=r,No=o;break;case 0:case 11:case 14:case 15:if(!cr&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&dy(n,t,s),o=o.next}while(o!==r)}es(e,t,n);break;case 1:if(!cr&&(yl(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){gn(n,t,a)}es(e,t,n);break;case 21:es(e,t,n);break;case 22:n.mode&1?(cr=(r=cr)||n.memoizedState!==null,es(e,t,n),cr=r):es(e,t,n);break;default:es(e,t,n)}}function h2(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new f3),t.forEach(function(r){var o=S3.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Lo(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=s),r&=~i}if(r=o,r=yn()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*g3(r/1960))-r,10e?16:e,fs===null)var r=!1;else{if(e=fs,fs=null,Mh=0,Mt&6)throw Error(We(331));var o=Mt;for(Mt|=4,et=e.current;et!==null;){var i=et,s=i.child;if(et.flags&16){var a=i.deletions;if(a!==null){for(var l=0;lyn()-ax?ya(e,0):sx|=n),Br(e,t)}function C$(e,t){t===0&&(e.mode&1?(t=Lf,Lf<<=1,!(Lf&130023424)&&(Lf=4194304)):t=1);var n=xr();e=Hi(e,t),e!==null&&($d(e,t,n),Br(e,n))}function C3(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),C$(e,n)}function S3(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(We(314))}r!==null&&r.delete(t),C$(e,n)}var S$;S$=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Lr.current)Er=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Er=!1,c3(e,t,n);Er=!!(e.flags&131072)}else Er=!1,on&&t.flags&1048576&&_T(t,Sh,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Fp(e,t),e=t.pendingProps;var o=Wl(t,dr.current);Ml(t,n),o=ex(null,t,r,e,o,n);var i=tx();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,jr(r)?(i=!0,xh(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Xb(t),o.updater=Og,t.stateNode=o,o._reactInternals=t,oy(t,r,e,n),t=ay(null,t,r,!0,i,n)):(t.tag=0,on&&i&&Vb(t),vr(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Fp(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=P3(r),e=Bo(r,e),o){case 0:t=sy(null,t,r,e,n);break e;case 1:t=c2(null,t,r,e,n);break e;case 11:t=a2(null,t,r,e,n);break e;case 14:t=l2(null,t,r,Bo(r.type,e),n);break e}throw Error(We(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Bo(r,o),sy(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Bo(r,o),c2(e,t,r,o,n);case 3:e:{if(i$(t),e===null)throw Error(We(387));r=t.pendingProps,i=t.memoizedState,o=i.element,AT(e,t),kh(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Kl(Error(We(423)),t),t=u2(e,t,r,n,o);break e}else if(r!==o){o=Kl(Error(We(424)),t),t=u2(e,t,r,n,o);break e}else for(Jr=xs(t.stateNode.containerInfo.firstChild),to=t,on=!0,Fo=null,n=OT(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Hl(),r===o){t=Ui(e,t,n);break e}vr(e,t,r,n)}t=t.child}return t;case 5:return IT(t),e===null&&ty(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,q0(r,o)?s=null:i!==null&&q0(r,i)&&(t.flags|=32),o$(e,t),vr(e,t,s,n),t.child;case 6:return e===null&&ty(t),null;case 13:return s$(e,t,n);case 4:return qb(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ul(t,null,r,n):vr(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Bo(r,o),a2(e,t,r,o,n);case 7:return vr(e,t,t.pendingProps,n),t.child;case 8:return vr(e,t,t.pendingProps.children,n),t.child;case 12:return vr(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,qt(wh,r._currentValue),r._currentValue=s,i!==null)if(Ho(i.value,s)){if(i.children===o.children&&!Lr.current){t=Ui(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){s=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=Fi(-1,n&-n),l.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),ny(i.return,n,t),a.lanes|=n;break}l=l.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(We(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),ny(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}vr(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ml(t,n),o=Po(o),r=r(o),t.flags|=1,vr(e,t,r,n),t.child;case 14:return r=t.type,o=Bo(r,t.pendingProps),o=Bo(r.type,o),l2(e,t,r,o,n);case 15:return n$(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Bo(r,o),Fp(e,t),t.tag=1,jr(r)?(e=!0,xh(t)):e=!1,Ml(t,n),JT(t,r,o),oy(t,r,o,n),ay(null,t,r,!0,e,n);case 19:return a$(e,t,n);case 22:return r$(e,t,n)}throw Error(We(156,t.tag))};function w$(e,t){return qR(e,t)}function w3(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function bo(e,t,n,r){return new w3(e,t,n,r)}function dx(e){return e=e.prototype,!(!e||!e.isReactComponent)}function P3(e){if(typeof e=="function")return dx(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ob)return 11;if(e===Mb)return 14}return 2}function Ps(e,t){var n=e.alternate;return n===null?(n=bo(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Wp(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")dx(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case cl:return ba(n.children,o,i,t);case $b:s=8,o|=8;break;case T0:return e=bo(12,n,t,o|2),e.elementType=T0,e.lanes=i,e;case $0:return e=bo(13,n,t,o),e.elementType=$0,e.lanes=i,e;case O0:return e=bo(19,n,t,o),e.elementType=O0,e.lanes=i,e;case IR:return Ig(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case MR:s=10;break e;case AR:s=9;break e;case Ob:s=11;break e;case Mb:s=14;break e;case ss:s=16,r=null;break e}throw Error(We(130,e==null?e:typeof e,""))}return t=bo(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function ba(e,t,n,r){return e=bo(7,e,r,t),e.lanes=n,e}function Ig(e,t,n,r){return e=bo(22,e,r,t),e.elementType=IR,e.lanes=n,e.stateNode={isHidden:!1},e}function Wv(e,t,n){return e=bo(6,e,null,t),e.lanes=n,e}function Hv(e,t,n){return t=bo(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function k3(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Pv(0),this.expirationTimes=Pv(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pv(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function fx(e,t,n,r,o,i,s,a,l){return e=new k3(e,t,n,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=bo(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Xb(i),e}function _3(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(R$)}catch(e){console.error(e)}}R$(),RR.exports=so;var Xl=RR.exports;const Kf=Cb(Xl);var S2=Xl;_0.createRoot=S2.createRoot,_0.hydrateRoot=S2.hydrateRoot;/** + * @remix-run/router v1.16.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function sd(){return sd=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function T$(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function A3(){return Math.random().toString(36).substr(2,8)}function P2(e,t){return{usr:e.state,key:e.key,idx:t}}function by(e,t,n,r){return n===void 0&&(n=null),sd({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Id(t):t,{state:n,key:t&&t.key||r||A3()})}function Eh(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Id(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function I3(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a=ha.Pop,l=null,c=u();c==null&&(c=0,s.replaceState(sd({},s.state,{idx:c}),""));function u(){return(s.state||{idx:null}).idx}function f(){a=ha.Pop;let w=u(),y=w==null?null:w-c;c=w,l&&l({action:a,location:m.location,delta:y})}function p(w,y){a=ha.Push;let S=by(m.location,w,y);c=u()+1;let _=P2(S,c),$=m.createHref(S);try{s.pushState(_,"",$)}catch(T){if(T instanceof DOMException&&T.name==="DataCloneError")throw T;o.location.assign($)}i&&l&&l({action:a,location:m.location,delta:1})}function h(w,y){a=ha.Replace;let S=by(m.location,w,y);c=u();let _=P2(S,c),$=m.createHref(S);s.replaceState(_,"",$),i&&l&&l({action:a,location:m.location,delta:0})}function v(w){let y=o.location.origin!=="null"?o.location.origin:o.location.href,S=typeof w=="string"?w:Eh(w);return S=S.replace(/ $/,"%20"),ur(y,"No window.location.(origin|href) available to create URL for href: "+S),new URL(S,y)}let m={get action(){return a},get location(){return e(o,s)},listen(w){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(w2,f),l=w,()=>{o.removeEventListener(w2,f),l=null}},createHref(w){return t(o,w)},createURL:v,encodeLocation(w){let y=v(w);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:p,replace:h,go(w){return s.go(w)}};return m}var k2;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(k2||(k2={}));function E3(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Id(t):t,o=mx(r.pathname||"/",n);if(o==null)return null;let i=$$(e);L3(i);let s=null;for(let a=0;s==null&&a{let l={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};l.relativePath.startsWith("/")&&(ur(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=ks([r,l.relativePath]),u=n.concat(l);i.children&&i.children.length>0&&(ur(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),$$(i.children,t,u,c)),!(i.path==null&&!i.index)&&t.push({path:c,score:V3(c,i.index),routesMeta:u})};return e.forEach((i,s)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,s);else for(let l of O$(i.path))o(i,s,l)}),t}function O$(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=O$(r.join("/")),a=[];return a.push(...s.map(l=>l===""?i:[i,l].join("/"))),o&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function L3(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:W3(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const j3=/^:[\w-]+$/,B3=3,D3=2,N3=1,F3=10,z3=-2,_2=e=>e==="*";function V3(e,t){let n=e.split("/"),r=n.length;return n.some(_2)&&(r+=z3),t&&(r+=D3),n.filter(o=>!_2(o)).reduce((o,i)=>o+(j3.test(i)?B3:i===""?N3:F3),r)}function W3(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function H3(e,t){let{routesMeta:n}=e,r={},o="/",i=[];for(let s=0;s{let{paramName:p,isOptional:h}=u;if(p==="*"){let m=a[f]||"";s=i.slice(0,i.length-m.length).replace(/(.)\/+$/,"$1")}const v=a[f];return h&&!v?c[p]=void 0:c[p]=(v||"").replace(/%2F/g,"/"),c},{}),pathname:i,pathnameBase:s,pattern:e}}function G3(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),T$(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function K3(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return T$(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function mx(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Y3(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Id(e):e;return{pathname:n?n.startsWith("/")?n:X3(n,t):t,search:Z3(r),hash:J3(o)}}function X3(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function Uv(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function q3(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function M$(e,t){let n=q3(e);return t?n.map((r,o)=>o===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function A$(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Id(e):(o=sd({},e),ur(!o.pathname||!o.pathname.includes("?"),Uv("?","pathname","search",o)),ur(!o.pathname||!o.pathname.includes("#"),Uv("#","pathname","hash",o)),ur(!o.search||!o.search.includes("#"),Uv("#","search","hash",o)));let i=e===""||o.pathname==="",s=i?"/":o.pathname,a;if(s==null)a=n;else{let f=t.length-1;if(!r&&s.startsWith("..")){let p=s.split("/");for(;p[0]==="..";)p.shift(),f-=1;o.pathname=p.join("/")}a=f>=0?t[f]:"/"}let l=Y3(o,a),c=s&&s!=="/"&&s.endsWith("/"),u=(i||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}const ks=e=>e.join("/").replace(/\/\/+/g,"/"),Q3=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Z3=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,J3=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function eF(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const I$=["post","put","patch","delete"];new Set(I$);const tF=["get",...I$];new Set(tF);/** + * React Router v6.23.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Lh(){return Lh=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),R.useCallback(function(c,u){if(u===void 0&&(u={}),!a.current)return;if(typeof c=="number"){r.go(c);return}let f=A$(c,JSON.parse(s),i,u.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:ks([t,f.pathname])),(u.replace?r.replace:r.push)(f,u.state,u)},[t,r,s,i,e])}function B$(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=R.useContext(ja),{matches:o}=R.useContext(Ba),{pathname:i}=Ld(),s=JSON.stringify(M$(o,r.v7_relativeSplatPath));return R.useMemo(()=>A$(e,JSON.parse(s),i,n==="path"),[e,s,i,n])}function iF(e,t){return sF(e)}function sF(e,t,n,r){Ed()||ur(!1);let{navigator:o}=R.useContext(ja),{matches:i}=R.useContext(Ba),s=i[i.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let c=Ld(),u;u=c;let f=u.pathname||"/",p=f;if(l!=="/"){let m=l.replace(/^\//,"").split("/");p="/"+f.replace(/^\//,"").split("/").slice(m.length).join("/")}let h=E3(e,{pathname:p});return dF(h&&h.map(m=>Object.assign({},m,{params:Object.assign({},a,m.params),pathname:ks([l,o.encodeLocation?o.encodeLocation(m.pathname).pathname:m.pathname]),pathnameBase:m.pathnameBase==="/"?l:ks([l,o.encodeLocation?o.encodeLocation(m.pathnameBase).pathname:m.pathnameBase])})),i,n,r)}function aF(){let e=gF(),t=eF(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return R.createElement(R.Fragment,null,R.createElement("h2",null,"Unexpected Application Error!"),R.createElement("h3",{style:{fontStyle:"italic"}},t),n?R.createElement("pre",{style:o},n):null,null)}const lF=R.createElement(aF,null);class cF extends R.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?R.createElement(Ba.Provider,{value:this.props.routeContext},R.createElement(E$.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function uF(e){let{routeContext:t,match:n,children:r}=e,o=R.useContext(vx);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),R.createElement(Ba.Provider,{value:t},r)}function dF(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if((i=n)!=null&&i.errors)e=n.matches;else return null}let s=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let u=s.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);u>=0||ur(!1),s=s.slice(0,Math.min(s.length,u+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let u=0;u=0?s=s.slice(0,c+1):s=[s[0]];break}}}return s.reduceRight((u,f,p)=>{let h,v=!1,m=null,w=null;n&&(h=a&&f.route.id?a[f.route.id]:void 0,m=f.route.errorElement||lF,l&&(c<0&&p===0?(vF("route-fallback"),v=!0,w=null):c===p&&(v=!0,w=f.route.hydrateFallbackElement||null)));let y=t.concat(s.slice(0,p+1)),S=()=>{let _;return h?_=m:v?_=w:f.route.Component?_=R.createElement(f.route.Component,null):f.route.element?_=f.route.element:_=u,R.createElement(uF,{match:f,routeContext:{outlet:u,matches:y,isDataRoute:n!=null},children:_})};return n&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?R.createElement(cF,{location:n.location,revalidation:n.revalidation,component:m,error:h,children:S(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):S()},null)}var D$=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(D$||{}),jh=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(jh||{});function fF(e){let t=R.useContext(vx);return t||ur(!1),t}function pF(e){let t=R.useContext(nF);return t||ur(!1),t}function hF(e){let t=R.useContext(Ba);return t||ur(!1),t}function N$(e){let t=hF(),n=t.matches[t.matches.length-1];return n.route.id||ur(!1),n.route.id}function gF(){var e;let t=R.useContext(E$),n=pF(jh.UseRouteError),r=N$(jh.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function mF(){let{router:e}=fF(D$.UseNavigateStable),t=N$(jh.UseNavigateStable),n=R.useRef(!1);return L$(()=>{n.current=!0}),R.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Lh({fromRouteId:t},i)))},[e,t])}const R2={};function vF(e,t,n){R2[e]||(R2[e]=!0)}function yF(e){let{basename:t="/",children:n=null,location:r,navigationType:o=ha.Pop,navigator:i,static:s=!1,future:a}=e;Ed()&&ur(!1);let l=t.replace(/^\/*/,"/"),c=R.useMemo(()=>({basename:l,navigator:i,static:s,future:Lh({v7_relativeSplatPath:!1},a)}),[l,a,i,s]);typeof r=="string"&&(r=Id(r));let{pathname:u="/",search:f="",hash:p="",state:h=null,key:v="default"}=r,m=R.useMemo(()=>{let w=mx(u,l);return w==null?null:{location:{pathname:w,search:f,hash:p,state:h,key:v},navigationType:o}},[l,u,f,p,h,v,o]);return m==null?null:R.createElement(ja.Provider,{value:c},R.createElement(yx.Provider,{children:n,value:m}))}new Promise(()=>{});/** + * React Router DOM v6.23.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function xy(){return xy=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function xF(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function CF(e,t){return e.button===0&&(!t||t==="_self")&&!xF(e)}const SF=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],wF="6";try{window.__reactRouterVersion=wF}catch{}const PF="startTransition",T2=ch[PF];function kF(e){let{basename:t,children:n,future:r,window:o}=e,i=R.useRef();i.current==null&&(i.current=M3({window:o,v5Compat:!0}));let s=i.current,[a,l]=R.useState({action:s.action,location:s.location}),{v7_startTransition:c}=r||{},u=R.useCallback(f=>{c&&T2?T2(()=>l(f)):l(f)},[l,c]);return R.useLayoutEffect(()=>s.listen(u),[s,u]),R.createElement(yF,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const _F=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",RF=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Si=R.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:s,state:a,target:l,to:c,preventScrollReset:u,unstable_viewTransition:f}=t,p=bF(t,SF),{basename:h}=R.useContext(ja),v,m=!1;if(typeof c=="string"&&RF.test(c)&&(v=c,_F))try{let _=new URL(window.location.href),$=c.startsWith("//")?new URL(_.protocol+c):new URL(c),T=mx($.pathname,h);$.origin===_.origin&&T!=null?c=T+$.search+$.hash:m=!0}catch{}let w=rF(c,{relative:o}),y=TF(c,{replace:s,state:a,target:l,preventScrollReset:u,relative:o,unstable_viewTransition:f});function S(_){r&&r(_),_.defaultPrevented||y(_)}return R.createElement("a",xy({},p,{href:v||w,onClick:m||i?r:S,ref:n,target:l}))});var $2;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})($2||($2={}));var O2;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(O2||(O2={}));function TF(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,l=j$(),c=Ld(),u=B$(e,{relative:s});return R.useCallback(f=>{if(CF(f,n)){f.preventDefault();let p=r!==void 0?r:Eh(c)===Eh(u);l(e,{replace:p,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:a})}},[c,l,u,r,o,n,e,i,s,a])}const ql={black:"#000",white:"#fff"},ea={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"},$F={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"},OF=$F,ta={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"},MF={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"},AF=MF,IF={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"},EF=IF,na={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"},ra={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"},LF={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"},jF=LF,BF={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"},DF=BF,oa={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"},NF={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"},FF=NF,zF={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"},VF=zF,WF={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"},HF=WF,UF={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"},GF=UF,rl={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"},KF={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"},YF=KF,XF={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"},qF=XF,F$={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"},QF={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"},ZF=QF,JF=Object.freeze(Object.defineProperty({__proto__:null,amber:GF,blue:na,blueGrey:ZF,brown:qF,common:ql,cyan:jF,deepOrange:YF,deepPurple:AF,green:oa,grey:F$,indigo:EF,lightBlue:ra,lightGreen:FF,lime:VF,orange:rl,pink:OF,purple:ta,red:ea,teal:DF,yellow:HF},Symbol.toStringTag,{value:"Module"}));function Sr(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n=0)continue;n[r]=e[r]}return n}function z$(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var tz=/^((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|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|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)-.*))$/,nz=z$(function(e){return tz.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function rz(e){if(e.sheet)return e.sheet;for(var t=0;t0?qn(fc,--Fr):0,Ql--,Rn===10&&(Ql=1,Ng--),Rn}function no(){return Rn=Fr2||ld(Rn)>3?"":" "}function mz(e,t){for(;--t&&no()&&!(Rn<48||Rn>102||Rn>57&&Rn<65||Rn>70&&Rn<97););return jd(e,Hp()+(t<6&&ai()==32&&no()==32))}function Sy(e){for(;no();)switch(Rn){case e:return Fr;case 34:case 39:e!==34&&e!==39&&Sy(Rn);break;case 40:e===41&&Sy(e);break;case 92:no();break}return Fr}function vz(e,t){for(;no()&&e+Rn!==57;)if(e+Rn===84&&ai()===47)break;return"/*"+jd(t,Fr-1)+"*"+Dg(e===47?e:no())}function yz(e){for(;!ld(ai());)no();return jd(e,Fr)}function bz(e){return K$(Gp("",null,null,null,[""],e=G$(e),0,[0],e))}function Gp(e,t,n,r,o,i,s,a,l){for(var c=0,u=0,f=s,p=0,h=0,v=0,m=1,w=1,y=1,S=0,_="",$=o,T=i,P=r,O=_;w;)switch(v=S,S=no()){case 40:if(v!=108&&qn(O,f-1)==58){Cy(O+=Et(Up(S),"&","&\f"),"&\f")!=-1&&(y=-1);break}case 34:case 39:case 91:O+=Up(S);break;case 9:case 10:case 13:case 32:O+=gz(v);break;case 92:O+=mz(Hp()-1,7);continue;case 47:switch(ai()){case 42:case 47:Yf(xz(vz(no(),Hp()),t,n),l);break;default:O+="/"}break;case 123*m:a[c++]=ei(O)*y;case 125*m:case 59:case 0:switch(S){case 0:case 125:w=0;case 59+u:y==-1&&(O=Et(O,/\f/g,"")),h>0&&ei(O)-f&&Yf(h>32?A2(O+";",r,n,f-1):A2(Et(O," ","")+";",r,n,f-2),l);break;case 59:O+=";";default:if(Yf(P=M2(O,t,n,c,u,o,a,_,$=[],T=[],f),i),S===123)if(u===0)Gp(O,t,P,P,$,i,f,a,T);else switch(p===99&&qn(O,3)===110?100:p){case 100:case 108:case 109:case 115:Gp(e,P,P,r&&Yf(M2(e,P,P,0,0,o,a,_,o,$=[],f),T),o,T,f,a,r?$:T);break;default:Gp(O,P,P,P,[""],T,0,a,T)}}c=u=h=0,m=y=1,_=O="",f=s;break;case 58:f=1+ei(O),h=v;default:if(m<1){if(S==123)--m;else if(S==125&&m++==0&&hz()==125)continue}switch(O+=Dg(S),S*m){case 38:y=u>0?1:(O+="\f",-1);break;case 44:a[c++]=(ei(O)-1)*y,y=1;break;case 64:ai()===45&&(O+=Up(no())),p=ai(),u=f=ei(_=O+=yz(Hp())),S++;break;case 45:v===45&&ei(O)==2&&(m=0)}}return i}function M2(e,t,n,r,o,i,s,a,l,c,u){for(var f=o-1,p=o===0?i:[""],h=Cx(p),v=0,m=0,w=0;v0?p[y]+" "+S:Et(S,/&\f/g,p[y])))&&(l[w++]=_);return Fg(e,t,n,o===0?bx:a,l,c,u)}function xz(e,t,n){return Fg(e,t,n,V$,Dg(pz()),ad(e,2,-2),0)}function A2(e,t,n,r){return Fg(e,t,n,xx,ad(e,0,r),ad(e,r+1,-1),r)}function Il(e,t){for(var n="",r=Cx(e),o=0;o6)switch(qn(e,t+1)){case 109:if(qn(e,t+4)!==45)break;case 102:return Et(e,/(.+:)(.+)-([^]+)/,"$1"+It+"$2-$3$1"+Bh+(qn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Cy(e,"stretch")?Y$(Et(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(qn(e,t+1)!==115)break;case 6444:switch(qn(e,ei(e)-3-(~Cy(e,"!important")&&10))){case 107:return Et(e,":",":"+It)+e;case 101:return Et(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+It+(qn(e,14)===45?"inline-":"")+"box$3$1"+It+"$2$3$1"+ar+"$2box$3")+e}break;case 5936:switch(qn(e,t+11)){case 114:return It+e+ar+Et(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return It+e+ar+Et(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return It+e+ar+Et(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return It+e+ar+e+e}return e}var $z=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case xx:t.return=Y$(t.value,t.length);break;case W$:return Il([jc(t,{value:Et(t.value,"@","@"+It)})],o);case bx:if(t.length)return fz(t.props,function(i){switch(dz(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Il([jc(t,{props:[Et(i,/:(read-\w+)/,":"+Bh+"$1")]})],o);case"::placeholder":return Il([jc(t,{props:[Et(i,/:(plac\w+)/,":"+It+"input-$1")]}),jc(t,{props:[Et(i,/:(plac\w+)/,":"+Bh+"$1")]}),jc(t,{props:[Et(i,/:(plac\w+)/,ar+"input-$1")]})],o)}return""})}},Oz=[$z],X$=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(m){var w=m.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var o=t.stylisPlugins||Oz,i={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(m){for(var w=m.getAttribute("data-emotion").split(" "),y=1;y=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Vz={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,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},Wz=/[A-Z]|^ms/g,Hz=/_EMO_([^_]+?)_([^]*?)_EMO_/g,nO=function(t){return t.charCodeAt(1)===45},E2=function(t){return t!=null&&typeof t!="boolean"},Gv=z$(function(e){return nO(e)?e:e.replace(Wz,"-$&").toLowerCase()}),L2=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Hz,function(r,o,i){return ti={name:o,styles:i,next:ti},o})}return Vz[t]!==1&&!nO(t)&&typeof n=="number"&&n!==0?n+"px":n};function cd(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return ti={name:n.name,styles:n.styles,next:ti},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)ti={name:r.name,styles:r.styles,next:ti},r=r.next;var o=n.styles+";";return o}return Uz(e,t,n)}case"function":{if(e!==void 0){var i=ti,s=n(e);return ti=i,cd(e,t,s)}break}}if(t==null)return n;var a=t[n];return a!==void 0?a:n}function Uz(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?qz:Qz},F2=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(s){return t.__emotion_forwardProp(s)&&i(s)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},Zz=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return eO(n,r,o),Kz(function(){return tO(n,r,o)}),null},Jz=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,s;n!==void 0&&(i=n.label,s=n.target);var a=F2(t,n,r),l=a||N2(o),c=!l("as");return function(){var u=arguments,f=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&f.push("label:"+i+";"),u[0]==null||u[0].raw===void 0)f.push.apply(f,u);else{f.push(u[0][0]);for(var p=u.length,h=1;ht(t6(o)?n:o):t;return x.jsx(Xz,{styles:r})}function _x(e,t){return wy(e,t)}const lO=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},n6=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:Ou,StyledEngineProvider:aO,ThemeContext:Bd,css:ui,default:_x,internal_processStyles:lO,keyframes:Oo},Symbol.toStringTag,{value:"Module"}));function Mi(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 cO(e){if(!Mi(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=cO(e[n])}),t}function Cn(e,t,n={clone:!0}){const r=n.clone?C({},e):e;return Mi(e)&&Mi(t)&&Object.keys(t).forEach(o=>{Mi(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Mi(e[o])?r[o]=Cn(e[o],t[o],n):n.clone?r[o]=Mi(t[o])?cO(t[o]):t[o]:r[o]=t[o]}),r}const r6=Object.freeze(Object.defineProperty({__proto__:null,default:Cn,isPlainObject:Mi},Symbol.toStringTag,{value:"Module"})),o6=["values","unit","step"],i6=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>C({},n,{[r.key]:r.val}),{})};function Rx(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=ne(e,o6),i=i6(t),s=Object.keys(i);function a(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${n})`}function l(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-r/100}${n})`}function c(p,h){const v=s.indexOf(h);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${n}) and (max-width:${(v!==-1&&typeof t[s[v]]=="number"?t[s[v]]:h)-r/100}${n})`}function u(p){return s.indexOf(p)+1`@media (min-width:${Tx[e]}px)`};function zr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||z2;return t.reduce((s,a,l)=>(s[i.up(i.keys[l])]=n(t[l]),s),{})}if(typeof t=="object"){const i=r.breakpoints||z2;return Object.keys(t).reduce((s,a)=>{if(Object.keys(i.values||Tx).indexOf(a)!==-1){const l=i.up(a);s[l]=n(t[a],a)}else{const l=a;s[l]=t[l]}return s},{})}return n(t)}function uO(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function dO(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function a6(e,...t){const n=uO(e),r=[n,...t].reduce((o,i)=>Cn(o,i),{});return dO(Object.keys(n),r)}function l6(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((o,i)=>{i{e[o]!=null&&(n[o]=!0)}),n}function xa({values:e,breakpoints:t,base:n}){const r=n||l6(e,t),o=Object.keys(r);if(o.length===0)return e;let i;return o.reduce((s,a,l)=>(Array.isArray(e)?(s[a]=e[l]!=null?e[l]:e[i],i=l):typeof e=="object"?(s[a]=e[a]!=null?e[a]:e[i],i=a):s[a]=e,s),{})}function Q(e){if(typeof e!="string")throw new Error(Sr(7));return e.charAt(0).toUpperCase()+e.slice(1)}const c6=Object.freeze(Object.defineProperty({__proto__:null,default:Q},Symbol.toStringTag,{value:"Module"}));function Zl(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Dh(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Zl(e,n)||r,t&&(o=t(o,r,e)),o}function Sn(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=s=>{if(s[t]==null)return null;const a=s[t],l=s.theme,c=Zl(l,r)||{};return zr(s,a,f=>{let p=Dh(c,o,f);return f===p&&typeof f=="string"&&(p=Dh(c,o,`${t}${f==="default"?"":Q(f)}`,f)),n===!1?p:{[n]:p}})};return i.propTypes={},i.filterProps=[t],i}function u6(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const d6={m:"margin",p:"padding"},f6={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},V2={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},p6=u6(e=>{if(e.length>2)if(V2[e])e=V2[e];else return[e];const[t,n]=e.split(""),r=d6[t],o=f6[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),$x=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Ox=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...$x,...Ox];function Dd(e,t,n,r){var o;const i=(o=Zl(e,t,!1))!=null?o:n;return typeof i=="number"?s=>typeof s=="string"?s:i*s:Array.isArray(i)?s=>typeof s=="string"?s:i[s]:typeof i=="function"?i:()=>{}}function Mx(e){return Dd(e,"spacing",8)}function Oa(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function h6(e,t){return n=>e.reduce((r,o)=>(r[o]=Oa(t,n),r),{})}function g6(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=p6(n),i=h6(o,r),s=e[n];return zr(e,s,i)}function fO(e,t){const n=Mx(e.theme);return Object.keys(e).map(r=>g6(e,t,r,n)).reduce(Mu,{})}function pn(e){return fO(e,$x)}pn.propTypes={};pn.filterProps=$x;function hn(e){return fO(e,Ox)}hn.propTypes={};hn.filterProps=Ox;function pO(e=8){if(e.mui)return e;const t=Mx({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function Qg(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?Mu(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function yo(e){return typeof e!="number"?e:`${e}px solid`}function Mo(e,t){return Sn({prop:e,themeKey:"borders",transform:t})}const m6=Mo("border",yo),v6=Mo("borderTop",yo),y6=Mo("borderRight",yo),b6=Mo("borderBottom",yo),x6=Mo("borderLeft",yo),C6=Mo("borderColor"),S6=Mo("borderTopColor"),w6=Mo("borderRightColor"),P6=Mo("borderBottomColor"),k6=Mo("borderLeftColor"),_6=Mo("outline",yo),R6=Mo("outlineColor"),Zg=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Dd(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Oa(t,r)});return zr(e,e.borderRadius,n)}return null};Zg.propTypes={};Zg.filterProps=["borderRadius"];Qg(m6,v6,y6,b6,x6,C6,S6,w6,P6,k6,Zg,_6,R6);const Jg=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Dd(e.theme,"spacing",8),n=r=>({gap:Oa(t,r)});return zr(e,e.gap,n)}return null};Jg.propTypes={};Jg.filterProps=["gap"];const em=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Dd(e.theme,"spacing",8),n=r=>({columnGap:Oa(t,r)});return zr(e,e.columnGap,n)}return null};em.propTypes={};em.filterProps=["columnGap"];const tm=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Dd(e.theme,"spacing",8),n=r=>({rowGap:Oa(t,r)});return zr(e,e.rowGap,n)}return null};tm.propTypes={};tm.filterProps=["rowGap"];const T6=Sn({prop:"gridColumn"}),$6=Sn({prop:"gridRow"}),O6=Sn({prop:"gridAutoFlow"}),M6=Sn({prop:"gridAutoColumns"}),A6=Sn({prop:"gridAutoRows"}),I6=Sn({prop:"gridTemplateColumns"}),E6=Sn({prop:"gridTemplateRows"}),L6=Sn({prop:"gridTemplateAreas"}),j6=Sn({prop:"gridArea"});Qg(Jg,em,tm,T6,$6,O6,M6,A6,I6,E6,L6,j6);function El(e,t){return t==="grey"?t:e}const B6=Sn({prop:"color",themeKey:"palette",transform:El}),D6=Sn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:El}),N6=Sn({prop:"backgroundColor",themeKey:"palette",transform:El});Qg(B6,D6,N6);function Qr(e){return e<=1&&e!==0?`${e*100}%`:e}const F6=Sn({prop:"width",transform:Qr}),Ax=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o;const i=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||Tx[n];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Qr(n)}};return zr(e,e.maxWidth,t)}return null};Ax.filterProps=["maxWidth"];const z6=Sn({prop:"minWidth",transform:Qr}),V6=Sn({prop:"height",transform:Qr}),W6=Sn({prop:"maxHeight",transform:Qr}),H6=Sn({prop:"minHeight",transform:Qr});Sn({prop:"size",cssProperty:"width",transform:Qr});Sn({prop:"size",cssProperty:"height",transform:Qr});const U6=Sn({prop:"boxSizing"});Qg(F6,Ax,z6,V6,W6,H6,U6);const pc={border:{themeKey:"borders",transform:yo},borderTop:{themeKey:"borders",transform:yo},borderRight:{themeKey:"borders",transform:yo},borderBottom:{themeKey:"borders",transform:yo},borderLeft:{themeKey:"borders",transform:yo},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:yo},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Zg},color:{themeKey:"palette",transform:El},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:El},backgroundColor:{themeKey:"palette",transform:El},p:{style:hn},pt:{style:hn},pr:{style:hn},pb:{style:hn},pl:{style:hn},px:{style:hn},py:{style:hn},padding:{style:hn},paddingTop:{style:hn},paddingRight:{style:hn},paddingBottom:{style:hn},paddingLeft:{style:hn},paddingX:{style:hn},paddingY:{style:hn},paddingInline:{style:hn},paddingInlineStart:{style:hn},paddingInlineEnd:{style:hn},paddingBlock:{style:hn},paddingBlockStart:{style:hn},paddingBlockEnd:{style:hn},m:{style:pn},mt:{style:pn},mr:{style:pn},mb:{style:pn},ml:{style:pn},mx:{style:pn},my:{style:pn},margin:{style:pn},marginTop:{style:pn},marginRight:{style:pn},marginBottom:{style:pn},marginLeft:{style:pn},marginX:{style:pn},marginY:{style:pn},marginInline:{style:pn},marginInlineStart:{style:pn},marginInlineEnd:{style:pn},marginBlock:{style:pn},marginBlockStart:{style:pn},marginBlockEnd:{style:pn},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:Jg},rowGap:{style:tm},columnGap:{style:em},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Qr},maxWidth:{style:Ax},minWidth:{transform:Qr},height:{transform:Qr},maxHeight:{transform:Qr},minHeight:{transform:Qr},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function G6(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function K6(e,t){return typeof e=="function"?e(t):e}function hO(){function e(n,r,o,i){const s={[n]:r,theme:o},a=i[n];if(!a)return{[n]:r};const{cssProperty:l=n,themeKey:c,transform:u,style:f}=a;if(r==null)return null;if(c==="typography"&&r==="inherit")return{[n]:r};const p=Zl(o,c)||{};return f?f(s):zr(s,r,v=>{let m=Dh(p,u,v);return v===m&&typeof v=="string"&&(m=Dh(p,u,`${n}${v==="default"?"":Q(v)}`,v)),l===!1?m:{[l]:m}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const s=(r=i.unstable_sxConfig)!=null?r:pc;function a(l){let c=l;if(typeof l=="function")c=l(i);else if(typeof l!="object")return l;if(!c)return null;const u=uO(i.breakpoints),f=Object.keys(u);let p=u;return Object.keys(c).forEach(h=>{const v=K6(c[h],i);if(v!=null)if(typeof v=="object")if(s[h])p=Mu(p,e(h,v,i,s));else{const m=zr({theme:i},v,w=>({[h]:w}));G6(m,v)?p[h]=t({sx:v,theme:i}):p=Mu(p,m)}else p=Mu(p,e(h,v,i,s))}),dO(f,p)}return Array.isArray(o)?o.map(a):a(o)}return t}const Bs=hO();Bs.filterProps=["sx"];function gO(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const Y6=["breakpoints","palette","spacing","shape"];function Da(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,s=ne(e,Y6),a=Rx(n),l=pO(o);let c=Cn({breakpoints:a,direction:"ltr",components:{},palette:C({mode:"light"},r),spacing:l,shape:C({},s6,i)},s);return c.applyStyles=gO,c=t.reduce((u,f)=>Cn(u,f),c),c.unstable_sxConfig=C({},pc,s==null?void 0:s.unstable_sxConfig),c.unstable_sx=function(f){return Bs({sx:f,theme:this})},c}const X6=Object.freeze(Object.defineProperty({__proto__:null,default:Da,private_createBreakpoints:Rx,unstable_applyStyles:gO},Symbol.toStringTag,{value:"Module"}));function q6(e){return Object.keys(e).length===0}function Ix(e=null){const t=R.useContext(Bd);return!t||q6(t)?e:t}const Q6=Da();function Nd(e=Q6){return Ix(e)}function Z6({styles:e,themeId:t,defaultTheme:n={}}){const r=Nd(n),o=typeof e=="function"?e(t&&r[t]||r):e;return x.jsx(Ou,{styles:o})}const J6=["sx"],e8=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:pc;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function hc(e){const{sx:t}=e,n=ne(e,J6),{systemProps:r,otherProps:o}=e8(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...s)=>{const a=t(...s);return Mi(a)?C({},r,a):r}:i=C({},r,t),C({},o,{sx:i})}const t8=Object.freeze(Object.defineProperty({__proto__:null,default:Bs,extendSxProp:hc,unstable_createStyleFunctionSx:hO,unstable_defaultSxConfig:pc},Symbol.toStringTag,{value:"Module"})),W2=e=>e,n8=()=>{let e=W2;return{configure(t){e=t},generate(t){return e(t)},reset(){e=W2}}},Ex=n8();function mO(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;ta!=="theme"&&a!=="sx"&&a!=="as"})(Bs);return R.forwardRef(function(l,c){const u=Nd(n),f=hc(l),{className:p,component:h="div"}=f,v=ne(f,r8);return x.jsx(i,C({as:h,ref:c,className:te(p,o?o(r):r),theme:t&&u[t]||u},v))})}const vO={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 Pe(e,t,n="Mui"){const r=vO[t];return r?`${n}-${r}`:`${Ex.generate(e)}-${t}`}function _e(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Pe(e,o,n)}),r}var yO={exports:{}},Wt={};/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Lx=Symbol.for("react.element"),jx=Symbol.for("react.portal"),nm=Symbol.for("react.fragment"),rm=Symbol.for("react.strict_mode"),om=Symbol.for("react.profiler"),im=Symbol.for("react.provider"),sm=Symbol.for("react.context"),i8=Symbol.for("react.server_context"),am=Symbol.for("react.forward_ref"),lm=Symbol.for("react.suspense"),cm=Symbol.for("react.suspense_list"),um=Symbol.for("react.memo"),dm=Symbol.for("react.lazy"),s8=Symbol.for("react.offscreen"),bO;bO=Symbol.for("react.module.reference");function Ao(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Lx:switch(e=e.type,e){case nm:case om:case rm:case lm:case cm:return e;default:switch(e=e&&e.$$typeof,e){case i8:case sm:case am:case dm:case um:case im:return e;default:return t}}case jx:return t}}}Wt.ContextConsumer=sm;Wt.ContextProvider=im;Wt.Element=Lx;Wt.ForwardRef=am;Wt.Fragment=nm;Wt.Lazy=dm;Wt.Memo=um;Wt.Portal=jx;Wt.Profiler=om;Wt.StrictMode=rm;Wt.Suspense=lm;Wt.SuspenseList=cm;Wt.isAsyncMode=function(){return!1};Wt.isConcurrentMode=function(){return!1};Wt.isContextConsumer=function(e){return Ao(e)===sm};Wt.isContextProvider=function(e){return Ao(e)===im};Wt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Lx};Wt.isForwardRef=function(e){return Ao(e)===am};Wt.isFragment=function(e){return Ao(e)===nm};Wt.isLazy=function(e){return Ao(e)===dm};Wt.isMemo=function(e){return Ao(e)===um};Wt.isPortal=function(e){return Ao(e)===jx};Wt.isProfiler=function(e){return Ao(e)===om};Wt.isStrictMode=function(e){return Ao(e)===rm};Wt.isSuspense=function(e){return Ao(e)===lm};Wt.isSuspenseList=function(e){return Ao(e)===cm};Wt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===nm||e===om||e===rm||e===lm||e===cm||e===s8||typeof e=="object"&&e!==null&&(e.$$typeof===dm||e.$$typeof===um||e.$$typeof===im||e.$$typeof===sm||e.$$typeof===am||e.$$typeof===bO||e.getModuleId!==void 0)};Wt.typeOf=Ao;yO.exports=Wt;var H2=yO.exports;const a8=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function xO(e){const t=`${e}`.match(a8);return t&&t[1]||""}function CO(e,t=""){return e.displayName||e.name||xO(e)||t}function U2(e,t,n){const r=CO(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function l8(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return CO(e,"Component");if(typeof e=="object")switch(e.$$typeof){case H2.ForwardRef:return U2(e,e.render,"ForwardRef");case H2.Memo:return U2(e,e.type,"memo");default:return}}}const c8=Object.freeze(Object.defineProperty({__proto__:null,default:l8,getFunctionName:xO},Symbol.toStringTag,{value:"Module"})),u8=["ownerState"],d8=["variants"],f8=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function p8(e){return Object.keys(e).length===0}function h8(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Yv(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const g8=Da(),m8=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Xf({defaultTheme:e,theme:t,themeId:n}){return p8(t)?e:t[n]||t}function v8(e){return e?(t,n)=>n[e]:null}function Kp(e,t){let{ownerState:n}=t,r=ne(t,u8);const o=typeof e=="function"?e(C({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>Kp(i,C({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let a=ne(o,d8);return i.forEach(l=>{let c=!0;typeof l.props=="function"?c=l.props(C({ownerState:n},r,n)):Object.keys(l.props).forEach(u=>{(n==null?void 0:n[u])!==l.props[u]&&r[u]!==l.props[u]&&(c=!1)}),c&&(Array.isArray(a)||(a=[a]),a.push(typeof l.style=="function"?l.style(C({ownerState:n},r,n)):l.style))}),a}return o}function y8(e={}){const{themeId:t,defaultTheme:n=g8,rootShouldForwardProp:r=Yv,slotShouldForwardProp:o=Yv}=e,i=s=>Bs(C({},s,{theme:Xf(C({},s,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(s,a={})=>{lO(s,T=>T.filter(P=>!(P!=null&&P.__mui_systemSx)));const{name:l,slot:c,skipVariantsResolver:u,skipSx:f,overridesResolver:p=v8(m8(c))}=a,h=ne(a,f8),v=u!==void 0?u:c&&c!=="Root"&&c!=="root"||!1,m=f||!1;let w,y=Yv;c==="Root"||c==="root"?y=r:c?y=o:h8(s)&&(y=void 0);const S=_x(s,C({shouldForwardProp:y,label:w},h)),_=T=>typeof T=="function"&&T.__emotion_real!==T||Mi(T)?P=>Kp(T,C({},P,{theme:Xf({theme:P.theme,defaultTheme:n,themeId:t})})):T,$=(T,...P)=>{let O=_(T);const A=P?P.map(_):[];l&&p&&A.push(B=>{const V=Xf(C({},B,{defaultTheme:n,themeId:t}));if(!V.components||!V.components[l]||!V.components[l].styleOverrides)return null;const H=V.components[l].styleOverrides,U={};return Object.entries(H).forEach(([I,D])=>{U[I]=Kp(D,C({},B,{theme:V}))}),p(B,U)}),l&&!v&&A.push(B=>{var V;const H=Xf(C({},B,{defaultTheme:n,themeId:t})),U=H==null||(V=H.components)==null||(V=V[l])==null?void 0:V.variants;return Kp({variants:U},C({},B,{theme:H}))}),m||A.push(i);const E=A.length-P.length;if(Array.isArray(T)&&E>0){const B=new Array(E).fill("");O=[...T,...B],O.raw=[...T.raw,...B]}const j=S(O,...A);return s.muiName&&(j.muiName=s.muiName),j};return S.withConfig&&($.withConfig=S.withConfig),$}}const Bx=y8();function fm(e,t){const n=C({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=C({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=C({},i),Object.keys(o).forEach(s=>{n[r][s]=fm(o[s],i[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function Dx(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:fm(t.components[n].defaultProps,r)}function Fd({props:e,name:t,defaultTheme:n,themeId:r}){let o=Nd(n);return r&&(o=o[r]||o),Dx({theme:o,name:t,props:e})}const On=typeof window<"u"?R.useLayoutEffect:R.useEffect;function b8(e,t,n,r,o){const[i,s]=R.useState(()=>o&&n?n(e).matches:r?r(e).matches:t);return On(()=>{let a=!0;if(!n)return;const l=n(e),c=()=>{a&&s(l.matches)};return c(),l.addListener(c),()=>{a=!1,l.removeListener(c)}},[e,n]),i}const SO=R.useSyncExternalStore;function x8(e,t,n,r,o){const i=R.useCallback(()=>t,[t]),s=R.useMemo(()=>{if(o&&n)return()=>n(e).matches;if(r!==null){const{matches:u}=r(e);return()=>u}return i},[i,e,r,o,n]),[a,l]=R.useMemo(()=>{if(n===null)return[i,()=>()=>{}];const u=n(e);return[()=>u.matches,f=>(u.addListener(f),()=>{u.removeListener(f)})]},[i,n,e]);return SO(l,a,s)}function wO(e,t={}){const n=Ix(),r=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:o=!1,matchMedia:i=r?window.matchMedia:null,ssrMatchMedia:s=null,noSsr:a=!1}=Dx({name:"MuiUseMediaQuery",props:t,theme:n});let l=typeof e=="function"?e(n):e;return l=l.replace(/^@media( ?)/m,""),(SO!==void 0?x8:b8)(l,o,i,s,a)}function Ai(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const C8=Object.freeze(Object.defineProperty({__proto__:null,default:Ai},Symbol.toStringTag,{value:"Module"}));function Nx(e,t=0,n=1){return Ai(e,t,n)}function PO(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(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function S8(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function Ki(e){if(e.type)return e;if(e.charAt(0)==="#")return Ki(PO(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(Sr(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(Sr(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}function zd(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function w8(e){if(e.indexOf("#")===0)return e;const{values:t}=Ki(e);return`#${t.map((n,r)=>S8(r===3?Math.round(255*n):n)).join("")}`}function kO(e){e=Ki(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),s=(c,u=(c+n/30)%12)=>o-i*Math.max(Math.min(u-3,9-u,1),-1);let a="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),zd({type:a,values:l})}function Nh(e){e=Ki(e);let t=e.type==="hsl"||e.type==="hsla"?Ki(kO(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 P8(e,t){const n=Nh(e),r=Nh(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function xl(e,t){return e=Ki(e),t=Nx(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,zd(e)}function _O(e,t){if(e=Ki(e),t=Nx(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return zd(e)}function RO(e,t){if(e=Ki(e),t=Nx(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return zd(e)}function k8(e,t=.15){return Nh(e)>.5?_O(e,t):RO(e,t)}function ud(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function Na(e,t=166){let n;function r(...o){const i=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(i,t)}return r.clear=()=>{clearTimeout(n)},r}function TO(e,t){return()=>null}function li(e,t){var n,r;return R.isValidElement(e)&&t.indexOf((n=e.type.muiName)!=null?n:(r=e.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function Ft(e){return e&&e.ownerDocument||document}function Jn(e){return Ft(e).defaultView||window}function $O(e,t){return()=>null}function Jl(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let G2=0;function _8(e){const[t,n]=R.useState(e),r=e||t;return R.useEffect(()=>{t==null&&(G2+=1,n(`mui-${G2}`))},[t]),r}const K2=ch.useId;function _o(e){if(K2!==void 0){const t=K2();return e??t}return _8(e)}function OO(e,t,n,r,o){return null}function Cr({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=R.useRef(e!==void 0),[i,s]=R.useState(t),a=o?e:i,l=R.useCallback(c=>{o||s(c)},[]);return[a,l]}function Qt(e){const t=R.useRef(e);return On(()=>{t.current=e}),R.useRef((...n)=>(0,t.current)(...n)).current}function Rt(...e){return R.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Jl(n,t)})},e)}const Y2={};function R8(e,t){const n=R.useRef(Y2);return n.current===Y2&&(n.current=e(t)),n}const T8=[];function $8(e){R.useEffect(e,T8)}class Vd{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Vd}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function ji(){const e=R8(Vd.create).current;return $8(e.disposeEffect),e}let pm=!0,ky=!1;const O8=new Vd,M8={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function A8(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&M8[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function I8(e){e.metaKey||e.altKey||e.ctrlKey||(pm=!0)}function Xv(){pm=!1}function E8(){this.visibilityState==="hidden"&&ky&&(pm=!0)}function L8(e){e.addEventListener("keydown",I8,!0),e.addEventListener("mousedown",Xv,!0),e.addEventListener("pointerdown",Xv,!0),e.addEventListener("touchstart",Xv,!0),e.addEventListener("visibilitychange",E8,!0)}function j8(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return pm||A8(t)}function Fa(){const e=R.useCallback(o=>{o!=null&&L8(o.ownerDocument)},[]),t=R.useRef(!1);function n(){return t.current?(ky=!0,O8.start(100,()=>{ky=!1}),t.current=!1,!0):!1}function r(o){return j8(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function MO(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Qa;function AO(){if(Qa)return Qa;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),Qa="reverse",e.scrollLeft>0?Qa="default":(e.scrollLeft=1,e.scrollLeft===0&&(Qa="negative")),document.body.removeChild(e),Qa}function B8(e,t){const n=e.scrollLeft;if(t!=="rtl")return n;switch(AO()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}const Fx=e=>{const t=R.useRef({});return R.useEffect(()=>{t.current=e}),t.current};function IO(e){return R.Children.toArray(e).filter(t=>R.isValidElement(t))}const EO={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function Re(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,s)=>{if(s){const a=t(s);a!==""&&i.push(a),n&&n[s]&&i.push(n[s])}return i},[]).join(" ")}),r}const LO=R.createContext(null);function zx(){return R.useContext(LO)}const D8=typeof Symbol=="function"&&Symbol.for,N8=D8?Symbol.for("mui.nested"):"__THEME_NESTED__";function F8(e,t){return typeof t=="function"?t(e):C({},e,t)}function z8(e){const{children:t,theme:n}=e,r=zx(),o=R.useMemo(()=>{const i=r===null?n:F8(r,n);return i!=null&&(i[N8]=r!==null),i},[n,r]);return x.jsx(LO.Provider,{value:o,children:t})}const V8=["value"],jO=R.createContext();function W8(e){let{value:t}=e,n=ne(e,V8);return x.jsx(jO.Provider,C({value:t??!0},n))}const hi=()=>{const e=R.useContext(jO);return e??!1},X2={};function q2(e,t,n,r=!1){return R.useMemo(()=>{const o=e&&t[e]||t;if(typeof n=="function"){const i=n(o),s=e?C({},t,{[e]:i}):i;return r?()=>s:s}return e?C({},t,{[e]:n}):C({},t,n)},[e,t,n,r])}function BO(e){const{children:t,theme:n,themeId:r}=e,o=Ix(X2),i=zx()||X2,s=q2(r,o,n),a=q2(r,i,n,!0),l=s.direction==="rtl";return x.jsx(z8,{theme:a,children:x.jsx(Bd.Provider,{value:s,children:x.jsx(W8,{value:l,children:t})})})}const Vx="mode",Wx="color-scheme",DO="data-color-scheme";function H8(e){const{defaultMode:t="light",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:o=Vx,colorSchemeStorageKey:i=Wx,attribute:s=DO,colorSchemeNode:a="document.documentElement"}=e||{};return x.jsx("script",{dangerouslySetInnerHTML:{__html:`(function() { +try { + var mode = localStorage.getItem('${o}') || '${t}'; + var colorScheme = ''; + if (mode === 'system') { + // handle system mode + var mql = window.matchMedia('(prefers-color-scheme: dark)'); + if (mql.matches) { + colorScheme = localStorage.getItem('${i}-dark') || '${r}'; + } else { + colorScheme = localStorage.getItem('${i}-light') || '${n}'; + } + } + if (mode === 'light') { + colorScheme = localStorage.getItem('${i}-light') || '${n}'; + } + if (mode === 'dark') { + colorScheme = localStorage.getItem('${i}-dark') || '${r}'; + } + if (colorScheme) { + ${a}.setAttribute('${s}', colorScheme); + } +} catch(e){}})();`}},"mui-color-scheme-init")}function Q2(e){if(typeof window<"u"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function NO(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 U8(e){return NO(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function qv(e,t){if(typeof window>"u")return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch{}return n||t}function G8(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:o=[],modeStorageKey:i=Vx,colorSchemeStorageKey:s=Wx,storageWindow:a=typeof window>"u"?void 0:window}=e,l=o.join(","),[c,u]=R.useState(()=>{const w=qv(i,t),y=qv(`${s}-light`,n),S=qv(`${s}-dark`,r);return{mode:w,systemMode:Q2(w),lightColorScheme:y,darkColorScheme:S}}),f=U8(c),p=R.useCallback(w=>{u(y=>{if(w===y.mode)return y;const S=w??t;try{localStorage.setItem(i,S)}catch{}return C({},y,{mode:S,systemMode:Q2(S)})})},[i,t]),h=R.useCallback(w=>{w?typeof w=="string"?w&&!l.includes(w)?console.error(`\`${w}\` does not exist in \`theme.colorSchemes\`.`):u(y=>{const S=C({},y);return NO(y,_=>{try{localStorage.setItem(`${s}-${_}`,w)}catch{}_==="light"&&(S.lightColorScheme=w),_==="dark"&&(S.darkColorScheme=w)}),S}):u(y=>{const S=C({},y),_=w.light===null?n:w.light,$=w.dark===null?r:w.dark;if(_)if(!l.includes(_))console.error(`\`${_}\` does not exist in \`theme.colorSchemes\`.`);else{S.lightColorScheme=_;try{localStorage.setItem(`${s}-light`,_)}catch{}}if($)if(!l.includes($))console.error(`\`${$}\` does not exist in \`theme.colorSchemes\`.`);else{S.darkColorScheme=$;try{localStorage.setItem(`${s}-dark`,$)}catch{}}return S}):u(y=>{try{localStorage.setItem(`${s}-light`,n),localStorage.setItem(`${s}-dark`,r)}catch{}return C({},y,{lightColorScheme:n,darkColorScheme:r})})},[l,s,n,r]),v=R.useCallback(w=>{c.mode==="system"&&u(y=>{const S=w!=null&&w.matches?"dark":"light";return y.systemMode===S?y:C({},y,{systemMode:S})})},[c.mode]),m=R.useRef(v);return m.current=v,R.useEffect(()=>{const w=(...S)=>m.current(...S),y=window.matchMedia("(prefers-color-scheme: dark)");return y.addListener(w),w(y),()=>{y.removeListener(w)}},[]),R.useEffect(()=>{if(a){const w=y=>{const S=y.newValue;typeof y.key=="string"&&y.key.startsWith(s)&&(!S||l.match(S))&&(y.key.endsWith("light")&&h({light:S}),y.key.endsWith("dark")&&h({dark:S})),y.key===i&&(!S||["light","dark","system"].includes(S))&&p(S||t)};return a.addEventListener("storage",w),()=>{a.removeEventListener("storage",w)}}},[h,p,i,s,l,t,a]),C({},c,{colorScheme:f,setMode:p,setColorScheme:h})}const K8=["colorSchemes","components","generateCssVars","cssVarPrefix"],Y8="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function X8(e){const{themeId:t,theme:n={},attribute:r=DO,modeStorageKey:o=Vx,colorSchemeStorageKey:i=Wx,defaultMode:s="light",defaultColorScheme:a,disableTransitionOnChange:l=!1,resolveTheme:c,excludeVariablesFromRoot:u}=e;(!n.colorSchemes||typeof a=="string"&&!n.colorSchemes[a]||typeof a=="object"&&!n.colorSchemes[a==null?void 0:a.light]||typeof a=="object"&&!n.colorSchemes[a==null?void 0:a.dark])&&console.error(`MUI: \`${a}\` does not exist in \`theme.colorSchemes\`.`);const f=R.createContext(void 0),p=()=>{const y=R.useContext(f);if(!y)throw new Error(Sr(19));return y};function h(y){const{children:S,theme:_=n,modeStorageKey:$=o,colorSchemeStorageKey:T=i,attribute:P=r,defaultMode:O=s,defaultColorScheme:A=a,disableTransitionOnChange:E=l,storageWindow:j=typeof window>"u"?void 0:window,documentNode:B=typeof document>"u"?void 0:document,colorSchemeNode:V=typeof document>"u"?void 0:document.documentElement,colorSchemeSelector:H=":root",disableNestedContext:U=!1,disableStyleSheetGeneration:I=!1}=y,D=R.useRef(!1),G=zx(),N=R.useContext(f),K=!!N&&!U,Z=_[t],ve=Z||_,{colorSchemes:Ce={},components:se={},generateCssVars:ae=()=>({vars:{},css:{}}),cssVarPrefix:ye}=ve,ue=ne(ve,K8),Be=Object.keys(Ce),ce=typeof A=="string"?A:A.light,Ae=typeof A=="string"?A:A.dark,{mode:Ke,setMode:Le,systemMode:xe,lightColorScheme:$e,darkColorScheme:Ne,colorScheme:ke,setColorScheme:Oe}=G8({supportedColorSchemes:Be,defaultLightColorScheme:ce,defaultDarkColorScheme:Ae,modeStorageKey:$,colorSchemeStorageKey:T,defaultMode:O,storageWindow:j});let Je=Ke,He=ke;K&&(Je=N.mode,He=N.colorScheme);const vt=Je||(O==="system"?s:O),qe=He||(vt==="dark"?Ae:ce),{css:tt,vars:ht}=ae(),nt=C({},ue,{components:se,colorSchemes:Ce,cssVarPrefix:ye,vars:ht,getColorSchemeSelector:W=>`[${P}="${W}"] &`}),at={},Pt={};Object.entries(Ce).forEach(([W,ee])=>{const{css:je,vars:ze}=ae(W);nt.vars=Cn(nt.vars,ze),W===qe&&(Object.keys(ee).forEach(J=>{ee[J]&&typeof ee[J]=="object"?nt[J]=C({},nt[J],ee[J]):nt[J]=ee[J]}),nt.palette&&(nt.palette.colorScheme=W));const me=typeof A=="string"?A:O==="dark"?A.dark:A.light;if(W===me){if(u){const J={};u(ye).forEach(q=>{J[q]=je[q],delete je[q]}),at[`[${P}="${W}"]`]=J}at[`${H}, [${P}="${W}"]`]=je}else Pt[`${H===":root"?"":H}[${P}="${W}"]`]=je}),nt.vars=Cn(nt.vars,ht),R.useEffect(()=>{He&&V&&V.setAttribute(P,He)},[He,P,V]),R.useEffect(()=>{let W;if(E&&D.current&&B){const ee=B.createElement("style");ee.appendChild(B.createTextNode(Y8)),B.head.appendChild(ee),window.getComputedStyle(B.body),W=setTimeout(()=>{B.head.removeChild(ee)},1)}return()=>{clearTimeout(W)}},[He,E,B]),R.useEffect(()=>(D.current=!0,()=>{D.current=!1}),[]);const Tt=R.useMemo(()=>({allColorSchemes:Be,colorScheme:He,darkColorScheme:Ne,lightColorScheme:$e,mode:Je,setColorScheme:Oe,setMode:Le,systemMode:xe}),[Be,He,Ne,$e,Je,Oe,Le,xe]);let he=!0;(I||K&&(G==null?void 0:G.cssVarPrefix)===ye)&&(he=!1);const F=x.jsxs(R.Fragment,{children:[he&&x.jsxs(R.Fragment,{children:[x.jsx(Ou,{styles:{[H]:tt}}),x.jsx(Ou,{styles:at}),x.jsx(Ou,{styles:Pt})]}),x.jsx(BO,{themeId:Z?t:void 0,theme:c?c(nt):nt,children:S})]});return K?F:x.jsx(f.Provider,{value:Tt,children:F})}const v=typeof a=="string"?a:a.light,m=typeof a=="string"?a:a.dark;return{CssVarsProvider:h,useColorScheme:p,getInitColorSchemeScript:y=>H8(C({attribute:r,colorSchemeStorageKey:i,defaultMode:s,defaultLightColorScheme:v,defaultDarkColorScheme:m,modeStorageKey:o},y))}}function q8(e=""){function t(...r){if(!r.length)return"";const o=r[0];return typeof o=="string"&&!o.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}-`:""}${o}${t(...r.slice(1))})`:`, ${o}`}return(r,...o)=>`var(--${e?`${e}-`:""}${r}${t(...o)})`}const Z2=(e,t,n,r=[])=>{let o=e;t.forEach((i,s)=>{s===t.length-1?Array.isArray(o)?o[Number(i)]=n:o&&typeof o=="object"&&(o[i]=n):o&&typeof o=="object"&&(o[i]||(o[i]=r.includes(i)?[]:{}),o=o[i])})},Q8=(e,t,n)=>{function r(o,i=[],s=[]){Object.entries(o).forEach(([a,l])=>{(!n||n&&!n([...i,a]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?r(l,[...i,a],Array.isArray(l)?[...s,a]:s):t([...i,a],l,s))})}r(e)},Z8=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().indexOf("opacity")>=0?t:`${t}px`:t;function Qv(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},s={};return Q8(e,(a,l,c)=>{if((typeof l=="string"||typeof l=="number")&&(!r||!r(a,l))){const u=`--${n?`${n}-`:""}${a.join("-")}`;Object.assign(o,{[u]:Z8(a,l)}),Z2(i,a,`var(${u})`,c),Z2(s,a,`var(${u}, ${l})`,c)}},a=>a[0]==="vars"),{css:o,vars:i,varsWithDefaults:s}}function dd(e){"@babel/helpers - typeof";return dd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dd(e)}function J8(e,t){if(dd(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(dd(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function eV(e){var t=J8(e,"string");return dd(t)=="symbol"?t:t+""}const tV=["colorSchemes","components","defaultColorScheme"];function nV(e,t){const{colorSchemes:n={},defaultColorScheme:r="light"}=e,o=ne(e,tV),{vars:i,css:s,varsWithDefaults:a}=Qv(o,t);let l=a;const c={},{[r]:u}=n,f=ne(n,[r].map(eV));if(Object.entries(f||{}).forEach(([h,v])=>{const{vars:m,css:w,varsWithDefaults:y}=Qv(v,t);l=Cn(l,y),c[h]={css:w,vars:m}}),u){const{css:h,vars:v,varsWithDefaults:m}=Qv(u,t);l=Cn(l,m),c[r]={css:h,vars:v}}return{vars:l,generateCssVars:h=>{var v;if(!h){var m;const y=C({},s);return{css:y,vars:i,selector:(t==null||(m=t.getSelector)==null?void 0:m.call(t,h,y))||":root"}}const w=C({},c[h].css);return{css:w,vars:c[h].vars,selector:(t==null||(v=t.getSelector)==null?void 0:v.call(t,h,w))||":root"}}}}const rV=["className","component","disableGutters","fixed","maxWidth","classes"],oV=Da(),iV=Bx("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${Q(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),sV=e=>Fd({props:e,name:"MuiContainer",defaultTheme:oV}),aV=(e,t)=>{const n=l=>Pe(t,l),{classes:r,fixed:o,disableGutters:i,maxWidth:s}=e,a={root:["root",s&&`maxWidth${Q(String(s))}`,o&&"fixed",i&&"disableGutters"]};return Re(a,n,r)};function lV(e={}){const{createStyledComponent:t=iV,useThemeProps:n=sV,componentName:r="MuiContainer"}=e,o=t(({theme:s,ownerState:a})=>C({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!a.disableGutters&&{paddingLeft:s.spacing(2),paddingRight:s.spacing(2),[s.breakpoints.up("sm")]:{paddingLeft:s.spacing(3),paddingRight:s.spacing(3)}}),({theme:s,ownerState:a})=>a.fixed&&Object.keys(s.breakpoints.values).reduce((l,c)=>{const u=c,f=s.breakpoints.values[u];return f!==0&&(l[s.breakpoints.up(u)]={maxWidth:`${f}${s.breakpoints.unit}`}),l},{}),({theme:s,ownerState:a})=>C({},a.maxWidth==="xs"&&{[s.breakpoints.up("xs")]:{maxWidth:Math.max(s.breakpoints.values.xs,444)}},a.maxWidth&&a.maxWidth!=="xs"&&{[s.breakpoints.up(a.maxWidth)]:{maxWidth:`${s.breakpoints.values[a.maxWidth]}${s.breakpoints.unit}`}}));return R.forwardRef(function(a,l){const c=n(a),{className:u,component:f="div",disableGutters:p=!1,fixed:h=!1,maxWidth:v="lg"}=c,m=ne(c,rV),w=C({},c,{component:f,disableGutters:p,fixed:h,maxWidth:v}),y=aV(w,r);return x.jsx(o,C({as:f,ownerState:w,className:te(y.root,u),ref:l},m))})}const cV=(e,t)=>e.filter(n=>t.includes(n)),gc=(e,t,n)=>{const r=e.keys[0];Array.isArray(t)?t.forEach((o,i)=>{n((s,a)=>{i<=e.keys.length-1&&(i===0?Object.assign(s,a):s[e.up(e.keys[i])]=a)},o)}):t&&typeof t=="object"?(Object.keys(t).length>e.keys.length?e.keys:cV(e.keys,Object.keys(t))).forEach(i=>{if(e.keys.indexOf(i)!==-1){const s=t[i];s!==void 0&&n((a,l)=>{r===i?Object.assign(a,l):a[e.up(i)]=l},s)}}):(typeof t=="number"||typeof t=="string")&&n((o,i)=>{Object.assign(o,i)},t)};function Yi(e){return e?`Level${e}`:""}function Wd(e){return e.unstable_level>0&&e.container}function FO(e){return function(n){return`var(--Grid-${n}Spacing${Yi(e.unstable_level)})`}}function Hx(e){return function(n){return e.unstable_level===0?`var(--Grid-${n}Spacing)`:`var(--Grid-${n}Spacing${Yi(e.unstable_level-1)})`}}function Ux(e){return e.unstable_level===0?"var(--Grid-columns)":`var(--Grid-columns${Yi(e.unstable_level-1)})`}const uV=({theme:e,ownerState:t})=>{const n=FO(t),r={};return gc(e.breakpoints,t.gridSize,(o,i)=>{let s={};i===!0&&(s={flexBasis:0,flexGrow:1,maxWidth:"100%"}),i==="auto"&&(s={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),typeof i=="number"&&(s={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${i} / ${Ux(t)}${Wd(t)?` + ${n("column")}`:""})`}),o(r,s)}),r},dV=({theme:e,ownerState:t})=>{const n={};return gc(e.breakpoints,t.gridOffset,(r,o)=>{let i={};o==="auto"&&(i={marginLeft:"auto"}),typeof o=="number"&&(i={marginLeft:o===0?"0px":`calc(100% * ${o} / ${Ux(t)})`}),r(n,i)}),n},fV=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Wd(t)?{[`--Grid-columns${Yi(t.unstable_level)}`]:Ux(t)}:{"--Grid-columns":12};return gc(e.breakpoints,t.columns,(r,o)=>{r(n,{[`--Grid-columns${Yi(t.unstable_level)}`]:o})}),n},pV=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Hx(t),r=Wd(t)?{[`--Grid-rowSpacing${Yi(t.unstable_level)}`]:n("row")}:{};return gc(e.breakpoints,t.rowSpacing,(o,i)=>{var s;o(r,{[`--Grid-rowSpacing${Yi(t.unstable_level)}`]:typeof i=="string"?i:(s=e.spacing)==null?void 0:s.call(e,i)})}),r},hV=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Hx(t),r=Wd(t)?{[`--Grid-columnSpacing${Yi(t.unstable_level)}`]:n("column")}:{};return gc(e.breakpoints,t.columnSpacing,(o,i)=>{var s;o(r,{[`--Grid-columnSpacing${Yi(t.unstable_level)}`]:typeof i=="string"?i:(s=e.spacing)==null?void 0:s.call(e,i)})}),r},gV=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return gc(e.breakpoints,t.direction,(r,o)=>{r(n,{flexDirection:o})}),n},mV=({ownerState:e})=>{const t=FO(e),n=Hx(e);return C({minWidth:0,boxSizing:"border-box"},e.container&&C({display:"flex",flexWrap:"wrap"},e.wrap&&e.wrap!=="wrap"&&{flexWrap:e.wrap},{margin:`calc(${t("row")} / -2) calc(${t("column")} / -2)`},e.disableEqualOverflow&&{margin:`calc(${t("row")} * -1) 0px 0px calc(${t("column")} * -1)`}),(!e.container||Wd(e))&&C({padding:`calc(${n("row")} / 2) calc(${n("column")} / 2)`},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:`${n("row")} 0px 0px ${n("column")}`}))},vV=e=>{const t=[];return Object.entries(e).forEach(([n,r])=>{r!==!1&&r!==void 0&&t.push(`grid-${n}-${String(r)}`)}),t},yV=(e,t="xs")=>{function n(r){return r===void 0?!1:typeof r=="string"&&!Number.isNaN(Number(r))||typeof r=="number"&&r>0}if(n(e))return[`spacing-${t}-${String(e)}`];if(typeof e=="object"&&!Array.isArray(e)){const r=[];return Object.entries(e).forEach(([o,i])=>{n(i)&&r.push(`spacing-${o}-${String(i)}`)}),r}return[]},bV=e=>e===void 0?[]:typeof e=="object"?Object.entries(e).map(([t,n])=>`direction-${t}-${n}`):[`direction-xs-${String(e)}`],xV=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],CV=Da(),SV=Bx("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function wV(e){return Fd({props:e,name:"MuiGrid",defaultTheme:CV})}function PV(e={}){const{createStyledComponent:t=SV,useThemeProps:n=wV,componentName:r="MuiGrid"}=e,o=R.createContext(void 0),i=(l,c)=>{const{container:u,direction:f,spacing:p,wrap:h,gridSize:v}=l,m={root:["root",u&&"container",h!=="wrap"&&`wrap-xs-${String(h)}`,...bV(f),...vV(v),...u?yV(p,c.breakpoints.keys[0]):[]]};return Re(m,w=>Pe(r,w),{})},s=t(fV,hV,pV,uV,gV,mV,dV),a=R.forwardRef(function(c,u){var f,p,h,v,m,w,y,S;const _=Nd(),$=n(c),T=hc($),P=R.useContext(o),{className:O,children:A,columns:E=12,container:j=!1,component:B="div",direction:V="row",wrap:H="wrap",spacing:U=0,rowSpacing:I=U,columnSpacing:D=U,disableEqualOverflow:G,unstable_level:N=0}=T,K=ne(T,xV);let Z=G;N&&G!==void 0&&(Z=c.disableEqualOverflow);const ve={},Ce={},se={};Object.entries(K).forEach(([Le,xe])=>{_.breakpoints.values[Le]!==void 0?ve[Le]=xe:_.breakpoints.values[Le.replace("Offset","")]!==void 0?Ce[Le.replace("Offset","")]=xe:se[Le]=xe});const ae=(f=c.columns)!=null?f:N?void 0:E,ye=(p=c.spacing)!=null?p:N?void 0:U,ue=(h=(v=c.rowSpacing)!=null?v:c.spacing)!=null?h:N?void 0:I,Be=(m=(w=c.columnSpacing)!=null?w:c.spacing)!=null?m:N?void 0:D,ce=C({},T,{level:N,columns:ae,container:j,direction:V,wrap:H,spacing:ye,rowSpacing:ue,columnSpacing:Be,gridSize:ve,gridOffset:Ce,disableEqualOverflow:(y=(S=Z)!=null?S:P)!=null?y:!1,parentDisableEqualOverflow:P}),Ae=i(ce,_);let Ke=x.jsx(s,C({ref:u,as:B,ownerState:ce,className:te(Ae.root,O)},se,{children:R.Children.map(A,Le=>{if(R.isValidElement(Le)&&li(Le,["Grid"])){var xe;return R.cloneElement(Le,{unstable_level:(xe=Le.props.unstable_level)!=null?xe:N+1})}return Le})}));return Z!==void 0&&Z!==(P??!1)&&(Ke=x.jsx(o.Provider,{value:Z,children:Ke})),Ke});return a.muiName="Grid",a}const kV=["component","direction","spacing","divider","children","className","useFlexGap"],_V=Da(),RV=Bx("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function TV(e){return Fd({props:e,name:"MuiStack",defaultTheme:_V})}function $V(e,t){const n=R.Children.toArray(e).filter(Boolean);return n.reduce((r,o,i)=>(r.push(o),i({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],MV=({ownerState:e,theme:t})=>{let n=C({display:"flex",flexDirection:"column"},zr({theme:t},xa({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r})));if(e.spacing){const r=Mx(t),o=Object.keys(t.breakpoints.values).reduce((l,c)=>((typeof e.spacing=="object"&&e.spacing[c]!=null||typeof e.direction=="object"&&e.direction[c]!=null)&&(l[c]=!0),l),{}),i=xa({values:e.direction,base:o}),s=xa({values:e.spacing,base:o});typeof i=="object"&&Object.keys(i).forEach((l,c,u)=>{if(!i[l]){const p=c>0?i[u[c-1]]:"column";i[l]=p}}),n=Cn(n,zr({theme:t},s,(l,c)=>e.useFlexGap?{gap:Oa(r,l)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${OV(c?i[c]:e.direction)}`]:Oa(r,l)}}))}return n=a6(t.breakpoints,n),n};function AV(e={}){const{createStyledComponent:t=RV,useThemeProps:n=TV,componentName:r="MuiStack"}=e,o=()=>Re({root:["root"]},l=>Pe(r,l),{}),i=t(MV);return R.forwardRef(function(l,c){const u=n(l),f=hc(u),{component:p="div",direction:h="column",spacing:v=0,divider:m,children:w,className:y,useFlexGap:S=!1}=f,_=ne(f,kV),$={direction:h,spacing:v,useFlexGap:S},T=o();return x.jsx(i,C({as:p,ownerState:$,ref:c,className:te(T.root,y)},_,{children:m?$V(w,m):w}))})}const IV=["defaultProps","mixins","overrides","palette","props","styleOverrides"],EV=["type","mode"];function LV(e){const{defaultProps:t={},mixins:n={},overrides:r={},palette:o={},props:i={},styleOverrides:s={}}=e,a=ne(e,IV),l=C({},a,{components:{}});Object.keys(t).forEach(m=>{const w=l.components[m]||{};w.defaultProps=t[m],l.components[m]=w}),Object.keys(i).forEach(m=>{const w=l.components[m]||{};w.defaultProps=i[m],l.components[m]=w}),Object.keys(s).forEach(m=>{const w=l.components[m]||{};w.styleOverrides=s[m],l.components[m]=w}),Object.keys(r).forEach(m=>{const w=l.components[m]||{};w.styleOverrides=r[m],l.components[m]=w}),l.spacing=pO(e.spacing);const c=Rx(e.breakpoints||{}),u=l.spacing;l.mixins=C({gutters:(m={})=>C({paddingLeft:u(2),paddingRight:u(2)},m,{[c.up("sm")]:C({paddingLeft:u(3),paddingRight:u(3)},m[c.up("sm")])})},n);const{type:f,mode:p}=o,h=ne(o,EV),v=p||f||"light";return l.palette=C({text:{hint:v==="dark"?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:v,type:v},h),l}function zO(e,t){return C({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var wn={},VO={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(VO);var Vr=VO.exports;const jV=io(ez),BV=io(C8);var WO=Vr;Object.defineProperty(wn,"__esModule",{value:!0});var st=wn.alpha=KO;wn.blend=XV;wn.colorChannel=void 0;var Os=wn.darken=Kx;wn.decomposeColor=Ro;var Fh=wn.emphasize=YO,DV=wn.getContrastRatio=HV;wn.getLuminance=zh;wn.hexToRgb=HO;var NV=wn.hslToRgb=GO,Ms=wn.lighten=Yx,qf=wn.private_safeAlpha=UV,Cl=wn.private_safeColorChannel=void 0,Kt=wn.private_safeDarken=GV,Qf=wn.private_safeEmphasize=YV,Yt=wn.private_safeLighten=KV;wn.recomposeColor=mc;wn.rgbToHex=WV;var J2=WO(jV),FV=WO(BV);function Gx(e,t=0,n=1){return(0,FV.default)(e,t,n)}function HO(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(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function zV(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function Ro(e){if(e.type)return e;if(e.charAt(0)==="#")return Ro(HO(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,J2.default)(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error((0,J2.default)(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const UO=e=>{const t=Ro(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};wn.colorChannel=UO;const VV=(e,t)=>{try{return UO(e)}catch{return e}};Cl=wn.private_safeColorChannel=VV;function mc(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function WV(e){if(e.indexOf("#")===0)return e;const{values:t}=Ro(e);return`#${t.map((n,r)=>zV(r===3?Math.round(255*n):n)).join("")}`}function GO(e){e=Ro(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),s=(c,u=(c+n/30)%12)=>o-i*Math.max(Math.min(u-3,9-u,1),-1);let a="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),mc({type:a,values:l})}function zh(e){e=Ro(e);let t=e.type==="hsl"||e.type==="hsla"?Ro(GO(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 HV(e,t){const n=zh(e),r=zh(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function KO(e,t){return e=Ro(e),t=Gx(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,mc(e)}function UV(e,t,n){try{return KO(e,t)}catch{return e}}function Kx(e,t){if(e=Ro(e),t=Gx(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return mc(e)}function GV(e,t,n){try{return Kx(e,t)}catch{return e}}function Yx(e,t){if(e=Ro(e),t=Gx(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return mc(e)}function KV(e,t,n){try{return Yx(e,t)}catch{return e}}function YO(e,t=.15){return zh(e)>.5?Kx(e,t):Yx(e,t)}function YV(e,t,n){try{return YO(e,t)}catch{return e}}function XV(e,t,n,r=1){const o=(l,c)=>Math.round((l**(1/r)*(1-n)+c**(1/r)*n)**r),i=Ro(e),s=Ro(t),a=[o(i.values[0],s.values[0]),o(i.values[1],s.values[1]),o(i.values[2],s.values[2])];return mc({type:"rgb",values:a})}const qV=["mode","contrastThreshold","tonalOffset"],eP={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:ql.white,default:ql.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}},Zv={text:{primary:ql.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:ql.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function tP(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=Ms(e.main,o):t==="dark"&&(e.dark=Os(e.main,i)))}function QV(e="light"){return e==="dark"?{main:na[200],light:na[50],dark:na[400]}:{main:na[700],light:na[400],dark:na[800]}}function ZV(e="light"){return e==="dark"?{main:ta[200],light:ta[50],dark:ta[400]}:{main:ta[500],light:ta[300],dark:ta[700]}}function JV(e="light"){return e==="dark"?{main:ea[500],light:ea[300],dark:ea[700]}:{main:ea[700],light:ea[400],dark:ea[800]}}function e9(e="light"){return e==="dark"?{main:ra[400],light:ra[300],dark:ra[700]}:{main:ra[700],light:ra[500],dark:ra[900]}}function t9(e="light"){return e==="dark"?{main:oa[400],light:oa[300],dark:oa[700]}:{main:oa[800],light:oa[500],dark:oa[900]}}function n9(e="light"){return e==="dark"?{main:rl[400],light:rl[300],dark:rl[700]}:{main:"#ed6c02",light:rl[500],dark:rl[900]}}function r9(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=ne(e,qV),i=e.primary||QV(t),s=e.secondary||ZV(t),a=e.error||JV(t),l=e.info||e9(t),c=e.success||t9(t),u=e.warning||n9(t);function f(m){return DV(m,Zv.text.primary)>=n?Zv.text.primary:eP.text.primary}const p=({color:m,name:w,mainShade:y=500,lightShade:S=300,darkShade:_=700})=>{if(m=C({},m),!m.main&&m[y]&&(m.main=m[y]),!m.hasOwnProperty("main"))throw new Error(Sr(11,w?` (${w})`:"",y));if(typeof m.main!="string")throw new Error(Sr(12,w?` (${w})`:"",JSON.stringify(m.main)));return tP(m,"light",S,r),tP(m,"dark",_,r),m.contrastText||(m.contrastText=f(m.main)),m},h={dark:Zv,light:eP};return Cn(C({common:C({},ql),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:a,name:"error"}),warning:p({color:u,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:c,name:"success"}),grey:F$,contrastThreshold:n,getContrastText:f,augmentColor:p,tonalOffset:r},h[t]),o)}const o9=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function i9(e){return Math.round(e*1e5)/1e5}const nP={textTransform:"uppercase"},rP='"Roboto", "Helvetica", "Arial", sans-serif';function Xx(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=rP,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:s=400,fontWeightMedium:a=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:f}=n,p=ne(n,o9),h=o/14,v=f||(y=>`${y/c*h}rem`),m=(y,S,_,$,T)=>C({fontFamily:r,fontWeight:y,fontSize:v(S),lineHeight:_},r===rP?{letterSpacing:`${i9($/S)}em`}:{},T,u),w={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(s,48,1.167,0),h4:m(s,34,1.235,.25),h5:m(s,24,1.334,0),h6:m(a,20,1.6,.15),subtitle1:m(s,16,1.75,.15),subtitle2:m(a,14,1.57,.1),body1:m(s,16,1.5,.15),body2:m(s,14,1.43,.15),button:m(a,14,1.75,.4,nP),caption:m(s,12,1.66,.4),overline:m(s,12,2.66,1,nP),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Cn(C({htmlFontSize:c,pxToRem:v,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:s,fontWeightMedium:a,fontWeightBold:l},w),p,{clone:!1})}const s9=.2,a9=.14,l9=.12;function nn(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${s9})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${a9})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${l9})`].join(",")}const c9=["none",nn(0,2,1,-1,0,1,1,0,0,1,3,0),nn(0,3,1,-2,0,2,2,0,0,1,5,0),nn(0,3,3,-2,0,3,4,0,0,1,8,0),nn(0,2,4,-1,0,4,5,0,0,1,10,0),nn(0,3,5,-1,0,5,8,0,0,1,14,0),nn(0,3,5,-1,0,6,10,0,0,1,18,0),nn(0,4,5,-2,0,7,10,1,0,2,16,1),nn(0,5,5,-3,0,8,10,1,0,3,14,2),nn(0,5,6,-3,0,9,12,1,0,3,16,2),nn(0,6,6,-3,0,10,14,1,0,4,18,3),nn(0,6,7,-4,0,11,15,1,0,4,20,3),nn(0,7,8,-4,0,12,17,2,0,5,22,4),nn(0,7,8,-4,0,13,19,2,0,5,24,4),nn(0,7,9,-4,0,14,21,2,0,5,26,4),nn(0,8,9,-5,0,15,22,2,0,6,28,5),nn(0,8,10,-5,0,16,24,2,0,6,30,5),nn(0,8,11,-5,0,17,26,2,0,6,32,5),nn(0,9,11,-5,0,18,28,2,0,7,34,6),nn(0,9,12,-6,0,19,29,2,0,7,36,6),nn(0,10,13,-6,0,20,31,3,0,8,38,7),nn(0,10,13,-6,0,21,33,3,0,8,40,7),nn(0,10,14,-6,0,22,35,3,0,8,42,7),nn(0,11,14,-7,0,23,36,3,0,9,44,8),nn(0,11,15,-7,0,24,38,3,0,9,46,8)],u9=["duration","easing","delay"],XO={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)"},qx={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function oP(e){return`${Math.round(e)}ms`}function d9(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function f9(e){const t=C({},XO,e.easing),n=C({},qx,e.duration);return C({getAutoHeightDuration:d9,create:(o=["all"],i={})=>{const{duration:s=n.standard,easing:a=t.easeInOut,delay:l=0}=i;return ne(i,u9),(Array.isArray(o)?o:[o]).map(c=>`${c} ${typeof s=="string"?s:oP(s)} ${a} ${typeof l=="string"?l:oP(l)}`).join(",")}},e,{easing:t,duration:n})}const p9={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},h9=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function As(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,s=ne(e,h9);if(e.vars)throw new Error(Sr(18));const a=r9(r),l=Da(e);let c=Cn(l,{mixins:zO(l.breakpoints,n),palette:a,shadows:c9.slice(),typography:Xx(a,i),transitions:f9(o),zIndex:C({},p9)});return c=Cn(c,s),c=t.reduce((u,f)=>Cn(u,f),c),c.unstable_sxConfig=C({},pc,s==null?void 0:s.unstable_sxConfig),c.unstable_sx=function(f){return Bs({sx:f,theme:this})},c}function g9(...e){return As(...e)}function m9(e,...t){return As(Cn({unstable_strictMode:!0},e),...t)}let iP=!1;function v9(e){return iP||(console.warn(["MUI: createStyles from @mui/material/styles is deprecated.","Please use @mui/styles/createStyles"].join(` +`)),iP=!0),e}function sP(e){return String(parseFloat(e)).length===String(e).length}function Qx(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function Ti(e){return parseFloat(e)}function y9(e){return(t,n)=>{const r=Qx(t);if(r===n)return t;let o=Ti(t);r!=="px"&&(r==="em"||r==="rem")&&(o=Ti(t)*Ti(e));let i=o;if(n!=="px")if(n==="em")i=o/Ti(e);else if(n==="rem")i=o/Ti(e);else return t;return parseFloat(i.toFixed(5))+n}}function b9({size:e,grid:t}){const n=e-e%t,r=n+t;return e-n{let c=t+a*l;i!==null&&(c=i(c)),s[`@media (min-width:${l}px)`]={[e]:`${Math.round(c*1e4)/1e4}${r}`}}),s}function S9(e,t={}){const{breakpoints:n=["sm","md","lg"],disableAlign:r=!1,factor:o=2,variants:i=["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]}=t,s=C({},e);s.typography=C({},s.typography);const a=s.typography,l=y9(a.htmlFontSize),c=n.map(u=>s.breakpoints.values[u]);return i.forEach(u=>{const f=a[u];if(!f)return;const p=parseFloat(l(f.fontSize,"rem"));if(p<=1)return;const h=p,v=1+(h-1)/o;let{lineHeight:m}=f;if(!sP(m)&&!r)throw new Error(Sr(6));sP(m)||(m=parseFloat(l(m,"rem"))/parseFloat(p));let w=null;r||(w=y=>b9({size:y,grid:x9({pixels:4,lineHeight:m,htmlFontSize:a.htmlFontSize})})),a[u]=C({},f,C9({cssProperty:"fontSize",min:v,max:h,unit:"rem",breakpoints:c,transform:w}))}),s}const hm=As();function tr(){const e=Nd(hm);return e[Gi]||e}function Ee({props:e,name:t}){return Fd({props:e,name:t,defaultTheme:hm,themeId:Gi})}var Hd={},Jv={exports:{}},aP;function w9(){return aP||(aP=1,function(e){function t(n,r){if(n==null)return{};var o={};for(var i in n)if({}.hasOwnProperty.call(n,i)){if(r.indexOf(i)>=0)continue;o[i]=n[i]}return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Jv)),Jv.exports}const qO=io(n6),P9=io(r6),k9=io(c6),_9=io(c8),R9=io(X6),T9=io(t8);var vc=Vr;Object.defineProperty(Hd,"__esModule",{value:!0});var $9=Hd.default=V9;Hd.shouldForwardProp=Yp;Hd.systemDefaultTheme=void 0;var go=vc(sO()),_y=vc(w9()),lP=j9(qO),O9=P9;vc(k9);vc(_9);var M9=vc(R9),A9=vc(T9);const I9=["ownerState"],E9=["variants"],L9=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function QO(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(QO=function(r){return r?n:t})(e)}function j9(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=QO(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function B9(e){return Object.keys(e).length===0}function D9(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Yp(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const N9=Hd.systemDefaultTheme=(0,M9.default)(),F9=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Zf({defaultTheme:e,theme:t,themeId:n}){return B9(t)?e:t[n]||t}function z9(e){return e?(t,n)=>n[e]:null}function Xp(e,t){let{ownerState:n}=t,r=(0,_y.default)(t,I9);const o=typeof e=="function"?e((0,go.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>Xp(i,(0,go.default)({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let a=(0,_y.default)(o,E9);return i.forEach(l=>{let c=!0;typeof l.props=="function"?c=l.props((0,go.default)({ownerState:n},r,n)):Object.keys(l.props).forEach(u=>{(n==null?void 0:n[u])!==l.props[u]&&r[u]!==l.props[u]&&(c=!1)}),c&&(Array.isArray(a)||(a=[a]),a.push(typeof l.style=="function"?l.style((0,go.default)({ownerState:n},r,n)):l.style))}),a}return o}function V9(e={}){const{themeId:t,defaultTheme:n=N9,rootShouldForwardProp:r=Yp,slotShouldForwardProp:o=Yp}=e,i=s=>(0,A9.default)((0,go.default)({},s,{theme:Zf((0,go.default)({},s,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(s,a={})=>{(0,lP.internal_processStyles)(s,T=>T.filter(P=>!(P!=null&&P.__mui_systemSx)));const{name:l,slot:c,skipVariantsResolver:u,skipSx:f,overridesResolver:p=z9(F9(c))}=a,h=(0,_y.default)(a,L9),v=u!==void 0?u:c&&c!=="Root"&&c!=="root"||!1,m=f||!1;let w,y=Yp;c==="Root"||c==="root"?y=r:c?y=o:D9(s)&&(y=void 0);const S=(0,lP.default)(s,(0,go.default)({shouldForwardProp:y,label:w},h)),_=T=>typeof T=="function"&&T.__emotion_real!==T||(0,O9.isPlainObject)(T)?P=>Xp(T,(0,go.default)({},P,{theme:Zf({theme:P.theme,defaultTheme:n,themeId:t})})):T,$=(T,...P)=>{let O=_(T);const A=P?P.map(_):[];l&&p&&A.push(B=>{const V=Zf((0,go.default)({},B,{defaultTheme:n,themeId:t}));if(!V.components||!V.components[l]||!V.components[l].styleOverrides)return null;const H=V.components[l].styleOverrides,U={};return Object.entries(H).forEach(([I,D])=>{U[I]=Xp(D,(0,go.default)({},B,{theme:V}))}),p(B,U)}),l&&!v&&A.push(B=>{var V;const H=Zf((0,go.default)({},B,{defaultTheme:n,themeId:t})),U=H==null||(V=H.components)==null||(V=V[l])==null?void 0:V.variants;return Xp({variants:U},(0,go.default)({},B,{theme:H}))}),m||A.push(i);const E=A.length-P.length;if(Array.isArray(T)&&E>0){const B=new Array(E).fill("");O=[...T,...B],O.raw=[...T.raw,...B]}const j=S(O,...A);return s.muiName&&(j.muiName=s.muiName),j};return S.withConfig&&($.withConfig=S.withConfig),$}}function yc(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Pn=e=>yc(e)&&e!=="classes",W9=$9({themeId:Gi,defaultTheme:hm,rootShouldForwardProp:Pn}),X=W9,H9=["theme"];function ZO(e){let{theme:t}=e,n=ne(e,H9);const r=t[Gi];return x.jsx(BO,C({},n,{themeId:r?Gi:void 0,theme:r||t}))}function U9(){throw new Error(Sr(14))}function G9(){throw new Error(Sr(15))}function K9(){throw new Error(Sr(16))}function JO(e){var t;return!!e[0].match(/(cssVarPrefix|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const Y9=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},Vh=Y9,X9=["colorSchemes","cssVarPrefix","shouldSkipGeneratingVar"],q9=["palette"],Q9=[...Array(25)].map((e,t)=>{if(t===0)return;const n=Vh(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Z9(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function Se(e,t,n){!e[t]&&n&&(e[t]=n)}function tu(e){return!e||!e.startsWith("hsl")?e:NV(e)}function bi(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Cl(tu(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color(). +To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}const Xo=e=>{try{return e()}catch{}},J9=(e="mui")=>q8(e);function eM(e={},...t){var n,r,o,i,s,a;const{colorSchemes:l={},cssVarPrefix:c="mui",shouldSkipGeneratingVar:u=JO}=e,f=ne(e,X9),p=J9(c),h=As(C({},f,l.light&&{palette:(n=l.light)==null?void 0:n.palette})),{palette:v}=h,m=ne(h,q9),{palette:w}=As({palette:C({mode:"dark"},(r=l.dark)==null?void 0:r.palette)});let y=C({},m,{cssVarPrefix:c,getCssVar:p,colorSchemes:C({},l,{light:C({},l.light,{palette:v,opacity:C({inputPlaceholder:.42,inputUnderline:.42,switchTrackDisabled:.12,switchTrack:.38},(o=l.light)==null?void 0:o.opacity),overlays:((i=l.light)==null?void 0:i.overlays)||[]}),dark:C({},l.dark,{palette:w,opacity:C({inputPlaceholder:.5,inputUnderline:.7,switchTrackDisabled:.2,switchTrack:.3},(s=l.dark)==null?void 0:s.opacity),overlays:((a=l.dark)==null?void 0:a.overlays)||Q9})})});Object.keys(y.colorSchemes).forEach(T=>{const P=y.colorSchemes[T].palette,O=A=>{const E=A.split("-"),j=E[1],B=E[2];return p(A,P[j][B])};if(T==="light"?(Se(P.common,"background","#fff"),Se(P.common,"onBackground","#000")):(Se(P.common,"background","#000"),Se(P.common,"onBackground","#fff")),Z9(P,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),T==="light"){Se(P.Alert,"errorColor",Kt(P.error.light,.6)),Se(P.Alert,"infoColor",Kt(P.info.light,.6)),Se(P.Alert,"successColor",Kt(P.success.light,.6)),Se(P.Alert,"warningColor",Kt(P.warning.light,.6)),Se(P.Alert,"errorFilledBg",O("palette-error-main")),Se(P.Alert,"infoFilledBg",O("palette-info-main")),Se(P.Alert,"successFilledBg",O("palette-success-main")),Se(P.Alert,"warningFilledBg",O("palette-warning-main")),Se(P.Alert,"errorFilledColor",Xo(()=>v.getContrastText(P.error.main))),Se(P.Alert,"infoFilledColor",Xo(()=>v.getContrastText(P.info.main))),Se(P.Alert,"successFilledColor",Xo(()=>v.getContrastText(P.success.main))),Se(P.Alert,"warningFilledColor",Xo(()=>v.getContrastText(P.warning.main))),Se(P.Alert,"errorStandardBg",Yt(P.error.light,.9)),Se(P.Alert,"infoStandardBg",Yt(P.info.light,.9)),Se(P.Alert,"successStandardBg",Yt(P.success.light,.9)),Se(P.Alert,"warningStandardBg",Yt(P.warning.light,.9)),Se(P.Alert,"errorIconColor",O("palette-error-main")),Se(P.Alert,"infoIconColor",O("palette-info-main")),Se(P.Alert,"successIconColor",O("palette-success-main")),Se(P.Alert,"warningIconColor",O("palette-warning-main")),Se(P.AppBar,"defaultBg",O("palette-grey-100")),Se(P.Avatar,"defaultBg",O("palette-grey-400")),Se(P.Button,"inheritContainedBg",O("palette-grey-300")),Se(P.Button,"inheritContainedHoverBg",O("palette-grey-A100")),Se(P.Chip,"defaultBorder",O("palette-grey-400")),Se(P.Chip,"defaultAvatarColor",O("palette-grey-700")),Se(P.Chip,"defaultIconColor",O("palette-grey-700")),Se(P.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Se(P.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Se(P.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Se(P.LinearProgress,"primaryBg",Yt(P.primary.main,.62)),Se(P.LinearProgress,"secondaryBg",Yt(P.secondary.main,.62)),Se(P.LinearProgress,"errorBg",Yt(P.error.main,.62)),Se(P.LinearProgress,"infoBg",Yt(P.info.main,.62)),Se(P.LinearProgress,"successBg",Yt(P.success.main,.62)),Se(P.LinearProgress,"warningBg",Yt(P.warning.main,.62)),Se(P.Skeleton,"bg",`rgba(${O("palette-text-primaryChannel")} / 0.11)`),Se(P.Slider,"primaryTrack",Yt(P.primary.main,.62)),Se(P.Slider,"secondaryTrack",Yt(P.secondary.main,.62)),Se(P.Slider,"errorTrack",Yt(P.error.main,.62)),Se(P.Slider,"infoTrack",Yt(P.info.main,.62)),Se(P.Slider,"successTrack",Yt(P.success.main,.62)),Se(P.Slider,"warningTrack",Yt(P.warning.main,.62));const A=Qf(P.background.default,.8);Se(P.SnackbarContent,"bg",A),Se(P.SnackbarContent,"color",Xo(()=>v.getContrastText(A))),Se(P.SpeedDialAction,"fabHoverBg",Qf(P.background.paper,.15)),Se(P.StepConnector,"border",O("palette-grey-400")),Se(P.StepContent,"border",O("palette-grey-400")),Se(P.Switch,"defaultColor",O("palette-common-white")),Se(P.Switch,"defaultDisabledColor",O("palette-grey-100")),Se(P.Switch,"primaryDisabledColor",Yt(P.primary.main,.62)),Se(P.Switch,"secondaryDisabledColor",Yt(P.secondary.main,.62)),Se(P.Switch,"errorDisabledColor",Yt(P.error.main,.62)),Se(P.Switch,"infoDisabledColor",Yt(P.info.main,.62)),Se(P.Switch,"successDisabledColor",Yt(P.success.main,.62)),Se(P.Switch,"warningDisabledColor",Yt(P.warning.main,.62)),Se(P.TableCell,"border",Yt(qf(P.divider,1),.88)),Se(P.Tooltip,"bg",qf(P.grey[700],.92))}else{Se(P.Alert,"errorColor",Yt(P.error.light,.6)),Se(P.Alert,"infoColor",Yt(P.info.light,.6)),Se(P.Alert,"successColor",Yt(P.success.light,.6)),Se(P.Alert,"warningColor",Yt(P.warning.light,.6)),Se(P.Alert,"errorFilledBg",O("palette-error-dark")),Se(P.Alert,"infoFilledBg",O("palette-info-dark")),Se(P.Alert,"successFilledBg",O("palette-success-dark")),Se(P.Alert,"warningFilledBg",O("palette-warning-dark")),Se(P.Alert,"errorFilledColor",Xo(()=>w.getContrastText(P.error.dark))),Se(P.Alert,"infoFilledColor",Xo(()=>w.getContrastText(P.info.dark))),Se(P.Alert,"successFilledColor",Xo(()=>w.getContrastText(P.success.dark))),Se(P.Alert,"warningFilledColor",Xo(()=>w.getContrastText(P.warning.dark))),Se(P.Alert,"errorStandardBg",Kt(P.error.light,.9)),Se(P.Alert,"infoStandardBg",Kt(P.info.light,.9)),Se(P.Alert,"successStandardBg",Kt(P.success.light,.9)),Se(P.Alert,"warningStandardBg",Kt(P.warning.light,.9)),Se(P.Alert,"errorIconColor",O("palette-error-main")),Se(P.Alert,"infoIconColor",O("palette-info-main")),Se(P.Alert,"successIconColor",O("palette-success-main")),Se(P.Alert,"warningIconColor",O("palette-warning-main")),Se(P.AppBar,"defaultBg",O("palette-grey-900")),Se(P.AppBar,"darkBg",O("palette-background-paper")),Se(P.AppBar,"darkColor",O("palette-text-primary")),Se(P.Avatar,"defaultBg",O("palette-grey-600")),Se(P.Button,"inheritContainedBg",O("palette-grey-800")),Se(P.Button,"inheritContainedHoverBg",O("palette-grey-700")),Se(P.Chip,"defaultBorder",O("palette-grey-700")),Se(P.Chip,"defaultAvatarColor",O("palette-grey-300")),Se(P.Chip,"defaultIconColor",O("palette-grey-300")),Se(P.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Se(P.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Se(P.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Se(P.LinearProgress,"primaryBg",Kt(P.primary.main,.5)),Se(P.LinearProgress,"secondaryBg",Kt(P.secondary.main,.5)),Se(P.LinearProgress,"errorBg",Kt(P.error.main,.5)),Se(P.LinearProgress,"infoBg",Kt(P.info.main,.5)),Se(P.LinearProgress,"successBg",Kt(P.success.main,.5)),Se(P.LinearProgress,"warningBg",Kt(P.warning.main,.5)),Se(P.Skeleton,"bg",`rgba(${O("palette-text-primaryChannel")} / 0.13)`),Se(P.Slider,"primaryTrack",Kt(P.primary.main,.5)),Se(P.Slider,"secondaryTrack",Kt(P.secondary.main,.5)),Se(P.Slider,"errorTrack",Kt(P.error.main,.5)),Se(P.Slider,"infoTrack",Kt(P.info.main,.5)),Se(P.Slider,"successTrack",Kt(P.success.main,.5)),Se(P.Slider,"warningTrack",Kt(P.warning.main,.5));const A=Qf(P.background.default,.98);Se(P.SnackbarContent,"bg",A),Se(P.SnackbarContent,"color",Xo(()=>w.getContrastText(A))),Se(P.SpeedDialAction,"fabHoverBg",Qf(P.background.paper,.15)),Se(P.StepConnector,"border",O("palette-grey-600")),Se(P.StepContent,"border",O("palette-grey-600")),Se(P.Switch,"defaultColor",O("palette-grey-300")),Se(P.Switch,"defaultDisabledColor",O("palette-grey-600")),Se(P.Switch,"primaryDisabledColor",Kt(P.primary.main,.55)),Se(P.Switch,"secondaryDisabledColor",Kt(P.secondary.main,.55)),Se(P.Switch,"errorDisabledColor",Kt(P.error.main,.55)),Se(P.Switch,"infoDisabledColor",Kt(P.info.main,.55)),Se(P.Switch,"successDisabledColor",Kt(P.success.main,.55)),Se(P.Switch,"warningDisabledColor",Kt(P.warning.main,.55)),Se(P.TableCell,"border",Kt(qf(P.divider,1),.68)),Se(P.Tooltip,"bg",qf(P.grey[700],.92))}bi(P.background,"default"),bi(P.background,"paper"),bi(P.common,"background"),bi(P.common,"onBackground"),bi(P,"divider"),Object.keys(P).forEach(A=>{const E=P[A];E&&typeof E=="object"&&(E.main&&Se(P[A],"mainChannel",Cl(tu(E.main))),E.light&&Se(P[A],"lightChannel",Cl(tu(E.light))),E.dark&&Se(P[A],"darkChannel",Cl(tu(E.dark))),E.contrastText&&Se(P[A],"contrastTextChannel",Cl(tu(E.contrastText))),A==="text"&&(bi(P[A],"primary"),bi(P[A],"secondary")),A==="action"&&(E.active&&bi(P[A],"active"),E.selected&&bi(P[A],"selected")))})}),y=t.reduce((T,P)=>Cn(T,P),y);const S={prefix:c,shouldSkipGeneratingVar:u},{vars:_,generateCssVars:$}=nV(y,S);return y.vars=_,y.generateCssVars=$,y.shouldSkipGeneratingVar=u,y.unstable_sxConfig=C({},pc,f==null?void 0:f.unstable_sxConfig),y.unstable_sx=function(P){return Bs({sx:P,theme:this})},y}const e7=e=>[...[...Array(24)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n+1}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],tM=e7,t7=eM(),{CssVarsProvider:n7,useColorScheme:r7,getInitColorSchemeScript:o7}=X8({themeId:Gi,theme:t7,attribute:"data-mui-color-scheme",modeStorageKey:"mui-mode",colorSchemeStorageKey:"mui-color-scheme",defaultColorScheme:{light:"light",dark:"dark"},resolveTheme:e=>{const t=C({},e,{typography:Xx(e.palette,e.typography)});return t.unstable_sx=function(r){return Bs({sx:r,theme:this})},t},excludeVariablesFromRoot:tM});function i7(){throw new Error(Sr(20))}function nM(e){return Pe("MuiSvgIcon",e)}const s7=_e("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]),a7=s7,l7=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],c7=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${Q(t)}`,`fontSize${Q(n)}`]};return Re(o,nM,r)},u7=X("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${Q(n.color)}`],t[`fontSize${Q(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,i,s,a,l,c,u,f,p,h,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(s=i.pxToRem)==null?void 0:s.call(i,20))||"1.25rem",medium:((a=e.typography)==null||(l=a.pxToRem)==null?void 0:l.call(a,24))||"1.5rem",large:((c=e.typography)==null||(u=c.pxToRem)==null?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:(f=(p=(e.vars||e).palette)==null||(p=p[t.color])==null?void 0:p.main)!=null?f:{action:(h=(e.vars||e).palette)==null||(h=h.action)==null?void 0:h.active,disabled:(v=(e.vars||e).palette)==null||(v=v.action)==null?void 0:v.disabled,inherit:void 0}[t.color]}}),fd=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:s="inherit",component:a="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:f,viewBox:p="0 0 24 24"}=r,h=ne(r,l7),v=R.isValidElement(o)&&o.type==="svg",m=C({},r,{color:s,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:u,viewBox:p,hasSvgAsChild:v}),w={};u||(w.viewBox=p);const y=c7(m);return x.jsxs(u7,C({as:a,className:te(y.root,i),focusable:"false",color:c,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:n},w,h,v&&o.props,{ownerState:m,children:[v?o.props.children:o,f?x.jsx("title",{children:f}):null]}))});fd.muiName="SvgIcon";function Ut(e,t){function n(r,o){return x.jsx(fd,C({"data-testid":`${t}Icon`,ref:o},r,{children:e}))}return n.muiName=fd.muiName,R.memo(R.forwardRef(n))}const rM={configure:e=>{Ex.configure(e)}},d7=Object.freeze(Object.defineProperty({__proto__:null,capitalize:Q,createChainedFunction:ud,createSvgIcon:Ut,debounce:Na,deprecatedPropType:TO,isMuiElement:li,ownerDocument:Ft,ownerWindow:Jn,requirePropFactory:$O,setRef:Jl,unstable_ClassNameGenerator:rM,unstable_useEnhancedEffect:On,unstable_useId:_o,unsupportedProp:OO,useControlled:Cr,useEventCallback:Qt,useForkRef:Rt,useIsFocusVisible:Fa},Symbol.toStringTag,{value:"Module"}));function Go(e){return Ee}function Ry(e,t){return Ry=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Ry(e,t)}function oM(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ry(e,t)}const cP={disabled:!1},Wh=Zr.createContext(null);var f7=function(t){return t.scrollTop},nu="unmounted",ia="exited",sa="entering",ol="entered",Ty="exiting",co=function(e){oM(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var s=o,a=s&&!s.isMounting?r.enter:r.appear,l;return i.appearStatus=null,r.in?a?(l=ia,i.appearStatus=sa):l=ol:r.unmountOnExit||r.mountOnEnter?l=nu:l=ia,i.state={status:l},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var s=o.in;return s&&i.status===nu?{status:ia}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var i=null;if(o!==this.props){var s=this.state.status;this.props.in?s!==sa&&s!==ol&&(i=sa):(s===sa||s===ol)&&(i=Ty)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,s,a;return i=s=a=o,o!=null&&typeof o!="number"&&(i=o.exit,s=o.enter,a=o.appear!==void 0?o.appear:s),{exit:i,enter:s,appear:a}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===sa){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:Kf.findDOMNode(this);s&&f7(s)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ia&&this.setState({status:nu})},n.performEnter=function(o){var i=this,s=this.props.enter,a=this.context?this.context.isMounting:o,l=this.props.nodeRef?[a]:[Kf.findDOMNode(this),a],c=l[0],u=l[1],f=this.getTimeouts(),p=a?f.appear:f.enter;if(!o&&!s||cP.disabled){this.safeSetState({status:ol},function(){i.props.onEntered(c)});return}this.props.onEnter(c,u),this.safeSetState({status:sa},function(){i.props.onEntering(c,u),i.onTransitionEnd(p,function(){i.safeSetState({status:ol},function(){i.props.onEntered(c,u)})})})},n.performExit=function(){var o=this,i=this.props.exit,s=this.getTimeouts(),a=this.props.nodeRef?void 0:Kf.findDOMNode(this);if(!i||cP.disabled){this.safeSetState({status:ia},function(){o.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:Ty},function(){o.props.onExiting(a),o.onTransitionEnd(s.exit,function(){o.safeSetState({status:ia},function(){o.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},n.setNextCallback=function(o){var i=this,s=!0;return this.nextCallback=function(a){s&&(s=!1,i.nextCallback=null,o(a))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(o,i){this.setNextCallback(i);var s=this.props.nodeRef?this.props.nodeRef.current:Kf.findDOMNode(this),a=o==null&&!this.props.addEndListener;if(!s||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],c=l[0],u=l[1];this.props.addEndListener(c,u)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===nu)return null;var i=this.props,s=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var a=ne(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Zr.createElement(Wh.Provider,{value:null},typeof s=="function"?s(o,a):Zr.cloneElement(Zr.Children.only(s),a))},t}(Zr.Component);co.contextType=Wh;co.propTypes={};function Za(){}co.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Za,onEntering:Za,onEntered:Za,onExit:Za,onExiting:Za,onExited:Za};co.UNMOUNTED=nu;co.EXITED=ia;co.ENTERING=sa;co.ENTERED=ol;co.EXITING=Ty;function p7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zx(e,t){var n=function(i){return t&&R.isValidElement(i)?t(i):i},r=Object.create(null);return e&&R.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function h7(e,t){e=e||{},t=t||{};function n(u){return u in t?t[u]:e[u]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var s,a={};for(var l in t){if(r[l])for(s=0;se.scrollTop;function Uo(e,t){var n,r;const{timeout:o,easing:i,style:s={}}=e;return{duration:(n=s.transitionDuration)!=null?n:typeof o=="number"?o:o[t.mode]||0,easing:(r=s.transitionTimingFunction)!=null?r:typeof i=="object"?i[t.mode]:i,delay:s.transitionDelay}}function iM(e){return Pe("MuiCollapse",e)}const b7=_e("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]),x7=b7,C7=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],S7=e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return Re(r,iM,n)},w7=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]}})(({theme:e,ownerState:t})=>C({height:0,overflow:"hidden",transition:e.transitions.create("height")},t.orientation==="horizontal"&&{height:"auto",width:0,transition:e.transitions.create("width")},t.state==="entered"&&C({height:"auto",overflow:"visible"},t.orientation==="horizontal"&&{width:"auto"}),t.state==="exited"&&!t.in&&t.collapsedSize==="0px"&&{visibility:"hidden"})),P7=X("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})(({ownerState:e})=>C({display:"flex",width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),k7=X("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})(({ownerState:e})=>C({width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),sM=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiCollapse"}),{addEndListener:o,children:i,className:s,collapsedSize:a="0px",component:l,easing:c,in:u,onEnter:f,onEntered:p,onEntering:h,onExit:v,onExited:m,onExiting:w,orientation:y="vertical",style:S,timeout:_=qx.standard,TransitionComponent:$=co}=r,T=ne(r,C7),P=C({},r,{orientation:y,collapsedSize:a}),O=S7(P),A=tr(),E=ji(),j=R.useRef(null),B=R.useRef(),V=typeof a=="number"?`${a}px`:a,H=y==="horizontal",U=H?"width":"height",I=R.useRef(null),D=Rt(n,I),G=ue=>Be=>{if(ue){const ce=I.current;Be===void 0?ue(ce):ue(ce,Be)}},N=()=>j.current?j.current[H?"clientWidth":"clientHeight"]:0,K=G((ue,Be)=>{j.current&&H&&(j.current.style.position="absolute"),ue.style[U]=V,f&&f(ue,Be)}),Z=G((ue,Be)=>{const ce=N();j.current&&H&&(j.current.style.position="");const{duration:Ae,easing:Ke}=Uo({style:S,timeout:_,easing:c},{mode:"enter"});if(_==="auto"){const Le=A.transitions.getAutoHeightDuration(ce);ue.style.transitionDuration=`${Le}ms`,B.current=Le}else ue.style.transitionDuration=typeof Ae=="string"?Ae:`${Ae}ms`;ue.style[U]=`${ce}px`,ue.style.transitionTimingFunction=Ke,h&&h(ue,Be)}),ve=G((ue,Be)=>{ue.style[U]="auto",p&&p(ue,Be)}),Ce=G(ue=>{ue.style[U]=`${N()}px`,v&&v(ue)}),se=G(m),ae=G(ue=>{const Be=N(),{duration:ce,easing:Ae}=Uo({style:S,timeout:_,easing:c},{mode:"exit"});if(_==="auto"){const Ke=A.transitions.getAutoHeightDuration(Be);ue.style.transitionDuration=`${Ke}ms`,B.current=Ke}else ue.style.transitionDuration=typeof ce=="string"?ce:`${ce}ms`;ue.style[U]=V,ue.style.transitionTimingFunction=Ae,w&&w(ue)}),ye=ue=>{_==="auto"&&E.start(B.current||0,ue),o&&o(I.current,ue)};return x.jsx($,C({in:u,onEnter:K,onEntered:ve,onEntering:Z,onExit:Ce,onExited:se,onExiting:ae,addEndListener:ye,nodeRef:I,timeout:_==="auto"?null:_},T,{children:(ue,Be)=>x.jsx(w7,C({as:l,className:te(O.root,s,{entered:O.entered,exited:!u&&V==="0px"&&O.hidden}[ue]),style:C({[H?"minWidth":"minHeight"]:V},S),ref:D},Be,{ownerState:C({},P,{state:ue}),children:x.jsx(P7,{ownerState:C({},P,{state:ue}),className:O.wrapper,ref:j,children:x.jsx(k7,{ownerState:C({},P,{state:ue}),className:O.wrapperInner,children:i})})}))}))});sM.muiSupportAuto=!0;const mm=sM;function aM(e){return Pe("MuiPaper",e)}const _7=_e("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"]),R7=_7,T7=["className","component","elevation","square","variant"],$7=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Re(i,aM,o)},O7=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}`]]}})(({theme:e,ownerState:t})=>{var n;return C({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&C({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${st("#fff",Vh(t.elevation))}, ${st("#fff",Vh(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),M7=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiPaper"}),{className:o,component:i="div",elevation:s=1,square:a=!1,variant:l="elevation"}=r,c=ne(r,T7),u=C({},r,{component:i,elevation:s,square:a,variant:l}),f=$7(u);return x.jsx(O7,C({as:i,ownerState:u,className:te(f.root,o),ref:n},c))}),uo=M7,lM=R.createContext({});function Wo(e){return typeof e=="string"}function Sl(e,t,n){return e===void 0||Wo(e)?t:C({},t,{ownerState:C({},t.ownerState,n)})}function A7(e,t,n=(r,o)=>r===o){return e.length===t.length&&e.every((r,o)=>n(r,t[o]))}const I7={disableDefaultClasses:!1},E7=R.createContext(I7);function L7(e){const{disableDefaultClasses:t}=R.useContext(E7);return n=>t?"":e(n)}function Ca(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function cM(e,t,n){return typeof e=="function"?e(t,n):e}function uP(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 uM(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const h=te(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),v=C({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),m=C({},n,o,r);return h.length>0&&(m.className=h),Object.keys(v).length>0&&(m.style=v),{props:m,internalRef:void 0}}const s=Ca(C({},o,r)),a=uP(r),l=uP(o),c=t(s),u=te(c==null?void 0:c.className,n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),f=C({},c==null?void 0:c.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),p=C({},c,n,l,a);return u.length>0&&(p.className=u),Object.keys(f).length>0&&(p.style=f),{props:p,internalRef:c.ref}}const j7=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function an(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,s=ne(e,j7),a=i?{}:cM(r,o),{props:l,internalRef:c}=uM(C({},s,{externalSlotProps:a})),u=Rt(c,a==null?void 0:a.ref,(t=e.additionalProps)==null?void 0:t.ref);return Sl(n,C({},l,{ref:u}),o)}const B7=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],D7=["component","slots","slotProps"],N7=["component"];function Hh(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,getSlotOwnerState:s,internalForwardedProps:a}=t,l=ne(t,B7),{component:c,slots:u={[e]:void 0},slotProps:f={[e]:void 0}}=i,p=ne(i,D7),h=u[e]||r,v=cM(f[e],o),m=uM(C({className:n},l,{externalForwardedProps:e==="root"?p:void 0,externalSlotProps:v})),{props:{component:w},internalRef:y}=m,S=ne(m.props,N7),_=Rt(y,v==null?void 0:v.ref,t.ref),$=s?s(S):{},T=C({},o,$),P=e==="root"?w||c:w,O=Sl(h,C({},e==="root"&&!c&&!u[e]&&a,e!=="root"&&!u[e]&&a,S,P&&{as:P},{ref:_}),T);return Object.keys($).forEach(A=>{delete O[A]}),[h,O]}function dM(e){return Pe("MuiAccordion",e)}const F7=_e("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]),ru=F7,z7=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","slots","slotProps","TransitionComponent","TransitionProps"],V7=Go(),W7=e=>{const{classes:t,square:n,expanded:r,disabled:o,disableGutters:i}=e;return Re({root:["root",!n&&"rounded",r&&"expanded",o&&"disabled",!i&&"gutters"],region:["region"]},dM,t)},H7=X(uo,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ru.region}`]:t.region},t.root,!n.square&&t.rounded,!n.disableGutters&&t.gutters]}})(({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"}},[`&.${ru.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${ru.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}},({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:{[`&.${ru.expanded}`]:{margin:"16px 0"}}}]})),U7=R.forwardRef(function(t,n){const r=V7({props:t,name:"MuiAccordion"}),{children:o,className:i,defaultExpanded:s=!1,disabled:a=!1,disableGutters:l=!1,expanded:c,onChange:u,square:f=!1,slots:p={},slotProps:h={},TransitionComponent:v,TransitionProps:m}=r,w=ne(r,z7),[y,S]=Cr({controlled:c,default:s,name:"Accordion",state:"expanded"}),_=R.useCallback(H=>{S(!y),u&&u(H,!y)},[y,u,S]),[$,...T]=R.Children.toArray(o),P=R.useMemo(()=>({expanded:y,disabled:a,disableGutters:l,toggle:_}),[y,a,l,_]),O=C({},r,{square:f,disabled:a,disableGutters:l,expanded:y}),A=W7(O),E=C({transition:v},p),j=C({transition:m},h),[B,V]=Hh("transition",{elementType:mm,externalForwardedProps:{slots:E,slotProps:j},ownerState:O});return x.jsxs(H7,C({className:te(A.root,i),ref:n,ownerState:O,square:f},w,{children:[x.jsx(lM.Provider,{value:P,children:$}),x.jsx(B,C({in:y,timeout:"auto"},V,{children:x.jsx("div",{"aria-labelledby":$.props.id,id:$.props["aria-controls"],role:"region",className:A.region,children:T})}))]}))}),G7=U7;function fM(e){return Pe("MuiAccordionActions",e)}const K7=_e("MuiAccordionActions",["root","spacing"]),Y7=K7,X7=["className","disableSpacing"],q7=Go(),Q7=e=>{const{classes:t,disableSpacing:n}=e;return Re({root:["root",!n&&"spacing"]},fM,t)},Z7=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}}}]}),J7=R.forwardRef(function(t,n){const r=q7({props:t,name:"MuiAccordionActions"}),{className:o,disableSpacing:i=!1}=r,s=ne(r,X7),a=C({},r,{disableSpacing:i}),l=Q7(a);return x.jsx(Z7,C({className:te(l.root,o),ref:n,ownerState:a},s))}),eW=J7;function pM(e){return Pe("MuiAccordionDetails",e)}const tW=_e("MuiAccordionDetails",["root"]),nW=tW,rW=["className"],oW=Go(),iW=e=>{const{classes:t}=e;return Re({root:["root"]},pM,t)},sW=X("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({padding:e.spacing(1,2,2)})),aW=R.forwardRef(function(t,n){const r=oW({props:t,name:"MuiAccordionDetails"}),{className:o}=r,i=ne(r,rW),s=r,a=iW(s);return x.jsx(sW,C({className:te(a.root,o),ref:n,ownerState:s},i))}),lW=aW;function cW(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:s,in:a,onExited:l,timeout:c}=e,[u,f]=R.useState(!1),p=te(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),h={width:s,height:s,top:-(s/2)+i,left:-(s/2)+o},v=te(n.child,u&&n.childLeaving,r&&n.childPulsate);return!a&&!u&&f(!0),R.useEffect(()=>{if(!a&&l!=null){const m=setTimeout(l,c);return()=>{clearTimeout(m)}}},[l,a,c]),x.jsx("span",{className:p,style:h,children:x.jsx("span",{className:v})})}function uW(e){return Pe("MuiTouchRipple",e)}const dW=_e("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),qr=dW,fW=["center","classes","className"];let vm=e=>e,dP,fP,pP,hP;const $y=550,pW=80,hW=Oo(dP||(dP=vm` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),gW=Oo(fP||(fP=vm` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),mW=Oo(pP||(pP=vm` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),vW=X("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),yW=X(cW,{name:"MuiTouchRipple",slot:"Ripple"})(hP||(hP=vm` + opacity: 0; + position: absolute; + + &.${0} { + opacity: 0.3; + transform: scale(1); + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + &.${0} { + animation-duration: ${0}ms; + } + + & .${0} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${0} { + opacity: 0; + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + & .${0} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${0}; + animation-duration: 2500ms; + animation-timing-function: ${0}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`),qr.rippleVisible,hW,$y,({theme:e})=>e.transitions.easing.easeInOut,qr.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,qr.child,qr.childLeaving,gW,$y,({theme:e})=>e.transitions.easing.easeInOut,qr.childPulsate,mW,({theme:e})=>e.transitions.easing.easeInOut),bW=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:s}=r,a=ne(r,fW),[l,c]=R.useState([]),u=R.useRef(0),f=R.useRef(null);R.useEffect(()=>{f.current&&(f.current(),f.current=null)},[l]);const p=R.useRef(!1),h=ji(),v=R.useRef(null),m=R.useRef(null),w=R.useCallback($=>{const{pulsate:T,rippleX:P,rippleY:O,rippleSize:A,cb:E}=$;c(j=>[...j,x.jsx(yW,{classes:{ripple:te(i.ripple,qr.ripple),rippleVisible:te(i.rippleVisible,qr.rippleVisible),ripplePulsate:te(i.ripplePulsate,qr.ripplePulsate),child:te(i.child,qr.child),childLeaving:te(i.childLeaving,qr.childLeaving),childPulsate:te(i.childPulsate,qr.childPulsate)},timeout:$y,pulsate:T,rippleX:P,rippleY:O,rippleSize:A},u.current)]),u.current+=1,f.current=E},[i]),y=R.useCallback(($={},T={},P=()=>{})=>{const{pulsate:O=!1,center:A=o||T.pulsate,fakeElement:E=!1}=T;if(($==null?void 0:$.type)==="mousedown"&&p.current){p.current=!1;return}($==null?void 0:$.type)==="touchstart"&&(p.current=!0);const j=E?null:m.current,B=j?j.getBoundingClientRect():{width:0,height:0,left:0,top:0};let V,H,U;if(A||$===void 0||$.clientX===0&&$.clientY===0||!$.clientX&&!$.touches)V=Math.round(B.width/2),H=Math.round(B.height/2);else{const{clientX:I,clientY:D}=$.touches&&$.touches.length>0?$.touches[0]:$;V=Math.round(I-B.left),H=Math.round(D-B.top)}if(A)U=Math.sqrt((2*B.width**2+B.height**2)/3),U%2===0&&(U+=1);else{const I=Math.max(Math.abs((j?j.clientWidth:0)-V),V)*2+2,D=Math.max(Math.abs((j?j.clientHeight:0)-H),H)*2+2;U=Math.sqrt(I**2+D**2)}$!=null&&$.touches?v.current===null&&(v.current=()=>{w({pulsate:O,rippleX:V,rippleY:H,rippleSize:U,cb:P})},h.start(pW,()=>{v.current&&(v.current(),v.current=null)})):w({pulsate:O,rippleX:V,rippleY:H,rippleSize:U,cb:P})},[o,w,h]),S=R.useCallback(()=>{y({},{pulsate:!0})},[y]),_=R.useCallback(($,T)=>{if(h.clear(),($==null?void 0:$.type)==="touchend"&&v.current){v.current(),v.current=null,h.start(0,()=>{_($,T)});return}v.current=null,c(P=>P.length>0?P.slice(1):P),f.current=T},[h]);return R.useImperativeHandle(n,()=>({pulsate:S,start:y,stop:_}),[S,y,_]),x.jsx(vW,C({className:te(qr.root,i.root,s),ref:m},a,{children:x.jsx(Jx,{component:null,exit:!0,children:l})}))});function hM(e){return Pe("MuiButtonBase",e)}const xW=_e("MuiButtonBase",["root","disabled","focusVisible"]),gM=xW,CW=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],SW=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,s=Re({root:["root",t&&"disabled",n&&"focusVisible"]},hM,o);return n&&r&&(s.root+=` ${r}`),s},wW=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"},[`&.${gM.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),PW=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:s,className:a,component:l="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:f=!1,focusRipple:p=!1,LinkComponent:h="a",onBlur:v,onClick:m,onContextMenu:w,onDragLeave:y,onFocus:S,onFocusVisible:_,onKeyDown:$,onKeyUp:T,onMouseDown:P,onMouseLeave:O,onMouseUp:A,onTouchEnd:E,onTouchMove:j,onTouchStart:B,tabIndex:V=0,TouchRippleProps:H,touchRippleRef:U,type:I}=r,D=ne(r,CW),G=R.useRef(null),N=R.useRef(null),K=Rt(N,U),{isFocusVisibleRef:Z,onFocus:ve,onBlur:Ce,ref:se}=Fa(),[ae,ye]=R.useState(!1);c&&ae&&ye(!1),R.useImperativeHandle(o,()=>({focusVisible:()=>{ye(!0),G.current.focus()}}),[]);const[ue,Be]=R.useState(!1);R.useEffect(()=>{Be(!0)},[]);const ce=ue&&!u&&!c;R.useEffect(()=>{ae&&p&&!u&&ue&&N.current.pulsate()},[u,p,ae,ue]);function Ae(W,ee,je=f){return Qt(ze=>(ee&&ee(ze),!je&&N.current&&N.current[W](ze),!0))}const Ke=Ae("start",P),Le=Ae("stop",w),xe=Ae("stop",y),$e=Ae("stop",A),Ne=Ae("stop",W=>{ae&&W.preventDefault(),O&&O(W)}),ke=Ae("start",B),Oe=Ae("stop",E),Je=Ae("stop",j),He=Ae("stop",W=>{Ce(W),Z.current===!1&&ye(!1),v&&v(W)},!1),vt=Qt(W=>{G.current||(G.current=W.currentTarget),ve(W),Z.current===!0&&(ye(!0),_&&_(W)),S&&S(W)}),qe=()=>{const W=G.current;return l&&l!=="button"&&!(W.tagName==="A"&&W.href)},tt=R.useRef(!1),ht=Qt(W=>{p&&!tt.current&&ae&&N.current&&W.key===" "&&(tt.current=!0,N.current.stop(W,()=>{N.current.start(W)})),W.target===W.currentTarget&&qe()&&W.key===" "&&W.preventDefault(),$&&$(W),W.target===W.currentTarget&&qe()&&W.key==="Enter"&&!c&&(W.preventDefault(),m&&m(W))}),nt=Qt(W=>{p&&W.key===" "&&N.current&&ae&&!W.defaultPrevented&&(tt.current=!1,N.current.stop(W,()=>{N.current.pulsate(W)})),T&&T(W),m&&W.target===W.currentTarget&&qe()&&W.key===" "&&!W.defaultPrevented&&m(W)});let at=l;at==="button"&&(D.href||D.to)&&(at=h);const Pt={};at==="button"?(Pt.type=I===void 0?"button":I,Pt.disabled=c):(!D.href&&!D.to&&(Pt.role="button"),c&&(Pt["aria-disabled"]=c));const Tt=Rt(n,se,G),he=C({},r,{centerRipple:i,component:l,disabled:c,disableRipple:u,disableTouchRipple:f,focusRipple:p,tabIndex:V,focusVisible:ae}),F=SW(he);return x.jsxs(wW,C({as:at,className:te(F.root,a),ownerState:he,onBlur:He,onClick:m,onContextMenu:Le,onFocus:vt,onKeyDown:ht,onKeyUp:nt,onMouseDown:Ke,onMouseLeave:Ne,onMouseUp:$e,onDragLeave:xe,onTouchEnd:Oe,onTouchMove:Je,onTouchStart:ke,ref:Tt,tabIndex:c?-1:V,type:I},Pt,D,{children:[s,ce?x.jsx(bW,C({ref:K,center:i},H)):null]}))}),Mn=PW;function mM(e){return Pe("MuiAccordionSummary",e)}const kW=_e("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),ma=kW,_W=["children","className","expandIcon","focusVisibleClassName","onClick"],RW=Go(),TW=e=>{const{classes:t,expanded:n,disabled:r,disableGutters:o}=e;return Re({root:["root",n&&"expanded",r&&"disabled",!o&&"gutters"],focusVisible:["focusVisible"],content:["content",n&&"expanded",!o&&"contentGutters"],expandIconWrapper:["expandIconWrapper",n&&"expanded"]},mM,t)},$W=X(Mn,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{display:"flex",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],t),[`&.${ma.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ma.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${ma.disabled})`]:{cursor:"pointer"},variants:[{props:n=>!n.disableGutters,style:{[`&.${ma.expanded}`]:{minHeight:64}}}]}}),OW=X("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})(({theme:e})=>({display:"flex",flexGrow:1,margin:"12px 0",variants:[{props:t=>!t.disableGutters,style:{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${ma.expanded}`]:{margin:"20px 0"}}}]})),MW=X("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})(({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${ma.expanded}`]:{transform:"rotate(180deg)"}})),AW=R.forwardRef(function(t,n){const r=RW({props:t,name:"MuiAccordionSummary"}),{children:o,className:i,expandIcon:s,focusVisibleClassName:a,onClick:l}=r,c=ne(r,_W),{disabled:u=!1,disableGutters:f,expanded:p,toggle:h}=R.useContext(lM),v=y=>{h&&h(y),l&&l(y)},m=C({},r,{expanded:p,disabled:u,disableGutters:f}),w=TW(m);return x.jsxs($W,C({focusRipple:!1,disableRipple:!0,disabled:u,component:"div","aria-expanded":p,className:te(w.root,i),focusVisibleClassName:te(w.focusVisible,a),onClick:v,ref:n,ownerState:m},c,{children:[x.jsx(OW,{className:w.content,ownerState:m,children:o}),s&&x.jsx(MW,{className:w.expandIconWrapper,ownerState:m,children:s})]}))}),IW=AW;function vM(e){return Pe("MuiAlert",e)}const EW=_e("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),Oy=EW;function yM(e){return Pe("MuiIconButton",e)}const LW=_e("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),bM=LW,jW=["edge","children","className","color","disabled","disableFocusRipple","size"],BW=e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,s={root:["root",n&&"disabled",r!=="default"&&`color${Q(r)}`,o&&`edge${Q(o)}`,`size${Q(i)}`]};return Re(s,yM,t)},DW=X(Mn,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${Q(n.color)}`],n.edge&&t[`edge${Q(n.edge)}`],t[`size${Q(n.size)}`]]}})(({theme:e,ownerState:t})=>C({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:st(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var n;const r=(n=(e.vars||e).palette)==null?void 0:n[t.color];return C({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&C({color:r==null?void 0:r.main},!t.disableRipple&&{"&:hover":C({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:st(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${bM.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),NW=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:s,color:a="default",disabled:l=!1,disableFocusRipple:c=!1,size:u="medium"}=r,f=ne(r,jW),p=C({},r,{edge:o,color:a,disabled:l,disableFocusRipple:c,size:u}),h=BW(p);return x.jsx(DW,C({className:te(h.root,s),centerRipple:!0,focusRipple:!c,disabled:l,ref:n},f,{ownerState:p,children:i}))}),yr=NW,FW=Ut(x.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"),zW=Ut(x.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),VW=Ut(x.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"),WW=Ut(x.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"),xM=Ut(x.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"),HW=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],UW=Go(),GW=e=>{const{variant:t,color:n,severity:r,classes:o}=e,i={root:["root",`color${Q(n||r)}`,`${t}${Q(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return Re(i,vM,o)},KW=X(uo,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Q(n.color||n.severity)}`]]}})(({theme:e})=>{const t=e.palette.mode==="light"?Os:Ms,n=e.palette.mode==="light"?Ms:Os;return C({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(([,r])=>r.main&&r.light).map(([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${Oy.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(([,r])=>r.main&&r.light).map(([r])=>({props:{colorSeverity:r,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),border:`1px solid ${(e.vars||e).palette[r].light}`,[`& .${Oy.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(([,r])=>r.main&&r.dark).map(([r])=>({props:{colorSeverity:r,variant:"filled"},style:C({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${r}FilledColor`],backgroundColor:e.vars.palette.Alert[`${r}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[r].dark:e.palette[r].main,color:e.palette.getContrastText(e.palette[r].main)})}))]})}),YW=X("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),XW=X("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),gP=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}),mP={success:x.jsx(FW,{fontSize:"inherit"}),warning:x.jsx(zW,{fontSize:"inherit"}),error:x.jsx(VW,{fontSize:"inherit"}),info:x.jsx(WW,{fontSize:"inherit"})},qW=R.forwardRef(function(t,n){const r=UW({props:t,name:"MuiAlert"}),{action:o,children:i,className:s,closeText:a="Close",color:l,components:c={},componentsProps:u={},icon:f,iconMapping:p=mP,onClose:h,role:v="alert",severity:m="success",slotProps:w={},slots:y={},variant:S="standard"}=r,_=ne(r,HW),$=C({},r,{color:l,severity:m,variant:S,colorSeverity:l||m}),T=GW($),P={slots:C({closeButton:c.CloseButton,closeIcon:c.CloseIcon},y),slotProps:C({},u,w)},[O,A]=Hh("closeButton",{elementType:yr,externalForwardedProps:P,ownerState:$}),[E,j]=Hh("closeIcon",{elementType:xM,externalForwardedProps:P,ownerState:$});return x.jsxs(KW,C({role:v,elevation:0,ownerState:$,className:te(T.root,s),ref:n},_,{children:[f!==!1?x.jsx(YW,{ownerState:$,className:T.icon,children:f||p[m]||mP[m]}):null,x.jsx(XW,{ownerState:$,className:T.message,children:i}),o!=null?x.jsx(gP,{ownerState:$,className:T.action,children:o}):null,o==null&&h?x.jsx(gP,{ownerState:$,className:T.action,children:x.jsx(O,C({size:"small","aria-label":a,title:a,color:"inherit",onClick:h},A,{children:x.jsx(E,C({fontSize:"small"},j))}))}):null]}))}),QW=qW;function CM(e){return Pe("MuiTypography",e)}const ZW=_e("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),JW=ZW,eH=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],tH=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:s}=e,a={root:["root",i,e.align!=="inherit"&&`align${Q(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return Re(a,CM,s)},nH=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${Q(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>C({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),vP={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},rH={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},oH=e=>rH[e]||e,iH=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiTypography"}),o=oH(r.color),i=hc(C({},r,{color:o})),{align:s="inherit",className:a,component:l,gutterBottom:c=!1,noWrap:u=!1,paragraph:f=!1,variant:p="body1",variantMapping:h=vP}=i,v=ne(i,eH),m=C({},i,{align:s,color:o,className:a,component:l,gutterBottom:c,noWrap:u,paragraph:f,variant:p,variantMapping:h}),w=l||(f?"p":h[p]||vP[p])||"span",y=tH(m);return x.jsx(nH,C({as:w,ref:n,ownerState:m,className:te(y.root,a)},v))}),Fe=iH;function SM(e){return Pe("MuiAlertTitle",e)}const sH=_e("MuiAlertTitle",["root"]),aH=sH,lH=["className"],cH=Go(),uH=e=>{const{classes:t}=e;return Re({root:["root"]},SM,t)},dH=X(Fe,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2})),fH=R.forwardRef(function(t,n){const r=cH({props:t,name:"MuiAlertTitle"}),{className:o}=r,i=ne(r,lH),s=r,a=uH(s);return x.jsx(dH,C({gutterBottom:!0,component:"div",ownerState:s,ref:n,className:te(a.root,o)},i))}),pH=fH;function wM(e){return Pe("MuiAppBar",e)}const hH=_e("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]),gH=hH,mH=["className","color","enableColorOnDark","position"],vH=e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${Q(t)}`,`position${Q(n)}`]};return Re(o,wM,r)},Jf=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,yH=X(uo,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Q(n.position)}`],t[`color${Q(n.color)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return C({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&C({},t.color==="default"&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&C({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&C({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:Jf(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:Jf(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:Jf(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:Jf(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),bH=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiAppBar"}),{className:o,color:i="primary",enableColorOnDark:s=!1,position:a="fixed"}=r,l=ne(r,mH),c=C({},r,{color:i,position:a,enableColorOnDark:s}),u=vH(c);return x.jsx(yH,C({square:!0,component:"header",ownerState:c,elevation:4,className:te(u.root,o,a==="fixed"&&"mui-fixed"),ref:n},l))}),PM=bH;function xH(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:o=!1}=e,i=Fx({badgeContent:t,max:r});let s=n;n===!1&&t===0&&!o&&(s=!0);const{badgeContent:a,max:l=r}=s?i:e,c=a&&Number(a)>l?`${l}+`:a;return{badgeContent:a,invisible:s,max:l,displayValue:c}}const kM="base";function CH(e){return`${kM}--${e}`}function SH(e,t){return`${kM}-${e}-${t}`}function _M(e,t){const n=vO[t];return n?CH(n):SH(e,t)}function wH(e,t){const n={};return t.forEach(r=>{n[r]=_M(e,r)}),n}function yP(e){return e.substring(2).toLowerCase()}function PH(e,t){return t.documentElement.clientWidth(setTimeout(()=>{l.current=!0},0),()=>{l.current=!1}),[]);const u=Rt(t.ref,a),f=Qt(v=>{const m=c.current;c.current=!1;const w=Ft(a.current);if(!l.current||!a.current||"clientX"in v&&PH(v,w))return;if(s.current){s.current=!1;return}let y;v.composedPath?y=v.composedPath().indexOf(a.current)>-1:y=!w.documentElement.contains(v.target)||a.current.contains(v.target),!y&&(n||!m)&&o(v)}),p=v=>m=>{c.current=!0;const w=t.props[v];w&&w(m)},h={ref:u};return i!==!1&&(h[i]=p(i)),R.useEffect(()=>{if(i!==!1){const v=yP(i),m=Ft(a.current),w=()=>{s.current=!0};return m.addEventListener(v,f),m.addEventListener("touchmove",w),()=>{m.removeEventListener(v,f),m.removeEventListener("touchmove",w)}}},[f,i]),r!==!1&&(h[r]=p(r)),R.useEffect(()=>{if(r!==!1){const v=yP(r),m=Ft(a.current);return m.addEventListener(v,f),()=>{m.removeEventListener(v,f)}}},[f,r]),x.jsx(R.Fragment,{children:R.cloneElement(t,h)})}const kH=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function _H(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 RH(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function TH(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||RH(e))}function $H(e){const t=[],n=[];return Array.from(e.querySelectorAll(kH)).forEach((r,o)=>{const i=_H(r);i===-1||!TH(r)||(i===0?t.push(r):n.push({documentOrder:o,tabIndex:i,node:r}))}),n.sort((r,o)=>r.tabIndex===o.tabIndex?r.documentOrder-o.documentOrder:r.tabIndex-o.tabIndex).map(r=>r.node).concat(t)}function OH(){return!0}function TM(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=$H,isEnabled:s=OH,open:a}=e,l=R.useRef(!1),c=R.useRef(null),u=R.useRef(null),f=R.useRef(null),p=R.useRef(null),h=R.useRef(!1),v=R.useRef(null),m=Rt(t.ref,v),w=R.useRef(null);R.useEffect(()=>{!a||!v.current||(h.current=!n)},[n,a]),R.useEffect(()=>{if(!a||!v.current)return;const _=Ft(v.current);return v.current.contains(_.activeElement)||(v.current.hasAttribute("tabIndex")||v.current.setAttribute("tabIndex","-1"),h.current&&v.current.focus()),()=>{o||(f.current&&f.current.focus&&(l.current=!0,f.current.focus()),f.current=null)}},[a]),R.useEffect(()=>{if(!a||!v.current)return;const _=Ft(v.current),$=O=>{w.current=O,!(r||!s()||O.key!=="Tab")&&_.activeElement===v.current&&O.shiftKey&&(l.current=!0,u.current&&u.current.focus())},T=()=>{const O=v.current;if(O===null)return;if(!_.hasFocus()||!s()||l.current){l.current=!1;return}if(O.contains(_.activeElement)||r&&_.activeElement!==c.current&&_.activeElement!==u.current)return;if(_.activeElement!==p.current)p.current=null;else if(p.current!==null)return;if(!h.current)return;let A=[];if((_.activeElement===c.current||_.activeElement===u.current)&&(A=i(v.current)),A.length>0){var E,j;const B=!!((E=w.current)!=null&&E.shiftKey&&((j=w.current)==null?void 0:j.key)==="Tab"),V=A[0],H=A[A.length-1];typeof V!="string"&&typeof H!="string"&&(B?H.focus():V.focus())}else O.focus()};_.addEventListener("focusin",T),_.addEventListener("keydown",$,!0);const P=setInterval(()=>{_.activeElement&&_.activeElement.tagName==="BODY"&&T()},50);return()=>{clearInterval(P),_.removeEventListener("focusin",T),_.removeEventListener("keydown",$,!0)}},[n,r,o,s,a,i]);const y=_=>{f.current===null&&(f.current=_.relatedTarget),h.current=!0,p.current=_.target;const $=t.props.onFocus;$&&$(_)},S=_=>{f.current===null&&(f.current=_.relatedTarget),h.current=!0};return x.jsxs(R.Fragment,{children:[x.jsx("div",{tabIndex:a?0:-1,onFocus:S,ref:c,"data-testid":"sentinelStart"}),R.cloneElement(t,{ref:m,onFocus:y}),x.jsx("div",{tabIndex:a?0:-1,onFocus:S,ref:u,"data-testid":"sentinelEnd"})]})}function MH(e){return typeof e=="function"?e():e}const e1=R.forwardRef(function(t,n){const{children:r,container:o,disablePortal:i=!1}=t,[s,a]=R.useState(null),l=Rt(R.isValidElement(r)?r.ref:null,n);if(On(()=>{i||a(MH(o)||document.body)},[o,i]),On(()=>{if(s&&!i)return Jl(n,s),()=>{Jl(n,null)}},[n,s,i]),i){if(R.isValidElement(r)){const c={ref:l};return R.cloneElement(r,c)}return x.jsx(R.Fragment,{children:r})}return x.jsx(R.Fragment,{children:s&&Xl.createPortal(r,s)})});function AH(e){const t=Ft(e);return t.body===e?Jn(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Au(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function bP(e){return parseInt(Jn(e).getComputedStyle(e).paddingRight,10)||0}function IH(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function xP(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,s=>{const a=i.indexOf(s)===-1,l=!IH(s);a&&l&&Au(s,o)})}function e0(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function EH(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(AH(r)){const s=MO(Ft(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${bP(r)+s}px`;const a=Ft(r).querySelectorAll(".mui-fixed");[].forEach.call(a,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${bP(l)+s}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=Ft(r).body;else{const s=r.parentElement,a=Jn(r);i=(s==null?void 0:s.nodeName)==="HTML"&&a.getComputedStyle(s).overflowY==="scroll"?s:r}n.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{n.forEach(({value:i,el:s,property:a})=>{i?s.style.setProperty(a,i):s.style.removeProperty(a)})}}function LH(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class $M{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&Au(t.modalRef,!1);const o=LH(n);xP(n,t.mount,t.modalRef,o,!0);const i=e0(this.containers,s=>s.container===n);return i!==-1?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=e0(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[r];o.restore||(o.restore=EH(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=e0(this.containers,s=>s.modals.indexOf(t)!==-1),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(r,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&Au(t.modalRef,n),xP(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const s=i.modals[i.modals.length-1];s.modalRef&&Au(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function jH(e){return typeof e=="function"?e():e}function BH(e){return e?e.props.hasOwnProperty("in"):!1}const DH=new $M;function NH(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=DH,closeAfterTransition:i=!1,onTransitionEnter:s,onTransitionExited:a,children:l,onClose:c,open:u,rootRef:f}=e,p=R.useRef({}),h=R.useRef(null),v=R.useRef(null),m=Rt(v,f),[w,y]=R.useState(!u),S=BH(l);let _=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(_=!1);const $=()=>Ft(h.current),T=()=>(p.current.modalRef=v.current,p.current.mount=h.current,p.current),P=()=>{o.mount(T(),{disableScrollLock:r}),v.current&&(v.current.scrollTop=0)},O=Qt(()=>{const D=jH(t)||$().body;o.add(T(),D),v.current&&P()}),A=R.useCallback(()=>o.isTopModal(T()),[o]),E=Qt(D=>{h.current=D,D&&(u&&A()?P():v.current&&Au(v.current,_))}),j=R.useCallback(()=>{o.remove(T(),_)},[_,o]);R.useEffect(()=>()=>{j()},[j]),R.useEffect(()=>{u?O():(!S||!i)&&j()},[u,j,S,i,O]);const B=D=>G=>{var N;(N=D.onKeyDown)==null||N.call(D,G),!(G.key!=="Escape"||G.which===229||!A())&&(n||(G.stopPropagation(),c&&c(G,"escapeKeyDown")))},V=D=>G=>{var N;(N=D.onClick)==null||N.call(D,G),G.target===G.currentTarget&&c&&c(G,"backdropClick")};return{getRootProps:(D={})=>{const G=Ca(e);delete G.onTransitionEnter,delete G.onTransitionExited;const N=C({},G,D);return C({role:"presentation"},N,{onKeyDown:B(N),ref:m})},getBackdropProps:(D={})=>{const G=D;return C({"aria-hidden":!0},G,{onClick:V(G),open:u})},getTransitionProps:()=>{const D=()=>{y(!1),s&&s()},G=()=>{y(!0),a&&a(),i&&j()};return{onEnter:ud(D,l==null?void 0:l.props.onEnter),onExited:ud(G,l==null?void 0:l.props.onExited)}},rootRef:m,portalRef:E,isTopModal:A,exited:w,hasTransition:S}}function OM(e){const{children:t,defer:n=!1,fallback:r=null}=e,[o,i]=R.useState(!1);return On(()=>{n||i(!0)},[n]),R.useEffect(()=>{n&&i(!0)},[n]),x.jsx(R.Fragment,{children:o?t:r})}var Dr="top",To="bottom",$o="right",Nr="left",t1="auto",Ud=[Dr,To,$o,Nr],ec="start",pd="end",FH="clippingParents",MM="viewport",Bc="popper",zH="reference",CP=Ud.reduce(function(e,t){return e.concat([t+"-"+ec,t+"-"+pd])},[]),AM=[].concat(Ud,[t1]).reduce(function(e,t){return e.concat([t,t+"-"+ec,t+"-"+pd])},[]),VH="beforeRead",WH="read",HH="afterRead",UH="beforeMain",GH="main",KH="afterMain",YH="beforeWrite",XH="write",qH="afterWrite",QH=[VH,WH,HH,UH,GH,KH,YH,XH,qH];function di(e){return e?(e.nodeName||"").toLowerCase():null}function oo(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ma(e){var t=oo(e).Element;return e instanceof t||e instanceof Element}function So(e){var t=oo(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function n1(e){if(typeof ShadowRoot>"u")return!1;var t=oo(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function ZH(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},i=t.elements[n];!So(i)||!di(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(s){var a=o[s];a===!1?i.removeAttribute(s):i.setAttribute(s,a===!0?"":a)}))})}function JH(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(r){var o=t.elements[r],i=t.attributes[r]||{},s=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=s.reduce(function(l,c){return l[c]="",l},{});!So(o)||!di(o)||(Object.assign(o.style,a),Object.keys(i).forEach(function(l){o.removeAttribute(l)}))})}}const eU={name:"applyStyles",enabled:!0,phase:"write",fn:ZH,effect:JH,requires:["computeStyles"]};function ci(e){return e.split("-")[0]}var Sa=Math.max,Uh=Math.min,tc=Math.round;function My(){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 IM(){return!/^((?!chrome|android).)*safari/i.test(My())}function nc(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&So(e)&&(o=e.offsetWidth>0&&tc(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&tc(r.height)/e.offsetHeight||1);var s=Ma(e)?oo(e):window,a=s.visualViewport,l=!IM()&&n,c=(r.left+(l&&a?a.offsetLeft:0))/o,u=(r.top+(l&&a?a.offsetTop:0))/i,f=r.width/o,p=r.height/i;return{width:f,height:p,top:u,right:c+f,bottom:u+p,left:c,x:c,y:u}}function r1(e){var t=nc(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function EM(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&n1(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Xi(e){return oo(e).getComputedStyle(e)}function tU(e){return["table","td","th"].indexOf(di(e))>=0}function Ds(e){return((Ma(e)?e.ownerDocument:e.document)||window.document).documentElement}function ym(e){return di(e)==="html"?e:e.assignedSlot||e.parentNode||(n1(e)?e.host:null)||Ds(e)}function SP(e){return!So(e)||Xi(e).position==="fixed"?null:e.offsetParent}function nU(e){var t=/firefox/i.test(My()),n=/Trident/i.test(My());if(n&&So(e)){var r=Xi(e);if(r.position==="fixed")return null}var o=ym(e);for(n1(o)&&(o=o.host);So(o)&&["html","body"].indexOf(di(o))<0;){var i=Xi(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Gd(e){for(var t=oo(e),n=SP(e);n&&tU(n)&&Xi(n).position==="static";)n=SP(n);return n&&(di(n)==="html"||di(n)==="body"&&Xi(n).position==="static")?t:n||nU(e)||t}function o1(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Iu(e,t,n){return Sa(e,Uh(t,n))}function rU(e,t,n){var r=Iu(e,t,n);return r>n?n:r}function LM(){return{top:0,right:0,bottom:0,left:0}}function jM(e){return Object.assign({},LM(),e)}function BM(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var oU=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,jM(typeof t!="number"?t:BM(t,Ud))};function iU(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,s=n.modifiersData.popperOffsets,a=ci(n.placement),l=o1(a),c=[Nr,$o].indexOf(a)>=0,u=c?"height":"width";if(!(!i||!s)){var f=oU(o.padding,n),p=r1(i),h=l==="y"?Dr:Nr,v=l==="y"?To:$o,m=n.rects.reference[u]+n.rects.reference[l]-s[l]-n.rects.popper[u],w=s[l]-n.rects.reference[l],y=Gd(i),S=y?l==="y"?y.clientHeight||0:y.clientWidth||0:0,_=m/2-w/2,$=f[h],T=S-p[u]-f[v],P=S/2-p[u]/2+_,O=Iu($,P,T),A=l;n.modifiersData[r]=(t={},t[A]=O,t.centerOffset=O-P,t)}}function sU(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||EM(t.elements.popper,o)&&(t.elements.arrow=o))}const aU={name:"arrow",enabled:!0,phase:"main",fn:iU,effect:sU,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function rc(e){return e.split("-")[1]}var lU={top:"auto",right:"auto",bottom:"auto",left:"auto"};function cU(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:tc(n*o)/o||0,y:tc(r*o)/o||0}}function wP(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,f=e.isFixed,p=s.x,h=p===void 0?0:p,v=s.y,m=v===void 0?0:v,w=typeof u=="function"?u({x:h,y:m}):{x:h,y:m};h=w.x,m=w.y;var y=s.hasOwnProperty("x"),S=s.hasOwnProperty("y"),_=Nr,$=Dr,T=window;if(c){var P=Gd(n),O="clientHeight",A="clientWidth";if(P===oo(n)&&(P=Ds(n),Xi(P).position!=="static"&&a==="absolute"&&(O="scrollHeight",A="scrollWidth")),P=P,o===Dr||(o===Nr||o===$o)&&i===pd){$=To;var E=f&&P===T&&T.visualViewport?T.visualViewport.height:P[O];m-=E-r.height,m*=l?1:-1}if(o===Nr||(o===Dr||o===To)&&i===pd){_=$o;var j=f&&P===T&&T.visualViewport?T.visualViewport.width:P[A];h-=j-r.width,h*=l?1:-1}}var B=Object.assign({position:a},c&&lU),V=u===!0?cU({x:h,y:m},oo(n)):{x:h,y:m};if(h=V.x,m=V.y,l){var H;return Object.assign({},B,(H={},H[$]=S?"0":"",H[_]=y?"0":"",H.transform=(T.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",H))}return Object.assign({},B,(t={},t[$]=S?m+"px":"",t[_]=y?h+"px":"",t.transform="",t))}function uU(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,s=i===void 0?!0:i,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:ci(t.placement),variation:rc(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,wP(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,wP(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const dU={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:uU,data:{}};var ep={passive:!0};function fU(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=o===void 0?!0:o,s=r.resize,a=s===void 0?!0:s,l=oo(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(u){u.addEventListener("scroll",n.update,ep)}),a&&l.addEventListener("resize",n.update,ep),function(){i&&c.forEach(function(u){u.removeEventListener("scroll",n.update,ep)}),a&&l.removeEventListener("resize",n.update,ep)}}const pU={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:fU,data:{}};var hU={left:"right",right:"left",bottom:"top",top:"bottom"};function qp(e){return e.replace(/left|right|bottom|top/g,function(t){return hU[t]})}var gU={start:"end",end:"start"};function PP(e){return e.replace(/start|end/g,function(t){return gU[t]})}function i1(e){var t=oo(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function s1(e){return nc(Ds(e)).left+i1(e).scrollLeft}function mU(e,t){var n=oo(e),r=Ds(e),o=n.visualViewport,i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;var c=IM();(c||!c&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a+s1(e),y:l}}function vU(e){var t,n=Ds(e),r=i1(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Sa(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=Sa(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-r.scrollLeft+s1(e),l=-r.scrollTop;return Xi(o||n).direction==="rtl"&&(a+=Sa(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:s,x:a,y:l}}function a1(e){var t=Xi(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function DM(e){return["html","body","#document"].indexOf(di(e))>=0?e.ownerDocument.body:So(e)&&a1(e)?e:DM(ym(e))}function Eu(e,t){var n;t===void 0&&(t=[]);var r=DM(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=oo(r),s=o?[i].concat(i.visualViewport||[],a1(r)?r:[]):r,a=t.concat(s);return o?a:a.concat(Eu(ym(s)))}function Ay(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function yU(e,t){var n=nc(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 kP(e,t,n){return t===MM?Ay(mU(e,n)):Ma(t)?yU(t,n):Ay(vU(Ds(e)))}function bU(e){var t=Eu(ym(e)),n=["absolute","fixed"].indexOf(Xi(e).position)>=0,r=n&&So(e)?Gd(e):e;return Ma(r)?t.filter(function(o){return Ma(o)&&EM(o,r)&&di(o)!=="body"}):[]}function xU(e,t,n,r){var o=t==="clippingParents"?bU(e):[].concat(t),i=[].concat(o,[n]),s=i[0],a=i.reduce(function(l,c){var u=kP(e,c,r);return l.top=Sa(u.top,l.top),l.right=Uh(u.right,l.right),l.bottom=Uh(u.bottom,l.bottom),l.left=Sa(u.left,l.left),l},kP(e,s,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function NM(e){var t=e.reference,n=e.element,r=e.placement,o=r?ci(r):null,i=r?rc(r):null,s=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(o){case Dr:l={x:s,y:t.y-n.height};break;case To:l={x:s,y:t.y+t.height};break;case $o:l={x:t.x+t.width,y:a};break;case Nr:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var c=o?o1(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(i){case ec:l[c]=l[c]-(t[u]/2-n[u]/2);break;case pd:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function hd(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,i=n.strategy,s=i===void 0?e.strategy:i,a=n.boundary,l=a===void 0?FH:a,c=n.rootBoundary,u=c===void 0?MM:c,f=n.elementContext,p=f===void 0?Bc:f,h=n.altBoundary,v=h===void 0?!1:h,m=n.padding,w=m===void 0?0:m,y=jM(typeof w!="number"?w:BM(w,Ud)),S=p===Bc?zH:Bc,_=e.rects.popper,$=e.elements[v?S:p],T=xU(Ma($)?$:$.contextElement||Ds(e.elements.popper),l,u,s),P=nc(e.elements.reference),O=NM({reference:P,element:_,strategy:"absolute",placement:o}),A=Ay(Object.assign({},_,O)),E=p===Bc?A:P,j={top:T.top-E.top+y.top,bottom:E.bottom-T.bottom+y.bottom,left:T.left-E.left+y.left,right:E.right-T.right+y.right},B=e.modifiersData.offset;if(p===Bc&&B){var V=B[o];Object.keys(j).forEach(function(H){var U=[$o,To].indexOf(H)>=0?1:-1,I=[Dr,To].indexOf(H)>=0?"y":"x";j[H]+=V[I]*U})}return j}function CU(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?AM:l,u=rc(r),f=u?a?CP:CP.filter(function(v){return rc(v)===u}):Ud,p=f.filter(function(v){return c.indexOf(v)>=0});p.length===0&&(p=f);var h=p.reduce(function(v,m){return v[m]=hd(e,{placement:m,boundary:o,rootBoundary:i,padding:s})[ci(m)],v},{});return Object.keys(h).sort(function(v,m){return h[v]-h[m]})}function SU(e){if(ci(e)===t1)return[];var t=qp(e);return[PP(e),t,PP(t)]}function wU(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,s=n.altAxis,a=s===void 0?!0:s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,p=n.altBoundary,h=n.flipVariations,v=h===void 0?!0:h,m=n.allowedAutoPlacements,w=t.options.placement,y=ci(w),S=y===w,_=l||(S||!v?[qp(w)]:SU(w)),$=[w].concat(_).reduce(function(ae,ye){return ae.concat(ci(ye)===t1?CU(t,{placement:ye,boundary:u,rootBoundary:f,padding:c,flipVariations:v,allowedAutoPlacements:m}):ye)},[]),T=t.rects.reference,P=t.rects.popper,O=new Map,A=!0,E=$[0],j=0;j<$.length;j++){var B=$[j],V=ci(B),H=rc(B)===ec,U=[Dr,To].indexOf(V)>=0,I=U?"width":"height",D=hd(t,{placement:B,boundary:u,rootBoundary:f,altBoundary:p,padding:c}),G=U?H?$o:Nr:H?To:Dr;T[I]>P[I]&&(G=qp(G));var N=qp(G),K=[];if(i&&K.push(D[V]<=0),a&&K.push(D[G]<=0,D[N]<=0),K.every(function(ae){return ae})){E=B,A=!1;break}O.set(B,K)}if(A)for(var Z=v?3:1,ve=function(ye){var ue=$.find(function(Be){var ce=O.get(Be);if(ce)return ce.slice(0,ye).every(function(Ae){return Ae})});if(ue)return E=ue,"break"},Ce=Z;Ce>0;Ce--){var se=ve(Ce);if(se==="break")break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}}const PU={name:"flip",enabled:!0,phase:"main",fn:wU,requiresIfExists:["offset"],data:{_skip:!1}};function _P(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 RP(e){return[Dr,$o,To,Nr].some(function(t){return e[t]>=0})}function kU(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,s=hd(t,{elementContext:"reference"}),a=hd(t,{altBoundary:!0}),l=_P(s,r),c=_P(a,o,i),u=RP(l),f=RP(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const _U={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:kU};function RU(e,t,n){var r=ci(e),o=[Nr,Dr].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=i[0],a=i[1];return s=s||0,a=(a||0)*o,[Nr,$o].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}function TU(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=o===void 0?[0,0]:o,s=AM.reduce(function(u,f){return u[f]=RU(f,t.rects,i),u},{}),a=s[t.placement],l=a.x,c=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=s}const $U={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:TU};function OU(e){var t=e.state,n=e.name;t.modifiersData[n]=NM({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const MU={name:"popperOffsets",enabled:!0,phase:"read",fn:OU,data:{}};function AU(e){return e==="x"?"y":"x"}function IU(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=o===void 0?!0:o,s=n.altAxis,a=s===void 0?!1:s,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,p=n.tether,h=p===void 0?!0:p,v=n.tetherOffset,m=v===void 0?0:v,w=hd(t,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),y=ci(t.placement),S=rc(t.placement),_=!S,$=o1(y),T=AU($),P=t.modifiersData.popperOffsets,O=t.rects.reference,A=t.rects.popper,E=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,j=typeof E=="number"?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,V={x:0,y:0};if(P){if(i){var H,U=$==="y"?Dr:Nr,I=$==="y"?To:$o,D=$==="y"?"height":"width",G=P[$],N=G+w[U],K=G-w[I],Z=h?-A[D]/2:0,ve=S===ec?O[D]:A[D],Ce=S===ec?-A[D]:-O[D],se=t.elements.arrow,ae=h&&se?r1(se):{width:0,height:0},ye=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:LM(),ue=ye[U],Be=ye[I],ce=Iu(0,O[D],ae[D]),Ae=_?O[D]/2-Z-ce-ue-j.mainAxis:ve-ce-ue-j.mainAxis,Ke=_?-O[D]/2+Z+ce+Be+j.mainAxis:Ce+ce+Be+j.mainAxis,Le=t.elements.arrow&&Gd(t.elements.arrow),xe=Le?$==="y"?Le.clientTop||0:Le.clientLeft||0:0,$e=(H=B==null?void 0:B[$])!=null?H:0,Ne=G+Ae-$e-xe,ke=G+Ke-$e,Oe=Iu(h?Uh(N,Ne):N,G,h?Sa(K,ke):K);P[$]=Oe,V[$]=Oe-G}if(a){var Je,He=$==="x"?Dr:Nr,vt=$==="x"?To:$o,qe=P[T],tt=T==="y"?"height":"width",ht=qe+w[He],nt=qe-w[vt],at=[Dr,Nr].indexOf(y)!==-1,Pt=(Je=B==null?void 0:B[T])!=null?Je:0,Tt=at?ht:qe-O[tt]-A[tt]-Pt+j.altAxis,he=at?qe+O[tt]+A[tt]-Pt-j.altAxis:nt,F=h&&at?rU(Tt,qe,he):Iu(h?Tt:ht,qe,h?he:nt);P[T]=F,V[T]=F-qe}t.modifiersData[r]=V}}const EU={name:"preventOverflow",enabled:!0,phase:"main",fn:IU,requiresIfExists:["offset"]};function LU(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function jU(e){return e===oo(e)||!So(e)?i1(e):LU(e)}function BU(e){var t=e.getBoundingClientRect(),n=tc(t.width)/e.offsetWidth||1,r=tc(t.height)/e.offsetHeight||1;return n!==1||r!==1}function DU(e,t,n){n===void 0&&(n=!1);var r=So(t),o=So(t)&&BU(t),i=Ds(t),s=nc(e,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((di(t)!=="body"||a1(i))&&(a=jU(t)),So(t)?(l=nc(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=s1(i))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function NU(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function o(i){n.add(i.name);var s=[].concat(i.requires||[],i.requiresIfExists||[]);s.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&o(l)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||o(i)}),r}function FU(e){var t=NU(e);return QH.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function zU(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function VU(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var TP={placement:"bottom",modifiers:[],strategy:"absolute"};function $P(){for(var e=arguments.length,t=new Array(e),n=0;nRe({root:["root"]},L7(GU)),ZU={},JU=R.forwardRef(function(t,n){var r;const{anchorEl:o,children:i,direction:s,disablePortal:a,modifiers:l,open:c,placement:u,popperOptions:f,popperRef:p,slotProps:h={},slots:v={},TransitionProps:m}=t,w=ne(t,KU),y=R.useRef(null),S=Rt(y,n),_=R.useRef(null),$=Rt(_,p),T=R.useRef($);On(()=>{T.current=$},[$]),R.useImperativeHandle(p,()=>_.current,[]);const P=XU(u,s),[O,A]=R.useState(P),[E,j]=R.useState(Iy(o));R.useEffect(()=>{_.current&&_.current.forceUpdate()}),R.useEffect(()=>{o&&j(Iy(o))},[o]),On(()=>{if(!E||!c)return;const I=N=>{A(N.placement)};let D=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:N})=>{I(N)}}];l!=null&&(D=D.concat(l)),f&&f.modifiers!=null&&(D=D.concat(f.modifiers));const G=UU(E,y.current,C({placement:P},f,{modifiers:D}));return T.current(G),()=>{G.destroy(),T.current(null)}},[E,a,l,c,f,P]);const B={placement:O};m!==null&&(B.TransitionProps=m);const V=QU(),H=(r=v.root)!=null?r:"div",U=an({elementType:H,externalSlotProps:h.root,externalForwardedProps:w,additionalProps:{role:"tooltip",ref:S},ownerState:t,className:V.root});return x.jsx(H,C({},U,{children:typeof i=="function"?i(B):i}))}),eG=R.forwardRef(function(t,n){const{anchorEl:r,children:o,container:i,direction:s="ltr",disablePortal:a=!1,keepMounted:l=!1,modifiers:c,open:u,placement:f="bottom",popperOptions:p=ZU,popperRef:h,style:v,transition:m=!1,slotProps:w={},slots:y={}}=t,S=ne(t,YU),[_,$]=R.useState(!0),T=()=>{$(!1)},P=()=>{$(!0)};if(!l&&!u&&(!m||_))return null;let O;if(i)O=i;else if(r){const j=Iy(r);O=j&&qU(j)?Ft(j).body:Ft(null).body}const A=!u&&l&&(!m||_)?"none":void 0,E=m?{in:u,onEnter:T,onExited:P}:void 0;return x.jsx(e1,{disablePortal:a,container:O,children:x.jsx(JU,C({anchorEl:r,direction:s,disablePortal:a,modifiers:c,ref:n,open:m?!_:u,placement:f,popperOptions:p,popperRef:h,slotProps:w,slots:y},S,{style:C({position:"fixed",top:0,left:0,display:A},v),TransitionProps:E,children:o}))})}),tG=2;function zM(e,t){return e-t}function OP(e,t){var n;const{index:r}=(n=e.reduce((o,i,s)=>{const a=Math.abs(t-i);return o===null||a({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}%`})}},sG=e=>e;let op;function AP(){return op===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?op=CSS.supports("touch-action","none"):op=!0),op}function aG(e){const{"aria-labelledby":t,defaultValue:n,disabled:r=!1,disableSwap:o=!1,isRtl:i=!1,marks:s=!1,max:a=100,min:l=0,name:c,onChange:u,onChangeCommitted:f,orientation:p="horizontal",rootRef:h,scale:v=sG,step:m=1,shiftStep:w=10,tabIndex:y,value:S}=e,_=R.useRef(),[$,T]=R.useState(-1),[P,O]=R.useState(-1),[A,E]=R.useState(!1),j=R.useRef(0),[B,V]=Cr({controlled:S,default:n??l,name:"Slider"}),H=u&&((F,W,ee)=>{const je=F.nativeEvent||F,ze=new je.constructor(je.type,je);Object.defineProperty(ze,"target",{writable:!0,value:{value:W,name:c}}),u(ze,W,ee)}),U=Array.isArray(B);let I=U?B.slice().sort(zM):[B];I=I.map(F=>F==null?l:Ai(F,l,a));const D=s===!0&&m!==null?[...Array(Math.floor((a-l)/m)+1)].map((F,W)=>({value:l+m*W})):s||[],G=D.map(F=>F.value),{isFocusVisibleRef:N,onBlur:K,onFocus:Z,ref:ve}=Fa(),[Ce,se]=R.useState(-1),ae=R.useRef(),ye=Rt(ve,ae),ue=Rt(h,ye),Be=F=>W=>{var ee;const je=Number(W.currentTarget.getAttribute("data-index"));Z(W),N.current===!0&&se(je),O(je),F==null||(ee=F.onFocus)==null||ee.call(F,W)},ce=F=>W=>{var ee;K(W),N.current===!1&&se(-1),O(-1),F==null||(ee=F.onBlur)==null||ee.call(F,W)},Ae=(F,W)=>{const ee=Number(F.currentTarget.getAttribute("data-index")),je=I[ee],ze=G.indexOf(je);let me=W;if(D&&m==null){const J=G[G.length-1];me>J?me=J:meW=>{var ee;if(m!==null){const je=Number(W.currentTarget.getAttribute("data-index")),ze=I[je];let me=null;(W.key==="ArrowLeft"||W.key==="ArrowDown")&&W.shiftKey||W.key==="PageDown"?me=Math.max(ze-w,l):((W.key==="ArrowRight"||W.key==="ArrowUp")&&W.shiftKey||W.key==="PageUp")&&(me=Math.min(ze+w,a)),me!==null&&(Ae(W,me),W.preventDefault())}F==null||(ee=F.onKeyDown)==null||ee.call(F,W)};On(()=>{if(r&&ae.current.contains(document.activeElement)){var F;(F=document.activeElement)==null||F.blur()}},[r]),r&&$!==-1&&T(-1),r&&Ce!==-1&&se(-1);const Le=F=>W=>{var ee;(ee=F.onChange)==null||ee.call(F,W),Ae(W,W.target.valueAsNumber)},xe=R.useRef();let $e=p;i&&p==="horizontal"&&($e+="-reverse");const Ne=({finger:F,move:W=!1})=>{const{current:ee}=ae,{width:je,height:ze,bottom:me,left:J}=ee.getBoundingClientRect();let q;$e.indexOf("vertical")===0?q=(me-F.y)/ze:q=(F.x-J)/je,$e.indexOf("-reverse")!==-1&&(q=1-q);let oe;if(oe=nG(q,l,a),m)oe=oG(oe,m,l);else{const Me=OP(G,oe);oe=G[Me]}oe=Ai(oe,l,a);let we=0;if(U){W?we=xe.current:we=OP(I,oe),o&&(oe=Ai(oe,I[we-1]||-1/0,I[we+1]||1/0));const Me=oe;oe=MP({values:I,newValue:oe,index:we}),o&&W||(we=oe.indexOf(Me),xe.current=we)}return{newValue:oe,activeIndex:we}},ke=Qt(F=>{const W=tp(F,_);if(!W)return;if(j.current+=1,F.type==="mousemove"&&F.buttons===0){Oe(F);return}const{newValue:ee,activeIndex:je}=Ne({finger:W,move:!0});np({sliderRef:ae,activeIndex:je,setActive:T}),V(ee),!A&&j.current>tG&&E(!0),H&&!rp(ee,B)&&H(F,ee,je)}),Oe=Qt(F=>{const W=tp(F,_);if(E(!1),!W)return;const{newValue:ee}=Ne({finger:W,move:!0});T(-1),F.type==="touchend"&&O(-1),f&&f(F,ee),_.current=void 0,He()}),Je=Qt(F=>{if(r)return;AP()||F.preventDefault();const W=F.changedTouches[0];W!=null&&(_.current=W.identifier);const ee=tp(F,_);if(ee!==!1){const{newValue:ze,activeIndex:me}=Ne({finger:ee});np({sliderRef:ae,activeIndex:me,setActive:T}),V(ze),H&&!rp(ze,B)&&H(F,ze,me)}j.current=0;const je=Ft(ae.current);je.addEventListener("touchmove",ke,{passive:!0}),je.addEventListener("touchend",Oe,{passive:!0})}),He=R.useCallback(()=>{const F=Ft(ae.current);F.removeEventListener("mousemove",ke),F.removeEventListener("mouseup",Oe),F.removeEventListener("touchmove",ke),F.removeEventListener("touchend",Oe)},[Oe,ke]);R.useEffect(()=>{const{current:F}=ae;return F.addEventListener("touchstart",Je,{passive:AP()}),()=>{F.removeEventListener("touchstart",Je),He()}},[He,Je]),R.useEffect(()=>{r&&He()},[r,He]);const vt=F=>W=>{var ee;if((ee=F.onMouseDown)==null||ee.call(F,W),r||W.defaultPrevented||W.button!==0)return;W.preventDefault();const je=tp(W,_);if(je!==!1){const{newValue:me,activeIndex:J}=Ne({finger:je});np({sliderRef:ae,activeIndex:J,setActive:T}),V(me),H&&!rp(me,B)&&H(W,me,J)}j.current=0;const ze=Ft(ae.current);ze.addEventListener("mousemove",ke,{passive:!0}),ze.addEventListener("mouseup",Oe)},qe=Gh(U?I[0]:l,l,a),tt=Gh(I[I.length-1],l,a)-qe,ht=(F={})=>{const W=Ca(F),ee={onMouseDown:vt(W||{})},je=C({},W,ee);return C({},F,{ref:ue},je)},nt=F=>W=>{var ee;(ee=F.onMouseOver)==null||ee.call(F,W);const je=Number(W.currentTarget.getAttribute("data-index"));O(je)},at=F=>W=>{var ee;(ee=F.onMouseLeave)==null||ee.call(F,W),O(-1)};return{active:$,axis:$e,axisProps:iG,dragging:A,focusedThumbIndex:Ce,getHiddenInputProps:(F={})=>{var W;const ee=Ca(F),je={onChange:Le(ee||{}),onFocus:Be(ee||{}),onBlur:ce(ee||{}),onKeyDown:Ke(ee||{})},ze=C({},ee,je);return C({tabIndex:y,"aria-labelledby":t,"aria-orientation":p,"aria-valuemax":v(a),"aria-valuemin":v(l),name:c,type:"range",min:e.min,max:e.max,step:e.step===null&&e.marks?"any":(W=e.step)!=null?W:void 0,disabled:r},F,ze,{style:C({},EO,{direction:i?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:ht,getThumbProps:(F={})=>{const W=Ca(F),ee={onMouseOver:nt(W||{}),onMouseLeave:at(W||{})};return C({},F,W,ee)},marks:D,open:P,range:U,rootRef:ue,trackLeap:tt,trackOffset:qe,values:I,getThumbStyle:F=>({pointerEvents:$!==-1&&$!==F?"none":void 0})}}function lG(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:o,resumeHideDuration:i}=e,s=ji();R.useEffect(()=>{if(!o)return;function y(S){S.defaultPrevented||(S.key==="Escape"||S.key==="Esc")&&(r==null||r(S,"escapeKeyDown"))}return document.addEventListener("keydown",y),()=>{document.removeEventListener("keydown",y)}},[o,r]);const a=Qt((y,S)=>{r==null||r(y,S)}),l=Qt(y=>{!r||y==null||s.start(y,()=>{a(null,"timeout")})});R.useEffect(()=>(o&&l(t),s.clear),[o,t,l,s]);const c=y=>{r==null||r(y,"clickaway")},u=s.clear,f=R.useCallback(()=>{t!=null&&l(i??t*.5)},[t,i,l]),p=y=>S=>{const _=y.onBlur;_==null||_(S),f()},h=y=>S=>{const _=y.onFocus;_==null||_(S),u()},v=y=>S=>{const _=y.onMouseEnter;_==null||_(S),u()},m=y=>S=>{const _=y.onMouseLeave;_==null||_(S),f()};return R.useEffect(()=>{if(!n&&o)return window.addEventListener("focus",f),window.addEventListener("blur",u),()=>{window.removeEventListener("focus",f),window.removeEventListener("blur",u)}},[n,o,f,u]),{getRootProps:(y={})=>{const S=C({},Ca(e),Ca(y));return C({role:"presentation"},y,S,{onBlur:p(S),onFocus:h(S),onMouseEnter:v(S),onMouseLeave:m(S)})},onClickAway:c}}const cG=["onChange","maxRows","minRows","style","value"];function ip(e){return parseInt(e,10)||0}const uG={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function dG(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const VM=R.forwardRef(function(t,n){const{onChange:r,maxRows:o,minRows:i=1,style:s,value:a}=t,l=ne(t,cG),{current:c}=R.useRef(a!=null),u=R.useRef(null),f=Rt(n,u),p=R.useRef(null),h=R.useCallback(()=>{const w=u.current,S=Jn(w).getComputedStyle(w);if(S.width==="0px")return{outerHeightStyle:0,overflowing:!1};const _=p.current;_.style.width=S.width,_.value=w.value||t.placeholder||"x",_.value.slice(-1)===` +`&&(_.value+=" ");const $=S.boxSizing,T=ip(S.paddingBottom)+ip(S.paddingTop),P=ip(S.borderBottomWidth)+ip(S.borderTopWidth),O=_.scrollHeight;_.value="x";const A=_.scrollHeight;let E=O;i&&(E=Math.max(Number(i)*A,E)),o&&(E=Math.min(Number(o)*A,E)),E=Math.max(E,A);const j=E+($==="border-box"?T+P:0),B=Math.abs(E-O)<=1;return{outerHeightStyle:j,overflowing:B}},[o,i,t.placeholder]),v=R.useCallback(()=>{const w=h();if(dG(w))return;const y=u.current;y.style.height=`${w.outerHeightStyle}px`,y.style.overflow=w.overflowing?"hidden":""},[h]);On(()=>{const w=()=>{v()};let y;const S=Na(w),_=u.current,$=Jn(_);$.addEventListener("resize",S);let T;return typeof ResizeObserver<"u"&&(T=new ResizeObserver(w),T.observe(_)),()=>{S.clear(),cancelAnimationFrame(y),$.removeEventListener("resize",S),T&&T.disconnect()}},[h,v]),On(()=>{v()});const m=w=>{c||v(),r&&r(w)};return x.jsxs(R.Fragment,{children:[x.jsx("textarea",C({value:a,onChange:m,ref:f,rows:i,style:s},l)),x.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:p,tabIndex:-1,style:C({},uG.shadow,s,{paddingTop:0,paddingBottom:0})})]})});function IP(e){return typeof e.normalize<"u"?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function WM(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:o="any",stringify:i,trim:s=!1}=e;return(a,{inputValue:l,getOptionLabel:c})=>{let u=s?l.trim():l;n&&(u=u.toLowerCase()),t&&(u=IP(u));const f=u?a.filter(p=>{let h=(i||c)(p);return n&&(h=h.toLowerCase()),t&&(h=IP(h)),o==="start"?h.indexOf(u)===0:h.indexOf(u)>-1}):a;return typeof r=="number"?f.slice(0,r):f}}function sp(e,t){for(let n=0;n{var t;return e.current!==null&&((t=e.current.parentElement)==null?void 0:t.contains(document.activeElement))};function HM(e){const{unstable_isActiveElementInListbox:t=pG,unstable_classNamePrefix:n="Mui",autoComplete:r=!1,autoHighlight:o=!1,autoSelect:i=!1,blurOnSelect:s=!1,clearOnBlur:a=!e.freeSolo,clearOnEscape:l=!1,componentName:c="useAutocomplete",defaultValue:u=e.multiple?[]:null,disableClearable:f=!1,disableCloseOnSelect:p=!1,disabled:h,disabledItemsFocusable:v=!1,disableListWrap:m=!1,filterOptions:w=fG,filterSelectedOptions:y=!1,freeSolo:S=!1,getOptionDisabled:_,getOptionKey:$,getOptionLabel:T=de=>{var le;return(le=de.label)!=null?le:de},groupBy:P,handleHomeEndKeys:O=!e.freeSolo,id:A,includeInputInList:E=!1,inputValue:j,isOptionEqualToValue:B=(de,le)=>de===le,multiple:V=!1,onChange:H,onClose:U,onHighlightChange:I,onInputChange:D,onOpen:G,open:N,openOnFocus:K=!1,options:Z,readOnly:ve=!1,selectOnFocus:Ce=!e.freeSolo,value:se}=e,ae=_o(A);let ye=T;ye=de=>{const le=T(de);return typeof le!="string"?String(le):le};const ue=R.useRef(!1),Be=R.useRef(!0),ce=R.useRef(null),Ae=R.useRef(null),[Ke,Le]=R.useState(null),[xe,$e]=R.useState(-1),Ne=o?0:-1,ke=R.useRef(Ne),[Oe,Je]=Cr({controlled:se,default:u,name:c}),[He,vt]=Cr({controlled:j,default:"",name:c,state:"inputValue"}),[qe,tt]=R.useState(!1),ht=R.useCallback((de,le)=>{if(!(V?Oe.length!(y&&(V?Oe:[Oe]).some(le=>le!==null&&B(de,le)))),{inputValue:he&&Pt?"":He,getOptionLabel:ye}):[],ee=Fx({filteredOptions:W,value:Oe,inputValue:He});R.useEffect(()=>{const de=Oe!==ee.value;qe&&!de||S&&!de||ht(null,Oe)},[Oe,ht,qe,ee.value,S]);const je=nt&&W.length>0&&!ve,ze=Qt(de=>{de===-1?ce.current.focus():Ke.querySelector(`[data-tag-index="${de}"]`).focus()});R.useEffect(()=>{V&&xe>Oe.length-1&&($e(-1),ze(-1))},[Oe,V,xe,ze]);function me(de,le){if(!Ae.current||de<0||de>=W.length)return-1;let Ye=de;for(;;){const Ve=Ae.current.querySelector(`[data-option-index="${Ye}"]`),rt=v?!1:!Ve||Ve.disabled||Ve.getAttribute("aria-disabled")==="true";if(Ve&&Ve.hasAttribute("tabindex")&&!rt)return Ye;if(le==="next"?Ye=(Ye+1)%W.length:Ye=(Ye-1+W.length)%W.length,Ye===de)return-1}}const J=Qt(({event:de,index:le,reason:Ye="auto"})=>{if(ke.current=le,le===-1?ce.current.removeAttribute("aria-activedescendant"):ce.current.setAttribute("aria-activedescendant",`${ae}-option-${le}`),I&&I(de,le===-1?null:W[le],Ye),!Ae.current)return;const Ve=Ae.current.querySelector(`[role="option"].${n}-focused`);Ve&&(Ve.classList.remove(`${n}-focused`),Ve.classList.remove(`${n}-focusVisible`));let rt=Ae.current;if(Ae.current.getAttribute("role")!=="listbox"&&(rt=Ae.current.parentElement.querySelector('[role="listbox"]')),!rt)return;if(le===-1){rt.scrollTop=0;return}const Ze=Ae.current.querySelector(`[data-option-index="${le}"]`);if(Ze&&(Ze.classList.add(`${n}-focused`),Ye==="keyboard"&&Ze.classList.add(`${n}-focusVisible`),rt.scrollHeight>rt.clientHeight&&Ye!=="mouse"&&Ye!=="touch")){const bt=Ze,gr=rt.clientHeight+rt.scrollTop,Zi=bt.offsetTop+bt.offsetHeight;Zi>gr?rt.scrollTop=Zi-rt.clientHeight:bt.offsetTop-bt.offsetHeight*(P?1.3:0){if(!F)return;const Ze=me((()=>{const bt=W.length-1;if(le==="reset")return Ne;if(le==="start")return 0;if(le==="end")return bt;const gr=ke.current+le;return gr<0?gr===-1&&E?-1:m&&ke.current!==-1||Math.abs(le)>1?0:bt:gr>bt?gr===bt+1&&E?-1:m||Math.abs(le)>1?bt:0:gr})(),Ye);if(J({index:Ze,reason:Ve,event:de}),r&&le!=="reset")if(Ze===-1)ce.current.value=He;else{const bt=ye(W[Ze]);ce.current.value=bt,bt.toLowerCase().indexOf(He.toLowerCase())===0&&He.length>0&&ce.current.setSelectionRange(He.length,bt.length)}}),oe=()=>{const de=(le,Ye)=>{const Ve=le?ye(le):"",rt=Ye?ye(Ye):"";return Ve===rt};if(ke.current!==-1&&ee.filteredOptions&&ee.filteredOptions.length!==W.length&&ee.inputValue===He&&(V?Oe.length===ee.value.length&&ee.value.every((le,Ye)=>ye(Oe[Ye])===ye(le)):de(ee.value,Oe))){const le=ee.filteredOptions[ke.current];if(le)return sp(W,Ye=>ye(Ye)===ye(le))}return-1},we=R.useCallback(()=>{if(!F)return;const de=oe();if(de!==-1){ke.current=de;return}const le=V?Oe[0]:Oe;if(W.length===0||le==null){q({diff:"reset"});return}if(Ae.current){if(le!=null){const Ye=W[ke.current];if(V&&Ye&&sp(Oe,rt=>B(Ye,rt))!==-1)return;const Ve=sp(W,rt=>B(rt,le));Ve===-1?q({diff:"reset"}):J({index:Ve});return}if(ke.current>=W.length-1){J({index:W.length-1});return}J({index:ke.current})}},[W.length,V?!1:Oe,y,q,J,F,He,V]),Me=Qt(de=>{Jl(Ae,de),de&&we()});R.useEffect(()=>{we()},[we]);const Xe=de=>{nt||(at(!0),Tt(!0),G&&G(de))},ot=(de,le)=>{nt&&(at(!1),U&&U(de,le))},ct=(de,le,Ye,Ve)=>{if(V){if(Oe.length===le.length&&Oe.every((rt,Ze)=>rt===le[Ze]))return}else if(Oe===le)return;H&&H(de,le,Ye,Ve),Je(le)},dt=R.useRef(!1),yt=(de,le,Ye="selectOption",Ve="options")=>{let rt=Ye,Ze=le;if(V){Ze=Array.isArray(Oe)?Oe.slice():[];const bt=sp(Ze,gr=>B(le,gr));bt===-1?Ze.push(le):Ve!=="freeSolo"&&(Ze.splice(bt,1),rt="removeOption")}ht(de,Ze),ct(de,Ze,rt,{option:le}),!p&&(!de||!de.ctrlKey&&!de.metaKey)&&ot(de,rt),(s===!0||s==="touch"&&dt.current||s==="mouse"&&!dt.current)&&ce.current.blur()};function St(de,le){if(de===-1)return-1;let Ye=de;for(;;){if(le==="next"&&Ye===Oe.length||le==="previous"&&Ye===-1)return-1;const Ve=Ke.querySelector(`[data-tag-index="${Ye}"]`);if(!Ve||!Ve.hasAttribute("tabindex")||Ve.disabled||Ve.getAttribute("aria-disabled")==="true")Ye+=le==="next"?1:-1;else return Ye}}const Lt=(de,le)=>{if(!V)return;He===""&&ot(de,"toggleInput");let Ye=xe;xe===-1?He===""&&le==="previous"&&(Ye=Oe.length-1):(Ye+=le==="next"?1:-1,Ye<0&&(Ye=0),Ye===Oe.length&&(Ye=-1)),Ye=St(Ye,le),$e(Ye),ze(Ye)},Nn=de=>{ue.current=!0,vt(""),D&&D(de,"","clear"),ct(de,V?[]:null,"clear")},An=de=>le=>{if(de.onKeyDown&&de.onKeyDown(le),!le.defaultMuiPrevented&&(xe!==-1&&["ArrowLeft","ArrowRight"].indexOf(le.key)===-1&&($e(-1),ze(-1)),le.which!==229))switch(le.key){case"Home":F&&O&&(le.preventDefault(),q({diff:"start",direction:"next",reason:"keyboard",event:le}));break;case"End":F&&O&&(le.preventDefault(),q({diff:"end",direction:"previous",reason:"keyboard",event:le}));break;case"PageUp":le.preventDefault(),q({diff:-EP,direction:"previous",reason:"keyboard",event:le}),Xe(le);break;case"PageDown":le.preventDefault(),q({diff:EP,direction:"next",reason:"keyboard",event:le}),Xe(le);break;case"ArrowDown":le.preventDefault(),q({diff:1,direction:"next",reason:"keyboard",event:le}),Xe(le);break;case"ArrowUp":le.preventDefault(),q({diff:-1,direction:"previous",reason:"keyboard",event:le}),Xe(le);break;case"ArrowLeft":Lt(le,"previous");break;case"ArrowRight":Lt(le,"next");break;case"Enter":if(ke.current!==-1&&F){const Ye=W[ke.current],Ve=_?_(Ye):!1;if(le.preventDefault(),Ve)return;yt(le,Ye,"selectOption"),r&&ce.current.setSelectionRange(ce.current.value.length,ce.current.value.length)}else S&&He!==""&&he===!1&&(V&&le.preventDefault(),yt(le,He,"createOption","freeSolo"));break;case"Escape":F?(le.preventDefault(),le.stopPropagation(),ot(le,"escape")):l&&(He!==""||V&&Oe.length>0)&&(le.preventDefault(),le.stopPropagation(),Nn(le));break;case"Backspace":if(V&&!ve&&He===""&&Oe.length>0){const Ye=xe===-1?Oe.length-1:xe,Ve=Oe.slice();Ve.splice(Ye,1),ct(le,Ve,"removeOption",{option:Oe[Ye]})}break;case"Delete":if(V&&!ve&&He===""&&Oe.length>0&&xe!==-1){const Ye=xe,Ve=Oe.slice();Ve.splice(Ye,1),ct(le,Ve,"removeOption",{option:Oe[Ye]})}break}},Gn=de=>{tt(!0),K&&!ue.current&&Xe(de)},In=de=>{if(t(Ae)){ce.current.focus();return}tt(!1),Be.current=!0,ue.current=!1,i&&ke.current!==-1&&F?yt(de,W[ke.current],"blur"):i&&S&&He!==""?yt(de,He,"blur","freeSolo"):a&&ht(de,Oe),ot(de,"blur")},Zt=de=>{const le=de.target.value;He!==le&&(vt(le),Tt(!1),D&&D(de,le,"input")),le===""?!f&&!V&&ct(de,null,"clear"):Xe(de)},jt=de=>{const le=Number(de.currentTarget.getAttribute("data-option-index"));ke.current!==le&&J({event:de,index:le,reason:"mouse"})},kn=de=>{J({event:de,index:Number(de.currentTarget.getAttribute("data-option-index")),reason:"touch"}),dt.current=!0},Fn=de=>{const le=Number(de.currentTarget.getAttribute("data-option-index"));yt(de,W[le],"selectOption"),dt.current=!1},Wr=de=>le=>{const Ye=Oe.slice();Ye.splice(de,1),ct(le,Ye,"removeOption",{option:Oe[de]})},gi=de=>{nt?ot(de,"toggleInput"):Xe(de)},pr=de=>{de.currentTarget.contains(de.target)&&de.target.getAttribute("id")!==ae&&de.preventDefault()},Hr=de=>{de.currentTarget.contains(de.target)&&(ce.current.focus(),Ce&&Be.current&&ce.current.selectionEnd-ce.current.selectionStart===0&&ce.current.select(),Be.current=!1)},hr=de=>{!h&&(He===""||!nt)&&gi(de)};let Kn=S&&He.length>0;Kn=Kn||(V?Oe.length>0:Oe!==null);let _r=W;return P&&(_r=W.reduce((de,le,Ye)=>{const Ve=P(le);return de.length>0&&de[de.length-1].group===Ve?de[de.length-1].options.push(le):de.push({key:Ye,index:Ye,group:Ve,options:[le]}),de},[])),h&&qe&&In(),{getRootProps:(de={})=>C({"aria-owns":je?`${ae}-listbox`:null},de,{onKeyDown:An(de),onMouseDown:pr,onClick:Hr}),getInputLabelProps:()=>({id:`${ae}-label`,htmlFor:ae}),getInputProps:()=>({id:ae,value:He,onBlur:In,onFocus:Gn,onChange:Zt,onMouseDown:hr,"aria-activedescendant":F?"":null,"aria-autocomplete":r?"both":"list","aria-controls":je?`${ae}-listbox`:void 0,"aria-expanded":je,autoComplete:"off",ref:ce,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:h}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Nn}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:gi}),getTagProps:({index:de})=>C({key:de,"data-tag-index":de,tabIndex:-1},!ve&&{onDelete:Wr(de)}),getListboxProps:()=>({role:"listbox",id:`${ae}-listbox`,"aria-labelledby":`${ae}-label`,ref:Me,onMouseDown:de=>{de.preventDefault()}}),getOptionProps:({index:de,option:le})=>{var Ye;const Ve=(V?Oe:[Oe]).some(Ze=>Ze!=null&&B(le,Ze)),rt=_?_(le):!1;return{key:(Ye=$==null?void 0:$(le))!=null?Ye:ye(le),tabIndex:-1,role:"option",id:`${ae}-option-${de}`,onMouseMove:jt,onClick:Fn,onTouchStart:kn,"data-option-index":de,"aria-disabled":rt,"aria-selected":Ve}},id:ae,inputValue:He,value:Oe,dirty:Kn,expanded:F&&Ke,popupOpen:F,focused:qe||xe!==-1,anchorEl:Ke,setAnchorEl:Le,focusedTag:xe,groupedOptions:_r}}var l1={};Object.defineProperty(l1,"__esModule",{value:!0});var UM=l1.default=void 0,hG=mG(R),gG=qO;function GM(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(GM=function(r){return r?n:t})(e)}function mG(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=GM(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function vG(e){return Object.keys(e).length===0}function yG(e=null){const t=hG.useContext(gG.ThemeContext);return!t||vG(t)?e:t}UM=l1.default=yG;const bG=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],xG=X(eG,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),CG=R.forwardRef(function(t,n){var r;const o=UM(),i=Ee({props:t,name:"MuiPopper"}),{anchorEl:s,component:a,components:l,componentsProps:c,container:u,disablePortal:f,keepMounted:p,modifiers:h,open:v,placement:m,popperOptions:w,popperRef:y,transition:S,slots:_,slotProps:$}=i,T=ne(i,bG),P=(r=_==null?void 0:_.root)!=null?r:l==null?void 0:l.Root,O=C({anchorEl:s,container:u,disablePortal:f,keepMounted:p,modifiers:h,open:v,placement:m,popperOptions:w,popperRef:y,transition:S},T);return x.jsx(xG,C({as:a,direction:o==null?void 0:o.direction,slots:{root:P},slotProps:$??c},O,{ref:n}))}),Kd=CG;function KM(e){return Pe("MuiListSubheader",e)}const SG=_e("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]),wG=SG,PG=["className","color","component","disableGutters","disableSticky","inset"],kG=e=>{const{classes:t,color:n,disableGutters:r,inset:o,disableSticky:i}=e,s={root:["root",n!=="default"&&`color${Q(n)}`,!r&&"gutters",o&&"inset",!i&&"sticky"]};return Re(s,KM,t)},_G=X("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${Q(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(({theme:e,ownerState:t})=>C({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)},t.color==="primary"&&{color:(e.vars||e).palette.primary.main},t.color==="inherit"&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper})),YM=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiListSubheader"}),{className:o,color:i="default",component:s="li",disableGutters:a=!1,disableSticky:l=!1,inset:c=!1}=r,u=ne(r,PG),f=C({},r,{color:i,component:s,disableGutters:a,disableSticky:l,inset:c}),p=kG(f);return x.jsx(_G,C({as:s,className:te(p.root,o),ref:n,ownerState:f},u))});YM.muiSkipListHighlight=!0;const XM=YM,RG=Ut(x.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 qM(e){return Pe("MuiChip",e)}const TG=_e("MuiChip",["root","sizeSmall","sizeMedium","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"]),Ot=TG,$G=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],OG=e=>{const{classes:t,disabled:n,size:r,color:o,iconColor:i,onDelete:s,clickable:a,variant:l}=e,c={root:["root",l,n&&"disabled",`size${Q(r)}`,`color${Q(o)}`,a&&"clickable",a&&`clickableColor${Q(o)}`,s&&"deletable",s&&`deletableColor${Q(o)}`,`${l}${Q(o)}`],label:["label",`label${Q(r)}`],avatar:["avatar",`avatar${Q(r)}`,`avatarColor${Q(o)}`],icon:["icon",`icon${Q(r)}`,`iconColor${Q(i)}`],deleteIcon:["deleteIcon",`deleteIcon${Q(r)}`,`deleteIconColor${Q(o)}`,`deleteIcon${Q(l)}Color${Q(o)}`]};return Re(c,qM,t)},MG=X("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:o,clickable:i,onDelete:s,size:a,variant:l}=n;return[{[`& .${Ot.avatar}`]:t.avatar},{[`& .${Ot.avatar}`]:t[`avatar${Q(a)}`]},{[`& .${Ot.avatar}`]:t[`avatarColor${Q(r)}`]},{[`& .${Ot.icon}`]:t.icon},{[`& .${Ot.icon}`]:t[`icon${Q(a)}`]},{[`& .${Ot.icon}`]:t[`iconColor${Q(o)}`]},{[`& .${Ot.deleteIcon}`]:t.deleteIcon},{[`& .${Ot.deleteIcon}`]:t[`deleteIcon${Q(a)}`]},{[`& .${Ot.deleteIcon}`]:t[`deleteIconColor${Q(r)}`]},{[`& .${Ot.deleteIcon}`]:t[`deleteIcon${Q(l)}Color${Q(r)}`]},t.root,t[`size${Q(a)}`],t[`color${Q(r)}`],i&&t.clickable,i&&r!=="default"&&t[`clickableColor${Q(r)})`],s&&t.deletable,s&&r!=="default"&&t[`deletableColor${Q(r)}`],t[l],t[`${l}${Q(r)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return C({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",[`&.${Ot.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Ot.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:n,fontSize:e.typography.pxToRem(12)},[`& .${Ot.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Ot.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Ot.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Ot.icon}`]:C({marginLeft:5,marginRight:-6},t.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&C({color:e.vars?e.vars.palette.Chip.defaultIconColor:n},t.color!=="default"&&{color:"inherit"})),[`& .${Ot.deleteIcon}`]:C({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:st(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)`:st(e.palette.text.primary,.4)}},t.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},t.color!=="default"&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:st(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},t.size==="small"&&{height:24},t.color!=="default"&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${Ot.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:st(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&t.color!=="default"&&{[`&.${Ot.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})},({theme:e,ownerState:t})=>C({},t.clickable&&{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}))`:st(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${Ot.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:st(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&t.color!=="default"&&{[`&:hover, &.${Ot.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}}),({theme:e,ownerState:t})=>C({},t.variant==="outlined"&&{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]}`,[`&.${Ot.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Ot.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Ot.avatar}`]:{marginLeft:4},[`& .${Ot.avatarSmall}`]:{marginLeft:2},[`& .${Ot.icon}`]:{marginLeft:4},[`& .${Ot.iconSmall}`]:{marginLeft:2},[`& .${Ot.deleteIcon}`]:{marginRight:5},[`& .${Ot.deleteIconSmall}`]:{marginRight:3}},t.variant==="outlined"&&t.color!=="default"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:st(e.palette[t.color].main,.7)}`,[`&.${Ot.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:st(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${Ot.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:st(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${Ot.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:st(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}})),AG=X("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${Q(r)}`]]}})(({ownerState:e})=>C({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},e.variant==="outlined"&&{paddingLeft:11,paddingRight:11},e.size==="small"&&{paddingLeft:8,paddingRight:8},e.size==="small"&&e.variant==="outlined"&&{paddingLeft:7,paddingRight:7}));function LP(e){return e.key==="Backspace"||e.key==="Delete"}const IG=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiChip"}),{avatar:o,className:i,clickable:s,color:a="default",component:l,deleteIcon:c,disabled:u=!1,icon:f,label:p,onClick:h,onDelete:v,onKeyDown:m,onKeyUp:w,size:y="medium",variant:S="filled",tabIndex:_,skipFocusWhenDisabled:$=!1}=r,T=ne(r,$G),P=R.useRef(null),O=Rt(P,n),A=K=>{K.stopPropagation(),v&&v(K)},E=K=>{K.currentTarget===K.target&&LP(K)&&K.preventDefault(),m&&m(K)},j=K=>{K.currentTarget===K.target&&(v&&LP(K)?v(K):K.key==="Escape"&&P.current&&P.current.blur()),w&&w(K)},B=s!==!1&&h?!0:s,V=B||v?Mn:l||"div",H=C({},r,{component:V,disabled:u,size:y,color:a,iconColor:R.isValidElement(f)&&f.props.color||a,onDelete:!!v,clickable:B,variant:S}),U=OG(H),I=V===Mn?C({component:l||"div",focusVisibleClassName:U.focusVisible},v&&{disableRipple:!0}):{};let D=null;v&&(D=c&&R.isValidElement(c)?R.cloneElement(c,{className:te(c.props.className,U.deleteIcon),onClick:A}):x.jsx(RG,{className:te(U.deleteIcon),onClick:A}));let G=null;o&&R.isValidElement(o)&&(G=R.cloneElement(o,{className:te(U.avatar,o.props.className)}));let N=null;return f&&R.isValidElement(f)&&(N=R.cloneElement(f,{className:te(U.icon,f.props.className)})),x.jsxs(MG,C({as:V,className:te(U.root,i),disabled:B&&u?!0:void 0,onClick:h,onKeyDown:E,onKeyUp:j,ref:O,tabIndex:$&&u?-1:_,ownerState:H},I,T,{children:[G||N,x.jsx(AG,{className:te(U.label),ownerState:H,children:p}),D]}))}),QM=IG;function Qi({props:e,states:t,muiFormControl:n}){return t.reduce((r,o)=>(r[o]=e[o],n&&typeof e[o]>"u"&&(r[o]=n[o]),r),{})}const bm=R.createContext(void 0);function Io(){return R.useContext(bm)}function c1(e){return x.jsx(Z6,C({},e,{defaultTheme:hm,themeId:Gi}))}function jP(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Kh(e,t=!1){return e&&(jP(e.value)&&e.value!==""||t&&jP(e.defaultValue)&&e.defaultValue!=="")}function EG(e){return e.startAdornment}function ZM(e){return Pe("MuiInputBase",e)}const LG=_e("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Or=LG,jG=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],xm=(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${Q(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Cm=(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]},BG=e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:s,formControl:a,fullWidth:l,hiddenLabel:c,multiline:u,readOnly:f,size:p,startAdornment:h,type:v}=e,m={root:["root",`color${Q(n)}`,r&&"disabled",o&&"error",l&&"fullWidth",s&&"focused",a&&"formControl",p&&p!=="medium"&&`size${Q(p)}`,u&&"multiline",h&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",f&&"readOnly"],input:["input",r&&"disabled",v==="search"&&"inputTypeSearch",u&&"inputMultiline",p==="small"&&"inputSizeSmall",c&&"inputHiddenLabel",h&&"inputAdornedStart",i&&"inputAdornedEnd",f&&"readOnly"]};return Re(m,ZM,t)},Sm=X("div",{name:"MuiInputBase",slot:"Root",overridesResolver:xm})(({theme:e,ownerState:t})=>C({},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",[`&.${Or.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&C({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),wm=X("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Cm})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light",r=C({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return C({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%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Or.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${Or.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),DG=x.jsx(c1,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),NG=R.forwardRef(function(t,n){var r;const o=Ee({props:t,name:"MuiInputBase"}),{"aria-describedby":i,autoComplete:s,autoFocus:a,className:l,components:c={},componentsProps:u={},defaultValue:f,disabled:p,disableInjectingGlobalStyles:h,endAdornment:v,fullWidth:m=!1,id:w,inputComponent:y="input",inputProps:S={},inputRef:_,maxRows:$,minRows:T,multiline:P=!1,name:O,onBlur:A,onChange:E,onClick:j,onFocus:B,onKeyDown:V,onKeyUp:H,placeholder:U,readOnly:I,renderSuffix:D,rows:G,slotProps:N={},slots:K={},startAdornment:Z,type:ve="text",value:Ce}=o,se=ne(o,jG),ae=S.value!=null?S.value:Ce,{current:ye}=R.useRef(ae!=null),ue=R.useRef(),Be=R.useCallback(F=>{},[]),ce=Rt(ue,_,S.ref,Be),[Ae,Ke]=R.useState(!1),Le=Io(),xe=Qi({props:o,muiFormControl:Le,states:["color","disabled","error","hiddenLabel","size","required","filled"]});xe.focused=Le?Le.focused:Ae,R.useEffect(()=>{!Le&&p&&Ae&&(Ke(!1),A&&A())},[Le,p,Ae,A]);const $e=Le&&Le.onFilled,Ne=Le&&Le.onEmpty,ke=R.useCallback(F=>{Kh(F)?$e&&$e():Ne&&Ne()},[$e,Ne]);On(()=>{ye&&ke({value:ae})},[ae,ke,ye]);const Oe=F=>{if(xe.disabled){F.stopPropagation();return}B&&B(F),S.onFocus&&S.onFocus(F),Le&&Le.onFocus?Le.onFocus(F):Ke(!0)},Je=F=>{A&&A(F),S.onBlur&&S.onBlur(F),Le&&Le.onBlur?Le.onBlur(F):Ke(!1)},He=(F,...W)=>{if(!ye){const ee=F.target||ue.current;if(ee==null)throw new Error(Sr(1));ke({value:ee.value})}S.onChange&&S.onChange(F,...W),E&&E(F,...W)};R.useEffect(()=>{ke(ue.current)},[]);const vt=F=>{ue.current&&F.currentTarget===F.target&&ue.current.focus(),j&&j(F)};let qe=y,tt=S;P&&qe==="input"&&(G?tt=C({type:void 0,minRows:G,maxRows:G},tt):tt=C({type:void 0,maxRows:$,minRows:T},tt),qe=VM);const ht=F=>{ke(F.animationName==="mui-auto-fill-cancel"?ue.current:{value:"x"})};R.useEffect(()=>{Le&&Le.setAdornedStart(!!Z)},[Le,Z]);const nt=C({},o,{color:xe.color||"primary",disabled:xe.disabled,endAdornment:v,error:xe.error,focused:xe.focused,formControl:Le,fullWidth:m,hiddenLabel:xe.hiddenLabel,multiline:P,size:xe.size,startAdornment:Z,type:ve}),at=BG(nt),Pt=K.root||c.Root||Sm,Tt=N.root||u.root||{},he=K.input||c.Input||wm;return tt=C({},tt,(r=N.input)!=null?r:u.input),x.jsxs(R.Fragment,{children:[!h&&DG,x.jsxs(Pt,C({},Tt,!Wo(Pt)&&{ownerState:C({},nt,Tt.ownerState)},{ref:n,onClick:vt},se,{className:te(at.root,Tt.className,l,I&&"MuiInputBase-readOnly"),children:[Z,x.jsx(bm.Provider,{value:null,children:x.jsx(he,C({ownerState:nt,"aria-invalid":xe.error,"aria-describedby":i,autoComplete:s,autoFocus:a,defaultValue:f,disabled:xe.disabled,id:w,onAnimationStart:ht,name:O,placeholder:U,readOnly:I,required:xe.required,rows:G,value:ae,onKeyDown:V,onKeyUp:H,type:ve},tt,!Wo(he)&&{as:qe,ownerState:C({},nt,tt.ownerState)},{ref:ce,className:te(at.input,tt.className,I&&"MuiInputBase-readOnly"),onBlur:Je,onChange:He,onFocus:Oe}))}),v,D?D(C({},xe,{startAdornment:Z})):null]}))]})}),Yd=NG;function JM(e){return Pe("MuiInput",e)}const FG=C({},Or,_e("MuiInput",["root","underline","input"])),Ii=FG;function eA(e){return Pe("MuiOutlinedInput",e)}const zG=C({},Or,_e("MuiOutlinedInput",["root","notchedOutline","input"])),Do=zG;function tA(e){return Pe("MuiFilledInput",e)}const VG=C({},Or,_e("MuiFilledInput",["root","underline","input"])),Mr=VG,u1=Ut(x.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function nA(e){return Pe("MuiAutocomplete",e)}const WG=_e("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"]),Ct=WG;var BP,DP;const HG=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionKey","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","slotProps","value"],UG=["ref"],GG=["key"],KG=["key"],YG=Go(),XG=e=>{const{classes:t,disablePortal:n,expanded:r,focused:o,fullWidth:i,hasClearIcon:s,hasPopupIcon:a,inputFocused:l,popupOpen:c,size:u}=e,f={root:["root",r&&"expanded",o&&"focused",i&&"fullWidth",s&&"hasClearIcon",a&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",l&&"inputFocused"],tag:["tag",`tagSize${Q(u)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",c&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return Re(f,nA,t)},qG=X("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:o,hasPopupIcon:i,inputFocused:s,size:a}=n;return[{[`& .${Ct.tag}`]:t.tag},{[`& .${Ct.tag}`]:t[`tagSize${Q(a)}`]},{[`& .${Ct.inputRoot}`]:t.inputRoot},{[`& .${Ct.input}`]:t.input},{[`& .${Ct.input}`]:s&&t.inputFocused},t.root,r&&t.fullWidth,i&&t.hasPopupIcon,o&&t.hasClearIcon]}})({[`&.${Ct.focused} .${Ct.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Ct.clearIndicator}`]:{visibility:"visible"}},[`& .${Ct.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Ct.inputRoot}`]:{[`.${Ct.hasPopupIcon}&, .${Ct.hasClearIcon}&`]:{paddingRight:30},[`.${Ct.hasPopupIcon}.${Ct.hasClearIcon}&`]:{paddingRight:56},[`& .${Ct.input}`]:{width:0,minWidth:30}},[`& .${Ii.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${Ii.root}.${Or.sizeSmall}`]:{[`& .${Ii.input}`]:{padding:"2px 4px 3px 0"}},[`& .${Do.root}`]:{padding:9,[`.${Ct.hasPopupIcon}&, .${Ct.hasClearIcon}&`]:{paddingRight:39},[`.${Ct.hasPopupIcon}.${Ct.hasClearIcon}&`]:{paddingRight:65},[`& .${Ct.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${Ct.endAdornment}`]:{right:9}},[`& .${Do.root}.${Or.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Ct.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${Mr.root}`]:{paddingTop:19,paddingLeft:8,[`.${Ct.hasPopupIcon}&, .${Ct.hasClearIcon}&`]:{paddingRight:39},[`.${Ct.hasPopupIcon}.${Ct.hasClearIcon}&`]:{paddingRight:65},[`& .${Mr.input}`]:{padding:"7px 4px"},[`& .${Ct.endAdornment}`]:{right:9}},[`& .${Mr.root}.${Or.sizeSmall}`]:{paddingBottom:1,[`& .${Mr.input}`]:{padding:"2.5px 4px"}},[`& .${Or.hiddenLabel}`]:{paddingTop:8},[`& .${Mr.root}.${Or.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${Ct.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${Mr.root}.${Or.hiddenLabel}.${Or.sizeSmall}`]:{[`& .${Ct.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${Ct.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${Ct.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${Ct.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${Ct.inputRoot}`]:{flexWrap:"wrap"}}}]}),QG=X("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),ZG=X(yr,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),JG=X(yr,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>C({},t.popupIndicator,e.popupOpen&&t.popupIndicatorOpen)})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),eK=X(Kd,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ct.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]})),tK=X(uo,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(({theme:e})=>C({},e.typography.body1,{overflow:"auto"})),nK=X("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})),rK=X("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})),oK=X("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${Ct.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"},[`&.${Ct.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"},[`&.${Ct.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})`:st(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ct.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:st(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Ct.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:st(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}})),iK=X(XM,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8})),sK=X("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${Ct.option}`]:{paddingLeft:24}}),aK=R.forwardRef(function(t,n){var r,o,i,s;const a=YG({props:t,name:"MuiAutocomplete"}),{autoComplete:l=!1,autoHighlight:c=!1,autoSelect:u=!1,blurOnSelect:f=!1,ChipProps:p,className:h,clearIcon:v=BP||(BP=x.jsx(xM,{fontSize:"small"})),clearOnBlur:m=!a.freeSolo,clearOnEscape:w=!1,clearText:y="Clear",closeText:S="Close",componentsProps:_={},defaultValue:$=a.multiple?[]:null,disableClearable:T=!1,disableCloseOnSelect:P=!1,disabled:O=!1,disabledItemsFocusable:A=!1,disableListWrap:E=!1,disablePortal:j=!1,filterSelectedOptions:B=!1,forcePopupIcon:V="auto",freeSolo:H=!1,fullWidth:U=!1,getLimitTagsText:I=Ve=>`+${Ve}`,getOptionLabel:D,groupBy:G,handleHomeEndKeys:N=!a.freeSolo,includeInputInList:K=!1,limitTags:Z=-1,ListboxComponent:ve="ul",ListboxProps:Ce,loading:se=!1,loadingText:ae="Loading…",multiple:ye=!1,noOptionsText:ue="No options",openOnFocus:Be=!1,openText:ce="Open",PaperComponent:Ae=uo,PopperComponent:Ke=Kd,popupIcon:Le=DP||(DP=x.jsx(u1,{})),readOnly:xe=!1,renderGroup:$e,renderInput:Ne,renderOption:ke,renderTags:Oe,selectOnFocus:Je=!a.freeSolo,size:He="medium",slotProps:vt={}}=a,qe=ne(a,HG),{getRootProps:tt,getInputProps:ht,getInputLabelProps:nt,getPopupIndicatorProps:at,getClearProps:Pt,getTagProps:Tt,getListboxProps:he,getOptionProps:F,value:W,dirty:ee,expanded:je,id:ze,popupOpen:me,focused:J,focusedTag:q,anchorEl:oe,setAnchorEl:we,inputValue:Me,groupedOptions:Xe}=HM(C({},a,{componentName:"Autocomplete"})),ot=!T&&!O&&ee&&!xe,ct=(!H||V===!0)&&V!==!1,{onMouseDown:dt}=ht(),{ref:yt}=Ce??{},St=he(),{ref:Lt}=St,Nn=ne(St,UG),An=Rt(Lt,yt),In=D||(Ve=>{var rt;return(rt=Ve.label)!=null?rt:Ve}),Zt=C({},a,{disablePortal:j,expanded:je,focused:J,fullWidth:U,getOptionLabel:In,hasClearIcon:ot,hasPopupIcon:ct,inputFocused:q===-1,popupOpen:me,size:He}),jt=XG(Zt);let kn;if(ye&&W.length>0){const Ve=rt=>C({className:jt.tag,disabled:O},Tt(rt));Oe?kn=Oe(W,Ve,Zt):kn=W.map((rt,Ze)=>{const bt=Ve({index:Ze}),{key:gr}=bt,Zi=ne(bt,GG);return x.jsx(QM,C({label:In(rt),size:He},Zi,p),gr)})}if(Z>-1&&Array.isArray(kn)){const Ve=kn.length-Z;!J&&Ve>0&&(kn=kn.splice(0,Z),kn.push(x.jsx("span",{className:jt.tag,children:I(Ve)},kn.length)))}const Wr=$e||(Ve=>x.jsxs("li",{children:[x.jsx(iK,{className:jt.groupLabel,ownerState:Zt,component:"div",children:Ve.group}),x.jsx(sK,{className:jt.groupUl,ownerState:Zt,children:Ve.children})]},Ve.key)),pr=ke||((Ve,rt)=>{const{key:Ze}=Ve,bt=ne(Ve,KG);return x.jsx("li",C({},bt,{children:In(rt)}),Ze)}),Hr=(Ve,rt)=>{const Ze=F({option:Ve,index:rt});return pr(C({},Ze,{className:jt.option}),Ve,{selected:Ze["aria-selected"],index:rt,inputValue:Me},Zt)},hr=(r=vt.clearIndicator)!=null?r:_.clearIndicator,Kn=(o=vt.paper)!=null?o:_.paper,_r=(i=vt.popper)!=null?i:_.popper,de=(s=vt.popupIndicator)!=null?s:_.popupIndicator,le=Ve=>x.jsx(eK,C({as:Ke,disablePortal:j,style:{width:oe?oe.clientWidth:null},ownerState:Zt,role:"presentation",anchorEl:oe,open:me},_r,{className:te(jt.popper,_r==null?void 0:_r.className),children:x.jsx(tK,C({ownerState:Zt,as:Ae},Kn,{className:te(jt.paper,Kn==null?void 0:Kn.className),children:Ve}))}));let Ye=null;return Xe.length>0?Ye=le(x.jsx(oK,C({as:ve,className:jt.listbox,ownerState:Zt},Nn,Ce,{ref:An,children:Xe.map((Ve,rt)=>G?Wr({key:Ve.key,group:Ve.group,children:Ve.options.map((Ze,bt)=>Hr(Ze,Ve.index+bt))}):Hr(Ve,rt))}))):se&&Xe.length===0?Ye=le(x.jsx(nK,{className:jt.loading,ownerState:Zt,children:ae})):Xe.length===0&&!H&&!se&&(Ye=le(x.jsx(rK,{className:jt.noOptions,ownerState:Zt,role:"presentation",onMouseDown:Ve=>{Ve.preventDefault()},children:ue}))),x.jsxs(R.Fragment,{children:[x.jsx(qG,C({ref:n,className:te(jt.root,h),ownerState:Zt},tt(qe),{children:Ne({id:ze,disabled:O,fullWidth:!0,size:He==="small"?"small":void 0,InputLabelProps:nt(),InputProps:C({ref:we,className:jt.inputRoot,startAdornment:kn,onClick:Ve=>{Ve.target===Ve.currentTarget&&dt(Ve)}},(ot||ct)&&{endAdornment:x.jsxs(QG,{className:jt.endAdornment,ownerState:Zt,children:[ot?x.jsx(ZG,C({},Pt(),{"aria-label":y,title:y,ownerState:Zt},hr,{className:te(jt.clearIndicator,hr==null?void 0:hr.className),children:v})):null,ct?x.jsx(JG,C({},at(),{disabled:O,"aria-label":me?S:ce,title:me?S:ce,ownerState:Zt},de,{className:te(jt.popupIndicator,de==null?void 0:de.className),children:Le})):null]})}),inputProps:C({className:jt.input,disabled:O,readOnly:xe},ht())})})),oe?Ye:null]})}),lK=aK,cK=Ut(x.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 rA(e){return Pe("MuiAvatar",e)}const uK=_e("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]),oA=uK,dK=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],fK=Go(),pK=e=>{const{classes:t,variant:n,colorDefault:r}=e;return Re({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},rA,t)},hK=X("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(({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:C({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:C({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]})),gK=X("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),mK=X(cK,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function vK({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[o,i]=R.useState(!1);return R.useEffect(()=>{if(!n&&!r)return;i(!1);let s=!0;const a=new Image;return a.onload=()=>{s&&i("loaded")},a.onerror=()=>{s&&i("error")},a.crossOrigin=e,a.referrerPolicy=t,a.src=n,r&&(a.srcset=r),()=>{s=!1}},[e,t,n,r]),o}const yK=R.forwardRef(function(t,n){const r=fK({props:t,name:"MuiAvatar"}),{alt:o,children:i,className:s,component:a="div",slots:l={},slotProps:c={},imgProps:u,sizes:f,src:p,srcSet:h,variant:v="circular"}=r,m=ne(r,dK);let w=null;const y=vK(C({},u,{src:p,srcSet:h})),S=p||h,_=S&&y!=="error",$=C({},r,{colorDefault:!_,component:a,variant:v}),T=pK($),[P,O]=Hh("img",{className:T.img,elementType:gK,externalForwardedProps:{slots:l,slotProps:{img:C({},u,c.img)}},additionalProps:{alt:o,src:p,srcSet:h,sizes:f},ownerState:$});return _?w=x.jsx(P,C({},O)):i||i===0?w=i:S&&o?w=o[0]:w=x.jsx(mK,{ownerState:$,className:T.fallback}),x.jsx(hK,C({as:a,ownerState:$,className:te(T.root,s),ref:n},m,{children:w}))}),rn=yK;function iA(e){return Pe("MuiAvatarGroup",e)}const bK=_e("MuiAvatarGroup",["root","avatar"]),sA=bK,xK=["children","className","component","componentsProps","max","renderSurplus","slotProps","spacing","total","variant"],NP={small:-16,medium:null},CK=e=>{const{classes:t}=e;return Re({root:["root"],avatar:["avatar"]},iA,t)},SK=X("div",{name:"MuiAvatarGroup",slot:"Root",overridesResolver:(e,t)=>C({[`& .${sA.avatar}`]:t.avatar},t.root)})(({theme:e,ownerState:t})=>{const n=t.spacing&&NP[t.spacing]!==void 0?NP[t.spacing]:-t.spacing;return{[`& .${oA.root}`]:{border:`2px solid ${(e.vars||e).palette.background.default}`,boxSizing:"content-box",marginLeft:n??-8,"&:last-child":{marginLeft:0}},display:"flex",flexDirection:"row-reverse"}}),wK=R.forwardRef(function(t,n){var r;const o=Ee({props:t,name:"MuiAvatarGroup"}),{children:i,className:s,component:a="div",componentsProps:l={},max:c=5,renderSurplus:u,slotProps:f={},spacing:p="medium",total:h,variant:v="circular"}=o,m=ne(o,xK);let w=c<2?2:c;const y=C({},o,{max:c,spacing:p,component:a,variant:v}),S=CK(y),_=R.Children.toArray(i).filter(E=>R.isValidElement(E)),$=h||_.length;$===w&&(w+=1),w=Math.min($+1,w);const T=Math.min(_.length,w-1),P=Math.max($-w,$-T,0),O=u?u(P):`+${P}`,A=(r=f.additionalAvatar)!=null?r:l.additionalAvatar;return x.jsxs(SK,C({as:a,ownerState:y,className:te(S.root,s),ref:n},m,{children:[P?x.jsx(rn,C({variant:v},A,{className:te(S.avatar,A==null?void 0:A.className),children:O})):null,_.slice(0,T).reverse().map(E=>R.cloneElement(E,{className:te(E.props.className,S.avatar),variant:E.props.variant||v}))]}))}),PK=wK,kK=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],_K={entering:{opacity:1},entered:{opacity:1}},RK=R.forwardRef(function(t,n){const r=tr(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:a,easing:l,in:c,onEnter:u,onEntered:f,onEntering:p,onExit:h,onExited:v,onExiting:m,style:w,timeout:y=o,TransitionComponent:S=co}=t,_=ne(t,kK),$=R.useRef(null),T=Rt($,a.ref,n),P=U=>I=>{if(U){const D=$.current;I===void 0?U(D):U(D,I)}},O=P(p),A=P((U,I)=>{gm(U);const D=Uo({style:w,timeout:y,easing:l},{mode:"enter"});U.style.webkitTransition=r.transitions.create("opacity",D),U.style.transition=r.transitions.create("opacity",D),u&&u(U,I)}),E=P(f),j=P(m),B=P(U=>{const I=Uo({style:w,timeout:y,easing:l},{mode:"exit"});U.style.webkitTransition=r.transitions.create("opacity",I),U.style.transition=r.transitions.create("opacity",I),h&&h(U)}),V=P(v),H=U=>{i&&i($.current,U)};return x.jsx(S,C({appear:s,in:c,nodeRef:$,onEnter:A,onEntered:E,onEntering:O,onExit:B,onExited:V,onExiting:j,addEndListener:H,timeout:y},_,{children:(U,I)=>R.cloneElement(a,C({style:C({opacity:0,visibility:U==="exited"&&!c?"hidden":void 0},_K[U],w,a.props.style),ref:T},I))}))}),d1=RK;function aA(e){return Pe("MuiBackdrop",e)}const TK=_e("MuiBackdrop",["root","invisible"]),$K=TK,OK=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],MK=e=>{const{classes:t,invisible:n}=e;return Re({root:["root",n&&"invisible"]},aA,t)},AK=X("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>C({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"},e.invisible&&{backgroundColor:"transparent"})),IK=R.forwardRef(function(t,n){var r,o,i;const s=Ee({props:t,name:"MuiBackdrop"}),{children:a,className:l,component:c="div",components:u={},componentsProps:f={},invisible:p=!1,open:h,slotProps:v={},slots:m={},TransitionComponent:w=d1,transitionDuration:y}=s,S=ne(s,OK),_=C({},s,{component:c,invisible:p}),$=MK(_),T=(r=v.root)!=null?r:f.root;return x.jsx(w,C({in:h,timeout:y},S,{children:x.jsx(AK,C({"aria-hidden":!0},T,{as:(o=(i=m.root)!=null?i:u.Root)!=null?o:c,className:te($.root,l,T==null?void 0:T.className),ownerState:C({},_,T==null?void 0:T.ownerState),classes:$,ref:n,children:a}))}))}),f1=IK;function lA(e){return Pe("MuiBadge",e)}const EK=_e("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"]),wi=EK,LK=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],t0=10,n0=4,jK=Go(),BK=e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:o,variant:i,classes:s={}}=e,a={root:["root"],badge:["badge",i,r&&"invisible",`anchorOrigin${Q(n.vertical)}${Q(n.horizontal)}`,`anchorOrigin${Q(n.vertical)}${Q(n.horizontal)}${Q(o)}`,`overlap${Q(o)}`,t!=="default"&&`color${Q(t)}`]};return Re(a,lA,s)},DK=X("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),NK=X("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${Q(n.anchorOrigin.vertical)}${Q(n.anchorOrigin.horizontal)}${Q(n.overlap)}`],n.color!=="default"&&t[`color${Q(n.color)}`],n.invisible&&t.invisible]}})(({theme:e})=>{var t;return{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:t0*2,lineHeight:1,padding:"0 6px",height:t0*2,borderRadius:t0,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen}),variants:[...Object.keys(((t=e.vars)!=null?t:e).palette).filter(n=>{var r,o;return((r=e.vars)!=null?r:e).palette[n].main&&((o=e.vars)!=null?o:e).palette[n].contrastText}).map(n=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText}})),{props:{variant:"dot"},style:{borderRadius:n0,height:n0*2,minWidth:n0*2,padding:0}},{props:({ownerState:n})=>n.anchorOrigin.vertical==="top"&&n.anchorOrigin.horizontal==="right"&&n.overlap==="rectangular",style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${wi.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:n})=>n.anchorOrigin.vertical==="bottom"&&n.anchorOrigin.horizontal==="right"&&n.overlap==="rectangular",style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${wi.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:n})=>n.anchorOrigin.vertical==="top"&&n.anchorOrigin.horizontal==="left"&&n.overlap==="rectangular",style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${wi.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:n})=>n.anchorOrigin.vertical==="bottom"&&n.anchorOrigin.horizontal==="left"&&n.overlap==="rectangular",style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${wi.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:n})=>n.anchorOrigin.vertical==="top"&&n.anchorOrigin.horizontal==="right"&&n.overlap==="circular",style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${wi.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:n})=>n.anchorOrigin.vertical==="bottom"&&n.anchorOrigin.horizontal==="right"&&n.overlap==="circular",style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${wi.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:n})=>n.anchorOrigin.vertical==="top"&&n.anchorOrigin.horizontal==="left"&&n.overlap==="circular",style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${wi.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:n})=>n.anchorOrigin.vertical==="bottom"&&n.anchorOrigin.horizontal==="left"&&n.overlap==="circular",style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${wi.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})}}]}}),FK=R.forwardRef(function(t,n){var r,o,i,s,a,l;const c=jK({props:t,name:"MuiBadge"}),{anchorOrigin:u={vertical:"top",horizontal:"right"},className:f,component:p,components:h={},componentsProps:v={},children:m,overlap:w="rectangular",color:y="default",invisible:S=!1,max:_=99,badgeContent:$,slots:T,slotProps:P,showZero:O=!1,variant:A="standard"}=c,E=ne(c,LK),{badgeContent:j,invisible:B,max:V,displayValue:H}=xH({max:_,invisible:S,badgeContent:$,showZero:O}),U=Fx({anchorOrigin:u,color:y,overlap:w,variant:A,badgeContent:$}),I=B||j==null&&A!=="dot",{color:D=y,overlap:G=w,anchorOrigin:N=u,variant:K=A}=I?U:c,Z=K!=="dot"?H:void 0,ve=C({},c,{badgeContent:j,invisible:I,max:V,displayValue:Z,showZero:O,anchorOrigin:N,color:D,overlap:G,variant:K}),Ce=BK(ve),se=(r=(o=T==null?void 0:T.root)!=null?o:h.Root)!=null?r:DK,ae=(i=(s=T==null?void 0:T.badge)!=null?s:h.Badge)!=null?i:NK,ye=(a=P==null?void 0:P.root)!=null?a:v.root,ue=(l=P==null?void 0:P.badge)!=null?l:v.badge,Be=an({elementType:se,externalSlotProps:ye,externalForwardedProps:E,additionalProps:{ref:n,as:p},ownerState:ve,className:te(ye==null?void 0:ye.className,Ce.root,f)}),ce=an({elementType:ae,externalSlotProps:ue,ownerState:ve,className:te(Ce.badge,ue==null?void 0:ue.className)});return x.jsxs(se,C({},Be,{children:[m,x.jsx(ae,C({},ce,{children:Z}))]}))}),zK=FK;function cA(e){return Pe("MuiBottomNavigation",e)}const VK=_e("MuiBottomNavigation",["root"]),WK=VK,HK=["children","className","component","onChange","showLabels","value"],UK=e=>{const{classes:t}=e;return Re({root:["root"]},cA,t)},GK=X("div",{name:"MuiBottomNavigation",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"flex",justifyContent:"center",height:56,backgroundColor:(e.vars||e).palette.background.paper})),KK=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiBottomNavigation"}),{children:o,className:i,component:s="div",onChange:a,showLabels:l=!1,value:c}=r,u=ne(r,HK),f=C({},r,{component:s,showLabels:l}),p=UK(f);return x.jsx(GK,C({as:s,className:te(p.root,i),ref:n,ownerState:f},u,{children:R.Children.map(o,(h,v)=>{if(!R.isValidElement(h))return null;const m=h.props.value===void 0?v:h.props.value;return R.cloneElement(h,{selected:m===c,showLabel:h.props.showLabel!==void 0?h.props.showLabel:l,value:m,onChange:a})})}))}),YK=KK;function uA(e){return Pe("MuiBottomNavigationAction",e)}const XK=_e("MuiBottomNavigationAction",["root","iconOnly","selected","label"]),p1=XK,qK=["className","icon","label","onChange","onClick","selected","showLabel","value"],QK=e=>{const{classes:t,showLabel:n,selected:r}=e;return Re({root:["root",!n&&!r&&"iconOnly",r&&"selected"],label:["label",!n&&!r&&"iconOnly",r&&"selected"]},uA,t)},ZK=X(Mn,{name:"MuiBottomNavigationAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.showLabel&&!n.selected&&t.iconOnly]}})(({theme:e,ownerState:t})=>C({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"},!t.showLabel&&!t.selected&&{paddingTop:14},!t.showLabel&&!t.selected&&!t.label&&{paddingTop:0},{[`&.${p1.selected}`]:{color:(e.vars||e).palette.primary.main}})),JK=X("span",{name:"MuiBottomNavigationAction",slot:"Label",overridesResolver:(e,t)=>t.label})(({theme:e,ownerState:t})=>C({fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(12),opacity:1,transition:"font-size 0.2s, opacity 0.2s",transitionDelay:"0.1s"},!t.showLabel&&!t.selected&&{opacity:0,transitionDelay:"0s"},{[`&.${p1.selected}`]:{fontSize:e.typography.pxToRem(14)}})),eY=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiBottomNavigationAction"}),{className:o,icon:i,label:s,onChange:a,onClick:l,value:c}=r,u=ne(r,qK),f=r,p=QK(f),h=v=>{a&&a(v,c),l&&l(v)};return x.jsxs(ZK,C({ref:n,className:te(p.root,o),focusRipple:!0,onClick:h,ownerState:f},u,{children:[i,x.jsx(JK,{className:p.label,ownerState:f,children:s})]}))}),tY=eY,nY=_e("MuiBox",["root"]),dA=nY,rY=As(),oY=o8({themeId:Gi,defaultTheme:rY,defaultClassName:dA.root,generateClassName:Ex.generate}),mt=oY,iY=Ut(x.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"),sY=["slots","slotProps"],aY=X(Mn)(({theme:e})=>C({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":C({},e.palette.mode==="light"?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}),"&:active":C({boxShadow:e.shadows[0]},e.palette.mode==="light"?{backgroundColor:Fh(e.palette.grey[200],.12)}:{backgroundColor:Fh(e.palette.grey[600],.12)})})),lY=X(iY)({width:24,height:16});function cY(e){const{slots:t={},slotProps:n={}}=e,r=ne(e,sY),o=e;return x.jsx("li",{children:x.jsx(aY,C({focusRipple:!0},r,{ownerState:o,children:x.jsx(lY,C({as:t.CollapsedIcon,ownerState:o},n.collapsedIcon))}))})}function fA(e){return Pe("MuiBreadcrumbs",e)}const uY=_e("MuiBreadcrumbs",["root","ol","li","separator"]),pA=uY,dY=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],fY=e=>{const{classes:t}=e;return Re({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},fA,t)},pY=X(Fe,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{[`& .${pA.li}`]:t.li},t.root]})({}),hY=X("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),gY=X("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function mY(e,t,n,r){return e.reduce((o,i,s)=>(s{const A=()=>{w(!0);const E=$.current.querySelector("a[href],button,[tabindex]");E&&E.focus()};return f+u>=O.length?O:[...O.slice(0,f),x.jsx(cY,{"aria-label":c,slots:{CollapsedIcon:a.CollapsedIcon},slotProps:{collapsedIcon:_},onClick:A},"ellipsis"),...O.slice(O.length-u,O.length)]},P=R.Children.toArray(o).filter(O=>R.isValidElement(O)).map((O,A)=>x.jsx("li",{className:S.li,children:O},`child-${A}`));return x.jsx(pY,C({ref:n,component:s,color:"text.secondary",className:te(S.root,i),ownerState:y},v,{children:x.jsx(hY,{className:S.ol,ref:$,ownerState:y,children:mY(m||p&&P.length<=p?P:T(P),S.separator,h,y)})}))}),yY=vY;function hA(e){return Pe("MuiButton",e)}const bY=_e("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"]),ou=bY,xY=R.createContext({}),h1=xY,CY=R.createContext(void 0),g1=CY,SY=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],wY=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:s}=e,a={root:["root",i,`${i}${Q(t)}`,`size${Q(o)}`,`${i}Size${Q(o)}`,`color${Q(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Q(o)}`],endIcon:["icon","endIcon",`iconSize${Q(o)}`]},l=Re(a,hA,s);return C({},s,l)},gA=e=>C({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),PY=X(Mn,{shouldForwardProp:e=>Pn(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Q(n.color)}`],t[`size${Q(n.size)}`],t[`${n.variant}Size${Q(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],i=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return C({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":C({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:st(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:st(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:st(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":C({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${ou.focusVisible}`]:C({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${ou.disabled}`]:C({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${st(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(r=e.palette).getContrastText)==null?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${ou.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${ou.disabled}`]:{boxShadow:"none"}}),kY=X("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Q(n.size)}`]]}})(({ownerState:e})=>C({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},gA(e))),_Y=X("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Q(n.size)}`]]}})(({ownerState:e})=>C({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},gA(e))),RY=R.forwardRef(function(t,n){const r=R.useContext(h1),o=R.useContext(g1),i=fm(r,t),s=Ee({props:i,name:"MuiButton"}),{children:a,color:l="primary",component:c="button",className:u,disabled:f=!1,disableElevation:p=!1,disableFocusRipple:h=!1,endIcon:v,focusVisibleClassName:m,fullWidth:w=!1,size:y="medium",startIcon:S,type:_,variant:$="text"}=s,T=ne(s,SY),P=C({},s,{color:l,component:c,disabled:f,disableElevation:p,disableFocusRipple:h,fullWidth:w,size:y,type:_,variant:$}),O=wY(P),A=S&&x.jsx(kY,{className:O.startIcon,ownerState:P,children:S}),E=v&&x.jsx(_Y,{className:O.endIcon,ownerState:P,children:v}),j=o||"";return x.jsxs(PY,C({ownerState:P,className:te(r.className,O.root,u,j),component:c,disabled:f,focusRipple:!h,focusVisibleClassName:te(O.focusVisible,m),ref:n,type:_},T,{classes:O,children:[A,a,E]}))}),Qp=RY;function mA(e){return Pe("MuiButtonGroup",e)}const TY=_e("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","firstButton","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary","lastButton","middleButton"]),zn=TY,$Y=["children","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"],OY=(e,t)=>{const{ownerState:n}=e;return[{[`& .${zn.grouped}`]:t.grouped},{[`& .${zn.grouped}`]:t[`grouped${Q(n.orientation)}`]},{[`& .${zn.grouped}`]:t[`grouped${Q(n.variant)}`]},{[`& .${zn.grouped}`]:t[`grouped${Q(n.variant)}${Q(n.orientation)}`]},{[`& .${zn.grouped}`]:t[`grouped${Q(n.variant)}${Q(n.color)}`]},{[`& .${zn.firstButton}`]:t.firstButton},{[`& .${zn.lastButton}`]:t.lastButton},{[`& .${zn.middleButton}`]:t.middleButton},t.root,t[n.variant],n.disableElevation===!0&&t.disableElevation,n.fullWidth&&t.fullWidth,n.orientation==="vertical"&&t.vertical]},MY=e=>{const{classes:t,color:n,disabled:r,disableElevation:o,fullWidth:i,orientation:s,variant:a}=e,l={root:["root",a,s==="vertical"&&"vertical",i&&"fullWidth",o&&"disableElevation"],grouped:["grouped",`grouped${Q(s)}`,`grouped${Q(a)}`,`grouped${Q(a)}${Q(s)}`,`grouped${Q(a)}${Q(n)}`,r&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return Re(l,mA,t)},AY=X("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:OY})(({theme:e,ownerState:t})=>C({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[2]},t.disableElevation&&{boxShadow:"none"},t.fullWidth&&{width:"100%"},t.orientation==="vertical"&&{flexDirection:"column"},{[`& .${zn.grouped}`]:C({minWidth:40,"&:hover":C({},t.variant==="contained"&&{boxShadow:"none"})},t.variant==="contained"&&{boxShadow:"none"}),[`& .${zn.firstButton},& .${zn.middleButton}`]:C({},t.orientation==="horizontal"&&{borderTopRightRadius:0,borderBottomRightRadius:0},t.orientation==="vertical"&&{borderBottomRightRadius:0,borderBottomLeftRadius:0},t.variant==="text"&&t.orientation==="horizontal"&&{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)"}`,[`&.${zn.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}},t.variant==="text"&&t.orientation==="vertical"&&{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)"}`,[`&.${zn.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}},t.variant==="text"&&t.color!=="inherit"&&{borderColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:st(e.palette[t.color].main,.5)},t.variant==="outlined"&&t.orientation==="horizontal"&&{borderRightColor:"transparent"},t.variant==="outlined"&&t.orientation==="vertical"&&{borderBottomColor:"transparent"},t.variant==="contained"&&t.orientation==="horizontal"&&{borderRight:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${zn.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}},t.variant==="contained"&&t.orientation==="vertical"&&{borderBottom:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${zn.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}},t.variant==="contained"&&t.color!=="inherit"&&{borderColor:(e.vars||e).palette[t.color].dark},{"&:hover":C({},t.variant==="outlined"&&t.orientation==="horizontal"&&{borderRightColor:"currentColor"},t.variant==="outlined"&&t.orientation==="vertical"&&{borderBottomColor:"currentColor"})}),[`& .${zn.lastButton},& .${zn.middleButton}`]:C({},t.orientation==="horizontal"&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},t.orientation==="vertical"&&{borderTopRightRadius:0,borderTopLeftRadius:0},t.variant==="outlined"&&t.orientation==="horizontal"&&{marginLeft:-1},t.variant==="outlined"&&t.orientation==="vertical"&&{marginTop:-1})})),IY=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiButtonGroup"}),{children:o,className:i,color:s="primary",component:a="div",disabled:l=!1,disableElevation:c=!1,disableFocusRipple:u=!1,disableRipple:f=!1,fullWidth:p=!1,orientation:h="horizontal",size:v="medium",variant:m="outlined"}=r,w=ne(r,$Y),y=C({},r,{color:s,component:a,disabled:l,disableElevation:c,disableFocusRipple:u,disableRipple:f,fullWidth:p,orientation:h,size:v,variant:m}),S=MY(y),_=R.useMemo(()=>({className:S.grouped,color:s,disabled:l,disableElevation:c,disableFocusRipple:u,disableRipple:f,fullWidth:p,size:v,variant:m}),[s,l,c,u,f,p,v,m,S.grouped]),$=IO(o),T=$.length,P=O=>{const A=O===0,E=O===T-1;return A&&E?"":A?S.firstButton:E?S.lastButton:S.middleButton};return x.jsx(AY,C({as:a,role:"group",className:te(S.root,i),ref:n,ownerState:y},w,{children:x.jsx(h1.Provider,{value:_,children:$.map((O,A)=>x.jsx(g1.Provider,{value:P(A),children:O},A))})}))}),EY=IY;function vA(e){return Pe("MuiCard",e)}const LY=_e("MuiCard",["root"]),jY=LY,BY=["className","raised"],DY=e=>{const{classes:t}=e;return Re({root:["root"]},vA,t)},NY=X(uo,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),FY=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiCard"}),{className:o,raised:i=!1}=r,s=ne(r,BY),a=C({},r,{raised:i}),l=DY(a);return x.jsx(NY,C({className:te(l.root,o),elevation:i?8:void 0,ref:n,ownerState:a},s))}),iu=FY;function yA(e){return Pe("MuiCardActionArea",e)}const zY=_e("MuiCardActionArea",["root","focusVisible","focusHighlight"]),Zp=zY,VY=["children","className","focusVisibleClassName"],WY=e=>{const{classes:t}=e;return Re({root:["root"],focusHighlight:["focusHighlight"]},yA,t)},HY=X(Mn,{name:"MuiCardActionArea",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${Zp.focusHighlight}`]:{opacity:(e.vars||e).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${Zp.focusVisible} .${Zp.focusHighlight}`]:{opacity:(e.vars||e).palette.action.focusOpacity}})),UY=X("span",{name:"MuiCardActionArea",slot:"FocusHighlight",overridesResolver:(e,t)=>t.focusHighlight})(({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})})),GY=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiCardActionArea"}),{children:o,className:i,focusVisibleClassName:s}=r,a=ne(r,VY),l=r,c=WY(l);return x.jsxs(HY,C({className:te(c.root,i),focusVisibleClassName:te(s,c.focusVisible),ref:n,ownerState:l},a,{children:[o,x.jsx(UY,{className:c.focusHighlight,ownerState:l})]}))}),KY=GY;function bA(e){return Pe("MuiCardActions",e)}const YY=_e("MuiCardActions",["root","spacing"]),XY=YY,qY=["disableSpacing","className"],QY=e=>{const{classes:t,disableSpacing:n}=e;return Re({root:["root",!n&&"spacing"]},bA,t)},ZY=X("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})(({ownerState:e})=>C({display:"flex",alignItems:"center",padding:8},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),JY=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiCardActions"}),{disableSpacing:o=!1,className:i}=r,s=ne(r,qY),a=C({},r,{disableSpacing:o}),l=QY(a);return x.jsx(ZY,C({className:te(l.root,i),ownerState:a,ref:n},s))}),eX=JY;function xA(e){return Pe("MuiCardContent",e)}const tX=_e("MuiCardContent",["root"]),nX=tX,rX=["className","component"],oX=e=>{const{classes:t}=e;return Re({root:["root"]},xA,t)},iX=X("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),sX=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiCardContent"}),{className:o,component:i="div"}=r,s=ne(r,rX),a=C({},r,{component:i}),l=oX(a);return x.jsx(iX,C({as:i,className:te(l.root,o),ownerState:a,ref:n},s))}),su=sX;function CA(e){return Pe("MuiCardHeader",e)}const aX=_e("MuiCardHeader",["root","avatar","action","content","title","subheader"]),Ey=aX,lX=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],cX=e=>{const{classes:t}=e;return Re({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},CA,t)},uX=X("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,t)=>C({[`& .${Ey.title}`]:t.title,[`& .${Ey.subheader}`]:t.subheader},t.root)})({display:"flex",alignItems:"center",padding:16}),dX=X("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(e,t)=>t.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),fX=X("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(e,t)=>t.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),pX=X("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(e,t)=>t.content})({flex:"1 1 auto"}),hX=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiCardHeader"}),{action:o,avatar:i,className:s,component:a="div",disableTypography:l=!1,subheader:c,subheaderTypographyProps:u,title:f,titleTypographyProps:p}=r,h=ne(r,lX),v=C({},r,{component:a,disableTypography:l}),m=cX(v);let w=f;w!=null&&w.type!==Fe&&!l&&(w=x.jsx(Fe,C({variant:i?"body2":"h5",className:m.title,component:"span",display:"block"},p,{children:w})));let y=c;return y!=null&&y.type!==Fe&&!l&&(y=x.jsx(Fe,C({variant:i?"body2":"body1",className:m.subheader,color:"text.secondary",component:"span",display:"block"},u,{children:y}))),x.jsxs(uX,C({className:te(m.root,s),as:a,ref:n,ownerState:v},h,{children:[i&&x.jsx(dX,{className:m.avatar,ownerState:v,children:i}),x.jsxs(pX,{className:m.content,ownerState:v,children:[w,y]}),o&&x.jsx(fX,{className:m.action,ownerState:v,children:o})]}))}),gX=hX;function SA(e){return Pe("MuiCardMedia",e)}const mX=_e("MuiCardMedia",["root","media","img"]),vX=mX,yX=["children","className","component","image","src","style"],bX=e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e;return Re({root:["root",n&&"media",r&&"img"]},SA,t)},xX=X("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{isMediaComponent:r,isImageComponent:o}=n;return[t.root,r&&t.media,o&&t.img]}})(({ownerState:e})=>C({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},e.isMediaComponent&&{width:"100%"},e.isImageComponent&&{objectFit:"cover"})),CX=["video","audio","picture","iframe","img"],SX=["picture","img"],wX=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiCardMedia"}),{children:o,className:i,component:s="div",image:a,src:l,style:c}=r,u=ne(r,yX),f=CX.indexOf(s)!==-1,p=!f&&a?C({backgroundImage:`url("${a}")`},c):c,h=C({},r,{component:s,isMediaComponent:f,isImageComponent:SX.indexOf(s)!==-1}),v=bX(h);return x.jsx(xX,C({className:te(v.root,i),as:s,role:!f&&a?"img":void 0,ref:n,style:p,ownerState:h,src:f?a||l:void 0},u,{children:o}))}),PX=wX;function kX(e){return Pe("PrivateSwitchBase",e)}_e("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const _X=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],RX=e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,i={root:["root",n&&"checked",r&&"disabled",o&&`edge${Q(o)}`],input:["input"]};return Re(i,kX,t)},TX=X(Mn)(({ownerState:e})=>C({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),$X=X("input",{shouldForwardProp:Pn})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),m1=R.forwardRef(function(t,n){const{autoFocus:r,checked:o,checkedIcon:i,className:s,defaultChecked:a,disabled:l,disableFocusRipple:c=!1,edge:u=!1,icon:f,id:p,inputProps:h,inputRef:v,name:m,onBlur:w,onChange:y,onFocus:S,readOnly:_,required:$=!1,tabIndex:T,type:P,value:O}=t,A=ne(t,_X),[E,j]=Cr({controlled:o,default:!!a,name:"SwitchBase",state:"checked"}),B=Io(),V=K=>{S&&S(K),B&&B.onFocus&&B.onFocus(K)},H=K=>{w&&w(K),B&&B.onBlur&&B.onBlur(K)},U=K=>{if(K.nativeEvent.defaultPrevented)return;const Z=K.target.checked;j(Z),y&&y(K,Z)};let I=l;B&&typeof I>"u"&&(I=B.disabled);const D=P==="checkbox"||P==="radio",G=C({},t,{checked:E,disabled:I,disableFocusRipple:c,edge:u}),N=RX(G);return x.jsxs(TX,C({component:"span",className:te(N.root,s),centerRipple:!0,focusRipple:!c,disabled:I,tabIndex:null,role:void 0,onFocus:V,onBlur:H,ownerState:G,ref:n},A,{children:[x.jsx($X,C({autoFocus:r,checked:o,defaultChecked:a,className:N.input,disabled:I,id:D?p:void 0,name:m,onChange:U,readOnly:_,ref:v,required:$,ownerState:G,tabIndex:T,type:P},P==="checkbox"&&O===void 0?{}:{value:O},h)),E?i:f]}))}),OX=Ut(x.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"),MX=Ut(x.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"),AX=Ut(x.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 wA(e){return Pe("MuiCheckbox",e)}const IX=_e("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),Jp=IX,EX=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],LX=e=>{const{classes:t,indeterminate:n,color:r,size:o}=e,i={root:["root",n&&"indeterminate",`color${Q(r)}`,`size${Q(o)}`]},s=Re(i,wA,t);return C({},t,s)},jX=X(m1,{shouldForwardProp:e=>Pn(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${Q(n.size)}`],n.color!=="default"&&t[`color${Q(n.color)}`]]}})(({theme:e,ownerState:t})=>C({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${t.color==="default"?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:st(t.color==="default"?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${Jp.checked}, &.${Jp.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Jp.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),BX=x.jsx(MX,{}),DX=x.jsx(OX,{}),NX=x.jsx(AX,{}),FX=R.forwardRef(function(t,n){var r,o;const i=Ee({props:t,name:"MuiCheckbox"}),{checkedIcon:s=BX,color:a="primary",icon:l=DX,indeterminate:c=!1,indeterminateIcon:u=NX,inputProps:f,size:p="medium",className:h}=i,v=ne(i,EX),m=c?u:l,w=c?u:s,y=C({},i,{color:a,indeterminate:c,size:p}),S=LX(y);return x.jsx(jX,C({type:"checkbox",inputProps:C({"data-indeterminate":c},f),icon:R.cloneElement(m,{fontSize:(r=m.props.fontSize)!=null?r:p}),checkedIcon:R.cloneElement(w,{fontSize:(o=w.props.fontSize)!=null?o:p}),ownerState:y,ref:n,className:te(S.root,h)},v,{classes:S}))}),zX=FX;function PA(e){return Pe("MuiCircularProgress",e)}const VX=_e("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]),WX=VX,HX=["className","color","disableShrink","size","style","thickness","value","variant"];let Pm=e=>e,FP,zP,VP,WP;const ts=44,UX=Oo(FP||(FP=Pm` + 0% { + transform: rotate(0deg); + } + + 100% { + transform: rotate(360deg); + } +`)),GX=Oo(zP||(zP=Pm` + 0% { + stroke-dasharray: 1px, 200px; + stroke-dashoffset: 0; + } + + 50% { + stroke-dasharray: 100px, 200px; + stroke-dashoffset: -15px; + } + + 100% { + stroke-dasharray: 100px, 200px; + stroke-dashoffset: -125px; + } +`)),KX=e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,i={root:["root",n,`color${Q(r)}`],svg:["svg"],circle:["circle",`circle${Q(n)}`,o&&"circleDisableShrink"]};return Re(i,PA,t)},YX=X("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Q(n.color)}`]]}})(({ownerState:e,theme:t})=>C({display:"inline-block"},e.variant==="determinate"&&{transition:t.transitions.create("transform")},e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>e.variant==="indeterminate"&&ui(VP||(VP=Pm` + animation: ${0} 1.4s linear infinite; + `),UX)),XX=X("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),qX=X("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${Q(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>C({stroke:"currentColor"},e.variant==="determinate"&&{transition:t.transitions.create("stroke-dashoffset")},e.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink&&ui(WP||(WP=Pm` + animation: ${0} 1.4s ease-in-out infinite; + `),GX)),QX=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiCircularProgress"}),{className:o,color:i="primary",disableShrink:s=!1,size:a=40,style:l,thickness:c=3.6,value:u=0,variant:f="indeterminate"}=r,p=ne(r,HX),h=C({},r,{color:i,disableShrink:s,size:a,thickness:c,value:u,variant:f}),v=KX(h),m={},w={},y={};if(f==="determinate"){const S=2*Math.PI*((ts-c)/2);m.strokeDasharray=S.toFixed(3),y["aria-valuenow"]=Math.round(u),m.strokeDashoffset=`${((100-u)/100*S).toFixed(3)}px`,w.transform="rotate(-90deg)"}return x.jsx(YX,C({className:te(v.root,o),style:C({width:a,height:a},w,l),ownerState:h,ref:n,role:"progressbar"},y,p,{children:x.jsx(XX,{className:v.svg,ownerState:h,viewBox:`${ts/2} ${ts/2} ${ts} ${ts}`,children:x.jsx(qX,{className:v.circle,style:m,ownerState:h,cx:ts,cy:ts,r:(ts-c)/2,fill:"none",strokeWidth:c})})}))}),ZX=QX,JX=lV({createStyledComponent:X("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${Q(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>Ee({props:e,name:"MuiContainer"})}),Xd=JX;function eq(e){return Pe("MuiContainer",e)}const tq=_e("MuiContainer",["root","disableGutters","fixed","maxWidthXs","maxWidthSm","maxWidthMd","maxWidthLg","maxWidthXl"]),nq=tq,kA=(e,t)=>C({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),_A=e=>C({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}}),rq=(e,t=!1)=>{var n;const r={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([s,a])=>{var l;r[e.getColorSchemeSelector(s).replace(/\s*&/,"")]={colorScheme:(l=a.palette)==null?void 0:l.mode}});let o=C({html:kA(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:C({margin:0},_A(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},r);const i=(n=e.components)==null||(n=n.MuiCssBaseline)==null?void 0:n.styleOverrides;return i&&(o=[o,i]),o};function oq(e){const t=Ee({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return x.jsxs(R.Fragment,{children:[x.jsx(c1,{styles:o=>rq(o,r)}),n]})}const iq={track:"#2b2b2b",thumb:"#6b6b6b",active:"#959595"};function sq(e=iq){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 RA(e){return Pe("MuiModal",e)}const aq=_e("MuiModal",["root","hidden","backdrop"]),lq=aq,cq=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],uq=e=>{const{open:t,exited:n,classes:r}=e;return Re({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},RA,r)},dq=X("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>C({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),fq=X(f1,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),pq=R.forwardRef(function(t,n){var r,o,i,s,a,l;const c=Ee({name:"MuiModal",props:t}),{BackdropComponent:u=fq,BackdropProps:f,className:p,closeAfterTransition:h=!1,children:v,container:m,component:w,components:y={},componentsProps:S={},disableAutoFocus:_=!1,disableEnforceFocus:$=!1,disableEscapeKeyDown:T=!1,disablePortal:P=!1,disableRestoreFocus:O=!1,disableScrollLock:A=!1,hideBackdrop:E=!1,keepMounted:j=!1,onBackdropClick:B,open:V,slotProps:H,slots:U}=c,I=ne(c,cq),D=C({},c,{closeAfterTransition:h,disableAutoFocus:_,disableEnforceFocus:$,disableEscapeKeyDown:T,disablePortal:P,disableRestoreFocus:O,disableScrollLock:A,hideBackdrop:E,keepMounted:j}),{getRootProps:G,getBackdropProps:N,getTransitionProps:K,portalRef:Z,isTopModal:ve,exited:Ce,hasTransition:se}=NH(C({},D,{rootRef:n})),ae=C({},D,{exited:Ce}),ye=uq(ae),ue={};if(v.props.tabIndex===void 0&&(ue.tabIndex="-1"),se){const{onEnter:$e,onExited:Ne}=K();ue.onEnter=$e,ue.onExited=Ne}const Be=(r=(o=U==null?void 0:U.root)!=null?o:y.Root)!=null?r:dq,ce=(i=(s=U==null?void 0:U.backdrop)!=null?s:y.Backdrop)!=null?i:u,Ae=(a=H==null?void 0:H.root)!=null?a:S.root,Ke=(l=H==null?void 0:H.backdrop)!=null?l:S.backdrop,Le=an({elementType:Be,externalSlotProps:Ae,externalForwardedProps:I,getSlotProps:G,additionalProps:{ref:n,as:w},ownerState:ae,className:te(p,Ae==null?void 0:Ae.className,ye==null?void 0:ye.root,!ae.open&&ae.exited&&(ye==null?void 0:ye.hidden))}),xe=an({elementType:ce,externalSlotProps:Ke,additionalProps:f,getSlotProps:$e=>N(C({},$e,{onClick:Ne=>{B&&B(Ne),$e!=null&&$e.onClick&&$e.onClick(Ne)}})),className:te(Ke==null?void 0:Ke.className,f==null?void 0:f.className,ye==null?void 0:ye.backdrop),ownerState:ae});return!j&&!V&&(!se||Ce)?null:x.jsx(e1,{ref:Z,container:m,disablePortal:P,children:x.jsxs(Be,C({},Le,{children:[!E&&u?x.jsx(ce,C({},xe)):null,x.jsx(TM,{disableEnforceFocus:$,disableAutoFocus:_,disableRestoreFocus:O,isEnabled:ve,open:V,children:R.cloneElement(v,ue)})]}))})}),km=pq;function TA(e){return Pe("MuiDialog",e)}const hq=_e("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),eh=hq,$A=R.createContext({}),gq=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],mq=X(f1,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),vq=e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:o,fullScreen:i}=e,s={root:["root"],container:["container",`scroll${Q(n)}`],paper:["paper",`paperScroll${Q(n)}`,`paperWidth${Q(String(r))}`,o&&"paperFullWidth",i&&"paperFullScreen"]};return Re(s,TA,t)},yq=X(km,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),bq=X("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${Q(n.scroll)}`]]}})(({ownerState:e})=>C({height:"100%","@media print":{height:"auto"},outline:0},e.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},e.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),xq=X(uo,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${Q(n.scroll)}`],t[`paperWidth${Q(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(({theme:e,ownerState:t})=>C({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},t.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},t.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},t.maxWidth==="xs"&&{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${eh.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&t.maxWidth!=="xs"&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${eh.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${eh.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),Cq=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiDialog"}),o=tr(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{"aria-describedby":s,"aria-labelledby":a,BackdropComponent:l,BackdropProps:c,children:u,className:f,disableEscapeKeyDown:p=!1,fullScreen:h=!1,fullWidth:v=!1,maxWidth:m="sm",onBackdropClick:w,onClick:y,onClose:S,open:_,PaperComponent:$=uo,PaperProps:T={},scroll:P="paper",TransitionComponent:O=d1,transitionDuration:A=i,TransitionProps:E}=r,j=ne(r,gq),B=C({},r,{disableEscapeKeyDown:p,fullScreen:h,fullWidth:v,maxWidth:m,scroll:P}),V=vq(B),H=R.useRef(),U=N=>{H.current=N.target===N.currentTarget},I=N=>{y&&y(N),H.current&&(H.current=null,w&&w(N),S&&S(N,"backdropClick"))},D=_o(a),G=R.useMemo(()=>({titleId:D}),[D]);return x.jsx(yq,C({className:te(V.root,f),closeAfterTransition:!0,components:{Backdrop:mq},componentsProps:{backdrop:C({transitionDuration:A,as:l},c)},disableEscapeKeyDown:p,onClose:S,open:_,ref:n,onClick:I,ownerState:B},j,{children:x.jsx(O,C({appear:!0,in:_,timeout:A,role:"presentation"},E,{children:x.jsx(bq,{className:te(V.container),onMouseDown:U,ownerState:B,children:x.jsx(xq,C({as:$,elevation:24,role:"dialog","aria-describedby":s,"aria-labelledby":D},T,{className:te(V.paper,T.className),ownerState:B,children:x.jsx($A.Provider,{value:G,children:u})}))})}))}))}),Sq=Cq;function OA(e){return Pe("MuiDialogActions",e)}const wq=_e("MuiDialogActions",["root","spacing"]),Pq=wq,kq=["className","disableSpacing"],_q=e=>{const{classes:t,disableSpacing:n}=e;return Re({root:["root",!n&&"spacing"]},OA,t)},Rq=X("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})(({ownerState:e})=>C({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),Tq=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiDialogActions"}),{className:o,disableSpacing:i=!1}=r,s=ne(r,kq),a=C({},r,{disableSpacing:i}),l=_q(a);return x.jsx(Rq,C({className:te(l.root,o),ownerState:a,ref:n},s))}),$q=Tq;function MA(e){return Pe("MuiDialogContent",e)}const Oq=_e("MuiDialogContent",["root","dividers"]),Mq=Oq;function AA(e){return Pe("MuiDialogTitle",e)}const Aq=_e("MuiDialogTitle",["root"]),IA=Aq,Iq=["className","dividers"],Eq=e=>{const{classes:t,dividers:n}=e;return Re({root:["root",n&&"dividers"]},MA,t)},Lq=X("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(({theme:e,ownerState:t})=>C({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},t.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${IA.root} + &`]:{paddingTop:0}})),jq=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiDialogContent"}),{className:o,dividers:i=!1}=r,s=ne(r,Iq),a=C({},r,{dividers:i}),l=Eq(a);return x.jsx(Lq,C({className:te(l.root,o),ownerState:a,ref:n},s))}),Bq=jq;function EA(e){return Pe("MuiDialogContentText",e)}const Dq=_e("MuiDialogContentText",["root"]),Nq=Dq,Fq=["children","className"],zq=e=>{const{classes:t}=e,r=Re({root:["root"]},EA,t);return C({},t,r)},Vq=X(Fe,{shouldForwardProp:e=>Pn(e)||e==="classes",name:"MuiDialogContentText",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Wq=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiDialogContentText"}),{className:o}=r,i=ne(r,Fq),s=zq(i);return x.jsx(Vq,C({component:"p",variant:"body1",color:"text.secondary",ref:n,ownerState:i,className:te(s.root,o)},r,{classes:s}))}),Hq=Wq,Uq=["className","id"],Gq=e=>{const{classes:t}=e;return Re({root:["root"]},AA,t)},Kq=X(Fe,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),Yq=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiDialogTitle"}),{className:o,id:i}=r,s=ne(r,Uq),a=r,l=Gq(a),{titleId:c=i}=R.useContext($A);return x.jsx(Kq,C({component:"h2",className:te(l.root,o),ownerState:a,ref:n,variant:"h6",id:i??c},s))}),Xq=Yq;function LA(e){return Pe("MuiDivider",e)}const qq=_e("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Ly=qq,Qq=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Zq=e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:i,orientation:s,textAlign:a,variant:l}=e;return Re({root:["root",t&&"absolute",l,i&&"light",s==="vertical"&&"vertical",o&&"flexItem",n&&"withChildren",n&&s==="vertical"&&"withChildrenVertical",a==="right"&&s!=="vertical"&&"textAlignRight",a==="left"&&s!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",s==="vertical"&&"wrapperVertical"]},LA,r)},Jq=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]}})(({theme:e,ownerState:t})=>C({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:st(e.palette.divider,.08)},t.variant==="inset"&&{marginLeft:72},t.variant==="middle"&&t.orientation==="horizontal"&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},t.variant==="middle"&&t.orientation==="vertical"&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},t.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:e})=>C({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>C({},t.children&&t.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}}),({theme:e,ownerState:t})=>C({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}}),({ownerState:e})=>C({},e.textAlign==="right"&&e.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},e.textAlign==="left"&&e.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),eQ=X("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>C({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},t.orientation==="vertical"&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),jA=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiDivider"}),{absolute:o=!1,children:i,className:s,component:a=i?"div":"hr",flexItem:l=!1,light:c=!1,orientation:u="horizontal",role:f=a!=="hr"?"separator":void 0,textAlign:p="center",variant:h="fullWidth"}=r,v=ne(r,Qq),m=C({},r,{absolute:o,component:a,flexItem:l,light:c,orientation:u,role:f,textAlign:p,variant:h}),w=Zq(m);return x.jsx(Jq,C({as:a,className:te(w.root,s),role:f,ref:n,ownerState:m},v,{children:i?x.jsx(eQ,{className:w.wrapper,ownerState:m,children:i}):null}))});jA.muiSkipListHighlight=!0;const au=jA,tQ=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function nQ(e,t,n){const r=t.getBoundingClientRect(),o=n&&n.getBoundingClientRect(),i=Jn(t);let s;if(t.fakeTransform)s=t.fakeTransform;else{const c=i.getComputedStyle(t);s=c.getPropertyValue("-webkit-transform")||c.getPropertyValue("transform")}let a=0,l=0;if(s&&s!=="none"&&typeof s=="string"){const c=s.split("(")[1].split(")")[0].split(",");a=parseInt(c[4],10),l=parseInt(c[5],10)}return e==="left"?o?`translateX(${o.right+a-r.left}px)`:`translateX(${i.innerWidth+a-r.left}px)`:e==="right"?o?`translateX(-${r.right-o.left-a}px)`:`translateX(-${r.left+r.width-a}px)`:e==="up"?o?`translateY(${o.bottom+l-r.top}px)`:`translateY(${i.innerHeight+l-r.top}px)`:o?`translateY(-${r.top-o.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}function rQ(e){return typeof e=="function"?e():e}function ap(e,t,n){const r=rQ(n),o=nQ(e,t,r);o&&(t.style.webkitTransform=o,t.style.transform=o)}const oQ=R.forwardRef(function(t,n){const r=tr(),o={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:s,appear:a=!0,children:l,container:c,direction:u="down",easing:f=o,in:p,onEnter:h,onEntered:v,onEntering:m,onExit:w,onExited:y,onExiting:S,style:_,timeout:$=i,TransitionComponent:T=co}=t,P=ne(t,tQ),O=R.useRef(null),A=Rt(l.ref,O,n),E=N=>K=>{N&&(K===void 0?N(O.current):N(O.current,K))},j=E((N,K)=>{ap(u,N,c),gm(N),h&&h(N,K)}),B=E((N,K)=>{const Z=Uo({timeout:$,style:_,easing:f},{mode:"enter"});N.style.webkitTransition=r.transitions.create("-webkit-transform",C({},Z)),N.style.transition=r.transitions.create("transform",C({},Z)),N.style.webkitTransform="none",N.style.transform="none",m&&m(N,K)}),V=E(v),H=E(S),U=E(N=>{const K=Uo({timeout:$,style:_,easing:f},{mode:"exit"});N.style.webkitTransition=r.transitions.create("-webkit-transform",K),N.style.transition=r.transitions.create("transform",K),ap(u,N,c),w&&w(N)}),I=E(N=>{N.style.webkitTransition="",N.style.transition="",y&&y(N)}),D=N=>{s&&s(O.current,N)},G=R.useCallback(()=>{O.current&&ap(u,O.current,c)},[u,c]);return R.useEffect(()=>{if(p||u==="down"||u==="right")return;const N=Na(()=>{O.current&&ap(u,O.current,c)}),K=Jn(O.current);return K.addEventListener("resize",N),()=>{N.clear(),K.removeEventListener("resize",N)}},[u,p,c]),R.useEffect(()=>{p||G()},[p,G]),x.jsx(T,C({nodeRef:O,onEnter:j,onEntered:V,onEntering:B,onExit:U,onExited:I,onExiting:H,addEndListener:D,appear:a,in:p,timeout:$},P,{children:(N,K)=>R.cloneElement(l,C({ref:A,style:C({visibility:N==="exited"&&!p?"hidden":void 0},_,l.props.style)},K))}))}),BA=oQ;function DA(e){return Pe("MuiDrawer",e)}const iQ=_e("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]),sQ=iQ,aQ=["BackdropProps"],lQ=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],NA=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},cQ=e=>{const{classes:t,anchor:n,variant:r}=e,o={root:["root"],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${Q(n)}`,r!=="temporary"&&`paperAnchorDocked${Q(n)}`]};return Re(o,DA,t)},uQ=X(km,{name:"MuiDrawer",slot:"Root",overridesResolver:NA})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),HP=X("div",{shouldForwardProp:Pn,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:NA})({flex:"0 0 auto"}),dQ=X(uo,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${Q(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${Q(n.anchor)}`]]}})(({theme:e,ownerState:t})=>C({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},t.anchor==="left"&&{left:0},t.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="right"&&{right:0},t.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="left"&&t.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="top"&&t.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="right"&&t.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="bottom"&&t.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),FA={left:"right",right:"left",top:"down",bottom:"up"};function la(e){return["left","right"].indexOf(e)!==-1}function lu({direction:e},t){return e==="rtl"&&la(t)?FA[t]:t}const fQ=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiDrawer"}),o=tr(),i=hi(),s={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{anchor:a="left",BackdropProps:l,children:c,className:u,elevation:f=16,hideBackdrop:p=!1,ModalProps:{BackdropProps:h}={},onClose:v,open:m=!1,PaperProps:w={},SlideProps:y,TransitionComponent:S=BA,transitionDuration:_=s,variant:$="temporary"}=r,T=ne(r.ModalProps,aQ),P=ne(r,lQ),O=R.useRef(!1);R.useEffect(()=>{O.current=!0},[]);const A=lu({direction:i?"rtl":"ltr"},a),j=C({},r,{anchor:a,elevation:f,open:m,variant:$},P),B=cQ(j),V=x.jsx(dQ,C({elevation:$==="temporary"?f:0,square:!0},w,{className:te(B.paper,w.className),ownerState:j,children:c}));if($==="permanent")return x.jsx(HP,C({className:te(B.root,B.docked,u),ownerState:j,ref:n},P,{children:V}));const H=x.jsx(S,C({in:m,direction:FA[A],timeout:_,appear:O.current},y,{children:V}));return $==="persistent"?x.jsx(HP,C({className:te(B.root,B.docked,u),ownerState:j,ref:n},P,{children:H})):x.jsx(uQ,C({BackdropProps:C({},l,h,{transitionDuration:_}),className:te(B.root,B.modal,u),open:m,ownerState:j,onClose:v,hideBackdrop:p,ref:n},P,T,{children:H}))}),v1=fQ;function zA(e){return Pe("MuiFab",e)}const pQ=_e("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]),jy=pQ,hQ=["children","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"],gQ=e=>{const{color:t,variant:n,classes:r,size:o}=e,i={root:["root",n,`size${Q(o)}`,t==="inherit"?"colorInherit":t]},s=Re(i,zA,r);return C({},r,s)},mQ=X(Mn,{name:"MuiFab",slot:"Root",shouldForwardProp:e=>Pn(e)||e==="classes",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${Q(n.size)}`],n.color==="inherit"&&t.colorInherit,t[Q(n.size)],t[n.color]]}})(({theme:e,ownerState:t})=>{var n,r;return C({},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=(r=e.palette).getContrastText)==null?void 0:n.call(r,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"},[`&.${jy.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]}},t.size==="small"&&{width:40,height:40},t.size==="medium"&&{width:48,height:48},t.variant==="extended"&&{borderRadius:48/2,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48},t.variant==="extended"&&t.size==="small"&&{width:"auto",padding:"0 8px",borderRadius:34/2,minWidth:34,height:34},t.variant==="extended"&&t.size==="medium"&&{width:"auto",padding:"0 16px",borderRadius:40/2,minWidth:40,height:40},t.color==="inherit"&&{color:"inherit"})},({theme:e,ownerState:t})=>C({},t.color!=="inherit"&&t.color!=="default"&&(e.vars||e).palette[t.color]!=null&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}}),({theme:e})=>({[`&.${jy.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}})),vQ=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiFab"}),{children:o,className:i,color:s="default",component:a="button",disabled:l=!1,disableFocusRipple:c=!1,focusVisibleClassName:u,size:f="large",variant:p="circular"}=r,h=ne(r,hQ),v=C({},r,{color:s,component:a,disabled:l,disableFocusRipple:c,size:f,variant:p}),m=gQ(v);return x.jsx(mQ,C({className:te(m.root,i),component:a,disabled:l,focusRipple:!c,focusVisibleClassName:te(m.focusVisible,u),ownerState:v,ref:n},h,{classes:m,children:o}))}),y1=vQ,yQ=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],bQ=e=>{const{classes:t,disableUnderline:n}=e,o=Re({root:["root",!n&&"underline"],input:["input"]},tA,t);return C({},t,o)},xQ=X(Sm,{shouldForwardProp:e=>Pn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...xm(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var n;const r=e.palette.mode==="light",o=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",i=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",a=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return C({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:s,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i}},[`&.${Mr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i},[`&.${Mr.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:a}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(n=(e.vars||e).palette[t.color||"primary"])==null?void 0:n.main}`,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"},[`&.${Mr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Mr.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})`:o}`,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(.${Mr.disabled}, .${Mr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Mr.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&C({padding:"25px 12px 8px"},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9}))}),CQ=X(wm,{name:"MuiFilledInput",slot:"Input",overridesResolver:Cm})(({theme:e,ownerState:t})=>C({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"}}},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})),VA=R.forwardRef(function(t,n){var r,o,i,s;const a=Ee({props:t,name:"MuiFilledInput"}),{components:l={},componentsProps:c,fullWidth:u=!1,inputComponent:f="input",multiline:p=!1,slotProps:h,slots:v={},type:m="text"}=a,w=ne(a,yQ),y=C({},a,{fullWidth:u,inputComponent:f,multiline:p,type:m}),S=bQ(a),_={root:{ownerState:y},input:{ownerState:y}},$=h??c?Cn(_,h??c):_,T=(r=(o=v.root)!=null?o:l.Root)!=null?r:xQ,P=(i=(s=v.input)!=null?s:l.Input)!=null?i:CQ;return x.jsx(Yd,C({slots:{root:T,input:P},componentsProps:$,fullWidth:u,inputComponent:f,multiline:p,ref:n,type:m},w,{classes:S}))});VA.muiName="Input";const b1=VA;function WA(e){return Pe("MuiFormControl",e)}const SQ=_e("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]),wQ=SQ,PQ=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],kQ=e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root",n!=="none"&&`margin${Q(n)}`,r&&"fullWidth"]};return Re(o,WA,t)},_Q=X("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>C({},t.root,t[`margin${Q(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>C({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},e.margin==="normal"&&{marginTop:16,marginBottom:8},e.margin==="dense"&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),RQ=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiFormControl"}),{children:o,className:i,color:s="primary",component:a="div",disabled:l=!1,error:c=!1,focused:u,fullWidth:f=!1,hiddenLabel:p=!1,margin:h="none",required:v=!1,size:m="medium",variant:w="outlined"}=r,y=ne(r,PQ),S=C({},r,{color:s,component:a,disabled:l,error:c,fullWidth:f,hiddenLabel:p,margin:h,required:v,size:m,variant:w}),_=kQ(S),[$,T]=R.useState(()=>{let H=!1;return o&&R.Children.forEach(o,U=>{if(!li(U,["Input","Select"]))return;const I=li(U,["Select"])?U.props.input:U;I&&EG(I.props)&&(H=!0)}),H}),[P,O]=R.useState(()=>{let H=!1;return o&&R.Children.forEach(o,U=>{li(U,["Input","Select"])&&(Kh(U.props,!0)||Kh(U.props.inputProps,!0))&&(H=!0)}),H}),[A,E]=R.useState(!1);l&&A&&E(!1);const j=u!==void 0&&!l?u:A;let B;const V=R.useMemo(()=>({adornedStart:$,setAdornedStart:T,color:s,disabled:l,error:c,filled:P,focused:j,fullWidth:f,hiddenLabel:p,size:m,onBlur:()=>{E(!1)},onEmpty:()=>{O(!1)},onFilled:()=>{O(!0)},onFocus:()=>{E(!0)},registerEffect:B,required:v,variant:w}),[$,s,l,c,P,j,f,p,B,v,m,w]);return x.jsx(bm.Provider,{value:V,children:x.jsx(_Q,C({as:a,ownerState:S,className:te(_.root,i),ref:n},y,{children:o}))})}),x1=RQ,TQ=AV({createStyledComponent:X("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>Ee({props:e,name:"MuiStack"})}),wl=TQ,$Q=_e("MuiStack",["root"]),OQ=$Q;function HA(e){return Pe("MuiFormControlLabel",e)}const MQ=_e("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),Pl=MQ,AQ=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],IQ=e=>{const{classes:t,disabled:n,labelPlacement:r,error:o,required:i}=e,s={root:["root",n&&"disabled",`labelPlacement${Q(r)}`,o&&"error",i&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]};return Re(s,HA,t)},EQ=X("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Pl.label}`]:t.label},t.root,t[`labelPlacement${Q(n.labelPlacement)}`]]}})(({theme:e,ownerState:t})=>C({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Pl.disabled}`]:{cursor:"default"}},t.labelPlacement==="start"&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},t.labelPlacement==="top"&&{flexDirection:"column-reverse",marginLeft:16},t.labelPlacement==="bottom"&&{flexDirection:"column",marginLeft:16},{[`& .${Pl.label}`]:{[`&.${Pl.disabled}`]:{color:(e.vars||e).palette.text.disabled}}})),LQ=X("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${Pl.error}`]:{color:(e.vars||e).palette.error.main}})),jQ=R.forwardRef(function(t,n){var r,o;const i=Ee({props:t,name:"MuiFormControlLabel"}),{className:s,componentsProps:a={},control:l,disabled:c,disableTypography:u,label:f,labelPlacement:p="end",required:h,slotProps:v={}}=i,m=ne(i,AQ),w=Io(),y=(r=c??l.props.disabled)!=null?r:w==null?void 0:w.disabled,S=h??l.props.required,_={disabled:y,required:S};["checked","name","onChange","value","inputRef"].forEach(E=>{typeof l.props[E]>"u"&&typeof i[E]<"u"&&(_[E]=i[E])});const $=Qi({props:i,muiFormControl:w,states:["error"]}),T=C({},i,{disabled:y,labelPlacement:p,required:S,error:$.error}),P=IQ(T),O=(o=v.typography)!=null?o:a.typography;let A=f;return A!=null&&A.type!==Fe&&!u&&(A=x.jsx(Fe,C({component:"span"},O,{className:te(P.label,O==null?void 0:O.className),children:A}))),x.jsxs(EQ,C({className:te(P.root,s),ownerState:T,ref:n},m,{children:[R.cloneElement(l,_),S?x.jsxs(wl,{display:"block",children:[A,x.jsxs(LQ,{ownerState:T,"aria-hidden":!0,className:P.asterisk,children:[" ","*"]})]}):A]}))}),BQ=jQ;function UA(e){return Pe("MuiFormGroup",e)}const DQ=_e("MuiFormGroup",["root","row","error"]),NQ=DQ,FQ=["className","row"],zQ=e=>{const{classes:t,row:n,error:r}=e;return Re({root:["root",n&&"row",r&&"error"]},UA,t)},VQ=X("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.row&&t.row]}})(({ownerState:e})=>C({display:"flex",flexDirection:"column",flexWrap:"wrap"},e.row&&{flexDirection:"row"})),WQ=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiFormGroup"}),{className:o,row:i=!1}=r,s=ne(r,FQ),a=Io(),l=Qi({props:r,muiFormControl:a,states:["error"]}),c=C({},r,{row:i,error:l.error}),u=zQ(c);return x.jsx(VQ,C({className:te(u.root,o),ownerState:c,ref:n},s))}),GA=WQ;function KA(e){return Pe("MuiFormHelperText",e)}const HQ=_e("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),By=HQ;var UP;const UQ=["children","className","component","disabled","error","filled","focused","margin","required","variant"],GQ=e=>{const{classes:t,contained:n,size:r,disabled:o,error:i,filled:s,focused:a,required:l}=e,c={root:["root",o&&"disabled",i&&"error",r&&`size${Q(r)}`,n&&"contained",a&&"focused",s&&"filled",l&&"required"]};return Re(c,KA,t)},KQ=X("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${Q(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(({theme:e,ownerState:t})=>C({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${By.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${By.error}`]:{color:(e.vars||e).palette.error.main}},t.size==="small"&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),YQ=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiFormHelperText"}),{children:o,className:i,component:s="p"}=r,a=ne(r,UQ),l=Io(),c=Qi({props:r,muiFormControl:l,states:["variant","size","disabled","error","filled","focused","required"]}),u=C({},r,{component:s,contained:c.variant==="filled"||c.variant==="outlined",variant:c.variant,size:c.size,disabled:c.disabled,error:c.error,filled:c.filled,focused:c.focused,required:c.required}),f=GQ(u);return x.jsx(KQ,C({as:s,ownerState:u,className:te(f.root,i),ref:n},a,{children:o===" "?UP||(UP=x.jsx("span",{className:"notranslate",children:"​"})):o}))}),YA=YQ;function XA(e){return Pe("MuiFormLabel",e)}const XQ=_e("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),Ll=XQ,qQ=["children","className","color","component","disabled","error","filled","focused","required"],QQ=e=>{const{classes:t,color:n,focused:r,disabled:o,error:i,filled:s,required:a}=e,l={root:["root",`color${Q(n)}`,o&&"disabled",i&&"error",s&&"filled",r&&"focused",a&&"required"],asterisk:["asterisk",i&&"error"]};return Re(l,XA,t)},qA=X("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>C({},t.root,e.color==="secondary"&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>C({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${Ll.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Ll.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Ll.error}`]:{color:(e.vars||e).palette.error.main}})),ZQ=X("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${Ll.error}`]:{color:(e.vars||e).palette.error.main}})),JQ=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiFormLabel"}),{children:o,className:i,component:s="label"}=r,a=ne(r,qQ),l=Io(),c=Qi({props:r,muiFormControl:l,states:["color","required","focused","disabled","error","filled"]}),u=C({},r,{color:c.color||"primary",component:s,disabled:c.disabled,error:c.error,filled:c.filled,focused:c.focused,required:c.required}),f=QQ(u);return x.jsxs(qA,C({as:s,ownerState:u,className:te(f.root,i),ref:n},a,{children:[o,c.required&&x.jsxs(ZQ,{ownerState:u,"aria-hidden":!0,className:f.asterisk,children:[" ","*"]})]}))}),QA=JQ,GP=R.createContext();function ZA(e){return Pe("MuiGrid",e)}const eZ=[0,1,2,3,4,5,6,7,8,9,10],tZ=["column-reverse","column","row-reverse","row"],nZ=["nowrap","wrap-reverse","wrap"],Dc=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],rZ=_e("MuiGrid",["root","container","item","zeroMinWidth",...eZ.map(e=>`spacing-xs-${e}`),...tZ.map(e=>`direction-xs-${e}`),...nZ.map(e=>`wrap-xs-${e}`),...Dc.map(e=>`grid-xs-${e}`),...Dc.map(e=>`grid-sm-${e}`),...Dc.map(e=>`grid-md-${e}`),...Dc.map(e=>`grid-lg-${e}`),...Dc.map(e=>`grid-xl-${e}`)]),oc=rZ,oZ=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function jl(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function iZ({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((r,o)=>{let i={};if(t[o]&&(n=t[o]),!n)return r;if(n===!0)i={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const s=xa({values:t.columns,breakpoints:e.breakpoints.values}),a=typeof s=="object"?s[o]:s;if(a==null)return r;const l=`${Math.round(n/a*1e8)/1e6}%`;let c={};if(t.container&&t.item&&t.columnSpacing!==0){const u=e.spacing(t.columnSpacing);if(u!=="0px"){const f=`calc(${l} + ${jl(u)})`;c={flexBasis:f,maxWidth:f}}}i=C({flexBasis:l,flexGrow:0,maxWidth:l},c)}return e.breakpoints.values[o]===0?Object.assign(r,i):r[e.breakpoints.up(o)]=i,r},{})}function sZ({theme:e,ownerState:t}){const n=xa({values:t.direction,breakpoints:e.breakpoints.values});return zr({theme:e},n,r=>{const o={flexDirection:r};return r.indexOf("column")===0&&(o[`& > .${oc.item}`]={maxWidth:"none"}),o})}function JA({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(o=>{n===""&&t[o]!==0&&(n=o)});const r=Object.keys(e).sort((o,i)=>e[o]-e[i]);return r.slice(0,r.indexOf(n))}function aZ({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let o={};if(n&&r!==0){const i=xa({values:r,breakpoints:e.breakpoints.values});let s;typeof i=="object"&&(s=JA({breakpoints:e.breakpoints.values,values:i})),o=zr({theme:e},i,(a,l)=>{var c;const u=e.spacing(a);return u!=="0px"?{marginTop:`-${jl(u)}`,[`& > .${oc.item}`]:{paddingTop:jl(u)}}:(c=s)!=null&&c.includes(l)?{}:{marginTop:0,[`& > .${oc.item}`]:{paddingTop:0}}})}return o}function lZ({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let o={};if(n&&r!==0){const i=xa({values:r,breakpoints:e.breakpoints.values});let s;typeof i=="object"&&(s=JA({breakpoints:e.breakpoints.values,values:i})),o=zr({theme:e},i,(a,l)=>{var c;const u=e.spacing(a);return u!=="0px"?{width:`calc(100% + ${jl(u)})`,marginLeft:`-${jl(u)}`,[`& > .${oc.item}`]:{paddingLeft:jl(u)}}:(c=s)!=null&&c.includes(l)?{}:{width:"100%",marginLeft:0,[`& > .${oc.item}`]:{paddingLeft:0}}})}return o}function cZ(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 r=[];return t.forEach(o=>{const i=e[o];Number(i)>0&&r.push(n[`spacing-${o}-${String(i)}`])}),r}const uZ=X("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:o,item:i,spacing:s,wrap:a,zeroMinWidth:l,breakpoints:c}=n;let u=[];r&&(u=cZ(s,c,t));const f=[];return c.forEach(p=>{const h=n[p];h&&f.push(t[`grid-${p}-${String(h)}`])}),[t.root,r&&t.container,i&&t.item,l&&t.zeroMinWidth,...u,o!=="row"&&t[`direction-xs-${String(o)}`],a!=="wrap"&&t[`wrap-xs-${String(a)}`],...f]}})(({ownerState:e})=>C({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}),sZ,aZ,lZ,iZ);function dZ(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(r=>{const o=e[r];if(Number(o)>0){const i=`spacing-${r}-${String(o)}`;n.push(i)}}),n}const fZ=e=>{const{classes:t,container:n,direction:r,item:o,spacing:i,wrap:s,zeroMinWidth:a,breakpoints:l}=e;let c=[];n&&(c=dZ(i,l));const u=[];l.forEach(p=>{const h=e[p];h&&u.push(`grid-${p}-${String(h)}`)});const f={root:["root",n&&"container",o&&"item",a&&"zeroMinWidth",...c,r!=="row"&&`direction-xs-${String(r)}`,s!=="wrap"&&`wrap-xs-${String(s)}`,...u]};return Re(f,ZA,t)},pZ=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiGrid"}),{breakpoints:o}=tr(),i=hc(r),{className:s,columns:a,columnSpacing:l,component:c="div",container:u=!1,direction:f="row",item:p=!1,rowSpacing:h,spacing:v=0,wrap:m="wrap",zeroMinWidth:w=!1}=i,y=ne(i,oZ),S=h||v,_=l||v,$=R.useContext(GP),T=u?a||12:$,P={},O=C({},y);o.keys.forEach(j=>{y[j]!=null&&(P[j]=y[j],delete O[j])});const A=C({},i,{columns:T,container:u,direction:f,item:p,rowSpacing:S,columnSpacing:_,wrap:m,zeroMinWidth:w,spacing:v},P,{breakpoints:o.keys}),E=fZ(A);return x.jsx(GP.Provider,{value:T,children:x.jsx(uZ,C({ownerState:A,className:te(E.root,s),as:c,ref:n},O))})}),$r=pZ,hZ=PV({createStyledComponent:X("div",{name:"MuiGrid2",slot:"Root",overridesResolver:(e,t)=>t.root}),componentName:"MuiGrid2",useThemeProps:e=>Ee({props:e,name:"MuiGrid2"})}),gZ=hZ;function mZ(e){return Pe("MuiGrid2",e)}const vZ=[0,1,2,3,4,5,6,7,8,9,10],yZ=["column-reverse","column","row-reverse","row"],bZ=["nowrap","wrap-reverse","wrap"],Nc=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],xZ=_e("MuiGrid2",["root","container","item","zeroMinWidth",...vZ.map(e=>`spacing-xs-${e}`),...yZ.map(e=>`direction-xs-${e}`),...bZ.map(e=>`wrap-xs-${e}`),...Nc.map(e=>`grid-xs-${e}`),...Nc.map(e=>`grid-sm-${e}`),...Nc.map(e=>`grid-md-${e}`),...Nc.map(e=>`grid-lg-${e}`),...Nc.map(e=>`grid-xl-${e}`)]),CZ=xZ,SZ=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Dy(e){return`scale(${e}, ${e**2})`}const wZ={entering:{opacity:1,transform:Dy(1)},entered:{opacity:1,transform:"none"}},r0=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),eI=R.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:s,in:a,onEnter:l,onEntered:c,onEntering:u,onExit:f,onExited:p,onExiting:h,style:v,timeout:m="auto",TransitionComponent:w=co}=t,y=ne(t,SZ),S=ji(),_=R.useRef(),$=tr(),T=R.useRef(null),P=Rt(T,i.ref,n),O=I=>D=>{if(I){const G=T.current;D===void 0?I(G):I(G,D)}},A=O(u),E=O((I,D)=>{gm(I);const{duration:G,delay:N,easing:K}=Uo({style:v,timeout:m,easing:s},{mode:"enter"});let Z;m==="auto"?(Z=$.transitions.getAutoHeightDuration(I.clientHeight),_.current=Z):Z=G,I.style.transition=[$.transitions.create("opacity",{duration:Z,delay:N}),$.transitions.create("transform",{duration:r0?Z:Z*.666,delay:N,easing:K})].join(","),l&&l(I,D)}),j=O(c),B=O(h),V=O(I=>{const{duration:D,delay:G,easing:N}=Uo({style:v,timeout:m,easing:s},{mode:"exit"});let K;m==="auto"?(K=$.transitions.getAutoHeightDuration(I.clientHeight),_.current=K):K=D,I.style.transition=[$.transitions.create("opacity",{duration:K,delay:G}),$.transitions.create("transform",{duration:r0?K:K*.666,delay:r0?G:G||K*.333,easing:N})].join(","),I.style.opacity=0,I.style.transform=Dy(.75),f&&f(I)}),H=O(p),U=I=>{m==="auto"&&S.start(_.current||0,I),r&&r(T.current,I)};return x.jsx(w,C({appear:o,in:a,nodeRef:T,onEnter:E,onEntered:j,onEntering:A,onExit:V,onExited:H,onExiting:B,addEndListener:U,timeout:m==="auto"?null:m},y,{children:(I,D)=>R.cloneElement(i,C({style:C({opacity:0,transform:Dy(.75),visibility:I==="exited"&&!a?"hidden":void 0},wZ[I],v,i.props.style),ref:P},D))}))});eI.muiSupportAuto=!0;const gd=eI,PZ=["initialWidth","width"],ps=["xs","sm","md","lg","xl"],kZ=(e,t,n=!0)=>n?ps.indexOf(e)<=ps.indexOf(t):ps.indexOf(e)n?ps.indexOf(t)<=ps.indexOf(e):ps.indexOf(t)t=>{const{withTheme:n=!1,noSSR:r=!1,initialWidth:o}=e;function i(s){const a=tr(),l=s.theme||a,c=Dx({theme:l,name:"MuiWithWidth",props:s}),{initialWidth:u,width:f}=c,p=ne(c,PZ),[h,v]=R.useState(!1);On(()=>{v(!0)},[]);const w=l.breakpoints.keys.slice().reverse().reduce((S,_)=>{const $=wO(l.breakpoints.up(_));return!S&&$?_:S},null),y=C({width:f||(h||r?w:void 0)||u||o},n?{theme:l}:{},p);return y.width===void 0?null:x.jsx(t,C({},y))}return i};function TZ(e){const{children:t,only:n,width:r}=e,o=tr();let i=!0;if(n)if(Array.isArray(n))for(let s=0;s{const{classes:t,breakpoints:n}=e,r={root:["root",...n.map(({breakpoint:o,dir:i})=>i==="only"?`${i}${Q(o)}`:`${o}${Q(i)}`)]};return Re(r,OZ,t)},IZ=X("div",{name:"PrivateHiddenCss",slot:"Root"})(({theme:e,ownerState:t})=>{const n={display:"none"};return C({},t.breakpoints.map(({breakpoint:r,dir:o})=>o==="only"?{[e.breakpoints.only(r)]:n}:o==="up"?{[e.breakpoints.up(r)]:n}:{[e.breakpoints.down(r)]:n}).reduce((r,o)=>(Object.keys(o).forEach(i=>{r[i]=o[i]}),r),{}))});function EZ(e){const{children:t,className:n,only:r}=e,o=ne(e,MZ),i=tr(),s=[];for(let c=0;c{s.push({breakpoint:u,dir:"only"})});const a=C({},e,{breakpoints:s}),l=AZ(a);return x.jsx(IZ,{className:te(l.root,n),ownerState:a,children:t})}const LZ=["implementation","lgDown","lgUp","mdDown","mdUp","smDown","smUp","xlDown","xlUp","xsDown","xsUp"];function jZ(e){const{implementation:t="js",lgDown:n=!1,lgUp:r=!1,mdDown:o=!1,mdUp:i=!1,smDown:s=!1,smUp:a=!1,xlDown:l=!1,xlUp:c=!1,xsDown:u=!1,xsUp:f=!1}=e,p=ne(e,LZ);return t==="js"?x.jsx($Z,C({lgDown:n,lgUp:r,mdDown:o,mdUp:i,smDown:s,smUp:a,xlDown:l,xlUp:c,xsDown:u,xsUp:f},p)):x.jsx(EZ,C({lgDown:n,lgUp:r,mdDown:o,mdUp:i,smDown:s,smUp:a,xlDown:l,xlUp:c,xsDown:u,xsUp:f},p))}function tI(e){return Pe("MuiIcon",e)}const BZ=_e("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]),DZ=BZ,NZ=["baseClassName","className","color","component","fontSize"],FZ=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${Q(t)}`,`fontSize${Q(n)}`]};return Re(o,tI,r)},zZ=X("span",{name:"MuiIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${Q(n.color)}`],t[`fontSize${Q(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>({userSelect:"none",width:"1em",height:"1em",overflow:"hidden",display:"inline-block",textAlign:"center",flexShrink:0,fontSize:{inherit:"inherit",small:e.typography.pxToRem(20),medium:e.typography.pxToRem(24),large:e.typography.pxToRem(36)}[t.fontSize],color:{primary:(e.vars||e).palette.primary.main,secondary:(e.vars||e).palette.secondary.main,info:(e.vars||e).palette.info.main,success:(e.vars||e).palette.success.main,warning:(e.vars||e).palette.warning.main,action:(e.vars||e).palette.action.active,error:(e.vars||e).palette.error.main,disabled:(e.vars||e).palette.action.disabled,inherit:void 0}[t.color]})),nI=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiIcon"}),{baseClassName:o="material-icons",className:i,color:s="inherit",component:a="span",fontSize:l="medium"}=r,c=ne(r,NZ),u=C({},r,{baseClassName:o,color:s,component:a,fontSize:l}),f=FZ(u);return x.jsx(zZ,C({as:a,className:te(o,"notranslate",f.root,i),ownerState:u,"aria-hidden":!0,ref:n},c))});nI.muiName="Icon";const VZ=nI;function rI(e){return Pe("MuiImageList",e)}const WZ=_e("MuiImageList",["root","masonry","quilted","standard","woven"]),HZ=WZ,oI=R.createContext({}),UZ=["children","className","cols","component","rowHeight","gap","style","variant"],GZ=e=>{const{classes:t,variant:n}=e;return Re({root:["root",n]},rI,t)},KZ=X("ul",{name:"MuiImageList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant]]}})(({ownerState:e})=>C({display:"grid",overflowY:"auto",listStyle:"none",padding:0,WebkitOverflowScrolling:"touch"},e.variant==="masonry"&&{display:"block"})),YZ=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiImageList"}),{children:o,className:i,cols:s=2,component:a="ul",rowHeight:l="auto",gap:c=4,style:u,variant:f="standard"}=r,p=ne(r,UZ),h=R.useMemo(()=>({rowHeight:l,gap:c,variant:f}),[l,c,f]);R.useEffect(()=>{},[]);const v=C(f==="masonry"?{columnCount:s,columnGap:c}:{gridTemplateColumns:`repeat(${s}, 1fr)`,gap:c},u),m=C({},r,{component:a,gap:c,rowHeight:l,variant:f}),w=GZ(m);return x.jsx(KZ,C({as:a,className:te(w.root,w[f],i),ref:n,style:v,ownerState:m},p,{children:x.jsx(oI.Provider,{value:h,children:o})}))}),XZ=YZ;function iI(e){return Pe("MuiImageListItem",e)}const qZ=_e("MuiImageListItem",["root","img","standard","woven","masonry","quilted"]),Ny=qZ,QZ=["children","className","cols","component","rows","style"],ZZ=e=>{const{classes:t,variant:n}=e;return Re({root:["root",n],img:["img"]},iI,t)},JZ=X("li",{name:"MuiImageListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ny.img}`]:t.img},t.root,t[n.variant]]}})(({ownerState:e})=>C({display:"block",position:"relative"},e.variant==="standard"&&{display:"flex",flexDirection:"column"},e.variant==="woven"&&{height:"100%",alignSelf:"center","&:nth-of-type(even)":{height:"70%"}},{[`& .${Ny.img}`]:C({objectFit:"cover",width:"100%",height:"100%",display:"block"},e.variant==="standard"&&{height:"auto",flexGrow:1})})),eJ=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiImageListItem"}),{children:o,className:i,cols:s=1,component:a="li",rows:l=1,style:c}=r,u=ne(r,QZ),{rowHeight:f="auto",gap:p,variant:h}=R.useContext(oI);let v="auto";h==="woven"?v=void 0:f!=="auto"&&(v=f*l+p*(l-1));const m=C({},r,{cols:s,component:a,gap:p,rowHeight:f,rows:l,variant:h}),w=ZZ(m);return x.jsx(JZ,C({as:a,className:te(w.root,w[h],i),ref:n,style:C({height:v,gridColumnEnd:h!=="masonry"?`span ${s}`:void 0,gridRowEnd:h!=="masonry"?`span ${l}`:void 0,marginBottom:h==="masonry"?p:void 0,breakInside:h==="masonry"?"avoid":void 0},c),ownerState:m},u,{children:R.Children.map(o,y=>R.isValidElement(y)?y.type==="img"||li(y,["Image"])?R.cloneElement(y,{className:te(w.img,y.props.className)}):y:null)}))}),tJ=eJ;function sI(e){return Pe("MuiImageListItemBar",e)}const nJ=_e("MuiImageListItemBar",["root","positionBottom","positionTop","positionBelow","titleWrap","titleWrapBottom","titleWrapTop","titleWrapBelow","titleWrapActionPosLeft","titleWrapActionPosRight","title","subtitle","actionIcon","actionIconActionPosLeft","actionIconActionPosRight"]),rJ=nJ,oJ=["actionIcon","actionPosition","className","subtitle","title","position"],iJ=e=>{const{classes:t,position:n,actionIcon:r,actionPosition:o}=e,i={root:["root",`position${Q(n)}`],titleWrap:["titleWrap",`titleWrap${Q(n)}`,r&&`titleWrapActionPos${Q(o)}`],title:["title"],subtitle:["subtitle"],actionIcon:["actionIcon",`actionIconActionPos${Q(o)}`]};return Re(i,sI,t)},sJ=X("div",{name:"MuiImageListItemBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Q(n.position)}`]]}})(({theme:e,ownerState:t})=>C({position:"absolute",left:0,right:0,background:"rgba(0, 0, 0, 0.5)",display:"flex",alignItems:"center",fontFamily:e.typography.fontFamily},t.position==="bottom"&&{bottom:0},t.position==="top"&&{top:0},t.position==="below"&&{position:"relative",background:"transparent",alignItems:"normal"})),aJ=X("div",{name:"MuiImageListItemBar",slot:"TitleWrap",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.titleWrap,t[`titleWrap${Q(n.position)}`],n.actionIcon&&t[`titleWrapActionPos${Q(n.actionPosition)}`]]}})(({theme:e,ownerState:t})=>C({flexGrow:1,padding:"12px 16px",color:(e.vars||e).palette.common.white,overflow:"hidden"},t.position==="below"&&{padding:"6px 0 12px",color:"inherit"},t.actionIcon&&t.actionPosition==="left"&&{paddingLeft:0},t.actionIcon&&t.actionPosition==="right"&&{paddingRight:0})),lJ=X("div",{name:"MuiImageListItemBar",slot:"Title",overridesResolver:(e,t)=>t.title})(({theme:e})=>({fontSize:e.typography.pxToRem(16),lineHeight:"24px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"})),cJ=X("div",{name:"MuiImageListItemBar",slot:"Subtitle",overridesResolver:(e,t)=>t.subtitle})(({theme:e})=>({fontSize:e.typography.pxToRem(12),lineHeight:1,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"})),uJ=X("div",{name:"MuiImageListItemBar",slot:"ActionIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.actionIcon,t[`actionIconActionPos${Q(n.actionPosition)}`]]}})(({ownerState:e})=>C({},e.actionPosition==="left"&&{order:-1})),dJ=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiImageListItemBar"}),{actionIcon:o,actionPosition:i="right",className:s,subtitle:a,title:l,position:c="bottom"}=r,u=ne(r,oJ),f=C({},r,{position:c,actionPosition:i}),p=iJ(f);return x.jsxs(sJ,C({ownerState:f,className:te(p.root,s),ref:n},u,{children:[x.jsxs(aJ,{ownerState:f,className:p.titleWrap,children:[x.jsx(lJ,{className:p.title,children:l}),a?x.jsx(cJ,{className:p.subtitle,children:a}):null]}),o?x.jsx(uJ,{ownerState:f,className:p.actionIcon,children:o}):null]}))}),fJ=dJ,pJ=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],hJ=e=>{const{classes:t,disableUnderline:n}=e,o=Re({root:["root",!n&&"underline"],input:["input"]},JM,t);return C({},t,o)},gJ=X(Sm,{shouldForwardProp:e=>Pn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...xm(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let r=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(r=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),C({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,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"},[`&.${Ii.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Ii.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${r}`,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(.${Ii.disabled}, .${Ii.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${Ii.disabled}:before`]:{borderBottomStyle:"dotted"}})}),mJ=X(wm,{name:"MuiInput",slot:"Input",overridesResolver:Cm})({}),aI=R.forwardRef(function(t,n){var r,o,i,s;const a=Ee({props:t,name:"MuiInput"}),{disableUnderline:l,components:c={},componentsProps:u,fullWidth:f=!1,inputComponent:p="input",multiline:h=!1,slotProps:v,slots:m={},type:w="text"}=a,y=ne(a,pJ),S=hJ(a),$={root:{ownerState:{disableUnderline:l}}},T=v??u?Cn(v??u,$):$,P=(r=(o=m.root)!=null?o:c.Root)!=null?r:gJ,O=(i=(s=m.input)!=null?s:c.Input)!=null?i:mJ;return x.jsx(Yd,C({slots:{root:P,input:O},slotProps:T,fullWidth:f,inputComponent:p,multiline:h,ref:n,type:w},y,{classes:S}))});aI.muiName="Input";const _m=aI;function lI(e){return Pe("MuiInputAdornment",e)}const vJ=_e("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]),Fy=vJ;var KP;const yJ=["children","className","component","disablePointerEvents","disableTypography","position","variant"],bJ=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Q(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},xJ=e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:i,variant:s}=e,a={root:["root",n&&"disablePointerEvents",o&&`position${Q(o)}`,s,r&&"hiddenLabel",i&&`size${Q(i)}`]};return Re(a,lI,t)},CJ=X("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:bJ})(({theme:e,ownerState:t})=>C({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},t.variant==="filled"&&{[`&.${Fy.positionStart}&:not(.${Fy.hiddenLabel})`]:{marginTop:16}},t.position==="start"&&{marginRight:8},t.position==="end"&&{marginLeft:8},t.disablePointerEvents===!0&&{pointerEvents:"none"})),SJ=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiInputAdornment"}),{children:o,className:i,component:s="div",disablePointerEvents:a=!1,disableTypography:l=!1,position:c,variant:u}=r,f=ne(r,yJ),p=Io()||{};let h=u;u&&p.variant,p&&!h&&(h=p.variant);const v=C({},r,{hiddenLabel:p.hiddenLabel,size:p.size,disablePointerEvents:a,position:c,variant:h}),m=xJ(v);return x.jsx(bm.Provider,{value:null,children:x.jsx(CJ,C({as:s,ownerState:v,className:te(m.root,i),ref:n},f,{children:typeof o=="string"&&!l?x.jsx(Fe,{color:"text.secondary",children:o}):x.jsxs(R.Fragment,{children:[c==="start"?KP||(KP=x.jsx("span",{className:"notranslate",children:"​"})):null,o]})}))})}),wJ=SJ;function cI(e){return Pe("MuiInputLabel",e)}const PJ=_e("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]),kJ=PJ,_J=["disableAnimation","margin","shrink","variant","className"],RJ=e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:i,variant:s,required:a}=e,l={root:["root",n&&"formControl",!i&&"animated",o&&"shrink",r&&r!=="normal"&&`size${Q(r)}`,s],asterisk:[a&&"asterisk"]},c=Re(l,cI,t);return C({},t,c)},TJ=X(QA,{shouldForwardProp:e=>Pn(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ll.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]]}})(({theme:e,ownerState:t})=>C({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},t.size==="small"&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},t.variant==="filled"&&C({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&C({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},t.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),t.variant==="outlined"&&C({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),$J=R.forwardRef(function(t,n){const r=Ee({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,shrink:i,className:s}=r,a=ne(r,_J),l=Io();let c=i;typeof c>"u"&&l&&(c=l.filled||l.focused||l.adornedStart);const u=Qi({props:r,muiFormControl:l,states:["size","variant","required","focused"]}),f=C({},r,{disableAnimation:o,formControl:l,shrink:c,size:u.size,variant:u.variant,required:u.required,focused:u.focused}),p=RJ(f);return x.jsx(TJ,C({"data-shrink":c,ownerState:f,ref:n,className:te(p.root,s)},a,{classes:p}))}),C1=$J;function uI(e){return Pe("MuiLinearProgress",e)}const OJ=_e("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]),MJ=OJ,AJ=["className","color","value","valueBuffer","variant"];let bc=e=>e,YP,XP,qP,QP,ZP,JP;const zy=4,IJ=Oo(YP||(YP=bc` + 0% { + left: -35%; + right: 100%; + } + + 60% { + left: 100%; + right: -90%; + } + + 100% { + left: 100%; + right: -90%; + } +`)),EJ=Oo(XP||(XP=bc` + 0% { + left: -200%; + right: 100%; + } + + 60% { + left: 107%; + right: -8%; + } + + 100% { + left: 107%; + right: -8%; + } +`)),LJ=Oo(qP||(qP=bc` + 0% { + opacity: 1; + background-position: 0 -23px; + } + + 60% { + opacity: 0; + background-position: 0 -23px; + } + + 100% { + opacity: 1; + background-position: -200px -23px; + } +`)),jJ=e=>{const{classes:t,variant:n,color:r}=e,o={root:["root",`color${Q(r)}`,n],dashed:["dashed",`dashedColor${Q(r)}`],bar1:["bar",`barColor${Q(r)}`,(n==="indeterminate"||n==="query")&&"bar1Indeterminate",n==="determinate"&&"bar1Determinate",n==="buffer"&&"bar1Buffer"],bar2:["bar",n!=="buffer"&&`barColor${Q(r)}`,n==="buffer"&&`color${Q(r)}`,(n==="indeterminate"||n==="query")&&"bar2Indeterminate",n==="buffer"&&"bar2Buffer"]};return Re(o,uI,t)},S1=(e,t)=>t==="inherit"?"currentColor":e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:e.palette.mode==="light"?Ms(e.palette[t].main,.62):Os(e.palette[t].main,.5),BJ=X("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${Q(n.color)}`],t[n.variant]]}})(({ownerState:e,theme:t})=>C({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:S1(t,e.color)},e.color==="inherit"&&e.variant!=="buffer"&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},e.variant==="buffer"&&{backgroundColor:"transparent"},e.variant==="query"&&{transform:"rotate(180deg)"})),DJ=X("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.dashed,t[`dashedColor${Q(n.color)}`]]}})(({ownerState:e,theme:t})=>{const n=S1(t,e.color);return C({position:"absolute",marginTop:0,height:"100%",width:"100%"},e.color==="inherit"&&{opacity:.3},{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},ui(QP||(QP=bc` + animation: ${0} 3s infinite linear; + `),LJ)),NJ=X("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${Q(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&t.bar1Indeterminate,n.variant==="determinate"&&t.bar1Determinate,n.variant==="buffer"&&t.bar1Buffer]}})(({ownerState:e,theme:t})=>C({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:e.color==="inherit"?"currentColor":(t.vars||t).palette[e.color].main},e.variant==="determinate"&&{transition:`transform .${zy}s linear`},e.variant==="buffer"&&{zIndex:1,transition:`transform .${zy}s linear`}),({ownerState:e})=>(e.variant==="indeterminate"||e.variant==="query")&&ui(ZP||(ZP=bc` + width: auto; + animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; + `),IJ)),FJ=X("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${Q(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&t.bar2Indeterminate,n.variant==="buffer"&&t.bar2Buffer]}})(({ownerState:e,theme:t})=>C({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},e.variant!=="buffer"&&{backgroundColor:e.color==="inherit"?"currentColor":(t.vars||t).palette[e.color].main},e.color==="inherit"&&{opacity:.3},e.variant==="buffer"&&{backgroundColor:S1(t,e.color),transition:`transform .${zy}s linear`}),({ownerState:e})=>(e.variant==="indeterminate"||e.variant==="query")&&ui(JP||(JP=bc` + width: auto; + animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; + `),EJ)),zJ=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiLinearProgress"}),{className:o,color:i="primary",value:s,valueBuffer:a,variant:l="indeterminate"}=r,c=ne(r,AJ),u=C({},r,{color:i,variant:l}),f=jJ(u),p=hi(),h={},v={bar1:{},bar2:{}};if((l==="determinate"||l==="buffer")&&s!==void 0){h["aria-valuenow"]=Math.round(s),h["aria-valuemin"]=0,h["aria-valuemax"]=100;let m=s-100;p&&(m=-m),v.bar1.transform=`translateX(${m}%)`}if(l==="buffer"&&a!==void 0){let m=(a||0)-100;p&&(m=-m),v.bar2.transform=`translateX(${m}%)`}return x.jsxs(BJ,C({className:te(f.root,o),ownerState:u,role:"progressbar"},h,{ref:n},c,{children:[l==="buffer"?x.jsx(DJ,{className:f.dashed,ownerState:u}):null,x.jsx(NJ,{className:f.bar1,ownerState:u,style:v.bar1}),l==="determinate"?null:x.jsx(FJ,{className:f.bar2,ownerState:u,style:v.bar2})]}))}),dI=zJ;function fI(e){return Pe("MuiLink",e)}const VJ=_e("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),pI=VJ,hI={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},WJ=e=>hI[e]||e,HJ=({theme:e,ownerState:t})=>{const n=WJ(t.color),r=Zl(e,`palette.${n}`,!1)||t.color,o=Zl(e,`palette.${n}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:st(r,.4)},UJ=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],GJ=e=>{const{classes:t,component:n,focusVisible:r,underline:o}=e,i={root:["root",`underline${Q(o)}`,n==="button"&&"button",r&&"focusVisible"]};return Re(i,fI,t)},KJ=X(Fe,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${Q(n.underline)}`],n.component==="button"&&t.button]}})(({theme:e,ownerState:t})=>C({},t.underline==="none"&&{textDecoration:"none"},t.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},t.underline==="always"&&C({textDecoration:"underline"},t.color!=="inherit"&&{textDecorationColor:HJ({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),t.component==="button"&&{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"},[`&.${pI.focusVisible}`]:{outline:"auto"}})),YJ=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiLink"}),{className:o,color:i="primary",component:s="a",onBlur:a,onFocus:l,TypographyClasses:c,underline:u="always",variant:f="inherit",sx:p}=r,h=ne(r,UJ),{isFocusVisibleRef:v,onBlur:m,onFocus:w,ref:y}=Fa(),[S,_]=R.useState(!1),$=Rt(n,y),T=E=>{m(E),v.current===!1&&_(!1),a&&a(E)},P=E=>{w(E),v.current===!0&&_(!0),l&&l(E)},O=C({},r,{color:i,component:s,focusVisible:S,underline:u,variant:f}),A=GJ(O);return x.jsx(KJ,C({color:i,className:te(A.root,o),classes:c,component:s,onBlur:T,onFocus:P,ref:$,ownerState:O,variant:f,sx:[...Object.keys(hI).includes(i)?[]:[{color:i}],...Array.isArray(p)?p:[p]]},h))}),ls=YJ,wo=R.createContext({});function gI(e){return Pe("MuiList",e)}const XJ=_e("MuiList",["root","padding","dense","subheader"]),qJ=XJ,QJ=["children","className","component","dense","disablePadding","subheader"],ZJ=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return Re({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},gI,t)},JJ=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]}})(({ownerState:e})=>C({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),eee=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiList"}),{children:o,className:i,component:s="ul",dense:a=!1,disablePadding:l=!1,subheader:c}=r,u=ne(r,QJ),f=R.useMemo(()=>({dense:a}),[a]),p=C({},r,{component:s,dense:a,disablePadding:l}),h=ZJ(p);return x.jsx(wo.Provider,{value:f,children:x.jsxs(JJ,C({as:s,className:te(h.root,i),ref:n,ownerState:p},u,{children:[c,o]}))})}),Rm=eee;function mI(e){return Pe("MuiListItem",e)}const tee=_e("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),ca=tee;function vI(e){return Pe("MuiListItemButton",e)}const nee=_e("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),ua=nee,ree=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],oee=(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]},iee=e=>{const{alignItems:t,classes:n,dense:r,disabled:o,disableGutters:i,divider:s,selected:a}=e,c=Re({root:["root",r&&"dense",!i&&"gutters",s&&"divider",o&&"disabled",t==="flex-start"&&"alignItemsFlexStart",a&&"selected"]},vI,n);return C({},n,c)},see=X(Mn,{shouldForwardProp:e=>Pn(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:oee})(({theme:e,ownerState:t})=>C({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"}},[`&.${ua.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:st(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${ua.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:st(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${ua.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:st(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})`:st(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${ua.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ua.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.alignItems==="flex-start"&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4})),aee=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiListItemButton"}),{alignItems:o="center",autoFocus:i=!1,component:s="div",children:a,dense:l=!1,disableGutters:c=!1,divider:u=!1,focusVisibleClassName:f,selected:p=!1,className:h}=r,v=ne(r,ree),m=R.useContext(wo),w=R.useMemo(()=>({dense:l||m.dense||!1,alignItems:o,disableGutters:c}),[o,m.dense,l,c]),y=R.useRef(null);On(()=>{i&&y.current&&y.current.focus()},[i]);const S=C({},r,{alignItems:o,dense:w.dense,disableGutters:c,divider:u,selected:p}),_=iee(S),$=Rt(y,n);return x.jsx(wo.Provider,{value:w,children:x.jsx(see,C({ref:$,href:v.href||v.to,component:(v.href||v.to)&&s==="div"?"button":s,focusVisibleClassName:te(_.focusVisible,f),ownerState:S,className:te(_.root,h)},v,{classes:_,children:a}))})}),cu=aee;function yI(e){return Pe("MuiListItemSecondaryAction",e)}const lee=_e("MuiListItemSecondaryAction",["root","disableGutters"]),cee=lee,uee=["className"],dee=e=>{const{disableGutters:t,classes:n}=e;return Re({root:["root",t&&"disableGutters"]},yI,n)},fee=X("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})(({ownerState:e})=>C({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),bI=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiListItemSecondaryAction"}),{className:o}=r,i=ne(r,uee),s=R.useContext(wo),a=C({},r,{disableGutters:s.disableGutters}),l=dee(a);return x.jsx(fee,C({className:te(l.root,o),ownerState:a,ref:n},i))});bI.muiName="ListItemSecondaryAction";const xI=bI,pee=["className"],hee=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],gee=(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.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]},mee=e=>{const{alignItems:t,button:n,classes:r,dense:o,disabled:i,disableGutters:s,disablePadding:a,divider:l,hasSecondaryAction:c,selected:u}=e;return Re({root:["root",o&&"dense",!s&&"gutters",!a&&"padding",l&&"divider",i&&"disabled",n&&"button",t==="flex-start"&&"alignItemsFlexStart",c&&"secondaryAction",u&&"selected"],container:["container"]},mI,r)},vee=X("div",{name:"MuiListItem",slot:"Root",overridesResolver:gee})(({theme:e,ownerState:t})=>C({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&C({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${ua.root}`]:{paddingRight:48}},{[`&.${ca.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ca.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:st(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${ca.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:st(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${ca.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.alignItems==="flex-start"&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{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"}},[`&.${ca.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:st(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})`:st(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),yee=X("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),bee=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiListItem"}),{alignItems:o="center",autoFocus:i=!1,button:s=!1,children:a,className:l,component:c,components:u={},componentsProps:f={},ContainerComponent:p="li",ContainerProps:{className:h}={},dense:v=!1,disabled:m=!1,disableGutters:w=!1,disablePadding:y=!1,divider:S=!1,focusVisibleClassName:_,secondaryAction:$,selected:T=!1,slotProps:P={},slots:O={}}=r,A=ne(r.ContainerProps,pee),E=ne(r,hee),j=R.useContext(wo),B=R.useMemo(()=>({dense:v||j.dense||!1,alignItems:o,disableGutters:w}),[o,j.dense,v,w]),V=R.useRef(null);On(()=>{i&&V.current&&V.current.focus()},[i]);const H=R.Children.toArray(a),U=H.length&&li(H[H.length-1],["ListItemSecondaryAction"]),I=C({},r,{alignItems:o,autoFocus:i,button:s,dense:B.dense,disabled:m,disableGutters:w,disablePadding:y,divider:S,hasSecondaryAction:U,selected:T}),D=mee(I),G=Rt(V,n),N=O.root||u.Root||vee,K=P.root||f.root||{},Z=C({className:te(D.root,K.className,l),disabled:m},E);let ve=c||"li";return s&&(Z.component=c||"div",Z.focusVisibleClassName=te(ca.focusVisible,_),ve=Mn),U?(ve=!Z.component&&!c?"div":ve,p==="li"&&(ve==="li"?ve="div":Z.component==="li"&&(Z.component="div")),x.jsx(wo.Provider,{value:B,children:x.jsxs(yee,C({as:p,className:te(D.container,h),ref:G,ownerState:I},A,{children:[x.jsx(N,C({},K,!Wo(N)&&{as:ve,ownerState:C({},I,K.ownerState)},Z,{children:H})),H.pop()]}))})):x.jsx(wo.Provider,{value:B,children:x.jsxs(N,C({},K,{as:ve,ref:G},!Wo(N)&&{ownerState:C({},I,K.ownerState)},Z,{children:[H,$&&x.jsx(xI,{children:$})]}))})}),Bi=bee;function CI(e){return Pe("MuiListItemAvatar",e)}const xee=_e("MuiListItemAvatar",["root","alignItemsFlexStart"]),Cee=xee,See=["className"],wee=e=>{const{alignItems:t,classes:n}=e;return Re({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},CI,n)},Pee=X("div",{name:"MuiListItemAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(({ownerState:e})=>C({minWidth:56,flexShrink:0},e.alignItems==="flex-start"&&{marginTop:8})),kee=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiListItemAvatar"}),{className:o}=r,i=ne(r,See),s=R.useContext(wo),a=C({},r,{alignItems:s.alignItems}),l=wee(a);return x.jsx(Pee,C({className:te(l.root,o),ownerState:a,ref:n},i))}),_ee=kee;function SI(e){return Pe("MuiListItemIcon",e)}const Ree=_e("MuiListItemIcon",["root","alignItemsFlexStart"]),Vy=Ree,Tee=["className"],$ee=e=>{const{alignItems:t,classes:n}=e;return Re({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},SI,n)},Oee=X("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>C({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},t.alignItems==="flex-start"&&{marginTop:8})),Mee=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiListItemIcon"}),{className:o}=r,i=ne(r,Tee),s=R.useContext(wo),a=C({},r,{alignItems:s.alignItems}),l=$ee(a);return x.jsx(Oee,C({className:te(l.root,o),ownerState:a,ref:n},i))}),uu=Mee;function wI(e){return Pe("MuiListItemText",e)}const Aee=_e("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),md=Aee,Iee=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],Eee=e=>{const{classes:t,inset:n,primary:r,secondary:o,dense:i}=e;return Re({root:["root",n&&"inset",i&&"dense",r&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},wI,t)},Lee=X("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${md.primary}`]:t.primary},{[`& .${md.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})(({ownerState:e})=>C({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),jee=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiListItemText"}),{children:o,className:i,disableTypography:s=!1,inset:a=!1,primary:l,primaryTypographyProps:c,secondary:u,secondaryTypographyProps:f}=r,p=ne(r,Iee),{dense:h}=R.useContext(wo);let v=l??o,m=u;const w=C({},r,{disableTypography:s,inset:a,primary:!!v,secondary:!!m,dense:h}),y=Eee(w);return v!=null&&v.type!==Fe&&!s&&(v=x.jsx(Fe,C({variant:h?"body2":"body1",className:y.primary,component:c!=null&&c.variant?void 0:"span",display:"block"},c,{children:v}))),m!=null&&m.type!==Fe&&!s&&(m=x.jsx(Fe,C({variant:"body2",className:y.secondary,color:"text.secondary",display:"block"},f,{children:m}))),x.jsxs(Lee,C({className:te(y.root,i),ownerState:w,ref:n},p,{children:[v,m]}))}),du=jee,Bee=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function o0(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function ek(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function PI(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.indexOf(t.keys.join(""))===0}function Fc(e,t,n,r,o,i){let s=!1,a=o(e,t,t?n:!1);for(;a;){if(a===e.firstChild){if(s)return!1;s=!0}const l=r?!1:a.disabled||a.getAttribute("aria-disabled")==="true";if(!a.hasAttribute("tabindex")||!PI(a,i)||l)a=o(e,a,n);else return a.focus(),!0}return!1}const Dee=R.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:s,className:a,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:u,variant:f="selectedMenu"}=t,p=ne(t,Bee),h=R.useRef(null),v=R.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});On(()=>{o&&h.current.focus()},[o]),R.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(_,{direction:$})=>{const T=!h.current.style.width;if(_.clientHeight{const $=h.current,T=_.key,P=Ft($).activeElement;if(T==="ArrowDown")_.preventDefault(),Fc($,P,c,l,o0);else if(T==="ArrowUp")_.preventDefault(),Fc($,P,c,l,ek);else if(T==="Home")_.preventDefault(),Fc($,null,c,l,o0);else if(T==="End")_.preventDefault(),Fc($,null,c,l,ek);else if(T.length===1){const O=v.current,A=T.toLowerCase(),E=performance.now();O.keys.length>0&&(E-O.lastTime>500?(O.keys=[],O.repeating=!0,O.previousKeyMatched=!0):O.repeating&&A!==O.keys[0]&&(O.repeating=!1)),O.lastTime=E,O.keys.push(A);const j=P&&!O.repeating&&PI(P,O);O.previousKeyMatched&&(j||Fc($,P,!1,l,o0,O))?_.preventDefault():O.previousKeyMatched=!1}u&&u(_)},w=Rt(h,n);let y=-1;R.Children.forEach(s,(_,$)=>{if(!R.isValidElement(_)){y===$&&(y+=1,y>=s.length&&(y=-1));return}_.props.disabled||(f==="selectedMenu"&&_.props.selected||y===-1)&&(y=$),y===$&&(_.props.disabled||_.props.muiSkipListHighlight||_.type.muiSkipListHighlight)&&(y+=1,y>=s.length&&(y=-1))});const S=R.Children.map(s,(_,$)=>{if($===y){const T={};return i&&(T.autoFocus=!0),_.props.tabIndex===void 0&&f==="selectedMenu"&&(T.tabIndex=0),R.cloneElement(_,T)}return _});return x.jsx(Rm,C({role:"menu",ref:w,className:a,onKeyDown:m,tabIndex:o?0:-1},p,{children:S}))}),kI=Dee;function _I(e){return Pe("MuiPopover",e)}const Nee=_e("MuiPopover",["root","paper"]),Fee=Nee,zee=["onEntering"],Vee=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],Wee=["slotProps"];function Wy(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function Hy(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function tk(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function i0(e){return typeof e=="function"?e():e}const Hee=e=>{const{classes:t}=e;return Re({root:["root"],paper:["paper"]},_I,t)},RI=X(km,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),w1=X(uo,{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}),Uee=R.forwardRef(function(t,n){var r,o,i;const s=Ee({props:t,name:"MuiPopover"}),{action:a,anchorEl:l,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:f="anchorEl",children:p,className:h,container:v,elevation:m=8,marginThreshold:w=16,open:y,PaperProps:S={},slots:_,slotProps:$,transformOrigin:T={vertical:"top",horizontal:"left"},TransitionComponent:P=gd,transitionDuration:O="auto",TransitionProps:{onEntering:A}={},disableScrollLock:E=!1}=s,j=ne(s.TransitionProps,zee),B=ne(s,Vee),V=(r=$==null?void 0:$.paper)!=null?r:S,H=R.useRef(),U=Rt(H,V.ref),I=C({},s,{anchorOrigin:c,anchorReference:f,elevation:m,marginThreshold:w,externalPaperSlotProps:V,transformOrigin:T,TransitionComponent:P,transitionDuration:O,TransitionProps:j}),D=Hee(I),G=R.useCallback(()=>{if(f==="anchorPosition")return u;const $e=i0(l),ke=($e&&$e.nodeType===1?$e:Ft(H.current).body).getBoundingClientRect();return{top:ke.top+Wy(ke,c.vertical),left:ke.left+Hy(ke,c.horizontal)}},[l,c.horizontal,c.vertical,u,f]),N=R.useCallback($e=>({vertical:Wy($e,T.vertical),horizontal:Hy($e,T.horizontal)}),[T.horizontal,T.vertical]),K=R.useCallback($e=>{const Ne={width:$e.offsetWidth,height:$e.offsetHeight},ke=N(Ne);if(f==="none")return{top:null,left:null,transformOrigin:tk(ke)};const Oe=G();let Je=Oe.top-ke.vertical,He=Oe.left-ke.horizontal;const vt=Je+Ne.height,qe=He+Ne.width,tt=Jn(i0(l)),ht=tt.innerHeight-w,nt=tt.innerWidth-w;if(w!==null&&Jeht){const at=vt-ht;Je-=at,ke.vertical+=at}if(w!==null&&Hent){const at=qe-nt;He-=at,ke.horizontal+=at}return{top:`${Math.round(Je)}px`,left:`${Math.round(He)}px`,transformOrigin:tk(ke)}},[l,f,G,N,w]),[Z,ve]=R.useState(y),Ce=R.useCallback(()=>{const $e=H.current;if(!$e)return;const Ne=K($e);Ne.top!==null&&($e.style.top=Ne.top),Ne.left!==null&&($e.style.left=Ne.left),$e.style.transformOrigin=Ne.transformOrigin,ve(!0)},[K]);R.useEffect(()=>(E&&window.addEventListener("scroll",Ce),()=>window.removeEventListener("scroll",Ce)),[l,E,Ce]);const se=($e,Ne)=>{A&&A($e,Ne),Ce()},ae=()=>{ve(!1)};R.useEffect(()=>{y&&Ce()}),R.useImperativeHandle(a,()=>y?{updatePosition:()=>{Ce()}}:null,[y,Ce]),R.useEffect(()=>{if(!y)return;const $e=Na(()=>{Ce()}),Ne=Jn(l);return Ne.addEventListener("resize",$e),()=>{$e.clear(),Ne.removeEventListener("resize",$e)}},[l,y,Ce]);let ye=O;O==="auto"&&!P.muiSupportAuto&&(ye=void 0);const ue=v||(l?Ft(i0(l)).body:void 0),Be=(o=_==null?void 0:_.root)!=null?o:RI,ce=(i=_==null?void 0:_.paper)!=null?i:w1,Ae=an({elementType:ce,externalSlotProps:C({},V,{style:Z?V.style:C({},V.style,{opacity:0})}),additionalProps:{elevation:m,ref:U},ownerState:I,className:te(D.paper,V==null?void 0:V.className)}),Ke=an({elementType:Be,externalSlotProps:($==null?void 0:$.root)||{},externalForwardedProps:B,additionalProps:{ref:n,slotProps:{backdrop:{invisible:!0}},container:ue,open:y},ownerState:I,className:te(D.root,h)}),{slotProps:Le}=Ke,xe=ne(Ke,Wee);return x.jsx(Be,C({},xe,!Wo(Be)&&{slotProps:Le,disableScrollLock:E},{children:x.jsx(P,C({appear:!0,in:y,onEntering:se,onExited:ae,timeout:ye},j,{children:x.jsx(ce,C({},Ae,{children:p}))}))}))}),TI=Uee;function $I(e){return Pe("MuiMenu",e)}const Gee=_e("MuiMenu",["root","paper","list"]),Kee=Gee,Yee=["onEntering"],Xee=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],qee={vertical:"top",horizontal:"right"},Qee={vertical:"top",horizontal:"left"},Zee=e=>{const{classes:t}=e;return Re({root:["root"],paper:["paper"],list:["list"]},$I,t)},Jee=X(TI,{shouldForwardProp:e=>Pn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ete=X(w1,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),tte=X(kI,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),nte=R.forwardRef(function(t,n){var r,o;const i=Ee({props:t,name:"MuiMenu"}),{autoFocus:s=!0,children:a,className:l,disableAutoFocusItem:c=!1,MenuListProps:u={},onClose:f,open:p,PaperProps:h={},PopoverClasses:v,transitionDuration:m="auto",TransitionProps:{onEntering:w}={},variant:y="selectedMenu",slots:S={},slotProps:_={}}=i,$=ne(i.TransitionProps,Yee),T=ne(i,Xee),P=hi(),O=C({},i,{autoFocus:s,disableAutoFocusItem:c,MenuListProps:u,onEntering:w,PaperProps:h,transitionDuration:m,TransitionProps:$,variant:y}),A=Zee(O),E=s&&!c&&p,j=R.useRef(null),B=(N,K)=>{j.current&&j.current.adjustStyleForScrollbar(N,{direction:P?"rtl":"ltr"}),w&&w(N,K)},V=N=>{N.key==="Tab"&&(N.preventDefault(),f&&f(N,"tabKeyDown"))};let H=-1;R.Children.map(a,(N,K)=>{R.isValidElement(N)&&(N.props.disabled||(y==="selectedMenu"&&N.props.selected||H===-1)&&(H=K))});const U=(r=S.paper)!=null?r:ete,I=(o=_.paper)!=null?o:h,D=an({elementType:S.root,externalSlotProps:_.root,ownerState:O,className:[A.root,l]}),G=an({elementType:U,externalSlotProps:I,ownerState:O,className:A.paper});return x.jsx(Jee,C({onClose:f,anchorOrigin:{vertical:"bottom",horizontal:P?"right":"left"},transformOrigin:P?qee:Qee,slots:{paper:U,root:S.root},slotProps:{root:D,paper:G},open:p,ref:n,transitionDuration:m,TransitionProps:C({onEntering:B},$),ownerState:O},T,{classes:v,children:x.jsx(tte,C({onKeyDown:V,actions:j,autoFocus:s&&(H===-1||c),autoFocusItem:E,variant:y},u,{className:te(A.list,u.className),children:a}))}))}),OI=nte;function MI(e){return Pe("MuiMenuItem",e)}const rte=_e("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),il=rte,ote=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],ite=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},ste=e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:s}=e,l=Re({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},MI,s);return C({},s,l)},ate=X(Mn,{shouldForwardProp:e=>Pn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:ite})(({theme:e,ownerState:t})=>C({},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"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${il.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:st(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${il.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:st(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${il.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:st(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})`:st(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${il.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${il.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Ly.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Ly.inset}`]:{marginLeft:52},[`& .${md.root}`]:{marginTop:0,marginBottom:0},[`& .${md.inset}`]:{paddingLeft:36},[`& .${Vy.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&C({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${Vy.root} svg`]:{fontSize:"1.25rem"}}))),lte=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:i="li",dense:s=!1,divider:a=!1,disableGutters:l=!1,focusVisibleClassName:c,role:u="menuitem",tabIndex:f,className:p}=r,h=ne(r,ote),v=R.useContext(wo),m=R.useMemo(()=>({dense:s||v.dense||!1,disableGutters:l}),[v.dense,s,l]),w=R.useRef(null);On(()=>{o&&w.current&&w.current.focus()},[o]);const y=C({},r,{dense:m.dense,divider:a,disableGutters:l}),S=ste(r),_=Rt(w,n);let $;return r.disabled||($=f!==void 0?f:-1),x.jsx(wo.Provider,{value:m,children:x.jsx(ate,C({ref:_,role:u,tabIndex:$,component:i,focusVisibleClassName:te(S.focusVisible,c),className:te(S.root,p)},h,{ownerState:y,classes:S}))})}),P1=lte;function AI(e){return Pe("MuiMobileStepper",e)}const cte=_e("MuiMobileStepper",["root","positionBottom","positionTop","positionStatic","dots","dot","dotActive","progress"]),ute=cte,dte=["activeStep","backButton","className","LinearProgressProps","nextButton","position","steps","variant"],fte=e=>{const{classes:t,position:n}=e,r={root:["root",`position${Q(n)}`],dots:["dots"],dot:["dot"],dotActive:["dotActive"],progress:["progress"]};return Re(r,AI,t)},pte=X(uo,{name:"MuiMobileStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Q(n.position)}`]]}})(({theme:e,ownerState:t})=>C({display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",background:(e.vars||e).palette.background.default,padding:8},t.position==="bottom"&&{position:"fixed",bottom:0,left:0,right:0,zIndex:(e.vars||e).zIndex.mobileStepper},t.position==="top"&&{position:"fixed",top:0,left:0,right:0,zIndex:(e.vars||e).zIndex.mobileStepper})),hte=X("div",{name:"MuiMobileStepper",slot:"Dots",overridesResolver:(e,t)=>t.dots})(({ownerState:e})=>C({},e.variant==="dots"&&{display:"flex",flexDirection:"row"})),gte=X("div",{name:"MuiMobileStepper",slot:"Dot",shouldForwardProp:e=>yc(e)&&e!=="dotActive",overridesResolver:(e,t)=>{const{dotActive:n}=e;return[t.dot,n&&t.dotActive]}})(({theme:e,ownerState:t,dotActive:n})=>C({},t.variant==="dots"&&C({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"},n&&{backgroundColor:(e.vars||e).palette.primary.main}))),mte=X(dI,{name:"MuiMobileStepper",slot:"Progress",overridesResolver:(e,t)=>t.progress})(({ownerState:e})=>C({},e.variant==="progress"&&{width:"50%"})),vte=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiMobileStepper"}),{activeStep:o=0,backButton:i,className:s,LinearProgressProps:a,nextButton:l,position:c="bottom",steps:u,variant:f="dots"}=r,p=ne(r,dte),h=C({},r,{activeStep:o,position:c,variant:f});let v;f==="progress"&&(u===1?v=100:v=Math.ceil(o/(u-1)*100));const m=fte(h);return x.jsxs(pte,C({square:!0,elevation:0,className:te(m.root,s),ref:n,ownerState:h},p,{children:[i,f==="text"&&x.jsxs(R.Fragment,{children:[o+1," / ",u]}),f==="dots"&&x.jsx(hte,{ownerState:h,className:m.dots,children:[...new Array(u)].map((w,y)=>x.jsx(gte,{className:te(m.dot,y===o&&m.dotActive),ownerState:h,dotActive:y===o},y))}),f==="progress"&&x.jsx(mte,C({ownerState:h,className:m.progress,variant:"determinate",value:v},a)),l]}))}),yte=vte;function k1(e){return Pe("MuiNativeSelect",e)}const bte=_e("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Tm=bte,xte=["className","disabled","error","IconComponent","inputRef","variant"],Cte=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:s}=e,a={select:["select",n,r&&"disabled",o&&"multiple",s&&"error"],icon:["icon",`icon${Q(n)}`,i&&"iconOpen",r&&"disabled"]};return Re(a,k1,t)},II=({ownerState:e,theme:t})=>C({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":C({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:t.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${Tm.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},e.variant==="filled"&&{"&&&":{paddingRight:32}},e.variant==="outlined"&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),Ste=X("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Pn,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${Tm.multiple}`]:t.multiple}]}})(II),EI=({ownerState:e,theme:t})=>C({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${Tm.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),wte=X("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Q(n.variant)}`],n.open&&t.iconOpen]}})(EI),LI=R.forwardRef(function(t,n){const{className:r,disabled:o,error:i,IconComponent:s,inputRef:a,variant:l="standard"}=t,c=ne(t,xte),u=C({},t,{disabled:o,variant:l,error:i}),f=Cte(u);return x.jsxs(R.Fragment,{children:[x.jsx(Ste,C({ownerState:u,className:te(f.select,r),disabled:o,ref:a||n},c)),t.multiple?null:x.jsx(wte,{as:s,ownerState:u,className:f.icon})]})}),Pte=["className","children","classes","IconComponent","input","inputProps","variant"],kte=["root"],_te=e=>{const{classes:t}=e;return Re({root:["root"]},k1,t)},Rte=x.jsx(_m,{}),jI=R.forwardRef(function(t,n){const r=Ee({name:"MuiNativeSelect",props:t}),{className:o,children:i,classes:s={},IconComponent:a=u1,input:l=Rte,inputProps:c}=r,u=ne(r,Pte),f=Io(),p=Qi({props:r,muiFormControl:f,states:["variant"]}),h=C({},r,{classes:s}),v=_te(h),m=ne(s,kte);return x.jsx(R.Fragment,{children:R.cloneElement(l,C({inputComponent:LI,inputProps:C({children:i,classes:m,IconComponent:a,variant:p.variant,type:void 0},c,l?l.props.inputProps:{}),ref:n},u,{className:te(v.root,l.props.className,o)}))})});jI.muiName="Select";const Tte=jI;var nk;const $te=["children","classes","className","label","notched"],Ote=X("fieldset",{shouldForwardProp:Pn})({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%"}),Mte=X("legend",{shouldForwardProp:Pn})(({ownerState:e,theme:t})=>C({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&C({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function Ate(e){const{className:t,label:n,notched:r}=e,o=ne(e,$te),i=n!=null&&n!=="",s=C({},e,{notched:r,withLabel:i});return x.jsx(Ote,C({"aria-hidden":!0,className:t,ownerState:s},o,{children:x.jsx(Mte,{ownerState:s,children:i?x.jsx("span",{children:n}):nk||(nk=x.jsx("span",{className:"notranslate",children:"​"}))})}))}const Ite=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],Ete=e=>{const{classes:t}=e,r=Re({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},eA,t);return C({},t,r)},Lte=X(Sm,{shouldForwardProp:e=>Pn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:xm})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return C({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Do.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Do.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${Do.focused} .${Do.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${Do.error} .${Do.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Do.disabled} .${Do.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&C({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),jte=X(Ate,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({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}}),Bte=X(wm,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Cm})(({theme:e,ownerState:t})=>C({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"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),BI=R.forwardRef(function(t,n){var r,o,i,s,a;const l=Ee({props:t,name:"MuiOutlinedInput"}),{components:c={},fullWidth:u=!1,inputComponent:f="input",label:p,multiline:h=!1,notched:v,slots:m={},type:w="text"}=l,y=ne(l,Ite),S=Ete(l),_=Io(),$=Qi({props:l,muiFormControl:_,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),T=C({},l,{color:$.color||"primary",disabled:$.disabled,error:$.error,focused:$.focused,formControl:_,fullWidth:u,hiddenLabel:$.hiddenLabel,multiline:h,size:$.size,type:w}),P=(r=(o=m.root)!=null?o:c.Root)!=null?r:Lte,O=(i=(s=m.input)!=null?s:c.Input)!=null?i:Bte;return x.jsx(Yd,C({slots:{root:P,input:O},renderSuffix:A=>x.jsx(jte,{ownerState:T,className:S.notchedOutline,label:p!=null&&p!==""&&$.required?a||(a=x.jsxs(R.Fragment,{children:[p," ","*"]})):p,notched:typeof v<"u"?v:!!(A.startAdornment||A.filled||A.focused)}),fullWidth:u,inputComponent:f,multiline:h,ref:n,type:w},y,{classes:C({},S,{notchedOutline:null})}))});BI.muiName="Input";const _1=BI;function DI(e){return Pe("MuiPagination",e)}const Dte=_e("MuiPagination",["root","ul","outlined","text"]),Nte=Dte,Fte=["boundaryCount","componentName","count","defaultPage","disabled","hideNextButton","hidePrevButton","onChange","page","showFirstButton","showLastButton","siblingCount"];function NI(e={}){const{boundaryCount:t=1,componentName:n="usePagination",count:r=1,defaultPage:o=1,disabled:i=!1,hideNextButton:s=!1,hidePrevButton:a=!1,onChange:l,page:c,showFirstButton:u=!1,showLastButton:f=!1,siblingCount:p=1}=e,h=ne(e,Fte),[v,m]=Cr({controlled:c,default:o,name:n,state:"page"}),w=(E,j)=>{c||m(j),l&&l(E,j)},y=(E,j)=>{const B=j-E+1;return Array.from({length:B},(V,H)=>E+H)},S=y(1,Math.min(t,r)),_=y(Math.max(r-t+1,t+1),r),$=Math.max(Math.min(v-p,r-t-p*2-1),t+2),T=Math.min(Math.max(v+p,t+p*2+2),_.length>0?_[0]-2:r-1),P=[...u?["first"]:[],...a?[]:["previous"],...S,...$>t+2?["start-ellipsis"]:t+1t?[r-t]:[],..._,...s?[]:["next"],...f?["last"]:[]],O=E=>{switch(E){case"first":return 1;case"previous":return v-1;case"next":return v+1;case"last":return r;default:return null}},A=P.map(E=>typeof E=="number"?{onClick:j=>{w(j,E)},type:"page",page:E,selected:E===v,disabled:i,"aria-current":E===v?"true":void 0}:{onClick:j=>{w(j,O(E))},type:E,page:O(E),selected:!1,disabled:i||E.indexOf("ellipsis")===-1&&(E==="next"||E==="last"?v>=r:v<=1)});return C({items:A},h)}function FI(e){return Pe("MuiPaginationItem",e)}const zte=_e("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]),Gr=zte,Uy=Ut(x.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),Gy=Ut(x.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),rk=Ut(x.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),ok=Ut(x.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),Vte=["className","color","component","components","disabled","page","selected","shape","size","slots","type","variant"],zI=(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${Q(n.size)}`],n.variant==="text"&&t[`text${Q(n.color)}`],n.variant==="outlined"&&t[`outlined${Q(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]},Wte=e=>{const{classes:t,color:n,disabled:r,selected:o,size:i,shape:s,type:a,variant:l}=e,c={root:["root",`size${Q(i)}`,l,s,n!=="standard"&&`color${Q(n)}`,n!=="standard"&&`${l}${Q(n)}`,r&&"disabled",o&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[a]],icon:["icon"]};return Re(c,FI,t)},Hte=X("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:zI})(({theme:e,ownerState:t})=>C({},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",[`&.${Gr.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.size==="small"&&{minWidth:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"},t.size==="large"&&{minWidth:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)})),Ute=X(Mn,{name:"MuiPaginationItem",slot:"Root",overridesResolver:zI})(({theme:e,ownerState:t})=>C({},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,[`&.${Gr.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Gr.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"}},[`&.${Gr.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}))`:st(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Gr.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:st(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},[`&.${Gr.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}}},t.size==="small"&&{minWidth:26,height:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"},t.size==="large"&&{minWidth:40,height:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)},t.shape==="rounded"&&{borderRadius:(e.vars||e).shape.borderRadius}),({theme:e,ownerState:t})=>C({},t.variant==="text"&&{[`&.${Gr.selected}`]:C({},t.color!=="standard"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}},[`&.${Gr.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}},{[`&.${Gr.disabled}`]:{color:(e.vars||e).palette.action.disabled}})},t.variant==="outlined"&&{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)"}`,[`&.${Gr.selected}`]:C({},t.color!=="standard"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:st(e.palette[t.color].main,.5)}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.activatedOpacity})`:st(e.palette[t.color].main,e.palette.action.activatedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:st(e.palette[t.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Gr.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:st(e.palette[t.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity)}},{[`&.${Gr.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}})})),Gte=X("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:(e,t)=>t.icon})(({theme:e,ownerState:t})=>C({fontSize:e.typography.pxToRem(20),margin:"0 -8px"},t.size==="small"&&{fontSize:e.typography.pxToRem(18)},t.size==="large"&&{fontSize:e.typography.pxToRem(22)})),Kte=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiPaginationItem"}),{className:o,color:i="standard",component:s,components:a={},disabled:l=!1,page:c,selected:u=!1,shape:f="circular",size:p="medium",slots:h={},type:v="page",variant:m="text"}=r,w=ne(r,Vte),y=C({},r,{color:i,disabled:l,selected:u,shape:f,size:p,type:v,variant:m}),S=hi(),_=Wte(y),T=(S?{previous:h.next||a.next||ok,next:h.previous||a.previous||rk,last:h.first||a.first||Uy,first:h.last||a.last||Gy}:{previous:h.previous||a.previous||rk,next:h.next||a.next||ok,first:h.first||a.first||Uy,last:h.last||a.last||Gy})[v];return v==="start-ellipsis"||v==="end-ellipsis"?x.jsx(Hte,{ref:n,ownerState:y,className:te(_.root,o),children:"…"}):x.jsxs(Ute,C({ref:n,ownerState:y,component:s,disabled:l,className:te(_.root,o)},w,{children:[v==="page"&&c,T?x.jsx(Gte,{as:T,ownerState:y,className:_.icon}):null]}))}),VI=Kte,Yte=["boundaryCount","className","color","count","defaultPage","disabled","getItemAriaLabel","hideNextButton","hidePrevButton","onChange","page","renderItem","shape","showFirstButton","showLastButton","siblingCount","size","variant"],Xte=e=>{const{classes:t,variant:n}=e;return Re({root:["root",n],ul:["ul"]},DI,t)},qte=X("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant]]}})({}),Qte=X("ul",{name:"MuiPagination",slot:"Ul",overridesResolver:(e,t)=>t.ul})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function Zte(e,t,n){return e==="page"?`${n?"":"Go to "}page ${t}`:`Go to ${e} page`}const Jte=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiPagination"}),{boundaryCount:o=1,className:i,color:s="standard",count:a=1,defaultPage:l=1,disabled:c=!1,getItemAriaLabel:u=Zte,hideNextButton:f=!1,hidePrevButton:p=!1,renderItem:h=A=>x.jsx(VI,C({},A)),shape:v="circular",showFirstButton:m=!1,showLastButton:w=!1,siblingCount:y=1,size:S="medium",variant:_="text"}=r,$=ne(r,Yte),{items:T}=NI(C({},r,{componentName:"Pagination"})),P=C({},r,{boundaryCount:o,color:s,count:a,defaultPage:l,disabled:c,getItemAriaLabel:u,hideNextButton:f,hidePrevButton:p,renderItem:h,shape:v,showFirstButton:m,showLastButton:w,siblingCount:y,size:S,variant:_}),O=Xte(P);return x.jsx(qte,C({"aria-label":"pagination navigation",className:te(O.root,i),ownerState:P,ref:n},$,{children:x.jsx(Qte,{className:O.ul,ownerState:P,children:T.map((A,E)=>x.jsx("li",{children:h(C({},A,{color:s,"aria-label":u(A.type,A.page,A.selected),shape:v,size:S,variant:_}))},E))})}))}),ene=Jte,tne=Ut(x.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"),nne=Ut(x.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"),rne=X("span",{shouldForwardProp:Pn})({position:"relative",display:"flex"}),one=X(tne)({transform:"scale(1)"}),ine=X(nne)(({theme:e,ownerState:t})=>C({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}));function WI(e){const{checked:t=!1,classes:n={},fontSize:r}=e,o=C({},e,{checked:t});return x.jsxs(rne,{className:n.root,ownerState:o,children:[x.jsx(one,{fontSize:r,className:n.background,ownerState:o}),x.jsx(ine,{fontSize:r,className:n.dot,ownerState:o})]})}const HI=R.createContext(void 0);function UI(){return R.useContext(HI)}function GI(e){return Pe("MuiRadio",e)}const sne=_e("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),Ky=sne,ane=["checked","checkedIcon","color","icon","name","onChange","size","className"],lne=e=>{const{classes:t,color:n,size:r}=e,o={root:["root",`color${Q(n)}`,r!=="medium"&&`size${Q(r)}`]};return C({},t,Re(o,GI,t))},cne=X(m1,{shouldForwardProp:e=>Pn(e)||e==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size!=="medium"&&t[`size${Q(n.size)}`],t[`color${Q(n.color)}`]]}})(({theme:e,ownerState:t})=>C({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${t.color==="default"?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:st(t.color==="default"?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${Ky.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${Ky.disabled}`]:{color:(e.vars||e).palette.action.disabled}}));function une(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}const ik=x.jsx(WI,{checked:!0}),sk=x.jsx(WI,{}),dne=R.forwardRef(function(t,n){var r,o;const i=Ee({props:t,name:"MuiRadio"}),{checked:s,checkedIcon:a=ik,color:l="primary",icon:c=sk,name:u,onChange:f,size:p="medium",className:h}=i,v=ne(i,ane),m=C({},i,{color:l,size:p}),w=lne(m),y=UI();let S=s;const _=ud(f,y&&y.onChange);let $=u;return y&&(typeof S>"u"&&(S=une(y.value,i.value)),typeof $>"u"&&($=y.name)),x.jsx(cne,C({type:"radio",icon:R.cloneElement(c,{fontSize:(r=sk.props.fontSize)!=null?r:p}),checkedIcon:R.cloneElement(a,{fontSize:(o=ik.props.fontSize)!=null?o:p}),ownerState:m,classes:w,name:$,checked:S,onChange:_,ref:n,className:te(w.root,h)},v))}),fne=dne;function KI(e){return Pe("MuiRadioGroup",e)}const pne=_e("MuiRadioGroup",["root","row","error"]),hne=pne,gne=["actions","children","className","defaultValue","name","onChange","value"],mne=e=>{const{classes:t,row:n,error:r}=e;return Re({root:["root",n&&"row",r&&"error"]},KI,t)},vne=R.forwardRef(function(t,n){const{actions:r,children:o,className:i,defaultValue:s,name:a,onChange:l,value:c}=t,u=ne(t,gne),f=R.useRef(null),p=mne(t),[h,v]=Cr({controlled:c,default:s,name:"RadioGroup"});R.useImperativeHandle(r,()=>({focus:()=>{let S=f.current.querySelector("input:not(:disabled):checked");S||(S=f.current.querySelector("input:not(:disabled)")),S&&S.focus()}}),[]);const m=Rt(n,f),w=_o(a),y=R.useMemo(()=>({name:w,onChange(S){v(S.target.value),l&&l(S,S.target.value)},value:h}),[w,l,v,h]);return x.jsx(HI.Provider,{value:y,children:x.jsx(GA,C({role:"radiogroup",ref:m,className:te(p.root,i)},u,{children:o}))})}),yne=vne,bne=Ut(x.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"),xne=Ut(x.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 YI(e){return Pe("MuiRating",e)}const Cne=_e("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]),sl=Cne,Sne=["value"],wne=["className","defaultValue","disabled","emptyIcon","emptyLabelText","getLabelText","highlightSelectedOnly","icon","IconContainerComponent","max","name","onChange","onChangeActive","onMouseLeave","onMouseMove","precision","readOnly","size","value"];function Pne(e){const t=e.toString().split(".")[1];return t?t.length:0}function s0(e,t){if(e==null)return e;const n=Math.round(e/t)*t;return Number(n.toFixed(Pne(t)))}const kne=e=>{const{classes:t,size:n,readOnly:r,disabled:o,emptyValueFocused:i,focusVisible:s}=e,a={root:["root",`size${Q(n)}`,o&&"disabled",s&&"focusVisible",r&&"readOnly"],label:["label","pristine"],labelEmptyValue:[i&&"labelEmptyValueActive"],icon:["icon"],iconEmpty:["iconEmpty"],iconFilled:["iconFilled"],iconHover:["iconHover"],iconFocus:["iconFocus"],iconActive:["iconActive"],decimal:["decimal"],visuallyHidden:["visuallyHidden"]};return Re(a,YI,t)},_ne=X("span",{name:"MuiRating",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${sl.visuallyHidden}`]:t.visuallyHidden},t.root,t[`size${Q(n.size)}`],n.readOnly&&t.readOnly]}})(({theme:e,ownerState:t})=>C({display:"inline-flex",position:"relative",fontSize:e.typography.pxToRem(24),color:"#faaf00",cursor:"pointer",textAlign:"left",width:"min-content",WebkitTapHighlightColor:"transparent",[`&.${sl.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${sl.focusVisible} .${sl.iconActive}`]:{outline:"1px solid #999"},[`& .${sl.visuallyHidden}`]:EO},t.size==="small"&&{fontSize:e.typography.pxToRem(18)},t.size==="large"&&{fontSize:e.typography.pxToRem(30)},t.readOnly&&{pointerEvents:"none"})),XI=X("label",{name:"MuiRating",slot:"Label",overridesResolver:({ownerState:e},t)=>[t.label,e.emptyValueFocused&&t.labelEmptyValueActive]})(({ownerState:e})=>C({cursor:"inherit"},e.emptyValueFocused&&{top:0,bottom:0,position:"absolute",outline:"1px solid #999",width:"100%"})),Rne=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]}})(({theme:e,ownerState:t})=>C({display:"flex",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),pointerEvents:"none"},t.iconActive&&{transform:"scale(1.2)"},t.iconEmpty&&{color:(e.vars||e).palette.action.disabled})),Tne=X("span",{name:"MuiRating",slot:"Decimal",shouldForwardProp:e=>yc(e)&&e!=="iconActive",overridesResolver:(e,t)=>{const{iconActive:n}=e;return[t.decimal,n&&t.iconActive]}})(({iconActive:e})=>C({position:"relative"},e&&{transform:"scale(1.2)"}));function $ne(e){const t=ne(e,Sne);return x.jsx("span",C({},t))}function ak(e){const{classes:t,disabled:n,emptyIcon:r,focus:o,getLabelText:i,highlightSelectedOnly:s,hover:a,icon:l,IconContainerComponent:c,isActive:u,itemValue:f,labelProps:p,name:h,onBlur:v,onChange:m,onClick:w,onFocus:y,readOnly:S,ownerState:_,ratingValue:$,ratingValueRounded:T}=e,P=s?f===$:f<=$,O=f<=a,A=f<=o,E=f===T,j=_o(),B=x.jsx(Rne,{as:c,value:f,className:te(t.icon,P?t.iconFilled:t.iconEmpty,O&&t.iconHover,A&&t.iconFocus,u&&t.iconActive),ownerState:C({},_,{iconEmpty:!P,iconFilled:P,iconHover:O,iconFocus:A,iconActive:u}),children:r&&!P?r:l});return S?x.jsx("span",C({},p,{children:B})):x.jsxs(R.Fragment,{children:[x.jsxs(XI,C({ownerState:C({},_,{emptyValueFocused:void 0}),htmlFor:j},p,{children:[B,x.jsx("span",{className:t.visuallyHidden,children:i(f)})]})),x.jsx("input",{className:t.visuallyHidden,onFocus:y,onBlur:v,onChange:m,onClick:w,disabled:n,value:f,id:j,type:"radio",name:h,checked:E})]})}const One=x.jsx(bne,{fontSize:"inherit"}),Mne=x.jsx(xne,{fontSize:"inherit"});function Ane(e){return`${e} Star${e!==1?"s":""}`}const Ine=R.forwardRef(function(t,n){const r=Ee({name:"MuiRating",props:t}),{className:o,defaultValue:i=null,disabled:s=!1,emptyIcon:a=Mne,emptyLabelText:l="Empty",getLabelText:c=Ane,highlightSelectedOnly:u=!1,icon:f=One,IconContainerComponent:p=$ne,max:h=5,name:v,onChange:m,onChangeActive:w,onMouseLeave:y,onMouseMove:S,precision:_=1,readOnly:$=!1,size:T="medium",value:P}=r,O=ne(r,wne),A=_o(v),[E,j]=Cr({controlled:P,default:i,name:"Rating"}),B=s0(E,_),V=hi(),[{hover:H,focus:U},I]=R.useState({hover:-1,focus:-1});let D=B;H!==-1&&(D=H),U!==-1&&(D=U);const{isFocusVisibleRef:G,onBlur:N,onFocus:K,ref:Z}=Fa(),[ve,Ce]=R.useState(!1),se=R.useRef(),ae=Rt(Z,se,n),ye=ke=>{S&&S(ke);const Oe=se.current,{right:Je,left:He,width:vt}=Oe.getBoundingClientRect();let qe;V?qe=(Je-ke.clientX)/vt:qe=(ke.clientX-He)/vt;let tt=s0(h*qe+_/2,_);tt=Ai(tt,_,h),I(ht=>ht.hover===tt&&ht.focus===tt?ht:{hover:tt,focus:tt}),Ce(!1),w&&H!==tt&&w(ke,tt)},ue=ke=>{y&&y(ke);const Oe=-1;I({hover:Oe,focus:Oe}),w&&H!==Oe&&w(ke,Oe)},Be=ke=>{let Oe=ke.target.value===""?null:parseFloat(ke.target.value);H!==-1&&(Oe=H),j(Oe),m&&m(ke,Oe)},ce=ke=>{ke.clientX===0&&ke.clientY===0||(I({hover:-1,focus:-1}),j(null),m&&parseFloat(ke.target.value)===B&&m(ke,null))},Ae=ke=>{K(ke),G.current===!0&&Ce(!0);const Oe=parseFloat(ke.target.value);I(Je=>({hover:Je.hover,focus:Oe}))},Ke=ke=>{if(H!==-1)return;N(ke),G.current===!1&&Ce(!1);const Oe=-1;I(Je=>({hover:Je.hover,focus:Oe}))},[Le,xe]=R.useState(!1),$e=C({},r,{defaultValue:i,disabled:s,emptyIcon:a,emptyLabelText:l,emptyValueFocused:Le,focusVisible:ve,getLabelText:c,icon:f,IconContainerComponent:p,max:h,precision:_,readOnly:$,size:T}),Ne=kne($e);return x.jsxs(_ne,C({ref:ae,onMouseMove:ye,onMouseLeave:ue,className:te(Ne.root,o,$&&"MuiRating-readOnly"),ownerState:$e,role:$?"img":null,"aria-label":$?c(D):null},O,{children:[Array.from(new Array(h)).map((ke,Oe)=>{const Je=Oe+1,He={classes:Ne,disabled:s,emptyIcon:a,focus:U,getLabelText:c,highlightSelectedOnly:u,hover:H,icon:f,IconContainerComponent:p,name:A,onBlur:Ke,onChange:Be,onClick:ce,onFocus:Ae,ratingValue:D,ratingValueRounded:B,readOnly:$,ownerState:$e},vt=Je===Math.ceil(D)&&(H!==-1||U!==-1);if(_<1){const qe=Array.from(new Array(1/_));return x.jsx(Tne,{className:te(Ne.decimal,vt&&Ne.iconActive),ownerState:$e,iconActive:vt,children:qe.map((tt,ht)=>{const nt=s0(Je-1+(ht+1)*_,_);return x.jsx(ak,C({},He,{isActive:!1,itemValue:nt,labelProps:{style:qe.length-1===ht?{}:{width:nt===D?`${(ht+1)*_*100}%`:"0%",overflow:"hidden",position:"absolute"}}}),nt)})},Je)}return x.jsx(ak,C({},He,{isActive:vt,itemValue:Je}),Je)}),!$&&!s&&x.jsxs(XI,{className:te(Ne.label,Ne.labelEmptyValue),ownerState:$e,children:[x.jsx("input",{className:Ne.visuallyHidden,value:"",id:`${A}-empty`,type:"radio",name:A,checked:B==null,onFocus:()=>xe(!0),onBlur:()=>xe(!1),onChange:Be}),x.jsx("span",{className:Ne.visuallyHidden,children:l})]})]}))}),Ene=Ine;function qI(e){return Pe("MuiScopedCssBaseline",e)}const Lne=_e("MuiScopedCssBaseline",["root"]),jne=Lne,Bne=["className","component","enableColorScheme"],Dne=e=>{const{classes:t}=e;return Re({root:["root"]},qI,t)},Nne=X("div",{name:"MuiScopedCssBaseline",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{const n={};return t.enableColorScheme&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([r,o])=>{var i;n[`&${e.getColorSchemeSelector(r).replace(/\s*&/,"")}`]={colorScheme:(i=o.palette)==null?void 0:i.mode}}),C({},kA(e,t.enableColorScheme),_A(e),{"& *, & *::before, & *::after":{boxSizing:"inherit"},"& strong, & b":{fontWeight:e.typography.fontWeightBold}},n)}),Fne=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiScopedCssBaseline"}),{className:o,component:i="div"}=r,s=ne(r,Bne),a=C({},r,{component:i}),l=Dne(a);return x.jsx(Nne,C({as:i,className:te(l.root,o),ref:n,ownerState:a},s))}),zne=Fne;function QI(e){return Pe("MuiSelect",e)}const Vne=_e("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),al=Vne;var lk;const Wne=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],Hne=X("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${al.select}`]:t.select},{[`&.${al.select}`]:t[n.variant]},{[`&.${al.error}`]:t.error},{[`&.${al.multiple}`]:t.multiple}]}})(II,{[`&.${al.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),Une=X("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Q(n.variant)}`],n.open&&t.iconOpen]}})(EI),Gne=X("input",{shouldForwardProp:e=>yc(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 ck(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function Kne(e){return e==null||typeof e=="string"&&!e.trim()}const Yne=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:s}=e,a={select:["select",n,r&&"disabled",o&&"multiple",s&&"error"],icon:["icon",`icon${Q(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Re(a,QI,t)},Xne=R.forwardRef(function(t,n){var r;const{"aria-describedby":o,"aria-label":i,autoFocus:s,autoWidth:a,children:l,className:c,defaultOpen:u,defaultValue:f,disabled:p,displayEmpty:h,error:v=!1,IconComponent:m,inputRef:w,labelId:y,MenuProps:S={},multiple:_,name:$,onBlur:T,onChange:P,onClose:O,onFocus:A,onOpen:E,open:j,readOnly:B,renderValue:V,SelectDisplayProps:H={},tabIndex:U,value:I,variant:D="standard"}=t,G=ne(t,Wne),[N,K]=Cr({controlled:I,default:f,name:"Select"}),[Z,ve]=Cr({controlled:j,default:u,name:"Select"}),Ce=R.useRef(null),se=R.useRef(null),[ae,ye]=R.useState(null),{current:ue}=R.useRef(j!=null),[Be,ce]=R.useState(),Ae=Rt(n,w),Ke=R.useCallback(me=>{se.current=me,me&&ye(me)},[]),Le=ae==null?void 0:ae.parentNode;R.useImperativeHandle(Ae,()=>({focus:()=>{se.current.focus()},node:Ce.current,value:N}),[N]),R.useEffect(()=>{u&&Z&&ae&&!ue&&(ce(a?null:Le.clientWidth),se.current.focus())},[ae,a]),R.useEffect(()=>{s&&se.current.focus()},[s]),R.useEffect(()=>{if(!y)return;const me=Ft(se.current).getElementById(y);if(me){const J=()=>{getSelection().isCollapsed&&se.current.focus()};return me.addEventListener("click",J),()=>{me.removeEventListener("click",J)}}},[y]);const xe=(me,J)=>{me?E&&E(J):O&&O(J),ue||(ce(a?null:Le.clientWidth),ve(me))},$e=me=>{me.button===0&&(me.preventDefault(),se.current.focus(),xe(!0,me))},Ne=me=>{xe(!1,me)},ke=R.Children.toArray(l),Oe=me=>{const J=ke.find(q=>q.props.value===me.target.value);J!==void 0&&(K(J.props.value),P&&P(me,J))},Je=me=>J=>{let q;if(J.currentTarget.hasAttribute("tabindex")){if(_){q=Array.isArray(N)?N.slice():[];const oe=N.indexOf(me.props.value);oe===-1?q.push(me.props.value):q.splice(oe,1)}else q=me.props.value;if(me.props.onClick&&me.props.onClick(J),N!==q&&(K(q),P)){const oe=J.nativeEvent||J,we=new oe.constructor(oe.type,oe);Object.defineProperty(we,"target",{writable:!0,value:{value:q,name:$}}),P(we,me)}_||xe(!1,J)}},He=me=>{B||[" ","ArrowUp","ArrowDown","Enter"].indexOf(me.key)!==-1&&(me.preventDefault(),xe(!0,me))},vt=ae!==null&&Z,qe=me=>{!vt&&T&&(Object.defineProperty(me,"target",{writable:!0,value:{value:N,name:$}}),T(me))};delete G["aria-invalid"];let tt,ht;const nt=[];let at=!1;(Kh({value:N})||h)&&(V?tt=V(N):at=!0);const Pt=ke.map(me=>{if(!R.isValidElement(me))return null;let J;if(_){if(!Array.isArray(N))throw new Error(Sr(2));J=N.some(q=>ck(q,me.props.value)),J&&at&&nt.push(me.props.children)}else J=ck(N,me.props.value),J&&at&&(ht=me.props.children);return R.cloneElement(me,{"aria-selected":J?"true":"false",onClick:Je(me),onKeyUp:q=>{q.key===" "&&q.preventDefault(),me.props.onKeyUp&&me.props.onKeyUp(q)},role:"option",selected:J,value:void 0,"data-value":me.props.value})});at&&(_?nt.length===0?tt=null:tt=nt.reduce((me,J,q)=>(me.push(J),q{const{classes:t}=e;return t},R1={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Pn(e)&&e!=="variant",slot:"Root"},Jne=X(_m,R1)(""),ere=X(_1,R1)(""),tre=X(b1,R1)(""),ZI=R.forwardRef(function(t,n){const r=Ee({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:i,classes:s={},className:a,defaultOpen:l=!1,displayEmpty:c=!1,IconComponent:u=u1,id:f,input:p,inputProps:h,label:v,labelId:m,MenuProps:w,multiple:y=!1,native:S=!1,onClose:_,onOpen:$,open:T,renderValue:P,SelectDisplayProps:O,variant:A="outlined"}=r,E=ne(r,qne),j=S?LI:Xne,B=Io(),V=Qi({props:r,muiFormControl:B,states:["variant","error"]}),H=V.variant||A,U=C({},r,{variant:H,classes:s}),I=Zne(U),D=ne(I,Qne),G=p||{standard:x.jsx(Jne,{ownerState:U}),outlined:x.jsx(ere,{label:v,ownerState:U}),filled:x.jsx(tre,{ownerState:U})}[H],N=Rt(n,G.ref);return x.jsx(R.Fragment,{children:R.cloneElement(G,C({inputComponent:j,inputProps:C({children:i,error:V.error,IconComponent:u,variant:H,type:void 0,multiple:y},S?{id:f}:{autoWidth:o,defaultOpen:l,displayEmpty:c,labelId:m,MenuProps:w,onClose:_,onOpen:$,open:T,renderValue:P,SelectDisplayProps:C({id:f},O)},h,{classes:h?Cn(D,h.classes):D},p?p.props.inputProps:{})},(y&&S||c)&&H==="outlined"?{notched:!0}:{},{ref:N,className:te(G.props.className,a,I.root)},!p&&{variant:H},E))})});ZI.muiName="Select";const $m=ZI;function JI(e){return Pe("MuiSkeleton",e)}const nre=_e("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]),rre=nre,ore=["animation","className","component","height","style","variant","width"];let Yh=e=>e,uk,dk,fk,pk;const ire=e=>{const{classes:t,variant:n,animation:r,hasChildren:o,width:i,height:s}=e;return Re({root:["root",n,r,o&&"withChildren",o&&!i&&"fitContent",o&&!s&&"heightAuto"]},JI,t)},sre=Oo(uk||(uk=Yh` + 0% { + opacity: 1; + } + + 50% { + opacity: 0.4; + } + + 100% { + opacity: 1; + } +`)),are=Oo(dk||(dk=Yh` + 0% { + transform: translateX(-100%); + } + + 50% { + /* +0.5s of delay between each loop */ + transform: translateX(100%); + } + + 100% { + transform: translateX(100%); + } +`)),lre=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]}})(({theme:e,ownerState:t})=>{const n=Qx(e.shape.borderRadius)||"px",r=Ti(e.shape.borderRadius);return C({display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:xl(e.palette.text.primary,e.palette.mode==="light"?.11:.13),height:"1.2em"},t.variant==="text"&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${r}${n}/${Math.round(r/.6*10)/10}${n}`,"&:empty:before":{content:'"\\00a0"'}},t.variant==="circular"&&{borderRadius:"50%"},t.variant==="rounded"&&{borderRadius:(e.vars||e).shape.borderRadius},t.hasChildren&&{"& > *":{visibility:"hidden"}},t.hasChildren&&!t.width&&{maxWidth:"fit-content"},t.hasChildren&&!t.height&&{height:"auto"})},({ownerState:e})=>e.animation==="pulse"&&ui(fk||(fk=Yh` + animation: ${0} 2s ease-in-out 0.5s infinite; + `),sre),({ownerState:e,theme:t})=>e.animation==="wave"&&ui(pk||(pk=Yh` + position: relative; + overflow: hidden; + + /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */ + -webkit-mask-image: -webkit-radial-gradient(white, black); + + &::after { + animation: ${0} 2s linear 0.5s infinite; + background: linear-gradient( + 90deg, + transparent, + ${0}, + transparent + ); + content: ''; + position: absolute; + transform: translateX(-100%); /* Avoid flash during server-side hydration */ + bottom: 0; + left: 0; + right: 0; + top: 0; + } + `),are,(t.vars||t).palette.action.hover)),cre=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiSkeleton"}),{animation:o="pulse",className:i,component:s="span",height:a,style:l,variant:c="text",width:u}=r,f=ne(r,ore),p=C({},r,{animation:o,component:s,variant:c,hasChildren:!!f.children}),h=ire(p);return x.jsx(lre,C({as:s,ref:n,className:te(h.root,i),ownerState:p},f,{style:C({width:u,height:a},l)}))}),ure=cre,dre=e=>!e||!Wo(e);function eE(e){return Pe("MuiSlider",e)}const fre=_e("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"]),eo=fre,pre=e=>{const{open:t}=e;return{offset:te(t&&eo.valueLabelOpen),circle:eo.valueLabelCircle,label:eo.valueLabelLabel}};function hre(e){const{children:t,className:n,value:r}=e,o=pre(e);return t?R.cloneElement(t,{className:te(t.props.className)},x.jsxs(R.Fragment,{children:[t.props.children,x.jsx("span",{className:te(o.offset,n),"aria-hidden":!0,children:x.jsx("span",{className:o.circle,children:x.jsx("span",{className:o.label,children:r})})})]})):null}const gre=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"],mre=Go();function hk(e){return e}const tE=X("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${Q(n.color)}`],n.size!=="medium"&&t[`size${Q(n.size)}`],n.marked&&t.marked,n.orientation==="vertical"&&t.vertical,n.track==="inverted"&&t.trackInverted,n.track===!1&&t.trackFalse]}})(({theme:e})=>{var t;return{borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${eo.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${eo.dragging}`]:{[`& .${eo.thumb}, & .${eo.track}`]:{transition:"none"}},variants:[...Object.keys(((t=e.vars)!=null?t:e).palette).filter(n=>{var r;return((r=e.vars)!=null?r:e).palette[n].main}).map(n=>({props:{color:n},style:{color:(e.vars||e).palette[n].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}}]}}),nE=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}}]}),rE=X("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>{var t;return{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.keys(((t=e.vars)!=null?t:e).palette).filter(n=>{var r;return((r=e.vars)!=null?r:e).palette[n].main}).map(n=>({props:{color:n,track:"inverted"},style:C({},e.vars?{backgroundColor:e.vars.palette.Slider[`${n}Track`],borderColor:e.vars.palette.Slider[`${n}Track`]}:C({backgroundColor:Ms(e.palette[n].main,.62),borderColor:Ms(e.palette[n].main,.62)},e.applyStyles("dark",{backgroundColor:Os(e.palette[n].main,.5)}),e.applyStyles("dark",{borderColor:Os(e.palette[n].main,.5)})))}))]}}),oE=X("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${Q(n.color)}`],n.size!=="medium"&&t[`thumbSize${Q(n.size)}`]]}})(({theme:e})=>{var t;return{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%)"},[`&.${eo.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.keys(((t=e.vars)!=null?t:e).palette).filter(n=>{var r;return((r=e.vars)!=null?r:e).palette[n].main}).map(n=>({props:{color:n},style:{[`&:hover, &.${eo.focusVisible}`]:C({},e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[n].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${st(e.palette[n].main,.16)}`},{"@media (hover: none)":{boxShadow:"none"}}),[`&.${eo.active}`]:C({},e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[n].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${st(e.palette[n].main,.16)}`})}}))]}}),iE=X(hre,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e})=>C({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%"},[`&.${eo.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%"},[`&.${eo.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"}}]})),sE=X("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>yc(e)&&e!=="markActive",overridesResolver:(e,t)=>{const{markActive:n}=e;return[t.mark,n&&t.markActive]}})(({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}}]})),aE=X("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>yc(e)&&e!=="markLabelActive",overridesResolver:(e,t)=>t.markLabel})(({theme:e})=>C({},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}}]})),vre=e=>{const{disabled:t,dragging:n,marked:r,orientation:o,track:i,classes:s,color:a,size:l}=e,c={root:["root",t&&"disabled",n&&"dragging",r&&"marked",o==="vertical"&&"vertical",i==="inverted"&&"trackInverted",i===!1&&"trackFalse",a&&`color${Q(a)}`,l&&`size${Q(l)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",l&&`thumbSize${Q(l)}`,a&&`thumbColor${Q(a)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return Re(c,eE,s)},yre=({children:e})=>e,bre=R.forwardRef(function(t,n){var r,o,i,s,a,l,c,u,f,p,h,v,m,w,y,S,_,$,T,P,O,A,E,j;const B=mre({props:t,name:"MuiSlider"}),V=hi(),{"aria-label":H,"aria-valuetext":U,"aria-labelledby":I,component:D="span",components:G={},componentsProps:N={},color:K="primary",classes:Z,className:ve,disableSwap:Ce=!1,disabled:se=!1,getAriaLabel:ae,getAriaValueText:ye,marks:ue=!1,max:Be=100,min:ce=0,orientation:Ae="horizontal",shiftStep:Ke=10,size:Le="medium",step:xe=1,scale:$e=hk,slotProps:Ne,slots:ke,track:Oe="normal",valueLabelDisplay:Je="off",valueLabelFormat:He=hk}=B,vt=ne(B,gre),qe=C({},B,{isRtl:V,max:Be,min:ce,classes:Z,disabled:se,disableSwap:Ce,orientation:Ae,marks:ue,color:K,size:Le,step:xe,shiftStep:Ke,scale:$e,track:Oe,valueLabelDisplay:Je,valueLabelFormat:He}),{axisProps:tt,getRootProps:ht,getHiddenInputProps:nt,getThumbProps:at,open:Pt,active:Tt,axis:he,focusedThumbIndex:F,range:W,dragging:ee,marks:je,values:ze,trackOffset:me,trackLeap:J,getThumbStyle:q}=aG(C({},qe,{rootRef:n}));qe.marked=je.length>0&&je.some(de=>de.label),qe.dragging=ee,qe.focusedThumbIndex=F;const oe=vre(qe),we=(r=(o=ke==null?void 0:ke.root)!=null?o:G.Root)!=null?r:tE,Me=(i=(s=ke==null?void 0:ke.rail)!=null?s:G.Rail)!=null?i:nE,Xe=(a=(l=ke==null?void 0:ke.track)!=null?l:G.Track)!=null?a:rE,ot=(c=(u=ke==null?void 0:ke.thumb)!=null?u:G.Thumb)!=null?c:oE,ct=(f=(p=ke==null?void 0:ke.valueLabel)!=null?p:G.ValueLabel)!=null?f:iE,dt=(h=(v=ke==null?void 0:ke.mark)!=null?v:G.Mark)!=null?h:sE,yt=(m=(w=ke==null?void 0:ke.markLabel)!=null?w:G.MarkLabel)!=null?m:aE,St=(y=(S=ke==null?void 0:ke.input)!=null?S:G.Input)!=null?y:"input",Lt=(_=Ne==null?void 0:Ne.root)!=null?_:N.root,Nn=($=Ne==null?void 0:Ne.rail)!=null?$:N.rail,An=(T=Ne==null?void 0:Ne.track)!=null?T:N.track,Gn=(P=Ne==null?void 0:Ne.thumb)!=null?P:N.thumb,In=(O=Ne==null?void 0:Ne.valueLabel)!=null?O:N.valueLabel,Zt=(A=Ne==null?void 0:Ne.mark)!=null?A:N.mark,jt=(E=Ne==null?void 0:Ne.markLabel)!=null?E:N.markLabel,kn=(j=Ne==null?void 0:Ne.input)!=null?j:N.input,Fn=an({elementType:we,getSlotProps:ht,externalSlotProps:Lt,externalForwardedProps:vt,additionalProps:C({},dre(we)&&{as:D}),ownerState:C({},qe,Lt==null?void 0:Lt.ownerState),className:[oe.root,ve]}),Wr=an({elementType:Me,externalSlotProps:Nn,ownerState:qe,className:oe.rail}),gi=an({elementType:Xe,externalSlotProps:An,additionalProps:{style:C({},tt[he].offset(me),tt[he].leap(J))},ownerState:C({},qe,An==null?void 0:An.ownerState),className:oe.track}),pr=an({elementType:ot,getSlotProps:at,externalSlotProps:Gn,ownerState:C({},qe,Gn==null?void 0:Gn.ownerState),className:oe.thumb}),Hr=an({elementType:ct,externalSlotProps:In,ownerState:C({},qe,In==null?void 0:In.ownerState),className:oe.valueLabel}),hr=an({elementType:dt,externalSlotProps:Zt,ownerState:qe,className:oe.mark}),Kn=an({elementType:yt,externalSlotProps:jt,ownerState:qe,className:oe.markLabel}),_r=an({elementType:St,getSlotProps:nt,externalSlotProps:kn,ownerState:qe});return x.jsxs(we,C({},Fn,{children:[x.jsx(Me,C({},Wr)),x.jsx(Xe,C({},gi)),je.filter(de=>de.value>=ce&&de.value<=Be).map((de,le)=>{const Ye=Gh(de.value,ce,Be),Ve=tt[he].offset(Ye);let rt;return Oe===!1?rt=ze.indexOf(de.value)!==-1:rt=Oe==="normal"&&(W?de.value>=ze[0]&&de.value<=ze[ze.length-1]:de.value<=ze[0])||Oe==="inverted"&&(W?de.value<=ze[0]||de.value>=ze[ze.length-1]:de.value>=ze[0]),x.jsxs(R.Fragment,{children:[x.jsx(dt,C({"data-index":le},hr,!Wo(dt)&&{markActive:rt},{style:C({},Ve,hr.style),className:te(hr.className,rt&&oe.markActive)})),de.label!=null?x.jsx(yt,C({"aria-hidden":!0,"data-index":le},Kn,!Wo(yt)&&{markLabelActive:rt},{style:C({},Ve,Kn.style),className:te(oe.markLabel,Kn.className,rt&&oe.markLabelActive),children:de.label})):null]},le)}),ze.map((de,le)=>{const Ye=Gh(de,ce,Be),Ve=tt[he].offset(Ye),rt=Je==="off"?yre:ct;return x.jsx(rt,C({},!Wo(rt)&&{valueLabelFormat:He,valueLabelDisplay:Je,value:typeof He=="function"?He($e(de),le):He,index:le,open:Pt===le||Tt===le||Je==="on",disabled:se},Hr,{children:x.jsx(ot,C({"data-index":le},pr,{className:te(oe.thumb,pr.className,Tt===le&&oe.active,F===le&&oe.focusVisible),style:C({},Ve,q(le),pr.style),children:x.jsx(St,C({"data-index":le,"aria-label":ae?ae(le):H,"aria-valuenow":$e(de),"aria-labelledby":I,"aria-valuetext":ye?ye($e(de),le):U,value:ze[le]},_r))}))}),le)})]}))}),xre=bre;function lE(e){return Pe("MuiSnackbarContent",e)}const Cre=_e("MuiSnackbarContent",["root","message","action"]),Sre=Cre,wre=["action","className","message","role"],Pre=e=>{const{classes:t}=e;return Re({root:["root"],action:["action"],message:["message"]},lE,t)},kre=X(uo,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=Fh(e.palette.background.default,t);return C({},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}})}),_re=X("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),Rre=X("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),Tre=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiSnackbarContent"}),{action:o,className:i,message:s,role:a="alert"}=r,l=ne(r,wre),c=r,u=Pre(c);return x.jsxs(kre,C({role:a,square:!0,elevation:6,className:te(u.root,i),ownerState:c,ref:n},l,{children:[x.jsx(_re,{className:u.message,ownerState:c,children:s}),o?x.jsx(Rre,{className:u.action,ownerState:c,children:o}):null]}))}),cE=Tre;function uE(e){return Pe("MuiSnackbar",e)}const $re=_e("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]),Ore=$re,Mre=["onEnter","onExited"],Are=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],Ire=e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${Q(n.vertical)}${Q(n.horizontal)}`]};return Re(r,uE,t)},gk=X("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${Q(n.anchorOrigin.vertical)}${Q(n.anchorOrigin.horizontal)}`]]}})(({theme:e,ownerState:t})=>{const n={left:"50%",right:"auto",transform:"translateX(-50%)"};return C({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},t.anchorOrigin.vertical==="top"?{top:8}:{bottom:8},t.anchorOrigin.horizontal==="left"&&{justifyContent:"flex-start"},t.anchorOrigin.horizontal==="right"&&{justifyContent:"flex-end"},{[e.breakpoints.up("sm")]:C({},t.anchorOrigin.vertical==="top"?{top:24}:{bottom:24},t.anchorOrigin.horizontal==="center"&&n,t.anchorOrigin.horizontal==="left"&&{left:24,right:"auto"},t.anchorOrigin.horizontal==="right"&&{right:24,left:"auto"})})}),Ere=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiSnackbar"}),o=tr(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{action:s,anchorOrigin:{vertical:a,horizontal:l}={vertical:"bottom",horizontal:"left"},autoHideDuration:c=null,children:u,className:f,ClickAwayListenerProps:p,ContentProps:h,disableWindowBlurListener:v=!1,message:m,open:w,TransitionComponent:y=gd,transitionDuration:S=i,TransitionProps:{onEnter:_,onExited:$}={}}=r,T=ne(r.TransitionProps,Mre),P=ne(r,Are),O=C({},r,{anchorOrigin:{vertical:a,horizontal:l},autoHideDuration:c,disableWindowBlurListener:v,TransitionComponent:y,transitionDuration:S}),A=Ire(O),{getRootProps:E,onClickAway:j}=lG(C({},O)),[B,V]=R.useState(!0),H=an({elementType:gk,getSlotProps:E,externalForwardedProps:P,ownerState:O,additionalProps:{ref:n},className:[A.root,f]}),U=D=>{V(!0),$&&$(D)},I=(D,G)=>{V(!1),_&&_(D,G)};return!w&&B?null:x.jsx(RM,C({onClickAway:j},p,{children:x.jsx(gk,C({},H,{children:x.jsx(y,C({appear:!0,in:w,timeout:S,direction:a==="top"?"down":"up",onEnter:I,onExited:U},T,{children:u||x.jsx(cE,C({message:m,action:s},h))}))}))}))}),Lre=Ere,jre=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Bre={entering:{transform:"none"},entered:{transform:"none"}},Dre=R.forwardRef(function(t,n){const r=tr(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:a,easing:l,in:c,onEnter:u,onEntered:f,onEntering:p,onExit:h,onExited:v,onExiting:m,style:w,timeout:y=o,TransitionComponent:S=co}=t,_=ne(t,jre),$=R.useRef(null),T=Rt($,a.ref,n),P=U=>I=>{if(U){const D=$.current;I===void 0?U(D):U(D,I)}},O=P(p),A=P((U,I)=>{gm(U);const D=Uo({style:w,timeout:y,easing:l},{mode:"enter"});U.style.webkitTransition=r.transitions.create("transform",D),U.style.transition=r.transitions.create("transform",D),u&&u(U,I)}),E=P(f),j=P(m),B=P(U=>{const I=Uo({style:w,timeout:y,easing:l},{mode:"exit"});U.style.webkitTransition=r.transitions.create("transform",I),U.style.transition=r.transitions.create("transform",I),h&&h(U)}),V=P(v),H=U=>{i&&i($.current,U)};return x.jsx(S,C({appear:s,in:c,nodeRef:$,onEnter:A,onEntered:E,onEntering:O,onExit:B,onExited:V,onExiting:j,addEndListener:H,timeout:y},_,{children:(U,I)=>R.cloneElement(a,C({style:C({transform:"scale(0)",visibility:U==="exited"&&!c?"hidden":void 0},Bre[U],w,a.props.style),ref:T},I))}))}),dE=Dre;function fE(e){return Pe("MuiSpeedDial",e)}const Nre=_e("MuiSpeedDial",["root","fab","directionUp","directionDown","directionLeft","directionRight","actions","actionsClosed"]),fu=Nre,Fre=["ref"],zre=["ariaLabel","FabProps","children","className","direction","hidden","icon","onBlur","onClose","onFocus","onKeyDown","onMouseEnter","onMouseLeave","onOpen","open","openIcon","TransitionComponent","transitionDuration","TransitionProps"],Vre=["ref"],Wre=e=>{const{classes:t,open:n,direction:r}=e,o={root:["root",`direction${Q(r)}`],fab:["fab"],actions:["actions",!n&&"actionsClosed"]};return Re(o,fE,t)};function zc(e){if(e==="up"||e==="down")return"vertical";if(e==="right"||e==="left")return"horizontal"}const ns=32,lp=16,Hre=X("div",{name:"MuiSpeedDial",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`direction${Q(n.direction)}`]]}})(({theme:e,ownerState:t})=>C({zIndex:(e.vars||e).zIndex.speedDial,display:"flex",alignItems:"center",pointerEvents:"none"},t.direction==="up"&&{flexDirection:"column-reverse",[`& .${fu.actions}`]:{flexDirection:"column-reverse",marginBottom:-ns,paddingBottom:lp+ns}},t.direction==="down"&&{flexDirection:"column",[`& .${fu.actions}`]:{flexDirection:"column",marginTop:-ns,paddingTop:lp+ns}},t.direction==="left"&&{flexDirection:"row-reverse",[`& .${fu.actions}`]:{flexDirection:"row-reverse",marginRight:-ns,paddingRight:lp+ns}},t.direction==="right"&&{flexDirection:"row",[`& .${fu.actions}`]:{flexDirection:"row",marginLeft:-ns,paddingLeft:lp+ns}})),Ure=X(y1,{name:"MuiSpeedDial",slot:"Fab",overridesResolver:(e,t)=>t.fab})(()=>({pointerEvents:"auto"})),Gre=X("div",{name:"MuiSpeedDial",slot:"Actions",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.actions,!n.open&&t.actionsClosed]}})(({ownerState:e})=>C({display:"flex",pointerEvents:"auto"},!e.open&&{transition:"top 0s linear 0.2s",pointerEvents:"none"})),Kre=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiSpeedDial"}),o=tr(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{ariaLabel:s,FabProps:{ref:a}={},children:l,className:c,direction:u="up",hidden:f=!1,icon:p,onBlur:h,onClose:v,onFocus:m,onKeyDown:w,onMouseEnter:y,onMouseLeave:S,onOpen:_,open:$,TransitionComponent:T=dE,transitionDuration:P=i,TransitionProps:O}=r,A=ne(r.FabProps,Fre),E=ne(r,zre),[j,B]=Cr({controlled:$,default:!1,name:"SpeedDial",state:"open"}),V=C({},r,{open:j,direction:u}),H=Wre(V),U=ji(),I=R.useRef(0),D=R.useRef(),G=R.useRef([]);G.current=[G.current[0]];const N=R.useCallback(ce=>{G.current[0]=ce},[]),K=Rt(a,N),Z=(ce,Ae)=>Ke=>{G.current[ce+1]=Ke,Ae&&Ae(Ke)},ve=ce=>{w&&w(ce);const Ae=ce.key.replace("Arrow","").toLowerCase(),{current:Ke=Ae}=D;if(ce.key==="Escape"){B(!1),G.current[0].focus(),v&&v(ce,"escapeKeyDown");return}if(zc(Ae)===zc(Ke)&&zc(Ae)!==void 0){ce.preventDefault();const Le=Ae===Ke?1:-1,xe=Ai(I.current+Le,0,G.current.length-1);G.current[xe].focus(),I.current=xe,D.current=Ke}};R.useEffect(()=>{j||(I.current=0,D.current=void 0)},[j]);const Ce=ce=>{ce.type==="mouseleave"&&S&&S(ce),ce.type==="blur"&&h&&h(ce),U.clear(),ce.type==="blur"?U.start(0,()=>{B(!1),v&&v(ce,"blur")}):(B(!1),v&&v(ce,"mouseLeave"))},se=ce=>{A.onClick&&A.onClick(ce),U.clear(),j?(B(!1),v&&v(ce,"toggle")):(B(!0),_&&_(ce,"toggle"))},ae=ce=>{ce.type==="mouseenter"&&y&&y(ce),ce.type==="focus"&&m&&m(ce),U.clear(),j||U.start(0,()=>{B(!0),_&&_(ce,{focus:"focus",mouseenter:"mouseEnter"}[ce.type])})},ye=s.replace(/^[^a-z]+|[^\w:.-]+/gi,""),ue=R.Children.toArray(l).filter(ce=>R.isValidElement(ce)),Be=ue.map((ce,Ae)=>{const Ke=ce.props,{FabProps:{ref:Le}={},tooltipPlacement:xe}=Ke,$e=ne(Ke.FabProps,Vre),Ne=xe||(zc(u)==="vertical"?"left":"top");return R.cloneElement(ce,{FabProps:C({},$e,{ref:Z(Ae,Le)}),delay:30*(j?Ae:ue.length-Ae),open:j,tooltipPlacement:Ne,id:`${ye}-action-${Ae}`})});return x.jsxs(Hre,C({className:te(H.root,c),ref:n,role:"presentation",onKeyDown:ve,onBlur:Ce,onFocus:ae,onMouseEnter:ae,onMouseLeave:Ce,ownerState:V},E,{children:[x.jsx(T,C({in:!f,timeout:P,unmountOnExit:!0},O,{children:x.jsx(Ure,C({color:"primary","aria-label":s,"aria-haspopup":"true","aria-expanded":j,"aria-controls":`${ye}-actions`},A,{onClick:se,className:te(H.fab,A.className),ref:K,ownerState:V,children:R.isValidElement(p)&&li(p,["SpeedDialIcon"])?R.cloneElement(p,{open:j}):p}))})),x.jsx(Gre,{id:`${ye}-actions`,role:"menu","aria-orientation":zc(u),className:te(H.actions,!j&&H.actionsClosed),ownerState:V,children:Be})]}))}),Yre=Kre;function pE(e){return Pe("MuiTooltip",e)}const Xre=_e("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Di=Xre,qre=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function Qre(e){return Math.round(e*1e5)/1e5}const Zre=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e,s={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${Q(i.split("-")[0])}`],arrow:["arrow"]};return Re(s,pE,t)},Jre=X(Kd,{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]}})(({theme:e,ownerState:t,open:n})=>C({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Di.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Di.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Di.arrow}`]:C({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Di.arrow}`]:C({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),eoe=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${Q(n.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>C({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:st(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},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${Qre(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${Di.popper}[data-popper-placement*="left"] &`]:C({transformOrigin:"right center"},t.isRtl?C({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):C({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Di.popper}[data-popper-placement*="right"] &`]:C({transformOrigin:"left center"},t.isRtl?C({marginRight:"14px"},t.touch&&{marginRight:"24px"}):C({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Di.popper}[data-popper-placement*="top"] &`]:C({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Di.popper}[data-popper-placement*="bottom"] &`]:C({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),toe=X("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:st(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let cp=!1;const mk=new Vd;let Vc={x:0,y:0};function up(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const noe=R.forwardRef(function(t,n){var r,o,i,s,a,l,c,u,f,p,h,v,m,w,y,S,_,$,T;const P=Ee({props:t,name:"MuiTooltip"}),{arrow:O=!1,children:A,components:E={},componentsProps:j={},describeChild:B=!1,disableFocusListener:V=!1,disableHoverListener:H=!1,disableInteractive:U=!1,disableTouchListener:I=!1,enterDelay:D=100,enterNextDelay:G=0,enterTouchDelay:N=700,followCursor:K=!1,id:Z,leaveDelay:ve=0,leaveTouchDelay:Ce=1500,onClose:se,onOpen:ae,open:ye,placement:ue="bottom",PopperComponent:Be,PopperProps:ce={},slotProps:Ae={},slots:Ke={},title:Le,TransitionComponent:xe=gd,TransitionProps:$e}=P,Ne=ne(P,qre),ke=R.isValidElement(A)?A:x.jsx("span",{children:A}),Oe=tr(),Je=hi(),[He,vt]=R.useState(),[qe,tt]=R.useState(null),ht=R.useRef(!1),nt=U||K,at=ji(),Pt=ji(),Tt=ji(),he=ji(),[F,W]=Cr({controlled:ye,default:!1,name:"Tooltip",state:"open"});let ee=F;const je=_o(Z),ze=R.useRef(),me=Qt(()=>{ze.current!==void 0&&(document.body.style.WebkitUserSelect=ze.current,ze.current=void 0),he.clear()});R.useEffect(()=>me,[me]);const J=Ze=>{mk.clear(),cp=!0,W(!0),ae&&!ee&&ae(Ze)},q=Qt(Ze=>{mk.start(800+ve,()=>{cp=!1}),W(!1),se&&ee&&se(Ze),at.start(Oe.transitions.duration.shortest,()=>{ht.current=!1})}),oe=Ze=>{ht.current&&Ze.type!=="touchstart"||(He&&He.removeAttribute("title"),Pt.clear(),Tt.clear(),D||cp&&G?Pt.start(cp?G:D,()=>{J(Ze)}):J(Ze))},we=Ze=>{Pt.clear(),Tt.start(ve,()=>{q(Ze)})},{isFocusVisibleRef:Me,onBlur:Xe,onFocus:ot,ref:ct}=Fa(),[,dt]=R.useState(!1),yt=Ze=>{Xe(Ze),Me.current===!1&&(dt(!1),we(Ze))},St=Ze=>{He||vt(Ze.currentTarget),ot(Ze),Me.current===!0&&(dt(!0),oe(Ze))},Lt=Ze=>{ht.current=!0;const bt=ke.props;bt.onTouchStart&&bt.onTouchStart(Ze)},Nn=Ze=>{Lt(Ze),Tt.clear(),at.clear(),me(),ze.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",he.start(N,()=>{document.body.style.WebkitUserSelect=ze.current,oe(Ze)})},An=Ze=>{ke.props.onTouchEnd&&ke.props.onTouchEnd(Ze),me(),Tt.start(Ce,()=>{q(Ze)})};R.useEffect(()=>{if(!ee)return;function Ze(bt){(bt.key==="Escape"||bt.key==="Esc")&&q(bt)}return document.addEventListener("keydown",Ze),()=>{document.removeEventListener("keydown",Ze)}},[q,ee]);const Gn=Rt(ke.ref,ct,vt,n);!Le&&Le!==0&&(ee=!1);const In=R.useRef(),Zt=Ze=>{const bt=ke.props;bt.onMouseMove&&bt.onMouseMove(Ze),Vc={x:Ze.clientX,y:Ze.clientY},In.current&&In.current.update()},jt={},kn=typeof Le=="string";B?(jt.title=!ee&&kn&&!H?Le:null,jt["aria-describedby"]=ee?je:null):(jt["aria-label"]=kn?Le:null,jt["aria-labelledby"]=ee&&!kn?je:null);const Fn=C({},jt,Ne,ke.props,{className:te(Ne.className,ke.props.className),onTouchStart:Lt,ref:Gn},K?{onMouseMove:Zt}:{}),Wr={};I||(Fn.onTouchStart=Nn,Fn.onTouchEnd=An),H||(Fn.onMouseOver=up(oe,Fn.onMouseOver),Fn.onMouseLeave=up(we,Fn.onMouseLeave),nt||(Wr.onMouseOver=oe,Wr.onMouseLeave=we)),V||(Fn.onFocus=up(St,Fn.onFocus),Fn.onBlur=up(yt,Fn.onBlur),nt||(Wr.onFocus=St,Wr.onBlur=yt));const gi=R.useMemo(()=>{var Ze;let bt=[{name:"arrow",enabled:!!qe,options:{element:qe,padding:4}}];return(Ze=ce.popperOptions)!=null&&Ze.modifiers&&(bt=bt.concat(ce.popperOptions.modifiers)),C({},ce.popperOptions,{modifiers:bt})},[qe,ce]),pr=C({},P,{isRtl:Je,arrow:O,disableInteractive:nt,placement:ue,PopperComponentProp:Be,touch:ht.current}),Hr=Zre(pr),hr=(r=(o=Ke.popper)!=null?o:E.Popper)!=null?r:Jre,Kn=(i=(s=(a=Ke.transition)!=null?a:E.Transition)!=null?s:xe)!=null?i:gd,_r=(l=(c=Ke.tooltip)!=null?c:E.Tooltip)!=null?l:eoe,de=(u=(f=Ke.arrow)!=null?f:E.Arrow)!=null?u:toe,le=Sl(hr,C({},ce,(p=Ae.popper)!=null?p:j.popper,{className:te(Hr.popper,ce==null?void 0:ce.className,(h=(v=Ae.popper)!=null?v:j.popper)==null?void 0:h.className)}),pr),Ye=Sl(Kn,C({},$e,(m=Ae.transition)!=null?m:j.transition),pr),Ve=Sl(_r,C({},(w=Ae.tooltip)!=null?w:j.tooltip,{className:te(Hr.tooltip,(y=(S=Ae.tooltip)!=null?S:j.tooltip)==null?void 0:y.className)}),pr),rt=Sl(de,C({},(_=Ae.arrow)!=null?_:j.arrow,{className:te(Hr.arrow,($=(T=Ae.arrow)!=null?T:j.arrow)==null?void 0:$.className)}),pr);return x.jsxs(R.Fragment,{children:[R.cloneElement(ke,Fn),x.jsx(hr,C({as:Be??Kd,placement:ue,anchorEl:K?{getBoundingClientRect:()=>({top:Vc.y,left:Vc.x,right:Vc.x,bottom:Vc.y,width:0,height:0})}:He,popperRef:In,open:He?ee:!1,id:je,transition:!0},Wr,le,{popperOptions:gi,children:({TransitionProps:Ze})=>x.jsx(Kn,C({timeout:Oe.transitions.duration.shorter},Ze,Ye,{children:x.jsxs(_r,C({},Ve,{children:[Le,O?x.jsx(de,C({},rt,{ref:tt})):null]}))}))}))]})}),jo=noe;function hE(e){return Pe("MuiSpeedDialAction",e)}const roe=_e("MuiSpeedDialAction",["fab","fabClosed","staticTooltip","staticTooltipClosed","staticTooltipLabel","tooltipPlacementLeft","tooltipPlacementRight"]),gE=roe,ooe=["className","delay","FabProps","icon","id","open","TooltipClasses","tooltipOpen","tooltipPlacement","tooltipTitle"],ioe=e=>{const{open:t,tooltipPlacement:n,classes:r}=e,o={fab:["fab",!t&&"fabClosed"],staticTooltip:["staticTooltip",`tooltipPlacement${Q(n)}`,!t&&"staticTooltipClosed"],staticTooltipLabel:["staticTooltipLabel"]};return Re(o,hE,r)},soe=X(y1,{name:"MuiSpeedDialAction",slot:"Fab",skipVariantsResolver:!1,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.fab,!n.open&&t.fabClosed]}})(({theme:e,ownerState:t})=>C({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:Fh(e.palette.background.paper,.15)},transition:`${e.transitions.create("transform",{duration:e.transitions.duration.shorter})}, opacity 0.8s`,opacity:1},!t.open&&{opacity:0,transform:"scale(0)"})),aoe=X("span",{name:"MuiSpeedDialAction",slot:"StaticTooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.staticTooltip,!n.open&&t.staticTooltipClosed,t[`tooltipPlacement${Q(n.tooltipPlacement)}`]]}})(({theme:e,ownerState:t})=>({position:"relative",display:"flex",alignItems:"center",[`& .${gE.staticTooltipLabel}`]:C({transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.shorter}),opacity:1},!t.open&&{opacity:0,transform:"scale(0.5)"},t.tooltipPlacement==="left"&&{transformOrigin:"100% 50%",right:"100%",marginRight:8},t.tooltipPlacement==="right"&&{transformOrigin:"0% 50%",left:"100%",marginLeft:8})})),loe=X("span",{name:"MuiSpeedDialAction",slot:"StaticTooltipLabel",overridesResolver:(e,t)=>t.staticTooltipLabel})(({theme:e})=>C({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"})),coe=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiSpeedDialAction"}),{className:o,delay:i=0,FabProps:s={},icon:a,id:l,open:c,TooltipClasses:u,tooltipOpen:f=!1,tooltipPlacement:p="left",tooltipTitle:h}=r,v=ne(r,ooe),m=C({},r,{tooltipPlacement:p}),w=ioe(m),[y,S]=R.useState(f),_=()=>{S(!1)},$=()=>{S(!0)},T={transitionDelay:`${i}ms`},P=x.jsx(soe,C({size:"small",className:te(w.fab,o),tabIndex:-1,role:"menuitem",ownerState:m},s,{style:C({},T,s.style),children:a}));return f?x.jsxs(aoe,C({id:l,ref:n,className:w.staticTooltip,ownerState:m},v,{children:[x.jsx(loe,{style:T,id:`${l}-label`,className:w.staticTooltipLabel,ownerState:m,children:h}),R.cloneElement(P,{"aria-labelledby":`${l}-label`})]})):(!c&&y&&S(!1),x.jsx(jo,C({id:l,ref:n,title:h,placement:p,onClose:_,onOpen:$,open:c&&y,classes:u},v,{children:P})))}),uoe=coe,doe=Ut(x.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");function mE(e){return Pe("MuiSpeedDialIcon",e)}const foe=_e("MuiSpeedDialIcon",["root","icon","iconOpen","iconWithOpenIconOpen","openIcon","openIconOpen"]),is=foe,poe=["className","icon","open","openIcon"],hoe=e=>{const{classes:t,open:n,openIcon:r}=e;return Re({root:["root"],icon:["icon",n&&"iconOpen",r&&n&&"iconWithOpenIconOpen"],openIcon:["openIcon",n&&"openIconOpen"]},mE,t)},goe=X("span",{name:"MuiSpeedDialIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${is.icon}`]:t.icon},{[`& .${is.icon}`]:n.open&&t.iconOpen},{[`& .${is.icon}`]:n.open&&n.openIcon&&t.iconWithOpenIconOpen},{[`& .${is.openIcon}`]:t.openIcon},{[`& .${is.openIcon}`]:n.open&&t.openIconOpen},t.root]}})(({theme:e,ownerState:t})=>({height:24,[`& .${is.icon}`]:C({transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.short})},t.open&&C({transform:"rotate(45deg)"},t.openIcon&&{opacity:0})),[`& .${is.openIcon}`]:C({position:"absolute",transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.short}),opacity:0,transform:"rotate(-45deg)"},t.open&&{transform:"rotate(0deg)",opacity:1})})),vE=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiSpeedDialIcon"}),{className:o,icon:i,openIcon:s}=r,a=ne(r,poe),l=r,c=hoe(l);function u(f,p){return R.isValidElement(f)?R.cloneElement(f,{className:p}):f}return x.jsxs(goe,C({className:te(c.root,o),ref:n,ownerState:l},a,{children:[s?u(s,c.openIcon):null,i?u(i,c.icon):x.jsx(doe,{className:c.icon})]}))});vE.muiName="SpeedDialIcon";const moe=vE,yE=R.createContext({});function voe(){return R.useContext(yE)}const za=yE,bE=R.createContext({});function yoe(){return R.useContext(bE)}const xc=bE;function xE(e){return Pe("MuiStep",e)}const boe=_e("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]),xoe=boe,Coe=["active","children","className","component","completed","disabled","expanded","index","last"],Soe=e=>{const{classes:t,orientation:n,alternativeLabel:r,completed:o}=e;return Re({root:["root",n,r&&"alternativeLabel",o&&"completed"]},xE,t)},woe=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]}})(({ownerState:e})=>C({},e.orientation==="horizontal"&&{paddingLeft:8,paddingRight:8},e.alternativeLabel&&{flex:1,position:"relative"})),Poe=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiStep"}),{active:o,children:i,className:s,component:a="div",completed:l,disabled:c,expanded:u=!1,index:f,last:p}=r,h=ne(r,Coe),{activeStep:v,connector:m,alternativeLabel:w,orientation:y,nonLinear:S}=R.useContext(za);let[_=!1,$=!1,T=!1]=[o,l,c];v===f?_=o!==void 0?o:!0:!S&&v>f?$=l!==void 0?l:!0:!S&&v({index:f,last:p,expanded:u,icon:f+1,active:_,completed:$,disabled:T}),[f,p,u,_,$,T]),O=C({},r,{active:_,orientation:y,alternativeLabel:w,completed:$,disabled:T,expanded:u,component:a}),A=Soe(O),E=x.jsxs(woe,C({as:a,className:te(A.root,s),ref:n,ownerState:O},h,{children:[m&&w&&f!==0?m:null,i]}));return x.jsx(xc.Provider,{value:P,children:m&&!w&&f!==0?x.jsxs(R.Fragment,{children:[m,E]}):E})}),koe=Poe,_oe=Ut(x.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"),Roe=Ut(x.jsx("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");function CE(e){return Pe("MuiStepIcon",e)}const Toe=_e("MuiStepIcon",["root","active","completed","error","text"]),th=Toe;var vk;const $oe=["active","className","completed","error","icon"],Ooe=e=>{const{classes:t,active:n,completed:r,error:o}=e;return Re({root:["root",n&&"active",r&&"completed",o&&"error"],text:["text"]},CE,t)},a0=X(fd,{name:"MuiStepIcon",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),color:(e.vars||e).palette.text.disabled,[`&.${th.completed}`]:{color:(e.vars||e).palette.primary.main},[`&.${th.active}`]:{color:(e.vars||e).palette.primary.main},[`&.${th.error}`]:{color:(e.vars||e).palette.error.main}})),Moe=X("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:(e,t)=>t.text})(({theme:e})=>({fill:(e.vars||e).palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily})),Aoe=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiStepIcon"}),{active:o=!1,className:i,completed:s=!1,error:a=!1,icon:l}=r,c=ne(r,$oe),u=C({},r,{active:o,completed:s,error:a}),f=Ooe(u);if(typeof l=="number"||typeof l=="string"){const p=te(i,f.root);return a?x.jsx(a0,C({as:Roe,className:p,ref:n,ownerState:u},c)):s?x.jsx(a0,C({as:_oe,className:p,ref:n,ownerState:u},c)):x.jsxs(a0,C({className:p,ref:n,ownerState:u},c,{children:[vk||(vk=x.jsx("circle",{cx:"12",cy:"12",r:"12"})),x.jsx(Moe,{className:f.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:u,children:l})]}))}return l}),SE=Aoe;function wE(e){return Pe("MuiStepLabel",e)}const Ioe=_e("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"]),Ni=Ioe,Eoe=["children","className","componentsProps","error","icon","optional","slotProps","StepIconComponent","StepIconProps"],Loe=e=>{const{classes:t,orientation:n,active:r,completed:o,error:i,disabled:s,alternativeLabel:a}=e;return Re({root:["root",n,i&&"error",s&&"disabled",a&&"alternativeLabel"],label:["label",r&&"active",o&&"completed",i&&"error",s&&"disabled",a&&"alternativeLabel"],iconContainer:["iconContainer",r&&"active",o&&"completed",i&&"error",s&&"disabled",a&&"alternativeLabel"],labelContainer:["labelContainer",a&&"alternativeLabel"]},wE,t)},joe=X("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation]]}})(({ownerState:e})=>C({display:"flex",alignItems:"center",[`&.${Ni.alternativeLabel}`]:{flexDirection:"column"},[`&.${Ni.disabled}`]:{cursor:"default"}},e.orientation==="vertical"&&{textAlign:"left",padding:"8px 0"})),Boe=X("span",{name:"MuiStepLabel",slot:"Label",overridesResolver:(e,t)=>t.label})(({theme:e})=>C({},e.typography.body2,{display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),[`&.${Ni.active}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${Ni.completed}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${Ni.alternativeLabel}`]:{marginTop:16},[`&.${Ni.error}`]:{color:(e.vars||e).palette.error.main}})),Doe=X("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:(e,t)=>t.iconContainer})(()=>({flexShrink:0,display:"flex",paddingRight:8,[`&.${Ni.alternativeLabel}`]:{paddingRight:0}})),Noe=X("span",{name:"MuiStepLabel",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})(({theme:e})=>({width:"100%",color:(e.vars||e).palette.text.secondary,[`&.${Ni.alternativeLabel}`]:{textAlign:"center"}})),PE=R.forwardRef(function(t,n){var r;const o=Ee({props:t,name:"MuiStepLabel"}),{children:i,className:s,componentsProps:a={},error:l=!1,icon:c,optional:u,slotProps:f={},StepIconComponent:p,StepIconProps:h}=o,v=ne(o,Eoe),{alternativeLabel:m,orientation:w}=R.useContext(za),{active:y,disabled:S,completed:_,icon:$}=R.useContext(xc),T=c||$;let P=p;T&&!P&&(P=SE);const O=C({},o,{active:y,alternativeLabel:m,completed:_,disabled:S,error:l,orientation:w}),A=Loe(O),E=(r=f.label)!=null?r:a.label;return x.jsxs(joe,C({className:te(A.root,s),ref:n,ownerState:O},v,{children:[T||P?x.jsx(Doe,{className:A.iconContainer,ownerState:O,children:x.jsx(P,C({completed:_,active:y,error:l,icon:T},h))}):null,x.jsxs(Noe,{className:A.labelContainer,ownerState:O,children:[i?x.jsx(Boe,C({ownerState:O},E,{className:te(A.label,E==null?void 0:E.className),children:i})):null,u]})]}))});PE.muiName="StepLabel";const kE=PE;function _E(e){return Pe("MuiStepButton",e)}const Foe=_e("MuiStepButton",["root","horizontal","vertical","touchRipple"]),Yy=Foe,zoe=["children","className","icon","optional"],Voe=e=>{const{classes:t,orientation:n}=e;return Re({root:["root",n],touchRipple:["touchRipple"]},_E,t)},Woe=X(Mn,{name:"MuiStepButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Yy.touchRipple}`]:t.touchRipple},t.root,t[n.orientation]]}})(({ownerState:e})=>C({width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box"},e.orientation==="vertical"&&{justifyContent:"flex-start",padding:"8px",margin:"-8px"},{[`& .${Yy.touchRipple}`]:{color:"rgba(0, 0, 0, 0.3)"}})),Hoe=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiStepButton"}),{children:o,className:i,icon:s,optional:a}=r,l=ne(r,zoe),{disabled:c,active:u}=R.useContext(xc),{orientation:f}=R.useContext(za),p=C({},r,{orientation:f}),h=Voe(p),v={icon:s,optional:a},m=li(o,["StepLabel"])?R.cloneElement(o,v):x.jsx(kE,C({},v,{children:o}));return x.jsx(Woe,C({focusRipple:!0,disabled:c,TouchRippleProps:{className:h.touchRipple},className:te(h.root,i),ref:n,ownerState:p,"aria-current":u?"step":void 0},l,{children:m}))}),Uoe=Hoe;function RE(e){return Pe("MuiStepConnector",e)}const Goe=_e("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"]),Koe=Goe,Yoe=["className"],Xoe=e=>{const{classes:t,orientation:n,alternativeLabel:r,active:o,completed:i,disabled:s}=e,a={root:["root",n,r&&"alternativeLabel",o&&"active",i&&"completed",s&&"disabled"],line:["line",`line${Q(n)}`]};return Re(a,RE,t)},qoe=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]}})(({ownerState:e})=>C({flex:"1 1 auto"},e.orientation==="vertical"&&{marginLeft:12},e.alternativeLabel&&{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"})),Qoe=X("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.line,t[`line${Q(n.orientation)}`]]}})(({ownerState:e,theme:t})=>{const n=t.palette.mode==="light"?t.palette.grey[400]:t.palette.grey[600];return C({display:"block",borderColor:t.vars?t.vars.palette.StepConnector.border:n},e.orientation==="horizontal"&&{borderTopStyle:"solid",borderTopWidth:1},e.orientation==="vertical"&&{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24})}),Zoe=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiStepConnector"}),{className:o}=r,i=ne(r,Yoe),{alternativeLabel:s,orientation:a="horizontal"}=R.useContext(za),{active:l,disabled:c,completed:u}=R.useContext(xc),f=C({},r,{alternativeLabel:s,orientation:a,active:l,completed:u,disabled:c}),p=Xoe(f);return x.jsx(qoe,C({className:te(p.root,o),ref:n,ownerState:f},i,{children:x.jsx(Qoe,{className:p.line,ownerState:f})}))}),TE=Zoe;function $E(e){return Pe("MuiStepContent",e)}const Joe=_e("MuiStepContent",["root","last","transition"]),eie=Joe,tie=["children","className","TransitionComponent","transitionDuration","TransitionProps"],nie=e=>{const{classes:t,last:n}=e;return Re({root:["root",n&&"last"],transition:["transition"]},$E,t)},rie=X("div",{name:"MuiStepContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.last&&t.last]}})(({ownerState:e,theme:t})=>C({marginLeft:12,paddingLeft:20,paddingRight:8,borderLeft:t.vars?`1px solid ${t.vars.palette.StepContent.border}`:`1px solid ${t.palette.mode==="light"?t.palette.grey[400]:t.palette.grey[600]}`},e.last&&{borderLeft:"none"})),oie=X(mm,{name:"MuiStepContent",slot:"Transition",overridesResolver:(e,t)=>t.transition})({}),iie=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiStepContent"}),{children:o,className:i,TransitionComponent:s=mm,transitionDuration:a="auto",TransitionProps:l}=r,c=ne(r,tie);R.useContext(za);const{active:u,last:f,expanded:p}=R.useContext(xc),h=C({},r,{last:f}),v=nie(h);let m=a;return a==="auto"&&!s.muiSupportAuto&&(m=void 0),x.jsx(rie,C({className:te(v.root,i),ref:n,ownerState:h},c,{children:x.jsx(oie,C({as:s,in:u||p,className:v.transition,ownerState:h,timeout:m,unmountOnExit:!0},l,{children:o}))}))}),sie=iie;function OE(e){return Pe("MuiStepper",e)}const aie=_e("MuiStepper",["root","horizontal","vertical","alternativeLabel"]),lie=aie,cie=["activeStep","alternativeLabel","children","className","component","connector","nonLinear","orientation"],uie=e=>{const{orientation:t,alternativeLabel:n,classes:r}=e;return Re({root:["root",t,n&&"alternativeLabel"]},OE,r)},die=X("div",{name:"MuiStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel]}})(({ownerState:e})=>C({display:"flex"},e.orientation==="horizontal"&&{flexDirection:"row",alignItems:"center"},e.orientation==="vertical"&&{flexDirection:"column"},e.alternativeLabel&&{alignItems:"flex-start"})),fie=x.jsx(TE,{}),pie=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiStepper"}),{activeStep:o=0,alternativeLabel:i=!1,children:s,className:a,component:l="div",connector:c=fie,nonLinear:u=!1,orientation:f="horizontal"}=r,p=ne(r,cie),h=C({},r,{alternativeLabel:i,orientation:f,component:l}),v=uie(h),m=R.Children.toArray(s).filter(Boolean),w=m.map((S,_)=>R.cloneElement(S,C({index:_,last:_+1===m.length},S.props))),y=R.useMemo(()=>({activeStep:o,alternativeLabel:i,connector:c,nonLinear:u,orientation:f}),[o,i,c,u,f]);return x.jsx(za.Provider,{value:y,children:x.jsx(die,C({as:l,ownerState:h,className:te(v.root,a),ref:n},p,{children:w}))})}),hie=pie,gie=["anchor","classes","className","width","style"],mie=X("div",{shouldForwardProp:Pn})(({theme:e,ownerState:t})=>C({position:"fixed",top:0,left:0,bottom:0,zIndex:e.zIndex.drawer-1},t.anchor==="left"&&{right:"auto"},t.anchor==="right"&&{left:"auto",right:0},t.anchor==="top"&&{bottom:"auto",right:0},t.anchor==="bottom"&&{top:"auto",bottom:0,right:0})),vie=R.forwardRef(function(t,n){const{anchor:r,classes:o={},className:i,width:s,style:a}=t,l=ne(t,gie),c=t;return x.jsx(mie,C({className:te("PrivateSwipeArea-root",o.root,o[`anchor${Q(r)}`],i),ref:n,style:C({[la(r)?"width":"height"]:s},a),ownerState:c},l))}),yie=["BackdropProps"],bie=["anchor","disableBackdropTransition","disableDiscovery","disableSwipeToOpen","hideBackdrop","hysteresis","allowSwipeInChildren","minFlingVelocity","ModalProps","onClose","onOpen","open","PaperProps","SwipeAreaProps","swipeAreaWidth","transitionDuration","variant"],dp=3,l0=20;let xi=null;function c0(e,t,n){return e==="right"?n.body.offsetWidth-t[0].pageX:t[0].pageX}function u0(e,t,n){return e==="bottom"?n.innerHeight-t[0].clientY:t[0].clientY}function Wc(e,t){return e?t.clientWidth:t.clientHeight}function yk(e,t,n,r){return Math.min(Math.max(n?t-e:r+t-e,0),r)}function xie(e,t){const n=[];for(;e&&e!==t.parentElement;){const r=Jn(t).getComputedStyle(e);r.getPropertyValue("position")==="absolute"||r.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 Cie({domTreeShapes:e,start:t,current:n,anchor:r}){const o={scrollPosition:{x:"scrollLeft",y:"scrollTop"},scrollLength:{x:"scrollWidth",y:"scrollHeight"},clientLength:{x:"clientWidth",y:"clientHeight"}};return e.some(i=>{let s=n>=t;(r==="top"||r==="left")&&(s=!s);const a=r==="left"||r==="right"?"x":"y",l=Math.round(i[o.scrollPosition[a]]),c=l>0,u=l+i[o.clientLength[a]]{G.current=null},[y]);const N=R.useCallback((se,ae={})=>{const{mode:ye=null,changeTransition:ue=!0}=ae,Be=lu(o,s),ce=["right","bottom"].indexOf(Be)!==-1?1:-1,Ae=la(s),Ke=Ae?`translate(${ce*se}px, 0)`:`translate(0, ${ce*se}px)`,Le=U.current.style;Le.webkitTransform=Ke,Le.transform=Ke;let xe="";if(ye&&(xe=o.transitions.create("all",Uo({easing:void 0,style:void 0,timeout:T},{mode:ye}))),ue&&(Le.webkitTransition=xe,Le.transition=xe),!a&&!u){const $e=H.current.style;$e.opacity=1-se/Wc(Ae,U.current),ue&&($e.webkitTransition=xe,$e.transition=xe)}},[s,a,u,o,T]),K=Qt(se=>{if(!D.current)return;if(xi=null,D.current=!1,Xl.flushSync(()=>{j(!1)}),!B.current.isSwiping){B.current.isSwiping=null;return}B.current.isSwiping=null;const ae=lu(o,s),ye=la(s);let ue;ye?ue=c0(ae,se.changedTouches,Ft(se.currentTarget)):ue=u0(ae,se.changedTouches,Jn(se.currentTarget));const Be=ye?B.current.startX:B.current.startY,ce=Wc(ye,U.current),Ae=yk(ue,Be,y,ce),Ke=Ae/ce;if(Math.abs(B.current.velocity)>h&&(G.current=Math.abs((ce-Ae)/B.current.velocity)*1e3),y){B.current.velocity>h||Ke>f?m():N(0,{mode:"exit"});return}B.current.velocity<-h||1-Ke>f?w():N(Wc(ye,U.current),{mode:"enter"})}),Z=(se=!1)=>{if(!E){(se||!(l&&p))&&Xl.flushSync(()=>{j(!0)});const ae=la(s);!y&&U.current&&N(Wc(ae,U.current)+(l?15:-l0),{changeTransition:!1}),B.current.velocity=0,B.current.lastTime=null,B.current.lastTranslate=null,B.current.paperHit=!1,D.current=!0}},ve=Qt(se=>{if(!U.current||!D.current||xi!==null&&xi!==B.current)return;Z(!0);const ae=lu(o,s),ye=la(s),ue=c0(ae,se.touches,Ft(se.currentTarget)),Be=u0(ae,se.touches,Jn(se.currentTarget));if(y&&U.current.contains(se.target)&&xi===null){const xe=xie(se.target,U.current);if(Cie({domTreeShapes:xe,start:ye?B.current.startX:B.current.startY,current:ye?ue:Be,anchor:s})){xi=!0;return}xi=B.current}if(B.current.isSwiping==null){const xe=Math.abs(ue-B.current.startX),$e=Math.abs(Be-B.current.startY),Ne=ye?xe>$e&&xe>dp:$e>xe&&$e>dp;if(Ne&&se.cancelable&&se.preventDefault(),Ne===!0||(ye?$e>dp:xe>dp)){if(B.current.isSwiping=Ne,!Ne){K(se);return}B.current.startX=ue,B.current.startY=Be,!l&&!y&&(ye?B.current.startX-=l0:B.current.startY-=l0)}}if(!B.current.isSwiping)return;const ce=Wc(ye,U.current);let Ae=ye?B.current.startX:B.current.startY;y&&!B.current.paperHit&&(Ae=Math.min(Ae,ce));const Ke=yk(ye?ue:Be,Ae,y,ce);if(y)if(B.current.paperHit)Ke===0&&(B.current.startX=ue,B.current.startY=Be);else if(ye?ue{if(se.defaultPrevented||se.defaultMuiPrevented||y&&(u||!H.current.contains(se.target))&&!U.current.contains(se.target))return;const ae=lu(o,s),ye=la(s),ue=c0(ae,se.touches,Ft(se.currentTarget)),Be=u0(ae,se.touches,Jn(se.currentTarget));if(!y){var ce;if(c||!(se.target===V.current||(ce=U.current)!=null&&ce.contains(se.target)&&(typeof p=="function"?p(se,V.current,U.current):p)))return;if(ye){if(ue>$)return}else if(Be>$)return}se.defaultMuiPrevented=!0,xi=null,B.current.startX=ue,B.current.startY=Be,Z()});return R.useEffect(()=>{if(P==="temporary"){const se=Ft(U.current);return se.addEventListener("touchstart",Ce),se.addEventListener("touchmove",ve,{passive:!y}),se.addEventListener("touchend",K),()=>{se.removeEventListener("touchstart",Ce),se.removeEventListener("touchmove",ve,{passive:!y}),se.removeEventListener("touchend",K)}}},[P,y,Ce,ve,K]),R.useEffect(()=>()=>{xi===B.current&&(xi=null)},[]),R.useEffect(()=>{y||j(!1)},[y]),x.jsxs(R.Fragment,{children:[x.jsx(v1,C({open:P==="temporary"&&E?!0:y,variant:P,ModalProps:C({BackdropProps:C({},v,{ref:H})},P==="temporary"&&{keepMounted:!0},O),hideBackdrop:u,PaperProps:C({},S,{style:C({pointerEvents:P==="temporary"&&!y&&!p?"none":""},S.style),ref:I}),anchor:s,transitionDuration:G.current||T,onClose:m,ref:n},A)),!c&&P==="temporary"&&x.jsx(OM,{children:x.jsx(vie,C({anchor:s,ref:V,width:$},_))})]})}),Pie=wie;function ME(e){return Pe("MuiSwitch",e)}const kie=_e("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),lr=kie,_ie=["className","color","edge","size","sx"],Rie=Go(),Tie=e=>{const{classes:t,edge:n,size:r,color:o,checked:i,disabled:s}=e,a={root:["root",n&&`edge${Q(n)}`,`size${Q(r)}`],switchBase:["switchBase",`color${Q(o)}`,i&&"checked",s&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},l=Re(a,ME,t);return C({},t,l)},$ie=X("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${Q(n.edge)}`],t[`size${Q(n.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,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,[`& .${lr.thumb}`]:{width:16,height:16},[`& .${lr.switchBase}`]:{padding:4,[`&.${lr.checked}`]:{transform:"translateX(16px)"}}}}]}),Oie=X(m1,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${lr.input}`]:t.input},n.color!=="default"&&t[`color${Q(n.color)}`]]}})(({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}),[`&.${lr.checked}`]:{transform:"translateX(20px)"},[`&.${lr.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${lr.checked} + .${lr.track}`]:{opacity:.5},[`&.${lr.disabled} + .${lr.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${lr.input}`]:{left:"-100%",width:"300%"}}),({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:st(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(([,t])=>t.main&&t.light).map(([t])=>({props:{color:t},style:{[`&.${lr.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:st(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${lr.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${e.palette.mode==="light"?Ms(e.palette[t].main,.62):Os(e.palette[t].main,.55)}`}},[`&.${lr.checked} + .${lr.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]})),Mie=X("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(({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}`})),Aie=X("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),Iie=R.forwardRef(function(t,n){const r=Rie({props:t,name:"MuiSwitch"}),{className:o,color:i="primary",edge:s=!1,size:a="medium",sx:l}=r,c=ne(r,_ie),u=C({},r,{color:i,edge:s,size:a}),f=Tie(u),p=x.jsx(Aie,{className:f.thumb,ownerState:u});return x.jsxs($ie,{className:te(f.root,o),sx:l,ownerState:u,children:[x.jsx(Oie,C({type:"checkbox",icon:p,checkedIcon:p,ref:n,ownerState:u},c,{classes:C({},f,{root:f.switchBase})})),x.jsx(Mie,{className:f.track,ownerState:u})]})}),Eie=Iie;function AE(e){return Pe("MuiTab",e)}const Lie=_e("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),Pi=Lie,jie=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],Bie=e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:o,icon:i,label:s,selected:a,disabled:l}=e,c={root:["root",i&&s&&"labelIcon",`textColor${Q(n)}`,r&&"fullWidth",o&&"wrapped",a&&"selected",l&&"disabled"],iconWrapper:["iconWrapper"]};return Re(c,AE,t)},Die=X(Mn,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${Q(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped,{[`& .${Pi.iconWrapper}`]:t.iconWrapper}]}})(({theme:e,ownerState:t})=>C({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:t.iconPosition==="top"||t.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${Pi.iconWrapper}`]:C({},t.iconPosition==="top"&&{marginBottom:6},t.iconPosition==="bottom"&&{marginTop:6},t.iconPosition==="start"&&{marginRight:e.spacing(1)},t.iconPosition==="end"&&{marginLeft:e.spacing(1)})},t.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${Pi.selected}`]:{opacity:1},[`&.${Pi.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.textColor==="primary"&&{color:(e.vars||e).palette.text.secondary,[`&.${Pi.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${Pi.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.textColor==="secondary"&&{color:(e.vars||e).palette.text.secondary,[`&.${Pi.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${Pi.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),Nie=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiTab"}),{className:o,disabled:i=!1,disableFocusRipple:s=!1,fullWidth:a,icon:l,iconPosition:c="top",indicator:u,label:f,onChange:p,onClick:h,onFocus:v,selected:m,selectionFollowsFocus:w,textColor:y="inherit",value:S,wrapped:_=!1}=r,$=ne(r,jie),T=C({},r,{disabled:i,disableFocusRipple:s,selected:m,icon:!!l,iconPosition:c,label:!!f,fullWidth:a,textColor:y,wrapped:_}),P=Bie(T),O=l&&f&&R.isValidElement(l)?R.cloneElement(l,{className:te(P.iconWrapper,l.props.className)}):l,A=j=>{!m&&p&&p(j,S),h&&h(j)},E=j=>{w&&!m&&p&&p(j,S),v&&v(j)};return x.jsxs(Die,C({focusRipple:!s,className:te(P.root,o),ref:n,role:"tab","aria-selected":m,disabled:i,onClick:A,onFocus:E,ownerState:T,tabIndex:m?0:-1},$,{children:[c==="top"||c==="start"?x.jsxs(R.Fragment,{children:[O,f]}):x.jsxs(R.Fragment,{children:[f,O]}),u]}))}),Fie=Nie,IE=R.createContext();function EE(e){return Pe("MuiTable",e)}const zie=_e("MuiTable",["root","stickyHeader"]),Vie=zie,Wie=["className","component","padding","size","stickyHeader"],Hie=e=>{const{classes:t,stickyHeader:n}=e;return Re({root:["root",n&&"stickyHeader"]},EE,t)},Uie=X("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>C({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":C({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"})),bk="table",Gie=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiTable"}),{className:o,component:i=bk,padding:s="normal",size:a="medium",stickyHeader:l=!1}=r,c=ne(r,Wie),u=C({},r,{component:i,padding:s,size:a,stickyHeader:l}),f=Hie(u),p=R.useMemo(()=>({padding:s,size:a,stickyHeader:l}),[s,a,l]);return x.jsx(IE.Provider,{value:p,children:x.jsx(Uie,C({as:i,role:i===bk?null:"table",ref:n,className:te(f.root,o),ownerState:u},c))})}),Kie=Gie,qd=R.createContext();function LE(e){return Pe("MuiTableBody",e)}const Yie=_e("MuiTableBody",["root"]),Xie=Yie,qie=["className","component"],Qie=e=>{const{classes:t}=e;return Re({root:["root"]},LE,t)},Zie=X("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),Jie={variant:"body"},xk="tbody",ese=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiTableBody"}),{className:o,component:i=xk}=r,s=ne(r,qie),a=C({},r,{component:i}),l=Qie(a);return x.jsx(qd.Provider,{value:Jie,children:x.jsx(Zie,C({className:te(l.root,o),as:i,ref:n,role:i===xk?null:"rowgroup",ownerState:a},s))})}),tse=ese;function jE(e){return Pe("MuiTableCell",e)}const nse=_e("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),BE=nse,rse=["align","className","component","padding","scope","size","sortDirection","variant"],ose=e=>{const{classes:t,variant:n,align:r,padding:o,size:i,stickyHeader:s}=e,a={root:["root",n,s&&"stickyHeader",r!=="inherit"&&`align${Q(r)}`,o!=="normal"&&`padding${Q(o)}`,`size${Q(i)}`]};return Re(a,jE,t)},ise=X("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${Q(n.size)}`],n.padding!=="normal"&&t[`padding${Q(n.padding)}`],n.align!=="inherit"&&t[`align${Q(n.align)}`],n.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>C({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid + ${e.palette.mode==="light"?Ms(st(e.palette.divider,1),.88):Os(st(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},t.variant==="head"&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},t.variant==="body"&&{color:(e.vars||e).palette.text.primary},t.variant==="footer"&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},t.size==="small"&&{padding:"6px 16px",[`&.${BE.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},t.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},t.padding==="none"&&{padding:0},t.align==="left"&&{textAlign:"left"},t.align==="center"&&{textAlign:"center"},t.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},t.align==="justify"&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default})),sse=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiTableCell"}),{align:o="inherit",className:i,component:s,padding:a,scope:l,size:c,sortDirection:u,variant:f}=r,p=ne(r,rse),h=R.useContext(IE),v=R.useContext(qd),m=v&&v.variant==="head";let w;s?w=s:w=m?"th":"td";let y=l;w==="td"?y=void 0:!y&&m&&(y="col");const S=f||v&&v.variant,_=C({},r,{align:o,component:w,padding:a||(h&&h.padding?h.padding:"normal"),size:c||(h&&h.size?h.size:"medium"),sortDirection:u,stickyHeader:S==="head"&&h&&h.stickyHeader,variant:S}),$=ose(_);let T=null;return u&&(T=u==="asc"?"ascending":"descending"),x.jsx(ise,C({as:w,ref:n,className:te($.root,i),"aria-sort":T,scope:y,ownerState:_},p))}),Xh=sse;function DE(e){return Pe("MuiTableContainer",e)}const ase=_e("MuiTableContainer",["root"]),lse=ase,cse=["className","component"],use=e=>{const{classes:t}=e;return Re({root:["root"]},DE,t)},dse=X("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),fse=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiTableContainer"}),{className:o,component:i="div"}=r,s=ne(r,cse),a=C({},r,{component:i}),l=use(a);return x.jsx(dse,C({ref:n,as:i,className:te(l.root,o),ownerState:a},s))}),pse=fse;function NE(e){return Pe("MuiTableFooter",e)}const hse=_e("MuiTableFooter",["root"]),gse=hse,mse=["className","component"],vse=e=>{const{classes:t}=e;return Re({root:["root"]},NE,t)},yse=X("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),bse={variant:"footer"},Ck="tfoot",xse=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiTableFooter"}),{className:o,component:i=Ck}=r,s=ne(r,mse),a=C({},r,{component:i}),l=vse(a);return x.jsx(qd.Provider,{value:bse,children:x.jsx(yse,C({as:i,className:te(l.root,o),ref:n,role:i===Ck?null:"rowgroup",ownerState:a},s))})}),Cse=xse;function FE(e){return Pe("MuiTableHead",e)}const Sse=_e("MuiTableHead",["root"]),wse=Sse,Pse=["className","component"],kse=e=>{const{classes:t}=e;return Re({root:["root"]},FE,t)},_se=X("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),Rse={variant:"head"},Sk="thead",Tse=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiTableHead"}),{className:o,component:i=Sk}=r,s=ne(r,Pse),a=C({},r,{component:i}),l=kse(a);return x.jsx(qd.Provider,{value:Rse,children:x.jsx(_se,C({as:i,className:te(l.root,o),ref:n,role:i===Sk?null:"rowgroup",ownerState:a},s))})}),$se=Tse;function zE(e){return Pe("MuiToolbar",e)}const Ose=_e("MuiToolbar",["root","gutters","regular","dense"]),Mse=Ose,Ase=["className","component","disableGutters","variant"],Ise=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Re({root:["root",!n&&"gutters",r]},zE,t)},Ese=X("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(({theme:e,ownerState:t})=>C({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),Lse=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiToolbar"}),{className:o,component:i="div",disableGutters:s=!1,variant:a="regular"}=r,l=ne(r,Ase),c=C({},r,{component:i,disableGutters:s,variant:a}),u=Ise(c);return x.jsx(Ese,C({as:i,className:te(u.root,o),ref:n,ownerState:c},l))}),T1=Lse,VE=Ut(x.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),WE=Ut(x.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),jse=["backIconButtonProps","count","disabled","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton","slots","slotProps"],Bse=R.forwardRef(function(t,n){var r,o,i,s,a,l,c,u;const{backIconButtonProps:f,count:p,disabled:h=!1,getItemAriaLabel:v,nextIconButtonProps:m,onPageChange:w,page:y,rowsPerPage:S,showFirstButton:_,showLastButton:$,slots:T={},slotProps:P={}}=t,O=ne(t,jse),A=hi(),E=Ae=>{w(Ae,0)},j=Ae=>{w(Ae,y-1)},B=Ae=>{w(Ae,y+1)},V=Ae=>{w(Ae,Math.max(0,Math.ceil(p/S)-1))},H=(r=T.firstButton)!=null?r:yr,U=(o=T.lastButton)!=null?o:yr,I=(i=T.nextButton)!=null?i:yr,D=(s=T.previousButton)!=null?s:yr,G=(a=T.firstButtonIcon)!=null?a:Uy,N=(l=T.lastButtonIcon)!=null?l:Gy,K=(c=T.nextButtonIcon)!=null?c:WE,Z=(u=T.previousButtonIcon)!=null?u:VE,ve=A?U:H,Ce=A?I:D,se=A?D:I,ae=A?H:U,ye=A?P.lastButton:P.firstButton,ue=A?P.nextButton:P.previousButton,Be=A?P.previousButton:P.nextButton,ce=A?P.firstButton:P.lastButton;return x.jsxs("div",C({ref:n},O,{children:[_&&x.jsx(ve,C({onClick:E,disabled:h||y===0,"aria-label":v("first",y),title:v("first",y)},ye,{children:A?x.jsx(N,C({},P.lastButtonIcon)):x.jsx(G,C({},P.firstButtonIcon))})),x.jsx(Ce,C({onClick:j,disabled:h||y===0,color:"inherit","aria-label":v("previous",y),title:v("previous",y)},ue??f,{children:A?x.jsx(K,C({},P.nextButtonIcon)):x.jsx(Z,C({},P.previousButtonIcon))})),x.jsx(se,C({onClick:B,disabled:h||(p!==-1?y>=Math.ceil(p/S)-1:!1),color:"inherit","aria-label":v("next",y),title:v("next",y)},Be??m,{children:A?x.jsx(Z,C({},P.previousButtonIcon)):x.jsx(K,C({},P.nextButtonIcon))})),$&&x.jsx(ae,C({onClick:V,disabled:h||y>=Math.ceil(p/S)-1,"aria-label":v("last",y),title:v("last",y)},ce,{children:A?x.jsx(G,C({},P.firstButtonIcon)):x.jsx(N,C({},P.lastButtonIcon))}))]}))});function HE(e){return Pe("MuiTablePagination",e)}const Dse=_e("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]),Bl=Dse;var wk;const Nse=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","disabled","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton","slotProps","slots"],Fse=X(Xh,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}})),zse=X(T1,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>C({[`& .${Bl.actions}`]:t.actions},t.toolbar)})(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${Bl.actions}`]:{flexShrink:0,marginLeft:20}})),Vse=X("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),Wse=X("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(({theme:e})=>C({},e.typography.body2,{flexShrink:0})),Hse=X($m,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>C({[`& .${Bl.selectIcon}`]:t.selectIcon,[`& .${Bl.select}`]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${Bl.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),Use=X(P1,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),Gse=X("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(({theme:e})=>C({},e.typography.body2,{flexShrink:0}));function Kse({from:e,to:t,count:n}){return`${e}–${t} of ${n!==-1?n:`more than ${t}`}`}function Yse(e){return`Go to ${e} page`}const Xse=e=>{const{classes:t}=e;return Re({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},HE,t)},qse=R.forwardRef(function(t,n){var r;const o=Ee({props:t,name:"MuiTablePagination"}),{ActionsComponent:i=Bse,backIconButtonProps:s,className:a,colSpan:l,component:c=Xh,count:u,disabled:f=!1,getItemAriaLabel:p=Yse,labelDisplayedRows:h=Kse,labelRowsPerPage:v="Rows per page:",nextIconButtonProps:m,onPageChange:w,onRowsPerPageChange:y,page:S,rowsPerPage:_,rowsPerPageOptions:$=[10,25,50,100],SelectProps:T={},showFirstButton:P=!1,showLastButton:O=!1,slotProps:A={},slots:E={}}=o,j=ne(o,Nse),B=o,V=Xse(B),H=(r=A==null?void 0:A.select)!=null?r:T,U=H.native?"option":Use;let I;(c===Xh||c==="td")&&(I=l||1e3);const D=_o(H.id),G=_o(H.labelId),N=()=>u===-1?(S+1)*_:_===-1?u:Math.min(u,(S+1)*_);return x.jsx(Fse,C({colSpan:I,ref:n,as:c,ownerState:B,className:te(V.root,a)},j,{children:x.jsxs(zse,{className:V.toolbar,children:[x.jsx(Vse,{className:V.spacer}),$.length>1&&x.jsx(Wse,{className:V.selectLabel,id:G,children:v}),$.length>1&&x.jsx(Hse,C({variant:"standard"},!H.variant&&{input:wk||(wk=x.jsx(Yd,{}))},{value:_,onChange:y,id:D,labelId:G},H,{classes:C({},H.classes,{root:te(V.input,V.selectRoot,(H.classes||{}).root),select:te(V.select,(H.classes||{}).select),icon:te(V.selectIcon,(H.classes||{}).icon)}),disabled:f,children:$.map(K=>R.createElement(U,C({},!Wo(U)&&{ownerState:B},{className:V.menuItem,key:K.label?K.label:K,value:K.value?K.value:K}),K.label?K.label:K))})),x.jsx(Gse,{className:V.displayedRows,children:h({from:u===0?0:S*_+1,to:N(),count:u===-1?-1:u,page:S})}),x.jsx(i,{className:V.actions,backIconButtonProps:s,count:u,nextIconButtonProps:m,onPageChange:w,page:S,rowsPerPage:_,showFirstButton:P,showLastButton:O,slotProps:A.actions,slots:E.actions,getItemAriaLabel:p,disabled:f})]})}))}),Qse=qse;function UE(e){return Pe("MuiTableRow",e)}const Zse=_e("MuiTableRow",["root","selected","hover","head","footer"]),Xy=Zse,Jse=["className","component","hover","selected"],eae=e=>{const{classes:t,selected:n,hover:r,head:o,footer:i}=e;return Re({root:["root",n&&"selected",r&&"hover",o&&"head",i&&"footer"]},UE,t)},tae=X("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${Xy.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Xy.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:st(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}))`:st(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),Pk="tr",nae=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiTableRow"}),{className:o,component:i=Pk,hover:s=!1,selected:a=!1}=r,l=ne(r,Jse),c=R.useContext(qd),u=C({},r,{component:i,hover:s,selected:a,head:c&&c.variant==="head",footer:c&&c.variant==="footer"}),f=eae(u);return x.jsx(tae,C({as:i,ref:n,className:te(f.root,o),role:i===Pk?null:"row",ownerState:u},l))}),rae=nae,oae=Ut(x.jsx("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");function GE(e){return Pe("MuiTableSortLabel",e)}const iae=_e("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc"]),nh=iae,sae=["active","children","className","direction","hideSortIcon","IconComponent"],aae=e=>{const{classes:t,direction:n,active:r}=e,o={root:["root",r&&"active"],icon:["icon",`iconDirection${Q(n)}`]};return Re(o,GE,t)},lae=X(Mn,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.active&&t.active]}})(({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,[`& .${nh.icon}`]:{opacity:.5}},[`&.${nh.active}`]:{color:(e.vars||e).palette.text.primary,[`& .${nh.icon}`]:{opacity:1,color:(e.vars||e).palette.text.secondary}}})),cae=X("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,t[`iconDirection${Q(n.direction)}`]]}})(({theme:e,ownerState:t})=>C({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none"},t.direction==="desc"&&{transform:"rotate(0deg)"},t.direction==="asc"&&{transform:"rotate(180deg)"})),uae=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiTableSortLabel"}),{active:o=!1,children:i,className:s,direction:a="asc",hideSortIcon:l=!1,IconComponent:c=oae}=r,u=ne(r,sae),f=C({},r,{active:o,direction:a,hideSortIcon:l,IconComponent:c}),p=aae(f);return x.jsxs(lae,C({className:te(p.root,s),component:"span",disableRipple:!0,ownerState:f,ref:n},u,{children:[i,l&&!o?null:x.jsx(cae,{as:c,className:te(p.icon),ownerState:f})]}))}),dae=uae;function fae(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function pae(e,t,n,r={},o=()=>{}){const{ease:i=fae,duration:s=300}=r;let a=null;const l=t[e];let c=!1;const u=()=>{c=!0},f=p=>{if(c){o(new Error("Animation cancelled"));return}a===null&&(a=p);const h=Math.min(1,(p-a)/s);if(t[e]=i(h)*(n-l)+l,h>=1){requestAnimationFrame(()=>{o(null)});return}requestAnimationFrame(f)};return l===n?(o(new Error("Element already at target position")),u):(requestAnimationFrame(f),u)}const hae=["onChange"],gae={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function mae(e){const{onChange:t}=e,n=ne(e,hae),r=R.useRef(),o=R.useRef(null),i=()=>{r.current=o.current.offsetHeight-o.current.clientHeight};return On(()=>{const s=Na(()=>{const l=r.current;i(),l!==r.current&&t(r.current)}),a=Jn(o.current);return a.addEventListener("resize",s),()=>{s.clear(),a.removeEventListener("resize",s)}},[t]),R.useEffect(()=>{i(),t(r.current)},[t]),x.jsx("div",C({style:gae,ref:o},n))}function KE(e){return Pe("MuiTabScrollButton",e)}const vae=_e("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),YE=vae,yae=["className","slots","slotProps","direction","orientation","disabled"],bae=e=>{const{classes:t,orientation:n,disabled:r}=e;return Re({root:["root",n,r&&"disabled"]},KE,t)},xae=X(Mn,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})(({ownerState:e})=>C({width:40,flexShrink:0,opacity:.8,[`&.${YE.disabled}`]:{opacity:0}},e.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),Cae=R.forwardRef(function(t,n){var r,o;const i=Ee({props:t,name:"MuiTabScrollButton"}),{className:s,slots:a={},slotProps:l={},direction:c}=i,u=ne(i,yae),f=hi(),p=C({isRtl:f},i),h=bae(p),v=(r=a.StartScrollButtonIcon)!=null?r:VE,m=(o=a.EndScrollButtonIcon)!=null?o:WE,w=an({elementType:v,externalSlotProps:l.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:p}),y=an({elementType:m,externalSlotProps:l.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:p});return x.jsx(xae,C({component:"div",className:te(h.root,s),ref:n,role:null,ownerState:p,tabIndex:null},u,{children:c==="left"?x.jsx(v,C({},w)):x.jsx(m,C({},y))}))}),XE=Cae;function qE(e){return Pe("MuiTabs",e)}const Sae=_e("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),rh=Sae,wae=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],kk=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,_k=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,fp=(e,t,n)=>{let r=!1,o=n(e,t);for(;o;){if(o===e.firstChild){if(r)return;r=!0}const i=o.disabled||o.getAttribute("aria-disabled")==="true";if(!o.hasAttribute("tabindex")||i)o=n(e,o);else{o.focus();return}}},Pae=e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:o,scrollableY:i,centered:s,scrollButtonsHideMobile:a,classes:l}=e;return Re({root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",o&&"scrollableX",i&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",s&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",a&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},qE,l)},kae=X("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${rh.scrollButtons}`]:t.scrollButtons},{[`& .${rh.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>C({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${rh.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),_ae=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]}})(({ownerState:e})=>C({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),Rae=X("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})(({ownerState:e})=>C({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),Tae=X("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>C({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},e.indicatorColor==="primary"&&{backgroundColor:(t.vars||t).palette.primary.main},e.indicatorColor==="secondary"&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),$ae=X(mae)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),Rk={},Oae=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiTabs"}),o=tr(),i=hi(),{"aria-label":s,"aria-labelledby":a,action:l,centered:c=!1,children:u,className:f,component:p="div",allowScrollButtonsMobile:h=!1,indicatorColor:v="primary",onChange:m,orientation:w="horizontal",ScrollButtonComponent:y=XE,scrollButtons:S="auto",selectionFollowsFocus:_,slots:$={},slotProps:T={},TabIndicatorProps:P={},TabScrollButtonProps:O={},textColor:A="primary",value:E,variant:j="standard",visibleScrollbar:B=!1}=r,V=ne(r,wae),H=j==="scrollable",U=w==="vertical",I=U?"scrollTop":"scrollLeft",D=U?"top":"left",G=U?"bottom":"right",N=U?"clientHeight":"clientWidth",K=U?"height":"width",Z=C({},r,{component:p,allowScrollButtonsMobile:h,indicatorColor:v,orientation:w,vertical:U,scrollButtons:S,textColor:A,variant:j,visibleScrollbar:B,fixed:!H,hideScrollbar:H&&!B,scrollableX:H&&!U,scrollableY:H&&U,centered:c&&!H,scrollButtonsHideMobile:!h}),ve=Pae(Z),Ce=an({elementType:$.StartScrollButtonIcon,externalSlotProps:T.startScrollButtonIcon,ownerState:Z}),se=an({elementType:$.EndScrollButtonIcon,externalSlotProps:T.endScrollButtonIcon,ownerState:Z}),[ae,ye]=R.useState(!1),[ue,Be]=R.useState(Rk),[ce,Ae]=R.useState(!1),[Ke,Le]=R.useState(!1),[xe,$e]=R.useState(!1),[Ne,ke]=R.useState({overflow:"hidden",scrollbarWidth:0}),Oe=new Map,Je=R.useRef(null),He=R.useRef(null),vt=()=>{const q=Je.current;let oe;if(q){const Me=q.getBoundingClientRect();oe={clientWidth:q.clientWidth,scrollLeft:q.scrollLeft,scrollTop:q.scrollTop,scrollLeftNormalized:B8(q,i?"rtl":"ltr"),scrollWidth:q.scrollWidth,top:Me.top,bottom:Me.bottom,left:Me.left,right:Me.right}}let we;if(q&&E!==!1){const Me=He.current.children;if(Me.length>0){const Xe=Me[Oe.get(E)];we=Xe?Xe.getBoundingClientRect():null}}return{tabsMeta:oe,tabMeta:we}},qe=Qt(()=>{const{tabsMeta:q,tabMeta:oe}=vt();let we=0,Me;if(U)Me="top",oe&&q&&(we=oe.top-q.top+q.scrollTop);else if(Me=i?"right":"left",oe&&q){const ot=i?q.scrollLeftNormalized+q.clientWidth-q.scrollWidth:q.scrollLeft;we=(i?-1:1)*(oe[Me]-q[Me]+ot)}const Xe={[Me]:we,[K]:oe?oe[K]:0};if(isNaN(ue[Me])||isNaN(ue[K]))Be(Xe);else{const ot=Math.abs(ue[Me]-Xe[Me]),ct=Math.abs(ue[K]-Xe[K]);(ot>=1||ct>=1)&&Be(Xe)}}),tt=(q,{animation:oe=!0}={})=>{oe?pae(I,Je.current,q,{duration:o.transitions.duration.standard}):Je.current[I]=q},ht=q=>{let oe=Je.current[I];U?oe+=q:(oe+=q*(i?-1:1),oe*=i&&AO()==="reverse"?-1:1),tt(oe)},nt=()=>{const q=Je.current[N];let oe=0;const we=Array.from(He.current.children);for(let Me=0;Meq){Me===0&&(oe=q);break}oe+=Xe[N]}return oe},at=()=>{ht(-1*nt())},Pt=()=>{ht(nt())},Tt=R.useCallback(q=>{ke({overflow:null,scrollbarWidth:q})},[]),he=()=>{const q={};q.scrollbarSizeListener=H?x.jsx($ae,{onChange:Tt,className:te(ve.scrollableX,ve.hideScrollbar)}):null;const we=H&&(S==="auto"&&(ce||Ke)||S===!0);return q.scrollButtonStart=we?x.jsx(y,C({slots:{StartScrollButtonIcon:$.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:Ce},orientation:w,direction:i?"right":"left",onClick:at,disabled:!ce},O,{className:te(ve.scrollButtons,O.className)})):null,q.scrollButtonEnd=we?x.jsx(y,C({slots:{EndScrollButtonIcon:$.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:se},orientation:w,direction:i?"left":"right",onClick:Pt,disabled:!Ke},O,{className:te(ve.scrollButtons,O.className)})):null,q},F=Qt(q=>{const{tabsMeta:oe,tabMeta:we}=vt();if(!(!we||!oe)){if(we[D]oe[G]){const Me=oe[I]+(we[G]-oe[G]);tt(Me,{animation:q})}}}),W=Qt(()=>{H&&S!==!1&&$e(!xe)});R.useEffect(()=>{const q=Na(()=>{Je.current&&qe()});let oe;const we=ot=>{ot.forEach(ct=>{ct.removedNodes.forEach(dt=>{var yt;(yt=oe)==null||yt.unobserve(dt)}),ct.addedNodes.forEach(dt=>{var yt;(yt=oe)==null||yt.observe(dt)})}),q(),W()},Me=Jn(Je.current);Me.addEventListener("resize",q);let Xe;return typeof ResizeObserver<"u"&&(oe=new ResizeObserver(q),Array.from(He.current.children).forEach(ot=>{oe.observe(ot)})),typeof MutationObserver<"u"&&(Xe=new MutationObserver(we),Xe.observe(He.current,{childList:!0})),()=>{var ot,ct;q.clear(),Me.removeEventListener("resize",q),(ot=Xe)==null||ot.disconnect(),(ct=oe)==null||ct.disconnect()}},[qe,W]),R.useEffect(()=>{const q=Array.from(He.current.children),oe=q.length;if(typeof IntersectionObserver<"u"&&oe>0&&H&&S!==!1){const we=q[0],Me=q[oe-1],Xe={root:Je.current,threshold:.99},ot=St=>{Ae(!St[0].isIntersecting)},ct=new IntersectionObserver(ot,Xe);ct.observe(we);const dt=St=>{Le(!St[0].isIntersecting)},yt=new IntersectionObserver(dt,Xe);return yt.observe(Me),()=>{ct.disconnect(),yt.disconnect()}}},[H,S,xe,u==null?void 0:u.length]),R.useEffect(()=>{ye(!0)},[]),R.useEffect(()=>{qe()}),R.useEffect(()=>{F(Rk!==ue)},[F,ue]),R.useImperativeHandle(l,()=>({updateIndicator:qe,updateScrollButtons:W}),[qe,W]);const ee=x.jsx(Tae,C({},P,{className:te(ve.indicator,P.className),ownerState:Z,style:C({},ue,P.style)}));let je=0;const ze=R.Children.map(u,q=>{if(!R.isValidElement(q))return null;const oe=q.props.value===void 0?je:q.props.value;Oe.set(oe,je);const we=oe===E;return je+=1,R.cloneElement(q,C({fullWidth:j==="fullWidth",indicator:we&&!ae&&ee,selected:we,selectionFollowsFocus:_,onChange:m,textColor:A,value:oe},je===1&&E===!1&&!q.props.tabIndex?{tabIndex:0}:{}))}),me=q=>{const oe=He.current,we=Ft(oe).activeElement;if(we.getAttribute("role")!=="tab")return;let Xe=w==="horizontal"?"ArrowLeft":"ArrowUp",ot=w==="horizontal"?"ArrowRight":"ArrowDown";switch(w==="horizontal"&&i&&(Xe="ArrowRight",ot="ArrowLeft"),q.key){case Xe:q.preventDefault(),fp(oe,we,_k);break;case ot:q.preventDefault(),fp(oe,we,kk);break;case"Home":q.preventDefault(),fp(oe,null,kk);break;case"End":q.preventDefault(),fp(oe,null,_k);break}},J=he();return x.jsxs(kae,C({className:te(ve.root,f),ownerState:Z,ref:n,as:p},V,{children:[J.scrollButtonStart,J.scrollbarSizeListener,x.jsxs(_ae,{className:ve.scroller,ownerState:Z,style:{overflow:Ne.overflow,[U?`margin${i?"Left":"Right"}`:"marginBottom"]:B?void 0:-Ne.scrollbarWidth},ref:Je,children:[x.jsx(Rae,{"aria-label":s,"aria-labelledby":a,"aria-orientation":w==="vertical"?"vertical":null,className:ve.flexContainer,ownerState:Z,onKeyDown:me,ref:He,role:"tablist",children:ze}),ae&&ee]}),J.scrollButtonEnd]}))}),Mae=Oae;function QE(e){return Pe("MuiTextField",e)}const Aae=_e("MuiTextField",["root"]),Iae=Aae,Eae=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],Lae={standard:_m,filled:b1,outlined:_1},jae=e=>{const{classes:t}=e;return Re({root:["root"]},QE,t)},Bae=X(x1,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Dae=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiTextField"}),{autoComplete:o,autoFocus:i=!1,children:s,className:a,color:l="primary",defaultValue:c,disabled:u=!1,error:f=!1,FormHelperTextProps:p,fullWidth:h=!1,helperText:v,id:m,InputLabelProps:w,inputProps:y,InputProps:S,inputRef:_,label:$,maxRows:T,minRows:P,multiline:O=!1,name:A,onBlur:E,onChange:j,onFocus:B,placeholder:V,required:H=!1,rows:U,select:I=!1,SelectProps:D,type:G,value:N,variant:K="outlined"}=r,Z=ne(r,Eae),ve=C({},r,{autoFocus:i,color:l,disabled:u,error:f,fullWidth:h,multiline:O,required:H,select:I,variant:K}),Ce=jae(ve),se={};K==="outlined"&&(w&&typeof w.shrink<"u"&&(se.notched=w.shrink),se.label=$),I&&((!D||!D.native)&&(se.id=void 0),se["aria-describedby"]=void 0);const ae=_o(m),ye=v&&ae?`${ae}-helper-text`:void 0,ue=$&&ae?`${ae}-label`:void 0,Be=Lae[K],ce=x.jsx(Be,C({"aria-describedby":ye,autoComplete:o,autoFocus:i,defaultValue:c,fullWidth:h,multiline:O,name:A,rows:U,maxRows:T,minRows:P,type:G,value:N,id:ae,inputRef:_,onBlur:E,onChange:j,onFocus:B,placeholder:V,inputProps:y},se,S));return x.jsxs(Bae,C({className:te(Ce.root,a),disabled:u,error:f,fullWidth:h,ref:n,required:H,color:l,variant:K,ownerState:ve},Z,{children:[$!=null&&$!==""&&x.jsx(C1,C({htmlFor:ae,id:ue},w,{children:$})),I?x.jsx($m,C({"aria-describedby":ye,id:ae,labelId:ue,value:N,input:ce},D,{children:s})):ce,v&&x.jsx(YA,C({id:ye},p,{children:v}))]}))}),Nae=Dae;function ZE(e){return Pe("MuiToggleButton",e)}const Fae=_e("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]),va=Fae,JE=R.createContext({}),eL=R.createContext(void 0);function zae(e,t){return t===void 0||e===void 0?!1:Array.isArray(t)?t.indexOf(e)>=0:e===t}const Vae=["value"],Wae=["children","className","color","disabled","disableFocusRipple","fullWidth","onChange","onClick","selected","size","value"],Hae=e=>{const{classes:t,fullWidth:n,selected:r,disabled:o,size:i,color:s}=e,a={root:["root",r&&"selected",o&&"disabled",n&&"fullWidth",`size${Q(i)}`,s]};return Re(a,ZE,t)},Uae=X(Mn,{name:"MuiToggleButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`size${Q(n.size)}`]]}})(({theme:e,ownerState:t})=>{let n=t.color==="standard"?e.palette.text.primary:e.palette[t.color].main,r;return e.vars&&(n=t.color==="standard"?e.vars.palette.text.primary:e.vars.palette[t.color].main,r=t.color==="standard"?e.vars.palette.text.primaryChannel:e.vars.palette[t.color].mainChannel),C({},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},t.fullWidth&&{width:"100%"},{[`&.${va.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})`:xl(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${va.selected}`]:{color:n,backgroundColor:e.vars?`rgba(${r} / ${e.vars.palette.action.selectedOpacity})`:xl(n,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${r} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:xl(n,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${r} / ${e.vars.palette.action.selectedOpacity})`:xl(n,e.palette.action.selectedOpacity)}}}},t.size==="small"&&{padding:7,fontSize:e.typography.pxToRem(13)},t.size==="large"&&{padding:15,fontSize:e.typography.pxToRem(15)})}),Gae=R.forwardRef(function(t,n){const r=R.useContext(JE),{value:o}=r,i=ne(r,Vae),s=R.useContext(eL),a=fm(C({},i,{selected:zae(t.value,o)}),t),l=Ee({props:a,name:"MuiToggleButton"}),{children:c,className:u,color:f="standard",disabled:p=!1,disableFocusRipple:h=!1,fullWidth:v=!1,onChange:m,onClick:w,selected:y,size:S="medium",value:_}=l,$=ne(l,Wae),T=C({},l,{color:f,disabled:p,disableFocusRipple:h,fullWidth:v,size:S}),P=Hae(T),O=E=>{w&&(w(E,_),E.defaultPrevented)||m&&m(E,_)},A=s||"";return x.jsx(Uae,C({className:te(i.className,P.root,u,A),disabled:p,focusRipple:!h,ref:n,onClick:O,onChange:m,value:_,ownerState:T,"aria-pressed":y},$,{children:c}))}),Kae=Gae;function tL(e){return Pe("MuiToggleButtonGroup",e)}const Yae=_e("MuiToggleButtonGroup",["root","selected","horizontal","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]),en=Yae,Xae=["children","className","color","disabled","exclusive","fullWidth","onChange","orientation","size","value"],qae=e=>{const{classes:t,orientation:n,fullWidth:r,disabled:o}=e,i={root:["root",n==="vertical"&&"vertical",r&&"fullWidth"],grouped:["grouped",`grouped${Q(n)}`,o&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return Re(i,tL,t)},Qae=X("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${en.grouped}`]:t.grouped},{[`& .${en.grouped}`]:t[`grouped${Q(n.orientation)}`]},{[`& .${en.firstButton}`]:t.firstButton},{[`& .${en.lastButton}`]:t.lastButton},{[`& .${en.middleButton}`]:t.middleButton},t.root,n.orientation==="vertical"&&t.vertical,n.fullWidth&&t.fullWidth]}})(({ownerState:e,theme:t})=>C({display:"inline-flex",borderRadius:(t.vars||t).shape.borderRadius},e.orientation==="vertical"&&{flexDirection:"column"},e.fullWidth&&{width:"100%"},{[`& .${en.grouped}`]:C({},e.orientation==="horizontal"?{[`&.${en.selected} + .${en.grouped}.${en.selected}`]:{borderLeft:0,marginLeft:0}}:{[`&.${en.selected} + .${en.grouped}.${en.selected}`]:{borderTop:0,marginTop:0}})},e.orientation==="horizontal"?{[`& .${en.firstButton},& .${en.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${en.lastButton},& .${en.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0}}:{[`& .${en.firstButton},& .${en.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${en.lastButton},& .${en.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0}},e.orientation==="horizontal"?{[`& .${en.lastButton}.${va.disabled},& .${en.middleButton}.${va.disabled}`]:{borderLeft:"1px solid transparent"}}:{[`& .${en.lastButton}.${va.disabled},& .${en.middleButton}.${va.disabled}`]:{borderTop:"1px solid transparent"}})),Zae=R.forwardRef(function(t,n){const r=Ee({props:t,name:"MuiToggleButtonGroup"}),{children:o,className:i,color:s="standard",disabled:a=!1,exclusive:l=!1,fullWidth:c=!1,onChange:u,orientation:f="horizontal",size:p="medium",value:h}=r,v=ne(r,Xae),m=C({},r,{disabled:a,fullWidth:c,orientation:f,size:p}),w=qae(m),y=R.useCallback((O,A)=>{if(!u)return;const E=h&&h.indexOf(A);let j;h&&E>=0?(j=h.slice(),j.splice(E,1)):j=h?h.concat(A):[A],u(O,j)},[u,h]),S=R.useCallback((O,A)=>{u&&u(O,h===A?null:A)},[u,h]),_=R.useMemo(()=>({className:w.grouped,onChange:l?S:y,value:h,size:p,fullWidth:c,color:s,disabled:a}),[w.grouped,l,S,y,h,p,c,s,a]),$=IO(o),T=$.length,P=O=>{const A=O===0,E=O===T-1;return A&&E?"":A?w.firstButton:E?w.lastButton:w.middleButton};return x.jsx(Qae,C({role:"group",className:te(w.root,i),ref:n,ownerState:m},v,{children:x.jsx(JE.Provider,{value:_,children:$.map((O,A)=>x.jsx(eL.Provider,{value:P(A),children:O},A))})}))}),Jae=Zae,ele=["getTrigger","target"];function tle(e,t){const{disableHysteresis:n=!1,threshold:r=100,target:o}=t,i=e.current;return o&&(e.current=o.pageYOffset!==void 0?o.pageYOffset:o.scrollTop),!n&&i!==void 0&&e.currentr}const nle=typeof window<"u"?window:null;function rle(e={}){const{getTrigger:t=tle,target:n=nle}=e,r=ne(e,ele),o=R.useRef(),[i,s]=R.useState(()=>t(o,r));return R.useEffect(()=>{const a=()=>{s(t(o,C({target:n},r)))};return a(),n.addEventListener("scroll",a,{passive:!0}),()=>{n.removeEventListener("scroll",a,{passive:!0})}},[n,t,JSON.stringify(r)]),i}/** + * @mui/material v5.15.20 + * + * @license MIT + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */const ole=Object.freeze(Object.defineProperty({__proto__:null,Accordion:G7,AccordionActions:eW,AccordionDetails:lW,AccordionSummary:IW,Alert:QW,AlertTitle:pH,AppBar:PM,Autocomplete:lK,Avatar:rn,AvatarGroup:PK,Backdrop:f1,Badge:zK,BottomNavigation:YK,BottomNavigationAction:tY,Box:mt,Breadcrumbs:yY,Button:Qp,ButtonBase:Mn,ButtonGroup:EY,ButtonGroupButtonContext:g1,ButtonGroupContext:h1,Card:iu,CardActionArea:KY,CardActions:eX,CardContent:su,CardHeader:gX,CardMedia:PX,Checkbox:zX,Chip:QM,CircularProgress:ZX,ClickAwayListener:RM,Collapse:mm,Container:Xd,CssBaseline:oq,Dialog:Sq,DialogActions:$q,DialogContent:Bq,DialogContentText:Hq,DialogTitle:Xq,Divider:au,Drawer:v1,Experimental_CssVarsProvider:n7,Fab:y1,Fade:d1,FilledInput:b1,FormControl:x1,FormControlLabel:BQ,FormGroup:GA,FormHelperText:YA,FormLabel:QA,FormLabelRoot:qA,GlobalStyles:c1,Grid:$r,Grow:gd,Hidden:jZ,Icon:VZ,IconButton:yr,ImageList:XZ,ImageListItem:tJ,ImageListItemBar:fJ,Input:_m,InputAdornment:wJ,InputBase:Yd,InputLabel:C1,LinearProgress:dI,Link:ls,List:Rm,ListItem:Bi,ListItemAvatar:_ee,ListItemButton:cu,ListItemIcon:uu,ListItemSecondaryAction:xI,ListItemText:du,ListSubheader:XM,Menu:OI,MenuItem:P1,MenuList:kI,MobileStepper:yte,Modal:km,ModalManager:$M,NativeSelect:Tte,NoSsr:OM,OutlinedInput:_1,Pagination:ene,PaginationItem:VI,Paper:uo,Popover:TI,PopoverPaper:w1,PopoverRoot:RI,Popper:Kd,Portal:e1,Radio:fne,RadioGroup:yne,Rating:Ene,ScopedCssBaseline:zne,Select:$m,Skeleton:ure,Slide:BA,Slider:xre,SliderMark:sE,SliderMarkLabel:aE,SliderRail:nE,SliderRoot:tE,SliderThumb:oE,SliderTrack:rE,SliderValueLabel:iE,Snackbar:Lre,SnackbarContent:cE,SpeedDial:Yre,SpeedDialAction:uoe,SpeedDialIcon:moe,Stack:wl,Step:koe,StepButton:Uoe,StepConnector:TE,StepContent:sie,StepContext:xc,StepIcon:SE,StepLabel:kE,Stepper:hie,StepperContext:za,StyledEngineProvider:aO,SvgIcon:fd,SwipeableDrawer:Pie,Switch:Eie,THEME_ID:Gi,Tab:Fie,TabScrollButton:XE,Table:Kie,TableBody:tse,TableCell:Xh,TableContainer:pse,TableFooter:Cse,TableHead:$se,TablePagination:Qse,TableRow:rae,TableSortLabel:dae,Tabs:Mae,TextField:Nae,TextareaAutosize:VM,ThemeProvider:ZO,ToggleButton:Kae,ToggleButtonGroup:Jae,Toolbar:T1,Tooltip:jo,Typography:Fe,Unstable_Grid2:gZ,Unstable_TrapFocus:TM,Zoom:dE,accordionActionsClasses:Y7,accordionClasses:ru,accordionDetailsClasses:nW,accordionSummaryClasses:ma,adaptV4Theme:LV,alertClasses:Oy,alertTitleClasses:aH,alpha:xl,appBarClasses:gH,autocompleteClasses:Ct,avatarClasses:oA,avatarGroupClasses:sA,backdropClasses:$K,badgeClasses:wi,bottomNavigationActionClasses:p1,bottomNavigationClasses:WK,boxClasses:dA,breadcrumbsClasses:pA,buttonBaseClasses:gM,buttonClasses:ou,buttonGroupClasses:zn,capitalize:Q,cardActionAreaClasses:Zp,cardActionsClasses:XY,cardClasses:jY,cardContentClasses:nX,cardHeaderClasses:Ey,cardMediaClasses:vX,checkboxClasses:Jp,chipClasses:Ot,circularProgressClasses:WX,collapseClasses:x7,colors:JF,containerClasses:nq,createChainedFunction:ud,createFilterOptions:WM,createMuiTheme:g9,createStyles:v9,createSvgIcon:Ut,createTheme:As,css:ui,darkScrollbar:sq,darken:_O,debounce:Na,decomposeColor:Ki,deprecatedPropType:TO,dialogActionsClasses:Pq,dialogClasses:eh,dialogContentClasses:Mq,dialogContentTextClasses:Nq,dialogTitleClasses:IA,dividerClasses:Ly,drawerClasses:sQ,duration:qx,easing:XO,emphasize:k8,experimentalStyled:X,experimental_extendTheme:eM,experimental_sx:i7,fabClasses:jy,filledInputClasses:Mr,formControlClasses:wQ,formControlLabelClasses:Pl,formGroupClasses:NQ,formHelperTextClasses:By,formLabelClasses:Ll,generateUtilityClass:Pe,generateUtilityClasses:_e,getAccordionActionsUtilityClass:fM,getAccordionDetailsUtilityClass:pM,getAccordionSummaryUtilityClass:mM,getAccordionUtilityClass:dM,getAlertTitleUtilityClass:SM,getAlertUtilityClass:vM,getAppBarUtilityClass:wM,getAutocompleteUtilityClass:nA,getAvatarGroupUtilityClass:iA,getAvatarUtilityClass:rA,getBackdropUtilityClass:aA,getBadgeUtilityClass:lA,getBottomNavigationActionUtilityClass:uA,getBottomNavigationUtilityClass:cA,getBreadcrumbsUtilityClass:fA,getButtonBaseUtilityClass:hM,getButtonGroupUtilityClass:mA,getButtonUtilityClass:hA,getCardActionAreaUtilityClass:yA,getCardActionsUtilityClass:bA,getCardContentUtilityClass:xA,getCardHeaderUtilityClass:CA,getCardMediaUtilityClass:SA,getCardUtilityClass:vA,getCheckboxUtilityClass:wA,getChipUtilityClass:qM,getCircularProgressUtilityClass:PA,getCollapseUtilityClass:iM,getContainerUtilityClass:eq,getContrastRatio:P8,getDialogActionsUtilityClass:OA,getDialogContentTextUtilityClass:EA,getDialogContentUtilityClass:MA,getDialogTitleUtilityClass:AA,getDialogUtilityClass:TA,getDividerUtilityClass:LA,getDrawerUtilityClass:DA,getFabUtilityClass:zA,getFilledInputUtilityClass:tA,getFormControlLabelUtilityClasses:HA,getFormControlUtilityClasses:WA,getFormGroupUtilityClass:UA,getFormHelperTextUtilityClasses:KA,getFormLabelUtilityClasses:XA,getGrid2UtilityClass:mZ,getGridUtilityClass:ZA,getIconButtonUtilityClass:yM,getIconUtilityClass:tI,getImageListItemBarUtilityClass:sI,getImageListItemUtilityClass:iI,getImageListUtilityClass:rI,getInitColorSchemeScript:o7,getInputAdornmentUtilityClass:lI,getInputBaseUtilityClass:ZM,getInputLabelUtilityClasses:cI,getInputUtilityClass:JM,getLinearProgressUtilityClass:uI,getLinkUtilityClass:fI,getListItemAvatarUtilityClass:CI,getListItemButtonUtilityClass:vI,getListItemIconUtilityClass:SI,getListItemSecondaryActionClassesUtilityClass:yI,getListItemTextUtilityClass:wI,getListItemUtilityClass:mI,getListSubheaderUtilityClass:KM,getListUtilityClass:gI,getLuminance:Nh,getMenuItemUtilityClass:MI,getMenuUtilityClass:$I,getMobileStepperUtilityClass:AI,getModalUtilityClass:RA,getNativeSelectUtilityClasses:k1,getOffsetLeft:Hy,getOffsetTop:Wy,getOutlinedInputUtilityClass:eA,getOverlayAlpha:Vh,getPaginationItemUtilityClass:FI,getPaginationUtilityClass:DI,getPaperUtilityClass:aM,getPopoverUtilityClass:_I,getRadioGroupUtilityClass:KI,getRadioUtilityClass:GI,getRatingUtilityClass:YI,getScopedCssBaselineUtilityClass:qI,getSelectUtilityClasses:QI,getSkeletonUtilityClass:JI,getSliderUtilityClass:eE,getSnackbarContentUtilityClass:lE,getSnackbarUtilityClass:uE,getSpeedDialActionUtilityClass:hE,getSpeedDialIconUtilityClass:mE,getSpeedDialUtilityClass:fE,getStepButtonUtilityClass:_E,getStepConnectorUtilityClass:RE,getStepContentUtilityClass:$E,getStepIconUtilityClass:CE,getStepLabelUtilityClass:wE,getStepUtilityClass:xE,getStepperUtilityClass:OE,getSvgIconUtilityClass:nM,getSwitchUtilityClass:ME,getTabScrollButtonUtilityClass:KE,getTabUtilityClass:AE,getTableBodyUtilityClass:LE,getTableCellUtilityClass:jE,getTableContainerUtilityClass:DE,getTableFooterUtilityClass:NE,getTableHeadUtilityClass:FE,getTablePaginationUtilityClass:HE,getTableRowUtilityClass:UE,getTableSortLabelUtilityClass:GE,getTableUtilityClass:EE,getTabsUtilityClass:qE,getTextFieldUtilityClass:QE,getToggleButtonGroupUtilityClass:tL,getToggleButtonUtilityClass:ZE,getToolbarUtilityClass:zE,getTooltipUtilityClass:pE,getTouchRippleUtilityClass:uW,getTypographyUtilityClass:CM,grid2Classes:CZ,gridClasses:oc,hexToRgb:PO,hslToRgb:kO,iconButtonClasses:bM,iconClasses:DZ,imageListClasses:HZ,imageListItemBarClasses:rJ,imageListItemClasses:Ny,inputAdornmentClasses:Fy,inputBaseClasses:Or,inputClasses:Ii,inputLabelClasses:kJ,isMuiElement:li,keyframes:Oo,lighten:RO,linearProgressClasses:MJ,linkClasses:pI,listClasses:qJ,listItemAvatarClasses:Cee,listItemButtonClasses:ua,listItemClasses:ca,listItemIconClasses:Vy,listItemSecondaryActionClasses:cee,listItemTextClasses:md,listSubheaderClasses:wG,makeStyles:U9,menuClasses:Kee,menuItemClasses:il,mobileStepperClasses:ute,modalClasses:lq,nativeSelectClasses:Tm,outlinedInputClasses:Do,ownerDocument:Ft,ownerWindow:Jn,paginationClasses:Nte,paginationItemClasses:Gr,paperClasses:R7,popoverClasses:Fee,private_createMixins:zO,private_createTypography:Xx,private_excludeVariablesFromRoot:tM,radioClasses:Ky,radioGroupClasses:hne,ratingClasses:sl,recomposeColor:zd,requirePropFactory:$O,responsiveFontSizes:S9,rgbToHex:w8,scopedCssBaselineClasses:jne,selectClasses:al,setRef:Jl,shouldSkipGeneratingVar:JO,skeletonClasses:rre,sliderClasses:eo,snackbarClasses:Ore,snackbarContentClasses:Sre,speedDialActionClasses:gE,speedDialClasses:fu,speedDialIconClasses:is,stackClasses:OQ,stepButtonClasses:Yy,stepClasses:xoe,stepConnectorClasses:Koe,stepContentClasses:eie,stepIconClasses:th,stepLabelClasses:Ni,stepperClasses:lie,styled:X,svgIconClasses:a7,switchClasses:lr,tabClasses:Pi,tabScrollButtonClasses:YE,tableBodyClasses:Xie,tableCellClasses:BE,tableClasses:Vie,tableContainerClasses:lse,tableFooterClasses:gse,tableHeadClasses:wse,tablePaginationClasses:Bl,tableRowClasses:Xy,tableSortLabelClasses:nh,tabsClasses:rh,textFieldClasses:Iae,toggleButtonClasses:va,toggleButtonGroupClasses:en,toolbarClasses:Mse,tooltipClasses:Di,touchRippleClasses:qr,typographyClasses:JW,unstable_ClassNameGenerator:rM,unstable_composeClasses:Re,unstable_createMuiStrictModeTheme:m9,unstable_getUnit:Qx,unstable_toUnitless:Ti,unstable_useEnhancedEffect:On,unstable_useId:_o,unsupportedProp:OO,useAutocomplete:HM,useColorScheme:r7,useControlled:Cr,useEventCallback:Qt,useForkRef:Rt,useFormControl:Io,useIsFocusVisible:Fa,useMediaQuery:wO,usePagination:NI,useRadioGroup:UI,useScrollTrigger:rle,useStepContext:yoe,useStepperContext:voe,useTheme:tr,useThemeProps:Ee,withStyles:G9,withTheme:K9},Symbol.toStringTag,{value:"Module"}));function ile(){if(console&&console.warn){for(var e=arguments.length,t=new Array(e),n=0;n()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}};function $k(e,t,n){e.loadNamespaces(t,nL(e,n))}function Ok(e,t,n,r){typeof n=="string"&&(n=[n]),n.forEach(o=>{e.options.ns.indexOf(o)<0&&e.options.ns.push(o)}),e.loadLanguages(t,nL(e,r))}function sle(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const r=t.languages[0],o=t.options?t.options.fallbackLng:!1,i=t.languages[t.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const s=(a,l)=>{const c=t.services.backendConnector.state[`${a}|${l}`];return c===-1||c===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!s(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(r,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||s(r,e)&&(!o||s(i,e)))}function ale(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return!t.languages||!t.languages.length?(qy("i18n.languages were undefined or empty",t.languages),!0):t.options.ignoreJSONStructure!==void 0?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(o,i)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!i(o.isLanguageChangingTo,e))return!1}}):sle(e,t,n)}const lle=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,cle={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},ule=e=>cle[e],dle=e=>e.replace(lle,ule);let Qy={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:dle};function fle(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Qy={...Qy,...e}}function ple(){return Qy}let rL;function hle(e){rL=e}function gle(){return rL}const mle={type:"3rdParty",init(e){fle(e.options.react),hle(e)}},vle=R.createContext();class yle{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const ble=(e,t)=>{const n=R.useRef();return R.useEffect(()=>{n.current=e},[e,t]),n.current};function oL(e,t,n,r){return e.getFixedT(t,n,r)}function xle(e,t,n,r){return R.useCallback(oL(e,t,n,r),[e,t,n,r])}function Om(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{i18n:n}=t,{i18n:r,defaultNS:o}=R.useContext(vle)||{},i=n||r||gle();if(i&&!i.reportNamespaces&&(i.reportNamespaces=new yle),!i){qy("You will need to pass in an i18next instance by using initReactI18next");const $=(P,O)=>typeof O=="string"?O:O&&typeof O=="object"&&typeof O.defaultValue=="string"?O.defaultValue:Array.isArray(P)?P[P.length-1]:P,T=[$,{},!1];return T.t=$,T.i18n={},T.ready=!1,T}i.options.react&&i.options.react.wait!==void 0&&qy("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const s={...ple(),...i.options.react,...t},{useSuspense:a,keyPrefix:l}=s;let c=o||i.options&&i.options.defaultNS;c=typeof c=="string"?[c]:c||["translation"],i.reportNamespaces.addUsedNamespaces&&i.reportNamespaces.addUsedNamespaces(c);const u=(i.isInitialized||i.initializedStoreOnce)&&c.every($=>ale($,i,s)),f=xle(i,t.lng||null,s.nsMode==="fallback"?c:c[0],l),p=()=>f,h=()=>oL(i,t.lng||null,s.nsMode==="fallback"?c:c[0],l),[v,m]=R.useState(p);let w=c.join();t.lng&&(w=`${t.lng}${w}`);const y=ble(w),S=R.useRef(!0);R.useEffect(()=>{const{bindI18n:$,bindI18nStore:T}=s;S.current=!0,!u&&!a&&(t.lng?Ok(i,t.lng,c,()=>{S.current&&m(h)}):$k(i,c,()=>{S.current&&m(h)})),u&&y&&y!==w&&S.current&&m(h);function P(){S.current&&m(h)}return $&&i&&i.on($,P),T&&i&&i.store.on(T,P),()=>{S.current=!1,$&&i&&$.split(" ").forEach(O=>i.off(O,P)),T&&i&&T.split(" ").forEach(O=>i.store.off(O,P))}},[i,w]),R.useEffect(()=>{S.current&&u&&m(p)},[i,l,u]);const _=[v,i,u];if(_.t=v,_.i18n=i,_.ready=u,u||!u&&!a)return _;throw new Promise($=>{t.lng?Ok(i,t.lng,c,()=>$()):$k(i,c,()=>$())})}const Cle=()=>"1UrATDa3qAnoLDJtSCPFzawDZLoJbYAp3mNq4NKyI5wU",Sle=e=>{const t="https://docs.google.com/spreadsheets/d/",n="/gviz/tq?tq=",r=Cle();return`${t}${r}${n}${encodeURIComponent(e)}`},wle=e=>{const t=e.replace(/.*google.visualization.Query.setResponse\({(.*?)}\);?/s,"{$1}");return JSON.parse(t).table.rows.at().c.at().v},Ple=async e=>new Promise((t,n)=>{fetch(Sle(e)).then(r=>r.text()).then(r=>t(wle(r))).catch(n)}),kle=e=>{const[t,n]=R.useState(null),r=R.useCallback(()=>{Ple(e).then(n).catch(o=>{throw new Error(o)})},[e]);return R.useEffect(()=>{r()},[r]),{value:t}},iL=()=>{const{value:e}=kle("select A where A contains 'https' limit 1"),t=j$();return{openSurvey:()=>{e&&(window.open(e),t("/"))},navigateToSurvey:()=>{e&&(window.location.href=e)}}},_le=[{label:"Spanish",code:"es"},{label:"English",code:"en"}],Rle=()=>{const[e,t]=R.useState(""),{i18n:n}=Om(),r=o=>{const i=o.target.value;n.changeLanguage(i),t(i)};return x.jsx(x.Fragment,{children:x.jsx(mt,{sx:{minWidth:120},children:x.jsxs(x1,{fullWidth:!0,size:"small",children:[x.jsx(C1,{id:"language-input",children:"Idioma"}),x.jsx($m,{labelId:"language-input",id:"demo-simple-select",value:e,label:"Idioma",color:"primary",onChange:r,children:_le.map(({code:o,label:i})=>x.jsx(P1,{value:o,children:i},o))})]})})})};var $1={},d0={};const Tle=io(d7);var Mk;function Eo(){return Mk||(Mk=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=Tle}(d0)),d0}var $le=Vr;Object.defineProperty($1,"__esModule",{value:!0});var sL=$1.default=void 0,Ole=$le(Eo()),Mle=x;sL=$1.default=(0,Ole.default)((0,Mle.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu");const Mm=""+new URL("logo-WClEjEtC.png",import.meta.url).href,O1=()=>{const[e,t]=R.useState(!1),n=Ld(),{openSurvey:r}=iL(),{t:o}=Om(),i=a=>()=>{t(a)},s=a=>n.pathname===a;return R.useEffect(()=>()=>{t(!1)},[]),x.jsxs(x.Fragment,{children:[x.jsx(PM,{position:"sticky",color:"default",children:x.jsx(Xd,{maxWidth:"xl",children:x.jsxs(T1,{variant:"dense",sx:{alignItems:{xs:"center",md:"stretch"},justifyContent:"space-between"},children:[x.jsx(yr,{color:"inherit","aria-label":"open drawer",onClick:i(!0),edge:"start",sx:{display:{xs:"flex",md:"none"}},children:x.jsx(sL,{})}),x.jsxs(mt,{sx:{display:{xs:"none",md:"flex"},alignItems:"center"},children:[x.jsx(Si,{to:"/",style:{textDecoration:"none",marginRight:"1rem",flexShrink:0},children:x.jsx(rn,{src:Mm,alt:"Logo WDT",sx:{width:"100%",height:"100%",maxWidth:"50px",py:1}})}),x.jsx(Si,{to:"/sponsorship",style:{textDecoration:"none",height:"100%"},children:x.jsx(Qp,{className:s("/sponsorship")?"active":"",sx:{height:"100%",borderRadius:"0"},children:x.jsx(Fe,{children:o("navbar.sponsorship")})})}),x.jsx(Si,{to:"/about",style:{textDecoration:"none",height:"100%"},children:x.jsx(Qp,{className:s("/about")?"active":"",sx:{height:"100%",borderRadius:"0"},children:x.jsx(Fe,{children:o("navbar.aboutUs")})})}),x.jsx(Si,{to:"/",onClick:r,style:{textDecoration:"none",height:"100%"},children:x.jsx(Qp,{sx:{height:"100%",borderRadius:"0"},children:x.jsx(Fe,{children:o("navbar.survey")})})})]}),x.jsx(mt,{sx:{display:"flex",alignItems:"center"},children:x.jsx(Rle,{})})]})})}),x.jsx(v1,{open:e,onClose:i(!1),children:x.jsx(mt,{sx:{width:250},role:"presentation",onClick:i(!1),children:x.jsxs(Rm,{children:[x.jsx(Bi,{sx:{px:0},children:x.jsx(Si,{to:"/",style:{textDecoration:"none",width:"100%"},children:x.jsx(cu,{className:s("/")?"active":"",children:x.jsx(Fe,{children:o("navbar.home")})})})}),x.jsx(Bi,{sx:{px:0},children:x.jsx(Si,{to:"/sponsorship",style:{textDecoration:"none",width:"100%"},children:x.jsx(cu,{className:s("/sponsorship")?"active":"",children:x.jsx(Fe,{children:o("navbar.sponsorship")})})})}),x.jsx(Bi,{sx:{px:0},children:x.jsx(Si,{to:"/about",style:{textDecoration:"none",width:"100%"},children:x.jsx(cu,{className:s("/about")?"active":"",children:x.jsx(Fe,{children:o("navbar.aboutUs")})})})}),x.jsx(Bi,{sx:{px:0},children:x.jsx(Si,{to:"#",onClick:r,style:{textDecoration:"none",width:"100%"},children:x.jsx(cu,{sx:{height:"100%"},children:x.jsx(Fe,{children:o("navbar.survey")})})})})]})})})]})};var M1={},Ale=Vr;Object.defineProperty(M1,"__esModule",{value:!0});var qh=M1.default=void 0;Lle(R);var Ile=Ale(Eo()),Ele=x;function aL(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(aL=function(r){return r?n:t})(e)}function Lle(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=aL(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}qh=M1.default=(0,Ile.default)((0,Ele.jsx)("path",{d:"M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m13 2h-2.5A3.5 3.5 0 0 0 12 8.5V11h-2v3h2v7h3v-7h3v-3h-3V9a1 1 0 0 1 1-1h2V5z"}),"Facebook");var A1={},jle=Vr;Object.defineProperty(A1,"__esModule",{value:!0});var lL=A1.default=void 0;Nle(R);var Ble=jle(Eo()),Dle=x;function cL(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(cL=function(r){return r?n:t})(e)}function Nle(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=cL(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}lL=A1.default=(0,Ble.default)((0,Dle.jsx)("path",{d:"M7.8 2h8.4C19.4 2 22 4.6 22 7.8v8.4a5.8 5.8 0 0 1-5.8 5.8H7.8C4.6 22 2 19.4 2 16.2V7.8A5.8 5.8 0 0 1 7.8 2m-.2 2A3.6 3.6 0 0 0 4 7.6v8.8C4 18.39 5.61 20 7.6 20h8.8a3.6 3.6 0 0 0 3.6-3.6V7.6C20 5.61 18.39 4 16.4 4H7.6m9.65 1.5a1.25 1.25 0 0 1 1.25 1.25A1.25 1.25 0 0 1 17.25 8 1.25 1.25 0 0 1 16 6.75a1.25 1.25 0 0 1 1.25-1.25M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3z"}),"Instagram");var I1={},Fle=Vr;Object.defineProperty(I1,"__esModule",{value:!0});var uL=I1.default=void 0;Wle(R);var zle=Fle(Eo()),Vle=x;function dL(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(dL=function(r){return r?n:t})(e)}function Wle(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=dL(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}uL=I1.default=(0,zle.default)((0,Vle.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"}),"X");var E1={},Hle=Vr;Object.defineProperty(E1,"__esModule",{value:!0});var fL=E1.default=void 0;Kle(R);var Ule=Hle(Eo()),Gle=x;function pL(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(pL=function(r){return r?n:t})(e)}function Kle(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=pL(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}fL=E1.default=(0,Ule.default)((0,Gle.jsx)("path",{d:"M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14m-.5 15.5v-5.3a3.26 3.26 0 0 0-3.26-3.26c-.85 0-1.84.52-2.32 1.3v-1.11h-2.79v8.37h2.79v-4.93c0-.77.62-1.4 1.39-1.4a1.4 1.4 0 0 1 1.4 1.4v4.93h2.79M6.88 8.56a1.68 1.68 0 0 0 1.68-1.68c0-.93-.75-1.69-1.68-1.69a1.69 1.69 0 0 0-1.69 1.69c0 .93.76 1.68 1.69 1.68m1.39 9.94v-8.37H5.5v8.37h2.77z"}),"LinkedIn");var L1={},Yle=Vr;Object.defineProperty(L1,"__esModule",{value:!0});var hL=L1.default=void 0,Xle=Yle(Eo()),qle=x;hL=L1.default=(0,Xle.default)((0,qle.jsx)("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4-8 5-8-5V6l8 5 8-5z"}),"Email");const Qle=()=>x.jsx("div",{style:{display:"flex",margin:"5px"},children:x.jsx("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",height:"1em",width:"1em",viewBox:"0 0 1080 1080",xmlSpace:"preserve",children:x.jsx("path",{fill:"currentColor",d:`M1033.05,324.45c-0.19-137.9-107.59-250.92-233.6-291.7c-156.48-50.64-362.86-43.3-512.28,27.2 + C106.07,145.41,49.18,332.61,47.06,519.31c-1.74,153.5,13.58,557.79,241.62,560.67c169.44,2.15,194.67-216.18,273.07-321.33 + c55.78-74.81,127.6-95.94,216.01-117.82C929.71,603.22,1033.27,483.3,1033.05,324.45z`})})}),gL=({color:e})=>x.jsxs(mt,{sx:{display:"flex"},children:[x.jsx(yr,{component:ls,href:"https://www.facebook.com/ColimaWebDevTalks",target:"_blank",sx:{color:e??"inherit"},children:x.jsx(qh,{fontSize:"large"})}),x.jsx(yr,{component:ls,href:"https://www.instagram.com/webdevtalksmx",target:"_blank",sx:{color:e??"inherit"},children:x.jsx(lL,{fontSize:"large"})}),x.jsx(yr,{component:ls,href:"https://twitter.com/webdevtalksmx",target:"_blank",sx:{color:e??"inherit"},children:x.jsx(uL,{fontSize:"large"})}),x.jsx(yr,{component:ls,href:"https://www.linkedin.com/company/web-dev-talks",target:"_blank",sx:{color:e??"inherit"},children:x.jsx(fL,{fontSize:"large"})}),x.jsx(yr,{component:ls,href:"https://patreon.com/WebDevTalksColima",target:"_blank",sx:{color:e??"inherit"},children:x.jsx(Qle,{})}),x.jsx(yr,{component:ls,href:"mailto:contacto@webdevtalks.mx",target:"_blank",sx:{color:e??"inherit"},children:x.jsx(hL,{fontSize:"large"})})]}),j1=()=>x.jsxs(mt,{sx:{backgroundColor:e=>e.palette.primary.main,px:6,py:1,color:"white",position:"sticky",display:"flex",justifyContent:{xs:"center",md:"space-between"}},children:[x.jsx(mt,{sx:{display:{xs:"none",md:"flex"}},children:x.jsx(Si,{to:"/",style:{textDecoration:"none",flexShrink:0},children:x.jsx(rn,{src:Mm,alt:"Logo WDT",sx:{width:"100%",height:"100%",maxWidth:"50px"}})})}),x.jsx(gL,{color:"#ffff"})]}),Ak=()=>x.jsxs(mt,{sx:{display:"flex",flexDirection:"column",minHeight:"100vh"},children:[x.jsx(O1,{}),x.jsxs(Xd,{sx:{display:"flex",flexDirection:"column",alignItems:"center",flex:1},children:[x.jsx(mt,{sx:{display:"flex",justifyContent:"center",marginTop:"100px",padding:3},children:x.jsx(rn,{src:Mm,alt:"Logo WDT",sx:{width:"100%",height:"100%",maxWidth:"500px"}})}),x.jsx(gL,{color:"#8d8d8d"})]}),x.jsx(j1,{})]});/*! + * @kurkle/color v0.3.2 + * https://github.com/kurkle/color#readme + * (c) 2023 Jukka Kurkela + * Released under the MIT License + */function Qd(e){return e+.5|0}const hs=(e,t,n)=>Math.max(Math.min(e,n),t);function pu(e){return hs(Qd(e*2.55),0,255)}function _s(e){return hs(Qd(e*255),0,255)}function Oi(e){return hs(Qd(e/2.55)/100,0,1)}function Ik(e){return hs(Qd(e*100),0,100)}const ho={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Zy=[..."0123456789ABCDEF"],Zle=e=>Zy[e&15],Jle=e=>Zy[(e&240)>>4]+Zy[e&15],pp=e=>(e&240)>>4===(e&15),ece=e=>pp(e.r)&&pp(e.g)&&pp(e.b)&&pp(e.a);function tce(e){var t=e.length,n;return e[0]==="#"&&(t===4||t===5?n={r:255&ho[e[1]]*17,g:255&ho[e[2]]*17,b:255&ho[e[3]]*17,a:t===5?ho[e[4]]*17:255}:(t===7||t===9)&&(n={r:ho[e[1]]<<4|ho[e[2]],g:ho[e[3]]<<4|ho[e[4]],b:ho[e[5]]<<4|ho[e[6]],a:t===9?ho[e[7]]<<4|ho[e[8]]:255})),n}const nce=(e,t)=>e<255?t(e):"";function rce(e){var t=ece(e)?Zle:Jle;return e?"#"+t(e.r)+t(e.g)+t(e.b)+nce(e.a,t):void 0}const oce=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function mL(e,t,n){const r=t*Math.min(n,1-n),o=(i,s=(i+e/30)%12)=>n-r*Math.max(Math.min(s-3,9-s,1),-1);return[o(0),o(8),o(4)]}function ice(e,t,n){const r=(o,i=(o+e/60)%6)=>n-n*t*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function sce(e,t,n){const r=mL(e,1,.5);let o;for(t+n>1&&(o=1/(t+n),t*=o,n*=o),o=0;o<3;o++)r[o]*=1-t-n,r[o]+=t;return r}function ace(e,t,n,r,o){return e===o?(t-n)/r+(t.5?u/(2-i-s):u/(i+s),l=ace(n,r,o,u,i),l=l*60+.5),[l|0,c||0,a]}function D1(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(_s)}function N1(e,t,n){return D1(mL,e,t,n)}function lce(e,t,n){return D1(sce,e,t,n)}function cce(e,t,n){return D1(ice,e,t,n)}function vL(e){return(e%360+360)%360}function uce(e){const t=oce.exec(e);let n=255,r;if(!t)return;t[5]!==r&&(n=t[6]?pu(+t[5]):_s(+t[5]));const o=vL(+t[2]),i=+t[3]/100,s=+t[4]/100;return t[1]==="hwb"?r=lce(o,i,s):t[1]==="hsv"?r=cce(o,i,s):r=N1(o,i,s),{r:r[0],g:r[1],b:r[2],a:n}}function dce(e,t){var n=B1(e);n[0]=vL(n[0]+t),n=N1(n),e.r=n[0],e.g=n[1],e.b=n[2]}function fce(e){if(!e)return;const t=B1(e),n=t[0],r=Ik(t[1]),o=Ik(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${o}%, ${Oi(e.a)})`:`hsl(${n}, ${r}%, ${o}%)`}const Ek={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Lk={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function pce(){const e={},t=Object.keys(Lk),n=Object.keys(Ek);let r,o,i,s,a;for(r=0;r>16&255,i>>8&255,i&255]}return e}let hp;function hce(e){hp||(hp=pce(),hp.transparent=[0,0,0,0]);const t=hp[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const gce=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function mce(e){const t=gce.exec(e);let n=255,r,o,i;if(t){if(t[7]!==r){const s=+t[7];n=t[8]?pu(s):hs(s*255,0,255)}return r=+t[1],o=+t[3],i=+t[5],r=255&(t[2]?pu(r):hs(r,0,255)),o=255&(t[4]?pu(o):hs(o,0,255)),i=255&(t[6]?pu(i):hs(i,0,255)),{r,g:o,b:i,a:n}}}function vce(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${Oi(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}const f0=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,Ja=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function yce(e,t,n){const r=Ja(Oi(e.r)),o=Ja(Oi(e.g)),i=Ja(Oi(e.b));return{r:_s(f0(r+n*(Ja(Oi(t.r))-r))),g:_s(f0(o+n*(Ja(Oi(t.g))-o))),b:_s(f0(i+n*(Ja(Oi(t.b))-i))),a:e.a+n*(t.a-e.a)}}function gp(e,t,n){if(e){let r=B1(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,t===0?360:1)),r=N1(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function yL(e,t){return e&&Object.assign(t||{},e)}function jk(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=_s(e[3]))):(t=yL(e,{r:0,g:0,b:0,a:1}),t.a=_s(t.a)),t}function bce(e){return e.charAt(0)==="r"?mce(e):uce(e)}class vd{constructor(t){if(t instanceof vd)return t;const n=typeof t;let r;n==="object"?r=jk(t):n==="string"&&(r=tce(t)||hce(t)||bce(t)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var t=yL(this._rgb);return t&&(t.a=Oi(t.a)),t}set rgb(t){this._rgb=jk(t)}rgbString(){return this._valid?vce(this._rgb):void 0}hexString(){return this._valid?rce(this._rgb):void 0}hslString(){return this._valid?fce(this._rgb):void 0}mix(t,n){if(t){const r=this.rgb,o=t.rgb;let i;const s=n===i?.5:n,a=2*s-1,l=r.a-o.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;i=1-c,r.r=255&c*r.r+i*o.r+.5,r.g=255&c*r.g+i*o.g+.5,r.b=255&c*r.b+i*o.b+.5,r.a=s*r.a+(1-s)*o.a,this.rgb=r}return this}interpolate(t,n){return t&&(this._rgb=yce(this._rgb,t._rgb,n)),this}clone(){return new vd(this.rgb)}alpha(t){return this._rgb.a=_s(t),this}clearer(t){const n=this._rgb;return n.a*=1-t,this}greyscale(){const t=this._rgb,n=Qd(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=n,this}opaquer(t){const n=this._rgb;return n.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return gp(this._rgb,2,t),this}darken(t){return gp(this._rgb,2,-t),this}saturate(t){return gp(this._rgb,1,t),this}desaturate(t){return gp(this._rgb,1,-t),this}rotate(t){return dce(this._rgb,t),this}}/*! + * Chart.js v4.4.3 + * https://www.chartjs.org + * (c) 2024 Chart.js Contributors + * Released under the MIT License + */function Ci(){}const xce=(()=>{let e=0;return()=>e++})();function ln(e){return e===null||typeof e>"u"}function bn(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function At(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function Wn(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function Yr(e,t){return Wn(e)?e:t}function Bt(e,t){return typeof e>"u"?t:e}const Cce=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/t,bL=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function Xt(e,t,n){if(e&&typeof e.call=="function")return e.apply(n,t)}function Nt(e,t,n,r){let o,i,s;if(bn(e))for(i=e.length,o=0;oe,x:e=>e.x,y:e=>e.y};function Pce(e){const t=e.split("."),n=[];let r="";for(const o of t)r+=o,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}function kce(e){const t=Pce(e);return n=>{for(const r of t){if(r==="")break;n=n&&n[r]}return n}}function bd(e,t){return(Bk[t]||(Bk[t]=kce(t)))(e)}function F1(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Jh=e=>typeof e<"u",Is=e=>typeof e=="function",Dk=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function _ce(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const $n=Math.PI,mn=2*$n,eg=Number.POSITIVE_INFINITY,Rce=$n/180,xn=$n/2,Ys=$n/4,Nk=$n*2/3,gs=Math.log10,tg=Math.sign;function oh(e,t,n){return Math.abs(e-t)o-i).pop(),t}function ng(e){return!isNaN(parseFloat(e))&&isFinite(e)}function $ce(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}function CL(e,t,n){let r,o,i;for(r=0,o=e.length;rl&&c=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function V1(e,t,n){n=n||(s=>e[s]1;)i=o+r>>1,n(i)?o=i:r=i;return{lo:o,hi:r}}const Jy=(e,t,n,r)=>V1(e,n,r?o=>{const i=e[o][t];return ie[o][t]V1(e,n,r=>e[r][t]>=n);function Ice(e,t,n){let r=0,o=e.length;for(;rr&&e[o-1]>n;)o--;return r>0||o{const r="_onData"+F1(n),o=e[n];Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value(...i){const s=o.apply(this,i);return e._chartjs.listeners.forEach(a=>{typeof a[r]=="function"&&a[r](...i)}),s}})})}function Vk(e,t){const n=e._chartjs;if(!n)return;const r=n.listeners,o=r.indexOf(t);o!==-1&&r.splice(o,1),!(r.length>0)&&(wL.forEach(i=>{delete e[i]}),delete e._chartjs)}function Lce(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const PL=function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame}();function kL(e,t){let n=[],r=!1;return function(...o){n=o,r||(r=!0,PL.call(window,()=>{r=!1,e.apply(t,n)}))}}function jce(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}const _L=e=>e==="start"?"left":e==="end"?"right":"center",Kr=(e,t,n)=>e==="start"?t:e==="end"?n:(t+n)/2,Bce=(e,t,n,r)=>e===(r?"left":"right")?n:e==="center"?(t+n)/2:t,mp=e=>e===0||e===1,Wk=(e,t,n)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*mn/n)),Hk=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*mn/n)+1,ju={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*xn)+1,easeOutSine:e=>Math.sin(e*xn),easeInOutSine:e=>-.5*(Math.cos($n*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>mp(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>mp(e)?e:Wk(e,.075,.3),easeOutElastic:e=>mp(e)?e:Hk(e,.075,.3),easeInOutElastic(e){return mp(e)?e:e<.5?.5*Wk(e*2,.1125,.45):.5+.5*Hk(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-ju.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?ju.easeInBounce(e*2)*.5:ju.easeOutBounce(e*2-1)*.5+.5};function RL(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function Uk(e){return RL(e)?e:new vd(e)}function p0(e){return RL(e)?e:new vd(e).saturate(.5).darken(.1).hexString()}const Dce=["x","y","borderWidth","radius","tension"],Nce=["color","borderColor","backgroundColor"];function Fce(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),e.set("animations",{colors:{type:"color",properties:Nce},numbers:{type:"number",properties:Dce}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>t|0}}}})}function zce(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const Gk=new Map;function Vce(e,t){t=t||{};const n=e+JSON.stringify(t);let r=Gk.get(n);return r||(r=new Intl.NumberFormat(e,t),Gk.set(n,r)),r}function Am(e,t,n){return Vce(t,n).format(e)}const TL={values(e){return bn(e)?e:""+e},numeric(e,t,n){if(e===0)return"0";const r=this.chart.options.locale;let o,i=e;if(n.length>1){const c=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(c<1e-4||c>1e15)&&(o="scientific"),i=Wce(e,n)}const s=gs(Math.abs(i)),a=isNaN(s)?1:Math.max(Math.min(-1*Math.floor(s),20),0),l={notation:o,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),Am(e,r,l)},logarithmic(e,t,n){if(e===0)return"0";const r=n[t].significand||e/Math.pow(10,Math.floor(gs(e)));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?TL.numeric.call(this,e,t,n):""}};function Wce(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var Im={formatters:TL};function Hce(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,n)=>n.lineWidth,tickColor:(t,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Im.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const Aa=Object.create(null),eb=Object.create(null);function Bu(e,t){if(!t)return e;const n=t.split(".");for(let r=0,o=n.length;rr.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(r,o)=>p0(o.backgroundColor),this.hoverBorderColor=(r,o)=>p0(o.borderColor),this.hoverColor=(r,o)=>p0(o.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(n)}set(t,n){return h0(this,t,n)}get(t){return Bu(this,t)}describe(t,n){return h0(eb,t,n)}override(t,n){return h0(Aa,t,n)}route(t,n,r,o){const i=Bu(this,t),s=Bu(this,r),a="_"+n;Object.defineProperties(i,{[a]:{value:i[n],writable:!0},[n]:{enumerable:!0,get(){const l=this[a],c=s[o];return At(l)?Object.assign({},c,l):Bt(l,c)},set(l){this[a]=l}}})}apply(t){t.forEach(n=>n(this))}}var vn=new Uce({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[Fce,zce,Hce]);function Gce(e){return!e||ln(e.size)||ln(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function og(e,t,n,r,o){let i=t[o];return i||(i=t[o]=e.measureText(o).width,n.push(o)),i>r&&(r=i),r}function Kce(e,t,n,r){r=r||{};let o=r.data=r.data||{},i=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(o=r.data={},i=r.garbageCollect=[],r.font=t),e.save(),e.font=t;let s=0;const a=n.length;let l,c,u,f,p;for(l=0;ln.length){for(l=0;l0&&e.stroke()}}function kl(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.xt.top-n&&e.y0&&i.strokeColor!=="";let l,c;for(e.save(),e.font=o.string,Yce(e,i),l=0;l+e||0;function U1(e,t){const n={},r=At(t),o=r?Object.keys(t):t,i=At(e)?r?s=>Bt(e[s],e[t[s]]):s=>e[s]:()=>e;for(const s of o)n[s]=eue(i(s));return n}function tue(e){return U1(e,{top:"y",right:"x",bottom:"y",left:"x"})}function Dl(e){return U1(e,["topLeft","topRight","bottomLeft","bottomRight"])}function wr(e){const t=tue(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Qn(e,t){e=e||{},t=t||vn.font;let n=Bt(e.size,t.size);typeof n=="string"&&(n=parseInt(n,10));let r=Bt(e.style,t.style);r&&!(""+r).match(Zce)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const o={family:Bt(e.family,t.family),lineHeight:Jce(Bt(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:Bt(e.weight,t.weight),string:""};return o.string=Gce(o),o}function vp(e,t,n,r){let o,i,s;for(o=0,i=e.length;on&&a===0?0:a+l;return{min:s(r,-Math.abs(i)),max:s(o,i)}}function Va(e,t){return Object.assign(Object.create(e),t)}function G1(e,t=[""],n,r,o=()=>e[0]){const i=n||e;typeof r>"u"&&(r=IL("_fallback",e));const s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:i,_fallback:r,_getTarget:o,override:a=>G1([a,...e],t,i,r)};return new Proxy(s,{deleteProperty(a,l){return delete a[l],delete a._keys,delete e[0][l],!0},get(a,l){return ML(a,l,()=>uue(l,t,e,a))},getOwnPropertyDescriptor(a,l){return Reflect.getOwnPropertyDescriptor(a._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(a,l){return qk(a).includes(l)},ownKeys(a){return qk(a)},set(a,l,c){const u=a._storage||(a._storage=o());return a[l]=u[l]=c,delete a._keys,!0}})}function sc(e,t,n,r){const o={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:OL(e,r),setContext:i=>sc(e,i,n,r),override:i=>sc(e.override(i),t,n,r)};return new Proxy(o,{deleteProperty(i,s){return delete i[s],delete e[s],!0},get(i,s,a){return ML(i,s,()=>oue(i,s,a))},getOwnPropertyDescriptor(i,s){return i._descriptors.allKeys?Reflect.has(e,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,s)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(i,s){return Reflect.has(e,s)},ownKeys(){return Reflect.ownKeys(e)},set(i,s,a){return e[s]=a,delete i[s],!0}})}function OL(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:r=t.indexable,_allKeys:o=t.allKeys}=e;return{allKeys:o,scriptable:n,indexable:r,isScriptable:Is(n)?n:()=>n,isIndexable:Is(r)?r:()=>r}}const rue=(e,t)=>e?e+F1(t):t,K1=(e,t)=>At(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function ML(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||t==="constructor")return e[t];const r=n();return e[t]=r,r}function oue(e,t,n){const{_proxy:r,_context:o,_subProxy:i,_descriptors:s}=e;let a=r[t];return Is(a)&&s.isScriptable(t)&&(a=iue(t,a,e,n)),bn(a)&&a.length&&(a=sue(t,a,e,s.isIndexable)),K1(t,a)&&(a=sc(a,o,i&&i[t],s)),a}function iue(e,t,n,r){const{_proxy:o,_context:i,_subProxy:s,_stack:a}=n;if(a.has(e))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+e);a.add(e);let l=t(i,s||r);return a.delete(e),K1(e,l)&&(l=Y1(o._scopes,o,e,l)),l}function sue(e,t,n,r){const{_proxy:o,_context:i,_subProxy:s,_descriptors:a}=n;if(typeof i.index<"u"&&r(e))return t[i.index%t.length];if(At(t[0])){const l=t,c=o._scopes.filter(u=>u!==l);t=[];for(const u of l){const f=Y1(c,o,e,u);t.push(sc(f,i,s&&s[e],a))}}return t}function AL(e,t,n){return Is(e)?e(t,n):e}const aue=(e,t)=>e===!0?t:typeof e=="string"?bd(t,e):void 0;function lue(e,t,n,r,o){for(const i of t){const s=aue(n,i);if(s){e.add(s);const a=AL(s._fallback,n,o);if(typeof a<"u"&&a!==n&&a!==r)return a}else if(s===!1&&typeof r<"u"&&n!==r)return null}return!1}function Y1(e,t,n,r){const o=t._rootScopes,i=AL(t._fallback,n,r),s=[...e,...o],a=new Set;a.add(r);let l=Xk(a,s,n,i||n,r);return l===null||typeof i<"u"&&i!==n&&(l=Xk(a,s,i,l,r),l===null)?!1:G1(Array.from(a),[""],o,i,()=>cue(t,n,r))}function Xk(e,t,n,r,o){for(;n;)n=lue(e,t,n,r,o);return n}function cue(e,t,n){const r=e._getTarget();t in r||(r[t]={});const o=r[t];return bn(o)&&At(n)?n:o||{}}function uue(e,t,n,r){let o;for(const i of t)if(o=IL(rue(i,e),n),typeof o<"u")return K1(e,o)?Y1(n,r,e,o):o}function IL(e,t){for(const n of t){if(!n)continue;const r=n[e];if(typeof r<"u")return r}}function qk(e){let t=e._keys;return t||(t=e._keys=due(e._scopes)),t}function due(e){const t=new Set;for(const n of e)for(const r of Object.keys(n).filter(o=>!o.startsWith("_")))t.add(r);return Array.from(t)}function X1(){return typeof window<"u"&&typeof document<"u"}function q1(e){let t=e.parentNode;return t&&t.toString()==="[object ShadowRoot]"&&(t=t.host),t}function sg(e,t,n){let r;return typeof e=="string"?(r=parseInt(e,10),e.indexOf("%")!==-1&&(r=r/100*t.parentNode[n])):r=e,r}const Em=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);function fue(e,t){return Em(e).getPropertyValue(t)}const pue=["top","right","bottom","left"];function wa(e,t,n){const r={};n=n?"-"+n:"";for(let o=0;o<4;o++){const i=pue[o];r[i]=parseFloat(e[t+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const hue=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function gue(e,t){const n=e.touches,r=n&&n.length?n[0]:e,{offsetX:o,offsetY:i}=r;let s=!1,a,l;if(hue(o,i,e.target))a=o,l=i;else{const c=t.getBoundingClientRect();a=r.clientX-c.left,l=r.clientY-c.top,s=!0}return{x:a,y:l,box:s}}function aa(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:r}=t,o=Em(n),i=o.boxSizing==="border-box",s=wa(o,"padding"),a=wa(o,"border","width"),{x:l,y:c,box:u}=gue(e,n),f=s.left+(u&&a.left),p=s.top+(u&&a.top);let{width:h,height:v}=t;return i&&(h-=s.width+a.width,v-=s.height+a.height),{x:Math.round((l-f)/h*n.width/r),y:Math.round((c-p)/v*n.height/r)}}function mue(e,t,n){let r,o;if(t===void 0||n===void 0){const i=e&&q1(e);if(!i)t=e.clientWidth,n=e.clientHeight;else{const s=i.getBoundingClientRect(),a=Em(i),l=wa(a,"border","width"),c=wa(a,"padding");t=s.width-c.width-l.width,n=s.height-c.height-l.height,r=sg(a.maxWidth,i,"clientWidth"),o=sg(a.maxHeight,i,"clientHeight")}}return{width:t,height:n,maxWidth:r||eg,maxHeight:o||eg}}const yp=e=>Math.round(e*10)/10;function vue(e,t,n,r){const o=Em(e),i=wa(o,"margin"),s=sg(o.maxWidth,e,"clientWidth")||eg,a=sg(o.maxHeight,e,"clientHeight")||eg,l=mue(e,t,n);let{width:c,height:u}=l;if(o.boxSizing==="content-box"){const p=wa(o,"border","width"),h=wa(o,"padding");c-=h.width+p.width,u-=h.height+p.height}return c=Math.max(0,c-i.width),u=Math.max(0,r?c/r:u-i.height),c=yp(Math.min(c,s,l.maxWidth)),u=yp(Math.min(u,a,l.maxHeight)),c&&!u&&(u=yp(c/2)),(t!==void 0||n!==void 0)&&r&&l.height&&u>l.height&&(u=l.height,c=yp(Math.floor(u*r))),{width:c,height:u}}function Qk(e,t,n){const r=t||1,o=Math.floor(e.height*r),i=Math.floor(e.width*r);e.height=Math.floor(e.height),e.width=Math.floor(e.width);const s=e.canvas;return s.style&&(n||!s.style.height&&!s.style.width)&&(s.style.height=`${e.height}px`,s.style.width=`${e.width}px`),e.currentDevicePixelRatio!==r||s.height!==o||s.width!==i?(e.currentDevicePixelRatio=r,s.height=o,s.width=i,e.ctx.setTransform(r,0,0,r,0,0),!0):!1}const yue=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};X1()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch{}return e}();function Zk(e,t){const n=fue(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}const bue=function(e,t){return{x(n){return e+e+t-n},setWidth(n){t=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,r){return n-r},leftForLtr(n,r){return n-r}}},xue=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function Nl(e,t,n){return e?bue(t,n):xue()}function EL(e,t){let n,r;(t==="ltr"||t==="rtl")&&(n=e.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=r)}function LL(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}/*! + * Chart.js v4.4.3 + * https://www.chartjs.org + * (c) 2024 Chart.js Contributors + * Released under the MIT License + */class Cue{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,n,r,o){const i=n.listeners[o],s=n.duration;i.forEach(a=>a({chart:t,initial:n.initial,numSteps:s,currentStep:Math.min(r-n.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=PL.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((r,o)=>{if(!r.running||!r.items.length)return;const i=r.items;let s=i.length-1,a=!1,l;for(;s>=0;--s)l=i[s],l._active?(l._total>r.duration&&(r.duration=l._total),l.tick(t),a=!0):(i[s]=i[i.length-1],i.pop());a&&(o.draw(),this._notify(o,r,t,"progress")),i.length||(r.running=!1,this._notify(o,r,t,"complete"),r.initial=!1),n+=i.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let r=n.get(t);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,r)),r}listen(t,n,r){this._getAnims(t).listeners[n].push(r)}add(t,n){!n||!n.length||this._getAnims(t).items.push(...n)}has(t){return this._getAnims(t).items.length>0}start(t){const n=this._charts.get(t);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((r,o)=>Math.max(r,o._duration),0),this._refresh())}running(t){if(!this._running)return!1;const n=this._charts.get(t);return!(!n||!n.running||!n.items.length)}stop(t){const n=this._charts.get(t);if(!n||!n.items.length)return;const r=n.items;let o=r.length-1;for(;o>=0;--o)r[o].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var ki=new Cue;const Jk="transparent",Sue={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const r=Uk(e||Jk),o=r.valid&&Uk(t||Jk);return o&&o.valid?o.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class wue{constructor(t,n,r,o){const i=n[r];o=vp([t.to,o,i,t.from]);const s=vp([t.from,i,o]);this._active=!0,this._fn=t.fn||Sue[t.type||typeof s],this._easing=ju[t.easing]||ju.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=r,this._from=s,this._to=o,this._promises=void 0}active(){return this._active}update(t,n,r){if(this._active){this._notify(!1);const o=this._target[this._prop],i=r-this._start,s=this._duration-i;this._start=r,this._duration=Math.floor(Math.max(s,t.duration)),this._total+=i,this._loop=!!t.loop,this._to=vp([t.to,n,o,t.from]),this._from=vp([t.from,o,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,r=this._duration,o=this._prop,i=this._from,s=this._loop,a=this._to;let l;if(this._active=i!==a&&(s||n1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[o]=this._fn(i,a,l)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,r)=>{t.push({res:n,rej:r})})}_notify(t){const n=t?"res":"rej",r=this._promises||[];for(let o=0;o{const i=t[o];if(!At(i))return;const s={};for(const a of n)s[a]=i[a];(bn(i.properties)&&i.properties||[o]).forEach(a=>{(a===o||!r.has(a))&&r.set(a,s)})})}_animateOptions(t,n){const r=n.options,o=kue(t,r);if(!o)return[];const i=this._createAnimations(o,r);return r.$shared&&Pue(t.options.$animations,r).then(()=>{t.options=r},()=>{}),i}_createAnimations(t,n){const r=this._properties,o=[],i=t.$animations||(t.$animations={}),s=Object.keys(n),a=Date.now();let l;for(l=s.length-1;l>=0;--l){const c=s[l];if(c.charAt(0)==="$")continue;if(c==="options"){o.push(...this._animateOptions(t,n));continue}const u=n[c];let f=i[c];const p=r.get(c);if(f)if(p&&f.active()){f.update(p,u,a);continue}else f.cancel();if(!p||!p.duration){t[c]=u;continue}i[c]=f=new wue(p,t,c,u),o.push(f)}return o}update(t,n){if(this._properties.size===0){Object.assign(t,n);return}const r=this._createAnimations(t,n);if(r.length)return ki.add(this._chart,r),!0}}function Pue(e,t){const n=[],r=Object.keys(t);for(let o=0;o0||!n&&i<0)return o.index}return null}function o_(e,t){const{chart:n,_cachedMeta:r}=e,o=n._stacks||(n._stacks={}),{iScale:i,vScale:s,index:a}=r,l=i.axis,c=s.axis,u=$ue(i,s,r),f=t.length;let p;for(let h=0;hn[r].axis===t).shift()}function Aue(e,t){return Va(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function Iue(e,t,n){return Va(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}function Hc(e,t){const n=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t=t||e._parsed;for(const o of t){const i=o._stacks;if(!i||i[r]===void 0||i[r][n]===void 0)return;delete i[r][n],i[r]._visualValues!==void 0&&i[r]._visualValues[n]!==void 0&&delete i[r]._visualValues[n]}}}const m0=e=>e==="reset"||e==="none",i_=(e,t)=>t?e:Object.assign({},e),Eue=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:BL(n,!0),values:null};class Du{constructor(t,n){this.chart=t,this._ctx=t.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=n_(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Hc(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,n=this._cachedMeta,r=this.getDataset(),o=(f,p,h,v)=>f==="x"?p:f==="r"?v:h,i=n.xAxisID=Bt(r.xAxisID,g0(t,"x")),s=n.yAxisID=Bt(r.yAxisID,g0(t,"y")),a=n.rAxisID=Bt(r.rAxisID,g0(t,"r")),l=n.indexAxis,c=n.iAxisID=o(l,i,s,a),u=n.vAxisID=o(l,s,i,a);n.xScale=this.getScaleForId(i),n.yScale=this.getScaleForId(s),n.rScale=this.getScaleForId(a),n.iScale=this.getScaleForId(c),n.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const n=this._cachedMeta;return t===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&Vk(this._data,this),t._stacked&&Hc(t)}_dataCheck(){const t=this.getDataset(),n=t.data||(t.data=[]),r=this._data;if(At(n)){const o=this._cachedMeta;this._data=Tue(n,o)}else if(r!==n){if(r){Vk(r,this);const o=this._cachedMeta;Hc(o),o._parsed=[]}n&&Object.isExtensible(n)&&Ece(n,this),this._syncList=[],this._data=n}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const n=this._cachedMeta,r=this.getDataset();let o=!1;this._dataCheck();const i=n._stacked;n._stacked=n_(n.vScale,n),n.stack!==r.stack&&(o=!0,Hc(n),n.stack=r.stack),this._resyncElements(t),(o||i!==n._stacked)&&o_(this,n._parsed)}configure(){const t=this.chart.config,n=t.datasetScopeKeys(this._type),r=t.getOptionScopes(this.getDataset(),n,!0);this.options=t.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,n){const{_cachedMeta:r,_data:o}=this,{iScale:i,_stacked:s}=r,a=i.axis;let l=t===0&&n===o.length?!0:r._sorted,c=t>0&&r._parsed[t-1],u,f,p;if(this._parsing===!1)r._parsed=o,r._sorted=!0,p=o;else{bn(o[t])?p=this.parseArrayData(r,o,t,n):At(o[t])?p=this.parseObjectData(r,o,t,n):p=this.parsePrimitiveData(r,o,t,n);const h=()=>f[a]===null||c&&f[a]m||f=0;--p)if(!v()){this.updateRangeFromParsed(c,t,h,l);break}}return c}getAllParsedValues(t){const n=this._cachedMeta._parsed,r=[];let o,i,s;for(o=0,i=n.length;o=0&&tthis.getContext(r,o,n),m=c.resolveNamedOptions(p,h,v,f);return m.$shared&&(m.$shared=l,i[s]=Object.freeze(i_(m,l))),m}_resolveAnimations(t,n,r){const o=this.chart,i=this._cachedDataOpts,s=`animation-${n}`,a=i[s];if(a)return a;let l;if(o.options.animation!==!1){const u=this.chart.config,f=u.datasetAnimationScopeKeys(this._type,n),p=u.getOptionScopes(this.getDataset(),f);l=u.createResolver(p,this.getContext(t,r,n))}const c=new jL(o,l&&l.animations);return l&&l._cacheable&&(i[s]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,n){return!n||m0(t)||this.chart._animationsDisabled}_getSharedOptions(t,n){const r=this.resolveDataElementOptions(t,n),o=this._sharedOptions,i=this.getSharedOptions(r),s=this.includeOptions(n,i)||i!==o;return this.updateSharedOptions(i,n,r),{sharedOptions:i,includeOptions:s}}updateElement(t,n,r,o){m0(o)?Object.assign(t,r):this._resolveAnimations(n,o).update(t,r)}updateSharedOptions(t,n,r){t&&!m0(n)&&this._resolveAnimations(void 0,n).update(t,r)}_setStyle(t,n,r,o){t.active=o;const i=this.getStyle(n,o);this._resolveAnimations(n,r,o).update(t,{options:!o&&this.getSharedOptions(i)||i})}removeHoverStyle(t,n,r){this._setStyle(t,r,"active",!1)}setHoverStyle(t,n,r){this._setStyle(t,r,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const n=this._data,r=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const o=r.length,i=n.length,s=Math.min(i,o);s&&this.parse(0,s),i>o?this._insertElements(o,i-o,t):i{for(c.length+=n,a=c.length-1;a>=s;a--)c[a]=c[a-n]};for(l(i),a=t;arg(_,a,l,!0)?1:Math.max($,$*n,T,T*n),v=(_,$,T)=>rg(_,a,l,!0)?-1:Math.min($,$*n,T,T*n),m=h(0,c,f),w=h(xn,u,p),y=v($n,c,f),S=v($n+xn,u,p);r=(m-y)/2,o=(w-S)/2,i=-(m+y)/2,s=-(w+S)/2}return{ratioX:r,ratioY:o,offsetX:i,offsetY:s}}class gu extends Du{constructor(t,n){super(t,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,n){const r=this.getDataset().data,o=this._cachedMeta;if(this._parsing===!1)o._parsed=r;else{let i=l=>+r[l];if(At(r[t])){const{key:l="value"}=this._parsing;i=c=>+bd(r[c],l)}let s,a;for(s=t,a=t+n;s0&&!isNaN(t)?mn*(Math.abs(t)/n):0}getLabelAndValue(t){const n=this._cachedMeta,r=this.chart,o=r.data.labels||[],i=Am(n._parsed[t],r.options.locale);return{label:o[t]||"",value:i}}getMaxBorderWidth(t){let n=0;const r=this.chart;let o,i,s,a,l;if(!t){for(o=0,i=r.data.datasets.length;ot!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")}),gt(gu,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const n=t.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:r,color:o}}=t.legend.options;return n.labels.map((i,s)=>{const l=t.getDatasetMeta(0).controller.getStyle(s);return{text:i,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:o,lineWidth:l.borderWidth,pointStyle:r,hidden:!t.getDataVisibility(s),index:s}})}return[]}},onClick(t,n,r){r.chart.toggleDataVisibility(n.index),r.chart.update()}}}});class tb extends gu{}gt(tb,"id","pie"),gt(tb,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});function qs(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Q1{constructor(t){gt(this,"options");this.options=t||{}}static override(t){Object.assign(Q1.prototype,t)}init(){}formats(){return qs()}parse(){return qs()}format(){return qs()}add(){return qs()}diff(){return qs()}startOf(){return qs()}endOf(){return qs()}}var jue={_date:Q1};function Bue(e,t,n,r){const{controller:o,data:i,_sorted:s}=e,a=o._cachedMeta.iScale;if(a&&t===a.axis&&t!=="r"&&s&&i.length){const l=a._reversePixels?Ace:Jy;if(r){if(o._sharedOptions){const c=i[0],u=typeof c.getRange=="function"&&c.getRange(t);if(u){const f=l(i,t,n-u),p=l(i,t,n+u);return{lo:f.lo,hi:p.hi}}}}else return l(i,t,n)}return{lo:0,hi:i.length-1}}function Zd(e,t,n,r,o){const i=e.getSortedVisibleDatasetMetas(),s=n[t];for(let a=0,l=i.length;a{l[s](t[n],o)&&(i.push({element:l,datasetIndex:c,index:u}),a=a||l.inRange(t.x,t.y,o))}),r&&!a?[]:i}var zue={evaluateInteractionItems:Zd,modes:{index(e,t,n,r){const o=aa(t,e),i=n.axis||"x",s=n.includeInvisible||!1,a=n.intersect?v0(e,o,i,r,s):y0(e,o,i,!1,r,s),l=[];return a.length?(e.getSortedVisibleDatasetMetas().forEach(c=>{const u=a[0].index,f=c.data[u];f&&!f.skip&&l.push({element:f,datasetIndex:c.index,index:u})}),l):[]},dataset(e,t,n,r){const o=aa(t,e),i=n.axis||"xy",s=n.includeInvisible||!1;let a=n.intersect?v0(e,o,i,r,s):y0(e,o,i,!1,r,s);if(a.length>0){const l=a[0].datasetIndex,c=e.getDatasetMeta(l).data;a=[];for(let u=0;un.pos===t)}function a_(e,t){return e.filter(n=>DL.indexOf(n.pos)===-1&&n.box.axis===t)}function Gc(e,t){return e.sort((n,r)=>{const o=t?r:n,i=t?n:r;return o.weight===i.weight?o.index-i.index:o.weight-i.weight})}function Vue(e){const t=[];let n,r,o,i,s,a;for(n=0,r=(e||[]).length;nc.box.fullSize),!0),r=Gc(Uc(t,"left"),!0),o=Gc(Uc(t,"right")),i=Gc(Uc(t,"top"),!0),s=Gc(Uc(t,"bottom")),a=a_(t,"x"),l=a_(t,"y");return{fullSize:n,leftAndTop:r.concat(i),rightAndBottom:o.concat(l).concat(s).concat(a),chartArea:Uc(t,"chartArea"),vertical:r.concat(o).concat(l),horizontal:i.concat(s).concat(a)}}function l_(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function NL(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function Gue(e,t,n,r){const{pos:o,box:i}=n,s=e.maxPadding;if(!At(o)){n.size&&(e[o]-=n.size);const f=r[n.stack]||{size:0,count:1};f.size=Math.max(f.size,n.horizontal?i.height:i.width),n.size=f.size/f.count,e[o]+=n.size}i.getPadding&&NL(s,i.getPadding());const a=Math.max(0,t.outerWidth-l_(s,e,"left","right")),l=Math.max(0,t.outerHeight-l_(s,e,"top","bottom")),c=a!==e.w,u=l!==e.h;return e.w=a,e.h=l,n.horizontal?{same:c,other:u}:{same:u,other:c}}function Kue(e){const t=e.maxPadding;function n(r){const o=Math.max(t[r]-e[r],0);return e[r]+=o,o}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}function Yue(e,t){const n=t.maxPadding;function r(o){const i={left:0,top:0,right:0,bottom:0};return o.forEach(s=>{i[s]=Math.max(t[s],n[s])}),i}return r(e?["left","right"]:["top","bottom"])}function mu(e,t,n,r){const o=[];let i,s,a,l,c,u;for(i=0,s=e.length,c=0;i{typeof m.beforeLayout=="function"&&m.beforeLayout()});const u=l.reduce((m,w)=>w.box.options&&w.box.options.display===!1?m:m+1,0)||1,f=Object.freeze({outerWidth:t,outerHeight:n,padding:o,availableWidth:i,availableHeight:s,vBoxMaxWidth:i/2/u,hBoxMaxHeight:s/2}),p=Object.assign({},o);NL(p,wr(r));const h=Object.assign({maxPadding:p,w:i,h:s,x:o.left,y:o.top},o),v=Hue(l.concat(c),f);mu(a.fullSize,h,f,v),mu(l,h,f,v),mu(c,h,f,v)&&mu(l,h,f,v),Kue(h),c_(a.leftAndTop,h,f,v),h.x+=h.w,h.y+=h.h,c_(a.rightAndBottom,h,f,v),e.chartArea={left:h.left,top:h.top,right:h.left+h.w,bottom:h.top+h.h,height:h.h,width:h.w},Nt(a.chartArea,m=>{const w=m.box;Object.assign(w,e.chartArea),w.update(h.w,h.h,{left:0,top:0,right:0,bottom:0})})}};class FL{acquireContext(t,n){}releaseContext(t){return!1}addEventListener(t,n,r){}removeEventListener(t,n,r){}getDevicePixelRatio(){return 1}getMaximumSize(t,n,r,o){return n=Math.max(0,n||t.width),r=r||t.height,{width:n,height:Math.max(0,o?Math.floor(n/o):r)}}isAttached(t){return!0}updateConfig(t){}}class Xue extends FL{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const ih="$chartjs",que={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},u_=e=>e===null||e==="";function Que(e,t){const n=e.style,r=e.getAttribute("height"),o=e.getAttribute("width");if(e[ih]={initial:{height:r,width:o,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",u_(o)){const i=Zk(e,"width");i!==void 0&&(e.width=i)}if(u_(r))if(e.style.height==="")e.height=e.width/(t||2);else{const i=Zk(e,"height");i!==void 0&&(e.height=i)}return e}const zL=yue?{passive:!0}:!1;function Zue(e,t,n){e&&e.addEventListener(t,n,zL)}function Jue(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,zL)}function ede(e,t){const n=que[e.type]||e.type,{x:r,y:o}=aa(e,t);return{type:n,chart:t,native:e,x:r!==void 0?r:null,y:o!==void 0?o:null}}function ag(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function tde(e,t,n){const r=e.canvas,o=new MutationObserver(i=>{let s=!1;for(const a of i)s=s||ag(a.addedNodes,r),s=s&&!ag(a.removedNodes,r);s&&n()});return o.observe(document,{childList:!0,subtree:!0}),o}function nde(e,t,n){const r=e.canvas,o=new MutationObserver(i=>{let s=!1;for(const a of i)s=s||ag(a.removedNodes,r),s=s&&!ag(a.addedNodes,r);s&&n()});return o.observe(document,{childList:!0,subtree:!0}),o}const xd=new Map;let d_=0;function VL(){const e=window.devicePixelRatio;e!==d_&&(d_=e,xd.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function rde(e,t){xd.size||window.addEventListener("resize",VL),xd.set(e,t)}function ode(e){xd.delete(e),xd.size||window.removeEventListener("resize",VL)}function ide(e,t,n){const r=e.canvas,o=r&&q1(r);if(!o)return;const i=kL((a,l)=>{const c=o.clientWidth;n(a,l),c{const l=a[0],c=l.contentRect.width,u=l.contentRect.height;c===0&&u===0||i(c,u)});return s.observe(o),rde(e,i),s}function b0(e,t,n){n&&n.disconnect(),t==="resize"&&ode(e)}function sde(e,t,n){const r=e.canvas,o=kL(i=>{e.ctx!==null&&n(ede(i,e))},e);return Zue(r,t,o),o}class ade extends FL{acquireContext(t,n){const r=t&&t.getContext&&t.getContext("2d");return r&&r.canvas===t?(Que(t,n),r):null}releaseContext(t){const n=t.canvas;if(!n[ih])return!1;const r=n[ih].initial;["height","width"].forEach(i=>{const s=r[i];ln(s)?n.removeAttribute(i):n.setAttribute(i,s)});const o=r.style||{};return Object.keys(o).forEach(i=>{n.style[i]=o[i]}),n.width=n.width,delete n[ih],!0}addEventListener(t,n,r){this.removeEventListener(t,n);const o=t.$proxies||(t.$proxies={}),s={attach:tde,detach:nde,resize:ide}[n]||sde;o[n]=s(t,n,r)}removeEventListener(t,n){const r=t.$proxies||(t.$proxies={}),o=r[n];if(!o)return;({attach:b0,detach:b0,resize:b0}[n]||Jue)(t,n,o),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,n,r,o){return vue(t,n,r,o)}isAttached(t){const n=t&&q1(t);return!!(n&&n.isConnected)}}function lde(e){return!X1()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?Xue:ade}var Mp;let Jd=(Mp=class{constructor(){gt(this,"x");gt(this,"y");gt(this,"active",!1);gt(this,"options");gt(this,"$animations")}tooltipPosition(t){const{x:n,y:r}=this.getProps(["x","y"],t);return{x:n,y:r}}hasValue(){return ng(this.x)&&ng(this.y)}getProps(t,n){const r=this.$animations;if(!n||!r)return this;const o={};return t.forEach(i=>{o[i]=r[i]&&r[i].active()?r[i]._to:this[i]}),o}},gt(Mp,"defaults",{}),gt(Mp,"defaultRoutes"),Mp);function cde(e,t){const n=e.options.ticks,r=ude(e),o=Math.min(n.maxTicksLimit||r,r),i=n.major.enabled?fde(t):[],s=i.length,a=i[0],l=i[s-1],c=[];if(s>o)return pde(t,c,i,s/o),c;const u=dde(i,t,o);if(s>0){let f,p;const h=s>1?Math.round((l-a)/(s-1)):null;for(xp(t,c,u,ln(h)?0:a-h,a),f=0,p=s-1;fo)return l}return Math.max(o,1)}function fde(e){const t=[];let n,r;for(n=0,r=e.length;ne==="left"?"right":e==="right"?"left":e,f_=(e,t,n)=>t==="top"||t==="left"?e[t]+n:e[t]-n,p_=(e,t)=>Math.min(t||e,e);function h_(e,t){const n=[],r=e.length/t,o=e.length;let i=0;for(;is+a)))return l}function vde(e,t){Nt(e,n=>{const r=n.gc,o=r.length/2;let i;if(o>t){for(i=0;ir?r:n,r=o&&n>r?n:r,{min:Yr(n,Yr(r,n)),max:Yr(r,Yr(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Xt(this.options.beforeUpdate,[this])}update(t,n,r){const{beginAtZero:o,grace:i,ticks:s}=this.options,a=s.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=n,this._margins=r=Object.assign({left:0,right:0,top:0,bottom:0},r),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+r.left+r.right:this.height+r.top+r.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=nue(this,i,o),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a=i||r<=1||!this.isHorizontal()){this.labelRotation=o;return}const u=this._getLabelSizes(),f=u.widest.width,p=u.highest.height,h=xo(this.chart.width-f,0,this.maxWidth);a=t.offset?this.maxWidth/r:h/(r-1),f+6>a&&(a=h/(r-(t.offset?.5:1)),l=this.maxHeight-Kc(t.grid)-n.padding-g_(t.title,this.chart.options.font),c=Math.sqrt(f*f+p*p),s=z1(Math.min(Math.asin(xo((u.highest.height+6)/a,-1,1)),Math.asin(xo(l/c,-1,1))-Math.asin(xo(p/c,-1,1)))),s=Math.max(o,Math.min(i,s))),this.labelRotation=s}afterCalculateLabelRotation(){Xt(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Xt(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:n,options:{ticks:r,title:o,grid:i}}=this,s=this._isVisible(),a=this.isHorizontal();if(s){const l=g_(o,n.options.font);if(a?(t.width=this.maxWidth,t.height=Kc(i)+l):(t.height=this.maxHeight,t.width=Kc(i)+l),r.display&&this.ticks.length){const{first:c,last:u,widest:f,highest:p}=this._getLabelSizes(),h=r.padding*2,v=ri(this.labelRotation),m=Math.cos(v),w=Math.sin(v);if(a){const y=r.mirror?0:w*f.width+m*p.height;t.height=Math.min(this.maxHeight,t.height+y+h)}else{const y=r.mirror?0:m*f.width+w*p.height;t.width=Math.min(this.maxWidth,t.width+y+h)}this._calculatePadding(c,u,w,m)}}this._handleMargins(),a?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,n,r,o){const{ticks:{align:i,padding:s},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,f=this.right-this.getPixelForTick(this.ticks.length-1);let p=0,h=0;l?c?(p=o*t.width,h=r*n.height):(p=r*t.height,h=o*n.width):i==="start"?h=n.width:i==="end"?p=t.width:i!=="inner"&&(p=t.width/2,h=n.width/2),this.paddingLeft=Math.max((p-u+s)*this.width/(this.width-u),0),this.paddingRight=Math.max((h-f+s)*this.width/(this.width-f),0)}else{let u=n.height/2,f=t.height/2;i==="start"?(u=0,f=t.height):i==="end"&&(u=n.height,f=0),this.paddingTop=u+s,this.paddingBottom=f+s}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Xt(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:n}=this.options;return n==="top"||n==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let n,r;for(n=0,r=t.length;n({width:s[E]||0,height:a[E]||0});return{first:A(0),last:A(n-1),widest:A(P),highest:A(O),widths:s,heights:a}}getLabelForValue(t){return t}getPixelForValue(t,n){return NaN}getValueForPixel(t){}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const n=this._startPixel+t*this._length;return Mce(this._alignToPixels?Xs(this.chart,n,0):n)}getDecimalForPixel(t){const n=(t-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:n}=this;return t<0&&n<0?n:t>0&&n>0?t:0}getContext(t){const n=this.ticks||[];if(t>=0&&ta*o?a/r:l/o:l*o0}_computeGridLineItems(t){const n=this.axis,r=this.chart,o=this.options,{grid:i,position:s,border:a}=o,l=i.offset,c=this.isHorizontal(),f=this.ticks.length+(l?1:0),p=Kc(i),h=[],v=a.setContext(this.getContext()),m=v.display?v.width:0,w=m/2,y=function(D){return Xs(r,D,m)};let S,_,$,T,P,O,A,E,j,B,V,H;if(s==="top")S=y(this.bottom),O=this.bottom-p,E=S-w,B=y(t.top)+w,H=t.bottom;else if(s==="bottom")S=y(this.top),B=t.top,H=y(t.bottom)-w,O=S+w,E=this.top+p;else if(s==="left")S=y(this.right),P=this.right-p,A=S-w,j=y(t.left)+w,V=t.right;else if(s==="right")S=y(this.left),j=t.left,V=y(t.right)-w,P=S+w,A=this.left+p;else if(n==="x"){if(s==="center")S=y((t.top+t.bottom)/2+.5);else if(At(s)){const D=Object.keys(s)[0],G=s[D];S=y(this.chart.scales[D].getPixelForValue(G))}B=t.top,H=t.bottom,O=S+w,E=O+p}else if(n==="y"){if(s==="center")S=y((t.left+t.right)/2);else if(At(s)){const D=Object.keys(s)[0],G=s[D];S=y(this.chart.scales[D].getPixelForValue(G))}P=S-w,A=P-p,j=t.left,V=t.right}const U=Bt(o.ticks.maxTicksLimit,f),I=Math.max(1,Math.ceil(f/U));for(_=0;_0&&(ue-=ae/2);break}ve={left:ue,top:ye,width:ae+Ce.width,height:se+Ce.height,color:I.backdropColor}}w.push({label:$,font:E,textOffset:V,options:{rotation:m,color:G,strokeColor:N,strokeWidth:K,textAlign:Z,textBaseline:H,translation:[T,P],backdrop:ve}})}return w}_getXAxisLabelAlignment(){const{position:t,ticks:n}=this.options;if(-ri(this.labelRotation))return t==="top"?"left":"right";let o="center";return n.align==="start"?o="left":n.align==="end"?o="right":n.align==="inner"&&(o="inner"),o}_getYAxisLabelAlignment(t){const{position:n,ticks:{crossAlign:r,mirror:o,padding:i}}=this.options,s=this._getLabelSizes(),a=t+i,l=s.widest.width;let c,u;return n==="left"?o?(u=this.right+i,r==="near"?c="left":r==="center"?(c="center",u+=l/2):(c="right",u+=l)):(u=this.right-a,r==="near"?c="right":r==="center"?(c="center",u-=l/2):(c="left",u=this.left)):n==="right"?o?(u=this.left+i,r==="near"?c="right":r==="center"?(c="center",u-=l/2):(c="left",u-=l)):(u=this.left+a,r==="near"?c="left":r==="center"?(c="center",u+=l/2):(c="right",u=this.right)):c="right",{textAlign:c,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){const{ctx:t,options:{backgroundColor:n},left:r,top:o,width:i,height:s}=this;n&&(t.save(),t.fillStyle=n,t.fillRect(r,o,i,s),t.restore())}getLineWidthForValue(t){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const o=this.ticks.findIndex(i=>i.value===t);return o>=0?n.setContext(this.getContext(o)).lineWidth:0}drawGrid(t){const n=this.options.grid,r=this.ctx,o=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let i,s;const a=(l,c,u)=>{!u.width||!u.color||(r.save(),r.lineWidth=u.width,r.strokeStyle=u.color,r.setLineDash(u.borderDash||[]),r.lineDashOffset=u.borderDashOffset,r.beginPath(),r.moveTo(l.x,l.y),r.lineTo(c.x,c.y),r.stroke(),r.restore())};if(n.display)for(i=0,s=o.length;i{this.draw(i)}}]:[{z:r,draw:i=>{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:o,draw:()=>{this.drawBorder()}},{z:n,draw:i=>{this.drawLabels(i)}}]}getMatchingVisibleMetas(t){const n=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",o=[];let i,s;for(i=0,s=n.length;i{const r=n.split("."),o=r.pop(),i=[e].concat(r).join("."),s=t[n].split("."),a=s.pop(),l=s.join(".");vn.route(i,o,l,a)})}function Pde(e){return"id"in e&&"defaults"in e}class kde{constructor(){this.controllers=new Cp(Du,"datasets",!0),this.elements=new Cp(Jd,"elements"),this.plugins=new Cp(Object,"plugins"),this.scales=new Cp(Cc,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,n,r){[...n].forEach(o=>{const i=r||this._getRegistryForType(o);r||i.isForType(o)||i===this.plugins&&o.id?this._exec(t,i,o):Nt(o,s=>{const a=r||this._getRegistryForType(s);this._exec(t,a,s)})})}_exec(t,n,r){const o=F1(t);Xt(r["before"+o],[],r),n[t](r),Xt(r["after"+o],[],r)}_getRegistryForType(t){for(let n=0;ni.filter(a=>!s.some(l=>a.plugin.id===l.plugin.id));this._notify(o(n,r),t,"stop"),this._notify(o(r,n),t,"start")}}function Rde(e){const t={},n=[],r=Object.keys(Zo.plugins.items);for(let i=0;i1&&m_(e[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function v_(e,t,n){if(n[t+"AxisID"]===e)return{axis:t}}function Ede(e,t){if(t.data&&t.data.datasets){const n=t.data.datasets.filter(r=>r.xAxisID===e||r.yAxisID===e);if(n.length)return v_(e,"x",n[0])||v_(e,"y",n[0])}return{}}function Lde(e,t){const n=Aa[e.type]||{scales:{}},r=t.scales||{},o=nb(e.type,t),i=Object.create(null);return Object.keys(r).forEach(s=>{const a=r[s];if(!At(a))return console.error(`Invalid scale configuration for scale: ${s}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${s}`);const l=rb(s,a,Ede(s,e),vn.scales[a.type]),c=Ade(l,o),u=n.scales||{};i[s]=Lu(Object.create(null),[{axis:l},a,u[l],u[c]])}),e.data.datasets.forEach(s=>{const a=s.type||e.type,l=s.indexAxis||nb(a,t),u=(Aa[a]||{}).scales||{};Object.keys(u).forEach(f=>{const p=Mde(f,l),h=s[p+"AxisID"]||p;i[h]=i[h]||Object.create(null),Lu(i[h],[{axis:p},r[h],u[f]])})}),Object.keys(i).forEach(s=>{const a=i[s];Lu(a,[vn.scales[a.type],vn.scale])}),i}function WL(e){const t=e.options||(e.options={});t.plugins=Bt(t.plugins,{}),t.scales=Lde(e,t)}function HL(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function jde(e){return e=e||{},e.data=HL(e.data),WL(e),e}const y_=new Map,UL=new Set;function Sp(e,t){let n=y_.get(e);return n||(n=t(),y_.set(e,n),UL.add(n)),n}const Yc=(e,t,n)=>{const r=bd(t,n);r!==void 0&&e.add(r)};class Bde{constructor(t){this._config=jde(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=HL(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),WL(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Sp(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,n){return Sp(`${t}.transition.${n}`,()=>[[`datasets.${t}.transitions.${n}`,`transitions.${n}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,n){return Sp(`${t}-${n}`,()=>[[`datasets.${t}.elements.${n}`,`datasets.${t}`,`elements.${n}`,""]])}pluginScopeKeys(t){const n=t.id,r=this.type;return Sp(`${r}-plugin-${n}`,()=>[[`plugins.${n}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,n){const r=this._scopeCache;let o=r.get(t);return(!o||n)&&(o=new Map,r.set(t,o)),o}getOptionScopes(t,n,r){const{options:o,type:i}=this,s=this._cachedScopes(t,r),a=s.get(n);if(a)return a;const l=new Set;n.forEach(u=>{t&&(l.add(t),u.forEach(f=>Yc(l,t,f))),u.forEach(f=>Yc(l,o,f)),u.forEach(f=>Yc(l,Aa[i]||{},f)),u.forEach(f=>Yc(l,vn,f)),u.forEach(f=>Yc(l,eb,f))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),UL.has(n)&&s.set(n,c),c}chartOptionScopes(){const{options:t,type:n}=this;return[t,Aa[n]||{},vn.datasets[n]||{},{type:n},vn,eb]}resolveNamedOptions(t,n,r,o=[""]){const i={$shared:!0},{resolver:s,subPrefixes:a}=b_(this._resolverCache,t,o);let l=s;if(Nde(s,n)){i.$shared=!1,r=Is(r)?r():r;const c=this.createResolver(t,r,a);l=sc(s,r,c)}for(const c of n)i[c]=l[c];return i}createResolver(t,n,r=[""],o){const{resolver:i}=b_(this._resolverCache,t,r);return At(n)?sc(i,n,void 0,o):i}}function b_(e,t,n){let r=e.get(t);r||(r=new Map,e.set(t,r));const o=n.join();let i=r.get(o);return i||(i={resolver:G1(t,n),subPrefixes:n.filter(a=>!a.toLowerCase().includes("hover"))},r.set(o,i)),i}const Dde=e=>At(e)&&Object.getOwnPropertyNames(e).some(t=>Is(e[t]));function Nde(e,t){const{isScriptable:n,isIndexable:r}=OL(e);for(const o of t){const i=n(o),s=r(o),a=(s||i)&&e[o];if(i&&(Is(a)||Dde(a))||s&&bn(a))return!0}return!1}var Fde="4.4.3";const zde=["top","bottom","left","right","chartArea"];function x_(e,t){return e==="top"||e==="bottom"||zde.indexOf(e)===-1&&t==="x"}function C_(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function S_(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),Xt(n&&n.onComplete,[e],t)}function Vde(e){const t=e.chart,n=t.options.animation;Xt(n&&n.onProgress,[e],t)}function GL(e){return X1()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const sh={},w_=e=>{const t=GL(e);return Object.values(sh).filter(n=>n.canvas===t).pop()};function Wde(e,t,n){const r=Object.keys(e);for(const o of r){const i=+o;if(i>=t){const s=e[o];delete e[o],(n>0||i>t)&&(e[i+n]=s)}}}function Hde(e,t,n,r){return!n||e.type==="mouseout"?null:r?t:e}function wp(e,t,n){return e.options.clip?e[n]:t[n]}function Ude(e,t){const{xScale:n,yScale:r}=e;return n&&r?{left:wp(n,t,"left"),right:wp(n,t,"right"),top:wp(r,t,"top"),bottom:wp(r,t,"bottom")}:t}var os;let Lm=(os=class{static register(...t){Zo.add(...t),P_()}static unregister(...t){Zo.remove(...t),P_()}constructor(t,n){const r=this.config=new Bde(n),o=GL(t),i=w_(o);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");const s=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||lde(o)),this.platform.updateConfig(r);const a=this.platform.acquireContext(o,s.aspectRatio),l=a&&a.canvas,c=l&&l.height,u=l&&l.width;if(this.id=xce(),this.ctx=a,this.canvas=l,this.width=u,this.height=c,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new _de,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=jce(f=>this.update(f),s.resizeDelay||0),this._dataChanges=[],sh[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}ki.listen(this,"complete",S_),ki.listen(this,"progress",Vde),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:n},width:r,height:o,_aspectRatio:i}=this;return ln(t)?n&&i?i:o?r/o:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return Zo}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Qk(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Kk(this.canvas,this.ctx),this}stop(){return ki.stop(this),this}resize(t,n){ki.running(this)?this._resizeBeforeDraw={width:t,height:n}:this._resize(t,n)}_resize(t,n){const r=this.options,o=this.canvas,i=r.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(o,t,n,i),a=r.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,Qk(this,a,!0)&&(this.notifyPlugins("resize",{size:s}),Xt(r.onResize,[this,s],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};Nt(n,(r,o)=>{r.id=o})}buildOrUpdateScales(){const t=this.options,n=t.scales,r=this.scales,o=Object.keys(r).reduce((s,a)=>(s[a]=!1,s),{});let i=[];n&&(i=i.concat(Object.keys(n).map(s=>{const a=n[s],l=rb(s,a),c=l==="r",u=l==="x";return{options:a,dposition:c?"chartArea":u?"bottom":"left",dtype:c?"radialLinear":u?"category":"linear"}}))),Nt(i,s=>{const a=s.options,l=a.id,c=rb(l,a),u=Bt(a.type,s.dtype);(a.position===void 0||x_(a.position,c)!==x_(s.dposition))&&(a.position=s.dposition),o[l]=!0;let f=null;if(l in r&&r[l].type===u)f=r[l];else{const p=Zo.getScale(u);f=new p({id:l,type:u,ctx:this.ctx,chart:this}),r[f.id]=f}f.init(a,t)}),Nt(o,(s,a)=>{s||delete r[a]}),Nt(r,s=>{ms.configure(this,s,s.options),ms.addBox(this,s)})}_updateMetasets(){const t=this._metasets,n=this.data.datasets.length,r=t.length;if(t.sort((o,i)=>o.index-i.index),r>n){for(let o=n;on.length&&delete this._stacks,t.forEach((r,o)=>{n.filter(i=>i===r._dataset).length===0&&this._destroyDatasetMeta(o)})}buildOrUpdateControllers(){const t=[],n=this.data.datasets;let r,o;for(this._removeUnreferencedMetasets(),r=0,o=n.length;r{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const n=this.config;n.update();const r=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),o=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let c=0,u=this.data.datasets.length;c{c.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(C_("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){Nt(this.scales,t=>{ms.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(t.events);(!Dk(n,r)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,n=this._getUniformDataChanges()||[];for(const{method:r,start:o,count:i}of n){const s=r==="_removeElements"?-i:i;Wde(t,o,s)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const n=this.data.datasets.length,r=i=>new Set(t.filter(s=>s[0]===i).map((s,a)=>a+","+s.splice(1).join(","))),o=r(0);for(let i=1;ii.split(",")).map(i=>({method:i[1],start:+i[2],count:+i[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;ms.update(this,this.width,this.height,t);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],Nt(this.boxes,o=>{r&&o.position==="chartArea"||(o.configure&&o.configure(),this._layers.push(...o._layers()))},this),this._layers.forEach((o,i)=>{o._idx=i}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let n=0,r=this.data.datasets.length;n=0;--n)this._drawDataset(t[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const n=this.ctx,r=t._clip,o=!r.disabled,i=Ude(t,this.chartArea),s={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",s)!==!1&&(o&&W1(n,{left:r.left===!1?0:i.left-r.left,right:r.right===!1?this.width:i.right+r.right,top:r.top===!1?0:i.top-r.top,bottom:r.bottom===!1?this.height:i.bottom+r.bottom}),t.controller.draw(),o&&H1(n),s.cancelable=!1,this.notifyPlugins("afterDatasetDraw",s))}isPointInArea(t){return kl(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,r,o){const i=zue.modes[n];return typeof i=="function"?i(this,t,r,o):[]}getDatasetMeta(t){const n=this.data.datasets[t],r=this._metasets;let o=r.filter(i=>i&&i._dataset===n).pop();return o||(o={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:t,_dataset:n,_parsed:[],_sorted:!1},r.push(o)),o}getContext(){return this.$context||(this.$context=Va(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const n=this.data.datasets[t];if(!n)return!1;const r=this.getDatasetMeta(t);return typeof r.hidden=="boolean"?!r.hidden:!n.hidden}setDatasetVisibility(t,n){const r=this.getDatasetMeta(t);r.hidden=!n}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,n,r){const o=r?"show":"hide",i=this.getDatasetMeta(t),s=i.controller._resolveAnimations(void 0,o);Jh(n)?(i.data[n].hidden=!r,this.update()):(this.setDatasetVisibility(t,r),s.update(i,{visible:r}),this.update(a=>a.datasetIndex===t?o:void 0))}hide(t,n){this._updateVisibility(t,n,!1)}show(t,n){this._updateVisibility(t,n,!0)}_destroyDatasetMeta(t){const n=this._metasets[t];n&&n.controller&&n.controller._destroy(),delete this._metasets[t]}_stop(){let t,n;for(this.stop(),ki.remove(this),t=0,n=this.data.datasets.length;t{n.addEventListener(this,i,s),t[i]=s},o=(i,s,a)=>{i.offsetX=s,i.offsetY=a,this._eventHandler(i)};Nt(this.options.events,i=>r(i,o))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,n=this.platform,r=(l,c)=>{n.addEventListener(this,l,c),t[l]=c},o=(l,c)=>{t[l]&&(n.removeEventListener(this,l,c),delete t[l])},i=(l,c)=>{this.canvas&&this.resize(l,c)};let s;const a=()=>{o("attach",a),this.attached=!0,this.resize(),r("resize",i),r("detach",s)};s=()=>{this.attached=!1,o("resize",i),this._stop(),this._resize(0,0),r("attach",a)},n.isAttached(this.canvas)?a():s()}unbindEvents(){Nt(this._listeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._listeners={},Nt(this._responsiveListeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,n,r){const o=r?"set":"remove";let i,s,a,l;for(n==="dataset"&&(i=this.getDatasetMeta(t[0].datasetIndex),i.controller["_"+o+"DatasetHoverStyle"]()),a=0,l=t.length;a{const a=this.getDatasetMeta(i);if(!a)throw new Error("No dataset found at index "+i);return{datasetIndex:i,element:a.data[s],index:s}});!Qh(r,n)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,n))}notifyPlugins(t,n,r){return this._plugins.notify(this,t,n,r)}isPluginEnabled(t){return this._plugins._cache.filter(n=>n.plugin.id===t).length===1}_updateHoverStyles(t,n,r){const o=this.options.hover,i=(l,c)=>l.filter(u=>!c.some(f=>u.datasetIndex===f.datasetIndex&&u.index===f.index)),s=i(n,t),a=r?t:i(t,n);s.length&&this.updateHoverStyle(s,o.mode,!1),a.length&&o.mode&&this.updateHoverStyle(a,o.mode,!0)}_eventHandler(t,n){const r={event:t,replay:n,cancelable:!0,inChartArea:this.isPointInArea(t)},o=s=>(s.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",r,o)===!1)return;const i=this._handleEvent(t,n,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,o),(i||r.changed)&&this.render(),this}_handleEvent(t,n,r){const{_active:o=[],options:i}=this,s=n,a=this._getActiveElements(t,o,r,s),l=_ce(t),c=Hde(t,this._lastEvent,r,l);r&&(this._lastEvent=null,Xt(i.onHover,[t,a,this],this),l&&Xt(i.onClick,[t,a,this],this));const u=!Qh(a,o);return(u||n)&&(this._active=a,this._updateHoverStyles(a,o,n)),this._lastEvent=c,u}_getActiveElements(t,n,r,o){if(t.type==="mouseout")return[];if(!r)return n;const i=this.options.hover;return this.getElementsAtEventForMode(t,i.mode,i,o)}},gt(os,"defaults",vn),gt(os,"instances",sh),gt(os,"overrides",Aa),gt(os,"registry",Zo),gt(os,"version",Fde),gt(os,"getChart",w_),os);function P_(){return Nt(Lm.instances,e=>e._plugins.invalidate())}function Gde(e,t,n){const{startAngle:r,pixelMargin:o,x:i,y:s,outerRadius:a,innerRadius:l}=t;let c=o/a;e.beginPath(),e.arc(i,s,a,r-c,n+c),l>o?(c=o/l,e.arc(i,s,l,n+c,r-c,!0)):e.arc(i,s,o,n+xn,r-xn),e.closePath(),e.clip()}function Kde(e){return U1(e,["outerStart","outerEnd","innerStart","innerEnd"])}function Yde(e,t,n,r){const o=Kde(e.options.borderRadius),i=(n-t)/2,s=Math.min(i,r*t/2),a=l=>{const c=(n-Math.min(i,l))*r/2;return xo(l,0,Math.min(i,c))};return{outerStart:a(o.outerStart),outerEnd:a(o.outerEnd),innerStart:xo(o.innerStart,0,s),innerEnd:xo(o.innerEnd,0,s)}}function el(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function lg(e,t,n,r,o,i){const{x:s,y:a,startAngle:l,pixelMargin:c,innerRadius:u}=t,f=Math.max(t.outerRadius+r+n-c,0),p=u>0?u+r+n+c:0;let h=0;const v=o-l;if(r){const I=u>0?u-r:0,D=f>0?f-r:0,G=(I+D)/2,N=G!==0?v*G/(G+r):v;h=(v-N)/2}const m=Math.max(.001,v*f-n/$n)/f,w=(v-m)/2,y=l+w+h,S=o-w-h,{outerStart:_,outerEnd:$,innerStart:T,innerEnd:P}=Yde(t,p,f,S-y),O=f-_,A=f-$,E=y+_/O,j=S-$/A,B=p+T,V=p+P,H=y+T/B,U=S-P/V;if(e.beginPath(),i){const I=(E+j)/2;if(e.arc(s,a,f,E,I),e.arc(s,a,f,I,j),$>0){const K=el(A,j,s,a);e.arc(K.x,K.y,$,j,S+xn)}const D=el(V,S,s,a);if(e.lineTo(D.x,D.y),P>0){const K=el(V,U,s,a);e.arc(K.x,K.y,P,S+xn,U+Math.PI)}const G=(S-P/p+(y+T/p))/2;if(e.arc(s,a,p,S-P/p,G,!0),e.arc(s,a,p,G,y+T/p,!0),T>0){const K=el(B,H,s,a);e.arc(K.x,K.y,T,H+Math.PI,y-xn)}const N=el(O,y,s,a);if(e.lineTo(N.x,N.y),_>0){const K=el(O,E,s,a);e.arc(K.x,K.y,_,y-xn,E)}}else{e.moveTo(s,a);const I=Math.cos(E)*f+s,D=Math.sin(E)*f+a;e.lineTo(I,D);const G=Math.cos(j)*f+s,N=Math.sin(j)*f+a;e.lineTo(G,N)}e.closePath()}function Xde(e,t,n,r,o){const{fullCircles:i,startAngle:s,circumference:a}=t;let l=t.endAngle;if(i){lg(e,t,n,r,l,o);for(let c=0;c=mn||rg(s,l,c),w=hu(a,u+h,f+h);return m&&w}getCenterPoint(n){const{x:r,y:o,startAngle:i,endAngle:s,innerRadius:a,outerRadius:l}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],n),{offset:c,spacing:u}=this.options,f=(i+s)/2,p=(a+l+u+c)/2;return{x:r+Math.cos(f)*p,y:o+Math.sin(f)*p}}tooltipPosition(n){return this.getCenterPoint(n)}draw(n){const{options:r,circumference:o}=this,i=(r.offset||0)/4,s=(r.spacing||0)/2,a=r.circular;if(this.pixelMargin=r.borderAlign==="inner"?.33:0,this.fullCircles=o>mn?Math.floor(o/mn):0,o===0||this.innerRadius<0||this.outerRadius<0)return;n.save();const l=(this.startAngle+this.endAngle)/2;n.translate(Math.cos(l)*i,Math.sin(l)*i);const c=1-Math.sin(Math.min($n,o||0)),u=i*c;n.fillStyle=r.backgroundColor,n.strokeStyle=r.borderColor,Xde(n,this,u,s,a),qde(n,this,u,s,a),n.restore()}}gt(vu,"id","arc"),gt(vu,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),gt(vu,"defaultRoutes",{backgroundColor:"backgroundColor"}),gt(vu,"descriptors",{_scriptable:!0,_indexable:n=>n!=="borderDash"});const k_=(e,t)=>{let{boxHeight:n=t,boxWidth:r=t}=e;return e.usePointStyle&&(n=Math.min(n,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(t,n)}},Qde=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index;class __ extends Jd{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n,r){this.maxWidth=t,this.maxHeight=n,this._margins=r,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let n=Xt(t.generateLabels,[this.chart],this)||[];t.filter&&(n=n.filter(r=>t.filter(r,this.chart.data))),t.sort&&(n=n.sort((r,o)=>t.sort(r,o,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:t,ctx:n}=this;if(!t.display){this.width=this.height=0;return}const r=t.labels,o=Qn(r.font),i=o.size,s=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=k_(r,i);let c,u;n.font=o.string,this.isHorizontal()?(c=this.maxWidth,u=this._fitRows(s,i,a,l)+10):(u=this.maxHeight,c=this._fitCols(s,o,a,l)+10),this.width=Math.min(c,t.maxWidth||this.maxWidth),this.height=Math.min(u,t.maxHeight||this.maxHeight)}_fitRows(t,n,r,o){const{ctx:i,maxWidth:s,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],u=o+a;let f=t;i.textAlign="left",i.textBaseline="middle";let p=-1,h=-u;return this.legendItems.forEach((v,m)=>{const w=r+n/2+i.measureText(v.text).width;(m===0||c[c.length-1]+w+2*a>s)&&(f+=u,c[c.length-(m>0?0:1)]=0,h+=u,p++),l[m]={left:0,top:h,row:p,width:w,height:o},c[c.length-1]+=w+a}),f}_fitCols(t,n,r,o){const{ctx:i,maxHeight:s,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],u=s-t;let f=a,p=0,h=0,v=0,m=0;return this.legendItems.forEach((w,y)=>{const{itemWidth:S,itemHeight:_}=Zde(r,n,i,w,o);y>0&&h+_+2*a>u&&(f+=p+a,c.push({width:p,height:h}),v+=p+a,m++,p=h=0),l[y]={left:v,top:h,col:m,width:S,height:_},p=Math.max(p,S),h+=_+a}),f+=p,c.push({width:p,height:h}),f}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:r,labels:{padding:o},rtl:i}}=this,s=Nl(i,this.left,this.width);if(this.isHorizontal()){let a=0,l=Kr(r,this.left+o,this.right-this.lineWidths[a]);for(const c of n)a!==c.row&&(a=c.row,l=Kr(r,this.left+o,this.right-this.lineWidths[a])),c.top+=this.top+t+o,c.left=s.leftForLtr(s.x(l),c.width),l+=c.width+o}else{let a=0,l=Kr(r,this.top+t+o,this.bottom-this.columnSizes[a].height);for(const c of n)c.col!==a&&(a=c.col,l=Kr(r,this.top+t+o,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+o,c.left=s.leftForLtr(s.x(c.left),c.width),l+=c.height+o}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const t=this.ctx;W1(t,this),this._draw(),H1(t)}}_draw(){const{options:t,columnSizes:n,lineWidths:r,ctx:o}=this,{align:i,labels:s}=t,a=vn.color,l=Nl(t.rtl,this.left,this.width),c=Qn(s.font),{padding:u}=s,f=c.size,p=f/2;let h;this.drawTitle(),o.textAlign=l.textAlign("left"),o.textBaseline="middle",o.lineWidth=.5,o.font=c.string;const{boxWidth:v,boxHeight:m,itemHeight:w}=k_(s,f),y=function(P,O,A){if(isNaN(v)||v<=0||isNaN(m)||m<0)return;o.save();const E=Bt(A.lineWidth,1);if(o.fillStyle=Bt(A.fillStyle,a),o.lineCap=Bt(A.lineCap,"butt"),o.lineDashOffset=Bt(A.lineDashOffset,0),o.lineJoin=Bt(A.lineJoin,"miter"),o.lineWidth=E,o.strokeStyle=Bt(A.strokeStyle,a),o.setLineDash(Bt(A.lineDash,[])),s.usePointStyle){const j={radius:m*Math.SQRT2/2,pointStyle:A.pointStyle,rotation:A.rotation,borderWidth:E},B=l.xPlus(P,v/2),V=O+p;$L(o,j,B,V,s.pointStyleWidth&&v)}else{const j=O+Math.max((f-m)/2,0),B=l.leftForLtr(P,v),V=Dl(A.borderRadius);o.beginPath(),Object.values(V).some(H=>H!==0)?ig(o,{x:B,y:j,w:v,h:m,radius:V}):o.rect(B,j,v,m),o.fill(),E!==0&&o.stroke()}o.restore()},S=function(P,O,A){ic(o,A.text,P,O+w/2,c,{strikethrough:A.hidden,textAlign:l.textAlign(A.textAlign)})},_=this.isHorizontal(),$=this._computeTitleHeight();_?h={x:Kr(i,this.left+u,this.right-r[0]),y:this.top+u+$,line:0}:h={x:this.left+u,y:Kr(i,this.top+$+u,this.bottom-n[0].height),line:0},EL(this.ctx,t.textDirection);const T=w+u;this.legendItems.forEach((P,O)=>{o.strokeStyle=P.fontColor,o.fillStyle=P.fontColor;const A=o.measureText(P.text).width,E=l.textAlign(P.textAlign||(P.textAlign=s.textAlign)),j=v+p+A;let B=h.x,V=h.y;l.setWidth(this.width),_?O>0&&B+j+u>this.right&&(V=h.y+=T,h.line++,B=h.x=Kr(i,this.left+u,this.right-r[h.line])):O>0&&V+T>this.bottom&&(B=h.x=B+n[h.line].width+u,h.line++,V=h.y=Kr(i,this.top+$+u,this.bottom-n[h.line].height));const H=l.x(B);if(y(H,V,P),B=Bce(E,B+v+p,_?B+j:this.right,t.rtl),S(l.x(B),V,P),_)h.x+=j+u;else if(typeof P.text!="string"){const U=c.lineHeight;h.y+=KL(P,U)+u}else h.y+=T}),LL(this.ctx,t.textDirection)}drawTitle(){const t=this.options,n=t.title,r=Qn(n.font),o=wr(n.padding);if(!n.display)return;const i=Nl(t.rtl,this.left,this.width),s=this.ctx,a=n.position,l=r.size/2,c=o.top+l;let u,f=this.left,p=this.width;if(this.isHorizontal())p=Math.max(...this.lineWidths),u=this.top+c,f=Kr(t.align,f,this.right-p);else{const v=this.columnSizes.reduce((m,w)=>Math.max(m,w.height),0);u=c+Kr(t.align,this.top,this.bottom-v-t.labels.padding-this._computeTitleHeight())}const h=Kr(a,f,f+p);s.textAlign=i.textAlign(_L(a)),s.textBaseline="middle",s.strokeStyle=n.color,s.fillStyle=n.color,s.font=r.string,ic(s,n.text,h,u,r)}_computeTitleHeight(){const t=this.options.title,n=Qn(t.font),r=wr(t.padding);return t.display?n.lineHeight+r.height:0}_getLegendItemAt(t,n){let r,o,i;if(hu(t,this.left,this.right)&&hu(n,this.top,this.bottom)){for(i=this.legendHitBoxes,r=0;ri.length>s.length?i:s)),t+n.size/2+r.measureText(o).width}function efe(e,t,n){let r=e;return typeof t.text!="string"&&(r=KL(t,n)),r}function KL(e,t){const n=e.text?e.text.length:0;return t*n}function tfe(e,t){return!!((e==="mousemove"||e==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(e==="click"||e==="mouseup"))}var nfe={id:"legend",_element:__,start(e,t,n){const r=e.legend=new __({ctx:e.ctx,options:n,chart:e});ms.configure(e,r,n),ms.addBox(e,r)},stop(e){ms.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){const r=e.legend;ms.configure(e,r,n),r.options=n},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){const r=t.datasetIndex,o=n.chart;o.isDatasetVisible(r)?(o.hide(r),t.hidden=!0):(o.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:o,color:i,useBorderRadius:s,borderRadius:a}}=e.legend.options;return e._getSortedDatasetMetas().map(l=>{const c=l.controller.getStyle(n?0:void 0),u=wr(c.borderWidth);return{text:t[l.index].label,fillStyle:c.backgroundColor,fontColor:i,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:c.borderColor,pointStyle:r||c.pointStyle,rotation:c.rotation,textAlign:o||c.textAlign,borderRadius:s&&(a||c.borderRadius),datasetIndex:l.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};const yu={average(e){if(!e.length)return!1;let t,n,r=new Set,o=0,i=0;for(t=0,n=e.length;ta+l)/r.size,y:o/i}},nearest(e,t){if(!e.length)return!1;let n=t.x,r=t.y,o=Number.POSITIVE_INFINITY,i,s,a;for(i=0,s=e.length;i-1?e.split(` +`):e}function rfe(e,t){const{element:n,datasetIndex:r,index:o}=t,i=e.getDatasetMeta(r).controller,{label:s,value:a}=i.getLabelAndValue(o);return{chart:e,label:s,parsed:i.getParsed(o),raw:e.data.datasets[r].data[o],formattedValue:a,dataset:i.getDataset(),dataIndex:o,datasetIndex:r,element:n}}function R_(e,t){const n=e.chart.ctx,{body:r,footer:o,title:i}=e,{boxWidth:s,boxHeight:a}=t,l=Qn(t.bodyFont),c=Qn(t.titleFont),u=Qn(t.footerFont),f=i.length,p=o.length,h=r.length,v=wr(t.padding);let m=v.height,w=0,y=r.reduce(($,T)=>$+T.before.length+T.lines.length+T.after.length,0);if(y+=e.beforeBody.length+e.afterBody.length,f&&(m+=f*c.lineHeight+(f-1)*t.titleSpacing+t.titleMarginBottom),y){const $=t.displayColors?Math.max(a,l.lineHeight):l.lineHeight;m+=h*$+(y-h)*l.lineHeight+(y-1)*t.bodySpacing}p&&(m+=t.footerMarginTop+p*u.lineHeight+(p-1)*t.footerSpacing);let S=0;const _=function($){w=Math.max(w,n.measureText($).width+S)};return n.save(),n.font=c.string,Nt(e.title,_),n.font=l.string,Nt(e.beforeBody.concat(e.afterBody),_),S=t.displayColors?s+2+t.boxPadding:0,Nt(r,$=>{Nt($.before,_),Nt($.lines,_),Nt($.after,_)}),S=0,n.font=u.string,Nt(e.footer,_),n.restore(),w+=v.width,{width:w,height:m}}function ofe(e,t){const{y:n,height:r}=t;return ne.height-r/2?"bottom":"center"}function ife(e,t,n,r){const{x:o,width:i}=r,s=n.caretSize+n.caretPadding;if(e==="left"&&o+i+s>t.width||e==="right"&&o-i-s<0)return!0}function sfe(e,t,n,r){const{x:o,width:i}=n,{width:s,chartArea:{left:a,right:l}}=e;let c="center";return r==="center"?c=o<=(a+l)/2?"left":"right":o<=i/2?c="left":o>=s-i/2&&(c="right"),ife(c,e,t,n)&&(c="center"),c}function T_(e,t,n){const r=n.yAlign||t.yAlign||ofe(e,n);return{xAlign:n.xAlign||t.xAlign||sfe(e,t,n,r),yAlign:r}}function afe(e,t){let{x:n,width:r}=e;return t==="right"?n-=r:t==="center"&&(n-=r/2),n}function lfe(e,t,n){let{y:r,height:o}=e;return t==="top"?r+=n:t==="bottom"?r-=o+n:r-=o/2,r}function $_(e,t,n,r){const{caretSize:o,caretPadding:i,cornerRadius:s}=e,{xAlign:a,yAlign:l}=n,c=o+i,{topLeft:u,topRight:f,bottomLeft:p,bottomRight:h}=Dl(s);let v=afe(t,a);const m=lfe(t,l,c);return l==="center"?a==="left"?v+=c:a==="right"&&(v-=c):a==="left"?v-=Math.max(u,p)+o:a==="right"&&(v+=Math.max(f,h)+o),{x:xo(v,0,r.width-t.width),y:xo(m,0,r.height-t.height)}}function Pp(e,t,n){const r=wr(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-r.right:e.x+r.left}function O_(e){return qo([],_i(e))}function cfe(e,t,n){return Va(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function M_(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const YL={beforeTitle:Ci,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndex"u"?YL[t].call(n,r):o}class ob extends Jd{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const n=this.chart,r=this.options.setContext(this.getContext()),o=r.enabled&&n.options.animation&&r.animations,i=new jL(this.chart,o);return o._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=cfe(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:r}=n,o=Tr(r,"beforeTitle",this,t),i=Tr(r,"title",this,t),s=Tr(r,"afterTitle",this,t);let a=[];return a=qo(a,_i(o)),a=qo(a,_i(i)),a=qo(a,_i(s)),a}getBeforeBody(t,n){return O_(Tr(n.callbacks,"beforeBody",this,t))}getBody(t,n){const{callbacks:r}=n,o=[];return Nt(t,i=>{const s={before:[],lines:[],after:[]},a=M_(r,i);qo(s.before,_i(Tr(a,"beforeLabel",this,i))),qo(s.lines,Tr(a,"label",this,i)),qo(s.after,_i(Tr(a,"afterLabel",this,i))),o.push(s)}),o}getAfterBody(t,n){return O_(Tr(n.callbacks,"afterBody",this,t))}getFooter(t,n){const{callbacks:r}=n,o=Tr(r,"beforeFooter",this,t),i=Tr(r,"footer",this,t),s=Tr(r,"afterFooter",this,t);let a=[];return a=qo(a,_i(o)),a=qo(a,_i(i)),a=qo(a,_i(s)),a}_createItems(t){const n=this._active,r=this.chart.data,o=[],i=[],s=[];let a=[],l,c;for(l=0,c=n.length;lt.filter(u,f,p,r))),t.itemSort&&(a=a.sort((u,f)=>t.itemSort(u,f,r))),Nt(a,u=>{const f=M_(t.callbacks,u);o.push(Tr(f,"labelColor",this,u)),i.push(Tr(f,"labelPointStyle",this,u)),s.push(Tr(f,"labelTextColor",this,u))}),this.labelColors=o,this.labelPointStyles=i,this.labelTextColors=s,this.dataPoints=a,a}update(t,n){const r=this.options.setContext(this.getContext()),o=this._active;let i,s=[];if(!o.length)this.opacity!==0&&(i={opacity:0});else{const a=yu[r.position].call(this,o,this._eventPosition);s=this._createItems(r),this.title=this.getTitle(s,r),this.beforeBody=this.getBeforeBody(s,r),this.body=this.getBody(s,r),this.afterBody=this.getAfterBody(s,r),this.footer=this.getFooter(s,r);const l=this._size=R_(this,r),c=Object.assign({},a,l),u=T_(this.chart,r,c),f=$_(r,c,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,i={opacity:1,x:f.x,y:f.y,width:l.width,height:l.height,caretX:a.x,caretY:a.y}}this._tooltipItems=s,this.$context=void 0,i&&this._resolveAnimations().update(this,i),t&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,r,o){const i=this.getCaretPosition(t,r,o);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)}getCaretPosition(t,n,r){const{xAlign:o,yAlign:i}=this,{caretSize:s,cornerRadius:a}=r,{topLeft:l,topRight:c,bottomLeft:u,bottomRight:f}=Dl(a),{x:p,y:h}=t,{width:v,height:m}=n;let w,y,S,_,$,T;return i==="center"?($=h+m/2,o==="left"?(w=p,y=w-s,_=$+s,T=$-s):(w=p+v,y=w+s,_=$-s,T=$+s),S=w):(o==="left"?y=p+Math.max(l,u)+s:o==="right"?y=p+v-Math.max(c,f)-s:y=this.caretX,i==="top"?(_=h,$=_-s,w=y-s,S=y+s):(_=h+m,$=_+s,w=y+s,S=y-s),T=_),{x1:w,x2:y,x3:S,y1:_,y2:$,y3:T}}drawTitle(t,n,r){const o=this.title,i=o.length;let s,a,l;if(i){const c=Nl(r.rtl,this.x,this.width);for(t.x=Pp(this,r.titleAlign,r),n.textAlign=c.textAlign(r.titleAlign),n.textBaseline="middle",s=Qn(r.titleFont),a=r.titleSpacing,n.fillStyle=r.titleColor,n.font=s.string,l=0;lS!==0)?(t.beginPath(),t.fillStyle=i.multiKeyBackground,ig(t,{x:m,y:v,w:c,h:l,radius:y}),t.fill(),t.stroke(),t.fillStyle=s.backgroundColor,t.beginPath(),ig(t,{x:w,y:v+1,w:c-2,h:l-2,radius:y}),t.fill()):(t.fillStyle=i.multiKeyBackground,t.fillRect(m,v,c,l),t.strokeRect(m,v,c,l),t.fillStyle=s.backgroundColor,t.fillRect(w,v+1,c-2,l-2))}t.fillStyle=this.labelTextColors[r]}drawBody(t,n,r){const{body:o}=this,{bodySpacing:i,bodyAlign:s,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:u}=r,f=Qn(r.bodyFont);let p=f.lineHeight,h=0;const v=Nl(r.rtl,this.x,this.width),m=function(A){n.fillText(A,v.x(t.x+h),t.y+p/2),t.y+=p+i},w=v.textAlign(s);let y,S,_,$,T,P,O;for(n.textAlign=s,n.textBaseline="middle",n.font=f.string,t.x=Pp(this,w,r),n.fillStyle=r.bodyColor,Nt(this.beforeBody,m),h=a&&w!=="right"?s==="center"?c/2+u:c+2+u:0,$=0,P=o.length;$0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,r=this.$animations,o=r&&r.x,i=r&&r.y;if(o||i){const s=yu[t.position].call(this,this._active,this._eventPosition);if(!s)return;const a=this._size=R_(this,t),l=Object.assign({},s,this._size),c=T_(n,t,l),u=$_(t,l,c,n);(o._to!==u.x||i._to!==u.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=a.width,this.height=a.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(t){const n=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(n);const o={width:this.width,height:this.height},i={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const s=wr(n.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&a&&(t.save(),t.globalAlpha=r,this.drawBackground(i,t,o,n),EL(t,n.textDirection),i.y+=s.top,this.drawTitle(i,t,n),this.drawBody(i,t,n),this.drawFooter(i,t,n),LL(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const r=this._active,o=t.map(({datasetIndex:a,index:l})=>{const c=this.chart.getDatasetMeta(a);if(!c)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:c.data[l],index:l}}),i=!Qh(r,o),s=this._positionChanged(o,n);(i||s)&&(this._active=o,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,r=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const o=this.options,i=this._active||[],s=this._getActiveElements(t,i,n,r),a=this._positionChanged(s,t),l=n||!Qh(s,i)||a;return l&&(this._active=s,(o.enabled||o.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),l}_getActiveElements(t,n,r,o){const i=this.options;if(t.type==="mouseout")return[];if(!o)return n.filter(a=>this.chart.data.datasets[a.datasetIndex]&&this.chart.getDatasetMeta(a.datasetIndex).controller.getParsed(a.index)!==void 0);const s=this.chart.getElementsAtEventForMode(t,i.mode,i,r);return i.reverse&&s.reverse(),s}_positionChanged(t,n){const{caretX:r,caretY:o,options:i}=this,s=yu[i.position].call(this,t,n);return s!==!1&&(r!==s.x||o!==s.y)}}gt(ob,"positioners",yu);var ufe={id:"tooltip",_element:ob,positioners:yu,afterInit(e,t,n){n&&(e.tooltip=new ob({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:YL},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};function dfe(e,t){const n=[],{bounds:o,step:i,min:s,max:a,precision:l,count:c,maxTicks:u,maxDigits:f,includeBounds:p}=e,h=i||1,v=u-1,{min:m,max:w}=t,y=!ln(s),S=!ln(a),_=!ln(c),$=(w-m)/(f+1);let T=Fk((w-m)/v/h)*h,P,O,A,E;if(T<1e-14&&!y&&!S)return[{value:m},{value:w}];E=Math.ceil(w/T)-Math.floor(m/T),E>v&&(T=Fk(E*T/v/h)*h),ln(l)||(P=Math.pow(10,l),T=Math.ceil(T*P)/P),o==="ticks"?(O=Math.floor(m/T)*T,A=Math.ceil(w/T)*T):(O=m,A=w),y&&S&&i&&$ce((a-s)/i,T/1e3)?(E=Math.round(Math.min((a-s)/T,u)),T=(a-s)/E,O=s,A=a):_?(O=y?s:O,A=S?a:A,E=c-1,T=(A-O)/E):(E=(A-O)/T,oh(E,Math.round(E),T/1e3)?E=Math.round(E):E=Math.ceil(E));const j=Math.max(zk(T),zk(O));P=Math.pow(10,ln(l)?j:l),O=Math.round(O*P)/P,A=Math.round(A*P)/P;let B=0;for(y&&(p&&O!==s?(n.push({value:s}),Oa)break;n.push({value:V})}return S&&p&&A!==a?n.length&&oh(n[n.length-1].value,a,A_(a,$,e))?n[n.length-1].value=a:n.push({value:a}):(!S||A===a)&&n.push({value:A}),n}function A_(e,t,{horizontal:n,minRotation:r}){const o=ri(r),i=(n?Math.sin(o):Math.cos(o))||.001,s=.75*t*(""+e).length;return Math.min(t/i,s)}class cg extends Cc{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,n){return ln(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:n,maxDefined:r}=this.getUserBounds();let{min:o,max:i}=this;const s=l=>o=n?o:l,a=l=>i=r?i:l;if(t){const l=tg(o),c=tg(i);l<0&&c<0?a(0):l>0&&c>0&&s(0)}if(o===i){let l=i===0?1:Math.abs(i*.05);a(i+l),t||s(o-l)}this.min=o,this.max=i}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:r}=t,o;return r?(o=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,o>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${o} ticks. Limiting to 1000.`),o=1e3)):(o=this.computeTickLimit(),n=n||11),n&&(o=Math.min(n,o)),o}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,n=t.ticks;let r=this.getTickLimit();r=Math.max(2,r);const o={maxTicks:r,bounds:t.bounds,min:t.min,max:t.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},i=this._range||this,s=dfe(o,i);return t.bounds==="ticks"&&CL(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const t=this.ticks;let n=this.min,r=this.max;if(super.configure(),this.options.offset&&t.length){const o=(r-n)/Math.max(t.length-1,1)/2;n-=o,r+=o}this._startValue=n,this._endValue=r,this._valueRange=r-n}getLabelForValue(t){return Am(t,this.chart.options.locale,this.options.ticks.format)}}class I_ extends cg{determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=Wn(t)?t:0,this.max=Wn(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),n=t?this.width:this.height,r=ri(this.options.ticks.minRotation),o=(t?Math.sin(r):Math.cos(r))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,i.lineHeight/o))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}gt(I_,"id","linear"),gt(I_,"defaults",{ticks:{callback:Im.formatters.numeric}});const Cd=e=>Math.floor(gs(e)),Qs=(e,t)=>Math.pow(10,Cd(e)+t);function E_(e){return e/Math.pow(10,Cd(e))===1}function L_(e,t,n){const r=Math.pow(10,n),o=Math.floor(e/r);return Math.ceil(t/r)-o}function ffe(e,t){const n=t-e;let r=Cd(n);for(;L_(e,t,r)>10;)r++;for(;L_(e,t,r)<10;)r--;return Math.min(r,Cd(e))}function pfe(e,{min:t,max:n}){t=Yr(e.min,t);const r=[],o=Cd(t);let i=ffe(t,n),s=i<0?Math.pow(10,Math.abs(i)):1;const a=Math.pow(10,i),l=o>i?Math.pow(10,o):0,c=Math.round((t-l)*s)/s,u=Math.floor((t-l)/a/10)*a*10;let f=Math.floor((c-u)/Math.pow(10,i)),p=Yr(e.min,Math.round((l+u+f*Math.pow(10,i))*s)/s);for(;p=10?f=f<15?15:20:f++,f>=20&&(i++,f=2,s=i>=0?1:s),p=Math.round((l+u+f*Math.pow(10,i))*s)/s;const h=Yr(e.max,p);return r.push({value:h,major:E_(h),significand:f}),r}class j_ extends Cc{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,n){const r=cg.prototype.parse.apply(this,[t,n]);if(r===0){this._zero=!0;return}return Wn(r)&&r>0?r:null}determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=Wn(t)?Math.max(0,t):null,this.max=Wn(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!Wn(this._userMin)&&(this.min=t===Qs(this.min,0)?Qs(this.min,-1):Qs(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let r=this.min,o=this.max;const i=a=>r=t?r:a,s=a=>o=n?o:a;r===o&&(r<=0?(i(1),s(10)):(i(Qs(r,-1)),s(Qs(o,1)))),r<=0&&i(Qs(o,-1)),o<=0&&s(Qs(r,1)),this.min=r,this.max=o}buildTicks(){const t=this.options,n={min:this._userMin,max:this._userMax},r=pfe(n,this);return t.bounds==="ticks"&&CL(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}getLabelForValue(t){return t===void 0?"0":Am(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=gs(t),this._valueRange=gs(this.max)-gs(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(gs(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const n=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+n*this._valueRange)}}gt(j_,"id","logarithmic"),gt(j_,"defaults",{ticks:{callback:Im.formatters.logarithmic,major:{enabled:!0}}});function ib(e){const t=e.ticks;if(t.display&&e.display){const n=wr(t.backdropPadding);return Bt(t.font&&t.font.size,vn.font.size)+n.height}return 0}function hfe(e,t,n){return n=bn(n)?n:[n],{w:Kce(e,t.string,n),h:n.length*t.lineHeight}}function B_(e,t,n,r,o){return e===r||e===o?{start:t-n/2,end:t+n/2}:eo?{start:t-n,end:t}:{start:t,end:t+n}}function gfe(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),r=[],o=[],i=e._pointLabels.length,s=e.options.pointLabels,a=s.centerPointLabels?$n/i:0;for(let l=0;lt.r&&(a=(r.end-t.r)/i,e.r=Math.max(e.r,t.r+a)),o.startt.b&&(l=(o.end-t.b)/s,e.b=Math.max(e.b,t.b+l))}function vfe(e,t,n){const r=e.drawingArea,{extra:o,additionalAngle:i,padding:s,size:a}=n,l=e.getPointPosition(t,r+o+s,i),c=Math.round(z1(Jo(l.angle+xn))),u=Sfe(l.y,a.h,c),f=xfe(c),p=Cfe(l.x,a.w,f);return{visible:!0,x:l.x,y:u,textAlign:f,left:p,top:u,right:p+a.w,bottom:u+a.h}}function yfe(e,t){if(!t)return!0;const{left:n,top:r,right:o,bottom:i}=e;return!(kl({x:n,y:r},t)||kl({x:n,y:i},t)||kl({x:o,y:r},t)||kl({x:o,y:i},t))}function bfe(e,t,n){const r=[],o=e._pointLabels.length,i=e.options,{centerPointLabels:s,display:a}=i.pointLabels,l={extra:ib(i)/2,additionalAngle:s?$n/o:0};let c;for(let u=0;u270||n<90)&&(e-=t),e}function wfe(e,t,n){const{left:r,top:o,right:i,bottom:s}=n,{backdropColor:a}=t;if(!ln(a)){const l=Dl(t.borderRadius),c=wr(t.backdropPadding);e.fillStyle=a;const u=r-c.left,f=o-c.top,p=i-r+c.width,h=s-o+c.height;Object.values(l).some(v=>v!==0)?(e.beginPath(),ig(e,{x:u,y:f,w:p,h,radius:l}),e.fill()):e.fillRect(u,f,p,h)}}function Pfe(e,t){const{ctx:n,options:{pointLabels:r}}=e;for(let o=t-1;o>=0;o--){const i=e._pointLabelItems[o];if(!i.visible)continue;const s=r.setContext(e.getPointLabelContext(o));wfe(n,s,i);const a=Qn(s.font),{x:l,y:c,textAlign:u}=i;ic(n,e._pointLabels[o],l,c+a.lineHeight/2,a,{color:s.color,textAlign:u,textBaseline:"middle"})}}function XL(e,t,n,r){const{ctx:o}=e;if(n)o.arc(e.xCenter,e.yCenter,t,0,mn);else{let i=e.getPointPosition(0,t);o.moveTo(i.x,i.y);for(let s=1;s{const o=Xt(this.options.pointLabels.callback,[n,r],this);return o||o===0?o:""}).filter((n,r)=>this.chart.getDataVisibility(r))}fit(){const t=this.options;t.display&&t.pointLabels.display?gfe(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,n,r,o){this.xCenter+=Math.floor((t-n)/2),this.yCenter+=Math.floor((r-o)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,n,r,o))}getIndexAngle(t){const n=mn/(this._pointLabels.length||1),r=this.options.startAngle||0;return Jo(t*n+ri(r))}getDistanceFromCenterForValue(t){if(ln(t))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*n:(t-this.min)*n}getValueForDistanceFromCenter(t){if(ln(t))return NaN;const n=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(t){const n=this._pointLabels||[];if(t>=0&&t{if(f!==0||f===0&&this.min<0){l=this.getDistanceFromCenterForValue(u.value);const p=this.getContext(f),h=o.setContext(p),v=i.setContext(p);kfe(this,h,l,s,v)}}),r.display){for(t.save(),a=s-1;a>=0;a--){const u=r.setContext(this.getPointLabelContext(a)),{color:f,lineWidth:p}=u;!p||!f||(t.lineWidth=p,t.strokeStyle=f,t.setLineDash(u.borderDash),t.lineDashOffset=u.borderDashOffset,l=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),c=this.getPointPosition(a,l),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(c.x,c.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,n=this.options,r=n.ticks;if(!r.display)return;const o=this.getIndexAngle(0);let i,s;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(o),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((a,l)=>{if(l===0&&this.min>=0&&!n.reverse)return;const c=r.setContext(this.getContext(l)),u=Qn(c.font);if(i=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){t.font=u.string,s=t.measureText(a.label).width,t.fillStyle=c.backdropColor;const f=wr(c.backdropPadding);t.fillRect(-s/2-f.left,-i-u.size/2-f.top,s+f.width,u.size+f.height)}ic(t,a.label,0,-i,u,{color:c.color,strokeColor:c.textStrokeColor,strokeWidth:c.textStrokeWidth})}),t.restore()}drawTitle(){}}gt(kp,"id","radialLinear"),gt(kp,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Im.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}}),gt(kp,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),gt(kp,"descriptors",{angleLines:{_fallback:"grid"}});const jm={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Ir=Object.keys(jm);function D_(e,t){return e-t}function N_(e,t){if(ln(t))return null;const n=e._adapter,{parser:r,round:o,isoWeekday:i}=e._parseOpts;let s=t;return typeof r=="function"&&(s=r(s)),Wn(s)||(s=typeof r=="string"?n.parse(s,r):n.parse(s)),s===null?null:(o&&(s=o==="week"&&(ng(i)||i===!0)?n.startOf(s,"isoWeek",i):n.startOf(s,o)),+s)}function F_(e,t,n,r){const o=Ir.length;for(let i=Ir.indexOf(e);i=Ir.indexOf(n);i--){const s=Ir[i];if(jm[s].common&&e._adapter.diff(o,r,s)>=t-1)return s}return Ir[n?Ir.indexOf(n):0]}function Tfe(e){for(let t=Ir.indexOf(e)+1,n=Ir.length;t=t?n[r]:n[o];e[i]=!0}}function $fe(e,t,n,r){const o=e._adapter,i=+o.startOf(t[0].value,r),s=t[t.length-1].value;let a,l;for(a=i;a<=s;a=+o.add(a,1,r))l=n[a],l>=0&&(t[l].major=!0);return t}function V_(e,t,n){const r=[],o={},i=t.length;let s,a;for(s=0;s+t.value))}initOffsets(t=[]){let n=0,r=0,o,i;this.options.offset&&t.length&&(o=this.getDecimalForValue(t[0]),t.length===1?n=1-o:n=(this.getDecimalForValue(t[1])-o)/2,i=this.getDecimalForValue(t[t.length-1]),t.length===1?r=i:r=(i-this.getDecimalForValue(t[t.length-2]))/2);const s=t.length<3?.5:.25;n=xo(n,0,s),r=xo(r,0,s),this._offsets={start:n,end:r,factor:1/(n+1+r)}}_generate(){const t=this._adapter,n=this.min,r=this.max,o=this.options,i=o.time,s=i.unit||F_(i.minUnit,n,r,this._getLabelCapacity(n)),a=Bt(o.ticks.stepSize,1),l=s==="week"?i.isoWeekday:!1,c=ng(l)||l===!0,u={};let f=n,p,h;if(c&&(f=+t.startOf(f,"isoWeek",l)),f=+t.startOf(f,c?"day":s),t.diff(r,n,s)>1e5*a)throw new Error(n+" and "+r+" are too far apart with stepSize of "+a+" "+s);const v=o.ticks.source==="data"&&this.getDataTimestamps();for(p=f,h=0;p+m)}getLabelForValue(t){const n=this._adapter,r=this.options.time;return r.tooltipFormat?n.format(t,r.tooltipFormat):n.format(t,r.displayFormats.datetime)}format(t,n){const o=this.options.time.displayFormats,i=this._unit,s=n||o[i];return this._adapter.format(t,s)}_tickFormatFunction(t,n,r,o){const i=this.options,s=i.ticks.callback;if(s)return Xt(s,[t,n,r],this);const a=i.time.displayFormats,l=this._unit,c=this._majorUnit,u=l&&a[l],f=c&&a[c],p=r[n],h=c&&f&&p&&p.major;return this._adapter.format(t,o||(h?f:u))}generateTickLabels(t){let n,r,o;for(n=0,r=t.length;n0?a:1}getDataTimestamps(){let t=this._cache.data||[],n,r;if(t.length)return t;const o=this.getMatchingVisibleMetas();if(this._normalized&&o.length)return this._cache.data=o[0].controller.getAllParsedValues(this);for(n=0,r=o.length;n=e[r].pos&&t<=e[o].pos&&({lo:r,hi:o}=Jy(e,"pos",t)),{pos:i,time:a}=e[r],{pos:s,time:l}=e[o]):(t>=e[r].time&&t<=e[o].time&&({lo:r,hi:o}=Jy(e,"time",t)),{time:i,pos:a}=e[r],{time:s,pos:l}=e[o]);const c=s-i;return c?a+(l-a)*(t-i)/c:a}class W_ extends ug{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(t);this._minPos=_p(n,this.min),this._tableRange=_p(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:r}=this,o=[],i=[];let s,a,l,c,u;for(s=0,a=t.length;s=n&&c<=r&&o.push(c);if(o.length<2)return[{time:n,pos:0},{time:r,pos:1}];for(s=0,a=o.length;so-i)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const n=this.getDataTimestamps(),r=this.getLabelTimestamps();return n.length&&r.length?t=this.normalize(n.concat(r)):t=n.length?n:r,t=this._cache.all=t,t}getDecimalForValue(t){return(_p(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const n=this._offsets,r=this.getDecimalForPixel(t)/n.factor-n.end;return _p(this._table,r*this._tableRange+this._minPos,!0)}}gt(W_,"id","timeseries"),gt(W_,"defaults",ug.defaults);const qL="label";function H_(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Ofe(e,t){const n=e.options;n&&t&&Object.assign(n,t)}function QL(e,t){e.labels=t}function ZL(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:qL;const r=[];e.datasets=t.map(o=>{const i=e.datasets.find(s=>s[n]===o[n]);return!i||!o.data||r.includes(i)?{...o}:(r.push(i),Object.assign(i,o),i)})}function Mfe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:qL;const n={labels:[],datasets:[]};return QL(n,e.labels),ZL(n,e.datasets,t),n}function Afe(e,t){const{height:n=150,width:r=300,redraw:o=!1,datasetIdKey:i,type:s,data:a,options:l,plugins:c=[],fallbackContent:u,updateMode:f,...p}=e,h=R.useRef(null),v=R.useRef(),m=()=>{h.current&&(v.current=new Lm(h.current,{type:s,data:Mfe(a,i),options:l&&{...l},plugins:c}),H_(t,v.current))},w=()=>{H_(t,null),v.current&&(v.current.destroy(),v.current=null)};return R.useEffect(()=>{!o&&v.current&&l&&Ofe(v.current,l)},[o,l]),R.useEffect(()=>{!o&&v.current&&QL(v.current.config.data,a.labels)},[o,a.labels]),R.useEffect(()=>{!o&&v.current&&a.datasets&&ZL(v.current.config.data,a.datasets,i)},[o,a.datasets]),R.useEffect(()=>{v.current&&(o?(w(),setTimeout(m)):v.current.update(f))},[o,l,a.labels,a.datasets,f]),R.useEffect(()=>{v.current&&(w(),setTimeout(m))},[s]),R.useEffect(()=>(m(),()=>w()),[]),Zr.createElement("canvas",Object.assign({ref:h,role:"img",height:n,width:r},p),u)}const Ife=R.forwardRef(Afe);function Efe(e,t){return Lm.register(t),R.forwardRef((n,r)=>Zr.createElement(Ife,Object.assign({},n,{ref:r,type:e})))}const Lfe=Efe("pie",tb),jfe=""+new URL("la_frontera_casa_cafe-icDM3Ydf.png",import.meta.url).href,Bfe="data:image/png;base64,UklGRsgMAABXRUJQVlA4WAoAAAAQAAAA6QAAkwAAQUxQSCQGAAARsIf8v+Nk1uFwBmYIISgMIgZEAwlIkIgvdfu6IihCUCS4vUpIYHvfQALBbL93y1sFRQjmNlHY3vvb2JbAtrBFbwnisEUSQhgG5vuH5swZnTi3vxExAeSfuhO52T2YGaKEKFO5WbGp4X3LPMw9WE1TQtoXYYrVsvuWBezFamZbHoJ/nnUhS+6pbb62Zb3uUpSJbNpydsWlUNlrvSPuUoQqN7snj1uhHcEAb9DPXIznjoV53rnH2l1M+6LOXT/T5Wby4DY+9buZJQsX3Iwv++mFnUtVtyNFxkd3HJv5yu0QQndmwY/cT1Ma/PBfR1IkOjY2rLoi32zx00/fusQVtS8B2Bx1T5prMG3KA9gc2fYRYHy6D4r/qWDjn76zxZMoFAonIoTQzlShsJRtJ0S+olAonJ7at3SGgjb2L9hCO0PBYMBDCJH8oWComxFCvaFgMKDuW+yVf2eLy5Sfv+i/i/67iLhn6oK1lPtgY7lZobnMEHGfsk+07EIu+v//9KQtTPa3GF9E2RNeVbTCxdpVgTKfLx0RJamqqvB5VNEePllVVY8d0iUnDtrBfB2qlwm5Nif6iMTT9XDO+uwg5buwHBTUM5vLXsLFxnOCM0OUh4Uzucw1dqip9bRiQ+cNuVysXUi+KnpG4ekvV61vXSvxfaHPBcRculXVklzyk1XBlYe55PHNauUxG9gl5/T3wjb0F6rVuR4hyxCd5BqoQOBNFj5D7XRAyFUmGvfwHYPgaoZvso5qxgY1VUflHllcZBXIB4Q8U2yumdC/LxWbTss8kYoJrVS0OM6soHasS8QVBhp38z1cKjZdB8y1YtNzCcI1UbOFXXIB0N8K74GD0eYrDVTTk9EdJyZ6mZVXYlGLfmoJW1l1F9D+iejOk88AjVy06XhoF6mpOoDK3dLu432iBu0qiQjddkwmdu6AzVSbfbxsGqhHiVib2JEzAKC/1beXnqxBG9pb2LjTu5uuBeoTe6Ht7hr0X01U7mGtq1EDfrzT63h08F2Y38//DY1XOlvX2rwOrMVlp2u7s4Za/kjexNowbVlfhFZ0oByTnI1G3oJZvsF7g4ZGRm1ZJTK4agLFSepo3tt+Rq3gp+GXTHw4RB3qud1ADrxnAl8MMwej4RXTLF9LiW9Gg5Zqc6iXpqLclzAx5Kp3AXw4Qp3Le4eGWr6LEBpehfnaJcyZtFKRe84jiF7xEWCeucKxaN9LMMsxRgjx3qZh4+E2Z7L6oU8QoaNFwHxr0Km8t2mor/gJIYSGXzLN1444k2nwvy6MSFMlwFgZcCYaXjWwNsO2EV+8ho2HfI5UPPYc7/MJRRiRrv0e0P8UciTPtRoaL/WQHelACcZrl1Anmver3D4ijiiJ74HGXMiJgkvA2gzdibSdqmPjQZ8THZOJnXzEm1gHanM9zqPENtB4pZc0pdNfmcbqYGsj3vs3gdpznU5DA4smqn8aHWkeP2NiPam0NtKe0YBfZzscRomuA/ramXPNP900YSwPtDiizlaBn9MdztJ9woDI9YTS4kjn81vAZtp7qYPI42XAaFjUDej5PtriSM+xOrCZGNWdo/uUgZ+Xn7D43Bkd392stDoSWGgA5fmGY8hj30P/6KDPYkfyezQW+1oe6SvowJbhGP4TOrSMQqz2F3SUb5NbHoms6ACcQhr5DsaZg8SyJ7kOPd/X+siBZcM5up7UoWUVa2RgxUD5ZllA75567844/0yQ7gIy+K7pFNLQVzDOHSQClTv/hsZcwNqFdMJqcrp7F9U3NyzG2G4gQ+ecojOn49fnPCLIgVUDpZhkqfGzZvnMMNczNfw8LGoDAm+S+IrAV0LoWFGctG1S1GQD1SyXNFSE8dkwEep7cAP1U72WRH43xpUuV766VFB/sWL9bzHG5X27UnlPCGHXfiWMTVQq348KksbWKuUHudoS65VSyieGHlz8sfLWCOUJL1SEfnQN15F48jY/FaPelLSeCFEueSqZjIkhys2f3SOIBpPJeK8g1hNPzhzk8lyVTMR6iWDl4M3Jm/sZjzqaFDrdzcUkiVEilkoiKeFnksQEEc/N11IxhEqSRAURyiSJcVEmMUrEU0lilIcySSijXE5Nvd2iWjBWUDggfgYAAJApAJ0BKuoAlAA+TR6NRCKhoZjftBAoBMSyt2NoOrc4wYhewc34V/pnr9CwgTa/K9pViDwf9m+jP1EtT3lN+SoDyhuVPlu+aP+D9T/mAf5n05eifzC/qz+xHu4f539vfcj6AH64etL6mP9x/4fsD/wf/D+nB+y/w0/2//r+kX//9Ze8nUNE1AlYXZk+qJNLb5o64kEhVVaOyoFX/IKqqXL+0KBqm1zV9wToZb8UUpuQkY/mCH2nUx2o+5GbRe5pTPPHalR3N56EjNlK3shJUdzeehIzWHbExV8mk0GFZgh2XV1LQsIvc3jF5IYMgm81p0inFLRruy6B7rMJD/bPv+gp9qYr9+3885ZdPNpzZmua1iCELJKf11ALQumV8zH/yQ5NlkUjW1S2rFtoPlY66XFMxhBqjSCJZrtrv8cYIdgH1FTZrJPFxApGje1Nc04VApcCxoMAAP7fJZzsrtWOWrBh23WdRqLPdI9tnYgt45jqNiH01ZfmluoKUmoElVWb2c/sHp/v/99Xrudi2NnQUY/zcGjlwsHLfIC0RrOowdp+ufUbv+qHr6efclxAD5ja2LqMOsJv0FGIRgiuc4kI3ldSf3PdqfaV+hirhcdQ/2Y72OfujZVP+SUbq+fzDVO7GiBwAERy4P8c/ZUZUxnOvgAoFoyRIuP1aCOft5BpPv0eHYFai8EsarzYPfHt7JbVdm/E2hgt4rJHtHkoxpOqnKkC8WVFC+JYR70P8y85TC87vL/xBHyK7o/+RxpiDln+Wmf/qey0GeQ9s5R/P4fyPlBG6cL6Cs9qAxeJGsxyYqdneBG6mHN+pZOZ662Jz6+cIfKAX4NS1dX5bFcXvBjtj9a9a66795GCcXbYum2SKDlsDlpKdl0vmQi1Y6laKYvgZ5JHiYClIDZxPyWtBySaGHAAAlT//4YzkK4xdbNTg9hiOJw/4AAAPCiRgyABC+jqoABl3KnLHQ6q7zDSwIAmr/Y/EHZLxYuFFXfII/LzfZuYmQXiAWPs8AqAAOfvH3xvK0Ac/BKPhfjXIMhQtM43h7hZ8zOpVeEmYoZleMU10YFwik54Vlx7iLb//32fyg2ghsyC9hg5yk6QsLmuDR83s1/oFsTV+E0CkFNt08wZFu4e2zHNR6beOyLXFauT3qv9dE0IxfQFERIDowKidN/8Iwcra7zk/T8fP2hVL8rkCZ1ARNi2jeLckxqmkzx2LfI7usZmiQqT9fXn0P1583fUImE4YA1CsbyPhnS4DTDAWupENVLWL2nmrhWSMYydu4RUb9HwhTCN1FziZ3xmFwTI5PO2r4d5L71I4e9g4MC1+41KNZuA4PFPX/heba6La6wzpcCawRWcbb3Aww1Wyejlo5lJZnKyarcOgJNSnZ1zbwYV5DByi82gPawqGFUGT9umEyAz5nhXMdZJkqdONE+YzwMf0LE9jRDNcPEDIrAd9MGuVVyH0lkhAbPmLcRleTr3Ryss1Ti2MJwGyq9L/ykgbyPhLz/0f4bd/HEI/x4aDCw7nTMJlHo1wekEnO7vInVtiTIUyYPgyQ1Zs7hflkVtdekuQN/I8gIsAshFa2MgFux7SSoxXRvFAsJdB2jH8mEfp0mGrlRTJX0fQecKLyrfrLqQmEcSGOAjCxl6jKZvwGyJcPL1dq91f0wQlXfpfNiwQMSafGrYKyQeffZ1PmoeaVs5ejrmNYwFTDrX4mOj8mk1oZe7Swo4sJgkDrqbXbYHTVobd0iRbGgtzhTDLiZPkGAMkZXozvcuCGinMi4gvhAxKUyFK5xvOmhQmho5uHCXeULK28P3S5VSOi8ZIzKqTDqA1IGeeTenHs/JiElkiw+HLmx/6lQmIy1xkBXUeXU8Q+ftkCKGOEULTNo5eR3MpxmCzb7djpGM1n4AEhpLobvWtD4PPExI6u4UNMm3P6GhZoLQpRqTQ/IyH+yyC6q9eYw07yDz/6WqsjfKa6kI51mPd/Bkmua1/yxK14Jz40NaP0nGIeUPTcPMk09wfKYFwfSNmY7WV8R81WXOkjVOkwP2kwcjzR8cxUqolfICTKkuizp6f+5saF1IcbuytkM3Gu6Nt5xLFnp6pAhtklo6si91uGh/9A2z0q/susfzlsa7ogbKDYEsovx0gfXj0n4bR6fddssSggX/JCR89i218mIbH0JATV5tUH2sNRzOv6CTxy1tu49mV1g7H1DU5G73kQJiPz1VmSLlSdoe1AAAAA==",Dfe="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='101'%20height='26'%20viewBox='0%200%20101%2026'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M53.3975%207.37203C56.2069%207.37203%2058.3339%208.12866%2059.7668%209.65082C61.1935%2011.1656%2061.9027%2013.3477%2061.9027%2016.1885C61.9027%2019.0292%2061.1702%2021.2274%2059.6979%2022.776C58.2216%2024.3287%2056.1275%2025.1031%2053.4315%2025.1031C50.6448%2025.1031%2048.5326%2024.3399%2047.1122%2022.8077L46.9389%2022.6134C45.6388%2021.0961%2044.9925%2018.952%2044.9925%2016.1885C44.9925%2010.3395%2047.8148%207.37203%2053.3975%207.37203ZM92.8242%207.37164C95.5508%207.37164%2097.5681%208.22348%2098.8513%209.92956C100.066%2011.5442%20100.685%2013.7647%20100.716%2016.587L100.715%2017.1904H88.7407C88.8804%2018.6413%2089.3473%2019.74%2090.1384%2020.4992C90.9664%2021.2948%2092.1525%2021.6949%2093.7113%2021.6949C94.7396%2021.6949%2095.7183%2021.5724%2096.6496%2021.3264C97.5811%2021.0823%2098.4062%2020.7665%2099.1205%2020.3826L99.4562%2020.2021V23.9161L99.321%2023.9727C97.5209%2024.727%2095.4583%2025.1028%2093.1309%2025.1028C90.5032%2025.1028%2088.428%2024.3347%2086.9181%2022.7955C85.4101%2021.2592%2084.6588%2019.0845%2084.6588%2016.2863C84.6588%2013.4243%2085.3679%2011.2209%2086.7945%209.68343C88.2244%208.14144%2090.2401%207.37164%2092.8242%207.37164ZM80.9527%200.89624V20.9301C80.9527%2021.8675%2080.5468%2022.6645%2079.747%2023.3039C78.9706%2023.9244%2077.9977%2024.38%2076.8311%2024.6715C75.6785%2024.9593%2074.4899%2025.1027%2073.2644%2025.1027C70.7803%2025.1027%2068.7287%2024.4263%2067.1171%2023.0713C65.4933%2021.7044%2064.69%2019.3402%2064.69%2015.9909C64.69%2013.3058%2065.3763%2011.1967%2066.7558%209.66896C68.1432%208.13546%2070.1924%207.37155%2072.8895%207.37155C73.5208%207.37155%2074.2452%207.44861%2075.0635%207.60275C75.7553%207.73552%2076.3863%207.9219%2076.9577%208.16263V0.89624H80.9527ZM36.7003%207.40358C38.5689%207.40358%2040.347%207.73578%2042.0338%208.39992L42.1737%208.45501V12.0023L41.8606%2011.8756C40.1593%2011.1871%2038.6097%2010.8442%2037.2115%2010.8442C35.4733%2010.8442%2034.1903%2011.2569%2033.3509%2012.0725C32.5124%2012.8882%2032.0869%2014.2022%2032.0869%2016.0248C32.0869%2017.9382%2032.5032%2019.3216%2033.3227%2020.1792C34.1367%2021.0331%2035.4621%2021.4652%2037.3137%2021.4652C38.8248%2021.4652%2040.3482%2021.1134%2041.8839%2020.4081L42.2068%2020.2598V23.817L42.073%2023.8742C40.4107%2024.5848%2038.6309%2024.9394%2036.7344%2024.9394C34.3906%2024.9394%2032.4131%2024.3206%2030.81%2023.0822L30.5723%2022.8918L30.3916%2022.7357C28.855%2021.3533%2028.0919%2019.1982%2028.0919%2016.2864C28.0919%2013.1766%2028.9019%2010.9112%2030.535%209.50303C32.1571%208.10343%2034.2159%207.40358%2036.7003%207.40358ZM4.27983%207.86191L4.31482%2024.6129H0.251183V7.86191H4.27983ZM17.1744%207.40367C19.6105%207.40367%2021.4219%207.89704%2022.6054%208.89665C23.7953%209.90255%2024.3857%2011.4543%2024.3857%2013.5394V24.6125H20.3566V13.9983C20.3566%2011.8342%2019.1116%2010.7798%2016.527%2010.7798C15.4471%2010.7798%2014.408%2010.9265%2013.4103%2011.2196L13.0381%2011.3364V24.6125H9.00797V9.18719L9.13098%209.12695C10.1704%208.61794%2011.4308%208.204%2012.9163%207.88223L13.408%207.78175C14.7124%207.52973%2015.9674%207.40367%2017.1744%207.40367ZM53.3975%2010.6809C51.8073%2010.6809%2050.6904%2011.138%2050.0205%2012.0457C49.3357%2012.9745%2048.9885%2014.3548%2048.9885%2016.1885C48.9885%2018.0222%2049.3465%2019.4124%2050.054%2020.3633C50.7462%2021.2938%2051.8525%2021.7606%2053.3975%2021.7606C56.394%2021.7606%2057.8746%2019.9382%2057.8746%2016.1885C57.8746%2014.3137%2057.5114%2012.9249%2056.7959%2012.0188C56.0926%2011.1291%2054.9661%2010.6809%2053.3975%2010.6809ZM73.4007%2010.7468C70.3085%2010.7468%2068.7862%2012.4852%2068.7862%2016.0572C68.7862%2017.8488%2069.1396%2019.2407%2069.8394%2020.2361C70.5188%2021.2065%2071.7185%2021.6948%2073.4688%2021.6948C74.4933%2021.6948%2075.3485%2021.5789%2076.0353%2021.3481C76.6183%2021.1522%2076.9075%2020.9232%2076.9517%2020.6721L76.9577%2020.603V11.6048L76.703%2011.4767C76.2716%2011.2715%2075.8054%2011.1077%2075.3046%2010.9863C74.6499%2010.8267%2074.0151%2010.7468%2073.4007%2010.7468ZM92.722%2010.617C91.5701%2010.617%2090.6835%2010.9036%2090.0475%2011.4735C89.4874%2011.9754%2089.0924%2012.8008%2088.8703%2013.9537L88.8254%2014.2057H96.5916L96.5514%2013.9479C96.3636%2012.8526%2095.9972%2012.044%2095.4578%2011.5161C94.8459%2010.9191%2093.9379%2010.617%2092.722%2010.617ZM4.41659%202.03971V5.57939H0.147949V2.03971H4.41659Z'%20fill='%23007AFF'%3e%3c/path%3e%3c/svg%3e",Nfe=""+new URL("salesloft-CK6Jxy01.png",import.meta.url).href,Ffe=""+new URL("software_guru-BpWX8_Ek.png",import.meta.url).href,zfe=""+new URL("vauxoo-BtVWhpM-.png",import.meta.url).href,Vfe=""+new URL("alejandro_rebollar-C_nJS6x6.png",import.meta.url).href,Wfe=""+new URL("alexis_chavez-CbJq2_XD.png",import.meta.url).href,Hfe=""+new URL("alexis_navarro-DYG9_xtV.png",import.meta.url).href,Ufe=""+new URL("anonymous-CCVvPUqM.png",import.meta.url).href,Gfe=""+new URL("benajmin_pena-CgsfkPqU.jpeg",import.meta.url).href,Kfe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAIAAAAiOjnJAAAACXBIWXMAAAsTAAALEwEAmpwYAAAIyUlEQVR4nO2dUYwcdR3Hx2qbQIgPRjEEEiTGig810cQAJj7UGA2WB036AKUWvOvdtdcrLYWgrbVNz6SovYJXkCPYePYCJRiFUinY9A4vpMEYjaH0rEfbO1ONHF7v9ruzO7N7O7Mza2ZbDIkv93D//e7+9rv5ZMPjJ5/58p/m9m7WQ58nVABLPQM1VQHPxf9XyqoCnoalEXitctfmGwhYjMA3ELAYgW8gYDEC30DAYgS+gYDFCHwDAYsR+AYCFiPwDQQsRuAbCFiMwDcQsBiBbyBgMQLfQMBiBL6BgMUIfAMBixH4BgIWI/ANBCxG4BsIWIzANxCwGIFvIGAxAt9AwGIEvoGAxQh8AwGLEfgGAhYj8A0ELEbgGwhYjMA3ELAYgW8gYDEC30DAYgS+gYDFCHwDAYsR+AYCFiPwDQQsRuAbCFiMwDcQsBiBbyBgMQLfQMBiBL6BgMUIfAMBixH4BgIWI/ANBCxG4BsIWIzANxCwGIFvIGAxAt9AwGIEvoGAxQh8AwGLEfgGAhYj8A0ELEbgGwhYjMA3ELAYgW8gYDEC30DAYgS+gYDFCHwDAYsR+AYCFiPwDQQsRuAbOKTXw2YPm+r0vP8fTUIvO45j+AZu+FD2vtnLdXm5Ti/X0WR01rfV52Fr3dMifAMn9GbXLP+9j/v9Kws//kJh4LbCwB31dy63FwZuKw7cXvjJF/O7brjq2WcTvoELcj0eti0Pnvz6wslHo7d+G0+djv/xp+ydy/Sb8dTp6vQf47ePB8P3YOuyXBe/lSP4Bi7ILtj2FeGz98fnTqbhfK3ZXgtB6fiubFgd/FaO4Bs4HNbIhmjiROLP1JrtFc6Xjj2SDauT38oRfAOHwzqyPjpzLMldqtXSWjO9Un+m9OJDGhZ/KBoWWg2+QTsOq/Cf0osP68TiD8XYsGqVUvn4D/SPd6vDSmtJtRaV0xBpMJcG884JkQbztVI+mTlXemFLNqyN/FaO4BvQhlWN0uJsPDlaPr4zHPlO+FxHeLTLLc93h0e7Ss/3hEfWF/Z/Pvt44MrP3y3CN6ANKyolsxcqY4/5u2/M3e+hS58VehrWUg3rfGX0QP77n5i/18t918ttbBRd+qzQ9ol1+WLlD4P+3luyf+ts5mvDEHwDF2hYYF8CvoGGBXYuDWuxCXRiQcPSiQX2CHRi6cTyWgW+gQt0KwT7EvANNCywc2lYi02gEwsalk4ssEegE0snltcq8A1coFsh2JeAb6BhgZ1Lw1psAp1Y0LB0YoE9Ap1YOrG8VoFv4ALdCsG+BHwD/rD2fOrq41+2uKSvveAbkIf1+uP+7puy33nvrv8SqTt622tefAPysMaf8PtX5jbVH1W1fYUTtq3AtuV44CPYuoxepmHwDVjDSitBMvtO5fQzxcHV+d03+ns/7fd/1gG3+vtW+ntvyR6ItePa9rkt8g14wwqTuenorZdKv9keHF4bDq8Lj6xfekbuC3+1LnjmW8XHv5Jta4vlh619EL4B7VaYRGnZT+am46nT0bmT8d9PxZOjS8w7Y/H58fjc7yt/Plp+dV/hwJfQ62W33T778A3a4dkNSf7d6OzvgqFvZo9F7eb3aQB8g3YYVlq8HP/tteDpuzQs/jjsDKsaJbl/RmeOBU/dqWHxx2FnWEmc4F/RmZc1LP4yTA2rqhOLPQibw6rVEv+9aOKVYGiNboVtMKw0qSVxLV5I41IauSEup0mclgvV2fOVv/66+OQ3NKw2GFY1SsNccukvlTcPl089ujA2sPD6Y0vP+ODC6IHyK3vCZzv8H31OP8dqg2FFpWRuuvLGUGH/quz7UR68Jv/wR13x0HX5HddmHxeyyzQMvgFvWGH24LVTP80/8rH5e7zcfW6/lSnX9b9HcJn9YqYPwjdg/z7Wz/w9Nzfi97G28LM0Er6BC/QbpPRLwDfQsMDOpWEtNoFOLGhYOrHAHoFOLJ1YXqvAN3CBboVgXwK+gYYFdi4Na7EJdGJBw9KJBfYIdGLpxPJaBb6BC3QrBPsS8A00LLBzaViLTaATCxqWTiywR6ATSyeW1yrwDVygWyHYl4BvoGGBnUvDWmwCnVjQsHRigT0CnVg6sbxWgW/gAt0Kwb4E7T2s2fOV0YH8zuvn19f/SKurIWysv/cYf9wt34A6rAuVsYP5XTfMb6j/6V9PQ+iur2qThmV1WNVKWpiJJ06UXugNhtaEv/h2eHhtIxi+Ozy8tnjwy/7um/I7rsue1mzx3OIb8J42k2TbKiHNXUpmLySXLyaXpxpAmp9JZi9W3hgKnlrj//BmPPDh9/9C2hR8g3Z4jNH/v7InRw7f6+/7jIbFn4ulYUVvvxz88m4Ni78Va8M6o2GxV2JwWGmaPetWJ1arDmtkQzRxIvFnas33iiZOBMPr/P6V+jdWSw1rY31Yz3XGk2Np2a813yueHAtGNvj9t2pYLTWsbg/blgdP37UwfiiePFV992z1vcnsvQlI5qaq/z67MH6o+PM76z9uWGby23X4Bk7o9bB1mb/rk4X9q4oH7ygOri4e+mr23gw88bXi4OrC/lX5ndfnH7xGPyBtLeqPY6x/cU322VxnM9FRf7/yvZsWf+Z+Bb6BQ3qzj+SufjzXZECfFfL3IfpaLwLfQMBiBL6BgMUIfAMBixH4BgIWI/ANBCxG4BsIWIzANxCwGIFvIGAxAt9AwGIEvoGAxQh8AwGLEfgGAhYj8A0ELEbgGwhYjMA3ELAYgW8gYDEC30DAYgS+gYDFCHwDAYsR+AYCFiPwDQQsRuAbCFiMwDcQsBiBbyBgMQLfQMBiBL6BgMUIfAMBixH4BgIWI/ANBCxG4BsIWIzANxCwGIFvIGAxAt9AwGIEvoGAxQh8AwGLEfgGAhYj8A0ELEbgGwhYjMA3ELAYgW8gYDEC30DAYgS+gYDFCHwDAYsR+AYCFiPwDQQsRuAbCFiMwDcQsBiBbyBgMQLfQMBiBL6BgMUIfAMBixH4BgIWI/ANBCxG4BsIWIzANxCwGIFvIGAxwn8B0+yq8712wWAAAAAASUVORK5CYII=",Yfe=""+new URL("miguel_urbina-TepQvkDB.jpeg",import.meta.url).href,Xfe=""+new URL("oscar_swanros-BVuLZQY9.jpg",import.meta.url).href,qfe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAABmJLR0QA/wD/AP+gvaeTAAAMtklEQVR4nO3deVNb1x3G8ede7RJIiE2AsbGNMXFMbHcap2natHGTdtr0BfVt9J10pplOk5m2bpOOM3HSxAl2Fow3bHYJtAGS7nL6R0yCZekYhK6OdO7z+Qtj6eonwRfp6i4y3h/6058NQ1wBAMDEQQYg/bfZ6H+euZAhWYbZ4KvGDOlX+8uo/87zkxp1N9b8/jT634PfbTaH0WA5zZbx7C03nkV2n2SPbf1yGv8Lh3xsjaY/3+ZLNqSPZuOF1D8KjS7V7Jo/fFX3+9foOo2/22iJ5q2gYYgrAvj19xcXkqs8v8BGl5bfbONr1y/n+R/9UZbWaA7R5IJNL9XkEseZ5ZBLMtoxy4+XlD8urWmeUqvLaf3S7b0/9d9xX/jHjsjXGAiRBAMhkmAgRBIMhEiCgRBJMBAiCQZCJMFAiCQYCJEEAyGSYCBEEgyESIKBEEkwECIJBkIkwUCIJBgIkQQDIZJgIEQSDIRIgoEQSTAQIgkGQiTBQIgkGAiRBAMhkmAgRBIMhEiCgRBJMBAiCQZCJMFAiCQYCJEEAyGSYCBEEgyESIKBEEkwECIJBkIkwUCIJBgIkQQDIZJgIEQSQdUD0OGYoQAiQwmEBuIIpWIIxiMwYyGY4SAMw/jhcsJy4NZs2LsWnJ0qrK0d2Nt7sEt7EELpXehJDKSLRYb7EJ8aQmw8hVA6gQMdvPi6df8Wjgsrvwcru4Pqch6VtSKE7bZ7ZO0wkC4TiIeQPDeGvpkMgolw25ZrBEyEhxIIDyWQmB2FcFxU14uoPi6gspyHU6617bZ0wkC6RCgZxcDcJBLTIzDMIzxVtMgImIhODCA6MYAUplBbL2H3XhZ7j7YBy/H89nsFA1HMjASRvnwKydmxjoTRTDjTj3CmH6mrp7B7L4fy7RW4u5ayeboFA1Go79wohq+egRnunh+DEQog8dIoEjPDKN9ZQ/nOGmD5d12le34yPhKIhjDyixnEJ9OqR2kuYKLv0gTi50ZQ+OQhqo8LqidSgoF0WDSTxNivZhGIt28F3EtmPIT0tRnsLWZRvLkE4fjr2YSBdFBydgzDr51Vuq7Rqti5YQTTMeSvL8Ld88+6Cbekd4BhAEOvncXI69M9Gce+0FACg79/CWaPPPu1AwPxmBkOYOztixi4MK56lLYI9EWQ/t0szKg/XnwwEA+F+qOYfPcK4ie6eGW8BcH+CFK/mgZ698nw0BiIR2JjKUz+8QrCqZjqUTwRzvQjMafHs6IMA/FAciaDid/OIRDR+2VI4tI4gsmo6jE8xUDayDCAkVfPYPSNmZ5eGT8swzSQuDyhegxPMZA2MUIBjF97GQMXT6gepaOiU2kE+vV9V4uBtEGoL4pTf7iMxMlB1aN0ngHEpkdUT+EZBnJMsZEkJt+9gnA6oXoUZSKnBlSP4Bm91yI9lpweReaN875Y35AJpqII9EXglKuqR2k7BtKioStTGLp8SvUYXSM4FNcyEL7EOiIzYGLirQuMo04wHVc9gif4DHIEgUgQJ65dRCyTUj1K1wkkQqpH8AQDOaRQXxST78whnNLzL+VxmVEG4luRdAKT77yCoI/2Yj0qI6jnGxUM5AUSE2lMvPUyzFBA9SikAAORSM1kMPY638Y9DKHpiVAYSBPpCyeQeW1a9Rg9w63oeZQhA2lg9KdnMTh3UvUYPcWt2qpH8AQDOcAwgMzPz2NgRv/jHNpNx42EYCA/MkwDE29eQP9pfXe885JTqKgewRMM5OmZ0yevzSExru9Od16z83uqR/CE7wMxgiZOvj2HeIZxtMop17Q9Tamv98UygiZOvf0K4zim2mZZ9Qie8W0ghmni5G/mEB9jHMdlbTAQ7Yz97BwS43qdjkcVa7WoegTP+DKQwQuTSJ/X+2QDneLuWrBLer7FCz8GEs8MIHOVW8jbpbqm77MH/BZIIBzEiTcvPPOhl3Q8tbWS6hE85atAxl6fQShR//GWdBwWA9FD8vQoUmczqsfQilOswtnR+8M/fRGIETQxdvWs6jG0U1vX+9kDfglk5NIUQgm9zyGrQk3zFXT4IZBwfwxD3HXdE7qvoMMPgYxcPg3T1P5udpy9vQe3oucxIAdp/ZsT7o9xxdwjtXX9X15B90BGLk3xeHKPWBs7qkfoCG0DCcUiSE3z2cMrtQ391z+gcyAD58dhcN3DE06p5puPgtbzN8gA0ud5XLlXapv+ePaAroEkJ4e43cNDlsYHSNXTM5AzXPfwUk3jA6TqaReIGTCRPDmsegxtuTUbTkHPEzQ0ol0gfScGeR5dD1mbO4BQPUXnaBdIcorntfKS5aMVdOgYSGKCx5l7qeaTDYT7tAokOhBHKMYDojwjBKytXdVTdJRWgSTGffg55R1kF6sQlqafc9CEXoHwBHCesrL+enkF3QKJDCZUj6A1O8dAepZpmgj3xVSPoTVri4H0rFAqzl3bvSQAa8s/Gwj3aRNIJMVnDy/Z+T0I21U9RsdpE0gwoufndHcLy4frH9ApEB774S0r56/tH/u0+a0Srv+e/jvJ2mYgPc3W9GOIu4Wun0H4ItoEUiv57x2WTnErtrYf8/wi+gSS34Vw/LUbRKfYPjr+o542gbiui50Nf5yrqdPsvD9fXkGnQACg8GBD9Qha0vUjng9Ds0DWYVe5st5utk9X0KFbIK7lIDv/SPUY2nEK/nyLF7oFAgC5r59gL+efs254za3YcPb8+Q4WdAxEuAJL1+f5UqtN/LgH70HaBQIAVrmCx/+Yh1vz71++dvHrPlj7tAwEAHY3C3jwwRewdvy7gtkOftzF/SBtAwGASq6M++99htJSTvUoPcvyyVncm9E6EDzdR2vpX/N48u87qJX4bHIU1tYuHJ+cxb2ZoOoBOqXwcBOlx1mkpseQPj+B2HC/6pG6XvVJXvUIyvkmEAAQjkD+7iryd1cRHerD4OwJJE+P8lSlTVSXC6pHUM5XgRxUyZWxemMB658sou/kEJLTGfRNDPK49qecchW1LLcn+TaQfa7jovhwE8WHmwjFI0jPTmBgdgKBiL8fmt27m746SXUz/v4tqGPvVrH5xQPkbi8heWYUgxdPIpz038kghCuwey+reoyuwEAacC0H+YU1FBbXkTqbwfCVKQQT/jnnb225AHfX3+9e7WMgEsIVKCyuoXh/HalzGQz/5AwCUf3PnlK+s6p6hK6h/XaQdhCuQH5hDQ/+8ikKd9dUj+Op6krRVx+x9iIM5Aicmo31GwtYev9L1PJ67gJe+mpF9QhdhYG0oLJexKP3PkfuyyUIV5+3eiorBdR8vmtJPQbSIuEK5G49wpO/34KlwS4swhUo3lxSPUbXYSDHVMmWsfTe5yje7+3j4cvzq7CLvR96uzGQNnAtB+sffYeNjxd78iWXU66idJvvXDXCQNqosLCG5Q/mYffSHrBCYPvGA8DhqVsbYSBttrdRxJO/3UK1R46LL91eRW2N5xNrhoF4wN6p4skH89hd6e7dxWvZHZS/XFY9RldjIB4RloPVf95B+WF37tPk1mxsf9Sb60ydxEA8JFyB9Q+/RXGhu7a+C1dg6z+LsEtV1aN0PQbiMSGAzY8Xkb/dPS9lCp8+QnWV6x2HwUA6JPe/hyh8o343jvK369j5rre32XQSA+mg7M0HKHynbnvD3qNtFD/j1vKjYCAdlv3kPsqLnf8LXnm8jS2ulB8ZA+k0AWzeuIvS/c2O3WR1tYDch4yjFQxEASGA7H8XOvIWcGU5j+z1BQhuKW8JA1FECGDjw+88XXHfuZdF7voChM04WsVDblUSQO7mA9ilKgZfPd22Uw4JV6DwxWOU7qyCJzE6HgbSBQrfrKK6WcLwL2cQTh3vLCpWsYKtj++jts4Dn9qBgXSJaraMlb/ewsArk0henDjy2R6F5aD09QqKt1chHK6MtwsD6SLCFdj+6jEK364iOZtB3/QoQi84L5ddrKB8bxM7dzfgVvZ3s+cLq3ZhIF3IrdkozC+jML+CUDKGSKYfof4YAuHvf1yuZcMqVFDbKMI6cBQgs2g/BtLlrOIerOL3H2LzbAAGg+gAvs1LJMFAiCQYCJEEAyGSYCBEEgyESIKBEEkwECIJBkIkwUCIJBgIkQQDIZJgIEQSDIRIgoEQSTAQIgkGQiTBQIgkGAiRBAMhkmAgRBIMhEiCgRBJMBAiCQZCJMFAiCQYCJEEAyGSYCBEEgyESIKBEEkwECIJBkIkwUCIJBgIkQQDIZJgIEQSDIRIgoEQSTAQIgkGQiTBQIgkGAiRBAMhkggKYdwyDPH0n8aRrny0Sze/9vGWc5hlGA2/PNoyjjuLaPjdZtc43iw/3tazy2nPPRQNvmrlHtQ/IvJrNH78RN01W7mHzy9ZPF2Oeev/YKOEnY88U5cAAAAASUVORK5CYII=";var Z1={},Qfe=Vr;Object.defineProperty(Z1,"__esModule",{value:!0});var sb=Z1.default=void 0,Zfe=Qfe(Eo()),U_=x;sb=Z1.default=(0,Zfe.default)([(0,U_.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"},"0"),(0,U_.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},"1")],"AccessTime");var J1={},Jfe=Vr;Object.defineProperty(J1,"__esModule",{value:!0});var ab=J1.default=void 0,epe=Jfe(Eo()),tpe=x;ab=J1.default=(0,epe.default)((0,tpe.jsx)("path",{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92"}),"Share");Lm.register(vu,ufe,nfe);const npe=()=>{const{t:e}=Om(),t={labels:[e("sponsorship.areas"),"Software","PM","QA",e("sponsorship.design"),e("sponsorship.students")],datasets:[{label:e("sponsorship.votes"),data:[4,51,6,4,2,30],backgroundColor:["#E59866","#5499C7","#E67E22","#F7DC6F","#85C1E9","#58D68D"],borderColor:["white","white","white","white","white","white"],borderWidth:1}]};return x.jsxs(x.Fragment,{children:[x.jsx(O1,{}),x.jsxs(Xd,{children:[x.jsx(mt,{sx:{display:"flex",justifyContent:"center",p:5},children:x.jsx(rn,{src:Mm,alt:"Logo WDT",sx:{width:"100%",height:"100%",maxWidth:"250px"}})}),x.jsx(Fe,{sx:{textAlign:"justify"},variant:"body1",paragraph:!0,children:e("sponsorship.description1")}),x.jsx(Fe,{sx:{textAlign:"justify",mb:1.5},variant:"body1",children:e("sponsorship.description2")}),x.jsx(Fe,{sx:{textAlign:"justify"},variant:"body1",paragraph:!0,children:e("sponsorship.description3")}),x.jsx(mt,{my:5,children:x.jsx("iframe",{width:"100%",style:{maxHeight:"600px",height:"60vw"},src:"https://www.youtube.com/embed/3kLz1Q0myiM",title:"YouTube video player",allow:"accelerometer autoplay clipboard-write encrypted-media gyroscope picture-in-picture",allowFullScreen:!0})}),x.jsx(Fe,{variant:"h2",sx:{my:8,textAlign:"center"},children:e("sponsorship.attendeesTitle")}),x.jsx(mt,{sx:{display:"flex",justifyContent:"center",width:"100%"},children:x.jsx(mt,{width:{xs:"100%",sm:"75%",md:"50%"},children:x.jsx(Lfe,{data:t})})}),x.jsx(Fe,{variant:"h3",sx:{my:8,textAlign:"center"},children:"Venues"}),x.jsx(Fe,{sx:{textAlign:"justify"},variant:"body1",paragraph:!0,children:e("sponsorship.venues")}),x.jsx(Fe,{variant:"h3",sx:{mt:8,mb:3,textAlign:"center"},children:e("sponsorship.sponsorshipPlans")}),x.jsx(Fe,{sx:{textAlign:"center"},variant:"body1",paragraph:!0,children:e("sponsorship.sponsorshipPlansBody")}),x.jsxs($r,{container:!0,spacing:5,children:[x.jsx($r,{item:!0,xs:12,md:6,children:x.jsx(iu,{variant:"outlined",children:x.jsxs(su,{children:[x.jsx(Fe,{variant:"h5",gutterBottom:!0,children:"Gold"}),x.jsx(au,{}),x.jsxs(wl,{spacing:5,sx:{mt:2},children:[x.jsxs(mt,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[x.jsxs(mt,{sx:{display:"flex",alignItems:"center"},children:[x.jsx(sb,{}),x.jsx(Fe,{variant:"h6",sx:{ml:1,textAlign:"center"},children:e("sponsorship.minutes",{minutes:5})})]}),x.jsx(Fe,{variant:"body2",sx:{ml:1,textAlign:"center"},color:"text.secondary",children:e("sponsorship.goldTime")})]}),x.jsxs(mt,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[x.jsxs(mt,{sx:{display:"flex",alignItems:"center"},children:[x.jsx(ab,{}),x.jsx(Fe,{variant:"h6",sx:{ml:1,textAlign:"center"},children:e("sponsorship.shares",{shares:5})})]}),x.jsx(Fe,{variant:"body2",sx:{ml:1,textAlign:"center"},color:"text.secondary",children:e("sponsorship.goldShares")})]}),x.jsxs(mt,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[x.jsx(mt,{sx:{display:"flex",alignItems:"center"},children:x.jsx(Fe,{variant:"h6",sx:{ml:1,textAlign:"center"},children:e("sponsorship.boothSpace")})}),x.jsx(Fe,{variant:"body2",sx:{ml:1,textAlign:"center"},color:"text.secondary",children:e("sponsorship.goldBoothSpace")})]}),x.jsxs(mt,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[x.jsxs(mt,{sx:{display:"flex",alignItems:"center"},children:[x.jsx(qh,{}),x.jsx(Fe,{variant:"h6",sx:{ml:1,textAlign:"center"},children:e("sponsorship.socialNetwork")})]}),x.jsx(Fe,{variant:"body2",sx:{ml:1,textAlign:"center"},color:"text.secondary",children:e("sponsorship.goldSocialNetwork")})]}),x.jsxs(mt,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[x.jsx(mt,{sx:{display:"flex",alignItems:"center"},children:x.jsx(Fe,{variant:"h6",sx:{ml:1,textAlign:"center"},children:e("sponsorship.promotion")})}),x.jsx(Fe,{variant:"body2",sx:{ml:1,textAlign:"center"},color:"text.secondary",children:e("sponsorship.goldPromotion")})]})]})]})})}),x.jsx($r,{item:!0,xs:12,md:6,children:x.jsx(iu,{variant:"outlined",children:x.jsxs(su,{children:[x.jsx(Fe,{variant:"h5",gutterBottom:!0,children:"Silver"}),x.jsx(au,{}),x.jsxs(wl,{spacing:5,sx:{mt:2},children:[x.jsxs(mt,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[x.jsxs(mt,{sx:{display:"flex",alignItems:"center"},children:[x.jsx(sb,{}),x.jsx(Fe,{variant:"h6",sx:{ml:1,textAlign:"center"},children:"-"})]}),x.jsx(Fe,{variant:"body2",sx:{ml:1,textAlign:"center"},color:"text.secondary",children:e("sponsorship.silverTime")})]}),x.jsxs(mt,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[x.jsxs(mt,{sx:{display:"flex",alignItems:"center"},children:[x.jsx(ab,{}),x.jsx(Fe,{variant:"h6",sx:{ml:1,textAlign:"center"},children:e("sponsorship.shares",{shares:2})})]}),x.jsx(Fe,{variant:"body2",sx:{ml:1,textAlign:"center"},color:"text.secondary",children:e("sponsorship.silverShares")})]}),x.jsxs(mt,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[x.jsx(mt,{sx:{display:"flex",alignItems:"center"},children:x.jsx(Fe,{variant:"h6",sx:{ml:1,textAlign:"center"},children:"-"})}),x.jsx(Fe,{variant:"body2",sx:{ml:1,textAlign:"center"},color:"text.secondary",children:e("sponsorship.silverBoothSpace")})]}),x.jsxs(mt,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[x.jsxs(mt,{sx:{display:"flex",alignItems:"center"},children:[x.jsx(qh,{}),x.jsx(Fe,{variant:"h6",sx:{ml:1,textAlign:"center"},children:e("sponsorship.socialNetwork")})]}),x.jsx(Fe,{variant:"body2",sx:{ml:1,textAlign:"center"},color:"text.secondary",children:e("sponsorship.silverSocialNetwork")})]}),x.jsxs(mt,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[x.jsx(mt,{sx:{display:"flex",alignItems:"center"},children:x.jsx(Fe,{variant:"h6",sx:{ml:1,textAlign:"center"},children:e("sponsorship.promotion")})}),x.jsx(Fe,{variant:"body2",sx:{ml:1,textAlign:"center"},color:"text.secondary",children:e("sponsorship.silverPromotion")})]})]})]})})})]}),x.jsx(Fe,{variant:"h3",sx:{my:4,textAlign:"center"},children:e("sponsorship.costs")}),x.jsxs($r,{container:!0,spacing:5,children:[x.jsx($r,{item:!0,xs:12,md:6,children:x.jsx(iu,{variant:"outlined",children:x.jsxs(su,{children:[x.jsx(Fe,{variant:"h5",gutterBottom:!0,children:"Gold"}),x.jsx(au,{}),x.jsxs(wl,{spacing:2,sx:{mt:2},children:[x.jsxs(mt,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[x.jsx(mt,{sx:{display:"flex",alignItems:"center"},children:x.jsx(Fe,{variant:"h6",sx:{ml:1,textAlign:"center"},children:e("sponsorship.annually")})}),x.jsx(Fe,{variant:"body2",sx:{ml:1,textAlign:"center"},color:"text.secondary",children:e("sponsorship.goldAnnually",{peso:"$8,874 MXN",dolar:"$510 USD"})})]}),x.jsxs(mt,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[x.jsx(mt,{sx:{display:"flex",alignItems:"center"},children:x.jsx(Fe,{variant:"h6",sx:{ml:1,textAlign:"center"},children:e("sponsorship.semester")})}),x.jsx(Fe,{variant:"body2",sx:{ml:1,textAlign:"center"},color:"text.secondary",children:e("sponsorship.goldSemester",{peso:"$4,698 MXN",dolar:"$270 USD"})})]}),x.jsxs(mt,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[x.jsx(mt,{sx:{display:"flex",alignItems:"center"},children:x.jsx(Fe,{variant:"h6",sx:{ml:1,textAlign:"center"},children:e("sponsorship.perEvent")})}),x.jsx(Fe,{variant:"body2",sx:{ml:1,textAlign:"center"},color:"text.secondary",children:e("sponsorship.goldPerEvent",{peso:"$1,740 MXN",dolar:"$100 USD"})})]})]})]})})}),x.jsx($r,{item:!0,xs:12,md:6,children:x.jsx(iu,{variant:"outlined",children:x.jsxs(su,{children:[x.jsx(Fe,{variant:"h5",gutterBottom:!0,children:"Silver"}),x.jsx(au,{}),x.jsxs(wl,{spacing:2,sx:{mt:2},children:[x.jsxs(mt,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[x.jsx(mt,{sx:{display:"flex",alignItems:"center"},children:x.jsx(Fe,{variant:"h6",sx:{ml:1,textAlign:"center"},children:e("sponsorship.annually")})}),x.jsx(Fe,{variant:"body2",sx:{ml:1,textAlign:"center"},color:"text.secondary",children:e("sponsorship.silverAnnually",{peso:"$5,916 MXN",dolar:"$340 USD"})})]}),x.jsxs(mt,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[x.jsx(mt,{sx:{display:"flex",alignItems:"center"},children:x.jsx(Fe,{variant:"h6",sx:{ml:1,textAlign:"center"},children:e("sponsorship.semester")})}),x.jsx(Fe,{variant:"body2",sx:{ml:1,textAlign:"center"},color:"text.secondary",children:e("sponsorship.silverSemester",{peso:"$3,9132 MXN",dolar:"$180 USD"})})]}),x.jsxs(mt,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[x.jsx(mt,{sx:{display:"flex",alignItems:"center"},children:x.jsx(Fe,{variant:"h6",sx:{ml:1,textAlign:"center"},children:e("sponsorship.perEvent")})}),x.jsx(Fe,{variant:"body2",sx:{ml:1,textAlign:"center"},color:"text.secondary",children:e("sponsorship.silverPerEvent",{peso:"$1,160 MXN",dolar:"$70 USD"})})]})]})]})})})]}),x.jsx(Fe,{variant:"h3",sx:{my:8,textAlign:"center"},children:e("sponsorship.ourSponsors")}),x.jsxs($r,{container:!0,spacing:4,sx:{mt:8,alignItems:"center",flexWrap:"wrap",px:4},children:[x.jsx($r,{item:!0,xs:4,md:2,sx:{display:"flex",justifyContent:"center",height:"100px",width:"100%"},children:x.jsx(rn,{variant:"square",src:jfe,sx:{height:"100%",width:"100%","& img":{objectFit:"contain"}}})}),x.jsx($r,{item:!0,xs:4,md:2,sx:{display:"flex",justifyContent:"center",height:"100px",width:"100%"},children:x.jsx(rn,{variant:"square",src:Bfe,sx:{height:"100%",width:"100%","& img":{objectFit:"contain"}}})}),x.jsx($r,{item:!0,xs:4,md:2,sx:{display:"flex",justifyContent:"center",height:"100px",width:"100%"},children:x.jsx(rn,{variant:"square",src:Dfe,sx:{height:"100%",width:"100%","& img":{objectFit:"contain"}}})}),x.jsx($r,{item:!0,xs:4,md:2,sx:{display:"flex",justifyContent:"center",height:"100px",width:"100%"},children:x.jsx(rn,{variant:"square",src:Nfe,sx:{height:"100%",width:"100%","& img":{objectFit:"contain"}}})}),x.jsx($r,{item:!0,xs:4,md:2,sx:{display:"flex",justifyContent:"center",height:"100px",width:"100%"},children:x.jsx(rn,{variant:"square",src:Ffe,sx:{height:"100%",width:"100%","& img":{objectFit:"contain"}}})}),x.jsx($r,{item:!0,xs:4,md:2,sx:{display:"flex",justifyContent:"center",height:"100px",width:"100%"},children:x.jsx(rn,{variant:"square",src:zfe,sx:{height:"100%",width:"100%","& img":{objectFit:"contain"}}})})]}),x.jsx(Fe,{variant:"h3",sx:{my:8,textAlign:"center"},children:e("sponsorship.ourPatreons")}),x.jsxs(mt,{sx:{display:"flex",justifyContent:"space-around",flexWrap:"wrap"},children:[x.jsx(jo,{title:"Alejandro Rebollar",sx:{p:4},children:x.jsx(rn,{src:Vfe,sx:{height:"50px",width:"50px",m:2}})}),x.jsx(jo,{title:"Alexis Chavez",children:x.jsx(rn,{src:Wfe,sx:{height:"50px",width:"50px",m:2}})}),x.jsx(jo,{title:"Alexis Navarro",children:x.jsx(rn,{src:Hfe,sx:{height:"50px",width:"50px",m:2}})}),x.jsx(jo,{title:"Anonymous",children:x.jsx(rn,{src:Ufe,sx:{height:"50px",width:"50px",m:2}})}),x.jsx(jo,{title:"Benjamin Peña",children:x.jsx(rn,{src:Gfe,sx:{height:"50px",width:"50px",m:2}})}),x.jsx(jo,{title:"Edson Paul",children:x.jsx(rn,{src:Kfe,sx:{height:"50px",width:"50px",m:2}})}),x.jsx(jo,{title:"Miguel Urbina",children:x.jsx(rn,{src:Yfe,sx:{height:"50px",width:"50px",m:2}})}),x.jsx(jo,{title:"Oscar Swanros",children:x.jsx(rn,{src:Xfe,sx:{height:"50px",width:"50px",m:2}})}),x.jsx(jo,{title:"Soriel Vallejo",children:x.jsx(rn,{src:qfe,sx:{height:"50px",width:"50px",m:2}})})]}),x.jsxs(mt,{sx:{mt:8},children:[x.jsx(Fe,{variant:"caption",children:e("sponsorship.tax")}),x.jsxs(Fe,{variant:"caption",paragraph:!0,children:[e("sponsorship.contact1")," ",x.jsx(ls,{href:"mailto:contacto@webdevtalks.mx",children:"contacto@webdevtalks.mx"})," ",e("sponsorship.contact2")]})]})]}),x.jsx(j1,{})]})};var eC={},rpe=Vr;Object.defineProperty(eC,"__esModule",{value:!0});var bu=eC.default=void 0,ope=rpe(Eo()),ipe=x;bu=eC.default=(0,ope.default)((0,ipe.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2"}),"Circle");const spe=""+new URL("main-Cmt6azjF.jpg",import.meta.url).href;var JL={exports:{}};(()=>{var e={296:(o,i,s)=>{var a=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,f=parseInt,p=typeof s.g=="object"&&s.g&&s.g.Object===Object&&s.g,h=typeof self=="object"&&self&&self.Object===Object&&self,v=p||h||Function("return this")(),m=Object.prototype.toString,w=Math.max,y=Math.min,S=function(){return v.Date.now()};function _(T){var P=typeof T;return!!T&&(P=="object"||P=="function")}function $(T){if(typeof T=="number")return T;if(function(A){return typeof A=="symbol"||function(E){return!!E&&typeof E=="object"}(A)&&m.call(A)=="[object Symbol]"}(T))return NaN;if(_(T)){var P=typeof T.valueOf=="function"?T.valueOf():T;T=_(P)?P+"":P}if(typeof T!="string")return T===0?T:+T;T=T.replace(a,"");var O=c.test(T);return O||u.test(T)?f(T.slice(2),O?2:8):l.test(T)?NaN:+T}o.exports=function(T,P,O){var A,E,j,B,V,H,U=0,I=!1,D=!1,G=!0;if(typeof T!="function")throw new TypeError("Expected a function");function N(se){var ae=A,ye=E;return A=E=void 0,U=se,B=T.apply(ye,ae)}function K(se){var ae=se-H;return H===void 0||ae>=P||ae<0||D&&se-U>=j}function Z(){var se=S();if(K(se))return ve(se);V=setTimeout(Z,function(ae){var ye=P-(ae-H);return D?y(ye,j-(ae-U)):ye}(se))}function ve(se){return V=void 0,G&&A?N(se):(A=E=void 0,B)}function Ce(){var se=S(),ae=K(se);if(A=arguments,E=this,H=se,ae){if(V===void 0)return function(ye){return U=ye,V=setTimeout(Z,P),I?N(ye):B}(H);if(D)return V=setTimeout(Z,P),N(H)}return V===void 0&&(V=setTimeout(Z,P)),B}return P=$(P)||0,_(O)&&(I=!!O.leading,j=(D="maxWait"in O)?w($(O.maxWait)||0,P):j,G="trailing"in O?!!O.trailing:G),Ce.cancel=function(){V!==void 0&&clearTimeout(V),U=0,A=H=E=V=void 0},Ce.flush=function(){return V===void 0?B:ve(S())},Ce}},96:(o,i,s)=>{var a="Expected a function",l=NaN,c="[object Symbol]",u=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,h=/^0o[0-7]+$/i,v=parseInt,m=typeof s.g=="object"&&s.g&&s.g.Object===Object&&s.g,w=typeof self=="object"&&self&&self.Object===Object&&self,y=m||w||Function("return this")(),S=Object.prototype.toString,_=Math.max,$=Math.min,T=function(){return y.Date.now()};function P(A){var E=typeof A;return!!A&&(E=="object"||E=="function")}function O(A){if(typeof A=="number")return A;if(function(B){return typeof B=="symbol"||function(V){return!!V&&typeof V=="object"}(B)&&S.call(B)==c}(A))return l;if(P(A)){var E=typeof A.valueOf=="function"?A.valueOf():A;A=P(E)?E+"":E}if(typeof A!="string")return A===0?A:+A;A=A.replace(u,"");var j=p.test(A);return j||h.test(A)?v(A.slice(2),j?2:8):f.test(A)?l:+A}o.exports=function(A,E,j){var B=!0,V=!0;if(typeof A!="function")throw new TypeError(a);return P(j)&&(B="leading"in j?!!j.leading:B,V="trailing"in j?!!j.trailing:V),function(H,U,I){var D,G,N,K,Z,ve,Ce=0,se=!1,ae=!1,ye=!0;if(typeof H!="function")throw new TypeError(a);function ue(Le){var xe=D,$e=G;return D=G=void 0,Ce=Le,K=H.apply($e,xe)}function Be(Le){var xe=Le-ve;return ve===void 0||xe>=U||xe<0||ae&&Le-Ce>=N}function ce(){var Le=T();if(Be(Le))return Ae(Le);Z=setTimeout(ce,function(xe){var $e=U-(xe-ve);return ae?$($e,N-(xe-Ce)):$e}(Le))}function Ae(Le){return Z=void 0,ye&&D?ue(Le):(D=G=void 0,K)}function Ke(){var Le=T(),xe=Be(Le);if(D=arguments,G=this,ve=Le,xe){if(Z===void 0)return function($e){return Ce=$e,Z=setTimeout(ce,U),se?ue($e):K}(ve);if(ae)return Z=setTimeout(ce,U),ue(ve)}return Z===void 0&&(Z=setTimeout(ce,U)),K}return U=O(U)||0,P(I)&&(se=!!I.leading,N=(ae="maxWait"in I)?_(O(I.maxWait)||0,U):N,ye="trailing"in I?!!I.trailing:ye),Ke.cancel=function(){Z!==void 0&&clearTimeout(Z),Ce=0,D=ve=G=Z=void 0},Ke.flush=function(){return Z===void 0?K:Ae(T())},Ke}(A,E,{leading:B,maxWait:E,trailing:V})}},703:(o,i,s)=>{var a=s(414);function l(){}function c(){}c.resetWarningCache=l,o.exports=function(){function u(h,v,m,w,y,S){if(S!==a){var _=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 _.name="Invariant Violation",_}}function f(){return u}u.isRequired=u;var p={array:u,bigint:u,bool:u,func:u,number:u,object:u,string:u,symbol:u,any:u,arrayOf:f,element:u,elementType:u,instanceOf:f,node:u,objectOf:f,oneOf:f,oneOfType:f,shape:f,exact:f,checkPropTypes:c,resetWarningCache:l};return p.PropTypes=p,p}},697:(o,i,s)=>{o.exports=s(703)()},414:o=>{o.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},t={};function n(o){var i=t[o];if(i!==void 0)return i.exports;var s=t[o]={exports:{}};return e[o](s,s.exports,n),s.exports}n.n=o=>{var i=o&&o.__esModule?()=>o.default:()=>o;return n.d(i,{a:i}),i},n.d=(o,i)=>{for(var s in i)n.o(i,s)&&!n.o(o,s)&&Object.defineProperty(o,s,{enumerable:!0,get:i[s]})},n.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),n.o=(o,i)=>Object.prototype.hasOwnProperty.call(o,i),n.r=o=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})};var r={};(()=>{n.r(r),n.d(r,{LazyLoadComponent:()=>Ne,LazyLoadImage:()=>Tt,trackWindowScroll:()=>ve});const o=R;var i=n.n(o),s=n(697);const a=Xl;var l=n.n(a);function c(){return typeof window<"u"&&"IntersectionObserver"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype}function u(he){return u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},u(he)}function f(he,F){var W=Object.keys(he);if(Object.getOwnPropertySymbols){var ee=Object.getOwnPropertySymbols(he);F&&(ee=ee.filter(function(je){return Object.getOwnPropertyDescriptor(he,je).enumerable})),W.push.apply(W,ee)}return W}function p(he,F,W){return(F=v(F))in he?Object.defineProperty(he,F,{value:W,enumerable:!0,configurable:!0,writable:!0}):he[F]=W,he}function h(he,F){for(var W=0;W"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var J,q=w(ee);if(je){var oe=w(this).constructor;J=Reflect.construct(q,arguments,oe)}else J=q.apply(this,arguments);return function(we,Me){if(Me&&(u(Me)==="object"||typeof Me=="function"))return Me;if(Me!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(Xe){if(Xe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Xe}(we)}(this,J)});function me(J){var q;if(function(we,Me){if(!(we instanceof Me))throw new TypeError("Cannot call a class as a function")}(this,me),(q=ze.call(this,J)).supportsObserver=!J.scrollPosition&&J.useIntersectionObserver&&c(),q.supportsObserver){var oe=J.threshold;q.observer=function(we){return S[we]=S[we]||new IntersectionObserver(y,{rootMargin:we+"px"}),S[we]}(oe)}return q}return F=me,W=[{key:"componentDidMount",value:function(){this.placeholder&&this.observer&&(this.placeholder.onVisible=this.props.onVisible,this.observer.observe(this.placeholder)),this.supportsObserver||this.updateVisibility()}},{key:"componentWillUnmount",value:function(){this.observer&&this.placeholder&&this.observer.unobserve(this.placeholder)}},{key:"componentDidUpdate",value:function(){this.supportsObserver||this.updateVisibility()}},{key:"getPlaceholderBoundingBox",value:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.scrollPosition,q=this.placeholder.getBoundingClientRect(),oe=l().findDOMNode(this.placeholder).style,we=parseInt(oe.getPropertyValue("margin-left"),10)||0,Me=parseInt(oe.getPropertyValue("margin-top"),10)||0;return{bottom:J.y+q.bottom+Me,left:J.x+q.left+we,right:J.x+q.right+we,top:J.y+q.top+Me}}},{key:"isPlaceholderInViewport",value:function(){if(typeof window>"u"||!this.placeholder)return!1;var J=this.props,q=J.scrollPosition,oe=J.threshold,we=this.getPlaceholderBoundingBox(q),Me=q.y+window.innerHeight,Xe=q.x,ot=q.x+window.innerWidth,ct=q.y;return ct-oe<=we.bottom&&Me+oe>=we.top&&Xe-oe<=we.right&&ot+oe>=we.left}},{key:"updateVisibility",value:function(){this.isPlaceholderInViewport()&&this.props.onVisible()}},{key:"render",value:function(){var J=this,q=this.props,oe=q.className,we=q.height,Me=q.placeholder,Xe=q.style,ot=q.width;if(Me&&typeof Me.type!="function")return i().cloneElement(Me,{ref:function(dt){return J.placeholder=dt}});var ct=function(dt){for(var yt=1;yt"u"?0:window.scrollX||window.pageXOffset},Z=function(){return typeof window>"u"?0:window.scrollY||window.pageYOffset};const ve=function(he){var F=function(W){(function(oe,we){if(typeof we!="function"&&we!==null)throw new TypeError("Super expression must either be null or a function");oe.prototype=Object.create(we&&we.prototype,{constructor:{value:oe,writable:!0,configurable:!0}}),Object.defineProperty(oe,"prototype",{writable:!1}),we&&I(oe,we)})(q,W);var ee,je,ze,me,J=(ze=q,me=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var oe,we=N(ze);if(me){var Me=N(this).constructor;oe=Reflect.construct(we,arguments,Me)}else oe=we.apply(this,arguments);return D(this,oe)});function q(oe){var we;if(function(Xe,ot){if(!(Xe instanceof ot))throw new TypeError("Cannot call a class as a function")}(this,q),(we=J.call(this,oe)).useIntersectionObserver=oe.useIntersectionObserver&&c(),we.useIntersectionObserver)return D(we);var Me=we.onChangeScroll.bind(G(we));return oe.delayMethod==="debounce"?we.delayedScroll=P()(Me,oe.delayTime):oe.delayMethod==="throttle"&&(we.delayedScroll=A()(Me,oe.delayTime)),we.state={scrollPosition:{x:K(),y:Z()}},we.baseComponentRef=i().createRef(),we}return ee=q,(je=[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){typeof window>"u"||this.useIntersectionObserver||j(l().findDOMNode(this.baseComponentRef.current))!==this.scrollElement&&(this.removeListeners(),this.addListeners())}},{key:"addListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement=j(l().findDOMNode(this.baseComponentRef.current)),this.scrollElement.addEventListener("scroll",this.delayedScroll,{passive:!0}),window.addEventListener("resize",this.delayedScroll,{passive:!0}),this.scrollElement!==window&&window.addEventListener("scroll",this.delayedScroll,{passive:!0}))}},{key:"removeListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement.removeEventListener("scroll",this.delayedScroll),window.removeEventListener("resize",this.delayedScroll),this.scrollElement!==window&&window.removeEventListener("scroll",this.delayedScroll))}},{key:"onChangeScroll",value:function(){this.useIntersectionObserver||this.setState({scrollPosition:{x:K(),y:Z()}})}},{key:"render",value:function(){var oe=this.props,we=(oe.delayMethod,oe.delayTime,function(Xe,ot){if(Xe==null)return{};var ct,dt,yt=function(Lt,Nn){if(Lt==null)return{};var An,Gn,In={},Zt=Object.keys(Lt);for(Gn=0;Gn=0||(In[An]=Lt[An]);return In}(Xe,ot);if(Object.getOwnPropertySymbols){var St=Object.getOwnPropertySymbols(Xe);for(dt=0;dt=0||Object.prototype.propertyIsEnumerable.call(Xe,ct)&&(yt[ct]=Xe[ct])}return yt}(oe,V)),Me=this.useIntersectionObserver?null:this.state.scrollPosition;return i().createElement(he,H({forwardRef:this.baseComponentRef,scrollPosition:Me},we))}}])&&U(ee.prototype,je),Object.defineProperty(ee,"prototype",{writable:!1}),q}(i().Component);return F.propTypes={delayMethod:s.PropTypes.oneOf(["debounce","throttle"]),delayTime:s.PropTypes.number,useIntersectionObserver:s.PropTypes.bool},F.defaultProps={delayMethod:"throttle",delayTime:300,useIntersectionObserver:!0},F};function Ce(he){return Ce=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},Ce(he)}function se(he,F){for(var W=0;W"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var J,q=ye(ee);if(je){var oe=ye(this).constructor;J=Reflect.construct(q,arguments,oe)}else J=q.apply(this,arguments);return function(we,Me){if(Me&&(Ce(Me)==="object"||typeof Me=="function"))return Me;if(Me!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(Xe){if(Xe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Xe}(we)}(this,J)});function me(J){return function(q,oe){if(!(q instanceof oe))throw new TypeError("Cannot call a class as a function")}(this,me),ze.call(this,J)}return F=me,(W=[{key:"render",value:function(){return i().createElement($,this.props)}}])&&se(F.prototype,W),Object.defineProperty(F,"prototype",{writable:!1}),me}(i().Component);const Be=ve(ue);function ce(he){return ce=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},ce(he)}function Ae(he,F){for(var W=0;W"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var J,q=xe(ee);if(je){var oe=xe(this).constructor;J=Reflect.construct(q,arguments,oe)}else J=q.apply(this,arguments);return function(we,Me){if(Me&&(ce(Me)==="object"||typeof Me=="function"))return Me;if(Me!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Le(we)}(this,J)});function me(J){var q;(function(ot,ct){if(!(ot instanceof ct))throw new TypeError("Cannot call a class as a function")})(this,me),q=ze.call(this,J);var oe=J.afterLoad,we=J.beforeLoad,Me=J.scrollPosition,Xe=J.visibleByDefault;return q.state={visible:Xe},Xe&&(we(),oe()),q.onVisible=q.onVisible.bind(Le(q)),q.isScrollTracked=!!(Me&&Number.isFinite(Me.x)&&Me.x>=0&&Number.isFinite(Me.y)&&Me.y>=0),q}return F=me,(W=[{key:"componentDidUpdate",value:function(J,q){q.visible!==this.state.visible&&this.props.afterLoad()}},{key:"onVisible",value:function(){this.props.beforeLoad(),this.setState({visible:!0})}},{key:"render",value:function(){if(this.state.visible)return this.props.children;var J=this.props,q=J.className,oe=J.delayMethod,we=J.delayTime,Me=J.height,Xe=J.placeholder,ot=J.scrollPosition,ct=J.style,dt=J.threshold,yt=J.useIntersectionObserver,St=J.width;return this.isScrollTracked||yt&&c()?i().createElement($,{className:q,height:Me,onVisible:this.onVisible,placeholder:Xe,scrollPosition:ot,style:ct,threshold:dt,useIntersectionObserver:yt,width:St}):i().createElement(Be,{className:q,delayMethod:oe,delayTime:we,height:Me,onVisible:this.onVisible,placeholder:Xe,style:ct,threshold:dt,width:St})}}])&&Ae(F.prototype,W),Object.defineProperty(F,"prototype",{writable:!1}),me}(i().Component);$e.propTypes={afterLoad:s.PropTypes.func,beforeLoad:s.PropTypes.func,useIntersectionObserver:s.PropTypes.bool,visibleByDefault:s.PropTypes.bool},$e.defaultProps={afterLoad:function(){return{}},beforeLoad:function(){return{}},useIntersectionObserver:!0,visibleByDefault:!1};const Ne=$e;function ke(he){return ke=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},ke(he)}var Oe=["afterLoad","beforeLoad","delayMethod","delayTime","effect","placeholder","placeholderSrc","scrollPosition","threshold","useIntersectionObserver","visibleByDefault","wrapperClassName","wrapperProps"];function Je(he,F){var W=Object.keys(he);if(Object.getOwnPropertySymbols){var ee=Object.getOwnPropertySymbols(he);F&&(ee=ee.filter(function(je){return Object.getOwnPropertyDescriptor(he,je).enumerable})),W.push.apply(W,ee)}return W}function He(he){for(var F=1;F"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var J,q=at(ee);if(je){var oe=at(this).constructor;J=Reflect.construct(q,arguments,oe)}else J=q.apply(this,arguments);return function(we,Me){if(Me&&(ke(Me)==="object"||typeof Me=="function"))return Me;if(Me!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(Xe){if(Xe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Xe}(we)}(this,J)});function me(J){var q;return function(oe,we){if(!(oe instanceof we))throw new TypeError("Cannot call a class as a function")}(this,me),(q=ze.call(this,J)).state={loaded:!1},q}return F=me,(W=[{key:"onImageLoad",value:function(){var J=this;return this.state.loaded?null:function(q){J.props.onLoad(q),J.props.afterLoad(),J.setState({loaded:!0})}}},{key:"getImg",value:function(){var J=this.props,q=(J.afterLoad,J.beforeLoad,J.delayMethod,J.delayTime,J.effect,J.placeholder,J.placeholderSrc,J.scrollPosition,J.threshold,J.useIntersectionObserver,J.visibleByDefault,J.wrapperClassName,J.wrapperProps,function(oe,we){if(oe==null)return{};var Me,Xe,ot=function(dt,yt){if(dt==null)return{};var St,Lt,Nn={},An=Object.keys(dt);for(Lt=0;Lt=0||(Nn[St]=dt[St]);return Nn}(oe,we);if(Object.getOwnPropertySymbols){var ct=Object.getOwnPropertySymbols(oe);for(Xe=0;Xe=0||Object.prototype.propertyIsEnumerable.call(oe,Me)&&(ot[Me]=oe[Me])}return ot}(J,Oe));return i().createElement("img",qe({},q,{onLoad:this.onImageLoad()}))}},{key:"getLazyLoadImage",value:function(){var J=this.props,q=J.beforeLoad,oe=J.className,we=J.delayMethod,Me=J.delayTime,Xe=J.height,ot=J.placeholder,ct=J.scrollPosition,dt=J.style,yt=J.threshold,St=J.useIntersectionObserver,Lt=J.visibleByDefault,Nn=J.width;return i().createElement(Ne,{beforeLoad:q,className:oe,delayMethod:we,delayTime:Me,height:Xe,placeholder:ot,scrollPosition:ct,style:dt,threshold:yt,useIntersectionObserver:St,visibleByDefault:Lt,width:Nn},this.getImg())}},{key:"getWrappedLazyLoadImage",value:function(J){var q=this.props,oe=q.effect,we=q.height,Me=q.placeholderSrc,Xe=q.width,ot=q.wrapperClassName,ct=q.wrapperProps,dt=this.state.loaded,yt=dt?" lazy-load-image-loaded":"",St=dt||!Me?{}:{backgroundImage:"url(".concat(Me,")"),backgroundSize:"100% 100%"};return i().createElement("span",qe({className:ot+" lazy-load-image-background "+oe+yt,style:He(He({},St),{},{color:"transparent",display:"inline-block",height:we,width:Xe})},ct),J)}},{key:"render",value:function(){var J=this.props,q=J.effect,oe=J.placeholderSrc,we=J.visibleByDefault,Me=J.wrapperClassName,Xe=J.wrapperProps,ot=this.getLazyLoadImage();return(q||oe)&&!we||Me||Xe?this.getWrappedLazyLoadImage(ot):ot}}])&&tt(F.prototype,W),Object.defineProperty(F,"prototype",{writable:!1}),me}(i().Component);Pt.propTypes={onLoad:s.PropTypes.func,afterLoad:s.PropTypes.func,beforeLoad:s.PropTypes.func,delayMethod:s.PropTypes.string,delayTime:s.PropTypes.number,effect:s.PropTypes.string,placeholderSrc:s.PropTypes.string,threshold:s.PropTypes.number,useIntersectionObserver:s.PropTypes.bool,visibleByDefault:s.PropTypes.bool,wrapperClassName:s.PropTypes.string,wrapperProps:s.PropTypes.object},Pt.defaultProps={onLoad:function(){},afterLoad:function(){return{}},beforeLoad:function(){return{}},delayMethod:"throttle",delayTime:300,effect:"",placeholderSrc:null,threshold:100,useIntersectionObserver:!0,visibleByDefault:!1,wrapperClassName:""};const Tt=Pt})(),JL.exports=r})();var fn=JL.exports;const ape=""+new URL("1-CPuilZ5-.jpg",import.meta.url).href,lpe=""+new URL("2-BFEILPwi.jpg",import.meta.url).href,cpe=""+new URL("3-BOaMINrd.jpg",import.meta.url).href,upe=""+new URL("4-WSdNkIfz.jpg",import.meta.url).href,dpe=""+new URL("5-BuCrH8or.jpg",import.meta.url).href,fpe=""+new URL("6-Cv4JAFDf.jpg",import.meta.url).href,ppe=""+new URL("7-Cd2AaHkZ.jpg",import.meta.url).href,hpe=""+new URL("8-C34G9gVn.jpg",import.meta.url).href,gpe=""+new URL("9-CoKV1pRK.jpg",import.meta.url).href,mpe=""+new URL("10-BdMx25lF.jpg",import.meta.url).href,vpe=""+new URL("11-AlyVBdoR.jpg",import.meta.url).href,ype=""+new URL("12-NbkxD20i.jpg",import.meta.url).href,bpe=""+new URL("13-C6rhDGbR.jpg",import.meta.url).href,xpe=""+new URL("14-BlRystPP.jpg",import.meta.url).href,Cpe=""+new URL("15-BHrYsYLg.jpg",import.meta.url).href,Spe=""+new URL("16-0v-0ukUs.jpg",import.meta.url).href,wpe=""+new URL("17-Mz-Ru1Q_.jpg",import.meta.url).href,Ppe=""+new URL("18-D36i-EoQ.jpg",import.meta.url).href,kpe=""+new URL("19-bd8GHcfU.jpg",import.meta.url).href,_pe=""+new URL("20-BZJAjoBv.jpg",import.meta.url).href,Rpe=""+new URL("21-DZyTC698.jpg",import.meta.url).href,Tpe=""+new URL("22-ZO4_krB_.jpg",import.meta.url).href,$pe=""+new URL("23--fbT6iDu.jpg",import.meta.url).href,Ope=""+new URL("24-xZ3Lho47.jpg",import.meta.url).href;var ej={},tj={},Bm={},nj={},lb=function(e,t){return lb=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},lb(e,t)};function rj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");lb(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var dg=function(){return dg=Object.assign||function(t){for(var n,r=1,o=arguments.length;r=0;a--)(s=e[a])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function sj(e,t){return function(n,r){t(n,r,e)}}function Mpe(e,t,n,r,o,i){function s(y){if(y!==void 0&&typeof y!="function")throw new TypeError("Function expected");return y}for(var a=r.kind,l=a==="getter"?"get":a==="setter"?"set":"value",c=!t&&e?r.static?e:e.prototype:null,u=t||(c?Object.getOwnPropertyDescriptor(c,r.name):{}),f,p=!1,h=n.length-1;h>=0;h--){var v={};for(var m in r)v[m]=m==="access"?{}:r[m];for(var m in r.access)v.access[m]=r.access[m];v.addInitializer=function(y){if(p)throw new TypeError("Cannot add initializers after decoration has completed");i.push(s(y||null))};var w=(0,n[h])(a==="accessor"?{get:u.get,set:u.set}:u[l],v);if(a==="accessor"){if(w===void 0)continue;if(w===null||typeof w!="object")throw new TypeError("Object expected");(f=s(w.get))&&(u.get=f),(f=s(w.set))&&(u.set=f),(f=s(w.init))&&o.unshift(f)}else(f=s(w))&&(a==="field"?o.unshift(f):u[l]=f)}c&&Object.defineProperty(c,r.name,u),p=!0}function Ape(e,t,n){for(var r=arguments.length>2,o=0;o0&&i[i.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function tC(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i}function dj(){for(var e=[],t=0;t1||l(h,m)})},v&&(o[h]=v(o[h])))}function l(h,v){try{c(r[h](v))}catch(m){p(i[0][3],m)}}function c(h){h.value instanceof ac?Promise.resolve(h.value.v).then(u,f):p(i[0][2],h)}function u(h){l("next",h)}function f(h){l("throw",h)}function p(h,v){h(v),i.shift(),i.length&&l(i[0][0],i[0][1])}}function gj(e){var t,n;return t={},r("next"),r("throw",function(o){throw o}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(o,i){t[o]=e[o]?function(s){return(n=!n)?{value:ac(e[o](s)),done:!1}:i?i(s):s}:i}}function mj(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof fg=="function"?fg(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,l){s=e[i](s),o(a,l,s.done,s.value)})}}function o(i,s,a,l){Promise.resolve(l).then(function(c){i({value:c,done:a})},s)}}function vj(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var Lpe=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function yj(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&Dm(t,e,n);return Lpe(t,e),t}function bj(e){return e&&e.__esModule?e:{default:e}}function xj(e,t,n,r){if(n==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(e):r?r.value:t.get(e)}function Cj(e,t,n,r,o){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!o)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?o.call(e,n):o?o.value=n:t.set(e,n),n}function Sj(e,t){if(t===null||typeof t!="object"&&typeof t!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e=="function"?t===e:e.has(t)}function wj(e,t,n){if(t!=null){if(typeof t!="object"&&typeof t!="function")throw new TypeError("Object expected.");var r,o;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(r===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(o=r)}if(typeof r!="function")throw new TypeError("Object not disposable.");o&&(r=function(){try{o.call(this)}catch(i){return Promise.reject(i)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var jpe=typeof SuppressedError=="function"?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function Pj(e){function t(r){e.error=e.hasError?new jpe(r,e.error,"An error was suppressed during disposal."):r,e.hasError=!0}function n(){for(;e.stack.length;){var r=e.stack.pop();try{var o=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(o).then(n,function(i){return t(i),n()})}catch(i){t(i)}}if(e.hasError)throw e.error}return n()}const Bpe={__extends:rj,__assign:dg,__rest:oj,__decorate:ij,__param:sj,__metadata:aj,__awaiter:lj,__generator:cj,__createBinding:Dm,__exportStar:uj,__values:fg,__read:tC,__spread:dj,__spreadArrays:fj,__spreadArray:pj,__await:ac,__asyncGenerator:hj,__asyncDelegator:gj,__asyncValues:mj,__makeTemplateObject:vj,__importStar:yj,__importDefault:bj,__classPrivateFieldGet:xj,__classPrivateFieldSet:Cj,__classPrivateFieldIn:Sj,__addDisposableResource:wj,__disposeResources:Pj},Dpe=Object.freeze(Object.defineProperty({__proto__:null,__addDisposableResource:wj,get __assign(){return dg},__asyncDelegator:gj,__asyncGenerator:hj,__asyncValues:mj,__await:ac,__awaiter:lj,__classPrivateFieldGet:xj,__classPrivateFieldIn:Sj,__classPrivateFieldSet:Cj,__createBinding:Dm,__decorate:ij,__disposeResources:Pj,__esDecorate:Mpe,__exportStar:uj,__extends:rj,__generator:cj,__importDefault:bj,__importStar:yj,__makeTemplateObject:vj,__metadata:aj,__param:sj,__propKey:Ipe,__read:tC,__rest:oj,__runInitializers:Ape,__setFunctionName:Epe,__spread:dj,__spreadArray:pj,__spreadArrays:fj,__values:fg,default:Bpe},Symbol.toStringTag,{value:"Module"})),nC=io(Dpe);var Npe=function(){},Fpe=function(){};const zpe=Object.freeze(Object.defineProperty({__proto__:null,invariant:Fpe,warning:Npe},Symbol.toStringTag,{value:"Module"})),kj=io(zpe);var Dn={};Object.defineProperty(Dn,"__esModule",{value:!0});var fi=nC,_j=function(e,t){return function(n){return Math.max(Math.min(n,t),e)}},Nu=function(e){return e%1?Number(e.toFixed(5)):e},Sd=/(-)?([\d]*\.?[\d])+/g,cb=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,Vpe=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function ef(e){return typeof e=="string"}var tf={test:function(e){return typeof e=="number"},parse:parseFloat,transform:function(e){return e}},rC=fi.__assign(fi.__assign({},tf),{transform:_j(0,1)}),Wpe=fi.__assign(fi.__assign({},tf),{default:1}),nf=function(e){return{test:function(t){return ef(t)&&t.endsWith(e)&&t.split(" ").length===1},parse:parseFloat,transform:function(t){return""+t+e}}},Hpe=nf("deg"),Fl=nf("%"),Upe=nf("px"),Gpe=nf("vh"),Kpe=nf("vw"),Ype=fi.__assign(fi.__assign({},Fl),{parse:function(e){return Fl.parse(e)/100},transform:function(e){return Fl.transform(e*100)}}),oC=function(e,t){return function(n){return!!(ef(n)&&Vpe.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t))}},Rj=function(e,t,n){return function(r){var o;if(!ef(r))return r;var i=r.match(Sd),s=i[0],a=i[1],l=i[2],c=i[3];return o={},o[e]=parseFloat(s),o[t]=parseFloat(a),o[n]=parseFloat(l),o.alpha=c!==void 0?parseFloat(c):1,o}},xu={test:oC("hsl","hue"),parse:Rj("hue","saturation","lightness"),transform:function(e){var t=e.hue,n=e.saturation,r=e.lightness,o=e.alpha,i=o===void 0?1:o;return"hsla("+Math.round(t)+", "+Fl.transform(Nu(n))+", "+Fl.transform(Nu(r))+", "+Nu(rC.transform(i))+")"}},Xpe=_j(0,255),ah=fi.__assign(fi.__assign({},tf),{transform:function(e){return Math.round(Xpe(e))}}),_l={test:oC("rgb","red"),parse:Rj("red","green","blue"),transform:function(e){var t=e.red,n=e.green,r=e.blue,o=e.alpha,i=o===void 0?1:o;return"rgba("+ah.transform(t)+", "+ah.transform(n)+", "+ah.transform(r)+", "+Nu(rC.transform(i))+")"}};function qpe(e){var t="",n="",r="",o="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),o=e.substr(4,1),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}var ub={test:oC("#"),parse:qpe,transform:_l.transform},iC={test:function(e){return _l.test(e)||ub.test(e)||xu.test(e)},parse:function(e){return _l.test(e)?_l.parse(e):xu.test(e)?xu.parse(e):ub.parse(e)},transform:function(e){return ef(e)?e:e.hasOwnProperty("red")?_l.transform(e):xu.transform(e)}},Tj="${c}",$j="${n}";function Qpe(e){var t,n,r,o;return isNaN(e)&&ef(e)&&((n=(t=e.match(Sd))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((o=(r=e.match(cb))===null||r===void 0?void 0:r.length)!==null&&o!==void 0?o:0)>0}function Oj(e){var t=[],n=0,r=e.match(cb);r&&(n=r.length,e=e.replace(cb,Tj),t.push.apply(t,r.map(iC.parse)));var o=e.match(Sd);return o&&(e=e.replace(Sd,$j),t.push.apply(t,o.map(tf.parse))),{values:t,numColors:n,tokenised:e}}function Mj(e){return Oj(e).values}function Aj(e){var t=Oj(e),n=t.values,r=t.numColors,o=t.tokenised,i=n.length;return function(s){for(var a=o,l=0;l0?-1:1;return P*((S-_)*$)/T}):(c=function(m){var w=Math.exp(-m*n),y=(m-s)*n+1;return-x0+w*y},u=function(m){var w=Math.exp(-m*n),y=(s-m)*(n*n);return w*y});var p=5/n,h=xhe(c,u,p);if(n=n*1e3,isNaN(h))return{stiffness:100,damping:10,duration:n};var v=Math.pow(h,2)*l;return{stiffness:v,damping:f*2*Math.sqrt(l*v),duration:n}}var bhe=12;function xhe(e,t,n){for(var r=n,o=1;o=m;else{var P=S($)*1e3,O=Math.abs(P)<=s,A=Math.abs(o-T)<=a;c.done=O&&A}return c.value=c.done?o:T,c},flipTarget:function(){var $;v=-v,$=[o,n],n=$[0],o=$[1],_()}}}zm.needsInterpolation=function(e,t){return typeof e=="string"||typeof t=="string"};var Y_=function(e){return 0},sC=function(e,t,n){var r=t-e;return r===0?1:(n-e)/r},kd=function(e,t,n){return-n*e+n*t+e},Phe=function(e,t,n){var r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},khe=[Rs.hex,Rs.rgba,Rs.hsla],X_=function(e){return khe.find(function(t){return t.test(e)})},q_=function(e){return"'"+e+"' is not an animatable color. Use the equivalent color code instead."},aC=function(e,t){var n=X_(e),r=X_(t);Pa.invariant(!!n,q_(e)),Pa.invariant(!!r,q_(t)),Pa.invariant(n.transform===r.transform,"Both colors must be hex/RGBA, OR both must be HSLA.");var o=n.parse(e),i=r.parse(t),s=br.__assign({},o),a=n===Rs.hsla?kd:Phe;return function(l){for(var c in s)c!=="alpha"&&(s[c]=a(o[c],i[c],l));return s.alpha=kd(o.alpha,i.alpha,l),n.transform(s)}},_he={x:0,y:0,z:0},hb=function(e){return typeof e=="number"},Rhe=function(e,t){return function(n){return t(e(n))}},lC=function(){for(var e=[],t=0;t=o.numNumbers,"Complex values '"+e+"' and '"+t+"' too different to mix. Ensure all colors are of the same type."),lC(Dj(r.parsed,o.parsed),n)},$he=function(e,t){return function(n){return kd(e,t,n)}};function Ohe(e){if(typeof e=="number")return $he;if(typeof e=="string")return Rs.color.test(e)?aC:cC;if(Array.isArray(e))return Dj;if(typeof e=="object")return The}function Mhe(e,t,n){for(var r=[],o=n||Ohe(e[0]),i=e.length-1,s=0;s=e[r]&&(i=r-1,s=!0),!s){for(var a=1;ao||a===r);a++);i=a-1}var l=sC(e[i],e[i+1],o);return t[i](l)}}function uC(e,t,n){var r=n===void 0?{}:n,o=r.clamp,i=o===void 0?!0:o,s=r.ease,a=r.mixer,l=e.length;Pa.invariant(l===t.length,"Both input and output ranges must be the same length"),Pa.invariant(!s||!Array.isArray(s)||s.length===l-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[l-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());var c=Mhe(t,s,a),u=l===2?Ahe(e,c):Ihe(e,c);return i?function(f){return u(Pd(e[0],e[l-1],f))}:u}var of=function(e){return function(t){return 1-e(1-t)}},Vm=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},Nj=function(e){return function(t){return Math.pow(t,e)}},dC=function(e){return function(t){return t*t*((e+1)*t-e)}},Fj=function(e){var t=dC(e);return function(n){return(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))}},zj=1.525,Ehe=4/11,Lhe=8/11,jhe=9/10,Vj=function(e){return e},fC=Nj(2),Bhe=of(fC),Wj=Vm(fC),Hj=function(e){return 1-Math.sin(Math.acos(e))},Uj=of(Hj),Dhe=Vm(Uj),pC=dC(zj),Nhe=of(pC),Fhe=Vm(pC),zhe=Fj(zj),Vhe=4356/361,Whe=35442/1805,Hhe=16061/1805,pg=function(e){if(e===1||e===0)return e;var t=e*e;return e=l,c},flipTarget:function(){u.reverse(),h=p()}}}function Gj(e){var t=e.velocity,n=t===void 0?0:t,r=e.from,o=r===void 0?0:r,i=e.power,s=i===void 0?.8:i,a=e.timeConstant,l=a===void 0?350:a,c=e.restDelta,u=c===void 0?.5:c,f=e.modifyTarget,p={done:!1,value:o},h=s*n,v=o+h,m=f===void 0?v:f(v);return m!==v&&(h=m-o),{next:function(w){var y=-h*Math.exp(-w/l);return p.done=!(y>u||y<-u),p.value=p.done?m:m+y,p},flipTarget:function(){}}}var Z_={keyframes:Fu,spring:zm,decay:Gj};function qhe(e){if(Array.isArray(e.to))return Fu;if(Z_[e.type])return Z_[e.type];var t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Fu:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?zm:Fu}function Kj(e,t,n){return n===void 0&&(n=0),e-t-n}function Qhe(e,t,n,r){return n===void 0&&(n=0),r===void 0&&(r=!0),r?Kj(t+-e,t,n):t-(e-t)+n}function Zhe(e,t,n,r){return r?e>=t+n:e<=-n}var Jhe=function(e){var t=function(n){var r=n.delta;return e(r)};return{start:function(){return hhe.default.update(t,!0)},stop:function(){return Fm.cancelSync.update(t)}}};function Yj(e){var t,n,r=e.from,o=e.autoplay,i=o===void 0?!0:o,s=e.driver,a=s===void 0?Jhe:s,l=e.elapsed,c=l===void 0?0:l,u=e.repeat,f=u===void 0?0:u,p=e.repeatType,h=p===void 0?"loop":p,v=e.repeatDelay,m=v===void 0?0:v,w=e.onPlay,y=e.onStop,S=e.onComplete,_=e.onRepeat,$=e.onUpdate,T=br.__rest(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),P=T.to,O,A=0,E=T.duration,j,B=!1,V=!0,H,U=qhe(T);!((n=(t=U).needsInterpolation)===null||n===void 0)&&n.call(t,r,P)&&(H=uC([0,100],[r,P],{clamp:!1}),r=0,P=100);var I=U(br.__assign(br.__assign({},T),{from:r,to:P}));function D(){A++,h==="reverse"?(V=A%2===0,c=Qhe(c,E,m,V)):(c=Kj(c,E,m),h==="mirror"&&I.flipTarget()),B=!1,_&&_()}function G(){O.stop(),S&&S()}function N(Z){if(V||(Z=-Z),c+=Z,!B){var ve=I.next(Math.max(0,c));j=ve.value,H&&(j=H(j)),B=V?ve.done:c<=0}$==null||$(j),B&&(A===0&&(E??(E=c)),As}function O(D){return i===void 0?s:s===void 0||Math.abs(i-D)B||V===-1&&Do)return e[t-1];if(t===n-1)return i;o=s}}};function uge(e,t){return e/(1e3/t)}var dge=function(e,t,n){var r=t-e;return((n-e)%r+r)%r+e},e5=function(e,t){return 1-3*t+3*e},t5=function(e,t){return 3*t-6*e},n5=function(e){return 3*e},gg=function(e,t,n){return((e5(t,n)*e+t5(t,n))*e+n5(t))*e},r5=function(e,t,n){return 3*e5(t,n)*e*e+2*t5(t,n)*e+n5(t)},fge=1e-7,pge=10;function hge(e,t,n,r,o){var i,s,a=0;do s=t+(n-t)/2,i=gg(s,r,o)-e,i>0?n=s:t=s;while(Math.abs(i)>fge&&++a=mge?vge(a,p,e,n):h===0?p:hge(a,l,l+Tp,e,n)}return function(a){return a===0||a===1?a:gg(s(a),t,r)}}var bge=function(e,t){return t===void 0&&(t="end"),function(n){n=t==="end"?Math.min(n,.999):Math.max(n,.001);var r=n*e,o=t==="end"?Math.floor(r):Math.ceil(r);return Pd(0,1,o/e)}};lt.angle=tge;lt.animate=Yj;lt.anticipate=zhe;lt.applyOffset=nge;lt.attract=oge;lt.attractExpo=ige;lt.backIn=pC;lt.backInOut=Fhe;lt.backOut=Nhe;lt.bounceIn=Uhe;lt.bounceInOut=Ghe;lt.bounceOut=pg;lt.circIn=Hj;lt.circInOut=Dhe;lt.circOut=Uj;lt.clamp=Pd;lt.createAnticipate=Fj;lt.createAttractor=hC;lt.createBackIn=dC;lt.createExpoIn=Nj;lt.cubicBezier=yge;lt.decay=Gj;lt.degreesToRadians=Qj;lt.distance=sge;lt.easeIn=fC;lt.easeInOut=Wj;lt.easeOut=Bhe;lt.inertia=ege;lt.interpolate=uC;lt.isPoint=hg;lt.isPoint3D=gb;lt.keyframes=Fu;lt.linear=Vj;lt.mirrorEasing=Vm;lt.mix=kd;lt.mixColor=aC;lt.mixComplex=cC;lt.pipe=lC;lt.pointFromVector=age;lt.progress=sC;lt.radiansToDegrees=qj;lt.reverseEasing=of;lt.smooth=lge;lt.smoothFrame=Jj;lt.snap=cge;lt.spring=zm;lt.steps=bge;lt.toDecimal=Zj;lt.velocityPerFrame=uge;lt.velocityPerSecond=Xj;lt.wrap=dge;function xge(e){var t={};return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Cge=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|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|download|draggable|encType|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|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|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|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)-.*))$/,Sge=xge(function(e){return Cge.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});const wge=Object.freeze(Object.defineProperty({__proto__:null,default:Sge},Symbol.toStringTag,{value:"Module"})),Pge=io(wge);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=nC,n=R,r=kj,o=Dn,i=lt,s=Wa;function a(d){return d&&typeof d=="object"&&"default"in d?d:{default:d}}function l(d){if(d&&d.__esModule)return d;var g=Object.create(null);return d&&Object.keys(d).forEach(function(b){if(b!=="default"){var k=Object.getOwnPropertyDescriptor(d,b);Object.defineProperty(g,b,k.get?k:{enumerable:!0,get:function(){return d[b]}})}}),g.default=d,Object.freeze(g)}var c=l(n),u=a(n),f=a(s),p=function(d){return{isEnabled:function(g){return d.some(function(b){return!!g[b]})}}},h={measureLayout:p(["layout","layoutId","drag","_layoutResetTransform"]),animation:p(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag"]),exit:p(["exit"]),drag:p(["drag","dragControls"]),focus:p(["whileFocus"]),hover:p(["whileHover","onHoverStart","onHoverEnd"]),tap:p(["whileTap","onTap","onTapStart","onTapCancel"]),pan:p(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),layoutAnimation:p(["layout","layoutId"])};function v(d){for(var g in d){var b=d[g];b!==null&&(h[g].Component=b)}}var m=n.createContext({strict:!1}),w=Object.keys(h),y=w.length;function S(d,g,b){var k=[];if(n.useContext(m),!g)return null;for(var M=0;M-1||/[A-Z]/.test(d))}var Oe={};function Je(d){for(var g in d)Oe[g]=d[g]}var He=["","X","Y","Z"],vt=["translate","scale","rotate","skew"],qe=["transformPerspective","x","y","z"];vt.forEach(function(d){return He.forEach(function(g){return qe.push(d+g)})});function tt(d,g){return qe.indexOf(d)-qe.indexOf(g)}var ht=new Set(qe);function nt(d){return ht.has(d)}var at=new Set(["originX","originY","originZ"]);function Pt(d){return at.has(d)}function Tt(d,g){var b=g.layout,k=g.layoutId;return nt(d)||Pt(d)||(b||k!==void 0)&&(!!Oe[d]||d==="opacity")}var he=function(d){return d!==null&&typeof d=="object"&&d.getVelocity},F={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function W(d,g,b,k){var M=d.transform,L=d.transformKeys,z=g.enableHardwareAcceleration,Y=z===void 0?!0:z,pe=g.allowTransformNone,ie=pe===void 0?!0:pe,re="";L.sort(tt);for(var be=!1,fe=L.length,Te=0;Te-1&&d.splice(b,1)}var df=function(){function d(){this.subscriptions=[]}return d.prototype.add=function(g){var b=this;return LC(this.subscriptions,g),function(){return jC(b.subscriptions,g)}},d.prototype.notify=function(g,b,k){var M=this.subscriptions.length;if(M)if(M===1)this.subscriptions[0](g,b,k);else for(var L=0;Lut&&mr,Ws=Array.isArray(En)?En:[En],yi=Ws.reduce(L,{});vi===!1&&(yi={});var Ji=xt.prevResolvedValues,Hs=Ji===void 0?{}:Ji,_f=t.__assign(t.__assign({},Hs),yi),Us=function(Ks){Yn=!0,Ie.delete(Ks),xt.needsAnimating[Ks]=!0};for(var Ur in _f){var Ko=yi[Ur],Gs=Hs[Ur];Ge.hasOwnProperty(Ur)||(Ko!==Gs?Ve(Ko)&&Ve(Gs)?RC(Ko,Gs)?xt.protectedKeys[Ur]=!0:Us(Ur):Ko!==void 0?Us(Ur):Ie.add(Ur):Ko!==void 0&&Ie.has(Ur)?Us(Ur):xt.protectedKeys[Ur]=!0)}xt.prevProp=En,xt.prevResolvedValues=yi,xt.isActive&&(Ge=t.__assign(t.__assign({},Ge),yi)),M&&d.blockInitialAnimation&&(Yn=!1),Yn&&!fo&&Ue.push.apply(Ue,t.__spreadArray([],t.__read(Ws.map(function(Ks){return{animation:Ks,options:t.__assign({type:$t},re)}}))))},Gt=0;Gt=3;if(!(!Te&&!ge)){var Ue=fe.point,Ie=s.getFrameData().timestamp;M.history.push(t.__assign(t.__assign({},Ue),{timestamp:Ie}));var Ge=M.handlers,ut=Ge.onStart,kt=Ge.onMove;Te||(ut&&ut(M.lastMoveEvent,fe),M.startEvent=M.lastMoveEvent),kt&&kt(M.lastMoveEvent,fe)}}},this.handlePointerMove=function(fe,Te){if(M.lastMoveEvent=fe,M.lastMoveEventInfo=ov(Te,M.transformPagePoint),gC(fe)&&fe.buttons===0){M.handlePointerUp(fe,Te);return}f.default.update(M.updatePoint,!0)},this.handlePointerUp=function(fe,Te){M.end();var ge=M.handlers,Ue=ge.onEnd,Ie=ge.onSessionEnd,Ge=iv(ov(Te,M.transformPagePoint),M.history);M.startEvent&&Ue&&Ue(fe,Ge),Ie&&Ie(fe,Ge)},!(mC(g)&&g.touches.length>1)){this.handlers=b,this.transformPagePoint=z;var Y=Xm(g),pe=ov(Y,this.transformPagePoint),ie=pe.point,re=s.getFrameData().timestamp;this.history=[t.__assign(t.__assign({},ie),{timestamp:re})];var be=b.onSessionStart;be&&be(g,iv(pe,this.history)),this.removeListeners=i.pipe(Ha(window,"pointermove",this.handlePointerMove),Ha(window,"pointerup",this.handlePointerUp),Ha(window,"pointercancel",this.handlePointerUp))}}return d.prototype.updateHandlers=function(g){this.handlers=g},d.prototype.end=function(){this.removeListeners&&this.removeListeners(),s.cancelSync.update(this.updatePoint)},d}();function ov(d,g){return g?{point:g(d.point)}:d}function UC(d,g){return{x:d.x-g.x,y:d.y-g.y}}function iv(d,g){var b=d.point;return{point:b,delta:UC(b,GC(g)),offset:UC(b,oB(g)),velocity:iB(g,.1)}}function oB(d){return d[0]}function GC(d){return d[d.length-1]}function iB(d,g){if(d.length<2)return{x:0,y:0};for(var b=d.length-1,k=null,M=GC(d);b>=0&&(k=d[b],!(M.timestamp-k.timestamp>lf(g)));)b--;if(!k)return{x:0,y:0};var L=(M.timestamp-k.timestamp)/1e3;if(L===0)return{x:0,y:0};var z={x:(M.x-k.x)/L,y:(M.y-k.y)/L};return z.x===1/0&&(z.x=0),z.y===1/0&&(z.y=0),z}function sB(d){return d}function KC(d){var g=d.top,b=d.left,k=d.right,M=d.bottom;return{x:{min:b,max:k},y:{min:g,max:M}}}function aB(d){var g=d.x,b=d.y;return{top:b.min,bottom:b.max,left:g.min,right:g.max}}function lB(d,g){var b=d.top,k=d.left,M=d.bottom,L=d.right;g===void 0&&(g=sB);var z=g({x:k,y:b}),Y=g({x:L,y:M});return{top:z.y,left:z.x,bottom:Y.y,right:Y.x}}function mi(){return{x:{min:0,max:1},y:{min:0,max:1}}}function cB(d){return{x:t.__assign({},d.x),y:t.__assign({},d.y)}}var YC={translate:0,scale:1,origin:0,originPoint:0};function XC(){return{x:t.__assign({},YC),y:t.__assign({},YC)}}function Rr(d){return[d("x"),d("y")]}var uB=function(d){return i.clamp(0,1,d)};function qC(d,g,b){return g===void 0&&(g=0),b===void 0&&(b=.01),i.distance(d,g)k?b=i.progress(g.min,g.max-k,d.min):k>M&&(b=i.progress(d.min,d.max-M,g.min)),uB(b)}function QC(d,g,b,k){k===void 0&&(k=.5),d.origin=k,d.originPoint=i.mix(g.min,g.max,d.origin),d.scale=wc(b)/wc(g),qC(d.scale,1,1e-4)&&(d.scale=1),d.translate=i.mix(b.min,b.max,d.origin)-d.originPoint,qC(d.translate)&&(d.translate=0)}function ZC(d,g,b,k){QC(d.x,g.x,b.x,JC(k.originX)),QC(d.y,g.y,b.y,JC(k.originY))}function JC(d){return typeof d=="number"?d:.5}function eS(d,g,b){d.min=b.min+g.min,d.max=d.min+wc(g)}function fB(d,g){eS(d.target.x,d.relativeTarget.x,g.target.x),eS(d.target.y,d.relativeTarget.y,g.target.y)}function tS(d,g,b){var k=g.min,M=g.max;return k!==void 0&&dM&&(d=b?i.mix(M,d,b.max):Math.min(d,M)),d}function pB(d,g,b,k,M){var L=d-g*b;return k?tS(L,k,M):L}function nS(d,g,b){return{min:g!==void 0?d.min+g:void 0,max:b!==void 0?d.max+b-(d.max-d.min):void 0}}function hB(d,g){var b=g.top,k=g.left,M=g.bottom,L=g.right;return{x:nS(d.x,k,L),y:nS(d.y,b,M)}}function rS(d,g){var b,k=g.min-d.min,M=g.max-d.max;return g.max-g.ming?b="y":Math.abs(d.x)>g&&(b="x"),b}function $B(d){var g=d.dragControls,b=d.visualElement,k=n.useContext(_).transformPagePoint,M=O(function(){return new RB({visualElement:b})});M.setProps(t.__assign(t.__assign({},d),{transformPagePoint:k})),n.useEffect(function(){return g&&g.subscribe(M)},[M]),n.useEffect(function(){return M.mount(b)},[])}function OB(d){var g=d.onPan,b=d.onPanStart,k=d.onPanEnd,M=d.onPanSessionStart,L=d.visualElement,z=g||b||k||M,Y=n.useRef(null),pe=n.useContext(_).transformPagePoint,ie={onSessionStart:M,onStart:b,onMove:g,onEnd:function(be,fe){Y.current=null,k&&k(be,fe)}};n.useEffect(function(){Y.current!==null&&Y.current.updateHandlers(ie)});function re(be){Y.current=new HC(be,ie,{transformPagePoint:pe})}af(L,"pointerdown",z&&re),qm(function(){return Y.current&&Y.current.end()})}var wS={pan:Fs(OB),drag:Fs($B)},rr;(function(d){d[d.Entering=0]="Entering",d[d.Present=1]="Present",d[d.Exiting=2]="Exiting"})(rr||(rr={})),e.VisibilityAction=void 0,function(d){d[d.Hide=0]="Hide",d[d.Show=1]="Show"}(e.VisibilityAction||(e.VisibilityAction={}));function uv(d){return typeof d=="string"&&d.startsWith("var(--")}var PS=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function MB(d){var g=PS.exec(d);if(!g)return[,];var b=t.__read(g,3),k=b[1],M=b[2];return[k,M]}var AB=4;function dv(d,g,b){b===void 0&&(b=1),r.invariant(b<=AB,'Max CSS variable fallback depth detected in property "'+d+'". This may indicate a circular fallback dependency.');var k=t.__read(MB(d),2),M=k[0],L=k[1];if(M){var z=window.getComputedStyle(g).getPropertyValue(M);return z?z.trim():uv(L)?dv(L,g,b+1):L}}function IB(d,g,b){var k,M=t.__rest(g,[]),L=d.getInstance();if(!(L instanceof HTMLElement))return{target:M,transitionEnd:b};b&&(b=t.__assign({},b)),d.forEachValue(function(ie){var re=ie.get();if(uv(re)){var be=dv(re,L);be&&ie.set(be)}});for(var z in M){var Y=M[z];if(uv(Y)){var pe=dv(Y,L);pe&&(M[z]=pe,b&&((k=b[z])!==null&&k!==void 0||(b[z]=Y)))}}return{target:M,transitionEnd:b}}function kS(d,g){return d/(g.max-g.min)*100}function EB(d,g,b){var k=b.target;if(typeof d=="string")if(o.px.test(d))d=parseFloat(d);else return d;var M=kS(d,k.x),L=kS(d,k.y);return M+"% "+L+"%"}var _S="_$css";function LB(d,g){var b=g.delta,k=g.treeScale,M=d,L=d.includes("var("),z=[];L&&(d=d.replace(PS,function(Ue){return z.push(Ue),_S}));var Y=o.complex.parse(d);if(Y.length>5)return M;var pe=o.complex.createTransformer(d),ie=typeof Y[0]!="number"?1:0,re=b.x.scale*k.x,be=b.y.scale*k.y;Y[0+ie]/=re,Y[1+ie]/=be;var fe=i.mix(re,be,.5);typeof Y[2+ie]=="number"&&(Y[2+ie]/=fe),typeof Y[3+ie]=="number"&&(Y[3+ie]/=fe);var Te=pe(Y);if(L){var ge=0;Te=Te.replace(_S,function(){var Ue=z[ge];return ge++,Ue})}return Te}var _c={process:EB},jB={borderRadius:t.__assign(t.__assign({},_c),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:_c,borderTopRightRadius:_c,borderBottomLeftRadius:_c,borderBottomRightRadius:_c,boxShadow:{process:LB}},RS=1e3,BB=function(d){t.__extends(g,d);function g(){var b=d!==null&&d.apply(this,arguments)||this;return b.frameTarget=mi(),b.currentAnimationTarget=mi(),b.isAnimating={x:!1,y:!1},b.stopAxisAnimation={x:void 0,y:void 0},b.isAnimatingTree=!1,b.animate=function(k,M,L){L===void 0&&(L={});var z=L.originBox,Y=L.targetBox,pe=L.visibilityAction,ie=L.shouldStackAnimate,re=L.onComplete,be=L.prevParent,fe=t.__rest(L,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),Te=b.props,ge=Te.visualElement,Ue=Te.layout;if(ie===!1)return b.isAnimatingTree=!1,b.safeToRemove();if(!(b.isAnimatingTree&&ie!==!0)){ie&&(b.isAnimatingTree=!0),M=z||M,k=Y||k;var Ie=!1,Ge=ge.getProjectionParent();if(Ge){var ut=Ge.prevViewportBox,kt=Ge.getLayoutState().layout;be&&(Y&&(kt=be.getLayoutState().layout),z&&!CB(be,Ge)&&be.prevViewportBox&&(ut=be.prevViewportBox)),ut&&zB(be,z,Y)&&(Ie=!0,M=Ga(ut,M),k=Ga(kt,k))}var Gt=NB(M,k),_t=Rr(function(ft){var Dt,$t;if(Ue==="position"){var xt=k[ft].max-k[ft].min;M[ft].max=M[ft].min+xt}if(!ge.projection.isTargetLocked)if(pe!==void 0)ge.setVisibility(pe===e.VisibilityAction.Show);else return Gt?b.animateAxis(ft,k[ft],M[ft],t.__assign(t.__assign({},fe),{isRelative:Ie})):(($t=(Dt=b.stopAxisAnimation)[ft])===null||$t===void 0||$t.call(Dt),ge.setProjectionTargetAxis(ft,k[ft].min,k[ft].max,Ie))});return ge.syncRender(),Promise.all(_t).then(function(){b.isAnimatingTree=!1,re&&re(),ge.notifyLayoutAnimationComplete()})}},b}return g.prototype.componentDidMount=function(){var b=this,k=this.props.visualElement;k.animateMotionValue=Sc,k.enableLayoutProjection(),this.unsubLayoutReady=k.onLayoutUpdate(this.animate),k.layoutSafeToRemove=function(){return b.safeToRemove()},Je(jB)},g.prototype.componentWillUnmount=function(){var b=this;this.unsubLayoutReady(),Rr(function(k){var M,L;return(L=(M=b.stopAxisAnimation)[k])===null||L===void 0?void 0:L.call(M)})},g.prototype.animateAxis=function(b,k,M,L){var z=this,Y,pe,ie=L===void 0?{}:L,re=ie.transition,be=ie.isRelative;if(!(this.isAnimating[b]&&Rc(k,this.currentAnimationTarget[b]))){(pe=(Y=this.stopAxisAnimation)[b])===null||pe===void 0||pe.call(Y),this.isAnimating[b]=!0;var fe=this.props.visualElement,Te=this.frameTarget[b],ge=fe.getProjectionAnimationProgress()[b];ge.clearListeners(),ge.set(0),ge.set(0);var Ue=function(){var kt=ge.get()/RS;xB(Te,M,k,kt),fe.setProjectionTargetAxis(b,Te.min,Te.max,be)};Ue();var Ie=ge.onChange(Ue);this.stopAxisAnimation[b]=function(){z.isAnimating[b]=!1,ge.stop(),Ie()},this.currentAnimationTarget[b]=k;var Ge=re||fe.getDefaultTransition()||FB,ut=Sc(b==="x"?"layoutX":"layoutY",ge,RS,Ge&&uf(Ge,"layout")).then(this.stopAxisAnimation[b]);return ut}},g.prototype.safeToRemove=function(){var b,k;(k=(b=this.props).safeToRemove)===null||k===void 0||k.call(b)},g.prototype.render=function(){return null},g}(c.Component);function DB(d){var g=t.__read(A(),2),b=g[1];return c.createElement(BB,t.__assign({},d,{safeToRemove:b}))}function NB(d,g){return!$S(d)&&!$S(g)&&(!Rc(d.x,g.x)||!Rc(d.y,g.y))}var TS={min:0,max:0};function $S(d){return Rc(d.x,TS)&&Rc(d.y,TS)}function Rc(d,g){return d.min===g.min&&d.max===g.max}var FB={duration:.45,ease:[.4,0,.1,1]};function zB(d,g,b){return d||!d&&!(g||b)}var VB={layoutReady:function(d){return d.notifyLayoutReady()}};function bf(){var d=new Set;return{add:function(g){return d.add(g)},flush:function(g){var b=g===void 0?VB:g,k=b.layoutReady,M=b.parent;vf(function(L,z){var Y=Array.from(d).sort(sv),pe=M?hf(M):[];z(function(){var ie=t.__spreadArray(t.__spreadArray([],t.__read(pe)),t.__read(Y));ie.forEach(function(re){return re.resetTransform()})}),L(function(){Y.forEach(gf)}),z(function(){pe.forEach(function(ie){return ie.restoreTransform()}),Y.forEach(k)}),L(function(){Y.forEach(function(ie){ie.isPresent&&(ie.presence=rr.Present)})}),z(function(){s.flushSync.preRender(),s.flushSync.render()}),L(function(){f.default.postRender(function(){return Y.forEach(WB)}),d.clear()})}),kc()}}}function WB(d){d.prevViewportBox=d.projection.target}var xf=n.createContext(bf()),OS=n.createContext(bf());function Vs(d){return!!d.forceUpdate}var HB=function(d){t.__extends(g,d);function g(){return d!==null&&d.apply(this,arguments)||this}return g.prototype.componentDidMount=function(){var b=this.props,k=b.syncLayout,M=b.framerSyncLayout,L=b.visualElement;Vs(k)&&k.register(L),Vs(M)&&M.register(L),L.onUnmount(function(){Vs(k)&&k.remove(L),Vs(M)&&M.remove(L)})},g.prototype.getSnapshotBeforeUpdate=function(){var b=this.props,k=b.syncLayout,M=b.visualElement;return Vs(k)?k.syncUpdate():(av(M),k.add(M)),null},g.prototype.componentDidUpdate=function(){var b=this.props.syncLayout;Vs(b)||b.flush()},g.prototype.render=function(){return null},g}(u.default.Component);function UB(d){var g=n.useContext(xf),b=n.useContext(OS);return u.default.createElement(HB,t.__assign({},d,{syncLayout:g,framerSyncLayout:b}))}var MS={measureLayout:UB,layoutAnimation:DB},GB=function(){return{isEnabled:!1,isHydrated:!1,isTargetLocked:!1,target:mi(),targetFinal:mi()}};function AS(){return{isHydrated:!1,layout:mi(),layoutCorrected:mi(),treeScale:{x:1,y:1},delta:XC(),deltaFinal:XC(),deltaTransform:""}}var IS=AS();function Cf(d,g,b){var k=d.x,M=d.y,L=k.translate/g.x,z=M.translate/g.y,Y="translate3d("+L+"px, "+z+"px, 0) ";if(b){var pe=b.rotate,ie=b.rotateX,re=b.rotateY;pe&&(Y+="rotate("+pe+") "),ie&&(Y+="rotateX("+ie+") "),re&&(Y+="rotateY("+re+") ")}return Y+="scale("+k.scale+", "+M.scale+")",!b&&Y===KB?"":Y}function ES(d){var g=d.deltaFinal;return g.x.origin*100+"% "+g.y.origin*100+"% 0"}var KB=Cf(IS.delta,IS.treeScale,{x:1,y:1}),Sf=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function YB(){var d=Sf.map(function(){return new df}),g={},b={clearAllListeners:function(){return d.forEach(function(k){return k.clear()})},updatePropListeners:function(k){return Sf.forEach(function(M){var L;(L=g[M])===null||L===void 0||L.call(g);var z="on"+M,Y=k[z];Y&&(g[M]=b[z](Y))})}};return d.forEach(function(k,M){b["on"+Sf[M]]=function(L){return k.add(L)},b["notify"+Sf[M]]=function(){for(var L=[],z=0;z=0;Qe--){var Ht=it.path[Qe];if(Ht.projection.isEnabled){De=Ht;break}}En=De}return En},resolveRelativeTargetBox:function(){var De=it.getProjectionParent();if(!(!xt.relativeTarget||!De)&&(fB(xt,De.projection),uS(De))){var Qe=xt.target;cv(Qe,Qe,De.getLatestValues())}},shouldResetTransform:function(){return!!Ge._layoutResetTransform},pointTo:function(De){mr=De.projection,vi=De.getLatestValues(),fo==null||fo(),fo=i.pipe(De.onSetAxisTarget(it.scheduleUpdateLayoutProjection),De.onLayoutAnimationComplete(function(){var Qe;it.isPresent?it.presence=rr.Present:(Qe=it.layoutSafeToRemove)===null||Qe===void 0||Qe.call(it)}))},isPresent:!0,presence:rr.Entering});return it}};function ZB(d){d.resolveRelativeTargetBox()}function JB(d){d.updateLayoutProjection()}var jS=t.__spreadArray(["initial"],t.__read(rv)),eD=jS.length,tD=new Set(["width","height","top","left","right","bottom","x","y"]),BS=function(d){return tD.has(d)},nD=function(d){return Object.keys(d).some(BS)},DS=function(d,g){d.set(g,!1),d.set(g)},Pf=function(d){return d===o.number||d===o.px},NS;(function(d){d.width="width",d.height="height",d.left="left",d.right="right",d.top="top",d.bottom="bottom"})(NS||(NS={}));var FS=function(d,g){return parseFloat(d.split(", ")[g])},zS=function(d,g){return function(b,k){var M=k.transform;if(M==="none"||!M)return 0;var L=M.match(/^matrix3d\((.+)\)$/);if(L)return FS(L[1],g);var z=M.match(/^matrix\((.+)\)$/);return z?FS(z[1],d):0}},rD=new Set(["x","y","z"]),oD=qe.filter(function(d){return!rD.has(d)});function iD(d){var g=[];return oD.forEach(function(b){var k=d.getValue(b);k!==void 0&&(g.push([b,k.get()]),k.set(b.startsWith("scale")?1:0))}),g.length&&d.syncRender(),g}var VS={width:function(d){var g=d.x;return g.max-g.min},height:function(d){var g=d.y;return g.max-g.min},top:function(d,g){var b=g.top;return parseFloat(b)},left:function(d,g){var b=g.left;return parseFloat(b)},bottom:function(d,g){var b=d.y,k=g.top;return parseFloat(k)+(b.max-b.min)},right:function(d,g){var b=d.x,k=g.left;return parseFloat(k)+(b.max-b.min)},x:zS(4,13),y:zS(5,14)},sD=function(d,g,b){var k=g.measureViewportBox(),M=g.getInstance(),L=getComputedStyle(M),z=L.display,Y=L.top,pe=L.left,ie=L.bottom,re=L.right,be=L.transform,fe={top:Y,left:pe,bottom:ie,right:re,transform:be};z==="none"&&g.setStaticValue("display",d.display||"block"),g.syncRender();var Te=g.measureViewportBox();return b.forEach(function(ge){var Ue=g.getValue(ge);DS(Ue,VS[ge](k,fe)),d[ge]=VS[ge](Te,L)}),d},aD=function(d,g,b,k){b===void 0&&(b={}),k===void 0&&(k={}),g=t.__assign({},g),k=t.__assign({},k);var M=Object.keys(g).filter(BS),L=[],z=!1,Y=[];if(M.forEach(function(ie){var re=d.getValue(ie);if(d.hasValue(ie)){var be=b[ie],fe=g[ie],Te=ff(be),ge;if(Ve(fe))for(var Ue=fe.length,Ie=fe[0]===null?1:0;Ieg?1:b(i.progress(d,g,k))}}var XS=["TopLeft","TopRight","BottomLeft","BottomRight"],PD=XS.length;function kD(d,g,b,k,M,L){for(var z=0;z=0){var Ue=Te[ge];if(be&&(fe??(fe=Ue)),be??(be=Ue),be&&fe)break}g.lead=be,g.follow=fe,g.leadIsExiting=((re=g.lead)===null||re===void 0?void 0:re.presence)===rr.Exiting,z.setOptions({lead:be,follow:fe,prevValues:k,crossfadeOpacity:(fe==null?void 0:fe.isPresenceRoot)||(be==null?void 0:be.isPresenceRoot)}),g.lead!==b.follow&&(b.lead!==g.lead||b.leadIsExiting!==g.leadIsExiting)&&(Y=!0)},animate:function(re,be){var fe;if(be===void 0&&(be=!1),re===g.lead){be?re.pointTo(g.lead):re.setVisibility(!0);var Te={},ge=(fe=g.follow)===null||fe===void 0?void 0:fe.getProjectionParent();if(ge&&(Te.prevParent=ge),re.presence===rr.Entering?Te.originBox=pe():re.presence===rr.Exiting&&(Te.targetBox=ie()),Y){Y=!1;var Ue=re.getDefaultTransition();re.presence===rr.Entering?z.toLead(Ue):z.fromLead(Ue)}re.notifyLayoutReady(Te)}else be?g.lead&&re.pointTo(g.lead):re.setVisibility(!1)}}}function RD(d){for(var g=!1,b={},k=0;k"u")){var d=ow(kf,FD);Ns(window,"scroll",d,{passive:!0}),Ns(window,"resize",d)}}function VD(){return kf||(kf=nw()),D(function(){!iw&&zD()},[]),kf}var Xa;function WD(){if(Xa=nr(null),!(typeof window>"u"))if(window.matchMedia){var d=window.matchMedia("(prefers-reduced-motion)"),g=function(){return Xa.set(d.matches)};d.addListener(g),g()}else Xa.set(!1)}function HD(){!Xa&&WD();var d=t.__read(n.useState(Xa.get()),2),g=d[0],b=d[1];return ZS(Xa,b),g}function sw(){var d=!1,g=[],b=new Set,k={subscribe:function(M){return b.add(M),function(){return void b.delete(M)}},start:function(M,L){if(d){var z=[];return b.forEach(function(Y){z.push(pf(Y,M,{transitionOverride:L}))}),Promise.all(z)}else return new Promise(function(Y){g.push({animation:[M,L],resolve:Y})})},set:function(M){return r.invariant(d,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),b.forEach(function(L){G5(L,M)})},stop:function(){b.forEach(function(M){X5(M)})},mount:function(){return d=!0,g.forEach(function(M){var L=M.animation,z=M.resolve;k.start.apply(k,t.__spreadArray([],t.__read(L))).then(z)}),function(){d=!1,k.stop()}}};return k}function UD(){var d=O(sw);return n.useEffect(d.mount,[]),d}function GD(){for(var d=[],g=0;g.001?1/d:ZD},cw=!1;function JD(d){var g=Ya(1),b=Ya(1),k=T();r.invariant(!!(d||k),"If no scale values are provided, useInvertedScale must be used within a child of another motion component."),r.warning(cw,"useInvertedScale is deprecated and will be removed in 3.0. Use the layout prop instead."),cw=!0,d?(g=d.scaleX||g,b=d.scaleY||b):k&&(g=k.getValue("scaleX",1),b=k.getValue("scaleY",1));var M=gv(g,lw),L=gv(b,lw);return{scaleX:M,scaleY:L}}e.AnimatePresence=CD,e.AnimateSharedLayout=TD,e.DragControls=aw,e.FlatTree=LS,e.FramerTreeLayoutContext=OS,e.LayoutGroupContext=U,e.LazyMotion=OD,e.MotionConfig=$D,e.MotionConfigContext=_,e.MotionValue=BC,e.PresenceContext=P,e.SharedLayoutContext=xf,e.addScaleCorrection=Je,e.animate=GS,e.animateVisualElement=pf,e.animationControls=sw,e.batchLayout=vf,e.createBatcher=bf,e.createCrossfader=KS,e.createDomMotionComponent=hD,e.createMotionComponent=xe,e.domAnimation=QS,e.domMax=MD,e.flushLayout=kc,e.isValidMotionProp=dt,e.m=gD,e.motion=pD,e.motionValue=nr,e.resolveMotionValue=bt,e.snapshotViewportBox=av,e.transform=ew,e.useAnimation=UD,e.useCycle=GD,e.useDeprecatedAnimatedState=QD,e.useDeprecatedInvertedScale=JD,e.useDomEvent=sf,e.useDragControls=YD,e.useElementScroll=ND,e.useIsPresent=E,e.useMotionTemplate=ID,e.useMotionValue=Ya,e.usePresence=A,e.useReducedMotion=HD,e.useSpring=jD,e.useTransform=gv,e.useVelocity=BD,e.useViewportScroll=VD,e.visualElement=wf})(nj);var _n={},Wm={},kge=Vr;Object.defineProperty(Wm,"__esModule",{value:!0});Wm.default=void 0;var _ge=kge(Eo()),Rge=x;Wm.default=(0,_ge.default)((0,Rge.jsx)("circle",{cx:"12",cy:"12",r:"8"}),"FiberManualRecord");const Tge=io(ole);var zu=pt&&pt.__assign||function(){return zu=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?r&&r():O.offset.x<0&&n&&n(),P.stopPropagation())},dragElastic:0,dragConstraints:{left:0,right:0}},m=(0,rs.useRef)(null),w=(0,rs.useCallback)(function(){s===i.active&&m.current&&(m.current.offsetHeight===0?setTimeout(function(){return w()},100):f(m.current.offsetHeight))},[f,i.active,s,m]);(0,rs.useEffect)(function(){w()},[w]);var y={leftwardExit:{x:p?"-100%":void 0,opacity:h?0:void 0,zIndex:0},leftOut:{x:p?"-100%":void 0,opacity:h?0:void 0,display:"none",zIndex:0},rightwardExit:{x:p?"100%":void 0,opacity:h?0:void 0,zIndex:0},rightOut:{x:p?"100%":void 0,opacity:h?0:void 0,display:"none",zIndex:0},center:{x:0,opacity:1,zIndex:1}},S=i.active,_=i.next,$=i.prevActive,T="center";return s===S?T="center":s===$?(T=_?"leftwardExit":"rightwardExit",S===a&&s===0&&(T="rightwardExit"),S===0&&s===a&&(T="leftwardExit")):(T=ske?Ne?0:h.active:h.active+1;A(Oe,!0),xe&&xe.stopPropagation()},O=function(xe){var $e=T.children,Ne=T.cycleNavigation,ke=Array.isArray($e)?$e.length-1:0,Oe=h.active-1<0?Ne?ke:h.active:h.active-1;A(Oe,!1),xe&&xe.stopPropagation()},A=function(xe,$e,Ne){Ne===void 0&&(Ne=!0);var ke=T.onChange,Oe=T.children,Je=T.strictIndexing;Array.isArray(Oe)?(Je&&xe>Oe.length-1&&(xe=Oe.length-1),Je&&xe<0&&(xe=0)):xe=0,Ne&&($e!==void 0&&($e?T.next(xe,h.active):T.prev(xe,h.active)),ke(xe,h.active)),$e===void 0&&($e=xe>h.active),v({active:xe,prevActive:h.active,next:$e})},E=T.children,j=T.sx,B=T.className,V=T.height,H=T.stopAutoPlayOnHover,U=T.animation,I=T.duration,D=T.swipe,G=T.navButtonsAlwaysInvisible,N=T.navButtonsAlwaysVisible,K=T.cycleNavigation,Z=T.fullHeightHover,ve=T.navButtonsProps,Ce=T.navButtonsWrapperProps,se=T.NavButton,ae=T.NextIcon,ye=T.PrevIcon,ue=T.indicators,Be=T.indicatorContainerProps,ce=T.indicatorIconButtonProps,Ae=T.activeIndicatorIconButtonProps,Ke=T.IndicatorIcon,Le=function(xe){if(xe===void 0&&(xe=!0),K)return!0;var $e=Array.isArray(E)?E.length-1:0;return!(xe&&h.active===$e||!xe&&h.active===0)};return c.default.createElement(l.StyledRoot,{sx:j,className:B,onMouseOver:function(){H&&$(!0)},onMouseOut:function(){H&&$(!1)},onFocus:function(){H&&$(!0)},onBlur:function(){H&&$(!1)}},c.default.createElement(l.StyledItemWrapper,{style:{height:V||w}},Array.isArray(E)?E.map(function(xe,$e){return c.default.createElement(i.CarouselItem,{key:"carousel-item"+$e,state:h,index:$e,maxIndex:E.length-1,child:xe,animation:U,duration:I,swipe:D,next:P,prev:O,height:V,setHeight:y})}):c.default.createElement(i.CarouselItem,{key:"carousel-item0",state:h,index:0,maxIndex:0,child:E,animation:U,duration:I,height:V,setHeight:y})),!G&&Le(!0)&&c.default.createElement(l.StyledButtonWrapper,t({$next:!0,$prev:!1,$fullHeightHover:Z},Ce),se!==void 0?se(t({onClick:P,next:!0,prev:!1},ve)):c.default.createElement(l.StyledIconButton,t({$alwaysVisible:N,$fullHeightHover:Z,onClick:P,"aria-label":"Next"},ve),ae)),!G&&Le(!1)&&c.default.createElement(l.StyledButtonWrapper,t({$next:!1,$prev:!0,$fullHeightHover:Z},Ce),se!==void 0?se(t({onClick:O,next:!1,prev:!0},ve)):c.default.createElement(l.StyledIconButton,t({$alwaysVisible:N,$fullHeightHover:Z,onClick:O,"aria-label":"Previous"},ve),ye)),ue?c.default.createElement(s.Indicators,{length:Array.isArray(E)?E.length:0,active:h.active,press:A,indicatorContainerProps:Be,indicatorIconButtonProps:ce,activeIndicatorIconButtonProps:Ae,IndicatorIcon:Ke}):null)};e.Carousel=u,e.default=e.Carousel})(tj);var Gge=pt&&pt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ej,"__esModule",{value:!0});var Kge=Gge(tj),Yge=ej.default=Kge.default;function Xge(){const{t:e}=Om();return x.jsxs(x.Fragment,{children:[x.jsx(O1,{}),x.jsxs(Xd,{sx:{display:"flex",flexDirection:"column",alignItems:"center",pt:5},children:[x.jsx(Fe,{variant:"h1",sx:{mb:3},children:"Web Dev Talks"}),x.jsxs(Fe,{sx:{my:3,textAlign:"justify"},children:[e("aboutUs.quote"),x.jsx("b",{children:e("aboutUs.adrianReyes")})]}),x.jsx(rn,{variant:"square",src:spe,alt:"",sx:{width:"100%",height:"100%"}}),x.jsx(Fe,{variant:"h2",sx:{my:5},children:e("aboutUs.whoIs")}),x.jsx(Fe,{sx:{textAlign:"justify",mb:1},children:e("aboutUs.description")}),x.jsx(Fe,{sx:{textAlign:"justify"},children:e("aboutUs.description2")}),x.jsx(Fe,{variant:"h2",sx:{my:3},children:e("aboutUs.motivationHeader")}),x.jsx(Fe,{sx:{textAlign:"justify",mb:1},children:e("aboutUs.motivationBody1")}),x.jsx(Fe,{sx:{textAlign:"justify"},children:e("aboutUs.motivationBody2")}),x.jsx(Fe,{variant:"h2",sx:{my:3},children:e("aboutUs.dynamic")}),x.jsx(Fe,{sx:{textAlign:"justify",mb:1},children:e("aboutUs.dynamicBody1")}),x.jsx(Fe,{sx:{textAlign:"justify"},children:e("aboutUs.dynamicBody2")}),x.jsx(rn,{variant:"square",src:ape,alt:"",sx:{width:"100%",height:"100%",my:5}}),x.jsx(rn,{variant:"square",src:hpe,alt:"",sx:{width:"100%",height:"100%",my:5}}),x.jsx(Fe,{variant:"h2",sx:{my:3},children:e("aboutUs.socialImpact")}),x.jsx(Fe,{sx:{textAlign:"justify"},children:e("aboutUs.socialImpactBody1")}),x.jsx(Fe,{variant:"h2",sx:{my:3},children:e("aboutUs.jobsOffer")}),x.jsx(Fe,{sx:{textAlign:"justify"},children:e("aboutUs.jobsOfferBody1")}),x.jsx(Fe,{variant:"h2",sx:{my:3},children:e("sponsorship.sponsor")}),x.jsx(Fe,{sx:{textAlign:"justify"},children:e("aboutUs.sponsorBody")}),x.jsx(Fe,{variant:"h2",sx:{my:3},children:e("aboutUs.offer")}),x.jsxs(Rm,{sx:{width:"100%"},children:[x.jsxs(Bi,{children:[x.jsx(uu,{sx:{minWidth:"20px",color:"black"},children:x.jsx(bu,{sx:{fontSize:"8px"}})}),x.jsx(du,{primary:e("aboutUs.socialMentions")})]}),x.jsxs(Bi,{children:[x.jsx(uu,{sx:{minWidth:"20px",color:"black"},children:x.jsx(bu,{sx:{fontSize:"8px"}})}),x.jsx(du,{primary:e("aboutUs.sharePosts")})]}),x.jsxs(Bi,{children:[x.jsx(uu,{sx:{minWidth:"20px",color:"black"},children:x.jsx(bu,{sx:{fontSize:"8px"}})}),x.jsx(du,{primary:e("aboutUs.promoteContent")})]}),x.jsxs(Bi,{children:[x.jsx(uu,{sx:{minWidth:"20px",color:"black"},children:x.jsx(bu,{sx:{fontSize:"8px"}})}),x.jsx(du,{primary:e("aboutUs.eventPresence")})]})]}),x.jsxs(Fe,{sx:{mb:2},children:[x.jsx("strong",{children:e("aboutUs.note")})," ",e("aboutUs.benefitsNote")]}),x.jsx(Fe,{children:e("aboutUs.closingNote")}),x.jsx(Fe,{variant:"h3",sx:{my:3},children:e("aboutUs.communityHeader")}),x.jsx(Fe,{variant:"h3",sx:{my:5},children:e("aboutUs.gallery")}),x.jsxs(Yge,{sx:{width:"100%",marginBottom:"1rem"},interval:5e3,animation:"slide",height:"50vw",indicators:!1,duration:750,children:[x.jsx(fn.LazyLoadImage,{src:lpe,alt:"",style:{height:"100%",width:"100%",objectFit:"cover"}}),x.jsx(fn.LazyLoadImage,{src:cpe,alt:"",style:{height:"100%",width:"100%",objectFit:"cover"}}),x.jsx(fn.LazyLoadImage,{src:upe,alt:"",style:{height:"100%",width:"100%",objectFit:"cover"}}),x.jsx(fn.LazyLoadImage,{src:dpe,alt:"",style:{height:"100%",width:"100%",objectFit:"cover"}}),x.jsx(fn.LazyLoadImage,{src:fpe,alt:"",style:{height:"100%",width:"100%",objectFit:"cover"}}),x.jsx(fn.LazyLoadImage,{src:ppe,alt:"",style:{height:"100%",width:"100%",objectFit:"cover"}}),x.jsx(fn.LazyLoadImage,{src:gpe,alt:"",style:{height:"100%",width:"100%",objectFit:"cover"}}),x.jsx(fn.LazyLoadImage,{src:mpe,alt:"",style:{height:"100%",width:"100%",objectFit:"cover"}}),x.jsx(fn.LazyLoadImage,{src:vpe,alt:"",style:{height:"100%",width:"100%",objectFit:"cover"}}),x.jsx(fn.LazyLoadImage,{src:ype,alt:"",style:{height:"100%",width:"100%",objectFit:"cover"}}),x.jsx(fn.LazyLoadImage,{src:bpe,alt:"",style:{height:"100%",width:"100%",objectFit:"cover"}}),x.jsx(fn.LazyLoadImage,{src:xpe,alt:"",style:{height:"100%",width:"100%",objectFit:"cover"}}),x.jsx(fn.LazyLoadImage,{src:Cpe,alt:"",style:{height:"100%",width:"100%",objectFit:"cover"}}),x.jsx(fn.LazyLoadImage,{src:Spe,alt:"",style:{height:"100%",width:"100%",objectFit:"cover"}}),x.jsx(fn.LazyLoadImage,{src:wpe,alt:"",style:{height:"100%",width:"100%",objectFit:"cover"}}),x.jsx(fn.LazyLoadImage,{src:Ppe,alt:"",style:{height:"100%",width:"100%",objectFit:"cover"}}),x.jsx(fn.LazyLoadImage,{src:kpe,alt:"",style:{height:"100%",width:"100%",objectFit:"cover"}}),x.jsx(fn.LazyLoadImage,{src:_pe,alt:"",style:{height:"100%",width:"100%",objectFit:"cover"}}),x.jsx(fn.LazyLoadImage,{src:Rpe,alt:"",style:{height:"100%",width:"100%",objectFit:"cover"}}),x.jsx(fn.LazyLoadImage,{src:Tpe,alt:"",style:{height:"100%",width:"100%",objectFit:"cover"}}),x.jsx(fn.LazyLoadImage,{src:$pe,alt:"",style:{height:"100%",width:"100%",objectFit:"cover"}}),x.jsx(fn.LazyLoadImage,{src:Ope,alt:"",style:{height:"100%",width:"100%",objectFit:"cover"}})]})]}),x.jsx(j1,{})]})}const qge=()=>{const{navigateToSurvey:e}=iL();return e(),null};function Qge(){return iF([{path:"/",element:x.jsx(Ak,{})},{path:"/about",element:x.jsx(Xge,{})},{path:"/sponsorship",element:x.jsx(npe,{})},{path:"/survey",element:x.jsx(qge,{})},{path:"*",element:x.jsx(Ak,{})}])}const Zge=As({palette:{primary:{main:"#1c1c17"},secondary:{main:"#3298cc"},background:{default:"rgba(51,152,203,.9)"}},components:{MuiIconButton:{styleOverrides:{root:{"&:hover":{backgroundColor:"rgba(51,152,203,.9)",color:"white"},"&.active":{backgroundColor:"rgba(51,152,203,.9)",color:"white"}}}},MuiButton:{styleOverrides:{root:{"&:hover":{backgroundColor:"rgba(51,152,203,.9)",color:"white"},"&.active":{backgroundColor:"rgba(51,152,203,.9)",color:"white"}}}},MuiListItemButton:{styleOverrides:{root:{color:"#1c1c17","&:hover":{backgroundColor:"rgba(51,152,203,.9)",color:"white"},"&.active":{backgroundColor:"rgba(51,152,203,.9)",color:"white"}}}}}}),Jge="";function eme(){return x.jsx(kF,{basename:Jge,children:x.jsx(ZO,{theme:Zge,children:x.jsx(Qge,{})})})}const tme={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class vg{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||tme,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r{this.observers[r]||(this.observers[r]=new Map);const o=this.observers[r].get(n)||0;this.observers[r].set(n,o+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o{let[a,l]=s;for(let c=0;c{let[a,l]=s;for(let c=0;c{e=r,t=o});return n.resolve=e,n.reject=t,n}function J_(e){return e==null?"":""+e}function nme(e,t,n){e.forEach(r=>{t[r]&&(n[r]=t[r])})}const rme=/###/g;function Vu(e,t,n){function r(a){return a&&a.indexOf("###")>-1?a.replace(rme,"."):a}function o(){return!e||typeof e=="string"}const i=typeof t!="string"?t:t.split(".");let s=0;for(;s":">",'"':""","'":"'","/":"/"};function ame(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>sme[t]):e}class lme{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const cme=[" ",",","?","!",";"],ume=new lme(20);function dme(e,t,n){t=t||"",n=n||"";const r=cme.filter(s=>t.indexOf(s)<0&&n.indexOf(s)<0);if(r.length===0)return!0;const o=ume.getRegExp(`(${r.map(s=>s==="?"?"\\?":s).join("|")})`);let i=!o.test(e);if(!i){const s=e.indexOf(n);s>0&&!o.test(e.substring(0,s))&&(i=!0)}return i}function vb(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let o=e;for(let i=0;i-1&&l0?e.replace("_","-"):e}class tR extends Km{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,s=o.ignoreJSONStructure!==void 0?o.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;t.indexOf(".")>-1?a=t.split("."):(a=[t,n],r&&(Array.isArray(r)?a.push(...r):typeof r=="string"&&i?a.push(...r.split(i)):a.push(r)));const l=yg(this.data,a);return!l&&!n&&!r&&t.indexOf(".")>-1&&(t=a[0],n=a[1],r=a.slice(2).join(".")),l||!s||typeof r!="string"?l:vb(this.data&&this.data[t]&&this.data[t][n],r,i)}addResource(t,n,r,o){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const s=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator;let a=[t,n];r&&(a=a.concat(s?r.split(s):r)),t.indexOf(".")>-1&&(a=t.split("."),o=n,n=a[1]),this.addNamespaces(n),eR(this.data,a,o),i.silent||this.emit("added",t,n,r,o)}addResources(t,n,r){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const i in r)(typeof r[i]=="string"||Array.isArray(r[i]))&&this.addResource(t,n,i,r[i],{silent:!0});o.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,o,i){let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},a=[t,n];t.indexOf(".")>-1&&(a=t.split("."),o=r,r=n,n=a[1]),this.addNamespaces(n);let l=yg(this.data,a)||{};s.skipCopy||(r=JSON.parse(JSON.stringify(r))),o?i5(l,r,i):l={...l,...r},eR(this.data,a,l),s.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(o=>n[o]&&Object.keys(n[o]).length>0)}toJSON(){return this.data}}var s5={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,o){return e.forEach(i=>{this.processors[i]&&(t=this.processors[i].process(t,n,r,o))}),t}};const nR={};class xg extends Km{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),nme(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=oi.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const r=this.resolve(t,n);return r&&r.res!==void 0}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const o=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let i=n.ns||this.options.defaultNS||[];const s=r&&t.indexOf(r)>-1,a=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!dme(t,r,o);if(s&&!a){const l=t.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:t,namespaces:i};const c=t.split(r);(r!==o||r===o&&this.options.ns.indexOf(c[0])>-1)&&(i=c.shift()),t=c.join(o)}return typeof i=="string"&&(i=[i]),{key:t,namespaces:i}}translate(t,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const o=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,i=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:s,namespaces:a}=this.extractFromKey(t[t.length-1],n),l=a[a.length-1],c=n.lng||this.language,u=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&c.toLowerCase()==="cimode"){if(u){const $=n.nsSeparator||this.options.nsSeparator;return o?{res:`${l}${$}${s}`,usedKey:s,exactUsedKey:s,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:`${l}${$}${s}`}return o?{res:s,usedKey:s,exactUsedKey:s,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:s}const f=this.resolve(t,n);let p=f&&f.res;const h=f&&f.usedKey||s,v=f&&f.exactUsedKey||s,m=Object.prototype.toString.apply(p),w=["[object Number]","[object Function]","[object RegExp]"],y=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,S=!this.i18nFormat||this.i18nFormat.handleAsObject;if(S&&p&&(typeof p!="string"&&typeof p!="boolean"&&typeof p!="number")&&w.indexOf(m)<0&&!(typeof y=="string"&&Array.isArray(p))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const $=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,p,{...n,ns:a}):`key '${s} (${this.language})' returned an object instead of string.`;return o?(f.res=$,f.usedParams=this.getUsedParamsDetails(n),f):$}if(i){const $=Array.isArray(p),T=$?[]:{},P=$?v:h;for(const O in p)if(Object.prototype.hasOwnProperty.call(p,O)){const A=`${P}${i}${O}`;T[O]=this.translate(A,{...n,joinArrays:!1,ns:a}),T[O]===A&&(T[O]=p[O])}p=T}}else if(S&&typeof y=="string"&&Array.isArray(p))p=p.join(y),p&&(p=this.extendTranslation(p,t,n,r));else{let $=!1,T=!1;const P=n.count!==void 0&&typeof n.count!="string",O=xg.hasDefaultValue(n),A=P?this.pluralResolver.getSuffix(c,n.count,n):"",E=n.ordinal&&P?this.pluralResolver.getSuffix(c,n.count,{ordinal:!1}):"",j=P&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),B=j&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${A}`]||n[`defaultValue${E}`]||n.defaultValue;!this.isValidLookup(p)&&O&&($=!0,p=B),this.isValidLookup(p)||(T=!0,p=s);const H=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&T?void 0:p,U=O&&B!==p&&this.options.updateMissing;if(T||$||U){if(this.logger.log(U?"updateKey":"missingKey",c,l,s,U?B:p),i){const N=this.resolve(s,{...n,keySeparator:!1});N&&N.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let I=[];const D=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&D&&D[0])for(let N=0;N{const ve=O&&Z!==p?Z:H;this.options.missingKeyHandler?this.options.missingKeyHandler(N,l,K,ve,U,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(N,l,K,ve,U,n),this.emit("missingKey",N,l,K,p)};this.options.saveMissing&&(this.options.saveMissingPlurals&&P?I.forEach(N=>{const K=this.pluralResolver.getSuffixes(N,n);j&&n[`defaultValue${this.options.pluralSeparator}zero`]&&K.indexOf(`${this.options.pluralSeparator}zero`)<0&&K.push(`${this.options.pluralSeparator}zero`),K.forEach(Z=>{G([N],s+Z,n[`defaultValue${Z}`]||B)})}):G(I,s,B))}p=this.extendTranslation(p,t,n,f,r),T&&p===s&&this.options.appendNamespaceToMissingKey&&(p=`${l}:${s}`),(T||$)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?p=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${s}`:s,$?p:void 0):p=this.options.parseMissingKeyHandler(p))}return o?(f.res=p,f.usedParams=this.getUsedParamsDetails(n),f):p}extendTranslation(t,n,r,o,i){var s=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const c=typeof t=="string"&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let u;if(c){const p=t.match(this.interpolator.nestingRegexp);u=p&&p.length}let f=r.replace&&typeof r.replace!="string"?r.replace:r;if(this.options.interpolation.defaultVariables&&(f={...this.options.interpolation.defaultVariables,...f}),t=this.interpolator.interpolate(t,f,r.lng||this.language,r),c){const p=t.match(this.interpolator.nestingRegexp),h=p&&p.length;u1&&arguments[1]!==void 0?arguments[1]:{},r,o,i,s,a;return typeof t=="string"&&(t=[t]),t.forEach(l=>{if(this.isValidLookup(r))return;const c=this.extractFromKey(l,n),u=c.key;o=u;let f=c.namespaces;this.options.fallbackNS&&(f=f.concat(this.options.fallbackNS));const p=n.count!==void 0&&typeof n.count!="string",h=p&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),v=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",m=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);f.forEach(w=>{this.isValidLookup(r)||(a=w,!nR[`${m[0]}-${w}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(a)&&(nR[`${m[0]}-${w}`]=!0,this.logger.warn(`key "${o}" for languages "${m.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),m.forEach(y=>{if(this.isValidLookup(r))return;s=y;const S=[u];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(S,u,y,w,n);else{let $;p&&($=this.pluralResolver.getSuffix(y,n.count,n));const T=`${this.options.pluralSeparator}zero`,P=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(p&&(S.push(u+$),n.ordinal&&$.indexOf(P)===0&&S.push(u+$.replace(P,this.options.pluralSeparator)),h&&S.push(u+T)),v){const O=`${u}${this.options.contextSeparator}${n.context}`;S.push(O),p&&(S.push(O+$),n.ordinal&&$.indexOf(P)===0&&S.push(O+$.replace(P,this.options.pluralSeparator)),h&&S.push(O+T))}}let _;for(;_=S.pop();)this.isValidLookup(r)||(i=_,r=this.getResource(y,w,_,n))}))})}),{res:r,usedKey:o,exactUsedKey:i,usedLng:s,usedNS:a}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,r,o):this.resourceStore.getResource(t,n,r,o)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&typeof t.replace!="string";let o=r?t.replace:t;if(r&&typeof t.count<"u"&&(o.count=t.count),this.options.interpolation.defaultVariables&&(o={...this.options.interpolation.defaultVariables,...o}),!r){o={...o};for(const i of n)delete o[i]}return o}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}function P0(e){return e.charAt(0).toUpperCase()+e.slice(1)}class rR{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=oi.create("languageUtils")}getScriptPartFromCode(t){if(t=bg(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=bg(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const n=["hans","hant","latn","cyrl","cans","mong","arab"];let r=t.split("-");return this.options.lowerCaseLng?r=r.map(o=>o.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=P0(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=P0(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=P0(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const o=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(o))&&(n=o)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const o=this.getLanguagePartFromCode(r);if(this.isSupportedCode(o))return n=o;n=this.options.supportedLngs.find(i=>{if(i===o)return i;if(!(i.indexOf("-")<0&&o.indexOf("-")<0)&&(i.indexOf("-")>0&&o.indexOf("-")<0&&i.substring(0,i.indexOf("-"))===o||i.indexOf(o)===0&&o.length>1))return i})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),typeof t=="string"&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],t),o=[],i=s=>{s&&(this.isSupportedCode(s)?o.push(s):this.logger.warn(`rejecting language code not found in supportedLngs: ${s}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&i(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&i(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&i(this.getLanguagePartFromCode(t))):typeof t=="string"&&i(this.formatLanguageCode(t)),r.forEach(s=>{o.indexOf(s)<0&&i(this.formatLanguageCode(s))}),o}}let fme=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],pme={1:function(e){return+(e>1)},2:function(e){return+(e!=1)},3:function(e){return 0},4:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},5:function(e){return e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},6:function(e){return e==1?0:e>=2&&e<=4?1:2},7:function(e){return e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},8:function(e){return e==1?0:e==2?1:e!=8&&e!=11?2:3},9:function(e){return+(e>=2)},10:function(e){return e==1?0:e==2?1:e<7?2:e<11?3:4},11:function(e){return e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3},12:function(e){return+(e%10!=1||e%100==11)},13:function(e){return+(e!==0)},14:function(e){return e==1?0:e==2?1:e==3?2:3},15:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2},16:function(e){return e%10==1&&e%100!=11?0:e!==0?1:2},17:function(e){return e==1||e%10==1&&e%100!=11?0:1},18:function(e){return e==0?0:e==1?1:2},19:function(e){return e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3},20:function(e){return e==1?0:e==0||e%100>0&&e%100<20?1:2},21:function(e){return e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0},22:function(e){return e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3}};const hme=["v1","v2","v3"],gme=["v4"],oR={zero:0,one:1,two:2,few:3,many:4,other:5};function mme(){const e={};return fme.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:pme[t.fc]}})}),e}class vme{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=oi.create("pluralResolver"),(!this.options.compatibilityJSON||gme.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=mme()}addRule(t,n){this.rules[t]=n}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(bg(t==="dev"?"en":t),{type:n.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(o=>`${n}${o}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((o,i)=>oR[o]-oR[i]).map(o=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${o}`):r.numbers.map(o=>this.getSuffix(t,o,n)):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const o=this.getRule(t,r);return o?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${o.select(n)}`:this.getSuffixRetroCompatible(o,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const r=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let o=t.numbers[r];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(o===2?o="plural":o===1&&(o=""));const i=()=>this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString();return this.options.compatibilityJSON==="v1"?o===1?"":typeof o=="number"?`_plural_${o.toString()}`:i():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?i():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!hme.includes(this.options.compatibilityJSON)}}function iR(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,i=ime(e,t,n);return!i&&o&&typeof n=="string"&&(i=vb(e,n,r),i===void 0&&(i=vb(t,n,r))),i}class yme{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=oi.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:o,prefix:i,prefixEscaped:s,suffix:a,suffixEscaped:l,formatSeparator:c,unescapeSuffix:u,unescapePrefix:f,nestingPrefix:p,nestingPrefixEscaped:h,nestingSuffix:v,nestingSuffixEscaped:m,nestingOptionsSeparator:w,maxReplaces:y,alwaysFormat:S}=t.interpolation;this.escape=n!==void 0?n:ame,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=o!==void 0?o:!1,this.prefix=i?tl(i):s||"{{",this.suffix=a?tl(a):l||"}}",this.formatSeparator=c||",",this.unescapePrefix=u?"":f||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=p?tl(p):h||tl("$t("),this.nestingSuffix=v?tl(v):m||tl(")"),this.nestingOptionsSeparator=w||",",this.maxReplaces=y||1e3,this.alwaysFormat=S!==void 0?S:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>n&&n.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,r,o){let i,s,a;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(v){return v.replace(/\$/g,"$$$$")}const u=v=>{if(v.indexOf(this.formatSeparator)<0){const S=iR(n,l,v,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(S,void 0,r,{...o,...n,interpolationkey:v}):S}const m=v.split(this.formatSeparator),w=m.shift().trim(),y=m.join(this.formatSeparator).trim();return this.format(iR(n,l,w,this.options.keySeparator,this.options.ignoreJSONStructure),y,r,{...o,...n,interpolationkey:w})};this.resetRegExp();const f=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,p=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:v=>c(v)},{regex:this.regexp,safeValue:v=>this.escapeValue?c(this.escape(v)):c(v)}].forEach(v=>{for(a=0;i=v.regex.exec(t);){const m=i[1].trim();if(s=u(m),s===void 0)if(typeof f=="function"){const y=f(t,i,o);s=typeof y=="string"?y:""}else if(o&&Object.prototype.hasOwnProperty.call(o,m))s="";else if(p){s=i[0];continue}else this.logger.warn(`missed to pass in variable ${m} for interpolating ${t}`),s="";else typeof s!="string"&&!this.useRawValueToEscape&&(s=J_(s));const w=v.safeValue(s);if(t=t.replace(i[0],w),p?(v.regex.lastIndex+=s.length,v.regex.lastIndex-=i[0].length):v.regex.lastIndex=0,a++,a>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o,i,s;function a(l,c){const u=this.nestingOptionsSeparator;if(l.indexOf(u)<0)return l;const f=l.split(new RegExp(`${u}[ ]*{`));let p=`{${f[1]}`;l=f[0],p=this.interpolate(p,s);const h=p.match(/'/g),v=p.match(/"/g);(h&&h.length%2===0&&!v||v.length%2!==0)&&(p=p.replace(/'/g,'"'));try{s=JSON.parse(p),c&&(s={...c,...s})}catch(m){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,m),`${l}${u}${p}`}return s.defaultValue&&s.defaultValue.indexOf(this.prefix)>-1&&delete s.defaultValue,l}for(;o=this.nestingRegexp.exec(t);){let l=[];s={...r},s=s.replace&&typeof s.replace!="string"?s.replace:s,s.applyPostProcessor=!1,delete s.defaultValue;let c=!1;if(o[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(o[1])){const u=o[1].split(this.formatSeparator).map(f=>f.trim());o[1]=u.shift(),l=u,c=!0}if(i=n(a.call(this,o[1].trim(),s),s),i&&o[0]===t&&typeof i!="string")return i;typeof i!="string"&&(i=J_(i)),i||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${t}`),i=""),c&&(i=l.reduce((u,f)=>this.format(u,f,r.lng,{...r,interpolationkey:o[1].trim()}),i.trim())),t=t.replace(o[0],i),this.regexp.lastIndex=0}return t}}function bme(e){let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const o=r[1].substring(0,r[1].length-1);t==="currency"&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):t==="relativetime"&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach(s=>{if(s){const[a,...l]=s.split(":"),c=l.join(":").trim().replace(/^'+|'+$/g,""),u=a.trim();n[u]||(n[u]=c),c==="false"&&(n[u]=!1),c==="true"&&(n[u]=!0),isNaN(c)||(n[u]=parseInt(c,10))}})}return{formatName:t,formatOptions:n}}function nl(e){const t={};return function(r,o,i){const s=o+JSON.stringify(i);let a=t[s];return a||(a=e(bg(o),i),t[s]=a),a(r)}}class xme{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=oi.create("formatter"),this.options=t,this.formats={number:nl((n,r)=>{const o=new Intl.NumberFormat(n,{...r});return i=>o.format(i)}),currency:nl((n,r)=>{const o=new Intl.NumberFormat(n,{...r,style:"currency"});return i=>o.format(i)}),datetime:nl((n,r)=>{const o=new Intl.DateTimeFormat(n,{...r});return i=>o.format(i)}),relativetime:nl((n,r)=>{const o=new Intl.RelativeTimeFormat(n,{...r});return i=>o.format(i,r.range||"day")}),list:nl((n,r)=>{const o=new Intl.ListFormat(n,{...r});return i=>o.format(i)})},this.init(t)}init(t){const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=nl(n)}format(t,n,r){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return n.split(this.formatSeparator).reduce((a,l)=>{const{formatName:c,formatOptions:u}=bme(l);if(this.formats[c]){let f=a;try{const p=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},h=p.locale||p.lng||o.locale||o.lng||r;f=this.formats[c](a,h,{...u,...o,...p})}catch(p){this.logger.warn(p)}return f}else this.logger.warn(`there was no format function for ${c}`);return a},t)}}function Cme(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}class Sme extends Km{constructor(t,n,r){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=o,this.logger=oi.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,o.backend,o)}queueLoad(t,n,r,o){const i={},s={},a={},l={};return t.forEach(c=>{let u=!0;n.forEach(f=>{const p=`${c}|${f}`;!r.reload&&this.store.hasResourceBundle(c,f)?this.state[p]=2:this.state[p]<0||(this.state[p]===1?s[p]===void 0&&(s[p]=!0):(this.state[p]=1,u=!1,s[p]===void 0&&(s[p]=!0),i[p]===void 0&&(i[p]=!0),l[f]===void 0&&(l[f]=!0)))}),u||(a[c]=!0)}),(Object.keys(i).length||Object.keys(s).length)&&this.queue.push({pending:s,pendingCount:Object.keys(s).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(i),pending:Object.keys(s),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(l)}}loaded(t,n,r){const o=t.split("|"),i=o[0],s=o[1];n&&this.emit("failedLoading",i,s,n),r&&this.store.addResourceBundle(i,s,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2;const a={};this.queue.forEach(l=>{ome(l.loaded,[i],s),Cme(l,t),n&&l.errors.push(n),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(c=>{a[c]||(a[c]={});const u=l.loaded[c];u.length&&u.forEach(f=>{a[c][f]===void 0&&(a[c][f]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(l=>!l.done)}read(t,n,r){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,s=arguments.length>5?arguments[5]:void 0;if(!t.length)return s(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:o,wait:i,callback:s});return}this.readingCalls++;const a=(c,u)=>{if(this.readingCalls--,this.waitingReads.length>0){const f=this.waitingReads.shift();this.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(c&&u&&o{this.read.call(this,t,n,r,o+1,i*2,s)},i);return}s(c,u)},l=this.backend[r].bind(this.backend);if(l.length===2){try{const c=l(t,n);c&&typeof c.then=="function"?c.then(u=>a(null,u)).catch(a):a(null,c)}catch(c){a(c)}return}return l(t,n,a)}prepareLoading(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof n=="string"&&(n=[n]);const i=this.queueLoad(t,n,r,o);if(!i.toLoad.length)return i.pending.length||o(),null;i.toLoad.forEach(s=>{this.loadOne(s)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=t.split("|"),o=r[0],i=r[1];this.read(o,i,"read",void 0,void 0,(s,a)=>{s&&this.logger.warn(`${n}loading namespace ${i} for language ${o} failed`,s),!s&&a&&this.logger.log(`${n}loaded namespace ${i} for language ${o}`,a),this.loaded(t,s,a)})}saveMissing(t,n,r,o,i){let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},a=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend&&this.backend.create){const l={...s,isUpdate:i},c=this.backend.create.bind(this.backend);if(c.length<6)try{let u;c.length===5?u=c(t,n,r,o,l):u=c(t,n,r,o),u&&typeof u.then=="function"?u.then(f=>a(null,f)).catch(a):a(null,u)}catch(u){a(u)}else c(t,n,r,o,a,l)}!t||!t[0]||this.store.addResource(t[0],n,r,o)}}}function sR(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){let n={};if(typeof t[1]=="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const r=t[3]||t[2];Object.keys(r).forEach(o=>{n[o]=r[o]})}return n},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function aR(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function $p(){}function wme(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}class _d extends Km{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=aR(t),this.services={},this.logger=oi,this.modules={external:[]},wme(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(r=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const o=sR();this.options={...o,...this.options,...aR(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...o.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);function i(u){return u?typeof u=="function"?new u:u:null}if(!this.options.isClone){this.modules.logger?oi.init(i(this.modules.logger),this.options):oi.init(null,this.options);let u;this.modules.formatter?u=this.modules.formatter:typeof Intl<"u"&&(u=xme);const f=new rR(this.options);this.store=new tR(this.options.resources,this.options);const p=this.services;p.logger=oi,p.resourceStore=this.store,p.languageUtils=f,p.pluralResolver=new vme(f,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===o.interpolation.format)&&(p.formatter=i(u),p.formatter.init(p,this.options),this.options.interpolation.format=p.formatter.format.bind(p.formatter)),p.interpolator=new yme(this.options),p.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},p.backendConnector=new Sme(i(this.modules.backend),p.resourceStore,p,this.options),p.backendConnector.on("*",function(h){for(var v=arguments.length,m=new Array(v>1?v-1:0),w=1;w1?v-1:0),w=1;w{h.init&&h.init(this)})}if(this.format=this.options.interpolation.format,r||(r=$p),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&u[0]!=="dev"&&(this.options.lng=u[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(u=>{this[u]=function(){return t.store[u](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(u=>{this[u]=function(){return t.store[u](...arguments),t}});const l=qc(),c=()=>{const u=(f,p)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),l.resolve(p),r(f,p)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return u(null,this.t.bind(this));this.changeLanguage(this.options.lng,u)};return this.options.resources||!this.options.initImmediate?c():setTimeout(c,0),l}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$p;const o=typeof t=="string"?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(o&&o.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const i=[],s=a=>{if(!a||a==="cimode")return;this.services.languageUtils.toResolveHierarchy(a).forEach(c=>{c!=="cimode"&&i.indexOf(c)<0&&i.push(c)})};o?s(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(l=>s(l)),this.options.preload&&this.options.preload.forEach(a=>s(a)),this.services.backendConnector.load(i,this.options.ns,a=>{!a&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(a)})}else r(null)}reloadResources(t,n,r){const o=qc();return t||(t=this.languages),n||(n=this.options.ns),r||(r=$p),this.services.backendConnector.reload(t,n,i=>{o.resolve(),r(i)}),o}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&s5.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const o=qc();this.emit("languageChanging",t);const i=l=>{this.language=l,this.languages=this.services.languageUtils.toResolveHierarchy(l),this.resolvedLanguage=void 0,this.setResolvedLanguage(l)},s=(l,c)=>{c?(i(c),this.translator.changeLanguage(c),this.isLanguageChangingTo=void 0,this.emit("languageChanged",c),this.logger.log("languageChanged",c)):this.isLanguageChangingTo=void 0,o.resolve(function(){return r.t(...arguments)}),n&&n(l,function(){return r.t(...arguments)})},a=l=>{!t&&!l&&this.services.languageDetector&&(l=[]);const c=typeof l=="string"?l:this.services.languageUtils.getBestMatchFromCodes(l);c&&(this.language||i(c),this.translator.language||this.translator.changeLanguage(c),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(c)),this.loadResources(c,u=>{s(u,c)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?a(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(t),o}getFixedT(t,n,r){var o=this;const i=function(s,a){let l;if(typeof a!="object"){for(var c=arguments.length,u=new Array(c>2?c-2:0),f=2;f`${l.keyPrefix}${p}${v}`):h=l.keyPrefix?`${l.keyPrefix}${p}${s}`:s,o.t(h,l)};return typeof t=="string"?i.lng=t:i.lngs=t,i.ns=n,i.keyPrefix=r,i}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],o=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const s=(a,l)=>{const c=this.services.backendConnector.state[`${a}|${l}`];return c===-1||c===2};if(n.precheck){const a=n.precheck(this,s);if(a!==void 0)return a}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||s(r,t)&&(!o||s(i,t)))}loadNamespaces(t,n){const r=qc();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(o=>{this.options.ns.indexOf(o)<0&&this.options.ns.push(o)}),this.loadResources(o=>{r.resolve(),n&&n(o)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=qc();typeof t=="string"&&(t=[t]);const o=this.options.preload||[],i=t.filter(s=>o.indexOf(s)<0&&this.services.languageUtils.isSupportedCode(s));return i.length?(this.options.preload=o.concat(i),this.loadResources(s=>{r.resolve(),n&&n(s)}),r):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services&&this.services.languageUtils||new rR(sR());return n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new _d(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$p;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const o={...this.options,...t,isClone:!0},i=new _d(o);return(t.debug!==void 0||t.prefix!==void 0)&&(i.logger=i.logger.clone(t)),["store","services","language"].forEach(a=>{i[a]=this[a]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},r&&(i.store=new tR(this.store.data,o),i.services.resourceStore=i.store),i.translator=new xg(i.services,o),i.translator.on("*",function(a){for(var l=arguments.length,c=new Array(l>1?l-1:0),u=1;u"u"?"undefined":yb(XMLHttpRequest))==="object"}function Pme(e){return!!e&&typeof e.then=="function"}function kme(e){return Pme(e)?e:Promise.resolve(e)}function _me(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var bb={exports:{}},Op={exports:{}},lR;function Rme(){return lR||(lR=1,function(e,t){var n=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof pt<"u"&&pt,r=function(){function i(){this.fetch=!1,this.DOMException=n.DOMException}return i.prototype=n,new i}();(function(i){(function(s){var a=typeof i<"u"&&i||typeof self<"u"&&self||typeof a<"u"&&a,l={searchParams:"URLSearchParams"in a,iterable:"Symbol"in a&&"iterator"in Symbol,blob:"FileReader"in a&&"Blob"in a&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in a,arrayBuffer:"ArrayBuffer"in a};function c(I){return I&&DataView.prototype.isPrototypeOf(I)}if(l.arrayBuffer)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],f=ArrayBuffer.isView||function(I){return I&&u.indexOf(Object.prototype.toString.call(I))>-1};function p(I){if(typeof I!="string"&&(I=String(I)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(I)||I==="")throw new TypeError('Invalid character in header field name: "'+I+'"');return I.toLowerCase()}function h(I){return typeof I!="string"&&(I=String(I)),I}function v(I){var D={next:function(){var G=I.shift();return{done:G===void 0,value:G}}};return l.iterable&&(D[Symbol.iterator]=function(){return D}),D}function m(I){this.map={},I instanceof m?I.forEach(function(D,G){this.append(G,D)},this):Array.isArray(I)?I.forEach(function(D){this.append(D[0],D[1])},this):I&&Object.getOwnPropertyNames(I).forEach(function(D){this.append(D,I[D])},this)}m.prototype.append=function(I,D){I=p(I),D=h(D);var G=this.map[I];this.map[I]=G?G+", "+D:D},m.prototype.delete=function(I){delete this.map[p(I)]},m.prototype.get=function(I){return I=p(I),this.has(I)?this.map[I]:null},m.prototype.has=function(I){return this.map.hasOwnProperty(p(I))},m.prototype.set=function(I,D){this.map[p(I)]=h(D)},m.prototype.forEach=function(I,D){for(var G in this.map)this.map.hasOwnProperty(G)&&I.call(D,this.map[G],G,this)},m.prototype.keys=function(){var I=[];return this.forEach(function(D,G){I.push(G)}),v(I)},m.prototype.values=function(){var I=[];return this.forEach(function(D){I.push(D)}),v(I)},m.prototype.entries=function(){var I=[];return this.forEach(function(D,G){I.push([G,D])}),v(I)},l.iterable&&(m.prototype[Symbol.iterator]=m.prototype.entries);function w(I){if(I.bodyUsed)return Promise.reject(new TypeError("Already read"));I.bodyUsed=!0}function y(I){return new Promise(function(D,G){I.onload=function(){D(I.result)},I.onerror=function(){G(I.error)}})}function S(I){var D=new FileReader,G=y(D);return D.readAsArrayBuffer(I),G}function _(I){var D=new FileReader,G=y(D);return D.readAsText(I),G}function $(I){for(var D=new Uint8Array(I),G=new Array(D.length),N=0;N-1?D:I}function E(I,D){if(!(this instanceof E))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');D=D||{};var G=D.body;if(I instanceof E){if(I.bodyUsed)throw new TypeError("Already read");this.url=I.url,this.credentials=I.credentials,D.headers||(this.headers=new m(I.headers)),this.method=I.method,this.mode=I.mode,this.signal=I.signal,!G&&I._bodyInit!=null&&(G=I._bodyInit,I.bodyUsed=!0)}else this.url=String(I);if(this.credentials=D.credentials||this.credentials||"same-origin",(D.headers||!this.headers)&&(this.headers=new m(D.headers)),this.method=A(D.method||this.method||"GET"),this.mode=D.mode||this.mode||null,this.signal=D.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&G)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(G),(this.method==="GET"||this.method==="HEAD")&&(D.cache==="no-store"||D.cache==="no-cache")){var N=/([?&])_=[^&]*/;if(N.test(this.url))this.url=this.url.replace(N,"$1_="+new Date().getTime());else{var K=/\?/;this.url+=(K.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}E.prototype.clone=function(){return new E(this,{body:this._bodyInit})};function j(I){var D=new FormData;return I.trim().split("&").forEach(function(G){if(G){var N=G.split("="),K=N.shift().replace(/\+/g," "),Z=N.join("=").replace(/\+/g," ");D.append(decodeURIComponent(K),decodeURIComponent(Z))}}),D}function B(I){var D=new m,G=I.replace(/\r?\n[\t ]+/g," ");return G.split("\r").map(function(N){return N.indexOf(` +`)===0?N.substr(1,N.length):N}).forEach(function(N){var K=N.split(":"),Z=K.shift().trim();if(Z){var ve=K.join(":").trim();D.append(Z,ve)}}),D}P.call(E.prototype);function V(I,D){if(!(this instanceof V))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');D||(D={}),this.type="default",this.status=D.status===void 0?200:D.status,this.ok=this.status>=200&&this.status<300,this.statusText=D.statusText===void 0?"":""+D.statusText,this.headers=new m(D.headers),this.url=D.url||"",this._initBody(I)}P.call(V.prototype),V.prototype.clone=function(){return new V(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},V.error=function(){var I=new V(null,{status:0,statusText:""});return I.type="error",I};var H=[301,302,303,307,308];V.redirect=function(I,D){if(H.indexOf(D)===-1)throw new RangeError("Invalid status code");return new V(null,{status:D,headers:{location:I}})},s.DOMException=a.DOMException;try{new s.DOMException}catch{s.DOMException=function(D,G){this.message=D,this.name=G;var N=Error(D);this.stack=N.stack},s.DOMException.prototype=Object.create(Error.prototype),s.DOMException.prototype.constructor=s.DOMException}function U(I,D){return new Promise(function(G,N){var K=new E(I,D);if(K.signal&&K.signal.aborted)return N(new s.DOMException("Aborted","AbortError"));var Z=new XMLHttpRequest;function ve(){Z.abort()}Z.onload=function(){var se={status:Z.status,statusText:Z.statusText,headers:B(Z.getAllResponseHeaders()||"")};se.url="responseURL"in Z?Z.responseURL:se.headers.get("X-Request-URL");var ae="response"in Z?Z.response:Z.responseText;setTimeout(function(){G(new V(ae,se))},0)},Z.onerror=function(){setTimeout(function(){N(new TypeError("Network request failed"))},0)},Z.ontimeout=function(){setTimeout(function(){N(new TypeError("Network request failed"))},0)},Z.onabort=function(){setTimeout(function(){N(new s.DOMException("Aborted","AbortError"))},0)};function Ce(se){try{return se===""&&a.location.href?a.location.href:se}catch{return se}}Z.open(K.method,Ce(K.url),!0),K.credentials==="include"?Z.withCredentials=!0:K.credentials==="omit"&&(Z.withCredentials=!1),"responseType"in Z&&(l.blob?Z.responseType="blob":l.arrayBuffer&&K.headers.get("Content-Type")&&K.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(Z.responseType="arraybuffer")),D&&typeof D.headers=="object"&&!(D.headers instanceof m)?Object.getOwnPropertyNames(D.headers).forEach(function(se){Z.setRequestHeader(se,h(D.headers[se]))}):K.headers.forEach(function(se,ae){Z.setRequestHeader(ae,se)}),K.signal&&(K.signal.addEventListener("abort",ve),Z.onreadystatechange=function(){Z.readyState===4&&K.signal.removeEventListener("abort",ve)}),Z.send(typeof K._bodyInit>"u"?null:K._bodyInit)})}return U.polyfill=!0,a.fetch||(a.fetch=U,a.Headers=m,a.Request=E,a.Response=V),s.Headers=m,s.Request=E,s.Response=V,s.fetch=U,s})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var o=n.fetch?n:r;t=o.fetch,t.default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t}(Op,Op.exports)),Op.exports}(function(e,t){var n;if(typeof fetch=="function"&&(typeof pt<"u"&&pt.fetch?n=pt.fetch:typeof window<"u"&&window.fetch?n=window.fetch:n=fetch),typeof _me<"u"&&typeof window>"u"){var r=n||Rme();r.default&&(r=r.default),t.default=r,e.exports=t.default}})(bb,bb.exports);var l5=bb.exports;const c5=Cb(l5),cR=gR({__proto__:null,default:c5},[l5]);function uR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function dR(e){for(var t=1;t"u"&&typeof global<"u"&&typeof global.process<"u"&&global.process.versions&&global.process.versions.node&&(i["User-Agent"]="i18next-http-backend (node/".concat(global.process.version,"; ").concat(global.process.platform," ").concat(global.process.arch,")")),r&&(i["Content-Type"]="application/json");var s=typeof t.requestOptions=="function"?t.requestOptions(r):t.requestOptions,a=dR({method:r?"POST":"GET",body:r?t.stringify(r):void 0,headers:i},pR?{}:s),l=typeof t.alternateFetch=="function"&&t.alternateFetch.length>=1?t.alternateFetch:void 0;try{fR(n,a,o,l)}catch(c){if(!s||Object.keys(s).length===0||!c.message||c.message.indexOf("not implemented")<0)return o(c);try{Object.keys(s).forEach(function(u){delete a[u]}),fR(n,a,o,l),pR=!0}catch(u){o(u)}}},Ame=function(t,n,r,o){r&&Ia(r)==="object"&&(r=xb("",r).slice(1)),t.queryStringParams&&(n=xb(n,t.queryStringParams));try{var i;Rd?i=new Rd:i=new Cg("MSXML2.XMLHTTP.3.0"),i.open(r?"POST":"GET",n,1),t.crossDomain||i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.withCredentials=!!t.withCredentials,r&&i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.overrideMimeType&&i.overrideMimeType("application/json");var s=t.customHeaders;if(s=typeof s=="function"?s():s,s)for(var a in s)i.setRequestHeader(a,s[a]);i.onreadystatechange=function(){i.readyState>3&&o(i.status>=400?i.statusText:null,{status:i.status,data:i.responseText})},i.send(r)}catch(l){console&&console.log(l)}},Ime=function(t,n,r,o){if(typeof r=="function"&&(o=r,r=void 0),o=o||function(){},zi&&n.indexOf("file:")!==0)return Mme(t,n,r,o);if(a5()||typeof ActiveXObject=="function")return Ame(t,n,r,o);o(new Error("No fetch and no xhr implementation found!"))};function lc(e){"@babel/helpers - typeof";return lc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lc(e)}function hR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function k0(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Eme(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}return jme(e,[{key:"init",value:function(n){var r=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(this.services=n,this.options=k0(k0(k0({},Dme()),this.options||{}),o),this.allOptions=i,this.services&&this.options.reloadInterval){var s=setInterval(function(){return r.reload()},this.options.reloadInterval);lc(s)==="object"&&typeof s.unref=="function"&&s.unref()}}},{key:"readMulti",value:function(n,r,o){this._readAny(n,n,r,r,o)}},{key:"read",value:function(n,r,o){this._readAny([n],n,[r],r,o)}},{key:"_readAny",value:function(n,r,o,i,s){var a=this,l=this.options.loadPath;typeof this.options.loadPath=="function"&&(l=this.options.loadPath(n,o)),l=kme(l),l.then(function(c){if(!c)return s(null,{});var u=a.services.interpolator.interpolate(c,{lng:n.join("+"),ns:o.join("+")});a.loadUrl(u,s,r,i)})}},{key:"loadUrl",value:function(n,r,o,i){var s=this,a=typeof o=="string"?[o]:o,l=typeof i=="string"?[i]:i,c=this.options.parseLoadPayload(a,l);this.options.request(this.options,n,c,function(u,f){if(f&&(f.status>=500&&f.status<600||!f.status))return r("failed loading "+n+"; status code: "+f.status,!0);if(f&&f.status>=400&&f.status<500)return r("failed loading "+n+"; status code: "+f.status,!1);if(!f&&u&&u.message&&u.message.indexOf("Failed to fetch")>-1)return r("failed loading "+n+": "+u.message,!0);if(u)return r(u,!1);var p,h;try{typeof f.data=="string"?p=s.options.parse(f.data,o,i):p=f.data}catch{h="failed parsing "+n+" to json"}if(h)return r(h,!1);r(null,p)})}},{key:"create",value:function(n,r,o,i,s){var a=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var l=this.options.parsePayload(r,o,i),c=0,u=[],f=[];n.forEach(function(p){var h=a.options.addPath;typeof a.options.addPath=="function"&&(h=a.options.addPath(p,r));var v=a.services.interpolator.interpolate(h,{lng:p,ns:r});a.options.request(a.options,v,l,function(m,w){c+=1,u.push(m),f.push(w),c===n.length&&typeof s=="function"&&s(u,f)})})}}},{key:"reload",value:function(){var n=this,r=this.services,o=r.backendConnector,i=r.languageUtils,s=r.logger,a=o.language;if(!(a&&a.toLowerCase()==="cimode")){var l=[],c=function(f){var p=i.toResolveHierarchy(f);p.forEach(function(h){l.indexOf(h)<0&&l.push(h)})};c(a),this.allOptions.preload&&this.allOptions.preload.forEach(function(u){return c(u)}),l.forEach(function(u){n.allOptions.ns.forEach(function(f){o.read(u,f,"read",null,null,function(p,h){p&&s.warn("loading namespace ".concat(f," for language ").concat(u," failed"),p),!p&&h&&s.log("loaded namespace ".concat(f," for language ").concat(u),h),o.loaded("".concat(u,"|").concat(f),p,h)})})})}}}])}();f5.type="backend";const Nme="";fr.use(f5).use(mle).init({fallbackLng:"es",lng:"es",interpolation:{escapeValue:!1},backend:{loadPath:`${Nme}/i18n/{{lng}}.json`}});_0.createRoot(document.getElementById("root")).render(x.jsx(Zr.StrictMode,{children:x.jsx(eme,{})})); diff --git a/index.html b/index.html index 9d6b094..a02ddaa 100644 --- a/index.html +++ b/index.html @@ -19,7 +19,7 @@ Web Dev Talks - +