diff --git a/assets/index-B5wTmBVa.js b/assets/index-B5wTmBVa.js deleted file mode 100644 index 664b4ba..0000000 --- a/assets/index-B5wTmBVa.js +++ /dev/null @@ -1,170 +0,0 @@ -var TS=Object.defineProperty;var ES=(e,t,n)=>t in e?TS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ji=(e,t,n)=>ES(e,typeof t!="symbol"?t+"":t,n);function RS(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function ry(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var oy={exports:{}},fu={},iy={exports:{}},se={};/** - * @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 ta=Symbol.for("react.element"),AS=Symbol.for("react.portal"),MS=Symbol.for("react.fragment"),OS=Symbol.for("react.strict_mode"),IS=Symbol.for("react.profiler"),BS=Symbol.for("react.provider"),DS=Symbol.for("react.context"),jS=Symbol.for("react.forward_ref"),LS=Symbol.for("react.suspense"),FS=Symbol.for("react.memo"),NS=Symbol.for("react.lazy"),bm=Symbol.iterator;function _S(e){return e===null||typeof e!="object"?null:(e=bm&&e[bm]||e["@@iterator"],typeof e=="function"?e:null)}var sy={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ay=Object.assign,ly={};function bi(e,t,n){this.props=e,this.context=t,this.refs=ly,this.updater=n||sy}bi.prototype.isReactComponent={};bi.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")};bi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function uy(){}uy.prototype=bi.prototype;function ap(e,t,n){this.props=e,this.context=t,this.refs=ly,this.updater=n||sy}var lp=ap.prototype=new uy;lp.constructor=ap;ay(lp,bi.prototype);lp.isPureReactComponent=!0;var Cm=Array.isArray,cy=Object.prototype.hasOwnProperty,up={current:null},dy={key:!0,ref:!0,__self:!0,__source:!0};function fy(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)cy.call(t,r)&&!dy.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1>>1,Y=R[Q];if(0>>1;Qo(ce,H))deo(oe,ce)?(R[Q]=oe,R[de]=H,Q=de):(R[Q]=ce,R[te]=H,Q=te);else if(deo(oe,H))R[Q]=oe,R[de]=H,Q=de;else break e}}return N}function o(R,N){var H=R.sortIndex-N.sortIndex;return H!==0?H:R.id-N.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,d=null,f=3,m=!1,g=!1,y=!1,w=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(R){for(var N=n(u);N!==null;){if(N.callback===null)r(u);else if(N.startTime<=R)r(u),N.sortIndex=N.expirationTime,t(l,N);else break;N=n(u)}}function b(R){if(y=!1,p(R),!g)if(n(l)!==null)g=!0,D(S);else{var N=n(u);N!==null&&j(b,N.startTime-R)}}function S(R,N){g=!1,y&&(y=!1,h(T),T=-1),m=!0;var H=f;try{for(p(N),d=n(l);d!==null&&(!(d.expirationTime>N)||R&&!A());){var Q=d.callback;if(typeof Q=="function"){d.callback=null,f=d.priorityLevel;var Y=Q(d.expirationTime<=N);N=e.unstable_now(),typeof Y=="function"?d.callback=Y:d===n(l)&&r(l),p(N)}else r(l);d=n(l)}if(d!==null)var re=!0;else{var te=n(u);te!==null&&j(b,te.startTime-N),re=!1}return re}finally{d=null,f=H,m=!1}}var P=!1,$=null,T=-1,C=5,E=-1;function A(){return!(e.unstable_now()-ER||125Q?(R.sortIndex=H,t(u,R),n(l)===null&&R===n(u)&&(y?(h(T),T=-1):y=!0,j(b,H-Q))):(R.sortIndex=Y,t(l,R),g||m||(g=!0,D(S))),R},e.unstable_shouldYield=A,e.unstable_wrapCallback=function(R){var N=f;return function(){var H=f;f=N;try{return R.apply(this,arguments)}finally{f=H}}}})(vy);gy.exports=vy;var QS=gy.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var ZS=x,Ut=QS;function L(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"),Od=Object.prototype.hasOwnProperty,JS=/^[: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]*$/,wm={},km={};function ew(e){return Od.call(km,e)?!0:Od.call(wm,e)?!1:JS.test(e)?km[e]=!0:(wm[e]=!0,!1)}function tw(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 nw(e,t,n,r){if(t===null||typeof t>"u"||tw(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 Rt(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var mt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){mt[e]=new Rt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];mt[t]=new Rt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){mt[e]=new Rt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){mt[e]=new Rt(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){mt[e]=new Rt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){mt[e]=new Rt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){mt[e]=new Rt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){mt[e]=new Rt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){mt[e]=new Rt(e,5,!1,e.toLowerCase(),null,!1,!1)});var dp=/[\-:]([a-z])/g;function fp(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(dp,fp);mt[t]=new Rt(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(dp,fp);mt[t]=new Rt(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(dp,fp);mt[t]=new Rt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){mt[e]=new Rt(e,1,!1,e.toLowerCase(),null,!1,!1)});mt.xlinkHref=new Rt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){mt[e]=new Rt(e,1,!1,e.toLowerCase(),null,!0,!0)});function pp(e,t,n,r){var o=mt.hasOwnProperty(t)?mt[t]:null;(o!==null?o.type!==0:r||!(2a||o[s]!==i[a]){var l=` -`+o[s].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Oc=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?es(e):""}function rw(e){switch(e.tag){case 5:return es(e.type);case 16:return es("Lazy");case 13:return es("Suspense");case 19:return es("SuspenseList");case 0:case 2:case 15:return e=Ic(e.type,!1),e;case 11:return e=Ic(e.type.render,!1),e;case 1:return e=Ic(e.type,!0),e;default:return""}}function jd(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 Bo:return"Fragment";case Io:return"Portal";case Id:return"Profiler";case hp:return"StrictMode";case Bd:return"Suspense";case Dd:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case by:return(e.displayName||"Context")+".Consumer";case xy:return(e._context.displayName||"Context")+".Provider";case mp:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case gp:return t=e.displayName||null,t!==null?t:jd(e.type)||"Memo";case fr:t=e._payload,e=e._init;try{return jd(e(t))}catch{}}return null}function ow(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 jd(t);case 8:return t===hp?"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 Rr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Sy(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function iw(e){var t=Sy(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function $a(e){e._valueTracker||(e._valueTracker=iw(e))}function wy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Sy(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function xl(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 Ld(e,t){var n=t.checked;return Fe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Pm(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Rr(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 ky(e,t){t=t.checked,t!=null&&pp(e,"checked",t,!1)}function Fd(e,t){ky(e,t);var n=Rr(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")?Nd(e,t.type,n):t.hasOwnProperty("defaultValue")&&Nd(e,t.type,Rr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Tm(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 Nd(e,t,n){(t!=="number"||xl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ts=Array.isArray;function Qo(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Pa.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ps(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var us={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},sw=["Webkit","ms","Moz","O"];Object.keys(us).forEach(function(e){sw.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),us[t]=us[e]})});function Ey(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||us.hasOwnProperty(e)&&us[e]?(""+t).trim():t+"px"}function Ry(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Ey(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var aw=Fe({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 Vd(e,t){if(t){if(aw[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(L(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(L(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(L(61))}if(t.style!=null&&typeof t.style!="object")throw Error(L(62))}}function Hd(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 Wd=null;function vp(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ud=null,Zo=null,Jo=null;function Am(e){if(e=oa(e)){if(typeof Ud!="function")throw Error(L(280));var t=e.stateNode;t&&(t=vu(t),Ud(e.stateNode,e.type,t))}}function Ay(e){Zo?Jo?Jo.push(e):Jo=[e]:Zo=e}function My(){if(Zo){var e=Zo,t=Jo;if(Jo=Zo=null,Am(e),t)for(e=0;e>>=0,e===0?32:31-(yw(e)/xw|0)|0}var Ta=64,Ea=4194304;function ns(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 wl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~o;a!==0?r=ns(a):(i&=s,i!==0&&(r=ns(i)))}else s=n&~o,s!==0?r=ns(s):i!==0&&(r=ns(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function na(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-yn(t),e[t]=n}function ww(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=ds),Nm=" ",_m=!1;function Qy(e,t){switch(e){case"keyup":return Qw.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Zy(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Do=!1;function Jw(e,t){switch(e){case"compositionend":return Zy(t);case"keypress":return t.which!==32?null:(_m=!0,Nm);case"textInput":return e=t.data,e===Nm&&_m?null:e;default:return null}}function e2(e,t){if(Do)return e==="compositionend"||!$p&&Qy(e,t)?(e=Xy(),el=Sp=vr=null,Do=!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=Wm(n)}}function n1(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?n1(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function r1(){for(var e=window,t=xl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=xl(e.document)}return t}function Pp(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 u2(e){var t=r1(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&n1(n.ownerDocument.documentElement,n)){if(r!==null&&Pp(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=Um(n,i);var s=Um(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,jo=null,Qd=null,ps=null,Zd=!1;function Gm(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Zd||jo==null||jo!==xl(r)||(r=jo,"selectionStart"in r&&Pp(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}),ps&&Os(ps,r)||(ps=r,r=Pl(Qd,"onSelect"),0No||(e.current=of[No],of[No]=null,No--)}function $e(e,t){No++,of[No]=e.current,e.current=t}var Ar={},$t=Lr(Ar),Bt=Lr(!1),ao=Ar;function ai(e,t){var n=e.type.contextTypes;if(!n)return Ar;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 Dt(e){return e=e.childContextTypes,e!=null}function El(){Me(Bt),Me($t)}function Jm(e,t,n){if($t.current!==Ar)throw Error(L(168));$e($t,t),$e(Bt,n)}function f1(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(L(108,ow(e)||"Unknown",o));return Fe({},n,r)}function Rl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ar,ao=$t.current,$e($t,e),$e(Bt,Bt.current),!0}function eg(e,t,n){var r=e.stateNode;if(!r)throw Error(L(169));n?(e=f1(e,t,ao),r.__reactInternalMemoizedMergedChildContext=e,Me(Bt),Me($t),$e($t,e)):Me(Bt),$e(Bt,n)}var Vn=null,yu=!1,Kc=!1;function p1(e){Vn===null?Vn=[e]:Vn.push(e)}function C2(e){yu=!0,p1(e)}function Fr(){if(!Kc&&Vn!==null){Kc=!0;var e=0,t=ye;try{var n=Vn;for(ye=1;e>=s,o-=s,Hn=1<<32-yn(t)+o|n<T?(C=$,$=null):C=$.sibling;var E=f(h,$,p[T],b);if(E===null){$===null&&($=C);break}e&&$&&E.alternate===null&&t(h,$),v=i(E,v,T),P===null?S=E:P.sibling=E,P=E,$=C}if(T===p.length)return n(h,$),Be&&Gr(h,T),S;if($===null){for(;TT?(C=$,$=null):C=$.sibling;var A=f(h,$,E.value,b);if(A===null){$===null&&($=C);break}e&&$&&A.alternate===null&&t(h,$),v=i(A,v,T),P===null?S=A:P.sibling=A,P=A,$=C}if(E.done)return n(h,$),Be&&Gr(h,T),S;if($===null){for(;!E.done;T++,E=p.next())E=d(h,E.value,b),E!==null&&(v=i(E,v,T),P===null?S=E:P.sibling=E,P=E);return Be&&Gr(h,T),S}for($=r(h,$);!E.done;T++,E=p.next())E=m($,h,T,E.value,b),E!==null&&(e&&E.alternate!==null&&$.delete(E.key===null?T:E.key),v=i(E,v,T),P===null?S=E:P.sibling=E,P=E);return e&&$.forEach(function(O){return t(h,O)}),Be&&Gr(h,T),S}function w(h,v,p,b){if(typeof p=="object"&&p!==null&&p.type===Bo&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case ka:e:{for(var S=p.key,P=v;P!==null;){if(P.key===S){if(S=p.type,S===Bo){if(P.tag===7){n(h,P.sibling),v=o(P,p.props.children),v.return=h,h=v;break e}}else if(P.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===fr&&rg(S)===P.type){n(h,P.sibling),v=o(P,p.props),v.ref=Vi(h,P,p),v.return=h,h=v;break e}n(h,P);break}else t(h,P);P=P.sibling}p.type===Bo?(v=oo(p.props.children,h.mode,b,p.key),v.return=h,h=v):(b=ll(p.type,p.key,p.props,null,h.mode,b),b.ref=Vi(h,v,p),b.return=h,h=b)}return s(h);case Io:e:{for(P=p.key;v!==null;){if(v.key===P)if(v.tag===4&&v.stateNode.containerInfo===p.containerInfo&&v.stateNode.implementation===p.implementation){n(h,v.sibling),v=o(v,p.children||[]),v.return=h,h=v;break e}else{n(h,v);break}else t(h,v);v=v.sibling}v=td(p,h.mode,b),v.return=h,h=v}return s(h);case fr:return P=p._init,w(h,v,P(p._payload),b)}if(ts(p))return g(h,v,p,b);if(Li(p))return y(h,v,p,b);Da(h,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,v!==null&&v.tag===6?(n(h,v.sibling),v=o(v,p),v.return=h,h=v):(n(h,v),v=ed(p,h.mode,b),v.return=h,h=v),s(h)):n(h,v)}return w}var ui=v1(!0),y1=v1(!1),Ol=Lr(null),Il=null,Vo=null,Ap=null;function Mp(){Ap=Vo=Il=null}function Op(e){var t=Ol.current;Me(Ol),e._currentValue=t}function lf(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ti(e,t){Il=e,Ap=Vo=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(It=!0),e.firstContext=null)}function ln(e){var t=e._currentValue;if(Ap!==e)if(e={context:e,memoizedValue:t,next:null},Vo===null){if(Il===null)throw Error(L(308));Vo=e,Il.dependencies={lanes:0,firstContext:e}}else Vo=Vo.next=e;return t}var Jr=null;function Ip(e){Jr===null?Jr=[e]:Jr.push(e)}function x1(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Ip(t)):(n.next=o.next,o.next=n),t.interleaved=n,er(e,r)}function er(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var pr=!1;function Bp(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function b1(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Gn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function kr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ue&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,er(e,n)}return o=r.interleaved,o===null?(t.next=t,Ip(r)):(t.next=o.next,o.next=t),r.interleaved=t,er(e,n)}function nl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xp(e,n)}}function og(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Bl(e,t,n,r){var o=e.updateQueue;pr=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?i=u:s.next=u,s=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==s&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(i!==null){var d=o.baseState;s=0,c=u=l=null,a=i;do{var f=a.lane,m=a.eventTime;if((r&f)===f){c!==null&&(c=c.next={eventTime:m,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var g=e,y=a;switch(f=t,m=n,y.tag){case 1:if(g=y.payload,typeof g=="function"){d=g.call(m,d,f);break e}d=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=y.payload,f=typeof g=="function"?g.call(m,d,f):g,f==null)break e;d=Fe({},d,f);break e;case 2:pr=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=o.effects,f===null?o.effects=[a]:f.push(a))}else m={eventTime:m,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=m,l=d):c=c.next=m,s|=f;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;f=a,a=f.next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}while(!0);if(c===null&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);co|=s,e.lanes=s,e.memoizedState=d}}function ig(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Xc.transition;Xc.transition={};try{e(!1),t()}finally{ye=n,Xc.transition=r}}function L1(){return un().memoizedState}function $2(e,t,n){var r=Pr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},F1(e))N1(t,n);else if(n=x1(e,t,n,r),n!==null){var o=Tt();xn(n,e,r,o),_1(n,t,r)}}function P2(e,t,n){var r=Pr(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(F1(e))N1(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,a=i(s,n);if(o.hasEagerState=!0,o.eagerState=a,bn(a,s)){var l=t.interleaved;l===null?(o.next=o,Ip(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=x1(e,t,o,r),n!==null&&(o=Tt(),xn(n,e,r,o),_1(n,t,r))}}function F1(e){var t=e.alternate;return e===Le||t!==null&&t===Le}function N1(e,t){hs=jl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function _1(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xp(e,n)}}var Ll={readContext:ln,useCallback:gt,useContext:gt,useEffect:gt,useImperativeHandle:gt,useInsertionEffect:gt,useLayoutEffect:gt,useMemo:gt,useReducer:gt,useRef:gt,useState:gt,useDebugValue:gt,useDeferredValue:gt,useTransition:gt,useMutableSource:gt,useSyncExternalStore:gt,useId:gt,unstable_isNewReconciler:!1},T2={readContext:ln,useCallback:function(e,t){return $n().memoizedState=[e,t===void 0?null:t],e},useContext:ln,useEffect:ag,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ol(4194308,4,O1.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ol(4194308,4,e,t)},useInsertionEffect:function(e,t){return ol(4,2,e,t)},useMemo:function(e,t){var n=$n();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=$n();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=$2.bind(null,Le,e),[r.memoizedState,e]},useRef:function(e){var t=$n();return e={current:e},t.memoizedState=e},useState:sg,useDebugValue:Vp,useDeferredValue:function(e){return $n().memoizedState=e},useTransition:function(){var e=sg(!1),t=e[0];return e=k2.bind(null,e[1]),$n().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Le,o=$n();if(Be){if(n===void 0)throw Error(L(407));n=n()}else{if(n=t(),it===null)throw Error(L(349));uo&30||k1(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,ag(P1.bind(null,r,i,e),[e]),r.flags|=2048,_s(9,$1.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=$n(),t=it.identifierPrefix;if(Be){var n=Wn,r=Hn;n=(r&~(1<<32-yn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Fs++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[En]=t,e[Ds]=r,q1(e,t,!1,!1),t.stateNode=e;e:{switch(s=Hd(n,r),n){case"dialog":Ae("cancel",e),Ae("close",e),o=r;break;case"iframe":case"object":case"embed":Ae("load",e),o=r;break;case"video":case"audio":for(o=0;ofi&&(t.flags|=128,r=!0,Hi(i,!1),t.lanes=4194304)}else{if(!r)if(e=Dl(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Hi(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!Be)return vt(t),null}else 2*Ke()-i.renderingStartTime>fi&&n!==1073741824&&(t.flags|=128,r=!0,Hi(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ke(),t.sibling=null,n=De.current,$e(De,r?n&1|2:n&1),t):(vt(t),null);case 22:case 23:return Yp(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ft&1073741824&&(vt(t),t.subtreeFlags&6&&(t.flags|=8192)):vt(t),null;case 24:return null;case 25:return null}throw Error(L(156,t.tag))}function D2(e,t){switch(Ep(t),t.tag){case 1:return Dt(t.type)&&El(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ci(),Me(Bt),Me($t),Lp(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return jp(t),null;case 13:if(Me(De),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(L(340));li()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Me(De),null;case 4:return ci(),null;case 10:return Op(t.type._context),null;case 22:case 23:return Yp(),null;case 24:return null;default:return null}}var La=!1,Ct=!1,j2=typeof WeakSet=="function"?WeakSet:Set,U=null;function Ho(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){We(e,t,r)}else n.current=null}function vf(e,t,n){try{n()}catch(r){We(e,t,r)}}var yg=!1;function L2(e,t){if(Jd=kl,e=r1(),Pp(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var m;d!==n||o!==0&&d.nodeType!==3||(a=s+o),d!==i||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(m=d.firstChild)!==null;)f=d,d=m;for(;;){if(d===e)break t;if(f===n&&++u===o&&(a=s),f===i&&++c===r&&(l=s),(m=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=m}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(ef={focusedElem:e,selectionRange:n},kl=!1,U=t;U!==null;)if(t=U,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,U=e;else for(;U!==null;){t=U;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var y=g.memoizedProps,w=g.memoizedState,h=t.stateNode,v=h.getSnapshotBeforeUpdate(t.elementType===t.type?y:mn(t.type,y),w);h.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(L(163))}}catch(b){We(t,t.return,b)}if(e=t.sibling,e!==null){e.return=t.return,U=e;break}U=t.return}return g=yg,yg=!1,g}function ms(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&&vf(t,n,i)}o=o.next}while(o!==r)}}function Cu(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 yf(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 J1(e){var t=e.alternate;t!==null&&(e.alternate=null,J1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[En],delete t[Ds],delete t[rf],delete t[x2],delete t[b2])),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 ex(e){return e.tag===5||e.tag===3||e.tag===4}function xg(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ex(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 xf(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=Tl));else if(r!==4&&(e=e.child,e!==null))for(xf(e,t,n),e=e.sibling;e!==null;)xf(e,t,n),e=e.sibling}function bf(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(bf(e,t,n),e=e.sibling;e!==null;)bf(e,t,n),e=e.sibling}var dt=null,gn=!1;function cr(e,t,n){for(n=n.child;n!==null;)tx(e,t,n),n=n.sibling}function tx(e,t,n){if(An&&typeof An.onCommitFiberUnmount=="function")try{An.onCommitFiberUnmount(pu,n)}catch{}switch(n.tag){case 5:Ct||Ho(n,t);case 6:var r=dt,o=gn;dt=null,cr(e,t,n),dt=r,gn=o,dt!==null&&(gn?(e=dt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):dt.removeChild(n.stateNode));break;case 18:dt!==null&&(gn?(e=dt,n=n.stateNode,e.nodeType===8?Gc(e.parentNode,n):e.nodeType===1&&Gc(e,n),As(e)):Gc(dt,n.stateNode));break;case 4:r=dt,o=gn,dt=n.stateNode.containerInfo,gn=!0,cr(e,t,n),dt=r,gn=o;break;case 0:case 11:case 14:case 15:if(!Ct&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&vf(n,t,s),o=o.next}while(o!==r)}cr(e,t,n);break;case 1:if(!Ct&&(Ho(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){We(n,t,a)}cr(e,t,n);break;case 21:cr(e,t,n);break;case 22:n.mode&1?(Ct=(r=Ct)||n.memoizedState!==null,cr(e,t,n),Ct=r):cr(e,t,n);break;default:cr(e,t,n)}}function bg(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new j2),t.forEach(function(r){var o=G2.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function hn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=s),r&=~i}if(r=o,r=Ke()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*N2(r/1960))-r,10e?16:e,yr===null)var r=!1;else{if(e=yr,yr=null,_l=0,ue&6)throw Error(L(331));var o=ue;for(ue|=4,U=e.current;U!==null;){var i=U,s=i.child;if(U.flags&16){var a=i.deletions;if(a!==null){for(var l=0;lKe()-Gp?ro(e,0):Up|=n),jt(e,t)}function ux(e,t){t===0&&(e.mode&1?(t=Ea,Ea<<=1,!(Ea&130023424)&&(Ea=4194304)):t=1);var n=Tt();e=er(e,t),e!==null&&(na(e,t,n),jt(e,n))}function U2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),ux(e,n)}function G2(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(L(314))}r!==null&&r.delete(t),ux(e,n)}var cx;cx=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Bt.current)It=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return It=!1,I2(e,t,n);It=!!(e.flags&131072)}else It=!1,Be&&t.flags&1048576&&h1(t,Ml,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;il(e,t),e=t.pendingProps;var o=ai(t,$t.current);ti(t,n),o=Np(null,t,r,e,o,n);var i=_p();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,Dt(r)?(i=!0,Rl(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Bp(t),o.updater=bu,t.stateNode=o,o._reactInternals=t,cf(t,r,e,n),t=pf(null,t,r,!0,i,n)):(t.tag=0,Be&&i&&Tp(t),Pt(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(il(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Y2(r),e=mn(r,e),o){case 0:t=ff(null,t,r,e,n);break e;case 1:t=mg(null,t,r,e,n);break e;case 11:t=pg(null,t,r,e,n);break e;case 14:t=hg(null,t,r,mn(r.type,e),n);break e}throw Error(L(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mn(r,o),ff(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mn(r,o),mg(e,t,r,o,n);case 3:e:{if(K1(t),e===null)throw Error(L(387));r=t.pendingProps,i=t.memoizedState,o=i.element,b1(e,t),Bl(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=di(Error(L(423)),t),t=gg(e,t,r,n,o);break e}else if(r!==o){o=di(Error(L(424)),t),t=gg(e,t,r,n,o);break e}else for(zt=wr(t.stateNode.containerInfo.firstChild),Vt=t,Be=!0,vn=null,n=y1(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(li(),r===o){t=tr(e,t,n);break e}Pt(e,t,r,n)}t=t.child}return t;case 5:return C1(t),e===null&&af(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,tf(r,o)?s=null:i!==null&&tf(r,i)&&(t.flags|=32),G1(e,t),Pt(e,t,s,n),t.child;case 6:return e===null&&af(t),null;case 13:return Y1(e,t,n);case 4:return Dp(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ui(t,null,r,n):Pt(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mn(r,o),pg(e,t,r,o,n);case 7:return Pt(e,t,t.pendingProps,n),t.child;case 8:return Pt(e,t,t.pendingProps.children,n),t.child;case 12:return Pt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,$e(Ol,r._currentValue),r._currentValue=s,i!==null)if(bn(i.value,s)){if(i.children===o.children&&!Bt.current){t=tr(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){s=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=Gn(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),lf(i.return,n,t),a.lanes|=n;break}l=l.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(L(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),lf(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}Pt(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,ti(t,n),o=ln(o),r=r(o),t.flags|=1,Pt(e,t,r,n),t.child;case 14:return r=t.type,o=mn(r,t.pendingProps),o=mn(r.type,o),hg(e,t,r,o,n);case 15:return W1(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mn(r,o),il(e,t),t.tag=1,Dt(r)?(e=!0,Rl(t)):e=!1,ti(t,n),z1(t,r,o),cf(t,r,o,n),pf(null,t,r,!0,e,n);case 19:return X1(e,t,n);case 22:return U1(e,t,n)}throw Error(L(156,t.tag))};function dx(e,t){return Fy(e,t)}function K2(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 sn(e,t,n,r){return new K2(e,t,n,r)}function qp(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Y2(e){if(typeof e=="function")return qp(e)?1:0;if(e!=null){if(e=e.$$typeof,e===mp)return 11;if(e===gp)return 14}return 2}function Tr(e,t){var n=e.alternate;return n===null?(n=sn(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 ll(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")qp(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Bo:return oo(n.children,o,i,t);case hp:s=8,o|=8;break;case Id:return e=sn(12,n,t,o|2),e.elementType=Id,e.lanes=i,e;case Bd:return e=sn(13,n,t,o),e.elementType=Bd,e.lanes=i,e;case Dd:return e=sn(19,n,t,o),e.elementType=Dd,e.lanes=i,e;case Cy:return wu(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case xy:s=10;break e;case by:s=9;break e;case mp:s=11;break e;case gp:s=14;break e;case fr:s=16,r=null;break e}throw Error(L(130,e==null?e:typeof e,""))}return t=sn(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function oo(e,t,n,r){return e=sn(7,e,r,t),e.lanes=n,e}function wu(e,t,n,r){return e=sn(22,e,r,t),e.elementType=Cy,e.lanes=n,e.stateNode={isHidden:!1},e}function ed(e,t,n){return e=sn(6,e,null,t),e.lanes=n,e}function td(e,t,n){return t=sn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function X2(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=Dc(0),this.expirationTimes=Dc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Dc(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Qp(e,t,n,r,o,i,s,a,l){return e=new X2(e,t,n,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=sn(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Bp(i),e}function q2(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(mx)}catch(e){console.error(e)}}mx(),my.exports=Kt;var th=my.exports;const _a=ry(th);var gx,Eg=th;gx=Eg.createRoot,Eg.hydrateRoot;function vx(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t{t[n]=yx(e[n])}),t}function wt(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return Rn(e)&&Rn(t)&&Object.keys(t).forEach(o=>{Rn(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Rn(e[o])?r[o]=wt(e[o],t[o],n):n.clone?r[o]=Rn(t[o])?yx(t[o]):t[o]:r[o]=t[o]}),r}function ys(e,t){return t?wt(e,t,{clone:!1}):e}function tk(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(r=>r.startsWith("@container")).sort((r,o)=>{var s,a;const i=/min-width:\s*([0-9.]+)/;return+(((s=r.match(i))==null?void 0:s[1])||0)-+(((a=o.match(i))==null?void 0:a[1])||0)});return n.length?n.reduce((r,o)=>{const i=t[o];return delete r[o],r[o]=i,r},{...t}):t}function nk(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function rk(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,o]=n,i=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(i)}function ok(e){const t=(i,s)=>i.replace("@media",s?`@container ${s}`:"@container");function n(i,s){i.up=(...a)=>t(e.breakpoints.up(...a),s),i.down=(...a)=>t(e.breakpoints.down(...a),s),i.between=(...a)=>t(e.breakpoints.between(...a),s),i.only=(...a)=>t(e.breakpoints.only(...a),s),i.not=(...a)=>{const l=t(e.breakpoints.not(...a),s);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const r={},o=i=>(n(r,i),r);return n(o),{...e,containerQueries:o}}const Eu={xs:0,sm:600,md:900,lg:1200,xl:1536},Rg={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Eu[e]}px)`},ik={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Eu[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function rr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||Rg;return t.reduce((s,a,l)=>(s[i.up(i.keys[l])]=n(t[l]),s),{})}if(typeof t=="object"){const i=r.breakpoints||Rg;return Object.keys(t).reduce((s,a)=>{if(nk(i.keys,a)){const l=rk(r.containerQueries?r:ik,a);l&&(s[l]=n(t[a],a))}else if(Object.keys(i.values||Eu).includes(a)){const l=i.up(a);s[l]=n(t[a],a)}else{const l=a;s[l]=t[l]}return s},{})}return n(t)}function sk(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function ak(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Ru(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 Hl(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Ru(e,n)||r,t&&(o=t(o,r,e)),o}function qe(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=s=>{if(s[t]==null)return null;const a=s[t],l=s.theme,u=Ru(l,r)||{};return rr(s,a,d=>{let f=Hl(u,o,d);return d===f&&typeof d=="string"&&(f=Hl(u,o,`${t}${d==="default"?"":ee(d)}`,d)),n===!1?f:{[n]:f}})};return i.propTypes={},i.filterProps=[t],i}function lk(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const uk={m:"margin",p:"padding"},ck={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ag={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},dk=lk(e=>{if(e.length>2)if(Ag[e])e=Ag[e];else return[e];const[t,n]=e.split(""),r=uk[t],o=ck[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),nh=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],rh=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...nh,...rh];function sa(e,t,n,r){const o=Ru(e,t,!0)??n;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:typeof o=="string"?`calc(${i} * ${o})`:o*i:Array.isArray(o)?i=>{if(typeof i=="string")return i;const s=Math.abs(i),a=o[s];return i>=0?a:typeof a=="number"?-a:`-${a}`}:typeof o=="function"?o:()=>{}}function oh(e){return sa(e,"spacing",8)}function aa(e,t){return typeof t=="string"||t==null?t:e(t)}function fk(e,t){return n=>e.reduce((r,o)=>(r[o]=aa(t,n),r),{})}function pk(e,t,n,r){if(!t.includes(n))return null;const o=dk(n),i=fk(o,r),s=e[n];return rr(e,s,i)}function xx(e,t){const n=oh(e.theme);return Object.keys(e).map(r=>pk(e,t,r,n)).reduce(ys,{})}function _e(e){return xx(e,nh)}_e.propTypes={};_e.filterProps=nh;function ze(e){return xx(e,rh)}ze.propTypes={};ze.filterProps=rh;function Au(...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]?ys(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function tn(e){return typeof e!="number"?e:`${e}px solid`}function cn(e,t){return qe({prop:e,themeKey:"borders",transform:t})}const hk=cn("border",tn),mk=cn("borderTop",tn),gk=cn("borderRight",tn),vk=cn("borderBottom",tn),yk=cn("borderLeft",tn),xk=cn("borderColor"),bk=cn("borderTopColor"),Ck=cn("borderRightColor"),Sk=cn("borderBottomColor"),wk=cn("borderLeftColor"),kk=cn("outline",tn),$k=cn("outlineColor"),Mu=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=sa(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:aa(t,r)});return rr(e,e.borderRadius,n)}return null};Mu.propTypes={};Mu.filterProps=["borderRadius"];Au(hk,mk,gk,vk,yk,xk,bk,Ck,Sk,wk,Mu,kk,$k);const Ou=e=>{if(e.gap!==void 0&&e.gap!==null){const t=sa(e.theme,"spacing",8),n=r=>({gap:aa(t,r)});return rr(e,e.gap,n)}return null};Ou.propTypes={};Ou.filterProps=["gap"];const Iu=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=sa(e.theme,"spacing",8),n=r=>({columnGap:aa(t,r)});return rr(e,e.columnGap,n)}return null};Iu.propTypes={};Iu.filterProps=["columnGap"];const Bu=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=sa(e.theme,"spacing",8),n=r=>({rowGap:aa(t,r)});return rr(e,e.rowGap,n)}return null};Bu.propTypes={};Bu.filterProps=["rowGap"];const Pk=qe({prop:"gridColumn"}),Tk=qe({prop:"gridRow"}),Ek=qe({prop:"gridAutoFlow"}),Rk=qe({prop:"gridAutoColumns"}),Ak=qe({prop:"gridAutoRows"}),Mk=qe({prop:"gridTemplateColumns"}),Ok=qe({prop:"gridTemplateRows"}),Ik=qe({prop:"gridTemplateAreas"}),Bk=qe({prop:"gridArea"});Au(Ou,Iu,Bu,Pk,Tk,Ek,Rk,Ak,Mk,Ok,Ik,Bk);function ri(e,t){return t==="grey"?t:e}const Dk=qe({prop:"color",themeKey:"palette",transform:ri}),jk=qe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ri}),Lk=qe({prop:"backgroundColor",themeKey:"palette",transform:ri});Au(Dk,jk,Lk);function Nt(e){return e<=1&&e!==0?`${e*100}%`:e}const Fk=qe({prop:"width",transform:Nt}),ih=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var o,i,s,a,l;const r=((s=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:s[n])||Eu[n];return r?((l=(a=e.theme)==null?void 0:a.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Nt(n)}};return rr(e,e.maxWidth,t)}return null};ih.filterProps=["maxWidth"];const Nk=qe({prop:"minWidth",transform:Nt}),_k=qe({prop:"height",transform:Nt}),zk=qe({prop:"maxHeight",transform:Nt}),Vk=qe({prop:"minHeight",transform:Nt});qe({prop:"size",cssProperty:"width",transform:Nt});qe({prop:"size",cssProperty:"height",transform:Nt});const Hk=qe({prop:"boxSizing"});Au(Fk,ih,Nk,_k,zk,Vk,Hk);const la={border:{themeKey:"borders",transform:tn},borderTop:{themeKey:"borders",transform:tn},borderRight:{themeKey:"borders",transform:tn},borderBottom:{themeKey:"borders",transform:tn},borderLeft:{themeKey:"borders",transform:tn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:tn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Mu},color:{themeKey:"palette",transform:ri},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ri},backgroundColor:{themeKey:"palette",transform:ri},p:{style:ze},pt:{style:ze},pr:{style:ze},pb:{style:ze},pl:{style:ze},px:{style:ze},py:{style:ze},padding:{style:ze},paddingTop:{style:ze},paddingRight:{style:ze},paddingBottom:{style:ze},paddingLeft:{style:ze},paddingX:{style:ze},paddingY:{style:ze},paddingInline:{style:ze},paddingInlineStart:{style:ze},paddingInlineEnd:{style:ze},paddingBlock:{style:ze},paddingBlockStart:{style:ze},paddingBlockEnd:{style:ze},m:{style:_e},mt:{style:_e},mr:{style:_e},mb:{style:_e},ml:{style:_e},mx:{style:_e},my:{style:_e},margin:{style:_e},marginTop:{style:_e},marginRight:{style:_e},marginBottom:{style:_e},marginLeft:{style:_e},marginX:{style:_e},marginY:{style:_e},marginInline:{style:_e},marginInlineStart:{style:_e},marginInlineEnd:{style:_e},marginBlock:{style:_e},marginBlockStart:{style:_e},marginBlockEnd:{style:_e},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:Ou},rowGap:{style:Bu},columnGap:{style:Iu},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:ih},minWidth:{transform:Nt},height:{transform:Nt},maxHeight:{transform:Nt},minHeight:{transform:Nt},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Wk(...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 Uk(e,t){return typeof e=="function"?e(t):e}function Gk(){function e(n,r,o,i){const s={[n]:r,theme:o},a=i[n];if(!a)return{[n]:r};const{cssProperty:l=n,themeKey:u,transform:c,style:d}=a;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const f=Ru(o,u)||{};return d?d(s):rr(s,r,g=>{let y=Hl(f,c,g);return g===y&&typeof g=="string"&&(y=Hl(f,c,`${n}${g==="default"?"":ee(g)}`,g)),l===!1?y:{[l]:y}})}function t(n){const{sx:r,theme:o={}}=n||{};if(!r)return null;const i=o.unstable_sxConfig??la;function s(a){let l=a;if(typeof a=="function")l=a(o);else if(typeof a!="object")return a;if(!l)return null;const u=sk(o.breakpoints),c=Object.keys(u);let d=u;return Object.keys(l).forEach(f=>{const m=Uk(l[f],o);if(m!=null)if(typeof m=="object")if(i[f])d=ys(d,e(f,m,o,i));else{const g=rr({theme:o},m,y=>({[f]:y}));Wk(g,m)?d[f]=t({sx:m,theme:o}):d=ys(d,g)}else d=ys(d,e(f,m,o,i))}),tk(o,ak(c,d))}return Array.isArray(r)?r.map(s):s(r)}return t}const wi=Gk();wi.filterProps=["sx"];const Kk=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??la;return Object.keys(e).forEach(o=>{n[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]}),t};function bx(e){const{sx:t,...n}=e,{systemProps:r,otherProps:o}=Kk(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...s)=>{const a=t(...s);return Rn(a)?{...r,...a}:r}:i={...r,...t},{...o,sx:i}}function F(){return F=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?pt(ki,--Lt):0,pi--,Ze===10&&(pi=1,ju--),Ze}function Ht(){return Ze=Lt<$x?pt(ki,Lt++):0,pi++,Ze===10&&(pi=1,ju++),Ze}function On(){return pt(ki,Lt)}function ul(){return Lt}function ua(e,t){return Vs(ki,e,t)}function Hs(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Px(e){return ju=pi=1,$x=Pn(ki=e),Lt=0,[]}function Tx(e){return ki="",e}function cl(e){return kx(ua(Lt-1,Pf(e===91?e+2:e===40?e+1:e)))}function u$(e){for(;(Ze=On())&&Ze<33;)Ht();return Hs(e)>2||Hs(Ze)>3?"":" "}function c$(e,t){for(;--t&&Ht()&&!(Ze<48||Ze>102||Ze>57&&Ze<65||Ze>70&&Ze<97););return ua(e,ul()+(t<6&&On()==32&&Ht()==32))}function Pf(e){for(;Ht();)switch(Ze){case e:return Lt;case 34:case 39:e!==34&&e!==39&&Pf(Ze);break;case 40:e===41&&Pf(e);break;case 92:Ht();break}return Lt}function d$(e,t){for(;Ht()&&e+Ze!==57;)if(e+Ze===84&&On()===47)break;return"/*"+ua(t,Lt-1)+"*"+Du(e===47?e:Ht())}function f$(e){for(;!Hs(On());)Ht();return ua(e,Lt)}function p$(e){return Tx(dl("",null,null,null,[""],e=Px(e),0,[0],e))}function dl(e,t,n,r,o,i,s,a,l){for(var u=0,c=0,d=s,f=0,m=0,g=0,y=1,w=1,h=1,v=0,p="",b=o,S=i,P=r,$=p;w;)switch(g=v,v=Ht()){case 40:if(g!=108&&pt($,d-1)==58){$f($+=pe(cl(v),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:$+=cl(v);break;case 9:case 10:case 13:case 32:$+=u$(g);break;case 92:$+=c$(ul()-1,7);continue;case 47:switch(On()){case 42:case 47:za(h$(d$(Ht(),ul()),t,n),l);break;default:$+="/"}break;case 123*y:a[u++]=Pn($)*h;case 125*y:case 59:case 0:switch(v){case 0:case 125:w=0;case 59+c:h==-1&&($=pe($,/\f/g,"")),m>0&&Pn($)-d&&za(m>32?Og($+";",r,n,d-1):Og(pe($," ","")+";",r,n,d-2),l);break;case 59:$+=";";default:if(za(P=Mg($,t,n,u,c,o,a,p,b=[],S=[],d),i),v===123)if(c===0)dl($,t,P,P,b,i,d,a,S);else switch(f===99&&pt($,3)===110?100:f){case 100:case 108:case 109:case 115:dl(e,P,P,r&&za(Mg(e,P,P,0,0,o,a,p,o,b=[],d),S),o,S,d,a,r?b:S);break;default:dl($,P,P,P,[""],S,0,a,S)}}u=c=m=0,y=h=1,p=$="",d=s;break;case 58:d=1+Pn($),m=g;default:if(y<1){if(v==123)--y;else if(v==125&&y++==0&&l$()==125)continue}switch($+=Du(v),v*y){case 38:h=c>0?1:($+="\f",-1);break;case 44:a[u++]=(Pn($)-1)*h,h=1;break;case 64:On()===45&&($+=cl(Ht())),f=On(),c=d=Pn(p=$+=f$(ul())),v++;break;case 45:g===45&&Pn($)==2&&(y=0)}}return i}function Mg(e,t,n,r,o,i,s,a,l,u,c){for(var d=o-1,f=o===0?i:[""],m=lh(f),g=0,y=0,w=0;g0?f[h]+" "+v:pe(v,/&\f/g,f[h])))&&(l[w++]=p);return Lu(e,t,n,o===0?sh:a,l,u,c)}function h$(e,t,n){return Lu(e,t,n,Sx,Du(a$()),Vs(e,2,-2),0)}function Og(e,t,n,r){return Lu(e,t,n,ah,Vs(e,0,r),Vs(e,r+1,-1),r)}function oi(e,t){for(var n="",r=lh(e),o=0;o6)switch(pt(e,t+1)){case 109:if(pt(e,t+4)!==45)break;case 102:return pe(e,/(.+:)(.+)-([^]+)/,"$1"+fe+"$2-$3$1"+Wl+(pt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~$f(e,"stretch")?Ex(pe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(pt(e,t+1)!==115)break;case 6444:switch(pt(e,Pn(e)-3-(~$f(e,"!important")&&10))){case 107:return pe(e,":",":"+fe)+e;case 101:return pe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+fe+(pt(e,14)===45?"inline-":"")+"box$3$1"+fe+"$2$3$1"+xt+"$2box$3")+e}break;case 5936:switch(pt(e,t+11)){case 114:return fe+e+xt+pe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return fe+e+xt+pe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return fe+e+xt+pe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return fe+e+xt+e+e}return e}var w$=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case ah:t.return=Ex(t.value,t.length);break;case wx:return oi([Ui(t,{value:pe(t.value,"@","@"+fe)})],o);case sh:if(t.length)return s$(t.props,function(i){switch(i$(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return oi([Ui(t,{props:[pe(i,/:(read-\w+)/,":"+Wl+"$1")]})],o);case"::placeholder":return oi([Ui(t,{props:[pe(i,/:(plac\w+)/,":"+fe+"input-$1")]}),Ui(t,{props:[pe(i,/:(plac\w+)/,":"+Wl+"$1")]}),Ui(t,{props:[pe(i,/:(plac\w+)/,xt+"input-$1")]})],o)}return""})}},k$=[w$],$$=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(y){var w=y.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var o=t.stylisPlugins||k$,i={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var w=y.getAttribute("data-emotion").split(" "),h=1;h=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 L$={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},F$=!1,N$=/[A-Z]|^ms/g,_$=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Dx=function(t){return t.charCodeAt(1)===45},Bg=function(t){return t!=null&&typeof t!="boolean"},nd=Cx(function(e){return Dx(e)?e:e.replace(N$,"-$&").toLowerCase()}),Dg=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(_$,function(r,o,i){return Tn={name:o,styles:i,next:Tn},o})}return L$[t]!==1&&!Dx(t)&&typeof n=="number"&&n!==0?n+"px":n},z$="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ws(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return Tn={name:o.name,styles:o.styles,next:Tn},o.name;var i=n;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)Tn={name:s.name,styles:s.styles,next:Tn},s=s.next;var a=i.styles+";";return a}return V$(e,t,n)}case"function":{if(e!==void 0){var l=Tn,u=n(e);return Tn=l,Ws(e,t,u)}break}}var c=n;if(t==null)return c;var d=t[c];return d!==void 0?d:c}function V$(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?K$:Y$},Ng=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(s){return t.__emotion_forwardProp(s)&&i(s)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},X$=!1,q$=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return Ix(n,r,o),W$(function(){return Bx(n,r,o)}),null},Q$=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,s;n!==void 0&&(i=n.label,s=n.target);var a=Ng(t,n,r),l=a||Fg(o),u=!l("as");return function(){var c=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&d.push("label:"+i+";"),c[0]==null||c[0].raw===void 0)d.push.apply(d,c);else{d.push(c[0][0]);for(var f=c.length,m=1;mt(J$(o)?n:o):t;return k.jsx(U$,{styles:r})}/** - * @mui/styled-engine v6.1.0 - * - * @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 Nx(e,t){return Ul(e,t)}const t5=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},n5=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)=>({...n,[r.key]:r.val}),{})};function r5(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,i=n5(t),s=Object.keys(i);function a(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n})`}function l(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-r/100}${n})`}function u(f,m){const g=s.indexOf(m);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n}) and (max-width:${(g!==-1&&typeof t[s[g]]=="number"?t[s[g]]:m)-r/100}${n})`}function c(f){return s.indexOf(f)+1(r.length===0?[1]:r).map(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function i5(e,t){var r;const n=this;if(n.vars){if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!="function")return{};let o=n.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return n.palette.mode===e?t:{}}function Xu(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={},...s}=e,a=r5(n),l=_x(o);let u=wt({breakpoints:a,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:l,shape:{...o5,...i}},s);return u=ok(u),u.applyStyles=i5,u=t.reduce((c,d)=>wt(c,d),u),u.unstable_sxConfig={...la,...s==null?void 0:s.unstable_sxConfig},u.unstable_sx=function(d){return wi({sx:d,theme:this})},u}function s5(e){return Object.keys(e).length===0}function a5(e=null){const t=x.useContext(Yu);return!t||s5(t)?e:t}const l5=Xu();function qu(e=l5){return a5(e)}function u5({styles:e,themeId:t,defaultTheme:n={}}){const r=qu(n),o=typeof e=="function"?e(t&&r[t]||r):e;return k.jsx(e5,{styles:o})}const _g=e=>e,c5=()=>{let e=_g;return{configure(t){e=t},generate(t){return e(t)},reset(){e=_g}}},zx=c5();function d5(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=Nx("div",{shouldForwardProp:a=>a!=="theme"&&a!=="sx"&&a!=="as"})(wi);return x.forwardRef(function(l,u){const c=qu(n),{className:d,component:f="div",...m}=bx(l);return k.jsx(i,{as:f,ref:u,className:q(d,o?o(r):r),theme:t&&c[t]||c,...m})})}const f5={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 me(e,t,n="Mui"){const r=f5[t];return r?`${n}-${r}`:`${zx.generate(e)}-${t}`}function le(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=me(e,o,n)}),r}const p5=Xu();function rd(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Tf(e,t,n){return m5(t)?n:t[e]||t}const Va=Symbol("mui.processed_props");function Ha(e,t,n){if(Va in e)return e[Va];const r={...e,theme:Tf(t,e.theme,n)};return e[Va]=r,r[Va]=r,r}function h5(e){return e?(t,n)=>n[e]:null}function fl(e,t){var r;const n=typeof e=="function"?e(t):e;if(Array.isArray(n))return n.flatMap(o=>fl(o,t));if(Array.isArray(n==null?void 0:n.variants)){const{variants:o,...i}=n;let s=i,a;e:for(let l=0;lwi(Ha(a,t,n));return i.__mui_systemSx=!0,(a,l={})=>{t5(a,P=>P.filter($=>!($!=null&&$.__mui_systemSx)));const{name:u,slot:c,skipVariantsResolver:d,skipSx:f,overridesResolver:m=h5(v5(c)),...g}=l,y=d!==void 0?d:c&&c!=="Root"&&c!=="root"||!1,w=f||!1;let h,v=rd;c==="Root"||c==="root"?v=r:c?v=o:g5(a)&&(v=void 0);const p=Nx(a,{shouldForwardProp:v,label:h,...g}),b=P=>typeof P=="function"&&P.__emotion_real!==P||Rn(P)?$=>fl(P,Ha($,t,n)):P,S=(P,...$)=>{let T=b(P);const C=$?$.map(b):[];u&&m&&C.push(O=>{const B=Tf(t,O.theme,n);if(!B.components||!B.components[u]||!B.components[u].styleOverrides)return null;const I=B.components[u].styleOverrides,_={},D=Ha(O,t,n);for(const j in I)_[j]=fl(I[j],D);return m(O,_)}),u&&!y&&C.push(O=>{var _,D;const B=Tf(t,O.theme,n),I=(D=(_=B==null?void 0:B.components)==null?void 0:_[u])==null?void 0:D.variants;return I?fl({variants:I},Ha(O,t,n)):null}),w||C.push(i);const E=C.length-$.length;if(Array.isArray(P)&&E>0){const O=new Array(E).fill("");T=[...P,...O],T.raw=[...P.raw,...O]}const A=p(T,...C);return a.muiName&&(A.muiName=a.muiName),A};return p.withConfig&&(S.withConfig=p.withConfig),S}}function m5(e){for(const t in e)return!1;return!0}function g5(e){return typeof e=="string"&&e.charCodeAt(0)>96}function v5(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const y5=Vx();function Us(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const o=r;if(o==="components"||o==="slots")n[o]={...e[o],...n[o]};else if(o==="componentsProps"||o==="slotProps"){const i=e[o],s=t[o];if(!s)n[o]=i||{};else if(!i)n[o]=s;else{n[o]={...s};for(const a in i)if(Object.prototype.hasOwnProperty.call(i,a)){const l=a;n[o][l]=Us(i[l],s[l])}}}else n[o]===void 0&&(n[o]=e[o])}return n}function x5(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Us(t.components[n].defaultProps,r)}function Hx({props:e,name:t,defaultTheme:n,themeId:r}){let o=qu(n);return r&&(o=o[r]||o),x5({theme:o,name:t,props:e})}const Mr=typeof window<"u"?x.useLayoutEffect:x.useEffect;function Wx(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function hh(e,t=0,n=1){return Wx(e,t,n)}function b5(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 Or(e){if(e.type)return e;if(e.charAt(0)==="#")return Or(b5(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(nr(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"].includes(o))throw new Error(nr(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const C5=e=>{const t=Or(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},os=(e,t)=>{try{return C5(e)}catch{return e}};function Qu(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function Ux(e){e=Or(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),s=(u,c=(u+n/30)%12)=>o-i*Math.max(Math.min(c-3,9-c,1),-1);let a="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),Qu({type:a,values:l})}function Ef(e){e=Or(e);let t=e.type==="hsl"||e.type==="hsla"?Or(Ux(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function S5(e,t){const n=Ef(e),r=Ef(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Ot(e,t){return e=Or(e),t=hh(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Qu(e)}function Wa(e,t,n){try{return Ot(e,t)}catch{return e}}function mh(e,t){if(e=Or(e),t=hh(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Qu(e)}function we(e,t,n){try{return mh(e,t)}catch{return e}}function gh(e,t){if(e=Or(e),t=hh(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Qu(e)}function ke(e,t,n){try{return gh(e,t)}catch{return e}}function w5(e,t=.15){return Ef(e)>.5?mh(e,t):gh(e,t)}function Ua(e,t,n){try{return w5(e,t)}catch{return e}}function zg(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function Gx(e,t=166){let n;function r(...o){const i=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(i,t)}return r.clear=()=>{clearTimeout(n)},r}function od(e,t){var n,r,o;return x.isValidElement(e)&&t.indexOf(e.type.muiName??((o=(r=(n=e.type)==null?void 0:n._payload)==null?void 0:r.value)==null?void 0:o.muiName))!==-1}function Wt(e){return e&&e.ownerDocument||document}function po(e){return Wt(e).defaultView||window}function Rf(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let Vg=0;function k5(e){const[t,n]=x.useState(e),r=e||t;return x.useEffect(()=>{t==null&&(Vg+=1,n(`mui-${Vg}`))},[t]),r}const Hg=yl.useId;function Zu(e){if(Hg!==void 0){const t=Hg();return e??t}return k5(e)}function Af({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=x.useRef(e!==void 0),[i,s]=x.useState(t),a=o?e:i,l=x.useCallback(u=>{o||s(u)},[]);return[a,l]}function Uo(e){const t=x.useRef(e);return Mr(()=>{t.current=e}),x.useRef((...n)=>(0,t.current)(...n)).current}function st(...e){return x.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Rf(n,t)})},e)}const Wg={};function Kx(e,t){const n=x.useRef(Wg);return n.current===Wg&&(n.current=e(t)),n}const $5=[];function P5(e){x.useEffect(e,$5)}class vh{constructor(){ji(this,"currentId",null);ji(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});ji(this,"disposeEffect",()=>this.clear)}static create(){return new vh}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Yx(){const e=Kx(vh.create).current;return P5(e.disposeEffect),e}function Gl(e){try{return e.matches(":focus-visible")}catch{}return!1}function Xx(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const T5={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function E5(e){return typeof e=="string"}function qx(e,t,n){return e===void 0||E5(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function Qx(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 Ug(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function Zx(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const m=q(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),g={...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},y={...n,...o,...r};return m.length>0&&(y.className=m),Object.keys(g).length>0&&(y.style=g),{props:y,internalRef:void 0}}const s=Qx({...o,...r}),a=Ug(r),l=Ug(o),u=t(s),c=q(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),d={...u==null?void 0:u.style,...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},f={...u,...n,...l,...a};return c.length>0&&(f.className=c),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:u.ref}}function Jx(e,t,n){return typeof e=="function"?e(t,n):e}function Gg(e){var d;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:o=!1,...i}=e,s=o?{}:Jx(n,r),{props:a,internalRef:l}=Zx({...i,externalSlotProps:s}),u=st(l,s==null?void 0:s.ref,(d=e.additionalProps)==null?void 0:d.ref);return qx(t,{...a,ref:u},r)}function ca(e){return!e||!x.isValidElement(e)?null:e.props.propertyIsEnumerable("ref")?e.props.ref:e.ref}const R5=x.createContext(),eb=()=>x.useContext(R5)??!1,A5=x.createContext(void 0);function M5(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Us(o.defaultProps,r):!o.styleOverrides&&!o.variants?Us(o,r):r}function O5({props:e,name:t}){const n=x.useContext(A5);return M5({props:e,name:t,theme:{components:n}})}function I5(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 Kg=(e,t,n,r=[])=>{let o=e;t.forEach((i,s)=>{s===t.length-1?Array.isArray(o)?o[Number(i)]=n:o&&typeof o=="object"&&(o[i]=n):o&&typeof o=="object"&&(o[i]||(o[i]=r.includes(i)?[]:{}),o=o[i])})},B5=(e,t,n)=>{function r(o,i=[],s=[]){Object.entries(o).forEach(([a,l])=>{(!n||n&&!n([...i,a]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?r(l,[...i,a],Array.isArray(l)?[...s,a]:s):t([...i,a],l,s))})}r(e)},D5=(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 id(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},s={};return B5(e,(a,l,u)=>{if((typeof l=="string"||typeof l=="number")&&(!r||!r(a,l))){const c=`--${n?`${n}-`:""}${a.join("-")}`,d=D5(a,l);Object.assign(o,{[c]:d}),Kg(i,a,`var(${c})`,u),Kg(s,a,`var(${c}, ${d})`,u)}},a=>a[0]==="vars"),{css:o,vars:i,varsWithDefaults:s}}function j5(e,t={}){const{getSelector:n=w,disableCssColorScheme:r,colorSchemeSelector:o}=t,{colorSchemes:i={},components:s,defaultColorScheme:a="light",...l}=e,{vars:u,css:c,varsWithDefaults:d}=id(l,t);let f=d;const m={},{[a]:g,...y}=i;if(Object.entries(y||{}).forEach(([p,b])=>{const{vars:S,css:P,varsWithDefaults:$}=id(b,t);f=wt(f,$),m[p]={css:P,vars:S}}),g){const{css:p,vars:b,varsWithDefaults:S}=id(g,t);f=wt(f,S),m[a]={css:p,vars:b}}function w(p,b){var P,$;let S=o;if(o==="class"&&(S=".%s"),o==="data"&&(S="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(S=`[${o}="%s"]`),p){if(S==="media")return e.defaultColorScheme===p?":root":{[`@media (prefers-color-scheme: ${(($=(P=i[p])==null?void 0:P.palette)==null?void 0:$.mode)||p})`]:{":root":b}};if(S)return e.defaultColorScheme===p?`:root, ${S.replace("%s",String(p))}`:S.replace("%s",String(p))}return":root"}return{vars:f,generateThemeVars:()=>{let p={...u};return Object.entries(m).forEach(([,{vars:b}])=>{p=wt(p,b)}),p},generateStyleSheets:()=>{var T,C;const p=[],b=e.defaultColorScheme||"light";function S(E,A){Object.keys(A).length&&p.push(typeof E=="string"?{[E]:{...A}}:E)}S(n(void 0,{...c}),c);const{[b]:P,...$}=m;if(P){const{css:E}=P,A=(C=(T=i[b])==null?void 0:T.palette)==null?void 0:C.mode,O=!r&&A?{colorScheme:A,...E}:{...E};S(n(b,{...O}),O)}return Object.entries($).forEach(([E,{css:A}])=>{var I,_;const O=(_=(I=i[E])==null?void 0:I.palette)==null?void 0:_.mode,B=!r&&O?{colorScheme:O,...A}:{...A};S(n(E,{...B}),B)}),p}}}function L5(e){return function(n){return e==="media"?`@media (prefers-color-scheme: ${n})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}const F5=Xu(),N5=y5("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${ee(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),_5=e=>Hx({props:e,name:"MuiContainer",defaultTheme:F5}),z5=(e,t)=>{const n=l=>me(t,l),{classes:r,fixed:o,disableGutters:i,maxWidth:s}=e,a={root:["root",s&&`maxWidth${ee(String(s))}`,o&&"fixed",i&&"disableGutters"]};return ge(a,n,r)};function V5(e={}){const{createStyledComponent:t=N5,useThemeProps:n=_5,componentName:r="MuiContainer"}=e,o=t(({theme:s,ownerState:a})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!a.disableGutters&&{paddingLeft:s.spacing(2),paddingRight:s.spacing(2),[s.breakpoints.up("sm")]:{paddingLeft:s.spacing(3),paddingRight:s.spacing(3)}}}),({theme:s,ownerState:a})=>a.fixed&&Object.keys(s.breakpoints.values).reduce((l,u)=>{const c=u,d=s.breakpoints.values[c];return d!==0&&(l[s.breakpoints.up(c)]={maxWidth:`${d}${s.breakpoints.unit}`}),l},{}),({theme:s,ownerState:a})=>({...a.maxWidth==="xs"&&{[s.breakpoints.up("xs")]:{maxWidth:Math.max(s.breakpoints.values.xs,444)}},...a.maxWidth&&a.maxWidth!=="xs"&&{[s.breakpoints.up(a.maxWidth)]:{maxWidth:`${s.breakpoints.values[a.maxWidth]}${s.breakpoints.unit}`}}}));return x.forwardRef(function(a,l){const u=n(a),{className:c,component:d="div",disableGutters:f=!1,fixed:m=!1,maxWidth:g="lg",classes:y,...w}=u,h={...u,component:d,disableGutters:f,fixed:m,maxWidth:g},v=z5(h,r);return k.jsx(o,{as:d,ownerState:h,className:q(v.root,c),ref:l,...w})})}const Gs={black:"#000",white:"#fff"},H5={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},So={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},wo={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Gi={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},ko={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},$o={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Po={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Yg={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Gs.white,default:Gs.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},sd={text:{primary:Gs.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Gs.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Xg(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=gh(e.main,o):t==="dark"&&(e.dark=mh(e.main,i)))}function W5(e="light"){return e==="dark"?{main:ko[200],light:ko[50],dark:ko[400]}:{main:ko[700],light:ko[400],dark:ko[800]}}function U5(e="light"){return e==="dark"?{main:So[200],light:So[50],dark:So[400]}:{main:So[500],light:So[300],dark:So[700]}}function G5(e="light"){return e==="dark"?{main:wo[500],light:wo[300],dark:wo[700]}:{main:wo[700],light:wo[400],dark:wo[800]}}function K5(e="light"){return e==="dark"?{main:$o[400],light:$o[300],dark:$o[700]}:{main:$o[700],light:$o[500],dark:$o[900]}}function Y5(e="light"){return e==="dark"?{main:Po[400],light:Po[300],dark:Po[700]}:{main:Po[800],light:Po[500],dark:Po[900]}}function X5(e="light"){return e==="dark"?{main:Gi[400],light:Gi[300],dark:Gi[700]}:{main:"#ed6c02",light:Gi[500],dark:Gi[900]}}function yh(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...o}=e,i=e.primary||W5(t),s=e.secondary||U5(t),a=e.error||G5(t),l=e.info||K5(t),u=e.success||Y5(t),c=e.warning||X5(t);function d(y){return S5(y,sd.text.primary)>=n?sd.text.primary:Yg.text.primary}const f=({color:y,name:w,mainShade:h=500,lightShade:v=300,darkShade:p=700})=>{if(y={...y},!y.main&&y[h]&&(y.main=y[h]),!y.hasOwnProperty("main"))throw new Error(nr(11,w?` (${w})`:"",h));if(typeof y.main!="string")throw new Error(nr(12,w?` (${w})`:"",JSON.stringify(y.main)));return Xg(y,"light",v,r),Xg(y,"dark",p,r),y.contrastText||(y.contrastText=d(y.main)),y},m={dark:sd,light:Yg};return wt({common:{...Gs},mode:t,primary:f({color:i,name:"primary"}),secondary:f({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:a,name:"error"}),warning:f({color:c,name:"warning"}),info:f({color:l,name:"info"}),success:f({color:u,name:"success"}),grey:H5,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r,...m[t]},o)}function q5(e){const t={};return Object.entries(e).forEach(r=>{const[o,i]=r;typeof i=="object"&&(t[o]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),t}function Q5(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function Z5(e){return Math.round(e*1e5)/1e5}const qg={textTransform:"uppercase"},Qg='"Roboto", "Helvetica", "Arial", sans-serif';function J5(e,t){const{fontFamily:n=Qg,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:a=700,htmlFontSize:l=16,allVariants:u,pxToRem:c,...d}=typeof t=="function"?t(e):t,f=r/14,m=c||(w=>`${w/l*f}rem`),g=(w,h,v,p,b)=>({fontFamily:n,fontWeight:w,fontSize:m(h),lineHeight:v,...n===Qg?{letterSpacing:`${Z5(p/h)}em`}:{},...b,...u}),y={h1:g(o,96,1.167,-1.5),h2:g(o,60,1.2,-.5),h3:g(i,48,1.167,0),h4:g(i,34,1.235,.25),h5:g(i,24,1.334,0),h6:g(s,20,1.6,.15),subtitle1:g(i,16,1.75,.15),subtitle2:g(s,14,1.57,.1),body1:g(i,16,1.5,.15),body2:g(i,14,1.43,.15),button:g(s,14,1.75,.4,qg),caption:g(i,12,1.66,.4),overline:g(i,12,2.66,1,qg),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return wt({htmlFontSize:l,pxToRem:m,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:a,...y},d,{clone:!1})}const eP=.2,tP=.14,nP=.12;function Ie(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${eP})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${tP})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${nP})`].join(",")}const rP=["none",Ie(0,2,1,-1,0,1,1,0,0,1,3,0),Ie(0,3,1,-2,0,2,2,0,0,1,5,0),Ie(0,3,3,-2,0,3,4,0,0,1,8,0),Ie(0,2,4,-1,0,4,5,0,0,1,10,0),Ie(0,3,5,-1,0,5,8,0,0,1,14,0),Ie(0,3,5,-1,0,6,10,0,0,1,18,0),Ie(0,4,5,-2,0,7,10,1,0,2,16,1),Ie(0,5,5,-3,0,8,10,1,0,3,14,2),Ie(0,5,6,-3,0,9,12,1,0,3,16,2),Ie(0,6,6,-3,0,10,14,1,0,4,18,3),Ie(0,6,7,-4,0,11,15,1,0,4,20,3),Ie(0,7,8,-4,0,12,17,2,0,5,22,4),Ie(0,7,8,-4,0,13,19,2,0,5,24,4),Ie(0,7,9,-4,0,14,21,2,0,5,26,4),Ie(0,8,9,-5,0,15,22,2,0,6,28,5),Ie(0,8,10,-5,0,16,24,2,0,6,30,5),Ie(0,8,11,-5,0,17,26,2,0,6,32,5),Ie(0,9,11,-5,0,18,28,2,0,7,34,6),Ie(0,9,12,-6,0,19,29,2,0,7,36,6),Ie(0,10,13,-6,0,20,31,3,0,8,38,7),Ie(0,10,13,-6,0,21,33,3,0,8,40,7),Ie(0,10,14,-6,0,22,35,3,0,8,42,7),Ie(0,11,14,-7,0,23,36,3,0,9,44,8),Ie(0,11,15,-7,0,24,38,3,0,9,46,8)],oP={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},iP={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Zg(e){return`${Math.round(e)}ms`}function sP(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function aP(e){const t={...oP,...e.easing},n={...iP,...e.duration};return{getAutoHeightDuration:sP,create:(o=["all"],i={})=>{const{duration:s=n.standard,easing:a=t.easeInOut,delay:l=0,...u}=i;return(Array.isArray(o)?o:[o]).map(c=>`${c} ${typeof s=="string"?s:Zg(s)} ${a} ${typeof l=="string"?l:Zg(l)}`).join(",")},...e,easing:t,duration:n}}const lP={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Mf(e={},...t){const{breakpoints:n,mixins:r={},spacing:o,palette:i={},transitions:s={},typography:a={},shape:l,...u}=e;if(e.vars)throw new Error(nr(20));const c=yh(i),d=Xu(e);let f=wt(d,{mixins:Q5(d.breakpoints,r),palette:c,shadows:rP.slice(),typography:J5(c,a),transitions:aP(s),zIndex:{...lP}});return f=wt(f,u),f=t.reduce((m,g)=>wt(m,g),f),f.unstable_sxConfig={...la,...u==null?void 0:u.unstable_sxConfig},f.unstable_sx=function(g){return wi({sx:g,theme:this})},f}function Of(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const uP=[...Array(25)].map((e,t)=>{if(t===0)return;const n=Of(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function tb(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function nb(e){return e==="dark"?uP:[]}function cP(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...o}=e,i=yh(t);return{palette:i,opacity:{...tb(i.mode),...n},overlays:r||nb(i.mode),...o}}function dP(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const fP=e=>[...[...Array(24)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n+1}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],pP=e=>(t,n)=>{const r=e.colorSchemeSelector;let o=r;if(r==="class"&&(o=".%s"),r==="data"&&(o="[data-%s]"),r!=null&&r.startsWith("data-")&&!r.includes("%s")&&(o=`[${r}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const i={};return fP(e.cssVarPrefix).forEach(s=>{i[s]=n[s],delete n[s]}),o==="media"?{":root":n,"@media (prefers-color-scheme: dark)":{":root":i}}:o?{[o.replace("%s",t)]:i,[`:root, ${o.replace("%s",t)}`]:n}:{":root":{...n,...i}}}if(o&&o!=="media")return`:root, ${o.replace("%s",String(t))}`}else if(t){if(o==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{":root":n}};if(o)return o.replace("%s",String(t))}return":root"};function hP(e){return Rn(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function mP(e={}){const t={...e};function n(r){const o=Object.entries(r);for(let i=0;i{e[n]||(e[n]={})})}function M(e,t,n){!e[t]&&n&&(e[t]=n)}function is(e){return!e||!e.startsWith("hsl")?e:Ux(e)}function _n(e,t){`${t}Channel`in e||(e[`${t}Channel`]=os(is(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color(). -To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function vP(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const wn=e=>{try{return e()}catch{}},yP=(e="mui")=>I5(e);function ad(e,t,n,r){if(!t)return;t=t===!0?{}:t;const o=r==="dark"?"dark":"light";if(!n){e[r]=cP({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:i,...s}=Mf({...n,palette:{mode:o,...t==null?void 0:t.palette}});return e[r]={...t,palette:i,opacity:{...tb(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||nb(o)},s}function xP(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:s=dP,colorSchemeSelector:a=n.light&&n.dark?"media":void 0,...l}=e,u=Object.keys(n)[0],c=r||(n.light&&u!=="light"?"light":u),d=yP(i),{[c]:f,light:m,dark:g,...y}=n,w={...y};let h=f;if((c==="dark"&&!("dark"in n)||c==="light"&&!("light"in n))&&(h=!0),!h)throw new Error(nr(21,c));const v=ad(w,h,l,c);m&&!w.light&&ad(w,m,void 0,"light"),g&&!w.dark&&ad(w,g,void 0,"dark");let p={defaultColorScheme:c,...v,cssVarPrefix:i,colorSchemeSelector:a,getCssVar:d,colorSchemes:w,font:{...q5(v.typography),...v.font},spacing:vP(l.spacing)};Object.keys(p.colorSchemes).forEach(T=>{const C=p.colorSchemes[T].palette,E=A=>{const O=A.split("-"),B=O[1],I=O[2];return d(A,C[B][I])};if(C.mode==="light"&&(M(C.common,"background","#fff"),M(C.common,"onBackground","#000")),C.mode==="dark"&&(M(C.common,"background","#000"),M(C.common,"onBackground","#fff")),gP(C,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),C.mode==="light"){M(C.Alert,"errorColor",we(C.error.light,.6)),M(C.Alert,"infoColor",we(C.info.light,.6)),M(C.Alert,"successColor",we(C.success.light,.6)),M(C.Alert,"warningColor",we(C.warning.light,.6)),M(C.Alert,"errorFilledBg",E("palette-error-main")),M(C.Alert,"infoFilledBg",E("palette-info-main")),M(C.Alert,"successFilledBg",E("palette-success-main")),M(C.Alert,"warningFilledBg",E("palette-warning-main")),M(C.Alert,"errorFilledColor",wn(()=>C.getContrastText(C.error.main))),M(C.Alert,"infoFilledColor",wn(()=>C.getContrastText(C.info.main))),M(C.Alert,"successFilledColor",wn(()=>C.getContrastText(C.success.main))),M(C.Alert,"warningFilledColor",wn(()=>C.getContrastText(C.warning.main))),M(C.Alert,"errorStandardBg",ke(C.error.light,.9)),M(C.Alert,"infoStandardBg",ke(C.info.light,.9)),M(C.Alert,"successStandardBg",ke(C.success.light,.9)),M(C.Alert,"warningStandardBg",ke(C.warning.light,.9)),M(C.Alert,"errorIconColor",E("palette-error-main")),M(C.Alert,"infoIconColor",E("palette-info-main")),M(C.Alert,"successIconColor",E("palette-success-main")),M(C.Alert,"warningIconColor",E("palette-warning-main")),M(C.AppBar,"defaultBg",E("palette-grey-100")),M(C.Avatar,"defaultBg",E("palette-grey-400")),M(C.Button,"inheritContainedBg",E("palette-grey-300")),M(C.Button,"inheritContainedHoverBg",E("palette-grey-A100")),M(C.Chip,"defaultBorder",E("palette-grey-400")),M(C.Chip,"defaultAvatarColor",E("palette-grey-700")),M(C.Chip,"defaultIconColor",E("palette-grey-700")),M(C.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),M(C.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),M(C.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),M(C.LinearProgress,"primaryBg",ke(C.primary.main,.62)),M(C.LinearProgress,"secondaryBg",ke(C.secondary.main,.62)),M(C.LinearProgress,"errorBg",ke(C.error.main,.62)),M(C.LinearProgress,"infoBg",ke(C.info.main,.62)),M(C.LinearProgress,"successBg",ke(C.success.main,.62)),M(C.LinearProgress,"warningBg",ke(C.warning.main,.62)),M(C.Skeleton,"bg",`rgba(${E("palette-text-primaryChannel")} / 0.11)`),M(C.Slider,"primaryTrack",ke(C.primary.main,.62)),M(C.Slider,"secondaryTrack",ke(C.secondary.main,.62)),M(C.Slider,"errorTrack",ke(C.error.main,.62)),M(C.Slider,"infoTrack",ke(C.info.main,.62)),M(C.Slider,"successTrack",ke(C.success.main,.62)),M(C.Slider,"warningTrack",ke(C.warning.main,.62));const A=Ua(C.background.default,.8);M(C.SnackbarContent,"bg",A),M(C.SnackbarContent,"color",wn(()=>C.getContrastText(A))),M(C.SpeedDialAction,"fabHoverBg",Ua(C.background.paper,.15)),M(C.StepConnector,"border",E("palette-grey-400")),M(C.StepContent,"border",E("palette-grey-400")),M(C.Switch,"defaultColor",E("palette-common-white")),M(C.Switch,"defaultDisabledColor",E("palette-grey-100")),M(C.Switch,"primaryDisabledColor",ke(C.primary.main,.62)),M(C.Switch,"secondaryDisabledColor",ke(C.secondary.main,.62)),M(C.Switch,"errorDisabledColor",ke(C.error.main,.62)),M(C.Switch,"infoDisabledColor",ke(C.info.main,.62)),M(C.Switch,"successDisabledColor",ke(C.success.main,.62)),M(C.Switch,"warningDisabledColor",ke(C.warning.main,.62)),M(C.TableCell,"border",ke(Wa(C.divider,1),.88)),M(C.Tooltip,"bg",Wa(C.grey[700],.92))}if(C.mode==="dark"){M(C.Alert,"errorColor",ke(C.error.light,.6)),M(C.Alert,"infoColor",ke(C.info.light,.6)),M(C.Alert,"successColor",ke(C.success.light,.6)),M(C.Alert,"warningColor",ke(C.warning.light,.6)),M(C.Alert,"errorFilledBg",E("palette-error-dark")),M(C.Alert,"infoFilledBg",E("palette-info-dark")),M(C.Alert,"successFilledBg",E("palette-success-dark")),M(C.Alert,"warningFilledBg",E("palette-warning-dark")),M(C.Alert,"errorFilledColor",wn(()=>C.getContrastText(C.error.dark))),M(C.Alert,"infoFilledColor",wn(()=>C.getContrastText(C.info.dark))),M(C.Alert,"successFilledColor",wn(()=>C.getContrastText(C.success.dark))),M(C.Alert,"warningFilledColor",wn(()=>C.getContrastText(C.warning.dark))),M(C.Alert,"errorStandardBg",we(C.error.light,.9)),M(C.Alert,"infoStandardBg",we(C.info.light,.9)),M(C.Alert,"successStandardBg",we(C.success.light,.9)),M(C.Alert,"warningStandardBg",we(C.warning.light,.9)),M(C.Alert,"errorIconColor",E("palette-error-main")),M(C.Alert,"infoIconColor",E("palette-info-main")),M(C.Alert,"successIconColor",E("palette-success-main")),M(C.Alert,"warningIconColor",E("palette-warning-main")),M(C.AppBar,"defaultBg",E("palette-grey-900")),M(C.AppBar,"darkBg",E("palette-background-paper")),M(C.AppBar,"darkColor",E("palette-text-primary")),M(C.Avatar,"defaultBg",E("palette-grey-600")),M(C.Button,"inheritContainedBg",E("palette-grey-800")),M(C.Button,"inheritContainedHoverBg",E("palette-grey-700")),M(C.Chip,"defaultBorder",E("palette-grey-700")),M(C.Chip,"defaultAvatarColor",E("palette-grey-300")),M(C.Chip,"defaultIconColor",E("palette-grey-300")),M(C.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),M(C.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),M(C.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),M(C.LinearProgress,"primaryBg",we(C.primary.main,.5)),M(C.LinearProgress,"secondaryBg",we(C.secondary.main,.5)),M(C.LinearProgress,"errorBg",we(C.error.main,.5)),M(C.LinearProgress,"infoBg",we(C.info.main,.5)),M(C.LinearProgress,"successBg",we(C.success.main,.5)),M(C.LinearProgress,"warningBg",we(C.warning.main,.5)),M(C.Skeleton,"bg",`rgba(${E("palette-text-primaryChannel")} / 0.13)`),M(C.Slider,"primaryTrack",we(C.primary.main,.5)),M(C.Slider,"secondaryTrack",we(C.secondary.main,.5)),M(C.Slider,"errorTrack",we(C.error.main,.5)),M(C.Slider,"infoTrack",we(C.info.main,.5)),M(C.Slider,"successTrack",we(C.success.main,.5)),M(C.Slider,"warningTrack",we(C.warning.main,.5));const A=Ua(C.background.default,.98);M(C.SnackbarContent,"bg",A),M(C.SnackbarContent,"color",wn(()=>C.getContrastText(A))),M(C.SpeedDialAction,"fabHoverBg",Ua(C.background.paper,.15)),M(C.StepConnector,"border",E("palette-grey-600")),M(C.StepContent,"border",E("palette-grey-600")),M(C.Switch,"defaultColor",E("palette-grey-300")),M(C.Switch,"defaultDisabledColor",E("palette-grey-600")),M(C.Switch,"primaryDisabledColor",we(C.primary.main,.55)),M(C.Switch,"secondaryDisabledColor",we(C.secondary.main,.55)),M(C.Switch,"errorDisabledColor",we(C.error.main,.55)),M(C.Switch,"infoDisabledColor",we(C.info.main,.55)),M(C.Switch,"successDisabledColor",we(C.success.main,.55)),M(C.Switch,"warningDisabledColor",we(C.warning.main,.55)),M(C.TableCell,"border",we(Wa(C.divider,1),.68)),M(C.Tooltip,"bg",Wa(C.grey[700],.92))}_n(C.background,"default"),_n(C.background,"paper"),_n(C.common,"background"),_n(C.common,"onBackground"),_n(C,"divider"),Object.keys(C).forEach(A=>{const O=C[A];O&&typeof O=="object"&&(O.main&&M(C[A],"mainChannel",os(is(O.main))),O.light&&M(C[A],"lightChannel",os(is(O.light))),O.dark&&M(C[A],"darkChannel",os(is(O.dark))),O.contrastText&&M(C[A],"contrastTextChannel",os(is(O.contrastText))),A==="text"&&(_n(C[A],"primary"),_n(C[A],"secondary")),A==="action"&&(O.active&&_n(C[A],"active"),O.selected&&_n(C[A],"selected")))})}),p=t.reduce((T,C)=>wt(T,C),p);const b={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:pP(p)},{vars:S,generateThemeVars:P,generateStyleSheets:$}=j5(p,b);return p.vars=S,Object.entries(p.colorSchemes[p.defaultColorScheme]).forEach(([T,C])=>{p[T]=C}),p.generateThemeVars=P,p.generateStyleSheets=$,p.generateSpacing=function(){return _x(l.spacing,oh(this))},p.getColorSchemeSelector=L5(a),p.spacing=p.generateSpacing(),p.shouldSkipGeneratingVar=s,p.unstable_sxConfig={...la,...l==null?void 0:l.unstable_sxConfig},p.unstable_sx=function(C){return wi({sx:C,theme:this})},p.toRuntimeSource=mP,p}function Jg(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:yh({...n===!0?{}:n.palette,mode:t})})}function rb(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=n?void 0:{light:!0},defaultColorScheme:i=n==null?void 0:n.mode,...s}=e,a=i||"light",l=o==null?void 0:o[a],u={...o,...n?{[a]:{...typeof l!="boolean"&&l,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return Mf(e,...t);let c=n;"palette"in e||u[a]&&(u[a]!==!0?c=u[a].palette:a==="dark"&&(c={mode:"dark"}));const d=Mf({...e,palette:c},...t);return d.defaultColorScheme=a,d.colorSchemes=u,d.palette.mode==="light"&&(d.colorSchemes.light={...u.light!==!0&&u.light,palette:d.palette},Jg(d,"dark",u.dark)),d.palette.mode==="dark"&&(d.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:d.palette},Jg(d,"light",u.light)),d}return!n&&!("light"in u)&&a==="light"&&(u.light=!0),xP({...s,colorSchemes:u,defaultColorScheme:a,...typeof r!="boolean"&&r},...t)}const Ju=rb(),da="$$material";function xh(){const e=qu(Ju);return e[da]||e}function bP(e){return k.jsx(u5,{...e,defaultTheme:Ju,themeId:da})}function bh(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const dn=e=>bh(e)&&e!=="classes",K=Vx({themeId:da,defaultTheme:Ju,rootShouldForwardProp:dn});function CP(e){return function(n){return k.jsx(bP,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function SP(){return bx}const e0={theme:void 0};function Pe(e){let t,n;return r=>{let o=t;return(o===void 0||r.theme!==n)&&(e0.theme=r.theme,o=e(e0),t=o,n=r.theme),o}}function Ce(e){return O5(e)}function wP(e){return typeof e.main=="string"}function kP(e,t=[]){if(!wP(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function or(e=[]){return([,t])=>t&&kP(t,e)}function $P(e){return me("MuiPaper",e)}le("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const PP=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return ge(i,$P,o)},TP=K("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(Pe(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),hi=x.forwardRef(function(t,n){var m;const r=Ce({props:t,name:"MuiPaper"}),o=xh(),{className:i,component:s="div",elevation:a=1,square:l=!1,variant:u="elevation",...c}=r,d={...r,component:s,elevation:a,square:l,variant:u},f=PP(d);return k.jsx(TP,{as:s,ownerState:d,className:q(f.root,i),ref:n,...c,style:{...u==="elevation"&&{"--Paper-shadow":(o.vars||o).shadows[a],...o.vars&&{"--Paper-overlay":(m=o.vars.overlays)==null?void 0:m[a]},...!o.vars&&o.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Ot("#fff",Of(a))}, ${Ot("#fff",Of(a))})`}},...c.style}})});function EP(e){return me("MuiAppBar",e)}le("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const RP=e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${ee(t)}`,`position${ee(n)}`]};return ge(o,EP,r)},t0=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,AP=K(hi,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${ee(n.position)}`],t[`color${ee(n.color)}`]]}})(Pe(({theme:e})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles("dark",{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter(or(["contrastText"])).map(([t])=>({props:{color:t},style:{"--AppBar-background":(e.vars??e).palette[t].main,"--AppBar-color":(e.vars??e).palette[t].contrastText}})),{props:t=>t.enableColorOnDark===!0&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:t=>t.enableColorOnDark===!1&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?t0(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?t0(e.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundImage:"none"})}}]}))),MP=x.forwardRef(function(t,n){const r=Ce({props:t,name:"MuiAppBar"}),{className:o,color:i="primary",enableColorOnDark:s=!1,position:a="fixed",...l}=r,u={...r,color:i,position:a,enableColorOnDark:s},c=RP(u);return k.jsx(AP,{square:!0,component:"header",ownerState:u,elevation:4,className:q(c.root,o,a==="fixed"&&"mui-fixed"),ref:n,...l})});function ob({props:e,name:t}){return Hx({props:e,name:t,defaultTheme:Ju,themeId:da})}const OP=le("MuiBox",["root"]),IP=rb(),Ye=d5({themeId:da,defaultTheme:IP,defaultClassName:OP.root,generateClassName:zx.generate});function BP(e){return me("MuiToolbar",e)}le("MuiToolbar",["root","gutters","regular","dense"]);const DP=e=>{const{classes:t,disableGutters:n,variant:r}=e;return ge({root:["root",!n&&"gutters",r]},BP,t)},jP=K("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(Pe(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]}))),LP=x.forwardRef(function(t,n){const r=Ce({props:t,name:"MuiToolbar"}),{className:o,component:i="div",disableGutters:s=!1,variant:a="regular",...l}=r,u={...r,component:i,disableGutters:s,variant:a},c=DP(u);return k.jsx(jP,{as:i,className:q(c.root,o),ref:n,ownerState:u,...l})});class Kl{constructor(){ji(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new Kl}static use(){const t=Kx(Kl.create).current,[n,r]=x.useState(!1);return t.shouldMount=n,t.setShouldMount=r,x.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=NP(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.start(...t)})}stop(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.stop(...t)})}pulsate(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.pulsate(...t)})}}function FP(){return Kl.use()}function NP(){let e,t;const n=new Promise((r,o)=>{e=r,t=o});return n.resolve=e,n.reject=t,n}function Xe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function If(e,t){return If=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},If(e,t)}function ib(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,If(e,t)}const n0={disabled:!1},Yl=on.createContext(null);var _P=function(t){return t.scrollTop},ss="unmounted",Yr="exited",Xr="entering",Mo="entered",Bf="exiting",jn=function(e){ib(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var s=o,a=s&&!s.isMounting?r.enter:r.appear,l;return i.appearStatus=null,r.in?a?(l=Yr,i.appearStatus=Xr):l=Mo:r.unmountOnExit||r.mountOnEnter?l=ss:l=Yr,i.state={status:l},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var s=o.in;return s&&i.status===ss?{status:Yr}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var i=null;if(o!==this.props){var s=this.state.status;this.props.in?s!==Xr&&s!==Mo&&(i=Xr):(s===Xr||s===Mo)&&(i=Bf)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,s,a;return i=s=a=o,o!=null&&typeof o!="number"&&(i=o.exit,s=o.enter,a=o.appear!==void 0?o.appear:s),{exit:i,enter:s,appear:a}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===Xr){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:_a.findDOMNode(this);s&&_P(s)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Yr&&this.setState({status:ss})},n.performEnter=function(o){var i=this,s=this.props.enter,a=this.context?this.context.isMounting:o,l=this.props.nodeRef?[a]:[_a.findDOMNode(this),a],u=l[0],c=l[1],d=this.getTimeouts(),f=a?d.appear:d.enter;if(!o&&!s||n0.disabled){this.safeSetState({status:Mo},function(){i.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:Xr},function(){i.props.onEntering(u,c),i.onTransitionEnd(f,function(){i.safeSetState({status:Mo},function(){i.props.onEntered(u,c)})})})},n.performExit=function(){var o=this,i=this.props.exit,s=this.getTimeouts(),a=this.props.nodeRef?void 0:_a.findDOMNode(this);if(!i||n0.disabled){this.safeSetState({status:Yr},function(){o.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:Bf},function(){o.props.onExiting(a),o.onTransitionEnd(s.exit,function(){o.safeSetState({status:Yr},function(){o.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},n.setNextCallback=function(o){var i=this,s=!0;return this.nextCallback=function(a){s&&(s=!1,i.nextCallback=null,o(a))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(o,i){this.setNextCallback(i);var s=this.props.nodeRef?this.props.nodeRef.current:_a.findDOMNode(this),a=o==null&&!this.props.addEndListener;if(!s||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],u=l[0],c=l[1];this.props.addEndListener(u,c)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===ss)return null;var i=this.props,s=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var a=Xe(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return on.createElement(Yl.Provider,{value:null},typeof s=="function"?s(o,a):on.cloneElement(on.Children.only(s),a))},t}(on.Component);jn.contextType=Yl;jn.propTypes={};function To(){}jn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:To,onEntering:To,onEntered:To,onExit:To,onExiting:To,onExited:To};jn.UNMOUNTED=ss;jn.EXITED=Yr;jn.ENTERING=Xr;jn.ENTERED=Mo;jn.EXITING=Bf;function zP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ch(e,t){var n=function(i){return t&&x.isValidElement(i)?t(i):i},r=Object.create(null);return e&&x.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function VP(e,t){e=e||{},t=t||{};function n(c){return c in t?t[c]:e[c]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var s,a={};for(var l in t){if(r[l])for(s=0;s{if(!a&&l!=null){const y=setTimeout(l,u);return()=>{clearTimeout(y)}}},[l,a,u]),k.jsx("span",{className:f,style:m,children:k.jsx("span",{className:g})})}const Zt=le("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Df=550,YP=80,XP=ph` - 0% { - transform: scale(0); - opacity: 0.1; - } - - 100% { - transform: scale(1); - opacity: 0.3; - } -`,qP=ph` - 0% { - opacity: 1; - } - - 100% { - opacity: 0; - } -`,QP=ph` - 0% { - transform: scale(1); - } - - 50% { - transform: scale(0.92); - } - - 100% { - transform: scale(1); - } -`,ZP=K("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),JP=K(KP,{name:"MuiTouchRipple",slot:"Ripple"})` - opacity: 0; - position: absolute; - - &.${Zt.rippleVisible} { - opacity: 0.3; - transform: scale(1); - animation-name: ${XP}; - animation-duration: ${Df}ms; - animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; - } - - &.${Zt.ripplePulsate} { - animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms; - } - - & .${Zt.child} { - opacity: 1; - display: block; - width: 100%; - height: 100%; - border-radius: 50%; - background-color: currentColor; - } - - & .${Zt.childLeaving} { - opacity: 0; - animation-name: ${qP}; - animation-duration: ${Df}ms; - animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; - } - - & .${Zt.childPulsate} { - position: absolute; - /* @noflip */ - left: 0px; - top: 0; - animation-name: ${QP}; - animation-duration: 2500ms; - animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; - animation-iteration-count: infinite; - animation-delay: 200ms; - } -`,eT=x.forwardRef(function(t,n){const r=Ce({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:s,...a}=r,[l,u]=x.useState([]),c=x.useRef(0),d=x.useRef(null);x.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const f=x.useRef(!1),m=Yx(),g=x.useRef(null),y=x.useRef(null),w=x.useCallback(b=>{const{pulsate:S,rippleX:P,rippleY:$,rippleSize:T,cb:C}=b;u(E=>[...E,k.jsx(JP,{classes:{ripple:q(i.ripple,Zt.ripple),rippleVisible:q(i.rippleVisible,Zt.rippleVisible),ripplePulsate:q(i.ripplePulsate,Zt.ripplePulsate),child:q(i.child,Zt.child),childLeaving:q(i.childLeaving,Zt.childLeaving),childPulsate:q(i.childPulsate,Zt.childPulsate)},timeout:Df,pulsate:S,rippleX:P,rippleY:$,rippleSize:T},c.current)]),c.current+=1,d.current=C},[i]),h=x.useCallback((b={},S={},P=()=>{})=>{const{pulsate:$=!1,center:T=o||S.pulsate,fakeElement:C=!1}=S;if((b==null?void 0:b.type)==="mousedown"&&f.current){f.current=!1;return}(b==null?void 0:b.type)==="touchstart"&&(f.current=!0);const E=C?null:y.current,A=E?E.getBoundingClientRect():{width:0,height:0,left:0,top:0};let O,B,I;if(T||b===void 0||b.clientX===0&&b.clientY===0||!b.clientX&&!b.touches)O=Math.round(A.width/2),B=Math.round(A.height/2);else{const{clientX:_,clientY:D}=b.touches&&b.touches.length>0?b.touches[0]:b;O=Math.round(_-A.left),B=Math.round(D-A.top)}if(T)I=Math.sqrt((2*A.width**2+A.height**2)/3),I%2===0&&(I+=1);else{const _=Math.max(Math.abs((E?E.clientWidth:0)-O),O)*2+2,D=Math.max(Math.abs((E?E.clientHeight:0)-B),B)*2+2;I=Math.sqrt(_**2+D**2)}b!=null&&b.touches?g.current===null&&(g.current=()=>{w({pulsate:$,rippleX:O,rippleY:B,rippleSize:I,cb:P})},m.start(YP,()=>{g.current&&(g.current(),g.current=null)})):w({pulsate:$,rippleX:O,rippleY:B,rippleSize:I,cb:P})},[o,w,m]),v=x.useCallback(()=>{h({},{pulsate:!0})},[h]),p=x.useCallback((b,S)=>{if(m.clear(),(b==null?void 0:b.type)==="touchend"&&g.current){g.current(),g.current=null,m.start(0,()=>{p(b,S)});return}g.current=null,u(P=>P.length>0?P.slice(1):P),d.current=S},[m]);return x.useImperativeHandle(n,()=>({pulsate:v,start:h,stop:p}),[v,h,p]),k.jsx(ZP,{className:q(Zt.root,i.root,s),ref:y,...a,children:k.jsx(Sh,{component:null,exit:!0,children:l})})});function tT(e){return me("MuiButtonBase",e)}const nT=le("MuiButtonBase",["root","disabled","focusVisible"]),rT=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,s=ge({root:["root",t&&"disabled",n&&"focusVisible"]},tT,o);return n&&r&&(s.root+=` ${r}`),s},oT=K("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${nT.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),wh=x.forwardRef(function(t,n){const r=Ce({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:s,className:a,component:l="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:d=!1,focusRipple:f=!1,focusVisibleClassName:m,LinkComponent:g="a",onBlur:y,onClick:w,onContextMenu:h,onDragLeave:v,onFocus:p,onFocusVisible:b,onKeyDown:S,onKeyUp:P,onMouseDown:$,onMouseLeave:T,onMouseUp:C,onTouchEnd:E,onTouchMove:A,onTouchStart:O,tabIndex:B=0,TouchRippleProps:I,touchRippleRef:_,type:D,...j}=r,R=x.useRef(null),N=FP(),H=st(N.ref,_),[Q,Y]=x.useState(!1);u&&Q&&Y(!1),x.useImperativeHandle(o,()=>({focusVisible:()=>{Y(!0),R.current.focus()}}),[]);const re=N.shouldMount&&!c&&!u;x.useEffect(()=>{Q&&f&&!c&&N.pulsate()},[c,f,Q,N]);function te(Z,ut,Oi=d){return Uo(Nn=>(ut&&ut(Nn),Oi||N[Z](Nn),!0))}const ce=te("start",$),de=te("stop",h),oe=te("stop",v),V=te("stop",C),X=te("stop",Z=>{Q&&Z.preventDefault(),T&&T(Z)}),W=te("start",O),z=te("stop",E),G=te("stop",A),ve=te("stop",Z=>{Gl(Z.target)||Y(!1),y&&y(Z)},!1),ie=Uo(Z=>{R.current||(R.current=Z.currentTarget),Gl(Z.target)&&(Y(!0),b&&b(Z)),p&&p(Z)}),ae=()=>{const Z=R.current;return l&&l!=="button"&&!(Z.tagName==="A"&&Z.href)},tt=Uo(Z=>{f&&!Z.repeat&&Q&&Z.key===" "&&N.stop(Z,()=>{N.start(Z)}),Z.target===Z.currentTarget&&ae()&&Z.key===" "&&Z.preventDefault(),S&&S(Z),Z.target===Z.currentTarget&&ae()&&Z.key==="Enter"&&!u&&(Z.preventDefault(),w&&w(Z))}),Ne=Uo(Z=>{f&&Z.key===" "&&Q&&!Z.defaultPrevented&&N.stop(Z,()=>{N.pulsate(Z)}),P&&P(Z),w&&Z.target===Z.currentTarget&&ae()&&Z.key===" "&&!Z.defaultPrevented&&w(Z)});let Te=l;Te==="button"&&(j.href||j.to)&&(Te=g);const Ue={};Te==="button"?(Ue.type=D===void 0?"button":D,Ue.disabled=u):(!j.href&&!j.to&&(Ue.role="button"),u&&(Ue["aria-disabled"]=u));const Cn=st(n,R),Ee={...r,centerRipple:i,component:l,disabled:u,disableRipple:c,disableTouchRipple:d,focusRipple:f,tabIndex:B,focusVisible:Q},Fn=rT(Ee);return k.jsxs(oT,{as:Te,className:q(Fn.root,a),ownerState:Ee,onBlur:ve,onClick:w,onContextMenu:de,onFocus:ie,onKeyDown:tt,onKeyUp:Ne,onMouseDown:ce,onMouseLeave:X,onMouseUp:V,onDragLeave:oe,onTouchEnd:z,onTouchMove:G,onTouchStart:W,ref:Cn,tabIndex:u?-1:B,type:D,...Ue,...j,children:[s,re?k.jsx(eT,{ref:H,center:i,...I}):null]})});function iT(e){return me("MuiIconButton",e)}const sT=le("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),aT=e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,s={root:["root",n&&"disabled",r!=="default"&&`color${ee(r)}`,o&&`edge${ee(o)}`,`size${ee(i)}`]};return ge(s,iT,t)},lT=K(wh,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${ee(n.color)}`],n.edge&&t[`edge${ee(n.edge)}`],t[`size${ee(n.size)}`]]}})(Pe(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:{disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Ot(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),Pe(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(or()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(or()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ot((e.vars||e).palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${sT.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}}))),io=x.forwardRef(function(t,n){const r=Ce({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:s,color:a="default",disabled:l=!1,disableFocusRipple:u=!1,disableRipple:c=!1,size:d="medium",...f}=r,m={...r,edge:o,color:a,disabled:l,disableFocusRipple:u,disableRipple:c,size:d},g=aT(m);return k.jsx(lT,{className:q(g.root,s),centerRipple:!0,focusRipple:!u,disabled:l,disableRipple:c,ref:n,...f,ownerState:m,children:i})});function uT(e){return me("MuiTypography",e)}le("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const cT={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},dT=SP(),fT=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:s}=e,a={root:["root",i,e.align!=="inherit"&&`align${ee(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return ge(a,uT,s)},pT=K("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${ee(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(Pe(({theme:e})=>{var t;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([n,r])=>n!=="inherit"&&r&&typeof r=="object").map(([n,r])=>({props:{variant:n},style:r})),...Object.entries(e.palette).filter(or()).map(([n])=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),...Object.entries(((t=e.palette)==null?void 0:t.text)||{}).filter(([,n])=>typeof n=="string").map(([n])=>({props:{color:`text${ee(n)}`},style:{color:(e.vars||e).palette.text[n]}})),{props:({ownerState:n})=>n.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:n})=>n.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:n})=>n.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:n})=>n.paragraph,style:{marginBottom:16}}]}})),r0={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},he=x.forwardRef(function(t,n){const{color:r,...o}=Ce({props:t,name:"MuiTypography"}),i=!cT[r],s=dT({...o,...i&&{color:r}}),{align:a="inherit",className:l,component:u,gutterBottom:c=!1,noWrap:d=!1,paragraph:f=!1,variant:m="body1",variantMapping:g=r0,...y}=s,w={...s,align:a,color:r,className:l,component:u,gutterBottom:c,noWrap:d,paragraph:f,variant:m,variantMapping:g},h=u||(f?"p":g[m]||r0[m])||"span",v=fT(w);return k.jsx(pT,{as:h,ref:n,className:q(v.root,l),...y,ownerState:w,style:{...a!=="inherit"&&{"--Typography-textAlign":a},...y.style}})});var Se={};/** - * @license React - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var kh=Symbol.for("react.element"),$h=Symbol.for("react.portal"),ec=Symbol.for("react.fragment"),tc=Symbol.for("react.strict_mode"),nc=Symbol.for("react.profiler"),rc=Symbol.for("react.provider"),oc=Symbol.for("react.context"),hT=Symbol.for("react.server_context"),ic=Symbol.for("react.forward_ref"),sc=Symbol.for("react.suspense"),ac=Symbol.for("react.suspense_list"),lc=Symbol.for("react.memo"),uc=Symbol.for("react.lazy"),mT=Symbol.for("react.offscreen"),sb;sb=Symbol.for("react.module.reference");function fn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case kh:switch(e=e.type,e){case ec:case nc:case tc:case sc:case ac:return e;default:switch(e=e&&e.$$typeof,e){case hT:case oc:case ic:case uc:case lc:case rc:return e;default:return t}}case $h:return t}}}Se.ContextConsumer=oc;Se.ContextProvider=rc;Se.Element=kh;Se.ForwardRef=ic;Se.Fragment=ec;Se.Lazy=uc;Se.Memo=lc;Se.Portal=$h;Se.Profiler=nc;Se.StrictMode=tc;Se.Suspense=sc;Se.SuspenseList=ac;Se.isAsyncMode=function(){return!1};Se.isConcurrentMode=function(){return!1};Se.isContextConsumer=function(e){return fn(e)===oc};Se.isContextProvider=function(e){return fn(e)===rc};Se.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===kh};Se.isForwardRef=function(e){return fn(e)===ic};Se.isFragment=function(e){return fn(e)===ec};Se.isLazy=function(e){return fn(e)===uc};Se.isMemo=function(e){return fn(e)===lc};Se.isPortal=function(e){return fn(e)===$h};Se.isProfiler=function(e){return fn(e)===nc};Se.isStrictMode=function(e){return fn(e)===tc};Se.isSuspense=function(e){return fn(e)===sc};Se.isSuspenseList=function(e){return fn(e)===ac};Se.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ec||e===nc||e===tc||e===sc||e===ac||e===mT||typeof e=="object"&&e!==null&&(e.$$typeof===uc||e.$$typeof===lc||e.$$typeof===rc||e.$$typeof===oc||e.$$typeof===ic||e.$$typeof===sb||e.getModuleId!==void 0)};Se.typeOf=fn;const jf=x.createContext({});function gT(e){return me("MuiList",e)}le("MuiList",["root","padding","dense","subheader"]);const vT=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return ge({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},gT,t)},yT=K("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),xT=x.forwardRef(function(t,n){const r=Ce({props:t,name:"MuiList"}),{children:o,className:i,component:s="ul",dense:a=!1,disablePadding:l=!1,subheader:u,...c}=r,d=x.useMemo(()=>({dense:a}),[a]),f={...r,component:s,dense:a,disablePadding:l},m=vT(f);return k.jsx(jf.Provider,{value:d,children:k.jsxs(yT,{as:s,className:q(m.root,i),ref:n,ownerState:f,...c,children:[u,o]})})});function ld(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function o0(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function ab(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(""))}function Ki(e,t,n,r,o,i){let s=!1,a=o(e,t,t?n:!1);for(;a;){if(a===e.firstChild){if(s)return!1;s=!0}const l=r?!1:a.disabled||a.getAttribute("aria-disabled")==="true";if(!a.hasAttribute("tabindex")||!ab(a,i)||l)a=o(e,a,n);else return a.focus(),!0}return!1}const bT=x.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:s,className:a,disabledItemsFocusable:l=!1,disableListWrap:u=!1,onKeyDown:c,variant:d="selectedMenu",...f}=t,m=x.useRef(null),g=x.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Mr(()=>{o&&m.current.focus()},[o]),x.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(p,{direction:b})=>{const S=!m.current.style.width;if(p.clientHeight{const b=m.current,S=p.key;if(p.ctrlKey||p.metaKey||p.altKey){c&&c(p);return}const $=Wt(b).activeElement;if(S==="ArrowDown")p.preventDefault(),Ki(b,$,u,l,ld);else if(S==="ArrowUp")p.preventDefault(),Ki(b,$,u,l,o0);else if(S==="Home")p.preventDefault(),Ki(b,null,u,l,ld);else if(S==="End")p.preventDefault(),Ki(b,null,u,l,o0);else if(S.length===1){const T=g.current,C=S.toLowerCase(),E=performance.now();T.keys.length>0&&(E-T.lastTime>500?(T.keys=[],T.repeating=!0,T.previousKeyMatched=!0):T.repeating&&C!==T.keys[0]&&(T.repeating=!1)),T.lastTime=E,T.keys.push(C);const A=$&&!T.repeating&&ab($,T);T.previousKeyMatched&&(A||Ki(b,$,!1,l,ld,T))?p.preventDefault():T.previousKeyMatched=!1}c&&c(p)},w=st(m,n);let h=-1;x.Children.forEach(s,(p,b)=>{if(!x.isValidElement(p)){h===b&&(h+=1,h>=s.length&&(h=-1));return}p.props.disabled||(d==="selectedMenu"&&p.props.selected||h===-1)&&(h=b),h===b&&(p.props.disabled||p.props.muiSkipListHighlight||p.type.muiSkipListHighlight)&&(h+=1,h>=s.length&&(h=-1))});const v=x.Children.map(s,(p,b)=>{if(b===h){const S={};return i&&(S.autoFocus=!0),p.props.tabIndex===void 0&&d==="selectedMenu"&&(S.tabIndex=0),x.cloneElement(p,S)}return p});return k.jsx(xT,{role:"menu",ref:w,className:a,onKeyDown:y,tabIndex:o?0:-1,...f,children:v})});function Lf(e){return typeof e=="string"}const lb=e=>e.scrollTop;function Xl(e,t){const{timeout:n,easing:r,style:o={}}=e;return{duration:o.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:o.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:o.transitionDelay}}function Ff(e){return`scale(${e}, ${e**2})`}const CT={entering:{opacity:1,transform:Ff(1)},entered:{opacity:1,transform:"none"}},ud=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Nf=x.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:s,in:a,onEnter:l,onEntered:u,onEntering:c,onExit:d,onExited:f,onExiting:m,style:g,timeout:y="auto",TransitionComponent:w=jn,...h}=t,v=Yx(),p=x.useRef(),b=xh(),S=x.useRef(null),P=st(S,ca(i),n),$=_=>D=>{if(_){const j=S.current;D===void 0?_(j):_(j,D)}},T=$(c),C=$((_,D)=>{lb(_);const{duration:j,delay:R,easing:N}=Xl({style:g,timeout:y,easing:s},{mode:"enter"});let H;y==="auto"?(H=b.transitions.getAutoHeightDuration(_.clientHeight),p.current=H):H=j,_.style.transition=[b.transitions.create("opacity",{duration:H,delay:R}),b.transitions.create("transform",{duration:ud?H:H*.666,delay:R,easing:N})].join(","),l&&l(_,D)}),E=$(u),A=$(m),O=$(_=>{const{duration:D,delay:j,easing:R}=Xl({style:g,timeout:y,easing:s},{mode:"exit"});let N;y==="auto"?(N=b.transitions.getAutoHeightDuration(_.clientHeight),p.current=N):N=D,_.style.transition=[b.transitions.create("opacity",{duration:N,delay:j}),b.transitions.create("transform",{duration:ud?N:N*.666,delay:ud?j:j||N*.333,easing:R})].join(","),_.style.opacity=0,_.style.transform=Ff(.75),d&&d(_)}),B=$(f),I=_=>{y==="auto"&&v.start(p.current||0,_),r&&r(S.current,_)};return k.jsx(w,{appear:o,in:a,nodeRef:S,onEnter:C,onEntered:E,onEntering:T,onExit:O,onExited:B,onExiting:A,addEndListener:I,timeout:y==="auto"?null:y,...h,children:(_,D)=>x.cloneElement(i,{style:{opacity:0,transform:Ff(.75),visibility:_==="exited"&&!a?"hidden":void 0,...CT[_],...g,...i.props.style},ref:P,...D})})});Nf&&(Nf.muiSupportAuto=!0);function ST(e){const t=Wt(e);return t.body===e?po(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function xs(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function i0(e){return parseInt(po(e).getComputedStyle(e).paddingRight,10)||0}function wT(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 s0(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,s=>{const a=i.indexOf(s)===-1,l=!wT(s);a&&l&&xs(s,o)})}function cd(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function kT(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(ST(r)){const s=Xx(Wt(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${i0(r)+s}px`;const a=Wt(r).querySelectorAll(".mui-fixed");[].forEach.call(a,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${i0(l)+s}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=Wt(r).body;else{const s=r.parentElement,a=po(r);i=(s==null?void 0:s.nodeName)==="HTML"&&a.getComputedStyle(s).overflowY==="scroll"?s:r}n.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{n.forEach(({value:i,el:s,property:a})=>{i?s.style.setProperty(a,i):s.style.removeProperty(a)})}}function $T(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class PT{constructor(){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&&xs(t.modalRef,!1);const o=$T(n);s0(n,t.mount,t.modalRef,o,!0);const i=cd(this.containers,s=>s.container===n);return i!==-1?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=cd(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[r];o.restore||(o.restore=kT(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=cd(this.containers,s=>s.modals.indexOf(t)!==-1),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(r,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&xs(t.modalRef,n),s0(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const s=i.modals[i.modals.length-1];s.modalRef&&xs(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const TT=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function ET(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 RT(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 AT(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||RT(e))}function MT(e){const t=[],n=[];return Array.from(e.querySelectorAll(TT)).forEach((r,o)=>{const i=ET(r);i===-1||!AT(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 OT(){return!0}function IT(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=MT,isEnabled:s=OT,open:a}=e,l=x.useRef(!1),u=x.useRef(null),c=x.useRef(null),d=x.useRef(null),f=x.useRef(null),m=x.useRef(!1),g=x.useRef(null),y=st(ca(t),g),w=x.useRef(null);x.useEffect(()=>{!a||!g.current||(m.current=!n)},[n,a]),x.useEffect(()=>{if(!a||!g.current)return;const p=Wt(g.current);return g.current.contains(p.activeElement)||(g.current.hasAttribute("tabIndex")||g.current.setAttribute("tabIndex","-1"),m.current&&g.current.focus()),()=>{o||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}},[a]),x.useEffect(()=>{if(!a||!g.current)return;const p=Wt(g.current),b=$=>{w.current=$,!(r||!s()||$.key!=="Tab")&&p.activeElement===g.current&&$.shiftKey&&(l.current=!0,c.current&&c.current.focus())},S=()=>{var C,E;const $=g.current;if($===null)return;if(!p.hasFocus()||!s()||l.current){l.current=!1;return}if($.contains(p.activeElement)||r&&p.activeElement!==u.current&&p.activeElement!==c.current)return;if(p.activeElement!==f.current)f.current=null;else if(f.current!==null)return;if(!m.current)return;let T=[];if((p.activeElement===u.current||p.activeElement===c.current)&&(T=i(g.current)),T.length>0){const A=!!((C=w.current)!=null&&C.shiftKey&&((E=w.current)==null?void 0:E.key)==="Tab"),O=T[0],B=T[T.length-1];typeof O!="string"&&typeof B!="string"&&(A?B.focus():O.focus())}else $.focus()};p.addEventListener("focusin",S),p.addEventListener("keydown",b,!0);const P=setInterval(()=>{p.activeElement&&p.activeElement.tagName==="BODY"&&S()},50);return()=>{clearInterval(P),p.removeEventListener("focusin",S),p.removeEventListener("keydown",b,!0)}},[n,r,o,s,a,i]);const h=p=>{d.current===null&&(d.current=p.relatedTarget),m.current=!0,f.current=p.target;const b=t.props.onFocus;b&&b(p)},v=p=>{d.current===null&&(d.current=p.relatedTarget),m.current=!0};return k.jsxs(x.Fragment,{children:[k.jsx("div",{tabIndex:a?0:-1,onFocus:v,ref:u,"data-testid":"sentinelStart"}),x.cloneElement(t,{ref:y,onFocus:h}),k.jsx("div",{tabIndex:a?0:-1,onFocus:v,ref:c,"data-testid":"sentinelEnd"})]})}function BT(e){return typeof e=="function"?e():e}const DT=x.forwardRef(function(t,n){const{children:r,container:o,disablePortal:i=!1}=t,[s,a]=x.useState(null),l=st(ca(r),n);if(Mr(()=>{i||a(BT(o)||document.body)},[o,i]),Mr(()=>{if(s&&!i)return Rf(n,s),()=>{Rf(n,null)}},[n,s,i]),i){if(x.isValidElement(r)){const u={ref:l};return x.cloneElement(r,u)}return k.jsx(x.Fragment,{children:r})}return k.jsx(x.Fragment,{children:s&&th.createPortal(r,s)})});function rn(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,getSlotOwnerState:s,internalForwardedProps:a,...l}=t,{component:u,slots:c={[e]:void 0},slotProps:d={[e]:void 0},...f}=i,m=c[e]||r,g=Jx(d[e],o),{props:{component:y,...w},internalRef:h}=Zx({className:n,...l,externalForwardedProps:e==="root"?f:void 0,externalSlotProps:g}),v=st(h,g==null?void 0:g.ref,t.ref),p=s?s(w):{},b={...o,...p},S=e==="root"?y||u:y,P=qx(m,{...e==="root"&&!u&&!c[e]&&a,...e!=="root"&&!c[e]&&a,...w,...S&&{as:S},ref:v},b);return Object.keys(p).forEach($=>{delete P[$]}),[m,P]}const jT={entering:{opacity:1},entered:{opacity:1}},LT=x.forwardRef(function(t,n){const r=xh(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:a,easing:l,in:u,onEnter:c,onEntered:d,onEntering:f,onExit:m,onExited:g,onExiting:y,style:w,timeout:h=o,TransitionComponent:v=jn,...p}=t,b=x.useRef(null),S=st(b,ca(a),n),P=I=>_=>{if(I){const D=b.current;_===void 0?I(D):I(D,_)}},$=P(f),T=P((I,_)=>{lb(I);const D=Xl({style:w,timeout:h,easing:l},{mode:"enter"});I.style.webkitTransition=r.transitions.create("opacity",D),I.style.transition=r.transitions.create("opacity",D),c&&c(I,_)}),C=P(d),E=P(y),A=P(I=>{const _=Xl({style:w,timeout:h,easing:l},{mode:"exit"});I.style.webkitTransition=r.transitions.create("opacity",_),I.style.transition=r.transitions.create("opacity",_),m&&m(I)}),O=P(g),B=I=>{i&&i(b.current,I)};return k.jsx(v,{appear:s,in:u,nodeRef:b,onEnter:T,onEntered:C,onEntering:$,onExit:A,onExited:O,onExiting:E,addEndListener:B,timeout:h,...p,children:(I,_)=>x.cloneElement(a,{style:{opacity:0,visibility:I==="exited"&&!u?"hidden":void 0,...jT[I],...w,...a.props.style},ref:S,..._})})});function FT(e){return me("MuiBackdrop",e)}le("MuiBackdrop",["root","invisible"]);const NT=e=>{const{classes:t,invisible:n}=e;return ge({root:["root",n&&"invisible"]},FT,t)},_T=K("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),zT=x.forwardRef(function(t,n){const r=Ce({props:t,name:"MuiBackdrop"}),{children:o,className:i,component:s="div",invisible:a=!1,open:l,components:u={},componentsProps:c={},slotProps:d={},slots:f={},TransitionComponent:m,transitionDuration:g,...y}=r,w={...r,component:s,invisible:a},h=NT(w),v={transition:m,root:u.Root,...f},p={...c,...d},b={slots:v,slotProps:p},[S,P]=rn("root",{elementType:_T,externalForwardedProps:b,className:q(h.root,i),ownerState:w}),[$,T]=rn("transition",{elementType:LT,externalForwardedProps:b,ownerState:w});return delete T.ownerState,k.jsx($,{in:l,timeout:g,...y,...T,children:k.jsx(S,{"aria-hidden":!0,...P,classes:h,ref:n,children:o})})});function VT(e){return typeof e=="function"?e():e}function HT(e){return e?e.props.hasOwnProperty("in"):!1}const WT=new PT;function UT(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=WT,closeAfterTransition:i=!1,onTransitionEnter:s,onTransitionExited:a,children:l,onClose:u,open:c,rootRef:d}=e,f=x.useRef({}),m=x.useRef(null),g=x.useRef(null),y=st(g,d),[w,h]=x.useState(!c),v=HT(l);let p=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(p=!1);const b=()=>Wt(m.current),S=()=>(f.current.modalRef=g.current,f.current.mount=m.current,f.current),P=()=>{o.mount(S(),{disableScrollLock:r}),g.current&&(g.current.scrollTop=0)},$=Uo(()=>{const D=VT(t)||b().body;o.add(S(),D),g.current&&P()}),T=x.useCallback(()=>o.isTopModal(S()),[o]),C=Uo(D=>{m.current=D,D&&(c&&T()?P():g.current&&xs(g.current,p))}),E=x.useCallback(()=>{o.remove(S(),p)},[p,o]);x.useEffect(()=>()=>{E()},[E]),x.useEffect(()=>{c?$():(!v||!i)&&E()},[c,E,v,i,$]);const A=D=>j=>{var R;(R=D.onKeyDown)==null||R.call(D,j),!(j.key!=="Escape"||j.which===229||!T())&&(n||(j.stopPropagation(),u&&u(j,"escapeKeyDown")))},O=D=>j=>{var R;(R=D.onClick)==null||R.call(D,j),j.target===j.currentTarget&&u&&u(j,"backdropClick")};return{getRootProps:(D={})=>{const j=Qx(e);delete j.onTransitionEnter,delete j.onTransitionExited;const R={...j,...D};return{role:"presentation",...R,onKeyDown:A(R),ref:y}},getBackdropProps:(D={})=>{const j=D;return{"aria-hidden":!0,...j,onClick:O(j),open:c}},getTransitionProps:()=>{const D=()=>{h(!1),s&&s()},j=()=>{h(!0),a&&a(),i&&E()};return{onEnter:zg(D,l==null?void 0:l.props.onEnter),onExited:zg(j,l==null?void 0:l.props.onExited)}},rootRef:y,portalRef:C,isTopModal:T,exited:w,hasTransition:v}}function GT(e){return me("MuiModal",e)}le("MuiModal",["root","hidden","backdrop"]);function KT(e){return me("MuiSvgIcon",e)}le("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const YT=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${ee(t)}`,`fontSize${ee(n)}`]};return ge(o,KT,r)},XT=K("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${ee(n.color)}`],t[`fontSize${ee(n.fontSize)}`]]}})(Pe(({theme:e})=>{var t,n,r,o,i,s,a,l,u,c,d,f,m,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(o=(t=e.transitions)==null?void 0:t.create)==null?void 0:o.call(t,"fill",{duration:(r=(n=(e.vars??e).transitions)==null?void 0:n.duration)==null?void 0:r.shorter}),variants:[{props:y=>!y.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((s=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:s.call(i,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((l=(a=e.typography)==null?void 0:a.pxToRem)==null?void 0:l.call(a,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((c=(u=e.typography)==null?void 0:u.pxToRem)==null?void 0:c.call(u,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,y])=>y&&y.main).map(([y])=>{var w,h;return{props:{color:y},style:{color:(h=(w=(e.vars??e).palette)==null?void 0:w[y])==null?void 0:h.main}}}),{props:{color:"action"},style:{color:(f=(d=(e.vars??e).palette)==null?void 0:d.action)==null?void 0:f.active}},{props:{color:"disabled"},style:{color:(g=(m=(e.vars??e).palette)==null?void 0:m.action)==null?void 0:g.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),ql=x.forwardRef(function(t,n){const r=Ce({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:s="inherit",component:a="svg",fontSize:l="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:d,viewBox:f="0 0 24 24",...m}=r,g=x.isValidElement(o)&&o.type==="svg",y={...r,color:s,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:f,hasSvgAsChild:g},w={};c||(w.viewBox=f);const h=YT(y);return k.jsxs(XT,{as:a,className:q(h.root,i),focusable:"false",color:u,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n,...w,...m,...g&&o.props,ownerState:y,children:[g?o.props.children:o,d?k.jsx("title",{children:d}):null]})});ql&&(ql.muiName="SvgIcon");function lt(e,t){function n(r,o){return k.jsx(ql,{"data-testid":`${t}Icon`,ref:o,...r,children:e})}return n.muiName=ql.muiName,x.memo(x.forwardRef(n))}const qT=e=>{const{open:t,exited:n,classes:r}=e;return ge({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},GT,r)},QT=K("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(Pe(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),ZT=K(zT,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),ub=x.forwardRef(function(t,n){const r=Ce({name:"MuiModal",props:t}),{BackdropComponent:o=ZT,BackdropProps:i,classes:s,className:a,closeAfterTransition:l=!1,children:u,container:c,component:d,components:f={},componentsProps:m={},disableAutoFocus:g=!1,disableEnforceFocus:y=!1,disableEscapeKeyDown:w=!1,disablePortal:h=!1,disableRestoreFocus:v=!1,disableScrollLock:p=!1,hideBackdrop:b=!1,keepMounted:S=!1,onBackdropClick:P,onClose:$,onTransitionEnter:T,onTransitionExited:C,open:E,slotProps:A={},slots:O={},theme:B,...I}=r,_={...r,closeAfterTransition:l,disableAutoFocus:g,disableEnforceFocus:y,disableEscapeKeyDown:w,disablePortal:h,disableRestoreFocus:v,disableScrollLock:p,hideBackdrop:b,keepMounted:S},{getRootProps:D,getBackdropProps:j,getTransitionProps:R,portalRef:N,isTopModal:H,exited:Q,hasTransition:Y}=UT({..._,rootRef:n}),re={..._,exited:Q},te=qT(re),ce={};if(u.props.tabIndex===void 0&&(ce.tabIndex="-1"),Y){const{onEnter:G,onExited:ve}=R();ce.onEnter=G,ce.onExited=ve}const de={slots:{root:f.Root,backdrop:f.Backdrop,...O},slotProps:{...m,...A}},[oe,V]=rn("root",{elementType:QT,externalForwardedProps:de,getSlotProps:D,additionalProps:{ref:n,as:d},ownerState:re,className:q(a,te==null?void 0:te.root,!re.open&&re.exited&&(te==null?void 0:te.hidden))}),[X,W]=rn("backdrop",{elementType:o,externalForwardedProps:de,additionalProps:i,getSlotProps:G=>j({...G,onClick:ve=>{P&&P(ve),G!=null&&G.onClick&&G.onClick(ve)}}),className:q(i==null?void 0:i.className,te==null?void 0:te.backdrop),ownerState:re}),z=st(i==null?void 0:i.ref,W.ref);return!S&&!E&&(!Y||Q)?null:k.jsx(DT,{ref:N,container:c,disablePortal:h,children:k.jsxs(oe,{...V,...I,children:[!b&&o?k.jsx(X,{...W,ref:z}):null,k.jsx(IT,{disableEnforceFocus:y,disableAutoFocus:g,disableRestoreFocus:v,isEnabled:H,open:E,children:x.cloneElement(u,ce)})]})})});function JT(e){return me("MuiPopover",e)}le("MuiPopover",["root","paper"]);function a0(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function l0(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function u0(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function dd(e){return typeof e=="function"?e():e}const eE=e=>{const{classes:t}=e;return ge({root:["root"],paper:["paper"]},JT,t)},tE=K(ub,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),cb=K(hi,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),nE=x.forwardRef(function(t,n){const r=Ce({props:t,name:"MuiPopover"}),{action:o,anchorEl:i,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:a,anchorReference:l="anchorEl",children:u,className:c,container:d,elevation:f=8,marginThreshold:m=16,open:g,PaperProps:y={},slots:w={},slotProps:h={},transformOrigin:v={vertical:"top",horizontal:"left"},TransitionComponent:p=Nf,transitionDuration:b="auto",TransitionProps:{onEntering:S,...P}={},disableScrollLock:$=!1,...T}=r,C=(h==null?void 0:h.paper)??y,E=x.useRef(),A={...r,anchorOrigin:s,anchorReference:l,elevation:f,marginThreshold:m,externalPaperSlotProps:C,transformOrigin:v,TransitionComponent:p,transitionDuration:b,TransitionProps:P},O=eE(A),B=x.useCallback(()=>{if(l==="anchorPosition")return a;const W=dd(i),G=(W&&W.nodeType===1?W:Wt(E.current).body).getBoundingClientRect();return{top:G.top+a0(G,s.vertical),left:G.left+l0(G,s.horizontal)}},[i,s.horizontal,s.vertical,a,l]),I=x.useCallback(W=>({vertical:a0(W,v.vertical),horizontal:l0(W,v.horizontal)}),[v.horizontal,v.vertical]),_=x.useCallback(W=>{const z={width:W.offsetWidth,height:W.offsetHeight},G=I(z);if(l==="none")return{top:null,left:null,transformOrigin:u0(G)};const ve=B();let ie=ve.top-G.vertical,ae=ve.left-G.horizontal;const tt=ie+z.height,Ne=ae+z.width,Te=po(dd(i)),Ue=Te.innerHeight-m,Cn=Te.innerWidth-m;if(m!==null&&ieUe){const Ee=tt-Ue;ie-=Ee,G.vertical+=Ee}if(m!==null&&aeCn){const Ee=Ne-Cn;ae-=Ee,G.horizontal+=Ee}return{top:`${Math.round(ie)}px`,left:`${Math.round(ae)}px`,transformOrigin:u0(G)}},[i,l,B,I,m]),[D,j]=x.useState(g),R=x.useCallback(()=>{const W=E.current;if(!W)return;const z=_(W);z.top!==null&&(W.style.top=z.top),z.left!==null&&(W.style.left=z.left),W.style.transformOrigin=z.transformOrigin,j(!0)},[_]);x.useEffect(()=>($&&window.addEventListener("scroll",R),()=>window.removeEventListener("scroll",R)),[i,$,R]);const N=(W,z)=>{S&&S(W,z),R()},H=()=>{j(!1)};x.useEffect(()=>{g&&R()}),x.useImperativeHandle(o,()=>g?{updatePosition:()=>{R()}}:null,[g,R]),x.useEffect(()=>{if(!g)return;const W=Gx(()=>{R()}),z=po(i);return z.addEventListener("resize",W),()=>{W.clear(),z.removeEventListener("resize",W)}},[i,g,R]);let Q=b;b==="auto"&&!p.muiSupportAuto&&(Q=void 0);const Y=d||(i?Wt(dd(i)).body:void 0),re={slots:w,slotProps:{...h,paper:C}},[te,ce]=rn("paper",{elementType:cb,externalForwardedProps:re,additionalProps:{elevation:f,className:q(O.paper,C==null?void 0:C.className),style:D?C.style:{...C.style,opacity:0}},ownerState:A}),[de,{slotProps:oe,...V}]=rn("root",{elementType:tE,externalForwardedProps:re,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:Y,open:g},ownerState:A,className:q(O.root,c)}),X=st(E,ce.ref);return k.jsx(de,{...V,...!Lf(de)&&{slotProps:oe,disableScrollLock:$},...T,ref:n,children:k.jsx(p,{appear:!0,in:g,onEntering:N,onExited:H,timeout:Q,...P,children:k.jsx(te,{...ce,ref:X,children:u})})})});function rE(e){return me("MuiMenu",e)}le("MuiMenu",["root","paper","list"]);const oE={vertical:"top",horizontal:"right"},iE={vertical:"top",horizontal:"left"},sE=e=>{const{classes:t}=e;return ge({root:["root"],paper:["paper"],list:["list"]},rE,t)},aE=K(nE,{shouldForwardProp:e=>dn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),lE=K(cb,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),uE=K(bT,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),db=x.forwardRef(function(t,n){const r=Ce({props:t,name:"MuiMenu"}),{autoFocus:o=!0,children:i,className:s,disableAutoFocusItem:a=!1,MenuListProps:l={},onClose:u,open:c,PaperProps:d={},PopoverClasses:f,transitionDuration:m="auto",TransitionProps:{onEntering:g,...y}={},variant:w="selectedMenu",slots:h={},slotProps:v={},...p}=r,b=eb(),S={...r,autoFocus:o,disableAutoFocusItem:a,MenuListProps:l,onEntering:g,PaperProps:d,transitionDuration:m,TransitionProps:y,variant:w},P=sE(S),$=o&&!a&&c,T=x.useRef(null),C=(D,j)=>{T.current&&T.current.adjustStyleForScrollbar(D,{direction:b?"rtl":"ltr"}),g&&g(D,j)},E=D=>{D.key==="Tab"&&(D.preventDefault(),u&&u(D,"tabKeyDown"))};let A=-1;x.Children.map(i,(D,j)=>{x.isValidElement(D)&&(D.props.disabled||(w==="selectedMenu"&&D.props.selected||A===-1)&&(A=j))});const O=h.paper??lE,B=v.paper??d,I=Gg({elementType:h.root,externalSlotProps:v.root,ownerState:S,className:[P.root,s]}),_=Gg({elementType:O,externalSlotProps:B,ownerState:S,className:P.paper});return k.jsx(aE,{onClose:u,anchorOrigin:{vertical:"bottom",horizontal:b?"right":"left"},transformOrigin:b?oE:iE,slots:{paper:O,root:h.root},slotProps:{root:I,paper:_},open:c,ref:n,transitionDuration:m,TransitionProps:{onEntering:C,...y},ownerState:S,...p,classes:f,children:k.jsx(uE,{onKeyDown:E,actions:T,autoFocus:o&&(A===-1||a),autoFocusItem:$,variant:w,...l,className:q(P.list,l.className),children:i})})}),cE=lt(k.jsx("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu"),cc=V5({createStyledComponent:K("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${ee(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>ob({props:e,name:"MuiContainer"})});function dE(e){return me("MuiButton",e)}const Eo=le("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),fE=x.createContext({}),pE=x.createContext(void 0),hE=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:s}=e,a={root:["root",i,`${i}${ee(t)}`,`size${ee(o)}`,`${i}Size${ee(o)}`,`color${ee(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${ee(o)}`],endIcon:["icon","endIcon",`iconSize${ee(o)}`]},l=ge(a,dE,s);return{...s,...l}},fb=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],mE=K(wh,{shouldForwardProp:e=>dn(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ee(n.color)}`],t[`size${ee(n.size)}`],t[`${n.variant}Size${ee(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(Pe(({theme:e})=>{var r,o;const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${Eo.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Eo.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Eo.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${Eo.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(or(["dark","contrastText"])).map(([i])=>({props:{color:i},style:{"--variant-textColor":(e.vars||e).palette[i].main,"--variant-outlinedColor":(e.vars||e).palette[i].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[i].mainChannel} / 0.5)`:Ot(e.palette[i].main,.5),"--variant-containedColor":(e.vars||e).palette[i].contrastText,"--variant-containedBg":(e.vars||e).palette[i].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[i].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[i].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ot(e.palette[i].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[i].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[i].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ot(e.palette[i].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{"--variant-containedColor":e.vars?e.vars.palette.text.primary:(o=(r=e.palette).getContrastText)==null?void 0:o.call(r,t),"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Ot(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Ot(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Eo.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Eo.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}})),gE=K("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${ee(n.size)}`]]}})({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},...fb]}),vE=K("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${ee(n.size)}`]]}})({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},...fb]}),fa=x.forwardRef(function(t,n){const r=x.useContext(fE),o=x.useContext(pE),i=Us(r,t),s=Ce({props:i,name:"MuiButton"}),{children:a,color:l="primary",component:u="button",className:c,disabled:d=!1,disableElevation:f=!1,disableFocusRipple:m=!1,endIcon:g,focusVisibleClassName:y,fullWidth:w=!1,size:h="medium",startIcon:v,type:p,variant:b="text",...S}=s,P={...s,color:l,component:u,disabled:d,disableElevation:f,disableFocusRipple:m,fullWidth:w,size:h,type:p,variant:b},$=hE(P),T=v&&k.jsx(gE,{className:$.startIcon,ownerState:P,children:v}),C=g&&k.jsx(vE,{className:$.endIcon,ownerState:P,children:g}),E=o||"";return k.jsxs(mE,{ownerState:P,className:q(r.className,$.root,c,E),component:u,disabled:d,focusRipple:!m,focusVisibleClassName:q($.focusVisible,y),ref:n,type:p,...S,classes:$,children:[T,a,C]})}),c0=le("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),d0=le("MuiListItemIcon",["root","alignItemsFlexStart"]),f0=le("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function yE(e){return me("MuiMenuItem",e)}const Yi=le("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),xE=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},bE=e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:s}=e,l=ge({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},yE,s);return{...s,...l}},CE=K(wh,{shouldForwardProp:e=>dn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:xE})(Pe(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Yi.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ot(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Yi.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ot(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Yi.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ot(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ot(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Yi.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Yi.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${c0.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${c0.inset}`]:{marginLeft:52},[`& .${f0.root}`]:{marginTop:0,marginBottom:0},[`& .${f0.inset}`]:{paddingLeft:36},[`& .${d0.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${d0.root} svg`]:{fontSize:"1.25rem"}}}]}))),SE=x.forwardRef(function(t,n){const r=Ce({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:i="li",dense:s=!1,divider:a=!1,disableGutters:l=!1,focusVisibleClassName:u,role:c="menuitem",tabIndex:d,className:f,...m}=r,g=x.useContext(jf),y=x.useMemo(()=>({dense:s||g.dense||!1,disableGutters:l}),[g.dense,s,l]),w=x.useRef(null);Mr(()=>{o&&w.current&&w.current.focus()},[o]);const h={...r,dense:y.dense,divider:a,disableGutters:l},v=bE(r),p=st(w,n);let b;return r.disabled||(b=d!==void 0?d:-1),k.jsx(jf.Provider,{value:y,children:k.jsx(CE,{ref:p,role:c,tabIndex:b,component:i,focusVisibleClassName:q(v.focusVisible,u),className:q(v.root,f),...m,ownerState:h,classes:v})})}),p0=lt(k.jsx("path",{d:"M5 16c0 3.87 3.13 7 7 7s7-3.13 7-7v-4H5zM16.12 4.37l2.1-2.1-.82-.83-2.3 2.31C14.16 3.28 13.12 3 12 3s-2.16.28-3.09.75L6.6 1.44l-.82.83 2.1 2.1C6.14 5.64 5 7.68 5 10v1h14v-1c0-2.32-1.14-4.36-2.88-5.63M9 9c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1m6 0c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1"}),"Adb"),_f={dark:{header:{backgroundColor:"secondary"},mainContent:{backgroundColor:"#242424"},footer:{backgroundColor:"#f4e0c1"},text:{primary:"rgba(255, 255, 255, 0.87)",secondary:"rgba(255, 255, 255, 0.60)",disabled:"rgba(255, 255, 255, 0.38)"},action:{active:"rgba(255, 255, 255, 0.54)",hover:"rgba(255, 255, 255, 0.04)",selected:"rgba(255, 255, 255, 0.08)",disabled:"rgba(255, 255, 255, 0.26)",disabledBackground:"rgba(255, 255, 255, 0.12)"},divider:"rgba(255, 255, 255, 0.12)",elevation:{1:"0px 2px 1px -1px rgba(255,255,255,0.2),0px 1px 1px 0px rgba(255,255,255,0.14),0px 1px 3px 0px rgba(255,255,255,0.12)",2:"0px 3px 1px -2px rgba(255,255,255,0.2),0px 2px 2px 0px rgba(255,255,255,0.14),0px 1px 5px 0px rgba(255,255,255,0.12)",3:"0px 3px 3px -2px rgba(255,255,255,0.2),0px 3px 4px 0px rgba(255,255,255,0.14),0px 1px 8px 0px rgba(255,255,255,0.12)"},card:{backgroundColor:"#1e1e1e",color:"rgba(255, 255, 255, 0.87)"},icon:{color:"#bb86fc"},button:{primary:"#bb86fc",hover:"#c39dff"}},light:{header:{backgroundColor:"primary"},mainContent:{backgroundColor:"#f3e5f5"},footer:{backgroundColor:"white",color:"black"},text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.60)",disabled:"rgba(0, 0, 0, 0.38)"},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",selected:"rgba(0, 0, 0, 0.08)",disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)"},divider:"rgba(0, 0, 0, 0.12)",elevation:{1:"0px 2px 1px -1px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 1px 3px 0px rgba(0,0,0,0.12)",2:"0px 3px 1px -2px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 1px 5px 0px rgba(0,0,0,0.12)",3:"0px 3px 3px -2px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 1px 8px 0px rgba(0,0,0,0.12)"},card:{backgroundColor:"#ffffff",color:"rgba(0, 0, 0, 0.87)"},icon:{color:"#6200ee"},button:{primary:"#6200ee",hover:"#7722ff"}}},wE={light:!1,theme:_f.light,toggle:()=>{}},Ln=on.createContext(wE);function kE({children:e}){const[t,n]=x.useState(!1);x.useEffect(()=>{const i=localStorage.getItem("light")==="true";n(i)},[t]);const r=()=>{const i=!t;localStorage.setItem("light",JSON.stringify(i)),n(i)},o=t?_f.light:_f.dark;return k.jsx(Ln.Provider,{value:{theme:o,light:t,toggle:r},children:e})}function Ga(e){return parseInt(e,10)||0}const $E={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function PE(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const TE=x.forwardRef(function(t,n){const{onChange:r,maxRows:o,minRows:i=1,style:s,value:a,...l}=t,{current:u}=x.useRef(a!=null),c=x.useRef(null),d=st(n,c),f=x.useRef(null),m=x.useRef(null),g=x.useCallback(()=>{const h=c.current,p=po(h).getComputedStyle(h);if(p.width==="0px")return{outerHeightStyle:0,overflowing:!1};const b=m.current;b.style.width=p.width,b.value=h.value||t.placeholder||"x",b.value.slice(-1)===` -`&&(b.value+=" ");const S=p.boxSizing,P=Ga(p.paddingBottom)+Ga(p.paddingTop),$=Ga(p.borderBottomWidth)+Ga(p.borderTopWidth),T=b.scrollHeight;b.value="x";const C=b.scrollHeight;let E=T;i&&(E=Math.max(Number(i)*C,E)),o&&(E=Math.min(Number(o)*C,E)),E=Math.max(E,C);const A=E+(S==="border-box"?P+$:0),O=Math.abs(E-T)<=1;return{outerHeightStyle:A,overflowing:O}},[o,i,t.placeholder]),y=x.useCallback(()=>{const h=g();if(PE(h))return;const v=h.outerHeightStyle,p=c.current;f.current!==v&&(f.current=v,p.style.height=`${v}px`),p.style.overflow=h.overflowing?"hidden":""},[g]);Mr(()=>{const h=()=>{y()};let v;const p=Gx(h),b=c.current,S=po(b);S.addEventListener("resize",p);let P;return typeof ResizeObserver<"u"&&(P=new ResizeObserver(h),P.observe(b)),()=>{p.clear(),cancelAnimationFrame(v),S.removeEventListener("resize",p),P&&P.disconnect()}},[g,y]),Mr(()=>{y()});const w=h=>{u||y(),r&&r(h)};return k.jsxs(x.Fragment,{children:[k.jsx("textarea",{value:a,onChange:w,ref:d,rows:i,style:s,...l}),k.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:m,tabIndex:-1,style:{...$E.shadow,...s,paddingTop:0,paddingBottom:0}})]})});function $i({props:e,states:t,muiFormControl:n}){return t.reduce((r,o)=>(r[o]=e[o],n&&typeof e[o]>"u"&&(r[o]=n[o]),r),{})}const Ph=x.createContext(void 0);function Pi(){return x.useContext(Ph)}function h0(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Ql(e,t=!1){return e&&(h0(e.value)&&e.value!==""||t&&h0(e.defaultValue)&&e.defaultValue!=="")}function EE(e){return e.startAdornment}function RE(e){return me("MuiInputBase",e)}const mi=le("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var m0;const dc=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${ee(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},fc=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},AE=e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:s,formControl:a,fullWidth:l,hiddenLabel:u,multiline:c,readOnly:d,size:f,startAdornment:m,type:g}=e,y={root:["root",`color${ee(n)}`,r&&"disabled",o&&"error",l&&"fullWidth",s&&"focused",a&&"formControl",f&&f!=="medium"&&`size${ee(f)}`,c&&"multiline",m&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled",g==="search"&&"inputTypeSearch",c&&"inputMultiline",f==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",m&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]};return ge(y,RE,t)},pc=K("div",{name:"MuiInputBase",slot:"Root",overridesResolver:dc})(Pe(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${mi.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:n})=>t.multiline&&n==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),hc=K("input",{name:"MuiInputBase",slot:"Input",overridesResolver:fc})(Pe(({theme:e})=>{const t=e.palette.mode==="light",n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${mi.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${mi.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:i})=>!i.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:i})=>i.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),g0=CP({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),ME=x.forwardRef(function(t,n){const r=Ce({props:t,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:s,className:a,color:l,components:u={},componentsProps:c={},defaultValue:d,disabled:f,disableInjectingGlobalStyles:m,endAdornment:g,error:y,fullWidth:w=!1,id:h,inputComponent:v="input",inputProps:p={},inputRef:b,margin:S,maxRows:P,minRows:$,multiline:T=!1,name:C,onBlur:E,onChange:A,onClick:O,onFocus:B,onKeyDown:I,onKeyUp:_,placeholder:D,readOnly:j,renderSuffix:R,rows:N,size:H,slotProps:Q={},slots:Y={},startAdornment:re,type:te="text",value:ce,...de}=r,oe=p.value!=null?p.value:ce,{current:V}=x.useRef(oe!=null),X=x.useRef(),W=x.useCallback(Oe=>{},[]),z=st(X,b,p.ref,W),[G,ve]=x.useState(!1),ie=Pi(),ae=$i({props:r,muiFormControl:ie,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ae.focused=ie?ie.focused:G,x.useEffect(()=>{!ie&&f&&G&&(ve(!1),E&&E())},[ie,f,G,E]);const tt=ie&&ie.onFilled,Ne=ie&&ie.onEmpty,Te=x.useCallback(Oe=>{Ql(Oe)?tt&&tt():Ne&&Ne()},[tt,Ne]);Mr(()=>{V&&Te({value:oe})},[oe,Te,V]);const Ue=Oe=>{B&&B(Oe),p.onFocus&&p.onFocus(Oe),ie&&ie.onFocus?ie.onFocus(Oe):ve(!0)},Cn=Oe=>{E&&E(Oe),p.onBlur&&p.onBlur(Oe),ie&&ie.onBlur?ie.onBlur(Oe):ve(!1)},Ee=(Oe,...Bi)=>{if(!V){const Di=Oe.target||X.current;if(Di==null)throw new Error(nr(1));Te({value:Di.value})}p.onChange&&p.onChange(Oe,...Bi),A&&A(Oe,...Bi)};x.useEffect(()=>{Te(X.current)},[]);const Fn=Oe=>{X.current&&Oe.currentTarget===Oe.target&&X.current.focus(),O&&O(Oe)};let Z=v,ut=p;T&&Z==="input"&&(N?ut={type:void 0,minRows:N,maxRows:N,...ut}:ut={type:void 0,maxRows:P,minRows:$,...ut},Z=TE);const Oi=Oe=>{Te(Oe.animationName==="mui-auto-fill-cancel"?X.current:{value:"x"})};x.useEffect(()=>{ie&&ie.setAdornedStart(!!re)},[ie,re]);const Nn={...r,color:ae.color||"primary",disabled:ae.disabled,endAdornment:g,error:ae.error,focused:ae.focused,formControl:ie,fullWidth:w,hiddenLabel:ae.hiddenLabel,multiline:T,size:ae.size,startAdornment:re,type:te},Vr=AE(Nn),Ii=Y.root||u.Root||pc,ur=Q.root||c.root||{},xo=Y.input||u.Input||hc;return ut={...ut,...Q.input??c.input},k.jsxs(x.Fragment,{children:[!m&&typeof g0=="function"&&(m0||(m0=k.jsx(g0,{}))),k.jsxs(Ii,{...ur,ref:n,onClick:Fn,...de,...!Lf(Ii)&&{ownerState:{...Nn,...ur.ownerState}},className:q(Vr.root,ur.className,a,j&&"MuiInputBase-readOnly"),children:[re,k.jsx(Ph.Provider,{value:null,children:k.jsx(xo,{"aria-invalid":ae.error,"aria-describedby":o,autoComplete:i,autoFocus:s,defaultValue:d,disabled:ae.disabled,id:h,onAnimationStart:Oi,name:C,placeholder:D,readOnly:j,required:ae.required,rows:N,value:oe,onKeyDown:I,onKeyUp:_,type:te,...ut,...!Lf(xo)&&{as:Z,ownerState:{...Nn,...ut.ownerState}},ref:z,className:q(Vr.input,ut.className,j&&"MuiInputBase-readOnly"),onBlur:Cn,onChange:Ee,onFocus:Ue})}),g,R?R({...ae,startAdornment:re}):null]})]})}),Th=ME;function OE(e){return me("MuiInput",e)}const Xi={...mi,...le("MuiInput",["root","underline","input"])};function IE(e){return me("MuiOutlinedInput",e)}const kn={...mi,...le("MuiOutlinedInput",["root","notchedOutline","input"])};function BE(e){return me("MuiFilledInput",e)}const Hr={...mi,...le("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},DE=lt(k.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),jE=lt(k.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function LE(e){return me("MuiAvatar",e)}le("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const FE=e=>{const{classes:t,variant:n,colorDefault:r}=e;return ge({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},LE,t)},NE=K("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(Pe(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(e.vars||e).palette.background.default,...e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.grey[400],...e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})}}}]}))),_E=K("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),zE=K(jE,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function VE({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[o,i]=x.useState(!1);return x.useEffect(()=>{if(!n&&!r)return;i(!1);let s=!0;const a=new Image;return a.onload=()=>{s&&i("loaded")},a.onerror=()=>{s&&i("error")},a.crossOrigin=e,a.referrerPolicy=t,a.src=n,r&&(a.srcset=r),()=>{s=!1}},[e,t,n,r]),o}const HE=x.forwardRef(function(t,n){const r=Ce({props:t,name:"MuiAvatar"}),{alt:o,children:i,className:s,component:a="div",slots:l={},slotProps:u={},imgProps:c,sizes:d,src:f,srcSet:m,variant:g="circular",...y}=r;let w=null;const h=VE({...c,src:f,srcSet:m}),v=f||m,p=v&&h!=="error",b={...r,colorDefault:!p,component:a,variant:g};delete b.ownerState;const S=FE(b),[P,$]=rn("img",{className:S.img,elementType:_E,externalForwardedProps:{slots:l,slotProps:{img:{...c,...u.img}}},additionalProps:{alt:o,src:f,srcSet:m,sizes:d},ownerState:b});return p?w=k.jsx(P,{...$}):i||i===0?w=i:v&&o?w=o[0]:w=k.jsx(zE,{ownerState:b,className:S.fallback}),k.jsx(NE,{as:a,className:q(S.root,s),ref:n,...y,ownerState:b,children:w})});function WE(e){return me("MuiCard",e)}le("MuiCard",["root"]);const UE=e=>{const{classes:t}=e;return ge({root:["root"]},WE,t)},GE=K(hi,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})({overflow:"hidden"}),KE=x.forwardRef(function(t,n){const r=Ce({props:t,name:"MuiCard"}),{className:o,raised:i=!1,...s}=r,a={...r,raised:i},l=UE(a);return k.jsx(GE,{className:q(l.root,o),elevation:i?8:void 0,ref:n,ownerState:a,...s})});function YE(e){return me("MuiCardContent",e)}le("MuiCardContent",["root"]);const XE=e=>{const{classes:t}=e;return ge({root:["root"]},YE,t)},qE=K("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),QE=x.forwardRef(function(t,n){const r=Ce({props:t,name:"MuiCardContent"}),{className:o,component:i="div",...s}=r,a={...r,component:i},l=XE(a);return k.jsx(qE,{as:i,className:q(l.root,o),ownerState:a,ref:n,...s})}),ZE=e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:o,size:i,hiddenLabel:s,multiline:a}=e,l={root:["root",!n&&"underline",r&&"adornedStart",o&&"adornedEnd",i==="small"&&`size${ee(i)}`,s&&"hiddenLabel",a&&"multiline"],input:["input"]},u=ge(l,BE,t);return{...t,...u}},JE=K(pc,{shouldForwardProp:e=>dn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...dc(e,t),!n.disableUnderline&&t.underline]}})(Pe(({theme:e})=>{const t=e.palette.mode==="light",n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",o=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",i=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:o,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Hr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Hr.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:i},variants:[{props:({ownerState:s})=>!s.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Hr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Hr.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Hr.disabled}, .${Hr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Hr.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(or()).map(([s])=>{var a;return{props:{disableUnderline:!1,color:s},style:{"&::after":{borderBottom:`2px solid ${(a=(e.vars||e).palette[s])==null?void 0:a.main}`}}}}),{props:({ownerState:s})=>s.startAdornment,style:{paddingLeft:12}},{props:({ownerState:s})=>s.endAdornment,style:{paddingRight:12}},{props:({ownerState:s})=>s.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:s,size:a})=>s.multiline&&a==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:s})=>s.multiline&&s.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:s})=>s.multiline&&s.hiddenLabel&&s.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),eR=K(hc,{name:"MuiFilledInput",slot:"Input",overridesResolver:fc})(Pe(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),Zl=x.forwardRef(function(t,n){const r=Ce({props:t,name:"MuiFilledInput"}),{disableUnderline:o=!1,components:i={},componentsProps:s,fullWidth:a=!1,hiddenLabel:l,inputComponent:u="input",multiline:c=!1,slotProps:d,slots:f={},type:m="text",...g}=r,y={...r,disableUnderline:o,fullWidth:a,inputComponent:u,multiline:c,type:m},w=ZE(r),h={root:{ownerState:y},input:{ownerState:y}},v=d??s?wt(h,d??s):h,p=f.root??i.Root??JE,b=f.input??i.Input??eR;return k.jsx(Th,{slots:{root:p,input:b},componentsProps:v,fullWidth:a,inputComponent:u,multiline:c,ref:n,type:m,...g,classes:w})});Zl&&(Zl.muiName="Input");function tR(e){return me("MuiFormControl",e)}le("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const nR=e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root",n!=="none"&&`margin${ee(n)}`,r&&"fullWidth"]};return ge(o,tR,t)},rR=K("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...t[`margin${ee(e.margin)}`],...e.fullWidth&&t.fullWidth})})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),oR=x.forwardRef(function(t,n){const r=Ce({props:t,name:"MuiFormControl"}),{children:o,className:i,color:s="primary",component:a="div",disabled:l=!1,error:u=!1,focused:c,fullWidth:d=!1,hiddenLabel:f=!1,margin:m="none",required:g=!1,size:y="medium",variant:w="outlined",...h}=r,v={...r,color:s,component:a,disabled:l,error:u,fullWidth:d,hiddenLabel:f,margin:m,required:g,size:y,variant:w},p=nR(v),[b,S]=x.useState(()=>{let B=!1;return o&&x.Children.forEach(o,I=>{if(!od(I,["Input","Select"]))return;const _=od(I,["Select"])?I.props.input:I;_&&EE(_.props)&&(B=!0)}),B}),[P,$]=x.useState(()=>{let B=!1;return o&&x.Children.forEach(o,I=>{od(I,["Input","Select"])&&(Ql(I.props,!0)||Ql(I.props.inputProps,!0))&&(B=!0)}),B}),[T,C]=x.useState(!1);l&&T&&C(!1);const E=c!==void 0&&!l?c:T;let A;const O=x.useMemo(()=>({adornedStart:b,setAdornedStart:S,color:s,disabled:l,error:u,filled:P,focused:E,fullWidth:d,hiddenLabel:f,size:y,onBlur:()=>{C(!1)},onEmpty:()=>{$(!1)},onFilled:()=>{$(!0)},onFocus:()=>{C(!0)},registerEffect:A,required:g,variant:w}),[b,s,l,u,P,E,d,f,A,g,y,w]);return k.jsx(Ph.Provider,{value:O,children:k.jsx(rR,{as:a,ownerState:v,className:q(p.root,i),ref:n,...h,children:o})})});function iR(e){return me("MuiFormHelperText",e)}const v0=le("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var y0;const sR=e=>{const{classes:t,contained:n,size:r,disabled:o,error:i,filled:s,focused:a,required:l}=e,u={root:["root",o&&"disabled",i&&"error",r&&`size${ee(r)}`,n&&"contained",a&&"focused",s&&"filled",l&&"required"]};return ge(u,iR,t)},aR=K("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${ee(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(Pe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${v0.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${v0.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),lR=x.forwardRef(function(t,n){const r=Ce({props:t,name:"MuiFormHelperText"}),{children:o,className:i,component:s="p",disabled:a,error:l,filled:u,focused:c,margin:d,required:f,variant:m,...g}=r,y=Pi(),w=$i({props:r,muiFormControl:y,states:["variant","size","disabled","error","filled","focused","required"]}),h={...r,component:s,contained:w.variant==="filled"||w.variant==="outlined",variant:w.variant,size:w.size,disabled:w.disabled,error:w.error,filled:w.filled,focused:w.focused,required:w.required};delete h.ownerState;const v=sR(h);return k.jsx(aR,{as:s,className:q(v.root,i),ref:n,...g,ownerState:h,children:o===" "?y0||(y0=k.jsx("span",{className:"notranslate",children:"​"})):o})});function uR(e){return me("MuiFormLabel",e)}const bs=le("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),cR=e=>{const{classes:t,color:n,focused:r,disabled:o,error:i,filled:s,required:a}=e,l={root:["root",`color${ee(n)}`,o&&"disabled",i&&"error",s&&"filled",r&&"focused",a&&"required"],asterisk:["asterisk",i&&"error"]};return ge(l,uR,t)},dR=K("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...e.color==="secondary"&&t.colorSecondary,...e.filled&&t.filled})})(Pe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(or()).map(([t])=>({props:{color:t},style:{[`&.${bs.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${bs.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${bs.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),fR=K("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(Pe(({theme:e})=>({[`&.${bs.error}`]:{color:(e.vars||e).palette.error.main}}))),pR=x.forwardRef(function(t,n){const r=Ce({props:t,name:"MuiFormLabel"}),{children:o,className:i,color:s,component:a="label",disabled:l,error:u,filled:c,focused:d,required:f,...m}=r,g=Pi(),y=$i({props:r,muiFormControl:g,states:["color","required","focused","disabled","error","filled"]}),w={...r,color:y.color||"primary",component:a,disabled:y.disabled,error:y.error,filled:y.filled,focused:y.focused,required:y.required},h=cR(w);return k.jsxs(dR,{as:a,ownerState:w,className:q(h.root,i),ref:n,...m,children:[o,y.required&&k.jsxs(fR,{ownerState:w,"aria-hidden":!0,className:h.asterisk,children:[" ","*"]})]})}),hR=e=>{const{classes:t,disableUnderline:n}=e,o=ge({root:["root",!n&&"underline"],input:["input"]},OE,t);return{...t,...o}},mR=K(pc,{shouldForwardProp:e=>dn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...dc(e,t),!n.disableUnderline&&t.underline]}})(Pe(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:r})=>!r.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Xi.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Xi.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Xi.disabled}, .${Xi.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Xi.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(or()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),gR=K(hc,{name:"MuiInput",slot:"Input",overridesResolver:fc})({}),Jl=x.forwardRef(function(t,n){const r=Ce({props:t,name:"MuiInput"}),{disableUnderline:o=!1,components:i={},componentsProps:s,fullWidth:a=!1,inputComponent:l="input",multiline:u=!1,slotProps:c,slots:d={},type:f="text",...m}=r,g=hR(r),w={root:{ownerState:{disableUnderline:o}}},h=c??s?wt(c??s,w):w,v=d.root??i.Root??mR,p=d.input??i.Input??gR;return k.jsx(Th,{slots:{root:v,input:p},slotProps:h,fullWidth:a,inputComponent:l,multiline:u,ref:n,type:f,...m,classes:g})});Jl&&(Jl.muiName="Input");function vR(e){return me("MuiInputLabel",e)}le("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const yR=e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:i,variant:s,required:a}=e,l={root:["root",n&&"formControl",!i&&"animated",o&&"shrink",r&&r!=="normal"&&`size${ee(r)}`,s],asterisk:[a&&"asterisk"]},u=ge(l,vR,t);return{...t,...u}},xR=K(pR,{shouldForwardProp:e=>dn(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${bs.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(Pe(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="filled"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:n,size:r})=>t==="filled"&&n.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="outlined"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),bR=x.forwardRef(function(t,n){const r=Ce({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,margin:i,shrink:s,variant:a,className:l,...u}=r,c=Pi();let d=s;typeof d>"u"&&c&&(d=c.filled||c.focused||c.adornedStart);const f=$i({props:r,muiFormControl:c,states:["size","variant","required","focused"]}),m={...r,disableAnimation:o,formControl:c,shrink:d,size:f.size,variant:f.variant,required:f.required,focused:f.focused},g=yR(m);return k.jsx(xR,{"data-shrink":d,ref:n,className:q(g.root,l),...u,ownerState:m,classes:g})});function CR(e){return me("MuiNativeSelect",e)}const Eh=le("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),SR=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:s}=e,a={select:["select",n,r&&"disabled",o&&"multiple",s&&"error"],icon:["icon",`icon${ee(n)}`,i&&"iconOpen",r&&"disabled"]};return ge(a,CR,t)},pb=K("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${Eh.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),wR=K(pb,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:dn,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${Eh.multiple}`]:t.multiple}]}})({}),hb=K("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${Eh.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),kR=K(hb,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ee(n.variant)}`],n.open&&t.iconOpen]}})({}),$R=x.forwardRef(function(t,n){const{className:r,disabled:o,error:i,IconComponent:s,inputRef:a,variant:l="standard",...u}=t,c={...t,disabled:o,variant:l,error:i},d=SR(c);return k.jsxs(x.Fragment,{children:[k.jsx(wR,{ownerState:c,className:q(d.select,r),disabled:o,ref:a||n,...u}),t.multiple?null:k.jsx(kR,{as:s,ownerState:c,className:d.icon})]})});var x0;const PR=K("fieldset",{shouldForwardProp:dn})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),TR=K("legend",{shouldForwardProp:dn})(Pe(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function ER(e){const{children:t,classes:n,className:r,label:o,notched:i,...s}=e,a=o!=null&&o!=="",l={...e,notched:i,withLabel:a};return k.jsx(PR,{"aria-hidden":!0,className:r,ownerState:l,...s,children:k.jsx(TR,{ownerState:l,children:a?k.jsx("span",{children:o}):x0||(x0=k.jsx("span",{className:"notranslate",children:"​"}))})})}const RR=e=>{const{classes:t}=e,r=ge({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},IE,t);return{...t,...r}},AR=K(pc,{shouldForwardProp:e=>dn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:dc})(Pe(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${kn.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},[`&.${kn.focused} .${kn.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(or()).map(([n])=>({props:{color:n},style:{[`&.${kn.focused} .${kn.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{"@media (hover: none)":{[`&:hover .${kn.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${kn.error} .${kn.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${kn.disabled} .${kn.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:14}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:14}},{props:({ownerState:n})=>n.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:n,size:r})=>n.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),MR=K(ER,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(Pe(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),OR=K(hc,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:fc})(Pe(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),eu=x.forwardRef(function(t,n){var r;const o=Ce({props:t,name:"MuiOutlinedInput"}),{components:i={},fullWidth:s=!1,inputComponent:a="input",label:l,multiline:u=!1,notched:c,slots:d={},type:f="text",...m}=o,g=RR(o),y=Pi(),w=$i({props:o,muiFormControl:y,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),h={...o,color:w.color||"primary",disabled:w.disabled,error:w.error,focused:w.focused,formControl:y,fullWidth:s,hiddenLabel:w.hiddenLabel,multiline:u,size:w.size,type:f},v=d.root??i.Root??AR,p=d.input??i.Input??OR;return k.jsx(Th,{slots:{root:v,input:p},renderSuffix:b=>k.jsx(MR,{ownerState:h,className:g.notchedOutline,label:l!=null&&l!==""&&w.required?r||(r=k.jsxs(x.Fragment,{children:[l," ","*"]})):l,notched:typeof c<"u"?c:!!(b.startAdornment||b.filled||b.focused)}),fullWidth:s,inputComponent:a,multiline:u,ref:n,type:f,...m,classes:{...g,notchedOutline:null}})});eu&&(eu.muiName="Input");const IR=lt(k.jsx("path",{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star"),BR=lt(k.jsx("path",{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarBorder");function DR(e){return me("MuiRating",e)}const qi=le("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]);function jR(e){const t=e.toString().split(".")[1];return t?t.length:0}function fd(e,t){if(e==null)return e;const n=Math.round(e/t)*t;return Number(n.toFixed(jR(t)))}const LR=e=>{const{classes:t,size:n,readOnly:r,disabled:o,emptyValueFocused:i,focusVisible:s}=e,a={root:["root",`size${ee(n)}`,o&&"disabled",s&&"focusVisible",r&&"readOnly"],label:["label","pristine"],labelEmptyValue:[i&&"labelEmptyValueActive"],icon:["icon"],iconEmpty:["iconEmpty"],iconFilled:["iconFilled"],iconHover:["iconHover"],iconFocus:["iconFocus"],iconActive:["iconActive"],decimal:["decimal"],visuallyHidden:["visuallyHidden"]};return ge(a,DR,t)},FR=K("span",{name:"MuiRating",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${qi.visuallyHidden}`]:t.visuallyHidden},t.root,t[`size${ee(n.size)}`],n.readOnly&&t.readOnly]}})(Pe(({theme:e})=>({display:"inline-flex",position:"relative",fontSize:e.typography.pxToRem(24),color:"#faaf00",cursor:"pointer",textAlign:"left",width:"min-content",WebkitTapHighlightColor:"transparent",[`&.${qi.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${qi.focusVisible} .${qi.iconActive}`]:{outline:"1px solid #999"},[`& .${qi.visuallyHidden}`]:T5,variants:[{props:{size:"small"},style:{fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{fontSize:e.typography.pxToRem(30)}},{props:({ownerState:t})=>t.readOnly,style:{pointerEvents:"none"}}]}))),mb=K("label",{name:"MuiRating",slot:"Label",overridesResolver:({ownerState:e},t)=>[t.label,e.emptyValueFocused&&t.labelEmptyValueActive]})({cursor:"inherit",variants:[{props:({ownerState:e})=>e.emptyValueFocused,style:{top:0,bottom:0,position:"absolute",outline:"1px solid #999",width:"100%"}}]}),NR=K("span",{name:"MuiRating",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.iconEmpty&&t.iconEmpty,n.iconFilled&&t.iconFilled,n.iconHover&&t.iconHover,n.iconFocus&&t.iconFocus,n.iconActive&&t.iconActive]}})(Pe(({theme:e})=>({display:"flex",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),pointerEvents:"none",variants:[{props:({ownerState:t})=>t.iconActive,style:{transform:"scale(1.2)"}},{props:({ownerState:t})=>t.iconEmpty,style:{color:(e.vars||e).palette.action.disabled}}]}))),_R=K("span",{name:"MuiRating",slot:"Decimal",shouldForwardProp:e=>bh(e)&&e!=="iconActive",overridesResolver:(e,t)=>{const{iconActive:n}=e;return[t.decimal,n&&t.iconActive]}})({position:"relative",variants:[{props:({iconActive:e})=>e,style:{transform:"scale(1.2)"}}]});function zR(e){const{value:t,...n}=e;return k.jsx("span",{...n})}function b0(e){const{classes:t,disabled:n,emptyIcon:r,focus:o,getLabelText:i,highlightSelectedOnly:s,hover:a,icon:l,IconContainerComponent:u,isActive:c,itemValue:d,labelProps:f,name:m,onBlur:g,onChange:y,onClick:w,onFocus:h,readOnly:v,ownerState:p,ratingValue:b,ratingValueRounded:S}=e,P=s?d===b:d<=b,$=d<=a,T=d<=o,C=d===S,E=Zu(),A=k.jsx(NR,{as:u,value:d,className:q(t.icon,P?t.iconFilled:t.iconEmpty,$&&t.iconHover,T&&t.iconFocus,c&&t.iconActive),ownerState:{...p,iconEmpty:!P,iconFilled:P,iconHover:$,iconFocus:T,iconActive:c},children:r&&!P?r:l});return v?k.jsx("span",{...f,children:A}):k.jsxs(x.Fragment,{children:[k.jsxs(mb,{ownerState:{...p,emptyValueFocused:void 0},htmlFor:E,...f,children:[A,k.jsx("span",{className:t.visuallyHidden,children:i(d)})]}),k.jsx("input",{className:t.visuallyHidden,onFocus:h,onBlur:g,onChange:y,onClick:w,disabled:n,value:d,id:E,type:"radio",name:m,checked:C})]})}const VR=k.jsx(IR,{fontSize:"inherit"}),HR=k.jsx(BR,{fontSize:"inherit"});function WR(e){return`${e||"0"} Star${e!==1?"s":""}`}const gb=x.forwardRef(function(t,n){const r=Ce({name:"MuiRating",props:t}),{className:o,defaultValue:i=null,disabled:s=!1,emptyIcon:a=HR,emptyLabelText:l="Empty",getLabelText:u=WR,highlightSelectedOnly:c=!1,icon:d=VR,IconContainerComponent:f=zR,max:m=5,name:g,onChange:y,onChangeActive:w,onMouseLeave:h,onMouseMove:v,precision:p=1,readOnly:b=!1,size:S="medium",value:P,...$}=r,T=Zu(g),[C,E]=Af({controlled:P,default:i,name:"Rating"}),A=fd(C,p),O=eb(),[{hover:B,focus:I},_]=x.useState({hover:-1,focus:-1});let D=A;B!==-1&&(D=B),I!==-1&&(D=I);const[j,R]=x.useState(!1),N=x.useRef(),H=st(N,n),Q=z=>{v&&v(z);const G=N.current,{right:ve,left:ie,width:ae}=G.getBoundingClientRect();let tt;O?tt=(ve-z.clientX)/ae:tt=(z.clientX-ie)/ae;let Ne=fd(m*tt+p/2,p);Ne=Wx(Ne,p,m),_(Te=>Te.hover===Ne&&Te.focus===Ne?Te:{hover:Ne,focus:Ne}),R(!1),w&&B!==Ne&&w(z,Ne)},Y=z=>{h&&h(z);const G=-1;_({hover:G,focus:G}),w&&B!==G&&w(z,G)},re=z=>{let G=z.target.value===""?null:parseFloat(z.target.value);B!==-1&&(G=B),E(G),y&&y(z,G)},te=z=>{z.clientX===0&&z.clientY===0||(_({hover:-1,focus:-1}),E(null),y&&parseFloat(z.target.value)===A&&y(z,null))},ce=z=>{Gl(z.target)&&R(!0);const G=parseFloat(z.target.value);_(ve=>({hover:ve.hover,focus:G}))},de=z=>{if(B!==-1)return;Gl(z.target)||R(!1);const G=-1;_(ve=>({hover:ve.hover,focus:G}))},[oe,V]=x.useState(!1),X={...r,defaultValue:i,disabled:s,emptyIcon:a,emptyLabelText:l,emptyValueFocused:oe,focusVisible:j,getLabelText:u,icon:d,IconContainerComponent:f,max:m,precision:p,readOnly:b,size:S},W=LR(X);return k.jsxs(FR,{ref:H,onMouseMove:Q,onMouseLeave:Y,className:q(W.root,o,b&&"MuiRating-readOnly"),ownerState:X,role:b?"img":null,"aria-label":b?u(D):null,...$,children:[Array.from(new Array(m)).map((z,G)=>{const ve=G+1,ie={classes:W,disabled:s,emptyIcon:a,focus:I,getLabelText:u,highlightSelectedOnly:c,hover:B,icon:d,IconContainerComponent:f,name:T,onBlur:de,onChange:re,onClick:te,onFocus:ce,ratingValue:D,ratingValueRounded:A,readOnly:b,ownerState:X},ae=ve===Math.ceil(D)&&(B!==-1||I!==-1);if(p<1){const tt=Array.from(new Array(1/p));return k.jsx(_R,{className:q(W.decimal,ae&&W.iconActive),ownerState:X,iconActive:ae,children:tt.map((Ne,Te)=>{const Ue=fd(ve-1+(Te+1)*p,p);return k.jsx(b0,{...ie,isActive:!1,itemValue:Ue,labelProps:{style:tt.length-1===Te?{}:{width:Ue===D?`${(Te+1)*p*100}%`:"0%",overflow:"hidden",position:"absolute"}}},Ue)})},ve)}return k.jsx(b0,{...ie,isActive:ae,itemValue:ve},ve)}),!b&&!s&&k.jsxs(mb,{className:q(W.label,W.labelEmptyValue),ownerState:X,children:[k.jsx("input",{className:W.visuallyHidden,value:"",id:`${T}-empty`,type:"radio",name:T,checked:A==null,onFocus:()=>V(!0),onBlur:()=>V(!1),onChange:re}),k.jsx("span",{className:W.visuallyHidden,children:l})]})]})});function UR(e){return me("MuiSelect",e)}const Qi=le("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var C0;const GR=K(pb,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Qi.select}`]:t.select},{[`&.${Qi.select}`]:t[n.variant]},{[`&.${Qi.error}`]:t.error},{[`&.${Qi.multiple}`]:t.multiple}]}})({[`&.${Qi.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),KR=K(hb,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ee(n.variant)}`],n.open&&t.iconOpen]}})({}),YR=K("input",{shouldForwardProp:e=>bh(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function S0(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function XR(e){return e==null||typeof e=="string"&&!e.trim()}const qR=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:s}=e,a={select:["select",n,r&&"disabled",o&&"multiple",s&&"error"],icon:["icon",`icon${ee(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return ge(a,UR,t)},QR=x.forwardRef(function(t,n){var Di;const{"aria-describedby":r,"aria-label":o,autoFocus:i,autoWidth:s,children:a,className:l,defaultOpen:u,defaultValue:c,disabled:d,displayEmpty:f,error:m=!1,IconComponent:g,inputRef:y,labelId:w,MenuProps:h={},multiple:v,name:p,onBlur:b,onChange:S,onClose:P,onFocus:$,onOpen:T,open:C,readOnly:E,renderValue:A,SelectDisplayProps:O={},tabIndex:B,type:I,value:_,variant:D="standard",...j}=t,[R,N]=Af({controlled:_,default:c,name:"Select"}),[H,Q]=Af({controlled:C,default:u,name:"Select"}),Y=x.useRef(null),re=x.useRef(null),[te,ce]=x.useState(null),{current:de}=x.useRef(C!=null),[oe,V]=x.useState(),X=st(n,y),W=x.useCallback(ne=>{re.current=ne,ne&&ce(ne)},[]),z=te==null?void 0:te.parentNode;x.useImperativeHandle(X,()=>({focus:()=>{re.current.focus()},node:Y.current,value:R}),[R]),x.useEffect(()=>{u&&H&&te&&!de&&(V(s?null:z.clientWidth),re.current.focus())},[te,s]),x.useEffect(()=>{i&&re.current.focus()},[i]),x.useEffect(()=>{if(!w)return;const ne=Wt(re.current).getElementById(w);if(ne){const Re=()=>{getSelection().isCollapsed&&re.current.focus()};return ne.addEventListener("click",Re),()=>{ne.removeEventListener("click",Re)}}},[w]);const G=(ne,Re)=>{ne?T&&T(Re):P&&P(Re),de||(V(s?null:z.clientWidth),Q(ne))},ve=ne=>{ne.button===0&&(ne.preventDefault(),re.current.focus(),G(!0,ne))},ie=ne=>{G(!1,ne)},ae=x.Children.toArray(a),tt=ne=>{const Re=ae.find(ct=>ct.props.value===ne.target.value);Re!==void 0&&(N(Re.props.value),S&&S(ne,Re))},Ne=ne=>Re=>{let ct;if(Re.currentTarget.hasAttribute("tabindex")){if(v){ct=Array.isArray(R)?R.slice():[];const bo=R.indexOf(ne.props.value);bo===-1?ct.push(ne.props.value):ct.splice(bo,1)}else ct=ne.props.value;if(ne.props.onClick&&ne.props.onClick(Re),R!==ct&&(N(ct),S)){const bo=Re.nativeEvent||Re,xm=new bo.constructor(bo.type,bo);Object.defineProperty(xm,"target",{writable:!0,value:{value:ct,name:p}}),S(xm,ne)}v||G(!1,Re)}},Te=ne=>{E||[" ","ArrowUp","ArrowDown","Enter"].includes(ne.key)&&(ne.preventDefault(),G(!0,ne))},Ue=te!==null&&H,Cn=ne=>{!Ue&&b&&(Object.defineProperty(ne,"target",{writable:!0,value:{value:R,name:p}}),b(ne))};delete j["aria-invalid"];let Ee,Fn;const Z=[];let ut=!1;(Ql({value:R})||f)&&(A?Ee=A(R):ut=!0);const Oi=ae.map(ne=>{if(!x.isValidElement(ne))return null;let Re;if(v){if(!Array.isArray(R))throw new Error(nr(2));Re=R.some(ct=>S0(ct,ne.props.value)),Re&&ut&&Z.push(ne.props.children)}else Re=S0(R,ne.props.value),Re&&ut&&(Fn=ne.props.children);return x.cloneElement(ne,{"aria-selected":Re?"true":"false",onClick:Ne(ne),onKeyUp:ct=>{ct.key===" "&&ct.preventDefault(),ne.props.onKeyUp&&ne.props.onKeyUp(ct)},role:"option",selected:Re,value:void 0,"data-value":ne.props.value})});ut&&(v?Z.length===0?Ee=null:Ee=Z.reduce((ne,Re,ct)=>(ne.push(Re),ct{const{classes:t}=e;return t},Rh={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>dn(e)&&e!=="variant",slot:"Root"},JR=K(Jl,Rh)(""),e3=K(eu,Rh)(""),t3=K(Zl,Rh)(""),vb=x.forwardRef(function(t,n){const r=ob({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:i,classes:s={},className:a,defaultOpen:l=!1,displayEmpty:u=!1,IconComponent:c=DE,id:d,input:f,inputProps:m,label:g,labelId:y,MenuProps:w,multiple:h=!1,native:v=!1,onClose:p,onOpen:b,open:S,renderValue:P,SelectDisplayProps:$,variant:T="outlined",...C}=r,E=v?$R:QR,A=Pi(),O=$i({props:r,muiFormControl:A,states:["variant","error"]}),B=O.variant||T,I={...r,variant:B,classes:s},_=ZR(I),{root:D,...j}=_,R=f||{standard:k.jsx(JR,{ownerState:I}),outlined:k.jsx(e3,{label:g,ownerState:I}),filled:k.jsx(t3,{ownerState:I})}[B],N=st(n,ca(R));return k.jsx(x.Fragment,{children:x.cloneElement(R,{inputComponent:E,inputProps:{children:i,error:O.error,IconComponent:c,variant:B,type:void 0,multiple:h,...v?{id:d}:{autoWidth:o,defaultOpen:l,displayEmpty:u,labelId:y,MenuProps:w,onClose:p,onOpen:b,open:S,renderValue:P,SelectDisplayProps:{id:d,...$}},...m,classes:m?wt(j,m.classes):j,...f?f.props.inputProps:{}},...(h&&v||u)&&B==="outlined"?{notched:!0}:{},ref:N,className:q(R.props.className,a,_.root),...!f&&{variant:B},...C})})});vb.muiName="Select";function n3(e){return me("MuiTextField",e)}le("MuiTextField",["root"]);const r3={standard:Jl,filled:Zl,outlined:eu},o3=e=>{const{classes:t}=e;return ge({root:["root"]},n3,t)},i3=K(oR,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),pd=x.forwardRef(function(t,n){const r=Ce({props:t,name:"MuiTextField"}),{autoComplete:o,autoFocus:i=!1,children:s,className:a,color:l="primary",defaultValue:u,disabled:c=!1,error:d=!1,FormHelperTextProps:f,fullWidth:m=!1,helperText:g,id:y,InputLabelProps:w,inputProps:h,InputProps:v,inputRef:p,label:b,maxRows:S,minRows:P,multiline:$=!1,name:T,onBlur:C,onChange:E,onFocus:A,placeholder:O,required:B=!1,rows:I,select:_=!1,SelectProps:D,slots:j={},slotProps:R={},type:N,value:H,variant:Q="outlined",...Y}=r,re={...r,autoFocus:i,color:l,disabled:c,error:d,fullWidth:m,multiline:$,required:B,select:_,variant:Q},te=o3(re),ce=Zu(y),de=g&&ce?`${ce}-helper-text`:void 0,oe=b&&ce?`${ce}-label`:void 0,V=r3[Q],X={slots:j,slotProps:{input:v,inputLabel:w,htmlInput:h,formHelperText:f,select:D,...R}},W={},z=X.slotProps.inputLabel;Q==="outlined"&&(z&&typeof z.shrink<"u"&&(W.notched=z.shrink),W.label=b),_&&((!D||!D.native)&&(W.id=void 0),W["aria-describedby"]=void 0);const[G,ve]=rn("input",{elementType:V,externalForwardedProps:X,additionalProps:W,ownerState:re}),[ie,ae]=rn("inputLabel",{elementType:bR,externalForwardedProps:X,ownerState:re}),[tt,Ne]=rn("htmlInput",{elementType:"input",externalForwardedProps:X,ownerState:re}),[Te,Ue]=rn("formHelperText",{elementType:lR,externalForwardedProps:X,ownerState:re}),[Cn,Ee]=rn("select",{elementType:vb,externalForwardedProps:X,ownerState:re}),Fn=k.jsx(G,{"aria-describedby":de,autoComplete:o,autoFocus:i,defaultValue:u,fullWidth:m,multiline:$,name:T,rows:I,maxRows:S,minRows:P,type:N,value:H,id:ce,inputRef:p,onBlur:C,onChange:E,onFocus:A,placeholder:O,inputProps:Ne,slots:{input:j.htmlInput?tt:void 0},...ve});return k.jsxs(i3,{className:q(te.root,a),disabled:c,error:d,fullWidth:m,ref:n,required:B,color:l,variant:Q,ownerState:re,...Y,children:[b!=null&&b!==""&&k.jsx(ie,{htmlFor:ce,id:oe,...ae,children:b}),_?k.jsx(Cn,{"aria-describedby":de,id:ce,labelId:oe,value:H,input:Fn,...Ee,children:s}):Fn,g&&k.jsx(Te,{id:de,...Ue,children:g})]})});function s3(){const{light:e,toggle:t}=x.useContext(Ln);return k.jsxs(fa,{onClick:t,sx:{color:"white"},children:["Swith to ",e?"Dark":"Light"," Mode"]})}/** - * @remix-run/router v1.19.2 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Ks(){return Ks=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function yb(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function l3(){return Math.random().toString(36).substr(2,8)}function k0(e,t){return{usr:e.state,key:e.key,idx:t}}function zf(e,t,n,r){return n===void 0&&(n=null),Ks({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ti(t):t,{state:n,key:t&&t.key||r||l3()})}function tu(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Ti(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function u3(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a=xr.Pop,l=null,u=c();u==null&&(u=0,s.replaceState(Ks({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function d(){a=xr.Pop;let w=c(),h=w==null?null:w-u;u=w,l&&l({action:a,location:y.location,delta:h})}function f(w,h){a=xr.Push;let v=zf(y.location,w,h);u=c()+1;let p=k0(v,u),b=y.createHref(v);try{s.pushState(p,"",b)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;o.location.assign(b)}i&&l&&l({action:a,location:y.location,delta:1})}function m(w,h){a=xr.Replace;let v=zf(y.location,w,h);u=c();let p=k0(v,u),b=y.createHref(v);s.replaceState(p,"",b),i&&l&&l({action:a,location:y.location,delta:0})}function g(w){let h=o.location.origin!=="null"?o.location.origin:o.location.href,v=typeof w=="string"?w:tu(w);return v=v.replace(/ $/,"%20"),et(h,"No window.location.(origin|href) available to create URL for href: "+v),new URL(v,h)}let y={get action(){return a},get location(){return e(o,s)},listen(w){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(w0,d),l=w,()=>{o.removeEventListener(w0,d),l=null}},createHref(w){return t(o,w)},createURL:g,encodeLocation(w){let h=g(w);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:f,replace:m,go(w){return s.go(w)}};return y}var $0;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})($0||($0={}));function c3(e,t,n){return n===void 0&&(n="/"),d3(e,t,n,!1)}function d3(e,t,n,r){let o=typeof t=="string"?Ti(t):t,i=Ah(o.pathname||"/",n);if(i==null)return null;let s=xb(e);f3(s);let a=null;for(let l=0;a==null&&l{let l={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};l.relativePath.startsWith("/")&&(et(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=Er([r,l.relativePath]),c=n.concat(l);i.children&&i.children.length>0&&(et(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),xb(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:x3(u,i.index),routesMeta:c})};return e.forEach((i,s)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,s);else for(let l of bb(i.path))o(i,s,l)}),t}function bb(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=bb(r.join("/")),a=[];return a.push(...s.map(l=>l===""?i:[i,l].join("/"))),o&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function f3(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:b3(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const p3=/^:[\w-]+$/,h3=3,m3=2,g3=1,v3=10,y3=-2,P0=e=>e==="*";function x3(e,t){let n=e.split("/"),r=n.length;return n.some(P0)&&(r+=y3),t&&(r+=m3),n.filter(o=>!P0(o)).reduce((o,i)=>o+(p3.test(i)?h3:i===""?g3:v3),r)}function b3(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function C3(e,t,n){let{routesMeta:r}=e,o={},i="/",s=[];for(let a=0;a{let{paramName:f,isOptional:m}=c;if(f==="*"){let y=a[d]||"";s=i.slice(0,i.length-y.length).replace(/(.)\/+$/,"$1")}const g=a[d];return m&&!g?u[f]=void 0:u[f]=(g||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:s,pattern:e}}function S3(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),yb(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function w3(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return yb(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Ah(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function k3(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Ti(e):e;return{pathname:n?n.startsWith("/")?n:$3(n,t):t,search:E3(r),hash:R3(o)}}function $3(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function hd(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function P3(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Cb(e,t){let n=P3(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Sb(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Ti(e):(o=Ks({},e),et(!o.pathname||!o.pathname.includes("?"),hd("?","pathname","search",o)),et(!o.pathname||!o.pathname.includes("#"),hd("#","pathname","hash",o)),et(!o.search||!o.search.includes("#"),hd("#","search","hash",o)));let i=e===""||o.pathname==="",s=i?"/":o.pathname,a;if(s==null)a=n;else{let d=t.length-1;if(!r&&s.startsWith("..")){let f=s.split("/");for(;f[0]==="..";)f.shift(),d-=1;o.pathname=f.join("/")}a=d>=0?t[d]:"/"}let l=k3(o,a),u=s&&s!=="/"&&s.endsWith("/"),c=(i||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const Er=e=>e.join("/").replace(/\/\/+/g,"/"),T3=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),E3=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,R3=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function A3(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const wb=["post","put","patch","delete"];new Set(wb);const M3=["get",...wb];new Set(M3);/** - * React Router v6.26.2 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Ys(){return Ys=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),x.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let d=Sb(u,JSON.parse(s),i,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Er([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,s,i,e])}function D3(){let{matches:e}=x.useContext(Nr),t=e[e.length-1];return t?t.params:{}}function Pb(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=x.useContext(vo),{matches:o}=x.useContext(Nr),{pathname:i}=ha(),s=JSON.stringify(Cb(o,r.v7_relativeSplatPath));return x.useMemo(()=>Sb(e,JSON.parse(s),i,n==="path"),[e,s,i,n])}function j3(e,t){return L3(e,t)}function L3(e,t,n,r){pa()||et(!1);let{navigator:o}=x.useContext(vo),{matches:i}=x.useContext(Nr),s=i[i.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=ha(),c;if(t){var d;let w=typeof t=="string"?Ti(t):t;l==="/"||(d=w.pathname)!=null&&d.startsWith(l)||et(!1),c=w}else c=u;let f=c.pathname||"/",m=f;if(l!=="/"){let w=l.replace(/^\//,"").split("/");m="/"+f.replace(/^\//,"").split("/").slice(w.length).join("/")}let g=c3(e,{pathname:m}),y=V3(g&&g.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:Er([l,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:Er([l,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),i,n,r);return t&&y?x.createElement(mc.Provider,{value:{location:Ys({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:xr.Pop}},y):y}function F3(){let e=G3(),t=A3(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),n?x.createElement("pre",{style:o},n):null,null)}const N3=x.createElement(F3,null);class _3 extends x.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?x.createElement(Nr.Provider,{value:this.props.routeContext},x.createElement(kb.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function z3(e){let{routeContext:t,match:n,children:r}=e,o=x.useContext(Mh);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),x.createElement(Nr.Provider,{value:t},r)}function V3(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let c=s.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);c>=0||et(!1),s=s.slice(0,Math.min(s.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((c,d,f)=>{let m,g=!1,y=null,w=null;n&&(m=a&&d.route.id?a[d.route.id]:void 0,y=d.route.errorElement||N3,l&&(u<0&&f===0?(g=!0,w=null):u===f&&(g=!0,w=d.route.hydrateFallbackElement||null)));let h=t.concat(s.slice(0,f+1)),v=()=>{let p;return m?p=y:g?p=w:d.route.Component?p=x.createElement(d.route.Component,null):d.route.element?p=d.route.element:p=c,x.createElement(z3,{match:d,routeContext:{outlet:c,matches:h,isDataRoute:n!=null},children:p})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?x.createElement(_3,{location:n.location,revalidation:n.revalidation,component:y,error:m,children:v(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):v()},null)}var Tb=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Tb||{}),nu=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(nu||{});function H3(e){let t=x.useContext(Mh);return t||et(!1),t}function W3(e){let t=x.useContext(O3);return t||et(!1),t}function U3(e){let t=x.useContext(Nr);return t||et(!1),t}function Eb(e){let t=U3(),n=t.matches[t.matches.length-1];return n.route.id||et(!1),n.route.id}function G3(){var e;let t=x.useContext(kb),n=W3(nu.UseRouteError),r=Eb(nu.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function K3(){let{router:e}=H3(Tb.UseNavigateStable),t=Eb(nu.UseNavigateStable),n=x.useRef(!1);return $b(()=>{n.current=!0}),x.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Ys({fromRouteId:t},i)))},[e,t])}function Oo(e){et(!1)}function Y3(e){let{basename:t="/",children:n=null,location:r,navigationType:o=xr.Pop,navigator:i,static:s=!1,future:a}=e;pa()&&et(!1);let l=t.replace(/^\/*/,"/"),u=x.useMemo(()=>({basename:l,navigator:i,static:s,future:Ys({v7_relativeSplatPath:!1},a)}),[l,a,i,s]);typeof r=="string"&&(r=Ti(r));let{pathname:c="/",search:d="",hash:f="",state:m=null,key:g="default"}=r,y=x.useMemo(()=>{let w=Ah(c,l);return w==null?null:{location:{pathname:w,search:d,hash:f,state:m,key:g},navigationType:o}},[l,c,d,f,m,g,o]);return y==null?null:x.createElement(vo.Provider,{value:u},x.createElement(mc.Provider,{children:n,value:y}))}function X3(e){let{children:t,location:n}=e;return j3(Vf(t),n)}new Promise(()=>{});function Vf(e,t){t===void 0&&(t=[]);let n=[];return x.Children.forEach(e,(r,o)=>{if(!x.isValidElement(r))return;let i=[...t,o];if(r.type===x.Fragment){n.push.apply(n,Vf(r.props.children,i));return}r.type!==Oo&&et(!1),!r.props.index||!r.props.children||et(!1);let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=Vf(r.props.children,i)),n.push(s)}),n}/** - * React Router DOM v6.26.2 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Hf(){return Hf=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function Q3(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Z3(e,t){return e.button===0&&(!t||t==="_self")&&!Q3(e)}const J3=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],eA="6";try{window.__reactRouterVersion=eA}catch{}const tA="startTransition",E0=yl[tA];function nA(e){let{basename:t,children:n,future:r,window:o}=e,i=x.useRef();i.current==null&&(i.current=a3({window:o,v5Compat:!0}));let s=i.current,[a,l]=x.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=x.useCallback(d=>{u&&E0?E0(()=>l(d)):l(d)},[l,u]);return x.useLayoutEffect(()=>s.listen(c),[s,c]),x.createElement(Y3,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const rA=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",oA=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,md=x.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:s,state:a,target:l,to:u,preventScrollReset:c,unstable_viewTransition:d}=t,f=q3(t,J3),{basename:m}=x.useContext(vo),g,y=!1;if(typeof u=="string"&&oA.test(u)&&(g=u,rA))try{let p=new URL(window.location.href),b=u.startsWith("//")?new URL(p.protocol+u):new URL(u),S=Ah(b.pathname,m);b.origin===p.origin&&S!=null?u=S+b.search+b.hash:y=!0}catch{}let w=I3(u,{relative:o}),h=iA(u,{replace:s,state:a,target:l,preventScrollReset:c,relative:o,unstable_viewTransition:d});function v(p){r&&r(p),p.defaultPrevented||h(p)}return x.createElement("a",Hf({},f,{href:g||w,onClick:y||i?r:v,ref:n,target:l}))});var R0;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(R0||(R0={}));var A0;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(A0||(A0={}));function iA(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,l=Oh(),u=ha(),c=Pb(e,{relative:s});return x.useCallback(d=>{if(Z3(d,n)){d.preventDefault();let f=r!==void 0?r:tu(u)===tu(c);l(e,{replace:f,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:a})}},[u,l,c,r,o,n,e,i,s,a])}const M0=[{name:"Home",path:"/fer-lab1/"},{name:"Special",path:"/fer-lab1/natural"},{name:"About",path:"/fer-lab1/about"},{name:"Contact",path:"/fer-lab1/contact"}];function sA(){const[e,t]=x.useState(null),{theme:n}=x.useContext(Ln),r=ha(),o=s=>{t(s.currentTarget)},i=()=>{t(null)};return k.jsx(MP,{position:"static",color:n.header.backgroundColor,children:k.jsx(cc,{maxWidth:"xl",children:k.jsxs(LP,{disableGutters:!0,children:[k.jsx(p0,{sx:{display:{xs:"none",md:"flex"},mr:1}}),k.jsx(md,{to:"/fer-lab1/",style:{textDecoration:"none"},children:k.jsx(he,{variant:"h6",noWrap:!0,component:"a",href:"#app-bar-with-responsive-menu",sx:{mr:2,display:{xs:"none",md:"flex"},fontFamily:"monospace",fontWeight:700,letterSpacing:".3rem",color:"inherit",textDecoration:"none"},children:"LOGO"})}),k.jsxs(Ye,{sx:{flexGrow:1,display:{xs:"flex",md:"none"}},children:[k.jsx(io,{size:"large","aria-label":"account of current user","aria-controls":"menu-appbar","aria-haspopup":"true",onClick:o,color:"inherit",children:k.jsx(cE,{})}),k.jsx(db,{id:"menu-appbar",anchorEl:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},keepMounted:!0,transformOrigin:{vertical:"top",horizontal:"left"},open:!!e,onClose:i,sx:{display:{xs:"block",md:"none"}},children:M0.map(s=>k.jsx(SE,{onClick:i,component:md,to:s.path,children:k.jsx(he,{sx:{textAlign:"center"},children:s.name})},s.name))})]}),k.jsx(p0,{sx:{display:{xs:"flex",md:"none"},mr:1}}),k.jsx(he,{variant:"h5",noWrap:!0,component:"a",href:"/fer-lab1/",sx:{mr:2,display:{xs:"flex",md:"none"},flexGrow:1,fontFamily:"monospace",fontWeight:700,letterSpacing:".3rem",color:"inherit",textDecoration:"none"},children:"LOGO"}),k.jsx(Ye,{sx:{flexGrow:1,display:{xs:"none",md:"flex"}},children:M0.map(s=>k.jsx(fa,{component:md,to:s.path,onClick:i,sx:{my:2,color:"white",display:"block",backgroundColor:r.pathname===s.path?"rgba(255, 255, 255, 0.2)":"transparent","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.1)"}},children:s.name},s.name))}),k.jsx(s3,{})]})})})}function aA(){const{theme:e}=x.useContext(Ln);return k.jsx(Ye,{component:"footer",sx:{py:3,px:2,backgroundColor:e.footer.backgroundColor,color:e.text.secondary},className:"footer-content",children:k.jsx(cc,{maxWidth:"sm",children:k.jsxs(he,{variant:"body2",color:"text.secondary",align:"center",children:["No Copyright © ",new Date().getFullYear()]})})})}const Zi={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"}},Rb="$$joy";function Wf(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};function gr(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Ab(e){if(!gr(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Ab(e[n])}),t}function Kn(e,t,n={clone:!0}){const r=n.clone?F({},e):e;return gr(e)&&gr(t)&&Object.keys(t).forEach(o=>{gr(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&gr(e[o])?r[o]=Kn(e[o],t[o],n):n.clone?r[o]=gr(t[o])?Ab(t[o]):t[o]:r[o]=t[o]}),r}const cA=["values","unit","step"],dA=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)=>F({},n,{[r.key]:r.val}),{})};function Mb(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Xe(e,cA),i=dA(t),s=Object.keys(i);function a(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n})`}function l(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-r/100}${n})`}function u(f,m){const g=s.indexOf(m);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n}) and (max-width:${(g!==-1&&typeof t[s[g]]=="number"?t[s[g]]:m)-r/100}${n})`}function c(f){return s.indexOf(f)+1`@media (min-width:${Ih[e]}px)`};function ir(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||O0;return t.reduce((s,a,l)=>(s[i.up(i.keys[l])]=n(t[l]),s),{})}if(typeof t=="object"){const i=r.breakpoints||O0;return Object.keys(t).reduce((s,a)=>{if(Object.keys(i.values||Ih).indexOf(a)!==-1){const l=i.up(a);s[l]=n(t[a],a)}else{const l=a;s[l]=t[l]}return s},{})}return n(t)}function pA(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function hA(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function In(e){if(typeof e!="string")throw new Error(Wf(7));return e.charAt(0).toUpperCase()+e.slice(1)}function gc(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 ru(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=gc(e,n)||r,t&&(o=t(o,r,e)),o}function Qe(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=s=>{if(s[t]==null)return null;const a=s[t],l=s.theme,u=gc(l,r)||{};return ir(s,a,d=>{let f=ru(u,o,d);return d===f&&typeof d=="string"&&(f=ru(u,o,`${t}${d==="default"?"":In(d)}`,d)),n===!1?f:{[n]:f}})};return i.propTypes={},i.filterProps=[t],i}function mA(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const gA={m:"margin",p:"padding"},vA={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},I0={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},yA=mA(e=>{if(e.length>2)if(I0[e])e=I0[e];else return[e];const[t,n]=e.split(""),r=gA[t],o=vA[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),Bh=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Dh=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Bh,...Dh];function ma(e,t,n,r){var o;const i=(o=gc(e,t,!1))!=null?o:n;return typeof i=="number"?s=>typeof s=="string"?s:i*s:Array.isArray(i)?s=>typeof s=="string"?s:i[s]:typeof i=="function"?i:()=>{}}function Ob(e){return ma(e,"spacing",8)}function ga(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 xA(e,t){return n=>e.reduce((r,o)=>(r[o]=ga(t,n),r),{})}function bA(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=yA(n),i=xA(o,r),s=e[n];return ir(e,s,i)}function Ib(e,t){const n=Ob(e.theme);return Object.keys(e).map(r=>bA(e,t,r,n)).reduce(Cs,{})}function Ve(e){return Ib(e,Bh)}Ve.propTypes={};Ve.filterProps=Bh;function He(e){return Ib(e,Dh)}He.propTypes={};He.filterProps=Dh;function Bb(e=8){if(e.mui)return e;const t=Ob({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function vc(...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]?Cs(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function nn(e){return typeof e!="number"?e:`${e}px solid`}function pn(e,t){return Qe({prop:e,themeKey:"borders",transform:t})}const CA=pn("border",nn),SA=pn("borderTop",nn),wA=pn("borderRight",nn),kA=pn("borderBottom",nn),$A=pn("borderLeft",nn),PA=pn("borderColor"),TA=pn("borderTopColor"),EA=pn("borderRightColor"),RA=pn("borderBottomColor"),AA=pn("borderLeftColor"),MA=pn("outline",nn),OA=pn("outlineColor"),yc=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=ma(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:ga(t,r)});return ir(e,e.borderRadius,n)}return null};yc.propTypes={};yc.filterProps=["borderRadius"];vc(CA,SA,wA,kA,$A,PA,TA,EA,RA,AA,yc,MA,OA);const xc=e=>{if(e.gap!==void 0&&e.gap!==null){const t=ma(e.theme,"spacing",8),n=r=>({gap:ga(t,r)});return ir(e,e.gap,n)}return null};xc.propTypes={};xc.filterProps=["gap"];const bc=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=ma(e.theme,"spacing",8),n=r=>({columnGap:ga(t,r)});return ir(e,e.columnGap,n)}return null};bc.propTypes={};bc.filterProps=["columnGap"];const Cc=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=ma(e.theme,"spacing",8),n=r=>({rowGap:ga(t,r)});return ir(e,e.rowGap,n)}return null};Cc.propTypes={};Cc.filterProps=["rowGap"];const IA=Qe({prop:"gridColumn"}),BA=Qe({prop:"gridRow"}),DA=Qe({prop:"gridAutoFlow"}),jA=Qe({prop:"gridAutoColumns"}),LA=Qe({prop:"gridAutoRows"}),FA=Qe({prop:"gridTemplateColumns"}),NA=Qe({prop:"gridTemplateRows"}),_A=Qe({prop:"gridTemplateAreas"}),zA=Qe({prop:"gridArea"});vc(xc,bc,Cc,IA,BA,DA,jA,LA,FA,NA,_A,zA);function ii(e,t){return t==="grey"?t:e}const VA=Qe({prop:"color",themeKey:"palette",transform:ii}),HA=Qe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ii}),WA=Qe({prop:"backgroundColor",themeKey:"palette",transform:ii});vc(VA,HA,WA);function _t(e){return e<=1&&e!==0?`${e*100}%`:e}const UA=Qe({prop:"width",transform:_t}),jh=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])||Ih[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:_t(n)}};return ir(e,e.maxWidth,t)}return null};jh.filterProps=["maxWidth"];const GA=Qe({prop:"minWidth",transform:_t}),KA=Qe({prop:"height",transform:_t}),YA=Qe({prop:"maxHeight",transform:_t}),XA=Qe({prop:"minHeight",transform:_t});Qe({prop:"size",cssProperty:"width",transform:_t});Qe({prop:"size",cssProperty:"height",transform:_t});const qA=Qe({prop:"boxSizing"});vc(UA,jh,GA,KA,YA,XA,qA);const Sc={border:{themeKey:"borders",transform:nn},borderTop:{themeKey:"borders",transform:nn},borderRight:{themeKey:"borders",transform:nn},borderBottom:{themeKey:"borders",transform:nn},borderLeft:{themeKey:"borders",transform:nn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:nn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:yc},color:{themeKey:"palette",transform:ii},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ii},backgroundColor:{themeKey:"palette",transform:ii},p:{style:He},pt:{style:He},pr:{style:He},pb:{style:He},pl:{style:He},px:{style:He},py:{style:He},padding:{style:He},paddingTop:{style:He},paddingRight:{style:He},paddingBottom:{style:He},paddingLeft:{style:He},paddingX:{style:He},paddingY:{style:He},paddingInline:{style:He},paddingInlineStart:{style:He},paddingInlineEnd:{style:He},paddingBlock:{style:He},paddingBlockStart:{style:He},paddingBlockEnd:{style:He},m:{style:Ve},mt:{style:Ve},mr:{style:Ve},mb:{style:Ve},ml:{style:Ve},mx:{style:Ve},my:{style:Ve},margin:{style:Ve},marginTop:{style:Ve},marginRight:{style:Ve},marginBottom:{style:Ve},marginLeft:{style:Ve},marginX:{style:Ve},marginY:{style:Ve},marginInline:{style:Ve},marginInlineStart:{style:Ve},marginInlineEnd:{style:Ve},marginBlock:{style:Ve},marginBlockStart:{style:Ve},marginBlockEnd:{style:Ve},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:xc},rowGap:{style:Cc},columnGap:{style:bc},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:_t},maxWidth:{style:jh},minWidth:{transform:_t},height:{transform:_t},maxHeight:{transform:_t},minHeight:{transform:_t},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function QA(...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 ZA(e,t){return typeof e=="function"?e(t):e}function JA(){function e(n,r,o,i){const s={[n]:r,theme:o},a=i[n];if(!a)return{[n]:r};const{cssProperty:l=n,themeKey:u,transform:c,style:d}=a;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const f=gc(o,u)||{};return d?d(s):ir(s,r,g=>{let y=ru(f,c,g);return g===y&&typeof g=="string"&&(y=ru(f,c,`${n}${g==="default"?"":In(g)}`,g)),l===!1?y:{[l]:y}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const s=(r=i.unstable_sxConfig)!=null?r:Sc;function a(l){let u=l;if(typeof l=="function")u=l(i);else if(typeof l!="object")return l;if(!u)return null;const c=pA(i.breakpoints),d=Object.keys(c);let f=c;return Object.keys(u).forEach(m=>{const g=ZA(u[m],i);if(g!=null)if(typeof g=="object")if(s[m])f=Cs(f,e(m,g,i,s));else{const y=ir({theme:i},g,w=>({[m]:w}));QA(y,g)?f[m]=t({sx:g,theme:i}):f=Cs(f,y)}else f=Cs(f,e(m,g,i,s))}),hA(d,f)}return Array.isArray(o)?o.map(a):a(o)}return t}const wc=JA();wc.filterProps=["sx"];function Db(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const eM=["breakpoints","palette","spacing","shape"];function Lh(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,s=Xe(e,eM),a=Mb(n),l=Bb(o);let u=Kn({breakpoints:a,direction:"ltr",components:{},palette:F({mode:"light"},r),spacing:l,shape:F({},fA,i)},s);return u.applyStyles=Db,u=t.reduce((c,d)=>Kn(c,d),u),u.unstable_sxConfig=F({},Sc,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return wc({sx:d,theme:this})},u}function tM(e){return Object.keys(e).length===0}function nM(e=null){const t=x.useContext(Yu);return!t||tM(t)?e:t}const rM=Lh();function jb(e=rM){return nM(e)}const oM=["sx"],iM=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:Sc;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function sM(e){const{sx:t}=e,n=Xe(e,oM),{systemProps:r,otherProps:o}=iM(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...s)=>{const a=t(...s);return gr(a)?F({},r,a):r}:i=F({},r,t),F({},o,{sx:i})}const B0=e=>e,aM=()=>{let e=B0;return{configure(t){e=t},generate(t){return e(t)},reset(){e=B0}}},lM=aM(),uM={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 Fh(e,t,n="Mui"){const r=uM[t];return r?`${n}-${r}`:`${lM.generate(e)}-${t}`}function cM(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Fh(e,o,n)}),r}const dM=["ownerState"],fM=["variants"],pM=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function hM(e){return Object.keys(e).length===0}function mM(e){return typeof e=="string"&&e.charCodeAt(0)>96}function gd(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const gM=Lh(),vM=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Ka({defaultTheme:e,theme:t,themeId:n}){return hM(t)?e:t[n]||t}function yM(e){return e?(t,n)=>n[e]:null}function pl(e,t){let{ownerState:n}=t,r=Xe(t,dM);const o=typeof e=="function"?e(F({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>pl(i,F({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let a=Xe(o,fM);return i.forEach(l=>{let u=!0;typeof l.props=="function"?u=l.props(F({ownerState:n},r,n)):Object.keys(l.props).forEach(c=>{(n==null?void 0:n[c])!==l.props[c]&&r[c]!==l.props[c]&&(u=!1)}),u&&(Array.isArray(a)||(a=[a]),a.push(typeof l.style=="function"?l.style(F({ownerState:n},r,n)):l.style))}),a}return o}function Lb(e={}){const{themeId:t,defaultTheme:n=gM,rootShouldForwardProp:r=gd,slotShouldForwardProp:o=gd}=e,i=s=>wc(F({},s,{theme:Ka(F({},s,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(s,a={})=>{uA(s,S=>S.filter(P=>!(P!=null&&P.__mui_systemSx)));const{name:l,slot:u,skipVariantsResolver:c,skipSx:d,overridesResolver:f=yM(vM(u))}=a,m=Xe(a,pM),g=c!==void 0?c:u&&u!=="Root"&&u!=="root"||!1,y=d||!1;let w,h=gd;u==="Root"||u==="root"?h=r:u?h=o:mM(s)&&(h=void 0);const v=lA(s,F({shouldForwardProp:h,label:w},m)),p=S=>typeof S=="function"&&S.__emotion_real!==S||gr(S)?P=>pl(S,F({},P,{theme:Ka({theme:P.theme,defaultTheme:n,themeId:t})})):S,b=(S,...P)=>{let $=p(S);const T=P?P.map(p):[];l&&f&&T.push(A=>{const O=Ka(F({},A,{defaultTheme:n,themeId:t}));if(!O.components||!O.components[l]||!O.components[l].styleOverrides)return null;const B=O.components[l].styleOverrides,I={};return Object.entries(B).forEach(([_,D])=>{I[_]=pl(D,F({},A,{theme:O}))}),f(A,I)}),l&&!g&&T.push(A=>{var O;const B=Ka(F({},A,{defaultTheme:n,themeId:t})),I=B==null||(O=B.components)==null||(O=O[l])==null?void 0:O.variants;return pl({variants:I},F({},A,{theme:B}))}),y||T.push(i);const C=T.length-P.length;if(Array.isArray(S)&&C>0){const A=new Array(C).fill("");$=[...S,...A],$.raw=[...S.raw,...A]}const E=v($,...T);return s.muiName&&(E.muiName=s.muiName),E};return v.withConfig&&(b.withConfig=v.withConfig),b}}const xM=Lb();function Fb(e,t){const n=F({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=F({},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]=F({},i),Object.keys(o).forEach(s=>{n[r][s]=Fb(o[s],i[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function bM(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Fb(t.components[n].defaultProps,r)}function Nb({props:e,name:t,defaultTheme:n,themeId:r}){let o=jb(n);return r&&(o=o[r]||o),bM({theme:o,name:t,props:e})}function CM(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 _b(e){if(e.type)return e;if(e.charAt(0)==="#")return _b(CM(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(Wf(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(Wf(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const Wr=e=>{const t=_b(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};function zb(e,t){var n,r;return x.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 SM(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function wM(...e){return x.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{SM(n,t)})},e)}function kM(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,s)=>{if(s){const a=t(s);a!==""&&i.push(a),n&&n[s]&&i.push(n[s])}return i},[]).join(" ")}),r}function Nh(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 D0=(e,t,n,r=[])=>{let o=e;t.forEach((i,s)=>{s===t.length-1?Array.isArray(o)?o[Number(i)]=n:o&&typeof o=="object"&&(o[i]=n):o&&typeof o=="object"&&(o[i]||(o[i]=r.includes(i)?[]:{}),o=o[i])})},$M=(e,t,n)=>{function r(o,i=[],s=[]){Object.entries(o).forEach(([a,l])=>{(!n||n&&!n([...i,a]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?r(l,[...i,a],Array.isArray(l)?[...s,a]:s):t([...i,a],l,s))})}r(e)},PM=(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 vd(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},s={};return $M(e,(a,l,u)=>{if((typeof l=="string"||typeof l=="number")&&(!r||!r(a,l))){const c=`--${n?`${n}-`:""}${a.join("-")}`;Object.assign(o,{[c]:PM(a,l)}),D0(i,a,`var(${c})`,u),D0(s,a,`var(${c}, ${l})`,u)}},a=>a[0]==="vars"),{css:o,vars:i,varsWithDefaults:s}}function Xs(e){"@babel/helpers - typeof";return Xs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xs(e)}function TM(e,t){if(Xs(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Xs(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function EM(e){var t=TM(e,"string");return Xs(t)=="symbol"?t:t+""}const RM=["colorSchemes","components","defaultColorScheme"];function AM(e,t){const{colorSchemes:n={},defaultColorScheme:r="light"}=e,o=Xe(e,RM),{vars:i,css:s,varsWithDefaults:a}=vd(o,t);let l=a;const u={},{[r]:c}=n,d=Xe(n,[r].map(EM));if(Object.entries(d||{}).forEach(([m,g])=>{const{vars:y,css:w,varsWithDefaults:h}=vd(g,t);l=Kn(l,h),u[m]={css:w,vars:y}}),c){const{css:m,vars:g,varsWithDefaults:y}=vd(c,t);l=Kn(l,y),u[r]={css:m,vars:g}}return{vars:l,generateCssVars:m=>{var g;if(!m){var y;const h=F({},s);return{css:h,vars:i,selector:(t==null||(y=t.getSelector)==null?void 0:y.call(t,m,h))||":root"}}const w=F({},u[m].css);return{css:w,vars:u[m].vars,selector:(t==null||(g=t.getSelector)==null?void 0:g.call(t,m,w))||":root"}}}}const MM=(e,t)=>e.filter(n=>t.includes(n)),Ei=(e,t,n)=>{const r=e.keys[0];Array.isArray(t)?t.forEach((o,i)=>{n((s,a)=>{i<=e.keys.length-1&&(i===0?Object.assign(s,a):s[e.up(e.keys[i])]=a)},o)}):t&&typeof t=="object"?(Object.keys(t).length>e.keys.length?e.keys:MM(e.keys,Object.keys(t))).forEach(i=>{if(e.keys.indexOf(i)!==-1){const s=t[i];s!==void 0&&n((a,l)=>{r===i?Object.assign(a,l):a[e.up(i)]=l},s)}}):(typeof t=="number"||typeof t=="string")&&n((o,i)=>{Object.assign(o,i)},t)};function sr(e){return e?`Level${e}`:""}function va(e){return e.unstable_level>0&&e.container}function Vb(e){return function(n){return`var(--Grid-${n}Spacing${sr(e.unstable_level)})`}}function _h(e){return function(n){return e.unstable_level===0?`var(--Grid-${n}Spacing)`:`var(--Grid-${n}Spacing${sr(e.unstable_level-1)})`}}function zh(e){return e.unstable_level===0?"var(--Grid-columns)":`var(--Grid-columns${sr(e.unstable_level-1)})`}const OM=({theme:e,ownerState:t})=>{const n=Vb(t),r={};return Ei(e.breakpoints,t.gridSize,(o,i)=>{let s={};i===!0&&(s={flexBasis:0,flexGrow:1,maxWidth:"100%"}),i==="auto"&&(s={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),typeof i=="number"&&(s={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${i} / ${zh(t)}${va(t)?` + ${n("column")}`:""})`}),o(r,s)}),r},IM=({theme:e,ownerState:t})=>{const n={};return Ei(e.breakpoints,t.gridOffset,(r,o)=>{let i={};o==="auto"&&(i={marginLeft:"auto"}),typeof o=="number"&&(i={marginLeft:o===0?"0px":`calc(100% * ${o} / ${zh(t)})`}),r(n,i)}),n},BM=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=va(t)?{[`--Grid-columns${sr(t.unstable_level)}`]:zh(t)}:{"--Grid-columns":12};return Ei(e.breakpoints,t.columns,(r,o)=>{r(n,{[`--Grid-columns${sr(t.unstable_level)}`]:o})}),n},DM=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=_h(t),r=va(t)?{[`--Grid-rowSpacing${sr(t.unstable_level)}`]:n("row")}:{};return Ei(e.breakpoints,t.rowSpacing,(o,i)=>{var s;o(r,{[`--Grid-rowSpacing${sr(t.unstable_level)}`]:typeof i=="string"?i:(s=e.spacing)==null?void 0:s.call(e,i)})}),r},jM=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=_h(t),r=va(t)?{[`--Grid-columnSpacing${sr(t.unstable_level)}`]:n("column")}:{};return Ei(e.breakpoints,t.columnSpacing,(o,i)=>{var s;o(r,{[`--Grid-columnSpacing${sr(t.unstable_level)}`]:typeof i=="string"?i:(s=e.spacing)==null?void 0:s.call(e,i)})}),r},LM=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return Ei(e.breakpoints,t.direction,(r,o)=>{r(n,{flexDirection:o})}),n},FM=({ownerState:e})=>{const t=Vb(e),n=_h(e);return F({minWidth:0,boxSizing:"border-box"},e.container&&F({display:"flex",flexWrap:"wrap"},e.wrap&&e.wrap!=="wrap"&&{flexWrap:e.wrap},{margin:`calc(${t("row")} / -2) calc(${t("column")} / -2)`},e.disableEqualOverflow&&{margin:`calc(${t("row")} * -1) 0px 0px calc(${t("column")} * -1)`}),(!e.container||va(e))&&F({padding:`calc(${n("row")} / 2) calc(${n("column")} / 2)`},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:`${n("row")} 0px 0px ${n("column")}`}))},NM=e=>{const t=[];return Object.entries(e).forEach(([n,r])=>{r!==!1&&r!==void 0&&t.push(`grid-${n}-${String(r)}`)}),t},_M=(e,t="xs")=>{function n(r){return r===void 0?!1:typeof r=="string"&&!Number.isNaN(Number(r))||typeof r=="number"&&r>0}if(n(e))return[`spacing-${t}-${String(e)}`];if(typeof e=="object"&&!Array.isArray(e)){const r=[];return Object.entries(e).forEach(([o,i])=>{n(i)&&r.push(`spacing-${o}-${String(i)}`)}),r}return[]},zM=e=>e===void 0?[]:typeof e=="object"?Object.entries(e).map(([t,n])=>`direction-${t}-${n}`):[`direction-xs-${String(e)}`],VM=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],HM=Lh(),WM=xM("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function UM(e){return Nb({props:e,name:"MuiGrid",defaultTheme:HM})}function GM(e={}){const{createStyledComponent:t=WM,useThemeProps:n=UM,componentName:r="MuiGrid"}=e,o=x.createContext(void 0),i=(l,u)=>{const{container:c,direction:d,spacing:f,wrap:m,gridSize:g}=l,y={root:["root",c&&"container",m!=="wrap"&&`wrap-xs-${String(m)}`,...zM(d),...NM(g),...c?_M(f,u.breakpoints.keys[0]):[]]};return kM(y,w=>Fh(r,w),{})},s=t(BM,jM,DM,OM,LM,FM,IM),a=x.forwardRef(function(u,c){var d,f,m,g,y,w,h,v;const p=jb(),b=n(u),S=sM(b),P=x.useContext(o),{className:$,children:T,columns:C=12,container:E=!1,component:A="div",direction:O="row",wrap:B="wrap",spacing:I=0,rowSpacing:_=I,columnSpacing:D=I,disableEqualOverflow:j,unstable_level:R=0}=S,N=Xe(S,VM);let H=j;R&&j!==void 0&&(H=u.disableEqualOverflow);const Q={},Y={},re={};Object.entries(N).forEach(([z,G])=>{p.breakpoints.values[z]!==void 0?Q[z]=G:p.breakpoints.values[z.replace("Offset","")]!==void 0?Y[z.replace("Offset","")]=G:re[z]=G});const te=(d=u.columns)!=null?d:R?void 0:C,ce=(f=u.spacing)!=null?f:R?void 0:I,de=(m=(g=u.rowSpacing)!=null?g:u.spacing)!=null?m:R?void 0:_,oe=(y=(w=u.columnSpacing)!=null?w:u.spacing)!=null?y:R?void 0:D,V=F({},S,{level:R,columns:te,container:E,direction:O,wrap:B,spacing:ce,rowSpacing:de,columnSpacing:oe,gridSize:Q,gridOffset:Y,disableEqualOverflow:(h=(v=H)!=null?v:P)!=null?h:!1,parentDisableEqualOverflow:P}),X=i(V,p);let W=k.jsx(s,F({ref:c,as:A,ownerState:V,className:q(X.root,$)},re,{children:x.Children.map(T,z=>{if(x.isValidElement(z)&&zb(z,["Grid"])){var G;return x.cloneElement(z,{unstable_level:(G=z.props.unstable_level)!=null?G:R+1})}return z})}));return H!==void 0&&H!==(P??!1)&&(W=k.jsx(o.Provider,{value:H,children:W})),W});return a.muiName="Grid",a}const KM=F({},Sc,{borderRadius:{themeKey:"radius"},boxShadow:{themeKey:"shadow"},fontFamily:{themeKey:"fontFamily"},fontSize:{themeKey:"fontSize"},fontWeight:{themeKey:"fontWeight"},letterSpacing:{themeKey:"letterSpacing"},lineHeight:{themeKey:"lineHeight"}});function YM(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 Ri=(e,t)=>Fh(e,t,"Mui"),yo=(e,t)=>cM(e,t,"Mui"),XM=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))$/)}),j0=(e,t,n)=>{t.includes("Color")&&(e.color=n),t.includes("Bg")&&(e.backgroundColor=n),t.includes("Border")&&(e.borderColor=n)},L0=(e,t,n)=>{const r={};return Object.entries(t||{}).forEach(([o,i])=>{if(o.match(new RegExp(`${e}(color|bg|border)`,"i"))&&i){const s=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")),j0(r,o,s)}}),r},yt=(e,t)=>{let n={};if(t){const{getCssVar:r,palette:o}=t;Object.entries(o).forEach(i=>{const[s,a]=i;XM(a)&&typeof a=="object"&&(n=F({},n,{[s]:L0(e,a,l=>`var(--variant-${l}, ${r(`palette-${s}-${l}`,o[s][l])})`)}))})}return n.context=L0(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},qM=["cssVarPrefix","breakpoints","spacing","components","variants","shouldSkipGeneratingVar"],QM=["colorSchemes"],ZM=(e="joy")=>Nh(e);function JM(e){var t,n,r,o,i,s,a,l,u,c;const d={},{cssVarPrefix:f="joy",breakpoints:m,spacing:g,components:y,variants:w,shouldSkipGeneratingVar:h=YM}=d,v=Xe(d,qM),p=ZM(f),b={primary:Zi.blue,neutral:Zi.grey,danger:Zi.red,success:Zi.green,warning:Zi.yellow,common:{white:"#FFF",black:"#000"}},S=V=>{var X;const W=V.split("-"),z=W[1],G=W[2];return p(V,(X=b[z])==null?void 0:X[G])},P=V=>({plainColor:S(`palette-${V}-500`),plainHoverBg:S(`palette-${V}-100`),plainActiveBg:S(`palette-${V}-200`),plainDisabledColor:S("palette-neutral-400"),outlinedColor:S(`palette-${V}-500`),outlinedBorder:S(`palette-${V}-300`),outlinedHoverBg:S(`palette-${V}-100`),outlinedActiveBg:S(`palette-${V}-200`),outlinedDisabledColor:S("palette-neutral-400"),outlinedDisabledBorder:S("palette-neutral-200"),softColor:S(`palette-${V}-700`),softBg:S(`palette-${V}-100`),softHoverBg:S(`palette-${V}-200`),softActiveColor:S(`palette-${V}-800`),softActiveBg:S(`palette-${V}-300`),softDisabledColor:S("palette-neutral-400"),softDisabledBg:S("palette-neutral-50"),solidColor:S("palette-common-white"),solidBg:S(`palette-${V}-500`),solidHoverBg:S(`palette-${V}-600`),solidActiveBg:S(`palette-${V}-700`),solidDisabledColor:S("palette-neutral-400"),solidDisabledBg:S("palette-neutral-100")}),$=V=>({plainColor:S(`palette-${V}-300`),plainHoverBg:S(`palette-${V}-800`),plainActiveBg:S(`palette-${V}-700`),plainDisabledColor:S("palette-neutral-500"),outlinedColor:S(`palette-${V}-200`),outlinedBorder:S(`palette-${V}-700`),outlinedHoverBg:S(`palette-${V}-800`),outlinedActiveBg:S(`palette-${V}-700`),outlinedDisabledColor:S("palette-neutral-500"),outlinedDisabledBorder:S("palette-neutral-800"),softColor:S(`palette-${V}-200`),softBg:S(`palette-${V}-800`),softHoverBg:S(`palette-${V}-700`),softActiveColor:S(`palette-${V}-100`),softActiveBg:S(`palette-${V}-600`),softDisabledColor:S("palette-neutral-500"),softDisabledBg:S("palette-neutral-800"),solidColor:S("palette-common-white"),solidBg:S(`palette-${V}-500`),solidHoverBg:S(`palette-${V}-600`),solidActiveBg:S(`palette-${V}-700`),solidDisabledColor:S("palette-neutral-500"),solidDisabledBg:S("palette-neutral-800")}),T={palette:{mode:"light",primary:F({},b.primary,P("primary")),neutral:F({},b.neutral,P("neutral"),{plainColor:S("palette-neutral-700"),plainHoverColor:S("palette-neutral-900"),outlinedColor:S("palette-neutral-700")}),danger:F({},b.danger,P("danger")),success:F({},b.success,P("success")),warning:F({},b.warning,P("warning")),common:{white:"#FFF",black:"#000"},text:{primary:S("palette-neutral-800"),secondary:S("palette-neutral-700"),tertiary:S("palette-neutral-600"),icon:S("palette-neutral-500")},background:{body:S("palette-common-white"),surface:S("palette-neutral-50"),popup:S("palette-common-white"),level1:S("palette-neutral-100"),level2:S("palette-neutral-200"),level3:S("palette-neutral-300"),tooltip:S("palette-neutral-500"),backdrop:`rgba(${p("palette-neutral-darkChannel",Wr(b.neutral[900]))} / 0.25)`},divider:`rgba(${p("palette-neutral-mainChannel",Wr(b.neutral[500]))} / 0.2)`,focusVisible:S("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"21 21 21",shadowOpacity:"0.08"},C={palette:{mode:"dark",primary:F({},b.primary,$("primary")),neutral:F({},b.neutral,$("neutral"),{plainColor:S("palette-neutral-300"),plainHoverColor:S("palette-neutral-300")}),danger:F({},b.danger,$("danger")),success:F({},b.success,$("success")),warning:F({},b.warning,$("warning")),common:{white:"#FFF",black:"#000"},text:{primary:S("palette-neutral-100"),secondary:S("palette-neutral-300"),tertiary:S("palette-neutral-400"),icon:S("palette-neutral-400")},background:{body:S("palette-common-black"),surface:S("palette-neutral-900"),popup:S("palette-common-black"),level1:S("palette-neutral-800"),level2:S("palette-neutral-700"),level3:S("palette-neutral-600"),tooltip:S("palette-neutral-600"),backdrop:`rgba(${p("palette-neutral-darkChannel",Wr(b.neutral[50]))} / 0.25)`},divider:`rgba(${p("palette-neutral-mainChannel",Wr(b.neutral[500]))} / 0.16)`,focusVisible:S("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"',A=F({body:`"Inter", ${p(`fontFamily-fallback, ${E}`)}`,display:`"Inter", ${p(`fontFamily-fallback, ${E}`)}`,code:"Source Code Pro,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",fallback:E},v.fontFamily),O=F({sm:300,md:500,lg:600,xl:700},v.fontWeight),B=F({xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem",xl2:"1.5rem",xl3:"1.875rem",xl4:"2.25rem"},v.fontSize),I=F({xs:"1.33334",sm:"1.42858",md:"1.5",lg:"1.55556",xl:"1.66667"},v.lineHeight),_=(t=(n=v.colorSchemes)==null||(n=n.light)==null?void 0:n.shadowRing)!=null?t:T.shadowRing,D=(r=(o=v.colorSchemes)==null||(o=o.light)==null?void 0:o.shadowChannel)!=null?r:T.shadowChannel,j=(i=(s=v.colorSchemes)==null||(s=s.light)==null?void 0:s.shadowOpacity)!=null?i:T.shadowOpacity,R={colorSchemes:{light:T,dark:C},fontSize:B,fontFamily:A,fontWeight:O,focus:{thickness:"2px",selector:`&.${Ri("","focusVisible")}, &:focus-visible`,default:{outlineOffset:`var(--focus-outline-offset, ${p("focus-thickness",(a=(l=v.focus)==null?void 0:l.thickness)!=null?a:"2px")})`,outline:`${p("focus-thickness",(u=(c=v.focus)==null?void 0:c.thickness)!=null?u:"2px")} solid ${p("palette-focusVisible",b.primary[500])}`}},lineHeight:I,radius:{xs:"2px",sm:"6px",md:"8px",lg:"12px",xl:"16px"},shadow:{xs:`${p("shadowRing",_)}, 0px 1px 2px 0px rgba(${p("shadowChannel",D)} / ${p("shadowOpacity",j)})`,sm:`${p("shadowRing",_)}, 0px 1px 2px 0px rgba(${p("shadowChannel",D)} / ${p("shadowOpacity",j)}), 0px 2px 4px 0px rgba(${p("shadowChannel",D)} / ${p("shadowOpacity",j)})`,md:`${p("shadowRing",_)}, 0px 2px 8px -2px rgba(${p("shadowChannel",D)} / ${p("shadowOpacity",j)}), 0px 6px 12px -2px rgba(${p("shadowChannel",D)} / ${p("shadowOpacity",j)})`,lg:`${p("shadowRing",_)}, 0px 2px 8px -2px rgba(${p("shadowChannel",D)} / ${p("shadowOpacity",j)}), 0px 12px 16px -4px rgba(${p("shadowChannel",D)} / ${p("shadowOpacity",j)})`,xl:`${p("shadowRing",_)}, 0px 2px 8px -2px rgba(${p("shadowChannel",D)} / ${p("shadowOpacity",j)}), 0px 20px 24px -4px rgba(${p("shadowChannel",D)} / ${p("shadowOpacity",j)})`},zIndex:{badge:1,table:10,popup:1e3,modal:1300,snackbar:1400,tooltip:1500},typography:{h1:{fontFamily:p(`fontFamily-display, ${A.display}`),fontWeight:p(`fontWeight-xl, ${O.xl}`),fontSize:p(`fontSize-xl4, ${B.xl4}`),lineHeight:p(`lineHeight-xs, ${I.xs}`),letterSpacing:"-0.025em",color:p(`palette-text-primary, ${T.palette.text.primary}`)},h2:{fontFamily:p(`fontFamily-display, ${A.display}`),fontWeight:p(`fontWeight-xl, ${O.xl}`),fontSize:p(`fontSize-xl3, ${B.xl3}`),lineHeight:p(`lineHeight-xs, ${I.xs}`),letterSpacing:"-0.025em",color:p(`palette-text-primary, ${T.palette.text.primary}`)},h3:{fontFamily:p(`fontFamily-display, ${A.display}`),fontWeight:p(`fontWeight-lg, ${O.lg}`),fontSize:p(`fontSize-xl2, ${B.xl2}`),lineHeight:p(`lineHeight-xs, ${I.xs}`),letterSpacing:"-0.025em",color:p(`palette-text-primary, ${T.palette.text.primary}`)},h4:{fontFamily:p(`fontFamily-display, ${A.display}`),fontWeight:p(`fontWeight-lg, ${O.lg}`),fontSize:p(`fontSize-xl, ${B.xl}`),lineHeight:p(`lineHeight-md, ${I.md}`),letterSpacing:"-0.025em",color:p(`palette-text-primary, ${T.palette.text.primary}`)},"title-lg":{fontFamily:p(`fontFamily-body, ${A.body}`),fontWeight:p(`fontWeight-lg, ${O.lg}`),fontSize:p(`fontSize-lg, ${B.lg}`),lineHeight:p(`lineHeight-xs, ${I.xs}`),color:p(`palette-text-primary, ${T.palette.text.primary}`)},"title-md":{fontFamily:p(`fontFamily-body, ${A.body}`),fontWeight:p(`fontWeight-md, ${O.md}`),fontSize:p(`fontSize-md, ${B.md}`),lineHeight:p(`lineHeight-md, ${I.md}`),color:p(`palette-text-primary, ${T.palette.text.primary}`)},"title-sm":{fontFamily:p(`fontFamily-body, ${A.body}`),fontWeight:p(`fontWeight-md, ${O.md}`),fontSize:p(`fontSize-sm, ${B.sm}`),lineHeight:p(`lineHeight-sm, ${I.sm}`),color:p(`palette-text-primary, ${T.palette.text.primary}`)},"body-lg":{fontFamily:p(`fontFamily-body, ${A.body}`),fontSize:p(`fontSize-lg, ${B.lg}`),lineHeight:p(`lineHeight-md, ${I.md}`),color:p(`palette-text-secondary, ${T.palette.text.secondary}`)},"body-md":{fontFamily:p(`fontFamily-body, ${A.body}`),fontSize:p(`fontSize-md, ${B.md}`),lineHeight:p(`lineHeight-md, ${I.md}`),color:p(`palette-text-secondary, ${T.palette.text.secondary}`)},"body-sm":{fontFamily:p(`fontFamily-body, ${A.body}`),fontSize:p(`fontSize-sm, ${B.sm}`),lineHeight:p(`lineHeight-md, ${I.md}`),color:p(`palette-text-tertiary, ${T.palette.text.tertiary}`)},"body-xs":{fontFamily:p(`fontFamily-body, ${A.body}`),fontWeight:p(`fontWeight-md, ${O.md}`),fontSize:p(`fontSize-xs, ${B.xs}`),lineHeight:p(`lineHeight-md, ${I.md}`),color:p(`palette-text-tertiary, ${T.palette.text.tertiary}`)}}},N=v?Kn(R,v):R,{colorSchemes:H}=N,Q=Xe(N,QM),Y=F({colorSchemes:H},Q,{breakpoints:Mb(m??{}),components:Kn({MuiSvgIcon:{defaultProps:{fontSize:"xl2"},styleOverrides:{root:({ownerState:V,theme:X})=>{var W;const z=V.instanceFontSize;return F({margin:"var(--Icon-margin)"},V.fontSize&&V.fontSize!=="inherit"&&{fontSize:`var(--Icon-fontSize, ${X.vars.fontSize[V.fontSize]})`},!V.htmlColor&&F({color:`var(--Icon-color, ${Y.vars.palette.text.icon})`},V.color&&V.color!=="inherit"&&X.vars.palette[V.color]&&{color:`rgba(${(W=X.vars.palette[V.color])==null?void 0:W.mainChannel} / 1)`}),z&&z!=="inherit"&&{"--Icon-fontSize":X.vars.fontSize[z]})}}}},y),cssVarPrefix:f,getCssVar:p,spacing:Bb(g)});function re(V,X){Object.keys(X).forEach(W=>{const z={main:"500",light:"200",dark:"700"};V==="dark"&&(z.main=400),!X[W].mainChannel&&X[W][z.main]&&(X[W].mainChannel=Wr(X[W][z.main])),!X[W].lightChannel&&X[W][z.light]&&(X[W].lightChannel=Wr(X[W][z.light])),!X[W].darkChannel&&X[W][z.dark]&&(X[W].darkChannel=Wr(X[W][z.dark]))})}Object.entries(Y.colorSchemes).forEach(([V,X])=>{re(V,X.palette)});const te={prefix:f,shouldSkipGeneratingVar:h},{vars:ce,generateCssVars:de}=AM(F({colorSchemes:H},Q),te);Y.vars=ce,Y.generateCssVars=de,Y.unstable_sxConfig=F({},KM,void 0),Y.unstable_sx=function(X){return wc({sx:X,theme:this})},Y.getColorSchemeSelector=V=>V==="light"?"&":`&[data-joy-color-scheme="${V}"], [data-joy-color-scheme="${V}"] &`;const oe={getCssVar:p,palette:Y.colorSchemes.light.palette};return Y.variants=Kn({plain:yt("plain",oe),plainHover:yt("plainHover",oe),plainActive:yt("plainActive",oe),plainDisabled:yt("plainDisabled",oe),outlined:yt("outlined",oe),outlinedHover:yt("outlinedHover",oe),outlinedActive:yt("outlinedActive",oe),outlinedDisabled:yt("outlinedDisabled",oe),soft:yt("soft",oe),softHover:yt("softHover",oe),softActive:yt("softActive",oe),softDisabled:yt("softDisabled",oe),solid:yt("solid",oe),solidHover:yt("solidHover",oe),solidActive:yt("solidActive",oe),solidDisabled:yt("solidDisabled",oe)},w),Y.palette=F({},Y.colorSchemes.light.palette,{colorScheme:"light"}),Y.shouldSkipGeneratingVar=h,Y.applyStyles=Db,Y}const Hb=JM(),lr=Lb({defaultTheme:Hb,themeId:Rb});function Ai({props:e,name:t}){return Nb({props:e,name:t,defaultTheme:F({},Hb,{components:{}}),themeId:Rb})}function e4(e){return typeof e=="string"}function t4(e,t,n){return e===void 0||e4(e)?t:F({},t,{ownerState:F({},t.ownerState,n)})}function n4(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 r4(e,t,n){return typeof e=="function"?e(t,n):e}function ya(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,s)=>{if(s){const a=t(s);a!==""&&i.push(a),n&&n[s]&&i.push(n[s])}return i},[]).join(" ")}),r}function F0(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function o4(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const m=q(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),g=F({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),y=F({},n,o,r);return m.length>0&&(y.className=m),Object.keys(g).length>0&&(y.style=g),{props:y,internalRef:void 0}}const s=n4(F({},o,r)),a=F0(r),l=F0(o),u=t(s),c=q(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),d=F({},u==null?void 0:u.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),f=F({},u,n,l,a);return c.length>0&&(f.className=c),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:u.ref}}const i4=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],s4=["component","slots","slotProps"],a4=["component"];function gi(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,getSlotOwnerState:s,internalForwardedProps:a}=t,l=Xe(t,i4),{component:u,slots:c={[e]:void 0},slotProps:d={[e]:void 0}}=i,f=Xe(i,s4),m=c[e]||r,g=r4(d[e],o),y=o4(F({className:n},l,{externalForwardedProps:e==="root"?f:void 0,externalSlotProps:g})),{props:{component:w},internalRef:h}=y,v=Xe(y.props,a4),p=wM(h,g==null?void 0:g.ref,t.ref),b=s?s(v):{},S=F({},o,b),P=e==="root"?w||u:w,$=t4(m,F({},e==="root"&&!u&&!c[e]&&a,e!=="root"&&!c[e]&&a,v,P&&{as:P},{ref:p}),S);return Object.keys(b).forEach(T=>{delete $[T]}),[m,$]}const l4=({theme:e,ownerState:t},n)=>{let r={};function o(i){if(typeof i=="function"){const s=i(e);o(s)}else Array.isArray(i)?i.forEach(s=>{typeof s!="boolean"&&o(s)}):typeof i=="object"&&(r=F({},r,i))}return t.sx&&(o(t.sx),n.forEach(i=>{const s=r[i];if(typeof s=="string"||typeof s=="number")if(i==="borderRadius")if(typeof s=="number")r[i]=`${s}px`;else{var a;r[i]=((a=e.vars)==null?void 0:a.radius[s])||s}else["p","padding","m","margin"].indexOf(i)!==-1&&typeof s=="number"?r[i]=e.spacing(s):r[i]=s;else typeof s=="function"?r[i]=s(e):r[i]=void 0})),r},Vh=e=>t=>`--${e?`${e}-`:""}${t.replace(/^--/,"")}`,ou="data-skip-inverted-colors",Wb=`& :not([${ou}], [${ou}] *)`,Ub=e=>{var t,n,r,o,i,s,a,l,u,c,d,f,m,g,y,w,h,v,p,b,S,P;const $=Vh(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")]:{[$("--palette-focusVisible")]:`${(t=e.colorSchemes.light)==null?void 0:t.palette.focusVisible} !important`,[$("--palette-background-body")]:`${(n=e.colorSchemes.light)==null?void 0:n.palette.background.body} !important`,[$("--palette-background-surface")]:`${(r=e.colorSchemes.light)==null?void 0:r.palette.background.surface} !important`,[$("--palette-background-popup")]:`${(o=e.colorSchemes.light)==null?void 0:o.palette.background.popup} !important`,[$("--palette-background-level1")]:`${(i=e.colorSchemes.light)==null?void 0:i.palette.background.level1} !important`,[$("--palette-background-level2")]:`${(s=e.colorSchemes.light)==null?void 0:s.palette.background.level2} !important`,[$("--palette-background-level3")]:`${(a=e.colorSchemes.light)==null?void 0:a.palette.background.level3} !important`,[$("--palette-text-primary")]:`${(l=e.colorSchemes.light)==null?void 0:l.palette.text.primary} !important`,[$("--palette-text-secondary")]:`${(u=e.colorSchemes.light)==null?void 0:u.palette.text.secondary} !important`,[$("--palette-text-tertiary")]:`${(c=e.colorSchemes.light)==null?void 0:c.palette.text.tertiary} !important`,[$("--palette-divider")]:`${(d=e.colorSchemes.light)==null?void 0:d.palette.divider} !important`},[e.getColorSchemeSelector("dark")]:{[$("--palette-focusVisible")]:`${(f=e.colorSchemes.dark)==null?void 0:f.palette.focusVisible} !important`,[$("--palette-background-body")]:`${(m=e.colorSchemes.dark)==null?void 0:m.palette.background.body} !important`,[$("--palette-background-surface")]:`${(g=e.colorSchemes.dark)==null?void 0:g.palette.background.surface} !important`,[$("--palette-background-popup")]:`${(y=e.colorSchemes.dark)==null?void 0:y.palette.background.popup} !important`,[$("--palette-background-level1")]:`${(w=e.colorSchemes.dark)==null?void 0:w.palette.background.level1} !important`,[$("--palette-background-level2")]:`${(h=e.colorSchemes.dark)==null?void 0:h.palette.background.level2} !important`,[$("--palette-background-level3")]:`${(v=e.colorSchemes.dark)==null?void 0:v.palette.background.level3} !important`,[$("--palette-text-primary")]:`${(p=e.colorSchemes.dark)==null?void 0:p.palette.text.primary} !important`,[$("--palette-text-secondary")]:`${(b=e.colorSchemes.dark)==null?void 0:b.palette.text.secondary} !important`,[$("--palette-text-tertiary")]:`${(S=e.colorSchemes.dark)==null?void 0:S.palette.text.tertiary} !important`,[$("--palette-divider")]:`${(P=e.colorSchemes.dark)==null?void 0:P.palette.divider} !important`}}};function u4(e){return e.theme!==void 0}const c4=e=>t=>{const n=u4(t)?t.theme:t,r=Nh(n.cssVarPrefix),o=Vh(n.cssVarPrefix),i=s=>{const a=s.split("-");return r(s,n.palette[a[1]][a[2]])};return{[Wb]:{"--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)`}},[`&, & [${ou}]`]:Ub(n)}},d4=e=>t=>{const{theme:n=t}=t,r=Nh(n.cssVarPrefix),o=Vh(n.cssVarPrefix),i=s=>{const a=s.split("-");return r(s,n.palette[a[1]][a[2]])};return{[Wb]:{"--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)`}},[`&, & [${ou}]`]:Ub(n)}};function f4(e){return Ri("MuiAspectRatio",e)}yo("MuiAspectRatio",["root","content","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);const p4=["children","ratio","minHeight","maxHeight","objectFit","color","variant","component","flex","slots","slotProps"],h4=e=>{const{variant:t,color:n}=e,r={root:["root"],content:["content",t&&`variant${In(t)}`,n&&`color${In(n)}`]};return ya(r,f4,{})},m4=lr("div",{name:"JoyAspectRatio",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e,theme:t})=>{const n=typeof e.minHeight=="number"?`${e.minHeight}px`:e.minHeight,r=typeof e.maxHeight=="number"?`${e.maxHeight}px`:e.maxHeight;return{"--AspectRatio-paddingBottom":`clamp(var(--AspectRatio-minHeight), calc(100% / (${e.ratio})), var(--AspectRatio-maxHeight))`,"--AspectRatio-maxHeight":r||"9999px","--AspectRatio-minHeight":n||"0px","--Icon-color":e.color!=="neutral"||e.variant==="solid"?"currentColor":t.vars.palette.text.icon,borderRadius:"var(--AspectRatio-radius)",display:e.flex?"flex":"block",flex:e.flex?1:"initial",flexDirection:"column",margin:"var(--AspectRatio-margin)"}}),g4=lr("div",{name:"JoyAspectRatio",slot:"Content",overridesResolver:(e,t)=>t.content})(({theme:e,ownerState:t})=>{var n;return F({flex:1,position:"relative",borderRadius:"inherit",height:0,paddingBottom:"calc(var(--AspectRatio-paddingBottom) - 2 * var(--variant-borderWidth, 0px))",overflow:"hidden",transition:"inherit","& [data-first-child]":{display:"flex",justifyContent:"center",alignItems:"center",boxSizing:"border-box",position:"absolute",width:"100%",height:"100%",objectFit:t.objectFit,margin:0,padding:0,"& > img":{width:"100%",height:"100%",objectFit:t.objectFit}}},e.typography["body-md"],(n=e.variants[t.variant])==null?void 0:n[t.color])}),N0=x.forwardRef(function(t,n){const r=Ai({props:t,name:"JoyAspectRatio"}),{children:o,ratio:i="16 / 9",minHeight:s,maxHeight:a,objectFit:l="cover",color:u="neutral",variant:c="soft",component:d,flex:f=!1,slots:m={},slotProps:g={}}=r,y=Xe(r,p4),w=F({},r,{flex:f,minHeight:s,maxHeight:a,objectFit:l,ratio:i,color:u,variant:c}),h=h4(w),v=F({},y,{component:d,slots:m,slotProps:g}),[p,b]=gi("root",{ref:n,className:h.root,elementType:m4,externalForwardedProps:v,ownerState:w}),[S,P]=gi("content",{className:h.content,elementType:g4,externalForwardedProps:v,ownerState:w});return k.jsx(p,F({},b,{children:k.jsx(S,F({},P,{children:x.Children.map(o,($,T)=>T===0&&x.isValidElement($)?x.cloneElement($,{"data-first-child":""}):$)}))}))}),_0=yo("MuiButton",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg","fullWidth","startDecorator","endDecorator","loading","loadingIndicatorCenter"]);function v4(e){return Ri("MuiCard",e)}const y4=yo("MuiCard",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","horizontal","vertical"]),Ro=y4,x4=["className","color","component","invertedColors","size","variant","children","orientation","slots","slotProps"],b4=e=>{const{size:t,variant:n,color:r,orientation:o}=e,i={root:["root",o,n&&`variant${In(n)}`,r&&`color${In(r)}`,t&&`size${In(t)}`]};return ya(i,v4,{})},C4=lr("div")(({theme:e,ownerState:t})=>{var n;const{p:r,padding:o,borderRadius:i}=l4({theme:e,ownerState:t},["p","padding","borderRadius"]);return[F({"--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&&c4(t.color)(e),t.variant==="soft"&&t.color&&t.invertedColors&&d4(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}]}),S4=lr(C4,{name:"JoyCard",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Gb=x.forwardRef(function(t,n){const r=Ai({props:t,name:"JoyCard"}),{className:o,color:i="neutral",component:s="div",invertedColors:a=!1,size:l="md",variant:u="outlined",children:c,orientation:d="vertical",slots:f={},slotProps:m={}}=r,g=Xe(r,x4),y=F({},r,{color:i,component:s,orientation:d,size:l,variant:u,invertedColors:a}),w=b4(y),h=F({},g,{component:s,slots:f,slotProps:m}),[v,p]=gi("root",{ref:n,className:q(w.root,o),elementType:S4,externalForwardedProps:h,ownerState:y});return k.jsx(v,F({},p,{children:x.Children.map(c,(b,S)=>{if(!x.isValidElement(b))return b;const P={};if(zb(b,["Divider"])){P.inset="inset"in b.props?b.props.inset:"context";const $=d==="vertical"?"horizontal":"vertical";P.orientation="orientation"in b.props?b.props.orientation:$}return S===0&&(P["data-first-child"]=""),S===x.Children.count(c)-1&&(P["data-last-child"]=""),x.cloneElement(b,P)})}))});function w4(e){return Ri("MuiCardOverflow",e)}const k4=yo("MuiCardOverflow",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);function $4(e){return Ri("MuiDivider",e)}yo("MuiDivider",["root","horizontal","vertical","insetContext","insetNone"]);function P4(e){return Ri("MuiCardContent",e)}yo("MuiCardContent",["root"]);const T4=["className","component","children","orientation","slots","slotProps"],E4=()=>ya({root:["root"]},P4,{}),R4=lr("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)",[`.${k4.root} > &`]:{"--unstable_padding":"calc(var(--Card-padding) * 0.75) 0px"}})),A4=lr(R4,{name:"JoyCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({}),z0=x.forwardRef(function(t,n){const r=Ai({props:t,name:"JoyCardContent"}),{className:o,component:i="div",children:s,orientation:a="vertical",slots:l={},slotProps:u={}}=r,c=Xe(r,T4),d=F({},c,{component:i,slots:l,slotProps:u}),f=F({},r,{component:i,orientation:a}),m=E4(),[g,y]=gi("root",{ref:n,className:q(m.root,o),elementType:A4,externalForwardedProps:d,ownerState:f});return k.jsx(g,F({},y,{children:s}))}),M4=yo("MuiModalDialog",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","layoutCenter","layoutFullscreen"]),O4=["className","component","children","color","variant","slots","slotProps"],I4=e=>{const{variant:t,color:n}=e,r={root:["root",t&&`variant${In(t)}`,n&&`color${In(n)}`]};return ya(r,w4,{})},B4=lr("div",{name:"JoyCardOverflow",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var n;const r="calc(var(--CardOverflow-radius) - var(--variant-borderWidth, 0px))";return F({alignSelf:"stretch",position:"relative",display:"flex",flexDirection:"var(--_CardOverflow-flexDirection)",margin:"var(--_CardOverflow-margin)",borderRadius:"var(--_CardOverflow-radius)",padding:"var(--_CardOverflow-padding)",[`.${Ro.vertical} &, .${Ro.horizontal} .${Ro.vertical} &, .${M4.root} &`]:{"--_CardOverflow-flexDirection":"column","--AspectRatio-margin":"0 calc(-1 * var(--Card-padding))","--_CardOverflow-margin":"0 var(--CardOverflow-offset)","--_CardOverflow-padding":"0 var(--Card-padding)","&[data-first-child]":{"--AspectRatio-radius":`${r} ${r} 0 0`,"--_CardOverflow-radius":"var(--CardOverflow-radius) var(--CardOverflow-radius) 0 0","--_CardOverflow-margin":"var(--CardOverflow-offset) var(--CardOverflow-offset) 0"},"&[data-last-child]":{"--AspectRatio-radius":`0 0 ${r} ${r}`,"--_CardOverflow-radius":"0 0 var(--CardOverflow-radius) var(--CardOverflow-radius)","--_CardOverflow-margin":"0 var(--CardOverflow-offset) var(--CardOverflow-offset)"},"&[data-last-child][data-first-child]":{"--AspectRatio-radius":r,"--_CardOverflow-margin":"var(--CardOverflow-offset)"},[`& > .${_0.root}:only-child`]:{zIndex:1,width:"calc(100% + -2 * var(--CardOverflow-offset))","--Button-margin":"0 var(--CardOverflow-offset)","--Button-radius":"0 0 var(--CardOverflow-radius) var(--CardOverflow-radius)"}},[`.${Ro.horizontal} &, .${Ro.vertical} .${Ro.horizontal} &`]:{"--_CardOverflow-flexDirection":"row","--AspectRatio-margin":"calc(-1 * var(--Card-padding)) 0px","--_CardOverflow-margin":"var(--CardOverflow-offset) 0px","--_CardOverflow-padding":"var(--Card-padding) 0px","&[data-first-child]":{"--AspectRatio-radius":`${r} 0 0 ${r}`,"--_CardOverflow-radius":"var(--CardOverflow-radius) 0 0 var(--CardOverflow-radius)","--_CardOverflow-margin":"var(--CardOverflow-offset) 0px var(--CardOverflow-offset) var(--CardOverflow-offset)"},"&[data-last-child]":{"--AspectRatio-radius":`0 ${r} ${r} 0`,"--_CardOverflow-radius":"0 var(--CardOverflow-radius) var(--CardOverflow-radius) 0","--_CardOverflow-margin":"var(--CardOverflow-offset) var(--CardOverflow-offset) var(--CardOverflow-offset) 0px"},"&[data-last-child][data-first-child]":{"--AspectRatio-radius":r,"--_CardOverflow-margin":"var(--CardOverflow-offset)"},[`& > .${_0.root}:only-child`]:{height:"calc(100% + -2 * var(--CardOverflow-offset))","--Button-margin":"var(--CardOverflow-offset) 0","--Button-radius":"0 var(--CardOverflow-radius) var(--CardOverflow-radius) 0"}}},(n=e.variants[t.variant])==null?void 0:n[t.color])}),hl=x.forwardRef(function(t,n){const r=Ai({props:t,name:"JoyCardOverflow"}),{className:o,component:i="div",children:s,color:a="neutral",variant:l="plain",slots:u={},slotProps:c={}}=r,d=Xe(r,O4),f=F({},r,{component:i,color:a,variant:l}),m=I4(f),g=F({},d,{component:i,slots:u,slotProps:c}),[y,w]=gi("root",{ref:n,className:q(m.root,o),elementType:B4,externalForwardedProps:g,ownerState:f});return k.jsx(y,F({},w,{children:s}))});hl.muiName="CardOverflow";const D4=["className","children","component","inset","orientation","role","slots","slotProps"],j4=e=>{const{orientation:t,inset:n}=e,r={root:["root",t,n&&`inset${In(n)}`]};return ya(r,$4,{})},L4=lr("hr",{name:"JoyDivider",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>F({"--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?F({"--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)"})),Kb=x.forwardRef(function(t,n){const r=Ai({props:t,name:"JoyDivider"}),{className:o,children:i,component:s=i!=null?"div":"hr",inset:a,orientation:l="horizontal",role:u=s!=="hr"?"separator":void 0,slots:c={},slotProps:d={}}=r,f=Xe(r,D4),m=F({},r,{inset:a,role:u,orientation:l,component:s}),g=j4(m),y=F({},f,{component:s,slots:c,slotProps:d}),[w,h]=gi("root",{ref:n,className:q(g.root,o),elementType:L4,externalForwardedProps:y,ownerState:m,additionalProps:F({as:s,role:u},u==="separator"&&l==="vertical"&&{"aria-orientation":"vertical"})});return k.jsx(w,F({},h,{children:i}))});Kb.muiName="Divider";const At=GM({createStyledComponent:lr("div",{name:"JoyGrid",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>Ai({props:e,name:"JoyGrid"})}),Hh=[{Id:"1",name:"Taichung Beauty",rating:5,isSpecial:!0,image:"https://barritaorchids.com/cdn/shop/products/Cf592_1024x1024.jpg",color:"pink",origin:"Taiwan",category:"Cattleya",detail:"A striking orchid with large, vibrant pink flowers. Native to Taiwan, the Taichung Beauty is highly valued for its bold colors and long-lasting blooms. It is commonly cultivated for decorative purposes."},{Id:"2",name:"Phalaenopsis Elegance",rating:4,isSpecial:!0,image:"https://images.unsplash.com/photo-1639374593182-88b49b80a688?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8UGhhbGFlbm9wc2lzJTIwRWxlZ2FuY2V8ZW58MHx8MHx8fDA%3D",color:"white",origin:"Thailand",category:"Phalaenopsis",detail:"This elegant orchid is admired for its pure white petals and graceful appearance. Originating from Thailand, the Phalaenopsis Elegance is widely known as the 'Moth Orchid' due to its petal shape and is commonly grown in households."},{Id:"3",name:"Vanda Blue Charm",rating:5,isSpecial:!1,image:"https://plus.unsplash.com/premium_photo-1666855258034-8d2c36091ec1?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"blue",origin:"Philippines",category:"Vanda",detail:"Known for its rare and vibrant blue color, the Vanda Blue Charm is an exotic orchid native to the Philippines. Its large, stunning flowers make it a highly sought-after plant in orchid collections worldwide."},{Id:"4",name:"Dendrobium Noble",rating:3,isSpecial:!1,image:"https://www.gardentags.com/plant-encyclopedia/images/2703/dendrobium-nobile.jpeg",color:"purple",origin:"Vietnam",category:"Dendrobium",detail:"With its compact size and beautiful purple blooms, the Dendrobium Noble is a versatile orchid perfect for both indoor and outdoor environments. It thrives in warm, tropical climates and is widely grown in Vietnam."},{Id:"5",name:"Cymbidium Green Glow",rating:4,isSpecial:!0,image:"https://plus.unsplash.com/premium_photo-1689643577385-57af0aba150e?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"green",origin:"China",category:"Cymbidium",detail:"This unique orchid stands out with its fresh green color. Known for its hardiness, the Cymbidium Green Glow originates from China and is often used in floral arrangements due to its long-lasting nature and elegant presence."},{Id:"6",name:"Oncidium Shining Star",rating:5,isSpecial:!0,image:"https://plus.unsplash.com/premium_photo-1674343963928-d67007d2ae74?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"yellow",origin:"Brazil",category:"Oncidium",detail:"With bright yellow flowers, the Oncidium Shining Star is known for its cheerful appearance. Native to Brazil, this orchid is easy to care for and is commonly used in decorative displays, making it a favorite among gardeners."},{Id:"7",name:"Paphiopedilum Venus",rating:4,isSpecial:!1,image:"https://images.unsplash.com/photo-1516477266610-9e4c763da721?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"red",origin:"India",category:"Paphiopedilum",detail:"Often referred to as the 'Lady Slipper Orchid', Paphiopedilum Venus is notable for its unique pouch-shaped petals. Originating from India, it is loved for its striking red flowers and is a prized addition to many collections."},{Id:"8",name:"Cattleya Golden Sunset",rating:5,isSpecial:!0,image:"https://plus.unsplash.com/premium_photo-1726192307773-cb64923bdc63?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"orange",origin:"Colombia",category:"Cattleya",detail:"The Cattleya Golden Sunset is admired for its bright orange flowers that evoke the beauty of a tropical sunset. Originating from Colombia, this orchid is often associated with warmth and happiness, making it a popular decorative plant."},{Id:"9",name:"Zygopetalum Tropical Beauty",rating:3,isSpecial:!1,image:"https://plus.unsplash.com/premium_photo-1681276170873-c6071233076e?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"brown",origin:"Costa Rica",category:"Zygopetalum",detail:"Known for its distinct brown and purple blooms, the Zygopetalum Tropical Beauty is native to Costa Rica. This orchid thrives in humid environments and is popular for its exotic appearance and delightful fragrance."},{Id:"10",name:"Maxillaria Coconut Delight",rating:4,isSpecial:!1,image:"https://images.unsplash.com/photo-1454262041357-5d96f50a2f27?q=80&w=1169&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"white",origin:"Mexico",category:"Maxillaria",detail:"Emitting a sweet coconut scent, the Maxillaria Coconut Delight is loved by orchid enthusiasts for its fragrance and delicate white blooms. Native to Mexico, this orchid brings a tropical essence to any setting."},{Id:"11",name:"Brassia Spider Star",rating:5,isSpecial:!0,image:"https://plus.unsplash.com/premium_photo-1663962390315-0825787f07a8?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"green",origin:"Ecuador",category:"Brassia",detail:"Known as the 'Spider Orchid' for its long, spindly petals, the Brassia Spider Star has a unique and captivating appearance. Originating from Ecuador, it is a favorite among collectors for its striking structure and greenish hues."},{Id:"12",name:"Laelia Pink Paradise",rating:4,isSpecial:!1,image:"https://littleorchidannie.com/cdn/shop/files/Ctly._Spring_Fragrance_flower__75160.jpg?v=1714437883&width=533",color:"pink",origin:"Mexico",category:"Laelia",detail:"With soft pink petals and a subtle fragrance, the Laelia Pink Paradise is a native of Mexico. It symbolizes love and beauty, often used in romantic bouquets."},{Id:"13",name:"Bulbophyllum Medusae",rating:5,isSpecial:!0,image:"https://www.laforestaorchids.com/cdn/shop/files/bulbophyllum-medusae-bulbophyllum-la-foresta-orchids-295241.jpg?v=1701390801",color:"white",origin:"Malaysia",category:"Bulbophyllum",detail:"An unusual and exotic orchid, the Bulbophyllum Medusae has long, tendril-like petals resembling the mythical Medusa. Native to Malaysia, it is favored by collectors for its bizarre yet fascinating appearance."},{Id:"14",name:"Coelogyne Cristata",rating:4,isSpecial:!1,image:"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqs0jSeBbqz4JXop6kfH-v1SADXUDoKmmQYJVbKRo2Yg-3p4dvSidePWrU70J0A-embOKQLxGsae5d9QhH_QUYg0Cc0Hw4Ud14aQma5nJyN3jEYaQw-pTZtttCoMlGWsrXj2yd3Z5VseE/s1600/1024px-Coelogyne_cristata_3.jpg",color:"white",origin:"Himalayas",category:"Coelogyne",detail:"With pristine white blooms, Coelogyne Cristata is often associated with purity and serenity. Originating from the Himalayan region, it thrives in cool climates and is popular for its cascading flowers."},{Id:"15",name:"Miltonia Sunset",rating:3,isSpecial:!1,image:"https://tropicalorchidsportugal.com/wp-content/uploads/2024/03/miltonia-sunset-02-1-1-1.png",color:"pink",origin:"Brazil",category:"Miltonia",detail:"Miltonia Sunset boasts vibrant pink flowers with a golden center, resembling a tropical sunset. Native to Brazil, this orchid is loved for its beauty and is often grown in warm, humid environments."},{Id:"16",name:"Phragmipedium Scarlet Flame",rating:5,isSpecial:!0,image:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTnzBaj1vWww3IbBvo2SVVHEkSrNzpGhl2fJg&s",color:"red",origin:"Peru",category:"Phragmipedium",detail:"A captivating orchid with fiery red flowers, the Phragmipedium Scarlet Flame is a rare beauty from Peru. Its striking color and exotic appearance make it highly desired by collectors."}];function F4({orchid:e}){const[t,n]=x.useState(!1),[r,o]=x.useState(null);return{isVisible:t,detail:r,showModal:a=>{o(a),n(!0)},hideModal:()=>n(!1)}}const Wh=lt(k.jsx("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7m0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5"}),"LocationOn"),Yb=lt([k.jsx("path",{d:"m12 2-5.5 9h11z"},"0"),k.jsx("circle",{cx:"17.5",cy:"17.5",r:"4.5"},"1"),k.jsx("path",{d:"M3 13.5h8v8H3z"},"2")],"Category");function N4(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...r)=>e(...r);return new Proxy(n,{get:(r,o)=>o==="create"?e:(t.has(o)||t.set(o,e(o)),t.get(o))})}function qs(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Uf=e=>Array.isArray(e);function Xb(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Uh(e,t,n,r){if(typeof t=="function"){const[o,i]=V0(r);t=t(n!==void 0?n:e.custom,o,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[o,i]=V0(r);t=t(n!==void 0?n:e.custom,o,i)}return t}function kc(e,t,n){const r=e.getProps();return Uh(r,t,n!==void 0?n:r.custom,e)}const Gh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Kh=["initial",...Gh],xa=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],_r=new Set(xa),Yn=e=>e*1e3,Xn=e=>e/1e3,_4={type:"spring",stiffness:500,damping:25,restSpeed:10},z4=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),V4={type:"keyframes",duration:.8},H4={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},W4=(e,{keyframes:t})=>t.length>2?V4:_r.has(e)?e.startsWith("scale")?z4(t[1]):_4:H4;function Yh(e,t){return e[t]||e.default||e}const U4={skipAnimations:!1,useManualTiming:!1},G4=e=>e!==null;function $c(e,{repeat:t,repeatType:n="loop"},r){const o=e.filter(G4),i=t&&n!=="loop"&&t%2===1?0:o.length-1;return!i||r===void 0?o[i]:r}const kt=e=>e;function K4(e){let t=new Set,n=new Set,r=!1,o=!1;const i=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function a(u){i.has(u)&&(l.schedule(u),e()),u(s)}const l={schedule:(u,c=!1,d=!1)=>{const m=d&&r?t:n;return c&&i.add(u),m.has(u)||m.add(u),u},cancel:u=>{n.delete(u),i.delete(u)},process:u=>{if(s=u,r){o=!0;return}r=!0,[t,n]=[n,t],n.clear(),t.forEach(a),r=!1,o&&(o=!1,l.process(u))}};return l}const Ya=["read","resolveKeyframes","update","preRender","render","postRender"],Y4=40;function qb(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,s=Ya.reduce((h,v)=>(h[v]=K4(i),h),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:d,postRender:f}=s,m=()=>{const h=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(h-o.timestamp,Y4),1),o.timestamp=h,o.isProcessing=!0,a.process(o),l.process(o),u.process(o),c.process(o),d.process(o),f.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(m))},g=()=>{n=!0,r=!0,o.isProcessing||e(m)};return{schedule:Ya.reduce((h,v)=>{const p=s[v];return h[v]=(b,S=!1,P=!1)=>(n||g(),p.schedule(b,S,P)),h},{}),cancel:h=>{for(let v=0;v(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,X4=1e-7,q4=12;function Q4(e,t,n,r,o){let i,s,a=0;do s=t+(n-t)/2,i=Qb(s,r,o)-e,i>0?n=s:t=s;while(Math.abs(i)>X4&&++aQ4(i,0,1,e,n);return i=>i===0||i===1?i:Qb(o(i),t,r)}const Zb=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Jb=e=>t=>1-e(1-t),eC=ba(.33,1.53,.69,.99),Xh=Jb(eC),tC=Zb(Xh),nC=e=>(e*=2)<1?.5*Xh(e):.5*(2-Math.pow(2,-10*(e-1))),qh=e=>1-Math.sin(Math.acos(e)),rC=Jb(qh),oC=Zb(qh),iC=e=>/^0[^.\s]+$/u.test(e);function Z4(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||iC(e):!0}let Gf=kt;const sC=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),aC=e=>t=>typeof t=="string"&&t.startsWith(e),lC=aC("--"),J4=aC("var(--"),Qh=e=>J4(e)?eO.test(e.split("/*")[0].trim()):!1,eO=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,tO=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function nO(e){const t=tO.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}function uC(e,t,n=1){const[r,o]=nO(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const s=i.trim();return sC(s)?parseFloat(s):s}return Qh(o)?uC(o,t,n+1):o}const Br=(e,t,n)=>n>t?t:ntypeof e=="number",parse:parseFloat,transform:e=>e},Zs={...Mi,transform:e=>Br(0,1,e)},Xa={...Mi,default:1},Ca=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),dr=Ca("deg"),Bn=Ca("%"),J=Ca("px"),rO=Ca("vh"),oO=Ca("vw"),H0={...Bn,parse:e=>Bn.parse(e)/100,transform:e=>Bn.transform(e*100)},iO=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),W0=e=>e===Mi||e===J,U0=(e,t)=>parseFloat(e.split(", ")[t]),G0=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/u);if(o)return U0(o[1],t);{const i=r.match(/^matrix\((.+)\)$/u);return i?U0(i[1],e):0}},sO=new Set(["x","y","z"]),aO=xa.filter(e=>!sO.has(e));function lO(e){const t=[];return aO.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const vi={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:G0(4,13),y:G0(5,14)};vi.translateX=vi.x;vi.translateY=vi.y;const cC=e=>t=>t.test(e),uO={test:e=>e==="auto",parse:e=>e},dC=[Mi,J,Bn,dr,oO,rO,uO],K0=e=>dC.find(cC(e)),so=new Set;let Kf=!1,Yf=!1;function fC(){if(Yf){const e=Array.from(so).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const o=lO(r);o.length&&(n.set(r,o),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const o=n.get(r);o&&o.forEach(([i,s])=>{var a;(a=r.getValue(i))===null||a===void 0||a.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Yf=!1,Kf=!1,so.forEach(e=>e.complete()),so.clear()}function pC(){so.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Yf=!0)})}function cO(){pC(),fC()}class Zh{constructor(t,n,r,o,i,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=o,this.element=i,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(so.add(this),Kf||(Kf=!0,be.read(pC),be.resolveKeyframes(fC))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:o}=this;for(let i=0;iMath.round(e*1e5)/1e5,Jh=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function dO(e){return e==null}const fO=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,em=(e,t)=>n=>!!(typeof n=="string"&&fO.test(n)&&n.startsWith(e)||t&&!dO(n)&&Object.prototype.hasOwnProperty.call(n,t)),hC=(e,t,n)=>r=>{if(typeof r!="string")return r;const[o,i,s,a]=r.match(Jh);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},pO=e=>Br(0,255,e),xd={...Mi,transform:e=>Math.round(pO(e))},no={test:em("rgb","red"),parse:hC("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+xd.transform(e)+", "+xd.transform(t)+", "+xd.transform(n)+", "+Ss(Zs.transform(r))+")"};function hO(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const Xf={test:em("#"),parse:hO,transform:no.transform},Go={test:em("hsl","hue"),parse:hC("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Bn.transform(Ss(t))+", "+Bn.transform(Ss(n))+", "+Ss(Zs.transform(r))+")"},bt={test:e=>no.test(e)||Xf.test(e)||Go.test(e),parse:e=>no.test(e)?no.parse(e):Go.test(e)?Go.parse(e):Xf.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?no.transform(e):Go.transform(e)},mO=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function gO(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Jh))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(mO))===null||n===void 0?void 0:n.length)||0)>0}const mC="number",gC="color",vO="var",yO="var(",Y0="${}",xO=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Js(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let i=0;const a=t.replace(xO,l=>(bt.test(l)?(r.color.push(i),o.push(gC),n.push(bt.parse(l))):l.startsWith(yO)?(r.var.push(i),o.push(vO),n.push(l)):(r.number.push(i),o.push(mC),n.push(parseFloat(l))),++i,Y0)).split(Y0);return{values:n,split:a,indexes:r,types:o}}function vC(e){return Js(e).values}function yC(e){const{split:t,types:n}=Js(e),r=t.length;return o=>{let i="";for(let s=0;stypeof e=="number"?0:e;function CO(e){const t=vC(e);return yC(e)(t.map(bO))}const Dr={test:gO,parse:vC,createTransformer:yC,getAnimatableNone:CO},SO=new Set(["brightness","contrast","saturate","opacity"]);function wO(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Jh)||[];if(!r)return e;const o=n.replace(r,"");let i=SO.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const kO=/\b([a-z-]*)\(.*?\)/gu,qf={...Dr,getAnimatableNone:e=>{const t=e.match(kO);return t?t.map(wO).join(" "):e}},$O={borderWidth:J,borderTopWidth:J,borderRightWidth:J,borderBottomWidth:J,borderLeftWidth:J,borderRadius:J,radius:J,borderTopLeftRadius:J,borderTopRightRadius:J,borderBottomRightRadius:J,borderBottomLeftRadius:J,width:J,maxWidth:J,height:J,maxHeight:J,top:J,right:J,bottom:J,left:J,padding:J,paddingTop:J,paddingRight:J,paddingBottom:J,paddingLeft:J,margin:J,marginTop:J,marginRight:J,marginBottom:J,marginLeft:J,backgroundPositionX:J,backgroundPositionY:J},PO={rotate:dr,rotateX:dr,rotateY:dr,rotateZ:dr,scale:Xa,scaleX:Xa,scaleY:Xa,scaleZ:Xa,skew:dr,skewX:dr,skewY:dr,distance:J,translateX:J,translateY:J,translateZ:J,x:J,y:J,z:J,perspective:J,transformPerspective:J,opacity:Zs,originX:H0,originY:H0,originZ:J},X0={...Mi,transform:Math.round},tm={...$O,...PO,zIndex:X0,size:J,fillOpacity:Zs,strokeOpacity:Zs,numOctaves:X0},TO={...tm,color:bt,backgroundColor:bt,outlineColor:bt,fill:bt,stroke:bt,borderColor:bt,borderTopColor:bt,borderRightColor:bt,borderBottomColor:bt,borderLeftColor:bt,filter:qf,WebkitFilter:qf},nm=e=>TO[e];function xC(e,t){let n=nm(e);return n!==qf&&(n=Dr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const EO=new Set(["auto","none","0"]);function RO(e,t,n){let r=0,o;for(;r{n.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function rm(e){return typeof e=="function"}let ml;function AO(){ml=void 0}const Dn={now:()=>(ml===void 0&&Dn.set(ft.isProcessing||U4.useManualTiming?ft.timestamp:performance.now()),ml),set:e=>{ml=e,queueMicrotask(AO)}},q0=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Dr.test(e)||e==="0")&&!e.startsWith("url("));function MO(e){const t=e[0];if(e.length===1)return!0;for(let n=0;nIO?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&cO(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=Dn.now(),this.hasAttemptedResolve=!0;const{name:r,type:o,velocity:i,delay:s,onComplete:a,onUpdate:l,isGenerator:u}=this.options;if(!u&&!OO(t,r,o,i))if(s)this.options.duration=0;else{l==null||l($c(t,this.options,n)),a==null||a(),this.resolveFinishedPromise();return}const c=this.initPlayback(t,n);c!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...c},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}function SC(e,t){return t?e*(1e3/t):0}const BO=5;function wC(e,t,n){const r=Math.max(t-BO,0);return SC(n-e(r),t-r)}const bd=.001,DO=.01,jO=10,LO=.05,FO=1;function NO({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i,s=1-t;s=Br(LO,FO,s),e=Br(DO,jO,Xn(e)),s<1?(o=u=>{const c=u*s,d=c*e,f=c-n,m=Qf(u,s),g=Math.exp(-d);return bd-f/m*g},i=u=>{const d=u*s*e,f=d*n+n,m=Math.pow(s,2)*Math.pow(u,2)*e,g=Math.exp(-d),y=Qf(Math.pow(u,2),s);return(-o(u)+bd>0?-1:1)*((f-m)*g)/y}):(o=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-bd+c*d},i=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=zO(o,i,a);if(e=Yn(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}const _O=12;function zO(e,t,n){let r=n;for(let o=1;o<_O;o++)r=r-e(r)/t(r);return r}function Qf(e,t){return e*Math.sqrt(1-t*t)}const VO=["duration","bounce"],HO=["stiffness","damping","mass"];function Q0(e,t){return t.some(n=>e[n]!==void 0)}function WO(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Q0(e,HO)&&Q0(e,VO)){const n=NO(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function kC({keyframes:e,restDelta:t,restSpeed:n,...r}){const o=e[0],i=e[e.length-1],s={done:!1,value:o},{stiffness:a,damping:l,mass:u,duration:c,velocity:d,isResolvedFromDuration:f}=WO({...r,velocity:-Xn(r.velocity||0)}),m=d||0,g=l/(2*Math.sqrt(a*u)),y=i-o,w=Xn(Math.sqrt(a/u)),h=Math.abs(y)<5;n||(n=h?.01:2),t||(t=h?.005:.5);let v;if(g<1){const p=Qf(w,g);v=b=>{const S=Math.exp(-g*w*b);return i-S*((m+g*w*y)/p*Math.sin(p*b)+y*Math.cos(p*b))}}else if(g===1)v=p=>i-Math.exp(-w*p)*(y+(m+w*y)*p);else{const p=w*Math.sqrt(g*g-1);v=b=>{const S=Math.exp(-g*w*b),P=Math.min(p*b,300);return i-S*((m+g*w*y)*Math.sinh(P)+p*y*Math.cosh(P))/p}}return{calculatedDuration:f&&c||null,next:p=>{const b=v(p);if(f)s.done=p>=c;else{let S=0;g<1&&(S=p===0?Yn(m):wC(v,p,b));const P=Math.abs(S)<=n,$=Math.abs(i-b)<=t;s.done=P&&$}return s.value=s.done?i:b,s}}}function Z0({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},m=T=>a!==void 0&&Tl,g=T=>a===void 0?l:l===void 0||Math.abs(a-T)-y*Math.exp(-T/r),p=T=>h+v(T),b=T=>{const C=v(T),E=p(T);f.done=Math.abs(C)<=u,f.value=f.done?h:E};let S,P;const $=T=>{m(f.value)&&(S=T,P=kC({keyframes:[f.value,g(f.value)],velocity:wC(p,T,f.value),damping:o,stiffness:i,restDelta:u,restSpeed:c}))};return $(0),{calculatedDuration:null,next:T=>{let C=!1;return!P&&S===void 0&&(C=!0,b(T),$(T)),S!==void 0&&T>=S?P.next(T-S):(!C&&b(T),f)}}}const UO=ba(.42,0,1,1),GO=ba(0,0,.58,1),$C=ba(.42,0,.58,1),KO=e=>Array.isArray(e)&&typeof e[0]!="number",J0={linear:kt,easeIn:UO,easeInOut:$C,easeOut:GO,circIn:qh,circInOut:oC,circOut:rC,backIn:Xh,backInOut:tC,backOut:eC,anticipate:nC},ev=e=>{if(Array.isArray(e)){Gf(e.length===4);const[t,n,r,o]=e;return ba(t,n,r,o)}else if(typeof e=="string")return Gf(J0[e]!==void 0),J0[e];return e},YO=(e,t)=>n=>t(e(n)),qn=(...e)=>e.reduce(YO),yi=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},je=(e,t,n)=>e+(t-e)*n;function Cd(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function XO({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,i=0,s=0;if(!t)o=i=s=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;o=Cd(l,a,e+1/3),i=Cd(l,a,e),s=Cd(l,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(s*255),alpha:r}}function iu(e,t){return n=>n>0?t:e}const Sd=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},qO=[Xf,no,Go],QO=e=>qO.find(t=>t.test(e));function tv(e){const t=QO(e);if(!t)return!1;let n=t.parse(e);return t===Go&&(n=XO(n)),n}const nv=(e,t)=>{const n=tv(e),r=tv(t);if(!n||!r)return iu(e,t);const o={...n};return i=>(o.red=Sd(n.red,r.red,i),o.green=Sd(n.green,r.green,i),o.blue=Sd(n.blue,r.blue,i),o.alpha=je(n.alpha,r.alpha,i),no.transform(o))},Zf=new Set(["none","hidden"]);function ZO(e,t){return Zf.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function JO(e,t){return n=>je(e,t,n)}function om(e){return typeof e=="number"?JO:typeof e=="string"?Qh(e)?iu:bt.test(e)?nv:nI:Array.isArray(e)?PC:typeof e=="object"?bt.test(e)?nv:eI:iu}function PC(e,t){const n=[...e],r=n.length,o=e.map((i,s)=>om(i)(i,t[s]));return i=>{for(let s=0;s{for(const i in r)n[i]=r[i](o);return n}}function tI(e,t){var n;const r=[],o={color:0,var:0,number:0};for(let i=0;i{const n=Dr.createTransformer(t),r=Js(e),o=Js(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?Zf.has(e)&&!o.values.length||Zf.has(t)&&!r.values.length?ZO(e,t):qn(PC(tI(r,o),o.values),n):iu(e,t)};function TC(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?je(e,t,n):om(e)(e,t)}function rI(e,t,n){const r=[],o=n||TC,i=e.length-1;for(let s=0;st[0];if(i===2&&e[0]===e[1])return()=>t[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=rI(t,r,o),a=s.length,l=u=>{let c=0;if(a>1)for(;cl(Br(e[0],e[i-1],u)):l}function iI(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=yi(0,t,r);e.push(je(n,1,o))}}function sI(e){const t=[0];return iI(t,e.length-1),t}function aI(e,t){return e.map(n=>n*t)}function lI(e,t){return e.map(()=>t||$C).splice(0,e.length-1)}function su({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=KO(r)?r.map(ev):ev(r),i={done:!1,value:t[0]},s=aI(n&&n.length===t.length?n:sI(t),e),a=oI(s,t,{ease:Array.isArray(o)?o:lI(t,o)});return{calculatedDuration:e,next:l=>(i.value=a(l),i.done=l>=e,i)}}const rv=2e4;function uI(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t=rv?1/0:t}const cI=e=>{const t=({timestamp:n})=>e(n);return{start:()=>be.update(t,!0),stop:()=>Ir(t),now:()=>ft.isProcessing?ft.timestamp:Dn.now()}},dI={decay:Z0,inertia:Z0,tween:su,keyframes:su,spring:kC},fI=e=>e/100;class im extends CC{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:l}=this.options;l&&l()};const{name:n,motionValue:r,element:o,keyframes:i}=this.options,s=(o==null?void 0:o.KeyframeResolver)||Zh,a=(l,u)=>this.onKeyframesResolved(l,u);this.resolver=new s(i,a,n,r,o),this.resolver.scheduleResolve()}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:i,velocity:s=0}=this.options,a=rm(n)?n:dI[n]||su;let l,u;a!==su&&typeof t[0]!="number"&&(l=qn(fI,TC(t[0],t[1])),t=[0,100]);const c=a({...this.options,keyframes:t});i==="mirror"&&(u=a({...this.options,keyframes:[...t].reverse(),velocity:-s})),c.calculatedDuration===null&&(c.calculatedDuration=uI(c));const{calculatedDuration:d}=c,f=d+o,m=f*(r+1)-o;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:l,calculatedDuration:d,resolvedDuration:f,totalDuration:m}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:T}=this.options;return{done:!0,value:T[T.length-1]}}const{finalKeyframe:o,generator:i,mirroredGenerator:s,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:d}=r;if(this.startTime===null)return i.next(0);const{delay:f,repeat:m,repeatType:g,repeatDelay:y,onUpdate:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-c/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const h=this.currentTime-f*(this.speed>=0?1:-1),v=this.speed>=0?h<0:h>c;this.currentTime=Math.max(h,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let p=this.currentTime,b=i;if(m){const T=Math.min(this.currentTime,c)/d;let C=Math.floor(T),E=T%1;!E&&T>=1&&(E=1),E===1&&C--,C=Math.min(C,m+1),!!(C%2)&&(g==="reverse"?(E=1-E,y&&(E-=y/d)):g==="mirror"&&(b=s)),p=Br(0,1,E)*d}const S=v?{done:!1,value:l[0]}:b.next(p);a&&(S.value=a(S.value));let{done:P}=S;!v&&u!==null&&(P=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const $=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&P);return $&&o!==void 0&&(S.value=$c(l,this.options,o)),w&&w(S.value),$&&this.finish(),S}get duration(){const{resolved:t}=this;return t?Xn(t.calculatedDuration):0}get time(){return Xn(this.currentTime)}set time(t){t=Yn(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Xn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=cI,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),n&&n();const o=this.driver.now();this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=o):this.startTime=r??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const EC=new Set(["opacity","clipPath","filter","transform"]),RC=e=>Array.isArray(e)&&typeof e[0]=="number",pI=10,hI=(e,t)=>{let n="";const r=Math.max(Math.round(t/pI),2);for(let o=0;o(t===void 0&&(t=e()),t)}const mI={linearEasing:void 0};function gI(e,t){const n=sm(e);return()=>{var r;return(r=mI[t])!==null&&r!==void 0?r:n()}}const au=gI(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");function AC(e){return!!(typeof e=="function"&&au()||!e||typeof e=="string"&&(e in Jf||au())||RC(e)||Array.isArray(e)&&e.every(AC))}const as=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Jf={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:as([0,.65,.55,1]),circOut:as([.55,0,1,.45]),backIn:as([.31,.01,.66,-.59]),backOut:as([.33,1.53,.69,.99])};function MC(e,t){if(e)return typeof e=="function"&&au()?hI(e,t):RC(e)?as(e):Array.isArray(e)?e.map(n=>MC(n,t)||Jf.easeOut):Jf[e]}function vI(e,t,n,{delay:r=0,duration:o=300,repeat:i=0,repeatType:s="loop",ease:a,times:l}={}){const u={[t]:n};l&&(u.offset=l);const c=MC(a,o);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:o,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:i+1,direction:s==="reverse"?"alternate":"normal"})}function ov(e,t){e.timeline=t,e.onfinish=null}const yI=sm(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),lu=10,xI=2e4;function bI(e){return rm(e.type)||e.type==="spring"||!AC(e.ease)}function CI(e,t){const n=new im({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const o=[];let i=0;for(;!r.done&&ithis.onKeyframesResolved(s,a),n,r,o),this.resolver.scheduleResolve()}initPlayback(t,n){var r;let{duration:o=300,times:i,ease:s,type:a,motionValue:l,name:u,startTime:c}=this.options;if(!(!((r=l.owner)===null||r===void 0)&&r.current))return!1;if(typeof s=="string"&&au()&&SI(s)&&(s=OC[s]),bI(this.options)){const{onComplete:f,onUpdate:m,motionValue:g,element:y,...w}=this.options,h=CI(t,w);t=h.keyframes,t.length===1&&(t[1]=t[0]),o=h.duration,i=h.times,s=h.ease,a="keyframes"}const d=vI(l.owner.current,u,t,{...this.options,duration:o,times:i,ease:s});return d.startTime=c??this.calcStartTime(),this.pendingTimeline?(ov(d,this.pendingTimeline),this.pendingTimeline=void 0):d.onfinish=()=>{const{onComplete:f}=this.options;l.set($c(t,this.options,n)),f&&f(),this.cancel(),this.resolveFinishedPromise()},{animation:d,duration:o,times:i,type:a,ease:s,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return Xn(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return Xn(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=Yn(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return kt;const{animation:r}=n;ov(r,t)}return kt}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:o,type:i,ease:s,times:a}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:u,onUpdate:c,onComplete:d,element:f,...m}=this.options,g=new im({...m,keyframes:r,duration:o,type:i,ease:s,times:a,isGenerator:!0}),y=Yn(this.time);u.setWithVelocity(g.sample(y-lu).value,g.sample(y).value,lu)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:o,repeatType:i,damping:s,type:a}=t;return yI()&&r&&EC.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!o&&i!=="mirror"&&s!==0&&a!=="inertia"}}const wI=sm(()=>window.ScrollTimeline!==void 0);class kI{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,n){return Promise.all(this.animations).then(t).catch(n)}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;rwI()&&o.attachTimeline?o.attachTimeline(t):n(o));return()=>{r.forEach((o,i)=>{o&&o(),this.animations[i].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;nn[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function $I({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}const am=(e,t,n,r={},o,i)=>s=>{const a=Yh(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-Yn(l);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:f=>{t.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:i?void 0:o};$I(a)||(c={...c,...W4(e,c)}),c.duration&&(c.duration=Yn(c.duration)),c.repeatDelay&&(c.repeatDelay=Yn(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(d=!0)),d&&!i&&t.get()!==void 0){const f=$c(c.keyframes,a);if(f!==void 0)return be.update(()=>{c.onUpdate(f),c.onComplete()}),new kI([])}return!i&&iv.supports(c)?new iv(c):new im(c)},PI=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),TI=e=>Uf(e)?e[e.length-1]||0:e;function Sa(e,t){e.indexOf(t)===-1&&e.push(t)}function lm(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class um{constructor(){this.subscriptions=[]}add(t){return Sa(this.subscriptions,t),()=>lm(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let i=0;i!isNaN(parseFloat(e));class IC{constructor(t,n={}){this.version="11.9.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,o=!0)=>{const i=Dn.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Dn.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=EI(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new um);const r=this.events[t].add(n);return t==="change"?()=>{r(),be.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Dn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>sv)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,sv);return SC(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ea(e,t){return new IC(e,t)}function RI(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,ea(n))}function AI(e,t){const n=kc(e,t);let{transitionEnd:r={},transition:o={},...i}=n||{};i={...i,...r};for(const s in i){const a=TI(i[s]);RI(e,s,a)}}const Pc=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),MI="framerAppearId",BC="data-"+Pc(MI);function DC(e){return e.props[BC]}function jC(e){if(_r.has(e))return"transform";if(EC.has(e))return Pc(e)}class OI extends IC{constructor(){super(...arguments),this.values=[]}add(t){const n=jC(t);n&&(Sa(this.values,n),this.update())}update(){this.set(this.values.length?this.values.join(", "):"auto")}}const St=e=>!!(e&&e.getVelocity);function II(e){return!!(St(e)&&e.add)}function ep(e,t){var n;if(!e.applyWillChange)return;let r=e.getValue("willChange");if(!r&&!(!((n=e.props.style)===null||n===void 0)&&n.willChange)&&(r=new OI("auto"),e.addValue("willChange",r)),II(r))return r.add(t)}function BI({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function LC(e,t,{delay:n=0,transitionOverride:r,type:o}={}){var i;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t;r&&(s=r);const u=[],c=o&&e.animationState&&e.animationState.getState()[o];for(const d in l){const f=e.getValue(d,(i=e.latestValues[d])!==null&&i!==void 0?i:null),m=l[d];if(m===void 0||c&&BI(c,d))continue;const g={delay:n,...Yh(s||{},d)};let y=!1;if(window.MotionHandoffAnimation){const h=DC(e);if(h){const v=window.MotionHandoffAnimation(h,d,be);v!==null&&(g.startTime=v,y=!0)}}ep(e,d),f.start(am(d,f,m,e.shouldReduceMotion&&_r.has(d)?{type:!1}:g,e,y));const w=f.animation;w&&u.push(w)}return a&&Promise.all(u).then(()=>{be.update(()=>{a&&AI(e,a)})}),u}function tp(e,t,n={}){var r;const o=kc(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(i=n.transitionOverride);const s=o?()=>Promise.all(LC(e,o,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=i;return DI(e,t,c+u,d,f,n)}:()=>Promise.resolve(),{when:l}=i;if(l){const[u,c]=l==="beforeChildren"?[s,a]:[a,s];return u().then(()=>c())}else return Promise.all([s(),a(n.delay)])}function DI(e,t,n=0,r=0,o=1,i){const s=[],a=(e.variantChildren.size-1)*r,l=o===1?(u=0)=>u*r:(u=0)=>a-u*r;return Array.from(e.variantChildren).sort(jI).forEach((u,c)=>{u.notify("AnimationStart",t),s.push(tp(u,t,{...i,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(s)}function jI(e,t){return e.sortNodePosition(t)}function LI(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(i=>tp(e,i,n));r=Promise.all(o)}else if(typeof t=="string")r=tp(e,t,n);else{const o=typeof t=="function"?kc(e,t,n.custom):t;r=Promise.all(LC(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const FI=Kh.length;function FC(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?FC(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;nPromise.all(t.map(({animation:n,options:r})=>LI(e,n,r)))}function VI(e){let t=zI(e),n=av(),r=!0;const o=l=>(u,c)=>{var d;const f=kc(e,c,l==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:m,transitionEnd:g,...y}=f;u={...u,...y,...g}}return u};function i(l){t=l(e)}function s(l){const{props:u}=e,c=FC(e.parent)||{},d=[],f=new Set;let m={},g=1/0;for(let w=0;w<_I;w++){const h=NI[w],v=n[h],p=u[h]!==void 0?u[h]:c[h],b=Qs(p),S=h===l?v.isActive:null;S===!1&&(g=w);let P=p===c[h]&&p!==u[h]&&b;if(P&&r&&e.manuallyAnimateOnMount&&(P=!1),v.protectedKeys={...m},!v.isActive&&S===null||!p&&!v.prevProp||qs(p)||typeof p=="boolean")continue;const $=HI(v.prevProp,p);let T=$||h===l&&v.isActive&&!P&&b||w>g&&b,C=!1;const E=Array.isArray(p)?p:[p];let A=E.reduce(o(h),{});S===!1&&(A={});const{prevResolvedValues:O={}}=v,B={...O,...A},I=j=>{T=!0,f.has(j)&&(C=!0,f.delete(j)),v.needsAnimating[j]=!0;const R=e.getValue(j);R&&(R.liveStyle=!1)};for(const j in B){const R=A[j],N=O[j];if(m.hasOwnProperty(j))continue;let H=!1;Uf(R)&&Uf(N)?H=!Xb(R,N):H=R!==N,H?R!=null?I(j):f.add(j):R!==void 0&&f.has(j)?I(j):v.protectedKeys[j]=!0}v.prevProp=p,v.prevResolvedValues=A,v.isActive&&(m={...m,...A}),r&&e.blockInitialAnimation&&(T=!1),T&&(!(P&&$)||C)&&d.push(...E.map(j=>({animation:j,options:{type:h}})))}if(f.size){const w={};f.forEach(h=>{const v=e.getBaseTarget(h),p=e.getValue(h);p&&(p.liveStyle=!0),w[h]=v??null}),d.push({animation:w})}let y=!!d.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(y=!1),r=!1,y?t(d):Promise.resolve()}function a(l,u){var c;if(n[l].isActive===u)return Promise.resolve();(c=e.variantChildren)===null||c===void 0||c.forEach(f=>{var m;return(m=f.animationState)===null||m===void 0?void 0:m.setActive(l,u)}),n[l].isActive=u;const d=s(l);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:s,setActive:a,setAnimateFunction:i,getState:()=>n,reset:()=>{n=av(),r=!0}}}function HI(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Xb(t,e):!1}function Ur(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function av(){return{animate:Ur(!0),whileInView:Ur(),whileHover:Ur(),whileTap:Ur(),whileDrag:Ur(),whileFocus:Ur(),exit:Ur()}}class zr{constructor(t){this.isMounted=!1,this.node=t}update(){}}class WI extends zr{constructor(t){super(t),t.animationState||(t.animationState=VI(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();qs(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let UI=0;class GI extends zr{constructor(){super(...arguments),this.id=UI++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const o=this.node.animationState.setActive("exit",!t);n&&!t&&o.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const KI={animation:{Feature:WI},exit:{Feature:GI}},NC=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Tc(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const YI=e=>t=>NC(t)&&e(t,Tc(t));function Un(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function Qn(e,t,n,r){return Un(e,t,YI(n),r)}const lv=(e,t)=>Math.abs(e-t);function XI(e,t){const n=lv(e.x,t.x),r=lv(e.y,t.y);return Math.sqrt(n**2+r**2)}class _C{constructor(t,n,{transformPagePoint:r,contextWindow:o,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=kd(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,m=XI(d.offset,{x:0,y:0})>=3;if(!f&&!m)return;const{point:g}=d,{timestamp:y}=ft;this.history.push({...g,timestamp:y});const{onStart:w,onMove:h}=this.handlers;f||(w&&w(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),h&&h(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=wd(f,this.transformPagePoint),be.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:m,onSessionEnd:g,resumeAnimation:y}=this.handlers;if(this.dragSnapToOrigin&&y&&y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const w=kd(d.type==="pointercancel"?this.lastMoveEventInfo:wd(f,this.transformPagePoint),this.history);this.startEvent&&m&&m(d,w),g&&g(d,w)},!NC(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.contextWindow=o||window;const s=Tc(t),a=wd(s,this.transformPagePoint),{point:l}=a,{timestamp:u}=ft;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,kd(a,this.history)),this.removeListeners=qn(Qn(this.contextWindow,"pointermove",this.handlePointerMove),Qn(this.contextWindow,"pointerup",this.handlePointerUp),Qn(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Ir(this.updatePoint)}}function wd(e,t){return t?{point:t(e.point)}:e}function uv(e,t){return{x:e.x-t.x,y:e.y-t.y}}function kd({point:e},t){return{point:e,delta:uv(e,zC(t)),offset:uv(e,qI(t)),velocity:QI(t,.1)}}function qI(e){return e[0]}function zC(e){return e[e.length-1]}function QI(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=zC(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Yn(t)));)n--;if(!r)return{x:0,y:0};const i=Xn(o.timestamp-r.timestamp);if(i===0)return{x:0,y:0};const s={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function VC(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const cv=VC("dragHorizontal"),dv=VC("dragVertical");function HC(e){let t=!1;if(e==="y")t=dv();else if(e==="x")t=cv();else{const n=cv(),r=dv();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function WC(){const e=HC(!0);return e?(e(),!1):!0}function Ko(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}const UC=1e-4,ZI=1-UC,JI=1+UC,GC=.01,eB=0-GC,tB=0+GC;function Gt(e){return e.max-e.min}function nB(e,t,n){return Math.abs(e-t)<=n}function fv(e,t,n,r=.5){e.origin=r,e.originPoint=je(t.min,t.max,e.origin),e.scale=Gt(n)/Gt(t),e.translate=je(n.min,n.max,e.origin)-e.originPoint,(e.scale>=ZI&&e.scale<=JI||isNaN(e.scale))&&(e.scale=1),(e.translate>=eB&&e.translate<=tB||isNaN(e.translate))&&(e.translate=0)}function ws(e,t,n,r){fv(e.x,t.x,n.x,r?r.originX:void 0),fv(e.y,t.y,n.y,r?r.originY:void 0)}function pv(e,t,n){e.min=n.min+t.min,e.max=e.min+Gt(t)}function rB(e,t,n){pv(e.x,t.x,n.x),pv(e.y,t.y,n.y)}function hv(e,t,n){e.min=t.min-n.min,e.max=e.min+Gt(t)}function ks(e,t,n){hv(e.x,t.x,n.x),hv(e.y,t.y,n.y)}function oB(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?je(n,e,r.max):Math.min(e,n)),e}function mv(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function iB(e,{top:t,left:n,bottom:r,right:o}){return{x:mv(e.x,n,o),y:mv(e.y,t,r)}}function gv(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=yi(t.min,t.max-r,e.min):r>o&&(n=yi(e.min,e.max-o,t.min)),Br(0,1,n)}function lB(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const np=.35;function uB(e=np){return e===!1?e=0:e===!0&&(e=np),{x:vv(e,"left","right"),y:vv(e,"top","bottom")}}function vv(e,t,n){return{min:yv(e,t),max:yv(e,n)}}function yv(e,t){return typeof e=="number"?e:e[t]||0}const xv=()=>({translate:0,scale:1,origin:0,originPoint:0}),Yo=()=>({x:xv(),y:xv()}),bv=()=>({min:0,max:0}),Ge=()=>({x:bv(),y:bv()});function Qt(e){return[e("x"),e("y")]}function KC({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function cB({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function dB(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function $d(e){return e===void 0||e===1}function rp({scale:e,scaleX:t,scaleY:n}){return!$d(e)||!$d(t)||!$d(n)}function qr(e){return rp(e)||YC(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function YC(e){return Cv(e.x)||Cv(e.y)}function Cv(e){return e&&e!=="0%"}function uu(e,t,n){const r=e-n,o=t*r;return n+o}function Sv(e,t,n,r,o){return o!==void 0&&(e=uu(e,o,r)),uu(e,n,r)+t}function op(e,t=0,n=1,r,o){e.min=Sv(e.min,t,n,r,o),e.max=Sv(e.max,t,n,r,o)}function XC(e,{x:t,y:n}){op(e.x,t.translate,t.scale,t.originPoint),op(e.y,n.translate,n.scale,n.originPoint)}const wv=.999999999999,kv=1.0000000000001;function fB(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let i,s;for(let a=0;awv&&(t.x=1),t.ywv&&(t.y=1)}function Xo(e,t){e.min=e.min+t,e.max=e.max+t}function $v(e,t,n,r,o=.5){const i=je(e.min,e.max,o);op(e,t,n,i,r)}function qo(e,t){$v(e.x,t.x,t.scaleX,t.scale,t.originX),$v(e.y,t.y,t.scaleY,t.scale,t.originY)}function qC(e,t){return KC(dB(e.getBoundingClientRect(),t))}function pB(e,t,n){const r=qC(e,n),{scroll:o}=t;return o&&(Xo(r.x,o.offset.x),Xo(r.y,o.offset.y)),r}const QC=({current:e})=>e?e.ownerDocument.defaultView:null,hB=new WeakMap;class mB{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ge(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const o=c=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Tc(c,"page").point)},i=(c,d)=>{const{drag:f,dragPropagation:m,onDragStart:g}=this.getProps();if(f&&!m&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=HC(f),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Qt(w=>{let h=this.getAxisMotionValue(w).get()||0;if(Bn.test(h)){const{projection:v}=this.visualElement;if(v&&v.layout){const p=v.layout.layoutBox[w];p&&(h=Gt(p)*(parseFloat(h)/100))}}this.originPoint[w]=h}),g&&be.postRender(()=>g(c,d)),ep(this.visualElement,"transform");const{animationState:y}=this.visualElement;y&&y.setActive("whileDrag",!0)},s=(c,d)=>{const{dragPropagation:f,dragDirectionLock:m,onDirectionLock:g,onDrag:y}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:w}=d;if(m&&this.currentDirection===null){this.currentDirection=gB(w),this.currentDirection!==null&&g&&g(this.currentDirection);return}this.updateAxis("x",d.point,w),this.updateAxis("y",d.point,w),this.visualElement.render(),y&&y(c,d)},a=(c,d)=>this.stop(c,d),l=()=>Qt(c=>{var d;return this.getAnimationState(c)==="paused"&&((d=this.getAxisMotionValue(c).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new _C(t,{onSessionStart:o,onStart:i,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:QC(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:o}=n;this.startAnimation(o);const{onDragEnd:i}=this.getProps();i&&be.postRender(()=>i(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:o}=this.getProps();if(!r||!qa(t,o,this.currentDirection))return;const i=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=oB(s,this.constraints[t],this.elastic[t])),i.set(s)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,i=this.constraints;n&&Ko(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=iB(o.layoutBox,n):this.constraints=!1,this.elastic=uB(r),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Qt(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=lB(o.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Ko(t))return!1;const r=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const i=pB(r,o.root,this.visualElement.getTransformPagePoint());let s=sB(o.layout.layoutBox,i);if(n){const a=n(cB(s));this.hasMutatedConstraints=!!a,a&&(s=KC(a))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=Qt(c=>{if(!qa(c,n,this.currentDirection))return;let d=l&&l[c]||{};s&&(d={min:0,max:0});const f=o?200:1e6,m=o?40:1e7,g={type:"inertia",velocity:r?t[c]:0,bounceStiffness:f,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...i,...d};return this.startAxisValueAnimation(c,g)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return ep(this.visualElement,t),r.start(am(t,r,0,n,this.visualElement,!1))}stopAnimation(){Qt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Qt(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Qt(n=>{const{drag:r}=this.getProps();if(!qa(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,i=this.getAxisMotionValue(n);if(o&&o.layout){const{min:s,max:a}=o.layout.layoutBox[n];i.set(t[n]-je(s,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Ko(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Qt(s=>{const a=this.getAxisMotionValue(s);if(a&&this.constraints!==!1){const l=a.get();o[s]=aB({min:l,max:l},this.constraints[s])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Qt(s=>{if(!qa(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:u}=this.constraints[s];a.set(je(l,u,o[s]))})}addListeners(){if(!this.visualElement.current)return;hB.set(this.visualElement,this);const t=this.visualElement.current,n=Qn(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();Ko(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,i=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),be.read(r);const s=Un(window,"resize",()=>this.scalePositionWithinConstraints()),a=o.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(Qt(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=l[c].translate,d.set(d.get()+l[c].translate))}),this.visualElement.render())});return()=>{s(),n(),i(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:s=np,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:i,dragElastic:s,dragMomentum:a}}}function qa(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function gB(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class vB extends zr{constructor(t){super(t),this.removeGroupControls=kt,this.removeListeners=kt,this.controls=new mB(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||kt}unmount(){this.removeGroupControls(),this.removeListeners()}}const Pv=e=>(t,n)=>{e&&be.postRender(()=>e(t,n))};class yB extends zr{constructor(){super(...arguments),this.removePointerDownListener=kt}onPointerDown(t){this.session=new _C(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:QC(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:Pv(t),onStart:Pv(n),onMove:r,onEnd:(i,s)=>{delete this.session,o&&be.postRender(()=>o(i,s))}}}mount(){this.removePointerDownListener=Qn(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const cm=x.createContext(null);function xB(){const e=x.useContext(cm);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,o=x.useId();x.useEffect(()=>r(o),[]);const i=x.useCallback(()=>n&&n(o),[o,n]);return!t&&n?[!1,i]:[!0]}const ZC=x.createContext({}),JC=x.createContext({}),gl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Tv(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Ji={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(J.test(e))e=parseFloat(e);else return e;const n=Tv(e,t.target.x),r=Tv(e,t.target.y);return`${n}% ${r}%`}},bB={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=Dr.parse(e);if(o.length>5)return r;const i=Dr.createTransformer(e),s=typeof o[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;o[0+s]/=a,o[1+s]/=l;const u=je(a,l,.5);return typeof o[2+s]=="number"&&(o[2+s]/=u),typeof o[3+s]=="number"&&(o[3+s]/=u),i(o)}},cu={};function CB(e){Object.assign(cu,e)}const{schedule:dm,cancel:Mj}=qb(queueMicrotask,!1);class SB extends x.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:i}=t;CB(wB),i&&(n.group&&n.group.add(i),r&&r.register&&o&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),gl.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:i}=this.props,s=r.projection;return s&&(s.isPresent=i,o||t.layoutDependency!==n||n===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?s.promote():s.relegate()||be.postRender(()=>{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),dm.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function eS(e){const[t,n]=xB(),r=x.useContext(ZC);return k.jsx(SB,{...e,layoutGroup:r,switchLayoutGroup:x.useContext(JC),isPresent:t,safeToRemove:n})}const wB={borderRadius:{...Ji,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ji,borderTopRightRadius:Ji,borderBottomLeftRadius:Ji,borderBottomRightRadius:Ji,boxShadow:bB},tS=["TopLeft","TopRight","BottomLeft","BottomRight"],kB=tS.length,Ev=e=>typeof e=="string"?parseFloat(e):e,Rv=e=>typeof e=="number"||J.test(e);function $B(e,t,n,r,o,i){o?(e.opacity=je(0,n.opacity!==void 0?n.opacity:1,PB(r)),e.opacityExit=je(t.opacity!==void 0?t.opacity:1,0,TB(r))):i&&(e.opacity=je(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;srt?1:n(yi(e,t,r))}function Mv(e,t){e.min=t.min,e.max=t.max}function qt(e,t){Mv(e.x,t.x),Mv(e.y,t.y)}function Ov(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Iv(e,t,n,r,o){return e-=t,e=uu(e,1/n,r),o!==void 0&&(e=uu(e,1/o,r)),e}function EB(e,t=0,n=1,r=.5,o,i=e,s=e){if(Bn.test(t)&&(t=parseFloat(t),t=je(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=je(i.min,i.max,r);e===i&&(a-=t),e.min=Iv(e.min,t,n,a,o),e.max=Iv(e.max,t,n,a,o)}function Bv(e,t,[n,r,o],i,s){EB(e,t[n],t[r],t[o],t.scale,i,s)}const RB=["x","scaleX","originX"],AB=["y","scaleY","originY"];function Dv(e,t,n,r){Bv(e.x,t,RB,n?n.x:void 0,r?r.x:void 0),Bv(e.y,t,AB,n?n.y:void 0,r?r.y:void 0)}function jv(e){return e.translate===0&&e.scale===1}function rS(e){return jv(e.x)&&jv(e.y)}function Lv(e,t){return e.min===t.min&&e.max===t.max}function MB(e,t){return Lv(e.x,t.x)&&Lv(e.y,t.y)}function Fv(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function oS(e,t){return Fv(e.x,t.x)&&Fv(e.y,t.y)}function Nv(e){return Gt(e.x)/Gt(e.y)}function _v(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class OB{constructor(){this.members=[]}add(t){Sa(this.members,t),t.scheduleRender()}remove(t){if(lm(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(o=>t===o);if(n===0)return!1;let r;for(let o=n;o>=0;o--){const i=this.members[o];if(i.isPresent!==!1){r=i;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function IB(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y,s=(n==null?void 0:n.z)||0;if((o||i||s)&&(r=`translate3d(${o}px, ${i}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:d,rotateY:f,skewX:m,skewY:g}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),m&&(r+=`skewX(${m}deg) `),g&&(r+=`skewY(${g}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const BB=(e,t)=>e.depth-t.depth;class DB{constructor(){this.children=[],this.isDirty=!1}add(t){Sa(this.children,t),this.isDirty=!0}remove(t){lm(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(BB),this.isDirty=!1,this.children.forEach(t)}}function vl(e){const t=St(e)?e.get():e;return PI(t)?t.toValue():t}function jB(e,t){const n=Dn.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&(Ir(r),e(i-t))};return be.read(r,!0),()=>Ir(r)}function LB(e){return e instanceof SVGElement&&e.tagName!=="svg"}function FB(e,t,n){const r=St(e)?e:ea(e);return r.start(am("",r,t,n)),r.animation}const Qr={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},ls=typeof window<"u"&&window.MotionDebug!==void 0,Pd=["","X","Y","Z"],NB={visibility:"hidden"},zv=1e3;let _B=0;function Td(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function iS(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=DC(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",be,!(o||i))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&iS(r)}function sS({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(s={},a=t==null?void 0:t()){this.id=_B++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ls&&(Qr.totalNodes=Qr.resolvedTargetDeltas=Qr.recalculatedProjection=0),this.nodes.forEach(HB),this.nodes.forEach(YB),this.nodes.forEach(XB),this.nodes.forEach(WB),ls&&window.MotionDebug.record(Qr)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;lthis.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=jB(f,250),gl.hasAnimatedSinceResize&&(gl.hasAnimatedSinceResize=!1,this.nodes.forEach(Hv))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:m,layout:g})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const y=this.options.transition||c.getDefaultTransition()||eD,{onLayoutAnimationStart:w,onLayoutAnimationComplete:h}=c.getProps(),v=!this.targetLayout||!oS(this.targetLayout,g)||m,p=!f&&m;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||p||f&&(v||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,p);const b={...Yh(y,"layout"),onPlay:w,onComplete:h};(c.shouldReduceMotion||this.options.layoutRoot)&&(b.delay=0,b.type=!1),this.startAnimation(b)}else f||Hv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=g})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Ir(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(qB),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&iS(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{const S=b/1e3;Wv(d.x,s.x,S),Wv(d.y,s.y,S),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ks(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),ZB(this.relativeTarget,this.relativeTargetOrigin,f,S),p&&MB(this.relativeTarget,p)&&(this.isProjectionDirty=!1),p||(p=Ge()),qt(p,this.relativeTarget)),y&&(this.animationValues=c,$B(c,u,this.latestValues,S,v,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=S},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Ir(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=be.update(()=>{gl.hasAnimatedSinceResize=!0,this.currentAnimation=FB(0,zv,{...s,onUpdate:a=>{this.mixTargetDelta(a),s.onUpdate&&s.onUpdate(a)},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(zv),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=s;if(!(!a||!l||!u)){if(this!==s&&this.layout&&u&&aS(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Ge();const d=Gt(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;const f=Gt(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+f}qt(a,l),qo(a,c),ws(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new OB),this.sharedNodes.get(s).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var s;const{layoutId:a}=this.options;return a?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:a}=this.options;return a?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let a=!1;const{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&Td("z",s,u,this.animationValues);for(let c=0;c{var a;return(a=s.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(Vv),this.root.sharedNodes.clear()}}}function zB(e){e.updateLayout()}function VB(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:o}=e.layout,{animationType:i}=e.options,s=n.source!==e.layout.source;i==="size"?Qt(d=>{const f=s?n.measuredBox[d]:n.layoutBox[d],m=Gt(f);f.min=r[d].min,f.max=f.min+m}):aS(i,n.layoutBox,r)&&Qt(d=>{const f=s?n.measuredBox[d]:n.layoutBox[d],m=Gt(r[d]);f.max=f.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+m)});const a=Yo();ws(a,r,n.layoutBox);const l=Yo();s?ws(l,e.applyTransform(o,!0),n.measuredBox):ws(l,r,n.layoutBox);const u=!rS(a);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:m}=d;if(f&&m){const g=Ge();ks(g,n.layoutBox,f.layoutBox);const y=Ge();ks(y,r,m.layoutBox),oS(g,y)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=y,e.relativeTargetOrigin=g,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function HB(e){ls&&Qr.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function WB(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function UB(e){e.clearSnapshot()}function Vv(e){e.clearMeasurements()}function GB(e){e.isLayoutDirty=!1}function KB(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Hv(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function YB(e){e.resolveTargetDelta()}function XB(e){e.calcProjection()}function qB(e){e.resetSkewAndRotation()}function QB(e){e.removeLeadSnapshot()}function Wv(e,t,n){e.translate=je(t.translate,0,n),e.scale=je(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Uv(e,t,n,r){e.min=je(t.min,n.min,r),e.max=je(t.max,n.max,r)}function ZB(e,t,n,r){Uv(e.x,t.x,n.x,r),Uv(e.y,t.y,n.y,r)}function JB(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const eD={duration:.45,ease:[.4,0,.1,1]},Gv=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Kv=Gv("applewebkit/")&&!Gv("chrome/")?Math.round:kt;function Yv(e){e.min=Kv(e.min),e.max=Kv(e.max)}function tD(e){Yv(e.x),Yv(e.y)}function aS(e,t,n){return e==="position"||e==="preserve-aspect"&&!nB(Nv(t),Nv(n),.2)}function nD(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const rD=sS({attachResizeListener:(e,t)=>Un(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Ed={current:void 0},lS=sS({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Ed.current){const e=new rD({});e.mount(window),e.setOptions({layoutScroll:!0}),Ed.current=e}return Ed.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),oD={pan:{Feature:yB},drag:{Feature:vB,ProjectionNode:lS,MeasureLayout:eS}};function Xv(e,t){const n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd",o=(i,s)=>{if(i.pointerType==="touch"||WC())return;const a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t);const l=a[r];l&&be.postRender(()=>l(i,s))};return Qn(e.current,n,o,{passive:!e.getProps()[r]})}class iD extends zr{mount(){this.unmount=qn(Xv(this.node,!0),Xv(this.node,!1))}unmount(){}}class sD extends zr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=qn(Un(this.node.current,"focus",()=>this.onFocus()),Un(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const uS=(e,t)=>t?e===t?!0:uS(e,t.parentElement):!1;function Rd(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Tc(n))}class aD extends zr{constructor(){super(...arguments),this.removeStartListeners=kt,this.removeEndListeners=kt,this.removeAccessibleListeners=kt,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),i=Qn(window,"pointerup",(a,l)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c,globalTapTarget:d}=this.node.getProps(),f=!d&&!uS(this.node.current,a.target)?c:u;f&&be.update(()=>f(a,l))},{passive:!(r.onTap||r.onPointerUp)}),s=Qn(window,"pointercancel",(a,l)=>this.cancelPress(a,l),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=qn(i,s),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=i=>{if(i.key!=="Enter"||this.isPressing)return;const s=a=>{a.key!=="Enter"||!this.checkPressEnd()||Rd("up",(l,u)=>{const{onTap:c}=this.node.getProps();c&&be.postRender(()=>c(l,u))})};this.removeEndListeners(),this.removeEndListeners=Un(this.node.current,"keyup",s),Rd("down",(a,l)=>{this.startPress(a,l)})},n=Un(this.node.current,"keydown",t),r=()=>{this.isPressing&&Rd("cancel",(i,s)=>this.cancelPress(i,s))},o=Un(this.node.current,"blur",r);this.removeAccessibleListeners=qn(n,o)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&be.postRender(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!WC()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&be.postRender(()=>r(t,n))}mount(){const t=this.node.getProps(),n=Qn(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=Un(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=qn(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const ip=new WeakMap,Ad=new WeakMap,lD=e=>{const t=ip.get(e.target);t&&t(e)},uD=e=>{e.forEach(lD)};function cD({root:e,...t}){const n=e||document;Ad.has(n)||Ad.set(n,{});const r=Ad.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(uD,{root:e,...t})),r[o]}function dD(e,t,n){const r=cD(t);return ip.set(e,n),r.observe(e),()=>{ip.delete(e),r.unobserve(e)}}const fD={some:0,all:1};class pD extends zr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:i}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:fD[o]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,i&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=u?c:d;f&&f(l)};return dD(this.node.current,s,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(hD(t,n))&&this.startObserver()}unmount(){}}function hD({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const mD={inView:{Feature:pD},tap:{Feature:aD},focus:{Feature:sD},hover:{Feature:iD}},gD={layout:{ProjectionNode:lS,MeasureLayout:eS}},cS=x.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Ec=x.createContext({}),fm=typeof window<"u",vD=fm?x.useLayoutEffect:x.useEffect,dS=x.createContext({strict:!1});let qv=!1;function yD(e,t,n,r,o){var i;const{visualElement:s}=x.useContext(Ec),a=x.useContext(dS),l=x.useContext(cm),u=x.useContext(cS).reducedMotion,c=x.useRef();r=r||a.renderer,!c.current&&r&&(c.current=r(e,{visualState:t,parent:s,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:u}));const d=c.current,f=x.useContext(JC);d&&!d.projection&&o&&(d.type==="html"||d.type==="svg")&&bD(c.current,n,o,f),x.useInsertionEffect(()=>{d&&d.update(n,l)});const m=n[BC],g=x.useRef(!!m&&!window.MotionHandoffIsComplete&&((i=window.MotionHasOptimisedAnimation)===null||i===void 0?void 0:i.call(window,m)));return vD(()=>{d&&(d.updateFeatures(),dm.render(d.render),g.current&&d.animationState&&d.animationState.animateChanges())}),x.useEffect(()=>{d&&(!g.current&&d.animationState&&d.animationState.animateChanges(),g.current=!1,qv||(qv=!0,queueMicrotask(xD)))}),d}function xD(){window.MotionHandoffIsComplete=!0}function bD(e,t,n,r){const{layoutId:o,layout:i,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:fS(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:!!s||a&&Ko(a),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}function fS(e){if(e)return e.options.allowProjection!==!1?e.projection:fS(e.parent)}function CD(e,t,n){return x.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Ko(n)&&(n.current=r))},[t])}function Rc(e){return qs(e.animate)||Kh.some(t=>Qs(e[t]))}function pS(e){return!!(Rc(e)||e.variants)}function SD(e,t){if(Rc(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Qs(n)?n:void 0,animate:Qs(r)?r:void 0}}return e.inherit!==!1?t:{}}function wD(e){const{initial:t,animate:n}=SD(e,x.useContext(Ec));return x.useMemo(()=>({initial:t,animate:n}),[Qv(t),Qv(n)])}function Qv(e){return Array.isArray(e)?e.join(" "):e}const Zv={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},xi={};for(const e in Zv)xi[e]={isEnabled:t=>Zv[e].some(n=>!!t[n])};function kD(e){for(const t in e)xi[t]={...xi[t],...e[t]}}const $D=Symbol.for("motionComponentSymbol");function PD({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){e&&kD(e);function i(a,l){let u;const c={...x.useContext(cS),...a,layoutId:TD(a)},{isStatic:d}=c,f=wD(a),m=r(a,d);if(!d&&fm){ED();const g=RD(c);u=g.MeasureLayout,f.visualElement=yD(o,m,c,t,g.ProjectionNode)}return k.jsxs(Ec.Provider,{value:f,children:[u&&f.visualElement?k.jsx(u,{visualElement:f.visualElement,...c}):null,n(o,a,CD(m,f.visualElement,l),m,d,f.visualElement)]})}const s=x.forwardRef(i);return s[$D]=o,s}function TD({layoutId:e}){const t=x.useContext(ZC).id;return t&&e!==void 0?t+"-"+e:e}function ED(e,t){x.useContext(dS).strict}function RD(e){const{drag:t,layout:n}=xi;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const AD=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function pm(e){return typeof e!="string"||e.includes("-")?!1:!!(AD.indexOf(e)>-1||/[A-Z]/u.test(e))}function hS(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const i in n)e.style.setProperty(i,n[i])}const mS=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function gS(e,t,n,r){hS(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(mS.has(o)?o:Pc(o),t.attrs[o])}function vS(e,{layout:t,layoutId:n}){return _r.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!cu[e]||e==="opacity")}function hm(e,t,n){var r;const{style:o}=e,i={};for(const s in o)(St(o[s])||t.style&&St(t.style[s])||vS(s,e)||((r=n==null?void 0:n.getValue(s))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(i[s]=o[s]);return n&&o&&typeof o.willChange=="string"&&(n.applyWillChange=!1),i}function yS(e,t,n){const r=hm(e,t,n);for(const o in e)if(St(e[o])||St(t[o])){const i=xa.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[i]=e[o]}return r}function MD(e){const t=x.useRef(null);return t.current===null&&(t.current=e()),t.current}function OD({applyWillChange:e=!1,scrapeMotionValuesFromProps:t,createRenderState:n,onMount:r},o,i,s,a){const l={latestValues:BD(o,i,s,a?!1:e,t),renderState:n()};return r&&(l.mount=u=>r(o,u,l)),l}const xS=e=>(t,n)=>{const r=x.useContext(Ec),o=x.useContext(cm),i=()=>OD(e,t,r,o,n);return n?i():MD(i)};function ID(e,t){const n=jC(t);n&&Sa(e,n)}function Jv(e,t,n){const r=Array.isArray(t)?t:[t];for(let o=0;o{for(const v in w){let p=w[v];if(Array.isArray(p)){const b=g?p.length-1:0;p=p[b]}p!==null&&(s[v]=p)}for(const v in h)s[v]=h[v]}),l&&(d&&c!==!1&&!qs(d)&&Jv(e,d,w=>{for(const h in w)ID(a,h)}),a.length&&(s.willChange=a.join(","))),s}const mm=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),bS=()=>({...mm(),attrs:{}}),CS=(e,t)=>t&&typeof e=="number"?t.transform(e):e,DD={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},jD=xa.length;function LD(e,t,n){let r="",o=!0;for(let i=0;itypeof e=="string"&&e.toLowerCase()==="svg",VD={useVisualState:xS({scrapeMotionValuesFromProps:yS,createRenderState:bS,onMount:(e,t,{renderState:n,latestValues:r})=>{be.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),be.render(()=>{vm(n,r,ym(t.tagName),e.transformTemplate),gS(t,n)})}})},HD={useVisualState:xS({applyWillChange:!0,scrapeMotionValuesFromProps:hm,createRenderState:mm})};function SS(e,t,n){for(const r in t)!St(t[r])&&!vS(r,n)&&(e[r]=t[r])}function WD({transformTemplate:e},t){return x.useMemo(()=>{const n=mm();return gm(n,t,e),Object.assign({},n.vars,n.style)},[t])}function UD(e,t){const n=e.style||{},r={};return SS(r,n,e),Object.assign(r,WD(e,t)),r}function GD(e,t){const n={},r=UD(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const KD=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function du(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||KD.has(e)}let wS=e=>!du(e);function YD(e){e&&(wS=t=>t.startsWith("on")?!du(t):e(t))}try{YD(require("@emotion/is-prop-valid").default)}catch{}function XD(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(wS(o)||n===!0&&du(o)||!t&&!du(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function qD(e,t,n,r){const o=x.useMemo(()=>{const i=bS();return vm(i,t,ym(r),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};SS(i,e.style,e),o.style={...i,...o.style}}return o}function QD(e=!1){return(n,r,o,{latestValues:i},s)=>{const l=(pm(n)?qD:GD)(r,i,s,n),u=XD(r,typeof n=="string",e),c=n!==x.Fragment?{...u,...l,ref:o}:{},{children:d}=r,f=x.useMemo(()=>St(d)?d.get():d,[d]);return x.createElement(n,{...c,children:f})}}function ZD(e,t){return function(r,{forwardMotionProps:o}={forwardMotionProps:!1}){const s={...pm(r)?VD:HD,preloadedFeatures:e,useRender:QD(o),createVisualElement:t,Component:r};return PD(s)}}const sp={current:null},kS={current:!1};function JD(){if(kS.current=!0,!!fm)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>sp.current=e.matches;e.addListener(t),t()}else sp.current=!1}function ej(e,t,n){for(const r in t){const o=t[r],i=n[r];if(St(o))e.addValue(r,o);else if(St(i))e.addValue(r,ea(o,{owner:e}));else if(i!==o)if(e.hasValue(r)){const s=e.getValue(r);s.liveStyle===!0?s.jump(o):s.hasAnimated||s.set(o)}else{const s=e.getStaticValue(r);e.addValue(r,ea(s!==void 0?s:o,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const ty=new WeakMap,tj=[...dC,bt,Dr],nj=e=>tj.find(cC(e)),ny=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class rj{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,blockInitialAnimation:i,visualState:s},a={}){this.applyWillChange=!1,this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Zh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const f=Dn.now();this.renderScheduledAtthis.bindToMotionValue(r,n)),kS.current||JD(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:sp.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){ty.delete(this.current),this.projection&&this.projection.unmount(),Ir(this.notifyUpdate),Ir(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=_r.has(t),o=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&be.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=n.on("renderRequest",this.scheduleRender);let s;window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{o(),i(),s&&s(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in xi){const n=xi[t];if(!n)continue;const{isEnabled:r,Feature:o}=n;if(!this.features[t]&&o&&r(this.props)&&(this.features[t]=new o(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ge()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;rn.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=ea(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let o=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return o!=null&&(typeof o=="string"&&(sC(o)||iC(o))?o=parseFloat(o):!nj(o)&&Dr.test(n)&&(o=xC(t,n)),this.setBaseTarget(t,St(o)?o.get():o)),St(o)?o.get():o}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let o;if(typeof r=="string"||typeof r=="object"){const s=Uh(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);s&&(o=s[t])}if(r&&o!==void 0)return o;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!St(i)?i:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new um),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class $S extends rj{constructor(){super(...arguments),this.KeyframeResolver=bC}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}}function oj(e){return window.getComputedStyle(e)}class ij extends $S{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=hS}readValueFromInstance(t,n){if(_r.has(n)){const r=nm(n);return r&&r.default||0}else{const r=oj(t),o=(lC(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return qC(t,n)}build(t,n,r){gm(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return hm(t,n,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;St(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class sj extends $S{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ge}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(_r.has(n)){const r=nm(n);return r&&r.default||0}return n=mS.has(n)?n:Pc(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return yS(t,n,r)}build(t,n,r){vm(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,o){gS(t,n,r,o)}mount(t){this.isSVGTag=ym(t.tagName),super.mount(t)}}const aj=(e,t)=>pm(e)?new sj(t):new ij(t,{allowProjection:e!==x.Fragment}),lj=ZD({...KI,...mD,...oD,...gD},aj),ho=N4(lj),uj=ho(Gb);function PS({orchid:e}){const{isVisible:t,showModal:n,hideModal:r}=F4({orchid:e}),o=Oh(),{theme:i}=x.useContext(Ln),s=()=>{o(`/fer-lab1/${e.Id}`)};return k.jsxs(k.Fragment,{children:[k.jsxs(uj,{variant:"outlined",sx:{width:320,bgcolor:i.card.backgroundColor,color:i.card.color,borderColor:i.divider},whileHover:{scale:1.05,boxShadow:i.elevation[3],transition:{duration:.3}},children:[k.jsx(hl,{children:k.jsx(N0,{variant:"outlined",ratio:"2",onClick:()=>n(e),children:k.jsx(ho.img,{src:e.image+"?auto=format&fit=crop&w=318",srcSet:e.image+"?auto=format&fit=crop&w=318&dpr=2 2x",loading:"lazy",alt:e.name,whileHover:{scale:1.1},transition:{duration:.3}})})}),k.jsxs(z0,{children:[k.jsx(he,{level:"title-md",sx:{color:i.text.primary,fontWeight:"bold",mb:.5},children:e.name}),k.jsxs(Ye,{children:[k.jsxs(he,{level:"body-sm",sx:{color:i.text.secondary,mb:2,alignItems:"center",display:"flex"},children:[k.jsx(Wh,{sx:{marginRight:"4px",width:"16px",color:i.icon.color}}),e.origin]}),k.jsxs(he,{level:"body-sm",sx:{color:i.text.secondary,mb:2,alignItems:"center",display:"flex"},children:[k.jsx(Yb,{sx:{marginRight:"4px",width:"16px",color:i.icon.color}}),e.category]})]})]}),k.jsxs(hl,{variant:"soft",sx:{bgcolor:i.action.hover},children:[k.jsx(Kb,{inset:"context",sx:{bgcolor:i.divider}}),k.jsxs(z0,{orientation:"horizontal",sx:{justifyContent:"space-between"},children:[k.jsx(gb,{name:"read-only",value:e.rating,readOnly:!0}),k.jsx(ho.div,{whileHover:{scale:1.1},whileTap:{scale:.95},children:k.jsx(fa,{variant:"outlined",onClick:s,sx:{color:i.button.primary,borderColor:i.button.primary,"&:hover":{backgroundColor:i.button.hover,borderColor:i.button.hover}},children:"Detail"})})]})]})]}),k.jsx(ub,{open:t,onClose:r,"aria-labelledby":"modal-modal-title","aria-describedby":"modal-modal-description",children:k.jsxs(Ye,{sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:400,bgcolor:i.card.backgroundColor,border:`2px solid ${i.divider}`,boxShadow:24,p:4,color:i.card.color},children:[k.jsx(Gb,{children:k.jsx(hl,{children:k.jsx(N0,{ratio:"2",children:k.jsx("img",{src:e.image+"?auto=format&fit=crop&w=318",srcSet:e.image+"?auto=format&fit=crop&w=318&dpr=2 2x",loading:"lazy",alt:e.name})})})}),k.jsx(he,{id:"modal-modal-description",sx:{mt:2,color:i.text.primary},children:e.detail})]})})]})}function cj(){const{theme:e}=x.useContext(Ln);return k.jsx(At,{container:!0,spacing:{xs:2,md:3,lg:4},sx:{flexGrow:1,justifyContent:"center",padding:2,width:"100%",margin:"0 auto",backgroundColor:e.mainContent.backgroundColor},children:Hh.map(t=>k.jsx(At,{size:{xs:1,sm:3,md:4},children:k.jsx(PS,{orchid:t},t.Id)},t.Id))})}const dj=lt(k.jsx("path",{d:"M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9c.83 0 1.5-.67 1.5-1.5 0-.39-.15-.74-.39-1.01-.23-.26-.38-.61-.38-.99 0-.83.67-1.5 1.5-1.5H16c2.76 0 5-2.24 5-5 0-4.42-4.03-8-9-8m-5.5 9c-.83 0-1.5-.67-1.5-1.5S5.67 9 6.5 9 8 9.67 8 10.5 7.33 12 6.5 12m3-4C8.67 8 8 7.33 8 6.5S8.67 5 9.5 5s1.5.67 1.5 1.5S10.33 8 9.5 8m5 0c-.83 0-1.5-.67-1.5-1.5S13.67 5 14.5 5s1.5.67 1.5 1.5S15.33 8 14.5 8m3 4c-.83 0-1.5-.67-1.5-1.5S16.67 9 17.5 9s1.5.67 1.5 1.5-.67 1.5-1.5 1.5"}),"ColorLens");function fj(){const{id:e}=D3(),t=Oh(),n=Hh.find(o=>o.Id===e),{theme:r}=x.useContext(Ln);return n?k.jsxs(Ye,{sx:{maxWidth:800,margin:"auto",padding:4,color:r.text.primary,bgcolor:r.mainContent.backgroundColor},children:[k.jsx(fa,{onClick:()=>t("/fer-lab1"),variant:"outlined",sx:{mb:2},children:"Back to List"}),k.jsx("img",{src:n.image,alt:n.name,style:{width:"100%",height:400,objectFit:"cover",marginBottom:2}}),k.jsx(he,{variant:"h3",component:"h1",gutterBottom:!0,children:n.name}),k.jsxs(Ye,{sx:{display:"flex",alignItems:"center",mb:2},children:[k.jsx(gb,{name:"read-only",value:n.rating,readOnly:!0}),k.jsxs(he,{variant:"body1",sx:{ml:1},children:["(",n.rating,"/5)"]})]}),k.jsxs(he,{variant:"body1",sx:{mb:2,display:"flex",alignItems:"center"},children:[k.jsx(Wh,{sx:{mr:1}})," Origin: ",n.origin]}),k.jsxs(he,{variant:"body1",sx:{mb:2,display:"flex",alignItems:"center"},children:[k.jsx(Yb,{sx:{mr:1}})," Category: ",n.category]}),k.jsxs(he,{variant:"body1",sx:{mb:2,display:"flex",alignItems:"center"},children:[k.jsx(dj,{sx:{mr:1}})," Color: ",n.color]}),k.jsx(he,{variant:"body1",children:n.detail}),n.isSpecial&&k.jsx(he,{variant:"body1",sx:{fontStyle:"italic",color:"gold"},children:"This is a special orchid!"})]}):k.jsx(he,{children:"Orchid not found"})}function pj(){const{theme:e}=x.useContext(Ln),t=Hh.filter(n=>n.isSpecial);return k.jsx(At,{container:!0,spacing:{xs:2,md:3,lg:4},sx:{flexGrow:1,justifyContent:"center",padding:2,width:"100%",margin:"0 auto",backgroundColor:e.mainContent.backgroundColor},children:t.map(n=>k.jsx(At,{size:{xs:1,sm:3,md:4},children:k.jsx(PS,{orchid:n},n.Id)},n.Id))})}const hj="/fer-lab1/assets/avt-D_utLsXG.jpg",mj=lt(k.jsx("path",{d:"M18.6 6.62c-1.44 0-2.8.56-3.77 1.53L12 10.66 10.48 12h.01L7.8 14.39c-.64.64-1.49.99-2.4.99-1.87 0-3.39-1.51-3.39-3.38S3.53 8.62 5.4 8.62c.91 0 1.76.35 2.44 1.03l1.13 1 1.51-1.34L9.22 8.2C8.2 7.18 6.84 6.62 5.4 6.62 2.42 6.62 0 9.04 0 12s2.42 5.38 5.4 5.38c1.44 0 2.8-.56 3.77-1.53l2.83-2.5.01.01L13.52 12h-.01l2.69-2.39c.64-.64 1.49-.99 2.4-.99 1.87 0 3.39 1.51 3.39 3.38s-1.52 3.38-3.39 3.38c-.9 0-1.76-.35-2.44-1.03l-1.14-1.01-1.51 1.34 1.27 1.12c1.02 1.01 2.37 1.57 3.82 1.57 2.98 0 5.4-2.41 5.4-5.38s-2.42-5.37-5.4-5.37"}),"AllInclusive"),gj=lt(k.jsx("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4-8 5-8-5V6l8 5 8-5z"}),"Email"),vj=lt(k.jsx("path",{d:"M12 3c-.46 0-.93.04-1.4.14-2.76.53-4.96 2.76-5.48 5.52-.48 2.61.48 5.01 2.22 6.56.43.38.66.91.66 1.47V19c0 1.1.9 2 2 2h.28c.35.6.98 1 1.72 1s1.38-.4 1.72-1H14c1.1 0 2-.9 2-2v-2.31c0-.55.22-1.09.64-1.46C18.09 13.95 19 12.08 19 10c0-3.87-3.13-7-7-7m2 16h-4v-1h4zm0-2h-4v-1h4zm-1.5-5.59V14h-1v-2.59L9.67 9.59l.71-.71L12 10.5l1.62-1.62.71.71z"}),"EmojiObjects"),yj=lt(k.jsx("path",{d:"M9 15c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4m13.1-8.16c.01-.11.02-.22.02-.34s-.01-.23-.03-.34l.74-.58c.07-.05.08-.15.04-.22l-.7-1.21c-.04-.08-.14-.1-.21-.08l-.86.35c-.18-.14-.38-.25-.59-.34l-.13-.93c-.02-.09-.09-.15-.18-.15h-1.4c-.09 0-.16.06-.17.15l-.13.93c-.21.09-.41.21-.59.34l-.87-.35c-.08-.03-.17 0-.21.08l-.7 1.21c-.04.08-.03.17.04.22l.74.58c-.02.11-.03.23-.03.34s.01.23.03.34l-.74.58c-.07.05-.08.15-.04.22l.7 1.21c.04.08.14.1.21.08l.87-.35c.18.14.38.25.59.34l.13.93c.01.09.08.15.17.15h1.4c.09 0 .16-.06.17-.15l.13-.93c.21-.09.41-.21.59-.34l.87.35c.08.03.17 0 .21-.08l.7-1.21c.04-.08.03-.17-.04-.22zm-2.6.91c-.69 0-1.25-.56-1.25-1.25s.56-1.25 1.25-1.25 1.25.56 1.25 1.25-.56 1.25-1.25 1.25m.42 3.93-.5-.87c-.03-.06-.1-.08-.15-.06l-.62.25q-.195-.15-.42-.24l-.09-.66c-.02-.06-.08-.1-.14-.1h-1c-.06 0-.11.04-.12.11l-.09.66c-.15.06-.29.15-.42.24l-.62-.25c-.06-.02-.12 0-.15.06l-.5.87c-.03.06-.02.12.03.16l.53.41c-.01.08-.02.16-.02.24s.01.17.02.24l-.53.41c-.05.04-.06.11-.03.16l.5.87c.03.06.1.08.15.06l.62-.25q.195.15.42.24l.09.66c.01.07.06.11.12.11h1c.06 0 .12-.04.12-.11l.09-.66c.15-.06.29-.15.42-.24l.62.25c.06.02.12 0 .15-.06l.5-.87c.03-.06.02-.12-.03-.16l-.52-.41c.01-.08.02-.16.02-.24s-.01-.17-.02-.24l.53-.41c.05-.04.06-.11.04-.17m-2.42 1.65c-.46 0-.83-.38-.83-.83 0-.46.38-.83.83-.83s.83.38.83.83c0 .46-.37.83-.83.83M4.74 9h8.53c.27 0 .49-.22.49-.49v-.02c0-.27-.22-.49-.49-.49H13c0-1.48-.81-2.75-2-3.45v.95c0 .28-.22.5-.5.5s-.5-.22-.5-.5V4.14C9.68 4.06 9.35 4 9 4s-.68.06-1 .14V5.5c0 .28-.22.5-.5.5S7 5.78 7 5.5v-.95C5.81 5.25 5 6.52 5 8h-.26c-.27 0-.49.22-.49.49v.03c0 .26.22.48.49.48M9 13c1.86 0 3.41-1.28 3.86-3H5.14c.45 1.72 2 3 3.86 3"}),"Engineering"),xj=lt(k.jsx("path",{d:"M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m13 2h-2.5A3.5 3.5 0 0 0 12 8.5V11h-2v3h2v7h3v-7h3v-3h-3V9a1 1 0 0 1 1-1h2V5z"}),"Facebook"),bj=lt(k.jsx("path",{d:"M12 1.27a11 11 0 00-3.48 21.46c.55.09.73-.28.73-.55v-1.84c-3.03.64-3.67-1.46-3.67-1.46-.55-1.29-1.28-1.65-1.28-1.65-.92-.65.1-.65.1-.65 1.1 0 1.73 1.1 1.73 1.1.92 1.65 2.57 1.2 3.21.92a2 2 0 01.64-1.47c-2.47-.27-5.04-1.19-5.04-5.5 0-1.1.46-2.1 1.2-2.84a3.76 3.76 0 010-2.93s.91-.28 3.11 1.1c1.8-.49 3.7-.49 5.5 0 2.1-1.38 3.02-1.1 3.02-1.1a3.76 3.76 0 010 2.93c.83.74 1.2 1.74 1.2 2.94 0 4.21-2.57 5.13-5.04 5.4.45.37.82.92.82 2.02v3.03c0 .27.1.64.73.55A11 11 0 0012 1.27"}),"GitHub"),Cj=lt(k.jsx("path",{d:"M7.8 2h8.4C19.4 2 22 4.6 22 7.8v8.4a5.8 5.8 0 0 1-5.8 5.8H7.8C4.6 22 2 19.4 2 16.2V7.8A5.8 5.8 0 0 1 7.8 2m-.2 2A3.6 3.6 0 0 0 4 7.6v8.8C4 18.39 5.61 20 7.6 20h8.8a3.6 3.6 0 0 0 3.6-3.6V7.6C20 5.61 18.39 4 16.4 4H7.6m9.65 1.5a1.25 1.25 0 0 1 1.25 1.25A1.25 1.25 0 0 1 17.25 8 1.25 1.25 0 0 1 16 6.75a1.25 1.25 0 0 1 1.25-1.25M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3z"}),"Instagram"),Sj=lt(k.jsx("path",{d:"M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02z"}),"Phone"),wj=lt(k.jsx("path",{d:"M5 13.18v4L12 21l7-3.82v-4L12 17zM12 3 1 9l11 6 9-4.91V17h2V9z"}),"School"),Ao=ho(Ye),kj=ho(KE),Md=({icon:e,title:t,content:n,theme:r})=>k.jsx(kj,{elevation:3,sx:{backgroundColor:r.card.backgroundColor,color:r.text.primary,transition:"all 0.3s ease-in-out"},whileHover:{scale:1.05,boxShadow:r.elevation[3]},children:k.jsxs(QE,{children:[k.jsxs(Ye,{display:"flex",alignItems:"center",mb:2,children:[on.cloneElement(e,{style:{color:r.icon.color}}),k.jsx(he,{variant:"h6",component:"h3",ml:1,color:r.text.primary,children:t})]}),k.jsx(he,{variant:"body1",color:r.text.secondary,children:n})]})});function $j(){const{theme:e}=x.useContext(Ln);return k.jsx(Ye,{sx:{display:"flex",flexDirection:"column",minHeight:"100vh",backgroundColor:e.mainContent.backgroundColor,color:e.text.primary,paddingBottom:"604px"},children:k.jsx(cc,{maxWidth:!1,sx:{backgroundColor:e.mainContent.backgroundColor,color:e.text.primary,flex:"1 0 auto",padding:"2rem",paddingBottom:"4rem"},children:k.jsxs(Ye,{py:8,children:[k.jsx(Ao,{initial:{opacity:0,y:-50},animate:{opacity:1,y:0},transition:{duration:.5},mb:6,children:k.jsx(he,{variant:"h2",component:"h1",align:"center",gutterBottom:!0,color:e.text.primary,children:"About Me"})}),k.jsxs(At,{container:!0,spacing:4,children:[k.jsx(At,{item:!0,xs:12,md:4,children:k.jsx(Ao,{initial:{opacity:0,x:-50},animate:{opacity:1,x:0},transition:{duration:.5,delay:.2},children:k.jsxs(Ye,{textAlign:"center",children:[k.jsx(HE,{alt:"Nguyen Huy Hoang",src:hj,sx:{width:200,height:200,margin:"auto",mb:2}}),k.jsx(he,{variant:"h4",component:"h2",gutterBottom:!0,color:e.text.primary,children:"Nguyen Huy Hoang"}),k.jsx(he,{variant:"subtitle1",color:e.text.secondary,gutterBottom:!0,children:"Software Engineering Student"}),k.jsxs(Ye,{children:[k.jsx(io,{"aria-label":"Facebook",sx:{color:e.icon.color},href:"https://www.facebook.com/hoangnguyen.c1002/",children:k.jsx(xj,{})}),k.jsx(io,{"aria-label":"Instagram",sx:{color:e.icon.color},href:"https://www.instagram.com/__hoang.nguyeen__/",children:k.jsx(Cj,{})}),k.jsx(io,{"aria-label":"GitHub",sx:{color:e.icon.color},href:"https://github.com/Hoang-Nguyen-Huy",children:k.jsx(bj,{})})]})]})})}),k.jsx(At,{item:!0,xs:12,md:8,children:k.jsxs(Ao,{initial:{opacity:0,x:50},animate:{opacity:1,x:0},transition:{duration:.5,delay:.4},children:[k.jsx(he,{variant:"h5",component:"h3",gutterBottom:!0,color:e.text.primary,children:"Education"}),k.jsxs(Ye,{display:"flex",alignItems:"center",mb:2,children:[k.jsx(wj,{sx:{color:e.icon.color,mr:1}}),k.jsx(he,{variant:"body1",color:e.text.primary,children:"FPT University, Ho Chi Minh City"})]}),k.jsx(he,{variant:"body1",paragraph:!0,color:e.text.secondary,children:"I am currently pursuing a degree in Software Engineering at FPT University in Ho Chi Minh City. My passion for technology and problem-solving drives me to excel in my studies and explore innovative solutions in the field of software development."})]})})]}),k.jsxs(Ye,{mt:8,children:[k.jsx(he,{variant:"h4",component:"h2",align:"center",gutterBottom:!0,color:e.text.primary,children:"Our Approach"}),k.jsxs(At,{container:!0,spacing:4,mt:2,children:[k.jsx(At,{item:!0,xs:12,md:4,children:k.jsx(Ao,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.5,delay:.6},children:k.jsx(Md,{icon:k.jsx(vj,{fontSize:"large"}),title:"Our Mission",content:"We strive to develop innovative software solutions that address real-world challenges and improve people's lives. Our goal is to create user-friendly, efficient, and scalable applications that make a positive impact on society.",theme:e})})}),k.jsx(At,{item:!0,xs:12,md:4,children:k.jsx(Ao,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.5,delay:.8},children:k.jsx(Md,{icon:k.jsx(yj,{fontSize:"large"}),title:"Expert Care",content:"Our team of skilled developers and designers are committed to delivering high-quality software products. We stay up-to-date with the latest technologies and best practices to ensure that our solutions are robust, secure, and future-proof.",theme:e})})}),k.jsx(At,{item:!0,xs:12,md:4,children:k.jsx(Ao,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.5,delay:1},children:k.jsx(Md,{icon:k.jsx(mj,{fontSize:"large"}),title:"Sustainable Practices",content:"We are committed to sustainable software development practices. This includes writing clean, maintainable code, optimizing for energy efficiency, and considering the long-term environmental impact of our digital solutions.",theme:e})})})]})]})]})})})}const Pj=ho(hi),Tj=ho(Ye);function Ej(){const{theme:e}=x.useContext(Ln),[t,n]=x.useState({name:"",email:"",message:""}),r=i=>{const{name:s,value:a}=i.target;n(l=>({...l,[s]:a}))},o=i=>{i.preventDefault(),console.log("Form submitted:",t),n({name:"",email:"",message:""})};return k.jsx(Ye,{sx:{display:"flex",flexDirection:"column",minHeight:"100vh",backgroundColor:e.mainContent.backgroundColor,color:e.text.primary,paddingBottom:"36px"},children:k.jsxs(cc,{maxWidth:!1,sx:{py:8,backgroundColor:e.mainContent.backgroundColor,minHeight:"100vh",padding:"2rem"},children:[k.jsx(he,{variant:"h2",component:"h1",align:"center",gutterBottom:!0,color:e.text.primary,children:"Contact Us"}),k.jsxs(At,{container:!0,spacing:4,justifyContent:"center",children:[k.jsx(At,{item:!0,xs:12,md:6,children:k.jsx(Pj,{elevation:3,initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.5},sx:{p:4,backgroundColor:e.card.backgroundColor},children:k.jsxs("form",{onSubmit:o,children:[k.jsx(pd,{fullWidth:!0,label:"Name",name:"name",value:t.name,onChange:r,margin:"normal",required:!0,sx:{"& .MuiInputLabel-root":{color:e.text.secondary},"& .MuiOutlinedInput-root":{"& fieldset":{borderColor:e.text.secondary},"&:hover fieldset":{borderColor:e.text.primary},"&.Mui-focused fieldset":{borderColor:e.text.primary}},"& .MuiInputBase-input":{color:e.text.primary}}}),k.jsx(pd,{fullWidth:!0,label:"Email",name:"email",type:"email",value:t.email,onChange:r,margin:"normal",required:!0,sx:{"& .MuiInputLabel-root":{color:e.text.secondary},"& .MuiOutlinedInput-root":{"& fieldset":{borderColor:e.text.secondary},"&:hover fieldset":{borderColor:e.text.primary},"&.Mui-focused fieldset":{borderColor:e.text.primary}},"& .MuiInputBase-input":{color:e.text.primary}}}),k.jsx(pd,{fullWidth:!0,label:"Message",name:"message",multiline:!0,rows:4,value:t.message,onChange:r,margin:"normal",required:!0,sx:{"& .MuiInputLabel-root":{color:e.text.secondary},"& .MuiOutlinedInput-root":{"& fieldset":{borderColor:e.text.secondary},"&:hover fieldset":{borderColor:e.text.primary},"&.Mui-focused fieldset":{borderColor:e.text.primary}},"& .MuiInputBase-input":{color:e.text.primary}}}),k.jsx(fa,{type:"submit",variant:"contained",color:"primary",size:"large",fullWidth:!0,sx:{mt:2},children:"Send Message"})]})})}),k.jsx(At,{item:!0,xs:12,md:6,children:k.jsx(Tj,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.5,delay:.2},children:k.jsxs(hi,{elevation:3,sx:{p:4,height:"100%",backgroundColor:e.card.backgroundColor},children:[k.jsx(he,{variant:"h5",gutterBottom:!0,color:e.text.primary,children:"Contact Information"}),k.jsxs(Ye,{display:"flex",alignItems:"center",mb:2,children:[k.jsx(io,{sx:{color:e.icon.color,mr:1},children:k.jsx(gj,{})}),k.jsx(he,{color:e.text.primary,children:"contact@example.com"})]}),k.jsxs(Ye,{display:"flex",alignItems:"center",mb:2,children:[k.jsx(io,{sx:{color:e.icon.color,mr:1},children:k.jsx(Sj,{})}),k.jsx(he,{color:e.text.primary,children:"+1 (123) 456-7890"})]}),k.jsxs(Ye,{display:"flex",alignItems:"center",mb:2,children:[k.jsx(io,{sx:{color:e.icon.color,mr:1},children:k.jsx(Wh,{})}),k.jsx(he,{color:e.text.primary,children:"Lô E2a-7, Đường D1, Đ. D1, Long Thạnh Mỹ, Thành Phố Thủ Đức, Hồ Chí Minh"})]}),k.jsxs(Ye,{mt:4,children:[k.jsx(he,{variant:"h6",gutterBottom:!0,color:e.text.primary,children:"Find Us On Map"}),k.jsx(hi,{elevation:2,sx:{height:250,overflow:"hidden"},children:k.jsx("iframe",{src:'https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3918.610010397031!2d106.809883!3d10.841127599999998!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x31752731176b07b1%3A0xb752b24b379bae5e!2zVHLGsOG7nW5nIMSQ4bqhaSBo4buNYyBGUFQgVFAuIEhDTQ!5e0!3m2!1svi!2s!4v1727840452482!5m2!1svi!2s" width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade',width:"100%",height:"100%",style:{border:0},allowFullScreen:!0,loading:"lazy"})})]})]})})})]})]})})}function Rj(){return x.useState(0),k.jsxs(k.Fragment,{children:[k.jsx(sA,{}),k.jsxs(X3,{children:[k.jsx(Oo,{path:"/fer-lab1/",element:k.jsx(cj,{})}),k.jsx(Oo,{path:"/fer-lab1/natural",element:k.jsx(pj,{})}),k.jsx(Oo,{path:"/fer-lab1/:id",element:k.jsx(fj,{})}),k.jsx(Oo,{path:"/fer-lab1/about",element:k.jsx($j,{})}),k.jsx(Oo,{path:"/fer-lab1/contact",element:k.jsx(Ej,{})})]}),k.jsx(aA,{})]})}gx(document.getElementById("root")).render(k.jsx(x.StrictMode,{children:k.jsx(nA,{children:k.jsx(kE,{children:k.jsx(Rj,{})})})})); diff --git a/assets/index-Bj8j9pbJ.css b/assets/index-Bj8j9pbJ.css deleted file mode 100644 index 9a34d05..0000000 --- a/assets/index-Bj8j9pbJ.css +++ /dev/null @@ -1 +0,0 @@ -html,body,#root{height:100%}body,#root{display:flex;flex-direction:column;min-height:100vh}main{flex:1 0 auto;padding-bottom:60px}.footer{flex-shrink:0;bottom:-100px;left:0;width:100%;transition:bottom .3s ease-in-out;box-shadow:0 -2px 10px #0000001a}.footer.visible{bottom:0}.footer{background-color:#f4e0c1!important;color:#8b4513!important}.footer Typography{color:#8b4513!important}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale} diff --git a/assets/index-BrR_NzsT.css b/assets/index-BrR_NzsT.css new file mode 100644 index 0000000..eb157cd --- /dev/null +++ b/assets/index-BrR_NzsT.css @@ -0,0 +1 @@ +html,body,#root{height:100%}body,#root{display:flex;flex-direction:column;min-height:100vh}main{flex:1 0 auto;padding-bottom:60px}.footer{bottom:0;flex-shrink:0;left:0;width:100%;transition:bottom .3s ease-in-out;box-shadow:0 -2px 10px #0000001a}.footer.visible{bottom:0}.footer{background-color:#f4e0c1!important;color:#8b4513!important}.footer Typography{color:#8b4513!important}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale} diff --git a/assets/index-_hfk3iG1.js b/assets/index-_hfk3iG1.js new file mode 100644 index 0000000..2fda480 --- /dev/null +++ b/assets/index-_hfk3iG1.js @@ -0,0 +1,170 @@ +var OS=Object.defineProperty;var IS=(e,t,n)=>t in e?OS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Fi=(e,t,n)=>IS(e,typeof t!="symbol"?t+"":t,n);function BS(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function ly(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var uy={exports:{}},vu={},cy={exports:{}},ae={};/** + * @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 oa=Symbol.for("react.element"),DS=Symbol.for("react.portal"),jS=Symbol.for("react.fragment"),LS=Symbol.for("react.strict_mode"),FS=Symbol.for("react.profiler"),NS=Symbol.for("react.provider"),_S=Symbol.for("react.context"),zS=Symbol.for("react.forward_ref"),VS=Symbol.for("react.suspense"),HS=Symbol.for("react.memo"),WS=Symbol.for("react.lazy"),km=Symbol.iterator;function US(e){return e===null||typeof e!="object"?null:(e=km&&e[km]||e["@@iterator"],typeof e=="function"?e:null)}var dy={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},fy=Object.assign,py={};function Si(e,t,n){this.props=e,this.context=t,this.refs=py,this.updater=n||dy}Si.prototype.isReactComponent={};Si.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")};Si.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function hy(){}hy.prototype=Si.prototype;function fp(e,t,n){this.props=e,this.context=t,this.refs=py,this.updater=n||dy}var pp=fp.prototype=new hy;pp.constructor=fp;fy(pp,Si.prototype);pp.isPureReactComponent=!0;var $m=Array.isArray,my=Object.prototype.hasOwnProperty,hp={current:null},gy={key:!0,ref:!0,__self:!0,__source:!0};function vy(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)my.call(t,r)&&!gy.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1>>1,q=R[Z];if(0>>1;Zo(pe,W))heo(oe,pe)?(R[Z]=oe,R[he]=W,Z=he):(R[Z]=pe,R[te]=W,Z=te);else if(heo(oe,W))R[Z]=oe,R[he]=W,Z=he;else break e}}return B}function o(R,B){var W=R.sortIndex-B.sortIndex;return W!==0?W:R.id-B.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,d=null,f=3,m=!1,h=!1,y=!1,k=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(R){for(var B=n(u);B!==null;){if(B.callback===null)r(u);else if(B.startTime<=R)r(u),B.sortIndex=B.expirationTime,t(l,B);else break;B=n(u)}}function b(R){if(y=!1,p(R),!h)if(n(l)!==null)h=!0,j(w);else{var B=n(u);B!==null&&L(b,B.startTime-R)}}function w(R,B){h=!1,y&&(y=!1,g(T),T=-1),m=!0;var W=f;try{for(p(B),d=n(l);d!==null&&(!(d.expirationTime>B)||R&&!A());){var Z=d.callback;if(typeof Z=="function"){d.callback=null,f=d.priorityLevel;var q=Z(d.expirationTime<=B);B=e.unstable_now(),typeof q=="function"?d.callback=q:d===n(l)&&r(l),p(B)}else r(l);d=n(l)}if(d!==null)var re=!0;else{var te=n(u);te!==null&&L(b,te.startTime-B),re=!1}return re}finally{d=null,f=W,m=!1}}var P=!1,$=null,T=-1,C=5,E=-1;function A(){return!(e.unstable_now()-ER||125Z?(R.sortIndex=W,t(u,R),n(l)===null&&R===n(u)&&(y?(g(T),T=-1):y=!0,L(b,W-Z))):(R.sortIndex=q,t(l,R),h||m||(h=!0,j(w))),R},e.unstable_shouldYield=A,e.unstable_wrapCallback=function(R){var B=f;return function(){var W=f;f=B;try{return R.apply(this,arguments)}finally{f=W}}}})(Sy);Cy.exports=Sy;var nw=Cy.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var rw=x,Kt=nw;function F(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"),jd=Object.prototype.hasOwnProperty,ow=/^[: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]*$/,Tm={},Em={};function iw(e){return jd.call(Em,e)?!0:jd.call(Tm,e)?!1:ow.test(e)?Em[e]=!0:(Tm[e]=!0,!1)}function sw(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 aw(e,t,n,r){if(t===null||typeof t>"u"||sw(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 Ot(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var yt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){yt[e]=new Ot(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];yt[t]=new Ot(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){yt[e]=new Ot(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){yt[e]=new Ot(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){yt[e]=new Ot(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){yt[e]=new Ot(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){yt[e]=new Ot(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){yt[e]=new Ot(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){yt[e]=new Ot(e,5,!1,e.toLowerCase(),null,!1,!1)});var gp=/[\-:]([a-z])/g;function vp(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(gp,vp);yt[t]=new Ot(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(gp,vp);yt[t]=new Ot(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(gp,vp);yt[t]=new Ot(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){yt[e]=new Ot(e,1,!1,e.toLowerCase(),null,!1,!1)});yt.xlinkHref=new Ot("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){yt[e]=new Ot(e,1,!1,e.toLowerCase(),null,!0,!0)});function yp(e,t,n,r){var o=yt.hasOwnProperty(t)?yt[t]:null;(o!==null?o.type!==0:r||!(2a||o[s]!==i[a]){var l=` +`+o[s].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{jc=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ns(e):""}function lw(e){switch(e.tag){case 5:return ns(e.type);case 16:return ns("Lazy");case 13:return ns("Suspense");case 19:return ns("SuspenseList");case 0:case 2:case 15:return e=Lc(e.type,!1),e;case 11:return e=Lc(e.type.render,!1),e;case 1:return e=Lc(e.type,!0),e;default:return""}}function _d(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 jo:return"Fragment";case Do:return"Portal";case Ld:return"Profiler";case xp:return"StrictMode";case Fd:return"Suspense";case Nd:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case $y:return(e.displayName||"Context")+".Consumer";case ky:return(e._context.displayName||"Context")+".Provider";case bp:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Cp:return t=e.displayName||null,t!==null?t:_d(e.type)||"Memo";case pr:t=e._payload,e=e._init;try{return _d(e(t))}catch{}}return null}function uw(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 _d(t);case 8:return t===xp?"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 Ar(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ty(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function cw(e){var t=Ty(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ea(e){e._valueTracker||(e._valueTracker=cw(e))}function Ey(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ty(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function wl(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 zd(e,t){var n=t.checked;return _e({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Am(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ar(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 Ry(e,t){t=t.checked,t!=null&&yp(e,"checked",t,!1)}function Vd(e,t){Ry(e,t);var n=Ar(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")?Hd(e,t.type,n):t.hasOwnProperty("defaultValue")&&Hd(e,t.type,Ar(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Mm(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 Hd(e,t,n){(t!=="number"||wl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var rs=Array.isArray;function Jo(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Ra.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Es(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ds={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},dw=["Webkit","ms","Moz","O"];Object.keys(ds).forEach(function(e){dw.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ds[t]=ds[e]})});function Iy(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ds.hasOwnProperty(e)&&ds[e]?(""+t).trim():t+"px"}function By(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Iy(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var fw=_e({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 Gd(e,t){if(t){if(fw[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(F(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(F(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(F(61))}if(t.style!=null&&typeof t.style!="object")throw Error(F(62))}}function Kd(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 Yd=null;function Sp(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Xd=null,ei=null,ti=null;function Bm(e){if(e=aa(e)){if(typeof Xd!="function")throw Error(F(280));var t=e.stateNode;t&&(t=Su(t),Xd(e.stateNode,e.type,t))}}function Dy(e){ei?ti?ti.push(e):ti=[e]:ei=e}function jy(){if(ei){var e=ei,t=ti;if(ti=ei=null,Bm(e),t)for(e=0;e>>=0,e===0?32:31-(ww(e)/kw|0)|0}var Aa=64,Ma=4194304;function os(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 Tl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~o;a!==0?r=os(a):(i&=s,i!==0&&(r=os(i)))}else s=n&~o,s!==0?r=os(s):i!==0&&(r=os(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ia(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-bn(t),e[t]=n}function Ew(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=ps),Hm=" ",Wm=!1;function n1(e,t){switch(e){case"keyup":return n2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function r1(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Lo=!1;function o2(e,t){switch(e){case"compositionend":return r1(t);case"keypress":return t.which!==32?null:(Wm=!0,Hm);case"textInput":return e=t.data,e===Hm&&Wm?null:e;default:return null}}function i2(e,t){if(Lo)return e==="compositionend"||!Ap&&n1(e,t)?(e=e1(),ol=Tp=yr=null,Lo=!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=Ym(n)}}function a1(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?a1(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function l1(){for(var e=window,t=wl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=wl(e.document)}return t}function Mp(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 h2(e){var t=l1(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&a1(n.ownerDocument.documentElement,n)){if(r!==null&&Mp(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=Xm(n,i);var s=Xm(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Fo=null,tf=null,ms=null,nf=!1;function qm(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;nf||Fo==null||Fo!==wl(r)||(r=Fo,"selectionStart"in r&&Mp(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}),ms&&Bs(ms,r)||(ms=r,r=Al(tf,"onSelect"),0zo||(e.current=uf[zo],uf[zo]=null,zo--)}function Te(e,t){zo++,uf[zo]=e.current,e.current=t}var Mr={},Et=Fr(Mr),Dt=Fr(!1),lo=Mr;function ui(e,t){var n=e.type.contextTypes;if(!n)return Mr;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 jt(e){return e=e.childContextTypes,e!=null}function Ol(){Ie(Dt),Ie(Et)}function rg(e,t,n){if(Et.current!==Mr)throw Error(F(168));Te(Et,t),Te(Dt,n)}function v1(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(F(108,uw(e)||"Unknown",o));return _e({},n,r)}function Il(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Mr,lo=Et.current,Te(Et,e),Te(Dt,Dt.current),!0}function og(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=v1(e,t,lo),r.__reactInternalMemoizedMergedChildContext=e,Ie(Dt),Ie(Et),Te(Et,e)):Ie(Dt),Te(Dt,n)}var Wn=null,wu=!1,Qc=!1;function y1(e){Wn===null?Wn=[e]:Wn.push(e)}function P2(e){wu=!0,y1(e)}function Nr(){if(!Qc&&Wn!==null){Qc=!0;var e=0,t=be;try{var n=Wn;for(be=1;e>=s,o-=s,Un=1<<32-bn(t)+o|n<T?(C=$,$=null):C=$.sibling;var E=f(g,$,p[T],b);if(E===null){$===null&&($=C);break}e&&$&&E.alternate===null&&t(g,$),v=i(E,v,T),P===null?w=E:P.sibling=E,P=E,$=C}if(T===p.length)return n(g,$),je&&Kr(g,T),w;if($===null){for(;TT?(C=$,$=null):C=$.sibling;var A=f(g,$,E.value,b);if(A===null){$===null&&($=C);break}e&&$&&A.alternate===null&&t(g,$),v=i(A,v,T),P===null?w=A:P.sibling=A,P=A,$=C}if(E.done)return n(g,$),je&&Kr(g,T),w;if($===null){for(;!E.done;T++,E=p.next())E=d(g,E.value,b),E!==null&&(v=i(E,v,T),P===null?w=E:P.sibling=E,P=E);return je&&Kr(g,T),w}for($=r(g,$);!E.done;T++,E=p.next())E=m($,g,T,E.value,b),E!==null&&(e&&E.alternate!==null&&$.delete(E.key===null?T:E.key),v=i(E,v,T),P===null?w=E:P.sibling=E,P=E);return e&&$.forEach(function(O){return t(g,O)}),je&&Kr(g,T),w}function k(g,v,p,b){if(typeof p=="object"&&p!==null&&p.type===jo&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case Ta:e:{for(var w=p.key,P=v;P!==null;){if(P.key===w){if(w=p.type,w===jo){if(P.tag===7){n(g,P.sibling),v=o(P,p.props.children),v.return=g,g=v;break e}}else if(P.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===pr&&ag(w)===P.type){n(g,P.sibling),v=o(P,p.props),v.ref=Wi(g,P,p),v.return=g,g=v;break e}n(g,P);break}else t(g,P);P=P.sibling}p.type===jo?(v=io(p.props.children,g.mode,b,p.key),v.return=g,g=v):(b=fl(p.type,p.key,p.props,null,g.mode,b),b.ref=Wi(g,v,p),b.return=g,g=b)}return s(g);case Do:e:{for(P=p.key;v!==null;){if(v.key===P)if(v.tag===4&&v.stateNode.containerInfo===p.containerInfo&&v.stateNode.implementation===p.implementation){n(g,v.sibling),v=o(v,p.children||[]),v.return=g,g=v;break e}else{n(g,v);break}else t(g,v);v=v.sibling}v=id(p,g.mode,b),v.return=g,g=v}return s(g);case pr:return P=p._init,k(g,v,P(p._payload),b)}if(rs(p))return h(g,v,p,b);if(Ni(p))return y(g,v,p,b);Fa(g,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,v!==null&&v.tag===6?(n(g,v.sibling),v=o(v,p),v.return=g,g=v):(n(g,v),v=od(p,g.mode,b),v.return=g,g=v),s(g)):n(g,v)}return k}var di=S1(!0),w1=S1(!1),jl=Fr(null),Ll=null,Wo=null,Dp=null;function jp(){Dp=Wo=Ll=null}function Lp(e){var t=jl.current;Ie(jl),e._currentValue=t}function ff(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ri(e,t){Ll=e,Dp=Wo=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Bt=!0),e.firstContext=null)}function cn(e){var t=e._currentValue;if(Dp!==e)if(e={context:e,memoizedValue:t,next:null},Wo===null){if(Ll===null)throw Error(F(308));Wo=e,Ll.dependencies={lanes:0,firstContext:e}}else Wo=Wo.next=e;return t}var eo=null;function Fp(e){eo===null?eo=[e]:eo.push(e)}function k1(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Fp(t)):(n.next=o.next,o.next=n),t.interleaved=n,nr(e,r)}function nr(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var hr=!1;function Np(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function $1(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Yn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function $r(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ce&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,nr(e,n)}return o=r.interleaved,o===null?(t.next=t,Fp(r)):(t.next=o.next,o.next=t),r.interleaved=t,nr(e,n)}function sl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,kp(e,n)}}function lg(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Fl(e,t,n,r){var o=e.updateQueue;hr=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?i=u:s.next=u,s=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==s&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(i!==null){var d=o.baseState;s=0,c=u=l=null,a=i;do{var f=a.lane,m=a.eventTime;if((r&f)===f){c!==null&&(c=c.next={eventTime:m,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=e,y=a;switch(f=t,m=n,y.tag){case 1:if(h=y.payload,typeof h=="function"){d=h.call(m,d,f);break e}d=h;break e;case 3:h.flags=h.flags&-65537|128;case 0:if(h=y.payload,f=typeof h=="function"?h.call(m,d,f):h,f==null)break e;d=_e({},d,f);break e;case 2:hr=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=o.effects,f===null?o.effects=[a]:f.push(a))}else m={eventTime:m,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=m,l=d):c=c.next=m,s|=f;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;f=a,a=f.next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}while(!0);if(c===null&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);fo|=s,e.lanes=s,e.memoizedState=d}}function ug(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Jc.transition;Jc.transition={};try{e(!1),t()}finally{be=n,Jc.transition=r}}function V1(){return dn().memoizedState}function A2(e,t,n){var r=Tr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},H1(e))W1(t,n);else if(n=k1(e,t,n,r),n!==null){var o=At();Cn(n,e,r,o),U1(n,t,r)}}function M2(e,t,n){var r=Tr(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(H1(e))W1(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,a=i(s,n);if(o.hasEagerState=!0,o.eagerState=a,Sn(a,s)){var l=t.interleaved;l===null?(o.next=o,Fp(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=k1(e,t,o,r),n!==null&&(o=At(),Cn(n,e,r,o),U1(n,t,r))}}function H1(e){var t=e.alternate;return e===Ne||t!==null&&t===Ne}function W1(e,t){gs=_l=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function U1(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,kp(e,n)}}var zl={readContext:cn,useCallback:xt,useContext:xt,useEffect:xt,useImperativeHandle:xt,useInsertionEffect:xt,useLayoutEffect:xt,useMemo:xt,useReducer:xt,useRef:xt,useState:xt,useDebugValue:xt,useDeferredValue:xt,useTransition:xt,useMutableSource:xt,useSyncExternalStore:xt,useId:xt,unstable_isNewReconciler:!1},O2={readContext:cn,useCallback:function(e,t){return Tn().memoizedState=[e,t===void 0?null:t],e},useContext:cn,useEffect:dg,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ll(4194308,4,L1.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ll(4194308,4,e,t)},useInsertionEffect:function(e,t){return ll(4,2,e,t)},useMemo:function(e,t){var n=Tn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Tn();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=A2.bind(null,Ne,e),[r.memoizedState,e]},useRef:function(e){var t=Tn();return e={current:e},t.memoizedState=e},useState:cg,useDebugValue:Kp,useDeferredValue:function(e){return Tn().memoizedState=e},useTransition:function(){var e=cg(!1),t=e[0];return e=R2.bind(null,e[1]),Tn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ne,o=Tn();if(je){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),ut===null)throw Error(F(349));co&30||R1(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,dg(M1.bind(null,r,i,e),[e]),r.flags|=2048,Vs(9,A1.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Tn(),t=ut.identifierPrefix;if(je){var n=Gn,r=Un;n=(r&~(1<<32-bn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=_s++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[An]=t,e[Ls]=r,tx(e,t,!1,!1),t.stateNode=e;e:{switch(s=Kd(n,r),n){case"dialog":Me("cancel",e),Me("close",e),o=r;break;case"iframe":case"object":case"embed":Me("load",e),o=r;break;case"video":case"audio":for(o=0;ohi&&(t.flags|=128,r=!0,Ui(i,!1),t.lanes=4194304)}else{if(!r)if(e=Nl(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ui(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!je)return bt(t),null}else 2*Xe()-i.renderingStartTime>hi&&n!==1073741824&&(t.flags|=128,r=!0,Ui(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Xe(),t.sibling=null,n=Le.current,Te(Le,r?n&1|2:n&1),t):(bt(t),null);case 22:case 23:return Jp(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Nt&1073741824&&(bt(t),t.subtreeFlags&6&&(t.flags|=8192)):bt(t),null;case 24:return null;case 25:return null}throw Error(F(156,t.tag))}function _2(e,t){switch(Ip(t),t.tag){case 1:return jt(t.type)&&Ol(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return fi(),Ie(Dt),Ie(Et),Vp(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return zp(t),null;case 13:if(Ie(Le),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(F(340));ci()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ie(Le),null;case 4:return fi(),null;case 10:return Lp(t.type._context),null;case 22:case 23:return Jp(),null;case 24:return null;default:return null}}var _a=!1,kt=!1,z2=typeof WeakSet=="function"?WeakSet:Set,G=null;function Uo(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 Cf(e,t,n){try{n()}catch(r){Ge(e,t,r)}}var Sg=!1;function V2(e,t){if(rf=El,e=l1(),Mp(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var m;d!==n||o!==0&&d.nodeType!==3||(a=s+o),d!==i||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(m=d.firstChild)!==null;)f=d,d=m;for(;;){if(d===e)break t;if(f===n&&++u===o&&(a=s),f===i&&++c===r&&(l=s),(m=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=m}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(of={focusedElem:e,selectionRange:n},El=!1,G=t;G!==null;)if(t=G,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,G=e;else for(;G!==null;){t=G;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var y=h.memoizedProps,k=h.memoizedState,g=t.stateNode,v=g.getSnapshotBeforeUpdate(t.elementType===t.type?y:vn(t.type,y),k);g.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(F(163))}}catch(b){Ge(t,t.return,b)}if(e=t.sibling,e!==null){e.return=t.return,G=e;break}G=t.return}return h=Sg,Sg=!1,h}function vs(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&&Cf(t,n,i)}o=o.next}while(o!==r)}}function Pu(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 Sf(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 ox(e){var t=e.alternate;t!==null&&(e.alternate=null,ox(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[An],delete t[Ls],delete t[lf],delete t[k2],delete t[$2])),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 ix(e){return e.tag===5||e.tag===3||e.tag===4}function wg(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ix(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 wf(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=Ml));else if(r!==4&&(e=e.child,e!==null))for(wf(e,t,n),e=e.sibling;e!==null;)wf(e,t,n),e=e.sibling}function kf(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(kf(e,t,n),e=e.sibling;e!==null;)kf(e,t,n),e=e.sibling}var pt=null,yn=!1;function dr(e,t,n){for(n=n.child;n!==null;)sx(e,t,n),n=n.sibling}function sx(e,t,n){if(On&&typeof On.onCommitFiberUnmount=="function")try{On.onCommitFiberUnmount(yu,n)}catch{}switch(n.tag){case 5:kt||Uo(n,t);case 6:var r=pt,o=yn;pt=null,dr(e,t,n),pt=r,yn=o,pt!==null&&(yn?(e=pt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):pt.removeChild(n.stateNode));break;case 18:pt!==null&&(yn?(e=pt,n=n.stateNode,e.nodeType===8?qc(e.parentNode,n):e.nodeType===1&&qc(e,n),Os(e)):qc(pt,n.stateNode));break;case 4:r=pt,o=yn,pt=n.stateNode.containerInfo,yn=!0,dr(e,t,n),pt=r,yn=o;break;case 0:case 11:case 14:case 15:if(!kt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&Cf(n,t,s),o=o.next}while(o!==r)}dr(e,t,n);break;case 1:if(!kt&&(Uo(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Ge(n,t,a)}dr(e,t,n);break;case 21:dr(e,t,n);break;case 22:n.mode&1?(kt=(r=kt)||n.memoizedState!==null,dr(e,t,n),kt=r):dr(e,t,n);break;default:dr(e,t,n)}}function kg(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new z2),t.forEach(function(r){var o=Q2.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function gn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=s),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*W2(r/1960))-r,10e?16:e,xr===null)var r=!1;else{if(e=xr,xr=null,Wl=0,ce&6)throw Error(F(331));var o=ce;for(ce|=4,G=e.current;G!==null;){var i=G,s=i.child;if(G.flags&16){var a=i.deletions;if(a!==null){for(var l=0;lXe()-Qp?oo(e,0):qp|=n),Lt(e,t)}function hx(e,t){t===0&&(e.mode&1?(t=Ma,Ma<<=1,!(Ma&130023424)&&(Ma=4194304)):t=1);var n=At();e=nr(e,t),e!==null&&(ia(e,t,n),Lt(e,n))}function q2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),hx(e,n)}function Q2(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(F(314))}r!==null&&r.delete(t),hx(e,n)}var mx;mx=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Dt.current)Bt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Bt=!1,F2(e,t,n);Bt=!!(e.flags&131072)}else Bt=!1,je&&t.flags&1048576&&x1(t,Dl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ul(e,t),e=t.pendingProps;var o=ui(t,Et.current);ri(t,n),o=Wp(null,t,r,e,o,n);var i=Up();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,jt(r)?(i=!0,Il(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Np(t),o.updater=$u,t.stateNode=o,o._reactInternals=t,hf(t,r,e,n),t=vf(null,t,r,!0,i,n)):(t.tag=0,je&&i&&Op(t),Rt(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ul(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=J2(r),e=vn(r,e),o){case 0:t=gf(null,t,r,e,n);break e;case 1:t=xg(null,t,r,e,n);break e;case 11:t=vg(null,t,r,e,n);break e;case 14:t=yg(null,t,r,vn(r.type,e),n);break e}throw Error(F(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:vn(r,o),gf(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:vn(r,o),xg(e,t,r,o,n);case 3:e:{if(Z1(t),e===null)throw Error(F(387));r=t.pendingProps,i=t.memoizedState,o=i.element,$1(e,t),Fl(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=pi(Error(F(423)),t),t=bg(e,t,r,n,o);break e}else if(r!==o){o=pi(Error(F(424)),t),t=bg(e,t,r,n,o);break e}else for(Vt=kr(t.stateNode.containerInfo.firstChild),Wt=t,je=!0,xn=null,n=w1(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ci(),r===o){t=rr(e,t,n);break e}Rt(e,t,r,n)}t=t.child}return t;case 5:return P1(t),e===null&&df(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,sf(r,o)?s=null:i!==null&&sf(r,i)&&(t.flags|=32),Q1(e,t),Rt(e,t,s,n),t.child;case 6:return e===null&&df(t),null;case 13:return J1(e,t,n);case 4:return _p(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=di(t,null,r,n):Rt(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:vn(r,o),vg(e,t,r,o,n);case 7:return Rt(e,t,t.pendingProps,n),t.child;case 8:return Rt(e,t,t.pendingProps.children,n),t.child;case 12:return Rt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,Te(jl,r._currentValue),r._currentValue=s,i!==null)if(Sn(i.value,s)){if(i.children===o.children&&!Dt.current){t=rr(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){s=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=Yn(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),ff(i.return,n,t),a.lanes|=n;break}l=l.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(F(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),ff(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}Rt(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,ri(t,n),o=cn(o),r=r(o),t.flags|=1,Rt(e,t,r,n),t.child;case 14:return r=t.type,o=vn(r,t.pendingProps),o=vn(r.type,o),yg(e,t,r,o,n);case 15:return X1(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:vn(r,o),ul(e,t),t.tag=1,jt(r)?(e=!0,Il(t)):e=!1,ri(t,n),G1(t,r,o),hf(t,r,o,n),vf(null,t,r,!0,e,n);case 19:return ex(e,t,n);case 22:return q1(e,t,n)}throw Error(F(156,t.tag))};function gx(e,t){return Hy(e,t)}function Z2(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 ln(e,t,n,r){return new Z2(e,t,n,r)}function th(e){return e=e.prototype,!(!e||!e.isReactComponent)}function J2(e){if(typeof e=="function")return th(e)?1:0;if(e!=null){if(e=e.$$typeof,e===bp)return 11;if(e===Cp)return 14}return 2}function Er(e,t){var n=e.alternate;return n===null?(n=ln(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 fl(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")th(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case jo:return io(n.children,o,i,t);case xp:s=8,o|=8;break;case Ld:return e=ln(12,n,t,o|2),e.elementType=Ld,e.lanes=i,e;case Fd:return e=ln(13,n,t,o),e.elementType=Fd,e.lanes=i,e;case Nd:return e=ln(19,n,t,o),e.elementType=Nd,e.lanes=i,e;case Py:return Eu(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ky:s=10;break e;case $y:s=9;break e;case bp:s=11;break e;case Cp:s=14;break e;case pr:s=16,r=null;break e}throw Error(F(130,e==null?e:typeof e,""))}return t=ln(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function io(e,t,n,r){return e=ln(7,e,r,t),e.lanes=n,e}function Eu(e,t,n,r){return e=ln(22,e,r,t),e.elementType=Py,e.lanes=n,e.stateNode={isHidden:!1},e}function od(e,t,n){return e=ln(6,e,null,t),e.lanes=n,e}function id(e,t,n){return t=ln(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ek(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=Nc(0),this.expirationTimes=Nc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Nc(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function nh(e,t,n,r,o,i,s,a,l){return e=new ek(e,t,n,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=ln(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Np(i),e}function tk(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(bx)}catch(e){console.error(e)}}bx(),by.exports=Xt;var sh=by.exports;const Ha=ly(sh);var Cx,Og=sh;Cx=Og.createRoot,Og.hydrateRoot;function Sx(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t{t[n]=wx(e[n])}),t}function Pt(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return Mn(e)&&Mn(t)&&Object.keys(t).forEach(o=>{Mn(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Mn(e[o])?r[o]=Pt(e[o],t[o],n):n.clone?r[o]=Mn(t[o])?wx(t[o]):t[o]:r[o]=t[o]}),r}function bs(e,t){return t?Pt(e,t,{clone:!1}):e}function sk(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(r=>r.startsWith("@container")).sort((r,o)=>{var s,a;const i=/min-width:\s*([0-9.]+)/;return+(((s=r.match(i))==null?void 0:s[1])||0)-+(((a=o.match(i))==null?void 0:a[1])||0)});return n.length?n.reduce((r,o)=>{const i=t[o];return delete r[o],r[o]=i,r},{...t}):t}function ak(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function lk(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,o]=n,i=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(i)}function uk(e){const t=(i,s)=>i.replace("@media",s?`@container ${s}`:"@container");function n(i,s){i.up=(...a)=>t(e.breakpoints.up(...a),s),i.down=(...a)=>t(e.breakpoints.down(...a),s),i.between=(...a)=>t(e.breakpoints.between(...a),s),i.only=(...a)=>t(e.breakpoints.only(...a),s),i.not=(...a)=>{const l=t(e.breakpoints.not(...a),s);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const r={},o=i=>(n(r,i),r);return n(o),{...e,containerQueries:o}}const Iu={xs:0,sm:600,md:900,lg:1200,xl:1536},Ig={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Iu[e]}px)`},ck={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Iu[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function ir(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||Ig;return t.reduce((s,a,l)=>(s[i.up(i.keys[l])]=n(t[l]),s),{})}if(typeof t=="object"){const i=r.breakpoints||Ig;return Object.keys(t).reduce((s,a)=>{if(ak(i.keys,a)){const l=lk(r.containerQueries?r:ck,a);l&&(s[l]=n(t[a],a))}else if(Object.keys(i.values||Iu).includes(a)){const l=i.up(a);s[l]=n(t[a],a)}else{const l=a;s[l]=t[l]}return s},{})}return n(t)}function dk(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function fk(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Bu(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 Kl(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Bu(e,n)||r,t&&(o=t(o,r,e)),o}function Ze(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=s=>{if(s[t]==null)return null;const a=s[t],l=s.theme,u=Bu(l,r)||{};return ir(s,a,d=>{let f=Kl(u,o,d);return d===f&&typeof d=="string"&&(f=Kl(u,o,`${t}${d==="default"?"":V(d)}`,d)),n===!1?f:{[n]:f}})};return i.propTypes={},i.filterProps=[t],i}function pk(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const hk={m:"margin",p:"padding"},mk={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Bg={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},gk=pk(e=>{if(e.length>2)if(Bg[e])e=Bg[e];else return[e];const[t,n]=e.split(""),r=hk[t],o=mk[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),ah=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],lh=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...ah,...lh];function ua(e,t,n,r){const o=Bu(e,t,!0)??n;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:typeof o=="string"?`calc(${i} * ${o})`:o*i:Array.isArray(o)?i=>{if(typeof i=="string")return i;const s=Math.abs(i),a=o[s];return i>=0?a:typeof a=="number"?-a:`-${a}`}:typeof o=="function"?o:()=>{}}function uh(e){return ua(e,"spacing",8)}function ca(e,t){return typeof t=="string"||t==null?t:e(t)}function vk(e,t){return n=>e.reduce((r,o)=>(r[o]=ca(t,n),r),{})}function yk(e,t,n,r){if(!t.includes(n))return null;const o=gk(n),i=vk(o,r),s=e[n];return ir(e,s,i)}function kx(e,t){const n=uh(e.theme);return Object.keys(e).map(r=>yk(e,t,r,n)).reduce(bs,{})}function Ve(e){return kx(e,ah)}Ve.propTypes={};Ve.filterProps=ah;function He(e){return kx(e,lh)}He.propTypes={};He.filterProps=lh;function Du(...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]?bs(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function rn(e){return typeof e!="number"?e:`${e}px solid`}function fn(e,t){return Ze({prop:e,themeKey:"borders",transform:t})}const xk=fn("border",rn),bk=fn("borderTop",rn),Ck=fn("borderRight",rn),Sk=fn("borderBottom",rn),wk=fn("borderLeft",rn),kk=fn("borderColor"),$k=fn("borderTopColor"),Pk=fn("borderRightColor"),Tk=fn("borderBottomColor"),Ek=fn("borderLeftColor"),Rk=fn("outline",rn),Ak=fn("outlineColor"),ju=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=ua(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:ca(t,r)});return ir(e,e.borderRadius,n)}return null};ju.propTypes={};ju.filterProps=["borderRadius"];Du(xk,bk,Ck,Sk,wk,kk,$k,Pk,Tk,Ek,ju,Rk,Ak);const Lu=e=>{if(e.gap!==void 0&&e.gap!==null){const t=ua(e.theme,"spacing",8),n=r=>({gap:ca(t,r)});return ir(e,e.gap,n)}return null};Lu.propTypes={};Lu.filterProps=["gap"];const Fu=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=ua(e.theme,"spacing",8),n=r=>({columnGap:ca(t,r)});return ir(e,e.columnGap,n)}return null};Fu.propTypes={};Fu.filterProps=["columnGap"];const Nu=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=ua(e.theme,"spacing",8),n=r=>({rowGap:ca(t,r)});return ir(e,e.rowGap,n)}return null};Nu.propTypes={};Nu.filterProps=["rowGap"];const Mk=Ze({prop:"gridColumn"}),Ok=Ze({prop:"gridRow"}),Ik=Ze({prop:"gridAutoFlow"}),Bk=Ze({prop:"gridAutoColumns"}),Dk=Ze({prop:"gridAutoRows"}),jk=Ze({prop:"gridTemplateColumns"}),Lk=Ze({prop:"gridTemplateRows"}),Fk=Ze({prop:"gridTemplateAreas"}),Nk=Ze({prop:"gridArea"});Du(Lu,Fu,Nu,Mk,Ok,Ik,Bk,Dk,jk,Lk,Fk,Nk);function ii(e,t){return t==="grey"?t:e}const _k=Ze({prop:"color",themeKey:"palette",transform:ii}),zk=Ze({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ii}),Vk=Ze({prop:"backgroundColor",themeKey:"palette",transform:ii});Du(_k,zk,Vk);function _t(e){return e<=1&&e!==0?`${e*100}%`:e}const Hk=Ze({prop:"width",transform:_t}),ch=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var o,i,s,a,l;const r=((s=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:s[n])||Iu[n];return r?((l=(a=e.theme)==null?void 0:a.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:_t(n)}};return ir(e,e.maxWidth,t)}return null};ch.filterProps=["maxWidth"];const Wk=Ze({prop:"minWidth",transform:_t}),Uk=Ze({prop:"height",transform:_t}),Gk=Ze({prop:"maxHeight",transform:_t}),Kk=Ze({prop:"minHeight",transform:_t});Ze({prop:"size",cssProperty:"width",transform:_t});Ze({prop:"size",cssProperty:"height",transform:_t});const Yk=Ze({prop:"boxSizing"});Du(Hk,ch,Wk,Uk,Gk,Kk,Yk);const da={border:{themeKey:"borders",transform:rn},borderTop:{themeKey:"borders",transform:rn},borderRight:{themeKey:"borders",transform:rn},borderBottom:{themeKey:"borders",transform:rn},borderLeft:{themeKey:"borders",transform:rn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:rn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ju},color:{themeKey:"palette",transform:ii},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ii},backgroundColor:{themeKey:"palette",transform:ii},p:{style:He},pt:{style:He},pr:{style:He},pb:{style:He},pl:{style:He},px:{style:He},py:{style:He},padding:{style:He},paddingTop:{style:He},paddingRight:{style:He},paddingBottom:{style:He},paddingLeft:{style:He},paddingX:{style:He},paddingY:{style:He},paddingInline:{style:He},paddingInlineStart:{style:He},paddingInlineEnd:{style:He},paddingBlock:{style:He},paddingBlockStart:{style:He},paddingBlockEnd:{style:He},m:{style:Ve},mt:{style:Ve},mr:{style:Ve},mb:{style:Ve},ml:{style:Ve},mx:{style:Ve},my:{style:Ve},margin:{style:Ve},marginTop:{style:Ve},marginRight:{style:Ve},marginBottom:{style:Ve},marginLeft:{style:Ve},marginX:{style:Ve},marginY:{style:Ve},marginInline:{style:Ve},marginInlineStart:{style:Ve},marginInlineEnd:{style:Ve},marginBlock:{style:Ve},marginBlockStart:{style:Ve},marginBlockEnd:{style:Ve},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:Lu},rowGap:{style:Nu},columnGap:{style:Fu},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:_t},maxWidth:{style:ch},minWidth:{transform:_t},height:{transform:_t},maxHeight:{transform:_t},minHeight:{transform:_t},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Xk(...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 qk(e,t){return typeof e=="function"?e(t):e}function Qk(){function e(n,r,o,i){const s={[n]:r,theme:o},a=i[n];if(!a)return{[n]:r};const{cssProperty:l=n,themeKey:u,transform:c,style:d}=a;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const f=Bu(o,u)||{};return d?d(s):ir(s,r,h=>{let y=Kl(f,c,h);return h===y&&typeof h=="string"&&(y=Kl(f,c,`${n}${h==="default"?"":V(h)}`,h)),l===!1?y:{[l]:y}})}function t(n){const{sx:r,theme:o={}}=n||{};if(!r)return null;const i=o.unstable_sxConfig??da;function s(a){let l=a;if(typeof a=="function")l=a(o);else if(typeof a!="object")return a;if(!l)return null;const u=dk(o.breakpoints),c=Object.keys(u);let d=u;return Object.keys(l).forEach(f=>{const m=qk(l[f],o);if(m!=null)if(typeof m=="object")if(i[f])d=bs(d,e(f,m,o,i));else{const h=ir({theme:o},m,y=>({[f]:y}));Xk(h,m)?d[f]=t({sx:m,theme:o}):d=bs(d,h)}else d=bs(d,e(f,m,o,i))}),sk(o,fk(c,d))}return Array.isArray(r)?r.map(s):s(r)}return t}const $i=Qk();$i.filterProps=["sx"];const Zk=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??da;return Object.keys(e).forEach(o=>{n[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]}),t};function $x(e){const{sx:t,...n}=e,{systemProps:r,otherProps:o}=Zk(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...s)=>{const a=t(...s);return Mn(a)?{...r,...a}:r}:i={...r,...t},{...o,sx:i}}function N(){return N=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?mt(Pi,--Ft):0,mi--,tt===10&&(mi=1,zu--),tt}function Ut(){return tt=Ft2||Us(tt)>3?"":" "}function m$(e,t){for(;--t&&Ut()&&!(tt<48||tt>102||tt>57&&tt<65||tt>70&&tt<97););return fa(e,pl()+(t<6&&Bn()==32&&Ut()==32))}function Af(e){for(;Ut();)switch(tt){case e:return Ft;case 34:case 39:e!==34&&e!==39&&Af(tt);break;case 40:e===41&&Af(e);break;case 92:Ut();break}return Ft}function g$(e,t){for(;Ut()&&e+tt!==57;)if(e+tt===84&&Bn()===47)break;return"/*"+fa(t,Ft-1)+"*"+_u(e===47?e:Ut())}function v$(e){for(;!Us(Bn());)Ut();return fa(e,Ft)}function y$(e){return Ox(ml("",null,null,null,[""],e=Mx(e),0,[0],e))}function ml(e,t,n,r,o,i,s,a,l){for(var u=0,c=0,d=s,f=0,m=0,h=0,y=1,k=1,g=1,v=0,p="",b=o,w=i,P=r,$=p;k;)switch(h=v,v=Ut()){case 40:if(h!=108&&mt($,d-1)==58){Rf($+=ge(hl(v),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:$+=hl(v);break;case 9:case 10:case 13:case 32:$+=h$(h);break;case 92:$+=m$(pl()-1,7);continue;case 47:switch(Bn()){case 42:case 47:Wa(x$(g$(Ut(),pl()),t,n),l);break;default:$+="/"}break;case 123*y:a[u++]=En($)*g;case 125*y:case 59:case 0:switch(v){case 0:case 125:k=0;case 59+c:g==-1&&($=ge($,/\f/g,"")),m>0&&En($)-d&&Wa(m>32?jg($+";",r,n,d-1):jg(ge($," ","")+";",r,n,d-2),l);break;case 59:$+=";";default:if(Wa(P=Dg($,t,n,u,c,o,a,p,b=[],w=[],d),i),v===123)if(c===0)ml($,t,P,P,b,i,d,a,w);else switch(f===99&&mt($,3)===110?100:f){case 100:case 108:case 109:case 115:ml(e,P,P,r&&Wa(Dg(e,P,P,0,0,o,a,p,o,b=[],d),w),o,w,d,a,r?b:w);break;default:ml($,P,P,P,[""],w,0,a,w)}}u=c=m=0,y=g=1,p=$="",d=s;break;case 58:d=1+En($),m=h;default:if(y<1){if(v==123)--y;else if(v==125&&y++==0&&p$()==125)continue}switch($+=_u(v),v*y){case 38:g=c>0?1:($+="\f",-1);break;case 44:a[u++]=(En($)-1)*g,g=1;break;case 64:Bn()===45&&($+=hl(Ut())),f=Bn(),c=d=En(p=$+=v$(pl())),v++;break;case 45:h===45&&En($)==2&&(y=0)}}return i}function Dg(e,t,n,r,o,i,s,a,l,u,c){for(var d=o-1,f=o===0?i:[""],m=ph(f),h=0,y=0,k=0;h0?f[g]+" "+v:ge(v,/&\f/g,f[g])))&&(l[k++]=p);return Vu(e,t,n,o===0?dh:a,l,u,c)}function x$(e,t,n){return Vu(e,t,n,Tx,_u(f$()),Ws(e,2,-2),0)}function jg(e,t,n,r){return Vu(e,t,n,fh,Ws(e,0,r),Ws(e,r+1,-1),r)}function si(e,t){for(var n="",r=ph(e),o=0;o6)switch(mt(e,t+1)){case 109:if(mt(e,t+4)!==45)break;case 102:return ge(e,/(.+:)(.+)-([^]+)/,"$1"+me+"$2-$3$1"+Yl+(mt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Rf(e,"stretch")?Ix(ge(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(mt(e,t+1)!==115)break;case 6444:switch(mt(e,En(e)-3-(~Rf(e,"!important")&&10))){case 107:return ge(e,":",":"+me)+e;case 101:return ge(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+me+(mt(e,14)===45?"inline-":"")+"box$3$1"+me+"$2$3$1"+St+"$2box$3")+e}break;case 5936:switch(mt(e,t+11)){case 114:return me+e+St+ge(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return me+e+St+ge(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return me+e+St+ge(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return me+e+St+e+e}return e}var E$=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case fh:t.return=Ix(t.value,t.length);break;case Ex:return si([Ki(t,{value:ge(t.value,"@","@"+me)})],o);case dh:if(t.length)return d$(t.props,function(i){switch(c$(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return si([Ki(t,{props:[ge(i,/:(read-\w+)/,":"+Yl+"$1")]})],o);case"::placeholder":return si([Ki(t,{props:[ge(i,/:(plac\w+)/,":"+me+"input-$1")]}),Ki(t,{props:[ge(i,/:(plac\w+)/,":"+Yl+"$1")]}),Ki(t,{props:[ge(i,/:(plac\w+)/,St+"input-$1")]})],o)}return""})}},R$=[E$],A$=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(y){var k=y.getAttribute("data-emotion");k.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var o=t.stylisPlugins||R$,i={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var k=y.getAttribute("data-emotion").split(" "),g=1;g=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 V$={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},H$=!1,W$=/[A-Z]|^ms/g,U$=/_EMO_([^_]+?)_([^]*?)_EMO_/g,_x=function(t){return t.charCodeAt(1)===45},Fg=function(t){return t!=null&&typeof t!="boolean"},sd=Px(function(e){return _x(e)?e:e.replace(W$,"-$&").toLowerCase()}),Ng=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(U$,function(r,o,i){return Rn={name:o,styles:i,next:Rn},o})}return V$[t]!==1&&!_x(t)&&typeof n=="number"&&n!==0?n+"px":n},G$="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Gs(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return Rn={name:o.name,styles:o.styles,next:Rn},o.name;var i=n;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)Rn={name:s.name,styles:s.styles,next:Rn},s=s.next;var a=i.styles+";";return a}return K$(e,t,n)}case"function":{if(e!==void 0){var l=Rn,u=n(e);return Rn=l,Gs(e,t,u)}break}}var c=n;if(t==null)return c;var d=t[c];return d!==void 0?d:c}function K$(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?Z$:J$},Hg=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(s){return t.__emotion_forwardProp(s)&&i(s)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},e5=!1,t5=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return Fx(n,r,o),X$(function(){return Nx(n,r,o)}),null},n5=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,s;n!==void 0&&(i=n.label,s=n.target);var a=Hg(t,n,r),l=a||Vg(o),u=!l("as");return function(){var c=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&d.push("label:"+i+";"),c[0]==null||c[0].raw===void 0)d.push.apply(d,c);else{d.push(c[0][0]);for(var f=c.length,m=1;mt(o5(o)?n:o):t;return S.jsx(q$,{styles:r})}/** + * @mui/styled-engine v6.1.0 + * + * @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 Wx(e,t){return Xl(e,t)}const s5=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},a5=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)=>({...n,[r.key]:r.val}),{})};function l5(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,i=a5(t),s=Object.keys(i);function a(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n})`}function l(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-r/100}${n})`}function u(f,m){const h=s.indexOf(m);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n}) and (max-width:${(h!==-1&&typeof t[s[h]]=="number"?t[s[h]]:m)-r/100}${n})`}function c(f){return s.indexOf(f)+1(r.length===0?[1]:r).map(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function c5(e,t){var r;const n=this;if(n.vars){if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!="function")return{};let o=n.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return n.palette.mode===e?t:{}}function ec(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={},...s}=e,a=l5(n),l=Ux(o);let u=Pt({breakpoints:a,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:l,shape:{...u5,...i}},s);return u=uk(u),u.applyStyles=c5,u=t.reduce((c,d)=>Pt(c,d),u),u.unstable_sxConfig={...da,...s==null?void 0:s.unstable_sxConfig},u.unstable_sx=function(d){return $i({sx:d,theme:this})},u}function d5(e){return Object.keys(e).length===0}function f5(e=null){const t=x.useContext(Ju);return!t||d5(t)?e:t}const p5=ec();function tc(e=p5){return f5(e)}function h5({styles:e,themeId:t,defaultTheme:n={}}){const r=tc(n),o=typeof e=="function"?e(t&&r[t]||r):e;return S.jsx(i5,{styles:o})}const Wg=e=>e,m5=()=>{let e=Wg;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Wg}}},Gx=m5();function g5(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=Wx("div",{shouldForwardProp:a=>a!=="theme"&&a!=="sx"&&a!=="as"})($i);return x.forwardRef(function(l,u){const c=tc(n),{className:d,component:f="div",...m}=$x(l);return S.jsx(i,{as:f,ref:u,className:Y(d,o?o(r):r),theme:t&&c[t]||c,...m})})}const v5={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 de(e,t,n="Mui"){const r=v5[t];return r?`${n}-${r}`:`${Gx.generate(e)}-${t}`}function le(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=de(e,o,n)}),r}const y5=ec();function ad(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Mf(e,t,n){return b5(t)?n:t[e]||t}const Ua=Symbol("mui.processed_props");function Ga(e,t,n){if(Ua in e)return e[Ua];const r={...e,theme:Mf(t,e.theme,n)};return e[Ua]=r,r[Ua]=r,r}function x5(e){return e?(t,n)=>n[e]:null}function gl(e,t){var r;const n=typeof e=="function"?e(t):e;if(Array.isArray(n))return n.flatMap(o=>gl(o,t));if(Array.isArray(n==null?void 0:n.variants)){const{variants:o,...i}=n;let s=i,a;e:for(let l=0;l$i(Ga(a,t,n));return i.__mui_systemSx=!0,(a,l={})=>{s5(a,P=>P.filter($=>!($!=null&&$.__mui_systemSx)));const{name:u,slot:c,skipVariantsResolver:d,skipSx:f,overridesResolver:m=x5(S5(c)),...h}=l,y=d!==void 0?d:c&&c!=="Root"&&c!=="root"||!1,k=f||!1;let g,v=ad;c==="Root"||c==="root"?v=r:c?v=o:C5(a)&&(v=void 0);const p=Wx(a,{shouldForwardProp:v,label:g,...h}),b=P=>typeof P=="function"&&P.__emotion_real!==P||Mn(P)?$=>gl(P,Ga($,t,n)):P,w=(P,...$)=>{let T=b(P);const C=$?$.map(b):[];u&&m&&C.push(O=>{const D=Mf(t,O.theme,n);if(!D.components||!D.components[u]||!D.components[u].styleOverrides)return null;const I=D.components[u].styleOverrides,_={},j=Ga(O,t,n);for(const L in I)_[L]=gl(I[L],j);return m(O,_)}),u&&!y&&C.push(O=>{var _,j;const D=Mf(t,O.theme,n),I=(j=(_=D==null?void 0:D.components)==null?void 0:_[u])==null?void 0:j.variants;return I?gl({variants:I},Ga(O,t,n)):null}),k||C.push(i);const E=C.length-$.length;if(Array.isArray(P)&&E>0){const O=new Array(E).fill("");T=[...P,...O],T.raw=[...P.raw,...O]}const A=p(T,...C);return a.muiName&&(A.muiName=a.muiName),A};return p.withConfig&&(w.withConfig=p.withConfig),w}}function b5(e){for(const t in e)return!1;return!0}function C5(e){return typeof e=="string"&&e.charCodeAt(0)>96}function S5(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const w5=Kx();function Ks(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const o=r;if(o==="components"||o==="slots")n[o]={...e[o],...n[o]};else if(o==="componentsProps"||o==="slotProps"){const i=e[o],s=t[o];if(!s)n[o]=i||{};else if(!i)n[o]=s;else{n[o]={...s};for(const a in i)if(Object.prototype.hasOwnProperty.call(i,a)){const l=a;n[o][l]=Ks(i[l],s[l])}}}else n[o]===void 0&&(n[o]=e[o])}return n}function k5(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Ks(t.components[n].defaultProps,r)}function Yx({props:e,name:t,defaultTheme:n,themeId:r}){let o=tc(n);return r&&(o=o[r]||o),k5({theme:o,name:t,props:e})}const Or=typeof window<"u"?x.useLayoutEffect:x.useEffect;function Xx(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function xh(e,t=0,n=1){return Xx(e,t,n)}function $5(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 Ir(e){if(e.type)return e;if(e.charAt(0)==="#")return Ir($5(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(or(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"].includes(o))throw new Error(or(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const P5=e=>{const t=Ir(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},ss=(e,t)=>{try{return P5(e)}catch{return e}};function nc(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function qx(e){e=Ir(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),s=(u,c=(u+n/30)%12)=>o-i*Math.max(Math.min(c-3,9-c,1),-1);let a="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),nc({type:a,values:l})}function Of(e){e=Ir(e);let t=e.type==="hsl"||e.type==="hsla"?Ir(qx(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function T5(e,t){const n=Of(e),r=Of(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Oe(e,t){return e=Ir(e),t=xh(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,nc(e)}function Ka(e,t,n){try{return Oe(e,t)}catch{return e}}function bh(e,t){if(e=Ir(e),t=xh(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return nc(e)}function $e(e,t,n){try{return bh(e,t)}catch{return e}}function Ch(e,t){if(e=Ir(e),t=xh(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return nc(e)}function Pe(e,t,n){try{return Ch(e,t)}catch{return e}}function E5(e,t=.15){return Of(e)>.5?bh(e,t):Ch(e,t)}function Ya(e,t,n){try{return E5(e,t)}catch{return e}}function Ug(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function Qx(e,t=166){let n;function r(...o){const i=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(i,t)}return r.clear=()=>{clearTimeout(n)},r}function ld(e,t){var n,r,o;return x.isValidElement(e)&&t.indexOf(e.type.muiName??((o=(r=(n=e.type)==null?void 0:n._payload)==null?void 0:r.value)==null?void 0:o.muiName))!==-1}function Gt(e){return e&&e.ownerDocument||document}function ho(e){return Gt(e).defaultView||window}function If(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let Gg=0;function R5(e){const[t,n]=x.useState(e),r=e||t;return x.useEffect(()=>{t==null&&(Gg+=1,n(`mui-${Gg}`))},[t]),r}const Kg=Sl.useId;function rc(e){if(Kg!==void 0){const t=Kg();return e??t}return R5(e)}function Bf({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=x.useRef(e!==void 0),[i,s]=x.useState(t),a=o?e:i,l=x.useCallback(u=>{o||s(u)},[]);return[a,l]}function Ko(e){const t=x.useRef(e);return Or(()=>{t.current=e}),x.useRef((...n)=>(0,t.current)(...n)).current}function at(...e){return x.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{If(n,t)})},e)}const Yg={};function Zx(e,t){const n=x.useRef(Yg);return n.current===Yg&&(n.current=e(t)),n}const A5=[];function M5(e){x.useEffect(e,A5)}class Sh{constructor(){Fi(this,"currentId",null);Fi(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Fi(this,"disposeEffect",()=>this.clear)}static create(){return new Sh}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Jx(){const e=Zx(Sh.create).current;return M5(e.disposeEffect),e}function ql(e){try{return e.matches(":focus-visible")}catch{}return!1}function eb(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const O5={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function I5(e){return typeof e=="string"}function tb(e,t,n){return e===void 0||I5(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function nb(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 Xg(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function rb(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const m=Y(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),h={...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},y={...n,...o,...r};return m.length>0&&(y.className=m),Object.keys(h).length>0&&(y.style=h),{props:y,internalRef:void 0}}const s=nb({...o,...r}),a=Xg(r),l=Xg(o),u=t(s),c=Y(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),d={...u==null?void 0:u.style,...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},f={...u,...n,...l,...a};return c.length>0&&(f.className=c),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:u.ref}}function ob(e,t,n){return typeof e=="function"?e(t,n):e}function qg(e){var d;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:o=!1,...i}=e,s=o?{}:ob(n,r),{props:a,internalRef:l}=rb({...i,externalSlotProps:s}),u=at(l,s==null?void 0:s.ref,(d=e.additionalProps)==null?void 0:d.ref);return tb(t,{...a,ref:u},r)}function pa(e){return!e||!x.isValidElement(e)?null:e.props.propertyIsEnumerable("ref")?e.props.ref:e.ref}const B5=x.createContext(),ib=()=>x.useContext(B5)??!1,D5=x.createContext(void 0);function j5(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Ks(o.defaultProps,r):!o.styleOverrides&&!o.variants?Ks(o,r):r}function L5({props:e,name:t}){const n=x.useContext(D5);return j5({props:e,name:t,theme:{components:n}})}function F5(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 Qg=(e,t,n,r=[])=>{let o=e;t.forEach((i,s)=>{s===t.length-1?Array.isArray(o)?o[Number(i)]=n:o&&typeof o=="object"&&(o[i]=n):o&&typeof o=="object"&&(o[i]||(o[i]=r.includes(i)?[]:{}),o=o[i])})},N5=(e,t,n)=>{function r(o,i=[],s=[]){Object.entries(o).forEach(([a,l])=>{(!n||n&&!n([...i,a]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?r(l,[...i,a],Array.isArray(l)?[...s,a]:s):t([...i,a],l,s))})}r(e)},_5=(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 ud(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},s={};return N5(e,(a,l,u)=>{if((typeof l=="string"||typeof l=="number")&&(!r||!r(a,l))){const c=`--${n?`${n}-`:""}${a.join("-")}`,d=_5(a,l);Object.assign(o,{[c]:d}),Qg(i,a,`var(${c})`,u),Qg(s,a,`var(${c}, ${d})`,u)}},a=>a[0]==="vars"),{css:o,vars:i,varsWithDefaults:s}}function z5(e,t={}){const{getSelector:n=k,disableCssColorScheme:r,colorSchemeSelector:o}=t,{colorSchemes:i={},components:s,defaultColorScheme:a="light",...l}=e,{vars:u,css:c,varsWithDefaults:d}=ud(l,t);let f=d;const m={},{[a]:h,...y}=i;if(Object.entries(y||{}).forEach(([p,b])=>{const{vars:w,css:P,varsWithDefaults:$}=ud(b,t);f=Pt(f,$),m[p]={css:P,vars:w}}),h){const{css:p,vars:b,varsWithDefaults:w}=ud(h,t);f=Pt(f,w),m[a]={css:p,vars:b}}function k(p,b){var P,$;let w=o;if(o==="class"&&(w=".%s"),o==="data"&&(w="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(w=`[${o}="%s"]`),p){if(w==="media")return e.defaultColorScheme===p?":root":{[`@media (prefers-color-scheme: ${(($=(P=i[p])==null?void 0:P.palette)==null?void 0:$.mode)||p})`]:{":root":b}};if(w)return e.defaultColorScheme===p?`:root, ${w.replace("%s",String(p))}`:w.replace("%s",String(p))}return":root"}return{vars:f,generateThemeVars:()=>{let p={...u};return Object.entries(m).forEach(([,{vars:b}])=>{p=Pt(p,b)}),p},generateStyleSheets:()=>{var T,C;const p=[],b=e.defaultColorScheme||"light";function w(E,A){Object.keys(A).length&&p.push(typeof E=="string"?{[E]:{...A}}:E)}w(n(void 0,{...c}),c);const{[b]:P,...$}=m;if(P){const{css:E}=P,A=(C=(T=i[b])==null?void 0:T.palette)==null?void 0:C.mode,O=!r&&A?{colorScheme:A,...E}:{...E};w(n(b,{...O}),O)}return Object.entries($).forEach(([E,{css:A}])=>{var I,_;const O=(_=(I=i[E])==null?void 0:I.palette)==null?void 0:_.mode,D=!r&&O?{colorScheme:O,...A}:{...A};w(n(E,{...D}),D)}),p}}}function V5(e){return function(n){return e==="media"?`@media (prefers-color-scheme: ${n})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}const H5=ec(),W5=w5("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${V(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),U5=e=>Yx({props:e,name:"MuiContainer",defaultTheme:H5}),G5=(e,t)=>{const n=l=>de(t,l),{classes:r,fixed:o,disableGutters:i,maxWidth:s}=e,a={root:["root",s&&`maxWidth${V(String(s))}`,o&&"fixed",i&&"disableGutters"]};return fe(a,n,r)};function K5(e={}){const{createStyledComponent:t=W5,useThemeProps:n=U5,componentName:r="MuiContainer"}=e,o=t(({theme:s,ownerState:a})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!a.disableGutters&&{paddingLeft:s.spacing(2),paddingRight:s.spacing(2),[s.breakpoints.up("sm")]:{paddingLeft:s.spacing(3),paddingRight:s.spacing(3)}}}),({theme:s,ownerState:a})=>a.fixed&&Object.keys(s.breakpoints.values).reduce((l,u)=>{const c=u,d=s.breakpoints.values[c];return d!==0&&(l[s.breakpoints.up(c)]={maxWidth:`${d}${s.breakpoints.unit}`}),l},{}),({theme:s,ownerState:a})=>({...a.maxWidth==="xs"&&{[s.breakpoints.up("xs")]:{maxWidth:Math.max(s.breakpoints.values.xs,444)}},...a.maxWidth&&a.maxWidth!=="xs"&&{[s.breakpoints.up(a.maxWidth)]:{maxWidth:`${s.breakpoints.values[a.maxWidth]}${s.breakpoints.unit}`}}}));return x.forwardRef(function(a,l){const u=n(a),{className:c,component:d="div",disableGutters:f=!1,fixed:m=!1,maxWidth:h="lg",classes:y,...k}=u,g={...u,component:d,disableGutters:f,fixed:m,maxWidth:h},v=G5(g,r);return S.jsx(o,{as:d,ownerState:g,className:Y(v.root,c),ref:l,...k})})}const Ys={black:"#000",white:"#fff"},Y5={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},ko={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},$o={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Yi={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Po={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},To={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Eo={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Zg={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Ys.white,default:Ys.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},cd={text:{primary:Ys.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Ys.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Jg(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=Ch(e.main,o):t==="dark"&&(e.dark=bh(e.main,i)))}function X5(e="light"){return e==="dark"?{main:Po[200],light:Po[50],dark:Po[400]}:{main:Po[700],light:Po[400],dark:Po[800]}}function q5(e="light"){return e==="dark"?{main:ko[200],light:ko[50],dark:ko[400]}:{main:ko[500],light:ko[300],dark:ko[700]}}function Q5(e="light"){return e==="dark"?{main:$o[500],light:$o[300],dark:$o[700]}:{main:$o[700],light:$o[400],dark:$o[800]}}function Z5(e="light"){return e==="dark"?{main:To[400],light:To[300],dark:To[700]}:{main:To[700],light:To[500],dark:To[900]}}function J5(e="light"){return e==="dark"?{main:Eo[400],light:Eo[300],dark:Eo[700]}:{main:Eo[800],light:Eo[500],dark:Eo[900]}}function eP(e="light"){return e==="dark"?{main:Yi[400],light:Yi[300],dark:Yi[700]}:{main:"#ed6c02",light:Yi[500],dark:Yi[900]}}function wh(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...o}=e,i=e.primary||X5(t),s=e.secondary||q5(t),a=e.error||Q5(t),l=e.info||Z5(t),u=e.success||J5(t),c=e.warning||eP(t);function d(y){return T5(y,cd.text.primary)>=n?cd.text.primary:Zg.text.primary}const f=({color:y,name:k,mainShade:g=500,lightShade:v=300,darkShade:p=700})=>{if(y={...y},!y.main&&y[g]&&(y.main=y[g]),!y.hasOwnProperty("main"))throw new Error(or(11,k?` (${k})`:"",g));if(typeof y.main!="string")throw new Error(or(12,k?` (${k})`:"",JSON.stringify(y.main)));return Jg(y,"light",v,r),Jg(y,"dark",p,r),y.contrastText||(y.contrastText=d(y.main)),y},m={dark:cd,light:Zg};return Pt({common:{...Ys},mode:t,primary:f({color:i,name:"primary"}),secondary:f({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:a,name:"error"}),warning:f({color:c,name:"warning"}),info:f({color:l,name:"info"}),success:f({color:u,name:"success"}),grey:Y5,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r,...m[t]},o)}function tP(e){const t={};return Object.entries(e).forEach(r=>{const[o,i]=r;typeof i=="object"&&(t[o]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),t}function nP(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function rP(e){return Math.round(e*1e5)/1e5}const e0={textTransform:"uppercase"},t0='"Roboto", "Helvetica", "Arial", sans-serif';function oP(e,t){const{fontFamily:n=t0,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:a=700,htmlFontSize:l=16,allVariants:u,pxToRem:c,...d}=typeof t=="function"?t(e):t,f=r/14,m=c||(k=>`${k/l*f}rem`),h=(k,g,v,p,b)=>({fontFamily:n,fontWeight:k,fontSize:m(g),lineHeight:v,...n===t0?{letterSpacing:`${rP(p/g)}em`}:{},...b,...u}),y={h1:h(o,96,1.167,-1.5),h2:h(o,60,1.2,-.5),h3:h(i,48,1.167,0),h4:h(i,34,1.235,.25),h5:h(i,24,1.334,0),h6:h(s,20,1.6,.15),subtitle1:h(i,16,1.75,.15),subtitle2:h(s,14,1.57,.1),body1:h(i,16,1.5,.15),body2:h(i,14,1.43,.15),button:h(s,14,1.75,.4,e0),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,e0),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Pt({htmlFontSize:l,pxToRem:m,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:a,...y},d,{clone:!1})}const iP=.2,sP=.14,aP=.12;function De(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${iP})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${sP})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${aP})`].join(",")}const lP=["none",De(0,2,1,-1,0,1,1,0,0,1,3,0),De(0,3,1,-2,0,2,2,0,0,1,5,0),De(0,3,3,-2,0,3,4,0,0,1,8,0),De(0,2,4,-1,0,4,5,0,0,1,10,0),De(0,3,5,-1,0,5,8,0,0,1,14,0),De(0,3,5,-1,0,6,10,0,0,1,18,0),De(0,4,5,-2,0,7,10,1,0,2,16,1),De(0,5,5,-3,0,8,10,1,0,3,14,2),De(0,5,6,-3,0,9,12,1,0,3,16,2),De(0,6,6,-3,0,10,14,1,0,4,18,3),De(0,6,7,-4,0,11,15,1,0,4,20,3),De(0,7,8,-4,0,12,17,2,0,5,22,4),De(0,7,8,-4,0,13,19,2,0,5,24,4),De(0,7,9,-4,0,14,21,2,0,5,26,4),De(0,8,9,-5,0,15,22,2,0,6,28,5),De(0,8,10,-5,0,16,24,2,0,6,30,5),De(0,8,11,-5,0,17,26,2,0,6,32,5),De(0,9,11,-5,0,18,28,2,0,7,34,6),De(0,9,12,-6,0,19,29,2,0,7,36,6),De(0,10,13,-6,0,20,31,3,0,8,38,7),De(0,10,13,-6,0,21,33,3,0,8,40,7),De(0,10,14,-6,0,22,35,3,0,8,42,7),De(0,11,14,-7,0,23,36,3,0,9,44,8),De(0,11,15,-7,0,24,38,3,0,9,46,8)],uP={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},cP={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function n0(e){return`${Math.round(e)}ms`}function dP(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function fP(e){const t={...uP,...e.easing},n={...cP,...e.duration};return{getAutoHeightDuration:dP,create:(o=["all"],i={})=>{const{duration:s=n.standard,easing:a=t.easeInOut,delay:l=0,...u}=i;return(Array.isArray(o)?o:[o]).map(c=>`${c} ${typeof s=="string"?s:n0(s)} ${a} ${typeof l=="string"?l:n0(l)}`).join(",")},...e,easing:t,duration:n}}const pP={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Df(e={},...t){const{breakpoints:n,mixins:r={},spacing:o,palette:i={},transitions:s={},typography:a={},shape:l,...u}=e;if(e.vars)throw new Error(or(20));const c=wh(i),d=ec(e);let f=Pt(d,{mixins:nP(d.breakpoints,r),palette:c,shadows:lP.slice(),typography:oP(c,a),transitions:fP(s),zIndex:{...pP}});return f=Pt(f,u),f=t.reduce((m,h)=>Pt(m,h),f),f.unstable_sxConfig={...da,...u==null?void 0:u.unstable_sxConfig},f.unstable_sx=function(h){return $i({sx:h,theme:this})},f}function jf(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const hP=[...Array(25)].map((e,t)=>{if(t===0)return;const n=jf(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function sb(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function ab(e){return e==="dark"?hP:[]}function mP(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...o}=e,i=wh(t);return{palette:i,opacity:{...sb(i.mode),...n},overlays:r||ab(i.mode),...o}}function gP(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const vP=e=>[...[...Array(24)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n+1}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],yP=e=>(t,n)=>{const r=e.colorSchemeSelector;let o=r;if(r==="class"&&(o=".%s"),r==="data"&&(o="[data-%s]"),r!=null&&r.startsWith("data-")&&!r.includes("%s")&&(o=`[${r}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const i={};return vP(e.cssVarPrefix).forEach(s=>{i[s]=n[s],delete n[s]}),o==="media"?{":root":n,"@media (prefers-color-scheme: dark)":{":root":i}}:o?{[o.replace("%s",t)]:i,[`:root, ${o.replace("%s",t)}`]:n}:{":root":{...n,...i}}}if(o&&o!=="media")return`:root, ${o.replace("%s",String(t))}`}else if(t){if(o==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{":root":n}};if(o)return o.replace("%s",String(t))}return":root"};function xP(e){return Mn(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function bP(e={}){const t={...e};function n(r){const o=Object.entries(r);for(let i=0;i{e[n]||(e[n]={})})}function M(e,t,n){!e[t]&&n&&(e[t]=n)}function as(e){return!e||!e.startsWith("hsl")?e:qx(e)}function Vn(e,t){`${t}Channel`in e||(e[`${t}Channel`]=ss(as(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color(). +To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function SP(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const $n=e=>{try{return e()}catch{}},wP=(e="mui")=>F5(e);function dd(e,t,n,r){if(!t)return;t=t===!0?{}:t;const o=r==="dark"?"dark":"light";if(!n){e[r]=mP({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:i,...s}=Df({...n,palette:{mode:o,...t==null?void 0:t.palette}});return e[r]={...t,palette:i,opacity:{...sb(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||ab(o)},s}function kP(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:s=gP,colorSchemeSelector:a=n.light&&n.dark?"media":void 0,...l}=e,u=Object.keys(n)[0],c=r||(n.light&&u!=="light"?"light":u),d=wP(i),{[c]:f,light:m,dark:h,...y}=n,k={...y};let g=f;if((c==="dark"&&!("dark"in n)||c==="light"&&!("light"in n))&&(g=!0),!g)throw new Error(or(21,c));const v=dd(k,g,l,c);m&&!k.light&&dd(k,m,void 0,"light"),h&&!k.dark&&dd(k,h,void 0,"dark");let p={defaultColorScheme:c,...v,cssVarPrefix:i,colorSchemeSelector:a,getCssVar:d,colorSchemes:k,font:{...tP(v.typography),...v.font},spacing:SP(l.spacing)};Object.keys(p.colorSchemes).forEach(T=>{const C=p.colorSchemes[T].palette,E=A=>{const O=A.split("-"),D=O[1],I=O[2];return d(A,C[D][I])};if(C.mode==="light"&&(M(C.common,"background","#fff"),M(C.common,"onBackground","#000")),C.mode==="dark"&&(M(C.common,"background","#000"),M(C.common,"onBackground","#fff")),CP(C,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),C.mode==="light"){M(C.Alert,"errorColor",$e(C.error.light,.6)),M(C.Alert,"infoColor",$e(C.info.light,.6)),M(C.Alert,"successColor",$e(C.success.light,.6)),M(C.Alert,"warningColor",$e(C.warning.light,.6)),M(C.Alert,"errorFilledBg",E("palette-error-main")),M(C.Alert,"infoFilledBg",E("palette-info-main")),M(C.Alert,"successFilledBg",E("palette-success-main")),M(C.Alert,"warningFilledBg",E("palette-warning-main")),M(C.Alert,"errorFilledColor",$n(()=>C.getContrastText(C.error.main))),M(C.Alert,"infoFilledColor",$n(()=>C.getContrastText(C.info.main))),M(C.Alert,"successFilledColor",$n(()=>C.getContrastText(C.success.main))),M(C.Alert,"warningFilledColor",$n(()=>C.getContrastText(C.warning.main))),M(C.Alert,"errorStandardBg",Pe(C.error.light,.9)),M(C.Alert,"infoStandardBg",Pe(C.info.light,.9)),M(C.Alert,"successStandardBg",Pe(C.success.light,.9)),M(C.Alert,"warningStandardBg",Pe(C.warning.light,.9)),M(C.Alert,"errorIconColor",E("palette-error-main")),M(C.Alert,"infoIconColor",E("palette-info-main")),M(C.Alert,"successIconColor",E("palette-success-main")),M(C.Alert,"warningIconColor",E("palette-warning-main")),M(C.AppBar,"defaultBg",E("palette-grey-100")),M(C.Avatar,"defaultBg",E("palette-grey-400")),M(C.Button,"inheritContainedBg",E("palette-grey-300")),M(C.Button,"inheritContainedHoverBg",E("palette-grey-A100")),M(C.Chip,"defaultBorder",E("palette-grey-400")),M(C.Chip,"defaultAvatarColor",E("palette-grey-700")),M(C.Chip,"defaultIconColor",E("palette-grey-700")),M(C.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),M(C.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),M(C.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),M(C.LinearProgress,"primaryBg",Pe(C.primary.main,.62)),M(C.LinearProgress,"secondaryBg",Pe(C.secondary.main,.62)),M(C.LinearProgress,"errorBg",Pe(C.error.main,.62)),M(C.LinearProgress,"infoBg",Pe(C.info.main,.62)),M(C.LinearProgress,"successBg",Pe(C.success.main,.62)),M(C.LinearProgress,"warningBg",Pe(C.warning.main,.62)),M(C.Skeleton,"bg",`rgba(${E("palette-text-primaryChannel")} / 0.11)`),M(C.Slider,"primaryTrack",Pe(C.primary.main,.62)),M(C.Slider,"secondaryTrack",Pe(C.secondary.main,.62)),M(C.Slider,"errorTrack",Pe(C.error.main,.62)),M(C.Slider,"infoTrack",Pe(C.info.main,.62)),M(C.Slider,"successTrack",Pe(C.success.main,.62)),M(C.Slider,"warningTrack",Pe(C.warning.main,.62));const A=Ya(C.background.default,.8);M(C.SnackbarContent,"bg",A),M(C.SnackbarContent,"color",$n(()=>C.getContrastText(A))),M(C.SpeedDialAction,"fabHoverBg",Ya(C.background.paper,.15)),M(C.StepConnector,"border",E("palette-grey-400")),M(C.StepContent,"border",E("palette-grey-400")),M(C.Switch,"defaultColor",E("palette-common-white")),M(C.Switch,"defaultDisabledColor",E("palette-grey-100")),M(C.Switch,"primaryDisabledColor",Pe(C.primary.main,.62)),M(C.Switch,"secondaryDisabledColor",Pe(C.secondary.main,.62)),M(C.Switch,"errorDisabledColor",Pe(C.error.main,.62)),M(C.Switch,"infoDisabledColor",Pe(C.info.main,.62)),M(C.Switch,"successDisabledColor",Pe(C.success.main,.62)),M(C.Switch,"warningDisabledColor",Pe(C.warning.main,.62)),M(C.TableCell,"border",Pe(Ka(C.divider,1),.88)),M(C.Tooltip,"bg",Ka(C.grey[700],.92))}if(C.mode==="dark"){M(C.Alert,"errorColor",Pe(C.error.light,.6)),M(C.Alert,"infoColor",Pe(C.info.light,.6)),M(C.Alert,"successColor",Pe(C.success.light,.6)),M(C.Alert,"warningColor",Pe(C.warning.light,.6)),M(C.Alert,"errorFilledBg",E("palette-error-dark")),M(C.Alert,"infoFilledBg",E("palette-info-dark")),M(C.Alert,"successFilledBg",E("palette-success-dark")),M(C.Alert,"warningFilledBg",E("palette-warning-dark")),M(C.Alert,"errorFilledColor",$n(()=>C.getContrastText(C.error.dark))),M(C.Alert,"infoFilledColor",$n(()=>C.getContrastText(C.info.dark))),M(C.Alert,"successFilledColor",$n(()=>C.getContrastText(C.success.dark))),M(C.Alert,"warningFilledColor",$n(()=>C.getContrastText(C.warning.dark))),M(C.Alert,"errorStandardBg",$e(C.error.light,.9)),M(C.Alert,"infoStandardBg",$e(C.info.light,.9)),M(C.Alert,"successStandardBg",$e(C.success.light,.9)),M(C.Alert,"warningStandardBg",$e(C.warning.light,.9)),M(C.Alert,"errorIconColor",E("palette-error-main")),M(C.Alert,"infoIconColor",E("palette-info-main")),M(C.Alert,"successIconColor",E("palette-success-main")),M(C.Alert,"warningIconColor",E("palette-warning-main")),M(C.AppBar,"defaultBg",E("palette-grey-900")),M(C.AppBar,"darkBg",E("palette-background-paper")),M(C.AppBar,"darkColor",E("palette-text-primary")),M(C.Avatar,"defaultBg",E("palette-grey-600")),M(C.Button,"inheritContainedBg",E("palette-grey-800")),M(C.Button,"inheritContainedHoverBg",E("palette-grey-700")),M(C.Chip,"defaultBorder",E("palette-grey-700")),M(C.Chip,"defaultAvatarColor",E("palette-grey-300")),M(C.Chip,"defaultIconColor",E("palette-grey-300")),M(C.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),M(C.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),M(C.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),M(C.LinearProgress,"primaryBg",$e(C.primary.main,.5)),M(C.LinearProgress,"secondaryBg",$e(C.secondary.main,.5)),M(C.LinearProgress,"errorBg",$e(C.error.main,.5)),M(C.LinearProgress,"infoBg",$e(C.info.main,.5)),M(C.LinearProgress,"successBg",$e(C.success.main,.5)),M(C.LinearProgress,"warningBg",$e(C.warning.main,.5)),M(C.Skeleton,"bg",`rgba(${E("palette-text-primaryChannel")} / 0.13)`),M(C.Slider,"primaryTrack",$e(C.primary.main,.5)),M(C.Slider,"secondaryTrack",$e(C.secondary.main,.5)),M(C.Slider,"errorTrack",$e(C.error.main,.5)),M(C.Slider,"infoTrack",$e(C.info.main,.5)),M(C.Slider,"successTrack",$e(C.success.main,.5)),M(C.Slider,"warningTrack",$e(C.warning.main,.5));const A=Ya(C.background.default,.98);M(C.SnackbarContent,"bg",A),M(C.SnackbarContent,"color",$n(()=>C.getContrastText(A))),M(C.SpeedDialAction,"fabHoverBg",Ya(C.background.paper,.15)),M(C.StepConnector,"border",E("palette-grey-600")),M(C.StepContent,"border",E("palette-grey-600")),M(C.Switch,"defaultColor",E("palette-grey-300")),M(C.Switch,"defaultDisabledColor",E("palette-grey-600")),M(C.Switch,"primaryDisabledColor",$e(C.primary.main,.55)),M(C.Switch,"secondaryDisabledColor",$e(C.secondary.main,.55)),M(C.Switch,"errorDisabledColor",$e(C.error.main,.55)),M(C.Switch,"infoDisabledColor",$e(C.info.main,.55)),M(C.Switch,"successDisabledColor",$e(C.success.main,.55)),M(C.Switch,"warningDisabledColor",$e(C.warning.main,.55)),M(C.TableCell,"border",$e(Ka(C.divider,1),.68)),M(C.Tooltip,"bg",Ka(C.grey[700],.92))}Vn(C.background,"default"),Vn(C.background,"paper"),Vn(C.common,"background"),Vn(C.common,"onBackground"),Vn(C,"divider"),Object.keys(C).forEach(A=>{const O=C[A];O&&typeof O=="object"&&(O.main&&M(C[A],"mainChannel",ss(as(O.main))),O.light&&M(C[A],"lightChannel",ss(as(O.light))),O.dark&&M(C[A],"darkChannel",ss(as(O.dark))),O.contrastText&&M(C[A],"contrastTextChannel",ss(as(O.contrastText))),A==="text"&&(Vn(C[A],"primary"),Vn(C[A],"secondary")),A==="action"&&(O.active&&Vn(C[A],"active"),O.selected&&Vn(C[A],"selected")))})}),p=t.reduce((T,C)=>Pt(T,C),p);const b={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:yP(p)},{vars:w,generateThemeVars:P,generateStyleSheets:$}=z5(p,b);return p.vars=w,Object.entries(p.colorSchemes[p.defaultColorScheme]).forEach(([T,C])=>{p[T]=C}),p.generateThemeVars=P,p.generateStyleSheets=$,p.generateSpacing=function(){return Ux(l.spacing,uh(this))},p.getColorSchemeSelector=V5(a),p.spacing=p.generateSpacing(),p.shouldSkipGeneratingVar=s,p.unstable_sxConfig={...da,...l==null?void 0:l.unstable_sxConfig},p.unstable_sx=function(C){return $i({sx:C,theme:this})},p.toRuntimeSource=bP,p}function r0(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:wh({...n===!0?{}:n.palette,mode:t})})}function lb(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=n?void 0:{light:!0},defaultColorScheme:i=n==null?void 0:n.mode,...s}=e,a=i||"light",l=o==null?void 0:o[a],u={...o,...n?{[a]:{...typeof l!="boolean"&&l,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return Df(e,...t);let c=n;"palette"in e||u[a]&&(u[a]!==!0?c=u[a].palette:a==="dark"&&(c={mode:"dark"}));const d=Df({...e,palette:c},...t);return d.defaultColorScheme=a,d.colorSchemes=u,d.palette.mode==="light"&&(d.colorSchemes.light={...u.light!==!0&&u.light,palette:d.palette},r0(d,"dark",u.dark)),d.palette.mode==="dark"&&(d.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:d.palette},r0(d,"light",u.light)),d}return!n&&!("light"in u)&&a==="light"&&(u.light=!0),kP({...s,colorSchemes:u,defaultColorScheme:a,...typeof r!="boolean"&&r},...t)}const oc=lb(),ha="$$material";function kh(){const e=tc(oc);return e[ha]||e}function $P(e){return S.jsx(h5,{...e,defaultTheme:oc,themeId:ha})}function $h(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const pn=e=>$h(e)&&e!=="classes",K=Kx({themeId:ha,defaultTheme:oc,rootShouldForwardProp:pn});function PP(e){return function(n){return S.jsx($P,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function TP(){return $x}const o0={theme:void 0};function Ce(e){let t,n;return r=>{let o=t;return(o===void 0||r.theme!==n)&&(o0.theme=r.theme,o=e(o0),t=o,n=r.theme),o}}function ye(e){return L5(e)}function EP(e){return typeof e.main=="string"}function RP(e,t=[]){if(!EP(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function Ht(e=[]){return([,t])=>t&&RP(t,e)}function AP(e){return de("MuiPaper",e)}le("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const MP=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return fe(i,AP,o)},OP=K("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(Ce(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),mo=x.forwardRef(function(t,n){var m;const r=ye({props:t,name:"MuiPaper"}),o=kh(),{className:i,component:s="div",elevation:a=1,square:l=!1,variant:u="elevation",...c}=r,d={...r,component:s,elevation:a,square:l,variant:u},f=MP(d);return S.jsx(OP,{as:s,ownerState:d,className:Y(f.root,i),ref:n,...c,style:{...u==="elevation"&&{"--Paper-shadow":(o.vars||o).shadows[a],...o.vars&&{"--Paper-overlay":(m=o.vars.overlays)==null?void 0:m[a]},...!o.vars&&o.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Oe("#fff",jf(a))}, ${Oe("#fff",jf(a))})`}},...c.style}})});function IP(e){return de("MuiAppBar",e)}le("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const BP=e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${V(t)}`,`position${V(n)}`]};return fe(o,IP,r)},i0=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,DP=K(mo,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${V(n.position)}`],t[`color${V(n.color)}`]]}})(Ce(({theme:e})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles("dark",{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter(Ht(["contrastText"])).map(([t])=>({props:{color:t},style:{"--AppBar-background":(e.vars??e).palette[t].main,"--AppBar-color":(e.vars??e).palette[t].contrastText}})),{props:t=>t.enableColorOnDark===!0&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:t=>t.enableColorOnDark===!1&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?i0(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?i0(e.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundImage:"none"})}}]}))),jP=x.forwardRef(function(t,n){const r=ye({props:t,name:"MuiAppBar"}),{className:o,color:i="primary",enableColorOnDark:s=!1,position:a="fixed",...l}=r,u={...r,color:i,position:a,enableColorOnDark:s},c=BP(u);return S.jsx(DP,{square:!0,component:"header",ownerState:u,elevation:4,className:Y(c.root,o,a==="fixed"&&"mui-fixed"),ref:n,...l})});function ub({props:e,name:t}){return Yx({props:e,name:t,defaultTheme:oc,themeId:ha})}const LP=le("MuiBox",["root"]),FP=lb(),qe=g5({themeId:ha,defaultTheme:FP,defaultClassName:LP.root,generateClassName:Gx.generate});function NP(e){return de("MuiToolbar",e)}le("MuiToolbar",["root","gutters","regular","dense"]);const _P=e=>{const{classes:t,disableGutters:n,variant:r}=e;return fe({root:["root",!n&&"gutters",r]},NP,t)},zP=K("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(Ce(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]}))),VP=x.forwardRef(function(t,n){const r=ye({props:t,name:"MuiToolbar"}),{className:o,component:i="div",disableGutters:s=!1,variant:a="regular",...l}=r,u={...r,component:i,disableGutters:s,variant:a},c=_P(u);return S.jsx(zP,{as:i,className:Y(c.root,o),ref:n,ownerState:u,...l})});class Ql{constructor(){Fi(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new Ql}static use(){const t=Zx(Ql.create).current,[n,r]=x.useState(!1);return t.shouldMount=n,t.setShouldMount=r,x.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=WP(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.start(...t)})}stop(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.stop(...t)})}pulsate(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.pulsate(...t)})}}function HP(){return Ql.use()}function WP(){let e,t;const n=new Promise((r,o)=>{e=r,t=o});return n.resolve=e,n.reject=t,n}function Qe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function Lf(e,t){return Lf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Lf(e,t)}function cb(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Lf(e,t)}const s0={disabled:!1},Zl=an.createContext(null);var UP=function(t){return t.scrollTop},ls="unmounted",Xr="exited",qr="entering",Io="entered",Ff="exiting",Fn=function(e){cb(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var s=o,a=s&&!s.isMounting?r.enter:r.appear,l;return i.appearStatus=null,r.in?a?(l=Xr,i.appearStatus=qr):l=Io:r.unmountOnExit||r.mountOnEnter?l=ls:l=Xr,i.state={status:l},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var s=o.in;return s&&i.status===ls?{status:Xr}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var i=null;if(o!==this.props){var s=this.state.status;this.props.in?s!==qr&&s!==Io&&(i=qr):(s===qr||s===Io)&&(i=Ff)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,s,a;return i=s=a=o,o!=null&&typeof o!="number"&&(i=o.exit,s=o.enter,a=o.appear!==void 0?o.appear:s),{exit:i,enter:s,appear:a}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===qr){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:Ha.findDOMNode(this);s&&UP(s)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Xr&&this.setState({status:ls})},n.performEnter=function(o){var i=this,s=this.props.enter,a=this.context?this.context.isMounting:o,l=this.props.nodeRef?[a]:[Ha.findDOMNode(this),a],u=l[0],c=l[1],d=this.getTimeouts(),f=a?d.appear:d.enter;if(!o&&!s||s0.disabled){this.safeSetState({status:Io},function(){i.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:qr},function(){i.props.onEntering(u,c),i.onTransitionEnd(f,function(){i.safeSetState({status:Io},function(){i.props.onEntered(u,c)})})})},n.performExit=function(){var o=this,i=this.props.exit,s=this.getTimeouts(),a=this.props.nodeRef?void 0:Ha.findDOMNode(this);if(!i||s0.disabled){this.safeSetState({status:Xr},function(){o.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:Ff},function(){o.props.onExiting(a),o.onTransitionEnd(s.exit,function(){o.safeSetState({status:Xr},function(){o.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},n.setNextCallback=function(o){var i=this,s=!0;return this.nextCallback=function(a){s&&(s=!1,i.nextCallback=null,o(a))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(o,i){this.setNextCallback(i);var s=this.props.nodeRef?this.props.nodeRef.current:Ha.findDOMNode(this),a=o==null&&!this.props.addEndListener;if(!s||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],u=l[0],c=l[1];this.props.addEndListener(u,c)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===ls)return null;var i=this.props,s=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var a=Qe(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return an.createElement(Zl.Provider,{value:null},typeof s=="function"?s(o,a):an.cloneElement(an.Children.only(s),a))},t}(an.Component);Fn.contextType=Zl;Fn.propTypes={};function Ro(){}Fn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ro,onEntering:Ro,onEntered:Ro,onExit:Ro,onExiting:Ro,onExited:Ro};Fn.UNMOUNTED=ls;Fn.EXITED=Xr;Fn.ENTERING=qr;Fn.ENTERED=Io;Fn.EXITING=Ff;function GP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ph(e,t){var n=function(i){return t&&x.isValidElement(i)?t(i):i},r=Object.create(null);return e&&x.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function KP(e,t){e=e||{},t=t||{};function n(c){return c in t?t[c]:e[c]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var s,a={};for(var l in t){if(r[l])for(s=0;s{if(!a&&l!=null){const y=setTimeout(l,u);return()=>{clearTimeout(y)}}},[l,a,u]),S.jsx("span",{className:f,style:m,children:S.jsx("span",{className:h})})}const en=le("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Nf=550,JP=80,eT=yh` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`,tT=yh` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`,nT=yh` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`,rT=K("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),oT=K(ZP,{name:"MuiTouchRipple",slot:"Ripple"})` + opacity: 0; + position: absolute; + + &.${en.rippleVisible} { + opacity: 0.3; + transform: scale(1); + animation-name: ${eT}; + animation-duration: ${Nf}ms; + animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; + } + + &.${en.ripplePulsate} { + animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms; + } + + & .${en.child} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${en.childLeaving} { + opacity: 0; + animation-name: ${tT}; + animation-duration: ${Nf}ms; + animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; + } + + & .${en.childPulsate} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${nT}; + animation-duration: 2500ms; + animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`,iT=x.forwardRef(function(t,n){const r=ye({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:s,...a}=r,[l,u]=x.useState([]),c=x.useRef(0),d=x.useRef(null);x.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const f=x.useRef(!1),m=Jx(),h=x.useRef(null),y=x.useRef(null),k=x.useCallback(b=>{const{pulsate:w,rippleX:P,rippleY:$,rippleSize:T,cb:C}=b;u(E=>[...E,S.jsx(oT,{classes:{ripple:Y(i.ripple,en.ripple),rippleVisible:Y(i.rippleVisible,en.rippleVisible),ripplePulsate:Y(i.ripplePulsate,en.ripplePulsate),child:Y(i.child,en.child),childLeaving:Y(i.childLeaving,en.childLeaving),childPulsate:Y(i.childPulsate,en.childPulsate)},timeout:Nf,pulsate:w,rippleX:P,rippleY:$,rippleSize:T},c.current)]),c.current+=1,d.current=C},[i]),g=x.useCallback((b={},w={},P=()=>{})=>{const{pulsate:$=!1,center:T=o||w.pulsate,fakeElement:C=!1}=w;if((b==null?void 0:b.type)==="mousedown"&&f.current){f.current=!1;return}(b==null?void 0:b.type)==="touchstart"&&(f.current=!0);const E=C?null:y.current,A=E?E.getBoundingClientRect():{width:0,height:0,left:0,top:0};let O,D,I;if(T||b===void 0||b.clientX===0&&b.clientY===0||!b.clientX&&!b.touches)O=Math.round(A.width/2),D=Math.round(A.height/2);else{const{clientX:_,clientY:j}=b.touches&&b.touches.length>0?b.touches[0]:b;O=Math.round(_-A.left),D=Math.round(j-A.top)}if(T)I=Math.sqrt((2*A.width**2+A.height**2)/3),I%2===0&&(I+=1);else{const _=Math.max(Math.abs((E?E.clientWidth:0)-O),O)*2+2,j=Math.max(Math.abs((E?E.clientHeight:0)-D),D)*2+2;I=Math.sqrt(_**2+j**2)}b!=null&&b.touches?h.current===null&&(h.current=()=>{k({pulsate:$,rippleX:O,rippleY:D,rippleSize:I,cb:P})},m.start(JP,()=>{h.current&&(h.current(),h.current=null)})):k({pulsate:$,rippleX:O,rippleY:D,rippleSize:I,cb:P})},[o,k,m]),v=x.useCallback(()=>{g({},{pulsate:!0})},[g]),p=x.useCallback((b,w)=>{if(m.clear(),(b==null?void 0:b.type)==="touchend"&&h.current){h.current(),h.current=null,m.start(0,()=>{p(b,w)});return}h.current=null,u(P=>P.length>0?P.slice(1):P),d.current=w},[m]);return x.useImperativeHandle(n,()=>({pulsate:v,start:g,stop:p}),[v,g,p]),S.jsx(rT,{className:Y(en.root,i.root,s),ref:y,...a,children:S.jsx(Th,{component:null,exit:!0,children:l})})});function sT(e){return de("MuiButtonBase",e)}const aT=le("MuiButtonBase",["root","disabled","focusVisible"]),lT=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,s=fe({root:["root",t&&"disabled",n&&"focusVisible"]},sT,o);return n&&r&&(s.root+=` ${r}`),s},uT=K("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${aT.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Xs=x.forwardRef(function(t,n){const r=ye({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:s,className:a,component:l="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:d=!1,focusRipple:f=!1,focusVisibleClassName:m,LinkComponent:h="a",onBlur:y,onClick:k,onContextMenu:g,onDragLeave:v,onFocus:p,onFocusVisible:b,onKeyDown:w,onKeyUp:P,onMouseDown:$,onMouseLeave:T,onMouseUp:C,onTouchEnd:E,onTouchMove:A,onTouchStart:O,tabIndex:D=0,TouchRippleProps:I,touchRippleRef:_,type:j,...L}=r,R=x.useRef(null),B=HP(),W=at(B.ref,_),[Z,q]=x.useState(!1);u&&Z&&q(!1),x.useImperativeHandle(o,()=>({focusVisible:()=>{q(!0),R.current.focus()}}),[]);const re=B.shouldMount&&!c&&!u;x.useEffect(()=>{Z&&f&&!c&&B.pulsate()},[c,f,Z,B]);function te(J,dt,Bi=d){return Ko(zn=>(dt&&dt(zn),Bi||B[J](zn),!0))}const pe=te("start",$),he=te("stop",g),oe=te("stop",v),H=te("stop",C),Q=te("stop",J=>{Z&&J.preventDefault(),T&&T(J)}),U=te("start",O),z=te("stop",E),X=te("stop",A),xe=te("stop",J=>{ql(J.target)||q(!1),y&&y(J)},!1),ie=Ko(J=>{R.current||(R.current=J.currentTarget),ql(J.target)&&(q(!0),b&&b(J)),p&&p(J)}),ue=()=>{const J=R.current;return l&&l!=="button"&&!(J.tagName==="A"&&J.href)},ot=Ko(J=>{f&&!J.repeat&&Z&&J.key===" "&&B.stop(J,()=>{B.start(J)}),J.target===J.currentTarget&&ue()&&J.key===" "&&J.preventDefault(),w&&w(J),J.target===J.currentTarget&&ue()&&J.key==="Enter"&&!u&&(J.preventDefault(),k&&k(J))}),ze=Ko(J=>{f&&J.key===" "&&Z&&!J.defaultPrevented&&B.stop(J,()=>{B.pulsate(J)}),P&&P(J),k&&J.target===J.currentTarget&&ue()&&J.key===" "&&!J.defaultPrevented&&k(J)});let Ee=l;Ee==="button"&&(L.href||L.to)&&(Ee=h);const Ke={};Ee==="button"?(Ke.type=j===void 0?"button":j,Ke.disabled=u):(!L.href&&!L.to&&(Ke.role="button"),u&&(Ke["aria-disabled"]=u));const wn=at(n,R),Re={...r,centerRipple:i,component:l,disabled:u,disableRipple:c,disableTouchRipple:d,focusRipple:f,tabIndex:D,focusVisible:Z},_n=lT(Re);return S.jsxs(uT,{as:Ee,className:Y(_n.root,a),ownerState:Re,onBlur:xe,onClick:k,onContextMenu:he,onFocus:ie,onKeyDown:ot,onKeyUp:ze,onMouseDown:pe,onMouseLeave:Q,onMouseUp:H,onDragLeave:oe,onTouchEnd:z,onTouchMove:X,onTouchStart:U,ref:wn,tabIndex:u?-1:D,type:j,...Ke,...L,children:[s,re?S.jsx(iT,{ref:W,center:i,...I}):null]})});function cT(e){return de("MuiIconButton",e)}const dT=le("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),fT=e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,s={root:["root",n&&"disabled",r!=="default"&&`color${V(r)}`,o&&`edge${V(o)}`,`size${V(i)}`]};return fe(s,cT,t)},pT=K(Xs,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${V(n.color)}`],n.edge&&t[`edge${V(n.edge)}`],t[`size${V(n.size)}`]]}})(Ce(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:{disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Oe(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),Ce(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(Ht()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Ht()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Oe((e.vars||e).palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${dT.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}}))),so=x.forwardRef(function(t,n){const r=ye({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:s,color:a="default",disabled:l=!1,disableFocusRipple:u=!1,disableRipple:c=!1,size:d="medium",...f}=r,m={...r,edge:o,color:a,disabled:l,disableFocusRipple:u,disableRipple:c,size:d},h=fT(m);return S.jsx(pT,{className:Y(h.root,s),centerRipple:!0,focusRipple:!u,disabled:l,disableRipple:c,ref:n,...f,ownerState:m,children:i})});function hT(e){return de("MuiTypography",e)}le("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const mT={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},gT=TP(),vT=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:s}=e,a={root:["root",i,e.align!=="inherit"&&`align${V(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return fe(a,hT,s)},yT=K("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${V(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(Ce(({theme:e})=>{var t;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([n,r])=>n!=="inherit"&&r&&typeof r=="object").map(([n,r])=>({props:{variant:n},style:r})),...Object.entries(e.palette).filter(Ht()).map(([n])=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),...Object.entries(((t=e.palette)==null?void 0:t.text)||{}).filter(([,n])=>typeof n=="string").map(([n])=>({props:{color:`text${V(n)}`},style:{color:(e.vars||e).palette.text[n]}})),{props:({ownerState:n})=>n.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:n})=>n.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:n})=>n.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:n})=>n.paragraph,style:{marginBottom:16}}]}})),a0={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},ve=x.forwardRef(function(t,n){const{color:r,...o}=ye({props:t,name:"MuiTypography"}),i=!mT[r],s=gT({...o,...i&&{color:r}}),{align:a="inherit",className:l,component:u,gutterBottom:c=!1,noWrap:d=!1,paragraph:f=!1,variant:m="body1",variantMapping:h=a0,...y}=s,k={...s,align:a,color:r,className:l,component:u,gutterBottom:c,noWrap:d,paragraph:f,variant:m,variantMapping:h},g=u||(f?"p":h[m]||a0[m])||"span",v=vT(k);return S.jsx(yT,{as:g,ref:n,className:Y(v.root,l),...y,ownerState:k,style:{...a!=="inherit"&&{"--Typography-textAlign":a},...y.style}})});var ke={};/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Eh=Symbol.for("react.element"),Rh=Symbol.for("react.portal"),ic=Symbol.for("react.fragment"),sc=Symbol.for("react.strict_mode"),ac=Symbol.for("react.profiler"),lc=Symbol.for("react.provider"),uc=Symbol.for("react.context"),xT=Symbol.for("react.server_context"),cc=Symbol.for("react.forward_ref"),dc=Symbol.for("react.suspense"),fc=Symbol.for("react.suspense_list"),pc=Symbol.for("react.memo"),hc=Symbol.for("react.lazy"),bT=Symbol.for("react.offscreen"),db;db=Symbol.for("react.module.reference");function hn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Eh:switch(e=e.type,e){case ic:case ac:case sc:case dc:case fc:return e;default:switch(e=e&&e.$$typeof,e){case xT:case uc:case cc:case hc:case pc:case lc:return e;default:return t}}case Rh:return t}}}ke.ContextConsumer=uc;ke.ContextProvider=lc;ke.Element=Eh;ke.ForwardRef=cc;ke.Fragment=ic;ke.Lazy=hc;ke.Memo=pc;ke.Portal=Rh;ke.Profiler=ac;ke.StrictMode=sc;ke.Suspense=dc;ke.SuspenseList=fc;ke.isAsyncMode=function(){return!1};ke.isConcurrentMode=function(){return!1};ke.isContextConsumer=function(e){return hn(e)===uc};ke.isContextProvider=function(e){return hn(e)===lc};ke.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Eh};ke.isForwardRef=function(e){return hn(e)===cc};ke.isFragment=function(e){return hn(e)===ic};ke.isLazy=function(e){return hn(e)===hc};ke.isMemo=function(e){return hn(e)===pc};ke.isPortal=function(e){return hn(e)===Rh};ke.isProfiler=function(e){return hn(e)===ac};ke.isStrictMode=function(e){return hn(e)===sc};ke.isSuspense=function(e){return hn(e)===dc};ke.isSuspenseList=function(e){return hn(e)===fc};ke.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ic||e===ac||e===sc||e===dc||e===fc||e===bT||typeof e=="object"&&e!==null&&(e.$$typeof===hc||e.$$typeof===pc||e.$$typeof===lc||e.$$typeof===uc||e.$$typeof===cc||e.$$typeof===db||e.getModuleId!==void 0)};ke.typeOf=hn;const _f=x.createContext({});function CT(e){return de("MuiList",e)}le("MuiList",["root","padding","dense","subheader"]);const ST=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return fe({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},CT,t)},wT=K("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),kT=x.forwardRef(function(t,n){const r=ye({props:t,name:"MuiList"}),{children:o,className:i,component:s="ul",dense:a=!1,disablePadding:l=!1,subheader:u,...c}=r,d=x.useMemo(()=>({dense:a}),[a]),f={...r,component:s,dense:a,disablePadding:l},m=ST(f);return S.jsx(_f.Provider,{value:d,children:S.jsxs(wT,{as:s,className:Y(m.root,i),ref:n,ownerState:f,...c,children:[u,o]})})});function fd(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function l0(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function fb(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(""))}function Xi(e,t,n,r,o,i){let s=!1,a=o(e,t,t?n:!1);for(;a;){if(a===e.firstChild){if(s)return!1;s=!0}const l=r?!1:a.disabled||a.getAttribute("aria-disabled")==="true";if(!a.hasAttribute("tabindex")||!fb(a,i)||l)a=o(e,a,n);else return a.focus(),!0}return!1}const $T=x.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:s,className:a,disabledItemsFocusable:l=!1,disableListWrap:u=!1,onKeyDown:c,variant:d="selectedMenu",...f}=t,m=x.useRef(null),h=x.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Or(()=>{o&&m.current.focus()},[o]),x.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(p,{direction:b})=>{const w=!m.current.style.width;if(p.clientHeight{const b=m.current,w=p.key;if(p.ctrlKey||p.metaKey||p.altKey){c&&c(p);return}const $=Gt(b).activeElement;if(w==="ArrowDown")p.preventDefault(),Xi(b,$,u,l,fd);else if(w==="ArrowUp")p.preventDefault(),Xi(b,$,u,l,l0);else if(w==="Home")p.preventDefault(),Xi(b,null,u,l,fd);else if(w==="End")p.preventDefault(),Xi(b,null,u,l,l0);else if(w.length===1){const T=h.current,C=w.toLowerCase(),E=performance.now();T.keys.length>0&&(E-T.lastTime>500?(T.keys=[],T.repeating=!0,T.previousKeyMatched=!0):T.repeating&&C!==T.keys[0]&&(T.repeating=!1)),T.lastTime=E,T.keys.push(C);const A=$&&!T.repeating&&fb($,T);T.previousKeyMatched&&(A||Xi(b,$,!1,l,fd,T))?p.preventDefault():T.previousKeyMatched=!1}c&&c(p)},k=at(m,n);let g=-1;x.Children.forEach(s,(p,b)=>{if(!x.isValidElement(p)){g===b&&(g+=1,g>=s.length&&(g=-1));return}p.props.disabled||(d==="selectedMenu"&&p.props.selected||g===-1)&&(g=b),g===b&&(p.props.disabled||p.props.muiSkipListHighlight||p.type.muiSkipListHighlight)&&(g+=1,g>=s.length&&(g=-1))});const v=x.Children.map(s,(p,b)=>{if(b===g){const w={};return i&&(w.autoFocus=!0),p.props.tabIndex===void 0&&d==="selectedMenu"&&(w.tabIndex=0),x.cloneElement(p,w)}return p});return S.jsx(kT,{role:"menu",ref:k,className:a,onKeyDown:y,tabIndex:o?0:-1,...f,children:v})});function zf(e){return typeof e=="string"}const pb=e=>e.scrollTop;function Jl(e,t){const{timeout:n,easing:r,style:o={}}=e;return{duration:o.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:o.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:o.transitionDelay}}function Vf(e){return`scale(${e}, ${e**2})`}const PT={entering:{opacity:1,transform:Vf(1)},entered:{opacity:1,transform:"none"}},pd=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Hf=x.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:s,in:a,onEnter:l,onEntered:u,onEntering:c,onExit:d,onExited:f,onExiting:m,style:h,timeout:y="auto",TransitionComponent:k=Fn,...g}=t,v=Jx(),p=x.useRef(),b=kh(),w=x.useRef(null),P=at(w,pa(i),n),$=_=>j=>{if(_){const L=w.current;j===void 0?_(L):_(L,j)}},T=$(c),C=$((_,j)=>{pb(_);const{duration:L,delay:R,easing:B}=Jl({style:h,timeout:y,easing:s},{mode:"enter"});let W;y==="auto"?(W=b.transitions.getAutoHeightDuration(_.clientHeight),p.current=W):W=L,_.style.transition=[b.transitions.create("opacity",{duration:W,delay:R}),b.transitions.create("transform",{duration:pd?W:W*.666,delay:R,easing:B})].join(","),l&&l(_,j)}),E=$(u),A=$(m),O=$(_=>{const{duration:j,delay:L,easing:R}=Jl({style:h,timeout:y,easing:s},{mode:"exit"});let B;y==="auto"?(B=b.transitions.getAutoHeightDuration(_.clientHeight),p.current=B):B=j,_.style.transition=[b.transitions.create("opacity",{duration:B,delay:L}),b.transitions.create("transform",{duration:pd?B:B*.666,delay:pd?L:L||B*.333,easing:R})].join(","),_.style.opacity=0,_.style.transform=Vf(.75),d&&d(_)}),D=$(f),I=_=>{y==="auto"&&v.start(p.current||0,_),r&&r(w.current,_)};return S.jsx(k,{appear:o,in:a,nodeRef:w,onEnter:C,onEntered:E,onEntering:T,onExit:O,onExited:D,onExiting:A,addEndListener:I,timeout:y==="auto"?null:y,...g,children:(_,j)=>x.cloneElement(i,{style:{opacity:0,transform:Vf(.75),visibility:_==="exited"&&!a?"hidden":void 0,...PT[_],...h,...i.props.style},ref:P,...j})})});Hf&&(Hf.muiSupportAuto=!0);function TT(e){const t=Gt(e);return t.body===e?ho(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Cs(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function u0(e){return parseInt(ho(e).getComputedStyle(e).paddingRight,10)||0}function ET(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 c0(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,s=>{const a=i.indexOf(s)===-1,l=!ET(s);a&&l&&Cs(s,o)})}function hd(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function RT(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(TT(r)){const s=eb(Gt(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${u0(r)+s}px`;const a=Gt(r).querySelectorAll(".mui-fixed");[].forEach.call(a,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${u0(l)+s}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=Gt(r).body;else{const s=r.parentElement,a=ho(r);i=(s==null?void 0:s.nodeName)==="HTML"&&a.getComputedStyle(s).overflowY==="scroll"?s:r}n.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{n.forEach(({value:i,el:s,property:a})=>{i?s.style.setProperty(a,i):s.style.removeProperty(a)})}}function AT(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class MT{constructor(){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&&Cs(t.modalRef,!1);const o=AT(n);c0(n,t.mount,t.modalRef,o,!0);const i=hd(this.containers,s=>s.container===n);return i!==-1?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=hd(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[r];o.restore||(o.restore=RT(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=hd(this.containers,s=>s.modals.indexOf(t)!==-1),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(r,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&Cs(t.modalRef,n),c0(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const s=i.modals[i.modals.length-1];s.modalRef&&Cs(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const OT=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function IT(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 BT(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 DT(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||BT(e))}function jT(e){const t=[],n=[];return Array.from(e.querySelectorAll(OT)).forEach((r,o)=>{const i=IT(r);i===-1||!DT(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 LT(){return!0}function FT(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=jT,isEnabled:s=LT,open:a}=e,l=x.useRef(!1),u=x.useRef(null),c=x.useRef(null),d=x.useRef(null),f=x.useRef(null),m=x.useRef(!1),h=x.useRef(null),y=at(pa(t),h),k=x.useRef(null);x.useEffect(()=>{!a||!h.current||(m.current=!n)},[n,a]),x.useEffect(()=>{if(!a||!h.current)return;const p=Gt(h.current);return h.current.contains(p.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex","-1"),m.current&&h.current.focus()),()=>{o||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}},[a]),x.useEffect(()=>{if(!a||!h.current)return;const p=Gt(h.current),b=$=>{k.current=$,!(r||!s()||$.key!=="Tab")&&p.activeElement===h.current&&$.shiftKey&&(l.current=!0,c.current&&c.current.focus())},w=()=>{var C,E;const $=h.current;if($===null)return;if(!p.hasFocus()||!s()||l.current){l.current=!1;return}if($.contains(p.activeElement)||r&&p.activeElement!==u.current&&p.activeElement!==c.current)return;if(p.activeElement!==f.current)f.current=null;else if(f.current!==null)return;if(!m.current)return;let T=[];if((p.activeElement===u.current||p.activeElement===c.current)&&(T=i(h.current)),T.length>0){const A=!!((C=k.current)!=null&&C.shiftKey&&((E=k.current)==null?void 0:E.key)==="Tab"),O=T[0],D=T[T.length-1];typeof O!="string"&&typeof D!="string"&&(A?D.focus():O.focus())}else $.focus()};p.addEventListener("focusin",w),p.addEventListener("keydown",b,!0);const P=setInterval(()=>{p.activeElement&&p.activeElement.tagName==="BODY"&&w()},50);return()=>{clearInterval(P),p.removeEventListener("focusin",w),p.removeEventListener("keydown",b,!0)}},[n,r,o,s,a,i]);const g=p=>{d.current===null&&(d.current=p.relatedTarget),m.current=!0,f.current=p.target;const b=t.props.onFocus;b&&b(p)},v=p=>{d.current===null&&(d.current=p.relatedTarget),m.current=!0};return S.jsxs(x.Fragment,{children:[S.jsx("div",{tabIndex:a?0:-1,onFocus:v,ref:u,"data-testid":"sentinelStart"}),x.cloneElement(t,{ref:y,onFocus:g}),S.jsx("div",{tabIndex:a?0:-1,onFocus:v,ref:c,"data-testid":"sentinelEnd"})]})}function NT(e){return typeof e=="function"?e():e}const _T=x.forwardRef(function(t,n){const{children:r,container:o,disablePortal:i=!1}=t,[s,a]=x.useState(null),l=at(pa(r),n);if(Or(()=>{i||a(NT(o)||document.body)},[o,i]),Or(()=>{if(s&&!i)return If(n,s),()=>{If(n,null)}},[n,s,i]),i){if(x.isValidElement(r)){const u={ref:l};return x.cloneElement(r,u)}return S.jsx(x.Fragment,{children:r})}return S.jsx(x.Fragment,{children:s&&sh.createPortal(r,s)})});function sn(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,getSlotOwnerState:s,internalForwardedProps:a,...l}=t,{component:u,slots:c={[e]:void 0},slotProps:d={[e]:void 0},...f}=i,m=c[e]||r,h=ob(d[e],o),{props:{component:y,...k},internalRef:g}=rb({className:n,...l,externalForwardedProps:e==="root"?f:void 0,externalSlotProps:h}),v=at(g,h==null?void 0:h.ref,t.ref),p=s?s(k):{},b={...o,...p},w=e==="root"?y||u:y,P=tb(m,{...e==="root"&&!u&&!c[e]&&a,...e!=="root"&&!c[e]&&a,...k,...w&&{as:w},ref:v},b);return Object.keys(p).forEach($=>{delete P[$]}),[m,P]}const zT={entering:{opacity:1},entered:{opacity:1}},VT=x.forwardRef(function(t,n){const r=kh(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:a,easing:l,in:u,onEnter:c,onEntered:d,onEntering:f,onExit:m,onExited:h,onExiting:y,style:k,timeout:g=o,TransitionComponent:v=Fn,...p}=t,b=x.useRef(null),w=at(b,pa(a),n),P=I=>_=>{if(I){const j=b.current;_===void 0?I(j):I(j,_)}},$=P(f),T=P((I,_)=>{pb(I);const j=Jl({style:k,timeout:g,easing:l},{mode:"enter"});I.style.webkitTransition=r.transitions.create("opacity",j),I.style.transition=r.transitions.create("opacity",j),c&&c(I,_)}),C=P(d),E=P(y),A=P(I=>{const _=Jl({style:k,timeout:g,easing:l},{mode:"exit"});I.style.webkitTransition=r.transitions.create("opacity",_),I.style.transition=r.transitions.create("opacity",_),m&&m(I)}),O=P(h),D=I=>{i&&i(b.current,I)};return S.jsx(v,{appear:s,in:u,nodeRef:b,onEnter:T,onEntered:C,onEntering:$,onExit:A,onExited:O,onExiting:E,addEndListener:D,timeout:g,...p,children:(I,_)=>x.cloneElement(a,{style:{opacity:0,visibility:I==="exited"&&!u?"hidden":void 0,...zT[I],...k,...a.props.style},ref:w,..._})})});function HT(e){return de("MuiBackdrop",e)}le("MuiBackdrop",["root","invisible"]);const WT=e=>{const{classes:t,invisible:n}=e;return fe({root:["root",n&&"invisible"]},HT,t)},UT=K("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),GT=x.forwardRef(function(t,n){const r=ye({props:t,name:"MuiBackdrop"}),{children:o,className:i,component:s="div",invisible:a=!1,open:l,components:u={},componentsProps:c={},slotProps:d={},slots:f={},TransitionComponent:m,transitionDuration:h,...y}=r,k={...r,component:s,invisible:a},g=WT(k),v={transition:m,root:u.Root,...f},p={...c,...d},b={slots:v,slotProps:p},[w,P]=sn("root",{elementType:UT,externalForwardedProps:b,className:Y(g.root,i),ownerState:k}),[$,T]=sn("transition",{elementType:VT,externalForwardedProps:b,ownerState:k});return delete T.ownerState,S.jsx($,{in:l,timeout:h,...y,...T,children:S.jsx(w,{"aria-hidden":!0,...P,classes:g,ref:n,children:o})})});function KT(e){return typeof e=="function"?e():e}function YT(e){return e?e.props.hasOwnProperty("in"):!1}const XT=new MT;function qT(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=XT,closeAfterTransition:i=!1,onTransitionEnter:s,onTransitionExited:a,children:l,onClose:u,open:c,rootRef:d}=e,f=x.useRef({}),m=x.useRef(null),h=x.useRef(null),y=at(h,d),[k,g]=x.useState(!c),v=YT(l);let p=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(p=!1);const b=()=>Gt(m.current),w=()=>(f.current.modalRef=h.current,f.current.mount=m.current,f.current),P=()=>{o.mount(w(),{disableScrollLock:r}),h.current&&(h.current.scrollTop=0)},$=Ko(()=>{const j=KT(t)||b().body;o.add(w(),j),h.current&&P()}),T=x.useCallback(()=>o.isTopModal(w()),[o]),C=Ko(j=>{m.current=j,j&&(c&&T()?P():h.current&&Cs(h.current,p))}),E=x.useCallback(()=>{o.remove(w(),p)},[p,o]);x.useEffect(()=>()=>{E()},[E]),x.useEffect(()=>{c?$():(!v||!i)&&E()},[c,E,v,i,$]);const A=j=>L=>{var R;(R=j.onKeyDown)==null||R.call(j,L),!(L.key!=="Escape"||L.which===229||!T())&&(n||(L.stopPropagation(),u&&u(L,"escapeKeyDown")))},O=j=>L=>{var R;(R=j.onClick)==null||R.call(j,L),L.target===L.currentTarget&&u&&u(L,"backdropClick")};return{getRootProps:(j={})=>{const L=nb(e);delete L.onTransitionEnter,delete L.onTransitionExited;const R={...L,...j};return{role:"presentation",...R,onKeyDown:A(R),ref:y}},getBackdropProps:(j={})=>{const L=j;return{"aria-hidden":!0,...L,onClick:O(L),open:c}},getTransitionProps:()=>{const j=()=>{g(!1),s&&s()},L=()=>{g(!0),a&&a(),i&&E()};return{onEnter:Ug(j,l==null?void 0:l.props.onEnter),onExited:Ug(L,l==null?void 0:l.props.onExited)}},rootRef:y,portalRef:C,isTopModal:T,exited:k,hasTransition:v}}function QT(e){return de("MuiModal",e)}le("MuiModal",["root","hidden","backdrop"]);function ZT(e){return de("MuiSvgIcon",e)}le("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const JT=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${V(t)}`,`fontSize${V(n)}`]};return fe(o,ZT,r)},eE=K("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${V(n.color)}`],t[`fontSize${V(n.fontSize)}`]]}})(Ce(({theme:e})=>{var t,n,r,o,i,s,a,l,u,c,d,f,m,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(o=(t=e.transitions)==null?void 0:t.create)==null?void 0:o.call(t,"fill",{duration:(r=(n=(e.vars??e).transitions)==null?void 0:n.duration)==null?void 0:r.shorter}),variants:[{props:y=>!y.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((s=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:s.call(i,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((l=(a=e.typography)==null?void 0:a.pxToRem)==null?void 0:l.call(a,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((c=(u=e.typography)==null?void 0:u.pxToRem)==null?void 0:c.call(u,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,y])=>y&&y.main).map(([y])=>{var k,g;return{props:{color:y},style:{color:(g=(k=(e.vars??e).palette)==null?void 0:k[y])==null?void 0:g.main}}}),{props:{color:"action"},style:{color:(f=(d=(e.vars??e).palette)==null?void 0:d.action)==null?void 0:f.active}},{props:{color:"disabled"},style:{color:(h=(m=(e.vars??e).palette)==null?void 0:m.action)==null?void 0:h.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),eu=x.forwardRef(function(t,n){const r=ye({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:s="inherit",component:a="svg",fontSize:l="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:d,viewBox:f="0 0 24 24",...m}=r,h=x.isValidElement(o)&&o.type==="svg",y={...r,color:s,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:f,hasSvgAsChild:h},k={};c||(k.viewBox=f);const g=JT(y);return S.jsxs(eE,{as:a,className:Y(g.root,i),focusable:"false",color:u,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n,...k,...m,...h&&o.props,ownerState:y,children:[h?o.props.children:o,d?S.jsx("title",{children:d}):null]})});eu&&(eu.muiName="SvgIcon");function Je(e,t){function n(r,o){return S.jsx(eu,{"data-testid":`${t}Icon`,ref:o,...r,children:e})}return n.muiName=eu.muiName,x.memo(x.forwardRef(n))}const tE=e=>{const{open:t,exited:n,classes:r}=e;return fe({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},QT,r)},nE=K("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(Ce(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),rE=K(GT,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),hb=x.forwardRef(function(t,n){const r=ye({name:"MuiModal",props:t}),{BackdropComponent:o=rE,BackdropProps:i,classes:s,className:a,closeAfterTransition:l=!1,children:u,container:c,component:d,components:f={},componentsProps:m={},disableAutoFocus:h=!1,disableEnforceFocus:y=!1,disableEscapeKeyDown:k=!1,disablePortal:g=!1,disableRestoreFocus:v=!1,disableScrollLock:p=!1,hideBackdrop:b=!1,keepMounted:w=!1,onBackdropClick:P,onClose:$,onTransitionEnter:T,onTransitionExited:C,open:E,slotProps:A={},slots:O={},theme:D,...I}=r,_={...r,closeAfterTransition:l,disableAutoFocus:h,disableEnforceFocus:y,disableEscapeKeyDown:k,disablePortal:g,disableRestoreFocus:v,disableScrollLock:p,hideBackdrop:b,keepMounted:w},{getRootProps:j,getBackdropProps:L,getTransitionProps:R,portalRef:B,isTopModal:W,exited:Z,hasTransition:q}=qT({..._,rootRef:n}),re={..._,exited:Z},te=tE(re),pe={};if(u.props.tabIndex===void 0&&(pe.tabIndex="-1"),q){const{onEnter:X,onExited:xe}=R();pe.onEnter=X,pe.onExited=xe}const he={slots:{root:f.Root,backdrop:f.Backdrop,...O},slotProps:{...m,...A}},[oe,H]=sn("root",{elementType:nE,externalForwardedProps:he,getSlotProps:j,additionalProps:{ref:n,as:d},ownerState:re,className:Y(a,te==null?void 0:te.root,!re.open&&re.exited&&(te==null?void 0:te.hidden))}),[Q,U]=sn("backdrop",{elementType:o,externalForwardedProps:he,additionalProps:i,getSlotProps:X=>L({...X,onClick:xe=>{P&&P(xe),X!=null&&X.onClick&&X.onClick(xe)}}),className:Y(i==null?void 0:i.className,te==null?void 0:te.backdrop),ownerState:re}),z=at(i==null?void 0:i.ref,U.ref);return!w&&!E&&(!q||Z)?null:S.jsx(_T,{ref:B,container:c,disablePortal:g,children:S.jsxs(oe,{...H,...I,children:[!b&&o?S.jsx(Q,{...U,ref:z}):null,S.jsx(FT,{disableEnforceFocus:y,disableAutoFocus:h,disableRestoreFocus:v,isEnabled:W,open:E,children:x.cloneElement(u,pe)})]})})});function oE(e){return de("MuiPopover",e)}le("MuiPopover",["root","paper"]);function d0(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function f0(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function p0(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function md(e){return typeof e=="function"?e():e}const iE=e=>{const{classes:t}=e;return fe({root:["root"],paper:["paper"]},oE,t)},sE=K(hb,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),mb=K(mo,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),aE=x.forwardRef(function(t,n){const r=ye({props:t,name:"MuiPopover"}),{action:o,anchorEl:i,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:a,anchorReference:l="anchorEl",children:u,className:c,container:d,elevation:f=8,marginThreshold:m=16,open:h,PaperProps:y={},slots:k={},slotProps:g={},transformOrigin:v={vertical:"top",horizontal:"left"},TransitionComponent:p=Hf,transitionDuration:b="auto",TransitionProps:{onEntering:w,...P}={},disableScrollLock:$=!1,...T}=r,C=(g==null?void 0:g.paper)??y,E=x.useRef(),A={...r,anchorOrigin:s,anchorReference:l,elevation:f,marginThreshold:m,externalPaperSlotProps:C,transformOrigin:v,TransitionComponent:p,transitionDuration:b,TransitionProps:P},O=iE(A),D=x.useCallback(()=>{if(l==="anchorPosition")return a;const U=md(i),X=(U&&U.nodeType===1?U:Gt(E.current).body).getBoundingClientRect();return{top:X.top+d0(X,s.vertical),left:X.left+f0(X,s.horizontal)}},[i,s.horizontal,s.vertical,a,l]),I=x.useCallback(U=>({vertical:d0(U,v.vertical),horizontal:f0(U,v.horizontal)}),[v.horizontal,v.vertical]),_=x.useCallback(U=>{const z={width:U.offsetWidth,height:U.offsetHeight},X=I(z);if(l==="none")return{top:null,left:null,transformOrigin:p0(X)};const xe=D();let ie=xe.top-X.vertical,ue=xe.left-X.horizontal;const ot=ie+z.height,ze=ue+z.width,Ee=ho(md(i)),Ke=Ee.innerHeight-m,wn=Ee.innerWidth-m;if(m!==null&&ieKe){const Re=ot-Ke;ie-=Re,X.vertical+=Re}if(m!==null&&uewn){const Re=ze-wn;ue-=Re,X.horizontal+=Re}return{top:`${Math.round(ie)}px`,left:`${Math.round(ue)}px`,transformOrigin:p0(X)}},[i,l,D,I,m]),[j,L]=x.useState(h),R=x.useCallback(()=>{const U=E.current;if(!U)return;const z=_(U);z.top!==null&&(U.style.top=z.top),z.left!==null&&(U.style.left=z.left),U.style.transformOrigin=z.transformOrigin,L(!0)},[_]);x.useEffect(()=>($&&window.addEventListener("scroll",R),()=>window.removeEventListener("scroll",R)),[i,$,R]);const B=(U,z)=>{w&&w(U,z),R()},W=()=>{L(!1)};x.useEffect(()=>{h&&R()}),x.useImperativeHandle(o,()=>h?{updatePosition:()=>{R()}}:null,[h,R]),x.useEffect(()=>{if(!h)return;const U=Qx(()=>{R()}),z=ho(i);return z.addEventListener("resize",U),()=>{U.clear(),z.removeEventListener("resize",U)}},[i,h,R]);let Z=b;b==="auto"&&!p.muiSupportAuto&&(Z=void 0);const q=d||(i?Gt(md(i)).body:void 0),re={slots:k,slotProps:{...g,paper:C}},[te,pe]=sn("paper",{elementType:mb,externalForwardedProps:re,additionalProps:{elevation:f,className:Y(O.paper,C==null?void 0:C.className),style:j?C.style:{...C.style,opacity:0}},ownerState:A}),[he,{slotProps:oe,...H}]=sn("root",{elementType:sE,externalForwardedProps:re,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:q,open:h},ownerState:A,className:Y(O.root,c)}),Q=at(E,pe.ref);return S.jsx(he,{...H,...!zf(he)&&{slotProps:oe,disableScrollLock:$},...T,ref:n,children:S.jsx(p,{appear:!0,in:h,onEntering:B,onExited:W,timeout:Z,...P,children:S.jsx(te,{...pe,ref:Q,children:u})})})});function lE(e){return de("MuiMenu",e)}le("MuiMenu",["root","paper","list"]);const uE={vertical:"top",horizontal:"right"},cE={vertical:"top",horizontal:"left"},dE=e=>{const{classes:t}=e;return fe({root:["root"],paper:["paper"],list:["list"]},lE,t)},fE=K(aE,{shouldForwardProp:e=>pn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),pE=K(mb,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),hE=K($T,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),gb=x.forwardRef(function(t,n){const r=ye({props:t,name:"MuiMenu"}),{autoFocus:o=!0,children:i,className:s,disableAutoFocusItem:a=!1,MenuListProps:l={},onClose:u,open:c,PaperProps:d={},PopoverClasses:f,transitionDuration:m="auto",TransitionProps:{onEntering:h,...y}={},variant:k="selectedMenu",slots:g={},slotProps:v={},...p}=r,b=ib(),w={...r,autoFocus:o,disableAutoFocusItem:a,MenuListProps:l,onEntering:h,PaperProps:d,transitionDuration:m,TransitionProps:y,variant:k},P=dE(w),$=o&&!a&&c,T=x.useRef(null),C=(j,L)=>{T.current&&T.current.adjustStyleForScrollbar(j,{direction:b?"rtl":"ltr"}),h&&h(j,L)},E=j=>{j.key==="Tab"&&(j.preventDefault(),u&&u(j,"tabKeyDown"))};let A=-1;x.Children.map(i,(j,L)=>{x.isValidElement(j)&&(j.props.disabled||(k==="selectedMenu"&&j.props.selected||A===-1)&&(A=L))});const O=g.paper??pE,D=v.paper??d,I=qg({elementType:g.root,externalSlotProps:v.root,ownerState:w,className:[P.root,s]}),_=qg({elementType:O,externalSlotProps:D,ownerState:w,className:P.paper});return S.jsx(fE,{onClose:u,anchorOrigin:{vertical:"bottom",horizontal:b?"right":"left"},transformOrigin:b?uE:cE,slots:{paper:O,root:g.root},slotProps:{root:I,paper:_},open:c,ref:n,transitionDuration:m,TransitionProps:{onEntering:C,...y},ownerState:w,...p,classes:f,children:S.jsx(hE,{onKeyDown:E,actions:T,autoFocus:o&&(A===-1||a),autoFocusItem:$,variant:k,...l,className:Y(P.list,l.className),children:i})})}),mE=Je(S.jsx("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu"),gi=K5({createStyledComponent:K("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${V(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>ub({props:e,name:"MuiContainer"})});function gE(e){return de("MuiButton",e)}const Ao=le("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),vE=x.createContext({}),yE=x.createContext(void 0),xE=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:s}=e,a={root:["root",i,`${i}${V(t)}`,`size${V(o)}`,`${i}Size${V(o)}`,`color${V(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${V(o)}`],endIcon:["icon","endIcon",`iconSize${V(o)}`]},l=fe(a,gE,s);return{...s,...l}},vb=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],bE=K(Xs,{shouldForwardProp:e=>pn(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${V(n.color)}`],t[`size${V(n.size)}`],t[`${n.variant}Size${V(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(Ce(({theme:e})=>{var r,o;const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${Ao.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Ao.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Ao.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${Ao.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(Ht(["dark","contrastText"])).map(([i])=>({props:{color:i},style:{"--variant-textColor":(e.vars||e).palette[i].main,"--variant-outlinedColor":(e.vars||e).palette[i].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[i].mainChannel} / 0.5)`:Oe(e.palette[i].main,.5),"--variant-containedColor":(e.vars||e).palette[i].contrastText,"--variant-containedBg":(e.vars||e).palette[i].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[i].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[i].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Oe(e.palette[i].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[i].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[i].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Oe(e.palette[i].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{"--variant-containedColor":e.vars?e.vars.palette.text.primary:(o=(r=e.palette).getContrastText)==null?void 0:o.call(r,t),"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Oe(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Oe(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Ao.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Ao.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}})),CE=K("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${V(n.size)}`]]}})({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},...vb]}),SE=K("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${V(n.size)}`]]}})({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},...vb]}),ma=x.forwardRef(function(t,n){const r=x.useContext(vE),o=x.useContext(yE),i=Ks(r,t),s=ye({props:i,name:"MuiButton"}),{children:a,color:l="primary",component:u="button",className:c,disabled:d=!1,disableElevation:f=!1,disableFocusRipple:m=!1,endIcon:h,focusVisibleClassName:y,fullWidth:k=!1,size:g="medium",startIcon:v,type:p,variant:b="text",...w}=s,P={...s,color:l,component:u,disabled:d,disableElevation:f,disableFocusRipple:m,fullWidth:k,size:g,type:p,variant:b},$=xE(P),T=v&&S.jsx(CE,{className:$.startIcon,ownerState:P,children:v}),C=h&&S.jsx(SE,{className:$.endIcon,ownerState:P,children:h}),E=o||"";return S.jsxs(bE,{ownerState:P,className:Y(r.className,$.root,c,E),component:u,disabled:d,focusRipple:!m,focusVisibleClassName:Y($.focusVisible,y),ref:n,type:p,...w,classes:$,children:[T,a,C]})});function wE(e){return de("MuiDivider",e)}const h0=le("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),kE=e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:i,orientation:s,textAlign:a,variant:l}=e;return fe({root:["root",t&&"absolute",l,i&&"light",s==="vertical"&&"vertical",o&&"flexItem",n&&"withChildren",n&&s==="vertical"&&"withChildrenVertical",a==="right"&&s!=="vertical"&&"textAlignRight",a==="left"&&s!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",s==="vertical"&&"wrapperVertical"]},wE,r)},$E=K("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(Ce(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Oe(e.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),PE=K("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(Ce(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),tu=x.forwardRef(function(t,n){const r=ye({props:t,name:"MuiDivider"}),{absolute:o=!1,children:i,className:s,orientation:a="horizontal",component:l=i||a==="vertical"?"div":"hr",flexItem:u=!1,light:c=!1,role:d=l!=="hr"?"separator":void 0,textAlign:f="center",variant:m="fullWidth",...h}=r,y={...r,absolute:o,component:l,flexItem:u,light:c,orientation:a,role:d,textAlign:f,variant:m},k=kE(y);return S.jsx($E,{as:l,className:Y(k.root,s),role:d,ref:n,ownerState:y,"aria-orientation":d==="separator"&&(l!=="hr"||a==="vertical")?a:void 0,...h,children:i?S.jsx(PE,{className:k.wrapper,ownerState:y,children:i}):null})});tu&&(tu.muiSkipListHighlight=!0);const m0=le("MuiListItemIcon",["root","alignItemsFlexStart"]),g0=le("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function TE(e){return de("MuiMenuItem",e)}const qi=le("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),EE=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},RE=e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:s}=e,l=fe({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},TE,s);return{...s,...l}},AE=K(Xs,{shouldForwardProp:e=>pn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:EE})(Ce(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${qi.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Oe(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${qi.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Oe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${qi.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Oe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Oe(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${qi.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${qi.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${h0.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${h0.inset}`]:{marginLeft:52},[`& .${g0.root}`]:{marginTop:0,marginBottom:0},[`& .${g0.inset}`]:{paddingLeft:36},[`& .${m0.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${m0.root} svg`]:{fontSize:"1.25rem"}}}]}))),ME=x.forwardRef(function(t,n){const r=ye({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:i="li",dense:s=!1,divider:a=!1,disableGutters:l=!1,focusVisibleClassName:u,role:c="menuitem",tabIndex:d,className:f,...m}=r,h=x.useContext(_f),y=x.useMemo(()=>({dense:s||h.dense||!1,disableGutters:l}),[h.dense,s,l]),k=x.useRef(null);Or(()=>{o&&k.current&&k.current.focus()},[o]);const g={...r,dense:y.dense,divider:a,disableGutters:l},v=RE(r),p=at(k,n);let b;return r.disabled||(b=d!==void 0?d:-1),S.jsx(_f.Provider,{value:y,children:S.jsx(AE,{ref:p,role:c,tabIndex:b,component:i,focusVisibleClassName:Y(v.focusVisible,u),className:Y(v.root,f),...m,ownerState:g,classes:v})})}),v0=Je(S.jsx("path",{d:"M5 16c0 3.87 3.13 7 7 7s7-3.13 7-7v-4H5zM16.12 4.37l2.1-2.1-.82-.83-2.3 2.31C14.16 3.28 13.12 3 12 3s-2.16.28-3.09.75L6.6 1.44l-.82.83 2.1 2.1C6.14 5.64 5 7.68 5 10v1h14v-1c0-2.32-1.14-4.36-2.88-5.63M9 9c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1m6 0c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1"}),"Adb"),Wf={dark:{header:{backgroundColor:"secondary"},mainContent:{backgroundColor:"#242424"},footer:{backgroundColor:"#f4e0c1"},text:{primary:"rgba(255, 255, 255, 0.87)",secondary:"rgba(255, 255, 255, 0.60)",disabled:"rgba(255, 255, 255, 0.38)"},action:{active:"rgba(255, 255, 255, 0.54)",hover:"rgba(255, 255, 255, 0.04)",selected:"rgba(255, 255, 255, 0.08)",disabled:"rgba(255, 255, 255, 0.26)",disabledBackground:"rgba(255, 255, 255, 0.12)"},divider:"rgba(255, 255, 255, 0.12)",elevation:{1:"0px 2px 1px -1px rgba(255,255,255,0.2),0px 1px 1px 0px rgba(255,255,255,0.14),0px 1px 3px 0px rgba(255,255,255,0.12)",2:"0px 3px 1px -2px rgba(255,255,255,0.2),0px 2px 2px 0px rgba(255,255,255,0.14),0px 1px 5px 0px rgba(255,255,255,0.12)",3:"0px 3px 3px -2px rgba(255,255,255,0.2),0px 3px 4px 0px rgba(255,255,255,0.14),0px 1px 8px 0px rgba(255,255,255,0.12)"},card:{backgroundColor:"#1e1e1e",color:"rgba(255, 255, 255, 0.87)"},icon:{color:"#bb86fc"},button:{primary:"#bb86fc",hover:"#c39dff"}},light:{header:{backgroundColor:"primary"},mainContent:{backgroundColor:"#f3e5f5"},footer:{backgroundColor:"white",color:"black"},text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.60)",disabled:"rgba(0, 0, 0, 0.38)"},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",selected:"rgba(0, 0, 0, 0.08)",disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)"},divider:"rgba(0, 0, 0, 0.12)",elevation:{1:"0px 2px 1px -1px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 1px 3px 0px rgba(0,0,0,0.12)",2:"0px 3px 1px -2px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 1px 5px 0px rgba(0,0,0,0.12)",3:"0px 3px 3px -2px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 1px 8px 0px rgba(0,0,0,0.12)"},card:{backgroundColor:"#ffffff",color:"rgba(0, 0, 0, 0.87)"},icon:{color:"#6200ee"},button:{primary:"#6200ee",hover:"#7722ff"}}},OE={light:!1,theme:Wf.light,toggle:()=>{}},Nn=an.createContext(OE);function IE({children:e}){const[t,n]=x.useState(!1);x.useEffect(()=>{const i=localStorage.getItem("light")==="true";n(i)},[t]);const r=()=>{const i=!t;localStorage.setItem("light",JSON.stringify(i)),n(i)},o=t?Wf.light:Wf.dark;return S.jsx(Nn.Provider,{value:{theme:o,light:t,toggle:r},children:e})}const BE=Je(S.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function DE(e){return de("MuiChip",e)}const se=le("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),jE=e=>{const{classes:t,disabled:n,size:r,color:o,iconColor:i,onDelete:s,clickable:a,variant:l}=e,u={root:["root",l,n&&"disabled",`size${V(r)}`,`color${V(o)}`,a&&"clickable",a&&`clickableColor${V(o)}`,s&&"deletable",s&&`deletableColor${V(o)}`,`${l}${V(o)}`],label:["label",`label${V(r)}`],avatar:["avatar",`avatar${V(r)}`,`avatarColor${V(o)}`],icon:["icon",`icon${V(r)}`,`iconColor${V(i)}`],deleteIcon:["deleteIcon",`deleteIcon${V(r)}`,`deleteIconColor${V(o)}`,`deleteIcon${V(l)}Color${V(o)}`]};return fe(u,DE,t)},LE=K("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:o,clickable:i,onDelete:s,size:a,variant:l}=n;return[{[`& .${se.avatar}`]:t.avatar},{[`& .${se.avatar}`]:t[`avatar${V(a)}`]},{[`& .${se.avatar}`]:t[`avatarColor${V(r)}`]},{[`& .${se.icon}`]:t.icon},{[`& .${se.icon}`]:t[`icon${V(a)}`]},{[`& .${se.icon}`]:t[`iconColor${V(o)}`]},{[`& .${se.deleteIcon}`]:t.deleteIcon},{[`& .${se.deleteIcon}`]:t[`deleteIcon${V(a)}`]},{[`& .${se.deleteIcon}`]:t[`deleteIconColor${V(r)}`]},{[`& .${se.deleteIcon}`]:t[`deleteIcon${V(l)}Color${V(r)}`]},t.root,t[`size${V(a)}`],t[`color${V(r)}`],i&&t.clickable,i&&r!=="default"&&t[`clickableColor${V(r)})`],s&&t.deletable,s&&r!=="default"&&t[`deletableColor${V(r)}`],t[l],t[`${l}${V(r)}`]]}})(Ce(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${se.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${se.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${se.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${se.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${se.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${se.icon}`]:{marginLeft:5,marginRight:-6},[`& .${se.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:Oe(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Oe(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${se.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${se.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(Ht(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText,[`& .${se.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].contrastTextChannel} / 0.7)`:Oe(e.palette[n].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].contrastText}}}})),{props:n=>n.iconColor===n.color,style:{[`& .${se.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${se.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${se.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Oe(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(Ht(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${se.focusVisible}`]:{background:(e.vars||e).palette[n].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Oe(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${se.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Oe(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(Ht(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${se.focusVisible}`]:{backgroundColor:(e.vars||e).palette[n].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${se.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${se.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${se.avatar}`]:{marginLeft:4},[`& .${se.avatarSmall}`]:{marginLeft:2},[`& .${se.icon}`]:{marginLeft:4},[`& .${se.iconSmall}`]:{marginLeft:2},[`& .${se.deleteIcon}`]:{marginRight:5},[`& .${se.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(Ht()).map(([n])=>({props:{variant:"outlined",color:n},style:{color:(e.vars||e).palette[n].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:Oe(e.palette[n].main,.7)}`,[`&.${se.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Oe(e.palette[n].main,e.palette.action.hoverOpacity)},[`&.${se.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Oe(e.palette[n].main,e.palette.action.focusOpacity)},[`& .${se.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:Oe(e.palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),FE=K("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${V(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function y0(e){return e.key==="Backspace"||e.key==="Delete"}const Xa=x.forwardRef(function(t,n){const r=ye({props:t,name:"MuiChip"}),{avatar:o,className:i,clickable:s,color:a="default",component:l,deleteIcon:u,disabled:c=!1,icon:d,label:f,onClick:m,onDelete:h,onKeyDown:y,onKeyUp:k,size:g="medium",variant:v="filled",tabIndex:p,skipFocusWhenDisabled:b=!1,...w}=r,P=x.useRef(null),$=at(P,n),T=B=>{B.stopPropagation(),h&&h(B)},C=B=>{B.currentTarget===B.target&&y0(B)&&B.preventDefault(),y&&y(B)},E=B=>{B.currentTarget===B.target&&h&&y0(B)&&h(B),k&&k(B)},A=s!==!1&&m?!0:s,O=A||h?Xs:l||"div",D={...r,component:O,disabled:c,size:g,color:a,iconColor:x.isValidElement(d)&&d.props.color||a,onDelete:!!h,clickable:A,variant:v},I=jE(D),_=O===Xs?{component:l||"div",focusVisibleClassName:I.focusVisible,...h&&{disableRipple:!0}}:{};let j=null;h&&(j=u&&x.isValidElement(u)?x.cloneElement(u,{className:Y(u.props.className,I.deleteIcon),onClick:T}):S.jsx(BE,{className:Y(I.deleteIcon),onClick:T}));let L=null;o&&x.isValidElement(o)&&(L=x.cloneElement(o,{className:Y(I.avatar,o.props.className)}));let R=null;return d&&x.isValidElement(d)&&(R=x.cloneElement(d,{className:Y(I.icon,d.props.className)})),S.jsxs(LE,{as:O,className:Y(I.root,i),disabled:A&&c?!0:void 0,onClick:m,onKeyDown:C,onKeyUp:E,ref:$,tabIndex:b&&c?-1:p,ownerState:D,..._,...w,children:[L||R,S.jsx(FE,{className:Y(I.label),ownerState:D,children:f}),j]})});function qa(e){return parseInt(e,10)||0}const NE={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function _E(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const zE=x.forwardRef(function(t,n){const{onChange:r,maxRows:o,minRows:i=1,style:s,value:a,...l}=t,{current:u}=x.useRef(a!=null),c=x.useRef(null),d=at(n,c),f=x.useRef(null),m=x.useRef(null),h=x.useCallback(()=>{const g=c.current,p=ho(g).getComputedStyle(g);if(p.width==="0px")return{outerHeightStyle:0,overflowing:!1};const b=m.current;b.style.width=p.width,b.value=g.value||t.placeholder||"x",b.value.slice(-1)===` +`&&(b.value+=" ");const w=p.boxSizing,P=qa(p.paddingBottom)+qa(p.paddingTop),$=qa(p.borderBottomWidth)+qa(p.borderTopWidth),T=b.scrollHeight;b.value="x";const C=b.scrollHeight;let E=T;i&&(E=Math.max(Number(i)*C,E)),o&&(E=Math.min(Number(o)*C,E)),E=Math.max(E,C);const A=E+(w==="border-box"?P+$:0),O=Math.abs(E-T)<=1;return{outerHeightStyle:A,overflowing:O}},[o,i,t.placeholder]),y=x.useCallback(()=>{const g=h();if(_E(g))return;const v=g.outerHeightStyle,p=c.current;f.current!==v&&(f.current=v,p.style.height=`${v}px`),p.style.overflow=g.overflowing?"hidden":""},[h]);Or(()=>{const g=()=>{y()};let v;const p=Qx(g),b=c.current,w=ho(b);w.addEventListener("resize",p);let P;return typeof ResizeObserver<"u"&&(P=new ResizeObserver(g),P.observe(b)),()=>{p.clear(),cancelAnimationFrame(v),w.removeEventListener("resize",p),P&&P.disconnect()}},[h,y]),Or(()=>{y()});const k=g=>{u||y(),r&&r(g)};return S.jsxs(x.Fragment,{children:[S.jsx("textarea",{value:a,onChange:k,ref:d,rows:i,style:s,...l}),S.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:m,tabIndex:-1,style:{...NE.shadow,...s,paddingTop:0,paddingBottom:0}})]})});function Ti({props:e,states:t,muiFormControl:n}){return t.reduce((r,o)=>(r[o]=e[o],n&&typeof e[o]>"u"&&(r[o]=n[o]),r),{})}const Ah=x.createContext(void 0);function Ei(){return x.useContext(Ah)}function x0(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function nu(e,t=!1){return e&&(x0(e.value)&&e.value!==""||t&&x0(e.defaultValue)&&e.defaultValue!=="")}function VE(e){return e.startAdornment}function HE(e){return de("MuiInputBase",e)}const vi=le("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var b0;const mc=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${V(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},gc=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},WE=e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:s,formControl:a,fullWidth:l,hiddenLabel:u,multiline:c,readOnly:d,size:f,startAdornment:m,type:h}=e,y={root:["root",`color${V(n)}`,r&&"disabled",o&&"error",l&&"fullWidth",s&&"focused",a&&"formControl",f&&f!=="medium"&&`size${V(f)}`,c&&"multiline",m&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled",h==="search"&&"inputTypeSearch",c&&"inputMultiline",f==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",m&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]};return fe(y,HE,t)},vc=K("div",{name:"MuiInputBase",slot:"Root",overridesResolver:mc})(Ce(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${vi.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:n})=>t.multiline&&n==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),yc=K("input",{name:"MuiInputBase",slot:"Input",overridesResolver:gc})(Ce(({theme:e})=>{const t=e.palette.mode==="light",n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${vi.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${vi.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:i})=>!i.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:i})=>i.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),C0=PP({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),UE=x.forwardRef(function(t,n){const r=ye({props:t,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:s,className:a,color:l,components:u={},componentsProps:c={},defaultValue:d,disabled:f,disableInjectingGlobalStyles:m,endAdornment:h,error:y,fullWidth:k=!1,id:g,inputComponent:v="input",inputProps:p={},inputRef:b,margin:w,maxRows:P,minRows:$,multiline:T=!1,name:C,onBlur:E,onChange:A,onClick:O,onFocus:D,onKeyDown:I,onKeyUp:_,placeholder:j,readOnly:L,renderSuffix:R,rows:B,size:W,slotProps:Z={},slots:q={},startAdornment:re,type:te="text",value:pe,...he}=r,oe=p.value!=null?p.value:pe,{current:H}=x.useRef(oe!=null),Q=x.useRef(),U=x.useCallback(Be=>{},[]),z=at(Q,b,p.ref,U),[X,xe]=x.useState(!1),ie=Ei(),ue=Ti({props:r,muiFormControl:ie,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ue.focused=ie?ie.focused:X,x.useEffect(()=>{!ie&&f&&X&&(xe(!1),E&&E())},[ie,f,X,E]);const ot=ie&&ie.onFilled,ze=ie&&ie.onEmpty,Ee=x.useCallback(Be=>{nu(Be)?ot&&ot():ze&&ze()},[ot,ze]);Or(()=>{H&&Ee({value:oe})},[oe,Ee,H]);const Ke=Be=>{D&&D(Be),p.onFocus&&p.onFocus(Be),ie&&ie.onFocus?ie.onFocus(Be):xe(!0)},wn=Be=>{E&&E(Be),p.onBlur&&p.onBlur(Be),ie&&ie.onBlur?ie.onBlur(Be):xe(!1)},Re=(Be,...ji)=>{if(!H){const Li=Be.target||Q.current;if(Li==null)throw new Error(or(1));Ee({value:Li.value})}p.onChange&&p.onChange(Be,...ji),A&&A(Be,...ji)};x.useEffect(()=>{Ee(Q.current)},[]);const _n=Be=>{Q.current&&Be.currentTarget===Be.target&&Q.current.focus(),O&&O(Be)};let J=v,dt=p;T&&J==="input"&&(B?dt={type:void 0,minRows:B,maxRows:B,...dt}:dt={type:void 0,maxRows:P,minRows:$,...dt},J=zE);const Bi=Be=>{Ee(Be.animationName==="mui-auto-fill-cancel"?Q.current:{value:"x"})};x.useEffect(()=>{ie&&ie.setAdornedStart(!!re)},[ie,re]);const zn={...r,color:ue.color||"primary",disabled:ue.disabled,endAdornment:h,error:ue.error,focused:ue.focused,formControl:ie,fullWidth:k,hiddenLabel:ue.hiddenLabel,multiline:T,size:ue.size,startAdornment:re,type:te},Hr=WE(zn),Di=q.root||u.Root||vc,cr=Z.root||c.root||{},Co=q.input||u.Input||yc;return dt={...dt,...Z.input??c.input},S.jsxs(x.Fragment,{children:[!m&&typeof C0=="function"&&(b0||(b0=S.jsx(C0,{}))),S.jsxs(Di,{...cr,ref:n,onClick:_n,...he,...!zf(Di)&&{ownerState:{...zn,...cr.ownerState}},className:Y(Hr.root,cr.className,a,L&&"MuiInputBase-readOnly"),children:[re,S.jsx(Ah.Provider,{value:null,children:S.jsx(Co,{"aria-invalid":ue.error,"aria-describedby":o,autoComplete:i,autoFocus:s,defaultValue:d,disabled:ue.disabled,id:g,onAnimationStart:Bi,name:C,placeholder:j,readOnly:L,required:ue.required,rows:B,value:oe,onKeyDown:I,onKeyUp:_,type:te,...dt,...!zf(Co)&&{as:J,ownerState:{...zn,...dt.ownerState}},ref:z,className:Y(Hr.input,dt.className,L&&"MuiInputBase-readOnly"),onBlur:wn,onChange:Re,onFocus:Ke})}),h,R?R({...ue,startAdornment:re}):null]})]})}),Mh=UE;function GE(e){return de("MuiInput",e)}const Qi={...vi,...le("MuiInput",["root","underline","input"])};function KE(e){return de("MuiOutlinedInput",e)}const Pn={...vi,...le("MuiOutlinedInput",["root","notchedOutline","input"])};function YE(e){return de("MuiFilledInput",e)}const Wr={...vi,...le("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},XE=Je(S.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),qE=Je(S.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function QE(e){return de("MuiAvatar",e)}le("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const ZE=e=>{const{classes:t,variant:n,colorDefault:r}=e;return fe({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},QE,t)},JE=K("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(Ce(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(e.vars||e).palette.background.default,...e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.grey[400],...e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})}}}]}))),eR=K("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),tR=K(qE,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function nR({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[o,i]=x.useState(!1);return x.useEffect(()=>{if(!n&&!r)return;i(!1);let s=!0;const a=new Image;return a.onload=()=>{s&&i("loaded")},a.onerror=()=>{s&&i("error")},a.crossOrigin=e,a.referrerPolicy=t,a.src=n,r&&(a.srcset=r),()=>{s=!1}},[e,t,n,r]),o}const rR=x.forwardRef(function(t,n){const r=ye({props:t,name:"MuiAvatar"}),{alt:o,children:i,className:s,component:a="div",slots:l={},slotProps:u={},imgProps:c,sizes:d,src:f,srcSet:m,variant:h="circular",...y}=r;let k=null;const g=nR({...c,src:f,srcSet:m}),v=f||m,p=v&&g!=="error",b={...r,colorDefault:!p,component:a,variant:h};delete b.ownerState;const w=ZE(b),[P,$]=sn("img",{className:w.img,elementType:eR,externalForwardedProps:{slots:l,slotProps:{img:{...c,...u.img}}},additionalProps:{alt:o,src:f,srcSet:m,sizes:d},ownerState:b});return p?k=S.jsx(P,{...$}):i||i===0?k=i:v&&o?k=o[0]:k=S.jsx(tR,{ownerState:b,className:w.fallback}),S.jsx(JE,{as:a,className:Y(w.root,s),ref:n,...y,ownerState:b,children:k})});function oR(e){return de("MuiCard",e)}le("MuiCard",["root"]);const iR=e=>{const{classes:t}=e;return fe({root:["root"]},oR,t)},sR=K(mo,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})({overflow:"hidden"}),aR=x.forwardRef(function(t,n){const r=ye({props:t,name:"MuiCard"}),{className:o,raised:i=!1,...s}=r,a={...r,raised:i},l=iR(a);return S.jsx(sR,{className:Y(l.root,o),elevation:i?8:void 0,ref:n,ownerState:a,...s})});function lR(e){return de("MuiCardContent",e)}le("MuiCardContent",["root"]);const uR=e=>{const{classes:t}=e;return fe({root:["root"]},lR,t)},cR=K("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),dR=x.forwardRef(function(t,n){const r=ye({props:t,name:"MuiCardContent"}),{className:o,component:i="div",...s}=r,a={...r,component:i},l=uR(a);return S.jsx(cR,{as:i,className:Y(l.root,o),ownerState:a,ref:n,...s})}),fR=e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:o,size:i,hiddenLabel:s,multiline:a}=e,l={root:["root",!n&&"underline",r&&"adornedStart",o&&"adornedEnd",i==="small"&&`size${V(i)}`,s&&"hiddenLabel",a&&"multiline"],input:["input"]},u=fe(l,YE,t);return{...t,...u}},pR=K(vc,{shouldForwardProp:e=>pn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...mc(e,t),!n.disableUnderline&&t.underline]}})(Ce(({theme:e})=>{const t=e.palette.mode==="light",n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",o=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",i=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:o,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Wr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Wr.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:i},variants:[{props:({ownerState:s})=>!s.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Wr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Wr.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Wr.disabled}, .${Wr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Wr.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Ht()).map(([s])=>{var a;return{props:{disableUnderline:!1,color:s},style:{"&::after":{borderBottom:`2px solid ${(a=(e.vars||e).palette[s])==null?void 0:a.main}`}}}}),{props:({ownerState:s})=>s.startAdornment,style:{paddingLeft:12}},{props:({ownerState:s})=>s.endAdornment,style:{paddingRight:12}},{props:({ownerState:s})=>s.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:s,size:a})=>s.multiline&&a==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:s})=>s.multiline&&s.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:s})=>s.multiline&&s.hiddenLabel&&s.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),hR=K(yc,{name:"MuiFilledInput",slot:"Input",overridesResolver:gc})(Ce(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),ru=x.forwardRef(function(t,n){const r=ye({props:t,name:"MuiFilledInput"}),{disableUnderline:o=!1,components:i={},componentsProps:s,fullWidth:a=!1,hiddenLabel:l,inputComponent:u="input",multiline:c=!1,slotProps:d,slots:f={},type:m="text",...h}=r,y={...r,disableUnderline:o,fullWidth:a,inputComponent:u,multiline:c,type:m},k=fR(r),g={root:{ownerState:y},input:{ownerState:y}},v=d??s?Pt(g,d??s):g,p=f.root??i.Root??pR,b=f.input??i.Input??hR;return S.jsx(Mh,{slots:{root:p,input:b},componentsProps:v,fullWidth:a,inputComponent:u,multiline:c,ref:n,type:m,...h,classes:k})});ru&&(ru.muiName="Input");function mR(e){return de("MuiFormControl",e)}le("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const gR=e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root",n!=="none"&&`margin${V(n)}`,r&&"fullWidth"]};return fe(o,mR,t)},vR=K("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...t[`margin${V(e.margin)}`],...e.fullWidth&&t.fullWidth})})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),yR=x.forwardRef(function(t,n){const r=ye({props:t,name:"MuiFormControl"}),{children:o,className:i,color:s="primary",component:a="div",disabled:l=!1,error:u=!1,focused:c,fullWidth:d=!1,hiddenLabel:f=!1,margin:m="none",required:h=!1,size:y="medium",variant:k="outlined",...g}=r,v={...r,color:s,component:a,disabled:l,error:u,fullWidth:d,hiddenLabel:f,margin:m,required:h,size:y,variant:k},p=gR(v),[b,w]=x.useState(()=>{let D=!1;return o&&x.Children.forEach(o,I=>{if(!ld(I,["Input","Select"]))return;const _=ld(I,["Select"])?I.props.input:I;_&&VE(_.props)&&(D=!0)}),D}),[P,$]=x.useState(()=>{let D=!1;return o&&x.Children.forEach(o,I=>{ld(I,["Input","Select"])&&(nu(I.props,!0)||nu(I.props.inputProps,!0))&&(D=!0)}),D}),[T,C]=x.useState(!1);l&&T&&C(!1);const E=c!==void 0&&!l?c:T;let A;const O=x.useMemo(()=>({adornedStart:b,setAdornedStart:w,color:s,disabled:l,error:u,filled:P,focused:E,fullWidth:d,hiddenLabel:f,size:y,onBlur:()=>{C(!1)},onEmpty:()=>{$(!1)},onFilled:()=>{$(!0)},onFocus:()=>{C(!0)},registerEffect:A,required:h,variant:k}),[b,s,l,u,P,E,d,f,A,h,y,k]);return S.jsx(Ah.Provider,{value:O,children:S.jsx(vR,{as:a,ownerState:v,className:Y(p.root,i),ref:n,...g,children:o})})});function xR(e){return de("MuiFormHelperText",e)}const S0=le("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var w0;const bR=e=>{const{classes:t,contained:n,size:r,disabled:o,error:i,filled:s,focused:a,required:l}=e,u={root:["root",o&&"disabled",i&&"error",r&&`size${V(r)}`,n&&"contained",a&&"focused",s&&"filled",l&&"required"]};return fe(u,xR,t)},CR=K("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${V(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(Ce(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${S0.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${S0.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),SR=x.forwardRef(function(t,n){const r=ye({props:t,name:"MuiFormHelperText"}),{children:o,className:i,component:s="p",disabled:a,error:l,filled:u,focused:c,margin:d,required:f,variant:m,...h}=r,y=Ei(),k=Ti({props:r,muiFormControl:y,states:["variant","size","disabled","error","filled","focused","required"]}),g={...r,component:s,contained:k.variant==="filled"||k.variant==="outlined",variant:k.variant,size:k.size,disabled:k.disabled,error:k.error,filled:k.filled,focused:k.focused,required:k.required};delete g.ownerState;const v=bR(g);return S.jsx(CR,{as:s,className:Y(v.root,i),ref:n,...h,ownerState:g,children:o===" "?w0||(w0=S.jsx("span",{className:"notranslate",children:"​"})):o})});function wR(e){return de("MuiFormLabel",e)}const Ss=le("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),kR=e=>{const{classes:t,color:n,focused:r,disabled:o,error:i,filled:s,required:a}=e,l={root:["root",`color${V(n)}`,o&&"disabled",i&&"error",s&&"filled",r&&"focused",a&&"required"],asterisk:["asterisk",i&&"error"]};return fe(l,wR,t)},$R=K("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...e.color==="secondary"&&t.colorSecondary,...e.filled&&t.filled})})(Ce(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(Ht()).map(([t])=>({props:{color:t},style:{[`&.${Ss.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Ss.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Ss.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),PR=K("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(Ce(({theme:e})=>({[`&.${Ss.error}`]:{color:(e.vars||e).palette.error.main}}))),TR=x.forwardRef(function(t,n){const r=ye({props:t,name:"MuiFormLabel"}),{children:o,className:i,color:s,component:a="label",disabled:l,error:u,filled:c,focused:d,required:f,...m}=r,h=Ei(),y=Ti({props:r,muiFormControl:h,states:["color","required","focused","disabled","error","filled"]}),k={...r,color:y.color||"primary",component:a,disabled:y.disabled,error:y.error,filled:y.filled,focused:y.focused,required:y.required},g=kR(k);return S.jsxs($R,{as:a,ownerState:k,className:Y(g.root,i),ref:n,...m,children:[o,y.required&&S.jsxs(PR,{ownerState:k,"aria-hidden":!0,className:g.asterisk,children:[" ","*"]})]})}),ER=e=>{const{classes:t,disableUnderline:n}=e,o=fe({root:["root",!n&&"underline"],input:["input"]},GE,t);return{...t,...o}},RR=K(vc,{shouldForwardProp:e=>pn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...mc(e,t),!n.disableUnderline&&t.underline]}})(Ce(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:r})=>!r.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Qi.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Qi.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Qi.disabled}, .${Qi.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Qi.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Ht()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),AR=K(yc,{name:"MuiInput",slot:"Input",overridesResolver:gc})({}),ou=x.forwardRef(function(t,n){const r=ye({props:t,name:"MuiInput"}),{disableUnderline:o=!1,components:i={},componentsProps:s,fullWidth:a=!1,inputComponent:l="input",multiline:u=!1,slotProps:c,slots:d={},type:f="text",...m}=r,h=ER(r),k={root:{ownerState:{disableUnderline:o}}},g=c??s?Pt(c??s,k):k,v=d.root??i.Root??RR,p=d.input??i.Input??AR;return S.jsx(Mh,{slots:{root:v,input:p},slotProps:g,fullWidth:a,inputComponent:l,multiline:u,ref:n,type:f,...m,classes:h})});ou&&(ou.muiName="Input");function MR(e){return de("MuiInputLabel",e)}le("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const OR=e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:i,variant:s,required:a}=e,l={root:["root",n&&"formControl",!i&&"animated",o&&"shrink",r&&r!=="normal"&&`size${V(r)}`,s],asterisk:[a&&"asterisk"]},u=fe(l,MR,t);return{...t,...u}},IR=K(TR,{shouldForwardProp:e=>pn(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ss.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(Ce(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="filled"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:n,size:r})=>t==="filled"&&n.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="outlined"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),BR=x.forwardRef(function(t,n){const r=ye({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,margin:i,shrink:s,variant:a,className:l,...u}=r,c=Ei();let d=s;typeof d>"u"&&c&&(d=c.filled||c.focused||c.adornedStart);const f=Ti({props:r,muiFormControl:c,states:["size","variant","required","focused"]}),m={...r,disableAnimation:o,formControl:c,shrink:d,size:f.size,variant:f.variant,required:f.required,focused:f.focused},h=OR(m);return S.jsx(IR,{"data-shrink":d,ref:n,className:Y(h.root,l),...u,ownerState:m,classes:h})});function DR(e){return de("MuiNativeSelect",e)}const Oh=le("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),jR=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:s}=e,a={select:["select",n,r&&"disabled",o&&"multiple",s&&"error"],icon:["icon",`icon${V(n)}`,i&&"iconOpen",r&&"disabled"]};return fe(a,DR,t)},yb=K("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${Oh.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),LR=K(yb,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:pn,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${Oh.multiple}`]:t.multiple}]}})({}),xb=K("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${Oh.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),FR=K(xb,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${V(n.variant)}`],n.open&&t.iconOpen]}})({}),NR=x.forwardRef(function(t,n){const{className:r,disabled:o,error:i,IconComponent:s,inputRef:a,variant:l="standard",...u}=t,c={...t,disabled:o,variant:l,error:i},d=jR(c);return S.jsxs(x.Fragment,{children:[S.jsx(LR,{ownerState:c,className:Y(d.select,r),disabled:o,ref:a||n,...u}),t.multiple?null:S.jsx(FR,{as:s,ownerState:c,className:d.icon})]})});var k0;const _R=K("fieldset",{shouldForwardProp:pn})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),zR=K("legend",{shouldForwardProp:pn})(Ce(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function VR(e){const{children:t,classes:n,className:r,label:o,notched:i,...s}=e,a=o!=null&&o!=="",l={...e,notched:i,withLabel:a};return S.jsx(_R,{"aria-hidden":!0,className:r,ownerState:l,...s,children:S.jsx(zR,{ownerState:l,children:a?S.jsx("span",{children:o}):k0||(k0=S.jsx("span",{className:"notranslate",children:"​"}))})})}const HR=e=>{const{classes:t}=e,r=fe({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},KE,t);return{...t,...r}},WR=K(vc,{shouldForwardProp:e=>pn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:mc})(Ce(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Pn.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},[`&.${Pn.focused} .${Pn.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(Ht()).map(([n])=>({props:{color:n},style:{[`&.${Pn.focused} .${Pn.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{"@media (hover: none)":{[`&:hover .${Pn.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${Pn.error} .${Pn.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Pn.disabled} .${Pn.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:14}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:14}},{props:({ownerState:n})=>n.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:n,size:r})=>n.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),UR=K(VR,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(Ce(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),GR=K(yc,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:gc})(Ce(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),iu=x.forwardRef(function(t,n){var r;const o=ye({props:t,name:"MuiOutlinedInput"}),{components:i={},fullWidth:s=!1,inputComponent:a="input",label:l,multiline:u=!1,notched:c,slots:d={},type:f="text",...m}=o,h=HR(o),y=Ei(),k=Ti({props:o,muiFormControl:y,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),g={...o,color:k.color||"primary",disabled:k.disabled,error:k.error,focused:k.focused,formControl:y,fullWidth:s,hiddenLabel:k.hiddenLabel,multiline:u,size:k.size,type:f},v=d.root??i.Root??WR,p=d.input??i.Input??GR;return S.jsx(Mh,{slots:{root:v,input:p},renderSuffix:b=>S.jsx(UR,{ownerState:g,className:h.notchedOutline,label:l!=null&&l!==""&&k.required?r||(r=S.jsxs(x.Fragment,{children:[l," ","*"]})):l,notched:typeof c<"u"?c:!!(b.startAdornment||b.filled||b.focused)}),fullWidth:s,inputComponent:a,multiline:u,ref:n,type:f,...m,classes:{...h,notchedOutline:null}})});iu&&(iu.muiName="Input");const KR=Je(S.jsx("path",{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star"),YR=Je(S.jsx("path",{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarBorder");function XR(e){return de("MuiRating",e)}const Zi=le("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]);function qR(e){const t=e.toString().split(".")[1];return t?t.length:0}function gd(e,t){if(e==null)return e;const n=Math.round(e/t)*t;return Number(n.toFixed(qR(t)))}const QR=e=>{const{classes:t,size:n,readOnly:r,disabled:o,emptyValueFocused:i,focusVisible:s}=e,a={root:["root",`size${V(n)}`,o&&"disabled",s&&"focusVisible",r&&"readOnly"],label:["label","pristine"],labelEmptyValue:[i&&"labelEmptyValueActive"],icon:["icon"],iconEmpty:["iconEmpty"],iconFilled:["iconFilled"],iconHover:["iconHover"],iconFocus:["iconFocus"],iconActive:["iconActive"],decimal:["decimal"],visuallyHidden:["visuallyHidden"]};return fe(a,XR,t)},ZR=K("span",{name:"MuiRating",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Zi.visuallyHidden}`]:t.visuallyHidden},t.root,t[`size${V(n.size)}`],n.readOnly&&t.readOnly]}})(Ce(({theme:e})=>({display:"inline-flex",position:"relative",fontSize:e.typography.pxToRem(24),color:"#faaf00",cursor:"pointer",textAlign:"left",width:"min-content",WebkitTapHighlightColor:"transparent",[`&.${Zi.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${Zi.focusVisible} .${Zi.iconActive}`]:{outline:"1px solid #999"},[`& .${Zi.visuallyHidden}`]:O5,variants:[{props:{size:"small"},style:{fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{fontSize:e.typography.pxToRem(30)}},{props:({ownerState:t})=>t.readOnly,style:{pointerEvents:"none"}}]}))),bb=K("label",{name:"MuiRating",slot:"Label",overridesResolver:({ownerState:e},t)=>[t.label,e.emptyValueFocused&&t.labelEmptyValueActive]})({cursor:"inherit",variants:[{props:({ownerState:e})=>e.emptyValueFocused,style:{top:0,bottom:0,position:"absolute",outline:"1px solid #999",width:"100%"}}]}),JR=K("span",{name:"MuiRating",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.iconEmpty&&t.iconEmpty,n.iconFilled&&t.iconFilled,n.iconHover&&t.iconHover,n.iconFocus&&t.iconFocus,n.iconActive&&t.iconActive]}})(Ce(({theme:e})=>({display:"flex",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),pointerEvents:"none",variants:[{props:({ownerState:t})=>t.iconActive,style:{transform:"scale(1.2)"}},{props:({ownerState:t})=>t.iconEmpty,style:{color:(e.vars||e).palette.action.disabled}}]}))),e3=K("span",{name:"MuiRating",slot:"Decimal",shouldForwardProp:e=>$h(e)&&e!=="iconActive",overridesResolver:(e,t)=>{const{iconActive:n}=e;return[t.decimal,n&&t.iconActive]}})({position:"relative",variants:[{props:({iconActive:e})=>e,style:{transform:"scale(1.2)"}}]});function t3(e){const{value:t,...n}=e;return S.jsx("span",{...n})}function $0(e){const{classes:t,disabled:n,emptyIcon:r,focus:o,getLabelText:i,highlightSelectedOnly:s,hover:a,icon:l,IconContainerComponent:u,isActive:c,itemValue:d,labelProps:f,name:m,onBlur:h,onChange:y,onClick:k,onFocus:g,readOnly:v,ownerState:p,ratingValue:b,ratingValueRounded:w}=e,P=s?d===b:d<=b,$=d<=a,T=d<=o,C=d===w,E=rc(),A=S.jsx(JR,{as:u,value:d,className:Y(t.icon,P?t.iconFilled:t.iconEmpty,$&&t.iconHover,T&&t.iconFocus,c&&t.iconActive),ownerState:{...p,iconEmpty:!P,iconFilled:P,iconHover:$,iconFocus:T,iconActive:c},children:r&&!P?r:l});return v?S.jsx("span",{...f,children:A}):S.jsxs(x.Fragment,{children:[S.jsxs(bb,{ownerState:{...p,emptyValueFocused:void 0},htmlFor:E,...f,children:[A,S.jsx("span",{className:t.visuallyHidden,children:i(d)})]}),S.jsx("input",{className:t.visuallyHidden,onFocus:g,onBlur:h,onChange:y,onClick:k,disabled:n,value:d,id:E,type:"radio",name:m,checked:C})]})}const n3=S.jsx(KR,{fontSize:"inherit"}),r3=S.jsx(YR,{fontSize:"inherit"});function o3(e){return`${e||"0"} Star${e!==1?"s":""}`}const Cb=x.forwardRef(function(t,n){const r=ye({name:"MuiRating",props:t}),{className:o,defaultValue:i=null,disabled:s=!1,emptyIcon:a=r3,emptyLabelText:l="Empty",getLabelText:u=o3,highlightSelectedOnly:c=!1,icon:d=n3,IconContainerComponent:f=t3,max:m=5,name:h,onChange:y,onChangeActive:k,onMouseLeave:g,onMouseMove:v,precision:p=1,readOnly:b=!1,size:w="medium",value:P,...$}=r,T=rc(h),[C,E]=Bf({controlled:P,default:i,name:"Rating"}),A=gd(C,p),O=ib(),[{hover:D,focus:I},_]=x.useState({hover:-1,focus:-1});let j=A;D!==-1&&(j=D),I!==-1&&(j=I);const[L,R]=x.useState(!1),B=x.useRef(),W=at(B,n),Z=z=>{v&&v(z);const X=B.current,{right:xe,left:ie,width:ue}=X.getBoundingClientRect();let ot;O?ot=(xe-z.clientX)/ue:ot=(z.clientX-ie)/ue;let ze=gd(m*ot+p/2,p);ze=Xx(ze,p,m),_(Ee=>Ee.hover===ze&&Ee.focus===ze?Ee:{hover:ze,focus:ze}),R(!1),k&&D!==ze&&k(z,ze)},q=z=>{g&&g(z);const X=-1;_({hover:X,focus:X}),k&&D!==X&&k(z,X)},re=z=>{let X=z.target.value===""?null:parseFloat(z.target.value);D!==-1&&(X=D),E(X),y&&y(z,X)},te=z=>{z.clientX===0&&z.clientY===0||(_({hover:-1,focus:-1}),E(null),y&&parseFloat(z.target.value)===A&&y(z,null))},pe=z=>{ql(z.target)&&R(!0);const X=parseFloat(z.target.value);_(xe=>({hover:xe.hover,focus:X}))},he=z=>{if(D!==-1)return;ql(z.target)||R(!1);const X=-1;_(xe=>({hover:xe.hover,focus:X}))},[oe,H]=x.useState(!1),Q={...r,defaultValue:i,disabled:s,emptyIcon:a,emptyLabelText:l,emptyValueFocused:oe,focusVisible:L,getLabelText:u,icon:d,IconContainerComponent:f,max:m,precision:p,readOnly:b,size:w},U=QR(Q);return S.jsxs(ZR,{ref:W,onMouseMove:Z,onMouseLeave:q,className:Y(U.root,o,b&&"MuiRating-readOnly"),ownerState:Q,role:b?"img":null,"aria-label":b?u(j):null,...$,children:[Array.from(new Array(m)).map((z,X)=>{const xe=X+1,ie={classes:U,disabled:s,emptyIcon:a,focus:I,getLabelText:u,highlightSelectedOnly:c,hover:D,icon:d,IconContainerComponent:f,name:T,onBlur:he,onChange:re,onClick:te,onFocus:pe,ratingValue:j,ratingValueRounded:A,readOnly:b,ownerState:Q},ue=xe===Math.ceil(j)&&(D!==-1||I!==-1);if(p<1){const ot=Array.from(new Array(1/p));return S.jsx(e3,{className:Y(U.decimal,ue&&U.iconActive),ownerState:Q,iconActive:ue,children:ot.map((ze,Ee)=>{const Ke=gd(xe-1+(Ee+1)*p,p);return S.jsx($0,{...ie,isActive:!1,itemValue:Ke,labelProps:{style:ot.length-1===Ee?{}:{width:Ke===j?`${(Ee+1)*p*100}%`:"0%",overflow:"hidden",position:"absolute"}}},Ke)})},xe)}return S.jsx($0,{...ie,isActive:ue,itemValue:xe},xe)}),!b&&!s&&S.jsxs(bb,{className:Y(U.label,U.labelEmptyValue),ownerState:Q,children:[S.jsx("input",{className:U.visuallyHidden,value:"",id:`${T}-empty`,type:"radio",name:T,checked:A==null,onFocus:()=>H(!0),onBlur:()=>H(!1),onChange:re}),S.jsx("span",{className:U.visuallyHidden,children:l})]})]})});function i3(e){return de("MuiSelect",e)}const Ji=le("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var P0;const s3=K(yb,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Ji.select}`]:t.select},{[`&.${Ji.select}`]:t[n.variant]},{[`&.${Ji.error}`]:t.error},{[`&.${Ji.multiple}`]:t.multiple}]}})({[`&.${Ji.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),a3=K(xb,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${V(n.variant)}`],n.open&&t.iconOpen]}})({}),l3=K("input",{shouldForwardProp:e=>$h(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function T0(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function u3(e){return e==null||typeof e=="string"&&!e.trim()}const c3=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:s}=e,a={select:["select",n,r&&"disabled",o&&"multiple",s&&"error"],icon:["icon",`icon${V(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return fe(a,i3,t)},d3=x.forwardRef(function(t,n){var Li;const{"aria-describedby":r,"aria-label":o,autoFocus:i,autoWidth:s,children:a,className:l,defaultOpen:u,defaultValue:c,disabled:d,displayEmpty:f,error:m=!1,IconComponent:h,inputRef:y,labelId:k,MenuProps:g={},multiple:v,name:p,onBlur:b,onChange:w,onClose:P,onFocus:$,onOpen:T,open:C,readOnly:E,renderValue:A,SelectDisplayProps:O={},tabIndex:D,type:I,value:_,variant:j="standard",...L}=t,[R,B]=Bf({controlled:_,default:c,name:"Select"}),[W,Z]=Bf({controlled:C,default:u,name:"Select"}),q=x.useRef(null),re=x.useRef(null),[te,pe]=x.useState(null),{current:he}=x.useRef(C!=null),[oe,H]=x.useState(),Q=at(n,y),U=x.useCallback(ne=>{re.current=ne,ne&&pe(ne)},[]),z=te==null?void 0:te.parentNode;x.useImperativeHandle(Q,()=>({focus:()=>{re.current.focus()},node:q.current,value:R}),[R]),x.useEffect(()=>{u&&W&&te&&!he&&(H(s?null:z.clientWidth),re.current.focus())},[te,s]),x.useEffect(()=>{i&&re.current.focus()},[i]),x.useEffect(()=>{if(!k)return;const ne=Gt(re.current).getElementById(k);if(ne){const Ae=()=>{getSelection().isCollapsed&&re.current.focus()};return ne.addEventListener("click",Ae),()=>{ne.removeEventListener("click",Ae)}}},[k]);const X=(ne,Ae)=>{ne?T&&T(Ae):P&&P(Ae),he||(H(s?null:z.clientWidth),Z(ne))},xe=ne=>{ne.button===0&&(ne.preventDefault(),re.current.focus(),X(!0,ne))},ie=ne=>{X(!1,ne)},ue=x.Children.toArray(a),ot=ne=>{const Ae=ue.find(ft=>ft.props.value===ne.target.value);Ae!==void 0&&(B(Ae.props.value),w&&w(ne,Ae))},ze=ne=>Ae=>{let ft;if(Ae.currentTarget.hasAttribute("tabindex")){if(v){ft=Array.isArray(R)?R.slice():[];const So=R.indexOf(ne.props.value);So===-1?ft.push(ne.props.value):ft.splice(So,1)}else ft=ne.props.value;if(ne.props.onClick&&ne.props.onClick(Ae),R!==ft&&(B(ft),w)){const So=Ae.nativeEvent||Ae,wm=new So.constructor(So.type,So);Object.defineProperty(wm,"target",{writable:!0,value:{value:ft,name:p}}),w(wm,ne)}v||X(!1,Ae)}},Ee=ne=>{E||[" ","ArrowUp","ArrowDown","Enter"].includes(ne.key)&&(ne.preventDefault(),X(!0,ne))},Ke=te!==null&&W,wn=ne=>{!Ke&&b&&(Object.defineProperty(ne,"target",{writable:!0,value:{value:R,name:p}}),b(ne))};delete L["aria-invalid"];let Re,_n;const J=[];let dt=!1;(nu({value:R})||f)&&(A?Re=A(R):dt=!0);const Bi=ue.map(ne=>{if(!x.isValidElement(ne))return null;let Ae;if(v){if(!Array.isArray(R))throw new Error(or(2));Ae=R.some(ft=>T0(ft,ne.props.value)),Ae&&dt&&J.push(ne.props.children)}else Ae=T0(R,ne.props.value),Ae&&dt&&(_n=ne.props.children);return x.cloneElement(ne,{"aria-selected":Ae?"true":"false",onClick:ze(ne),onKeyUp:ft=>{ft.key===" "&&ft.preventDefault(),ne.props.onKeyUp&&ne.props.onKeyUp(ft)},role:"option",selected:Ae,value:void 0,"data-value":ne.props.value})});dt&&(v?J.length===0?Re=null:Re=J.reduce((ne,Ae,ft)=>(ne.push(Ae),ft{const{classes:t}=e;return t},Ih={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>pn(e)&&e!=="variant",slot:"Root"},p3=K(ou,Ih)(""),h3=K(iu,Ih)(""),m3=K(ru,Ih)(""),Sb=x.forwardRef(function(t,n){const r=ub({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:i,classes:s={},className:a,defaultOpen:l=!1,displayEmpty:u=!1,IconComponent:c=XE,id:d,input:f,inputProps:m,label:h,labelId:y,MenuProps:k,multiple:g=!1,native:v=!1,onClose:p,onOpen:b,open:w,renderValue:P,SelectDisplayProps:$,variant:T="outlined",...C}=r,E=v?NR:d3,A=Ei(),O=Ti({props:r,muiFormControl:A,states:["variant","error"]}),D=O.variant||T,I={...r,variant:D,classes:s},_=f3(I),{root:j,...L}=_,R=f||{standard:S.jsx(p3,{ownerState:I}),outlined:S.jsx(h3,{label:h,ownerState:I}),filled:S.jsx(m3,{ownerState:I})}[D],B=at(n,pa(R));return S.jsx(x.Fragment,{children:x.cloneElement(R,{inputComponent:E,inputProps:{children:i,error:O.error,IconComponent:c,variant:D,type:void 0,multiple:g,...v?{id:d}:{autoWidth:o,defaultOpen:l,displayEmpty:u,labelId:y,MenuProps:k,onClose:p,onOpen:b,open:w,renderValue:P,SelectDisplayProps:{id:d,...$}},...m,classes:m?Pt(L,m.classes):L,...f?f.props.inputProps:{}},...(g&&v||u)&&D==="outlined"?{notched:!0}:{},ref:B,className:Y(R.props.className,a,_.root),...!f&&{variant:D},...C})})});Sb.muiName="Select";function g3(e){return de("MuiTextField",e)}le("MuiTextField",["root"]);const v3={standard:ou,filled:ru,outlined:iu},y3=e=>{const{classes:t}=e;return fe({root:["root"]},g3,t)},x3=K(yR,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),vd=x.forwardRef(function(t,n){const r=ye({props:t,name:"MuiTextField"}),{autoComplete:o,autoFocus:i=!1,children:s,className:a,color:l="primary",defaultValue:u,disabled:c=!1,error:d=!1,FormHelperTextProps:f,fullWidth:m=!1,helperText:h,id:y,InputLabelProps:k,inputProps:g,InputProps:v,inputRef:p,label:b,maxRows:w,minRows:P,multiline:$=!1,name:T,onBlur:C,onChange:E,onFocus:A,placeholder:O,required:D=!1,rows:I,select:_=!1,SelectProps:j,slots:L={},slotProps:R={},type:B,value:W,variant:Z="outlined",...q}=r,re={...r,autoFocus:i,color:l,disabled:c,error:d,fullWidth:m,multiline:$,required:D,select:_,variant:Z},te=y3(re),pe=rc(y),he=h&&pe?`${pe}-helper-text`:void 0,oe=b&&pe?`${pe}-label`:void 0,H=v3[Z],Q={slots:L,slotProps:{input:v,inputLabel:k,htmlInput:g,formHelperText:f,select:j,...R}},U={},z=Q.slotProps.inputLabel;Z==="outlined"&&(z&&typeof z.shrink<"u"&&(U.notched=z.shrink),U.label=b),_&&((!j||!j.native)&&(U.id=void 0),U["aria-describedby"]=void 0);const[X,xe]=sn("input",{elementType:H,externalForwardedProps:Q,additionalProps:U,ownerState:re}),[ie,ue]=sn("inputLabel",{elementType:BR,externalForwardedProps:Q,ownerState:re}),[ot,ze]=sn("htmlInput",{elementType:"input",externalForwardedProps:Q,ownerState:re}),[Ee,Ke]=sn("formHelperText",{elementType:SR,externalForwardedProps:Q,ownerState:re}),[wn,Re]=sn("select",{elementType:Sb,externalForwardedProps:Q,ownerState:re}),_n=S.jsx(X,{"aria-describedby":he,autoComplete:o,autoFocus:i,defaultValue:u,fullWidth:m,multiline:$,name:T,rows:I,maxRows:w,minRows:P,type:B,value:W,id:pe,inputRef:p,onBlur:C,onChange:E,onFocus:A,placeholder:O,inputProps:ze,slots:{input:L.htmlInput?ot:void 0},...xe});return S.jsxs(x3,{className:Y(te.root,a),disabled:c,error:d,fullWidth:m,ref:n,required:D,color:l,variant:Z,ownerState:re,...q,children:[b!=null&&b!==""&&S.jsx(ie,{htmlFor:pe,id:oe,...ue,children:b}),_?S.jsx(wn,{"aria-describedby":he,id:pe,labelId:oe,value:W,input:_n,...Re,children:s}):_n,h&&S.jsx(Ee,{id:he,...Ke,children:h})]})});function b3(){const{light:e,toggle:t}=x.useContext(Nn);return S.jsxs(ma,{onClick:t,sx:{color:"white"},children:["Swith to ",e?"Dark":"Light"," Mode"]})}/** + * @remix-run/router v1.19.2 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function qs(){return qs=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function wb(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function S3(){return Math.random().toString(36).substr(2,8)}function R0(e,t){return{usr:e.state,key:e.key,idx:t}}function Uf(e,t,n,r){return n===void 0&&(n=null),qs({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ri(t):t,{state:n,key:t&&t.key||r||S3()})}function su(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Ri(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function w3(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a=br.Pop,l=null,u=c();u==null&&(u=0,s.replaceState(qs({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function d(){a=br.Pop;let k=c(),g=k==null?null:k-u;u=k,l&&l({action:a,location:y.location,delta:g})}function f(k,g){a=br.Push;let v=Uf(y.location,k,g);u=c()+1;let p=R0(v,u),b=y.createHref(v);try{s.pushState(p,"",b)}catch(w){if(w instanceof DOMException&&w.name==="DataCloneError")throw w;o.location.assign(b)}i&&l&&l({action:a,location:y.location,delta:1})}function m(k,g){a=br.Replace;let v=Uf(y.location,k,g);u=c();let p=R0(v,u),b=y.createHref(v);s.replaceState(p,"",b),i&&l&&l({action:a,location:y.location,delta:0})}function h(k){let g=o.location.origin!=="null"?o.location.origin:o.location.href,v=typeof k=="string"?k:su(k);return v=v.replace(/ $/,"%20"),rt(g,"No window.location.(origin|href) available to create URL for href: "+v),new URL(v,g)}let y={get action(){return a},get location(){return e(o,s)},listen(k){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(E0,d),l=k,()=>{o.removeEventListener(E0,d),l=null}},createHref(k){return t(o,k)},createURL:h,encodeLocation(k){let g=h(k);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:f,replace:m,go(k){return s.go(k)}};return y}var A0;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(A0||(A0={}));function k3(e,t,n){return n===void 0&&(n="/"),$3(e,t,n,!1)}function $3(e,t,n,r){let o=typeof t=="string"?Ri(t):t,i=Bh(o.pathname||"/",n);if(i==null)return null;let s=kb(e);P3(s);let a=null;for(let l=0;a==null&&l{let l={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};l.relativePath.startsWith("/")&&(rt(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=Rr([r,l.relativePath]),c=n.concat(l);i.children&&i.children.length>0&&(rt(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),kb(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:I3(u,i.index),routesMeta:c})};return e.forEach((i,s)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,s);else for(let l of $b(i.path))o(i,s,l)}),t}function $b(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=$b(r.join("/")),a=[];return a.push(...s.map(l=>l===""?i:[i,l].join("/"))),o&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function P3(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:B3(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const T3=/^:[\w-]+$/,E3=3,R3=2,A3=1,M3=10,O3=-2,M0=e=>e==="*";function I3(e,t){let n=e.split("/"),r=n.length;return n.some(M0)&&(r+=O3),t&&(r+=R3),n.filter(o=>!M0(o)).reduce((o,i)=>o+(T3.test(i)?E3:i===""?A3:M3),r)}function B3(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function D3(e,t,n){let{routesMeta:r}=e,o={},i="/",s=[];for(let a=0;a{let{paramName:f,isOptional:m}=c;if(f==="*"){let y=a[d]||"";s=i.slice(0,i.length-y.length).replace(/(.)\/+$/,"$1")}const h=a[d];return m&&!h?u[f]=void 0:u[f]=(h||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:s,pattern:e}}function j3(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),wb(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function L3(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return wb(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Bh(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function F3(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Ri(e):e;return{pathname:n?n.startsWith("/")?n:N3(n,t):t,search:V3(r),hash:H3(o)}}function N3(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function yd(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function _3(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Pb(e,t){let n=_3(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Tb(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Ri(e):(o=qs({},e),rt(!o.pathname||!o.pathname.includes("?"),yd("?","pathname","search",o)),rt(!o.pathname||!o.pathname.includes("#"),yd("#","pathname","hash",o)),rt(!o.search||!o.search.includes("#"),yd("#","search","hash",o)));let i=e===""||o.pathname==="",s=i?"/":o.pathname,a;if(s==null)a=n;else{let d=t.length-1;if(!r&&s.startsWith("..")){let f=s.split("/");for(;f[0]==="..";)f.shift(),d-=1;o.pathname=f.join("/")}a=d>=0?t[d]:"/"}let l=F3(o,a),u=s&&s!=="/"&&s.endsWith("/"),c=(i||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const Rr=e=>e.join("/").replace(/\/\/+/g,"/"),z3=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),V3=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,H3=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function W3(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Eb=["post","put","patch","delete"];new Set(Eb);const U3=["get",...Eb];new Set(U3);/** + * React Router v6.26.2 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Qs(){return Qs=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),x.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let d=Tb(u,JSON.parse(s),i,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Rr([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,s,i,e])}function X3(){let{matches:e}=x.useContext(_r),t=e[e.length-1];return t?t.params:{}}function Mb(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=x.useContext(xo),{matches:o}=x.useContext(_r),{pathname:i}=va(),s=JSON.stringify(Pb(o,r.v7_relativeSplatPath));return x.useMemo(()=>Tb(e,JSON.parse(s),i,n==="path"),[e,s,i,n])}function q3(e,t){return Q3(e,t)}function Q3(e,t,n,r){ga()||rt(!1);let{navigator:o}=x.useContext(xo),{matches:i}=x.useContext(_r),s=i[i.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=va(),c;if(t){var d;let k=typeof t=="string"?Ri(t):t;l==="/"||(d=k.pathname)!=null&&d.startsWith(l)||rt(!1),c=k}else c=u;let f=c.pathname||"/",m=f;if(l!=="/"){let k=l.replace(/^\//,"").split("/");m="/"+f.replace(/^\//,"").split("/").slice(k.length).join("/")}let h=k3(e,{pathname:m}),y=nA(h&&h.map(k=>Object.assign({},k,{params:Object.assign({},a,k.params),pathname:Rr([l,o.encodeLocation?o.encodeLocation(k.pathname).pathname:k.pathname]),pathnameBase:k.pathnameBase==="/"?l:Rr([l,o.encodeLocation?o.encodeLocation(k.pathnameBase).pathname:k.pathnameBase])})),i,n,r);return t&&y?x.createElement(xc.Provider,{value:{location:Qs({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:br.Pop}},y):y}function Z3(){let e=sA(),t=W3(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),n?x.createElement("pre",{style:o},n):null,null)}const J3=x.createElement(Z3,null);class eA extends x.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?x.createElement(_r.Provider,{value:this.props.routeContext},x.createElement(Rb.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function tA(e){let{routeContext:t,match:n,children:r}=e,o=x.useContext(Dh);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),x.createElement(_r.Provider,{value:t},r)}function nA(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let c=s.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);c>=0||rt(!1),s=s.slice(0,Math.min(s.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((c,d,f)=>{let m,h=!1,y=null,k=null;n&&(m=a&&d.route.id?a[d.route.id]:void 0,y=d.route.errorElement||J3,l&&(u<0&&f===0?(h=!0,k=null):u===f&&(h=!0,k=d.route.hydrateFallbackElement||null)));let g=t.concat(s.slice(0,f+1)),v=()=>{let p;return m?p=y:h?p=k:d.route.Component?p=x.createElement(d.route.Component,null):d.route.element?p=d.route.element:p=c,x.createElement(tA,{match:d,routeContext:{outlet:c,matches:g,isDataRoute:n!=null},children:p})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?x.createElement(eA,{location:n.location,revalidation:n.revalidation,component:y,error:m,children:v(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):v()},null)}var Ob=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Ob||{}),au=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(au||{});function rA(e){let t=x.useContext(Dh);return t||rt(!1),t}function oA(e){let t=x.useContext(G3);return t||rt(!1),t}function iA(e){let t=x.useContext(_r);return t||rt(!1),t}function Ib(e){let t=iA(),n=t.matches[t.matches.length-1];return n.route.id||rt(!1),n.route.id}function sA(){var e;let t=x.useContext(Rb),n=oA(au.UseRouteError),r=Ib(au.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function aA(){let{router:e}=rA(Ob.UseNavigateStable),t=Ib(au.UseNavigateStable),n=x.useRef(!1);return Ab(()=>{n.current=!0}),x.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Qs({fromRouteId:t},i)))},[e,t])}function Bo(e){rt(!1)}function lA(e){let{basename:t="/",children:n=null,location:r,navigationType:o=br.Pop,navigator:i,static:s=!1,future:a}=e;ga()&&rt(!1);let l=t.replace(/^\/*/,"/"),u=x.useMemo(()=>({basename:l,navigator:i,static:s,future:Qs({v7_relativeSplatPath:!1},a)}),[l,a,i,s]);typeof r=="string"&&(r=Ri(r));let{pathname:c="/",search:d="",hash:f="",state:m=null,key:h="default"}=r,y=x.useMemo(()=>{let k=Bh(c,l);return k==null?null:{location:{pathname:k,search:d,hash:f,state:m,key:h},navigationType:o}},[l,c,d,f,m,h,o]);return y==null?null:x.createElement(xo.Provider,{value:u},x.createElement(xc.Provider,{children:n,value:y}))}function uA(e){let{children:t,location:n}=e;return q3(Gf(t),n)}new Promise(()=>{});function Gf(e,t){t===void 0&&(t=[]);let n=[];return x.Children.forEach(e,(r,o)=>{if(!x.isValidElement(r))return;let i=[...t,o];if(r.type===x.Fragment){n.push.apply(n,Gf(r.props.children,i));return}r.type!==Bo&&rt(!1),!r.props.index||!r.props.children||rt(!1);let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=Gf(r.props.children,i)),n.push(s)}),n}/** + * React Router DOM v6.26.2 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Kf(){return Kf=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function dA(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function fA(e,t){return e.button===0&&(!t||t==="_self")&&!dA(e)}const pA=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],hA="6";try{window.__reactRouterVersion=hA}catch{}const mA="startTransition",I0=Sl[mA];function gA(e){let{basename:t,children:n,future:r,window:o}=e,i=x.useRef();i.current==null&&(i.current=C3({window:o,v5Compat:!0}));let s=i.current,[a,l]=x.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=x.useCallback(d=>{u&&I0?I0(()=>l(d)):l(d)},[l,u]);return x.useLayoutEffect(()=>s.listen(c),[s,c]),x.createElement(lA,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const vA=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",yA=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,xd=x.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:s,state:a,target:l,to:u,preventScrollReset:c,unstable_viewTransition:d}=t,f=cA(t,pA),{basename:m}=x.useContext(xo),h,y=!1;if(typeof u=="string"&&yA.test(u)&&(h=u,vA))try{let p=new URL(window.location.href),b=u.startsWith("//")?new URL(p.protocol+u):new URL(u),w=Bh(b.pathname,m);b.origin===p.origin&&w!=null?u=w+b.search+b.hash:y=!0}catch{}let k=K3(u,{relative:o}),g=xA(u,{replace:s,state:a,target:l,preventScrollReset:c,relative:o,unstable_viewTransition:d});function v(p){r&&r(p),p.defaultPrevented||g(p)}return x.createElement("a",Kf({},f,{href:h||k,onClick:y||i?r:v,ref:n,target:l}))});var B0;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(B0||(B0={}));var D0;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(D0||(D0={}));function xA(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,l=jh(),u=va(),c=Mb(e,{relative:s});return x.useCallback(d=>{if(fA(d,n)){d.preventDefault();let f=r!==void 0?r:su(u)===su(c);l(e,{replace:f,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:a})}},[u,l,c,r,o,n,e,i,s,a])}const j0=[{name:"Home",path:"/fer-lab1/"},{name:"Special",path:"/fer-lab1/natural"},{name:"About",path:"/fer-lab1/about"},{name:"Contact",path:"/fer-lab1/contact"}];function bA(){const[e,t]=x.useState(null),{theme:n}=x.useContext(Nn),r=va(),o=s=>{t(s.currentTarget)},i=()=>{t(null)};return S.jsx(jP,{position:"static",color:n.header.backgroundColor,children:S.jsx(gi,{maxWidth:"xl",children:S.jsxs(VP,{disableGutters:!0,children:[S.jsx(v0,{sx:{display:{xs:"none",md:"flex"},mr:1}}),S.jsx(xd,{to:"/fer-lab1/",style:{textDecoration:"none"},children:S.jsx(ve,{variant:"h6",noWrap:!0,component:"a",href:"#app-bar-with-responsive-menu",sx:{mr:2,display:{xs:"none",md:"flex"},fontFamily:"monospace",fontWeight:700,letterSpacing:".3rem",color:"inherit",textDecoration:"none"},children:"LOGO"})}),S.jsxs(qe,{sx:{flexGrow:1,display:{xs:"flex",md:"none"}},children:[S.jsx(so,{size:"large","aria-label":"account of current user","aria-controls":"menu-appbar","aria-haspopup":"true",onClick:o,color:"inherit",children:S.jsx(mE,{})}),S.jsx(gb,{id:"menu-appbar",anchorEl:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},keepMounted:!0,transformOrigin:{vertical:"top",horizontal:"left"},open:!!e,onClose:i,sx:{display:{xs:"block",md:"none"}},children:j0.map(s=>S.jsx(ME,{onClick:i,component:xd,to:s.path,children:S.jsx(ve,{sx:{textAlign:"center"},children:s.name})},s.name))})]}),S.jsx(v0,{sx:{display:{xs:"flex",md:"none"},mr:1}}),S.jsx(ve,{variant:"h5",noWrap:!0,component:"a",href:"/fer-lab1/",sx:{mr:2,display:{xs:"flex",md:"none"},flexGrow:1,fontFamily:"monospace",fontWeight:700,letterSpacing:".3rem",color:"inherit",textDecoration:"none"},children:"LOGO"}),S.jsx(qe,{sx:{flexGrow:1,display:{xs:"none",md:"flex"}},children:j0.map(s=>S.jsx(ma,{component:xd,to:s.path,onClick:i,sx:{my:2,color:"white",display:"block",backgroundColor:r.pathname===s.path?"rgba(255, 255, 255, 0.2)":"transparent","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.1)"}},children:s.name},s.name))}),S.jsx(b3,{})]})})})}function CA(){const{theme:e}=x.useContext(Nn);return S.jsx(qe,{component:"footer",sx:{py:3,px:2,backgroundColor:e.footer.backgroundColor,color:e.text.secondary},className:"footer-content",children:S.jsx(gi,{maxWidth:"sm",children:S.jsxs(ve,{variant:"body2",color:"text.secondary",align:"center",children:["No Copyright © ",new Date().getFullYear()]})})})}const es={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"}},Bb="$$joy";function Yf(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};function vr(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Db(e){if(!vr(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Db(e[n])}),t}function Xn(e,t,n={clone:!0}){const r=n.clone?N({},e):e;return vr(e)&&vr(t)&&Object.keys(t).forEach(o=>{vr(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&vr(e[o])?r[o]=Xn(e[o],t[o],n):n.clone?r[o]=vr(t[o])?Db(t[o]):t[o]:r[o]=t[o]}),r}const kA=["values","unit","step"],$A=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)=>N({},n,{[r.key]:r.val}),{})};function jb(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Qe(e,kA),i=$A(t),s=Object.keys(i);function a(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n})`}function l(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-r/100}${n})`}function u(f,m){const h=s.indexOf(m);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n}) and (max-width:${(h!==-1&&typeof t[s[h]]=="number"?t[s[h]]:m)-r/100}${n})`}function c(f){return s.indexOf(f)+1`@media (min-width:${Lh[e]}px)`};function sr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||L0;return t.reduce((s,a,l)=>(s[i.up(i.keys[l])]=n(t[l]),s),{})}if(typeof t=="object"){const i=r.breakpoints||L0;return Object.keys(t).reduce((s,a)=>{if(Object.keys(i.values||Lh).indexOf(a)!==-1){const l=i.up(a);s[l]=n(t[a],a)}else{const l=a;s[l]=t[l]}return s},{})}return n(t)}function TA(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function EA(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Dn(e){if(typeof e!="string")throw new Error(Yf(7));return e.charAt(0).toUpperCase()+e.slice(1)}function bc(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 lu(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=bc(e,n)||r,t&&(o=t(o,r,e)),o}function et(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=s=>{if(s[t]==null)return null;const a=s[t],l=s.theme,u=bc(l,r)||{};return sr(s,a,d=>{let f=lu(u,o,d);return d===f&&typeof d=="string"&&(f=lu(u,o,`${t}${d==="default"?"":Dn(d)}`,d)),n===!1?f:{[n]:f}})};return i.propTypes={},i.filterProps=[t],i}function RA(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const AA={m:"margin",p:"padding"},MA={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},F0={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},OA=RA(e=>{if(e.length>2)if(F0[e])e=F0[e];else return[e];const[t,n]=e.split(""),r=AA[t],o=MA[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),Fh=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Nh=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Fh,...Nh];function ya(e,t,n,r){var o;const i=(o=bc(e,t,!1))!=null?o:n;return typeof i=="number"?s=>typeof s=="string"?s:i*s:Array.isArray(i)?s=>typeof s=="string"?s:i[s]:typeof i=="function"?i:()=>{}}function Lb(e){return ya(e,"spacing",8)}function xa(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 IA(e,t){return n=>e.reduce((r,o)=>(r[o]=xa(t,n),r),{})}function BA(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=OA(n),i=IA(o,r),s=e[n];return sr(e,s,i)}function Fb(e,t){const n=Lb(e.theme);return Object.keys(e).map(r=>BA(e,t,r,n)).reduce(ws,{})}function We(e){return Fb(e,Fh)}We.propTypes={};We.filterProps=Fh;function Ue(e){return Fb(e,Nh)}Ue.propTypes={};Ue.filterProps=Nh;function Nb(e=8){if(e.mui)return e;const t=Lb({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function Cc(...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]?ws(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function on(e){return typeof e!="number"?e:`${e}px solid`}function mn(e,t){return et({prop:e,themeKey:"borders",transform:t})}const DA=mn("border",on),jA=mn("borderTop",on),LA=mn("borderRight",on),FA=mn("borderBottom",on),NA=mn("borderLeft",on),_A=mn("borderColor"),zA=mn("borderTopColor"),VA=mn("borderRightColor"),HA=mn("borderBottomColor"),WA=mn("borderLeftColor"),UA=mn("outline",on),GA=mn("outlineColor"),Sc=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=ya(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:xa(t,r)});return sr(e,e.borderRadius,n)}return null};Sc.propTypes={};Sc.filterProps=["borderRadius"];Cc(DA,jA,LA,FA,NA,_A,zA,VA,HA,WA,Sc,UA,GA);const wc=e=>{if(e.gap!==void 0&&e.gap!==null){const t=ya(e.theme,"spacing",8),n=r=>({gap:xa(t,r)});return sr(e,e.gap,n)}return null};wc.propTypes={};wc.filterProps=["gap"];const kc=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=ya(e.theme,"spacing",8),n=r=>({columnGap:xa(t,r)});return sr(e,e.columnGap,n)}return null};kc.propTypes={};kc.filterProps=["columnGap"];const $c=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=ya(e.theme,"spacing",8),n=r=>({rowGap:xa(t,r)});return sr(e,e.rowGap,n)}return null};$c.propTypes={};$c.filterProps=["rowGap"];const KA=et({prop:"gridColumn"}),YA=et({prop:"gridRow"}),XA=et({prop:"gridAutoFlow"}),qA=et({prop:"gridAutoColumns"}),QA=et({prop:"gridAutoRows"}),ZA=et({prop:"gridTemplateColumns"}),JA=et({prop:"gridTemplateRows"}),e4=et({prop:"gridTemplateAreas"}),t4=et({prop:"gridArea"});Cc(wc,kc,$c,KA,YA,XA,qA,QA,ZA,JA,e4,t4);function ai(e,t){return t==="grey"?t:e}const n4=et({prop:"color",themeKey:"palette",transform:ai}),r4=et({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ai}),o4=et({prop:"backgroundColor",themeKey:"palette",transform:ai});Cc(n4,r4,o4);function zt(e){return e<=1&&e!==0?`${e*100}%`:e}const i4=et({prop:"width",transform:zt}),_h=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])||Lh[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:zt(n)}};return sr(e,e.maxWidth,t)}return null};_h.filterProps=["maxWidth"];const s4=et({prop:"minWidth",transform:zt}),a4=et({prop:"height",transform:zt}),l4=et({prop:"maxHeight",transform:zt}),u4=et({prop:"minHeight",transform:zt});et({prop:"size",cssProperty:"width",transform:zt});et({prop:"size",cssProperty:"height",transform:zt});const c4=et({prop:"boxSizing"});Cc(i4,_h,s4,a4,l4,u4,c4);const Pc={border:{themeKey:"borders",transform:on},borderTop:{themeKey:"borders",transform:on},borderRight:{themeKey:"borders",transform:on},borderBottom:{themeKey:"borders",transform:on},borderLeft:{themeKey:"borders",transform:on},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:on},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Sc},color:{themeKey:"palette",transform:ai},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ai},backgroundColor:{themeKey:"palette",transform:ai},p:{style:Ue},pt:{style:Ue},pr:{style:Ue},pb:{style:Ue},pl:{style:Ue},px:{style:Ue},py:{style:Ue},padding:{style:Ue},paddingTop:{style:Ue},paddingRight:{style:Ue},paddingBottom:{style:Ue},paddingLeft:{style:Ue},paddingX:{style:Ue},paddingY:{style:Ue},paddingInline:{style:Ue},paddingInlineStart:{style:Ue},paddingInlineEnd:{style:Ue},paddingBlock:{style:Ue},paddingBlockStart:{style:Ue},paddingBlockEnd:{style:Ue},m:{style:We},mt:{style:We},mr:{style:We},mb:{style:We},ml:{style:We},mx:{style:We},my:{style:We},margin:{style:We},marginTop:{style:We},marginRight:{style:We},marginBottom:{style:We},marginLeft:{style:We},marginX:{style:We},marginY:{style:We},marginInline:{style:We},marginInlineStart:{style:We},marginInlineEnd:{style:We},marginBlock:{style:We},marginBlockStart:{style:We},marginBlockEnd:{style:We},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:wc},rowGap:{style:$c},columnGap:{style:kc},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:zt},maxWidth:{style:_h},minWidth:{transform:zt},height:{transform:zt},maxHeight:{transform:zt},minHeight:{transform:zt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function d4(...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 f4(e,t){return typeof e=="function"?e(t):e}function p4(){function e(n,r,o,i){const s={[n]:r,theme:o},a=i[n];if(!a)return{[n]:r};const{cssProperty:l=n,themeKey:u,transform:c,style:d}=a;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const f=bc(o,u)||{};return d?d(s):sr(s,r,h=>{let y=lu(f,c,h);return h===y&&typeof h=="string"&&(y=lu(f,c,`${n}${h==="default"?"":Dn(h)}`,h)),l===!1?y:{[l]:y}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const s=(r=i.unstable_sxConfig)!=null?r:Pc;function a(l){let u=l;if(typeof l=="function")u=l(i);else if(typeof l!="object")return l;if(!u)return null;const c=TA(i.breakpoints),d=Object.keys(c);let f=c;return Object.keys(u).forEach(m=>{const h=f4(u[m],i);if(h!=null)if(typeof h=="object")if(s[m])f=ws(f,e(m,h,i,s));else{const y=sr({theme:i},h,k=>({[m]:k}));d4(y,h)?f[m]=t({sx:h,theme:i}):f=ws(f,y)}else f=ws(f,e(m,h,i,s))}),EA(d,f)}return Array.isArray(o)?o.map(a):a(o)}return t}const Tc=p4();Tc.filterProps=["sx"];function _b(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const h4=["breakpoints","palette","spacing","shape"];function zh(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,s=Qe(e,h4),a=jb(n),l=Nb(o);let u=Xn({breakpoints:a,direction:"ltr",components:{},palette:N({mode:"light"},r),spacing:l,shape:N({},PA,i)},s);return u.applyStyles=_b,u=t.reduce((c,d)=>Xn(c,d),u),u.unstable_sxConfig=N({},Pc,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return Tc({sx:d,theme:this})},u}function m4(e){return Object.keys(e).length===0}function g4(e=null){const t=x.useContext(Ju);return!t||m4(t)?e:t}const v4=zh();function zb(e=v4){return g4(e)}const y4=["sx"],x4=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:Pc;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function b4(e){const{sx:t}=e,n=Qe(e,y4),{systemProps:r,otherProps:o}=x4(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...s)=>{const a=t(...s);return vr(a)?N({},r,a):r}:i=N({},r,t),N({},o,{sx:i})}const N0=e=>e,C4=()=>{let e=N0;return{configure(t){e=t},generate(t){return e(t)},reset(){e=N0}}},S4=C4(),w4={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 Vh(e,t,n="Mui"){const r=w4[t];return r?`${n}-${r}`:`${S4.generate(e)}-${t}`}function k4(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Vh(e,o,n)}),r}const $4=["ownerState"],P4=["variants"],T4=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function E4(e){return Object.keys(e).length===0}function R4(e){return typeof e=="string"&&e.charCodeAt(0)>96}function bd(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const A4=zh(),M4=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Qa({defaultTheme:e,theme:t,themeId:n}){return E4(t)?e:t[n]||t}function O4(e){return e?(t,n)=>n[e]:null}function vl(e,t){let{ownerState:n}=t,r=Qe(t,$4);const o=typeof e=="function"?e(N({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>vl(i,N({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let a=Qe(o,P4);return i.forEach(l=>{let u=!0;typeof l.props=="function"?u=l.props(N({ownerState:n},r,n)):Object.keys(l.props).forEach(c=>{(n==null?void 0:n[c])!==l.props[c]&&r[c]!==l.props[c]&&(u=!1)}),u&&(Array.isArray(a)||(a=[a]),a.push(typeof l.style=="function"?l.style(N({ownerState:n},r,n)):l.style))}),a}return o}function Vb(e={}){const{themeId:t,defaultTheme:n=A4,rootShouldForwardProp:r=bd,slotShouldForwardProp:o=bd}=e,i=s=>Tc(N({},s,{theme:Qa(N({},s,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(s,a={})=>{wA(s,w=>w.filter(P=>!(P!=null&&P.__mui_systemSx)));const{name:l,slot:u,skipVariantsResolver:c,skipSx:d,overridesResolver:f=O4(M4(u))}=a,m=Qe(a,T4),h=c!==void 0?c:u&&u!=="Root"&&u!=="root"||!1,y=d||!1;let k,g=bd;u==="Root"||u==="root"?g=r:u?g=o:R4(s)&&(g=void 0);const v=SA(s,N({shouldForwardProp:g,label:k},m)),p=w=>typeof w=="function"&&w.__emotion_real!==w||vr(w)?P=>vl(w,N({},P,{theme:Qa({theme:P.theme,defaultTheme:n,themeId:t})})):w,b=(w,...P)=>{let $=p(w);const T=P?P.map(p):[];l&&f&&T.push(A=>{const O=Qa(N({},A,{defaultTheme:n,themeId:t}));if(!O.components||!O.components[l]||!O.components[l].styleOverrides)return null;const D=O.components[l].styleOverrides,I={};return Object.entries(D).forEach(([_,j])=>{I[_]=vl(j,N({},A,{theme:O}))}),f(A,I)}),l&&!h&&T.push(A=>{var O;const D=Qa(N({},A,{defaultTheme:n,themeId:t})),I=D==null||(O=D.components)==null||(O=O[l])==null?void 0:O.variants;return vl({variants:I},N({},A,{theme:D}))}),y||T.push(i);const C=T.length-P.length;if(Array.isArray(w)&&C>0){const A=new Array(C).fill("");$=[...w,...A],$.raw=[...w.raw,...A]}const E=v($,...T);return s.muiName&&(E.muiName=s.muiName),E};return v.withConfig&&(b.withConfig=v.withConfig),b}}const I4=Vb();function Hb(e,t){const n=N({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=N({},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]=N({},i),Object.keys(o).forEach(s=>{n[r][s]=Hb(o[s],i[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function B4(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Hb(t.components[n].defaultProps,r)}function Wb({props:e,name:t,defaultTheme:n,themeId:r}){let o=zb(n);return r&&(o=o[r]||o),B4({theme:o,name:t,props:e})}function D4(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 Ub(e){if(e.type)return e;if(e.charAt(0)==="#")return Ub(D4(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(Yf(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(Yf(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const Ur=e=>{const t=Ub(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};function Gb(e,t){var n,r;return x.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 j4(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function L4(...e){return x.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{j4(n,t)})},e)}function F4(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,s)=>{if(s){const a=t(s);a!==""&&i.push(a),n&&n[s]&&i.push(n[s])}return i},[]).join(" ")}),r}function Hh(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 _0=(e,t,n,r=[])=>{let o=e;t.forEach((i,s)=>{s===t.length-1?Array.isArray(o)?o[Number(i)]=n:o&&typeof o=="object"&&(o[i]=n):o&&typeof o=="object"&&(o[i]||(o[i]=r.includes(i)?[]:{}),o=o[i])})},N4=(e,t,n)=>{function r(o,i=[],s=[]){Object.entries(o).forEach(([a,l])=>{(!n||n&&!n([...i,a]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?r(l,[...i,a],Array.isArray(l)?[...s,a]:s):t([...i,a],l,s))})}r(e)},_4=(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 Cd(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},s={};return N4(e,(a,l,u)=>{if((typeof l=="string"||typeof l=="number")&&(!r||!r(a,l))){const c=`--${n?`${n}-`:""}${a.join("-")}`;Object.assign(o,{[c]:_4(a,l)}),_0(i,a,`var(${c})`,u),_0(s,a,`var(${c}, ${l})`,u)}},a=>a[0]==="vars"),{css:o,vars:i,varsWithDefaults:s}}function Zs(e){"@babel/helpers - typeof";return Zs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zs(e)}function z4(e,t){if(Zs(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Zs(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function V4(e){var t=z4(e,"string");return Zs(t)=="symbol"?t:t+""}const H4=["colorSchemes","components","defaultColorScheme"];function W4(e,t){const{colorSchemes:n={},defaultColorScheme:r="light"}=e,o=Qe(e,H4),{vars:i,css:s,varsWithDefaults:a}=Cd(o,t);let l=a;const u={},{[r]:c}=n,d=Qe(n,[r].map(V4));if(Object.entries(d||{}).forEach(([m,h])=>{const{vars:y,css:k,varsWithDefaults:g}=Cd(h,t);l=Xn(l,g),u[m]={css:k,vars:y}}),c){const{css:m,vars:h,varsWithDefaults:y}=Cd(c,t);l=Xn(l,y),u[r]={css:m,vars:h}}return{vars:l,generateCssVars:m=>{var h;if(!m){var y;const g=N({},s);return{css:g,vars:i,selector:(t==null||(y=t.getSelector)==null?void 0:y.call(t,m,g))||":root"}}const k=N({},u[m].css);return{css:k,vars:u[m].vars,selector:(t==null||(h=t.getSelector)==null?void 0:h.call(t,m,k))||":root"}}}}const U4=(e,t)=>e.filter(n=>t.includes(n)),Ai=(e,t,n)=>{const r=e.keys[0];Array.isArray(t)?t.forEach((o,i)=>{n((s,a)=>{i<=e.keys.length-1&&(i===0?Object.assign(s,a):s[e.up(e.keys[i])]=a)},o)}):t&&typeof t=="object"?(Object.keys(t).length>e.keys.length?e.keys:U4(e.keys,Object.keys(t))).forEach(i=>{if(e.keys.indexOf(i)!==-1){const s=t[i];s!==void 0&&n((a,l)=>{r===i?Object.assign(a,l):a[e.up(i)]=l},s)}}):(typeof t=="number"||typeof t=="string")&&n((o,i)=>{Object.assign(o,i)},t)};function ar(e){return e?`Level${e}`:""}function ba(e){return e.unstable_level>0&&e.container}function Kb(e){return function(n){return`var(--Grid-${n}Spacing${ar(e.unstable_level)})`}}function Wh(e){return function(n){return e.unstable_level===0?`var(--Grid-${n}Spacing)`:`var(--Grid-${n}Spacing${ar(e.unstable_level-1)})`}}function Uh(e){return e.unstable_level===0?"var(--Grid-columns)":`var(--Grid-columns${ar(e.unstable_level-1)})`}const G4=({theme:e,ownerState:t})=>{const n=Kb(t),r={};return Ai(e.breakpoints,t.gridSize,(o,i)=>{let s={};i===!0&&(s={flexBasis:0,flexGrow:1,maxWidth:"100%"}),i==="auto"&&(s={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),typeof i=="number"&&(s={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${i} / ${Uh(t)}${ba(t)?` + ${n("column")}`:""})`}),o(r,s)}),r},K4=({theme:e,ownerState:t})=>{const n={};return Ai(e.breakpoints,t.gridOffset,(r,o)=>{let i={};o==="auto"&&(i={marginLeft:"auto"}),typeof o=="number"&&(i={marginLeft:o===0?"0px":`calc(100% * ${o} / ${Uh(t)})`}),r(n,i)}),n},Y4=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=ba(t)?{[`--Grid-columns${ar(t.unstable_level)}`]:Uh(t)}:{"--Grid-columns":12};return Ai(e.breakpoints,t.columns,(r,o)=>{r(n,{[`--Grid-columns${ar(t.unstable_level)}`]:o})}),n},X4=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Wh(t),r=ba(t)?{[`--Grid-rowSpacing${ar(t.unstable_level)}`]:n("row")}:{};return Ai(e.breakpoints,t.rowSpacing,(o,i)=>{var s;o(r,{[`--Grid-rowSpacing${ar(t.unstable_level)}`]:typeof i=="string"?i:(s=e.spacing)==null?void 0:s.call(e,i)})}),r},q4=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Wh(t),r=ba(t)?{[`--Grid-columnSpacing${ar(t.unstable_level)}`]:n("column")}:{};return Ai(e.breakpoints,t.columnSpacing,(o,i)=>{var s;o(r,{[`--Grid-columnSpacing${ar(t.unstable_level)}`]:typeof i=="string"?i:(s=e.spacing)==null?void 0:s.call(e,i)})}),r},Q4=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return Ai(e.breakpoints,t.direction,(r,o)=>{r(n,{flexDirection:o})}),n},Z4=({ownerState:e})=>{const t=Kb(e),n=Wh(e);return N({minWidth:0,boxSizing:"border-box"},e.container&&N({display:"flex",flexWrap:"wrap"},e.wrap&&e.wrap!=="wrap"&&{flexWrap:e.wrap},{margin:`calc(${t("row")} / -2) calc(${t("column")} / -2)`},e.disableEqualOverflow&&{margin:`calc(${t("row")} * -1) 0px 0px calc(${t("column")} * -1)`}),(!e.container||ba(e))&&N({padding:`calc(${n("row")} / 2) calc(${n("column")} / 2)`},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:`${n("row")} 0px 0px ${n("column")}`}))},J4=e=>{const t=[];return Object.entries(e).forEach(([n,r])=>{r!==!1&&r!==void 0&&t.push(`grid-${n}-${String(r)}`)}),t},eM=(e,t="xs")=>{function n(r){return r===void 0?!1:typeof r=="string"&&!Number.isNaN(Number(r))||typeof r=="number"&&r>0}if(n(e))return[`spacing-${t}-${String(e)}`];if(typeof e=="object"&&!Array.isArray(e)){const r=[];return Object.entries(e).forEach(([o,i])=>{n(i)&&r.push(`spacing-${o}-${String(i)}`)}),r}return[]},tM=e=>e===void 0?[]:typeof e=="object"?Object.entries(e).map(([t,n])=>`direction-${t}-${n}`):[`direction-xs-${String(e)}`],nM=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],rM=zh(),oM=I4("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function iM(e){return Wb({props:e,name:"MuiGrid",defaultTheme:rM})}function sM(e={}){const{createStyledComponent:t=oM,useThemeProps:n=iM,componentName:r="MuiGrid"}=e,o=x.createContext(void 0),i=(l,u)=>{const{container:c,direction:d,spacing:f,wrap:m,gridSize:h}=l,y={root:["root",c&&"container",m!=="wrap"&&`wrap-xs-${String(m)}`,...tM(d),...J4(h),...c?eM(f,u.breakpoints.keys[0]):[]]};return F4(y,k=>Vh(r,k),{})},s=t(Y4,q4,X4,G4,Q4,Z4,K4),a=x.forwardRef(function(u,c){var d,f,m,h,y,k,g,v;const p=zb(),b=n(u),w=b4(b),P=x.useContext(o),{className:$,children:T,columns:C=12,container:E=!1,component:A="div",direction:O="row",wrap:D="wrap",spacing:I=0,rowSpacing:_=I,columnSpacing:j=I,disableEqualOverflow:L,unstable_level:R=0}=w,B=Qe(w,nM);let W=L;R&&L!==void 0&&(W=u.disableEqualOverflow);const Z={},q={},re={};Object.entries(B).forEach(([z,X])=>{p.breakpoints.values[z]!==void 0?Z[z]=X:p.breakpoints.values[z.replace("Offset","")]!==void 0?q[z.replace("Offset","")]=X:re[z]=X});const te=(d=u.columns)!=null?d:R?void 0:C,pe=(f=u.spacing)!=null?f:R?void 0:I,he=(m=(h=u.rowSpacing)!=null?h:u.spacing)!=null?m:R?void 0:_,oe=(y=(k=u.columnSpacing)!=null?k:u.spacing)!=null?y:R?void 0:j,H=N({},w,{level:R,columns:te,container:E,direction:O,wrap:D,spacing:pe,rowSpacing:he,columnSpacing:oe,gridSize:Z,gridOffset:q,disableEqualOverflow:(g=(v=W)!=null?v:P)!=null?g:!1,parentDisableEqualOverflow:P}),Q=i(H,p);let U=S.jsx(s,N({ref:c,as:A,ownerState:H,className:Y(Q.root,$)},re,{children:x.Children.map(T,z=>{if(x.isValidElement(z)&&Gb(z,["Grid"])){var X;return x.cloneElement(z,{unstable_level:(X=z.props.unstable_level)!=null?X:R+1})}return z})}));return W!==void 0&&W!==(P??!1)&&(U=S.jsx(o.Provider,{value:W,children:U})),U});return a.muiName="Grid",a}const aM=N({},Pc,{borderRadius:{themeKey:"radius"},boxShadow:{themeKey:"shadow"},fontFamily:{themeKey:"fontFamily"},fontSize:{themeKey:"fontSize"},fontWeight:{themeKey:"fontWeight"},letterSpacing:{themeKey:"letterSpacing"},lineHeight:{themeKey:"lineHeight"}});function lM(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 Mi=(e,t)=>Vh(e,t,"Mui"),bo=(e,t)=>k4(e,t,"Mui"),uM=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))$/)}),z0=(e,t,n)=>{t.includes("Color")&&(e.color=n),t.includes("Bg")&&(e.backgroundColor=n),t.includes("Border")&&(e.borderColor=n)},V0=(e,t,n)=>{const r={};return Object.entries(t||{}).forEach(([o,i])=>{if(o.match(new RegExp(`${e}(color|bg|border)`,"i"))&&i){const s=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")),z0(r,o,s)}}),r},Ct=(e,t)=>{let n={};if(t){const{getCssVar:r,palette:o}=t;Object.entries(o).forEach(i=>{const[s,a]=i;uM(a)&&typeof a=="object"&&(n=N({},n,{[s]:V0(e,a,l=>`var(--variant-${l}, ${r(`palette-${s}-${l}`,o[s][l])})`)}))})}return n.context=V0(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},cM=["cssVarPrefix","breakpoints","spacing","components","variants","shouldSkipGeneratingVar"],dM=["colorSchemes"],fM=(e="joy")=>Hh(e);function pM(e){var t,n,r,o,i,s,a,l,u,c;const d={},{cssVarPrefix:f="joy",breakpoints:m,spacing:h,components:y,variants:k,shouldSkipGeneratingVar:g=lM}=d,v=Qe(d,cM),p=fM(f),b={primary:es.blue,neutral:es.grey,danger:es.red,success:es.green,warning:es.yellow,common:{white:"#FFF",black:"#000"}},w=H=>{var Q;const U=H.split("-"),z=U[1],X=U[2];return p(H,(Q=b[z])==null?void 0:Q[X])},P=H=>({plainColor:w(`palette-${H}-500`),plainHoverBg:w(`palette-${H}-100`),plainActiveBg:w(`palette-${H}-200`),plainDisabledColor:w("palette-neutral-400"),outlinedColor:w(`palette-${H}-500`),outlinedBorder:w(`palette-${H}-300`),outlinedHoverBg:w(`palette-${H}-100`),outlinedActiveBg:w(`palette-${H}-200`),outlinedDisabledColor:w("palette-neutral-400"),outlinedDisabledBorder:w("palette-neutral-200"),softColor:w(`palette-${H}-700`),softBg:w(`palette-${H}-100`),softHoverBg:w(`palette-${H}-200`),softActiveColor:w(`palette-${H}-800`),softActiveBg:w(`palette-${H}-300`),softDisabledColor:w("palette-neutral-400"),softDisabledBg:w("palette-neutral-50"),solidColor:w("palette-common-white"),solidBg:w(`palette-${H}-500`),solidHoverBg:w(`palette-${H}-600`),solidActiveBg:w(`palette-${H}-700`),solidDisabledColor:w("palette-neutral-400"),solidDisabledBg:w("palette-neutral-100")}),$=H=>({plainColor:w(`palette-${H}-300`),plainHoverBg:w(`palette-${H}-800`),plainActiveBg:w(`palette-${H}-700`),plainDisabledColor:w("palette-neutral-500"),outlinedColor:w(`palette-${H}-200`),outlinedBorder:w(`palette-${H}-700`),outlinedHoverBg:w(`palette-${H}-800`),outlinedActiveBg:w(`palette-${H}-700`),outlinedDisabledColor:w("palette-neutral-500"),outlinedDisabledBorder:w("palette-neutral-800"),softColor:w(`palette-${H}-200`),softBg:w(`palette-${H}-800`),softHoverBg:w(`palette-${H}-700`),softActiveColor:w(`palette-${H}-100`),softActiveBg:w(`palette-${H}-600`),softDisabledColor:w("palette-neutral-500"),softDisabledBg:w("palette-neutral-800"),solidColor:w("palette-common-white"),solidBg:w(`palette-${H}-500`),solidHoverBg:w(`palette-${H}-600`),solidActiveBg:w(`palette-${H}-700`),solidDisabledColor:w("palette-neutral-500"),solidDisabledBg:w("palette-neutral-800")}),T={palette:{mode:"light",primary:N({},b.primary,P("primary")),neutral:N({},b.neutral,P("neutral"),{plainColor:w("palette-neutral-700"),plainHoverColor:w("palette-neutral-900"),outlinedColor:w("palette-neutral-700")}),danger:N({},b.danger,P("danger")),success:N({},b.success,P("success")),warning:N({},b.warning,P("warning")),common:{white:"#FFF",black:"#000"},text:{primary:w("palette-neutral-800"),secondary:w("palette-neutral-700"),tertiary:w("palette-neutral-600"),icon:w("palette-neutral-500")},background:{body:w("palette-common-white"),surface:w("palette-neutral-50"),popup:w("palette-common-white"),level1:w("palette-neutral-100"),level2:w("palette-neutral-200"),level3:w("palette-neutral-300"),tooltip:w("palette-neutral-500"),backdrop:`rgba(${p("palette-neutral-darkChannel",Ur(b.neutral[900]))} / 0.25)`},divider:`rgba(${p("palette-neutral-mainChannel",Ur(b.neutral[500]))} / 0.2)`,focusVisible:w("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"21 21 21",shadowOpacity:"0.08"},C={palette:{mode:"dark",primary:N({},b.primary,$("primary")),neutral:N({},b.neutral,$("neutral"),{plainColor:w("palette-neutral-300"),plainHoverColor:w("palette-neutral-300")}),danger:N({},b.danger,$("danger")),success:N({},b.success,$("success")),warning:N({},b.warning,$("warning")),common:{white:"#FFF",black:"#000"},text:{primary:w("palette-neutral-100"),secondary:w("palette-neutral-300"),tertiary:w("palette-neutral-400"),icon:w("palette-neutral-400")},background:{body:w("palette-common-black"),surface:w("palette-neutral-900"),popup:w("palette-common-black"),level1:w("palette-neutral-800"),level2:w("palette-neutral-700"),level3:w("palette-neutral-600"),tooltip:w("palette-neutral-600"),backdrop:`rgba(${p("palette-neutral-darkChannel",Ur(b.neutral[50]))} / 0.25)`},divider:`rgba(${p("palette-neutral-mainChannel",Ur(b.neutral[500]))} / 0.16)`,focusVisible:w("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"',A=N({body:`"Inter", ${p(`fontFamily-fallback, ${E}`)}`,display:`"Inter", ${p(`fontFamily-fallback, ${E}`)}`,code:"Source Code Pro,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",fallback:E},v.fontFamily),O=N({sm:300,md:500,lg:600,xl:700},v.fontWeight),D=N({xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem",xl2:"1.5rem",xl3:"1.875rem",xl4:"2.25rem"},v.fontSize),I=N({xs:"1.33334",sm:"1.42858",md:"1.5",lg:"1.55556",xl:"1.66667"},v.lineHeight),_=(t=(n=v.colorSchemes)==null||(n=n.light)==null?void 0:n.shadowRing)!=null?t:T.shadowRing,j=(r=(o=v.colorSchemes)==null||(o=o.light)==null?void 0:o.shadowChannel)!=null?r:T.shadowChannel,L=(i=(s=v.colorSchemes)==null||(s=s.light)==null?void 0:s.shadowOpacity)!=null?i:T.shadowOpacity,R={colorSchemes:{light:T,dark:C},fontSize:D,fontFamily:A,fontWeight:O,focus:{thickness:"2px",selector:`&.${Mi("","focusVisible")}, &:focus-visible`,default:{outlineOffset:`var(--focus-outline-offset, ${p("focus-thickness",(a=(l=v.focus)==null?void 0:l.thickness)!=null?a:"2px")})`,outline:`${p("focus-thickness",(u=(c=v.focus)==null?void 0:c.thickness)!=null?u:"2px")} solid ${p("palette-focusVisible",b.primary[500])}`}},lineHeight:I,radius:{xs:"2px",sm:"6px",md:"8px",lg:"12px",xl:"16px"},shadow:{xs:`${p("shadowRing",_)}, 0px 1px 2px 0px rgba(${p("shadowChannel",j)} / ${p("shadowOpacity",L)})`,sm:`${p("shadowRing",_)}, 0px 1px 2px 0px rgba(${p("shadowChannel",j)} / ${p("shadowOpacity",L)}), 0px 2px 4px 0px rgba(${p("shadowChannel",j)} / ${p("shadowOpacity",L)})`,md:`${p("shadowRing",_)}, 0px 2px 8px -2px rgba(${p("shadowChannel",j)} / ${p("shadowOpacity",L)}), 0px 6px 12px -2px rgba(${p("shadowChannel",j)} / ${p("shadowOpacity",L)})`,lg:`${p("shadowRing",_)}, 0px 2px 8px -2px rgba(${p("shadowChannel",j)} / ${p("shadowOpacity",L)}), 0px 12px 16px -4px rgba(${p("shadowChannel",j)} / ${p("shadowOpacity",L)})`,xl:`${p("shadowRing",_)}, 0px 2px 8px -2px rgba(${p("shadowChannel",j)} / ${p("shadowOpacity",L)}), 0px 20px 24px -4px rgba(${p("shadowChannel",j)} / ${p("shadowOpacity",L)})`},zIndex:{badge:1,table:10,popup:1e3,modal:1300,snackbar:1400,tooltip:1500},typography:{h1:{fontFamily:p(`fontFamily-display, ${A.display}`),fontWeight:p(`fontWeight-xl, ${O.xl}`),fontSize:p(`fontSize-xl4, ${D.xl4}`),lineHeight:p(`lineHeight-xs, ${I.xs}`),letterSpacing:"-0.025em",color:p(`palette-text-primary, ${T.palette.text.primary}`)},h2:{fontFamily:p(`fontFamily-display, ${A.display}`),fontWeight:p(`fontWeight-xl, ${O.xl}`),fontSize:p(`fontSize-xl3, ${D.xl3}`),lineHeight:p(`lineHeight-xs, ${I.xs}`),letterSpacing:"-0.025em",color:p(`palette-text-primary, ${T.palette.text.primary}`)},h3:{fontFamily:p(`fontFamily-display, ${A.display}`),fontWeight:p(`fontWeight-lg, ${O.lg}`),fontSize:p(`fontSize-xl2, ${D.xl2}`),lineHeight:p(`lineHeight-xs, ${I.xs}`),letterSpacing:"-0.025em",color:p(`palette-text-primary, ${T.palette.text.primary}`)},h4:{fontFamily:p(`fontFamily-display, ${A.display}`),fontWeight:p(`fontWeight-lg, ${O.lg}`),fontSize:p(`fontSize-xl, ${D.xl}`),lineHeight:p(`lineHeight-md, ${I.md}`),letterSpacing:"-0.025em",color:p(`palette-text-primary, ${T.palette.text.primary}`)},"title-lg":{fontFamily:p(`fontFamily-body, ${A.body}`),fontWeight:p(`fontWeight-lg, ${O.lg}`),fontSize:p(`fontSize-lg, ${D.lg}`),lineHeight:p(`lineHeight-xs, ${I.xs}`),color:p(`palette-text-primary, ${T.palette.text.primary}`)},"title-md":{fontFamily:p(`fontFamily-body, ${A.body}`),fontWeight:p(`fontWeight-md, ${O.md}`),fontSize:p(`fontSize-md, ${D.md}`),lineHeight:p(`lineHeight-md, ${I.md}`),color:p(`palette-text-primary, ${T.palette.text.primary}`)},"title-sm":{fontFamily:p(`fontFamily-body, ${A.body}`),fontWeight:p(`fontWeight-md, ${O.md}`),fontSize:p(`fontSize-sm, ${D.sm}`),lineHeight:p(`lineHeight-sm, ${I.sm}`),color:p(`palette-text-primary, ${T.palette.text.primary}`)},"body-lg":{fontFamily:p(`fontFamily-body, ${A.body}`),fontSize:p(`fontSize-lg, ${D.lg}`),lineHeight:p(`lineHeight-md, ${I.md}`),color:p(`palette-text-secondary, ${T.palette.text.secondary}`)},"body-md":{fontFamily:p(`fontFamily-body, ${A.body}`),fontSize:p(`fontSize-md, ${D.md}`),lineHeight:p(`lineHeight-md, ${I.md}`),color:p(`palette-text-secondary, ${T.palette.text.secondary}`)},"body-sm":{fontFamily:p(`fontFamily-body, ${A.body}`),fontSize:p(`fontSize-sm, ${D.sm}`),lineHeight:p(`lineHeight-md, ${I.md}`),color:p(`palette-text-tertiary, ${T.palette.text.tertiary}`)},"body-xs":{fontFamily:p(`fontFamily-body, ${A.body}`),fontWeight:p(`fontWeight-md, ${O.md}`),fontSize:p(`fontSize-xs, ${D.xs}`),lineHeight:p(`lineHeight-md, ${I.md}`),color:p(`palette-text-tertiary, ${T.palette.text.tertiary}`)}}},B=v?Xn(R,v):R,{colorSchemes:W}=B,Z=Qe(B,dM),q=N({colorSchemes:W},Z,{breakpoints:jb(m??{}),components:Xn({MuiSvgIcon:{defaultProps:{fontSize:"xl2"},styleOverrides:{root:({ownerState:H,theme:Q})=>{var U;const z=H.instanceFontSize;return N({margin:"var(--Icon-margin)"},H.fontSize&&H.fontSize!=="inherit"&&{fontSize:`var(--Icon-fontSize, ${Q.vars.fontSize[H.fontSize]})`},!H.htmlColor&&N({color:`var(--Icon-color, ${q.vars.palette.text.icon})`},H.color&&H.color!=="inherit"&&Q.vars.palette[H.color]&&{color:`rgba(${(U=Q.vars.palette[H.color])==null?void 0:U.mainChannel} / 1)`}),z&&z!=="inherit"&&{"--Icon-fontSize":Q.vars.fontSize[z]})}}}},y),cssVarPrefix:f,getCssVar:p,spacing:Nb(h)});function re(H,Q){Object.keys(Q).forEach(U=>{const z={main:"500",light:"200",dark:"700"};H==="dark"&&(z.main=400),!Q[U].mainChannel&&Q[U][z.main]&&(Q[U].mainChannel=Ur(Q[U][z.main])),!Q[U].lightChannel&&Q[U][z.light]&&(Q[U].lightChannel=Ur(Q[U][z.light])),!Q[U].darkChannel&&Q[U][z.dark]&&(Q[U].darkChannel=Ur(Q[U][z.dark]))})}Object.entries(q.colorSchemes).forEach(([H,Q])=>{re(H,Q.palette)});const te={prefix:f,shouldSkipGeneratingVar:g},{vars:pe,generateCssVars:he}=W4(N({colorSchemes:W},Z),te);q.vars=pe,q.generateCssVars=he,q.unstable_sxConfig=N({},aM,void 0),q.unstable_sx=function(Q){return Tc({sx:Q,theme:this})},q.getColorSchemeSelector=H=>H==="light"?"&":`&[data-joy-color-scheme="${H}"], [data-joy-color-scheme="${H}"] &`;const oe={getCssVar:p,palette:q.colorSchemes.light.palette};return q.variants=Xn({plain:Ct("plain",oe),plainHover:Ct("plainHover",oe),plainActive:Ct("plainActive",oe),plainDisabled:Ct("plainDisabled",oe),outlined:Ct("outlined",oe),outlinedHover:Ct("outlinedHover",oe),outlinedActive:Ct("outlinedActive",oe),outlinedDisabled:Ct("outlinedDisabled",oe),soft:Ct("soft",oe),softHover:Ct("softHover",oe),softActive:Ct("softActive",oe),softDisabled:Ct("softDisabled",oe),solid:Ct("solid",oe),solidHover:Ct("solidHover",oe),solidActive:Ct("solidActive",oe),solidDisabled:Ct("solidDisabled",oe)},k),q.palette=N({},q.colorSchemes.light.palette,{colorScheme:"light"}),q.shouldSkipGeneratingVar=g,q.applyStyles=_b,q}const Yb=pM(),ur=Vb({defaultTheme:Yb,themeId:Bb});function Oi({props:e,name:t}){return Wb({props:e,name:t,defaultTheme:N({},Yb,{components:{}}),themeId:Bb})}function hM(e){return typeof e=="string"}function mM(e,t,n){return e===void 0||hM(e)?t:N({},t,{ownerState:N({},t.ownerState,n)})}function gM(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 vM(e,t,n){return typeof e=="function"?e(t,n):e}function Ca(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,s)=>{if(s){const a=t(s);a!==""&&i.push(a),n&&n[s]&&i.push(n[s])}return i},[]).join(" ")}),r}function H0(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function yM(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const m=Y(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),h=N({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),y=N({},n,o,r);return m.length>0&&(y.className=m),Object.keys(h).length>0&&(y.style=h),{props:y,internalRef:void 0}}const s=gM(N({},o,r)),a=H0(r),l=H0(o),u=t(s),c=Y(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),d=N({},u==null?void 0:u.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),f=N({},u,n,l,a);return c.length>0&&(f.className=c),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:u.ref}}const xM=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],bM=["component","slots","slotProps"],CM=["component"];function yi(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,getSlotOwnerState:s,internalForwardedProps:a}=t,l=Qe(t,xM),{component:u,slots:c={[e]:void 0},slotProps:d={[e]:void 0}}=i,f=Qe(i,bM),m=c[e]||r,h=vM(d[e],o),y=yM(N({className:n},l,{externalForwardedProps:e==="root"?f:void 0,externalSlotProps:h})),{props:{component:k},internalRef:g}=y,v=Qe(y.props,CM),p=L4(g,h==null?void 0:h.ref,t.ref),b=s?s(v):{},w=N({},o,b),P=e==="root"?k||u:k,$=mM(m,N({},e==="root"&&!u&&!c[e]&&a,e!=="root"&&!c[e]&&a,v,P&&{as:P},{ref:p}),w);return Object.keys(b).forEach(T=>{delete $[T]}),[m,$]}const SM=({theme:e,ownerState:t},n)=>{let r={};function o(i){if(typeof i=="function"){const s=i(e);o(s)}else Array.isArray(i)?i.forEach(s=>{typeof s!="boolean"&&o(s)}):typeof i=="object"&&(r=N({},r,i))}return t.sx&&(o(t.sx),n.forEach(i=>{const s=r[i];if(typeof s=="string"||typeof s=="number")if(i==="borderRadius")if(typeof s=="number")r[i]=`${s}px`;else{var a;r[i]=((a=e.vars)==null?void 0:a.radius[s])||s}else["p","padding","m","margin"].indexOf(i)!==-1&&typeof s=="number"?r[i]=e.spacing(s):r[i]=s;else typeof s=="function"?r[i]=s(e):r[i]=void 0})),r},Gh=e=>t=>`--${e?`${e}-`:""}${t.replace(/^--/,"")}`,uu="data-skip-inverted-colors",Xb=`& :not([${uu}], [${uu}] *)`,qb=e=>{var t,n,r,o,i,s,a,l,u,c,d,f,m,h,y,k,g,v,p,b,w,P;const $=Gh(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")]:{[$("--palette-focusVisible")]:`${(t=e.colorSchemes.light)==null?void 0:t.palette.focusVisible} !important`,[$("--palette-background-body")]:`${(n=e.colorSchemes.light)==null?void 0:n.palette.background.body} !important`,[$("--palette-background-surface")]:`${(r=e.colorSchemes.light)==null?void 0:r.palette.background.surface} !important`,[$("--palette-background-popup")]:`${(o=e.colorSchemes.light)==null?void 0:o.palette.background.popup} !important`,[$("--palette-background-level1")]:`${(i=e.colorSchemes.light)==null?void 0:i.palette.background.level1} !important`,[$("--palette-background-level2")]:`${(s=e.colorSchemes.light)==null?void 0:s.palette.background.level2} !important`,[$("--palette-background-level3")]:`${(a=e.colorSchemes.light)==null?void 0:a.palette.background.level3} !important`,[$("--palette-text-primary")]:`${(l=e.colorSchemes.light)==null?void 0:l.palette.text.primary} !important`,[$("--palette-text-secondary")]:`${(u=e.colorSchemes.light)==null?void 0:u.palette.text.secondary} !important`,[$("--palette-text-tertiary")]:`${(c=e.colorSchemes.light)==null?void 0:c.palette.text.tertiary} !important`,[$("--palette-divider")]:`${(d=e.colorSchemes.light)==null?void 0:d.palette.divider} !important`},[e.getColorSchemeSelector("dark")]:{[$("--palette-focusVisible")]:`${(f=e.colorSchemes.dark)==null?void 0:f.palette.focusVisible} !important`,[$("--palette-background-body")]:`${(m=e.colorSchemes.dark)==null?void 0:m.palette.background.body} !important`,[$("--palette-background-surface")]:`${(h=e.colorSchemes.dark)==null?void 0:h.palette.background.surface} !important`,[$("--palette-background-popup")]:`${(y=e.colorSchemes.dark)==null?void 0:y.palette.background.popup} !important`,[$("--palette-background-level1")]:`${(k=e.colorSchemes.dark)==null?void 0:k.palette.background.level1} !important`,[$("--palette-background-level2")]:`${(g=e.colorSchemes.dark)==null?void 0:g.palette.background.level2} !important`,[$("--palette-background-level3")]:`${(v=e.colorSchemes.dark)==null?void 0:v.palette.background.level3} !important`,[$("--palette-text-primary")]:`${(p=e.colorSchemes.dark)==null?void 0:p.palette.text.primary} !important`,[$("--palette-text-secondary")]:`${(b=e.colorSchemes.dark)==null?void 0:b.palette.text.secondary} !important`,[$("--palette-text-tertiary")]:`${(w=e.colorSchemes.dark)==null?void 0:w.palette.text.tertiary} !important`,[$("--palette-divider")]:`${(P=e.colorSchemes.dark)==null?void 0:P.palette.divider} !important`}}};function wM(e){return e.theme!==void 0}const kM=e=>t=>{const n=wM(t)?t.theme:t,r=Hh(n.cssVarPrefix),o=Gh(n.cssVarPrefix),i=s=>{const a=s.split("-");return r(s,n.palette[a[1]][a[2]])};return{[Xb]:{"--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)`}},[`&, & [${uu}]`]:qb(n)}},$M=e=>t=>{const{theme:n=t}=t,r=Hh(n.cssVarPrefix),o=Gh(n.cssVarPrefix),i=s=>{const a=s.split("-");return r(s,n.palette[a[1]][a[2]])};return{[Xb]:{"--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)`}},[`&, & [${uu}]`]:qb(n)}};function PM(e){return Mi("MuiAspectRatio",e)}bo("MuiAspectRatio",["root","content","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);const TM=["children","ratio","minHeight","maxHeight","objectFit","color","variant","component","flex","slots","slotProps"],EM=e=>{const{variant:t,color:n}=e,r={root:["root"],content:["content",t&&`variant${Dn(t)}`,n&&`color${Dn(n)}`]};return Ca(r,PM,{})},RM=ur("div",{name:"JoyAspectRatio",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e,theme:t})=>{const n=typeof e.minHeight=="number"?`${e.minHeight}px`:e.minHeight,r=typeof e.maxHeight=="number"?`${e.maxHeight}px`:e.maxHeight;return{"--AspectRatio-paddingBottom":`clamp(var(--AspectRatio-minHeight), calc(100% / (${e.ratio})), var(--AspectRatio-maxHeight))`,"--AspectRatio-maxHeight":r||"9999px","--AspectRatio-minHeight":n||"0px","--Icon-color":e.color!=="neutral"||e.variant==="solid"?"currentColor":t.vars.palette.text.icon,borderRadius:"var(--AspectRatio-radius)",display:e.flex?"flex":"block",flex:e.flex?1:"initial",flexDirection:"column",margin:"var(--AspectRatio-margin)"}}),AM=ur("div",{name:"JoyAspectRatio",slot:"Content",overridesResolver:(e,t)=>t.content})(({theme:e,ownerState:t})=>{var n;return N({flex:1,position:"relative",borderRadius:"inherit",height:0,paddingBottom:"calc(var(--AspectRatio-paddingBottom) - 2 * var(--variant-borderWidth, 0px))",overflow:"hidden",transition:"inherit","& [data-first-child]":{display:"flex",justifyContent:"center",alignItems:"center",boxSizing:"border-box",position:"absolute",width:"100%",height:"100%",objectFit:t.objectFit,margin:0,padding:0,"& > img":{width:"100%",height:"100%",objectFit:t.objectFit}}},e.typography["body-md"],(n=e.variants[t.variant])==null?void 0:n[t.color])}),Xf=x.forwardRef(function(t,n){const r=Oi({props:t,name:"JoyAspectRatio"}),{children:o,ratio:i="16 / 9",minHeight:s,maxHeight:a,objectFit:l="cover",color:u="neutral",variant:c="soft",component:d,flex:f=!1,slots:m={},slotProps:h={}}=r,y=Qe(r,TM),k=N({},r,{flex:f,minHeight:s,maxHeight:a,objectFit:l,ratio:i,color:u,variant:c}),g=EM(k),v=N({},y,{component:d,slots:m,slotProps:h}),[p,b]=yi("root",{ref:n,className:g.root,elementType:RM,externalForwardedProps:v,ownerState:k}),[w,P]=yi("content",{className:g.content,elementType:AM,externalForwardedProps:v,ownerState:k});return S.jsx(p,N({},b,{children:S.jsx(w,N({},P,{children:x.Children.map(o,($,T)=>T===0&&x.isValidElement($)?x.cloneElement($,{"data-first-child":""}):$)}))}))}),W0=bo("MuiButton",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg","fullWidth","startDecorator","endDecorator","loading","loadingIndicatorCenter"]);function MM(e){return Mi("MuiCard",e)}const OM=bo("MuiCard",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","horizontal","vertical"]),Mo=OM,IM=["className","color","component","invertedColors","size","variant","children","orientation","slots","slotProps"],BM=e=>{const{size:t,variant:n,color:r,orientation:o}=e,i={root:["root",o,n&&`variant${Dn(n)}`,r&&`color${Dn(r)}`,t&&`size${Dn(t)}`]};return Ca(i,MM,{})},DM=ur("div")(({theme:e,ownerState:t})=>{var n;const{p:r,padding:o,borderRadius:i}=SM({theme:e,ownerState:t},["p","padding","borderRadius"]);return[N({"--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&&kM(t.color)(e),t.variant==="soft"&&t.color&&t.invertedColors&&$M(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}]}),jM=ur(DM,{name:"JoyCard",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Qb=x.forwardRef(function(t,n){const r=Oi({props:t,name:"JoyCard"}),{className:o,color:i="neutral",component:s="div",invertedColors:a=!1,size:l="md",variant:u="outlined",children:c,orientation:d="vertical",slots:f={},slotProps:m={}}=r,h=Qe(r,IM),y=N({},r,{color:i,component:s,orientation:d,size:l,variant:u,invertedColors:a}),k=BM(y),g=N({},h,{component:s,slots:f,slotProps:m}),[v,p]=yi("root",{ref:n,className:Y(k.root,o),elementType:jM,externalForwardedProps:g,ownerState:y});return S.jsx(v,N({},p,{children:x.Children.map(c,(b,w)=>{if(!x.isValidElement(b))return b;const P={};if(Gb(b,["Divider"])){P.inset="inset"in b.props?b.props.inset:"context";const $=d==="vertical"?"horizontal":"vertical";P.orientation="orientation"in b.props?b.props.orientation:$}return w===0&&(P["data-first-child"]=""),w===x.Children.count(c)-1&&(P["data-last-child"]=""),x.cloneElement(b,P)})}))});function LM(e){return Mi("MuiCardOverflow",e)}const FM=bo("MuiCardOverflow",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);function NM(e){return Mi("MuiDivider",e)}bo("MuiDivider",["root","horizontal","vertical","insetContext","insetNone"]);function _M(e){return Mi("MuiCardContent",e)}bo("MuiCardContent",["root"]);const zM=["className","component","children","orientation","slots","slotProps"],VM=()=>Ca({root:["root"]},_M,{}),HM=ur("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)",[`.${FM.root} > &`]:{"--unstable_padding":"calc(var(--Card-padding) * 0.75) 0px"}})),WM=ur(HM,{name:"JoyCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({}),U0=x.forwardRef(function(t,n){const r=Oi({props:t,name:"JoyCardContent"}),{className:o,component:i="div",children:s,orientation:a="vertical",slots:l={},slotProps:u={}}=r,c=Qe(r,zM),d=N({},c,{component:i,slots:l,slotProps:u}),f=N({},r,{component:i,orientation:a}),m=VM(),[h,y]=yi("root",{ref:n,className:Y(m.root,o),elementType:WM,externalForwardedProps:d,ownerState:f});return S.jsx(h,N({},y,{children:s}))}),UM=bo("MuiModalDialog",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","layoutCenter","layoutFullscreen"]),GM=["className","component","children","color","variant","slots","slotProps"],KM=e=>{const{variant:t,color:n}=e,r={root:["root",t&&`variant${Dn(t)}`,n&&`color${Dn(n)}`]};return Ca(r,LM,{})},YM=ur("div",{name:"JoyCardOverflow",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var n;const r="calc(var(--CardOverflow-radius) - var(--variant-borderWidth, 0px))";return N({alignSelf:"stretch",position:"relative",display:"flex",flexDirection:"var(--_CardOverflow-flexDirection)",margin:"var(--_CardOverflow-margin)",borderRadius:"var(--_CardOverflow-radius)",padding:"var(--_CardOverflow-padding)",[`.${Mo.vertical} &, .${Mo.horizontal} .${Mo.vertical} &, .${UM.root} &`]:{"--_CardOverflow-flexDirection":"column","--AspectRatio-margin":"0 calc(-1 * var(--Card-padding))","--_CardOverflow-margin":"0 var(--CardOverflow-offset)","--_CardOverflow-padding":"0 var(--Card-padding)","&[data-first-child]":{"--AspectRatio-radius":`${r} ${r} 0 0`,"--_CardOverflow-radius":"var(--CardOverflow-radius) var(--CardOverflow-radius) 0 0","--_CardOverflow-margin":"var(--CardOverflow-offset) var(--CardOverflow-offset) 0"},"&[data-last-child]":{"--AspectRatio-radius":`0 0 ${r} ${r}`,"--_CardOverflow-radius":"0 0 var(--CardOverflow-radius) var(--CardOverflow-radius)","--_CardOverflow-margin":"0 var(--CardOverflow-offset) var(--CardOverflow-offset)"},"&[data-last-child][data-first-child]":{"--AspectRatio-radius":r,"--_CardOverflow-margin":"var(--CardOverflow-offset)"},[`& > .${W0.root}:only-child`]:{zIndex:1,width:"calc(100% + -2 * var(--CardOverflow-offset))","--Button-margin":"0 var(--CardOverflow-offset)","--Button-radius":"0 0 var(--CardOverflow-radius) var(--CardOverflow-radius)"}},[`.${Mo.horizontal} &, .${Mo.vertical} .${Mo.horizontal} &`]:{"--_CardOverflow-flexDirection":"row","--AspectRatio-margin":"calc(-1 * var(--Card-padding)) 0px","--_CardOverflow-margin":"var(--CardOverflow-offset) 0px","--_CardOverflow-padding":"var(--Card-padding) 0px","&[data-first-child]":{"--AspectRatio-radius":`${r} 0 0 ${r}`,"--_CardOverflow-radius":"var(--CardOverflow-radius) 0 0 var(--CardOverflow-radius)","--_CardOverflow-margin":"var(--CardOverflow-offset) 0px var(--CardOverflow-offset) var(--CardOverflow-offset)"},"&[data-last-child]":{"--AspectRatio-radius":`0 ${r} ${r} 0`,"--_CardOverflow-radius":"0 var(--CardOverflow-radius) var(--CardOverflow-radius) 0","--_CardOverflow-margin":"var(--CardOverflow-offset) var(--CardOverflow-offset) var(--CardOverflow-offset) 0px"},"&[data-last-child][data-first-child]":{"--AspectRatio-radius":r,"--_CardOverflow-margin":"var(--CardOverflow-offset)"},[`& > .${W0.root}:only-child`]:{height:"calc(100% + -2 * var(--CardOverflow-offset))","--Button-margin":"var(--CardOverflow-offset) 0","--Button-radius":"0 var(--CardOverflow-radius) var(--CardOverflow-radius) 0"}}},(n=e.variants[t.variant])==null?void 0:n[t.color])}),yl=x.forwardRef(function(t,n){const r=Oi({props:t,name:"JoyCardOverflow"}),{className:o,component:i="div",children:s,color:a="neutral",variant:l="plain",slots:u={},slotProps:c={}}=r,d=Qe(r,GM),f=N({},r,{component:i,color:a,variant:l}),m=KM(f),h=N({},d,{component:i,slots:u,slotProps:c}),[y,k]=yi("root",{ref:n,className:Y(m.root,o),elementType:YM,externalForwardedProps:h,ownerState:f});return S.jsx(y,N({},k,{children:s}))});yl.muiName="CardOverflow";const XM=["className","children","component","inset","orientation","role","slots","slotProps"],qM=e=>{const{orientation:t,inset:n}=e,r={root:["root",t,n&&`inset${Dn(n)}`]};return Ca(r,NM,{})},QM=ur("hr",{name:"JoyDivider",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>N({"--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?N({"--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)"})),Zb=x.forwardRef(function(t,n){const r=Oi({props:t,name:"JoyDivider"}),{className:o,children:i,component:s=i!=null?"div":"hr",inset:a,orientation:l="horizontal",role:u=s!=="hr"?"separator":void 0,slots:c={},slotProps:d={}}=r,f=Qe(r,XM),m=N({},r,{inset:a,role:u,orientation:l,component:s}),h=qM(m),y=N({},f,{component:s,slots:c,slotProps:d}),[k,g]=yi("root",{ref:n,className:Y(h.root,o),elementType:QM,externalForwardedProps:y,ownerState:m,additionalProps:N({as:s,role:u},u==="separator"&&l==="vertical"&&{"aria-orientation":"vertical"})});return S.jsx(k,N({},g,{children:i}))});Zb.muiName="Divider";const gt=sM({createStyledComponent:ur("div",{name:"JoyGrid",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>Oi({props:e,name:"JoyGrid"})}),Kh=[{Id:"1",name:"Taichung Beauty",rating:5,isSpecial:!0,image:"https://barritaorchids.com/cdn/shop/products/Cf592_1024x1024.jpg",color:"pink",origin:"Taiwan",category:"Cattleya",detail:"A striking orchid with large, vibrant pink flowers. Native to Taiwan, the Taichung Beauty is highly valued for its bold colors and long-lasting blooms. It is commonly cultivated for decorative purposes."},{Id:"2",name:"Phalaenopsis Elegance",rating:4,isSpecial:!0,image:"https://images.unsplash.com/photo-1639374593182-88b49b80a688?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8UGhhbGFlbm9wc2lzJTIwRWxlZ2FuY2V8ZW58MHx8MHx8fDA%3D",color:"white",origin:"Thailand",category:"Phalaenopsis",detail:"This elegant orchid is admired for its pure white petals and graceful appearance. Originating from Thailand, the Phalaenopsis Elegance is widely known as the 'Moth Orchid' due to its petal shape and is commonly grown in households."},{Id:"3",name:"Vanda Blue Charm",rating:5,isSpecial:!1,image:"https://plus.unsplash.com/premium_photo-1666855258034-8d2c36091ec1?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"blue",origin:"Philippines",category:"Vanda",detail:"Known for its rare and vibrant blue color, the Vanda Blue Charm is an exotic orchid native to the Philippines. Its large, stunning flowers make it a highly sought-after plant in orchid collections worldwide."},{Id:"4",name:"Dendrobium Noble",rating:3,isSpecial:!1,image:"https://www.gardentags.com/plant-encyclopedia/images/2703/dendrobium-nobile.jpeg",color:"purple",origin:"Vietnam",category:"Dendrobium",detail:"With its compact size and beautiful purple blooms, the Dendrobium Noble is a versatile orchid perfect for both indoor and outdoor environments. It thrives in warm, tropical climates and is widely grown in Vietnam."},{Id:"5",name:"Cymbidium Green Glow",rating:4,isSpecial:!0,image:"https://plus.unsplash.com/premium_photo-1689643577385-57af0aba150e?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"green",origin:"China",category:"Cymbidium",detail:"This unique orchid stands out with its fresh green color. Known for its hardiness, the Cymbidium Green Glow originates from China and is often used in floral arrangements due to its long-lasting nature and elegant presence."},{Id:"6",name:"Oncidium Shining Star",rating:5,isSpecial:!0,image:"https://plus.unsplash.com/premium_photo-1674343963928-d67007d2ae74?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"yellow",origin:"Brazil",category:"Oncidium",detail:"With bright yellow flowers, the Oncidium Shining Star is known for its cheerful appearance. Native to Brazil, this orchid is easy to care for and is commonly used in decorative displays, making it a favorite among gardeners."},{Id:"7",name:"Paphiopedilum Venus",rating:4,isSpecial:!1,image:"https://images.unsplash.com/photo-1516477266610-9e4c763da721?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"red",origin:"India",category:"Paphiopedilum",detail:"Often referred to as the 'Lady Slipper Orchid', Paphiopedilum Venus is notable for its unique pouch-shaped petals. Originating from India, it is loved for its striking red flowers and is a prized addition to many collections."},{Id:"8",name:"Cattleya Golden Sunset",rating:5,isSpecial:!0,image:"https://plus.unsplash.com/premium_photo-1726192307773-cb64923bdc63?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"orange",origin:"Colombia",category:"Cattleya",detail:"The Cattleya Golden Sunset is admired for its bright orange flowers that evoke the beauty of a tropical sunset. Originating from Colombia, this orchid is often associated with warmth and happiness, making it a popular decorative plant."},{Id:"9",name:"Zygopetalum Tropical Beauty",rating:3,isSpecial:!1,image:"https://plus.unsplash.com/premium_photo-1681276170873-c6071233076e?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"brown",origin:"Costa Rica",category:"Zygopetalum",detail:"Known for its distinct brown and purple blooms, the Zygopetalum Tropical Beauty is native to Costa Rica. This orchid thrives in humid environments and is popular for its exotic appearance and delightful fragrance."},{Id:"10",name:"Maxillaria Coconut Delight",rating:4,isSpecial:!1,image:"https://images.unsplash.com/photo-1454262041357-5d96f50a2f27?q=80&w=1169&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"white",origin:"Mexico",category:"Maxillaria",detail:"Emitting a sweet coconut scent, the Maxillaria Coconut Delight is loved by orchid enthusiasts for its fragrance and delicate white blooms. Native to Mexico, this orchid brings a tropical essence to any setting."},{Id:"11",name:"Brassia Spider Star",rating:5,isSpecial:!0,image:"https://plus.unsplash.com/premium_photo-1663962390315-0825787f07a8?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"green",origin:"Ecuador",category:"Brassia",detail:"Known as the 'Spider Orchid' for its long, spindly petals, the Brassia Spider Star has a unique and captivating appearance. Originating from Ecuador, it is a favorite among collectors for its striking structure and greenish hues."},{Id:"12",name:"Laelia Pink Paradise",rating:4,isSpecial:!1,image:"https://littleorchidannie.com/cdn/shop/files/Ctly._Spring_Fragrance_flower__75160.jpg?v=1714437883&width=533",color:"pink",origin:"Mexico",category:"Laelia",detail:"With soft pink petals and a subtle fragrance, the Laelia Pink Paradise is a native of Mexico. It symbolizes love and beauty, often used in romantic bouquets."},{Id:"13",name:"Bulbophyllum Medusae",rating:5,isSpecial:!0,image:"https://www.laforestaorchids.com/cdn/shop/files/bulbophyllum-medusae-bulbophyllum-la-foresta-orchids-295241.jpg?v=1701390801",color:"white",origin:"Malaysia",category:"Bulbophyllum",detail:"An unusual and exotic orchid, the Bulbophyllum Medusae has long, tendril-like petals resembling the mythical Medusa. Native to Malaysia, it is favored by collectors for its bizarre yet fascinating appearance."},{Id:"14",name:"Coelogyne Cristata",rating:4,isSpecial:!1,image:"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqs0jSeBbqz4JXop6kfH-v1SADXUDoKmmQYJVbKRo2Yg-3p4dvSidePWrU70J0A-embOKQLxGsae5d9QhH_QUYg0Cc0Hw4Ud14aQma5nJyN3jEYaQw-pTZtttCoMlGWsrXj2yd3Z5VseE/s1600/1024px-Coelogyne_cristata_3.jpg",color:"white",origin:"Himalayas",category:"Coelogyne",detail:"With pristine white blooms, Coelogyne Cristata is often associated with purity and serenity. Originating from the Himalayan region, it thrives in cool climates and is popular for its cascading flowers."},{Id:"15",name:"Miltonia Sunset",rating:3,isSpecial:!1,image:"https://tropicalorchidsportugal.com/wp-content/uploads/2024/03/miltonia-sunset-02-1-1-1.png",color:"pink",origin:"Brazil",category:"Miltonia",detail:"Miltonia Sunset boasts vibrant pink flowers with a golden center, resembling a tropical sunset. Native to Brazil, this orchid is loved for its beauty and is often grown in warm, humid environments."},{Id:"16",name:"Phragmipedium Scarlet Flame",rating:5,isSpecial:!0,image:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTnzBaj1vWww3IbBvo2SVVHEkSrNzpGhl2fJg&s",color:"red",origin:"Peru",category:"Phragmipedium",detail:"A captivating orchid with fiery red flowers, the Phragmipedium Scarlet Flame is a rare beauty from Peru. Its striking color and exotic appearance make it highly desired by collectors."}];function ZM({orchid:e}){const[t,n]=x.useState(!1),[r,o]=x.useState(null);return{isVisible:t,detail:r,showModal:a=>{o(a),n(!0)},hideModal:()=>n(!1)}}const Yh=Je(S.jsx("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7m0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5"}),"LocationOn"),Jb=Je([S.jsx("path",{d:"m12 2-5.5 9h11z"},"0"),S.jsx("circle",{cx:"17.5",cy:"17.5",r:"4.5"},"1"),S.jsx("path",{d:"M3 13.5h8v8H3z"},"2")],"Category");function JM(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...r)=>e(...r);return new Proxy(n,{get:(r,o)=>o==="create"?e:(t.has(o)||t.set(o,e(o)),t.get(o))})}function Js(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const qf=e=>Array.isArray(e);function eC(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Xh(e,t,n,r){if(typeof t=="function"){const[o,i]=G0(r);t=t(n!==void 0?n:e.custom,o,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[o,i]=G0(r);t=t(n!==void 0?n:e.custom,o,i)}return t}function Ec(e,t,n){const r=e.getProps();return Xh(r,t,n!==void 0?n:r.custom,e)}const qh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Qh=["initial",...qh],Sa=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],zr=new Set(Sa),qn=e=>e*1e3,Qn=e=>e/1e3,eO={type:"spring",stiffness:500,damping:25,restSpeed:10},tO=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),nO={type:"keyframes",duration:.8},rO={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},oO=(e,{keyframes:t})=>t.length>2?nO:zr.has(e)?e.startsWith("scale")?tO(t[1]):eO:rO;function Zh(e,t){return e[t]||e.default||e}const iO={skipAnimations:!1,useManualTiming:!1},sO=e=>e!==null;function Rc(e,{repeat:t,repeatType:n="loop"},r){const o=e.filter(sO),i=t&&n!=="loop"&&t%2===1?0:o.length-1;return!i||r===void 0?o[i]:r}const Tt=e=>e;function aO(e){let t=new Set,n=new Set,r=!1,o=!1;const i=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function a(u){i.has(u)&&(l.schedule(u),e()),u(s)}const l={schedule:(u,c=!1,d=!1)=>{const m=d&&r?t:n;return c&&i.add(u),m.has(u)||m.add(u),u},cancel:u=>{n.delete(u),i.delete(u)},process:u=>{if(s=u,r){o=!0;return}r=!0,[t,n]=[n,t],n.clear(),t.forEach(a),r=!1,o&&(o=!1,l.process(u))}};return l}const Za=["read","resolveKeyframes","update","preRender","render","postRender"],lO=40;function tC(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,s=Za.reduce((g,v)=>(g[v]=aO(i),g),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:d,postRender:f}=s,m=()=>{const g=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(g-o.timestamp,lO),1),o.timestamp=g,o.isProcessing=!0,a.process(o),l.process(o),u.process(o),c.process(o),d.process(o),f.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(m))},h=()=>{n=!0,r=!0,o.isProcessing||e(m)};return{schedule:Za.reduce((g,v)=>{const p=s[v];return g[v]=(b,w=!1,P=!1)=>(n||h(),p.schedule(b,w,P)),g},{}),cancel:g=>{for(let v=0;v(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,uO=1e-7,cO=12;function dO(e,t,n,r,o){let i,s,a=0;do s=t+(n-t)/2,i=nC(s,r,o)-e,i>0?n=s:t=s;while(Math.abs(i)>uO&&++adO(i,0,1,e,n);return i=>i===0||i===1?i:nC(o(i),t,r)}const rC=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,oC=e=>t=>1-e(1-t),iC=wa(.33,1.53,.69,.99),Jh=oC(iC),sC=rC(Jh),aC=e=>(e*=2)<1?.5*Jh(e):.5*(2-Math.pow(2,-10*(e-1))),em=e=>1-Math.sin(Math.acos(e)),lC=oC(em),uC=rC(em),cC=e=>/^0[^.\s]+$/u.test(e);function fO(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||cC(e):!0}let Qf=Tt;const dC=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),fC=e=>t=>typeof t=="string"&&t.startsWith(e),pC=fC("--"),pO=fC("var(--"),tm=e=>pO(e)?hO.test(e.split("/*")[0].trim()):!1,hO=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,mO=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function gO(e){const t=mO.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}function hC(e,t,n=1){const[r,o]=gO(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const s=i.trim();return dC(s)?parseFloat(s):s}return tm(o)?hC(o,t,n+1):o}const Dr=(e,t,n)=>n>t?t:ntypeof e=="number",parse:parseFloat,transform:e=>e},ta={...Ii,transform:e=>Dr(0,1,e)},Ja={...Ii,default:1},ka=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),fr=ka("deg"),jn=ka("%"),ee=ka("px"),vO=ka("vh"),yO=ka("vw"),K0={...jn,parse:e=>jn.parse(e)/100,transform:e=>jn.transform(e*100)},xO=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Y0=e=>e===Ii||e===ee,X0=(e,t)=>parseFloat(e.split(", ")[t]),q0=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/u);if(o)return X0(o[1],t);{const i=r.match(/^matrix\((.+)\)$/u);return i?X0(i[1],e):0}},bO=new Set(["x","y","z"]),CO=Sa.filter(e=>!bO.has(e));function SO(e){const t=[];return CO.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const xi={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:q0(4,13),y:q0(5,14)};xi.translateX=xi.x;xi.translateY=xi.y;const mC=e=>t=>t.test(e),wO={test:e=>e==="auto",parse:e=>e},gC=[Ii,ee,jn,fr,yO,vO,wO],Q0=e=>gC.find(mC(e)),ao=new Set;let Zf=!1,Jf=!1;function vC(){if(Jf){const e=Array.from(ao).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const o=SO(r);o.length&&(n.set(r,o),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const o=n.get(r);o&&o.forEach(([i,s])=>{var a;(a=r.getValue(i))===null||a===void 0||a.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Jf=!1,Zf=!1,ao.forEach(e=>e.complete()),ao.clear()}function yC(){ao.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Jf=!0)})}function kO(){yC(),vC()}class nm{constructor(t,n,r,o,i,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=o,this.element=i,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(ao.add(this),Zf||(Zf=!0,we.read(yC),we.resolveKeyframes(vC))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:o}=this;for(let i=0;iMath.round(e*1e5)/1e5,rm=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function $O(e){return e==null}const PO=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,om=(e,t)=>n=>!!(typeof n=="string"&&PO.test(n)&&n.startsWith(e)||t&&!$O(n)&&Object.prototype.hasOwnProperty.call(n,t)),xC=(e,t,n)=>r=>{if(typeof r!="string")return r;const[o,i,s,a]=r.match(rm);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},TO=e=>Dr(0,255,e),wd={...Ii,transform:e=>Math.round(TO(e))},ro={test:om("rgb","red"),parse:xC("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+wd.transform(e)+", "+wd.transform(t)+", "+wd.transform(n)+", "+ks(ta.transform(r))+")"};function EO(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const ep={test:om("#"),parse:EO,transform:ro.transform},Yo={test:om("hsl","hue"),parse:xC("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+jn.transform(ks(t))+", "+jn.transform(ks(n))+", "+ks(ta.transform(r))+")"},wt={test:e=>ro.test(e)||ep.test(e)||Yo.test(e),parse:e=>ro.test(e)?ro.parse(e):Yo.test(e)?Yo.parse(e):ep.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?ro.transform(e):Yo.transform(e)},RO=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function AO(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(rm))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(RO))===null||n===void 0?void 0:n.length)||0)>0}const bC="number",CC="color",MO="var",OO="var(",Z0="${}",IO=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function na(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let i=0;const a=t.replace(IO,l=>(wt.test(l)?(r.color.push(i),o.push(CC),n.push(wt.parse(l))):l.startsWith(OO)?(r.var.push(i),o.push(MO),n.push(l)):(r.number.push(i),o.push(bC),n.push(parseFloat(l))),++i,Z0)).split(Z0);return{values:n,split:a,indexes:r,types:o}}function SC(e){return na(e).values}function wC(e){const{split:t,types:n}=na(e),r=t.length;return o=>{let i="";for(let s=0;stypeof e=="number"?0:e;function DO(e){const t=SC(e);return wC(e)(t.map(BO))}const jr={test:AO,parse:SC,createTransformer:wC,getAnimatableNone:DO},jO=new Set(["brightness","contrast","saturate","opacity"]);function LO(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(rm)||[];if(!r)return e;const o=n.replace(r,"");let i=jO.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const FO=/\b([a-z-]*)\(.*?\)/gu,tp={...jr,getAnimatableNone:e=>{const t=e.match(FO);return t?t.map(LO).join(" "):e}},NO={borderWidth:ee,borderTopWidth:ee,borderRightWidth:ee,borderBottomWidth:ee,borderLeftWidth:ee,borderRadius:ee,radius:ee,borderTopLeftRadius:ee,borderTopRightRadius:ee,borderBottomRightRadius:ee,borderBottomLeftRadius:ee,width:ee,maxWidth:ee,height:ee,maxHeight:ee,top:ee,right:ee,bottom:ee,left:ee,padding:ee,paddingTop:ee,paddingRight:ee,paddingBottom:ee,paddingLeft:ee,margin:ee,marginTop:ee,marginRight:ee,marginBottom:ee,marginLeft:ee,backgroundPositionX:ee,backgroundPositionY:ee},_O={rotate:fr,rotateX:fr,rotateY:fr,rotateZ:fr,scale:Ja,scaleX:Ja,scaleY:Ja,scaleZ:Ja,skew:fr,skewX:fr,skewY:fr,distance:ee,translateX:ee,translateY:ee,translateZ:ee,x:ee,y:ee,z:ee,perspective:ee,transformPerspective:ee,opacity:ta,originX:K0,originY:K0,originZ:ee},J0={...Ii,transform:Math.round},im={...NO,..._O,zIndex:J0,size:ee,fillOpacity:ta,strokeOpacity:ta,numOctaves:J0},zO={...im,color:wt,backgroundColor:wt,outlineColor:wt,fill:wt,stroke:wt,borderColor:wt,borderTopColor:wt,borderRightColor:wt,borderBottomColor:wt,borderLeftColor:wt,filter:tp,WebkitFilter:tp},sm=e=>zO[e];function kC(e,t){let n=sm(e);return n!==tp&&(n=jr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const VO=new Set(["auto","none","0"]);function HO(e,t,n){let r=0,o;for(;r{n.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function am(e){return typeof e=="function"}let xl;function WO(){xl=void 0}const Ln={now:()=>(xl===void 0&&Ln.set(ht.isProcessing||iO.useManualTiming?ht.timestamp:performance.now()),xl),set:e=>{xl=e,queueMicrotask(WO)}},ev=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(jr.test(e)||e==="0")&&!e.startsWith("url("));function UO(e){const t=e[0];if(e.length===1)return!0;for(let n=0;nKO?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&kO(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=Ln.now(),this.hasAttemptedResolve=!0;const{name:r,type:o,velocity:i,delay:s,onComplete:a,onUpdate:l,isGenerator:u}=this.options;if(!u&&!GO(t,r,o,i))if(s)this.options.duration=0;else{l==null||l(Rc(t,this.options,n)),a==null||a(),this.resolveFinishedPromise();return}const c=this.initPlayback(t,n);c!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...c},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}function TC(e,t){return t?e*(1e3/t):0}const YO=5;function EC(e,t,n){const r=Math.max(t-YO,0);return TC(n-e(r),t-r)}const kd=.001,XO=.01,qO=10,QO=.05,ZO=1;function JO({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i,s=1-t;s=Dr(QO,ZO,s),e=Dr(XO,qO,Qn(e)),s<1?(o=u=>{const c=u*s,d=c*e,f=c-n,m=np(u,s),h=Math.exp(-d);return kd-f/m*h},i=u=>{const d=u*s*e,f=d*n+n,m=Math.pow(s,2)*Math.pow(u,2)*e,h=Math.exp(-d),y=np(Math.pow(u,2),s);return(-o(u)+kd>0?-1:1)*((f-m)*h)/y}):(o=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-kd+c*d},i=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=tI(o,i,a);if(e=qn(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}const eI=12;function tI(e,t,n){let r=n;for(let o=1;oe[n]!==void 0)}function oI(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!tv(e,rI)&&tv(e,nI)){const n=JO(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function RC({keyframes:e,restDelta:t,restSpeed:n,...r}){const o=e[0],i=e[e.length-1],s={done:!1,value:o},{stiffness:a,damping:l,mass:u,duration:c,velocity:d,isResolvedFromDuration:f}=oI({...r,velocity:-Qn(r.velocity||0)}),m=d||0,h=l/(2*Math.sqrt(a*u)),y=i-o,k=Qn(Math.sqrt(a/u)),g=Math.abs(y)<5;n||(n=g?.01:2),t||(t=g?.005:.5);let v;if(h<1){const p=np(k,h);v=b=>{const w=Math.exp(-h*k*b);return i-w*((m+h*k*y)/p*Math.sin(p*b)+y*Math.cos(p*b))}}else if(h===1)v=p=>i-Math.exp(-k*p)*(y+(m+k*y)*p);else{const p=k*Math.sqrt(h*h-1);v=b=>{const w=Math.exp(-h*k*b),P=Math.min(p*b,300);return i-w*((m+h*k*y)*Math.sinh(P)+p*y*Math.cosh(P))/p}}return{calculatedDuration:f&&c||null,next:p=>{const b=v(p);if(f)s.done=p>=c;else{let w=0;h<1&&(w=p===0?qn(m):EC(v,p,b));const P=Math.abs(w)<=n,$=Math.abs(i-b)<=t;s.done=P&&$}return s.value=s.done?i:b,s}}}function nv({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},m=T=>a!==void 0&&Tl,h=T=>a===void 0?l:l===void 0||Math.abs(a-T)-y*Math.exp(-T/r),p=T=>g+v(T),b=T=>{const C=v(T),E=p(T);f.done=Math.abs(C)<=u,f.value=f.done?g:E};let w,P;const $=T=>{m(f.value)&&(w=T,P=RC({keyframes:[f.value,h(f.value)],velocity:EC(p,T,f.value),damping:o,stiffness:i,restDelta:u,restSpeed:c}))};return $(0),{calculatedDuration:null,next:T=>{let C=!1;return!P&&w===void 0&&(C=!0,b(T),$(T)),w!==void 0&&T>=w?P.next(T-w):(!C&&b(T),f)}}}const iI=wa(.42,0,1,1),sI=wa(0,0,.58,1),AC=wa(.42,0,.58,1),aI=e=>Array.isArray(e)&&typeof e[0]!="number",rv={linear:Tt,easeIn:iI,easeInOut:AC,easeOut:sI,circIn:em,circInOut:uC,circOut:lC,backIn:Jh,backInOut:sC,backOut:iC,anticipate:aC},ov=e=>{if(Array.isArray(e)){Qf(e.length===4);const[t,n,r,o]=e;return wa(t,n,r,o)}else if(typeof e=="string")return Qf(rv[e]!==void 0),rv[e];return e},lI=(e,t)=>n=>t(e(n)),Zn=(...e)=>e.reduce(lI),bi=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Fe=(e,t,n)=>e+(t-e)*n;function $d(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function uI({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,i=0,s=0;if(!t)o=i=s=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;o=$d(l,a,e+1/3),i=$d(l,a,e),s=$d(l,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(s*255),alpha:r}}function cu(e,t){return n=>n>0?t:e}const Pd=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},cI=[ep,ro,Yo],dI=e=>cI.find(t=>t.test(e));function iv(e){const t=dI(e);if(!t)return!1;let n=t.parse(e);return t===Yo&&(n=uI(n)),n}const sv=(e,t)=>{const n=iv(e),r=iv(t);if(!n||!r)return cu(e,t);const o={...n};return i=>(o.red=Pd(n.red,r.red,i),o.green=Pd(n.green,r.green,i),o.blue=Pd(n.blue,r.blue,i),o.alpha=Fe(n.alpha,r.alpha,i),ro.transform(o))},rp=new Set(["none","hidden"]);function fI(e,t){return rp.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function pI(e,t){return n=>Fe(e,t,n)}function lm(e){return typeof e=="number"?pI:typeof e=="string"?tm(e)?cu:wt.test(e)?sv:gI:Array.isArray(e)?MC:typeof e=="object"?wt.test(e)?sv:hI:cu}function MC(e,t){const n=[...e],r=n.length,o=e.map((i,s)=>lm(i)(i,t[s]));return i=>{for(let s=0;s{for(const i in r)n[i]=r[i](o);return n}}function mI(e,t){var n;const r=[],o={color:0,var:0,number:0};for(let i=0;i{const n=jr.createTransformer(t),r=na(e),o=na(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?rp.has(e)&&!o.values.length||rp.has(t)&&!r.values.length?fI(e,t):Zn(MC(mI(r,o),o.values),n):cu(e,t)};function OC(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Fe(e,t,n):lm(e)(e,t)}function vI(e,t,n){const r=[],o=n||OC,i=e.length-1;for(let s=0;st[0];if(i===2&&e[0]===e[1])return()=>t[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=vI(t,r,o),a=s.length,l=u=>{let c=0;if(a>1)for(;cl(Dr(e[0],e[i-1],u)):l}function xI(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=bi(0,t,r);e.push(Fe(n,1,o))}}function bI(e){const t=[0];return xI(t,e.length-1),t}function CI(e,t){return e.map(n=>n*t)}function SI(e,t){return e.map(()=>t||AC).splice(0,e.length-1)}function du({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=aI(r)?r.map(ov):ov(r),i={done:!1,value:t[0]},s=CI(n&&n.length===t.length?n:bI(t),e),a=yI(s,t,{ease:Array.isArray(o)?o:SI(t,o)});return{calculatedDuration:e,next:l=>(i.value=a(l),i.done=l>=e,i)}}const av=2e4;function wI(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t=av?1/0:t}const kI=e=>{const t=({timestamp:n})=>e(n);return{start:()=>we.update(t,!0),stop:()=>Br(t),now:()=>ht.isProcessing?ht.timestamp:Ln.now()}},$I={decay:nv,inertia:nv,tween:du,keyframes:du,spring:RC},PI=e=>e/100;class um extends PC{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:l}=this.options;l&&l()};const{name:n,motionValue:r,element:o,keyframes:i}=this.options,s=(o==null?void 0:o.KeyframeResolver)||nm,a=(l,u)=>this.onKeyframesResolved(l,u);this.resolver=new s(i,a,n,r,o),this.resolver.scheduleResolve()}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:i,velocity:s=0}=this.options,a=am(n)?n:$I[n]||du;let l,u;a!==du&&typeof t[0]!="number"&&(l=Zn(PI,OC(t[0],t[1])),t=[0,100]);const c=a({...this.options,keyframes:t});i==="mirror"&&(u=a({...this.options,keyframes:[...t].reverse(),velocity:-s})),c.calculatedDuration===null&&(c.calculatedDuration=wI(c));const{calculatedDuration:d}=c,f=d+o,m=f*(r+1)-o;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:l,calculatedDuration:d,resolvedDuration:f,totalDuration:m}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:T}=this.options;return{done:!0,value:T[T.length-1]}}const{finalKeyframe:o,generator:i,mirroredGenerator:s,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:d}=r;if(this.startTime===null)return i.next(0);const{delay:f,repeat:m,repeatType:h,repeatDelay:y,onUpdate:k}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-c/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const g=this.currentTime-f*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>c;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let p=this.currentTime,b=i;if(m){const T=Math.min(this.currentTime,c)/d;let C=Math.floor(T),E=T%1;!E&&T>=1&&(E=1),E===1&&C--,C=Math.min(C,m+1),!!(C%2)&&(h==="reverse"?(E=1-E,y&&(E-=y/d)):h==="mirror"&&(b=s)),p=Dr(0,1,E)*d}const w=v?{done:!1,value:l[0]}:b.next(p);a&&(w.value=a(w.value));let{done:P}=w;!v&&u!==null&&(P=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const $=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&P);return $&&o!==void 0&&(w.value=Rc(l,this.options,o)),k&&k(w.value),$&&this.finish(),w}get duration(){const{resolved:t}=this;return t?Qn(t.calculatedDuration):0}get time(){return Qn(this.currentTime)}set time(t){t=qn(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Qn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=kI,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),n&&n();const o=this.driver.now();this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=o):this.startTime=r??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const IC=new Set(["opacity","clipPath","filter","transform"]),BC=e=>Array.isArray(e)&&typeof e[0]=="number",TI=10,EI=(e,t)=>{let n="";const r=Math.max(Math.round(t/TI),2);for(let o=0;o(t===void 0&&(t=e()),t)}const RI={linearEasing:void 0};function AI(e,t){const n=cm(e);return()=>{var r;return(r=RI[t])!==null&&r!==void 0?r:n()}}const fu=AI(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");function DC(e){return!!(typeof e=="function"&&fu()||!e||typeof e=="string"&&(e in op||fu())||BC(e)||Array.isArray(e)&&e.every(DC))}const us=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,op={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:us([0,.65,.55,1]),circOut:us([.55,0,1,.45]),backIn:us([.31,.01,.66,-.59]),backOut:us([.33,1.53,.69,.99])};function jC(e,t){if(e)return typeof e=="function"&&fu()?EI(e,t):BC(e)?us(e):Array.isArray(e)?e.map(n=>jC(n,t)||op.easeOut):op[e]}function MI(e,t,n,{delay:r=0,duration:o=300,repeat:i=0,repeatType:s="loop",ease:a,times:l}={}){const u={[t]:n};l&&(u.offset=l);const c=jC(a,o);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:o,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:i+1,direction:s==="reverse"?"alternate":"normal"})}function lv(e,t){e.timeline=t,e.onfinish=null}const OI=cm(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),pu=10,II=2e4;function BI(e){return am(e.type)||e.type==="spring"||!DC(e.ease)}function DI(e,t){const n=new um({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const o=[];let i=0;for(;!r.done&&ithis.onKeyframesResolved(s,a),n,r,o),this.resolver.scheduleResolve()}initPlayback(t,n){var r;let{duration:o=300,times:i,ease:s,type:a,motionValue:l,name:u,startTime:c}=this.options;if(!(!((r=l.owner)===null||r===void 0)&&r.current))return!1;if(typeof s=="string"&&fu()&&jI(s)&&(s=LC[s]),BI(this.options)){const{onComplete:f,onUpdate:m,motionValue:h,element:y,...k}=this.options,g=DI(t,k);t=g.keyframes,t.length===1&&(t[1]=t[0]),o=g.duration,i=g.times,s=g.ease,a="keyframes"}const d=MI(l.owner.current,u,t,{...this.options,duration:o,times:i,ease:s});return d.startTime=c??this.calcStartTime(),this.pendingTimeline?(lv(d,this.pendingTimeline),this.pendingTimeline=void 0):d.onfinish=()=>{const{onComplete:f}=this.options;l.set(Rc(t,this.options,n)),f&&f(),this.cancel(),this.resolveFinishedPromise()},{animation:d,duration:o,times:i,type:a,ease:s,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return Qn(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return Qn(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=qn(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return Tt;const{animation:r}=n;lv(r,t)}return Tt}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:o,type:i,ease:s,times:a}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:u,onUpdate:c,onComplete:d,element:f,...m}=this.options,h=new um({...m,keyframes:r,duration:o,type:i,ease:s,times:a,isGenerator:!0}),y=qn(this.time);u.setWithVelocity(h.sample(y-pu).value,h.sample(y).value,pu)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:o,repeatType:i,damping:s,type:a}=t;return OI()&&r&&IC.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!o&&i!=="mirror"&&s!==0&&a!=="inertia"}}const LI=cm(()=>window.ScrollTimeline!==void 0);class FI{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,n){return Promise.all(this.animations).then(t).catch(n)}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;rLI()&&o.attachTimeline?o.attachTimeline(t):n(o));return()=>{r.forEach((o,i)=>{o&&o(),this.animations[i].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;nn[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function NI({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}const dm=(e,t,n,r={},o,i)=>s=>{const a=Zh(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-qn(l);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:f=>{t.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:i?void 0:o};NI(a)||(c={...c,...oO(e,c)}),c.duration&&(c.duration=qn(c.duration)),c.repeatDelay&&(c.repeatDelay=qn(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(d=!0)),d&&!i&&t.get()!==void 0){const f=Rc(c.keyframes,a);if(f!==void 0)return we.update(()=>{c.onUpdate(f),c.onComplete()}),new FI([])}return!i&&uv.supports(c)?new uv(c):new um(c)},_I=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),zI=e=>qf(e)?e[e.length-1]||0:e;function $a(e,t){e.indexOf(t)===-1&&e.push(t)}function fm(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class pm{constructor(){this.subscriptions=[]}add(t){return $a(this.subscriptions,t),()=>fm(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let i=0;i!isNaN(parseFloat(e));class FC{constructor(t,n={}){this.version="11.9.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,o=!0)=>{const i=Ln.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Ln.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=VI(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new pm);const r=this.events[t].add(n);return t==="change"?()=>{r(),we.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Ln.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>cv)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,cv);return TC(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ra(e,t){return new FC(e,t)}function HI(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,ra(n))}function WI(e,t){const n=Ec(e,t);let{transitionEnd:r={},transition:o={},...i}=n||{};i={...i,...r};for(const s in i){const a=zI(i[s]);HI(e,s,a)}}const Ac=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),UI="framerAppearId",NC="data-"+Ac(UI);function _C(e){return e.props[NC]}function zC(e){if(zr.has(e))return"transform";if(IC.has(e))return Ac(e)}class GI extends FC{constructor(){super(...arguments),this.values=[]}add(t){const n=zC(t);n&&($a(this.values,n),this.update())}update(){this.set(this.values.length?this.values.join(", "):"auto")}}const $t=e=>!!(e&&e.getVelocity);function KI(e){return!!($t(e)&&e.add)}function ip(e,t){var n;if(!e.applyWillChange)return;let r=e.getValue("willChange");if(!r&&!(!((n=e.props.style)===null||n===void 0)&&n.willChange)&&(r=new GI("auto"),e.addValue("willChange",r)),KI(r))return r.add(t)}function YI({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function VC(e,t,{delay:n=0,transitionOverride:r,type:o}={}){var i;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t;r&&(s=r);const u=[],c=o&&e.animationState&&e.animationState.getState()[o];for(const d in l){const f=e.getValue(d,(i=e.latestValues[d])!==null&&i!==void 0?i:null),m=l[d];if(m===void 0||c&&YI(c,d))continue;const h={delay:n,...Zh(s||{},d)};let y=!1;if(window.MotionHandoffAnimation){const g=_C(e);if(g){const v=window.MotionHandoffAnimation(g,d,we);v!==null&&(h.startTime=v,y=!0)}}ip(e,d),f.start(dm(d,f,m,e.shouldReduceMotion&&zr.has(d)?{type:!1}:h,e,y));const k=f.animation;k&&u.push(k)}return a&&Promise.all(u).then(()=>{we.update(()=>{a&&WI(e,a)})}),u}function sp(e,t,n={}){var r;const o=Ec(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(i=n.transitionOverride);const s=o?()=>Promise.all(VC(e,o,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=i;return XI(e,t,c+u,d,f,n)}:()=>Promise.resolve(),{when:l}=i;if(l){const[u,c]=l==="beforeChildren"?[s,a]:[a,s];return u().then(()=>c())}else return Promise.all([s(),a(n.delay)])}function XI(e,t,n=0,r=0,o=1,i){const s=[],a=(e.variantChildren.size-1)*r,l=o===1?(u=0)=>u*r:(u=0)=>a-u*r;return Array.from(e.variantChildren).sort(qI).forEach((u,c)=>{u.notify("AnimationStart",t),s.push(sp(u,t,{...i,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(s)}function qI(e,t){return e.sortNodePosition(t)}function QI(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(i=>sp(e,i,n));r=Promise.all(o)}else if(typeof t=="string")r=sp(e,t,n);else{const o=typeof t=="function"?Ec(e,t,n.custom):t;r=Promise.all(VC(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const ZI=Qh.length;function HC(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?HC(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;nPromise.all(t.map(({animation:n,options:r})=>QI(e,n,r)))}function nB(e){let t=tB(e),n=dv(),r=!0;const o=l=>(u,c)=>{var d;const f=Ec(e,c,l==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:m,transitionEnd:h,...y}=f;u={...u,...y,...h}}return u};function i(l){t=l(e)}function s(l){const{props:u}=e,c=HC(e.parent)||{},d=[],f=new Set;let m={},h=1/0;for(let k=0;kh&&b,C=!1;const E=Array.isArray(p)?p:[p];let A=E.reduce(o(g),{});w===!1&&(A={});const{prevResolvedValues:O={}}=v,D={...O,...A},I=L=>{T=!0,f.has(L)&&(C=!0,f.delete(L)),v.needsAnimating[L]=!0;const R=e.getValue(L);R&&(R.liveStyle=!1)};for(const L in D){const R=A[L],B=O[L];if(m.hasOwnProperty(L))continue;let W=!1;qf(R)&&qf(B)?W=!eC(R,B):W=R!==B,W?R!=null?I(L):f.add(L):R!==void 0&&f.has(L)?I(L):v.protectedKeys[L]=!0}v.prevProp=p,v.prevResolvedValues=A,v.isActive&&(m={...m,...A}),r&&e.blockInitialAnimation&&(T=!1),T&&(!(P&&$)||C)&&d.push(...E.map(L=>({animation:L,options:{type:g}})))}if(f.size){const k={};f.forEach(g=>{const v=e.getBaseTarget(g),p=e.getValue(g);p&&(p.liveStyle=!0),k[g]=v??null}),d.push({animation:k})}let y=!!d.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(y=!1),r=!1,y?t(d):Promise.resolve()}function a(l,u){var c;if(n[l].isActive===u)return Promise.resolve();(c=e.variantChildren)===null||c===void 0||c.forEach(f=>{var m;return(m=f.animationState)===null||m===void 0?void 0:m.setActive(l,u)}),n[l].isActive=u;const d=s(l);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:s,setActive:a,setAnimateFunction:i,getState:()=>n,reset:()=>{n=dv(),r=!0}}}function rB(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!eC(t,e):!1}function Gr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function dv(){return{animate:Gr(!0),whileInView:Gr(),whileHover:Gr(),whileTap:Gr(),whileDrag:Gr(),whileFocus:Gr(),exit:Gr()}}class Vr{constructor(t){this.isMounted=!1,this.node=t}update(){}}class oB extends Vr{constructor(t){super(t),t.animationState||(t.animationState=nB(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Js(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let iB=0;class sB extends Vr{constructor(){super(...arguments),this.id=iB++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const o=this.node.animationState.setActive("exit",!t);n&&!t&&o.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const aB={animation:{Feature:oB},exit:{Feature:sB}},WC=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Mc(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const lB=e=>t=>WC(t)&&e(t,Mc(t));function Kn(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function Jn(e,t,n,r){return Kn(e,t,lB(n),r)}const fv=(e,t)=>Math.abs(e-t);function uB(e,t){const n=fv(e.x,t.x),r=fv(e.y,t.y);return Math.sqrt(n**2+r**2)}class UC{constructor(t,n,{transformPagePoint:r,contextWindow:o,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=Ed(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,m=uB(d.offset,{x:0,y:0})>=3;if(!f&&!m)return;const{point:h}=d,{timestamp:y}=ht;this.history.push({...h,timestamp:y});const{onStart:k,onMove:g}=this.handlers;f||(k&&k(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),g&&g(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=Td(f,this.transformPagePoint),we.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:m,onSessionEnd:h,resumeAnimation:y}=this.handlers;if(this.dragSnapToOrigin&&y&&y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const k=Ed(d.type==="pointercancel"?this.lastMoveEventInfo:Td(f,this.transformPagePoint),this.history);this.startEvent&&m&&m(d,k),h&&h(d,k)},!WC(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.contextWindow=o||window;const s=Mc(t),a=Td(s,this.transformPagePoint),{point:l}=a,{timestamp:u}=ht;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,Ed(a,this.history)),this.removeListeners=Zn(Jn(this.contextWindow,"pointermove",this.handlePointerMove),Jn(this.contextWindow,"pointerup",this.handlePointerUp),Jn(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Br(this.updatePoint)}}function Td(e,t){return t?{point:t(e.point)}:e}function pv(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ed({point:e},t){return{point:e,delta:pv(e,GC(t)),offset:pv(e,cB(t)),velocity:dB(t,.1)}}function cB(e){return e[0]}function GC(e){return e[e.length-1]}function dB(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=GC(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>qn(t)));)n--;if(!r)return{x:0,y:0};const i=Qn(o.timestamp-r.timestamp);if(i===0)return{x:0,y:0};const s={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function KC(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const hv=KC("dragHorizontal"),mv=KC("dragVertical");function YC(e){let t=!1;if(e==="y")t=mv();else if(e==="x")t=hv();else{const n=hv(),r=mv();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function XC(){const e=YC(!0);return e?(e(),!1):!0}function Xo(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}const qC=1e-4,fB=1-qC,pB=1+qC,QC=.01,hB=0-QC,mB=0+QC;function Yt(e){return e.max-e.min}function gB(e,t,n){return Math.abs(e-t)<=n}function gv(e,t,n,r=.5){e.origin=r,e.originPoint=Fe(t.min,t.max,e.origin),e.scale=Yt(n)/Yt(t),e.translate=Fe(n.min,n.max,e.origin)-e.originPoint,(e.scale>=fB&&e.scale<=pB||isNaN(e.scale))&&(e.scale=1),(e.translate>=hB&&e.translate<=mB||isNaN(e.translate))&&(e.translate=0)}function $s(e,t,n,r){gv(e.x,t.x,n.x,r?r.originX:void 0),gv(e.y,t.y,n.y,r?r.originY:void 0)}function vv(e,t,n){e.min=n.min+t.min,e.max=e.min+Yt(t)}function vB(e,t,n){vv(e.x,t.x,n.x),vv(e.y,t.y,n.y)}function yv(e,t,n){e.min=t.min-n.min,e.max=e.min+Yt(t)}function Ps(e,t,n){yv(e.x,t.x,n.x),yv(e.y,t.y,n.y)}function yB(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?Fe(n,e,r.max):Math.min(e,n)),e}function xv(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function xB(e,{top:t,left:n,bottom:r,right:o}){return{x:xv(e.x,n,o),y:xv(e.y,t,r)}}function bv(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=bi(t.min,t.max-r,e.min):r>o&&(n=bi(e.min,e.max-o,t.min)),Dr(0,1,n)}function SB(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const ap=.35;function wB(e=ap){return e===!1?e=0:e===!0&&(e=ap),{x:Cv(e,"left","right"),y:Cv(e,"top","bottom")}}function Cv(e,t,n){return{min:Sv(e,t),max:Sv(e,n)}}function Sv(e,t){return typeof e=="number"?e:e[t]||0}const wv=()=>({translate:0,scale:1,origin:0,originPoint:0}),qo=()=>({x:wv(),y:wv()}),kv=()=>({min:0,max:0}),Ye=()=>({x:kv(),y:kv()});function Jt(e){return[e("x"),e("y")]}function ZC({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function kB({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function $B(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Rd(e){return e===void 0||e===1}function lp({scale:e,scaleX:t,scaleY:n}){return!Rd(e)||!Rd(t)||!Rd(n)}function Qr(e){return lp(e)||JC(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function JC(e){return $v(e.x)||$v(e.y)}function $v(e){return e&&e!=="0%"}function hu(e,t,n){const r=e-n,o=t*r;return n+o}function Pv(e,t,n,r,o){return o!==void 0&&(e=hu(e,o,r)),hu(e,n,r)+t}function up(e,t=0,n=1,r,o){e.min=Pv(e.min,t,n,r,o),e.max=Pv(e.max,t,n,r,o)}function eS(e,{x:t,y:n}){up(e.x,t.translate,t.scale,t.originPoint),up(e.y,n.translate,n.scale,n.originPoint)}const Tv=.999999999999,Ev=1.0000000000001;function PB(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let i,s;for(let a=0;aTv&&(t.x=1),t.yTv&&(t.y=1)}function Qo(e,t){e.min=e.min+t,e.max=e.max+t}function Rv(e,t,n,r,o=.5){const i=Fe(e.min,e.max,o);up(e,t,n,i,r)}function Zo(e,t){Rv(e.x,t.x,t.scaleX,t.scale,t.originX),Rv(e.y,t.y,t.scaleY,t.scale,t.originY)}function tS(e,t){return ZC($B(e.getBoundingClientRect(),t))}function TB(e,t,n){const r=tS(e,n),{scroll:o}=t;return o&&(Qo(r.x,o.offset.x),Qo(r.y,o.offset.y)),r}const nS=({current:e})=>e?e.ownerDocument.defaultView:null,EB=new WeakMap;class RB{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ye(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const o=c=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Mc(c,"page").point)},i=(c,d)=>{const{drag:f,dragPropagation:m,onDragStart:h}=this.getProps();if(f&&!m&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=YC(f),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Jt(k=>{let g=this.getAxisMotionValue(k).get()||0;if(jn.test(g)){const{projection:v}=this.visualElement;if(v&&v.layout){const p=v.layout.layoutBox[k];p&&(g=Yt(p)*(parseFloat(g)/100))}}this.originPoint[k]=g}),h&&we.postRender(()=>h(c,d)),ip(this.visualElement,"transform");const{animationState:y}=this.visualElement;y&&y.setActive("whileDrag",!0)},s=(c,d)=>{const{dragPropagation:f,dragDirectionLock:m,onDirectionLock:h,onDrag:y}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:k}=d;if(m&&this.currentDirection===null){this.currentDirection=AB(k),this.currentDirection!==null&&h&&h(this.currentDirection);return}this.updateAxis("x",d.point,k),this.updateAxis("y",d.point,k),this.visualElement.render(),y&&y(c,d)},a=(c,d)=>this.stop(c,d),l=()=>Jt(c=>{var d;return this.getAnimationState(c)==="paused"&&((d=this.getAxisMotionValue(c).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new UC(t,{onSessionStart:o,onStart:i,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:nS(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:o}=n;this.startAnimation(o);const{onDragEnd:i}=this.getProps();i&&we.postRender(()=>i(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:o}=this.getProps();if(!r||!el(t,o,this.currentDirection))return;const i=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=yB(s,this.constraints[t],this.elastic[t])),i.set(s)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,i=this.constraints;n&&Xo(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=xB(o.layoutBox,n):this.constraints=!1,this.elastic=wB(r),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Jt(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=SB(o.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Xo(t))return!1;const r=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const i=TB(r,o.root,this.visualElement.getTransformPagePoint());let s=bB(o.layout.layoutBox,i);if(n){const a=n(kB(s));this.hasMutatedConstraints=!!a,a&&(s=ZC(a))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=Jt(c=>{if(!el(c,n,this.currentDirection))return;let d=l&&l[c]||{};s&&(d={min:0,max:0});const f=o?200:1e6,m=o?40:1e7,h={type:"inertia",velocity:r?t[c]:0,bounceStiffness:f,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...i,...d};return this.startAxisValueAnimation(c,h)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return ip(this.visualElement,t),r.start(dm(t,r,0,n,this.visualElement,!1))}stopAnimation(){Jt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Jt(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Jt(n=>{const{drag:r}=this.getProps();if(!el(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,i=this.getAxisMotionValue(n);if(o&&o.layout){const{min:s,max:a}=o.layout.layoutBox[n];i.set(t[n]-Fe(s,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Xo(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Jt(s=>{const a=this.getAxisMotionValue(s);if(a&&this.constraints!==!1){const l=a.get();o[s]=CB({min:l,max:l},this.constraints[s])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Jt(s=>{if(!el(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:u}=this.constraints[s];a.set(Fe(l,u,o[s]))})}addListeners(){if(!this.visualElement.current)return;EB.set(this.visualElement,this);const t=this.visualElement.current,n=Jn(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();Xo(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,i=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),we.read(r);const s=Kn(window,"resize",()=>this.scalePositionWithinConstraints()),a=o.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(Jt(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=l[c].translate,d.set(d.get()+l[c].translate))}),this.visualElement.render())});return()=>{s(),n(),i(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:s=ap,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:i,dragElastic:s,dragMomentum:a}}}function el(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function AB(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class MB extends Vr{constructor(t){super(t),this.removeGroupControls=Tt,this.removeListeners=Tt,this.controls=new RB(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Tt}unmount(){this.removeGroupControls(),this.removeListeners()}}const Av=e=>(t,n)=>{e&&we.postRender(()=>e(t,n))};class OB extends Vr{constructor(){super(...arguments),this.removePointerDownListener=Tt}onPointerDown(t){this.session=new UC(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:nS(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:Av(t),onStart:Av(n),onMove:r,onEnd:(i,s)=>{delete this.session,o&&we.postRender(()=>o(i,s))}}}mount(){this.removePointerDownListener=Jn(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const hm=x.createContext(null);function IB(){const e=x.useContext(hm);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,o=x.useId();x.useEffect(()=>r(o),[]);const i=x.useCallback(()=>n&&n(o),[o,n]);return!t&&n?[!1,i]:[!0]}const rS=x.createContext({}),oS=x.createContext({}),bl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Mv(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ts={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(ee.test(e))e=parseFloat(e);else return e;const n=Mv(e,t.target.x),r=Mv(e,t.target.y);return`${n}% ${r}%`}},BB={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=jr.parse(e);if(o.length>5)return r;const i=jr.createTransformer(e),s=typeof o[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;o[0+s]/=a,o[1+s]/=l;const u=Fe(a,l,.5);return typeof o[2+s]=="number"&&(o[2+s]/=u),typeof o[3+s]=="number"&&(o[3+s]/=u),i(o)}},mu={};function DB(e){Object.assign(mu,e)}const{schedule:mm,cancel:Gj}=tC(queueMicrotask,!1);class jB extends x.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:i}=t;DB(LB),i&&(n.group&&n.group.add(i),r&&r.register&&o&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),bl.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:i}=this.props,s=r.projection;return s&&(s.isPresent=i,o||t.layoutDependency!==n||n===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?s.promote():s.relegate()||we.postRender(()=>{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),mm.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function iS(e){const[t,n]=IB(),r=x.useContext(rS);return S.jsx(jB,{...e,layoutGroup:r,switchLayoutGroup:x.useContext(oS),isPresent:t,safeToRemove:n})}const LB={borderRadius:{...ts,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ts,borderTopRightRadius:ts,borderBottomLeftRadius:ts,borderBottomRightRadius:ts,boxShadow:BB},sS=["TopLeft","TopRight","BottomLeft","BottomRight"],FB=sS.length,Ov=e=>typeof e=="string"?parseFloat(e):e,Iv=e=>typeof e=="number"||ee.test(e);function NB(e,t,n,r,o,i){o?(e.opacity=Fe(0,n.opacity!==void 0?n.opacity:1,_B(r)),e.opacityExit=Fe(t.opacity!==void 0?t.opacity:1,0,zB(r))):i&&(e.opacity=Fe(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;srt?1:n(bi(e,t,r))}function Dv(e,t){e.min=t.min,e.max=t.max}function Zt(e,t){Dv(e.x,t.x),Dv(e.y,t.y)}function jv(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Lv(e,t,n,r,o){return e-=t,e=hu(e,1/n,r),o!==void 0&&(e=hu(e,1/o,r)),e}function VB(e,t=0,n=1,r=.5,o,i=e,s=e){if(jn.test(t)&&(t=parseFloat(t),t=Fe(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=Fe(i.min,i.max,r);e===i&&(a-=t),e.min=Lv(e.min,t,n,a,o),e.max=Lv(e.max,t,n,a,o)}function Fv(e,t,[n,r,o],i,s){VB(e,t[n],t[r],t[o],t.scale,i,s)}const HB=["x","scaleX","originX"],WB=["y","scaleY","originY"];function Nv(e,t,n,r){Fv(e.x,t,HB,n?n.x:void 0,r?r.x:void 0),Fv(e.y,t,WB,n?n.y:void 0,r?r.y:void 0)}function _v(e){return e.translate===0&&e.scale===1}function lS(e){return _v(e.x)&&_v(e.y)}function zv(e,t){return e.min===t.min&&e.max===t.max}function UB(e,t){return zv(e.x,t.x)&&zv(e.y,t.y)}function Vv(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function uS(e,t){return Vv(e.x,t.x)&&Vv(e.y,t.y)}function Hv(e){return Yt(e.x)/Yt(e.y)}function Wv(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class GB{constructor(){this.members=[]}add(t){$a(this.members,t),t.scheduleRender()}remove(t){if(fm(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(o=>t===o);if(n===0)return!1;let r;for(let o=n;o>=0;o--){const i=this.members[o];if(i.isPresent!==!1){r=i;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function KB(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y,s=(n==null?void 0:n.z)||0;if((o||i||s)&&(r=`translate3d(${o}px, ${i}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:d,rotateY:f,skewX:m,skewY:h}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),m&&(r+=`skewX(${m}deg) `),h&&(r+=`skewY(${h}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const YB=(e,t)=>e.depth-t.depth;class XB{constructor(){this.children=[],this.isDirty=!1}add(t){$a(this.children,t),this.isDirty=!0}remove(t){fm(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(YB),this.isDirty=!1,this.children.forEach(t)}}function Cl(e){const t=$t(e)?e.get():e;return _I(t)?t.toValue():t}function qB(e,t){const n=Ln.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&(Br(r),e(i-t))};return we.read(r,!0),()=>Br(r)}function QB(e){return e instanceof SVGElement&&e.tagName!=="svg"}function ZB(e,t,n){const r=$t(e)?e:ra(e);return r.start(dm("",r,t,n)),r.animation}const Zr={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},cs=typeof window<"u"&&window.MotionDebug!==void 0,Ad=["","X","Y","Z"],JB={visibility:"hidden"},Uv=1e3;let eD=0;function Md(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function cS(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=_C(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",we,!(o||i))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&cS(r)}function dS({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(s={},a=t==null?void 0:t()){this.id=eD++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,cs&&(Zr.totalNodes=Zr.resolvedTargetDeltas=Zr.recalculatedProjection=0),this.nodes.forEach(rD),this.nodes.forEach(lD),this.nodes.forEach(uD),this.nodes.forEach(oD),cs&&window.MotionDebug.record(Zr)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;lthis.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=qB(f,250),bl.hasAnimatedSinceResize&&(bl.hasAnimatedSinceResize=!1,this.nodes.forEach(Kv))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:m,layout:h})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const y=this.options.transition||c.getDefaultTransition()||hD,{onLayoutAnimationStart:k,onLayoutAnimationComplete:g}=c.getProps(),v=!this.targetLayout||!uS(this.targetLayout,h)||m,p=!f&&m;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||p||f&&(v||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,p);const b={...Zh(y,"layout"),onPlay:k,onComplete:g};(c.shouldReduceMotion||this.options.layoutRoot)&&(b.delay=0,b.type=!1),this.startAnimation(b)}else f||Kv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=h})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Br(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(cD),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&cS(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{const w=b/1e3;Yv(d.x,s.x,w),Yv(d.y,s.y,w),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ps(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),fD(this.relativeTarget,this.relativeTargetOrigin,f,w),p&&UB(this.relativeTarget,p)&&(this.isProjectionDirty=!1),p||(p=Ye()),Zt(p,this.relativeTarget)),y&&(this.animationValues=c,NB(c,u,this.latestValues,w,v,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=w},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Br(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=we.update(()=>{bl.hasAnimatedSinceResize=!0,this.currentAnimation=ZB(0,Uv,{...s,onUpdate:a=>{this.mixTargetDelta(a),s.onUpdate&&s.onUpdate(a)},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Uv),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=s;if(!(!a||!l||!u)){if(this!==s&&this.layout&&u&&fS(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Ye();const d=Yt(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;const f=Yt(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+f}Zt(a,l),Zo(a,c),$s(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new GB),this.sharedNodes.get(s).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var s;const{layoutId:a}=this.options;return a?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:a}=this.options;return a?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let a=!1;const{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&Md("z",s,u,this.animationValues);for(let c=0;c{var a;return(a=s.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(Gv),this.root.sharedNodes.clear()}}}function tD(e){e.updateLayout()}function nD(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:o}=e.layout,{animationType:i}=e.options,s=n.source!==e.layout.source;i==="size"?Jt(d=>{const f=s?n.measuredBox[d]:n.layoutBox[d],m=Yt(f);f.min=r[d].min,f.max=f.min+m}):fS(i,n.layoutBox,r)&&Jt(d=>{const f=s?n.measuredBox[d]:n.layoutBox[d],m=Yt(r[d]);f.max=f.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+m)});const a=qo();$s(a,r,n.layoutBox);const l=qo();s?$s(l,e.applyTransform(o,!0),n.measuredBox):$s(l,r,n.layoutBox);const u=!lS(a);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:m}=d;if(f&&m){const h=Ye();Ps(h,n.layoutBox,f.layoutBox);const y=Ye();Ps(y,r,m.layoutBox),uS(h,y)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=y,e.relativeTargetOrigin=h,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function rD(e){cs&&Zr.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function oD(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function iD(e){e.clearSnapshot()}function Gv(e){e.clearMeasurements()}function sD(e){e.isLayoutDirty=!1}function aD(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Kv(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function lD(e){e.resolveTargetDelta()}function uD(e){e.calcProjection()}function cD(e){e.resetSkewAndRotation()}function dD(e){e.removeLeadSnapshot()}function Yv(e,t,n){e.translate=Fe(t.translate,0,n),e.scale=Fe(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Xv(e,t,n,r){e.min=Fe(t.min,n.min,r),e.max=Fe(t.max,n.max,r)}function fD(e,t,n,r){Xv(e.x,t.x,n.x,r),Xv(e.y,t.y,n.y,r)}function pD(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const hD={duration:.45,ease:[.4,0,.1,1]},qv=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Qv=qv("applewebkit/")&&!qv("chrome/")?Math.round:Tt;function Zv(e){e.min=Qv(e.min),e.max=Qv(e.max)}function mD(e){Zv(e.x),Zv(e.y)}function fS(e,t,n){return e==="position"||e==="preserve-aspect"&&!gB(Hv(t),Hv(n),.2)}function gD(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const vD=dS({attachResizeListener:(e,t)=>Kn(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Od={current:void 0},pS=dS({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Od.current){const e=new vD({});e.mount(window),e.setOptions({layoutScroll:!0}),Od.current=e}return Od.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),yD={pan:{Feature:OB},drag:{Feature:MB,ProjectionNode:pS,MeasureLayout:iS}};function Jv(e,t){const n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd",o=(i,s)=>{if(i.pointerType==="touch"||XC())return;const a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t);const l=a[r];l&&we.postRender(()=>l(i,s))};return Jn(e.current,n,o,{passive:!e.getProps()[r]})}class xD extends Vr{mount(){this.unmount=Zn(Jv(this.node,!0),Jv(this.node,!1))}unmount(){}}class bD extends Vr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Zn(Kn(this.node.current,"focus",()=>this.onFocus()),Kn(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const hS=(e,t)=>t?e===t?!0:hS(e,t.parentElement):!1;function Id(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Mc(n))}class CD extends Vr{constructor(){super(...arguments),this.removeStartListeners=Tt,this.removeEndListeners=Tt,this.removeAccessibleListeners=Tt,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),i=Jn(window,"pointerup",(a,l)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c,globalTapTarget:d}=this.node.getProps(),f=!d&&!hS(this.node.current,a.target)?c:u;f&&we.update(()=>f(a,l))},{passive:!(r.onTap||r.onPointerUp)}),s=Jn(window,"pointercancel",(a,l)=>this.cancelPress(a,l),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Zn(i,s),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=i=>{if(i.key!=="Enter"||this.isPressing)return;const s=a=>{a.key!=="Enter"||!this.checkPressEnd()||Id("up",(l,u)=>{const{onTap:c}=this.node.getProps();c&&we.postRender(()=>c(l,u))})};this.removeEndListeners(),this.removeEndListeners=Kn(this.node.current,"keyup",s),Id("down",(a,l)=>{this.startPress(a,l)})},n=Kn(this.node.current,"keydown",t),r=()=>{this.isPressing&&Id("cancel",(i,s)=>this.cancelPress(i,s))},o=Kn(this.node.current,"blur",r);this.removeAccessibleListeners=Zn(n,o)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&we.postRender(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!XC()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&we.postRender(()=>r(t,n))}mount(){const t=this.node.getProps(),n=Jn(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=Kn(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Zn(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const cp=new WeakMap,Bd=new WeakMap,SD=e=>{const t=cp.get(e.target);t&&t(e)},wD=e=>{e.forEach(SD)};function kD({root:e,...t}){const n=e||document;Bd.has(n)||Bd.set(n,{});const r=Bd.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(wD,{root:e,...t})),r[o]}function $D(e,t,n){const r=kD(t);return cp.set(e,n),r.observe(e),()=>{cp.delete(e),r.unobserve(e)}}const PD={some:0,all:1};class TD extends Vr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:i}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:PD[o]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,i&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=u?c:d;f&&f(l)};return $D(this.node.current,s,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(ED(t,n))&&this.startObserver()}unmount(){}}function ED({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const RD={inView:{Feature:TD},tap:{Feature:CD},focus:{Feature:bD},hover:{Feature:xD}},AD={layout:{ProjectionNode:pS,MeasureLayout:iS}},mS=x.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Oc=x.createContext({}),gm=typeof window<"u",MD=gm?x.useLayoutEffect:x.useEffect,gS=x.createContext({strict:!1});let ey=!1;function OD(e,t,n,r,o){var i;const{visualElement:s}=x.useContext(Oc),a=x.useContext(gS),l=x.useContext(hm),u=x.useContext(mS).reducedMotion,c=x.useRef();r=r||a.renderer,!c.current&&r&&(c.current=r(e,{visualState:t,parent:s,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:u}));const d=c.current,f=x.useContext(oS);d&&!d.projection&&o&&(d.type==="html"||d.type==="svg")&&BD(c.current,n,o,f),x.useInsertionEffect(()=>{d&&d.update(n,l)});const m=n[NC],h=x.useRef(!!m&&!window.MotionHandoffIsComplete&&((i=window.MotionHasOptimisedAnimation)===null||i===void 0?void 0:i.call(window,m)));return MD(()=>{d&&(d.updateFeatures(),mm.render(d.render),h.current&&d.animationState&&d.animationState.animateChanges())}),x.useEffect(()=>{d&&(!h.current&&d.animationState&&d.animationState.animateChanges(),h.current=!1,ey||(ey=!0,queueMicrotask(ID)))}),d}function ID(){window.MotionHandoffIsComplete=!0}function BD(e,t,n,r){const{layoutId:o,layout:i,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:vS(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:!!s||a&&Xo(a),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}function vS(e){if(e)return e.options.allowProjection!==!1?e.projection:vS(e.parent)}function DD(e,t,n){return x.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Xo(n)&&(n.current=r))},[t])}function Ic(e){return Js(e.animate)||Qh.some(t=>ea(e[t]))}function yS(e){return!!(Ic(e)||e.variants)}function jD(e,t){if(Ic(e)){const{initial:n,animate:r}=e;return{initial:n===!1||ea(n)?n:void 0,animate:ea(r)?r:void 0}}return e.inherit!==!1?t:{}}function LD(e){const{initial:t,animate:n}=jD(e,x.useContext(Oc));return x.useMemo(()=>({initial:t,animate:n}),[ty(t),ty(n)])}function ty(e){return Array.isArray(e)?e.join(" "):e}const ny={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Ci={};for(const e in ny)Ci[e]={isEnabled:t=>ny[e].some(n=>!!t[n])};function FD(e){for(const t in e)Ci[t]={...Ci[t],...e[t]}}const ND=Symbol.for("motionComponentSymbol");function _D({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){e&&FD(e);function i(a,l){let u;const c={...x.useContext(mS),...a,layoutId:zD(a)},{isStatic:d}=c,f=LD(a),m=r(a,d);if(!d&&gm){VD();const h=HD(c);u=h.MeasureLayout,f.visualElement=OD(o,m,c,t,h.ProjectionNode)}return S.jsxs(Oc.Provider,{value:f,children:[u&&f.visualElement?S.jsx(u,{visualElement:f.visualElement,...c}):null,n(o,a,DD(m,f.visualElement,l),m,d,f.visualElement)]})}const s=x.forwardRef(i);return s[ND]=o,s}function zD({layoutId:e}){const t=x.useContext(rS).id;return t&&e!==void 0?t+"-"+e:e}function VD(e,t){x.useContext(gS).strict}function HD(e){const{drag:t,layout:n}=Ci;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const WD=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function vm(e){return typeof e!="string"||e.includes("-")?!1:!!(WD.indexOf(e)>-1||/[A-Z]/u.test(e))}function xS(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const i in n)e.style.setProperty(i,n[i])}const bS=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function CS(e,t,n,r){xS(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(bS.has(o)?o:Ac(o),t.attrs[o])}function SS(e,{layout:t,layoutId:n}){return zr.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!mu[e]||e==="opacity")}function ym(e,t,n){var r;const{style:o}=e,i={};for(const s in o)($t(o[s])||t.style&&$t(t.style[s])||SS(s,e)||((r=n==null?void 0:n.getValue(s))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(i[s]=o[s]);return n&&o&&typeof o.willChange=="string"&&(n.applyWillChange=!1),i}function wS(e,t,n){const r=ym(e,t,n);for(const o in e)if($t(e[o])||$t(t[o])){const i=Sa.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[i]=e[o]}return r}function UD(e){const t=x.useRef(null);return t.current===null&&(t.current=e()),t.current}function GD({applyWillChange:e=!1,scrapeMotionValuesFromProps:t,createRenderState:n,onMount:r},o,i,s,a){const l={latestValues:YD(o,i,s,a?!1:e,t),renderState:n()};return r&&(l.mount=u=>r(o,u,l)),l}const kS=e=>(t,n)=>{const r=x.useContext(Oc),o=x.useContext(hm),i=()=>GD(e,t,r,o,n);return n?i():UD(i)};function KD(e,t){const n=zC(t);n&&$a(e,n)}function ry(e,t,n){const r=Array.isArray(t)?t:[t];for(let o=0;o{for(const v in k){let p=k[v];if(Array.isArray(p)){const b=h?p.length-1:0;p=p[b]}p!==null&&(s[v]=p)}for(const v in g)s[v]=g[v]}),l&&(d&&c!==!1&&!Js(d)&&ry(e,d,k=>{for(const g in k)KD(a,g)}),a.length&&(s.willChange=a.join(","))),s}const xm=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),$S=()=>({...xm(),attrs:{}}),PS=(e,t)=>t&&typeof e=="number"?t.transform(e):e,XD={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},qD=Sa.length;function QD(e,t,n){let r="",o=!0;for(let i=0;itypeof e=="string"&&e.toLowerCase()==="svg",nj={useVisualState:kS({scrapeMotionValuesFromProps:wS,createRenderState:$S,onMount:(e,t,{renderState:n,latestValues:r})=>{we.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),we.render(()=>{Cm(n,r,Sm(t.tagName),e.transformTemplate),CS(t,n)})}})},rj={useVisualState:kS({applyWillChange:!0,scrapeMotionValuesFromProps:ym,createRenderState:xm})};function TS(e,t,n){for(const r in t)!$t(t[r])&&!SS(r,n)&&(e[r]=t[r])}function oj({transformTemplate:e},t){return x.useMemo(()=>{const n=xm();return bm(n,t,e),Object.assign({},n.vars,n.style)},[t])}function ij(e,t){const n=e.style||{},r={};return TS(r,n,e),Object.assign(r,oj(e,t)),r}function sj(e,t){const n={},r=ij(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const aj=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function gu(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||aj.has(e)}let ES=e=>!gu(e);function lj(e){e&&(ES=t=>t.startsWith("on")?!gu(t):e(t))}try{lj(require("@emotion/is-prop-valid").default)}catch{}function uj(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(ES(o)||n===!0&&gu(o)||!t&&!gu(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function cj(e,t,n,r){const o=x.useMemo(()=>{const i=$S();return Cm(i,t,Sm(r),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};TS(i,e.style,e),o.style={...i,...o.style}}return o}function dj(e=!1){return(n,r,o,{latestValues:i},s)=>{const l=(vm(n)?cj:sj)(r,i,s,n),u=uj(r,typeof n=="string",e),c=n!==x.Fragment?{...u,...l,ref:o}:{},{children:d}=r,f=x.useMemo(()=>$t(d)?d.get():d,[d]);return x.createElement(n,{...c,children:f})}}function fj(e,t){return function(r,{forwardMotionProps:o}={forwardMotionProps:!1}){const s={...vm(r)?nj:rj,preloadedFeatures:e,useRender:dj(o),createVisualElement:t,Component:r};return _D(s)}}const dp={current:null},RS={current:!1};function pj(){if(RS.current=!0,!!gm)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>dp.current=e.matches;e.addListener(t),t()}else dp.current=!1}function hj(e,t,n){for(const r in t){const o=t[r],i=n[r];if($t(o))e.addValue(r,o);else if($t(i))e.addValue(r,ra(o,{owner:e}));else if(i!==o)if(e.hasValue(r)){const s=e.getValue(r);s.liveStyle===!0?s.jump(o):s.hasAnimated||s.set(o)}else{const s=e.getStaticValue(r);e.addValue(r,ra(s!==void 0?s:o,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const iy=new WeakMap,mj=[...gC,wt,jr],gj=e=>mj.find(mC(e)),sy=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class vj{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,blockInitialAnimation:i,visualState:s},a={}){this.applyWillChange=!1,this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=nm,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const f=Ln.now();this.renderScheduledAtthis.bindToMotionValue(r,n)),RS.current||pj(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:dp.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){iy.delete(this.current),this.projection&&this.projection.unmount(),Br(this.notifyUpdate),Br(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=zr.has(t),o=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&we.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=n.on("renderRequest",this.scheduleRender);let s;window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{o(),i(),s&&s(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Ci){const n=Ci[t];if(!n)continue;const{isEnabled:r,Feature:o}=n;if(!this.features[t]&&o&&r(this.props)&&(this.features[t]=new o(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ye()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;rn.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=ra(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let o=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return o!=null&&(typeof o=="string"&&(dC(o)||cC(o))?o=parseFloat(o):!gj(o)&&jr.test(n)&&(o=kC(t,n)),this.setBaseTarget(t,$t(o)?o.get():o)),$t(o)?o.get():o}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let o;if(typeof r=="string"||typeof r=="object"){const s=Xh(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);s&&(o=s[t])}if(r&&o!==void 0)return o;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!$t(i)?i:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new pm),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class AS extends vj{constructor(){super(...arguments),this.KeyframeResolver=$C}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}}function yj(e){return window.getComputedStyle(e)}class xj extends AS{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=xS}readValueFromInstance(t,n){if(zr.has(n)){const r=sm(n);return r&&r.default||0}else{const r=yj(t),o=(pC(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return tS(t,n)}build(t,n,r){bm(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return ym(t,n,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;$t(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class bj extends AS{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ye}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(zr.has(n)){const r=sm(n);return r&&r.default||0}return n=bS.has(n)?n:Ac(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return wS(t,n,r)}build(t,n,r){Cm(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,o){CS(t,n,r,o)}mount(t){this.isSVGTag=Sm(t.tagName),super.mount(t)}}const Cj=(e,t)=>vm(e)?new bj(t):new xj(t,{allowProjection:e!==x.Fragment}),Sj=fj({...aB,...RD,...yD,...AD},Cj),go=JM(Sj),wj=go(Qb);function MS({orchid:e}){const{isVisible:t,showModal:n,hideModal:r}=ZM({orchid:e}),o=jh(),{theme:i}=x.useContext(Nn),s=()=>{o(`/fer-lab1/${e.Id}`)};return S.jsxs(S.Fragment,{children:[S.jsxs(wj,{variant:"outlined",sx:{width:320,bgcolor:i.card.backgroundColor,color:i.card.color,borderColor:i.divider},whileHover:{scale:1.05,boxShadow:i.elevation[3],transition:{duration:.3}},children:[S.jsx(yl,{children:S.jsx(Xf,{variant:"outlined",ratio:"2",onClick:()=>n(e),children:S.jsx(go.img,{src:e.image+"?auto=format&fit=crop&w=318",srcSet:e.image+"?auto=format&fit=crop&w=318&dpr=2 2x",loading:"lazy",alt:e.name,whileHover:{scale:1.1},transition:{duration:.3}})})}),S.jsxs(U0,{children:[S.jsx(ve,{level:"title-md",sx:{color:i.text.primary,fontWeight:"bold",mb:.5},children:e.name}),S.jsxs(qe,{children:[S.jsxs(ve,{level:"body-sm",sx:{color:i.text.secondary,mb:2,alignItems:"center",display:"flex"},children:[S.jsx(Yh,{sx:{marginRight:"4px",width:"16px",color:i.icon.color}}),e.origin]}),S.jsxs(ve,{level:"body-sm",sx:{color:i.text.secondary,mb:2,alignItems:"center",display:"flex"},children:[S.jsx(Jb,{sx:{marginRight:"4px",width:"16px",color:i.icon.color}}),e.category]})]})]}),S.jsxs(yl,{variant:"soft",sx:{bgcolor:i.action.hover},children:[S.jsx(Zb,{inset:"context",sx:{bgcolor:i.divider}}),S.jsxs(U0,{orientation:"horizontal",sx:{justifyContent:"space-between"},children:[S.jsx(Cb,{name:"read-only",value:e.rating,readOnly:!0}),S.jsx(go.div,{whileHover:{scale:1.1},whileTap:{scale:.95},children:S.jsx(ma,{variant:"outlined",onClick:s,sx:{color:i.button.primary,borderColor:i.button.primary,"&:hover":{backgroundColor:i.button.hover,borderColor:i.button.hover}},children:"Detail"})})]})]})]}),S.jsx(hb,{open:t,onClose:r,"aria-labelledby":"modal-modal-title","aria-describedby":"modal-modal-description",children:S.jsxs(qe,{sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:400,bgcolor:i.card.backgroundColor,border:`2px solid ${i.divider}`,boxShadow:24,p:4,color:i.card.color},children:[S.jsx(Qb,{children:S.jsx(yl,{children:S.jsx(Xf,{ratio:"2",children:S.jsx("img",{src:e.image+"?auto=format&fit=crop&w=318",srcSet:e.image+"?auto=format&fit=crop&w=318&dpr=2 2x",loading:"lazy",alt:e.name})})})}),S.jsx(ve,{id:"modal-modal-description",sx:{mt:2,color:i.text.primary},children:e.detail})]})})]})}function kj(){const{theme:e}=x.useContext(Nn);return S.jsx(gt,{container:!0,spacing:{xs:2,md:3,lg:4},sx:{flexGrow:1,justifyContent:"center",padding:2,width:"100%",margin:"0 auto",backgroundColor:e.mainContent.backgroundColor},children:Kh.map(t=>S.jsx(gt,{size:{xs:1,sm:3,md:4},children:S.jsx(MS,{orchid:t},t.Id)},t.Id))})}const $j=Je(S.jsx("path",{d:"M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9c.83 0 1.5-.67 1.5-1.5 0-.39-.15-.74-.39-1.01-.23-.26-.38-.61-.38-.99 0-.83.67-1.5 1.5-1.5H16c2.76 0 5-2.24 5-5 0-4.42-4.03-8-9-8m-5.5 9c-.83 0-1.5-.67-1.5-1.5S5.67 9 6.5 9 8 9.67 8 10.5 7.33 12 6.5 12m3-4C8.67 8 8 7.33 8 6.5S8.67 5 9.5 5s1.5.67 1.5 1.5S10.33 8 9.5 8m5 0c-.83 0-1.5-.67-1.5-1.5S13.67 5 14.5 5s1.5.67 1.5 1.5S15.33 8 14.5 8m3 4c-.83 0-1.5-.67-1.5-1.5S16.67 9 17.5 9s1.5.67 1.5 1.5-.67 1.5-1.5 1.5"}),"ColorLens"),Pj=Je(S.jsx("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack"),ay=Je(S.jsx("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star");function Tj(){const{id:e}=X3(),t=jh(),n=Kh.find(o=>o.Id===e),{theme:r}=x.useContext(Nn);return n?S.jsxs(gi,{maxWidth:!1,sx:{color:r.text.primary,bgcolor:r.mainContent.backgroundColor,py:4},children:[S.jsx(ma,{onClick:()=>t("/fer-lab1"),variant:"contained",startIcon:S.jsx(Pj,{}),sx:{mb:3,backgroundColor:r.button.primary},children:"Back to List"}),S.jsx(mo,{elevation:3,sx:{overflow:"hidden",borderRadius:2,backgroundColor:r.mainContent.backgroundColor,color:r.text.primary},children:S.jsxs(gt,{container:!0,spacing:0,children:[S.jsx(gt,{item:!0,xs:12,md:6,children:S.jsx(Xf,{ratio:"4/3",children:S.jsx("img",{src:n.image,alt:n.name,style:{width:"100%",height:"100%",objectFit:"cover",color:r.text.primary}})})}),S.jsx(gt,{item:!0,xs:12,md:6,children:S.jsxs(qe,{sx:{p:3},children:[S.jsx(ve,{variant:"h4",component:"h1",gutterBottom:!0,children:n.name}),S.jsxs(qe,{sx:{display:"flex",alignItems:"center",mb:2},children:[S.jsx(Cb,{name:"read-only",value:n.rating,readOnly:!0,precision:.5,emptyIcon:S.jsx(ay,{style:{opacity:.55},fontSize:"inherit"})}),S.jsxs(ve,{variant:"body1",sx:{ml:1},children:["(",n.rating,"/5)"]})]}),S.jsx(tu,{sx:{my:2}}),S.jsxs(ve,{variant:"body1",sx:{mb:2,display:"flex",alignItems:"center"},children:[S.jsx(Yh,{sx:{mr:1,color:r.text.secondary}}),"Origin:"," ",S.jsx(Xa,{label:n.origin,sx:{ml:1,color:r.icon.color}})]}),S.jsxs(ve,{variant:"body1",sx:{mb:2,display:"flex",alignItems:"center"},children:[S.jsx(Jb,{sx:{mr:1,color:r.text.secondary}}),"Category:"," ",S.jsx(Xa,{label:n.category,sx:{ml:1,color:r.icon.color}})]}),S.jsxs(ve,{variant:"body1",sx:{mb:2,display:"flex",alignItems:"center"},children:[S.jsx($j,{sx:{mr:1,color:r.text.secondary}}),"Color:"," ",S.jsx(Xa,{label:n.color,sx:{ml:1,color:r.icon.color}})]}),S.jsx(tu,{sx:{my:2}}),S.jsx(ve,{variant:"body1",paragraph:!0,children:n.detail}),n.isSpecial&&S.jsx(Xa,{icon:S.jsx(ay,{}),label:"Special Orchid",color:"warning",sx:{mt:2}})]})})]})})]}):S.jsx(gi,{maxWidth:"lg",sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh",bgcolor:r.mainContent.backgroundColor},children:S.jsx(ve,{variant:"h4",color:r.text.primary,children:"Orchid not found"})})}function Ej(){const{theme:e}=x.useContext(Nn),t=Kh.filter(n=>n.isSpecial);return S.jsx(gt,{container:!0,spacing:{xs:2,md:3,lg:4},sx:{flexGrow:1,justifyContent:"center",padding:2,width:"100%",margin:"0 auto",backgroundColor:e.mainContent.backgroundColor},children:t.map(n=>S.jsx(gt,{size:{xs:1,sm:3,md:4},children:S.jsx(MS,{orchid:n},n.Id)},n.Id))})}const Rj="/fer-lab1/assets/avt-D_utLsXG.jpg",Aj=Je(S.jsx("path",{d:"M18.6 6.62c-1.44 0-2.8.56-3.77 1.53L12 10.66 10.48 12h.01L7.8 14.39c-.64.64-1.49.99-2.4.99-1.87 0-3.39-1.51-3.39-3.38S3.53 8.62 5.4 8.62c.91 0 1.76.35 2.44 1.03l1.13 1 1.51-1.34L9.22 8.2C8.2 7.18 6.84 6.62 5.4 6.62 2.42 6.62 0 9.04 0 12s2.42 5.38 5.4 5.38c1.44 0 2.8-.56 3.77-1.53l2.83-2.5.01.01L13.52 12h-.01l2.69-2.39c.64-.64 1.49-.99 2.4-.99 1.87 0 3.39 1.51 3.39 3.38s-1.52 3.38-3.39 3.38c-.9 0-1.76-.35-2.44-1.03l-1.14-1.01-1.51 1.34 1.27 1.12c1.02 1.01 2.37 1.57 3.82 1.57 2.98 0 5.4-2.41 5.4-5.38s-2.42-5.37-5.4-5.37"}),"AllInclusive"),Mj=Je(S.jsx("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4-8 5-8-5V6l8 5 8-5z"}),"Email"),Oj=Je(S.jsx("path",{d:"M12 3c-.46 0-.93.04-1.4.14-2.76.53-4.96 2.76-5.48 5.52-.48 2.61.48 5.01 2.22 6.56.43.38.66.91.66 1.47V19c0 1.1.9 2 2 2h.28c.35.6.98 1 1.72 1s1.38-.4 1.72-1H14c1.1 0 2-.9 2-2v-2.31c0-.55.22-1.09.64-1.46C18.09 13.95 19 12.08 19 10c0-3.87-3.13-7-7-7m2 16h-4v-1h4zm0-2h-4v-1h4zm-1.5-5.59V14h-1v-2.59L9.67 9.59l.71-.71L12 10.5l1.62-1.62.71.71z"}),"EmojiObjects"),Ij=Je(S.jsx("path",{d:"M9 15c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4m13.1-8.16c.01-.11.02-.22.02-.34s-.01-.23-.03-.34l.74-.58c.07-.05.08-.15.04-.22l-.7-1.21c-.04-.08-.14-.1-.21-.08l-.86.35c-.18-.14-.38-.25-.59-.34l-.13-.93c-.02-.09-.09-.15-.18-.15h-1.4c-.09 0-.16.06-.17.15l-.13.93c-.21.09-.41.21-.59.34l-.87-.35c-.08-.03-.17 0-.21.08l-.7 1.21c-.04.08-.03.17.04.22l.74.58c-.02.11-.03.23-.03.34s.01.23.03.34l-.74.58c-.07.05-.08.15-.04.22l.7 1.21c.04.08.14.1.21.08l.87-.35c.18.14.38.25.59.34l.13.93c.01.09.08.15.17.15h1.4c.09 0 .16-.06.17-.15l.13-.93c.21-.09.41-.21.59-.34l.87.35c.08.03.17 0 .21-.08l.7-1.21c.04-.08.03-.17-.04-.22zm-2.6.91c-.69 0-1.25-.56-1.25-1.25s.56-1.25 1.25-1.25 1.25.56 1.25 1.25-.56 1.25-1.25 1.25m.42 3.93-.5-.87c-.03-.06-.1-.08-.15-.06l-.62.25q-.195-.15-.42-.24l-.09-.66c-.02-.06-.08-.1-.14-.1h-1c-.06 0-.11.04-.12.11l-.09.66c-.15.06-.29.15-.42.24l-.62-.25c-.06-.02-.12 0-.15.06l-.5.87c-.03.06-.02.12.03.16l.53.41c-.01.08-.02.16-.02.24s.01.17.02.24l-.53.41c-.05.04-.06.11-.03.16l.5.87c.03.06.1.08.15.06l.62-.25q.195.15.42.24l.09.66c.01.07.06.11.12.11h1c.06 0 .12-.04.12-.11l.09-.66c.15-.06.29-.15.42-.24l.62.25c.06.02.12 0 .15-.06l.5-.87c.03-.06.02-.12-.03-.16l-.52-.41c.01-.08.02-.16.02-.24s-.01-.17-.02-.24l.53-.41c.05-.04.06-.11.04-.17m-2.42 1.65c-.46 0-.83-.38-.83-.83 0-.46.38-.83.83-.83s.83.38.83.83c0 .46-.37.83-.83.83M4.74 9h8.53c.27 0 .49-.22.49-.49v-.02c0-.27-.22-.49-.49-.49H13c0-1.48-.81-2.75-2-3.45v.95c0 .28-.22.5-.5.5s-.5-.22-.5-.5V4.14C9.68 4.06 9.35 4 9 4s-.68.06-1 .14V5.5c0 .28-.22.5-.5.5S7 5.78 7 5.5v-.95C5.81 5.25 5 6.52 5 8h-.26c-.27 0-.49.22-.49.49v.03c0 .26.22.48.49.48M9 13c1.86 0 3.41-1.28 3.86-3H5.14c.45 1.72 2 3 3.86 3"}),"Engineering"),Bj=Je(S.jsx("path",{d:"M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m13 2h-2.5A3.5 3.5 0 0 0 12 8.5V11h-2v3h2v7h3v-7h3v-3h-3V9a1 1 0 0 1 1-1h2V5z"}),"Facebook"),Dj=Je(S.jsx("path",{d:"M12 1.27a11 11 0 00-3.48 21.46c.55.09.73-.28.73-.55v-1.84c-3.03.64-3.67-1.46-3.67-1.46-.55-1.29-1.28-1.65-1.28-1.65-.92-.65.1-.65.1-.65 1.1 0 1.73 1.1 1.73 1.1.92 1.65 2.57 1.2 3.21.92a2 2 0 01.64-1.47c-2.47-.27-5.04-1.19-5.04-5.5 0-1.1.46-2.1 1.2-2.84a3.76 3.76 0 010-2.93s.91-.28 3.11 1.1c1.8-.49 3.7-.49 5.5 0 2.1-1.38 3.02-1.1 3.02-1.1a3.76 3.76 0 010 2.93c.83.74 1.2 1.74 1.2 2.94 0 4.21-2.57 5.13-5.04 5.4.45.37.82.92.82 2.02v3.03c0 .27.1.64.73.55A11 11 0 0012 1.27"}),"GitHub"),jj=Je(S.jsx("path",{d:"M7.8 2h8.4C19.4 2 22 4.6 22 7.8v8.4a5.8 5.8 0 0 1-5.8 5.8H7.8C4.6 22 2 19.4 2 16.2V7.8A5.8 5.8 0 0 1 7.8 2m-.2 2A3.6 3.6 0 0 0 4 7.6v8.8C4 18.39 5.61 20 7.6 20h8.8a3.6 3.6 0 0 0 3.6-3.6V7.6C20 5.61 18.39 4 16.4 4H7.6m9.65 1.5a1.25 1.25 0 0 1 1.25 1.25A1.25 1.25 0 0 1 17.25 8 1.25 1.25 0 0 1 16 6.75a1.25 1.25 0 0 1 1.25-1.25M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3z"}),"Instagram"),Lj=Je(S.jsx("path",{d:"M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02z"}),"Phone"),Fj=Je(S.jsx("path",{d:"M5 13.18v4L12 21l7-3.82v-4L12 17zM12 3 1 9l11 6 9-4.91V17h2V9z"}),"School"),Oo=go(qe),Nj=go(aR),Dd=({icon:e,title:t,content:n,theme:r})=>S.jsx(Nj,{elevation:3,sx:{backgroundColor:r.card.backgroundColor,color:r.text.primary,transition:"all 0.3s ease-in-out"},whileHover:{scale:1.05,boxShadow:r.elevation[3]},children:S.jsxs(dR,{children:[S.jsxs(qe,{display:"flex",alignItems:"center",mb:2,children:[an.cloneElement(e,{style:{color:r.icon.color}}),S.jsx(ve,{variant:"h6",component:"h3",ml:1,color:r.text.primary,children:t})]}),S.jsx(ve,{variant:"body1",color:r.text.secondary,children:n})]})});function _j(){const{theme:e}=x.useContext(Nn);return S.jsx(qe,{sx:{display:"flex",flexDirection:"column",minHeight:"100vh",backgroundColor:e.mainContent.backgroundColor,color:e.text.primary},children:S.jsx(gi,{maxWidth:!1,sx:{backgroundColor:e.mainContent.backgroundColor,color:e.text.primary,flex:"1 0 auto",padding:"2rem",paddingBottom:"4rem"},children:S.jsxs(qe,{py:8,children:[S.jsx(Oo,{initial:{opacity:0,y:-50},animate:{opacity:1,y:0},transition:{duration:.5},mb:6,children:S.jsx(ve,{variant:"h2",component:"h1",align:"center",gutterBottom:!0,color:e.text.primary,children:"About Me"})}),S.jsxs(gt,{container:!0,spacing:4,children:[S.jsx(gt,{item:!0,xs:12,md:4,children:S.jsx(Oo,{initial:{opacity:0,x:-50},animate:{opacity:1,x:0},transition:{duration:.5,delay:.2},children:S.jsxs(qe,{textAlign:"center",children:[S.jsx(rR,{alt:"Nguyen Huy Hoang",src:Rj,sx:{width:200,height:200,margin:"auto",mb:2}}),S.jsx(ve,{variant:"h4",component:"h2",gutterBottom:!0,color:e.text.primary,children:"Nguyen Huy Hoang"}),S.jsx(ve,{variant:"subtitle1",color:e.text.secondary,gutterBottom:!0,children:"Software Engineering Student"}),S.jsxs(qe,{children:[S.jsx(so,{"aria-label":"Facebook",sx:{color:e.icon.color},href:"https://www.facebook.com/hoangnguyen.c1002/",children:S.jsx(Bj,{})}),S.jsx(so,{"aria-label":"Instagram",sx:{color:e.icon.color},href:"https://www.instagram.com/__hoang.nguyeen__/",children:S.jsx(jj,{})}),S.jsx(so,{"aria-label":"GitHub",sx:{color:e.icon.color},href:"https://github.com/Hoang-Nguyen-Huy",children:S.jsx(Dj,{})})]})]})})}),S.jsx(gt,{item:!0,xs:12,md:8,children:S.jsxs(Oo,{initial:{opacity:0,x:50},animate:{opacity:1,x:0},transition:{duration:.5,delay:.4},children:[S.jsx(ve,{variant:"h5",component:"h3",gutterBottom:!0,color:e.text.primary,children:"Education"}),S.jsxs(qe,{display:"flex",alignItems:"center",mb:2,children:[S.jsx(Fj,{sx:{color:e.icon.color,mr:1}}),S.jsx(ve,{variant:"body1",color:e.text.primary,children:"FPT University, Ho Chi Minh City"})]}),S.jsx(ve,{variant:"body1",paragraph:!0,color:e.text.secondary,children:"I am currently pursuing a degree in Software Engineering at FPT University in Ho Chi Minh City. My passion for technology and problem-solving drives me to excel in my studies and explore innovative solutions in the field of software development."})]})})]}),S.jsxs(qe,{mt:8,children:[S.jsx(ve,{variant:"h4",component:"h2",align:"center",gutterBottom:!0,color:e.text.primary,children:"Our Approach"}),S.jsxs(gt,{container:!0,spacing:4,mt:2,children:[S.jsx(gt,{item:!0,xs:12,md:4,children:S.jsx(Oo,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.5,delay:.6},children:S.jsx(Dd,{icon:S.jsx(Oj,{fontSize:"large"}),title:"Our Mission",content:"We strive to develop innovative software solutions that address real-world challenges and improve people's lives. Our goal is to create user-friendly, efficient, and scalable applications that make a positive impact on society.",theme:e})})}),S.jsx(gt,{item:!0,xs:12,md:4,children:S.jsx(Oo,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.5,delay:.8},children:S.jsx(Dd,{icon:S.jsx(Ij,{fontSize:"large"}),title:"Expert Care",content:"Our team of skilled developers and designers are committed to delivering high-quality software products. We stay up-to-date with the latest technologies and best practices to ensure that our solutions are robust, secure, and future-proof.",theme:e})})}),S.jsx(gt,{item:!0,xs:12,md:4,children:S.jsx(Oo,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.5,delay:1},children:S.jsx(Dd,{icon:S.jsx(Aj,{fontSize:"large"}),title:"Sustainable Practices",content:"We are committed to sustainable software development practices. This includes writing clean, maintainable code, optimizing for energy efficiency, and considering the long-term environmental impact of our digital solutions.",theme:e})})})]})]})]})})})}const zj=go(mo),Vj=go(qe);function Hj(){const{theme:e}=x.useContext(Nn),[t,n]=x.useState({name:"",email:"",message:""}),r=i=>{const{name:s,value:a}=i.target;n(l=>({...l,[s]:a}))},o=i=>{i.preventDefault(),console.log("Form submitted:",t),n({name:"",email:"",message:""})};return S.jsx(qe,{sx:{display:"flex",flexDirection:"column",minHeight:"100vh",backgroundColor:e.mainContent.backgroundColor,color:e.text.primary},children:S.jsxs(gi,{maxWidth:!1,sx:{py:8,backgroundColor:e.mainContent.backgroundColor,minHeight:"100vh",padding:"2rem"},children:[S.jsx(ve,{variant:"h2",component:"h1",align:"center",gutterBottom:!0,color:e.text.primary,children:"Contact Us"}),S.jsxs(gt,{container:!0,spacing:4,justifyContent:"center",children:[S.jsx(gt,{item:!0,xs:12,md:6,children:S.jsx(zj,{elevation:3,initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.5},sx:{p:4,backgroundColor:e.card.backgroundColor},children:S.jsxs("form",{onSubmit:o,children:[S.jsx(vd,{fullWidth:!0,label:"Name",name:"name",value:t.name,onChange:r,margin:"normal",required:!0,sx:{"& .MuiInputLabel-root":{color:e.text.secondary},"& .MuiOutlinedInput-root":{"& fieldset":{borderColor:e.text.secondary},"&:hover fieldset":{borderColor:e.text.primary},"&.Mui-focused fieldset":{borderColor:e.text.primary}},"& .MuiInputBase-input":{color:e.text.primary}}}),S.jsx(vd,{fullWidth:!0,label:"Email",name:"email",type:"email",value:t.email,onChange:r,margin:"normal",required:!0,sx:{"& .MuiInputLabel-root":{color:e.text.secondary},"& .MuiOutlinedInput-root":{"& fieldset":{borderColor:e.text.secondary},"&:hover fieldset":{borderColor:e.text.primary},"&.Mui-focused fieldset":{borderColor:e.text.primary}},"& .MuiInputBase-input":{color:e.text.primary}}}),S.jsx(vd,{fullWidth:!0,label:"Message",name:"message",multiline:!0,rows:4,value:t.message,onChange:r,margin:"normal",required:!0,sx:{"& .MuiInputLabel-root":{color:e.text.secondary},"& .MuiOutlinedInput-root":{"& fieldset":{borderColor:e.text.secondary},"&:hover fieldset":{borderColor:e.text.primary},"&.Mui-focused fieldset":{borderColor:e.text.primary}},"& .MuiInputBase-input":{color:e.text.primary}}}),S.jsx(ma,{type:"submit",variant:"contained",color:"primary",size:"large",fullWidth:!0,sx:{mt:2},children:"Send Message"})]})})}),S.jsx(gt,{item:!0,xs:12,md:6,children:S.jsx(Vj,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.5,delay:.2},children:S.jsxs(mo,{elevation:3,sx:{p:4,height:"100%",backgroundColor:e.card.backgroundColor},children:[S.jsx(ve,{variant:"h5",gutterBottom:!0,color:e.text.primary,children:"Contact Information"}),S.jsxs(qe,{display:"flex",alignItems:"center",mb:2,children:[S.jsx(so,{sx:{color:e.icon.color,mr:1},children:S.jsx(Mj,{})}),S.jsx(ve,{color:e.text.primary,children:"contact@example.com"})]}),S.jsxs(qe,{display:"flex",alignItems:"center",mb:2,children:[S.jsx(so,{sx:{color:e.icon.color,mr:1},children:S.jsx(Lj,{})}),S.jsx(ve,{color:e.text.primary,children:"+1 (123) 456-7890"})]}),S.jsxs(qe,{display:"flex",alignItems:"center",mb:2,children:[S.jsx(so,{sx:{color:e.icon.color,mr:1},children:S.jsx(Yh,{})}),S.jsx(ve,{color:e.text.primary,children:"Lô E2a-7, Đường D1, Đ. D1, Long Thạnh Mỹ, Thành Phố Thủ Đức, Hồ Chí Minh"})]}),S.jsxs(qe,{mt:4,children:[S.jsx(ve,{variant:"h6",gutterBottom:!0,color:e.text.primary,children:"Find Us On Map"}),S.jsx(mo,{elevation:2,sx:{height:250,overflow:"hidden"},children:S.jsx("iframe",{src:'https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3918.610010397031!2d106.809883!3d10.841127599999998!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x31752731176b07b1%3A0xb752b24b379bae5e!2zVHLGsOG7nW5nIMSQ4bqhaSBo4buNYyBGUFQgVFAuIEhDTQ!5e0!3m2!1svi!2s!4v1727840452482!5m2!1svi!2s" width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade',width:"100%",height:"100%",style:{border:0},allowFullScreen:!0,loading:"lazy"})})]})]})})})]})]})})}function Wj(){return S.jsxs("div",{style:{position:"relative"},children:[S.jsx(bA,{}),S.jsxs(uA,{children:[S.jsx(Bo,{path:"/fer-lab1/",element:S.jsx(kj,{})}),S.jsx(Bo,{path:"/fer-lab1/natural",element:S.jsx(Ej,{})}),S.jsx(Bo,{path:"/fer-lab1/:id",element:S.jsx(Tj,{})}),S.jsx(Bo,{path:"/fer-lab1/about",element:S.jsx(_j,{})}),S.jsx(Bo,{path:"/fer-lab1/contact",element:S.jsx(Hj,{})})]}),S.jsx(CA,{})]})}Cx(document.getElementById("root")).render(S.jsx(x.StrictMode,{children:S.jsx(gA,{children:S.jsx(IE,{children:S.jsx(Wj,{})})})})); diff --git a/index.html b/index.html index 36cf21c..fff85f1 100644 --- a/index.html +++ b/index.html @@ -5,8 +5,8 @@ Vite + React - - + +