function hh(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 a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).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 dA=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function yh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var b={exports:{}},K={};/** * @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 Yo=Symbol.for("react.element"),xh=Symbol.for("react.portal"),kh=Symbol.for("react.fragment"),Ch=Symbol.for("react.strict_mode"),Sh=Symbol.for("react.profiler"),bh=Symbol.for("react.provider"),wh=Symbol.for("react.context"),Ah=Symbol.for("react.forward_ref"),Eh=Symbol.for("react.suspense"),$h=Symbol.for("react.memo"),Ph=Symbol.for("react.lazy"),cf=Symbol.iterator;function _h(e){return e===null||typeof e!="object"?null:(e=cf&&e[cf]||e["@@iterator"],typeof e=="function"?e:null)}var Pp={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_p=Object.assign,Tp={};function Vr(e,t,n){this.props=e,this.context=t,this.refs=Tp,this.updater=n||Pp}Vr.prototype.isReactComponent={};Vr.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")};Vr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Rp(){}Rp.prototype=Vr.prototype;function Au(e,t,n){this.props=e,this.context=t,this.refs=Tp,this.updater=n||Pp}var Eu=Au.prototype=new Rp;Eu.constructor=Au;_p(Eu,Vr.prototype);Eu.isPureReactComponent=!0;var ff=Array.isArray,Op=Object.prototype.hasOwnProperty,$u={current:null},Dp={key:!0,ref:!0,__self:!0,__source:!0};function Ip(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)Op.call(t,r)&&!Dp.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1>>1,W=P[G];if(0>>1;Go(jt,F))Ueo(re,jt)?(P[G]=re,P[Ue]=F,G=Ue):(P[G]=jt,P[je]=F,G=je);else if(Ueo(re,F))P[G]=re,P[Ue]=F,G=Ue;else break e}}return j}function o(P,j){var F=P.sortIndex-j.sortIndex;return F!==0?F:P.id-j.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var s=[],u=[],d=1,m=null,v=3,y=!1,g=!1,x=!1,C=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,f=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function c(P){for(var j=n(u);j!==null;){if(j.callback===null)r(u);else if(j.startTime<=P)r(u),j.sortIndex=j.expirationTime,t(s,j);else break;j=n(u)}}function k(P){if(x=!1,c(P),!g)if(n(s)!==null)g=!0,T(h);else{var j=n(u);j!==null&&R(k,j.startTime-P)}}function h(P,j){g=!1,x&&(x=!1,p($),$=-1),y=!0;var F=v;try{for(c(j),m=n(s);m!==null&&(!(m.expirationTime>j)||P&&!N());){var G=m.callback;if(typeof G=="function"){m.callback=null,v=m.priorityLevel;var W=G(m.expirationTime<=j);j=e.unstable_now(),typeof W=="function"?m.callback=W:m===n(s)&&r(s),c(j)}else r(s);m=n(s)}if(m!==null)var kt=!0;else{var je=n(u);je!==null&&R(k,je.startTime-j),kt=!1}return kt}finally{m=null,v=F,y=!1}}var w=!1,S=null,$=-1,z=5,E=-1;function N(){return!(e.unstable_now()-EP||125G?(P.sortIndex=F,t(u,P),n(s)===null&&P===n(u)&&(x?(p($),$=-1):x=!0,R(k,F-G))):(P.sortIndex=W,t(s,P),g||y||(g=!0,T(h))),P},e.unstable_shouldYield=N,e.unstable_wrapCallback=function(P){var j=v;return function(){var F=v;v=j;try{return P.apply(this,arguments)}finally{v=F}}}})(zp);(function(e){e.exports=zp})(Np);/** * @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 Lp=b.exports,lt=Np.exports;function _(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"),ps=Object.prototype.hasOwnProperty,Ih=/^[: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]*$/,pf={},mf={};function Nh(e){return ps.call(mf,e)?!0:ps.call(pf,e)?!1:Ih.test(e)?mf[e]=!0:(pf[e]=!0,!1)}function zh(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 Lh(e,t,n,r){if(t===null||typeof t>"u"||zh(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 Ge(e,t,n,r,o,i,a){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=a}var Ie={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ie[e]=new Ge(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ie[t]=new Ge(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ie[e]=new Ge(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ie[e]=new Ge(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){Ie[e]=new Ge(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ie[e]=new Ge(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ie[e]=new Ge(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ie[e]=new Ge(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ie[e]=new Ge(e,5,!1,e.toLowerCase(),null,!1,!1)});var Tu=/[\-:]([a-z])/g;function Ru(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(Tu,Ru);Ie[t]=new Ge(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(Tu,Ru);Ie[t]=new Ge(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(Tu,Ru);Ie[t]=new Ge(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ie[e]=new Ge(e,1,!1,e.toLowerCase(),null,!1,!1)});Ie.xlinkHref=new Ge("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ie[e]=new Ge(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ou(e,t,n,r){var o=Ie.hasOwnProperty(t)?Ie[t]:null;(o!==null?o.type!==0:r||!(2l||o[a]!==i[l]){var s=` `+o[a].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=a&&0<=l);break}}}finally{_l=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?oo(e):""}function Mh(e){switch(e.tag){case 5:return oo(e.type);case 16:return oo("Lazy");case 13:return oo("Suspense");case 19:return oo("SuspenseList");case 0:case 2:case 15:return e=Tl(e.type,!1),e;case 11:return e=Tl(e.type.render,!1),e;case 1:return e=Tl(e.type,!0),e;default:return""}}function hs(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 ar:return"Fragment";case ir:return"Portal";case ms:return"Profiler";case Du:return"StrictMode";case vs:return"Suspense";case gs:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Fp:return(e.displayName||"Context")+".Consumer";case Vp:return(e._context.displayName||"Context")+".Provider";case Iu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Nu:return t=e.displayName||null,t!==null?t:hs(e.type)||"Memo";case dn:t=e._payload,e=e._init;try{return hs(e(t))}catch{}}return null}function Vh(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 hs(t);case 8:return t===Du?"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 _n(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function jp(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Fh(e){var t=jp(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(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ui(e){e._valueTracker||(e._valueTracker=Fh(e))}function Up(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=jp(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Zi(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 ys(e,t){var n=t.checked;return pe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function gf(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=_n(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 Hp(e,t){t=t.checked,t!=null&&Ou(e,"checked",t,!1)}function xs(e,t){Hp(e,t);var n=_n(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")?ks(e,t.type,n):t.hasOwnProperty("defaultValue")&&ks(e,t.type,_n(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function hf(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 ks(e,t,n){(t!=="number"||Zi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var io=Array.isArray;function kr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=ci.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function wo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var uo={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},Bh=["Webkit","ms","Moz","O"];Object.keys(uo).forEach(function(e){Bh.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),uo[t]=uo[e]})});function Yp(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||uo.hasOwnProperty(e)&&uo[e]?(""+t).trim():t+"px"}function Qp(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Yp(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var jh=pe({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 bs(e,t){if(t){if(jh[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(_(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(_(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(_(61))}if(t.style!=null&&typeof t.style!="object")throw Error(_(62))}}function ws(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 As=null;function zu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Es=null,Cr=null,Sr=null;function kf(e){if(e=Xo(e)){if(typeof Es!="function")throw Error(_(280));var t=e.stateNode;t&&(t=Va(t),Es(e.stateNode,e.type,t))}}function Jp(e){Cr?Sr?Sr.push(e):Sr=[e]:Cr=e}function Xp(){if(Cr){var e=Cr,t=Sr;if(Sr=Cr=null,kf(e),t)for(e=0;e>>=0,e===0?32:31-(qh(e)/e0|0)|0}var fi=64,di=4194304;function ao(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 na(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var l=a&~o;l!==0?r=ao(l):(i&=a,i!==0&&(r=ao(i)))}else a=n&~o,a!==0?r=ao(a):i!==0&&(r=ao(i));if(r===0)return 0;if(t!==0&&t!==r&&(t&o)===0&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Qo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-$t(t),e[t]=n}function o0(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=fo),_f=String.fromCharCode(32),Tf=!1;function hm(e,t){switch(e){case"keyup":return O0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ym(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var lr=!1;function I0(e,t){switch(e){case"compositionend":return ym(t);case"keypress":return t.which!==32?null:(Tf=!0,_f);case"textInput":return e=t.data,e===_f&&Tf?null:e;default:return null}}function N0(e,t){if(lr)return e==="compositionend"||!Hu&&hm(e,t)?(e=vm(),Li=Bu=hn=null,lr=!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=If(n)}}function Sm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Sm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function bm(){for(var e=window,t=Zi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Zi(e.document)}return t}function Wu(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 H0(e){var t=bm(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Sm(n.ownerDocument.documentElement,n)){if(r!==null&&Wu(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=Nf(n,i);var a=Nf(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.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,sr=null,Os=null,mo=null,Ds=!1;function zf(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ds||sr==null||sr!==Zi(r)||(r=sr,"selectionStart"in r&&Wu(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}),mo&&To(mo,r)||(mo=r,r=ia(Os,"onSelect"),0fr||(e.current=Vs[fr],Vs[fr]=null,fr--)}function oe(e,t){fr++,Vs[fr]=e.current,e.current=t}var Tn={},Be=zn(Tn),Je=zn(!1),Yn=Tn;function Tr(e,t){var n=e.type.contextTypes;if(!n)return Tn;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 Xe(e){return e=e.childContextTypes,e!=null}function la(){le(Je),le(Be)}function Uf(e,t,n){if(Be.current!==Tn)throw Error(_(168));oe(Be,t),oe(Je,n)}function Om(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(_(108,Vh(e)||"Unknown",o));return pe({},n,r)}function sa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Tn,Yn=Be.current,oe(Be,e),oe(Je,Je.current),!0}function Hf(e,t,n){var r=e.stateNode;if(!r)throw Error(_(169));n?(e=Om(e,t,Yn),r.__reactInternalMemoizedMergedChildContext=e,le(Je),le(Be),oe(Be,e)):le(Je),oe(Je,n)}var Kt=null,Fa=!1,Hl=!1;function Dm(e){Kt===null?Kt=[e]:Kt.push(e)}function ny(e){Fa=!0,Dm(e)}function Ln(){if(!Hl&&Kt!==null){Hl=!0;var e=0,t=ee;try{var n=Kt;for(ee=1;e>=a,o-=a,Gt=1<<32-$t(t)+o|n<$?(z=S,S=null):z=S.sibling;var E=v(p,S,c[$],k);if(E===null){S===null&&(S=z);break}e&&S&&E.alternate===null&&t(p,S),f=i(E,f,$),w===null?h=E:w.sibling=E,w=E,S=z}if($===c.length)return n(p,S),ue&&Vn(p,$),h;if(S===null){for(;$$?(z=S,S=null):z=S.sibling;var N=v(p,S,E.value,k);if(N===null){S===null&&(S=z);break}e&&S&&N.alternate===null&&t(p,S),f=i(N,f,$),w===null?h=N:w.sibling=N,w=N,S=z}if(E.done)return n(p,S),ue&&Vn(p,$),h;if(S===null){for(;!E.done;$++,E=c.next())E=m(p,E.value,k),E!==null&&(f=i(E,f,$),w===null?h=E:w.sibling=E,w=E);return ue&&Vn(p,$),h}for(S=r(p,S);!E.done;$++,E=c.next())E=y(S,p,$,E.value,k),E!==null&&(e&&E.alternate!==null&&S.delete(E.key===null?$:E.key),f=i(E,f,$),w===null?h=E:w.sibling=E,w=E);return e&&S.forEach(function(B){return t(p,B)}),ue&&Vn(p,$),h}function C(p,f,c,k){if(typeof c=="object"&&c!==null&&c.type===ar&&c.key===null&&(c=c.props.children),typeof c=="object"&&c!==null){switch(c.$$typeof){case si:e:{for(var h=c.key,w=f;w!==null;){if(w.key===h){if(h=c.type,h===ar){if(w.tag===7){n(p,w.sibling),f=o(w,c.props.children),f.return=p,p=f;break e}}else if(w.elementType===h||typeof h=="object"&&h!==null&&h.$$typeof===dn&&Xf(h)===w.type){n(p,w.sibling),f=o(w,c.props),f.ref=Zr(p,w,c),f.return=p,p=f;break e}n(p,w);break}else t(p,w);w=w.sibling}c.type===ar?(f=Gn(c.props.children,p.mode,k,c.key),f.return=p,p=f):(k=Wi(c.type,c.key,c.props,null,p.mode,k),k.ref=Zr(p,f,c),k.return=p,p=k)}return a(p);case ir:e:{for(w=c.key;f!==null;){if(f.key===w)if(f.tag===4&&f.stateNode.containerInfo===c.containerInfo&&f.stateNode.implementation===c.implementation){n(p,f.sibling),f=o(f,c.children||[]),f.return=p,p=f;break e}else{n(p,f);break}else t(p,f);f=f.sibling}f=Zl(c,p.mode,k),f.return=p,p=f}return a(p);case dn:return w=c._init,C(p,f,w(c._payload),k)}if(io(c))return g(p,f,c,k);if(Gr(c))return x(p,f,c,k);xi(p,c)}return typeof c=="string"&&c!==""||typeof c=="number"?(c=""+c,f!==null&&f.tag===6?(n(p,f.sibling),f=o(f,c),f.return=p,p=f):(n(p,f),f=Xl(c,p.mode,k),f.return=p,p=f),a(p)):n(p,f)}return C}var Or=Bm(!0),jm=Bm(!1),Zo={},Vt=zn(Zo),Io=zn(Zo),No=zn(Zo);function Un(e){if(e===Zo)throw Error(_(174));return e}function ec(e,t){switch(oe(No,t),oe(Io,e),oe(Vt,Zo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ss(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ss(t,e)}le(Vt),oe(Vt,t)}function Dr(){le(Vt),le(Io),le(No)}function Um(e){Un(No.current);var t=Un(Vt.current),n=Ss(t,e.type);t!==n&&(oe(Io,e),oe(Vt,n))}function tc(e){Io.current===e&&(le(Vt),le(Io))}var fe=zn(0);function ma(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Wl=[];function nc(){for(var e=0;en?n:4,e(!0);var r=Kl.transition;Kl.transition={};try{e(!1),t()}finally{ee=n,Kl.transition=r}}function iv(){return yt().memoizedState}function ay(e,t,n){var r=En(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},av(e))lv(t,n);else if(n=Lm(e,t,n,r),n!==null){var o=We();Pt(n,e,r,o),sv(n,t,r)}}function ly(e,t,n){var r=En(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(av(e))lv(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,_t(l,a)){var s=t.interleaved;s===null?(o.next=o,Zu(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=Lm(e,t,o,r),n!==null&&(o=We(),Pt(n,e,r,o),sv(n,t,r))}}function av(e){var t=e.alternate;return e===de||t!==null&&t===de}function lv(e,t){vo=va=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function sv(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Mu(e,n)}}var ga={readContext:ht,useCallback:Ne,useContext:Ne,useEffect:Ne,useImperativeHandle:Ne,useInsertionEffect:Ne,useLayoutEffect:Ne,useMemo:Ne,useReducer:Ne,useRef:Ne,useState:Ne,useDebugValue:Ne,useDeferredValue:Ne,useTransition:Ne,useMutableSource:Ne,useSyncExternalStore:Ne,useId:Ne,unstable_isNewReconciler:!1},sy={readContext:ht,useCallback:function(e,t){return Ot().memoizedState=[e,t===void 0?null:t],e},useContext:ht,useEffect:qf,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Bi(4194308,4,ev.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Bi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Bi(4,2,e,t)},useMemo:function(e,t){var n=Ot();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ot();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=ay.bind(null,de,e),[r.memoizedState,e]},useRef:function(e){var t=Ot();return e={current:e},t.memoizedState=e},useState:Zf,useDebugValue:lc,useDeferredValue:function(e){return Ot().memoizedState=e},useTransition:function(){var e=Zf(!1),t=e[0];return e=iy.bind(null,e[1]),Ot().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=de,o=Ot();if(ue){if(n===void 0)throw Error(_(407));n=n()}else{if(n=t(),Pe===null)throw Error(_(349));(Jn&30)!==0||Km(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,qf(Ym.bind(null,r,i,e),[e]),r.flags|=2048,Mo(9,Gm.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Ot(),t=Pe.identifierPrefix;if(ue){var n=Yt,r=Gt;n=(r&~(1<<32-$t(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=zo++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Nt]=t,e[Do]=r,hv(e,t,!1,!1),t.stateNode=e;e:{switch(a=ws(n,r),n){case"dialog":ie("cancel",e),ie("close",e),o=r;break;case"iframe":case"object":case"embed":ie("load",e),o=r;break;case"video":case"audio":for(o=0;oNr&&(t.flags|=128,r=!0,qr(i,!1),t.lanes=4194304)}else{if(!r)if(e=ma(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),qr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!ue)return ze(t),null}else 2*xe()-i.renderingStartTime>Nr&&n!==1073741824&&(t.flags|=128,r=!0,qr(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=xe(),t.sibling=null,n=fe.current,oe(fe,r?n&1|2:n&1),t):(ze(t),null);case 22:case 23:return pc(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(tt&1073741824)!==0&&(ze(t),t.subtreeFlags&6&&(t.flags|=8192)):ze(t),null;case 24:return null;case 25:return null}throw Error(_(156,t.tag))}function gy(e,t){switch(Gu(t),t.tag){case 1:return Xe(t.type)&&la(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Dr(),le(Je),le(Be),nc(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return tc(t),null;case 13:if(le(fe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(_(340));Rr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return le(fe),null;case 4:return Dr(),null;case 10:return Xu(t.type._context),null;case 22:case 23:return pc(),null;case 24:return null;default:return null}}var Ci=!1,Ve=!1,hy=typeof WeakSet=="function"?WeakSet:Set,D=null;function vr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ge(e,t,r)}else n.current=null}function Xs(e,t,n){try{n()}catch(r){ge(e,t,r)}}var sd=!1;function yy(e,t){if(Is=ra,e=bm(),Wu(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 a=0,l=-1,s=-1,u=0,d=0,m=e,v=null;t:for(;;){for(var y;m!==n||o!==0&&m.nodeType!==3||(l=a+o),m!==i||r!==0&&m.nodeType!==3||(s=a+r),m.nodeType===3&&(a+=m.nodeValue.length),(y=m.firstChild)!==null;)v=m,m=y;for(;;){if(m===e)break t;if(v===n&&++u===o&&(l=a),v===i&&++d===r&&(s=a),(y=m.nextSibling)!==null)break;m=v,v=m.parentNode}m=y}n=l===-1||s===-1?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ns={focusedElem:e,selectionRange:n},ra=!1,D=t;D!==null;)if(t=D,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,D=e;else for(;D!==null;){t=D;try{var g=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var x=g.memoizedProps,C=g.memoizedState,p=t.stateNode,f=p.getSnapshotBeforeUpdate(t.elementType===t.type?x:bt(t.type,x),C);p.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var c=t.stateNode.containerInfo;c.nodeType===1?c.textContent="":c.nodeType===9&&c.documentElement&&c.removeChild(c.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(_(163))}}catch(k){ge(t,t.return,k)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return g=sd,sd=!1,g}function go(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&&Xs(t,n,i)}o=o.next}while(o!==r)}}function Ua(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 Zs(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 kv(e){var t=e.alternate;t!==null&&(e.alternate=null,kv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Nt],delete t[Do],delete t[Ms],delete t[ey],delete t[ty])),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 Cv(e){return e.tag===5||e.tag===3||e.tag===4}function ud(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Cv(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 qs(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=aa));else if(r!==4&&(e=e.child,e!==null))for(qs(e,t,n),e=e.sibling;e!==null;)qs(e,t,n),e=e.sibling}function eu(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(eu(e,t,n),e=e.sibling;e!==null;)eu(e,t,n),e=e.sibling}var Te=null,wt=!1;function cn(e,t,n){for(n=n.child;n!==null;)Sv(e,t,n),n=n.sibling}function Sv(e,t,n){if(Mt&&typeof Mt.onCommitFiberUnmount=="function")try{Mt.onCommitFiberUnmount(Na,n)}catch{}switch(n.tag){case 5:Ve||vr(n,t);case 6:var r=Te,o=wt;Te=null,cn(e,t,n),Te=r,wt=o,Te!==null&&(wt?(e=Te,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Te.removeChild(n.stateNode));break;case 18:Te!==null&&(wt?(e=Te,n=n.stateNode,e.nodeType===8?Ul(e.parentNode,n):e.nodeType===1&&Ul(e,n),Po(e)):Ul(Te,n.stateNode));break;case 4:r=Te,o=wt,Te=n.stateNode.containerInfo,wt=!0,cn(e,t,n),Te=r,wt=o;break;case 0:case 11:case 14:case 15:if(!Ve&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&((i&2)!==0||(i&4)!==0)&&Xs(n,t,a),o=o.next}while(o!==r)}cn(e,t,n);break;case 1:if(!Ve&&(vr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){ge(n,t,l)}cn(e,t,n);break;case 21:cn(e,t,n);break;case 22:n.mode&1?(Ve=(r=Ve)||n.memoizedState!==null,cn(e,t,n),Ve=r):cn(e,t,n);break;default:cn(e,t,n)}}function cd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new hy),t.forEach(function(r){var o=$y.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function St(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=a),r&=~i}if(r=o,r=xe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ky(r/1960))-r,10e?16:e,yn===null)var r=!1;else{if(e=yn,yn=null,xa=0,(Y&6)!==0)throw Error(_(331));var o=Y;for(Y|=4,D=e.current;D!==null;){var i=D,a=i.child;if((D.flags&16)!==0){var l=i.deletions;if(l!==null){for(var s=0;sxe()-fc?Kn(e,0):cc|=n),Ze(e,t)}function Tv(e,t){t===0&&((e.mode&1)===0?t=1:(t=di,di<<=1,(di&130023424)===0&&(di=4194304)));var n=We();e=Zt(e,t),e!==null&&(Qo(e,t,n),Ze(e,n))}function Ey(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Tv(e,n)}function $y(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(_(314))}r!==null&&r.delete(t),Tv(e,n)}var Rv;Rv=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Je.current)Qe=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return Qe=!1,my(e,t,n);Qe=(e.flags&131072)!==0}else Qe=!1,ue&&(t.flags&1048576)!==0&&Im(t,ca,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ji(e,t),e=t.pendingProps;var o=Tr(t,Be.current);wr(t,n),o=oc(null,t,r,e,o,n);var i=ic();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,Xe(r)?(i=!0,sa(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,qu(t),o.updater=Ba,t.stateNode=o,o._reactInternals=t,Hs(t,r,e,n),t=Gs(null,t,r,!0,i,n)):(t.tag=0,ue&&i&&Ku(t),He(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ji(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=_y(r),e=bt(r,e),o){case 0:t=Ks(null,t,r,e,n);break e;case 1:t=id(null,t,r,e,n);break e;case 11:t=rd(null,t,r,e,n);break e;case 14:t=od(null,t,r,bt(r.type,e),n);break e}throw Error(_(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:bt(r,o),Ks(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:bt(r,o),id(e,t,r,o,n);case 3:e:{if(mv(t),e===null)throw Error(_(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Mm(e,t),pa(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Ir(Error(_(423)),t),t=ad(e,t,r,n,o);break e}else if(r!==o){o=Ir(Error(_(424)),t),t=ad(e,t,r,n,o);break e}else for(rt=bn(t.stateNode.containerInfo.firstChild),ot=t,ue=!0,At=null,n=jm(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Rr(),r===o){t=qt(e,t,n);break e}He(e,t,r,n)}t=t.child}return t;case 5:return Um(t),e===null&&Bs(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,zs(r,o)?a=null:i!==null&&zs(r,i)&&(t.flags|=32),pv(e,t),He(e,t,a,n),t.child;case 6:return e===null&&Bs(t),null;case 13:return vv(e,t,n);case 4:return ec(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Or(t,null,r,n):He(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:bt(r,o),rd(e,t,r,o,n);case 7:return He(e,t,t.pendingProps,n),t.child;case 8:return He(e,t,t.pendingProps.children,n),t.child;case 12:return He(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,oe(fa,r._currentValue),r._currentValue=a,i!==null)if(_t(i.value,a)){if(i.children===o.children&&!Je.current){t=qt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){a=i.child;for(var s=l.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=Qt(-1,n&-n),s.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?s.next=s:(s.next=d.next,d.next=s),u.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),js(i.return,n,t),l.lanes|=n;break}s=s.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(_(341));a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),js(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}He(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,wr(t,n),o=ht(o),r=r(o),t.flags|=1,He(e,t,r,n),t.child;case 14:return r=t.type,o=bt(r,t.pendingProps),o=bt(r.type,o),od(e,t,r,o,n);case 15:return fv(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:bt(r,o),ji(e,t),t.tag=1,Xe(r)?(e=!0,sa(t)):e=!1,wr(t,n),Fm(t,r,o),Hs(t,r,o,n),Gs(null,t,r,!0,e,n);case 19:return gv(e,t,n);case 22:return dv(e,t,n)}throw Error(_(156,t.tag))};function Ov(e,t){return om(e,t)}function Py(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 vt(e,t,n,r){return new Py(e,t,n,r)}function vc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _y(e){if(typeof e=="function")return vc(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Iu)return 11;if(e===Nu)return 14}return 2}function $n(e,t){var n=e.alternate;return n===null?(n=vt(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 Wi(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")vc(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case ar:return Gn(n.children,o,i,t);case Du:a=8,o|=8;break;case ms:return e=vt(12,n,t,o|2),e.elementType=ms,e.lanes=i,e;case vs:return e=vt(13,n,t,o),e.elementType=vs,e.lanes=i,e;case gs:return e=vt(19,n,t,o),e.elementType=gs,e.lanes=i,e;case Bp:return Wa(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Vp:a=10;break e;case Fp:a=9;break e;case Iu:a=11;break e;case Nu:a=14;break e;case dn:a=16,r=null;break e}throw Error(_(130,e==null?e:typeof e,""))}return t=vt(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Gn(e,t,n,r){return e=vt(7,e,r,t),e.lanes=n,e}function Wa(e,t,n,r){return e=vt(22,e,r,t),e.elementType=Bp,e.lanes=n,e.stateNode={isHidden:!1},e}function Xl(e,t,n){return e=vt(6,e,null,t),e.lanes=n,e}function Zl(e,t,n){return t=vt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ty(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=Ol(0),this.expirationTimes=Ol(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ol(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function gc(e,t,n,r,o,i,a,l,s){return e=new Ty(e,t,n,l,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=vt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},qu(i),e}function Ry(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=st})(_u);var yd=_u.exports;ds.createRoot=yd.createRoot,ds.hydrateRoot=yd.hydrateRoot;const zy=()=>!window.invokeNative,Ly=()=>{},Rn=(e,t)=>{const n=b.exports.useRef(Ly);b.exports.useEffect(()=>{n.current=t},[t]),b.exports.useEffect(()=>{const r=o=>{const{action:i,data:a}=o.data;n.current&&i===e&&n.current(a)};return window.addEventListener("message",r),()=>window.removeEventListener("message",r)},[e])};async function qo(e,t,n){const r={method:"post",headers:{"Content-Type":"application/json; charset=UTF-8"},body:JSON.stringify(t)};if(zy()&&n)return n;const o=window.GetParentResourceName?window.GetParentResourceName():"nui-frame-app";return await(await fetch(`https://${o}/${e}`,r)).json()}function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}var H={exports:{}},My="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Vy=My,Fy=Vy;function zv(){}function Lv(){}Lv.resetWarningCache=zv;var By=function(){function e(r,o,i,a,l,s){if(s!==Fy){var u=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 u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Lv,resetWarningCache:zv};return n.PropTypes=n,n};H.exports=By();function Mv(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t{t[n]=Vv(e[n])}),t}function it(e,t,n={clone:!0}){const r=n.clone?A({},e):e;return gn(e)&&gn(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(gn(t[o])&&o in e&&gn(e[o])?r[o]=it(e[o],t[o],n):n.clone?r[o]=gn(t[o])?Vv(t[o]):t[o]:r[o]=t[o])}),r}function Sa(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;nn==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function jy(e,t){var n,r;return b.exports.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 Pn(e){return e&&e.ownerDocument||document}function kc(e){return Pn(e).defaultView||window}function iu(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const Uy=typeof window<"u"?b.exports.useLayoutEffect:b.exports.useEffect,au=Uy;let kd=0;function Hy(e){const[t,n]=b.exports.useState(e),r=e||t;return b.exports.useEffect(()=>{t==null&&(kd+=1,n(`mui-${kd}`))},[t]),r}const Cd=fs["useId".toString()];function Sd(e){if(Cd!==void 0){const t=Cd();return e!=null?e:t}return Hy(e)}function bd(e){const t=b.exports.useRef(e);return au(()=>{t.current=e}),b.exports.useRef((...n)=>(0,t.current)(...n)).current}function jr(...e){return b.exports.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{iu(n,t)})},e)}let Xa=!0,lu=!1,wd;const Wy={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 Ky(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&Wy[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Gy(e){e.metaKey||e.altKey||e.ctrlKey||(Xa=!0)}function ql(){Xa=!1}function Yy(){this.visibilityState==="hidden"&&lu&&(Xa=!0)}function Qy(e){e.addEventListener("keydown",Gy,!0),e.addEventListener("mousedown",ql,!0),e.addEventListener("pointerdown",ql,!0),e.addEventListener("touchstart",ql,!0),e.addEventListener("visibilitychange",Yy,!0)}function Jy(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Xa||Ky(t)}function Xy(){const e=b.exports.useCallback(o=>{o!=null&&Qy(o.ownerDocument)},[]),t=b.exports.useRef(!1);function n(){return t.current?(lu=!0,window.clearTimeout(wd),wd=window.setTimeout(()=>{lu=!1},100),t.current=!1,!0):!1}function r(o){return Jy(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function Zy(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function Fv(e,t){const n=A({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=A({},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]=A({},i),Object.keys(o).forEach(a=>{n[r][a]=Fv(o[a],i[a])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function an(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,a)=>{if(a){const l=t(a);l!==""&&i.push(l),n&&n[a]&&i.push(n[a])}return i},[]).join(" ")}),r}const Ad=e=>e,qy=()=>{let e=Ad;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Ad}}},e1=qy(),t1=e1,n1={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 Bv(e,t,n="Mui"){const r=n1[t];return r?`${n}-${r}`:`${t1.generate(e)}-${t}`}function r1(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Bv(e,o,n)}),r}function o1(e){return typeof e=="string"}function i1(e,t,n){return e===void 0||o1(e)?t:A({},t,{ownerState:A({},t.ownerState,n)})}var Za={exports:{}},qa={};/** * @license React * react-jsx-runtime.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 a1=b.exports,l1=Symbol.for("react.element"),s1=Symbol.for("react.fragment"),u1=Object.prototype.hasOwnProperty,c1=a1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,f1={key:!0,ref:!0,__self:!0,__source:!0};function jv(e,t,n){var r,o={},i=null,a=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)u1.call(t,r)&&!f1.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:l1,type:e,key:i,ref:a,props:o,_owner:c1.current}}qa.Fragment=s1;qa.jsx=jv;qa.jsxs=jv;(function(e){e.exports=qa})(Za);const Uv=Za.exports.Fragment,I=Za.exports.jsx,Oe=Za.exports.jsxs;function ba(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 d1(e,t,n){return typeof e=="function"?e(t,n):e}function Hv(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function p1(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const y=Ed(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),g=A({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),x=A({},n,o,r);return y.length>0&&(x.className=y),Object.keys(g).length>0&&(x.style=g),{props:x,internalRef:void 0}}const a=ba(A({},o,r)),l=$d(r),s=$d(o),u=t(a),d=Ed(u==null?void 0:u.className,n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),m=A({},u==null?void 0:u.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),v=A({},u,n,s,l);return d.length>0&&(v.className=d),Object.keys(m).length>0&&(v.style=m),{props:v,internalRef:u.ref}}function m1(e={}){const{disabled:t=!1,focusableWhenDisabled:n,href:r,rootRef:o,tabIndex:i,to:a,type:l}=e,s=b.exports.useRef(),[u,d]=b.exports.useState(!1),{isFocusVisibleRef:m,onFocus:v,onBlur:y,ref:g}=Xy(),[x,C]=b.exports.useState(!1);t&&!n&&x&&C(!1),b.exports.useEffect(()=>{m.current=x},[x,m]);const[p,f]=b.exports.useState(""),c=M=>T=>{var R;x&&T.preventDefault(),(R=M.onMouseLeave)==null||R.call(M,T)},k=M=>T=>{var R;y(T),m.current===!1&&C(!1),(R=M.onBlur)==null||R.call(M,T)},h=M=>T=>{var R;if(s.current||(s.current=T.currentTarget),v(T),m.current===!0){var P;C(!0),(P=M.onFocusVisible)==null||P.call(M,T)}(R=M.onFocus)==null||R.call(M,T)},w=()=>{const M=s.current;return p==="BUTTON"||p==="INPUT"&&["button","submit","reset"].includes(M==null?void 0:M.type)||p==="A"&&(M==null?void 0:M.href)},S=M=>T=>{if(!t){var R;(R=M.onClick)==null||R.call(M,T)}},$=M=>T=>{var R;t||(d(!0),document.addEventListener("mouseup",()=>{d(!1)},{once:!0})),(R=M.onMouseDown)==null||R.call(M,T)},z=M=>T=>{var R;if((R=M.onKeyDown)==null||R.call(M,T),!T.defaultMuiPrevented&&(T.target===T.currentTarget&&!w()&&T.key===" "&&T.preventDefault(),T.target===T.currentTarget&&T.key===" "&&!t&&d(!0),T.target===T.currentTarget&&!w()&&T.key==="Enter"&&!t)){var P;(P=M.onClick)==null||P.call(M,T),T.preventDefault()}},E=M=>T=>{var R;if(T.target===T.currentTarget&&d(!1),(R=M.onKeyUp)==null||R.call(M,T),T.target===T.currentTarget&&!w()&&!t&&T.key===" "&&!T.defaultMuiPrevented){var P;(P=M.onClick)==null||P.call(M,T)}},N=b.exports.useCallback(M=>{var T;f((T=M==null?void 0:M.tagName)!=null?T:"")},[]),B=jr(N,o,g,s),U={};return i!==void 0&&(U.tabIndex=i),p==="BUTTON"?(U.type=l!=null?l:"button",n?U["aria-disabled"]=t:U.disabled=t):p!==""&&(!r&&!a&&(U.role="button",U.tabIndex=i!=null?i:0),t&&(U["aria-disabled"]=t,U.tabIndex=n?i!=null?i:0:-1)),{getRootProps:(M={})=>{const T=A({},ba(e),ba(M)),R=A({type:l},T,U,M,{onBlur:k(T),onClick:S(T),onFocus:h(T),onKeyDown:z(T),onKeyUp:E(T),onMouseDown:$(T),onMouseLeave:c(T),ref:B});return delete R.onFocusVisible,R},focusVisible:x,setFocusVisible:C,active:u,rootRef:B}}const v1=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function g1(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 h1(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 y1(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||h1(e))}function x1(e){const t=[],n=[];return Array.from(e.querySelectorAll(v1)).forEach((r,o)=>{const i=g1(r);i===-1||!y1(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 k1(){return!0}function C1(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=x1,isEnabled:a=k1,open:l}=e,s=b.exports.useRef(!1),u=b.exports.useRef(null),d=b.exports.useRef(null),m=b.exports.useRef(null),v=b.exports.useRef(null),y=b.exports.useRef(!1),g=b.exports.useRef(null),x=jr(t.ref,g),C=b.exports.useRef(null);b.exports.useEffect(()=>{!l||!g.current||(y.current=!n)},[n,l]),b.exports.useEffect(()=>{if(!l||!g.current)return;const c=Pn(g.current);return g.current.contains(c.activeElement)||(g.current.hasAttribute("tabIndex")||g.current.setAttribute("tabIndex","-1"),y.current&&g.current.focus()),()=>{o||(m.current&&m.current.focus&&(s.current=!0,m.current.focus()),m.current=null)}},[l]),b.exports.useEffect(()=>{if(!l||!g.current)return;const c=Pn(g.current),k=S=>{C.current=S,!(r||!a()||S.key!=="Tab")&&c.activeElement===g.current&&S.shiftKey&&(s.current=!0,d.current&&d.current.focus())},h=()=>{const S=g.current;if(S===null)return;if(!c.hasFocus()||!a()||s.current){s.current=!1;return}if(S.contains(c.activeElement)||r&&c.activeElement!==u.current&&c.activeElement!==d.current)return;if(c.activeElement!==v.current)v.current=null;else if(v.current!==null)return;if(!y.current)return;let $=[];if((c.activeElement===u.current||c.activeElement===d.current)&&($=i(g.current)),$.length>0){var z,E;const N=Boolean(((z=C.current)==null?void 0:z.shiftKey)&&((E=C.current)==null?void 0:E.key)==="Tab"),B=$[0],U=$[$.length-1];typeof B!="string"&&typeof U!="string"&&(N?U.focus():B.focus())}else S.focus()};c.addEventListener("focusin",h),c.addEventListener("keydown",k,!0);const w=setInterval(()=>{c.activeElement&&c.activeElement.tagName==="BODY"&&h()},50);return()=>{clearInterval(w),c.removeEventListener("focusin",h),c.removeEventListener("keydown",k,!0)}},[n,r,o,a,l,i]);const p=c=>{m.current===null&&(m.current=c.relatedTarget),y.current=!0,v.current=c.target;const k=t.props.onFocus;k&&k(c)},f=c=>{m.current===null&&(m.current=c.relatedTarget),y.current=!0};return Oe(b.exports.Fragment,{children:[I("div",{tabIndex:l?0:-1,onFocus:f,ref:u,"data-testid":"sentinelStart"}),b.exports.cloneElement(t,{ref:x,onFocus:p}),I("div",{tabIndex:l?0:-1,onFocus:f,ref:d,"data-testid":"sentinelEnd"})]})}function S1(e){return typeof e=="function"?e():e}const b1=b.exports.forwardRef(function(t,n){const{children:r,container:o,disablePortal:i=!1}=t,[a,l]=b.exports.useState(null),s=jr(b.exports.isValidElement(r)?r.ref:null,n);if(au(()=>{i||l(S1(o)||document.body)},[o,i]),au(()=>{if(a&&!i)return iu(n,a),()=>{iu(n,null)}},[n,a,i]),i){if(b.exports.isValidElement(r)){const u={ref:s};return b.exports.cloneElement(r,u)}return I(b.exports.Fragment,{children:r})}return I(b.exports.Fragment,{children:a&&_u.exports.createPortal(r,a)})});function w1(e){const t=Pn(e);return t.body===e?kc(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function xo(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Pd(e){return parseInt(kc(e).getComputedStyle(e).paddingRight,10)||0}function A1(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 _d(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,a=>{const l=i.indexOf(a)===-1,s=!A1(a);l&&s&&xo(a,o)})}function es(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function E1(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(w1(r)){const a=Zy(Pn(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Pd(r)+a}px`;const l=Pn(r).querySelectorAll(".mui-fixed");[].forEach.call(l,s=>{n.push({value:s.style.paddingRight,property:"padding-right",el:s}),s.style.paddingRight=`${Pd(s)+a}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=Pn(r).body;else{const a=r.parentElement,l=kc(r);i=(a==null?void 0:a.nodeName)==="HTML"&&l.getComputedStyle(a).overflowY==="scroll"?a: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:a,property:l})=>{i?a.style.setProperty(l,i):a.style.removeProperty(l)})}}function $1(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class P1{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&&xo(t.modalRef,!1);const o=$1(n);_d(n,t.mount,t.modalRef,o,!0);const i=es(this.containers,a=>a.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=es(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[r];o.restore||(o.restore=E1(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=es(this.containers,a=>a.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&&xo(t.modalRef,n),_d(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const a=i.modals[i.modals.length-1];a.modalRef&&xo(a.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function _1(e){return typeof e=="function"?e():e}function T1(e){return e?e.props.hasOwnProperty("in"):!1}const R1=new P1;function O1(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=R1,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:l,children:s,onClose:u,open:d,rootRef:m}=e,v=b.exports.useRef({}),y=b.exports.useRef(null),g=b.exports.useRef(null),x=jr(g,m),[C,p]=b.exports.useState(!d),f=T1(s);let c=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(c=!1);const k=()=>Pn(y.current),h=()=>(v.current.modalRef=g.current,v.current.mount=y.current,v.current),w=()=>{o.mount(h(),{disableScrollLock:r}),g.current&&(g.current.scrollTop=0)},S=bd(()=>{const T=_1(t)||k().body;o.add(h(),T),g.current&&w()}),$=b.exports.useCallback(()=>o.isTopModal(h()),[o]),z=bd(T=>{y.current=T,T&&(d&&$()?w():g.current&&xo(g.current,c))}),E=b.exports.useCallback(()=>{o.remove(h(),c)},[c,o]);b.exports.useEffect(()=>()=>{E()},[E]),b.exports.useEffect(()=>{d?S():(!f||!i)&&E()},[d,E,f,i,S]);const N=T=>R=>{var P;(P=T.onKeyDown)==null||P.call(T,R),!(R.key!=="Escape"||R.which===229||!$())&&(n||(R.stopPropagation(),u&&u(R,"escapeKeyDown")))},B=T=>R=>{var P;(P=T.onClick)==null||P.call(T,R),R.target===R.currentTarget&&u&&u(R,"backdropClick")};return{getRootProps:(T={})=>{const R=ba(e);delete R.onTransitionEnter,delete R.onTransitionExited;const P=A({},R,T);return A({role:"presentation"},P,{onKeyDown:N(P),ref:x})},getBackdropProps:(T={})=>{const R=T;return A({"aria-hidden":!0},R,{onClick:B(R),open:d})},getTransitionProps:()=>{const T=()=>{p(!1),a&&a()},R=()=>{p(!0),l&&l(),i&&E()};return{onEnter:xd(T,s==null?void 0:s.props.onEnter),onExited:xd(R,s==null?void 0:s.props.onExited)}},rootRef:x,portalRef:z,isTopModal:$,exited:C,hasTransition:f}}function Wv(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var D1=/^((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|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)-.*))$/,I1=Wv(function(e){return D1.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function N1(e){if(e.sheet)return e.sheet;for(var t=0;t0?Re(Ur,--qe):0,zr--,Ce===10&&(zr=1,tl--),Ce}function at(){return Ce=qe2||Bo(Ce)>3?"":" "}function Y1(e,t){for(;--t&&at()&&!(Ce<48||Ce>102||Ce>57&&Ce<65||Ce>70&&Ce<97););return ei(e,Ki()+(t<6&&Ft()==32&&at()==32))}function uu(e){for(;at();)switch(Ce){case e:return qe;case 34:case 39:e!==34&&e!==39&&uu(Ce);break;case 40:e===41&&uu(e);break;case 92:at();break}return qe}function Q1(e,t){for(;at()&&e+Ce!==47+10;)if(e+Ce===42+42&&Ft()===47)break;return"/*"+ei(t,qe-1)+"*"+el(e===47?e:at())}function J1(e){for(;!Bo(Ft());)at();return ei(e,qe)}function X1(e){return Xv(Yi("",null,null,null,[""],e=Jv(e),0,[0],e))}function Yi(e,t,n,r,o,i,a,l,s){for(var u=0,d=0,m=a,v=0,y=0,g=0,x=1,C=1,p=1,f=0,c="",k=o,h=i,w=r,S=c;C;)switch(g=f,f=at()){case 40:if(g!=108&&Re(S,m-1)==58){su(S+=X(Gi(f),"&","&\f"),"&\f")!=-1&&(p=-1);break}case 34:case 39:case 91:S+=Gi(f);break;case 9:case 10:case 13:case 32:S+=G1(g);break;case 92:S+=Y1(Ki()-1,7);continue;case 47:switch(Ft()){case 42:case 47:wi(Z1(Q1(at(),Ki()),t,n),s);break;default:S+="/"}break;case 123*x:l[u++]=Dt(S)*p;case 125*x:case 59:case 0:switch(f){case 0:case 125:C=0;case 59+d:p==-1&&(S=X(S,/\f/g,"")),y>0&&Dt(S)-m&&wi(y>32?Rd(S+";",r,n,m-1):Rd(X(S," ","")+";",r,n,m-2),s);break;case 59:S+=";";default:if(wi(w=Td(S,t,n,u,d,o,l,c,k=[],h=[],m),i),f===123)if(d===0)Yi(S,t,w,w,k,i,m,l,h);else switch(v===99&&Re(S,3)===110?100:v){case 100:case 108:case 109:case 115:Yi(e,w,w,r&&wi(Td(e,w,w,0,0,o,l,c,o,k=[],m),h),o,h,m,l,r?k:h);break;default:Yi(S,w,w,w,[""],h,0,l,h)}}u=d=y=0,x=p=1,c=S="",m=a;break;case 58:m=1+Dt(S),y=g;default:if(x<1){if(f==123)--x;else if(f==125&&x++==0&&K1()==125)continue}switch(S+=el(f),f*x){case 38:p=d>0?1:(S+="\f",-1);break;case 44:l[u++]=(Dt(S)-1)*p,p=1;break;case 64:Ft()===45&&(S+=Gi(at())),v=Ft(),d=m=Dt(c=S+=J1(Ki())),f++;break;case 45:g===45&&Dt(S)==2&&(x=0)}}return i}function Td(e,t,n,r,o,i,a,l,s,u,d){for(var m=o-1,v=o===0?i:[""],y=bc(v),g=0,x=0,C=0;g0?v[p]+" "+f:X(f,/&\f/g,v[p])))&&(s[C++]=c);return nl(e,t,n,o===0?Cc:l,s,u,d)}function Z1(e,t,n){return nl(e,t,n,Kv,el(W1()),Fo(e,2,-2),0)}function Rd(e,t,n,r){return nl(e,t,n,Sc,Fo(e,0,r),Fo(e,r+1,-1),r)}function Er(e,t){for(var n="",r=bc(e),o=0;o6)switch(Re(e,t+1)){case 109:if(Re(e,t+4)!==45)break;case 102:return X(e,/(.+:)(.+)-([^]+)/,"$1"+J+"$2-$3$1"+wa+(Re(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~su(e,"stretch")?Zv(X(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Re(e,t+1)!==115)break;case 6444:switch(Re(e,Dt(e)-3-(~su(e,"!important")&&10))){case 107:return X(e,":",":"+J)+e;case 101:return X(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+J+(Re(e,14)===45?"inline-":"")+"box$3$1"+J+"$2$3$1"+Me+"$2box$3")+e}break;case 5936:switch(Re(e,t+11)){case 114:return J+e+Me+X(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return J+e+Me+X(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return J+e+Me+X(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return J+e+Me+e+e}return e}var lx=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Sc:t.return=Zv(t.value,t.length);break;case Gv:return Er([to(t,{value:X(t.value,"@","@"+J)})],o);case Cc:if(t.length)return H1(t.props,function(i){switch(U1(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Er([to(t,{props:[X(i,/:(read-\w+)/,":"+wa+"$1")]})],o);case"::placeholder":return Er([to(t,{props:[X(i,/:(plac\w+)/,":"+J+"input-$1")]}),to(t,{props:[X(i,/:(plac\w+)/,":"+wa+"$1")]}),to(t,{props:[X(i,/:(plac\w+)/,Me+"input-$1")]})],o)}return""})}},sx=[lx],ux=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(x){var C=x.getAttribute("data-emotion");C.indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))})}var o=t.stylisPlugins||sx,i={},a,l=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(x){for(var C=x.getAttribute("data-emotion").split(" "),p=1;p=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 kx={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},Cx=/[A-Z]|^ms/g,Sx=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ig=function(t){return t.charCodeAt(1)===45},Dd=function(t){return t!=null&&typeof t!="boolean"},ts=Wv(function(e){return ig(e)?e:e.replace(Cx,"-$&").toLowerCase()}),Id=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Sx,function(r,o,i){return It={name:o,styles:i,next:It},o})}return kx[t]!==1&&!ig(t)&&typeof n=="number"&&n!==0?n+"px":n};function jo(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 It={name:n.name,styles:n.styles,next:It},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)It={name:r.name,styles:r.styles,next:It},r=r.next;var o=n.styles+";";return o}return bx(e,t,n)}case"function":{if(e!==void 0){var i=It,a=n(e);return It=i,jo(e,t,a)}break}}if(t==null)return n;var l=t[n];return l!==void 0?l:n}function bx(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?$x:Px},Md=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},_x=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return rg(n,r,o),Ax(function(){return og(n,r,o)}),null},Tx=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,a;n!==void 0&&(i=n.label,a=n.target);var l=Md(t,n,r),s=l||Ld(o),u=!s("as");return function(){var d=arguments,m=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&m.push("label:"+i+";"),d[0]==null||d[0].raw===void 0)m.push.apply(m,d);else{m.push(d[0][0]);for(var v=d.length,y=1;yt(Ox(o)?n:o):t})}/** * @mui/styled-engine v5.14.18 * * @license MIT * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function Dx(e,t){return cu(e,t)}const Ix=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Nx=["values","unit","step"],zx=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)=>A({},n,{[r.key]:r.val}),{})};function cg(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=ye(e,Nx),i=zx(t),a=Object.keys(i);function l(v){return`@media (min-width:${typeof t[v]=="number"?t[v]:v}${n})`}function s(v){return`@media (max-width:${(typeof t[v]=="number"?t[v]:v)-r/100}${n})`}function u(v,y){const g=a.indexOf(y);return`@media (min-width:${typeof t[v]=="number"?t[v]:v}${n}) and (max-width:${(g!==-1&&typeof t[a[g]]=="number"?t[a[g]]:y)-r/100}${n})`}function d(v){return a.indexOf(v)+1`@media (min-width:${_c[e]}px)`};function en(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||Vd;return t.reduce((a,l,s)=>(a[i.up(i.keys[s])]=n(t[s]),a),{})}if(typeof t=="object"){const i=r.breakpoints||Vd;return Object.keys(t).reduce((a,l)=>{if(Object.keys(i.values||_c).indexOf(l)!==-1){const s=i.up(l);a[s]=n(t[l],l)}else{const s=l;a[s]=t[s]}return a},{})}return n(t)}function Vx(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function Fx(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function ml(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 Aa(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=ml(e,n)||r,t&&(o=t(o,r,e)),o}function Z(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=a=>{if(a[t]==null)return null;const l=a[t],s=a.theme,u=ml(s,r)||{};return en(a,l,m=>{let v=Aa(u,o,m);return m===v&&typeof m=="string"&&(v=Aa(u,o,`${t}${m==="default"?"":ke(m)}`,m)),n===!1?v:{[n]:v}})};return i.propTypes={},i.filterProps=[t],i}function Bx(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const jx={m:"margin",p:"padding"},Ux={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Fd={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Hx=Bx(e=>{if(e.length>2)if(Fd[e])e=Fd[e];else return[e];const[t,n]=e.split(""),r=jx[t],o=Ux[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),Tc=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Rc=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Tc,...Rc];function ti(e,t,n,r){var o;const i=(o=ml(e,t,!1))!=null?o:n;return typeof i=="number"?a=>typeof a=="string"?a:i*a:Array.isArray(i)?a=>typeof a=="string"?a:i[a]:typeof i=="function"?i:()=>{}}function fg(e){return ti(e,"spacing",8)}function ni(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 Wx(e,t){return n=>e.reduce((r,o)=>(r[o]=ni(t,n),r),{})}function Kx(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=Hx(n),i=Wx(o,r),a=e[n];return en(e,a,i)}function dg(e,t){const n=fg(e.theme);return Object.keys(e).map(r=>Kx(e,t,r,n)).reduce(ko,{})}function me(e){return dg(e,Tc)}me.propTypes={};me.filterProps=Tc;function ve(e){return dg(e,Rc)}ve.propTypes={};ve.filterProps=Rc;function pg(e=8){if(e.mui)return e;const t=fg({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" ");return n.mui=!0,n}function vl(...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]?ko(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function zt(e){return typeof e!="number"?e:`${e}px solid`}const Gx=Z({prop:"border",themeKey:"borders",transform:zt}),Yx=Z({prop:"borderTop",themeKey:"borders",transform:zt}),Qx=Z({prop:"borderRight",themeKey:"borders",transform:zt}),Jx=Z({prop:"borderBottom",themeKey:"borders",transform:zt}),Xx=Z({prop:"borderLeft",themeKey:"borders",transform:zt}),Zx=Z({prop:"borderColor",themeKey:"palette"}),qx=Z({prop:"borderTopColor",themeKey:"palette"}),ek=Z({prop:"borderRightColor",themeKey:"palette"}),tk=Z({prop:"borderBottomColor",themeKey:"palette"}),nk=Z({prop:"borderLeftColor",themeKey:"palette"}),gl=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=ti(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:ni(t,r)});return en(e,e.borderRadius,n)}return null};gl.propTypes={};gl.filterProps=["borderRadius"];vl(Gx,Yx,Qx,Jx,Xx,Zx,qx,ek,tk,nk,gl);const hl=e=>{if(e.gap!==void 0&&e.gap!==null){const t=ti(e.theme,"spacing",8),n=r=>({gap:ni(t,r)});return en(e,e.gap,n)}return null};hl.propTypes={};hl.filterProps=["gap"];const yl=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=ti(e.theme,"spacing",8),n=r=>({columnGap:ni(t,r)});return en(e,e.columnGap,n)}return null};yl.propTypes={};yl.filterProps=["columnGap"];const xl=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=ti(e.theme,"spacing",8),n=r=>({rowGap:ni(t,r)});return en(e,e.rowGap,n)}return null};xl.propTypes={};xl.filterProps=["rowGap"];const rk=Z({prop:"gridColumn"}),ok=Z({prop:"gridRow"}),ik=Z({prop:"gridAutoFlow"}),ak=Z({prop:"gridAutoColumns"}),lk=Z({prop:"gridAutoRows"}),sk=Z({prop:"gridTemplateColumns"}),uk=Z({prop:"gridTemplateRows"}),ck=Z({prop:"gridTemplateAreas"}),fk=Z({prop:"gridArea"});vl(hl,yl,xl,rk,ok,ik,ak,lk,sk,uk,ck,fk);function $r(e,t){return t==="grey"?t:e}const dk=Z({prop:"color",themeKey:"palette",transform:$r}),pk=Z({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:$r}),mk=Z({prop:"backgroundColor",themeKey:"palette",transform:$r});vl(dk,pk,mk);function nt(e){return e<=1&&e!==0?`${e*100}%`:e}const vk=Z({prop:"width",transform:nt}),Oc=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])||_c[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:nt(n)}};return en(e,e.maxWidth,t)}return null};Oc.filterProps=["maxWidth"];const gk=Z({prop:"minWidth",transform:nt}),hk=Z({prop:"height",transform:nt}),yk=Z({prop:"maxHeight",transform:nt}),xk=Z({prop:"minHeight",transform:nt});Z({prop:"size",cssProperty:"width",transform:nt});Z({prop:"size",cssProperty:"height",transform:nt});const kk=Z({prop:"boxSizing"});vl(vk,Oc,gk,hk,yk,xk,kk);const Ck={border:{themeKey:"borders",transform:zt},borderTop:{themeKey:"borders",transform:zt},borderRight:{themeKey:"borders",transform:zt},borderBottom:{themeKey:"borders",transform:zt},borderLeft:{themeKey:"borders",transform:zt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:gl},color:{themeKey:"palette",transform:$r},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:$r},backgroundColor:{themeKey:"palette",transform:$r},p:{style:ve},pt:{style:ve},pr:{style:ve},pb:{style:ve},pl:{style:ve},px:{style:ve},py:{style:ve},padding:{style:ve},paddingTop:{style:ve},paddingRight:{style:ve},paddingBottom:{style:ve},paddingLeft:{style:ve},paddingX:{style:ve},paddingY:{style:ve},paddingInline:{style:ve},paddingInlineStart:{style:ve},paddingInlineEnd:{style:ve},paddingBlock:{style:ve},paddingBlockStart:{style:ve},paddingBlockEnd:{style:ve},m:{style:me},mt:{style:me},mr:{style:me},mb:{style:me},ml:{style:me},mx:{style:me},my:{style:me},margin:{style:me},marginTop:{style:me},marginRight:{style:me},marginBottom:{style:me},marginLeft:{style:me},marginX:{style:me},marginY:{style:me},marginInline:{style:me},marginInlineStart:{style:me},marginInlineEnd:{style:me},marginBlock:{style:me},marginBlockStart:{style:me},marginBlockEnd:{style:me},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:hl},rowGap:{style:xl},columnGap:{style:yl},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:nt},maxWidth:{style:Oc},minWidth:{transform:nt},height:{transform:nt},maxHeight:{transform:nt},minHeight:{transform:nt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Dc=Ck;function Sk(...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 bk(e,t){return typeof e=="function"?e(t):e}function wk(){function e(n,r,o,i){const a={[n]:r,theme:o},l=i[n];if(!l)return{[n]:r};const{cssProperty:s=n,themeKey:u,transform:d,style:m}=l;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const v=ml(o,u)||{};return m?m(a):en(a,r,g=>{let x=Aa(v,d,g);return g===x&&typeof g=="string"&&(x=Aa(v,d,`${n}${g==="default"?"":ke(g)}`,g)),s===!1?x:{[s]:x}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const a=(r=i.unstable_sxConfig)!=null?r:Dc;function l(s){let u=s;if(typeof s=="function")u=s(i);else if(typeof s!="object")return s;if(!u)return null;const d=Vx(i.breakpoints),m=Object.keys(d);let v=d;return Object.keys(u).forEach(y=>{const g=bk(u[y],i);if(g!=null)if(typeof g=="object")if(a[y])v=ko(v,e(y,g,i,a));else{const x=en({theme:i},g,C=>({[y]:C}));Sk(x,g)?v[y]=t({sx:g,theme:i}):v=ko(v,x)}else v=ko(v,e(y,g,i,a))}),Fx(m,v)}return Array.isArray(o)?o.map(l):l(o)}return t}const mg=wk();mg.filterProps=["sx"];const Ic=mg,Ak=["breakpoints","palette","spacing","shape"];function vg(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,a=ye(e,Ak),l=cg(n),s=pg(o);let u=it({breakpoints:l,direction:"ltr",components:{},palette:A({mode:"light"},r),spacing:s,shape:A({},Mx,i)},a);return u=t.reduce((d,m)=>it(d,m),u),u.unstable_sxConfig=A({},Dc,a==null?void 0:a.unstable_sxConfig),u.unstable_sx=function(m){return Ic({sx:m,theme:this})},u}function Ek(e){return Object.keys(e).length===0}function gg(e=null){const t=b.exports.useContext(pl);return!t||Ek(t)?e:t}const $k=vg();function Pk(e=$k){return gg(e)}const _k=["variant"];function Bd(e){return e.length===0}function hg(e){const{variant:t}=e,n=ye(e,_k);let r=t||"";return Object.keys(n).sort().forEach(o=>{o==="color"?r+=Bd(r)?e[o]:ke(e[o]):r+=`${Bd(r)?o:ke(o)}${ke(e[o].toString())}`}),r}const Tk=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Rk(e){return Object.keys(e).length===0}function Ok(e){return typeof e=="string"&&e.charCodeAt(0)>96}const Dk=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,Ea=e=>{const t={};return e&&e.forEach(n=>{const r=hg(n.props);t[r]=n.style}),t},Ik=(e,t)=>{let n=[];return t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants),Ea(n)},$a=(e,t,n)=>{const{ownerState:r={}}=e,o=[];return n&&n.forEach(i=>{let a=!0;Object.keys(i.props).forEach(l=>{r[l]!==i.props[l]&&e[l]!==i.props[l]&&(a=!1)}),a&&o.push(t[hg(i.props)])}),o},Nk=(e,t,n,r)=>{var o;const i=n==null||(o=n.components)==null||(o=o[r])==null?void 0:o.variants;return $a(e,t,i)};function rs(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const zk=vg(),Lk=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Qi({defaultTheme:e,theme:t,themeId:n}){return Rk(t)?e:t[n]||t}function Mk(e){return e?(t,n)=>n[e]:null}const jd=({styledArg:e,props:t,defaultTheme:n,themeId:r})=>{const o=e(A({},t,{theme:Qi(A({},t,{defaultTheme:n,themeId:r}))}));let i;if(o&&o.variants&&(i=o.variants,delete o.variants),i){const a=$a(t,Ea(i),i);return[o,...a]}return o};function Vk(e={}){const{themeId:t,defaultTheme:n=zk,rootShouldForwardProp:r=rs,slotShouldForwardProp:o=rs}=e,i=a=>Ic(A({},a,{theme:Qi(A({},a,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(a,l={})=>{Ix(a,k=>k.filter(h=>!(h!=null&&h.__mui_systemSx)));const{name:s,slot:u,skipVariantsResolver:d,skipSx:m,overridesResolver:v=Mk(Lk(u))}=l,y=ye(l,Tk),g=d!==void 0?d:u&&u!=="Root"&&u!=="root"||!1,x=m||!1;let C,p=rs;u==="Root"||u==="root"?p=r:u?p=o:Ok(a)&&(p=void 0);const f=Dx(a,A({shouldForwardProp:p,label:C},y)),c=(k,...h)=>{const w=h?h.map(E=>{if(typeof E=="function"&&E.__emotion_real!==E)return N=>jd({styledArg:E,props:N,defaultTheme:n,themeId:t});if(gn(E)){let N=E,B;return E&&E.variants&&(B=E.variants,delete N.variants,N=U=>{let Q=E;return $a(U,Ea(B),B).forEach(T=>{Q=it(Q,T)}),Q}),N}return E}):[];let S=k;if(gn(k)){let E;k&&k.variants&&(E=k.variants,delete S.variants,S=N=>{let B=k;return $a(N,Ea(E),E).forEach(Q=>{B=it(B,Q)}),B})}else typeof k=="function"&&k.__emotion_real!==k&&(S=E=>jd({styledArg:k,props:E,defaultTheme:n,themeId:t}));s&&v&&w.push(E=>{const N=Qi(A({},E,{defaultTheme:n,themeId:t})),B=Dk(s,N);if(B){const U={};return Object.entries(B).forEach(([Q,M])=>{U[Q]=typeof M=="function"?M(A({},E,{theme:N})):M}),v(E,U)}return null}),s&&!g&&w.push(E=>{const N=Qi(A({},E,{defaultTheme:n,themeId:t}));return Nk(E,Ik(s,N),N,s)}),x||w.push(i);const $=w.length-h.length;if(Array.isArray(k)&&$>0){const E=new Array($).fill("");S=[...k,...E],S.raw=[...k.raw,...E]}const z=f(S,...w);return a.muiName&&(z.muiName=a.muiName),z};return f.withConfig&&(c.withConfig=f.withConfig),c}}function Fk(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Fv(t.components[n].defaultProps,r)}function Bk({props:e,name:t,defaultTheme:n,themeId:r}){let o=Pk(n);return r&&(o=o[r]||o),Fk({theme:o,name:t,props:e})}function jk(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 yg(e){if(e.type)return e;if(e.charAt(0)==="#")return yg(jk(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(Sa(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(Sa(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const Mn=e=>{const t=yg(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")},Uk=b.exports.createContext(null),xg=Uk;function Nc(){return b.exports.useContext(xg)}const Hk=typeof Symbol=="function"&&Symbol.for,Wk=Hk?Symbol.for("mui.nested"):"__THEME_NESTED__";function Kk(e,t){return typeof t=="function"?t(e):A({},e,t)}function Gk(e){const{children:t,theme:n}=e,r=Nc(),o=b.exports.useMemo(()=>{const i=r===null?n:Kk(r,n);return i!=null&&(i[Wk]=r!==null),i},[n,r]);return I(xg.Provider,{value:o,children:t})}const Ud={};function Hd(e,t,n,r=!1){return b.exports.useMemo(()=>{const o=e&&t[e]||t;if(typeof n=="function"){const i=n(o),a=e?A({},t,{[e]:i}):i;return r?()=>a:a}return e?A({},t,{[e]:n}):A({},t,n)},[e,t,n,r])}function Yk(e){const{children:t,theme:n,themeId:r}=e,o=gg(Ud),i=Nc()||Ud,a=Hd(r,o,n),l=Hd(r,i,n,!0);return I(Gk,{theme:l,children:I(pl.Provider,{value:a,children:t})})}const zc="mode",Lc="color-scheme",kg="data-color-scheme";function Qk(e){const{defaultMode:t="light",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:o=zc,colorSchemeStorageKey:i=Lc,attribute:a=kg,colorSchemeNode:l="document.documentElement"}=e||{};return I("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) { ${l}.setAttribute('${a}', colorScheme); } } catch(e){}})();`}},"mui-color-scheme-init")}function Wd(e){if(typeof window<"u"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Cg(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 Jk(e){return Cg(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function os(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 Xk(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:o=[],modeStorageKey:i=zc,colorSchemeStorageKey:a=Lc,storageWindow:l=typeof window>"u"?void 0:window}=e,s=o.join(","),[u,d]=b.exports.useState(()=>{const C=os(i,t),p=os(`${a}-light`,n),f=os(`${a}-dark`,r);return{mode:C,systemMode:Wd(C),lightColorScheme:p,darkColorScheme:f}}),m=Jk(u),v=b.exports.useCallback(C=>{d(p=>{if(C===p.mode)return p;const f=C||t;try{localStorage.setItem(i,f)}catch{}return A({},p,{mode:f,systemMode:Wd(f)})})},[i,t]),y=b.exports.useCallback(C=>{C?typeof C=="string"?C&&!s.includes(C)?console.error(`\`${C}\` does not exist in \`theme.colorSchemes\`.`):d(p=>{const f=A({},p);return Cg(p,c=>{try{localStorage.setItem(`${a}-${c}`,C)}catch{}c==="light"&&(f.lightColorScheme=C),c==="dark"&&(f.darkColorScheme=C)}),f}):d(p=>{const f=A({},p),c=C.light===null?n:C.light,k=C.dark===null?r:C.dark;if(c)if(!s.includes(c))console.error(`\`${c}\` does not exist in \`theme.colorSchemes\`.`);else{f.lightColorScheme=c;try{localStorage.setItem(`${a}-light`,c)}catch{}}if(k)if(!s.includes(k))console.error(`\`${k}\` does not exist in \`theme.colorSchemes\`.`);else{f.darkColorScheme=k;try{localStorage.setItem(`${a}-dark`,k)}catch{}}return f}):d(p=>{try{localStorage.setItem(`${a}-light`,n),localStorage.setItem(`${a}-dark`,r)}catch{}return A({},p,{lightColorScheme:n,darkColorScheme:r})})},[s,a,n,r]),g=b.exports.useCallback(C=>{u.mode==="system"&&d(p=>A({},p,{systemMode:C!=null&&C.matches?"dark":"light"}))},[u.mode]),x=b.exports.useRef(g);return x.current=g,b.exports.useEffect(()=>{const C=(...f)=>x.current(...f),p=window.matchMedia("(prefers-color-scheme: dark)");return p.addListener(C),C(p),()=>p.removeListener(C)},[]),b.exports.useEffect(()=>{const C=p=>{const f=p.newValue;typeof p.key=="string"&&p.key.startsWith(a)&&(!f||s.match(f))&&(p.key.endsWith("light")&&y({light:f}),p.key.endsWith("dark")&&y({dark:f})),p.key===i&&(!f||["light","dark","system"].includes(f))&&v(f||t)};if(l)return l.addEventListener("storage",C),()=>l.removeEventListener("storage",C)},[y,v,i,a,s,t,l]),A({},u,{colorScheme:m,setMode:v,setColorScheme:y})}const Zk=["colorSchemes","components","generateCssVars","cssVarPrefix"],qk="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function eC(e){const{themeId:t,theme:n={},attribute:r=kg,modeStorageKey:o=zc,colorSchemeStorageKey:i=Lc,defaultMode:a="light",defaultColorScheme:l,disableTransitionOnChange:s=!1,resolveTheme:u,excludeVariablesFromRoot:d}=e;(!n.colorSchemes||typeof l=="string"&&!n.colorSchemes[l]||typeof l=="object"&&!n.colorSchemes[l==null?void 0:l.light]||typeof l=="object"&&!n.colorSchemes[l==null?void 0:l.dark])&&console.error(`MUI: \`${l}\` does not exist in \`theme.colorSchemes\`.`);const m=b.exports.createContext(void 0),v=()=>{const p=b.exports.useContext(m);if(!p)throw new Error(Sa(19));return p};function y({children:p,theme:f=n,modeStorageKey:c=o,colorSchemeStorageKey:k=i,attribute:h=r,defaultMode:w=a,defaultColorScheme:S=l,disableTransitionOnChange:$=s,storageWindow:z=typeof window>"u"?void 0:window,documentNode:E=typeof document>"u"?void 0:document,colorSchemeNode:N=typeof document>"u"?void 0:document.documentElement,colorSchemeSelector:B=":root",disableNestedContext:U=!1,disableStyleSheetGeneration:Q=!1}){const M=b.exports.useRef(!1),T=Nc(),R=b.exports.useContext(m),P=!!R&&!U,j=f[t],F=j||f,{colorSchemes:G={},components:W={},generateCssVars:kt=()=>({vars:{},css:{}}),cssVarPrefix:je}=F,jt=ye(F,Zk),Ue=Object.keys(G),re=typeof S=="string"?S:S.light,V=typeof S=="string"?S:S.dark,{mode:q,setMode:ne,systemMode:be,lightColorScheme:un,darkColorScheme:Wr,colorScheme:ch,setColorScheme:of}=Xk({supportedColorSchemes:Ue,defaultLightColorScheme:re,defaultDarkColorScheme:V,modeStorageKey:c,colorSchemeStorageKey:k,defaultMode:w,storageWindow:z});let Kr=q,Ut=ch;P&&(Kr=R.mode,Ut=R.colorScheme);const fh=(()=>Kr||(w==="system"?a:w))(),dh=(()=>Ut||(fh==="dark"?V:re))(),{css:ph,vars:af}=kt(),Ct=A({},jt,{components:W,colorSchemes:G,cssVarPrefix:je,vars:af,getColorSchemeSelector:dt=>`[${h}="${dt}"] &`}),Al={},lf={};Object.entries(G).forEach(([dt,Ht])=>{const{css:ai,vars:vh}=kt(dt);Ct.vars=it(Ct.vars,vh),dt===dh&&(Object.keys(Ht).forEach(Tt=>{Ht[Tt]&&typeof Ht[Tt]=="object"?Ct[Tt]=A({},Ct[Tt],Ht[Tt]):Ct[Tt]=Ht[Tt]}),Ct.palette&&(Ct.palette.colorScheme=dt));const gh=(()=>typeof S=="string"?S:w==="dark"?S.dark:S.light)();if(dt===gh){if(d){const Tt={};d(je).forEach(El=>{Tt[El]=ai[El],delete ai[El]}),Al[`[${h}="${dt}"]`]=Tt}Al[`${B}, [${h}="${dt}"]`]=ai}else lf[`${B===":root"?"":B}[${h}="${dt}"]`]=ai}),Ct.vars=it(Ct.vars,af),b.exports.useEffect(()=>{Ut&&N&&N.setAttribute(h,Ut)},[Ut,h,N]),b.exports.useEffect(()=>{let dt;if($&&M.current&&E){const Ht=E.createElement("style");Ht.appendChild(E.createTextNode(qk)),E.head.appendChild(Ht),window.getComputedStyle(E.body),dt=setTimeout(()=>{E.head.removeChild(Ht)},1)}return()=>{clearTimeout(dt)}},[Ut,$,E]),b.exports.useEffect(()=>(M.current=!0,()=>{M.current=!1}),[]);const mh=b.exports.useMemo(()=>({mode:Kr,systemMode:be,setMode:ne,lightColorScheme:un,darkColorScheme:Wr,colorScheme:Ut,setColorScheme:of,allColorSchemes:Ue}),[Ue,Ut,Wr,un,Kr,of,ne,be]);let sf=!0;(Q||P&&(T==null?void 0:T.cssVarPrefix)===je)&&(sf=!1);const uf=Oe(b.exports.Fragment,{children:[sf&&Oe(b.exports.Fragment,{children:[I(ns,{styles:{[B]:ph}}),I(ns,{styles:Al}),I(ns,{styles:lf})]}),I(Yk,{themeId:j?t:void 0,theme:u?u(Ct):Ct,children:p})]});return P?uf:I(m.Provider,{value:mh,children:uf})}const g=typeof l=="string"?l:l.light,x=typeof l=="string"?l:l.dark;return{CssVarsProvider:y,useColorScheme:v,getInitColorSchemeScript:p=>Qk(A({attribute:r,colorSchemeStorageKey:i,defaultMode:a,defaultLightColorScheme:g,defaultDarkColorScheme:x,modeStorageKey:o},p))}}function Mc(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 Kd=(e,t,n,r=[])=>{let o=e;t.forEach((i,a)=>{a===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])})},tC=(e,t,n)=>{function r(o,i=[],a=[]){Object.entries(o).forEach(([l,s])=>{(!n||n&&!n([...i,l]))&&s!=null&&(typeof s=="object"&&Object.keys(s).length>0?r(s,[...i,l],Array.isArray(s)?[...a,l]:a):t([...i,l],s,a))})}r(e)},nC=(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 is(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},a={};return tC(e,(l,s,u)=>{if((typeof s=="string"||typeof s=="number")&&(!r||!r(l,s))){const d=`--${n?`${n}-`:""}${l.join("-")}`;Object.assign(o,{[d]:nC(l,s)}),Kd(i,l,`var(${d})`,u),Kd(a,l,`var(${d}, ${s})`,u)}},l=>l[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}const rC=["colorSchemes","components"],oC=["light"];function iC(e,t){const{colorSchemes:n={}}=e,r=ye(e,rC),{vars:o,css:i,varsWithDefaults:a}=is(r,t);let l=a;const s={},{light:u}=n,d=ye(n,oC);if(Object.entries(d||{}).forEach(([v,y])=>{const{vars:g,css:x,varsWithDefaults:C}=is(y,t);l=it(l,C),s[v]={css:x,vars:g}}),u){const{css:v,vars:y,varsWithDefaults:g}=is(u,t);l=it(l,g),s.light={css:v,vars:y}}return{vars:l,generateCssVars:v=>v?{css:A({},s[v].css),vars:s[v].vars}:{css:A({},i),vars:o}}}const aC=A({},Dc,{borderRadius:{themeKey:"radius"},boxShadow:{themeKey:"shadow"},fontFamily:{themeKey:"fontFamily"},fontSize:{themeKey:"fontSize"},fontWeight:{themeKey:"fontWeight"},letterSpacing:{themeKey:"letterSpacing"},lineHeight:{themeKey:"lineHeight"}}),lC=aC,sC={grey:{50:"#FBFCFE",100:"#F0F4F8",200:"#DDE7EE",300:"#CDD7E1",400:"#9FA6AD",500:"#636B74",600:"#555E68",700:"#32383E",800:"#171A1C",900:"#0B0D0E"},blue:{50:"#EDF5FD",100:"#E3EFFB",200:"#C7DFF7",300:"#97C3F0",400:"#4393E4",500:"#0B6BCB",600:"#185EA5",700:"#12467B",800:"#0A2744",900:"#051423"},yellow:{50:"#FEFAF6",100:"#FDF0E1",200:"#FCE1C2",300:"#F3C896",400:"#EA9A3E",500:"#9A5B13",600:"#72430D",700:"#492B08",800:"#2E1B05",900:"#1D1002"},red:{50:"#FEF6F6",100:"#FCE4E4",200:"#F7C5C5",300:"#F09898",400:"#E47474",500:"#C41C1C",600:"#A51818",700:"#7D1212",800:"#430A0A",900:"#240505"},green:{50:"#F6FEF6",100:"#E3FBE3",200:"#C7F7C7",300:"#A1E8A1",400:"#51BC51",500:"#1F7A1F",600:"#136C13",700:"#0A470A",800:"#042F04",900:"#021D02"}},no=sC;function uC(e){var t;return!!e[0].match(/^(typography|variants|breakpoints)$/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/^(mode)$/))||e[0]==="focus"&&e[1]!=="thickness"}const Bt=(e,t)=>Bv(e,t,"Mui"),xt=(e,t)=>r1(e,t,"Mui"),cC=e=>e&&typeof e=="object"&&Object.keys(e).some(t=>{var n;return(n=t.match)==null?void 0:n.call(t,/^(plain(Hover|Active|Disabled)?(Color|Bg)|outlined(Hover|Active|Disabled)?(Color|Border|Bg)|soft(Hover|Active|Disabled)?(Color|Bg)|solid(Hover|Active|Disabled)?(Color|Bg))$/)}),Gd=(e,t,n)=>{t.includes("Color")&&(e.color=n),t.includes("Bg")&&(e.backgroundColor=n),t.includes("Border")&&(e.borderColor=n)},Yd=(e,t,n)=>{const r={};return Object.entries(t||{}).forEach(([o,i])=>{if(o.match(new RegExp(`${e}(color|bg|border)`,"i"))&&!!i){const a=n?n(o):i;o.includes("Disabled")&&(r.pointerEvents="none",r.cursor="default",r["--Icon-color"]="currentColor"),o.match(/(Hover|Active|Disabled)/)||(r["--variant-borderWidth"]||(r["--variant-borderWidth"]="0px"),o.includes("Border")&&(r["--variant-borderWidth"]="1px",r.border="var(--variant-borderWidth) solid")),Gd(r,o,a)}}),r},Le=(e,t)=>{let n={};if(t){const{getCssVar:r,palette:o}=t;Object.entries(o).forEach(i=>{const[a,l]=i;cC(l)&&typeof l=="object"&&(n=A({},n,{[a]:Yd(e,l,s=>`var(--variant-${s}, ${r(`palette-${a}-${s}`,o[a][s])})`)}))})}return n.context=Yd(e,{plainColor:"var(--variant-plainColor)",plainHoverColor:"var(--variant-plainHoverColor)",plainHoverBg:"var(--variant-plainHoverBg)",plainActiveBg:"var(--variant-plainActiveBg)",plainDisabledColor:"var(--variant-plainDisabledColor)",outlinedColor:"var(--variant-outlinedColor)",outlinedBorder:"var(--variant-outlinedBorder)",outlinedHoverColor:"var(--variant-outlinedHoverColor)",outlinedHoverBorder:"var(--variant-outlinedHoverBorder)",outlinedHoverBg:"var(--variant-outlinedHoverBg)",outlinedActiveBg:"var(--variant-outlinedActiveBg)",outlinedDisabledColor:"var(--variant-outlinedDisabledColor)",outlinedDisabledBorder:"var(--variant-outlinedDisabledBorder)",softColor:"var(--variant-softColor)",softBg:"var(--variant-softBg)",softHoverColor:"var(--variant-softHoverColor)",softHoverBg:"var(--variant-softHoverBg)",softActiveBg:"var(--variant-softActiveBg)",softDisabledColor:"var(--variant-softDisabledColor)",softDisabledBg:"var(--variant-softDisabledBg)",solidColor:"var(--variant-solidColor)",solidBg:"var(--variant-solidBg)",solidHoverBg:"var(--variant-solidHoverBg)",solidActiveBg:"var(--variant-solidActiveBg)",solidDisabledColor:"var(--variant-solidDisabledColor)",solidDisabledBg:"var(--variant-solidDisabledBg)"}),n},fC=["cssVarPrefix","breakpoints","spacing","components","variants","shouldSkipGeneratingVar"],dC=["colorSchemes"],pC=(e="joy")=>Mc(e);function Sg(e){var t,n,r,o,i,a,l,s,u,d;const m=e||{},{cssVarPrefix:v="joy",breakpoints:y,spacing:g,components:x,variants:C,shouldSkipGeneratingVar:p=uC}=m,f=ye(m,fC),c=pC(v),k={primary:no.blue,neutral:no.grey,danger:no.red,success:no.green,warning:no.yellow,common:{white:"#FFF",black:"#000"}},h=V=>{var q;const ne=V.split("-"),be=ne[1],un=ne[2];return c(V,(q=k[be])==null?void 0:q[un])},w=V=>({plainColor:h(`palette-${V}-500`),plainHoverBg:h(`palette-${V}-100`),plainActiveBg:h(`palette-${V}-200`),plainDisabledColor:h("palette-neutral-400"),outlinedColor:h(`palette-${V}-500`),outlinedBorder:h(`palette-${V}-300`),outlinedHoverBg:h(`palette-${V}-100`),outlinedActiveBg:h(`palette-${V}-200`),outlinedDisabledColor:h("palette-neutral-400"),outlinedDisabledBorder:h("palette-neutral-200"),softColor:h(`palette-${V}-700`),softBg:h(`palette-${V}-100`),softHoverBg:h(`palette-${V}-200`),softActiveColor:h(`palette-${V}-800`),softActiveBg:h(`palette-${V}-300`),softDisabledColor:h("palette-neutral-400"),softDisabledBg:h("palette-neutral-50"),solidColor:h("palette-common-white"),solidBg:h(`palette-${V}-500`),solidHoverBg:h(`palette-${V}-600`),solidActiveBg:h(`palette-${V}-700`),solidDisabledColor:h("palette-neutral-400"),solidDisabledBg:h("palette-neutral-100")}),S=V=>({plainColor:h(`palette-${V}-300`),plainHoverBg:h(`palette-${V}-800`),plainActiveBg:h(`palette-${V}-700`),plainDisabledColor:h("palette-neutral-500"),outlinedColor:h(`palette-${V}-200`),outlinedBorder:h(`palette-${V}-700`),outlinedHoverBg:h(`palette-${V}-800`),outlinedActiveBg:h(`palette-${V}-700`),outlinedDisabledColor:h("palette-neutral-500"),outlinedDisabledBorder:h("palette-neutral-800"),softColor:h(`palette-${V}-200`),softBg:h(`palette-${V}-800`),softHoverBg:h(`palette-${V}-700`),softActiveColor:h(`palette-${V}-100`),softActiveBg:h(`palette-${V}-600`),softDisabledColor:h("palette-neutral-500"),softDisabledBg:h("palette-neutral-800"),solidColor:h("palette-common-white"),solidBg:h(`palette-${V}-500`),solidHoverBg:h(`palette-${V}-600`),solidActiveBg:h(`palette-${V}-700`),solidDisabledColor:h("palette-neutral-500"),solidDisabledBg:h("palette-neutral-800")}),$={palette:{mode:"light",primary:A({},k.primary,w("primary")),neutral:A({},k.neutral,w("neutral"),{plainColor:h("palette-neutral-700"),plainHoverColor:h("palette-neutral-900"),outlinedColor:h("palette-neutral-700")}),danger:A({},k.danger,w("danger")),success:A({},k.success,w("success")),warning:A({},k.warning,w("warning")),common:{white:"#FFF",black:"#000"},text:{primary:h("palette-neutral-800"),secondary:h("palette-neutral-700"),tertiary:h("palette-neutral-600"),icon:h("palette-neutral-500")},background:{body:h("palette-common-white"),surface:h("palette-neutral-50"),popup:h("palette-common-white"),level1:h("palette-neutral-100"),level2:h("palette-neutral-200"),level3:h("palette-neutral-300"),tooltip:h("palette-neutral-500"),backdrop:`rgba(${c("palette-neutral-darkChannel",Mn(k.neutral[900]))} / 0.25)`},divider:`rgba(${c("palette-neutral-mainChannel",Mn(k.neutral[500]))} / 0.2)`,focusVisible:h("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"21 21 21",shadowOpacity:"0.08"},z={palette:{mode:"dark",primary:A({},k.primary,S("primary")),neutral:A({},k.neutral,S("neutral"),{plainColor:h("palette-neutral-300"),plainHoverColor:h("palette-neutral-300")}),danger:A({},k.danger,S("danger")),success:A({},k.success,S("success")),warning:A({},k.warning,S("warning")),common:{white:"#FFF",black:"#000"},text:{primary:h("palette-neutral-100"),secondary:h("palette-neutral-300"),tertiary:h("palette-neutral-400"),icon:h("palette-neutral-400")},background:{body:h("palette-common-black"),surface:h("palette-neutral-900"),popup:h("palette-common-black"),level1:h("palette-neutral-800"),level2:h("palette-neutral-700"),level3:h("palette-neutral-600"),tooltip:h("palette-neutral-600"),backdrop:`rgba(${c("palette-neutral-darkChannel",Mn(k.neutral[50]))} / 0.25)`},divider:`rgba(${c("palette-neutral-mainChannel",Mn(k.neutral[500]))} / 0.16)`,focusVisible:h("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"0 0 0",shadowOpacity:"0.6"},E='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',N=A({body:`"Inter", ${c(`fontFamily-fallback, ${E}`)}`,display:`"Inter", ${c(`fontFamily-fallback, ${E}`)}`,code:"Source Code Pro,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",fallback:E},f.fontFamily),B=A({sm:300,md:500,lg:600,xl:700},f.fontWeight),U=A({xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem",xl2:"1.5rem",xl3:"1.875rem",xl4:"2.25rem"},f.fontSize),Q=A({xs:"1.33334",sm:"1.42858",md:"1.5",lg:"1.55556",xl:"1.66667"},f.lineHeight),M=(t=(n=f.colorSchemes)==null||(n=n.light)==null?void 0:n.shadowRing)!=null?t:$.shadowRing,T=(r=(o=f.colorSchemes)==null||(o=o.light)==null?void 0:o.shadowChannel)!=null?r:$.shadowChannel,R=(i=(a=f.colorSchemes)==null||(a=a.light)==null?void 0:a.shadowOpacity)!=null?i:$.shadowOpacity,P={colorSchemes:{light:$,dark:z},fontSize:U,fontFamily:N,fontWeight:B,focus:{thickness:"2px",selector:`&.${Bt("","focusVisible")}, &:focus-visible`,default:{outlineOffset:`var(--focus-outline-offset, ${c("focus-thickness",(l=(s=f.focus)==null?void 0:s.thickness)!=null?l:"2px")})`,outline:`${c("focus-thickness",(u=(d=f.focus)==null?void 0:d.thickness)!=null?u:"2px")} solid ${c("palette-focusVisible",k.primary[500])}`}},lineHeight:Q,radius:{xs:"2px",sm:"6px",md:"8px",lg:"12px",xl:"16px"},shadow:{xs:`${c("shadowRing",M)}, 0px 1px 2px 0px rgba(${c("shadowChannel",T)} / ${c("shadowOpacity",R)})`,sm:`${c("shadowRing",M)}, 0px 1px 2px 0px rgba(${c("shadowChannel",T)} / ${c("shadowOpacity",R)}), 0px 2px 4px 0px rgba(${c("shadowChannel",T)} / ${c("shadowOpacity",R)})`,md:`${c("shadowRing",M)}, 0px 2px 8px -2px rgba(${c("shadowChannel",T)} / ${c("shadowOpacity",R)}), 0px 6px 12px -2px rgba(${c("shadowChannel",T)} / ${c("shadowOpacity",R)})`,lg:`${c("shadowRing",M)}, 0px 2px 8px -2px rgba(${c("shadowChannel",T)} / ${c("shadowOpacity",R)}), 0px 12px 16px -4px rgba(${c("shadowChannel",T)} / ${c("shadowOpacity",R)})`,xl:`${c("shadowRing",M)}, 0px 2px 8px -2px rgba(${c("shadowChannel",T)} / ${c("shadowOpacity",R)}), 0px 20px 24px -4px rgba(${c("shadowChannel",T)} / ${c("shadowOpacity",R)})`},zIndex:{badge:1,table:10,popup:1e3,modal:1300,snackbar:1400,tooltip:1500},typography:{h1:{fontFamily:c(`fontFamily-display, ${N.display}`),fontWeight:c(`fontWeight-xl, ${B.xl}`),fontSize:c(`fontSize-xl4, ${U.xl4}`),lineHeight:c(`lineHeight-xs, ${Q.xs}`),letterSpacing:"-0.025em",color:c(`palette-text-primary, ${$.palette.text.primary}`)},h2:{fontFamily:c(`fontFamily-display, ${N.display}`),fontWeight:c(`fontWeight-xl, ${B.xl}`),fontSize:c(`fontSize-xl3, ${U.xl3}`),lineHeight:c(`lineHeight-xs, ${Q.xs}`),letterSpacing:"-0.025em",color:c(`palette-text-primary, ${$.palette.text.primary}`)},h3:{fontFamily:c(`fontFamily-display, ${N.display}`),fontWeight:c(`fontWeight-lg, ${B.lg}`),fontSize:c(`fontSize-xl2, ${U.xl2}`),lineHeight:c(`lineHeight-xs, ${Q.xs}`),letterSpacing:"-0.025em",color:c(`palette-text-primary, ${$.palette.text.primary}`)},h4:{fontFamily:c(`fontFamily-display, ${N.display}`),fontWeight:c(`fontWeight-lg, ${B.lg}`),fontSize:c(`fontSize-xl, ${U.xl}`),lineHeight:c(`lineHeight-md, ${Q.md}`),letterSpacing:"-0.025em",color:c(`palette-text-primary, ${$.palette.text.primary}`)},"title-lg":{fontFamily:c(`fontFamily-body, ${N.body}`),fontWeight:c(`fontWeight-lg, ${B.lg}`),fontSize:c(`fontSize-lg, ${U.lg}`),lineHeight:c(`lineHeight-xs, ${Q.xs}`),color:c(`palette-text-primary, ${$.palette.text.primary}`)},"title-md":{fontFamily:c(`fontFamily-body, ${N.body}`),fontWeight:c(`fontWeight-md, ${B.md}`),fontSize:c(`fontSize-md, ${U.md}`),lineHeight:c(`lineHeight-md, ${Q.md}`),color:c(`palette-text-primary, ${$.palette.text.primary}`)},"title-sm":{fontFamily:c(`fontFamily-body, ${N.body}`),fontWeight:c(`fontWeight-md, ${B.md}`),fontSize:c(`fontSize-sm, ${U.sm}`),lineHeight:c(`lineHeight-sm, ${Q.sm}`),color:c(`palette-text-primary, ${$.palette.text.primary}`)},"body-lg":{fontFamily:c(`fontFamily-body, ${N.body}`),fontSize:c(`fontSize-lg, ${U.lg}`),lineHeight:c(`lineHeight-md, ${Q.md}`),color:c(`palette-text-secondary, ${$.palette.text.secondary}`)},"body-md":{fontFamily:c(`fontFamily-body, ${N.body}`),fontSize:c(`fontSize-md, ${U.md}`),lineHeight:c(`lineHeight-md, ${Q.md}`),color:c(`palette-text-secondary, ${$.palette.text.secondary}`)},"body-sm":{fontFamily:c(`fontFamily-body, ${N.body}`),fontSize:c(`fontSize-sm, ${U.sm}`),lineHeight:c(`lineHeight-md, ${Q.md}`),color:c(`palette-text-tertiary, ${$.palette.text.tertiary}`)},"body-xs":{fontFamily:c(`fontFamily-body, ${N.body}`),fontWeight:c(`fontWeight-md, ${B.md}`),fontSize:c(`fontSize-xs, ${U.xs}`),lineHeight:c(`lineHeight-md, ${Q.md}`),color:c(`palette-text-tertiary, ${$.palette.text.tertiary}`)}}},j=f?it(P,f):P,{colorSchemes:F}=j,G=ye(j,dC),W=A({colorSchemes:F},G,{breakpoints:cg(y!=null?y:{}),components:it({MuiSvgIcon:{defaultProps:{fontSize:"xl2"},styleOverrides:{root:({ownerState:V,theme:q})=>{var ne;const be=V.instanceFontSize;return A({margin:"var(--Icon-margin)"},V.fontSize&&V.fontSize!=="inherit"&&{fontSize:`var(--Icon-fontSize, ${q.vars.fontSize[V.fontSize]})`},!V.htmlColor&&A({color:`var(--Icon-color, ${W.vars.palette.text.icon})`},V.color&&V.color!=="inherit"&&q.vars.palette[V.color]&&{color:`rgba(${(ne=q.vars.palette[V.color])==null?void 0:ne.mainChannel} / 1)`}),be&&be!=="inherit"&&{"--Icon-fontSize":q.vars.fontSize[be]})}}}},x),cssVarPrefix:v,getCssVar:c,spacing:pg(g)});function kt(V,q){Object.keys(q).forEach(ne=>{const be={main:"500",light:"200",dark:"700"};V==="dark"&&(be.main=400),!q[ne].mainChannel&&q[ne][be.main]&&(q[ne].mainChannel=Mn(q[ne][be.main])),!q[ne].lightChannel&&q[ne][be.light]&&(q[ne].lightChannel=Mn(q[ne][be.light])),!q[ne].darkChannel&&q[ne][be.dark]&&(q[ne].darkChannel=Mn(q[ne][be.dark]))})}Object.entries(W.colorSchemes).forEach(([V,q])=>{kt(V,q.palette)});const je={prefix:v,shouldSkipGeneratingVar:p},{vars:jt,generateCssVars:Ue}=iC(A({colorSchemes:F},G),je);W.vars=jt,W.generateCssVars=Ue,W.unstable_sxConfig=A({},lC,e==null?void 0:e.unstable_sxConfig),W.unstable_sx=function(q){return Ic({sx:q,theme:this})},W.getColorSchemeSelector=V=>V==="light"?"&":`&[data-joy-color-scheme="${V}"], [data-joy-color-scheme="${V}"] &`;const re={getCssVar:c,palette:W.colorSchemes.light.palette};return W.variants=it({plain:Le("plain",re),plainHover:Le("plainHover",re),plainActive:Le("plainActive",re),plainDisabled:Le("plainDisabled",re),outlined:Le("outlined",re),outlinedHover:Le("outlinedHover",re),outlinedActive:Le("outlinedActive",re),outlinedDisabled:Le("outlinedDisabled",re),soft:Le("soft",re),softHover:Le("softHover",re),softActive:Le("softActive",re),softDisabled:Le("softDisabled",re),solid:Le("solid",re),solidHover:Le("solidHover",re),solidActive:Le("solidActive",re),solidDisabled:Le("solidDisabled",re)},C),W.palette=A({},W.colorSchemes.light.palette,{colorScheme:"light"}),W.shouldSkipGeneratingVar=p,W}const mC=Sg(),Vc=mC,Fc="$$joy",vC=Vk({defaultTheme:Vc,themeId:Fc}),ce=vC;function ln({props:e,name:t}){return Bk({props:e,name:t,defaultTheme:A({},Vc,{components:{}}),themeId:Fc})}const gC=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],hC=["component","slots","slotProps"],yC=["component"];function Fe(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,getSlotOwnerState:a,internalForwardedProps:l}=t,s=ye(t,gC),{component:u,slots:d={[e]:void 0},slotProps:m={[e]:void 0}}=i,v=ye(i,hC),y=d[e]||r,g=d1(m[e],o),x=p1(A({className:n},s,{externalForwardedProps:e==="root"?v:void 0,externalSlotProps:g})),{props:{component:C},internalRef:p}=x,f=ye(x.props,yC),c=jr(p,g==null?void 0:g.ref,t.ref),k=a?a(f):{},h=A({},o,k),w=e==="root"?C||u:C,S=i1(y,A({},e==="root"&&!u&&!d[e]&&l,e!=="root"&&!d[e]&&l,f,w&&{as:w},{ref:c}),h);return Object.keys(k).forEach($=>{delete S[$]}),[y,S]}function xC(e){return Bt("MuiCircularProgress",e)}xt("MuiCircularProgress",["root","determinate","svg","track","progress","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid"]);let kC=e=>e,Qd;const CC=["color","backgroundColor"],SC=["children","className","color","size","variant","thickness","determinate","value","component","slots","slotProps"],bC=ug({"0%":{transform:"rotate(-90deg)"},"100%":{transform:"rotate(270deg)"}}),wC=e=>{const{determinate:t,color:n,variant:r,size:o}=e,i={root:["root",t&&"determinate",n&&`color${ke(n)}`,r&&`variant${ke(r)}`,o&&`size${ke(o)}`],svg:["svg"],track:["track"],progress:["progress"]};return an(i,xC,{})};function or(e,t){return`var(--CircularProgress-${e}Thickness, var(--CircularProgress-thickness, ${t}))`}const AC=ce("span",{name:"JoyCircularProgress",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e,theme:t})=>{var n,r,o,i;const a=((n=t.variants[e.variant])==null?void 0:n[e.color])||{},{color:l,backgroundColor:s}=a,u=ye(a,CC);return A({"--Icon-fontSize":"calc(0.4 * var(--_root-size))","--CircularProgress-trackColor":s,"--CircularProgress-progressColor":l,"--CircularProgress-percent":e.value,"--CircularProgress-linecap":"round"},e.size==="sm"&&{"--_root-size":"var(--CircularProgress-size, 24px)","--_track-thickness":or("track","3px"),"--_progress-thickness":or("progress","3px")},e.instanceSize==="sm"&&{"--CircularProgress-size":"24px"},e.size==="md"&&{"--_track-thickness":or("track","6px"),"--_progress-thickness":or("progress","6px"),"--_root-size":"var(--CircularProgress-size, 40px)"},e.instanceSize==="md"&&{"--CircularProgress-size":"40px"},e.size==="lg"&&{"--_track-thickness":or("track","8px"),"--_progress-thickness":or("progress","8px"),"--_root-size":"var(--CircularProgress-size, 64px)"},e.instanceSize==="lg"&&{"--CircularProgress-size":"64px"},e.thickness&&{"--_track-thickness":`${e.thickness}px`,"--_progress-thickness":`${e.thickness}px`},{"--_thickness-diff":"calc(var(--_track-thickness) - var(--_progress-thickness))","--_inner-size":"calc(var(--_root-size) - 2 * var(--variant-borderWidth, 0px))","--_outlined-inset":"max(var(--_track-thickness), var(--_progress-thickness))",width:"var(--_root-size)",height:"var(--_root-size)",borderRadius:"var(--_root-size)",margin:"var(--CircularProgress-margin)",boxSizing:"border-box",display:"inline-flex",justifyContent:"center",alignItems:"center",flexShrink:0,position:"relative",color:l},e.children&&{fontFamily:t.vars.fontFamily.body,fontWeight:t.vars.fontWeight.md,fontSize:"calc(0.2 * var(--_root-size))"},u,e.variant==="outlined"&&{"&:before":A({content:'""',display:"block",position:"absolute",borderRadius:"inherit",top:"var(--_outlined-inset)",left:"var(--_outlined-inset)",right:"var(--_outlined-inset)",bottom:"var(--_outlined-inset)"},u)},e.variant==="soft"&&{"--CircularProgress-trackColor":t.variants.soft.neutral.backgroundColor,"--CircularProgress-progressColor":(r=t.variants.solid)==null?void 0:r[e.color].backgroundColor},e.variant==="solid"&&{"--CircularProgress-trackColor":(o=t.variants.softHover)==null?void 0:o[e.color].backgroundColor,"--CircularProgress-progressColor":(i=t.variants.solid)==null?void 0:i[e.color].backgroundColor})}),EC=ce("svg",{name:"JoyCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({width:"inherit",height:"inherit",display:"inherit",boxSizing:"inherit",position:"absolute",top:"calc(-1 * var(--variant-borderWidth, 0px))",left:"calc(-1 * var(--variant-borderWidth, 0px))"}),$C=ce("circle",{name:"JoyCircularProgress",slot:"track",overridesResolver:(e,t)=>t.track})({cx:"50%",cy:"50%",r:"calc(var(--_inner-size) / 2 - var(--_track-thickness) / 2 + min(0px, var(--_thickness-diff) / 2))",fill:"transparent",strokeWidth:"var(--_track-thickness)",stroke:"var(--CircularProgress-trackColor)"}),PC=ce("circle",{name:"JoyCircularProgress",slot:"progress",overridesResolver:(e,t)=>t.progress})({"--_progress-radius":"calc(var(--_inner-size) / 2 - var(--_progress-thickness) / 2 - max(0px, var(--_thickness-diff) / 2))","--_progress-length":"calc(2 * 3.1415926535 * var(--_progress-radius))",cx:"50%",cy:"50%",r:"var(--_progress-radius)",fill:"transparent",strokeWidth:"var(--_progress-thickness)",stroke:"var(--CircularProgress-progressColor)",strokeLinecap:"var(--CircularProgress-linecap, round)",strokeDasharray:"var(--_progress-length)",strokeDashoffset:"calc(var(--_progress-length) - var(--CircularProgress-percent) * var(--_progress-length) / 100)",transformOrigin:"center",transform:"rotate(-90deg)"},({ownerState:e})=>!e.determinate&&Pc(Qd||(Qd=kC` animation: var(--CircularProgress-circulation, 0.8s linear 0s infinite normal none running) ${0}; `),bC)),_C=b.exports.forwardRef(function(t,n){const r=ln({props:t,name:"JoyCircularProgress"}),{children:o,className:i,color:a="primary",size:l="md",variant:s="soft",thickness:u,determinate:d=!1,value:m=d?0:25,component:v,slots:y={},slotProps:g={}}=r,x=ye(r,SC),C=A({},r,{color:a,size:l,variant:s,thickness:u,value:m,determinate:d,instanceSize:t.size}),p=wC(C),f=A({},x,{component:v,slots:y,slotProps:g}),[c,k]=Fe("root",{ref:n,className:Ja(p.root,i),elementType:AC,externalForwardedProps:f,ownerState:C,additionalProps:A({role:"progressbar",style:{"--CircularProgress-percent":m}},m&&d&&{"aria-valuenow":Math.round(typeof m=="number"?m:Number(m||0))})}),[h,w]=Fe("svg",{className:p.svg,elementType:EC,externalForwardedProps:f,ownerState:C}),[S,$]=Fe("track",{className:p.track,elementType:$C,externalForwardedProps:f,ownerState:C}),[z,E]=Fe("progress",{className:p.progress,elementType:PC,externalForwardedProps:f,ownerState:C});return Oe(c,A({},k,{children:[Oe(h,A({},w,{children:[I(S,A({},$)),I(z,A({},E))]})),o]}))}),Bc=_C,TC="modulepreload",RC=function(e,t){return new URL(e,t).href},Jd={},OC=function(t,n,r){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=RC(i,r),i in Jd)return;Jd[i]=!0;const a=i.endsWith(".css"),l=a?'[rel="stylesheet"]':"";if(!!r)for(let d=o.length-1;d>=0;d--){const m=o[d];if(m.href===i&&(!a||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${l}`))return;const u=document.createElement("link");if(u.rel=a?"stylesheet":TC,a||(u.as="script",u.crossOrigin=""),u.href=i,document.head.appendChild(u),a)return new Promise((d,m)=>{u.addEventListener("load",d),u.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())};function Pa(){return Pa=Object.assign||function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function IC(e){b.exports.useEffect(e,[])}function ro(e,t){t===void 0&&(t={});var n=t,r=n.volume,o=r===void 0?1:r,i=n.playbackRate,a=i===void 0?1:i,l=n.soundEnabled,s=l===void 0?!0:l,u=n.interrupt,d=u===void 0?!1:u,m=n.onload,v=DC(n,["id","volume","playbackRate","soundEnabled","interrupt","onload"]),y=et.useRef(null),g=et.useRef(!1),x=et.useState(null),C=x[0],p=x[1],f=et.useState(null),c=f[0],k=f[1],h=function(){typeof m=="function"&&m.call(this),g.current&&p(this.duration()*1e3),k(this)};IC(function(){return OC(()=>import("./howler.1832e58f.js").then(E=>E.h),[],import.meta.url).then(function(E){if(!g.current){var N;y.current=(N=E.Howl)!==null&&N!==void 0?N:E.default.Howl,g.current=!0,new y.current(Pa({src:Array.isArray(e)?e:[e],volume:o,rate:a,onload:h},v))}}),function(){g.current=!1}}),et.useEffect(function(){y.current&&c&&k(new y.current(Pa({src:Array.isArray(e)?e:[e],volume:o,onload:h},v)))},[JSON.stringify(e)]),et.useEffect(function(){c&&(c.volume(o),c.rate(a))},[o,a]);var w=et.useCallback(function(E){typeof E>"u"&&(E={}),!(!c||!s&&!E.forceSoundEnabled)&&(d&&c.stop(),E.playbackRate&&c.rate(E.playbackRate),c.play(E.id))},[c,s,d]),S=et.useCallback(function(E){!c||c.stop(E)},[c]),$=et.useCallback(function(E){!c||c.pause(E)},[c]),z=[w,{sound:c,stop:S,pause:$,duration:C}];return z}const NC=""+new URL("success.9f44cd89.wav",import.meta.url).href,zC=""+new URL("fail.60f46edb.wav",import.meta.url).href,LC="data:audio/mpeg;base64,SUQzAwAAAAAAUFRFTkMAAAAVIAAAU291bmQgR3JpbmRlciA0LjAuNABBUElDAAAABCAAAAAAAFRDT1AAAAAZIAAAQ29weXJpZ2h0IEFsYW4gTWNLaW5uZXkA//uUyAAAAAAAAAAAAAAAAAAAAAAAWGluZwAAAA8AAAANAAAN4AAHBwcHBwcHNjY2NjY2NjZJSUlJSUlJSV1dXV1dXV2Li4uLi4uLi6ampqampqamvr6+vr6+vtHR0dHR0dHR39/f39/f39/o6Ojo6Ojo8PDw8PDw8PD4+Pj4+Pj4+P////////8AAABOTEFNRTMuMTAwA7oAAAAAAAAAANQgJAZCgQAB4AAADeAQkyNZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//sUyAACwAABpAAAACAKAGAigDAEwD6VeGRIBqBoBlBi1EIgAIBIAL90pjqE6kjA8vDJoSu//TB0JzUpbv+pYOcHwNIBKydHUBkVdgdd/vEAA3wiYG+0aB967AcMSnIo//u0yCQAKWIXJfnagAO1Mef7N6ABJ8IcGJQNRJwDRhiXRVGQGwS44B5BgCA44ygMlCUDKonAz0SFVdInC4WSJjjAADoGNwuBnRBAacUwGliMBrM33p8wQKA1RAMOPGYAyGRwMoiMDk0wA6JUAOiLQDratAwKQP8g5E1SmTQ4BoAZcFQGKhABhwdAZIDgG12+BuFmganJoGbg1/5XIIRAvu6JubwMJj0DKIpA0cUgMTBAA4IAYrCoW9ADAwDEoVBtl//TTOE4SB8nCIGZufY3AKBgGTyiBlMmgZJEIGMgCBkMygZtGoGpkABmAgAYoBAAIOAxYMAMVAz/////m6H////8DGITDexOgNlg2zDlxRBHYnMLDBPhB4NLq8rKh6VCIwAQAEQDC7AONDEBmEApyeY03UMgSzAQ5cqExcpqwiYYewWr94lMS9xiGiPS/uTwHpn1onQeBYHDMN57pk05gGB4wumP00SlwWJiBKa4Wn8QC1oz96cf3KrytcIgj8EIQBEk5mkO7D0krW6WXfEvtbaSzldwBGGHGCIaZovLu5Zv1Foa+tuZluOzQKYiYICYAajc31HDT2S2gt9y3qa1/5Yd9r6GLDkvkim6vpE5mW9s7/e+fv////nP/J2brSQoBSqQeROhlaRf50XFqfvW98/eOv////7/////ymMwzluzqtKqpJVZu8zMqEdSIKUF8HUQL0wEuSqpJE4n5FDo6L2Ya1x+Wz0jqiUG4CgPiILCg9TUFhusHCU+bvsYKNBw//tkyB0AEI1pNf2EAAowLuS9hhm5lHCx9RBsyUJrLNIoYNhUPeMi2aRUZd18DLmNVZSRVjlsza16uKv321g4lZYeU1m0Pi2mKnTuLa+u/rmlq1j851i9W/uUKRPNOYIq7Mzu8KsjQSToF+NmIgqXSmk7RZTUPO9NZcWnPG4kgilPTGMusNMrkx8ytw5Plx9VEqT49hNTXqPMCZpam50rI6nMtHJkdSTlkWvGoqgErK9Qx3L+sKCrlu7u0dE0HRfG9zDFd4usZvLaRy5LRZ1em5aNU1fKZI1Ta/N+NSpAVNhIGWRd9ZuaRMScVKooEkoq//tkyAIADrUhE6wJI8EeGmN0oJj8QhEEoA1xR5llrFGNLL1GtB0QsiJkUnIiU8uKJ0hxY00aIiE4cNgsKgdYVRW0BWdpQwoSiEyqEc2KxorCW6iNf6iazFUM3Rv1LRkmRRdBuS6FWNS6SL7HKlW/yVpbVcirH/xytWmRBUNIBkmWHumCw7yxQDAYllebQKDgnMZ5L7/NEU+xCZEZ/rWLRLImUiZsuyYKRCyZFVEarP2aa3XKJJU9Vs5kxRstrtX5Zpr6tAwDMav/5jq9H/fVDl13++1kqkgY8IoiVLPELrivWCz8KAqCriNR4NVnVgqC//u0yBCABnwDGbQhgCcdwuX/N9AAz9Uqd/yoa+zLP/wZBUNf8Su/1uoRAO4ugOQKYcBgQAgUAAM7h44IcNJZwsFgQFYI4h9ryZ6EiM4WEwsGQGwORDCQcw4TllCYUBALAqBQEMAgdi9NDK9zBkIzC0JQCCxhoIJhOEEPxfg0CRhGDpg2A4YORheGJgAD0vo6sXe+IGGwKAUIzCMAwgGDBkRzEMhTIISTGMJDK0BcaeenYfhZg6K5i+EZk+T5kmMpEGRpSUpm8U5kapRi2I5gwiBtmPRo+3Usp7Uy/dNETAoejHQKjLoWjEkuTLsUREOZnaiprGNxoAbZk0o5skcZi23hpw7JpgO0vv3rfdfwzXE80DNcyZE0WAIw5BtYz2GHgTGusDGOwQGZplCy/GLIYIADAIRxUMe2L2f/vPvA4CQgBzBQAlUS/bGzAEA1JgEBQUBZjEG5gYARgoDJgYE5VCIwGCsQAcAQaMFAhAISf////////Lr6waa6Kbj2wMAaP8nMHwRTWQ0AwZgYBjBgDzAMFlMmhAUAG5BUBjAMIiAFDDcJA4A//////////////////////zA8BVa2WA4E3qgRQBkkbCAAhyc//////////////LVGB4PDQPmA4LFAFJarDCADyIHDAgD2GFgCVZ3+2suXEgAAK0RgwOSEn8XQQlqRUEYcEwchAKBIPILJhQtYV5H94jg1WlYSjq140InLjlaYrSSfX6tanLpVVqSmWYzkmiSDWHCqJJiTTEkg//uEyCgAFY2BRf2mAAMjMCW9p6Y4ifdCewNlVa6tLpNZdaPrCVEekkxdaPjISizkzutHRtJ0ZHy6Nlate1muzO1mrPTM2nJ/p1la7vTdlmx00ytd2suuqXn7Pf2UdjXLrOOuxO/bNr1rW2y556ctaasnd5d5lQkYAJShvZg0mCqEGBELU0A48w1A0LgVKUulvpawgvK/D1K3NxxNJcEZQlTZYYI5StbK2Ql6zNyzCS8r5RarGXJcdts20yjm5WrAsSoKESqpQ5SE2bZUWwkS3Hwtpg5kUhw9TOjFEtkqnXSLloz5aF0roZEB46IaQHxoiZVJGSUG86k14ojTMZrXSGTUvIhZS14qNNNKF1G0DDaFcKoRCx9IZimJLCa0PFk4CQWkWSXPFRTJ6pLbNzZ1CyqqyqdIlrU4vVUqOpqWqqltUAE5icsmAYmU1oEfpTaE//t0yAqAEblvMewk08nNqyV9gyC40ffiM5IpfLXqgCFxGIP1Q2CazSLabONlCZJIuwhTyrZONLNMLRtbVCNUlStX01JNqpIoE+NRQp0pvQ41PdUqvLBGsyjUFQqWmxNtq1XRpLWEvlpU708beSaXMb5kqy0Ox8pwq9Mwp1tlL/zDVxPZ3hJtgTDMkierGdlZ2iHhoyACpBcqalqzzqWnAU4yQrljJ8EhQ4JNwwsFXJEKFQ+mWU7YsYcTA0xlQfF2HylHQ0HAtEoqaMF2hGPMkOeoOaZmmS7oaYI55Q7qPrlONoKq4nqa+vnnSa3TaiK6mhi8U3dU3/81Fl+JVj3Pc8jVRUVkUGePmSG5ADEU7mEaUqv7/7h2y0lUKJGTynqB//tkyA8ADd1DJeWkc8GEKOS1Mw4wUopLXp5K5UiramnKEUK4MEZE4+viF8EUy8I4Qu2XQa01cvPxuV1iQraDyrD8PZa7KZNkmtq07VPhprWOTXKLcalC0CkV4ZWZEMRQLRHlnrfRbbftv/oEXNQD7FAnlLPOz2fUt0Lap4eqbuRIx3SOHMts+eyMdjt7fm/hJzOgmhRLDiLo/t9UmTpmXIKjBwoSR1TJDU178Jc6S5ZSl0+TJgZIKkPM4wogpsGpRSwZzjgzKmAGA5JsQipGAKo8H+r+7q9kbbnAqBZF7ZEtG0yv8yfnbNnKeQLcklgJ//tEyBSACtEdG6aYdME0GeK0oJj4ZAoMMcExh2G6rNnCUgwoNhahly6kft+z+5dz5yaqdPSwFCTywiWmI2qL+6/WsAE1BJy1EtpAkSfRmWvq5sZG9MvDHQ/6uhNJ6VlfOiATD0AEdcz9o5LLl4ZnmvM/5Vbv9NbGlQx1XgMRAzETgLQlwqElPXm5h+jr/9q6AIAADktkkaYEGfOeKX/dPpaLSL1LMdMZ//skyAwDCDzLF6SAZUCFgGSMAAgE5pkFEkJC7TGgq2TYIYQU1TrfxFNsQmUMQQu8kD6UjlXLWm1+v/nuj6vX//qAB//rBUi1YTAQdBqVDQclSJkCkUKAxYSEnhIkSnjqqgAAADBb////8X7P/////2f/q1itTEFN//sUyAuDwnQA5mCIYCAAADSAAAAERTMuMTAwVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV//sUyCcDwAABpAAAACAAADSAAAAEVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV//sUyEyDwAABpAAAACAAADSAAAAEVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVEFHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP8=",MC=""+new URL("error.760d6a02.mp3",import.meta.url).href,VC=""+new URL("switch.bcc0a5a4.mp3",import.meta.url).href,bg=b.exports.createContext(null),FC=({children:e})=>{const[t,n]=b.exports.useState(null);return b.exports.useEffect(()=>{qo("fetchSettings").then(r=>{n(r.settings)})},[]),I(bg.Provider,{value:{settings:t},children:e})},BC=()=>b.exports.useContext(bg),kl=()=>{const{settings:e}=BC(),[t]=ro(NC),[n]=ro(zC),[r]=ro(LC),[o]=ro(MC),[i]=ro(VC),a=b.exports.useMemo(()=>t,[t]),l=b.exports.useMemo(()=>n,[n]),s=b.exports.useMemo(()=>r,[r]),u=b.exports.useMemo(()=>o,[o]),d=b.exports.useMemo(()=>i,[i]);return{playSfx:v=>{if(e.useSfx)switch(v){case"success":a();break;case"fail":l();break;case"click":s();break;case"error":u();break;case"switch":d();break}}}},jC=()=>{const{playSfx:e}=kl();let t=b.exports.useRef(null);const n=b.exports.useRef(!0),[r,o]=b.exports.useState(!1),i=a=>{n.current&&e(a?"success":"fail"),o(!1),t.current&&clearInterval(t.current),qo("loadingStopped",a)};return Rn("startLoading",a=>{if(n.current=a.useSfx,o(!0),a.time===null)return;let l=a.time;t.current=setInterval(()=>{l-=1e3,l<=0&&(t.current&&clearInterval(t.current),i(!0))},1e3)}),Rn("stopLoading",i),r&&I("div",{className:"w-full h-full flex justify-center items-center bg-black/50",children:I(Bc,{variant:"soft",color:"primary",size:"md"})})},{CssVarsProvider:UC,useColorScheme:pA,getInitColorSchemeScript:mA}=eC({themeId:Fc,theme:Vc,attribute:"data-joy-color-scheme",modeStorageKey:"joy-mode",colorSchemeStorageKey:"joy-color-scheme",defaultColorScheme:{light:"light",dark:"dark"}});function HC(e){return Bt("MuiModal",e)}xt("MuiModal",["root","hidden","backdrop"]);const WC=b.exports.createContext(void 0),KC=WC,GC=["children","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onClose","onKeyDown","open","component","slots","slotProps"],YC=e=>{const{open:t}=e;return an({root:["root",!t&&"hidden"],backdrop:["backdrop"]},HC,{})},QC=ce("div")(({ownerState:e,theme:t})=>A({"--unstable_popup-zIndex":`calc(${t.vars.zIndex.modal} + 1)`,'& ~ [role="listbox"]':{"--unstable_popup-zIndex":`calc(${t.vars.zIndex.modal} + 1)`},position:"fixed",zIndex:t.vars.zIndex.modal,right:0,bottom:0,top:0,left:0},!e.open&&{visibility:"hidden"})),JC=ce(QC,{name:"JoyModal",slot:"Root",overridesResolver:(e,t)=>t.root})({}),XC=ce("div")(({theme:e})=>({zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:e.vars.palette.background.backdrop,WebkitTapHighlightColor:"transparent",backdropFilter:"blur(8px)"})),ZC=ce(XC,{name:"JoyModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({}),qC=b.exports.forwardRef(function(t,n){const r=ln({props:t,name:"JoyModal"}),{children:o,container:i,disableAutoFocus:a=!1,disableEnforceFocus:l=!1,disableEscapeKeyDown:s=!1,disablePortal:u=!1,disableRestoreFocus:d=!1,disableScrollLock:m=!1,hideBackdrop:v=!1,keepMounted:y=!1,onClose:g,open:x,component:C,slots:p={},slotProps:f={}}=r,c=ye(r,GC),k=A({},r,{disableAutoFocus:a,disableEnforceFocus:l,disableEscapeKeyDown:s,disablePortal:u,disableRestoreFocus:d,disableScrollLock:m,hideBackdrop:v,keepMounted:y}),{getRootProps:h,getBackdropProps:w,rootRef:S,portalRef:$,isTopModal:z}=O1(A({},k,{rootRef:n})),E=YC(k),N=A({},c,{component:C,slots:p,slotProps:f}),[B,U]=Fe("root",{ref:S,className:E.root,elementType:JC,externalForwardedProps:N,getSlotProps:h,ownerState:k}),[Q,M]=Fe("backdrop",{className:E.backdrop,elementType:ZC,externalForwardedProps:N,getSlotProps:w,ownerState:k});return!y&&!x?null:I(KC.Provider,{value:g,children:I(b1,{ref:$,container:i,disablePortal:u,children:Oe(B,A({},U,{children:[v?null:I(Q,A({},M)),I(C1,{disableEnforceFocus:l,disableAutoFocus:a,disableRestoreFocus:d,isEnabled:z,open:x,children:b.exports.Children.only(o)&&b.exports.cloneElement(o,A({},o.props.tabIndex===void 0&&{tabIndex:-1}))})]}))})})}),eS=qC;function tS(e){return Bt("MuiModalDialog",e)}const nS=xt("MuiModalDialog",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","layoutCenter","layoutFullscreen"]),rS=nS,oS=b.exports.createContext(void 0),wg=oS,iS=b.exports.createContext(void 0),jc=iS,Uc=e=>t=>`--${e?`${e}-`:""}${t.replace(/^--/,"")}`,_a="data-skip-inverted-colors",Ag=`& :not([${_a}], [${_a}] *)`,Eg=e=>{var t,n,r,o,i,a,l,s,u,d,m,v,y,g,x,C,p,f,c,k,h,w;const S=Uc(e.cssVarPrefix);return{"--variant-plainColor":"var(--variant-plainColor) !important","--variant-plainHoverColor":"var(--variant-plainHoverColor) !important","--variant-plainHoverBg":"var(--variant-plainHoverBg) !important","--variant-plainActiveBg":"var(--variant-plainActiveBg) !important","--variant-plainDisabledColor":"var(--variant-plainDisabledColor) !important","--variant-outlinedColor":"var(--variant-outlinedColor) !important","--variant-outlinedBorder":"var(--variant-outlinedBorder) !important","--variant-outlinedHoverColor":"var(--variant-outlinedHoverColor) !important","--variant-outlinedHoverBorder":"var(--variant-outlinedHoverBorder) !important","--variant-outlinedHoverBg":"var(--variant-outlinedHoverBg) !important","--variant-outlinedActiveBg":"var(--variant-outlinedActiveBg) !important","--variant-outlinedDisabledColor":"var(--variant-outlinedDisabledColor) !important","--variant-outlinedDisabledBorder":"var(--variant-outlinedDisabledBorder) !important","--variant-softColor":"var(--variant-softColor) !important","--variant-softHoverColor":"var(--variant-softHoverColor) !important","--variant-softBg":"var(--variant-softBg) !important","--variant-softHoverBg":"var(--variant-softHoverBg) !important","--variant-softActiveBg":"var(--variant-softActiveBg) !important","--variant-softActiveColor":"var(--variant-softActiveColor) !important","--variant-softDisabledColor":"var(--variant-softDisabledColor) !important","--variant-softDisabledBg":"var(--variant-softDisabledBg) !important","--variant-solidColor":"var(--variant-solidColor) !important","--variant-solidBg":"var(--variant-solidBg) !important","--variant-solidHoverBg":"var(--variant-solidHoverBg) !important","--variant-solidActiveBg":"var(--variant-solidActiveBg) !important","--variant-solidDisabledColor":"var(--variant-solidDisabledColor) !important","--variant-solidDisabledBg":"var(--variant-solidDisabledBg) !important","--Badge-ringColor":"var(--Badge-ringColor) !important",colorScheme:"unset",[e.getColorSchemeSelector("light")]:{[S("--palette-focusVisible")]:`${(t=e.colorSchemes.light)==null?void 0:t.palette.focusVisible} !important`,[S("--palette-background-body")]:`${(n=e.colorSchemes.light)==null?void 0:n.palette.background.body} !important`,[S("--palette-background-surface")]:`${(r=e.colorSchemes.light)==null?void 0:r.palette.background.surface} !important`,[S("--palette-background-popup")]:`${(o=e.colorSchemes.light)==null?void 0:o.palette.background.popup} !important`,[S("--palette-background-level1")]:`${(i=e.colorSchemes.light)==null?void 0:i.palette.background.level1} !important`,[S("--palette-background-level2")]:`${(a=e.colorSchemes.light)==null?void 0:a.palette.background.level2} !important`,[S("--palette-background-level3")]:`${(l=e.colorSchemes.light)==null?void 0:l.palette.background.level3} !important`,[S("--palette-text-primary")]:`${(s=e.colorSchemes.light)==null?void 0:s.palette.text.primary} !important`,[S("--palette-text-secondary")]:`${(u=e.colorSchemes.light)==null?void 0:u.palette.text.secondary} !important`,[S("--palette-text-tertiary")]:`${(d=e.colorSchemes.light)==null?void 0:d.palette.text.tertiary} !important`,[S("--palette-divider")]:`${(m=e.colorSchemes.light)==null?void 0:m.palette.divider} !important`},[e.getColorSchemeSelector("dark")]:{[S("--palette-focusVisible")]:`${(v=e.colorSchemes.dark)==null?void 0:v.palette.focusVisible} !important`,[S("--palette-background-body")]:`${(y=e.colorSchemes.dark)==null?void 0:y.palette.background.body} !important`,[S("--palette-background-surface")]:`${(g=e.colorSchemes.dark)==null?void 0:g.palette.background.surface} !important`,[S("--palette-background-popup")]:`${(x=e.colorSchemes.dark)==null?void 0:x.palette.background.popup} !important`,[S("--palette-background-level1")]:`${(C=e.colorSchemes.dark)==null?void 0:C.palette.background.level1} !important`,[S("--palette-background-level2")]:`${(p=e.colorSchemes.dark)==null?void 0:p.palette.background.level2} !important`,[S("--palette-background-level3")]:`${(f=e.colorSchemes.dark)==null?void 0:f.palette.background.level3} !important`,[S("--palette-text-primary")]:`${(c=e.colorSchemes.dark)==null?void 0:c.palette.text.primary} !important`,[S("--palette-text-secondary")]:`${(k=e.colorSchemes.dark)==null?void 0:k.palette.text.secondary} !important`,[S("--palette-text-tertiary")]:`${(h=e.colorSchemes.dark)==null?void 0:h.palette.text.tertiary} !important`,[S("--palette-divider")]:`${(w=e.colorSchemes.dark)==null?void 0:w.palette.divider} !important`}}};function aS(e){return e.theme!==void 0}const lS=e=>t=>{const n=aS(t)?t.theme:t,r=Mc(n.cssVarPrefix),o=Uc(n.cssVarPrefix),i=a=>{const l=a.split("-");return r(a,n.palette[l[1]][l[2]])};return{[Ag]:{"--Badge-ringColor":i(`palette-${e}-solidBg`),"--Icon-color":"currentColor",[`${n.getColorSchemeSelector("light")}, ${n.getColorSchemeSelector("dark")}`]:{colorScheme:"dark",[o("--palette-focusVisible")]:i(`palette-${e}-200`),[o("--palette-background-body")]:"rgba(0 0 0 / 0.1)",[o("--palette-background-surface")]:"rgba(0 0 0 / 0.06)",[o("--palette-background-popup")]:i(`palette-${e}-700`),[o("--palette-background-level1")]:`rgba(${i(`palette-${e}-darkChannel`)} / 0.2)`,[o("--palette-background-level2")]:`rgba(${i(`palette-${e}-darkChannel`)} / 0.36)`,[o("--palette-background-level3")]:`rgba(${i(`palette-${e}-darkChannel`)} / 0.6)`,[o("--palette-text-primary")]:i("palette-common-white"),[o("--palette-text-secondary")]:i(`palette-${e}-200`),[o("--palette-text-tertiary")]:i(`palette-${e}-300`),[o("--palette-text-icon")]:i(`palette-${e}-200`),[o("--palette-divider")]:`rgba(${i(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-plainColor":i(`palette-${e}-50`),"--variant-plainHoverColor":"#fff","--variant-plainHoverBg":`rgba(${i(`palette-${e}-lightChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${i(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${i(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-outlinedColor":i(`palette-${e}-50`),"--variant-outlinedBorder":`rgba(${i(`palette-${e}-lightChannel`)} / 0.5)`,"--variant-outlinedHoverColor":"#fff","--variant-outlinedHoverBorder":i(`palette-${e}-300`),"--variant-outlinedHoverBg":`rgba(${i(`palette-${e}-lightChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${i(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${i(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":"rgba(255 255 255 / 0.2)","--variant-softColor":i("palette-common-white"),"--variant-softHoverColor":i("palette-common-white"),"--variant-softBg":`rgba(${i(`palette-${e}-lightChannel`)} / 0.24)`,"--variant-softHoverBg":`rgba(${i(`palette-${e}-lightChannel`)} / 0.36)`,"--variant-softActiveBg":`rgba(${i(`palette-${e}-lightChannel`)} / 0.16)`,"--variant-softActiveColor":"#fff","--variant-softDisabledColor":`rgba(${i(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${i(`palette-${e}-lightChannel`)} / 0.1)`,"--variant-solidColor":i(`palette-${e}-${e==="neutral"?"600":"500"}`),"--variant-solidBg":i("palette-common-white"),"--variant-solidHoverBg":i("palette-common-white"),"--variant-solidActiveBg":i(`palette-${e}-100`),"--variant-solidDisabledColor":`rgba(${i(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${i(`palette-${e}-lightChannel`)} / 0.1)`}},[`&, & [${_a}]`]:Eg(n)}},sS=e=>t=>{const{theme:n=t}=t,r=Mc(n.cssVarPrefix),o=Uc(n.cssVarPrefix),i=a=>{const l=a.split("-");return r(a,n.palette[l[1]][l[2]])};return{[Ag]:{"--Badge-ringColor":i(`palette-${e}-softBg`),"--Icon-color":"currentColor",[n.getColorSchemeSelector("dark")]:{[o("--palette-focusVisible")]:i(`palette-${e}-300`),[o("--palette-background-body")]:`rgba(${i(`palette-${e}-mainChannel`)} / 0.1)`,[o("--palette-background-surface")]:`rgba(${i(`palette-${e}-mainChannel`)} / 0.08)`,[o("--palette-background-level1")]:`rgba(${i(`palette-${e}-mainChannel`)} / 0.2)`,[o("--palette-background-level2")]:`rgba(${i(`palette-${e}-mainChannel`)} / 0.4)`,[o("--palette-background-level3")]:`rgba(${i(`palette-${e}-mainChannel`)} / 0.6)`,[o("--palette-text-primary")]:i(`palette-${e}-100`),[o("--palette-text-secondary")]:`rgba(${i(`palette-${e}-lightChannel`)} / 0.72)`,[o("--palette-text-tertiary")]:`rgba(${i(`palette-${e}-lightChannel`)} / 0.6)`,[o("--palette-text-icon")]:`rgba(${i(`palette-${e}-lightChannel`)} / 0.6)`,[o("--palette-divider")]:`rgba(${i(`palette-${e}-lightChannel`)} / 0.2)`,"--variant-plainColor":`rgba(${i(`palette-${e}-lightChannel`)} / 1)`,"--variant-plainHoverColor":i(`palette-${e}-50`),"--variant-plainHoverBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.16)`,"--variant-plainActiveBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${i(`palette-${e}-mainChannel`)} / 0.72)`,"--variant-outlinedColor":`rgba(${i(`palette-${e}-lightChannel`)} / 1)`,"--variant-outlinedHoverColor":i(`palette-${e}-50`),"--variant-outlinedBg":"initial","--variant-outlinedBorder":`rgba(${i(`palette-${e}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverBorder":i(`palette-${e}-600`),"--variant-outlinedHoverBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.16)`,"--variant-outlinedActiveBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${i(`palette-${e}-mainChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":`rgba(${i(`palette-${e}-mainChannel`)} / 0.2)`,"--variant-softColor":i(`palette-${e}-200`),"--variant-softBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.24)`,"--variant-softHoverColor":"#fff","--variant-softHoverBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.32)`,"--variant-softActiveBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.48)`,"--variant-softDisabledColor":`rgba(${i(`palette-${e}-mainChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.12)`,"--variant-solidColor":"#fff","--variant-solidBg":i(`palette-${e}-500`),"--variant-solidHoverColor":"#fff","--variant-solidHoverBg":i(`palette-${e}-600`),"--variant-solidActiveBg":i(`palette-${e}-600`),"--variant-solidDisabledColor":`rgba(${i(`palette-${e}-mainChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.12)`},[n.getColorSchemeSelector("light")]:{[o("--palette-focusVisible")]:i(`palette-${e}-500`),[o("--palette-background-body")]:`rgba(${i(`palette-${e}-mainChannel`)} / 0.1)`,[o("--palette-background-surface")]:`rgba(${i(`palette-${e}-mainChannel`)} / 0.08)`,[o("--palette-background-level1")]:`rgba(${i(`palette-${e}-mainChannel`)} / 0.2)`,[o("--palette-background-level2")]:`rgba(${i(`palette-${e}-mainChannel`)} / 0.32)`,[o("--palette-background-level3")]:`rgba(${i(`palette-${e}-mainChannel`)} / 0.48)`,[o("--palette-text-primary")]:i(`palette-${e}-700`),[o("--palette-text-secondary")]:`rgba(${i(`palette-${e}-darkChannel`)} / 0.8)`,[o("--palette-text-tertiary")]:`rgba(${i(`palette-${e}-darkChannel`)} / 0.68)`,[o("--palette-text-icon")]:i(`palette-${e}-500`),[o("--palette-divider")]:`rgba(${i(`palette-${e}-mainChannel`)} / 0.32)`,"--variant-plainColor":`rgba(${i(`palette-${e}-darkChannel`)} / 0.8)`,"--variant-plainHoverColor":`rgba(${i(`palette-${e}-darkChannel`)} / 1)`,"--variant-plainHoverBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.24)`,"--variant-plainDisabledColor":`rgba(${i(`palette-${e}-mainChannel`)} / 0.6)`,"--variant-outlinedColor":`rgba(${i(`palette-${e}-mainChannel`)} / 1)`,"--variant-outlinedBorder":`rgba(${i(`palette-${e}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverColor":i(`palette-${e}-600`),"--variant-outlinedHoverBorder":i(`palette-${e}-300`),"--variant-outlinedHoverBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.24)`,"--variant-outlinedDisabledColor":`rgba(${i(`palette-${e}-mainChannel`)} / 0.6)`,"--variant-outlinedDisabledBorder":`rgba(${i(`palette-${e}-mainChannel`)} / 0.12)`,"--variant-softColor":i(`palette-${e}-600`),"--variant-softBg":`rgba(${i(`palette-${e}-lightChannel`)} / 0.8)`,"--variant-softHoverColor":i(`palette-${e}-700`),"--variant-softHoverBg":i(`palette-${e}-200`),"--variant-softActiveBg":i(`palette-${e}-300`),"--variant-softDisabledColor":`rgba(${i(`palette-${e}-mainChannel`)} / 0.6)`,"--variant-softDisabledBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.08)`,"--variant-solidColor":i("palette-common-white"),"--variant-solidBg":i(`palette-${e}-${e==="neutral"?"700":"500"}`),"--variant-solidHoverColor":i("palette-common-white"),"--variant-solidHoverBg":i(`palette-${e}-600`),"--variant-solidActiveBg":i(`palette-${e}-600`),"--variant-solidDisabledColor":`rgba(${i(`palette-${e}-mainChannel`)} / 0.6)`,"--variant-solidDisabledBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.08)`}},[`&, & [${_a}]`]:Eg(n)}},uS=xt("MuiCard",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","horizontal","vertical"]),cS=uS,$g=({theme:e,ownerState:t},n)=>{let r={};function o(i){if(typeof i=="function"){const a=i(e);o(a)}else Array.isArray(i)?i.forEach(a=>{typeof a!="boolean"&&o(a)}):typeof i=="object"&&(r=A({},r,i))}return t.sx&&(o(t.sx),n.forEach(i=>{const a=r[i];if(typeof a=="string"||typeof a=="number")if(i==="borderRadius")if(typeof a=="number")r[i]=`${a}px`;else{var l;r[i]=((l=e.vars)==null?void 0:l.radius[a])||a}else["p","padding","m","margin"].indexOf(i)!==-1&&typeof a=="number"?r[i]=e.spacing(a):r[i]=a;else typeof a=="function"?r[i]=a(e):r[i]=void 0})),r},Pg=ce("div")(({theme:e,ownerState:t})=>{var n;const{p:r,padding:o,borderRadius:i}=$g({theme:e,ownerState:t},["p","padding","borderRadius"]);return[A({"--Icon-color":t.color!=="neutral"||t.variant==="solid"?"currentColor":e.vars.palette.text.icon,"--Card-childRadius":"max((var(--Card-radius) - var(--variant-borderWidth, 0px)) - var(--Card-padding), min(var(--Card-padding) / 2, (var(--Card-radius) - var(--variant-borderWidth, 0px)) / 2))","--AspectRatio-radius":"var(--Card-childRadius)","--unstable_actionMargin":"calc(-1 * var(--variant-borderWidth, 0px))","--unstable_actionRadius":"var(--Card-radius)","--CardCover-radius":"calc(var(--Card-radius) - var(--variant-borderWidth, 0px))","--CardOverflow-offset":"calc(-1 * var(--Card-padding))","--CardOverflow-radius":"calc(var(--Card-radius) - var(--variant-borderWidth, 0px))","--Divider-inset":"calc(-1 * var(--Card-padding))"},t.size==="sm"&&{"--Card-radius":e.vars.radius.sm,"--Card-padding":"0.625rem",gap:"0.5rem"},t.size==="md"&&{"--Card-radius":e.vars.radius.md,"--Card-padding":"1rem",gap:"0.75rem 1rem"},t.size==="lg"&&{"--Card-radius":e.vars.radius.lg,"--Card-padding":"1.5rem",gap:"1rem 1.5rem"},{padding:"var(--Card-padding)",borderRadius:"var(--Card-radius)",backgroundColor:e.vars.palette.background.surface,position:"relative",display:"flex",flexDirection:t.orientation==="horizontal"?"row":"column"},e.typography[`body-${t.size}`],t.variant==="solid"&&t.color&&t.invertedColors&&lS(t.color)(e),t.variant==="soft"&&t.color&&t.invertedColors&&sS(t.color)(e),(n=e.variants[t.variant])==null?void 0:n[t.color]),r!==void 0&&{"--Card-padding":r},o!==void 0&&{"--Card-padding":o},i!==void 0&&{"--Card-radius":i}]});ce(Pg,{name:"JoyCard",slot:"Root",overridesResolver:(e,t)=>t.root})({});const fS=["className","children","invertedColors","orientation","color","component","variant","size","layout","maxWidth","minWidth","slots","slotProps"],dS=e=>{const{variant:t,color:n,size:r,layout:o}=e,i={root:["root",t&&`variant${ke(t)}`,n&&`color${ke(n)}`,r&&`size${ke(r)}`,o&&`layout${ke(o)}`]};return an(i,tS,{})};function Xd(e,t){var n,r;return t&&(n=e.breakpoints)!=null&&n.values[t]?`${(r=e.breakpoints)==null?void 0:r.values[t]}px`:t}const pS=ce(Pg,{name:"JoyModalDialog",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>A({"--ModalDialog-minWidth":typeof t.minWidth=="number"?`${t.minWidth}px`:Xd(e,t.minWidth),"--ModalDialog-maxWidth":typeof t.maxWidth=="number"?`${t.maxWidth}px`:Xd(e,t.maxWidth),"--ModalClose-radius":"max((var(--Card-radius) - var(--variant-borderWidth, 0px)) - var(--ModalClose-inset), min(var(--ModalClose-inset) / 2, (var(--Card-radius) - var(--variant-borderWidth, 0px)) / 2))"},t.variant==="solid"&&{"--DialogContent-color":"currentColor"},t.size==="sm"&&{"--Card-padding":"1rem","--ModalDialog-titleOffset":e.spacing(.25),"--ModalDialog-descriptionOffset":e.spacing(.25),"--ModalClose-inset":"0.375rem"},t.size==="md"&&{"--Card-padding":"1.25rem","--ModalDialog-titleOffset":e.spacing(.25),"--ModalDialog-descriptionOffset":e.spacing(.75),"--ModalClose-inset":"0.5rem"},t.size==="lg"&&{"--Card-padding":"1.5rem","--ModalDialog-titleOffset":e.spacing(.5),"--ModalDialog-descriptionOffset":e.spacing(1),"--ModalClose-inset":"0.625rem"},{boxSizing:"border-box",boxShadow:e.shadow.md,minWidth:"min(calc(100vw - 2 * var(--Card-padding)), var(--ModalDialog-minWidth, 300px))",outline:0,position:"absolute"},t.layout==="fullscreen"&&{top:0,left:0,right:0,bottom:0,border:0,borderRadius:0},t.layout==="center"&&{top:"50%",left:"50%",transform:"translate(-50%, -50%)",maxWidth:"min(calc(100vw - 2 * var(--Card-padding)), var(--ModalDialog-maxWidth, 100vw))",maxHeight:"calc(100% - 2 * var(--Card-padding))"},{[`& [id="${t["aria-labelledby"]}"]`]:{"--Typography-margin":"calc(-1 * var(--ModalDialog-titleOffset)) 0 var(--ModalDialog-gap) 0","--Typography-fontSize":"1.125em",[`& + [id="${t["aria-describedby"]}"]`]:{"--unstable_ModalDialog-descriptionOffset":"calc(-1 * var(--ModalDialog-descriptionOffset))"}},[`& [id="${t["aria-describedby"]}"]`]:{"--Typography-fontSize":"1em","--Typography-margin":"var(--unstable_ModalDialog-descriptionOffset, var(--ModalDialog-gap)) 0 0 0","&:not(:last-child)":{"--Typography-margin":"var(--unstable_ModalDialog-descriptionOffset, var(--ModalDialog-gap)) 0 var(--ModalDialog-gap) 0"}}})),mS=b.exports.forwardRef(function(t,n){const r=ln({props:t,name:"JoyModalDialog"}),{className:o,children:i,invertedColors:a=!1,orientation:l="vertical",color:s="neutral",component:u="div",variant:d="outlined",size:m="md",layout:v="center",maxWidth:y,minWidth:g,slots:x={},slotProps:C={}}=r,p=ye(r,fS),f=A({},r,{color:s,component:u,maxWidth:y,minWidth:g,layout:v,size:m,variant:d,invertedColors:a}),c=dS(f),k=A({},p,{component:u,slots:x,slotProps:C}),h=Sd(),w=Sd(),S=b.exports.useMemo(()=>({variant:d,color:s,labelledBy:h,describedBy:w}),[s,d,h,w]),[$,z]=Fe("root",{ref:n,className:Ja(c.root,o),elementType:pS,externalForwardedProps:k,ownerState:f,additionalProps:{as:u,role:"dialog","aria-modal":"true","aria-labelledby":h,"aria-describedby":w}});return I(wg.Provider,{value:m,children:I(jc.Provider,{value:S,children:I($,A({},z,{children:b.exports.Children.map(i,(E,N)=>{if(!b.exports.isValidElement(E))return E;const B={};if(jy(E,["Divider"])){B.inset="inset"in E.props?E.props.inset:"context";const U=l==="vertical"?"horizontal":"vertical";B.orientation="orientation"in E.props?E.props.orientation:U}return N===0&&(B["data-first-child"]=""),N===b.exports.Children.count(i)-1&&(B["data-last-child"]=""),b.exports.cloneElement(E,B)})}))})})}),vS=mS;function gS(e){return Bt("MuiDialogTitle",e)}const hS=xt("MuiDialogTitle",["root","h1","h2","h3","h4","title-lg","title-md","title-sm","body-lg","body-md","body-sm","body-xs","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]),yS=hS,xS=xt("MuiCardOverflow",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]),Hc=xS,kS=["component","children","variant","color","level","slots","slotProps"],CS=e=>{const{level:t,color:n,variant:r}=e,o={root:["root",t,n&&`color${ke(n)}`,r&&`variant${ke(r)}`]};return an(o,gS,{})},SS=ce("h2",{name:"JoyDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var n,r;const o=t.level!=="inherit"?(n=e.typography[t.level])==null?void 0:n.lineHeight:"1";return A({"--Icon-fontSize":`calc(1em * ${o})`},t.color&&{"--Icon-color":"currentColor"},{display:"flex",gap:"clamp(4px, 0.375em, 0.75rem)",margin:"var(--unstable_DialogTitle-margin, 0px)"},t.level&&t.level!=="inherit"&&e.typography[t.level],{color:"inherit"},t.variant&&A({borderRadius:e.vars.radius.xs,paddingBlock:"min(0.1em, 4px)",paddingInline:"0.25em"},(r=e.variants[t.variant])==null?void 0:r[t.color]),{[`.${Hc.root} > &`]:{"--unstable_DialogTitle-margin":"var(--Card-padding) 0"}})}),bS={sm:"title-md",md:"title-lg",lg:"h4"},wS=b.exports.forwardRef(function(t,n){const r=ln({props:t,name:"JoyDialogTitle"}),o=b.exports.useContext(wg),i=b.exports.useContext(jc),{component:a="h2",children:l,variant:s,color:u,level:d=bS[o||"md"],slots:m={},slotProps:v={}}=r,y=ye(r,kS),g=t.color||(s?u!=null?u:"neutral":u),x=A({},y,{component:a,slots:m,slotProps:v}),C=A({},r,{component:a,color:g,variant:s,level:d}),p=CS(C),[f,c]=Fe("root",{ref:n,className:p.root,elementType:SS,externalForwardedProps:x,ownerState:C,additionalProps:{id:i==null?void 0:i.labelledBy}});return I(f,A({},c,{children:l}))}),AS=wS;function ES(e){return Bt("MuiDialogContent",e)}xt("MuiDialogContent",["root"]);const _g=ce("div")(({ownerState:e})=>({display:"flex",flexDirection:e.orientation==="horizontal"?"row":"column",flex:9999,zIndex:1,columnGap:"var(--Card-padding)",rowGap:"max(2px, calc(0.1875 * var(--Card-padding)))",padding:"var(--unstable_padding)",[`.${Hc.root} > &`]:{"--unstable_padding":"calc(var(--Card-padding) * 0.75) 0px"}}));ce(_g,{name:"JoyCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({});const $S=["component","children","orientation","slots","slotProps"],PS=()=>an({root:["root"]},ES,{}),_S=ce(_g,{name:"JoyDialogContent",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({color:`var(--DialogContent-color, ${e.vars.palette.text.tertiary})`,overflow:"auto",margin:"var(--unstable_DialogContent-margin)",[`.${rS.root} > .${yS.root} + &`]:{"--unstable_DialogContent-margin":"-0.375em 0 0 0"}})),TS=b.exports.forwardRef(function(t,n){const r=ln({props:t,name:"JoyDialogContent"}),o=b.exports.useContext(jc),{component:i="div",children:a,orientation:l="vertical",slots:s={},slotProps:u={}}=r,d=ye(r,$S),m=A({},d,{component:i,slots:s,slotProps:u}),v=A({},r,{component:i,orientation:l}),y=PS(),[g,x]=Fe("root",{ref:n,className:y.root,elementType:_S,externalForwardedProps:m,ownerState:v,additionalProps:{id:o==null?void 0:o.describedBy}});return I(g,A({},x,{children:a}))}),RS=TS;function OS(e){return Bt("MuiDialogActions",e)}xt("MuiDialogActions",["root"]);function DS(e){return Bt("MuiButton",e)}const IS=xt("MuiButton",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg","fullWidth","startDecorator","endDecorator","loading","loadingIndicatorCenter"]),Ta=IS,NS=xt("MuiIconButton",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg"]),zS=NS;function LS(e){return Bt("MuiDivider",e)}const MS=xt("MuiDivider",["root","horizontal","vertical","insetContext","insetNone"]),VS=MS,Tg=ce("div")(({ownerState:e})=>{var t;return A({"--Button-radius":"var(--Card-childRadius)","--IconButton-radius":"var(--Card-childRadius)",display:"flex"},((t=e.orientation)==null?void 0:t.startsWith("horizontal"))&&{alignItems:"center"},{flexDirection:e.orientation==="horizontal"?"row":"column"},e.orientation==="horizontal-reverse"&&{flexDirection:"row-reverse"},{zIndex:1,gap:"calc(0.625 * var(--Card-padding))",padding:"var(--unstable_padding)","--unstable_padding":"calc(0.75 * var(--Card-padding)) 0 0 0",[`.${Hc.root} > &`]:{"--unstable_padding":"calc(0.75 * var(--Card-padding)) 0 var(--Card-padding)"},[`.${cS.root} > .${VS.root} + &`]:{"--unstable_padding":"0"}},e.buttonFlex?{[`& > :not(.${zS.root})`]:{flex:e.buttonFlex},[`& > :not(button) > .${Ta.root}`]:{width:"100%"}}:{[`& > .${Ta.root}:only-child`]:{flex:"auto"}})});ce(Tg,{name:"JoyCardActions",slot:"Root",overridesResolver:(e,t)=>t.root})({});const FS=["component","children","buttonFlex","orientation","slots","slotProps"],BS=()=>an({root:["root"]},OS,{}),jS=ce(Tg,{name:"JoyDialogActions",slot:"Root",overridesResolver:(e,t)=>t.root})({}),US=b.exports.forwardRef(function(t,n){const r=ln({props:t,name:"JoyDialogActions"}),{component:o="div",children:i,buttonFlex:a,orientation:l="horizontal-reverse",slots:s={},slotProps:u={}}=r,d=ye(r,FS),m=A({},d,{component:o,slots:s,slotProps:u}),v=A({},r,{component:o,buttonFlex:a,orientation:l}),y=BS(),[g,x]=Fe("root",{ref:n,className:y.root,elementType:jS,externalForwardedProps:m,ownerState:v});return I(g,A({},x,{children:i}))}),HS=US,WS=b.exports.createContext({}),KS=WS,GS=b.exports.createContext(void 0),YS=GS,QS=["children","action","color","variant","size","fullWidth","startDecorator","endDecorator","loading","loadingPosition","loadingIndicator","disabled","component","slots","slotProps"],JS=e=>{const{color:t,disabled:n,focusVisible:r,focusVisibleClassName:o,fullWidth:i,size:a,variant:l,loading:s}=e,u={root:["root",n&&"disabled",r&&"focusVisible",i&&"fullWidth",l&&`variant${ke(l)}`,t&&`color${ke(t)}`,a&&`size${ke(a)}`,s&&"loading"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],loadingIndicatorCenter:["loadingIndicatorCenter"]},d=an(u,DS,{});return r&&o&&(d.root+=` ${o}`),d},XS=ce("span",{name:"JoyButton",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({"--Icon-margin":"0 0 0 calc(var(--Button-gap) / -2)","--CircularProgress-margin":"0 0 0 calc(var(--Button-gap) / -2)",display:"inherit",marginRight:"var(--Button-gap)"}),ZS=ce("span",{name:"JoyButton",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({"--Icon-margin":"0 calc(var(--Button-gap) / -2) 0 0","--CircularProgress-margin":"0 calc(var(--Button-gap) / -2) 0 0",display:"inherit",marginLeft:"var(--Button-gap)"}),qS=ce("span",{name:"JoyButton",slot:"LoadingCenter",overridesResolver:(e,t)=>t.loadingIndicatorCenter})(({theme:e,ownerState:t})=>{var n,r;return A({display:"inherit",position:"absolute",left:"50%",transform:"translateX(-50%)",color:(n=e.variants[t.variant])==null||(n=n[t.color])==null?void 0:n.color},t.disabled&&{color:(r=e.variants[`${t.variant}Disabled`])==null||(r=r[t.color])==null?void 0:r.color})}),eb=({theme:e,ownerState:t})=>{var n,r,o,i;return[A({"--Icon-margin":"initial","--Icon-color":t.color!=="neutral"||t.variant==="solid"?"currentColor":e.vars.palette.text.icon},t.size==="sm"&&{"--Icon-fontSize":e.vars.fontSize.lg,"--CircularProgress-size":"20px","--CircularProgress-thickness":"2px","--Button-gap":"0.375rem",minHeight:"var(--Button-minHeight, 2rem)",fontSize:e.vars.fontSize.sm,paddingBlock:"var(--Button-paddingBlock, 0.25rem)",paddingInline:"0.75rem"},t.size==="md"&&{"--Icon-fontSize":e.vars.fontSize.xl,"--CircularProgress-size":"20px","--CircularProgress-thickness":"2px","--Button-gap":"0.5rem",minHeight:"var(--Button-minHeight, 2.25rem)",fontSize:e.vars.fontSize.sm,paddingBlock:"var(--Button-paddingBlock, 0.375rem)",paddingInline:"1rem"},t.size==="lg"&&{"--Icon-fontSize":e.vars.fontSize.xl2,"--CircularProgress-size":"28px","--CircularProgress-thickness":"4px","--Button-gap":"0.75rem",minHeight:"var(--Button-minHeight, 2.75rem)",fontSize:e.vars.fontSize.md,paddingBlock:"var(--Button-paddingBlock, 0.5rem)",paddingInline:"1.5rem"},{WebkitTapHighlightColor:"transparent",boxSizing:"border-box",borderRadius:`var(--Button-radius, ${e.vars.radius.sm})`,margin:"var(--Button-margin)",border:"none",backgroundColor:"transparent",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",textDecoration:"none",fontFamily:e.vars.fontFamily.body,fontWeight:e.vars.fontWeight.lg,lineHeight:e.vars.lineHeight.md},t.fullWidth&&{width:"100%"},{[e.focus.selector]:e.focus.default}),A({},(n=e.variants[t.variant])==null?void 0:n[t.color],{"&:hover":{"@media (hover: hover)":(r=e.variants[`${t.variant}Hover`])==null?void 0:r[t.color]},'&:active, &[aria-pressed="true"]':(o=e.variants[`${t.variant}Active`])==null?void 0:o[t.color],[`&.${Ta.disabled}`]:(i=e.variants[`${t.variant}Disabled`])==null?void 0:i[t.color]},t.loadingPosition==="center"&&{[`&.${Ta.loading}`]:{color:"transparent"}})]},tb=ce("button",{name:"JoyButton",slot:"Root",overridesResolver:(e,t)=>t.root})(eb),Rg=b.exports.forwardRef(function(t,n){var r;const o=ln({props:t,name:"JoyButton"}),{children:i,action:a,color:l="primary",variant:s="solid",size:u="md",fullWidth:d=!1,startDecorator:m,endDecorator:v,loading:y=!1,loadingPosition:g="center",loadingIndicator:x,disabled:C,component:p,slots:f={},slotProps:c={}}=o,k=ye(o,QS),h=b.exports.useContext(KS),w=b.exports.useContext(YS),S=t.variant||h.variant||s,$=t.size||h.size||u,z=t.color||h.color||l,E=(r=t.disabled||t.loading)!=null?r:h.disabled||C||y,N=b.exports.useRef(null),B=jr(N,n),{focusVisible:U,setFocusVisible:Q,getRootProps:M}=m1(A({},o,{disabled:E,rootRef:B})),T=x!=null?x:I(Bc,{color:z,thickness:{sm:2,md:3,lg:4}[$]||3});b.exports.useImperativeHandle(a,()=>({focusVisible:()=>{var ne;Q(!0),(ne=N.current)==null||ne.focus()}}),[Q]);const R=A({},o,{color:z,fullWidth:d,variant:S,size:$,focusVisible:U,loading:y,loadingPosition:g,disabled:E}),P=JS(R),j=ne=>{var be;let un=o.onClick;if(typeof c.root=="function"?un=c.root(R).onClick:c.root&&(un=c.root.onClick),(be=un)==null||be(ne),w){var Wr;(Wr=w.onClick)==null||Wr.call(w,ne,o.value)}};let F=o["aria-pressed"];typeof c.root=="function"?F=c.root(R)["aria-pressed"]:c.root&&(F=c.root["aria-pressed"]),w!=null&&w.value&&(Array.isArray(w.value)?F=w.value.indexOf(o.value)!==-1:F=w.value===o.value);const G=A({},k,{component:p,slots:f,slotProps:c}),[W,kt]=Fe("root",{ref:n,className:P.root,elementType:tb,externalForwardedProps:G,getSlotProps:M,ownerState:R,additionalProps:{onClick:j,"aria-pressed":F}}),[je,jt]=Fe("startDecorator",{className:P.startDecorator,elementType:XS,externalForwardedProps:G,ownerState:R}),[Ue,re]=Fe("endDecorator",{className:P.endDecorator,elementType:ZS,externalForwardedProps:G,ownerState:R}),[V,q]=Fe("loadingIndicatorCenter",{className:P.loadingIndicatorCenter,elementType:qS,externalForwardedProps:G,ownerState:R});return Oe(W,A({},kt,{children:[(m||y&&g==="start")&&I(je,A({},jt,{children:y&&g==="start"?T:m})),i,y&&g==="center"&&I(V,A({},q,{children:T})),(v||y&&g==="end")&&I(Ue,A({},re,{children:y&&g==="end"?T:v}))]}))});Rg.muiName="Button";const Zd=Rg,nb=["className","children","component","inset","orientation","role","slots","slotProps"],rb=e=>{const{orientation:t,inset:n}=e,r={root:["root",t,n&&`inset${ke(n)}`]};return an(r,LS,{})},ob=ce("hr",{name:"JoyDivider",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>A({"--Divider-thickness":"1px","--Divider-lineColor":e.vars.palette.divider},t.inset==="none"&&{"--_Divider-inset":"0px"},t.inset==="context"&&{"--_Divider-inset":"var(--Divider-inset, 0px)"},{margin:"initial",marginInline:t.orientation==="vertical"?"initial":"var(--_Divider-inset)",marginBlock:t.orientation==="vertical"?"var(--_Divider-inset)":"initial",position:"relative",alignSelf:"stretch",flexShrink:0},t.children?A({"--Divider-gap":e.spacing(1),"--Divider-childPosition":"50%",display:"flex",flexDirection:t.orientation==="vertical"?"column":"row",alignItems:"center",whiteSpace:"nowrap",textAlign:"center",border:0},e.typography["body-sm"],{"&::before, &::after":{position:"relative",inlineSize:t.orientation==="vertical"?"var(--Divider-thickness)":"initial",blockSize:t.orientation==="vertical"?"initial":"var(--Divider-thickness)",backgroundColor:"var(--Divider-lineColor)",content:'""'},"&::before":{marginInlineEnd:t.orientation==="vertical"?"initial":"min(var(--Divider-childPosition) * 999, var(--Divider-gap))",marginBlockEnd:t.orientation==="vertical"?"min(var(--Divider-childPosition) * 999, var(--Divider-gap))":"initial",flexBasis:"var(--Divider-childPosition)"},"&::after":{marginInlineStart:t.orientation==="vertical"?"initial":"min((100% - var(--Divider-childPosition)) * 999, var(--Divider-gap))",marginBlockStart:t.orientation==="vertical"?"min((100% - var(--Divider-childPosition)) * 999, var(--Divider-gap))":"initial",flexBasis:"calc(100% - var(--Divider-childPosition))"}}):{border:"none",listStyle:"none",backgroundColor:"var(--Divider-lineColor)",inlineSize:t.orientation==="vertical"?"var(--Divider-thickness)":"initial",blockSize:t.orientation==="vertical"?"initial":"var(--Divider-thickness)"})),Og=b.exports.forwardRef(function(t,n){const r=ln({props:t,name:"JoyDivider"}),{className:o,children:i,component:a=i!=null?"div":"hr",inset:l,orientation:s="horizontal",role:u=a!=="hr"?"separator":void 0,slots:d={},slotProps:m={}}=r,v=ye(r,nb),y=A({},r,{inset:l,role:u,orientation:s,component:a}),g=rb(y),x=A({},v,{component:a,slots:d,slotProps:m}),[C,p]=Fe("root",{ref:n,className:Ja(g.root,o),elementType:ob,externalForwardedProps:x,ownerState:y,additionalProps:A({as:a,role:u},u==="separator"&&s==="vertical"&&{"aria-orientation":"vertical"})});return I(C,A({},p,{children:i}))});Og.muiName="Divider";const ib=Og,ab=()=>{const{playSfx:e}=kl(),t=b.exports.useRef(!0),[n,r]=b.exports.useState(!1),[o,i]=b.exports.useState(!1),[a,l]=b.exports.useState(""),[s,u]=b.exports.useState(""),[d,m]=b.exports.useState("Cancel"),[v,y]=b.exports.useState("Confirm"),[g,x]=b.exports.useState("md");b.exports.useEffect(()=>{o&&setTimeout(()=>{r(!0)},100)},[o]);const C=p=>{t.current&&e("click"),r(!1),setTimeout(()=>{i(!1),qo("dialogClosed",p)},300)};return Rn("openDialog",p=>{t.current=p.useSfx,l(p.title),u(p.message),m(p.cancelLabel),y(p.confirmLabel),x(p.size),i(!0)}),Rn("closeDialog",C),o&&I(eS,{keepMounted:!0,open:o,onClose:()=>C("cancel"),hideBackdrop:!0,disableEscapeKeyDown:!0,children:I("div",{className:`w-full h-full transition-opacity duration-300 ease-in-out ${n?"opacity-100":"opacity-0"} `,children:Oe(vS,{variant:"soft",role:"alertdialog",size:g,children:[I(AS,{children:a}),I(ib,{}),I(RS,{children:s}),Oe(HS,{children:[I(Zd,{variant:"outlined",onClick:()=>C("confirm"),children:v}),I(Zd,{variant:"plain",color:"danger",onClick:()=>C("cancel"),children:d})]})]})})})};function qd(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 O(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1;o--){var i=n[o],a=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=i)}return se.head.insertBefore(t,r),e}}var Rb="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Go(){for(var e=12,t="";e-- >0;)t+=Rb[Math.random()*62|0];return t}function Hr(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Jc(e){return e.classList?Hr(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function Hg(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Ob(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(Hg(e[n]),'" ')},"").trim()}function Cl(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function Xc(e){return e.size!==Lt.size||e.x!==Lt.x||e.y!==Lt.y||e.rotate!==Lt.rotate||e.flipX||e.flipY}function Db(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,o={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(t.x*32,", ").concat(t.y*32,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),l="rotate(".concat(t.rotate," 0 0)"),s={transform:"".concat(i," ").concat(a," ").concat(l)},u={transform:"translate(".concat(r/2*-1," -256)")};return{outer:o,inner:s,path:u}}function Ib(e){var t=e.transform,n=e.width,r=n===void 0?du:n,o=e.height,i=o===void 0?du:o,a=e.startCentered,l=a===void 0?!1:a,s="";return l&&Lg?s+="translate(".concat(t.x/fn-r/2,"em, ").concat(t.y/fn-i/2,"em) "):l?s+="translate(calc(-50% + ".concat(t.x/fn,"em), calc(-50% + ").concat(t.y/fn,"em)) "):s+="translate(".concat(t.x/fn,"em, ").concat(t.y/fn,"em) "),s+="scale(".concat(t.size/fn*(t.flipX?-1:1),", ").concat(t.size/fn*(t.flipY?-1:1),") "),s+="rotate(".concat(t.rotate,"deg) "),s}var Nb=`:root, :host { --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid"; --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular"; --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light"; --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin"; --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone"; --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp"; --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp"; --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp"; --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands"; } svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa { overflow: visible; box-sizing: content-box; } .svg-inline--fa { display: var(--fa-display, inline-block); height: 1em; overflow: visible; vertical-align: -0.125em; } .svg-inline--fa.fa-2xs { vertical-align: 0.1em; } .svg-inline--fa.fa-xs { vertical-align: 0em; } .svg-inline--fa.fa-sm { vertical-align: -0.0714285705em; } .svg-inline--fa.fa-lg { vertical-align: -0.2em; } .svg-inline--fa.fa-xl { vertical-align: -0.25em; } .svg-inline--fa.fa-2xl { vertical-align: -0.3125em; } .svg-inline--fa.fa-pull-left { margin-right: var(--fa-pull-margin, 0.3em); width: auto; } .svg-inline--fa.fa-pull-right { margin-left: var(--fa-pull-margin, 0.3em); width: auto; } .svg-inline--fa.fa-li { width: var(--fa-li-width, 2em); top: 0.25em; } .svg-inline--fa.fa-fw { width: var(--fa-fw-width, 1.25em); } .fa-layers svg.svg-inline--fa { bottom: 0; left: 0; margin: auto; position: absolute; right: 0; top: 0; } .fa-layers-counter, .fa-layers-text { display: inline-block; position: absolute; text-align: center; } .fa-layers { display: inline-block; height: 1em; position: relative; text-align: center; vertical-align: -0.125em; width: 1em; } .fa-layers svg.svg-inline--fa { -webkit-transform-origin: center center; transform-origin: center center; } .fa-layers-text { left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); -webkit-transform-origin: center center; transform-origin: center center; } .fa-layers-counter { background-color: var(--fa-counter-background-color, #ff253a); border-radius: var(--fa-counter-border-radius, 1em); box-sizing: border-box; color: var(--fa-inverse, #fff); line-height: var(--fa-counter-line-height, 1); max-width: var(--fa-counter-max-width, 5em); min-width: var(--fa-counter-min-width, 1.5em); overflow: hidden; padding: var(--fa-counter-padding, 0.25em 0.5em); right: var(--fa-right, 0); text-overflow: ellipsis; top: var(--fa-top, 0); -webkit-transform: scale(var(--fa-counter-scale, 0.25)); transform: scale(var(--fa-counter-scale, 0.25)); -webkit-transform-origin: top right; transform-origin: top right; } .fa-layers-bottom-right { bottom: var(--fa-bottom, 0); right: var(--fa-right, 0); top: auto; -webkit-transform: scale(var(--fa-layers-scale, 0.25)); transform: scale(var(--fa-layers-scale, 0.25)); -webkit-transform-origin: bottom right; transform-origin: bottom right; } .fa-layers-bottom-left { bottom: var(--fa-bottom, 0); left: var(--fa-left, 0); right: auto; top: auto; -webkit-transform: scale(var(--fa-layers-scale, 0.25)); transform: scale(var(--fa-layers-scale, 0.25)); -webkit-transform-origin: bottom left; transform-origin: bottom left; } .fa-layers-top-right { top: var(--fa-top, 0); right: var(--fa-right, 0); -webkit-transform: scale(var(--fa-layers-scale, 0.25)); transform: scale(var(--fa-layers-scale, 0.25)); -webkit-transform-origin: top right; transform-origin: top right; } .fa-layers-top-left { left: var(--fa-left, 0); right: auto; top: var(--fa-top, 0); -webkit-transform: scale(var(--fa-layers-scale, 0.25)); transform: scale(var(--fa-layers-scale, 0.25)); -webkit-transform-origin: top left; transform-origin: top left; } .fa-1x { font-size: 1em; } .fa-2x { font-size: 2em; } .fa-3x { font-size: 3em; } .fa-4x { font-size: 4em; } .fa-5x { font-size: 5em; } .fa-6x { font-size: 6em; } .fa-7x { font-size: 7em; } .fa-8x { font-size: 8em; } .fa-9x { font-size: 9em; } .fa-10x { font-size: 10em; } .fa-2xs { font-size: 0.625em; line-height: 0.1em; vertical-align: 0.225em; } .fa-xs { font-size: 0.75em; line-height: 0.0833333337em; vertical-align: 0.125em; } .fa-sm { font-size: 0.875em; line-height: 0.0714285718em; vertical-align: 0.0535714295em; } .fa-lg { font-size: 1.25em; line-height: 0.05em; vertical-align: -0.075em; } .fa-xl { font-size: 1.5em; line-height: 0.0416666682em; vertical-align: -0.125em; } .fa-2xl { font-size: 2em; line-height: 0.03125em; vertical-align: -0.1875em; } .fa-fw { text-align: center; width: 1.25em; } .fa-ul { list-style-type: none; margin-left: var(--fa-li-margin, 2.5em); padding-left: 0; } .fa-ul > li { position: relative; } .fa-li { left: calc(var(--fa-li-width, 2em) * -1); position: absolute; text-align: center; width: var(--fa-li-width, 2em); line-height: inherit; } .fa-border { border-color: var(--fa-border-color, #eee); border-radius: var(--fa-border-radius, 0.1em); border-style: var(--fa-border-style, solid); border-width: var(--fa-border-width, 0.08em); padding: var(--fa-border-padding, 0.2em 0.25em 0.15em); } .fa-pull-left { float: left; margin-right: var(--fa-pull-margin, 0.3em); } .fa-pull-right { float: right; margin-left: var(--fa-pull-margin, 0.3em); } .fa-beat { -webkit-animation-name: fa-beat; animation-name: fa-beat; -webkit-animation-delay: var(--fa-animation-delay, 0s); animation-delay: var(--fa-animation-delay, 0s); -webkit-animation-direction: var(--fa-animation-direction, normal); animation-direction: var(--fa-animation-direction, normal); -webkit-animation-duration: var(--fa-animation-duration, 1s); animation-duration: var(--fa-animation-duration, 1s); -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-iteration-count: var(--fa-animation-iteration-count, infinite); -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out); animation-timing-function: var(--fa-animation-timing, ease-in-out); } .fa-bounce { -webkit-animation-name: fa-bounce; animation-name: fa-bounce; -webkit-animation-delay: var(--fa-animation-delay, 0s); animation-delay: var(--fa-animation-delay, 0s); -webkit-animation-direction: var(--fa-animation-direction, normal); animation-direction: var(--fa-animation-direction, normal); -webkit-animation-duration: var(--fa-animation-duration, 1s); animation-duration: var(--fa-animation-duration, 1s); -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-iteration-count: var(--fa-animation-iteration-count, infinite); -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); } .fa-fade { -webkit-animation-name: fa-fade; animation-name: fa-fade; -webkit-animation-delay: var(--fa-animation-delay, 0s); animation-delay: var(--fa-animation-delay, 0s); -webkit-animation-direction: var(--fa-animation-direction, normal); animation-direction: var(--fa-animation-direction, normal); -webkit-animation-duration: var(--fa-animation-duration, 1s); animation-duration: var(--fa-animation-duration, 1s); -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-iteration-count: var(--fa-animation-iteration-count, infinite); -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); } .fa-beat-fade { -webkit-animation-name: fa-beat-fade; animation-name: fa-beat-fade; -webkit-animation-delay: var(--fa-animation-delay, 0s); animation-delay: var(--fa-animation-delay, 0s); -webkit-animation-direction: var(--fa-animation-direction, normal); animation-direction: var(--fa-animation-direction, normal); -webkit-animation-duration: var(--fa-animation-duration, 1s); animation-duration: var(--fa-animation-duration, 1s); -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-iteration-count: var(--fa-animation-iteration-count, infinite); -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); } .fa-flip { -webkit-animation-name: fa-flip; animation-name: fa-flip; -webkit-animation-delay: var(--fa-animation-delay, 0s); animation-delay: var(--fa-animation-delay, 0s); -webkit-animation-direction: var(--fa-animation-direction, normal); animation-direction: var(--fa-animation-direction, normal); -webkit-animation-duration: var(--fa-animation-duration, 1s); animation-duration: var(--fa-animation-duration, 1s); -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-iteration-count: var(--fa-animation-iteration-count, infinite); -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out); animation-timing-function: var(--fa-animation-timing, ease-in-out); } .fa-shake { -webkit-animation-name: fa-shake; animation-name: fa-shake; -webkit-animation-delay: var(--fa-animation-delay, 0s); animation-delay: var(--fa-animation-delay, 0s); -webkit-animation-direction: var(--fa-animation-direction, normal); animation-direction: var(--fa-animation-direction, normal); -webkit-animation-duration: var(--fa-animation-duration, 1s); animation-duration: var(--fa-animation-duration, 1s); -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-iteration-count: var(--fa-animation-iteration-count, infinite); -webkit-animation-timing-function: var(--fa-animation-timing, linear); animation-timing-function: var(--fa-animation-timing, linear); } .fa-spin { -webkit-animation-name: fa-spin; animation-name: fa-spin; -webkit-animation-delay: var(--fa-animation-delay, 0s); animation-delay: var(--fa-animation-delay, 0s); -webkit-animation-direction: var(--fa-animation-direction, normal); animation-direction: var(--fa-animation-direction, normal); -webkit-animation-duration: var(--fa-animation-duration, 2s); animation-duration: var(--fa-animation-duration, 2s); -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-iteration-count: var(--fa-animation-iteration-count, infinite); -webkit-animation-timing-function: var(--fa-animation-timing, linear); animation-timing-function: var(--fa-animation-timing, linear); } .fa-spin-reverse { --fa-animation-direction: reverse; } .fa-pulse, .fa-spin-pulse { -webkit-animation-name: fa-spin; animation-name: fa-spin; -webkit-animation-direction: var(--fa-animation-direction, normal); animation-direction: var(--fa-animation-direction, normal); -webkit-animation-duration: var(--fa-animation-duration, 1s); animation-duration: var(--fa-animation-duration, 1s); -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-iteration-count: var(--fa-animation-iteration-count, infinite); -webkit-animation-timing-function: var(--fa-animation-timing, steps(8)); animation-timing-function: var(--fa-animation-timing, steps(8)); } @media (prefers-reduced-motion: reduce) { .fa-beat, .fa-bounce, .fa-fade, .fa-beat-fade, .fa-flip, .fa-pulse, .fa-shake, .fa-spin, .fa-spin-pulse { -webkit-animation-delay: -1ms; animation-delay: -1ms; -webkit-animation-duration: 1ms; animation-duration: 1ms; -webkit-animation-iteration-count: 1; animation-iteration-count: 1; -webkit-transition-delay: 0s; transition-delay: 0s; -webkit-transition-duration: 0s; transition-duration: 0s; } } @-webkit-keyframes fa-beat { 0%, 90% { -webkit-transform: scale(1); transform: scale(1); } 45% { -webkit-transform: scale(var(--fa-beat-scale, 1.25)); transform: scale(var(--fa-beat-scale, 1.25)); } } @keyframes fa-beat { 0%, 90% { -webkit-transform: scale(1); transform: scale(1); } 45% { -webkit-transform: scale(var(--fa-beat-scale, 1.25)); transform: scale(var(--fa-beat-scale, 1.25)); } } @-webkit-keyframes fa-bounce { 0% { -webkit-transform: scale(1, 1) translateY(0); transform: scale(1, 1) translateY(0); } 10% { -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); } 30% { -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); } 50% { -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); } 57% { -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); } 64% { -webkit-transform: scale(1, 1) translateY(0); transform: scale(1, 1) translateY(0); } 100% { -webkit-transform: scale(1, 1) translateY(0); transform: scale(1, 1) translateY(0); } } @keyframes fa-bounce { 0% { -webkit-transform: scale(1, 1) translateY(0); transform: scale(1, 1) translateY(0); } 10% { -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); } 30% { -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); } 50% { -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); } 57% { -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); } 64% { -webkit-transform: scale(1, 1) translateY(0); transform: scale(1, 1) translateY(0); } 100% { -webkit-transform: scale(1, 1) translateY(0); transform: scale(1, 1) translateY(0); } } @-webkit-keyframes fa-fade { 50% { opacity: var(--fa-fade-opacity, 0.4); } } @keyframes fa-fade { 50% { opacity: var(--fa-fade-opacity, 0.4); } } @-webkit-keyframes fa-beat-fade { 0%, 100% { opacity: var(--fa-beat-fade-opacity, 0.4); -webkit-transform: scale(1); transform: scale(1); } 50% { opacity: 1; -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125)); transform: scale(var(--fa-beat-fade-scale, 1.125)); } } @keyframes fa-beat-fade { 0%, 100% { opacity: var(--fa-beat-fade-opacity, 0.4); -webkit-transform: scale(1); transform: scale(1); } 50% { opacity: 1; -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125)); transform: scale(var(--fa-beat-fade-scale, 1.125)); } } @-webkit-keyframes fa-flip { 50% { -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); } } @keyframes fa-flip { 50% { -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); } } @-webkit-keyframes fa-shake { 0% { -webkit-transform: rotate(-15deg); transform: rotate(-15deg); } 4% { -webkit-transform: rotate(15deg); transform: rotate(15deg); } 8%, 24% { -webkit-transform: rotate(-18deg); transform: rotate(-18deg); } 12%, 28% { -webkit-transform: rotate(18deg); transform: rotate(18deg); } 16% { -webkit-transform: rotate(-22deg); transform: rotate(-22deg); } 20% { -webkit-transform: rotate(22deg); transform: rotate(22deg); } 32% { -webkit-transform: rotate(-12deg); transform: rotate(-12deg); } 36% { -webkit-transform: rotate(12deg); transform: rotate(12deg); } 40%, 100% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } } @keyframes fa-shake { 0% { -webkit-transform: rotate(-15deg); transform: rotate(-15deg); } 4% { -webkit-transform: rotate(15deg); transform: rotate(15deg); } 8%, 24% { -webkit-transform: rotate(-18deg); transform: rotate(-18deg); } 12%, 28% { -webkit-transform: rotate(18deg); transform: rotate(18deg); } 16% { -webkit-transform: rotate(-22deg); transform: rotate(-22deg); } 20% { -webkit-transform: rotate(22deg); transform: rotate(22deg); } 32% { -webkit-transform: rotate(-12deg); transform: rotate(-12deg); } 36% { -webkit-transform: rotate(12deg); transform: rotate(12deg); } 40%, 100% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } } @-webkit-keyframes fa-spin { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes fa-spin { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } .fa-rotate-90 { -webkit-transform: rotate(90deg); transform: rotate(90deg); } .fa-rotate-180 { -webkit-transform: rotate(180deg); transform: rotate(180deg); } .fa-rotate-270 { -webkit-transform: rotate(270deg); transform: rotate(270deg); } .fa-flip-horizontal { -webkit-transform: scale(-1, 1); transform: scale(-1, 1); } .fa-flip-vertical { -webkit-transform: scale(1, -1); transform: scale(1, -1); } .fa-flip-both, .fa-flip-horizontal.fa-flip-vertical { -webkit-transform: scale(-1, -1); transform: scale(-1, -1); } .fa-rotate-by { -webkit-transform: rotate(var(--fa-rotate-angle, none)); transform: rotate(var(--fa-rotate-angle, none)); } .fa-stack { display: inline-block; vertical-align: middle; height: 2em; position: relative; width: 2.5em; } .fa-stack-1x, .fa-stack-2x { bottom: 0; left: 0; margin: auto; position: absolute; right: 0; top: 0; z-index: var(--fa-stack-z-index, auto); } .svg-inline--fa.fa-stack-1x { height: 1em; width: 1.25em; } .svg-inline--fa.fa-stack-2x { height: 2em; width: 2.5em; } .fa-inverse { color: var(--fa-inverse, #fff); } .sr-only, .fa-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; } .sr-only-focusable:not(:focus), .fa-sr-only-focusable:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; } .svg-inline--fa .fa-primary { fill: var(--fa-primary-color, currentColor); opacity: var(--fa-primary-opacity, 1); } .svg-inline--fa .fa-secondary { fill: var(--fa-secondary-color, currentColor); opacity: var(--fa-secondary-opacity, 0.4); } .svg-inline--fa.fa-swap-opacity .fa-primary { opacity: var(--fa-secondary-opacity, 0.4); } .svg-inline--fa.fa-swap-opacity .fa-secondary { opacity: var(--fa-primary-opacity, 1); } .svg-inline--fa mask .fa-primary, .svg-inline--fa mask .fa-secondary { fill: black; } .fad.fa-inverse, .fa-duotone.fa-inverse { color: var(--fa-inverse, #fff); }`;function Wg(){var e=Mg,t=Vg,n=L.cssPrefix,r=L.replacementClass,o=Nb;if(n!==e||r!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");o=o.replace(i,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(l,".".concat(r))}return o}var ap=!1;function as(){L.autoAddCss&&!ap&&(Tb(Wg()),ap=!0)}var zb={mixout:function(){return{dom:{css:Wg,insertCss:as}}},hooks:function(){return{beforeDOMElementCreation:function(){as()},beforeI2svg:function(){as()}}}},nn=On||{};nn[tn]||(nn[tn]={});nn[tn].styles||(nn[tn].styles={});nn[tn].hooks||(nn[tn].hooks={});nn[tn].shims||(nn[tn].shims=[]);var Et=nn[tn],Kg=[],Lb=function e(){se.removeEventListener("DOMContentLoaded",e),Oa=1,Kg.map(function(t){return t()})},Oa=!1;sn&&(Oa=(se.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(se.readyState),Oa||se.addEventListener("DOMContentLoaded",Lb));function Mb(e){!sn||(Oa?setTimeout(e,0):Kg.push(e))}function ii(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,o=e.children,i=o===void 0?[]:o;return typeof e=="string"?Hg(e):"<".concat(t," ").concat(Ob(r),">").concat(i.map(ii).join(""),"")}function lp(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var Vb=function(t,n){return function(r,o,i,a){return t.call(n,r,o,i,a)}},ls=function(t,n,r,o){var i=Object.keys(t),a=i.length,l=o!==void 0?Vb(n,o):n,s,u,d;for(r===void 0?(s=1,d=t[i[0]]):(s=0,d=r);s=55296&&o<=56319&&n=55296&&r<=56319&&n>t+1&&(o=e.charCodeAt(t+1),o>=56320&&o<=57343)?(r-55296)*1024+o-56320+65536:r}function sp(e){return Object.keys(e).reduce(function(t,n){var r=e[n],o=!!r.icon;return o?t[r.iconName]=r.icon:t[n]=r,t},{})}function vu(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,o=r===void 0?!1:r,i=sp(t);typeof Et.hooks.addPack=="function"&&!o?Et.hooks.addPack(e,sp(t)):Et.styles[e]=O(O({},Et.styles[e]||{}),i),e==="fas"&&vu("fa",t)}var Ri,Oi,Di,hr=Et.styles,jb=Et.shims,Ub=(Ri={},Ee(Ri,ae,Object.values(Wo[ae])),Ee(Ri,he,Object.values(Wo[he])),Ri),Zc=null,Gg={},Yg={},Qg={},Jg={},Xg={},Hb=(Oi={},Ee(Oi,ae,Object.keys(Uo[ae])),Ee(Oi,he,Object.keys(Uo[he])),Oi);function Wb(e){return~Ab.indexOf(e)}function Kb(e,t){var n=t.split("-"),r=n[0],o=n.slice(1).join("-");return r===e&&o!==""&&!Wb(o)?o:null}var Zg=function(){var t=function(i){return ls(hr,function(a,l,s){return a[s]=ls(l,i,{}),a},{})};Gg=t(function(o,i,a){if(i[3]&&(o[i[3]]=a),i[2]){var l=i[2].filter(function(s){return typeof s=="number"});l.forEach(function(s){o[s.toString(16)]=a})}return o}),Yg=t(function(o,i,a){if(o[a]=a,i[2]){var l=i[2].filter(function(s){return typeof s=="string"});l.forEach(function(s){o[s]=a})}return o}),Xg=t(function(o,i,a){var l=i[2];return o[a]=a,l.forEach(function(s){o[s]=a}),o});var n="far"in hr||L.autoFetchSvg,r=ls(jb,function(o,i){var a=i[0],l=i[1],s=i[2];return l==="far"&&!n&&(l="fas"),typeof a=="string"&&(o.names[a]={prefix:l,iconName:s}),typeof a=="number"&&(o.unicodes[a.toString(16)]={prefix:l,iconName:s}),o},{names:{},unicodes:{}});Qg=r.names,Jg=r.unicodes,Zc=Sl(L.styleDefault,{family:L.familyDefault})};_b(function(e){Zc=Sl(e.styleDefault,{family:L.familyDefault})});Zg();function qc(e,t){return(Gg[e]||{})[t]}function Gb(e,t){return(Yg[e]||{})[t]}function Wn(e,t){return(Xg[e]||{})[t]}function qg(e){return Qg[e]||{prefix:null,iconName:null}}function Yb(e){var t=Jg[e],n=qc("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function Dn(){return Zc}var ef=function(){return{prefix:null,iconName:null,rest:[]}};function Sl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,r=n===void 0?ae:n,o=Uo[r][e],i=Ho[r][e]||Ho[r][o],a=e in Et.styles?e:null;return i||a||null}var up=(Di={},Ee(Di,ae,Object.keys(Wo[ae])),Ee(Di,he,Object.keys(Wo[he])),Di);function bl(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.skipLookups,o=r===void 0?!1:r,i=(t={},Ee(t,ae,"".concat(L.cssPrefix,"-").concat(ae)),Ee(t,he,"".concat(L.cssPrefix,"-").concat(he)),t),a=null,l=ae;(e.includes(i[ae])||e.some(function(u){return up[ae].includes(u)}))&&(l=ae),(e.includes(i[he])||e.some(function(u){return up[he].includes(u)}))&&(l=he);var s=e.reduce(function(u,d){var m=Kb(L.cssPrefix,d);if(hr[d]?(d=Ub[l].includes(d)?xb[l][d]:d,a=d,u.prefix=d):Hb[l].indexOf(d)>-1?(a=d,u.prefix=Sl(d,{family:l})):m?u.iconName=m:d!==L.replacementClass&&d!==i[ae]&&d!==i[he]&&u.rest.push(d),!o&&u.prefix&&u.iconName){var v=a==="fa"?qg(u.iconName):{},y=Wn(u.prefix,u.iconName);v.prefix&&(a=null),u.iconName=v.iconName||y||u.iconName,u.prefix=v.prefix||u.prefix,u.prefix==="far"&&!hr.far&&hr.fas&&!L.autoFetchSvg&&(u.prefix="fas")}return u},ef());return(e.includes("fa-brands")||e.includes("fab"))&&(s.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(s.prefix="fad"),!s.prefix&&l===he&&(hr.fass||L.autoFetchSvg)&&(s.prefix="fass",s.iconName=Wn(s.prefix,s.iconName)||s.iconName),(s.prefix==="fa"||a==="fa")&&(s.prefix=Dn()||"fas"),s}var Qb=function(){function e(){lb(this,e),this.definitions={}}return sb(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,o=new Array(r),i=0;i0&&d.forEach(function(m){typeof m=="string"&&(n[l][m]=u)}),n[l][s]=u}),n}}]),e}(),cp=[],yr={},Pr={},Jb=Object.keys(Pr);function Xb(e,t){var n=t.mixoutsTo;return cp=e,yr={},Object.keys(Pr).forEach(function(r){Jb.indexOf(r)===-1&&delete Pr[r]}),cp.forEach(function(r){var o=r.mixout?r.mixout():{};if(Object.keys(o).forEach(function(a){typeof o[a]=="function"&&(n[a]=o[a]),Ra(o[a])==="object"&&Object.keys(o[a]).forEach(function(l){n[a]||(n[a]={}),n[a][l]=o[a][l]})}),r.hooks){var i=r.hooks();Object.keys(i).forEach(function(a){yr[a]||(yr[a]=[]),yr[a].push(i[a])})}r.provides&&r.provides(Pr)}),n}function gu(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o1?t-1:0),r=1;r0&&arguments[0]!==void 0?arguments[0]:{};return sn?(er("beforeI2svg",t),rn("pseudoElements2svg",t),rn("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;L.autoReplaceSvg===!1&&(L.autoReplaceSvg=!0),L.observeMutations=!0,Mb(function(){tw({autoReplaceSvgRoot:n}),er("watch",t)})}},ew={icon:function(t){if(t===null)return null;if(Ra(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:Wn(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],r=Sl(t[0]);return{prefix:r,iconName:Wn(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(L.cssPrefix,"-"))>-1||t.match(kb))){var o=bl(t.split(" "),{skipLookups:!0});return{prefix:o.prefix||Dn(),iconName:Wn(o.prefix,o.iconName)||o.iconName}}if(typeof t=="string"){var i=Dn();return{prefix:i,iconName:Wn(i,t)||t}}}},ft={noAuto:Zb,config:L,dom:qb,parse:ew,library:eh,findIconDefinition:hu,toHtml:ii},tw=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?se:n;(Object.keys(Et.styles).length>0||L.autoFetchSvg)&&sn&&L.autoReplaceSvg&&ft.dom.i2svg({node:r})};function wl(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return ii(r)})}}),Object.defineProperty(e,"node",{get:function(){if(!!sn){var r=se.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function nw(e){var t=e.children,n=e.main,r=e.mask,o=e.attributes,i=e.styles,a=e.transform;if(Xc(a)&&n.found&&!r.found){var l=n.width,s=n.height,u={x:l/s/2,y:.5};o.style=Cl(O(O({},i),{},{"transform-origin":"".concat(u.x+a.x/16,"em ").concat(u.y+a.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}function rw(e){var t=e.prefix,n=e.iconName,r=e.children,o=e.attributes,i=e.symbol,a=i===!0?"".concat(t,"-").concat(L.cssPrefix,"-").concat(n):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:O(O({},o),{},{id:a}),children:r}]}]}function tf(e){var t=e.icons,n=t.main,r=t.mask,o=e.prefix,i=e.iconName,a=e.transform,l=e.symbol,s=e.title,u=e.maskId,d=e.titleId,m=e.extra,v=e.watchable,y=v===void 0?!1:v,g=r.found?r:n,x=g.width,C=g.height,p=o==="fak",f=[L.replacementClass,i?"".concat(L.cssPrefix,"-").concat(i):""].filter(function(z){return m.classes.indexOf(z)===-1}).filter(function(z){return z!==""||!!z}).concat(m.classes).join(" "),c={children:[],attributes:O(O({},m.attributes),{},{"data-prefix":o,"data-icon":i,class:f,role:m.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(x," ").concat(C)})},k=p&&!~m.classes.indexOf("fa-fw")?{width:"".concat(x/C*16*.0625,"em")}:{};y&&(c.attributes[qn]=""),s&&(c.children.push({tag:"title",attributes:{id:c.attributes["aria-labelledby"]||"title-".concat(d||Go())},children:[s]}),delete c.attributes.title);var h=O(O({},c),{},{prefix:o,iconName:i,main:n,mask:r,maskId:u,transform:a,symbol:l,styles:O(O({},k),m.styles)}),w=r.found&&n.found?rn("generateAbstractMask",h)||{children:[],attributes:{}}:rn("generateAbstractIcon",h)||{children:[],attributes:{}},S=w.children,$=w.attributes;return h.children=S,h.attributes=$,l?rw(h):nw(h)}function fp(e){var t=e.content,n=e.width,r=e.height,o=e.transform,i=e.title,a=e.extra,l=e.watchable,s=l===void 0?!1:l,u=O(O(O({},a.attributes),i?{title:i}:{}),{},{class:a.classes.join(" ")});s&&(u[qn]="");var d=O({},a.styles);Xc(o)&&(d.transform=Ib({transform:o,startCentered:!0,width:n,height:r}),d["-webkit-transform"]=d.transform);var m=Cl(d);m.length>0&&(u.style=m);var v=[];return v.push({tag:"span",attributes:u,children:[t]}),i&&v.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),v}function ow(e){var t=e.content,n=e.title,r=e.extra,o=O(O(O({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),i=Cl(r.styles);i.length>0&&(o.style=i);var a=[];return a.push({tag:"span",attributes:o,children:[t]}),n&&a.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),a}var ss=Et.styles;function yu(e){var t=e[0],n=e[1],r=e.slice(4),o=Wc(r,1),i=o[0],a=null;return Array.isArray(i)?a={tag:"g",attributes:{class:"".concat(L.cssPrefix,"-").concat(Hn.GROUP)},children:[{tag:"path",attributes:{class:"".concat(L.cssPrefix,"-").concat(Hn.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(L.cssPrefix,"-").concat(Hn.PRIMARY),fill:"currentColor",d:i[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:t,height:n,icon:a}}var iw={found:!1,width:512,height:512};function aw(e,t){!Fg&&!L.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function xu(e,t){var n=t;return t==="fa"&&L.styleDefault!==null&&(t=Dn()),new Promise(function(r,o){if(rn("missingIconAbstract"),n==="fa"){var i=qg(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&ss[t]&&ss[t][e]){var a=ss[t][e];return r(yu(a))}aw(e,t),r(O(O({},iw),{},{icon:L.showMissingIcons&&e?rn("missingIconAbstract")||{}:{}}))})}var dp=function(){},ku=L.measurePerformance&&Ai&&Ai.mark&&Ai.measure?Ai:{mark:dp,measure:dp},so='FA "6.4.2"',lw=function(t){return ku.mark("".concat(so," ").concat(t," begins")),function(){return th(t)}},th=function(t){ku.mark("".concat(so," ").concat(t," ends")),ku.measure("".concat(so," ").concat(t),"".concat(so," ").concat(t," begins"),"".concat(so," ").concat(t," ends"))},nf={begin:lw,end:th},Ji=function(){};function pp(e){var t=e.getAttribute?e.getAttribute(qn):null;return typeof t=="string"}function sw(e){var t=e.getAttribute?e.getAttribute(Gc):null,n=e.getAttribute?e.getAttribute(Yc):null;return t&&n}function uw(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(L.replacementClass)}function cw(){if(L.autoReplaceSvg===!0)return Xi.replace;var e=Xi[L.autoReplaceSvg];return e||Xi.replace}function fw(e){return se.createElementNS("http://www.w3.org/2000/svg",e)}function dw(e){return se.createElement(e)}function nh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?fw:dw:n;if(typeof e=="string")return se.createTextNode(e);var o=r(e.tag);Object.keys(e.attributes||[]).forEach(function(a){o.setAttribute(a,e.attributes[a])});var i=e.children||[];return i.forEach(function(a){o.appendChild(nh(a,{ceFn:r}))}),o}function pw(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var Xi={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(o){n.parentNode.insertBefore(nh(o),n)}),n.getAttribute(qn)===null&&L.keepOriginalSource){var r=se.createComment(pw(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~Jc(n).indexOf(L.replacementClass))return Xi.replace(t);var o=new RegExp("".concat(L.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var i=r[0].attributes.class.split(" ").reduce(function(l,s){return s===L.replacementClass||s.match(o)?l.toSvg.push(s):l.toNode.push(s),l},{toNode:[],toSvg:[]});r[0].attributes.class=i.toSvg.join(" "),i.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",i.toNode.join(" "))}var a=r.map(function(l){return ii(l)}).join(` `);n.setAttribute(qn,""),n.innerHTML=a}};function mp(e){e()}function rh(e,t){var n=typeof t=="function"?t:Ji;if(e.length===0)n();else{var r=mp;L.mutateApproach===hb&&(r=On.requestAnimationFrame||mp),r(function(){var o=cw(),i=nf.begin("mutate");e.map(o),i(),n()})}}var rf=!1;function oh(){rf=!0}function Cu(){rf=!1}var Da=null;function vp(e){if(!!op&&!!L.observeMutations){var t=e.treeCallback,n=t===void 0?Ji:t,r=e.nodeCallback,o=r===void 0?Ji:r,i=e.pseudoElementsCallback,a=i===void 0?Ji:i,l=e.observeMutationsRoot,s=l===void 0?se:l;Da=new op(function(u){if(!rf){var d=Dn();Hr(u).forEach(function(m){if(m.type==="childList"&&m.addedNodes.length>0&&!pp(m.addedNodes[0])&&(L.searchPseudoElements&&a(m.target),n(m.target)),m.type==="attributes"&&m.target.parentNode&&L.searchPseudoElements&&a(m.target.parentNode),m.type==="attributes"&&pp(m.target)&&~wb.indexOf(m.attributeName))if(m.attributeName==="class"&&sw(m.target)){var v=bl(Jc(m.target)),y=v.prefix,g=v.iconName;m.target.setAttribute(Gc,y||d),g&&m.target.setAttribute(Yc,g)}else uw(m.target)&&o(m.target)})}}),sn&&Da.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function mw(){!Da||Da.disconnect()}function vw(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(r,o){var i=o.split(":"),a=i[0],l=i.slice(1);return a&&l.length>0&&(r[a]=l.join(":").trim()),r},{})),n}function gw(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",o=bl(Jc(e));return o.prefix||(o.prefix=Dn()),t&&n&&(o.prefix=t,o.iconName=n),o.iconName&&o.prefix||(o.prefix&&r.length>0&&(o.iconName=Gb(o.prefix,e.innerText)||qc(o.prefix,mu(e.innerText))),!o.iconName&&L.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=e.firstChild.data)),o}function hw(e){var t=Hr(e.attributes).reduce(function(o,i){return o.name!=="class"&&o.name!=="style"&&(o[i.name]=i.value),o},{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return L.autoA11y&&(n?t["aria-labelledby"]="".concat(L.replacementClass,"-title-").concat(r||Go()):(t["aria-hidden"]="true",t.focusable="false")),t}function yw(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Lt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function gp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=gw(e),r=n.iconName,o=n.prefix,i=n.rest,a=hw(e),l=gu("parseNodeAttributes",{},e),s=t.styleParser?vw(e):[];return O({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:o,transform:Lt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:s,attributes:a}},l)}var xw=Et.styles;function ih(e){var t=L.autoReplaceSvg==="nest"?gp(e,{styleParser:!1}):gp(e);return~t.extra.classes.indexOf(Bg)?rn("generateLayersText",e,t):rn("generateSvgReplacementMutation",e,t)}var In=new Set;Qc.map(function(e){In.add("fa-".concat(e))});Object.keys(Uo[ae]).map(In.add.bind(In));Object.keys(Uo[he]).map(In.add.bind(In));In=ri(In);function hp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!sn)return Promise.resolve();var n=se.documentElement.classList,r=function(m){return n.add("".concat(ip,"-").concat(m))},o=function(m){return n.remove("".concat(ip,"-").concat(m))},i=L.autoFetchSvg?In:Qc.map(function(d){return"fa-".concat(d)}).concat(Object.keys(xw));i.includes("fa")||i.push("fa");var a=[".".concat(Bg,":not([").concat(qn,"])")].concat(i.map(function(d){return".".concat(d,":not([").concat(qn,"])")})).join(", ");if(a.length===0)return Promise.resolve();var l=[];try{l=Hr(e.querySelectorAll(a))}catch{}if(l.length>0)r("pending"),o("complete");else return Promise.resolve();var s=nf.begin("onTree"),u=l.reduce(function(d,m){try{var v=ih(m);v&&d.push(v)}catch(y){Fg||y.name==="MissingIcon"&&console.error(y)}return d},[]);return new Promise(function(d,m){Promise.all(u).then(function(v){rh(v,function(){r("active"),r("complete"),o("pending"),typeof t=="function"&&t(),s(),d()})}).catch(function(v){s(),m(v)})})}function kw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;ih(e).then(function(n){n&&rh([n],t)})}function Cw(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:hu(t||{}),o=n.mask;return o&&(o=(o||{}).icon?o:hu(o||{})),e(r,O(O({},n),{},{mask:o}))}}var Sw=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,o=r===void 0?Lt:r,i=n.symbol,a=i===void 0?!1:i,l=n.mask,s=l===void 0?null:l,u=n.maskId,d=u===void 0?null:u,m=n.title,v=m===void 0?null:m,y=n.titleId,g=y===void 0?null:y,x=n.classes,C=x===void 0?[]:x,p=n.attributes,f=p===void 0?{}:p,c=n.styles,k=c===void 0?{}:c;if(!!t){var h=t.prefix,w=t.iconName,S=t.icon;return wl(O({type:"icon"},t),function(){return er("beforeDOMElementCreation",{iconDefinition:t,params:n}),L.autoA11y&&(v?f["aria-labelledby"]="".concat(L.replacementClass,"-title-").concat(g||Go()):(f["aria-hidden"]="true",f.focusable="false")),tf({icons:{main:yu(S),mask:s?yu(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:h,iconName:w,transform:O(O({},Lt),o),symbol:a,title:v,maskId:d,titleId:g,extra:{attributes:f,styles:k,classes:C}})})}},bw={mixout:function(){return{icon:Cw(Sw)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=hp,n.nodeCallback=kw,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,o=r===void 0?se:r,i=n.callback,a=i===void 0?function(){}:i;return hp(o,a)},t.generateSvgReplacementMutation=function(n,r){var o=r.iconName,i=r.title,a=r.titleId,l=r.prefix,s=r.transform,u=r.symbol,d=r.mask,m=r.maskId,v=r.extra;return new Promise(function(y,g){Promise.all([xu(o,l),d.iconName?xu(d.iconName,d.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(x){var C=Wc(x,2),p=C[0],f=C[1];y([n,tf({icons:{main:p,mask:f},prefix:l,iconName:o,transform:s,symbol:u,maskId:m,title:i,titleId:a,extra:v,watchable:!0})])}).catch(g)})},t.generateAbstractIcon=function(n){var r=n.children,o=n.attributes,i=n.main,a=n.transform,l=n.styles,s=Cl(l);s.length>0&&(o.style=s);var u;return Xc(a)&&(u=rn("generateAbstractTransformGrouping",{main:i,transform:a,containerWidth:i.width,iconWidth:i.width})),r.push(u||i.icon),{children:r,attributes:o}}}},ww={mixout:function(){return{layer:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=r.classes,i=o===void 0?[]:o;return wl({type:"layer"},function(){er("beforeDOMElementCreation",{assembler:n,params:r});var a=[];return n(function(l){Array.isArray(l)?l.map(function(s){a=a.concat(s.abstract)}):a=a.concat(l.abstract)}),[{tag:"span",attributes:{class:["".concat(L.cssPrefix,"-layers")].concat(ri(i)).join(" ")},children:a}]})}}}},Aw={mixout:function(){return{counter:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=r.title,i=o===void 0?null:o,a=r.classes,l=a===void 0?[]:a,s=r.attributes,u=s===void 0?{}:s,d=r.styles,m=d===void 0?{}:d;return wl({type:"counter",content:n},function(){return er("beforeDOMElementCreation",{content:n,params:r}),ow({content:n.toString(),title:i,extra:{attributes:u,styles:m,classes:["".concat(L.cssPrefix,"-layers-counter")].concat(ri(l))}})})}}}},Ew={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=r.transform,i=o===void 0?Lt:o,a=r.title,l=a===void 0?null:a,s=r.classes,u=s===void 0?[]:s,d=r.attributes,m=d===void 0?{}:d,v=r.styles,y=v===void 0?{}:v;return wl({type:"text",content:n},function(){return er("beforeDOMElementCreation",{content:n,params:r}),fp({content:n,transform:O(O({},Lt),i),title:l,extra:{attributes:m,styles:y,classes:["".concat(L.cssPrefix,"-layers-text")].concat(ri(u))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var o=r.title,i=r.transform,a=r.extra,l=null,s=null;if(Lg){var u=parseInt(getComputedStyle(n).fontSize,10),d=n.getBoundingClientRect();l=d.width/u,s=d.height/u}return L.autoA11y&&!o&&(a.attributes["aria-hidden"]="true"),Promise.resolve([n,fp({content:n.innerHTML,width:l,height:s,transform:i,title:o,extra:a,watchable:!0})])}}},$w=new RegExp('"',"ug"),yp=[1105920,1112319];function Pw(e){var t=e.replace($w,""),n=Bb(t,0),r=n>=yp[0]&&n<=yp[1],o=t.length===2?t[0]===t[1]:!1;return{value:mu(o?t[0]:t),isSecondary:r||o}}function xp(e,t){var n="".concat(gb).concat(t.replace(":","-"));return new Promise(function(r,o){if(e.getAttribute(n)!==null)return r();var i=Hr(e.children),a=i.filter(function(S){return S.getAttribute(pu)===t})[0],l=On.getComputedStyle(e,t),s=l.getPropertyValue("font-family").match(Cb),u=l.getPropertyValue("font-weight"),d=l.getPropertyValue("content");if(a&&!s)return e.removeChild(a),r();if(s&&d!=="none"&&d!==""){var m=l.getPropertyValue("content"),v=~["Sharp"].indexOf(s[2])?he:ae,y=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(s[2])?Ho[v][s[2].toLowerCase()]:Sb[v][u],g=Pw(m),x=g.value,C=g.isSecondary,p=s[0].startsWith("FontAwesome"),f=qc(y,x),c=f;if(p){var k=Yb(x);k.iconName&&k.prefix&&(f=k.iconName,y=k.prefix)}if(f&&!C&&(!a||a.getAttribute(Gc)!==y||a.getAttribute(Yc)!==c)){e.setAttribute(n,c),a&&e.removeChild(a);var h=yw(),w=h.extra;w.attributes[pu]=t,xu(f,y).then(function(S){var $=tf(O(O({},h),{},{icons:{main:S,mask:ef()},prefix:y,iconName:c,extra:w,watchable:!0})),z=se.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(z,e.firstChild):e.appendChild(z),z.outerHTML=$.map(function(E){return ii(E)}).join(` `),e.removeAttribute(n),r()}).catch(o)}else r()}else r()})}function _w(e){return Promise.all([xp(e,"::before"),xp(e,"::after")])}function Tw(e){return e.parentNode!==document.head&&!~yb.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(pu)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function kp(e){if(!!sn)return new Promise(function(t,n){var r=Hr(e.querySelectorAll("*")).filter(Tw).map(_w),o=nf.begin("searchPseudoElements");oh(),Promise.all(r).then(function(){o(),Cu(),t()}).catch(function(){o(),Cu(),n()})})}var Rw={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=kp,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,o=r===void 0?se:r;L.searchPseudoElements&&kp(o)}}},Cp=!1,Ow={mixout:function(){return{dom:{unwatch:function(){oh(),Cp=!0}}}},hooks:function(){return{bootstrap:function(){vp(gu("mutationObserverCallbacks",{}))},noAuto:function(){mw()},watch:function(n){var r=n.observeMutationsRoot;Cp?Cu():vp(gu("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},Sp=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(r,o){var i=o.toLowerCase().split("-"),a=i[0],l=i.slice(1).join("-");if(a&&l==="h")return r.flipX=!0,r;if(a&&l==="v")return r.flipY=!0,r;if(l=parseFloat(l),isNaN(l))return r;switch(a){case"grow":r.size=r.size+l;break;case"shrink":r.size=r.size-l;break;case"left":r.x=r.x-l;break;case"right":r.x=r.x+l;break;case"up":r.y=r.y-l;break;case"down":r.y=r.y+l;break;case"rotate":r.rotate=r.rotate+l;break}return r},n)},Dw={mixout:function(){return{parse:{transform:function(n){return Sp(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var o=r.getAttribute("data-fa-transform");return o&&(n.transform=Sp(o)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var r=n.main,o=n.transform,i=n.containerWidth,a=n.iconWidth,l={transform:"translate(".concat(i/2," 256)")},s="translate(".concat(o.x*32,", ").concat(o.y*32,") "),u="scale(".concat(o.size/16*(o.flipX?-1:1),", ").concat(o.size/16*(o.flipY?-1:1),") "),d="rotate(".concat(o.rotate," 0 0)"),m={transform:"".concat(s," ").concat(u," ").concat(d)},v={transform:"translate(".concat(a/2*-1," -256)")},y={outer:l,inner:m,path:v};return{tag:"g",attributes:O({},y.outer),children:[{tag:"g",attributes:O({},y.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:O(O({},r.icon.attributes),y.path)}]}]}}}},us={x:0,y:0,width:"100%",height:"100%"};function bp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function Iw(e){return e.tag==="g"?e.children:[e]}var Nw={hooks:function(){return{parseNodeAttributes:function(n,r){var o=r.getAttribute("data-fa-mask"),i=o?bl(o.split(" ").map(function(a){return a.trim()})):ef();return i.prefix||(i.prefix=Dn()),n.mask=i,n.maskId=r.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var r=n.children,o=n.attributes,i=n.main,a=n.mask,l=n.maskId,s=n.transform,u=i.width,d=i.icon,m=a.width,v=a.icon,y=Db({transform:s,containerWidth:m,iconWidth:u}),g={tag:"rect",attributes:O(O({},us),{},{fill:"white"})},x=d.children?{children:d.children.map(bp)}:{},C={tag:"g",attributes:O({},y.inner),children:[bp(O({tag:d.tag,attributes:O(O({},d.attributes),y.path)},x))]},p={tag:"g",attributes:O({},y.outer),children:[C]},f="mask-".concat(l||Go()),c="clip-".concat(l||Go()),k={tag:"mask",attributes:O(O({},us),{},{id:f,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[g,p]},h={tag:"defs",children:[{tag:"clipPath",attributes:{id:c},children:Iw(v)},k]};return r.push(h,{tag:"rect",attributes:O({fill:"currentColor","clip-path":"url(#".concat(c,")"),mask:"url(#".concat(f,")")},us)}),{children:r,attributes:o}}}},zw={provides:function(t){var n=!1;On.matchMedia&&(n=On.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var r=[],o={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:O(O({},o),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var a=O(O({},i),{},{attributeName:"opacity"}),l={tag:"circle",attributes:O(O({},o),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||l.children.push({tag:"animate",attributes:O(O({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:O(O({},a),{},{values:"1;0;1;1;0;1;"})}),r.push(l),r.push({tag:"path",attributes:O(O({},o),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:O(O({},a),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:O(O({},o),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:O(O({},a),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},Lw={hooks:function(){return{parseNodeAttributes:function(n,r){var o=r.getAttribute("data-fa-symbol"),i=o===null?!1:o===""?!0:o;return n.symbol=i,n}}}},Mw=[zb,bw,ww,Aw,Ew,Rw,Ow,Dw,Nw,zw,Lw];Xb(Mw,{mixoutsTo:ft});ft.noAuto;ft.config;ft.library;ft.dom;var Su=ft.parse;ft.findIconDefinition;ft.toHtml;var Vw=ft.icon;ft.layer;ft.text;ft.counter;function wp(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 xn(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function Bw(e,t){if(e==null)return{};var n=Fw(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function bu(e){return jw(e)||Uw(e)||Hw(e)||Ww()}function jw(e){if(Array.isArray(e))return wu(e)}function Uw(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Hw(e,t){if(!!e){if(typeof e=="string")return wu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wu(e,t)}}function wu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var r=(t.children||[]).map(function(s){return lh(e,s)}),o=Object.keys(t.attributes||{}).reduce(function(s,u){var d=t.attributes[u];switch(u){case"class":s.attrs.className=d,delete t.attributes.class;break;case"style":s.attrs.style=Jw(d);break;default:u.indexOf("aria-")===0||u.indexOf("data-")===0?s.attrs[u.toLowerCase()]=d:s.attrs[ah(u)]=d}return s},{attrs:{}}),i=n.style,a=i===void 0?{}:i,l=Bw(n,Yw);return o.attrs.style=xn(xn({},o.attrs.style),a),e.apply(void 0,[t.tag,xn(xn({},o.attrs),l)].concat(bu(r)))}var sh=!1;try{sh=!0}catch{}function Xw(){if(!sh&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Ap(e){if(e&&Ia(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Su.icon)return Su.icon(e);if(e===null)return null;if(e&&Ia(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function cs(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?xr({},e,t):{}}var Mr=et.forwardRef(function(e,t){var n=e.icon,r=e.mask,o=e.symbol,i=e.className,a=e.title,l=e.titleId,s=e.maskId,u=Ap(n),d=cs("classes",[].concat(bu(Kw(e)),bu(i.split(" ")))),m=cs("transform",typeof e.transform=="string"?Su.transform(e.transform):e.transform),v=cs("mask",Ap(r)),y=Vw(u,xn(xn(xn(xn({},d),m),v),{},{symbol:o,title:a,titleId:l,maskId:s}));if(!y)return Xw("Could not find icon",u),null;var g=y.abstract,x={ref:t};return Object.keys(e).forEach(function(C){Mr.defaultProps.hasOwnProperty(C)||(x[C]=e[C])}),Zw(g[0],x)});Mr.displayName="FontAwesomeIcon";Mr.propTypes={beat:H.exports.bool,border:H.exports.bool,beatFade:H.exports.bool,bounce:H.exports.bool,className:H.exports.string,fade:H.exports.bool,flash:H.exports.bool,mask:H.exports.oneOfType([H.exports.object,H.exports.array,H.exports.string]),maskId:H.exports.string,fixedWidth:H.exports.bool,inverse:H.exports.bool,flip:H.exports.oneOf([!0,!1,"horizontal","vertical","both"]),icon:H.exports.oneOfType([H.exports.object,H.exports.array,H.exports.string]),listItem:H.exports.bool,pull:H.exports.oneOf(["right","left"]),pulse:H.exports.bool,rotation:H.exports.oneOf([0,90,180,270]),shake:H.exports.bool,size:H.exports.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:H.exports.bool,spinPulse:H.exports.bool,spinReverse:H.exports.bool,symbol:H.exports.oneOfType([H.exports.bool,H.exports.string]),title:H.exports.string,titleId:H.exports.string,transform:H.exports.oneOfType([H.exports.string,H.exports.object]),swapOpacity:H.exports.bool};Mr.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var Zw=lh.bind(null,et.createElement),qw={prefix:"fas",iconName:"unlock",icon:[448,512,[128275],"f09c","M144 144c0-44.2 35.8-80 80-80c31.9 0 59.4 18.6 72.3 45.7c7.6 16 26.7 22.8 42.6 15.2s22.8-26.7 15.2-42.6C331 33.7 281.5 0 224 0C144.5 0 80 64.5 80 144v48H64c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V256c0-35.3-28.7-64-64-64H144V144z"]},eA={prefix:"fas",iconName:"arrow-left",icon:[448,512,[8592],"f060","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]};const tA=()=>{const{playSfx:e}=kl(),t=b.exports.useRef(!0),[n,r]=b.exports.useState(!1),[o,i]=b.exports.useState([]),[a,l]=b.exports.useState(""),[s,u]=b.exports.useState(!1),[d,m]=b.exports.useState(null);b.exports.useEffect(()=>{if(s){setTimeout(()=>{r(!0)},100);const g=x=>{x.key==="Escape"&&o.canClose?y(!1):x.key==="Enter"?y(!0):v(x.key)};return window.addEventListener("keydown",g),()=>{window.removeEventListener("keydown",g)}}},[s]);const v=g=>{l(x=>{if(g==="Backspace"){const C=x.slice(0,-1),p=C.length>0?C:"";return m(null),p}else if(g>="0"&&g<="9"){const C=x+g;return m(null),C.length<=o.maxNumbers?C:x}else return x})},y=g=>{let x=!0;const C=o.reactiveUI,p=C?C.correctPin:null;l(f=>{const c=f.trim()!==""?parseInt(f,10):null;return p&&p!==c?(t.current&&e("error"),m(!1)):p&&p===c?(t.current&&e("success"),m(!0)):t.current&&e("switch"),C&&!C.closeOnWrong&&p&&p!==c&&g&&(x=!1),x&&(r(!1),setTimeout(()=>{qo("pinClosed",c),u(!1)},300)),f})};return Rn("openPin",g=>{t.current=g.useSfx,l(""),i(g),m(null),u(!0)}),Rn("closePin",()=>y(!1)),s&&I("div",{className:`w-full h-full flex justify-center items-center bg-black/50 transition-opacity duration-300 ease-in-out ${n?"opacity-100":"opacity-0"}`,children:Oe("div",{className:"bg-neutral-950 p-6 rounded-lg shadow-lg shadow-black",children:[(o.title||o.subtitle)&&Oe("div",{className:"flex flex-col justify-center items-center pb-6",children:[o.title&&I("span",{className:"text-2xl text-gray-400 font-bold",children:o.title}),o.subtitle&&I("span",{className:"text-md text-gray-500",children:o.subtitle})]}),I("div",{className:`w-[300px] flex items-center justify-center border h-[60px] mb-6 rounded-sm ${d===!1&&"border-rose-900"} ${d===!0&&"border-emerald-900"} ${d===null&&a?"border-[#e1c011]":"border-gray-500"} `,children:a&&I("span",{className:`font-bold text-4xl tracking-widest ${d===!1&&"text-rose-500"} ${d===!0&&"text-emerald-500"} ${d===null&&"text-[#e1c011]"} `,style:{textShadow:`0 0 10px rgba(${d===!1?255:d===!0?46:225}, ${d===!1?0:d===!0?139:192}, ${d===!1?0:d===!0?34:17}, 0.9)`},children:o.hidden?"*".repeat(a.length):a})}),I("div",{className:"flex flex-wrap justify-center items-center gap-3 px-2 max-w-[300px]",children:Array.from({length:12},(g,x)=>{const C=x==10?0:x+1;return I("div",{className:`cursor-pointer w-16 h-16 flex items-center justify-center border font-bold transition-all duration-300 ease-in-out ${C===10&&"border-rose-900 text-rose-500 text-xl hover:border-rose-800 hover:text-rose-400"} ${C===12&&"border-emerald-900 text-emerald-500 text-xl hover:border-emerald-800 hover:text-emerald-400"} ${C!==10&&C!==12&&"text-gray-500 border-neutral-900 hover:border-neutral-800 hover:text-gray-400 text-4xl"} `,onClick:()=>C!==10&&C!==12?v(C.toString()):C===10?v("Backspace"):y(!0),children:C!==10&&C!==12?C:C===10?I(Mr,{icon:eA}):I(Mr,{icon:qw})},x)})})]})})};function nA(e){return Bt("MuiLinearProgress",e)}xt("MuiLinearProgress",["root","determinate","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid"]);const rA=["children","className","component","color","size","variant","thickness","determinate","value","style","slots","slotProps"];let uh=e=>e,Ep,$p;const oA=ug(Ep||(Ep=uh` 0% { left: var(--_LinearProgress-progressInset); width: var(--LinearProgress-progressMinWidth); } 25% { width: var(--LinearProgress-progressMaxWidth); } 50% { left: var(--_LinearProgress-progressLeft); width: var(--LinearProgress-progressMinWidth); } 75% { width: var(--LinearProgress-progressMaxWidth); } 100% { left: var(--_LinearProgress-progressInset); width: var(--LinearProgress-progressMinWidth); } `)),iA=e=>{const{determinate:t,color:n,variant:r,size:o}=e,i={root:["root",t&&"determinate",n&&`color${ke(n)}`,r&&`variant${ke(r)}`,o&&`size${ke(o)}`]};return an(i,nA,{})},aA=ce("div",{name:"JoyLinearProgress",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e,theme:t})=>{var n,r,o,i;return A({"--LinearProgress-radius":"var(--LinearProgress-thickness)","--LinearProgress-progressThickness":"var(--LinearProgress-thickness)","--LinearProgress-progressRadius":"max(var(--LinearProgress-radius) - var(--_LinearProgress-padding), min(var(--_LinearProgress-padding) / 2, var(--LinearProgress-radius) / 2))"},e.size==="sm"&&{"--LinearProgress-thickness":"4px"},e.size==="md"&&{"--LinearProgress-thickness":"6px"},e.size==="lg"&&{"--LinearProgress-thickness":"8px"},e.thickness&&{"--LinearProgress-thickness":`${e.thickness}px`},!e.determinate&&{"--LinearProgress-progressMinWidth":"calc(var(--LinearProgress-percent) * 1% / 2)","--LinearProgress-progressMaxWidth":"calc(var(--LinearProgress-percent) * 1%)","--_LinearProgress-progressLeft":"calc(100% - var(--LinearProgress-progressMinWidth) - var(--_LinearProgress-progressInset))","--_LinearProgress-progressInset":"calc(var(--LinearProgress-thickness) / 2 - var(--LinearProgress-progressThickness) / 2)"},{minBlockSize:"var(--LinearProgress-thickness)",boxSizing:"border-box",borderRadius:"var(--LinearProgress-radius)",display:"flex",justifyContent:"center",alignItems:"center",flex:1,padding:"var(--_LinearProgress-padding)",position:"relative"},(n=t.variants[e.variant])==null?void 0:n[e.color],{"--_LinearProgress-padding":"max((var(--LinearProgress-thickness) - 2 * var(--variant-borderWidth, 0px) - var(--LinearProgress-progressThickness)) / 2, 0px)","&::before":{content:'""',display:"block",boxSizing:"inherit",blockSize:"var(--LinearProgress-progressThickness)",borderRadius:"var(--LinearProgress-progressRadius)",backgroundColor:"currentColor",color:"inherit",position:"absolute"}},e.variant==="soft"&&{backgroundColor:t.variants.soft.neutral.backgroundColor,color:(r=t.variants.solid)==null?void 0:r[e.color].backgroundColor},e.variant==="solid"&&{backgroundColor:(o=t.variants.softHover)==null?void 0:o[e.color].backgroundColor,color:(i=t.variants.solid)==null?void 0:i[e.color].backgroundColor})},({ownerState:e})=>e.determinate?{"&::before":{left:"var(--_LinearProgress-padding)",inlineSize:"calc(var(--LinearProgress-percent) * 1% - 2 * var(--_LinearProgress-padding))"}}:Pc($p||($p=uh` &::before { animation: ${0} var(--LinearProgress-circulation, 2.5s ease-in-out 0s infinite normal none running); } `),oA),({ownerState:e,theme:t})=>{const{borderRadius:n,height:r}=$g({theme:t,ownerState:e},["borderRadius","height"]);return A({},n!==void 0&&{"--LinearProgress-radius":n},r!==void 0&&{"--LinearProgress-thickness":r})}),lA=b.exports.forwardRef(function(t,n){const r=ln({props:t,name:"JoyLinearProgress"}),{children:o,className:i,component:a,color:l="primary",size:s="md",variant:u="soft",thickness:d,determinate:m=!1,value:v=m?0:25,style:y,slots:g={},slotProps:x={}}=r,C=ye(r,rA),p=A({},r,{component:a,color:l,size:s,variant:u,thickness:d,value:v,determinate:m,instanceSize:t.size}),f=iA(p),c=A({},C,{component:a,slots:g,slotProps:x}),[k,h]=Fe("root",{ref:n,className:Ja(f.root,i),elementType:aA,externalForwardedProps:c,ownerState:p,additionalProps:A({as:a,role:"progressbar",style:A({},{"--LinearProgress-percent":v},y)},typeof v=="number"&&m&&{"aria-valuenow":Math.round(v)})});return I(k,A({},h,{children:o}))}),sA=lA,uA=()=>{const{playSfx:e}=kl();let t=b.exports.useRef(null);const n=b.exports.useRef("COMPLETED"),r=b.exports.useRef("FAILED"),o=b.exports.useRef(!0),[i,a]=b.exports.useState(!1),[l,s]=b.exports.useState(!1),[u,d]=b.exports.useState(""),[m,v]=b.exports.useState("linear"),[y,g]=b.exports.useState(0),[x,C]=b.exports.useState("primary");b.exports.useEffect(()=>{l&&setTimeout(()=>{a(!0)},100)},[l]);const p=f=>{t.current&&clearInterval(t.current),o.current&&e(f?"success":"fail"),d(f?n.current:r.current),C(f?"success":"danger");const c=()=>{setTimeout(()=>{a(!1),setTimeout(()=>{s(!1),qo("progressStopped",f)},300)},500)};if(f&&y<100){const k=setInterval(()=>{g(h=>h>=100?(clearInterval(k),c(),100):h+1)},10)}else if(!f&&y>0){const k=setInterval(()=>{g(h=>h<=0?(clearInterval(k),c(),0):h-1)},10)}else c()};return Rn("startProgress",f=>{o.current=f.useSfx,d(f.label.toUpperCase()),n.current=f.completedLabel.toUpperCase(),r.current=f.failedLabel.toUpperCase(),v(f.type),C("primary"),g(0),s(!0);var c=f.time/100,k=1;c>=100&&(c/=10,k/=10),t.current=setInterval(()=>{g(h=>h>=100?(p(!0),100):h+k)},c)}),Rn("stopProgress",p),l&&Oe("div",{className:`w-1/3 h-full flex justify-center items-end pb-8 transition-opacity duration-300 ease-in-out ${i?"opacity-100":"opacity-0"}`,children:[m==="circle"&&I(Uv,{children:Oe("div",{className:"flex flex-col gap-2 items-center justify-center",children:[I(Bc,{variant:"soft",determinate:!0,value:y,color:x,sx:{"--CircularProgress-size":"80px","--CircularProgress-thickness":"8px"},children:Oe("span",{className:"font-semibold text-white",children:[Math.round(y),"%"]})}),I("span",{className:"font-semibold text-white",children:u&&u})]})}),m==="linear"&&I(sA,{variant:"soft",size:"lg",determinate:!0,value:y,color:x,sx:{"--LinearProgress-thickness":"24px"},children:Oe("span",{className:"font-semibold mix-blend-difference",children:[u&&u," ",Math.round(y),"%"]})})]})};function cA(){return Oe("div",{className:"w-screen h-screen flex items-center justify-center",children:[I(tA,{}),I(jC,{}),I(ab,{}),I(uA,{})]})}const fA=Sg({colorSchemes:{light:{palette:{}},dark:{palette:{primary:{50:"#fdfde9",100:"#fcfcc5",200:"#f9f58f",300:"#f6e94e",400:"#f0d611",500:"#e1c011",600:"#c2960c",700:"#9b6d0d",800:"#805613",900:"#6d4616"}}}},components:{JoyButton:{styleOverrides:{root:({ownerState:e,theme:t})=>({transition:"all",transitionDuration:"0.3s",transitionTimingFunction:"ease-in-out",...e.variant==="outlined"&&{color:t.palette.primary[400],borderColor:t.palette.primary[400],"&:hover":{backgroundColor:t.palette.primary[400],color:t.palette.common.black}}})}}}});ds.createRoot(document.getElementById("root")).render(I(et.StrictMode,{children:I(FC,{children:I(UC,{defaultMode:"dark",theme:fA,children:I(cA,{})})})}));export{dA as c};