From a676b8fd72843fc678803c98446ae2dd54fca294 Mon Sep 17 00:00:00 2001 From: Hoang-Nguyen-Huy Date: Fri, 4 Oct 2024 06:47:40 +0000 Subject: [PATCH] deploy: 3b08518ab3317627518bc3d24cef0bdce3e3630f --- assets/index-Ca5nxRSK.js | 170 --------------------------------------- assets/index-DB9cro4d.js | 170 +++++++++++++++++++++++++++++++++++++++ index.html | 2 +- 3 files changed, 171 insertions(+), 171 deletions(-) delete mode 100644 assets/index-Ca5nxRSK.js create mode 100644 assets/index-DB9cro4d.js diff --git a/assets/index-Ca5nxRSK.js b/assets/index-Ca5nxRSK.js deleted file mode 100644 index 7acb54e..0000000 --- a/assets/index-Ca5nxRSK.js +++ /dev/null @@ -1,170 +0,0 @@ -var FS=Object.defineProperty;var zS=(e,t,n)=>t in e?FS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var _i=(e,t,n)=>zS(e,typeof t!="symbol"?t+"":t,n);function NS(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 uy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var cy={exports:{}},xu={},dy={exports:{}},le={};/** - * @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 la=Symbol.for("react.element"),_S=Symbol.for("react.portal"),VS=Symbol.for("react.fragment"),WS=Symbol.for("react.strict_mode"),HS=Symbol.for("react.profiler"),US=Symbol.for("react.provider"),GS=Symbol.for("react.context"),KS=Symbol.for("react.forward_ref"),YS=Symbol.for("react.suspense"),XS=Symbol.for("react.memo"),qS=Symbol.for("react.lazy"),$m=Symbol.iterator;function QS(e){return e===null||typeof e!="object"?null:(e=$m&&e[$m]||e["@@iterator"],typeof e=="function"?e:null)}var fy={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},py=Object.assign,hy={};function $i(e,t,n){this.props=e,this.context=t,this.refs=hy,this.updater=n||fy}$i.prototype.isReactComponent={};$i.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")};$i.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function my(){}my.prototype=$i.prototype;function fp(e,t,n){this.props=e,this.context=t,this.refs=hy,this.updater=n||fy}var pp=fp.prototype=new my;pp.constructor=fp;py(pp,$i.prototype);pp.isPureReactComponent=!0;var Pm=Array.isArray,gy=Object.prototype.hasOwnProperty,hp={current:null},vy={key:!0,ref:!0,__self:!0,__source:!0};function yy(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)gy.call(t,r)&&!vy.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(me,H))geo(oe,me)?(R[Z]=oe,R[ge]=H,Z=ge):(R[Z]=me,R[te]=H,Z=te);else if(geo(oe,H))R[Z]=oe,R[ge]=H,Z=ge;else break e}}return j}function o(R,j){var H=R.sortIndex-j.sortIndex;return H!==0?H:R.id-j.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,x=!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 j=n(u);j!==null;){if(j.callback===null)r(u);else if(j.startTime<=R)r(u),j.sortIndex=j.expirationTime,t(l,j);else break;j=n(u)}}function C(R){if(x=!1,p(R),!h)if(n(l)!==null)h=!0,D(w);else{var j=n(u);j!==null&&L(C,j.startTime-R)}}function w(R,j){h=!1,x&&(x=!1,g(E),E=-1),m=!0;var H=f;try{for(p(j),d=n(l);d!==null&&(!(d.expirationTime>j)||R&&!A());){var Z=d.callback;if(typeof Z=="function"){d.callback=null,f=d.priorityLevel;var q=Z(d.expirationTime<=j);j=e.unstable_now(),typeof q=="function"?d.callback=q:d===n(l)&&r(l),p(j)}else r(l);d=n(l)}if(d!==null)var re=!0;else{var te=n(u);te!==null&&L(C,te.startTime-j),re=!1}return re}finally{d=null,f=H,m=!1}}var P=!1,$=null,E=-1,S=5,T=-1;function A(){return!(e.unstable_now()-TR||125Z?(R.sortIndex=H,t(u,R),n(l)===null&&R===n(u)&&(x?(g(E),E=-1):x=!0,L(C,H-Z))):(R.sortIndex=q,t(l,R),h||m||(h=!0,D(w))),R},e.unstable_shouldYield=A,e.unstable_wrapCallback=function(R){var j=f;return function(){var H=f;f=j;try{return R.apply(this,arguments)}finally{f=H}}}})(wy);Sy.exports=wy;var lw=Sy.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 uw=b,Kt=lw;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"),Ld=Object.prototype.hasOwnProperty,cw=/^[: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={},Rm={};function dw(e){return Ld.call(Rm,e)?!0:Ld.call(Tm,e)?!1:cw.test(e)?Rm[e]=!0:(Tm[e]=!0,!1)}function fw(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 pw(e,t,n,r){if(t===null||typeof t>"u"||fw(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{Fc=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?is(e):""}function hw(e){switch(e.tag){case 5:return is(e.type);case 16:return is("Lazy");case 13:return is("Suspense");case 19:return is("SuspenseList");case 0:case 2:case 15:return e=zc(e.type,!1),e;case 11:return e=zc(e.type.render,!1),e;case 1:return e=zc(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 Fo:return"Fragment";case Lo:return"Portal";case Fd:return"Profiler";case xp:return"StrictMode";case zd:return"Suspense";case Nd:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Py:return(e.displayName||"Context")+".Consumer";case $y: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 gr:t=e._payload,e=e._init;try{return _d(e(t))}catch{}}return null}function mw(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 Ir(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 gw(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 Ma(e){e._valueTracker||(e._valueTracker=gw(e))}function Ry(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 $l(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 Vd(e,t){var n=t.checked;return We({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Mm(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ir(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 Ay(e,t){t=t.checked,t!=null&&yp(e,"checked",t,!1)}function Wd(e,t){Ay(e,t);var n=Ir(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,Ir(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Om(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"||$l(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ss=Array.isArray;function ti(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Oa.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Os(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ms={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},vw=["Webkit","ms","Moz","O"];Object.keys(ms).forEach(function(e){vw.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ms[t]=ms[e]})});function jy(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ms.hasOwnProperty(e)&&ms[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=jy(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var yw=We({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 Kd(e,t){if(t){if(yw[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 Yd(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 Xd=null;function Sp(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var qd=null,ni=null,ri=null;function Bm(e){if(e=da(e)){if(typeof qd!="function")throw Error(F(280));var t=e.stateNode;t&&(t=ku(t),qd(e.stateNode,e.type,t))}}function Dy(e){ni?ri?ri.push(e):ri=[e]:ni=e}function Ly(){if(ni){var e=ni,t=ri;if(ri=ni=null,Bm(e),t)for(e=0;e>>=0,e===0?32:31-(Rw(e)/Aw|0)|0}var Ia=64,ja=4194304;function as(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 Rl(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=as(a):(i&=s,i!==0&&(r=as(i)))}else s=n&~o,s!==0?r=as(s):i!==0&&(r=as(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 ua(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Cn(t),e[t]=n}function jw(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=vs),Hm=" ",Um=!1;function r1(e,t){switch(e){case"keyup":return l2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function o1(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var zo=!1;function c2(e,t){switch(e){case"compositionend":return o1(t);case"keypress":return t.which!==32?null:(Um=!0,Hm);case"textInput":return e=t.data,e===Hm&&Um?null:e;default:return null}}function d2(e,t){if(zo)return e==="compositionend"||!Ap&&r1(e,t)?(e=t1(),sl=Ep=Cr=null,zo=!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=Xm(n)}}function l1(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?l1(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function u1(){for(var e=window,t=$l();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=$l(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 b2(e){var t=u1(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&l1(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=qm(n,i);var s=qm(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,No=null,nf=null,xs=null,rf=!1;function Qm(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;rf||No==null||No!==$l(r)||(r=No,"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}),xs&&Fs(xs,r)||(xs=r,r=Ol(nf,"onSelect"),0Wo||(e.current=cf[Wo],cf[Wo]=null,Wo--)}function Re(e,t){Wo++,cf[Wo]=e.current,e.current=t}var jr={},Tt=Vr(jr),Bt=Vr(!1),po=jr;function di(e,t){var n=e.type.contextTypes;if(!n)return jr;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 jl(){Be(Bt),Be(Tt)}function og(e,t,n){if(Tt.current!==jr)throw Error(F(168));Re(Tt,t),Re(Bt,n)}function y1(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,mw(e)||"Unknown",o));return We({},n,r)}function Bl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||jr,po=Tt.current,Re(Tt,e),Re(Bt,Bt.current),!0}function ig(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=y1(e,t,po),r.__reactInternalMemoizedMergedChildContext=e,Be(Bt),Be(Tt),Re(Tt,e)):Be(Bt),Re(Bt,n)}var Un=null,$u=!1,Jc=!1;function x1(e){Un===null?Un=[e]:Un.push(e)}function O2(e){$u=!0,x1(e)}function Wr(){if(!Jc&&Un!==null){Jc=!0;var e=0,t=Ce;try{var n=Un;for(Ce=1;e>=s,o-=s,Kn=1<<32-Cn(t)+o|n<E?(S=$,$=null):S=$.sibling;var T=f(g,$,p[E],C);if(T===null){$===null&&($=S);break}e&&$&&T.alternate===null&&t(g,$),v=i(T,v,E),P===null?w=T:P.sibling=T,P=T,$=S}if(E===p.length)return n(g,$),Fe&&Qr(g,E),w;if($===null){for(;EE?(S=$,$=null):S=$.sibling;var A=f(g,$,T.value,C);if(A===null){$===null&&($=S);break}e&&$&&A.alternate===null&&t(g,$),v=i(A,v,E),P===null?w=A:P.sibling=A,P=A,$=S}if(T.done)return n(g,$),Fe&&Qr(g,E),w;if($===null){for(;!T.done;E++,T=p.next())T=d(g,T.value,C),T!==null&&(v=i(T,v,E),P===null?w=T:P.sibling=T,P=T);return Fe&&Qr(g,E),w}for($=r(g,$);!T.done;E++,T=p.next())T=m($,g,E,T.value,C),T!==null&&(e&&T.alternate!==null&&$.delete(T.key===null?E:T.key),v=i(T,v,E),P===null?w=T:P.sibling=T,P=T);return e&&$.forEach(function(O){return t(g,O)}),Fe&&Qr(g,E),w}function k(g,v,p,C){if(typeof p=="object"&&p!==null&&p.type===Fo&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case Aa:e:{for(var w=p.key,P=v;P!==null;){if(P.key===w){if(w=p.type,w===Fo){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===gr&&lg(w)===P.type){n(g,P.sibling),v=o(P,p.props),v.ref=Ki(g,P,p),v.return=g,g=v;break e}n(g,P);break}else t(g,P);P=P.sibling}p.type===Fo?(v=co(p.props.children,g.mode,C,p.key),v.return=g,g=v):(C=hl(p.type,p.key,p.props,null,g.mode,C),C.ref=Ki(g,v,p),C.return=g,g=C)}return s(g);case Lo: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=ad(p,g.mode,C),v.return=g,g=v}return s(g);case gr:return P=p._init,k(g,v,P(p._payload),C)}if(ss(p))return h(g,v,p,C);if(Vi(p))return x(g,v,p,C);_a(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=sd(p,g.mode,C),v.return=g,g=v),s(g)):n(g,v)}return k}var pi=w1(!0),k1=w1(!1),Fl=Vr(null),zl=null,Go=null,Bp=null;function Dp(){Bp=Go=zl=null}function Lp(e){var t=Fl.current;Be(Fl),e._currentValue=t}function pf(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 ii(e,t){zl=e,Bp=Go=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(jt=!0),e.firstContext=null)}function dn(e){var t=e._currentValue;if(Bp!==e)if(e={context:e,memoizedValue:t,next:null},Go===null){if(zl===null)throw Error(F(308));Go=e,zl.dependencies={lanes:0,firstContext:e}}else Go=Go.next=e;return t}var io=null;function Fp(e){io===null?io=[e]:io.push(e)}function $1(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,or(e,r)}function or(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 vr=!1;function zp(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function P1(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 qn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Tr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,pe&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,or(e,n)}return o=r.interleaved,o===null?(t.next=t,Fp(r)):(t.next=o.next,o.next=t),r.interleaved=t,or(e,n)}function ll(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 ug(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 Nl(e,t,n,r){var o=e.updateQueue;vr=!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,x=a;switch(f=t,m=n,x.tag){case 1:if(h=x.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=x.payload,f=typeof h=="function"?h.call(m,d,f):h,f==null)break e;d=We({},d,f);break e;case 2:vr=!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);go|=s,e.lanes=s,e.memoizedState=d}}function cg(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=td.transition;td.transition={};try{e(!1),t()}finally{Ce=n,td.transition=r}}function W1(){return fn().memoizedState}function D2(e,t,n){var r=Ar(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},H1(e))U1(t,n);else if(n=$1(e,t,n,r),n!==null){var o=At();Sn(n,e,r,o),G1(n,t,r)}}function L2(e,t,n){var r=Ar(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(H1(e))U1(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,wn(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=$1(e,t,o,r),n!==null&&(o=At(),Sn(n,e,r,o),G1(n,t,r))}}function H1(e){var t=e.alternate;return e===Ve||t!==null&&t===Ve}function U1(e,t){bs=Vl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function G1(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,kp(e,n)}}var Wl={readContext:dn,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},F2={readContext:dn,useCallback:function(e,t){return Rn().memoizedState=[e,t===void 0?null:t],e},useContext:dn,useEffect:fg,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,cl(4194308,4,F1.bind(null,t,e),n)},useLayoutEffect:function(e,t){return cl(4194308,4,e,t)},useInsertionEffect:function(e,t){return cl(4,2,e,t)},useMemo:function(e,t){var n=Rn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Rn();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=D2.bind(null,Ve,e),[r.memoizedState,e]},useRef:function(e){var t=Rn();return e={current:e},t.memoizedState=e},useState:dg,useDebugValue:Kp,useDeferredValue:function(e){return Rn().memoizedState=e},useTransition:function(){var e=dg(!1),t=e[0];return e=B2.bind(null,e[1]),Rn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ve,o=Rn();if(Fe){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),ct===null)throw Error(F(349));mo&30||A1(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,fg(O1.bind(null,r,i,e),[e]),r.flags|=2048,Gs(9,M1.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Rn(),t=ct.identifierPrefix;if(Fe){var n=Yn,r=Kn;n=(r&~(1<<32-Cn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Hs++,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[On]=t,e[_s]=r,nx(e,t,!1,!1),t.stateNode=e;e:{switch(s=Yd(n,r),n){case"dialog":Ie("cancel",e),Ie("close",e),o=r;break;case"iframe":case"object":case"embed":Ie("load",e),o=r;break;case"video":case"audio":for(o=0;ogi&&(t.flags|=128,r=!0,Yi(i,!1),t.lanes=4194304)}else{if(!r)if(e=_l(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Yi(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!Fe)return bt(t),null}else 2*Ze()-i.renderingStartTime>gi&&n!==1073741824&&(t.flags|=128,r=!0,Yi(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=Ze(),t.sibling=null,n=ze.current,Re(ze,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?zt&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 G2(e,t){switch(Ip(t),t.tag){case 1:return Dt(t.type)&&jl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return hi(),Be(Bt),Be(Tt),Vp(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return _p(t),null;case 13:if(Be(ze),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(F(340));fi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Be(ze),null;case 4:return hi(),null;case 10:return Lp(t.type._context),null;case 22:case 23:return Jp(),null;case 24:return null;default:return null}}var Wa=!1,kt=!1,K2=typeof WeakSet=="function"?WeakSet:Set,G=null;function Ko(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Xe(e,t,r)}else n.current=null}function Sf(e,t,n){try{n()}catch(r){Xe(e,t,r)}}var wg=!1;function Y2(e,t){if(of=Al,e=u1(),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(sf={focusedElem:e,selectionRange:n},Al=!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 x=h.memoizedProps,k=h.memoizedState,g=t.stateNode,v=g.getSnapshotBeforeUpdate(t.elementType===t.type?x:yn(t.type,x),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(C){Xe(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,G=e;break}G=t.return}return h=wg,wg=!1,h}function Cs(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&&Sf(t,n,i)}o=o.next}while(o!==r)}}function Tu(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 wf(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 ix(e){var t=e.alternate;t!==null&&(e.alternate=null,ix(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[On],delete t[_s],delete t[uf],delete t[A2],delete t[M2])),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 sx(e){return e.tag===5||e.tag===3||e.tag===4}function kg(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||sx(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 kf(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=Il));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}function $f(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($f(e,t,n),e=e.sibling;e!==null;)$f(e,t,n),e=e.sibling}var ht=null,xn=!1;function hr(e,t,n){for(n=n.child;n!==null;)ax(e,t,n),n=n.sibling}function ax(e,t,n){if(jn&&typeof jn.onCommitFiberUnmount=="function")try{jn.onCommitFiberUnmount(bu,n)}catch{}switch(n.tag){case 5:kt||Ko(n,t);case 6:var r=ht,o=xn;ht=null,hr(e,t,n),ht=r,xn=o,ht!==null&&(xn?(e=ht,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ht.removeChild(n.stateNode));break;case 18:ht!==null&&(xn?(e=ht,n=n.stateNode,e.nodeType===8?Zc(e.parentNode,n):e.nodeType===1&&Zc(e,n),Ds(e)):Zc(ht,n.stateNode));break;case 4:r=ht,o=xn,ht=n.stateNode.containerInfo,xn=!0,hr(e,t,n),ht=r,xn=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)&&Sf(n,t,s),o=o.next}while(o!==r)}hr(e,t,n);break;case 1:if(!kt&&(Ko(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Xe(n,t,a)}hr(e,t,n);break;case 21:hr(e,t,n);break;case 22:n.mode&1?(kt=(r=kt)||n.memoizedState!==null,hr(e,t,n),kt=r):hr(e,t,n);break;default:hr(e,t,n)}}function $g(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new K2),t.forEach(function(r){var o=rk.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function vn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=s),r&=~i}if(r=o,r=Ze()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*q2(r/1960))-r,10e?16:e,Sr===null)var r=!1;else{if(e=Sr,Sr=null,Gl=0,pe&6)throw Error(F(331));var o=pe;for(pe|=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;lZe()-Qp?uo(e,0):qp|=n),Lt(e,t)}function mx(e,t){t===0&&(e.mode&1?(t=ja,ja<<=1,!(ja&130023424)&&(ja=4194304)):t=1);var n=At();e=or(e,t),e!==null&&(ua(e,t,n),Lt(e,n))}function nk(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),mx(e,n)}function rk(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),mx(e,n)}var gx;gx=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Bt.current)jt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return jt=!1,H2(e,t,n);jt=!!(e.flags&131072)}else jt=!1,Fe&&t.flags&1048576&&b1(t,Ll,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;dl(e,t),e=t.pendingProps;var o=di(t,Tt.current);ii(t,n),o=Hp(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,Dt(r)?(i=!0,Bl(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,zp(t),o.updater=Eu,t.stateNode=o,o._reactInternals=t,mf(t,r,e,n),t=yf(null,t,r,!0,i,n)):(t.tag=0,Fe&&i&&Op(t),Rt(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(dl(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=ik(r),e=yn(r,e),o){case 0:t=vf(null,t,r,e,n);break e;case 1:t=bg(null,t,r,e,n);break e;case 11:t=yg(null,t,r,e,n);break e;case 14:t=xg(null,t,r,yn(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:yn(r,o),vf(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:yn(r,o),bg(e,t,r,o,n);case 3:e:{if(J1(t),e===null)throw Error(F(387));r=t.pendingProps,i=t.memoizedState,o=i.element,P1(e,t),Nl(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=mi(Error(F(423)),t),t=Cg(e,t,r,n,o);break e}else if(r!==o){o=mi(Error(F(424)),t),t=Cg(e,t,r,n,o);break e}else for(Vt=Er(t.stateNode.containerInfo.firstChild),Ht=t,Fe=!0,bn=null,n=k1(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(fi(),r===o){t=ir(e,t,n);break e}Rt(e,t,r,n)}t=t.child}return t;case 5:return E1(t),e===null&&ff(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,af(r,o)?s=null:i!==null&&af(r,i)&&(t.flags|=32),Z1(e,t),Rt(e,t,s,n),t.child;case 6:return e===null&&ff(t),null;case 13:return ex(e,t,n);case 4:return Np(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=pi(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:yn(r,o),yg(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,Re(Fl,r._currentValue),r._currentValue=s,i!==null)if(wn(i.value,s)){if(i.children===o.children&&!Bt.current){t=ir(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=qn(-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),pf(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),pf(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,ii(t,n),o=dn(o),r=r(o),t.flags|=1,Rt(e,t,r,n),t.child;case 14:return r=t.type,o=yn(r,t.pendingProps),o=yn(r.type,o),xg(e,t,r,o,n);case 15:return q1(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:yn(r,o),dl(e,t),t.tag=1,Dt(r)?(e=!0,Bl(t)):e=!1,ii(t,n),K1(t,r,o),mf(t,r,o,n),yf(null,t,r,!0,e,n);case 19:return tx(e,t,n);case 22:return Q1(e,t,n)}throw Error(F(156,t.tag))};function vx(e,t){return Hy(e,t)}function ok(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 ok(e,t,n,r)}function th(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ik(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 Mr(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 hl(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 Fo:return co(n.children,o,i,t);case xp:s=8,o|=8;break;case Fd:return e=ln(12,n,t,o|2),e.elementType=Fd,e.lanes=i,e;case zd:return e=ln(13,n,t,o),e.elementType=zd,e.lanes=i,e;case Nd:return e=ln(19,n,t,o),e.elementType=Nd,e.lanes=i,e;case Ey:return Au(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case $y:s=10;break e;case Py:s=9;break e;case bp:s=11;break e;case Cp:s=14;break e;case gr: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 co(e,t,n,r){return e=ln(7,e,r,t),e.lanes=n,e}function Au(e,t,n,r){return e=ln(22,e,r,t),e.elementType=Ey,e.lanes=n,e.stateNode={isHidden:!1},e}function sd(e,t,n){return e=ln(6,e,null,t),e.lanes=n,e}function ad(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 sk(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=_c(0),this.expirationTimes=_c(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_c(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function nh(e,t,n,r,o,i,s,a,l){return e=new sk(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},zp(i),e}function ak(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Cx)}catch(e){console.error(e)}}Cx(),Cy.exports=Xt;var sh=Cy.exports;const Ga=uy(sh);var Sx,Ig=sh;Sx=Ig.createRoot,Ig.hydrateRoot;function wx(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]=kx(e[n])}),t}function Pt(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return In(e)&&In(t)&&Object.keys(t).forEach(o=>{In(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&In(e[o])?r[o]=Pt(e[o],t[o],n):n.clone?r[o]=In(t[o])?kx(t[o]):t[o]:r[o]=t[o]}),r}function ks(e,t){return t?Pt(e,t,{clone:!1}):e}function fk(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 pk(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function hk(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 mk(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 Bu={xs:0,sm:600,md:900,lg:1200,xl:1536},jg={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Bu[e]}px)`},gk={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Bu[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function ar(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||jg;return t.reduce((s,a,l)=>(s[i.up(i.keys[l])]=n(t[l]),s),{})}if(typeof t=="object"){const i=r.breakpoints||jg;return Object.keys(t).reduce((s,a)=>{if(pk(i.keys,a)){const l=hk(r.containerQueries?r:gk,a);l&&(s[l]=n(t[a],a))}else if(Object.keys(i.values||Bu).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 vk(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function yk(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Du(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 Xl(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Du(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=Du(l,r)||{};return ar(s,a,d=>{let f=Xl(u,o,d);return d===f&&typeof d=="string"&&(f=Xl(u,o,`${t}${d==="default"?"":V(d)}`,d)),n===!1?f:{[n]:f}})};return i.propTypes={},i.filterProps=[t],i}function xk(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const bk={m:"margin",p:"padding"},Ck={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Bg={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Sk=xk(e=>{if(e.length>2)if(Bg[e])e=Bg[e];else return[e];const[t,n]=e.split(""),r=bk[t],o=Ck[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 pa(e,t,n,r){const o=Du(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 pa(e,"spacing",8)}function ha(e,t){return typeof t=="string"||t==null?t:e(t)}function wk(e,t){return n=>e.reduce((r,o)=>(r[o]=ha(t,n),r),{})}function kk(e,t,n,r){if(!t.includes(n))return null;const o=Sk(n),i=wk(o,r),s=e[n];return ar(e,s,i)}function $x(e,t){const n=uh(e.theme);return Object.keys(e).map(r=>kk(e,t,r,n)).reduce(ks,{})}function Ue(e){return $x(e,ah)}Ue.propTypes={};Ue.filterProps=ah;function Ge(e){return $x(e,lh)}Ge.propTypes={};Ge.filterProps=lh;function Lu(...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]?ks(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 pn(e,t){return et({prop:e,themeKey:"borders",transform:t})}const $k=pn("border",rn),Pk=pn("borderTop",rn),Ek=pn("borderRight",rn),Tk=pn("borderBottom",rn),Rk=pn("borderLeft",rn),Ak=pn("borderColor"),Mk=pn("borderTopColor"),Ok=pn("borderRightColor"),Ik=pn("borderBottomColor"),jk=pn("borderLeftColor"),Bk=pn("outline",rn),Dk=pn("outlineColor"),Fu=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=pa(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:ha(t,r)});return ar(e,e.borderRadius,n)}return null};Fu.propTypes={};Fu.filterProps=["borderRadius"];Lu($k,Pk,Ek,Tk,Rk,Ak,Mk,Ok,Ik,jk,Fu,Bk,Dk);const zu=e=>{if(e.gap!==void 0&&e.gap!==null){const t=pa(e.theme,"spacing",8),n=r=>({gap:ha(t,r)});return ar(e,e.gap,n)}return null};zu.propTypes={};zu.filterProps=["gap"];const Nu=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=pa(e.theme,"spacing",8),n=r=>({columnGap:ha(t,r)});return ar(e,e.columnGap,n)}return null};Nu.propTypes={};Nu.filterProps=["columnGap"];const _u=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=pa(e.theme,"spacing",8),n=r=>({rowGap:ha(t,r)});return ar(e,e.rowGap,n)}return null};_u.propTypes={};_u.filterProps=["rowGap"];const Lk=et({prop:"gridColumn"}),Fk=et({prop:"gridRow"}),zk=et({prop:"gridAutoFlow"}),Nk=et({prop:"gridAutoColumns"}),_k=et({prop:"gridAutoRows"}),Vk=et({prop:"gridTemplateColumns"}),Wk=et({prop:"gridTemplateRows"}),Hk=et({prop:"gridTemplateAreas"}),Uk=et({prop:"gridArea"});Lu(zu,Nu,_u,Lk,Fk,zk,Nk,_k,Vk,Wk,Hk,Uk);function ai(e,t){return t==="grey"?t:e}const Gk=et({prop:"color",themeKey:"palette",transform:ai}),Kk=et({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ai}),Yk=et({prop:"backgroundColor",themeKey:"palette",transform:ai});Lu(Gk,Kk,Yk);function Nt(e){return e<=1&&e!==0?`${e*100}%`:e}const Xk=et({prop:"width",transform:Nt}),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])||Bu[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 ar(e,e.maxWidth,t)}return null};ch.filterProps=["maxWidth"];const qk=et({prop:"minWidth",transform:Nt}),Qk=et({prop:"height",transform:Nt}),Zk=et({prop:"maxHeight",transform:Nt}),Jk=et({prop:"minHeight",transform:Nt});et({prop:"size",cssProperty:"width",transform:Nt});et({prop:"size",cssProperty:"height",transform:Nt});const e5=et({prop:"boxSizing"});Lu(Xk,ch,qk,Qk,Zk,Jk,e5);const ma={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:Fu},color:{themeKey:"palette",transform:ai},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ai},backgroundColor:{themeKey:"palette",transform:ai},p:{style:Ge},pt:{style:Ge},pr:{style:Ge},pb:{style:Ge},pl:{style:Ge},px:{style:Ge},py:{style:Ge},padding:{style:Ge},paddingTop:{style:Ge},paddingRight:{style:Ge},paddingBottom:{style:Ge},paddingLeft:{style:Ge},paddingX:{style:Ge},paddingY:{style:Ge},paddingInline:{style:Ge},paddingInlineStart:{style:Ge},paddingInlineEnd:{style:Ge},paddingBlock:{style:Ge},paddingBlockStart:{style:Ge},paddingBlockEnd:{style:Ge},m:{style:Ue},mt:{style:Ue},mr:{style:Ue},mb:{style:Ue},ml:{style:Ue},mx:{style:Ue},my:{style:Ue},margin:{style:Ue},marginTop:{style:Ue},marginRight:{style:Ue},marginBottom:{style:Ue},marginLeft:{style:Ue},marginX:{style:Ue},marginY:{style:Ue},marginInline:{style:Ue},marginInlineStart:{style:Ue},marginInlineEnd:{style:Ue},marginBlock:{style:Ue},marginBlockStart:{style:Ue},marginBlockEnd:{style:Ue},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:zu},rowGap:{style:_u},columnGap:{style:Nu},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:ch},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 t5(...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 n5(e,t){return typeof e=="function"?e(t):e}function r5(){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=Du(o,u)||{};return d?d(s):ar(s,r,h=>{let x=Xl(f,c,h);return h===x&&typeof h=="string"&&(x=Xl(f,c,`${n}${h==="default"?"":V(h)}`,h)),l===!1?x:{[l]:x}})}function t(n){const{sx:r,theme:o={}}=n||{};if(!r)return null;const i=o.unstable_sxConfig??ma;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=vk(o.breakpoints),c=Object.keys(u);let d=u;return Object.keys(l).forEach(f=>{const m=n5(l[f],o);if(m!=null)if(typeof m=="object")if(i[f])d=ks(d,e(f,m,o,i));else{const h=ar({theme:o},m,x=>({[f]:x}));t5(h,m)?d[f]=t({sx:m,theme:o}):d=ks(d,h)}else d=ks(d,e(f,m,o,i))}),fk(o,yk(c,d))}return Array.isArray(r)?r.map(s):s(r)}return t}const Ti=r5();Ti.filterProps=["sx"];const o5=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??ma;return Object.keys(e).forEach(o=>{n[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]}),t};function Px(e){const{sx:t,...n}=e,{systemProps:r,otherProps:o}=o5(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...s)=>{const a=t(...s);return In(a)?{...r,...a}:r}:i={...r,...t},{...o,sx:i}}function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?gt(Ri,--Ft):0,vi--,nt===10&&(vi=1,Wu--),nt}function Ut(){return nt=Ft2||Xs(nt)>3?"":" "}function C5(e,t){for(;--t&&Ut()&&!(nt<48||nt>102||nt>57&&nt<65||nt>70&&nt<97););return ga(e,ml()+(t<6&&Dn()==32&&Ut()==32))}function Mf(e){for(;Ut();)switch(nt){case e:return Ft;case 34:case 39:e!==34&&e!==39&&Mf(nt);break;case 40:e===41&&Mf(e);break;case 92:Ut();break}return Ft}function S5(e,t){for(;Ut()&&e+nt!==57;)if(e+nt===84&&Dn()===47)break;return"/*"+ga(t,Ft-1)+"*"+Vu(e===47?e:Ut())}function w5(e){for(;!Xs(Dn());)Ut();return ga(e,Ft)}function k5(e){return Ix(vl("",null,null,null,[""],e=Ox(e),0,[0],e))}function vl(e,t,n,r,o,i,s,a,l){for(var u=0,c=0,d=s,f=0,m=0,h=0,x=1,k=1,g=1,v=0,p="",C=o,w=i,P=r,$=p;k;)switch(h=v,v=Ut()){case 40:if(h!=108&>($,d-1)==58){Af($+=ye(gl(v),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:$+=gl(v);break;case 9:case 10:case 13:case 32:$+=b5(h);break;case 92:$+=C5(ml()-1,7);continue;case 47:switch(Dn()){case 42:case 47:Ka($5(S5(Ut(),ml()),t,n),l);break;default:$+="/"}break;case 123*x:a[u++]=An($)*g;case 125*x:case 59:case 0:switch(v){case 0:case 125:k=0;case 59+c:g==-1&&($=ye($,/\f/g,"")),m>0&&An($)-d&&Ka(m>32?Lg($+";",r,n,d-1):Lg(ye($," ","")+";",r,n,d-2),l);break;case 59:$+=";";default:if(Ka(P=Dg($,t,n,u,c,o,a,p,C=[],w=[],d),i),v===123)if(c===0)vl($,t,P,P,C,i,d,a,w);else switch(f===99&>($,3)===110?100:f){case 100:case 108:case 109:case 115:vl(e,P,P,r&&Ka(Dg(e,P,P,0,0,o,a,p,o,C=[],d),w),o,w,d,a,r?C:w);break;default:vl($,P,P,P,[""],w,0,a,w)}}u=c=m=0,x=g=1,p=$="",d=s;break;case 58:d=1+An($),m=h;default:if(x<1){if(v==123)--x;else if(v==125&&x++==0&&x5()==125)continue}switch($+=Vu(v),v*x){case 38:g=c>0?1:($+="\f",-1);break;case 44:a[u++]=(An($)-1)*g,g=1;break;case 64:Dn()===45&&($+=gl(Ut())),f=Dn(),c=d=An(p=$+=w5(ml())),v++;break;case 45:h===45&&An($)==2&&(x=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,x=0,k=0;h0?f[g]+" "+v:ye(v,/&\f/g,f[g])))&&(l[k++]=p);return Hu(e,t,n,o===0?dh:a,l,u,c)}function $5(e,t,n){return Hu(e,t,n,Tx,Vu(y5()),Ys(e,2,-2),0)}function Lg(e,t,n,r){return Hu(e,t,n,fh,Ys(e,0,r),Ys(e,r+1,-1),r)}function li(e,t){for(var n="",r=ph(e),o=0;o6)switch(gt(e,t+1)){case 109:if(gt(e,t+4)!==45)break;case 102:return ye(e,/(.+:)(.+)-([^]+)/,"$1"+ve+"$2-$3$1"+ql+(gt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Af(e,"stretch")?jx(ye(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(gt(e,t+1)!==115)break;case 6444:switch(gt(e,An(e)-3-(~Af(e,"!important")&&10))){case 107:return ye(e,":",":"+ve)+e;case 101:return ye(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ve+(gt(e,14)===45?"inline-":"")+"box$3$1"+ve+"$2$3$1"+St+"$2box$3")+e}break;case 5936:switch(gt(e,t+11)){case 114:return ve+e+St+ye(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ve+e+St+ye(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ve+e+St+ye(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ve+e+St+e+e}return e}var j5=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case fh:t.return=jx(t.value,t.length);break;case Rx:return li([qi(t,{value:ye(t.value,"@","@"+ve)})],o);case dh:if(t.length)return v5(t.props,function(i){switch(g5(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return li([qi(t,{props:[ye(i,/:(read-\w+)/,":"+ql+"$1")]})],o);case"::placeholder":return li([qi(t,{props:[ye(i,/:(plac\w+)/,":"+ve+"input-$1")]}),qi(t,{props:[ye(i,/:(plac\w+)/,":"+ql+"$1")]}),qi(t,{props:[ye(i,/:(plac\w+)/,St+"input-$1")]})],o)}return""})}},B5=[j5],D5=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(x){var k=x.getAttribute("data-emotion");k.indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))})}var o=t.stylisPlugins||B5,i={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(x){for(var k=x.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 Y5={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},X5=!1,q5=/[A-Z]|^ms/g,Q5=/_EMO_([^_]+?)_([^]*?)_EMO_/g,_x=function(t){return t.charCodeAt(1)===45},zg=function(t){return t!=null&&typeof t!="boolean"},ld=Ex(function(e){return _x(e)?e:e.replace(q5,"-$&").toLowerCase()}),Ng=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Q5,function(r,o,i){return Mn={name:o,styles:i,next:Mn},o})}return Y5[t]!==1&&!_x(t)&&typeof n=="number"&&n!==0?n+"px":n},Z5="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function qs(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 Mn={name:o.name,styles:o.styles,next:Mn},o.name;var i=n;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)Mn={name:s.name,styles:s.styles,next:Mn},s=s.next;var a=i.styles+";";return a}return J5(e,t,n)}case"function":{if(e!==void 0){var l=Mn,u=n(e);return Mn=l,qs(e,t,u)}break}}var c=n;if(t==null)return c;var d=t[c];return d!==void 0?d:c}function J5(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?o$:i$},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},s$=!1,a$=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return zx(n,r,o),t$(function(){return Nx(n,r,o)}),null},l$=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||Wg(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(c$(o)?n:o):t;return y.jsx(n$,{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 Ux(e,t){return Ql(e,t)}const f$=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},p$=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 h$(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,i=p$(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 g$(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 nc(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={},...s}=e,a=h$(n),l=Gx(o);let u=Pt({breakpoints:a,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:l,shape:{...m$,...i}},s);return u=mk(u),u.applyStyles=g$,u=t.reduce((c,d)=>Pt(c,d),u),u.unstable_sxConfig={...ma,...s==null?void 0:s.unstable_sxConfig},u.unstable_sx=function(d){return Ti({sx:d,theme:this})},u}function v$(e){return Object.keys(e).length===0}function y$(e=null){const t=b.useContext(tc);return!t||v$(t)?e:t}const x$=nc();function rc(e=x$){return y$(e)}function b$({styles:e,themeId:t,defaultTheme:n={}}){const r=rc(n),o=typeof e=="function"?e(t&&r[t]||r):e;return y.jsx(d$,{styles:o})}const Ug=e=>e,C$=()=>{let e=Ug;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Ug}}},Kx=C$();function S$(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=Ux("div",{shouldForwardProp:a=>a!=="theme"&&a!=="sx"&&a!=="as"})(Ti);return b.forwardRef(function(l,u){const c=rc(n),{className:d,component:f="div",...m}=Px(l);return y.jsx(i,{as:f,ref:u,className:Y(d,o?o(r):r),theme:t&&c[t]||c,...m})})}const w$={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 fe(e,t,n="Mui"){const r=w$[t];return r?`${n}-${r}`:`${Kx.generate(e)}-${t}`}function ue(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=fe(e,o,n)}),r}const k$=nc();function ud(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Of(e,t,n){return P$(t)?n:t[e]||t}const Ya=Symbol("mui.processed_props");function Xa(e,t,n){if(Ya in e)return e[Ya];const r={...e,theme:Of(t,e.theme,n)};return e[Ya]=r,r[Ya]=r,r}function $$(e){return e?(t,n)=>n[e]:null}function yl(e,t){var r;const n=typeof e=="function"?e(t):e;if(Array.isArray(n))return n.flatMap(o=>yl(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;lTi(Xa(a,t,n));return i.__mui_systemSx=!0,(a,l={})=>{f$(a,P=>P.filter($=>!($!=null&&$.__mui_systemSx)));const{name:u,slot:c,skipVariantsResolver:d,skipSx:f,overridesResolver:m=$$(T$(c)),...h}=l,x=d!==void 0?d:c&&c!=="Root"&&c!=="root"||!1,k=f||!1;let g,v=ud;c==="Root"||c==="root"?v=r:c?v=o:E$(a)&&(v=void 0);const p=Ux(a,{shouldForwardProp:v,label:g,...h}),C=P=>typeof P=="function"&&P.__emotion_real!==P||In(P)?$=>yl(P,Xa($,t,n)):P,w=(P,...$)=>{let E=C(P);const S=$?$.map(C):[];u&&m&&S.push(O=>{const B=Of(t,O.theme,n);if(!B.components||!B.components[u]||!B.components[u].styleOverrides)return null;const I=B.components[u].styleOverrides,N={},D=Xa(O,t,n);for(const L in I)N[L]=yl(I[L],D);return m(O,N)}),u&&!x&&S.push(O=>{var N,D;const B=Of(t,O.theme,n),I=(D=(N=B==null?void 0:B.components)==null?void 0:N[u])==null?void 0:D.variants;return I?yl({variants:I},Xa(O,t,n)):null}),k||S.push(i);const T=S.length-$.length;if(Array.isArray(P)&&T>0){const O=new Array(T).fill("");E=[...P,...O],E.raw=[...P.raw,...O]}const A=p(E,...S);return a.muiName&&(A.muiName=a.muiName),A};return p.withConfig&&(w.withConfig=p.withConfig),w}}function P$(e){for(const t in e)return!1;return!0}function E$(e){return typeof e=="string"&&e.charCodeAt(0)>96}function T$(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const R$=Yx();function Qs(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]=Qs(i[l],s[l])}}}else n[o]===void 0&&(n[o]=e[o])}return n}function A$(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Qs(t.components[n].defaultProps,r)}function Xx({props:e,name:t,defaultTheme:n,themeId:r}){let o=rc(n);return r&&(o=o[r]||o),A$({theme:o,name:t,props:e})}const Br=typeof window<"u"?b.useLayoutEffect:b.useEffect;function qx(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 qx(e,t,n)}function M$(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 Dr(e){if(e.type)return e;if(e.charAt(0)==="#")return Dr(M$(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(sr(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(sr(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const O$=e=>{const t=Dr(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},us=(e,t)=>{try{return O$(e)}catch{return e}};function oc(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=Dr(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])),oc({type:a,values:l})}function If(e){e=Dr(e);let t=e.type==="hsl"||e.type==="hsla"?Dr(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 I$(e,t){const n=If(e),r=If(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function je(e,t){return e=Dr(e),t=xh(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,oc(e)}function qa(e,t,n){try{return je(e,t)}catch{return e}}function bh(e,t){if(e=Dr(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 oc(e)}function Ee(e,t,n){try{return bh(e,t)}catch{return e}}function Ch(e,t){if(e=Dr(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 oc(e)}function Te(e,t,n){try{return Ch(e,t)}catch{return e}}function j$(e,t=.15){return If(e)>.5?bh(e,t):Ch(e,t)}function Qa(e,t,n){try{return j$(e,t)}catch{return e}}function Gg(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function Zx(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 cd(e,t){var n,r,o;return b.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 yo(e){return Gt(e).defaultView||window}function jf(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let Kg=0;function B$(e){const[t,n]=b.useState(e),r=e||t;return b.useEffect(()=>{t==null&&(Kg+=1,n(`mui-${Kg}`))},[t]),r}const Yg=kl.useId;function ic(e){if(Yg!==void 0){const t=Yg();return e??t}return B$(e)}function Bf({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=b.useRef(e!==void 0),[i,s]=b.useState(t),a=o?e:i,l=b.useCallback(u=>{o||s(u)},[]);return[a,l]}function Xo(e){const t=b.useRef(e);return Br(()=>{t.current=e}),b.useRef((...n)=>(0,t.current)(...n)).current}function lt(...e){return b.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{jf(n,t)})},e)}const Xg={};function Jx(e,t){const n=b.useRef(Xg);return n.current===Xg&&(n.current=e(t)),n}const D$=[];function L$(e){b.useEffect(e,D$)}class Sh{constructor(){_i(this,"currentId",null);_i(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});_i(this,"disposeEffect",()=>this.clear)}static create(){return new Sh}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function eb(){const e=Jx(Sh.create).current;return L$(e.disposeEffect),e}function Zl(e){try{return e.matches(":focus-visible")}catch{}return!1}function tb(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const F$={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function z$(e){return typeof e=="string"}function nb(e,t,n){return e===void 0||z$(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function rb(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 qg(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 ob(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},x={...n,...o,...r};return m.length>0&&(x.className=m),Object.keys(h).length>0&&(x.style=h),{props:x,internalRef:void 0}}const s=rb({...o,...r}),a=qg(r),l=qg(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 ib(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?{}:ib(n,r),{props:a,internalRef:l}=ob({...i,externalSlotProps:s}),u=lt(l,s==null?void 0:s.ref,(d=e.additionalProps)==null?void 0:d.ref);return nb(t,{...a,ref:u},r)}function va(e){return!e||!b.isValidElement(e)?null:e.props.propertyIsEnumerable("ref")?e.props.ref:e.ref}const N$=b.createContext(),sb=()=>b.useContext(N$)??!1,_$=b.createContext(void 0);function V$(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?Qs(o.defaultProps,r):!o.styleOverrides&&!o.variants?Qs(o,r):r}function W$({props:e,name:t}){const n=b.useContext(_$);return V$({props:e,name:t,theme:{components:n}})}function H$(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 Zg=(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])})},U$=(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)},G$=(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 dd(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},s={};return U$(e,(a,l,u)=>{if((typeof l=="string"||typeof l=="number")&&(!r||!r(a,l))){const c=`--${n?`${n}-`:""}${a.join("-")}`,d=G$(a,l);Object.assign(o,{[c]:d}),Zg(i,a,`var(${c})`,u),Zg(s,a,`var(${c}, ${d})`,u)}},a=>a[0]==="vars"),{css:o,vars:i,varsWithDefaults:s}}function K$(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}=dd(l,t);let f=d;const m={},{[a]:h,...x}=i;if(Object.entries(x||{}).forEach(([p,C])=>{const{vars:w,css:P,varsWithDefaults:$}=dd(C,t);f=Pt(f,$),m[p]={css:P,vars:w}}),h){const{css:p,vars:C,varsWithDefaults:w}=dd(h,t);f=Pt(f,w),m[a]={css:p,vars:C}}function k(p,C){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":C}};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:C}])=>{p=Pt(p,C)}),p},generateStyleSheets:()=>{var E,S;const p=[],C=e.defaultColorScheme||"light";function w(T,A){Object.keys(A).length&&p.push(typeof T=="string"?{[T]:{...A}}:T)}w(n(void 0,{...c}),c);const{[C]:P,...$}=m;if(P){const{css:T}=P,A=(S=(E=i[C])==null?void 0:E.palette)==null?void 0:S.mode,O=!r&&A?{colorScheme:A,...T}:{...T};w(n(C,{...O}),O)}return Object.entries($).forEach(([T,{css:A}])=>{var I,N;const O=(N=(I=i[T])==null?void 0:I.palette)==null?void 0:N.mode,B=!r&&O?{colorScheme:O,...A}:{...A};w(n(T,{...B}),B)}),p}}}function Y$(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 X$=nc(),q$=R$("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]}}),Q$=e=>Xx({props:e,name:"MuiContainer",defaultTheme:X$}),Z$=(e,t)=>{const n=l=>fe(t,l),{classes:r,fixed:o,disableGutters:i,maxWidth:s}=e,a={root:["root",s&&`maxWidth${V(String(s))}`,o&&"fixed",i&&"disableGutters"]};return he(a,n,r)};function J$(e={}){const{createStyledComponent:t=q$,useThemeProps:n=Q$,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 b.forwardRef(function(a,l){const u=n(a),{className:c,component:d="div",disableGutters:f=!1,fixed:m=!1,maxWidth:h="lg",classes:x,...k}=u,g={...u,component:d,disableGutters:f,fixed:m,maxWidth:h},v=Z$(g,r);return y.jsx(o,{as:d,ownerState:g,className:Y(v.root,c),ref:l,...k})})}const Zs={black:"#000",white:"#fff"},eP={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"},Eo={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"},To={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"},Qi={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"},Ro={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"},Ao={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"},Mo={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"},Jg={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:Zs.white,default:Zs.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}},fd={text:{primary:Zs.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:Zs.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 e0(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 tP(e="light"){return e==="dark"?{main:Ro[200],light:Ro[50],dark:Ro[400]}:{main:Ro[700],light:Ro[400],dark:Ro[800]}}function nP(e="light"){return e==="dark"?{main:Eo[200],light:Eo[50],dark:Eo[400]}:{main:Eo[500],light:Eo[300],dark:Eo[700]}}function rP(e="light"){return e==="dark"?{main:To[500],light:To[300],dark:To[700]}:{main:To[700],light:To[400],dark:To[800]}}function oP(e="light"){return e==="dark"?{main:Ao[400],light:Ao[300],dark:Ao[700]}:{main:Ao[700],light:Ao[500],dark:Ao[900]}}function iP(e="light"){return e==="dark"?{main:Mo[400],light:Mo[300],dark:Mo[700]}:{main:Mo[800],light:Mo[500],dark:Mo[900]}}function sP(e="light"){return e==="dark"?{main:Qi[400],light:Qi[300],dark:Qi[700]}:{main:"#ed6c02",light:Qi[500],dark:Qi[900]}}function wh(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...o}=e,i=e.primary||tP(t),s=e.secondary||nP(t),a=e.error||rP(t),l=e.info||oP(t),u=e.success||iP(t),c=e.warning||sP(t);function d(x){return I$(x,fd.text.primary)>=n?fd.text.primary:Jg.text.primary}const f=({color:x,name:k,mainShade:g=500,lightShade:v=300,darkShade:p=700})=>{if(x={...x},!x.main&&x[g]&&(x.main=x[g]),!x.hasOwnProperty("main"))throw new Error(sr(11,k?` (${k})`:"",g));if(typeof x.main!="string")throw new Error(sr(12,k?` (${k})`:"",JSON.stringify(x.main)));return e0(x,"light",v,r),e0(x,"dark",p,r),x.contrastText||(x.contrastText=d(x.main)),x},m={dark:fd,light:Jg};return Pt({common:{...Zs},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:eP,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r,...m[t]},o)}function aP(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 lP(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function uP(e){return Math.round(e*1e5)/1e5}const t0={textTransform:"uppercase"},n0='"Roboto", "Helvetica", "Arial", sans-serif';function cP(e,t){const{fontFamily:n=n0,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,C)=>({fontFamily:n,fontWeight:k,fontSize:m(g),lineHeight:v,...n===n0?{letterSpacing:`${uP(p/g)}em`}:{},...C,...u}),x={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,t0),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,t0),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,...x},d,{clone:!1})}const dP=.2,fP=.14,pP=.12;function Le(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${dP})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${fP})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${pP})`].join(",")}const hP=["none",Le(0,2,1,-1,0,1,1,0,0,1,3,0),Le(0,3,1,-2,0,2,2,0,0,1,5,0),Le(0,3,3,-2,0,3,4,0,0,1,8,0),Le(0,2,4,-1,0,4,5,0,0,1,10,0),Le(0,3,5,-1,0,5,8,0,0,1,14,0),Le(0,3,5,-1,0,6,10,0,0,1,18,0),Le(0,4,5,-2,0,7,10,1,0,2,16,1),Le(0,5,5,-3,0,8,10,1,0,3,14,2),Le(0,5,6,-3,0,9,12,1,0,3,16,2),Le(0,6,6,-3,0,10,14,1,0,4,18,3),Le(0,6,7,-4,0,11,15,1,0,4,20,3),Le(0,7,8,-4,0,12,17,2,0,5,22,4),Le(0,7,8,-4,0,13,19,2,0,5,24,4),Le(0,7,9,-4,0,14,21,2,0,5,26,4),Le(0,8,9,-5,0,15,22,2,0,6,28,5),Le(0,8,10,-5,0,16,24,2,0,6,30,5),Le(0,8,11,-5,0,17,26,2,0,6,32,5),Le(0,9,11,-5,0,18,28,2,0,7,34,6),Le(0,9,12,-6,0,19,29,2,0,7,36,6),Le(0,10,13,-6,0,20,31,3,0,8,38,7),Le(0,10,13,-6,0,21,33,3,0,8,40,7),Le(0,10,14,-6,0,22,35,3,0,8,42,7),Le(0,11,14,-7,0,23,36,3,0,9,44,8),Le(0,11,15,-7,0,24,38,3,0,9,46,8)],mP={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)"},gP={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function r0(e){return`${Math.round(e)}ms`}function vP(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function yP(e){const t={...mP,...e.easing},n={...gP,...e.duration};return{getAutoHeightDuration:vP,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:r0(s)} ${a} ${typeof l=="string"?l:r0(l)}`).join(",")},...e,easing:t,duration:n}}const xP={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(sr(20));const c=wh(i),d=nc(e);let f=Pt(d,{mixins:lP(d.breakpoints,r),palette:c,shadows:hP.slice(),typography:cP(c,a),transitions:yP(s),zIndex:{...xP}});return f=Pt(f,u),f=t.reduce((m,h)=>Pt(m,h),f),f.unstable_sxConfig={...ma,...u==null?void 0:u.unstable_sxConfig},f.unstable_sx=function(h){return Ti({sx:h,theme:this})},f}function Lf(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 bP=[...Array(25)].map((e,t)=>{if(t===0)return;const n=Lf(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function ab(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function lb(e){return e==="dark"?bP:[]}function CP(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...o}=e,i=wh(t);return{palette:i,opacity:{...ab(i.mode),...n},overlays:r||lb(i.mode),...o}}function SP(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 wP=e=>[...[...Array(24)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n+1}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],kP=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 wP(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 $P(e){return In(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function PP(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 cs(e){return!e||!e.startsWith("hsl")?e:Qx(e)}function Wn(e,t){`${t}Channel`in e||(e[`${t}Channel`]=us(cs(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 TP(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const En=e=>{try{return e()}catch{}},RP=(e="mui")=>H$(e);function pd(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}=Df({...n,palette:{mode:o,...t==null?void 0:t.palette}});return e[r]={...t,palette:i,opacity:{...ab(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||lb(o)},s}function AP(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:s=SP,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=RP(i),{[c]:f,light:m,dark:h,...x}=n,k={...x};let g=f;if((c==="dark"&&!("dark"in n)||c==="light"&&!("light"in n))&&(g=!0),!g)throw new Error(sr(21,c));const v=pd(k,g,l,c);m&&!k.light&&pd(k,m,void 0,"light"),h&&!k.dark&&pd(k,h,void 0,"dark");let p={defaultColorScheme:c,...v,cssVarPrefix:i,colorSchemeSelector:a,getCssVar:d,colorSchemes:k,font:{...aP(v.typography),...v.font},spacing:TP(l.spacing)};Object.keys(p.colorSchemes).forEach(E=>{const S=p.colorSchemes[E].palette,T=A=>{const O=A.split("-"),B=O[1],I=O[2];return d(A,S[B][I])};if(S.mode==="light"&&(M(S.common,"background","#fff"),M(S.common,"onBackground","#000")),S.mode==="dark"&&(M(S.common,"background","#000"),M(S.common,"onBackground","#fff")),EP(S,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),S.mode==="light"){M(S.Alert,"errorColor",Ee(S.error.light,.6)),M(S.Alert,"infoColor",Ee(S.info.light,.6)),M(S.Alert,"successColor",Ee(S.success.light,.6)),M(S.Alert,"warningColor",Ee(S.warning.light,.6)),M(S.Alert,"errorFilledBg",T("palette-error-main")),M(S.Alert,"infoFilledBg",T("palette-info-main")),M(S.Alert,"successFilledBg",T("palette-success-main")),M(S.Alert,"warningFilledBg",T("palette-warning-main")),M(S.Alert,"errorFilledColor",En(()=>S.getContrastText(S.error.main))),M(S.Alert,"infoFilledColor",En(()=>S.getContrastText(S.info.main))),M(S.Alert,"successFilledColor",En(()=>S.getContrastText(S.success.main))),M(S.Alert,"warningFilledColor",En(()=>S.getContrastText(S.warning.main))),M(S.Alert,"errorStandardBg",Te(S.error.light,.9)),M(S.Alert,"infoStandardBg",Te(S.info.light,.9)),M(S.Alert,"successStandardBg",Te(S.success.light,.9)),M(S.Alert,"warningStandardBg",Te(S.warning.light,.9)),M(S.Alert,"errorIconColor",T("palette-error-main")),M(S.Alert,"infoIconColor",T("palette-info-main")),M(S.Alert,"successIconColor",T("palette-success-main")),M(S.Alert,"warningIconColor",T("palette-warning-main")),M(S.AppBar,"defaultBg",T("palette-grey-100")),M(S.Avatar,"defaultBg",T("palette-grey-400")),M(S.Button,"inheritContainedBg",T("palette-grey-300")),M(S.Button,"inheritContainedHoverBg",T("palette-grey-A100")),M(S.Chip,"defaultBorder",T("palette-grey-400")),M(S.Chip,"defaultAvatarColor",T("palette-grey-700")),M(S.Chip,"defaultIconColor",T("palette-grey-700")),M(S.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),M(S.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),M(S.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),M(S.LinearProgress,"primaryBg",Te(S.primary.main,.62)),M(S.LinearProgress,"secondaryBg",Te(S.secondary.main,.62)),M(S.LinearProgress,"errorBg",Te(S.error.main,.62)),M(S.LinearProgress,"infoBg",Te(S.info.main,.62)),M(S.LinearProgress,"successBg",Te(S.success.main,.62)),M(S.LinearProgress,"warningBg",Te(S.warning.main,.62)),M(S.Skeleton,"bg",`rgba(${T("palette-text-primaryChannel")} / 0.11)`),M(S.Slider,"primaryTrack",Te(S.primary.main,.62)),M(S.Slider,"secondaryTrack",Te(S.secondary.main,.62)),M(S.Slider,"errorTrack",Te(S.error.main,.62)),M(S.Slider,"infoTrack",Te(S.info.main,.62)),M(S.Slider,"successTrack",Te(S.success.main,.62)),M(S.Slider,"warningTrack",Te(S.warning.main,.62));const A=Qa(S.background.default,.8);M(S.SnackbarContent,"bg",A),M(S.SnackbarContent,"color",En(()=>S.getContrastText(A))),M(S.SpeedDialAction,"fabHoverBg",Qa(S.background.paper,.15)),M(S.StepConnector,"border",T("palette-grey-400")),M(S.StepContent,"border",T("palette-grey-400")),M(S.Switch,"defaultColor",T("palette-common-white")),M(S.Switch,"defaultDisabledColor",T("palette-grey-100")),M(S.Switch,"primaryDisabledColor",Te(S.primary.main,.62)),M(S.Switch,"secondaryDisabledColor",Te(S.secondary.main,.62)),M(S.Switch,"errorDisabledColor",Te(S.error.main,.62)),M(S.Switch,"infoDisabledColor",Te(S.info.main,.62)),M(S.Switch,"successDisabledColor",Te(S.success.main,.62)),M(S.Switch,"warningDisabledColor",Te(S.warning.main,.62)),M(S.TableCell,"border",Te(qa(S.divider,1),.88)),M(S.Tooltip,"bg",qa(S.grey[700],.92))}if(S.mode==="dark"){M(S.Alert,"errorColor",Te(S.error.light,.6)),M(S.Alert,"infoColor",Te(S.info.light,.6)),M(S.Alert,"successColor",Te(S.success.light,.6)),M(S.Alert,"warningColor",Te(S.warning.light,.6)),M(S.Alert,"errorFilledBg",T("palette-error-dark")),M(S.Alert,"infoFilledBg",T("palette-info-dark")),M(S.Alert,"successFilledBg",T("palette-success-dark")),M(S.Alert,"warningFilledBg",T("palette-warning-dark")),M(S.Alert,"errorFilledColor",En(()=>S.getContrastText(S.error.dark))),M(S.Alert,"infoFilledColor",En(()=>S.getContrastText(S.info.dark))),M(S.Alert,"successFilledColor",En(()=>S.getContrastText(S.success.dark))),M(S.Alert,"warningFilledColor",En(()=>S.getContrastText(S.warning.dark))),M(S.Alert,"errorStandardBg",Ee(S.error.light,.9)),M(S.Alert,"infoStandardBg",Ee(S.info.light,.9)),M(S.Alert,"successStandardBg",Ee(S.success.light,.9)),M(S.Alert,"warningStandardBg",Ee(S.warning.light,.9)),M(S.Alert,"errorIconColor",T("palette-error-main")),M(S.Alert,"infoIconColor",T("palette-info-main")),M(S.Alert,"successIconColor",T("palette-success-main")),M(S.Alert,"warningIconColor",T("palette-warning-main")),M(S.AppBar,"defaultBg",T("palette-grey-900")),M(S.AppBar,"darkBg",T("palette-background-paper")),M(S.AppBar,"darkColor",T("palette-text-primary")),M(S.Avatar,"defaultBg",T("palette-grey-600")),M(S.Button,"inheritContainedBg",T("palette-grey-800")),M(S.Button,"inheritContainedHoverBg",T("palette-grey-700")),M(S.Chip,"defaultBorder",T("palette-grey-700")),M(S.Chip,"defaultAvatarColor",T("palette-grey-300")),M(S.Chip,"defaultIconColor",T("palette-grey-300")),M(S.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),M(S.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),M(S.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),M(S.LinearProgress,"primaryBg",Ee(S.primary.main,.5)),M(S.LinearProgress,"secondaryBg",Ee(S.secondary.main,.5)),M(S.LinearProgress,"errorBg",Ee(S.error.main,.5)),M(S.LinearProgress,"infoBg",Ee(S.info.main,.5)),M(S.LinearProgress,"successBg",Ee(S.success.main,.5)),M(S.LinearProgress,"warningBg",Ee(S.warning.main,.5)),M(S.Skeleton,"bg",`rgba(${T("palette-text-primaryChannel")} / 0.13)`),M(S.Slider,"primaryTrack",Ee(S.primary.main,.5)),M(S.Slider,"secondaryTrack",Ee(S.secondary.main,.5)),M(S.Slider,"errorTrack",Ee(S.error.main,.5)),M(S.Slider,"infoTrack",Ee(S.info.main,.5)),M(S.Slider,"successTrack",Ee(S.success.main,.5)),M(S.Slider,"warningTrack",Ee(S.warning.main,.5));const A=Qa(S.background.default,.98);M(S.SnackbarContent,"bg",A),M(S.SnackbarContent,"color",En(()=>S.getContrastText(A))),M(S.SpeedDialAction,"fabHoverBg",Qa(S.background.paper,.15)),M(S.StepConnector,"border",T("palette-grey-600")),M(S.StepContent,"border",T("palette-grey-600")),M(S.Switch,"defaultColor",T("palette-grey-300")),M(S.Switch,"defaultDisabledColor",T("palette-grey-600")),M(S.Switch,"primaryDisabledColor",Ee(S.primary.main,.55)),M(S.Switch,"secondaryDisabledColor",Ee(S.secondary.main,.55)),M(S.Switch,"errorDisabledColor",Ee(S.error.main,.55)),M(S.Switch,"infoDisabledColor",Ee(S.info.main,.55)),M(S.Switch,"successDisabledColor",Ee(S.success.main,.55)),M(S.Switch,"warningDisabledColor",Ee(S.warning.main,.55)),M(S.TableCell,"border",Ee(qa(S.divider,1),.68)),M(S.Tooltip,"bg",qa(S.grey[700],.92))}Wn(S.background,"default"),Wn(S.background,"paper"),Wn(S.common,"background"),Wn(S.common,"onBackground"),Wn(S,"divider"),Object.keys(S).forEach(A=>{const O=S[A];O&&typeof O=="object"&&(O.main&&M(S[A],"mainChannel",us(cs(O.main))),O.light&&M(S[A],"lightChannel",us(cs(O.light))),O.dark&&M(S[A],"darkChannel",us(cs(O.dark))),O.contrastText&&M(S[A],"contrastTextChannel",us(cs(O.contrastText))),A==="text"&&(Wn(S[A],"primary"),Wn(S[A],"secondary")),A==="action"&&(O.active&&Wn(S[A],"active"),O.selected&&Wn(S[A],"selected")))})}),p=t.reduce((E,S)=>Pt(E,S),p);const C={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:kP(p)},{vars:w,generateThemeVars:P,generateStyleSheets:$}=K$(p,C);return p.vars=w,Object.entries(p.colorSchemes[p.defaultColorScheme]).forEach(([E,S])=>{p[E]=S}),p.generateThemeVars=P,p.generateStyleSheets=$,p.generateSpacing=function(){return Gx(l.spacing,uh(this))},p.getColorSchemeSelector=Y$(a),p.spacing=p.generateSpacing(),p.shouldSkipGeneratingVar=s,p.unstable_sxConfig={...ma,...l==null?void 0:l.unstable_sxConfig},p.unstable_sx=function(S){return Ti({sx:S,theme:this})},p.toRuntimeSource=PP,p}function o0(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:wh({...n===!0?{}:n.palette,mode:t})})}function ub(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},o0(d,"dark",u.dark)),d.palette.mode==="dark"&&(d.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:d.palette},o0(d,"light",u.light)),d}return!n&&!("light"in u)&&a==="light"&&(u.light=!0),AP({...s,colorSchemes:u,defaultColorScheme:a,...typeof r!="boolean"&&r},...t)}const sc=ub(),ya="$$material";function kh(){const e=rc(sc);return e[ya]||e}function MP(e){return y.jsx(b$,{...e,defaultTheme:sc,themeId:ya})}function $h(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const hn=e=>$h(e)&&e!=="classes",K=Yx({themeId:ya,defaultTheme:sc,rootShouldForwardProp:hn});function OP(e){return function(n){return y.jsx(MP,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function IP(){return Px}const i0={theme:void 0};function Se(e){let t,n;return r=>{let o=t;return(o===void 0||r.theme!==n)&&(i0.theme=r.theme,o=e(i0),t=o,n=r.theme),o}}function xe(e){return W$(e)}function jP(e){return typeof e.main=="string"}function BP(e,t=[]){if(!jP(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function Wt(e=[]){return([,t])=>t&&BP(t,e)}function DP(e){return fe("MuiPaper",e)}ue("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 LP=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return he(i,DP,o)},FP=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}`]]}})(Se(({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)"}}]}))),xo=b.forwardRef(function(t,n){var m;const r=xe({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=LP(d);return y.jsx(FP,{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(${je("#fff",Lf(a))}, ${je("#fff",Lf(a))})`}},...c.style}})});function zP(e){return fe("MuiAppBar",e)}ue("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const NP=e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${V(t)}`,`position${V(n)}`]};return he(o,zP,r)},s0=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,_P=K(xo,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${V(n.position)}`],t[`color${V(n.color)}`]]}})(Se(({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(Wt(["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?s0(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?s0(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"})}}]}))),VP=b.forwardRef(function(t,n){const r=xe({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=NP(u);return y.jsx(_P,{square:!0,component:"header",ownerState:u,elevation:4,className:Y(c.root,o,a==="fixed"&&"mui-fixed"),ref:n,...l})});function cb({props:e,name:t}){return Xx({props:e,name:t,defaultTheme:sc,themeId:ya})}const WP=ue("MuiBox",["root"]),HP=ub(),ce=S$({themeId:ya,defaultTheme:HP,defaultClassName:WP.root,generateClassName:Kx.generate});function UP(e){return fe("MuiToolbar",e)}ue("MuiToolbar",["root","gutters","regular","dense"]);const GP=e=>{const{classes:t,disableGutters:n,variant:r}=e;return he({root:["root",!n&&"gutters",r]},UP,t)},KP=K("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(Se(({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}]}))),YP=b.forwardRef(function(t,n){const r=xe({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=GP(u);return y.jsx(KP,{as:i,className:Y(c.root,o),ref:n,ownerState:u,...l})});class Jl{constructor(){_i(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 Jl}static use(){const t=Jx(Jl.create).current,[n,r]=b.useState(!1);return t.shouldMount=n,t.setShouldMount=r,b.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=qP(),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 XP(){return Jl.use()}function qP(){let e,t;const n=new Promise((r,o)=>{e=r,t=o});return n.resolve=e,n.reject=t,n}function Je(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 Ff(e,t){return Ff=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Ff(e,t)}function db(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ff(e,t)}const a0={disabled:!1},eu=an.createContext(null);var QP=function(t){return t.scrollTop},ds="unmounted",Jr="exited",eo="entering",Do="entered",zf="exiting",Nn=function(e){db(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=Jr,i.appearStatus=eo):l=Do:r.unmountOnExit||r.mountOnEnter?l=ds:l=Jr,i.state={status:l},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var s=o.in;return s&&i.status===ds?{status:Jr}: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!==eo&&s!==Do&&(i=eo):(s===eo||s===Do)&&(i=zf)}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===eo){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:Ga.findDOMNode(this);s&&QP(s)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Jr&&this.setState({status:ds})},n.performEnter=function(o){var i=this,s=this.props.enter,a=this.context?this.context.isMounting:o,l=this.props.nodeRef?[a]:[Ga.findDOMNode(this),a],u=l[0],c=l[1],d=this.getTimeouts(),f=a?d.appear:d.enter;if(!o&&!s||a0.disabled){this.safeSetState({status:Do},function(){i.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:eo},function(){i.props.onEntering(u,c),i.onTransitionEnd(f,function(){i.safeSetState({status:Do},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:Ga.findDOMNode(this);if(!i||a0.disabled){this.safeSetState({status:Jr},function(){o.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:zf},function(){o.props.onExiting(a),o.onTransitionEnd(s.exit,function(){o.safeSetState({status:Jr},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:Ga.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===ds)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=Je(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return an.createElement(eu.Provider,{value:null},typeof s=="function"?s(o,a):an.cloneElement(an.Children.only(s),a))},t}(an.Component);Nn.contextType=eu;Nn.propTypes={};function Oo(){}Nn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Oo,onEntering:Oo,onEntered:Oo,onExit:Oo,onExiting:Oo,onExited:Oo};Nn.UNMOUNTED=ds;Nn.EXITED=Jr;Nn.ENTERING=eo;Nn.ENTERED=Do;Nn.EXITING=zf;function ZP(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&&b.isValidElement(i)?t(i):i},r=Object.create(null);return e&&b.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function JP(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 x=setTimeout(l,u);return()=>{clearTimeout(x)}}},[l,a,u]),y.jsx("span",{className:f,style:m,children:y.jsx("span",{className:h})})}const en=ue("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Nf=550,iE=80,sE=yh` - 0% { - transform: scale(0); - opacity: 0.1; - } - - 100% { - transform: scale(1); - opacity: 0.3; - } -`,aE=yh` - 0% { - opacity: 1; - } - - 100% { - opacity: 0; - } -`,lE=yh` - 0% { - transform: scale(1); - } - - 50% { - transform: scale(0.92); - } - - 100% { - transform: scale(1); - } -`,uE=K("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),cE=K(oE,{name:"MuiTouchRipple",slot:"Ripple"})` - opacity: 0; - position: absolute; - - &.${en.rippleVisible} { - opacity: 0.3; - transform: scale(1); - animation-name: ${sE}; - 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: ${aE}; - animation-duration: ${Nf}ms; - animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; - } - - & .${en.childPulsate} { - position: absolute; - /* @noflip */ - left: 0px; - top: 0; - animation-name: ${lE}; - animation-duration: 2500ms; - animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; - animation-iteration-count: infinite; - animation-delay: 200ms; - } -`,dE=b.forwardRef(function(t,n){const r=xe({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:s,...a}=r,[l,u]=b.useState([]),c=b.useRef(0),d=b.useRef(null);b.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const f=b.useRef(!1),m=eb(),h=b.useRef(null),x=b.useRef(null),k=b.useCallback(C=>{const{pulsate:w,rippleX:P,rippleY:$,rippleSize:E,cb:S}=C;u(T=>[...T,y.jsx(cE,{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:E},c.current)]),c.current+=1,d.current=S},[i]),g=b.useCallback((C={},w={},P=()=>{})=>{const{pulsate:$=!1,center:E=o||w.pulsate,fakeElement:S=!1}=w;if((C==null?void 0:C.type)==="mousedown"&&f.current){f.current=!1;return}(C==null?void 0:C.type)==="touchstart"&&(f.current=!0);const T=S?null:x.current,A=T?T.getBoundingClientRect():{width:0,height:0,left:0,top:0};let O,B,I;if(E||C===void 0||C.clientX===0&&C.clientY===0||!C.clientX&&!C.touches)O=Math.round(A.width/2),B=Math.round(A.height/2);else{const{clientX:N,clientY:D}=C.touches&&C.touches.length>0?C.touches[0]:C;O=Math.round(N-A.left),B=Math.round(D-A.top)}if(E)I=Math.sqrt((2*A.width**2+A.height**2)/3),I%2===0&&(I+=1);else{const N=Math.max(Math.abs((T?T.clientWidth:0)-O),O)*2+2,D=Math.max(Math.abs((T?T.clientHeight:0)-B),B)*2+2;I=Math.sqrt(N**2+D**2)}C!=null&&C.touches?h.current===null&&(h.current=()=>{k({pulsate:$,rippleX:O,rippleY:B,rippleSize:I,cb:P})},m.start(iE,()=>{h.current&&(h.current(),h.current=null)})):k({pulsate:$,rippleX:O,rippleY:B,rippleSize:I,cb:P})},[o,k,m]),v=b.useCallback(()=>{g({},{pulsate:!0})},[g]),p=b.useCallback((C,w)=>{if(m.clear(),(C==null?void 0:C.type)==="touchend"&&h.current){h.current(),h.current=null,m.start(0,()=>{p(C,w)});return}h.current=null,u(P=>P.length>0?P.slice(1):P),d.current=w},[m]);return b.useImperativeHandle(n,()=>({pulsate:v,start:g,stop:p}),[v,g,p]),y.jsx(uE,{className:Y(en.root,i.root,s),ref:x,...a,children:y.jsx(Eh,{component:null,exit:!0,children:l})})});function fE(e){return fe("MuiButtonBase",e)}const pE=ue("MuiButtonBase",["root","disabled","focusVisible"]),hE=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,s=he({root:["root",t&&"disabled",n&&"focusVisible"]},fE,o);return n&&r&&(s.root+=` ${r}`),s},mE=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"},[`&.${pE.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Js=b.forwardRef(function(t,n){const r=xe({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:x,onClick:k,onContextMenu:g,onDragLeave:v,onFocus:p,onFocusVisible:C,onKeyDown:w,onKeyUp:P,onMouseDown:$,onMouseLeave:E,onMouseUp:S,onTouchEnd:T,onTouchMove:A,onTouchStart:O,tabIndex:B=0,TouchRippleProps:I,touchRippleRef:N,type:D,...L}=r,R=b.useRef(null),j=XP(),H=lt(j.ref,N),[Z,q]=b.useState(!1);u&&Z&&q(!1),b.useImperativeHandle(o,()=>({focusVisible:()=>{q(!0),R.current.focus()}}),[]);const re=j.shouldMount&&!c&&!u;b.useEffect(()=>{Z&&f&&!c&&j.pulsate()},[c,f,Z,j]);function te(J,ft,Li=d){return Xo(Vn=>(ft&&ft(Vn),Li||j[J](Vn),!0))}const me=te("start",$),ge=te("stop",g),oe=te("stop",v),W=te("stop",S),Q=te("stop",J=>{Z&&J.preventDefault(),E&&E(J)}),U=te("start",O),_=te("stop",T),X=te("stop",A),be=te("stop",J=>{Zl(J.target)||q(!1),x&&x(J)},!1),se=Xo(J=>{R.current||(R.current=J.currentTarget),Zl(J.target)&&(q(!0),C&&C(J)),p&&p(J)}),de=()=>{const J=R.current;return l&&l!=="button"&&!(J.tagName==="A"&&J.href)},it=Xo(J=>{f&&!J.repeat&&Z&&J.key===" "&&j.stop(J,()=>{j.start(J)}),J.target===J.currentTarget&&de()&&J.key===" "&&J.preventDefault(),w&&w(J),J.target===J.currentTarget&&de()&&J.key==="Enter"&&!u&&(J.preventDefault(),k&&k(J))}),He=Xo(J=>{f&&J.key===" "&&Z&&!J.defaultPrevented&&j.stop(J,()=>{j.pulsate(J)}),P&&P(J),k&&J.target===J.currentTarget&&de()&&J.key===" "&&!J.defaultPrevented&&k(J)});let Ae=l;Ae==="button"&&(L.href||L.to)&&(Ae=h);const qe={};Ae==="button"?(qe.type=D===void 0?"button":D,qe.disabled=u):(!L.href&&!L.to&&(qe.role="button"),u&&(qe["aria-disabled"]=u));const $n=lt(n,R),Me={...r,centerRipple:i,component:l,disabled:u,disableRipple:c,disableTouchRipple:d,focusRipple:f,tabIndex:B,focusVisible:Z},_n=hE(Me);return y.jsxs(mE,{as:Ae,className:Y(_n.root,a),ownerState:Me,onBlur:be,onClick:k,onContextMenu:ge,onFocus:se,onKeyDown:it,onKeyUp:He,onMouseDown:me,onMouseLeave:Q,onMouseUp:W,onDragLeave:oe,onTouchEnd:_,onTouchMove:X,onTouchStart:U,ref:$n,tabIndex:u?-1:B,type:D,...qe,...L,children:[s,re?y.jsx(dE,{ref:H,center:i,...I}):null]})});function gE(e){return fe("MuiIconButton",e)}const vE=ue("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),yE=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 he(s,gE,t)},xE=K(Js,{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)}`]]}})(Se(({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})`:je(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}}]})),Se(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(Wt()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Wt()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:je((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)}}],[`&.${vE.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}}))),un=b.forwardRef(function(t,n){const r=xe({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=yE(m);return y.jsx(xE,{className:Y(h.root,s),centerRipple:!0,focusRipple:!u,disabled:l,disableRipple:c,ref:n,...f,ownerState:m,children:i})});function bE(e){return fe("MuiTypography",e)}ue("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const CE={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},SE=IP(),wE=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 he(a,bE,s)},kE=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]}})(Se(({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(Wt()).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}}]}})),l0={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},ie=b.forwardRef(function(t,n){const{color:r,...o}=xe({props:t,name:"MuiTypography"}),i=!CE[r],s=SE({...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=l0,...x}=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]||l0[m])||"span",v=wE(k);return y.jsx(kE,{as:g,ref:n,className:Y(v.root,l),...x,ownerState:k,style:{...a!=="inherit"&&{"--Typography-textAlign":a},...x.style}})});var $e={};/** - * @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 Th=Symbol.for("react.element"),Rh=Symbol.for("react.portal"),ac=Symbol.for("react.fragment"),lc=Symbol.for("react.strict_mode"),uc=Symbol.for("react.profiler"),cc=Symbol.for("react.provider"),dc=Symbol.for("react.context"),$E=Symbol.for("react.server_context"),fc=Symbol.for("react.forward_ref"),pc=Symbol.for("react.suspense"),hc=Symbol.for("react.suspense_list"),mc=Symbol.for("react.memo"),gc=Symbol.for("react.lazy"),PE=Symbol.for("react.offscreen"),fb;fb=Symbol.for("react.module.reference");function mn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Th:switch(e=e.type,e){case ac:case uc:case lc:case pc:case hc:return e;default:switch(e=e&&e.$$typeof,e){case $E:case dc:case fc:case gc:case mc:case cc:return e;default:return t}}case Rh:return t}}}$e.ContextConsumer=dc;$e.ContextProvider=cc;$e.Element=Th;$e.ForwardRef=fc;$e.Fragment=ac;$e.Lazy=gc;$e.Memo=mc;$e.Portal=Rh;$e.Profiler=uc;$e.StrictMode=lc;$e.Suspense=pc;$e.SuspenseList=hc;$e.isAsyncMode=function(){return!1};$e.isConcurrentMode=function(){return!1};$e.isContextConsumer=function(e){return mn(e)===dc};$e.isContextProvider=function(e){return mn(e)===cc};$e.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Th};$e.isForwardRef=function(e){return mn(e)===fc};$e.isFragment=function(e){return mn(e)===ac};$e.isLazy=function(e){return mn(e)===gc};$e.isMemo=function(e){return mn(e)===mc};$e.isPortal=function(e){return mn(e)===Rh};$e.isProfiler=function(e){return mn(e)===uc};$e.isStrictMode=function(e){return mn(e)===lc};$e.isSuspense=function(e){return mn(e)===pc};$e.isSuspenseList=function(e){return mn(e)===hc};$e.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ac||e===uc||e===lc||e===pc||e===hc||e===PE||typeof e=="object"&&e!==null&&(e.$$typeof===gc||e.$$typeof===mc||e.$$typeof===cc||e.$$typeof===dc||e.$$typeof===fc||e.$$typeof===fb||e.getModuleId!==void 0)};$e.typeOf=mn;const _f=b.createContext({});function EE(e){return fe("MuiList",e)}ue("MuiList",["root","padding","dense","subheader"]);const TE=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return he({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},EE,t)},RE=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}}]}),AE=b.forwardRef(function(t,n){const r=xe({props:t,name:"MuiList"}),{children:o,className:i,component:s="ul",dense:a=!1,disablePadding:l=!1,subheader:u,...c}=r,d=b.useMemo(()=>({dense:a}),[a]),f={...r,component:s,dense:a,disablePadding:l},m=TE(f);return y.jsx(_f.Provider,{value:d,children:y.jsxs(RE,{as:s,className:Y(m.root,i),ref:n,ownerState:f,...c,children:[u,o]})})});function hd(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function u0(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function pb(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 Zi(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")||!pb(a,i)||l)a=o(e,a,n);else return a.focus(),!0}return!1}const ME=b.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=b.useRef(null),h=b.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Br(()=>{o&&m.current.focus()},[o]),b.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(p,{direction:C})=>{const w=!m.current.style.width;if(p.clientHeight{const C=m.current,w=p.key;if(p.ctrlKey||p.metaKey||p.altKey){c&&c(p);return}const $=Gt(C).activeElement;if(w==="ArrowDown")p.preventDefault(),Zi(C,$,u,l,hd);else if(w==="ArrowUp")p.preventDefault(),Zi(C,$,u,l,u0);else if(w==="Home")p.preventDefault(),Zi(C,null,u,l,hd);else if(w==="End")p.preventDefault(),Zi(C,null,u,l,u0);else if(w.length===1){const E=h.current,S=w.toLowerCase(),T=performance.now();E.keys.length>0&&(T-E.lastTime>500?(E.keys=[],E.repeating=!0,E.previousKeyMatched=!0):E.repeating&&S!==E.keys[0]&&(E.repeating=!1)),E.lastTime=T,E.keys.push(S);const A=$&&!E.repeating&&pb($,E);E.previousKeyMatched&&(A||Zi(C,$,!1,l,hd,E))?p.preventDefault():E.previousKeyMatched=!1}c&&c(p)},k=lt(m,n);let g=-1;b.Children.forEach(s,(p,C)=>{if(!b.isValidElement(p)){g===C&&(g+=1,g>=s.length&&(g=-1));return}p.props.disabled||(d==="selectedMenu"&&p.props.selected||g===-1)&&(g=C),g===C&&(p.props.disabled||p.props.muiSkipListHighlight||p.type.muiSkipListHighlight)&&(g+=1,g>=s.length&&(g=-1))});const v=b.Children.map(s,(p,C)=>{if(C===g){const w={};return i&&(w.autoFocus=!0),p.props.tabIndex===void 0&&d==="selectedMenu"&&(w.tabIndex=0),b.cloneElement(p,w)}return p});return y.jsx(AE,{role:"menu",ref:k,className:a,onKeyDown:x,tabIndex:o?0:-1,...f,children:v})});function Vf(e){return typeof e=="string"}const hb=e=>e.scrollTop;function tu(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 Wf(e){return`scale(${e}, ${e**2})`}const OE={entering:{opacity:1,transform:Wf(1)},entered:{opacity:1,transform:"none"}},md=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Hf=b.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:x="auto",TransitionComponent:k=Nn,...g}=t,v=eb(),p=b.useRef(),C=kh(),w=b.useRef(null),P=lt(w,va(i),n),$=N=>D=>{if(N){const L=w.current;D===void 0?N(L):N(L,D)}},E=$(c),S=$((N,D)=>{hb(N);const{duration:L,delay:R,easing:j}=tu({style:h,timeout:x,easing:s},{mode:"enter"});let H;x==="auto"?(H=C.transitions.getAutoHeightDuration(N.clientHeight),p.current=H):H=L,N.style.transition=[C.transitions.create("opacity",{duration:H,delay:R}),C.transitions.create("transform",{duration:md?H:H*.666,delay:R,easing:j})].join(","),l&&l(N,D)}),T=$(u),A=$(m),O=$(N=>{const{duration:D,delay:L,easing:R}=tu({style:h,timeout:x,easing:s},{mode:"exit"});let j;x==="auto"?(j=C.transitions.getAutoHeightDuration(N.clientHeight),p.current=j):j=D,N.style.transition=[C.transitions.create("opacity",{duration:j,delay:L}),C.transitions.create("transform",{duration:md?j:j*.666,delay:md?L:L||j*.333,easing:R})].join(","),N.style.opacity=0,N.style.transform=Wf(.75),d&&d(N)}),B=$(f),I=N=>{x==="auto"&&v.start(p.current||0,N),r&&r(w.current,N)};return y.jsx(k,{appear:o,in:a,nodeRef:w,onEnter:S,onEntered:T,onEntering:E,onExit:O,onExited:B,onExiting:A,addEndListener:I,timeout:x==="auto"?null:x,...g,children:(N,D)=>b.cloneElement(i,{style:{opacity:0,transform:Wf(.75),visibility:N==="exited"&&!a?"hidden":void 0,...OE[N],...h,...i.props.style},ref:P,...D})})});Hf&&(Hf.muiSupportAuto=!0);function IE(e){const t=Gt(e);return t.body===e?yo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function $s(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function c0(e){return parseInt(yo(e).getComputedStyle(e).paddingRight,10)||0}function jE(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 d0(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,s=>{const a=i.indexOf(s)===-1,l=!jE(s);a&&l&&$s(s,o)})}function gd(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function BE(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(IE(r)){const s=tb(Gt(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${c0(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=`${c0(l)+s}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=Gt(r).body;else{const s=r.parentElement,a=yo(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 DE(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class LE{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&&$s(t.modalRef,!1);const o=DE(n);d0(n,t.mount,t.modalRef,o,!0);const i=gd(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=gd(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[r];o.restore||(o.restore=BE(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=gd(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&&$s(t.modalRef,n),d0(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&&$s(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const FE=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function zE(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 NE(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 _E(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||NE(e))}function VE(e){const t=[],n=[];return Array.from(e.querySelectorAll(FE)).forEach((r,o)=>{const i=zE(r);i===-1||!_E(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 WE(){return!0}function HE(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=VE,isEnabled:s=WE,open:a}=e,l=b.useRef(!1),u=b.useRef(null),c=b.useRef(null),d=b.useRef(null),f=b.useRef(null),m=b.useRef(!1),h=b.useRef(null),x=lt(va(t),h),k=b.useRef(null);b.useEffect(()=>{!a||!h.current||(m.current=!n)},[n,a]),b.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]),b.useEffect(()=>{if(!a||!h.current)return;const p=Gt(h.current),C=$=>{k.current=$,!(r||!s()||$.key!=="Tab")&&p.activeElement===h.current&&$.shiftKey&&(l.current=!0,c.current&&c.current.focus())},w=()=>{var S,T;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 E=[];if((p.activeElement===u.current||p.activeElement===c.current)&&(E=i(h.current)),E.length>0){const A=!!((S=k.current)!=null&&S.shiftKey&&((T=k.current)==null?void 0:T.key)==="Tab"),O=E[0],B=E[E.length-1];typeof O!="string"&&typeof B!="string"&&(A?B.focus():O.focus())}else $.focus()};p.addEventListener("focusin",w),p.addEventListener("keydown",C,!0);const P=setInterval(()=>{p.activeElement&&p.activeElement.tagName==="BODY"&&w()},50);return()=>{clearInterval(P),p.removeEventListener("focusin",w),p.removeEventListener("keydown",C,!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 C=t.props.onFocus;C&&C(p)},v=p=>{d.current===null&&(d.current=p.relatedTarget),m.current=!0};return y.jsxs(b.Fragment,{children:[y.jsx("div",{tabIndex:a?0:-1,onFocus:v,ref:u,"data-testid":"sentinelStart"}),b.cloneElement(t,{ref:x,onFocus:g}),y.jsx("div",{tabIndex:a?0:-1,onFocus:v,ref:c,"data-testid":"sentinelEnd"})]})}function UE(e){return typeof e=="function"?e():e}const GE=b.forwardRef(function(t,n){const{children:r,container:o,disablePortal:i=!1}=t,[s,a]=b.useState(null),l=lt(va(r),n);if(Br(()=>{i||a(UE(o)||document.body)},[o,i]),Br(()=>{if(s&&!i)return jf(n,s),()=>{jf(n,null)}},[n,s,i]),i){if(b.isValidElement(r)){const u={ref:l};return b.cloneElement(r,u)}return y.jsx(b.Fragment,{children:r})}return y.jsx(b.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=ib(d[e],o),{props:{component:x,...k},internalRef:g}=ob({className:n,...l,externalForwardedProps:e==="root"?f:void 0,externalSlotProps:h}),v=lt(g,h==null?void 0:h.ref,t.ref),p=s?s(k):{},C={...o,...p},w=e==="root"?x||u:x,P=nb(m,{...e==="root"&&!u&&!c[e]&&a,...e!=="root"&&!c[e]&&a,...k,...w&&{as:w},ref:v},C);return Object.keys(p).forEach($=>{delete P[$]}),[m,P]}const KE={entering:{opacity:1},entered:{opacity:1}},YE=b.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:x,style:k,timeout:g=o,TransitionComponent:v=Nn,...p}=t,C=b.useRef(null),w=lt(C,va(a),n),P=I=>N=>{if(I){const D=C.current;N===void 0?I(D):I(D,N)}},$=P(f),E=P((I,N)=>{hb(I);const D=tu({style:k,timeout:g,easing:l},{mode:"enter"});I.style.webkitTransition=r.transitions.create("opacity",D),I.style.transition=r.transitions.create("opacity",D),c&&c(I,N)}),S=P(d),T=P(x),A=P(I=>{const N=tu({style:k,timeout:g,easing:l},{mode:"exit"});I.style.webkitTransition=r.transitions.create("opacity",N),I.style.transition=r.transitions.create("opacity",N),m&&m(I)}),O=P(h),B=I=>{i&&i(C.current,I)};return y.jsx(v,{appear:s,in:u,nodeRef:C,onEnter:E,onEntered:S,onEntering:$,onExit:A,onExited:O,onExiting:T,addEndListener:B,timeout:g,...p,children:(I,N)=>b.cloneElement(a,{style:{opacity:0,visibility:I==="exited"&&!u?"hidden":void 0,...KE[I],...k,...a.props.style},ref:w,...N})})});function XE(e){return fe("MuiBackdrop",e)}ue("MuiBackdrop",["root","invisible"]);const qE=e=>{const{classes:t,invisible:n}=e;return he({root:["root",n&&"invisible"]},XE,t)},QE=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"}}]}),ZE=b.forwardRef(function(t,n){const r=xe({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,...x}=r,k={...r,component:s,invisible:a},g=qE(k),v={transition:m,root:u.Root,...f},p={...c,...d},C={slots:v,slotProps:p},[w,P]=sn("root",{elementType:QE,externalForwardedProps:C,className:Y(g.root,i),ownerState:k}),[$,E]=sn("transition",{elementType:YE,externalForwardedProps:C,ownerState:k});return delete E.ownerState,y.jsx($,{in:l,timeout:h,...x,...E,children:y.jsx(w,{"aria-hidden":!0,...P,classes:g,ref:n,children:o})})});function JE(e){return typeof e=="function"?e():e}function eT(e){return e?e.props.hasOwnProperty("in"):!1}const tT=new LE;function nT(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=tT,closeAfterTransition:i=!1,onTransitionEnter:s,onTransitionExited:a,children:l,onClose:u,open:c,rootRef:d}=e,f=b.useRef({}),m=b.useRef(null),h=b.useRef(null),x=lt(h,d),[k,g]=b.useState(!c),v=eT(l);let p=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(p=!1);const C=()=>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)},$=Xo(()=>{const D=JE(t)||C().body;o.add(w(),D),h.current&&P()}),E=b.useCallback(()=>o.isTopModal(w()),[o]),S=Xo(D=>{m.current=D,D&&(c&&E()?P():h.current&&$s(h.current,p))}),T=b.useCallback(()=>{o.remove(w(),p)},[p,o]);b.useEffect(()=>()=>{T()},[T]),b.useEffect(()=>{c?$():(!v||!i)&&T()},[c,T,v,i,$]);const A=D=>L=>{var R;(R=D.onKeyDown)==null||R.call(D,L),!(L.key!=="Escape"||L.which===229||!E())&&(n||(L.stopPropagation(),u&&u(L,"escapeKeyDown")))},O=D=>L=>{var R;(R=D.onClick)==null||R.call(D,L),L.target===L.currentTarget&&u&&u(L,"backdropClick")};return{getRootProps:(D={})=>{const L=rb(e);delete L.onTransitionEnter,delete L.onTransitionExited;const R={...L,...D};return{role:"presentation",...R,onKeyDown:A(R),ref:x}},getBackdropProps:(D={})=>{const L=D;return{"aria-hidden":!0,...L,onClick:O(L),open:c}},getTransitionProps:()=>{const D=()=>{g(!1),s&&s()},L=()=>{g(!0),a&&a(),i&&T()};return{onEnter:Gg(D,l==null?void 0:l.props.onEnter),onExited:Gg(L,l==null?void 0:l.props.onExited)}},rootRef:x,portalRef:S,isTopModal:E,exited:k,hasTransition:v}}function rT(e){return fe("MuiModal",e)}ue("MuiModal",["root","hidden","backdrop"]);function oT(e){return fe("MuiSvgIcon",e)}ue("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const iT=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${V(t)}`,`fontSize${V(n)}`]};return he(o,oT,r)},sT=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)}`]]}})(Se(({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:x=>!x.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(([,x])=>x&&x.main).map(([x])=>{var k,g;return{props:{color:x},style:{color:(g=(k=(e.vars??e).palette)==null?void 0:k[x])==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}}]}})),nu=b.forwardRef(function(t,n){const r=xe({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=b.isValidElement(o)&&o.type==="svg",x={...r,color:s,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:f,hasSvgAsChild:h},k={};c||(k.viewBox=f);const g=iT(x);return y.jsxs(sT,{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:x,children:[h?o.props.children:o,d?y.jsx("title",{children:d}):null]})});nu&&(nu.muiName="SvgIcon");function Pe(e,t){function n(r,o){return y.jsx(nu,{"data-testid":`${t}Icon`,ref:o,...r,children:e})}return n.muiName=nu.muiName,b.memo(b.forwardRef(n))}const aT=e=>{const{open:t,exited:n,classes:r}=e;return he({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},rT,r)},lT=K("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(Se(({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"}}]}))),uT=K(ZE,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Ah=b.forwardRef(function(t,n){const r=xe({name:"MuiModal",props:t}),{BackdropComponent:o=uT,BackdropProps:i,classes:s,className:a,closeAfterTransition:l=!1,children:u,container:c,component:d,components:f={},componentsProps:m={},disableAutoFocus:h=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:k=!1,disablePortal:g=!1,disableRestoreFocus:v=!1,disableScrollLock:p=!1,hideBackdrop:C=!1,keepMounted:w=!1,onBackdropClick:P,onClose:$,onTransitionEnter:E,onTransitionExited:S,open:T,slotProps:A={},slots:O={},theme:B,...I}=r,N={...r,closeAfterTransition:l,disableAutoFocus:h,disableEnforceFocus:x,disableEscapeKeyDown:k,disablePortal:g,disableRestoreFocus:v,disableScrollLock:p,hideBackdrop:C,keepMounted:w},{getRootProps:D,getBackdropProps:L,getTransitionProps:R,portalRef:j,isTopModal:H,exited:Z,hasTransition:q}=nT({...N,rootRef:n}),re={...N,exited:Z},te=aT(re),me={};if(u.props.tabIndex===void 0&&(me.tabIndex="-1"),q){const{onEnter:X,onExited:be}=R();me.onEnter=X,me.onExited=be}const ge={slots:{root:f.Root,backdrop:f.Backdrop,...O},slotProps:{...m,...A}},[oe,W]=sn("root",{elementType:lT,externalForwardedProps:ge,getSlotProps:D,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:ge,additionalProps:i,getSlotProps:X=>L({...X,onClick:be=>{P&&P(be),X!=null&&X.onClick&&X.onClick(be)}}),className:Y(i==null?void 0:i.className,te==null?void 0:te.backdrop),ownerState:re}),_=lt(i==null?void 0:i.ref,U.ref);return!w&&!T&&(!q||Z)?null:y.jsx(GE,{ref:j,container:c,disablePortal:g,children:y.jsxs(oe,{...W,...I,children:[!C&&o?y.jsx(Q,{...U,ref:_}):null,y.jsx(HE,{disableEnforceFocus:x,disableAutoFocus:h,disableRestoreFocus:v,isEnabled:H,open:T,children:b.cloneElement(u,me)})]})})});function cT(e){return fe("MuiPopover",e)}ue("MuiPopover",["root","paper"]);function f0(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function p0(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function h0(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function vd(e){return typeof e=="function"?e():e}const dT=e=>{const{classes:t}=e;return he({root:["root"],paper:["paper"]},cT,t)},fT=K(Ah,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),mb=K(xo,{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}),pT=b.forwardRef(function(t,n){const r=xe({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:x={},slots:k={},slotProps:g={},transformOrigin:v={vertical:"top",horizontal:"left"},TransitionComponent:p=Hf,transitionDuration:C="auto",TransitionProps:{onEntering:w,...P}={},disableScrollLock:$=!1,...E}=r,S=(g==null?void 0:g.paper)??x,T=b.useRef(),A={...r,anchorOrigin:s,anchorReference:l,elevation:f,marginThreshold:m,externalPaperSlotProps:S,transformOrigin:v,TransitionComponent:p,transitionDuration:C,TransitionProps:P},O=dT(A),B=b.useCallback(()=>{if(l==="anchorPosition")return a;const U=vd(i),X=(U&&U.nodeType===1?U:Gt(T.current).body).getBoundingClientRect();return{top:X.top+f0(X,s.vertical),left:X.left+p0(X,s.horizontal)}},[i,s.horizontal,s.vertical,a,l]),I=b.useCallback(U=>({vertical:f0(U,v.vertical),horizontal:p0(U,v.horizontal)}),[v.horizontal,v.vertical]),N=b.useCallback(U=>{const _={width:U.offsetWidth,height:U.offsetHeight},X=I(_);if(l==="none")return{top:null,left:null,transformOrigin:h0(X)};const be=B();let se=be.top-X.vertical,de=be.left-X.horizontal;const it=se+_.height,He=de+_.width,Ae=yo(vd(i)),qe=Ae.innerHeight-m,$n=Ae.innerWidth-m;if(m!==null&&seqe){const Me=it-qe;se-=Me,X.vertical+=Me}if(m!==null&&de$n){const Me=He-$n;de-=Me,X.horizontal+=Me}return{top:`${Math.round(se)}px`,left:`${Math.round(de)}px`,transformOrigin:h0(X)}},[i,l,B,I,m]),[D,L]=b.useState(h),R=b.useCallback(()=>{const U=T.current;if(!U)return;const _=N(U);_.top!==null&&(U.style.top=_.top),_.left!==null&&(U.style.left=_.left),U.style.transformOrigin=_.transformOrigin,L(!0)},[N]);b.useEffect(()=>($&&window.addEventListener("scroll",R),()=>window.removeEventListener("scroll",R)),[i,$,R]);const j=(U,_)=>{w&&w(U,_),R()},H=()=>{L(!1)};b.useEffect(()=>{h&&R()}),b.useImperativeHandle(o,()=>h?{updatePosition:()=>{R()}}:null,[h,R]),b.useEffect(()=>{if(!h)return;const U=Zx(()=>{R()}),_=yo(i);return _.addEventListener("resize",U),()=>{U.clear(),_.removeEventListener("resize",U)}},[i,h,R]);let Z=C;C==="auto"&&!p.muiSupportAuto&&(Z=void 0);const q=d||(i?Gt(vd(i)).body:void 0),re={slots:k,slotProps:{...g,paper:S}},[te,me]=sn("paper",{elementType:mb,externalForwardedProps:re,additionalProps:{elevation:f,className:Y(O.paper,S==null?void 0:S.className),style:D?S.style:{...S.style,opacity:0}},ownerState:A}),[ge,{slotProps:oe,...W}]=sn("root",{elementType:fT,externalForwardedProps:re,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:q,open:h},ownerState:A,className:Y(O.root,c)}),Q=lt(T,me.ref);return y.jsx(ge,{...W,...!Vf(ge)&&{slotProps:oe,disableScrollLock:$},...E,ref:n,children:y.jsx(p,{appear:!0,in:h,onEntering:j,onExited:H,timeout:Z,...P,children:y.jsx(te,{...me,ref:Q,children:u})})})});function hT(e){return fe("MuiMenu",e)}ue("MuiMenu",["root","paper","list"]);const mT={vertical:"top",horizontal:"right"},gT={vertical:"top",horizontal:"left"},vT=e=>{const{classes:t}=e;return he({root:["root"],paper:["paper"],list:["list"]},hT,t)},yT=K(pT,{shouldForwardProp:e=>hn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),xT=K(mb,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),bT=K(ME,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),gb=b.forwardRef(function(t,n){const r=xe({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,...x}={},variant:k="selectedMenu",slots:g={},slotProps:v={},...p}=r,C=sb(),w={...r,autoFocus:o,disableAutoFocusItem:a,MenuListProps:l,onEntering:h,PaperProps:d,transitionDuration:m,TransitionProps:x,variant:k},P=vT(w),$=o&&!a&&c,E=b.useRef(null),S=(D,L)=>{E.current&&E.current.adjustStyleForScrollbar(D,{direction:C?"rtl":"ltr"}),h&&h(D,L)},T=D=>{D.key==="Tab"&&(D.preventDefault(),u&&u(D,"tabKeyDown"))};let A=-1;b.Children.map(i,(D,L)=>{b.isValidElement(D)&&(D.props.disabled||(k==="selectedMenu"&&D.props.selected||A===-1)&&(A=L))});const O=g.paper??xT,B=v.paper??d,I=Qg({elementType:g.root,externalSlotProps:v.root,ownerState:w,className:[P.root,s]}),N=Qg({elementType:O,externalSlotProps:B,ownerState:w,className:P.paper});return y.jsx(yT,{onClose:u,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?mT:gT,slots:{paper:O,root:g.root},slotProps:{root:I,paper:N},open:c,ref:n,transitionDuration:m,TransitionProps:{onEntering:S,...x},ownerState:w,...p,classes:f,children:y.jsx(bT,{onKeyDown:T,actions:E,autoFocus:o&&(A===-1||a),autoFocusItem:$,variant:k,...l,className:Y(P.list,l.className),children:i})})}),CT=Pe(y.jsx("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu"),yi=J$({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=>cb({props:e,name:"MuiContainer"})});function ST(e){return fe("MuiButton",e)}const Io=ue("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"]),wT=b.createContext({}),kT=b.createContext(void 0),$T=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=he(a,ST,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}}}],PT=K(Js,{shouldForwardProp:e=>hn(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]}})(Se(({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"},[`&.${Io.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]},[`&.${Io.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Io.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)",[`&.${Io.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(Wt(["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)`:je(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})`:je(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})`:je(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})`:je(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:je(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"},[`&.${Io.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Io.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}})),ET=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]}),TT=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]}),Lr=b.forwardRef(function(t,n){const r=b.useContext(wT),o=b.useContext(kT),i=Qs(r,t),s=xe({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:x,fullWidth:k=!1,size:g="medium",startIcon:v,type:p,variant:C="text",...w}=s,P={...s,color:l,component:u,disabled:d,disableElevation:f,disableFocusRipple:m,fullWidth:k,size:g,type:p,variant:C},$=$T(P),E=v&&y.jsx(ET,{className:$.startIcon,ownerState:P,children:v}),S=h&&y.jsx(TT,{className:$.endIcon,ownerState:P,children:h}),T=o||"";return y.jsxs(PT,{ownerState:P,className:Y(r.className,$.root,c,T),component:u,disabled:d,focusRipple:!m,focusVisibleClassName:Y($.focusVisible,x),ref:n,type:p,...w,classes:$,children:[E,a,S]})});function RT(e){return fe("MuiDivider",e)}const m0=ue("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),AT=e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:i,orientation:s,textAlign:a,variant:l}=e;return he({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"]},RT,r)},MT=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]}})(Se(({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)`:je(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%"}}}]}))),OT=K("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(Se(({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)`}}]}))),xi=b.forwardRef(function(t,n){const r=xe({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,x={...r,absolute:o,component:l,flexItem:u,light:c,orientation:a,role:d,textAlign:f,variant:m},k=AT(x);return y.jsx(MT,{as:l,className:Y(k.root,s),role:d,ref:n,ownerState:x,"aria-orientation":d==="separator"&&(l!=="hr"||a==="vertical")?a:void 0,...h,children:i?y.jsx(OT,{className:k.wrapper,ownerState:x,children:i}):null})});xi&&(xi.muiSkipListHighlight=!0);const g0=ue("MuiListItemIcon",["root","alignItemsFlexStart"]),v0=ue("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function IT(e){return fe("MuiMenuItem",e)}const Ji=ue("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),jT=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},BT=e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:s}=e,l=he({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},IT,s);return{...s,...l}},DT=K(Js,{shouldForwardProp:e=>hn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:jT})(Se(({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"}},[`&.${Ji.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:je(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ji.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:je(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Ji.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:je(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})`:je(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Ji.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ji.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${m0.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${m0.inset}`]:{marginLeft:52},[`& .${v0.root}`]:{marginTop:0,marginBottom:0},[`& .${v0.inset}`]:{paddingLeft:36},[`& .${g0.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,[`& .${g0.root} svg`]:{fontSize:"1.25rem"}}}]}))),LT=b.forwardRef(function(t,n){const r=xe({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=b.useContext(_f),x=b.useMemo(()=>({dense:s||h.dense||!1,disableGutters:l}),[h.dense,s,l]),k=b.useRef(null);Br(()=>{o&&k.current&&k.current.focus()},[o]);const g={...r,dense:x.dense,divider:a,disableGutters:l},v=BT(r),p=lt(k,n);let C;return r.disabled||(C=d!==void 0?d:-1),y.jsx(_f.Provider,{value:x,children:y.jsx(DT,{ref:p,role:c,tabIndex:C,component:i,focusVisibleClassName:Y(v.focusVisible,u),className:Y(v.root,f),...m,ownerState:g,classes:v})})}),y0=Pe(y.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"),Uf={dark:{header:{backgroundColor:"secondary"},mainContent:{backgroundColor:"black"},footer:{backgroundColor:"#242424"},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"},chip:{backgroundColor:"#3f3f3f",color:"rgba(255, 255, 255, 0.87)",borderColor:"#bb86fc"}},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"},chip:{backgroundColor:"#e0e0e0",color:"rgba(0, 0, 0, 0.87)",borderColor:"#6200ee"}}},FT={light:!1,theme:Uf.light,toggle:()=>{}},kn=an.createContext(FT);function zT({children:e}){const[t,n]=b.useState(!1);b.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?Uf.light:Uf.dark;return y.jsx(kn.Provider,{value:{theme:o,light:t,toggle:r},children:e})}const NT=Pe(y.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 _T(e){return fe("MuiChip",e)}const ae=ue("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"]),VT=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 he(u,_T,t)},WT=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[{[`& .${ae.avatar}`]:t.avatar},{[`& .${ae.avatar}`]:t[`avatar${V(a)}`]},{[`& .${ae.avatar}`]:t[`avatarColor${V(r)}`]},{[`& .${ae.icon}`]:t.icon},{[`& .${ae.icon}`]:t[`icon${V(a)}`]},{[`& .${ae.icon}`]:t[`iconColor${V(o)}`]},{[`& .${ae.deleteIcon}`]:t.deleteIcon},{[`& .${ae.deleteIcon}`]:t[`deleteIcon${V(a)}`]},{[`& .${ae.deleteIcon}`]:t[`deleteIconColor${V(r)}`]},{[`& .${ae.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)}`]]}})(Se(({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",[`&.${ae.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${ae.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${ae.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${ae.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${ae.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${ae.icon}`]:{marginLeft:5,marginRight:-6},[`& .${ae.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:je(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)`:je(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${ae.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${ae.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(Wt(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText,[`& .${ae.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].contrastTextChannel} / 0.7)`:je(e.palette[n].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].contrastText}}}})),{props:n=>n.iconColor===n.color,style:{[`& .${ae.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${ae.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${ae.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:je(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(Wt(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${ae.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}))`:je(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${ae.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:je(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(Wt(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${ae.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]}`,[`&.${ae.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${ae.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${ae.avatar}`]:{marginLeft:4},[`& .${ae.avatarSmall}`]:{marginLeft:2},[`& .${ae.icon}`]:{marginLeft:4},[`& .${ae.iconSmall}`]:{marginLeft:2},[`& .${ae.deleteIcon}`]:{marginRight:5},[`& .${ae.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(Wt()).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)`:je(e.palette[n].main,.7)}`,[`&.${ae.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:je(e.palette[n].main,e.palette.action.hoverOpacity)},[`&.${ae.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.focusOpacity})`:je(e.palette[n].main,e.palette.action.focusOpacity)},[`& .${ae.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:je(e.palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),HT=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 x0(e){return e.key==="Backspace"||e.key==="Delete"}const fs=b.forwardRef(function(t,n){const r=xe({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:x,onKeyUp:k,size:g="medium",variant:v="filled",tabIndex:p,skipFocusWhenDisabled:C=!1,...w}=r,P=b.useRef(null),$=lt(P,n),E=j=>{j.stopPropagation(),h&&h(j)},S=j=>{j.currentTarget===j.target&&x0(j)&&j.preventDefault(),x&&x(j)},T=j=>{j.currentTarget===j.target&&h&&x0(j)&&h(j),k&&k(j)},A=s!==!1&&m?!0:s,O=A||h?Js:l||"div",B={...r,component:O,disabled:c,size:g,color:a,iconColor:b.isValidElement(d)&&d.props.color||a,onDelete:!!h,clickable:A,variant:v},I=VT(B),N=O===Js?{component:l||"div",focusVisibleClassName:I.focusVisible,...h&&{disableRipple:!0}}:{};let D=null;h&&(D=u&&b.isValidElement(u)?b.cloneElement(u,{className:Y(u.props.className,I.deleteIcon),onClick:E}):y.jsx(NT,{className:Y(I.deleteIcon),onClick:E}));let L=null;o&&b.isValidElement(o)&&(L=b.cloneElement(o,{className:Y(I.avatar,o.props.className)}));let R=null;return d&&b.isValidElement(d)&&(R=b.cloneElement(d,{className:Y(I.icon,d.props.className)})),y.jsxs(WT,{as:O,className:Y(I.root,i),disabled:A&&c?!0:void 0,onClick:m,onKeyDown:S,onKeyUp:T,ref:$,tabIndex:C&&c?-1:p,ownerState:B,...N,...w,children:[L||R,y.jsx(HT,{className:Y(I.label),ownerState:B,children:f}),D]})});function Za(e){return parseInt(e,10)||0}const UT={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function GT(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const KT=b.forwardRef(function(t,n){const{onChange:r,maxRows:o,minRows:i=1,style:s,value:a,...l}=t,{current:u}=b.useRef(a!=null),c=b.useRef(null),d=lt(n,c),f=b.useRef(null),m=b.useRef(null),h=b.useCallback(()=>{const g=c.current,p=yo(g).getComputedStyle(g);if(p.width==="0px")return{outerHeightStyle:0,overflowing:!1};const C=m.current;C.style.width=p.width,C.value=g.value||t.placeholder||"x",C.value.slice(-1)===` -`&&(C.value+=" ");const w=p.boxSizing,P=Za(p.paddingBottom)+Za(p.paddingTop),$=Za(p.borderBottomWidth)+Za(p.borderTopWidth),E=C.scrollHeight;C.value="x";const S=C.scrollHeight;let T=E;i&&(T=Math.max(Number(i)*S,T)),o&&(T=Math.min(Number(o)*S,T)),T=Math.max(T,S);const A=T+(w==="border-box"?P+$:0),O=Math.abs(T-E)<=1;return{outerHeightStyle:A,overflowing:O}},[o,i,t.placeholder]),x=b.useCallback(()=>{const g=h();if(GT(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]);Br(()=>{const g=()=>{x()};let v;const p=Zx(g),C=c.current,w=yo(C);w.addEventListener("resize",p);let P;return typeof ResizeObserver<"u"&&(P=new ResizeObserver(g),P.observe(C)),()=>{p.clear(),cancelAnimationFrame(v),w.removeEventListener("resize",p),P&&P.disconnect()}},[h,x]),Br(()=>{x()});const k=g=>{u||x(),r&&r(g)};return y.jsxs(b.Fragment,{children:[y.jsx("textarea",{value:a,onChange:k,ref:d,rows:i,style:s,...l}),y.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:m,tabIndex:-1,style:{...UT.shadow,...s,paddingTop:0,paddingBottom:0}})]})});function Ai({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 Mh=b.createContext(void 0);function Mi(){return b.useContext(Mh)}function b0(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function ru(e,t=!1){return e&&(b0(e.value)&&e.value!==""||t&&b0(e.defaultValue)&&e.defaultValue!=="")}function YT(e){return e.startAdornment}function XT(e){return fe("MuiInputBase",e)}const bi=ue("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var C0;const vc=(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]},yc=(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]},qT=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,x={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 he(x,XT,t)},xc=K("div",{name:"MuiInputBase",slot:"Root",overridesResolver:vc})(Se(({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",[`&.${bi.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%"}}]}))),bc=K("input",{name:"MuiInputBase",slot:"Input",overridesResolver:yc})(Se(({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] + .${bi.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},[`&.${bi.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"}}]}})),S0=OP({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),Oh=b.forwardRef(function(t,n){const r=xe({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:x,fullWidth:k=!1,id:g,inputComponent:v="input",inputProps:p={},inputRef:C,margin:w,maxRows:P,minRows:$,multiline:E=!1,name:S,onBlur:T,onChange:A,onClick:O,onFocus:B,onKeyDown:I,onKeyUp:N,placeholder:D,readOnly:L,renderSuffix:R,rows:j,size:H,slotProps:Z={},slots:q={},startAdornment:re,type:te="text",value:me,...ge}=r,oe=p.value!=null?p.value:me,{current:W}=b.useRef(oe!=null),Q=b.useRef(),U=b.useCallback(De=>{},[]),_=lt(Q,C,p.ref,U),[X,be]=b.useState(!1),se=Mi(),de=Ai({props:r,muiFormControl:se,states:["color","disabled","error","hiddenLabel","size","required","filled"]});de.focused=se?se.focused:X,b.useEffect(()=>{!se&&f&&X&&(be(!1),T&&T())},[se,f,X,T]);const it=se&&se.onFilled,He=se&&se.onEmpty,Ae=b.useCallback(De=>{ru(De)?it&&it():He&&He()},[it,He]);Br(()=>{W&&Ae({value:oe})},[oe,Ae,W]);const qe=De=>{B&&B(De),p.onFocus&&p.onFocus(De),se&&se.onFocus?se.onFocus(De):be(!0)},$n=De=>{T&&T(De),p.onBlur&&p.onBlur(De),se&&se.onBlur?se.onBlur(De):be(!1)},Me=(De,...zi)=>{if(!W){const Ni=De.target||Q.current;if(Ni==null)throw new Error(sr(1));Ae({value:Ni.value})}p.onChange&&p.onChange(De,...zi),A&&A(De,...zi)};b.useEffect(()=>{Ae(Q.current)},[]);const _n=De=>{Q.current&&De.currentTarget===De.target&&Q.current.focus(),O&&O(De)};let J=v,ft=p;E&&J==="input"&&(j?ft={type:void 0,minRows:j,maxRows:j,...ft}:ft={type:void 0,maxRows:P,minRows:$,...ft},J=KT);const Li=De=>{Ae(De.animationName==="mui-auto-fill-cancel"?Q.current:{value:"x"})};b.useEffect(()=>{se&&se.setAdornedStart(!!re)},[se,re]);const Vn={...r,color:de.color||"primary",disabled:de.disabled,endAdornment:h,error:de.error,focused:de.focused,formControl:se,fullWidth:k,hiddenLabel:de.hiddenLabel,multiline:E,size:de.size,startAdornment:re,type:te},Kr=qT(Vn),Fi=q.root||u.Root||xc,pr=Z.root||c.root||{},ko=q.input||u.Input||bc;return ft={...ft,...Z.input??c.input},y.jsxs(b.Fragment,{children:[!m&&typeof S0=="function"&&(C0||(C0=y.jsx(S0,{}))),y.jsxs(Fi,{...pr,ref:n,onClick:_n,...ge,...!Vf(Fi)&&{ownerState:{...Vn,...pr.ownerState}},className:Y(Kr.root,pr.className,a,L&&"MuiInputBase-readOnly"),children:[re,y.jsx(Mh.Provider,{value:null,children:y.jsx(ko,{"aria-invalid":de.error,"aria-describedby":o,autoComplete:i,autoFocus:s,defaultValue:d,disabled:de.disabled,id:g,onAnimationStart:Li,name:S,placeholder:D,readOnly:L,required:de.required,rows:j,value:oe,onKeyDown:I,onKeyUp:N,type:te,...ft,...!Vf(ko)&&{as:J,ownerState:{...Vn,...ft.ownerState}},ref:_,className:Y(Kr.input,ft.className,L&&"MuiInputBase-readOnly"),onBlur:$n,onChange:Me,onFocus:qe})}),h,R?R({...de,startAdornment:re}):null]})]})});function QT(e){return fe("MuiInput",e)}const es={...bi,...ue("MuiInput",["root","underline","input"])};function ZT(e){return fe("MuiOutlinedInput",e)}const Tn={...bi,...ue("MuiOutlinedInput",["root","notchedOutline","input"])};function JT(e){return fe("MuiFilledInput",e)}const Yr={...bi,...ue("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},eR=Pe(y.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),tR=Pe(y.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 nR(e){return fe("MuiAvatar",e)}ue("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const rR=e=>{const{classes:t,variant:n,colorDefault:r}=e;return he({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},nR,t)},oR=K("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(Se(({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]})}}}]}))),iR=K("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),sR=K(tR,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function aR({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[o,i]=b.useState(!1);return b.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 yb=b.forwardRef(function(t,n){const r=xe({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",...x}=r;let k=null;const g=aR({...c,src:f,srcSet:m}),v=f||m,p=v&&g!=="error",C={...r,colorDefault:!p,component:a,variant:h};delete C.ownerState;const w=rR(C),[P,$]=sn("img",{className:w.img,elementType:iR,externalForwardedProps:{slots:l,slotProps:{img:{...c,...u.img}}},additionalProps:{alt:o,src:f,srcSet:m,sizes:d},ownerState:C});return p?k=y.jsx(P,{...$}):i||i===0?k=i:v&&o?k=o[0]:k=y.jsx(sR,{ownerState:C,className:w.fallback}),y.jsx(oR,{as:a,className:Y(w.root,s),ref:n,...x,ownerState:C,children:k})});function lR(e){return fe("MuiCard",e)}ue("MuiCard",["root"]);const uR=e=>{const{classes:t}=e;return he({root:["root"]},lR,t)},cR=K(xo,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})({overflow:"hidden"}),xb=b.forwardRef(function(t,n){const r=xe({props:t,name:"MuiCard"}),{className:o,raised:i=!1,...s}=r,a={...r,raised:i},l=uR(a);return y.jsx(cR,{className:Y(l.root,o),elevation:i?8:void 0,ref:n,ownerState:a,...s})});function dR(e){return fe("MuiCardContent",e)}ue("MuiCardContent",["root"]);const fR=e=>{const{classes:t}=e;return he({root:["root"]},dR,t)},pR=K("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),bb=b.forwardRef(function(t,n){const r=xe({props:t,name:"MuiCardContent"}),{className:o,component:i="div",...s}=r,a={...r,component:i},l=fR(a);return y.jsx(pR,{as:i,className:Y(l.root,o),ownerState:a,ref:n,...s})});function hR(e){return fe("MuiCardMedia",e)}ue("MuiCardMedia",["root","media","img"]);const mR=e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e;return he({root:["root",n&&"media",r&&"img"]},hR,t)},gR=K("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{isMediaComponent:r,isImageComponent:o}=n;return[t.root,r&&t.media,o&&t.img]}})({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",variants:[{props:{isMediaComponent:!0},style:{width:"100%"}},{props:{isImageComponent:!0},style:{objectFit:"cover"}}]}),vR=["video","audio","picture","iframe","img"],yR=["picture","img"],xR=b.forwardRef(function(t,n){const r=xe({props:t,name:"MuiCardMedia"}),{children:o,className:i,component:s="div",image:a,src:l,style:u,...c}=r,d=vR.includes(s),f=!d&&a?{backgroundImage:`url("${a}")`,...u}:u,m={...r,component:s,isMediaComponent:d,isImageComponent:yR.includes(s)},h=mR(m);return y.jsx(gR,{className:Y(h.root,i),as:s,role:!d&&a?"img":void 0,ref:n,style:f,ownerState:m,src:d?a||l:void 0,...c,children:o})}),bR=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=he(l,JT,t);return{...t,...u}},CR=K(xc,{shouldForwardProp:e=>hn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...vc(e,t),!n.disableUnderline&&t.underline]}})(Se(({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}},[`&.${Yr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Yr.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"},[`&.${Yr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Yr.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(.${Yr.disabled}, .${Yr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Yr.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Wt()).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}}]}})),SR=K(bc,{name:"MuiFilledInput",slot:"Input",overridesResolver:yc})(Se(({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}}]}))),ou=b.forwardRef(function(t,n){const r=xe({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,x={...r,disableUnderline:o,fullWidth:a,inputComponent:u,multiline:c,type:m},k=bR(r),g={root:{ownerState:x},input:{ownerState:x}},v=d??s?Pt(g,d??s):g,p=f.root??i.Root??CR,C=f.input??i.Input??SR;return y.jsx(Oh,{slots:{root:p,input:C},componentsProps:v,fullWidth:a,inputComponent:u,multiline:c,ref:n,type:m,...h,classes:k})});ou&&(ou.muiName="Input");function wR(e){return fe("MuiFormControl",e)}ue("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const kR=e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root",n!=="none"&&`margin${V(n)}`,r&&"fullWidth"]};return he(o,wR,t)},$R=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%"}}]}),PR=b.forwardRef(function(t,n){const r=xe({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:x="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:x,variant:k},p=kR(v),[C,w]=b.useState(()=>{let B=!1;return o&&b.Children.forEach(o,I=>{if(!cd(I,["Input","Select"]))return;const N=cd(I,["Select"])?I.props.input:I;N&&YT(N.props)&&(B=!0)}),B}),[P,$]=b.useState(()=>{let B=!1;return o&&b.Children.forEach(o,I=>{cd(I,["Input","Select"])&&(ru(I.props,!0)||ru(I.props.inputProps,!0))&&(B=!0)}),B}),[E,S]=b.useState(!1);l&&E&&S(!1);const T=c!==void 0&&!l?c:E;let A;const O=b.useMemo(()=>({adornedStart:C,setAdornedStart:w,color:s,disabled:l,error:u,filled:P,focused:T,fullWidth:d,hiddenLabel:f,size:x,onBlur:()=>{S(!1)},onEmpty:()=>{$(!1)},onFilled:()=>{$(!0)},onFocus:()=>{S(!0)},registerEffect:A,required:h,variant:k}),[C,s,l,u,P,T,d,f,A,h,x,k]);return y.jsx(Mh.Provider,{value:O,children:y.jsx($R,{as:a,ownerState:v,className:Y(p.root,i),ref:n,...g,children:o})})});function ER(e){return fe("MuiFormHelperText",e)}const w0=ue("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var k0;const TR=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 he(u,ER,t)},RR=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]}})(Se(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${w0.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${w0.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}}]}))),AR=b.forwardRef(function(t,n){const r=xe({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,x=Mi(),k=Ai({props:r,muiFormControl:x,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=TR(g);return y.jsx(RR,{as:s,className:Y(v.root,i),ref:n,...h,ownerState:g,children:o===" "?k0||(k0=y.jsx("span",{className:"notranslate",children:"​"})):o})});function MR(e){return fe("MuiFormLabel",e)}const Ps=ue("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),OR=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 he(l,MR,t)},IR=K("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...e.color==="secondary"&&t.colorSecondary,...e.filled&&t.filled})})(Se(({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(Wt()).map(([t])=>({props:{color:t},style:{[`&.${Ps.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Ps.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Ps.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),jR=K("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(Se(({theme:e})=>({[`&.${Ps.error}`]:{color:(e.vars||e).palette.error.main}}))),BR=b.forwardRef(function(t,n){const r=xe({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=Mi(),x=Ai({props:r,muiFormControl:h,states:["color","required","focused","disabled","error","filled"]}),k={...r,color:x.color||"primary",component:a,disabled:x.disabled,error:x.error,filled:x.filled,focused:x.focused,required:x.required},g=OR(k);return y.jsxs(IR,{as:a,ownerState:k,className:Y(g.root,i),ref:n,...m,children:[o,x.required&&y.jsxs(jR,{ownerState:k,"aria-hidden":!0,className:g.asterisk,children:[" ","*"]})]})}),DR=e=>{const{classes:t,disableUnderline:n}=e,o=he({root:["root",!n&&"underline"],input:["input"]},QT,t);return{...t,...o}},LR=K(xc,{shouldForwardProp:e=>hn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...vc(e,t),!n.disableUnderline&&t.underline]}})(Se(({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"},[`&.${es.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${es.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(.${es.disabled}, .${es.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${es.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Wt()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),FR=K(bc,{name:"MuiInput",slot:"Input",overridesResolver:yc})({}),iu=b.forwardRef(function(t,n){const r=xe({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=DR(r),k={root:{ownerState:{disableUnderline:o}}},g=c??s?Pt(c??s,k):k,v=d.root??i.Root??LR,p=d.input??i.Input??FR;return y.jsx(Oh,{slots:{root:v,input:p},slotProps:g,fullWidth:a,inputComponent:l,multiline:u,ref:n,type:f,...m,classes:h})});iu&&(iu.muiName="Input");function zR(e){return fe("MuiInputLabel",e)}ue("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const NR=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=he(l,zR,t);return{...t,...u}},_R=K(BR,{shouldForwardProp:e=>hn(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ps.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]]}})(Se(({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)"}}]}))),VR=b.forwardRef(function(t,n){const r=xe({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,margin:i,shrink:s,variant:a,className:l,...u}=r,c=Mi();let d=s;typeof d>"u"&&c&&(d=c.filled||c.focused||c.adornedStart);const f=Ai({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=NR(m);return y.jsx(_R,{"data-shrink":d,ref:n,className:Y(h.root,l),...u,ownerState:m,classes:h})});function WR(e){return fe("MuiNativeSelect",e)}const Ih=ue("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),HR=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 he(a,WR,t)},Cb=K("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${Ih.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}}}]})),UR=K(Cb,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:hn,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${Ih.multiple}`]:t.multiple}]}})({}),Sb=K("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${Ih.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}}]})),GR=K(Sb,{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]}})({}),KR=b.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=HR(c);return y.jsxs(b.Fragment,{children:[y.jsx(UR,{ownerState:c,className:Y(d.select,r),disabled:o,ref:a||n,...u}),t.multiple?null:y.jsx(GR,{as:s,ownerState:c,className:d.icon})]})});var $0;const YR=K("fieldset",{shouldForwardProp:hn})({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%"}),XR=K("legend",{shouldForwardProp:hn})(Se(({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 qR(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 y.jsx(YR,{"aria-hidden":!0,className:r,ownerState:l,...s,children:y.jsx(XR,{ownerState:l,children:a?y.jsx("span",{children:o}):$0||($0=y.jsx("span",{className:"notranslate",children:"​"}))})})}const QR=e=>{const{classes:t}=e,r=he({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},ZT,t);return{...t,...r}},ZR=K(xc,{shouldForwardProp:e=>hn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:vc})(Se(({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 .${Tn.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},[`&.${Tn.focused} .${Tn.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(Wt()).map(([n])=>({props:{color:n},style:{[`&.${Tn.focused} .${Tn.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{"@media (hover: none)":{[`&:hover .${Tn.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${Tn.error} .${Tn.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Tn.disabled} .${Tn.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"}}]}})),JR=K(qR,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(Se(({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}})),e3=K(bc,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:yc})(Se(({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}}]}))),su=b.forwardRef(function(t,n){var r;const o=xe({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=QR(o),x=Mi(),k=Ai({props:o,muiFormControl:x,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),g={...o,color:k.color||"primary",disabled:k.disabled,error:k.error,focused:k.focused,formControl:x,fullWidth:s,hiddenLabel:k.hiddenLabel,multiline:u,size:k.size,type:f},v=d.root??i.Root??ZR,p=d.input??i.Input??e3;return y.jsx(Oh,{slots:{root:v,input:p},renderSuffix:C=>y.jsx(JR,{ownerState:g,className:h.notchedOutline,label:l!=null&&l!==""&&k.required?r||(r=y.jsxs(b.Fragment,{children:[l," ","*"]})):l,notched:typeof c<"u"?c:!!(C.startAdornment||C.filled||C.focused)}),fullWidth:s,inputComponent:a,multiline:u,ref:n,type:f,...m,classes:{...h,notchedOutline:null}})});su&&(su.muiName="Input");const t3=Pe(y.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"),n3=Pe(y.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 r3(e){return fe("MuiRating",e)}const ts=ue("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]);function o3(e){const t=e.toString().split(".")[1];return t?t.length:0}function yd(e,t){if(e==null)return e;const n=Math.round(e/t)*t;return Number(n.toFixed(o3(t)))}const i3=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 he(a,r3,t)},s3=K("span",{name:"MuiRating",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ts.visuallyHidden}`]:t.visuallyHidden},t.root,t[`size${V(n.size)}`],n.readOnly&&t.readOnly]}})(Se(({theme:e})=>({display:"inline-flex",position:"relative",fontSize:e.typography.pxToRem(24),color:"#faaf00",cursor:"pointer",textAlign:"left",width:"min-content",WebkitTapHighlightColor:"transparent",[`&.${ts.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${ts.focusVisible} .${ts.iconActive}`]:{outline:"1px solid #999"},[`& .${ts.visuallyHidden}`]:F$,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"}}]}))),wb=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%"}}]}),a3=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]}})(Se(({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}}]}))),l3=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 u3(e){const{value:t,...n}=e;return y.jsx("span",{...n})}function P0(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:x,onClick:k,onFocus:g,readOnly:v,ownerState:p,ratingValue:C,ratingValueRounded:w}=e,P=s?d===C:d<=C,$=d<=a,E=d<=o,S=d===w,T=ic(),A=y.jsx(a3,{as:u,value:d,className:Y(t.icon,P?t.iconFilled:t.iconEmpty,$&&t.iconHover,E&&t.iconFocus,c&&t.iconActive),ownerState:{...p,iconEmpty:!P,iconFilled:P,iconHover:$,iconFocus:E,iconActive:c},children:r&&!P?r:l});return v?y.jsx("span",{...f,children:A}):y.jsxs(b.Fragment,{children:[y.jsxs(wb,{ownerState:{...p,emptyValueFocused:void 0},htmlFor:T,...f,children:[A,y.jsx("span",{className:t.visuallyHidden,children:i(d)})]}),y.jsx("input",{className:t.visuallyHidden,onFocus:g,onBlur:h,onChange:x,onClick:k,disabled:n,value:d,id:T,type:"radio",name:m,checked:S})]})}const c3=y.jsx(t3,{fontSize:"inherit"}),d3=y.jsx(n3,{fontSize:"inherit"});function f3(e){return`${e||"0"} Star${e!==1?"s":""}`}const kb=b.forwardRef(function(t,n){const r=xe({name:"MuiRating",props:t}),{className:o,defaultValue:i=null,disabled:s=!1,emptyIcon:a=d3,emptyLabelText:l="Empty",getLabelText:u=f3,highlightSelectedOnly:c=!1,icon:d=c3,IconContainerComponent:f=u3,max:m=5,name:h,onChange:x,onChangeActive:k,onMouseLeave:g,onMouseMove:v,precision:p=1,readOnly:C=!1,size:w="medium",value:P,...$}=r,E=ic(h),[S,T]=Bf({controlled:P,default:i,name:"Rating"}),A=yd(S,p),O=sb(),[{hover:B,focus:I},N]=b.useState({hover:-1,focus:-1});let D=A;B!==-1&&(D=B),I!==-1&&(D=I);const[L,R]=b.useState(!1),j=b.useRef(),H=lt(j,n),Z=_=>{v&&v(_);const X=j.current,{right:be,left:se,width:de}=X.getBoundingClientRect();let it;O?it=(be-_.clientX)/de:it=(_.clientX-se)/de;let He=yd(m*it+p/2,p);He=qx(He,p,m),N(Ae=>Ae.hover===He&&Ae.focus===He?Ae:{hover:He,focus:He}),R(!1),k&&B!==He&&k(_,He)},q=_=>{g&&g(_);const X=-1;N({hover:X,focus:X}),k&&B!==X&&k(_,X)},re=_=>{let X=_.target.value===""?null:parseFloat(_.target.value);B!==-1&&(X=B),T(X),x&&x(_,X)},te=_=>{_.clientX===0&&_.clientY===0||(N({hover:-1,focus:-1}),T(null),x&&parseFloat(_.target.value)===A&&x(_,null))},me=_=>{Zl(_.target)&&R(!0);const X=parseFloat(_.target.value);N(be=>({hover:be.hover,focus:X}))},ge=_=>{if(B!==-1)return;Zl(_.target)||R(!1);const X=-1;N(be=>({hover:be.hover,focus:X}))},[oe,W]=b.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:C,size:w},U=i3(Q);return y.jsxs(s3,{ref:H,onMouseMove:Z,onMouseLeave:q,className:Y(U.root,o,C&&"MuiRating-readOnly"),ownerState:Q,role:C?"img":null,"aria-label":C?u(D):null,...$,children:[Array.from(new Array(m)).map((_,X)=>{const be=X+1,se={classes:U,disabled:s,emptyIcon:a,focus:I,getLabelText:u,highlightSelectedOnly:c,hover:B,icon:d,IconContainerComponent:f,name:E,onBlur:ge,onChange:re,onClick:te,onFocus:me,ratingValue:D,ratingValueRounded:A,readOnly:C,ownerState:Q},de=be===Math.ceil(D)&&(B!==-1||I!==-1);if(p<1){const it=Array.from(new Array(1/p));return y.jsx(l3,{className:Y(U.decimal,de&&U.iconActive),ownerState:Q,iconActive:de,children:it.map((He,Ae)=>{const qe=yd(be-1+(Ae+1)*p,p);return y.jsx(P0,{...se,isActive:!1,itemValue:qe,labelProps:{style:it.length-1===Ae?{}:{width:qe===D?`${(Ae+1)*p*100}%`:"0%",overflow:"hidden",position:"absolute"}}},qe)})},be)}return y.jsx(P0,{...se,isActive:de,itemValue:be},be)}),!C&&!s&&y.jsxs(wb,{className:Y(U.label,U.labelEmptyValue),ownerState:Q,children:[y.jsx("input",{className:U.visuallyHidden,value:"",id:`${E}-empty`,type:"radio",name:E,checked:A==null,onFocus:()=>W(!0),onBlur:()=>W(!1),onChange:re}),y.jsx("span",{className:U.visuallyHidden,children:l})]})]})});function p3(e){return fe("MuiSelect",e)}const ns=ue("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var E0;const h3=K(Cb,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${ns.select}`]:t.select},{[`&.${ns.select}`]:t[n.variant]},{[`&.${ns.error}`]:t.error},{[`&.${ns.multiple}`]:t.multiple}]}})({[`&.${ns.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),m3=K(Sb,{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]}})({}),g3=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 v3(e){return e==null||typeof e=="string"&&!e.trim()}const y3=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 he(a,p3,t)},x3=b.forwardRef(function(t,n){var Ni;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:x,labelId:k,MenuProps:g={},multiple:v,name:p,onBlur:C,onChange:w,onClose:P,onFocus:$,onOpen:E,open:S,readOnly:T,renderValue:A,SelectDisplayProps:O={},tabIndex:B,type:I,value:N,variant:D="standard",...L}=t,[R,j]=Bf({controlled:N,default:c,name:"Select"}),[H,Z]=Bf({controlled:S,default:u,name:"Select"}),q=b.useRef(null),re=b.useRef(null),[te,me]=b.useState(null),{current:ge}=b.useRef(S!=null),[oe,W]=b.useState(),Q=lt(n,x),U=b.useCallback(ne=>{re.current=ne,ne&&me(ne)},[]),_=te==null?void 0:te.parentNode;b.useImperativeHandle(Q,()=>({focus:()=>{re.current.focus()},node:q.current,value:R}),[R]),b.useEffect(()=>{u&&H&&te&&!ge&&(W(s?null:_.clientWidth),re.current.focus())},[te,s]),b.useEffect(()=>{i&&re.current.focus()},[i]),b.useEffect(()=>{if(!k)return;const ne=Gt(re.current).getElementById(k);if(ne){const Oe=()=>{getSelection().isCollapsed&&re.current.focus()};return ne.addEventListener("click",Oe),()=>{ne.removeEventListener("click",Oe)}}},[k]);const X=(ne,Oe)=>{ne?E&&E(Oe):P&&P(Oe),ge||(W(s?null:_.clientWidth),Z(ne))},be=ne=>{ne.button===0&&(ne.preventDefault(),re.current.focus(),X(!0,ne))},se=ne=>{X(!1,ne)},de=b.Children.toArray(a),it=ne=>{const Oe=de.find(pt=>pt.props.value===ne.target.value);Oe!==void 0&&(j(Oe.props.value),w&&w(ne,Oe))},He=ne=>Oe=>{let pt;if(Oe.currentTarget.hasAttribute("tabindex")){if(v){pt=Array.isArray(R)?R.slice():[];const $o=R.indexOf(ne.props.value);$o===-1?pt.push(ne.props.value):pt.splice($o,1)}else pt=ne.props.value;if(ne.props.onClick&&ne.props.onClick(Oe),R!==pt&&(j(pt),w)){const $o=Oe.nativeEvent||Oe,km=new $o.constructor($o.type,$o);Object.defineProperty(km,"target",{writable:!0,value:{value:pt,name:p}}),w(km,ne)}v||X(!1,Oe)}},Ae=ne=>{T||[" ","ArrowUp","ArrowDown","Enter"].includes(ne.key)&&(ne.preventDefault(),X(!0,ne))},qe=te!==null&&H,$n=ne=>{!qe&&C&&(Object.defineProperty(ne,"target",{writable:!0,value:{value:R,name:p}}),C(ne))};delete L["aria-invalid"];let Me,_n;const J=[];let ft=!1;(ru({value:R})||f)&&(A?Me=A(R):ft=!0);const Li=de.map(ne=>{if(!b.isValidElement(ne))return null;let Oe;if(v){if(!Array.isArray(R))throw new Error(sr(2));Oe=R.some(pt=>T0(pt,ne.props.value)),Oe&&ft&&J.push(ne.props.children)}else Oe=T0(R,ne.props.value),Oe&&ft&&(_n=ne.props.children);return b.cloneElement(ne,{"aria-selected":Oe?"true":"false",onClick:He(ne),onKeyUp:pt=>{pt.key===" "&&pt.preventDefault(),ne.props.onKeyUp&&ne.props.onKeyUp(pt)},role:"option",selected:Oe,value:void 0,"data-value":ne.props.value})});ft&&(v?J.length===0?Me=null:Me=J.reduce((ne,Oe,pt)=>(ne.push(Oe),pt{const{classes:t}=e;return t},jh={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>hn(e)&&e!=="variant",slot:"Root"},C3=K(iu,jh)(""),S3=K(su,jh)(""),w3=K(ou,jh)(""),$b=b.forwardRef(function(t,n){const r=cb({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:i,classes:s={},className:a,defaultOpen:l=!1,displayEmpty:u=!1,IconComponent:c=eR,id:d,input:f,inputProps:m,label:h,labelId:x,MenuProps:k,multiple:g=!1,native:v=!1,onClose:p,onOpen:C,open:w,renderValue:P,SelectDisplayProps:$,variant:E="outlined",...S}=r,T=v?KR:x3,A=Mi(),O=Ai({props:r,muiFormControl:A,states:["variant","error"]}),B=O.variant||E,I={...r,variant:B,classes:s},N=b3(I),{root:D,...L}=N,R=f||{standard:y.jsx(C3,{ownerState:I}),outlined:y.jsx(S3,{label:h,ownerState:I}),filled:y.jsx(w3,{ownerState:I})}[B],j=lt(n,va(R));return y.jsx(b.Fragment,{children:b.cloneElement(R,{inputComponent:T,inputProps:{children:i,error:O.error,IconComponent:c,variant:B,type:void 0,multiple:g,...v?{id:d}:{autoWidth:o,defaultOpen:l,displayEmpty:u,labelId:x,MenuProps:k,onClose:p,onOpen:C,open:w,renderValue:P,SelectDisplayProps:{id:d,...$}},...m,classes:m?Pt(L,m.classes):L,...f?f.props.inputProps:{}},...(g&&v||u)&&B==="outlined"?{notched:!0}:{},ref:j,className:Y(R.props.className,a,N.root),...!f&&{variant:B},...S})})});$b.muiName="Select";function k3(e){return fe("MuiTextField",e)}ue("MuiTextField",["root"]);const $3={standard:iu,filled:ou,outlined:su},P3=e=>{const{classes:t}=e;return he({root:["root"]},k3,t)},E3=K(PR,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),xd=b.forwardRef(function(t,n){const r=xe({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:x,InputLabelProps:k,inputProps:g,InputProps:v,inputRef:p,label:C,maxRows:w,minRows:P,multiline:$=!1,name:E,onBlur:S,onChange:T,onFocus:A,placeholder:O,required:B=!1,rows:I,select:N=!1,SelectProps:D,slots:L={},slotProps:R={},type:j,value:H,variant:Z="outlined",...q}=r,re={...r,autoFocus:i,color:l,disabled:c,error:d,fullWidth:m,multiline:$,required:B,select:N,variant:Z},te=P3(re),me=ic(x),ge=h&&me?`${me}-helper-text`:void 0,oe=C&&me?`${me}-label`:void 0,W=$3[Z],Q={slots:L,slotProps:{input:v,inputLabel:k,htmlInput:g,formHelperText:f,select:D,...R}},U={},_=Q.slotProps.inputLabel;Z==="outlined"&&(_&&typeof _.shrink<"u"&&(U.notched=_.shrink),U.label=C),N&&((!D||!D.native)&&(U.id=void 0),U["aria-describedby"]=void 0);const[X,be]=sn("input",{elementType:W,externalForwardedProps:Q,additionalProps:U,ownerState:re}),[se,de]=sn("inputLabel",{elementType:VR,externalForwardedProps:Q,ownerState:re}),[it,He]=sn("htmlInput",{elementType:"input",externalForwardedProps:Q,ownerState:re}),[Ae,qe]=sn("formHelperText",{elementType:AR,externalForwardedProps:Q,ownerState:re}),[$n,Me]=sn("select",{elementType:$b,externalForwardedProps:Q,ownerState:re}),_n=y.jsx(X,{"aria-describedby":ge,autoComplete:o,autoFocus:i,defaultValue:u,fullWidth:m,multiline:$,name:E,rows:I,maxRows:w,minRows:P,type:j,value:H,id:me,inputRef:p,onBlur:S,onChange:T,onFocus:A,placeholder:O,inputProps:He,slots:{input:L.htmlInput?it:void 0},...be});return y.jsxs(E3,{className:Y(te.root,a),disabled:c,error:d,fullWidth:m,ref:n,required:B,color:l,variant:Z,ownerState:re,...q,children:[C!=null&&C!==""&&y.jsx(se,{htmlFor:me,id:oe,...de,children:C}),N?y.jsx($n,{"aria-describedby":ge,id:me,labelId:oe,value:H,input:_n,...Me,children:s}):_n,h&&y.jsx(Ae,{id:ge,...qe,children:h})]})});function T3(){const{light:e,toggle:t}=b.useContext(kn);return y.jsxs(Lr,{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 ea(){return ea=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Pb(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function A3(){return Math.random().toString(36).substr(2,8)}function A0(e,t){return{usr:e.state,key:e.key,idx:t}}function Gf(e,t,n,r){return n===void 0&&(n=null),ea({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Oi(t):t,{state:n,key:t&&t.key||r||A3()})}function au(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 Oi(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 M3(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a=wr.Pop,l=null,u=c();u==null&&(u=0,s.replaceState(ea({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function d(){a=wr.Pop;let k=c(),g=k==null?null:k-u;u=k,l&&l({action:a,location:x.location,delta:g})}function f(k,g){a=wr.Push;let v=Gf(x.location,k,g);u=c()+1;let p=A0(v,u),C=x.createHref(v);try{s.pushState(p,"",C)}catch(w){if(w instanceof DOMException&&w.name==="DataCloneError")throw w;o.location.assign(C)}i&&l&&l({action:a,location:x.location,delta:1})}function m(k,g){a=wr.Replace;let v=Gf(x.location,k,g);u=c();let p=A0(v,u),C=x.createHref(v);s.replaceState(p,"",C),i&&l&&l({action:a,location:x.location,delta:0})}function h(k){let g=o.location.origin!=="null"?o.location.origin:o.location.href,v=typeof k=="string"?k:au(k);return v=v.replace(/ $/,"%20"),ot(g,"No window.location.(origin|href) available to create URL for href: "+v),new URL(v,g)}let x={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(R0,d),l=k,()=>{o.removeEventListener(R0,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 x}var M0;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(M0||(M0={}));function O3(e,t,n){return n===void 0&&(n="/"),I3(e,t,n,!1)}function I3(e,t,n,r){let o=typeof t=="string"?Oi(t):t,i=Bh(o.pathname||"/",n);if(i==null)return null;let s=Eb(e);j3(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("/")&&(ot(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=Or([r,l.relativePath]),c=n.concat(l);i.children&&i.children.length>0&&(ot(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Eb(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:_3(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 Tb(i.path))o(i,s,l)}),t}function Tb(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=Tb(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 j3(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:V3(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const B3=/^:[\w-]+$/,D3=3,L3=2,F3=1,z3=10,N3=-2,O0=e=>e==="*";function _3(e,t){let n=e.split("/"),r=n.length;return n.some(O0)&&(r+=N3),t&&(r+=L3),n.filter(o=>!O0(o)).reduce((o,i)=>o+(B3.test(i)?D3:i===""?F3:z3),r)}function V3(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 W3(e,t,n){let{routesMeta:r}=e,o={},i="/",s=[];for(let a=0;a{let{paramName:f,isOptional:m}=c;if(f==="*"){let x=a[d]||"";s=i.slice(0,i.length-x.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 H3(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Pb(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 U3(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Pb(!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 G3(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Oi(e):e;return{pathname:n?n.startsWith("/")?n:K3(n,t):t,search:q3(r),hash:Q3(o)}}function K3(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 bd(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 Y3(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Rb(e,t){let n=Y3(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Ab(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Oi(e):(o=ea({},e),ot(!o.pathname||!o.pathname.includes("?"),bd("?","pathname","search",o)),ot(!o.pathname||!o.pathname.includes("#"),bd("#","pathname","hash",o)),ot(!o.search||!o.search.includes("#"),bd("#","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=G3(o,a),u=s&&s!=="/"&&s.endsWith("/"),c=(i||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const Or=e=>e.join("/").replace(/\/\/+/g,"/"),X3=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),q3=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Q3=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Z3(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Mb=["post","put","patch","delete"];new Set(Mb);const J3=["get",...Mb];new Set(J3);/** - * 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 ta(){return ta=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),b.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let d=Ab(u,JSON.parse(s),i,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Or([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,s,i,e])}function r4(){let{matches:e}=b.useContext(Hr),t=e[e.length-1];return t?t.params:{}}function jb(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=b.useContext(So),{matches:o}=b.useContext(Hr),{pathname:i}=ba(),s=JSON.stringify(Rb(o,r.v7_relativeSplatPath));return b.useMemo(()=>Ab(e,JSON.parse(s),i,n==="path"),[e,s,i,n])}function o4(e,t){return i4(e,t)}function i4(e,t,n,r){xa()||ot(!1);let{navigator:o}=b.useContext(So),{matches:i}=b.useContext(Hr),s=i[i.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=ba(),c;if(t){var d;let k=typeof t=="string"?Oi(t):t;l==="/"||(d=k.pathname)!=null&&d.startsWith(l)||ot(!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=O3(e,{pathname:m}),x=c4(h&&h.map(k=>Object.assign({},k,{params:Object.assign({},a,k.params),pathname:Or([l,o.encodeLocation?o.encodeLocation(k.pathname).pathname:k.pathname]),pathnameBase:k.pathnameBase==="/"?l:Or([l,o.encodeLocation?o.encodeLocation(k.pathnameBase).pathname:k.pathnameBase])})),i,n,r);return t&&x?b.createElement(Cc.Provider,{value:{location:ta({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:wr.Pop}},x):x}function s4(){let e=h4(),t=Z3(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 b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:o},n):null,null)}const a4=b.createElement(s4,null);class l4 extends b.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?b.createElement(Hr.Provider,{value:this.props.routeContext},b.createElement(Ob.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function u4(e){let{routeContext:t,match:n,children:r}=e,o=b.useContext(Dh);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(Hr.Provider,{value:t},r)}function c4(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||ot(!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,x=null,k=null;n&&(m=a&&d.route.id?a[d.route.id]:void 0,x=d.route.errorElement||a4,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=x:h?p=k:d.route.Component?p=b.createElement(d.route.Component,null):d.route.element?p=d.route.element:p=c,b.createElement(u4,{match:d,routeContext:{outlet:c,matches:g,isDataRoute:n!=null},children:p})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?b.createElement(l4,{location:n.location,revalidation:n.revalidation,component:x,error:m,children:v(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):v()},null)}var Bb=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Bb||{}),lu=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}(lu||{});function d4(e){let t=b.useContext(Dh);return t||ot(!1),t}function f4(e){let t=b.useContext(e4);return t||ot(!1),t}function p4(e){let t=b.useContext(Hr);return t||ot(!1),t}function Db(e){let t=p4(),n=t.matches[t.matches.length-1];return n.route.id||ot(!1),n.route.id}function h4(){var e;let t=b.useContext(Ob),n=f4(lu.UseRouteError),r=Db(lu.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function m4(){let{router:e}=d4(Bb.UseNavigateStable),t=Db(lu.UseNavigateStable),n=b.useRef(!1);return Ib(()=>{n.current=!0}),b.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,ta({fromRouteId:t},i)))},[e,t])}function to(e){ot(!1)}function g4(e){let{basename:t="/",children:n=null,location:r,navigationType:o=wr.Pop,navigator:i,static:s=!1,future:a}=e;xa()&&ot(!1);let l=t.replace(/^\/*/,"/"),u=b.useMemo(()=>({basename:l,navigator:i,static:s,future:ta({v7_relativeSplatPath:!1},a)}),[l,a,i,s]);typeof r=="string"&&(r=Oi(r));let{pathname:c="/",search:d="",hash:f="",state:m=null,key:h="default"}=r,x=b.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 x==null?null:b.createElement(So.Provider,{value:u},b.createElement(Cc.Provider,{children:n,value:x}))}function v4(e){let{children:t,location:n}=e;return o4(Kf(t),n)}new Promise(()=>{});function Kf(e,t){t===void 0&&(t=[]);let n=[];return b.Children.forEach(e,(r,o)=>{if(!b.isValidElement(r))return;let i=[...t,o];if(r.type===b.Fragment){n.push.apply(n,Kf(r.props.children,i));return}r.type!==to&&ot(!1),!r.props.index||!r.props.children||ot(!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=Kf(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 Yf(){return Yf=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function x4(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function b4(e,t){return e.button===0&&(!t||t==="_self")&&!x4(e)}const C4=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],S4="6";try{window.__reactRouterVersion=S4}catch{}const w4="startTransition",j0=kl[w4];function k4(e){let{basename:t,children:n,future:r,window:o}=e,i=b.useRef();i.current==null&&(i.current=R3({window:o,v5Compat:!0}));let s=i.current,[a,l]=b.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=b.useCallback(d=>{u&&j0?j0(()=>l(d)):l(d)},[l,u]);return b.useLayoutEffect(()=>s.listen(c),[s,c]),b.createElement(g4,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const $4=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",P4=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Gn=b.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=y4(t,C4),{basename:m}=b.useContext(So),h,x=!1;if(typeof u=="string"&&P4.test(u)&&(h=u,$4))try{let p=new URL(window.location.href),C=u.startsWith("//")?new URL(p.protocol+u):new URL(u),w=Bh(C.pathname,m);C.origin===p.origin&&w!=null?u=w+C.search+C.hash:x=!0}catch{}let k=t4(u,{relative:o}),g=E4(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 b.createElement("a",Yf({},f,{href:h||k,onClick:x||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 E4(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,l=Lh(),u=ba(),c=jb(e,{relative:s});return b.useCallback(d=>{if(b4(d,n)){d.preventDefault();let f=r!==void 0?r:au(u)===au(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 L0=[{name:"Home",path:"/fer-lab1/"},{name:"Special",path:"/fer-lab1/natural"},{name:"News",path:"/fer-lab1/news"},{name:"About",path:"/fer-lab1/about"},{name:"Contact",path:"/fer-lab1/contact"}];function T4(){const[e,t]=b.useState(null),{theme:n}=b.useContext(kn),r=ba(),o=s=>{t(s.currentTarget)},i=()=>{t(null)};return y.jsx(VP,{position:"static",color:n.header.backgroundColor,children:y.jsx(yi,{maxWidth:"xl",children:y.jsxs(YP,{disableGutters:!0,children:[y.jsx(y0,{sx:{display:{xs:"none",md:"flex"},mr:1}}),y.jsx(Gn,{to:"/fer-lab1/",style:{textDecoration:"none"},children:y.jsx(ie,{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"})}),y.jsxs(ce,{sx:{flexGrow:1,display:{xs:"flex",md:"none"}},children:[y.jsx(un,{size:"large","aria-label":"account of current user","aria-controls":"menu-appbar","aria-haspopup":"true",onClick:o,color:"inherit",children:y.jsx(CT,{})}),y.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:L0.map(s=>y.jsx(LT,{onClick:i,component:Gn,to:s.path,children:y.jsx(ie,{sx:{textAlign:"center"},children:s.name})},s.name))})]}),y.jsx(y0,{sx:{display:{xs:"flex",md:"none"},mr:1}}),y.jsx(ie,{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"}),y.jsx(ce,{sx:{flexGrow:1,display:{xs:"none",md:"flex"}},children:L0.map(s=>y.jsx(Lr,{component:Gn,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))}),y.jsx(T3,{})]})})})}const rs={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"}},Lb="$$joy";function Xf(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 br(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 Fb(e){if(!br(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Fb(e[n])}),t}function Qn(e,t,n={clone:!0}){const r=n.clone?z({},e):e;return br(e)&&br(t)&&Object.keys(t).forEach(o=>{br(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&br(e[o])?r[o]=Qn(e[o],t[o],n):n.clone?r[o]=br(t[o])?Fb(t[o]):t[o]:r[o]=t[o]}),r}const M4=["values","unit","step"],O4=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)=>z({},n,{[r.key]:r.val}),{})};function zb(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Je(e,M4),i=O4(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:${Fh[e]}px)`};function lr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||F0;return t.reduce((s,a,l)=>(s[i.up(i.keys[l])]=n(t[l]),s),{})}if(typeof t=="object"){const i=r.breakpoints||F0;return Object.keys(t).reduce((s,a)=>{if(Object.keys(i.values||Fh).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 j4(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function B4(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Ln(e){if(typeof e!="string")throw new Error(Xf(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Sc(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 uu(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Sc(e,n)||r,t&&(o=t(o,r,e)),o}function tt(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=Sc(l,r)||{};return lr(s,a,d=>{let f=uu(u,o,d);return d===f&&typeof d=="string"&&(f=uu(u,o,`${t}${d==="default"?"":Ln(d)}`,d)),n===!1?f:{[n]:f}})};return i.propTypes={},i.filterProps=[t],i}function D4(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const L4={m:"margin",p:"padding"},F4={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},z0={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},z4=D4(e=>{if(e.length>2)if(z0[e])e=z0[e];else return[e];const[t,n]=e.split(""),r=L4[t],o=F4[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),zh=["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"];[...zh,...Nh];function Ca(e,t,n,r){var o;const i=(o=Sc(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 Nb(e){return Ca(e,"spacing",8)}function Sa(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 N4(e,t){return n=>e.reduce((r,o)=>(r[o]=Sa(t,n),r),{})}function _4(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=z4(n),i=N4(o,r),s=e[n];return lr(e,s,i)}function _b(e,t){const n=Nb(e.theme);return Object.keys(e).map(r=>_4(e,t,r,n)).reduce(Es,{})}function Ke(e){return _b(e,zh)}Ke.propTypes={};Ke.filterProps=zh;function Ye(e){return _b(e,Nh)}Ye.propTypes={};Ye.filterProps=Nh;function Vb(e=8){if(e.mui)return e;const t=Nb({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 wc(...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]?Es(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 gn(e,t){return tt({prop:e,themeKey:"borders",transform:t})}const V4=gn("border",on),W4=gn("borderTop",on),H4=gn("borderRight",on),U4=gn("borderBottom",on),G4=gn("borderLeft",on),K4=gn("borderColor"),Y4=gn("borderTopColor"),X4=gn("borderRightColor"),q4=gn("borderBottomColor"),Q4=gn("borderLeftColor"),Z4=gn("outline",on),J4=gn("outlineColor"),kc=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ca(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Sa(t,r)});return lr(e,e.borderRadius,n)}return null};kc.propTypes={};kc.filterProps=["borderRadius"];wc(V4,W4,H4,U4,G4,K4,Y4,X4,q4,Q4,kc,Z4,J4);const $c=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ca(e.theme,"spacing",8),n=r=>({gap:Sa(t,r)});return lr(e,e.gap,n)}return null};$c.propTypes={};$c.filterProps=["gap"];const Pc=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ca(e.theme,"spacing",8),n=r=>({columnGap:Sa(t,r)});return lr(e,e.columnGap,n)}return null};Pc.propTypes={};Pc.filterProps=["columnGap"];const Ec=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ca(e.theme,"spacing",8),n=r=>({rowGap:Sa(t,r)});return lr(e,e.rowGap,n)}return null};Ec.propTypes={};Ec.filterProps=["rowGap"];const eA=tt({prop:"gridColumn"}),tA=tt({prop:"gridRow"}),nA=tt({prop:"gridAutoFlow"}),rA=tt({prop:"gridAutoColumns"}),oA=tt({prop:"gridAutoRows"}),iA=tt({prop:"gridTemplateColumns"}),sA=tt({prop:"gridTemplateRows"}),aA=tt({prop:"gridTemplateAreas"}),lA=tt({prop:"gridArea"});wc($c,Pc,Ec,eA,tA,nA,rA,oA,iA,sA,aA,lA);function ui(e,t){return t==="grey"?t:e}const uA=tt({prop:"color",themeKey:"palette",transform:ui}),cA=tt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ui}),dA=tt({prop:"backgroundColor",themeKey:"palette",transform:ui});wc(uA,cA,dA);function _t(e){return e<=1&&e!==0?`${e*100}%`:e}const fA=tt({prop:"width",transform:_t}),_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])||Fh[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 lr(e,e.maxWidth,t)}return null};_h.filterProps=["maxWidth"];const pA=tt({prop:"minWidth",transform:_t}),hA=tt({prop:"height",transform:_t}),mA=tt({prop:"maxHeight",transform:_t}),gA=tt({prop:"minHeight",transform:_t});tt({prop:"size",cssProperty:"width",transform:_t});tt({prop:"size",cssProperty:"height",transform:_t});const vA=tt({prop:"boxSizing"});wc(fA,_h,pA,hA,mA,gA,vA);const Tc={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:kc},color:{themeKey:"palette",transform:ui},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ui},backgroundColor:{themeKey:"palette",transform:ui},p:{style:Ye},pt:{style:Ye},pr:{style:Ye},pb:{style:Ye},pl:{style:Ye},px:{style:Ye},py:{style:Ye},padding:{style:Ye},paddingTop:{style:Ye},paddingRight:{style:Ye},paddingBottom:{style:Ye},paddingLeft:{style:Ye},paddingX:{style:Ye},paddingY:{style:Ye},paddingInline:{style:Ye},paddingInlineStart:{style:Ye},paddingInlineEnd:{style:Ye},paddingBlock:{style:Ye},paddingBlockStart:{style:Ye},paddingBlockEnd:{style:Ye},m:{style:Ke},mt:{style:Ke},mr:{style:Ke},mb:{style:Ke},ml:{style:Ke},mx:{style:Ke},my:{style:Ke},margin:{style:Ke},marginTop:{style:Ke},marginRight:{style:Ke},marginBottom:{style:Ke},marginLeft:{style:Ke},marginX:{style:Ke},marginY:{style:Ke},marginInline:{style:Ke},marginInlineStart:{style:Ke},marginInlineEnd:{style:Ke},marginBlock:{style:Ke},marginBlockStart:{style:Ke},marginBlockEnd:{style:Ke},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:$c},rowGap:{style:Ec},columnGap:{style:Pc},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:_h},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 yA(...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 xA(e,t){return typeof e=="function"?e(t):e}function bA(){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=Sc(o,u)||{};return d?d(s):lr(s,r,h=>{let x=uu(f,c,h);return h===x&&typeof h=="string"&&(x=uu(f,c,`${n}${h==="default"?"":Ln(h)}`,h)),l===!1?x:{[l]:x}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const s=(r=i.unstable_sxConfig)!=null?r:Tc;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=j4(i.breakpoints),d=Object.keys(c);let f=c;return Object.keys(u).forEach(m=>{const h=xA(u[m],i);if(h!=null)if(typeof h=="object")if(s[m])f=Es(f,e(m,h,i,s));else{const x=lr({theme:i},h,k=>({[m]:k}));yA(x,h)?f[m]=t({sx:h,theme:i}):f=Es(f,x)}else f=Es(f,e(m,h,i,s))}),B4(d,f)}return Array.isArray(o)?o.map(a):a(o)}return t}const Rc=bA();Rc.filterProps=["sx"];function Wb(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 CA=["breakpoints","palette","spacing","shape"];function Vh(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,s=Je(e,CA),a=zb(n),l=Vb(o);let u=Qn({breakpoints:a,direction:"ltr",components:{},palette:z({mode:"light"},r),spacing:l,shape:z({},I4,i)},s);return u.applyStyles=Wb,u=t.reduce((c,d)=>Qn(c,d),u),u.unstable_sxConfig=z({},Tc,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return Rc({sx:d,theme:this})},u}function SA(e){return Object.keys(e).length===0}function wA(e=null){const t=b.useContext(tc);return!t||SA(t)?e:t}const kA=Vh();function Hb(e=kA){return wA(e)}const $A=["sx"],PA=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:Tc;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function EA(e){const{sx:t}=e,n=Je(e,$A),{systemProps:r,otherProps:o}=PA(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...s)=>{const a=t(...s);return br(a)?z({},r,a):r}:i=z({},r,t),z({},o,{sx:i})}const N0=e=>e,TA=()=>{let e=N0;return{configure(t){e=t},generate(t){return e(t)},reset(){e=N0}}},RA=TA(),AA={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 Wh(e,t,n="Mui"){const r=AA[t];return r?`${n}-${r}`:`${RA.generate(e)}-${t}`}function MA(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Wh(e,o,n)}),r}const OA=["ownerState"],IA=["variants"],jA=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function BA(e){return Object.keys(e).length===0}function DA(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Cd(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const LA=Vh(),FA=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Ja({defaultTheme:e,theme:t,themeId:n}){return BA(t)?e:t[n]||t}function zA(e){return e?(t,n)=>n[e]:null}function xl(e,t){let{ownerState:n}=t,r=Je(t,OA);const o=typeof e=="function"?e(z({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>xl(i,z({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let a=Je(o,IA);return i.forEach(l=>{let u=!0;typeof l.props=="function"?u=l.props(z({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(z({ownerState:n},r,n)):l.style))}),a}return o}function Ub(e={}){const{themeId:t,defaultTheme:n=LA,rootShouldForwardProp:r=Cd,slotShouldForwardProp:o=Cd}=e,i=s=>Rc(z({},s,{theme:Ja(z({},s,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(s,a={})=>{A4(s,w=>w.filter(P=>!(P!=null&&P.__mui_systemSx)));const{name:l,slot:u,skipVariantsResolver:c,skipSx:d,overridesResolver:f=zA(FA(u))}=a,m=Je(a,jA),h=c!==void 0?c:u&&u!=="Root"&&u!=="root"||!1,x=d||!1;let k,g=Cd;u==="Root"||u==="root"?g=r:u?g=o:DA(s)&&(g=void 0);const v=R4(s,z({shouldForwardProp:g,label:k},m)),p=w=>typeof w=="function"&&w.__emotion_real!==w||br(w)?P=>xl(w,z({},P,{theme:Ja({theme:P.theme,defaultTheme:n,themeId:t})})):w,C=(w,...P)=>{let $=p(w);const E=P?P.map(p):[];l&&f&&E.push(A=>{const O=Ja(z({},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(([N,D])=>{I[N]=xl(D,z({},A,{theme:O}))}),f(A,I)}),l&&!h&&E.push(A=>{var O;const B=Ja(z({},A,{defaultTheme:n,themeId:t})),I=B==null||(O=B.components)==null||(O=O[l])==null?void 0:O.variants;return xl({variants:I},z({},A,{theme:B}))}),x||E.push(i);const S=E.length-P.length;if(Array.isArray(w)&&S>0){const A=new Array(S).fill("");$=[...w,...A],$.raw=[...w.raw,...A]}const T=v($,...E);return s.muiName&&(T.muiName=s.muiName),T};return v.withConfig&&(C.withConfig=v.withConfig),C}}const NA=Ub();function Gb(e,t){const n=z({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=z({},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]=z({},i),Object.keys(o).forEach(s=>{n[r][s]=Gb(o[s],i[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function _A(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Gb(t.components[n].defaultProps,r)}function Kb({props:e,name:t,defaultTheme:n,themeId:r}){let o=Hb(n);return r&&(o=o[r]||o),_A({theme:o,name:t,props:e})}function VA(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 Yb(e){if(e.type)return e;if(e.charAt(0)==="#")return Yb(VA(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(Xf(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(Xf(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const Xr=e=>{const t=Yb(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};function Xb(e,t){var n,r;return b.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 WA(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function HA(...e){return b.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{WA(n,t)})},e)}function UA(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])})},GA=(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)},KA=(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 Sd(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},s={};return GA(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]:KA(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 na(e){"@babel/helpers - typeof";return na=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},na(e)}function YA(e,t){if(na(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(na(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function XA(e){var t=YA(e,"string");return na(t)=="symbol"?t:t+""}const qA=["colorSchemes","components","defaultColorScheme"];function QA(e,t){const{colorSchemes:n={},defaultColorScheme:r="light"}=e,o=Je(e,qA),{vars:i,css:s,varsWithDefaults:a}=Sd(o,t);let l=a;const u={},{[r]:c}=n,d=Je(n,[r].map(XA));if(Object.entries(d||{}).forEach(([m,h])=>{const{vars:x,css:k,varsWithDefaults:g}=Sd(h,t);l=Qn(l,g),u[m]={css:k,vars:x}}),c){const{css:m,vars:h,varsWithDefaults:x}=Sd(c,t);l=Qn(l,x),u[r]={css:m,vars:h}}return{vars:l,generateCssVars:m=>{var h;if(!m){var x;const g=z({},s);return{css:g,vars:i,selector:(t==null||(x=t.getSelector)==null?void 0:x.call(t,m,g))||":root"}}const k=z({},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 ZA=(e,t)=>e.filter(n=>t.includes(n)),Ii=(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:ZA(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 ur(e){return e?`Level${e}`:""}function wa(e){return e.unstable_level>0&&e.container}function qb(e){return function(n){return`var(--Grid-${n}Spacing${ur(e.unstable_level)})`}}function Uh(e){return function(n){return e.unstable_level===0?`var(--Grid-${n}Spacing)`:`var(--Grid-${n}Spacing${ur(e.unstable_level-1)})`}}function Gh(e){return e.unstable_level===0?"var(--Grid-columns)":`var(--Grid-columns${ur(e.unstable_level-1)})`}const JA=({theme:e,ownerState:t})=>{const n=qb(t),r={};return Ii(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} / ${Gh(t)}${wa(t)?` + ${n("column")}`:""})`}),o(r,s)}),r},eM=({theme:e,ownerState:t})=>{const n={};return Ii(e.breakpoints,t.gridOffset,(r,o)=>{let i={};o==="auto"&&(i={marginLeft:"auto"}),typeof o=="number"&&(i={marginLeft:o===0?"0px":`calc(100% * ${o} / ${Gh(t)})`}),r(n,i)}),n},tM=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=wa(t)?{[`--Grid-columns${ur(t.unstable_level)}`]:Gh(t)}:{"--Grid-columns":12};return Ii(e.breakpoints,t.columns,(r,o)=>{r(n,{[`--Grid-columns${ur(t.unstable_level)}`]:o})}),n},nM=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Uh(t),r=wa(t)?{[`--Grid-rowSpacing${ur(t.unstable_level)}`]:n("row")}:{};return Ii(e.breakpoints,t.rowSpacing,(o,i)=>{var s;o(r,{[`--Grid-rowSpacing${ur(t.unstable_level)}`]:typeof i=="string"?i:(s=e.spacing)==null?void 0:s.call(e,i)})}),r},rM=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Uh(t),r=wa(t)?{[`--Grid-columnSpacing${ur(t.unstable_level)}`]:n("column")}:{};return Ii(e.breakpoints,t.columnSpacing,(o,i)=>{var s;o(r,{[`--Grid-columnSpacing${ur(t.unstable_level)}`]:typeof i=="string"?i:(s=e.spacing)==null?void 0:s.call(e,i)})}),r},oM=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return Ii(e.breakpoints,t.direction,(r,o)=>{r(n,{flexDirection:o})}),n},iM=({ownerState:e})=>{const t=qb(e),n=Uh(e);return z({minWidth:0,boxSizing:"border-box"},e.container&&z({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||wa(e))&&z({padding:`calc(${n("row")} / 2) calc(${n("column")} / 2)`},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:`${n("row")} 0px 0px ${n("column")}`}))},sM=e=>{const t=[];return Object.entries(e).forEach(([n,r])=>{r!==!1&&r!==void 0&&t.push(`grid-${n}-${String(r)}`)}),t},aM=(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[]},lM=e=>e===void 0?[]:typeof e=="object"?Object.entries(e).map(([t,n])=>`direction-${t}-${n}`):[`direction-xs-${String(e)}`],uM=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],cM=Vh(),dM=NA("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function fM(e){return Kb({props:e,name:"MuiGrid",defaultTheme:cM})}function pM(e={}){const{createStyledComponent:t=dM,useThemeProps:n=fM,componentName:r="MuiGrid"}=e,o=b.createContext(void 0),i=(l,u)=>{const{container:c,direction:d,spacing:f,wrap:m,gridSize:h}=l,x={root:["root",c&&"container",m!=="wrap"&&`wrap-xs-${String(m)}`,...lM(d),...sM(h),...c?aM(f,u.breakpoints.keys[0]):[]]};return UA(x,k=>Wh(r,k),{})},s=t(tM,rM,nM,JA,oM,iM,eM),a=b.forwardRef(function(u,c){var d,f,m,h,x,k,g,v;const p=Hb(),C=n(u),w=EA(C),P=b.useContext(o),{className:$,children:E,columns:S=12,container:T=!1,component:A="div",direction:O="row",wrap:B="wrap",spacing:I=0,rowSpacing:N=I,columnSpacing:D=I,disableEqualOverflow:L,unstable_level:R=0}=w,j=Je(w,uM);let H=L;R&&L!==void 0&&(H=u.disableEqualOverflow);const Z={},q={},re={};Object.entries(j).forEach(([_,X])=>{p.breakpoints.values[_]!==void 0?Z[_]=X:p.breakpoints.values[_.replace("Offset","")]!==void 0?q[_.replace("Offset","")]=X:re[_]=X});const te=(d=u.columns)!=null?d:R?void 0:S,me=(f=u.spacing)!=null?f:R?void 0:I,ge=(m=(h=u.rowSpacing)!=null?h:u.spacing)!=null?m:R?void 0:N,oe=(x=(k=u.columnSpacing)!=null?k:u.spacing)!=null?x:R?void 0:D,W=z({},w,{level:R,columns:te,container:T,direction:O,wrap:B,spacing:me,rowSpacing:ge,columnSpacing:oe,gridSize:Z,gridOffset:q,disableEqualOverflow:(g=(v=H)!=null?v:P)!=null?g:!1,parentDisableEqualOverflow:P}),Q=i(W,p);let U=y.jsx(s,z({ref:c,as:A,ownerState:W,className:Y(Q.root,$)},re,{children:b.Children.map(E,_=>{if(b.isValidElement(_)&&Xb(_,["Grid"])){var X;return b.cloneElement(_,{unstable_level:(X=_.props.unstable_level)!=null?X:R+1})}return _})}));return H!==void 0&&H!==(P??!1)&&(U=y.jsx(o.Provider,{value:H,children:U})),U});return a.muiName="Grid",a}const hM=z({},Tc,{borderRadius:{themeKey:"radius"},boxShadow:{themeKey:"shadow"},fontFamily:{themeKey:"fontFamily"},fontSize:{themeKey:"fontSize"},fontWeight:{themeKey:"fontWeight"},letterSpacing:{themeKey:"letterSpacing"},lineHeight:{themeKey:"lineHeight"}});function mM(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 ji=(e,t)=>Wh(e,t,"Mui"),wo=(e,t)=>MA(e,t,"Mui"),gM=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))$/)}),V0=(e,t,n)=>{t.includes("Color")&&(e.color=n),t.includes("Bg")&&(e.backgroundColor=n),t.includes("Border")&&(e.borderColor=n)},W0=(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")),V0(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;gM(a)&&typeof a=="object"&&(n=z({},n,{[s]:W0(e,a,l=>`var(--variant-${l}, ${r(`palette-${s}-${l}`,o[s][l])})`)}))})}return n.context=W0(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},vM=["cssVarPrefix","breakpoints","spacing","components","variants","shouldSkipGeneratingVar"],yM=["colorSchemes"],xM=(e="joy")=>Hh(e);function bM(e){var t,n,r,o,i,s,a,l,u,c;const d={},{cssVarPrefix:f="joy",breakpoints:m,spacing:h,components:x,variants:k,shouldSkipGeneratingVar:g=mM}=d,v=Je(d,vM),p=xM(f),C={primary:rs.blue,neutral:rs.grey,danger:rs.red,success:rs.green,warning:rs.yellow,common:{white:"#FFF",black:"#000"}},w=W=>{var Q;const U=W.split("-"),_=U[1],X=U[2];return p(W,(Q=C[_])==null?void 0:Q[X])},P=W=>({plainColor:w(`palette-${W}-500`),plainHoverBg:w(`palette-${W}-100`),plainActiveBg:w(`palette-${W}-200`),plainDisabledColor:w("palette-neutral-400"),outlinedColor:w(`palette-${W}-500`),outlinedBorder:w(`palette-${W}-300`),outlinedHoverBg:w(`palette-${W}-100`),outlinedActiveBg:w(`palette-${W}-200`),outlinedDisabledColor:w("palette-neutral-400"),outlinedDisabledBorder:w("palette-neutral-200"),softColor:w(`palette-${W}-700`),softBg:w(`palette-${W}-100`),softHoverBg:w(`palette-${W}-200`),softActiveColor:w(`palette-${W}-800`),softActiveBg:w(`palette-${W}-300`),softDisabledColor:w("palette-neutral-400"),softDisabledBg:w("palette-neutral-50"),solidColor:w("palette-common-white"),solidBg:w(`palette-${W}-500`),solidHoverBg:w(`palette-${W}-600`),solidActiveBg:w(`palette-${W}-700`),solidDisabledColor:w("palette-neutral-400"),solidDisabledBg:w("palette-neutral-100")}),$=W=>({plainColor:w(`palette-${W}-300`),plainHoverBg:w(`palette-${W}-800`),plainActiveBg:w(`palette-${W}-700`),plainDisabledColor:w("palette-neutral-500"),outlinedColor:w(`palette-${W}-200`),outlinedBorder:w(`palette-${W}-700`),outlinedHoverBg:w(`palette-${W}-800`),outlinedActiveBg:w(`palette-${W}-700`),outlinedDisabledColor:w("palette-neutral-500"),outlinedDisabledBorder:w("palette-neutral-800"),softColor:w(`palette-${W}-200`),softBg:w(`palette-${W}-800`),softHoverBg:w(`palette-${W}-700`),softActiveColor:w(`palette-${W}-100`),softActiveBg:w(`palette-${W}-600`),softDisabledColor:w("palette-neutral-500"),softDisabledBg:w("palette-neutral-800"),solidColor:w("palette-common-white"),solidBg:w(`palette-${W}-500`),solidHoverBg:w(`palette-${W}-600`),solidActiveBg:w(`palette-${W}-700`),solidDisabledColor:w("palette-neutral-500"),solidDisabledBg:w("palette-neutral-800")}),E={palette:{mode:"light",primary:z({},C.primary,P("primary")),neutral:z({},C.neutral,P("neutral"),{plainColor:w("palette-neutral-700"),plainHoverColor:w("palette-neutral-900"),outlinedColor:w("palette-neutral-700")}),danger:z({},C.danger,P("danger")),success:z({},C.success,P("success")),warning:z({},C.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",Xr(C.neutral[900]))} / 0.25)`},divider:`rgba(${p("palette-neutral-mainChannel",Xr(C.neutral[500]))} / 0.2)`,focusVisible:w("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"21 21 21",shadowOpacity:"0.08"},S={palette:{mode:"dark",primary:z({},C.primary,$("primary")),neutral:z({},C.neutral,$("neutral"),{plainColor:w("palette-neutral-300"),plainHoverColor:w("palette-neutral-300")}),danger:z({},C.danger,$("danger")),success:z({},C.success,$("success")),warning:z({},C.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",Xr(C.neutral[50]))} / 0.25)`},divider:`rgba(${p("palette-neutral-mainChannel",Xr(C.neutral[500]))} / 0.16)`,focusVisible:w("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"0 0 0",shadowOpacity:"0.6"},T='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',A=z({body:`"Inter", ${p(`fontFamily-fallback, ${T}`)}`,display:`"Inter", ${p(`fontFamily-fallback, ${T}`)}`,code:"Source Code Pro,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",fallback:T},v.fontFamily),O=z({sm:300,md:500,lg:600,xl:700},v.fontWeight),B=z({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=z({xs:"1.33334",sm:"1.42858",md:"1.5",lg:"1.55556",xl:"1.66667"},v.lineHeight),N=(t=(n=v.colorSchemes)==null||(n=n.light)==null?void 0:n.shadowRing)!=null?t:E.shadowRing,D=(r=(o=v.colorSchemes)==null||(o=o.light)==null?void 0:o.shadowChannel)!=null?r:E.shadowChannel,L=(i=(s=v.colorSchemes)==null||(s=s.light)==null?void 0:s.shadowOpacity)!=null?i:E.shadowOpacity,R={colorSchemes:{light:E,dark:S},fontSize:B,fontFamily:A,fontWeight:O,focus:{thickness:"2px",selector:`&.${ji("","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",C.primary[500])}`}},lineHeight:I,radius:{xs:"2px",sm:"6px",md:"8px",lg:"12px",xl:"16px"},shadow:{xs:`${p("shadowRing",N)}, 0px 1px 2px 0px rgba(${p("shadowChannel",D)} / ${p("shadowOpacity",L)})`,sm:`${p("shadowRing",N)}, 0px 1px 2px 0px rgba(${p("shadowChannel",D)} / ${p("shadowOpacity",L)}), 0px 2px 4px 0px rgba(${p("shadowChannel",D)} / ${p("shadowOpacity",L)})`,md:`${p("shadowRing",N)}, 0px 2px 8px -2px rgba(${p("shadowChannel",D)} / ${p("shadowOpacity",L)}), 0px 6px 12px -2px rgba(${p("shadowChannel",D)} / ${p("shadowOpacity",L)})`,lg:`${p("shadowRing",N)}, 0px 2px 8px -2px rgba(${p("shadowChannel",D)} / ${p("shadowOpacity",L)}), 0px 12px 16px -4px rgba(${p("shadowChannel",D)} / ${p("shadowOpacity",L)})`,xl:`${p("shadowRing",N)}, 0px 2px 8px -2px rgba(${p("shadowChannel",D)} / ${p("shadowOpacity",L)}), 0px 20px 24px -4px rgba(${p("shadowChannel",D)} / ${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, ${B.xl4}`),lineHeight:p(`lineHeight-xs, ${I.xs}`),letterSpacing:"-0.025em",color:p(`palette-text-primary, ${E.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, ${E.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, ${E.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, ${E.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, ${E.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, ${E.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, ${E.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, ${E.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, ${E.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, ${E.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, ${E.palette.text.tertiary}`)}}},j=v?Qn(R,v):R,{colorSchemes:H}=j,Z=Je(j,yM),q=z({colorSchemes:H},Z,{breakpoints:zb(m??{}),components:Qn({MuiSvgIcon:{defaultProps:{fontSize:"xl2"},styleOverrides:{root:({ownerState:W,theme:Q})=>{var U;const _=W.instanceFontSize;return z({margin:"var(--Icon-margin)"},W.fontSize&&W.fontSize!=="inherit"&&{fontSize:`var(--Icon-fontSize, ${Q.vars.fontSize[W.fontSize]})`},!W.htmlColor&&z({color:`var(--Icon-color, ${q.vars.palette.text.icon})`},W.color&&W.color!=="inherit"&&Q.vars.palette[W.color]&&{color:`rgba(${(U=Q.vars.palette[W.color])==null?void 0:U.mainChannel} / 1)`}),_&&_!=="inherit"&&{"--Icon-fontSize":Q.vars.fontSize[_]})}}}},x),cssVarPrefix:f,getCssVar:p,spacing:Vb(h)});function re(W,Q){Object.keys(Q).forEach(U=>{const _={main:"500",light:"200",dark:"700"};W==="dark"&&(_.main=400),!Q[U].mainChannel&&Q[U][_.main]&&(Q[U].mainChannel=Xr(Q[U][_.main])),!Q[U].lightChannel&&Q[U][_.light]&&(Q[U].lightChannel=Xr(Q[U][_.light])),!Q[U].darkChannel&&Q[U][_.dark]&&(Q[U].darkChannel=Xr(Q[U][_.dark]))})}Object.entries(q.colorSchemes).forEach(([W,Q])=>{re(W,Q.palette)});const te={prefix:f,shouldSkipGeneratingVar:g},{vars:me,generateCssVars:ge}=QA(z({colorSchemes:H},Z),te);q.vars=me,q.generateCssVars=ge,q.unstable_sxConfig=z({},hM,void 0),q.unstable_sx=function(Q){return Rc({sx:Q,theme:this})},q.getColorSchemeSelector=W=>W==="light"?"&":`&[data-joy-color-scheme="${W}"], [data-joy-color-scheme="${W}"] &`;const oe={getCssVar:p,palette:q.colorSchemes.light.palette};return q.variants=Qn({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=z({},q.colorSchemes.light.palette,{colorScheme:"light"}),q.shouldSkipGeneratingVar=g,q.applyStyles=Wb,q}const Qb=bM(),fr=Ub({defaultTheme:Qb,themeId:Lb});function Bi({props:e,name:t}){return Kb({props:e,name:t,defaultTheme:z({},Qb,{components:{}}),themeId:Lb})}function CM(e){return typeof e=="string"}function SM(e,t,n){return e===void 0||CM(e)?t:z({},t,{ownerState:z({},t.ownerState,n)})}function wM(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 kM(e,t,n){return typeof e=="function"?e(t,n):e}function ka(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 $M(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=z({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),x=z({},n,o,r);return m.length>0&&(x.className=m),Object.keys(h).length>0&&(x.style=h),{props:x,internalRef:void 0}}const s=wM(z({},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=z({},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=z({},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 PM=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],EM=["component","slots","slotProps"],TM=["component"];function Ci(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,getSlotOwnerState:s,internalForwardedProps:a}=t,l=Je(t,PM),{component:u,slots:c={[e]:void 0},slotProps:d={[e]:void 0}}=i,f=Je(i,EM),m=c[e]||r,h=kM(d[e],o),x=$M(z({className:n},l,{externalForwardedProps:e==="root"?f:void 0,externalSlotProps:h})),{props:{component:k},internalRef:g}=x,v=Je(x.props,TM),p=HA(g,h==null?void 0:h.ref,t.ref),C=s?s(v):{},w=z({},o,C),P=e==="root"?k||u:k,$=SM(m,z({},e==="root"&&!u&&!c[e]&&a,e!=="root"&&!c[e]&&a,v,P&&{as:P},{ref:p}),w);return Object.keys(C).forEach(E=>{delete $[E]}),[m,$]}const RM=({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=z({},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},Kh=e=>t=>`--${e?`${e}-`:""}${t.replace(/^--/,"")}`,cu="data-skip-inverted-colors",Zb=`& :not([${cu}], [${cu}] *)`,Jb=e=>{var t,n,r,o,i,s,a,l,u,c,d,f,m,h,x,k,g,v,p,C,w,P;const $=Kh(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")]:`${(x=e.colorSchemes.dark)==null?void 0:x.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")]:`${(C=e.colorSchemes.dark)==null?void 0:C.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 AM(e){return e.theme!==void 0}const MM=e=>t=>{const n=AM(t)?t.theme:t,r=Hh(n.cssVarPrefix),o=Kh(n.cssVarPrefix),i=s=>{const a=s.split("-");return r(s,n.palette[a[1]][a[2]])};return{[Zb]:{"--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)`}},[`&, & [${cu}]`]:Jb(n)}},OM=e=>t=>{const{theme:n=t}=t,r=Hh(n.cssVarPrefix),o=Kh(n.cssVarPrefix),i=s=>{const a=s.split("-");return r(s,n.palette[a[1]][a[2]])};return{[Zb]:{"--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)`}},[`&, & [${cu}]`]:Jb(n)}};function IM(e){return ji("MuiAspectRatio",e)}wo("MuiAspectRatio",["root","content","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);const jM=["children","ratio","minHeight","maxHeight","objectFit","color","variant","component","flex","slots","slotProps"],BM=e=>{const{variant:t,color:n}=e,r={root:["root"],content:["content",t&&`variant${Ln(t)}`,n&&`color${Ln(n)}`]};return ka(r,IM,{})},DM=fr("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)"}}),LM=fr("div",{name:"JoyAspectRatio",slot:"Content",overridesResolver:(e,t)=>t.content})(({theme:e,ownerState:t})=>{var n;return z({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])}),du=b.forwardRef(function(t,n){const r=Bi({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,x=Je(r,jM),k=z({},r,{flex:f,minHeight:s,maxHeight:a,objectFit:l,ratio:i,color:u,variant:c}),g=BM(k),v=z({},x,{component:d,slots:m,slotProps:h}),[p,C]=Ci("root",{ref:n,className:g.root,elementType:DM,externalForwardedProps:v,ownerState:k}),[w,P]=Ci("content",{className:g.content,elementType:LM,externalForwardedProps:v,ownerState:k});return y.jsx(p,z({},C,{children:y.jsx(w,z({},P,{children:b.Children.map(o,($,E)=>E===0&&b.isValidElement($)?b.cloneElement($,{"data-first-child":""}):$)}))}))}),U0=wo("MuiButton",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg","fullWidth","startDecorator","endDecorator","loading","loadingIndicatorCenter"]);function FM(e){return ji("MuiCard",e)}const jo=wo("MuiCard",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","horizontal","vertical"]),zM=["className","color","component","invertedColors","size","variant","children","orientation","slots","slotProps"],NM=e=>{const{size:t,variant:n,color:r,orientation:o}=e,i={root:["root",o,n&&`variant${Ln(n)}`,r&&`color${Ln(r)}`,t&&`size${Ln(t)}`]};return ka(i,FM,{})},_M=fr("div")(({theme:e,ownerState:t})=>{var n;const{p:r,padding:o,borderRadius:i}=RM({theme:e,ownerState:t},["p","padding","borderRadius"]);return[z({"--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&&MM(t.color)(e),t.variant==="soft"&&t.color&&t.invertedColors&&OM(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}]}),VM=fr(_M,{name:"JoyCard",slot:"Root",overridesResolver:(e,t)=>t.root})({}),eC=b.forwardRef(function(t,n){const r=Bi({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=Je(r,zM),x=z({},r,{color:i,component:s,orientation:d,size:l,variant:u,invertedColors:a}),k=NM(x),g=z({},h,{component:s,slots:f,slotProps:m}),[v,p]=Ci("root",{ref:n,className:Y(k.root,o),elementType:VM,externalForwardedProps:g,ownerState:x});return y.jsx(v,z({},p,{children:b.Children.map(c,(C,w)=>{if(!b.isValidElement(C))return C;const P={};if(Xb(C,["Divider"])){P.inset="inset"in C.props?C.props.inset:"context";const $=d==="vertical"?"horizontal":"vertical";P.orientation="orientation"in C.props?C.props.orientation:$}return w===0&&(P["data-first-child"]=""),w===b.Children.count(c)-1&&(P["data-last-child"]=""),b.cloneElement(C,P)})}))});function WM(e){return ji("MuiCardOverflow",e)}const HM=wo("MuiCardOverflow",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);function UM(e){return ji("MuiDivider",e)}wo("MuiDivider",["root","horizontal","vertical","insetContext","insetNone"]);function GM(e){return ji("MuiCardContent",e)}wo("MuiCardContent",["root"]);const KM=["className","component","children","orientation","slots","slotProps"],YM=()=>ka({root:["root"]},GM,{}),XM=fr("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)",[`.${HM.root} > &`]:{"--unstable_padding":"calc(var(--Card-padding) * 0.75) 0px"}})),qM=fr(XM,{name:"JoyCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({}),G0=b.forwardRef(function(t,n){const r=Bi({props:t,name:"JoyCardContent"}),{className:o,component:i="div",children:s,orientation:a="vertical",slots:l={},slotProps:u={}}=r,c=Je(r,KM),d=z({},c,{component:i,slots:l,slotProps:u}),f=z({},r,{component:i,orientation:a}),m=YM(),[h,x]=Ci("root",{ref:n,className:Y(m.root,o),elementType:qM,externalForwardedProps:d,ownerState:f});return y.jsx(h,z({},x,{children:s}))}),QM=wo("MuiModalDialog",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","layoutCenter","layoutFullscreen"]),ZM=["className","component","children","color","variant","slots","slotProps"],JM=e=>{const{variant:t,color:n}=e,r={root:["root",t&&`variant${Ln(t)}`,n&&`color${Ln(n)}`]};return ka(r,WM,{})},eO=fr("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 z({alignSelf:"stretch",position:"relative",display:"flex",flexDirection:"var(--_CardOverflow-flexDirection)",margin:"var(--_CardOverflow-margin)",borderRadius:"var(--_CardOverflow-radius)",padding:"var(--_CardOverflow-padding)",[`.${jo.vertical} &, .${jo.horizontal} .${jo.vertical} &, .${QM.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)"},[`& > .${U0.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)"}},[`.${jo.horizontal} &, .${jo.vertical} .${jo.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)"},[`& > .${U0.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])}),bl=b.forwardRef(function(t,n){const r=Bi({props:t,name:"JoyCardOverflow"}),{className:o,component:i="div",children:s,color:a="neutral",variant:l="plain",slots:u={},slotProps:c={}}=r,d=Je(r,ZM),f=z({},r,{component:i,color:a,variant:l}),m=JM(f),h=z({},d,{component:i,slots:u,slotProps:c}),[x,k]=Ci("root",{ref:n,className:Y(m.root,o),elementType:eO,externalForwardedProps:h,ownerState:f});return y.jsx(x,z({},k,{children:s}))});bl.muiName="CardOverflow";const tO=["className","children","component","inset","orientation","role","slots","slotProps"],nO=e=>{const{orientation:t,inset:n}=e,r={root:["root",t,n&&`inset${Ln(n)}`]};return ka(r,UM,{})},rO=fr("hr",{name:"JoyDivider",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>z({"--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?z({"--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)"})),tC=b.forwardRef(function(t,n){const r=Bi({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=Je(r,tO),m=z({},r,{inset:a,role:u,orientation:l,component:s}),h=nO(m),x=z({},f,{component:s,slots:c,slotProps:d}),[k,g]=Ci("root",{ref:n,className:Y(h.root,o),elementType:rO,externalForwardedProps:x,ownerState:m,additionalProps:z({as:s,role:u},u==="separator"&&l==="vertical"&&{"aria-orientation":"vertical"})});return y.jsx(k,z({},g,{children:i}))});tC.muiName="Divider";const Ne=pM({createStyledComponent:fr("div",{name:"JoyGrid",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>Bi({props:e,name:"JoyGrid"})}),oO=Pe([y.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"},"0"),y.jsx("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},"1")],"AccessTime"),iO=Pe(y.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"),sO=Pe(y.jsx("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack"),aO=Pe(y.jsx("path",{d:"M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2m0 15-5-2.18L7 18V5h10z"}),"BookmarkBorder"),nC=Pe([y.jsx("path",{d:"m12 2-5.5 9h11z"},"0"),y.jsx("circle",{cx:"17.5",cy:"17.5",r:"4.5"},"1"),y.jsx("path",{d:"M3 13.5h8v8H3z"},"2")],"Category"),lO=Pe(y.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),uO=Pe(y.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"),cO=Pe(y.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"),dO=Pe(y.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"),fO=Pe(y.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"),rC=Pe(y.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"),oC=Pe(y.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"),iC=Pe(y.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"),pO=Pe(y.jsx("path",{d:"M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14m-.5 15.5v-5.3a3.26 3.26 0 0 0-3.26-3.26c-.85 0-1.84.52-2.32 1.3v-1.11h-2.79v8.37h2.79v-4.93c0-.77.62-1.4 1.39-1.4a1.4 1.4 0 0 1 1.4 1.4v4.93h2.79M6.88 8.56a1.68 1.68 0 0 0 1.68-1.68c0-.93-.75-1.69-1.68-1.69a1.69 1.69 0 0 0-1.69 1.69c0 .93.76 1.68 1.69 1.68m1.39 9.94v-8.37H5.5v8.37h2.77z"}),"LinkedIn"),hO=Pe(y.jsx("path",{d:"M12 22c4.97 0 9-4.03 9-9-4.97 0-9 4.03-9 9M5.6 10.25c0 1.38 1.12 2.5 2.5 2.5.53 0 1.01-.16 1.42-.44l-.02.19c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5l-.02-.19c.4.28.89.44 1.42.44 1.38 0 2.5-1.12 2.5-2.5 0-1-.59-1.85-1.43-2.25.84-.4 1.43-1.25 1.43-2.25 0-1.38-1.12-2.5-2.5-2.5-.53 0-1.01.16-1.42.44l.02-.19C14.5 2.12 13.38 1 12 1S9.5 2.12 9.5 3.5l.02.19c-.4-.28-.89-.44-1.42-.44-1.38 0-2.5 1.12-2.5 2.5 0 1 .59 1.85 1.43 2.25-.84.4-1.43 1.25-1.43 2.25M12 5.5c1.38 0 2.5 1.12 2.5 2.5s-1.12 2.5-2.5 2.5S9.5 9.38 9.5 8s1.12-2.5 2.5-2.5M3 13c0 4.97 4.03 9 9 9 0-4.97-4.03-9-9-9"}),"LocalFlorist"),Yh=Pe(y.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"),mO=Pe(y.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"),gO=Pe(y.jsx("path",{d:"m10 16.5 6-4.5-6-4.5zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"PlayCircleOutline"),vO=Pe(y.jsx("path",{d:"M5 13.18v4L12 21l7-3.82v-4L12 17zM12 3 1 9l11 6 9-4.91V17h2V9z"}),"School"),yO=Pe(y.jsx("path",{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92s2.92-1.31 2.92-2.92-1.31-2.92-2.92-2.92"}),"Share"),K0=Pe(y.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 xO(){const{theme:e}=b.useContext(kn),t={color:e.text.secondary,textDecoration:"none",display:"block",padding:"8px 0",transition:"color 0.3s ease","&:hover":{color:e.text.primary}};return y.jsx(ce,{component:"footer",sx:{py:6,px:2,backgroundColor:e.footer.backgroundColor,color:e.text.secondary,borderTop:`1px solid ${e.divider}`},children:y.jsxs(yi,{maxWidth:"lg",children:[y.jsxs(Ne,{container:!0,spacing:4,justifyContent:"space-between",children:[y.jsxs(Ne,{item:!0,xs:12,sm:4,children:[y.jsxs(ce,{display:"flex",alignItems:"center",mb:2,children:[y.jsx(hO,{sx:{fontSize:40,mr:1,color:e.icon.color}}),y.jsx(ie,{variant:"h5",color:e.text.primary,sx:{fontWeight:"bold"},children:"Orchid Haven"})]}),y.jsx(ie,{variant:"body2",color:e.text.secondary,children:"Discover the beauty and diversity of orchids. Our passion is to share knowledge and inspire orchid enthusiasts worldwide."})]}),y.jsxs(Ne,{item:!0,xs:12,sm:4,children:[y.jsx(ie,{variant:"h6",color:e.text.primary,gutterBottom:!0,children:"Quick Links"}),y.jsxs(ce,{sx:{display:"flex",flexDirection:"column"},children:[y.jsx(Gn,{to:"/fer-lab1/",style:t,children:"Home"}),y.jsx(Gn,{to:"/fer-lab1/natural",style:t,children:"Special Orchid"}),y.jsx(Gn,{to:"/fer-lab1/news",style:t,children:"Orchid News"}),y.jsx(Gn,{to:"/fer-lab1/contact",style:t,children:"Contact Us"})]})]}),y.jsxs(Ne,{item:!0,xs:12,sm:4,children:[y.jsx(ie,{variant:"h6",color:e.text.primary,gutterBottom:!0,children:"Stay Connected"}),y.jsx(ie,{variant:"body2",color:e.text.secondary,gutterBottom:!0,children:"Follow us on social media for daily orchid inspiration and tips."}),y.jsxs(ce,{children:[y.jsx(un,{color:"inherit","aria-label":"Facebook",href:"https://www.facebook.com/hoangnguyen.c1002/",children:y.jsx(rC,{})}),y.jsx(un,{color:"inherit","aria-label":"Twitter",href:"https://www.linkedin.com/in/hoang-nguyen-c1002/",children:y.jsx(pO,{})}),y.jsx(un,{color:"inherit","aria-label":"Instagram",href:"https://www.instagram.com/__hoang.nguyeen__/",children:y.jsx(iC,{})}),y.jsx(un,{color:"inherit","aria-label":"Github",href:"https://github.com/Hoang-Nguyen-Huy",children:y.jsx(oC,{})})]})]})]}),y.jsx(xi,{sx:{my:4,backgroundColor:e.divider}}),y.jsxs(ce,{mt:3,display:"flex",justifyContent:"space-between",alignItems:"center",children:[y.jsxs(ie,{variant:"body2",color:e.text.secondary,children:["© ",new Date().getFullYear()," Orchid Haven. All rights reserved."]}),y.jsxs(ce,{children:[y.jsx(Gn,{to:"#",style:{...t,display:"inline",marginRight:"16px"},children:"Privacy Policy"}),y.jsx(Gn,{to:"#",style:{...t,display:"inline"},children:"Terms of Service"})]})]})]})})}const Xh=[{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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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 bO({orchid:e}){const[t,n]=b.useState(!1),[r,o]=b.useState(null);return{isVisible:t,detail:r,showModal:a=>{o(a),n(!0)},hideModal:()=>n(!1)}}function CO(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 ra(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const qf=e=>Array.isArray(e);function sC(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 qh(e,t,n,r){if(typeof t=="function"){const[o,i]=Y0(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]=Y0(r);t=t(n!==void 0?n:e.custom,o,i)}return t}function Ac(e,t,n){const r=e.getProps();return qh(r,t,n!==void 0?n:r.custom,e)}const Qh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Zh=["initial",...Qh],$a=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ur=new Set($a),Zn=e=>e*1e3,Jn=e=>e/1e3,SO={type:"spring",stiffness:500,damping:25,restSpeed:10},wO=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),kO={type:"keyframes",duration:.8},$O={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},PO=(e,{keyframes:t})=>t.length>2?kO:Ur.has(e)?e.startsWith("scale")?wO(t[1]):SO:$O;function Jh(e,t){return e[t]||e.default||e}const EO={skipAnimations:!1,useManualTiming:!1},TO=e=>e!==null;function Mc(e,{repeat:t,repeatType:n="loop"},r){const o=e.filter(TO),i=t&&n!=="loop"&&t%2===1?0:o.length-1;return!i||r===void 0?o[i]:r}const Et=e=>e;function RO(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 el=["read","resolveKeyframes","update","preRender","render","postRender"],AO=40;function aC(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,s=el.reduce((g,v)=>(g[v]=RO(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,AO),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:el.reduce((g,v)=>{const p=s[v];return g[v]=(C,w=!1,P=!1)=>(n||h(),p.schedule(C,w,P)),g},{}),cancel:g=>{for(let v=0;v(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,MO=1e-7,OO=12;function IO(e,t,n,r,o){let i,s,a=0;do s=t+(n-t)/2,i=lC(s,r,o)-e,i>0?n=s:t=s;while(Math.abs(i)>MO&&++aIO(i,0,1,e,n);return i=>i===0||i===1?i:lC(o(i),t,r)}const uC=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,cC=e=>t=>1-e(1-t),dC=Pa(.33,1.53,.69,.99),em=cC(dC),fC=uC(em),pC=e=>(e*=2)<1?.5*em(e):.5*(2-Math.pow(2,-10*(e-1))),tm=e=>1-Math.sin(Math.acos(e)),hC=cC(tm),mC=uC(tm),gC=e=>/^0[^.\s]+$/u.test(e);function jO(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||gC(e):!0}let Qf=Et;const vC=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),yC=e=>t=>typeof t=="string"&&t.startsWith(e),xC=yC("--"),BO=yC("var(--"),nm=e=>BO(e)?DO.test(e.split("/*")[0].trim()):!1,DO=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,LO=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function FO(e){const t=LO.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}function bC(e,t,n=1){const[r,o]=FO(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const s=i.trim();return vC(s)?parseFloat(s):s}return nm(o)?bC(o,t,n+1):o}const zr=(e,t,n)=>n>t?t:ntypeof e=="number",parse:parseFloat,transform:e=>e},ia={...Di,transform:e=>zr(0,1,e)},tl={...Di,default:1},Ea=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),mr=Ea("deg"),Fn=Ea("%"),ee=Ea("px"),zO=Ea("vh"),NO=Ea("vw"),X0={...Fn,parse:e=>Fn.parse(e)/100,transform:e=>Fn.transform(e*100)},_O=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),q0=e=>e===Di||e===ee,Q0=(e,t)=>parseFloat(e.split(", ")[t]),Z0=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/u);if(o)return Q0(o[1],t);{const i=r.match(/^matrix\((.+)\)$/u);return i?Q0(i[1],e):0}},VO=new Set(["x","y","z"]),WO=$a.filter(e=>!VO.has(e));function HO(e){const t=[];return WO.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Si={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:Z0(4,13),y:Z0(5,14)};Si.translateX=Si.x;Si.translateY=Si.y;const CC=e=>t=>t.test(e),UO={test:e=>e==="auto",parse:e=>e},SC=[Di,ee,Fn,mr,NO,zO,UO],J0=e=>SC.find(CC(e)),fo=new Set;let Zf=!1,Jf=!1;function wC(){if(Jf){const e=Array.from(fo).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const o=HO(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,fo.forEach(e=>e.complete()),fo.clear()}function kC(){fo.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Jf=!0)})}function GO(){kC(),wC()}class rm{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?(fo.add(this),Zf||(Zf=!0,ke.read(kC),ke.resolveKeyframes(wC))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:o}=this;for(let i=0;iMath.round(e*1e5)/1e5,om=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function KO(e){return e==null}const YO=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,im=(e,t)=>n=>!!(typeof n=="string"&&YO.test(n)&&n.startsWith(e)||t&&!KO(n)&&Object.prototype.hasOwnProperty.call(n,t)),$C=(e,t,n)=>r=>{if(typeof r!="string")return r;const[o,i,s,a]=r.match(om);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},XO=e=>zr(0,255,e),kd={...Di,transform:e=>Math.round(XO(e))},lo={test:im("rgb","red"),parse:$C("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+kd.transform(e)+", "+kd.transform(t)+", "+kd.transform(n)+", "+Ts(ia.transform(r))+")"};function qO(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:im("#"),parse:qO,transform:lo.transform},qo={test:im("hsl","hue"),parse:$C("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Fn.transform(Ts(t))+", "+Fn.transform(Ts(n))+", "+Ts(ia.transform(r))+")"},wt={test:e=>lo.test(e)||ep.test(e)||qo.test(e),parse:e=>lo.test(e)?lo.parse(e):qo.test(e)?qo.parse(e):ep.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?lo.transform(e):qo.transform(e)},QO=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function ZO(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(om))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(QO))===null||n===void 0?void 0:n.length)||0)>0}const PC="number",EC="color",JO="var",eI="var(",ev="${}",tI=/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 sa(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let i=0;const a=t.replace(tI,l=>(wt.test(l)?(r.color.push(i),o.push(EC),n.push(wt.parse(l))):l.startsWith(eI)?(r.var.push(i),o.push(JO),n.push(l)):(r.number.push(i),o.push(PC),n.push(parseFloat(l))),++i,ev)).split(ev);return{values:n,split:a,indexes:r,types:o}}function TC(e){return sa(e).values}function RC(e){const{split:t,types:n}=sa(e),r=t.length;return o=>{let i="";for(let s=0;stypeof e=="number"?0:e;function rI(e){const t=TC(e);return RC(e)(t.map(nI))}const Nr={test:ZO,parse:TC,createTransformer:RC,getAnimatableNone:rI},oI=new Set(["brightness","contrast","saturate","opacity"]);function iI(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(om)||[];if(!r)return e;const o=n.replace(r,"");let i=oI.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const sI=/\b([a-z-]*)\(.*?\)/gu,tp={...Nr,getAnimatableNone:e=>{const t=e.match(sI);return t?t.map(iI).join(" "):e}},aI={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},lI={rotate:mr,rotateX:mr,rotateY:mr,rotateZ:mr,scale:tl,scaleX:tl,scaleY:tl,scaleZ:tl,skew:mr,skewX:mr,skewY:mr,distance:ee,translateX:ee,translateY:ee,translateZ:ee,x:ee,y:ee,z:ee,perspective:ee,transformPerspective:ee,opacity:ia,originX:X0,originY:X0,originZ:ee},tv={...Di,transform:Math.round},sm={...aI,...lI,zIndex:tv,size:ee,fillOpacity:ia,strokeOpacity:ia,numOctaves:tv},uI={...sm,color:wt,backgroundColor:wt,outlineColor:wt,fill:wt,stroke:wt,borderColor:wt,borderTopColor:wt,borderRightColor:wt,borderBottomColor:wt,borderLeftColor:wt,filter:tp,WebkitFilter:tp},am=e=>uI[e];function AC(e,t){let n=am(e);return n!==tp&&(n=Nr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const cI=new Set(["auto","none","0"]);function dI(e,t,n){let r=0,o;for(;r{n.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function lm(e){return typeof e=="function"}let Cl;function fI(){Cl=void 0}const zn={now:()=>(Cl===void 0&&zn.set(mt.isProcessing||EO.useManualTiming?mt.timestamp:performance.now()),Cl),set:e=>{Cl=e,queueMicrotask(fI)}},nv=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Nr.test(e)||e==="0")&&!e.startsWith("url("));function pI(e){const t=e[0];if(e.length===1)return!0;for(let n=0;nmI?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&GO(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=zn.now(),this.hasAttemptedResolve=!0;const{name:r,type:o,velocity:i,delay:s,onComplete:a,onUpdate:l,isGenerator:u}=this.options;if(!u&&!hI(t,r,o,i))if(s)this.options.duration=0;else{l==null||l(Mc(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 IC(e,t){return t?e*(1e3/t):0}const gI=5;function jC(e,t,n){const r=Math.max(t-gI,0);return IC(n-e(r),t-r)}const $d=.001,vI=.01,yI=10,xI=.05,bI=1;function CI({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i,s=1-t;s=zr(xI,bI,s),e=zr(vI,yI,Jn(e)),s<1?(o=u=>{const c=u*s,d=c*e,f=c-n,m=np(u,s),h=Math.exp(-d);return $d-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),x=np(Math.pow(u,2),s);return(-o(u)+$d>0?-1:1)*((f-m)*h)/x}):(o=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-$d+c*d},i=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=wI(o,i,a);if(e=Zn(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 SI=12;function wI(e,t,n){let r=n;for(let o=1;oe[n]!==void 0)}function PI(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!rv(e,$I)&&rv(e,kI)){const n=CI(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function BC({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}=PI({...r,velocity:-Jn(r.velocity||0)}),m=d||0,h=l/(2*Math.sqrt(a*u)),x=i-o,k=Jn(Math.sqrt(a/u)),g=Math.abs(x)<5;n||(n=g?.01:2),t||(t=g?.005:.5);let v;if(h<1){const p=np(k,h);v=C=>{const w=Math.exp(-h*k*C);return i-w*((m+h*k*x)/p*Math.sin(p*C)+x*Math.cos(p*C))}}else if(h===1)v=p=>i-Math.exp(-k*p)*(x+(m+k*x)*p);else{const p=k*Math.sqrt(h*h-1);v=C=>{const w=Math.exp(-h*k*C),P=Math.min(p*C,300);return i-w*((m+h*k*x)*Math.sinh(P)+p*x*Math.cosh(P))/p}}return{calculatedDuration:f&&c||null,next:p=>{const C=v(p);if(f)s.done=p>=c;else{let w=0;h<1&&(w=p===0?Zn(m):jC(v,p,C));const P=Math.abs(w)<=n,$=Math.abs(i-C)<=t;s.done=P&&$}return s.value=s.done?i:C,s}}}function ov({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=E=>a!==void 0&&El,h=E=>a===void 0?l:l===void 0||Math.abs(a-E)-x*Math.exp(-E/r),p=E=>g+v(E),C=E=>{const S=v(E),T=p(E);f.done=Math.abs(S)<=u,f.value=f.done?g:T};let w,P;const $=E=>{m(f.value)&&(w=E,P=BC({keyframes:[f.value,h(f.value)],velocity:jC(p,E,f.value),damping:o,stiffness:i,restDelta:u,restSpeed:c}))};return $(0),{calculatedDuration:null,next:E=>{let S=!1;return!P&&w===void 0&&(S=!0,C(E),$(E)),w!==void 0&&E>=w?P.next(E-w):(!S&&C(E),f)}}}const EI=Pa(.42,0,1,1),TI=Pa(0,0,.58,1),DC=Pa(.42,0,.58,1),RI=e=>Array.isArray(e)&&typeof e[0]!="number",iv={linear:Et,easeIn:EI,easeInOut:DC,easeOut:TI,circIn:tm,circInOut:mC,circOut:hC,backIn:em,backInOut:fC,backOut:dC,anticipate:pC},sv=e=>{if(Array.isArray(e)){Qf(e.length===4);const[t,n,r,o]=e;return Pa(t,n,r,o)}else if(typeof e=="string")return Qf(iv[e]!==void 0),iv[e];return e},AI=(e,t)=>n=>t(e(n)),er=(...e)=>e.reduce(AI),wi=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},_e=(e,t,n)=>e+(t-e)*n;function Pd(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 MI({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=Pd(l,a,e+1/3),i=Pd(l,a,e),s=Pd(l,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(s*255),alpha:r}}function fu(e,t){return n=>n>0?t:e}const Ed=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},OI=[ep,lo,qo],II=e=>OI.find(t=>t.test(e));function av(e){const t=II(e);if(!t)return!1;let n=t.parse(e);return t===qo&&(n=MI(n)),n}const lv=(e,t)=>{const n=av(e),r=av(t);if(!n||!r)return fu(e,t);const o={...n};return i=>(o.red=Ed(n.red,r.red,i),o.green=Ed(n.green,r.green,i),o.blue=Ed(n.blue,r.blue,i),o.alpha=_e(n.alpha,r.alpha,i),lo.transform(o))},rp=new Set(["none","hidden"]);function jI(e,t){return rp.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function BI(e,t){return n=>_e(e,t,n)}function um(e){return typeof e=="number"?BI:typeof e=="string"?nm(e)?fu:wt.test(e)?lv:FI:Array.isArray(e)?LC:typeof e=="object"?wt.test(e)?lv:DI:fu}function LC(e,t){const n=[...e],r=n.length,o=e.map((i,s)=>um(i)(i,t[s]));return i=>{for(let s=0;s{for(const i in r)n[i]=r[i](o);return n}}function LI(e,t){var n;const r=[],o={color:0,var:0,number:0};for(let i=0;i{const n=Nr.createTransformer(t),r=sa(e),o=sa(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?jI(e,t):er(LC(LI(r,o),o.values),n):fu(e,t)};function FC(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?_e(e,t,n):um(e)(e,t)}function zI(e,t,n){const r=[],o=n||FC,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=zI(t,r,o),a=s.length,l=u=>{let c=0;if(a>1)for(;cl(zr(e[0],e[i-1],u)):l}function _I(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=wi(0,t,r);e.push(_e(n,1,o))}}function VI(e){const t=[0];return _I(t,e.length-1),t}function WI(e,t){return e.map(n=>n*t)}function HI(e,t){return e.map(()=>t||DC).splice(0,e.length-1)}function pu({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=RI(r)?r.map(sv):sv(r),i={done:!1,value:t[0]},s=WI(n&&n.length===t.length?n:VI(t),e),a=NI(s,t,{ease:Array.isArray(o)?o:HI(t,o)});return{calculatedDuration:e,next:l=>(i.value=a(l),i.done=l>=e,i)}}const uv=2e4;function UI(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t=uv?1/0:t}const GI=e=>{const t=({timestamp:n})=>e(n);return{start:()=>ke.update(t,!0),stop:()=>Fr(t),now:()=>mt.isProcessing?mt.timestamp:zn.now()}},KI={decay:ov,inertia:ov,tween:pu,keyframes:pu,spring:BC},YI=e=>e/100;class cm extends OC{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)||rm,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=lm(n)?n:KI[n]||pu;let l,u;a!==pu&&typeof t[0]!="number"&&(l=er(YI,FC(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:E}=this.options;return{done:!0,value:E[E.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:x,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,C=i;if(m){const E=Math.min(this.currentTime,c)/d;let S=Math.floor(E),T=E%1;!T&&E>=1&&(T=1),T===1&&S--,S=Math.min(S,m+1),!!(S%2)&&(h==="reverse"?(T=1-T,x&&(T-=x/d)):h==="mirror"&&(C=s)),p=zr(0,1,T)*d}const w=v?{done:!1,value:l[0]}:C.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=Mc(l,this.options,o)),k&&k(w.value),$&&this.finish(),w}get duration(){const{resolved:t}=this;return t?Jn(t.calculatedDuration):0}get time(){return Jn(this.currentTime)}set time(t){t=Zn(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=Jn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=GI,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 zC=new Set(["opacity","clipPath","filter","transform"]),NC=e=>Array.isArray(e)&&typeof e[0]=="number",XI=10,qI=(e,t)=>{let n="";const r=Math.max(Math.round(t/XI),2);for(let o=0;o(t===void 0&&(t=e()),t)}const QI={linearEasing:void 0};function ZI(e,t){const n=dm(e);return()=>{var r;return(r=QI[t])!==null&&r!==void 0?r:n()}}const hu=ZI(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");function _C(e){return!!(typeof e=="function"&&hu()||!e||typeof e=="string"&&(e in op||hu())||NC(e)||Array.isArray(e)&&e.every(_C))}const ps=([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:ps([0,.65,.55,1]),circOut:ps([.55,0,1,.45]),backIn:ps([.31,.01,.66,-.59]),backOut:ps([.33,1.53,.69,.99])};function VC(e,t){if(e)return typeof e=="function"&&hu()?qI(e,t):NC(e)?ps(e):Array.isArray(e)?e.map(n=>VC(n,t)||op.easeOut):op[e]}function JI(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=VC(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 cv(e,t){e.timeline=t,e.onfinish=null}const ej=dm(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),mu=10,tj=2e4;function nj(e){return lm(e.type)||e.type==="spring"||!_C(e.ease)}function rj(e,t){const n=new cm({...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"&&hu()&&oj(s)&&(s=WC[s]),nj(this.options)){const{onComplete:f,onUpdate:m,motionValue:h,element:x,...k}=this.options,g=rj(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=JI(l.owner.current,u,t,{...this.options,duration:o,times:i,ease:s});return d.startTime=c??this.calcStartTime(),this.pendingTimeline?(cv(d,this.pendingTimeline),this.pendingTimeline=void 0):d.onfinish=()=>{const{onComplete:f}=this.options;l.set(Mc(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 Jn(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return Jn(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=Zn(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 Et;const{animation:r}=n;cv(r,t)}return Et}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 cm({...m,keyframes:r,duration:o,type:i,ease:s,times:a,isGenerator:!0}),x=Zn(this.time);u.setWithVelocity(h.sample(x-mu).value,h.sample(x).value,mu)}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 ej()&&r&&zC.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!o&&i!=="mirror"&&s!==0&&a!=="inertia"}}const ij=dm(()=>window.ScrollTimeline!==void 0);class sj{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;rij()&&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 aj({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 fm=(e,t,n,r={},o,i)=>s=>{const a=Jh(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-Zn(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};aj(a)||(c={...c,...PO(e,c)}),c.duration&&(c.duration=Zn(c.duration)),c.repeatDelay&&(c.repeatDelay=Zn(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=Mc(c.keyframes,a);if(f!==void 0)return ke.update(()=>{c.onUpdate(f),c.onComplete()}),new sj([])}return!i&&dv.supports(c)?new dv(c):new cm(c)},lj=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),uj=e=>qf(e)?e[e.length-1]||0:e;function Ta(e,t){e.indexOf(t)===-1&&e.push(t)}function pm(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class hm{constructor(){this.subscriptions=[]}add(t){return Ta(this.subscriptions,t),()=>pm(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 HC{constructor(t,n={}){this.version="11.9.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,o=!0)=>{const i=zn.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=zn.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=cj(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 hm);const r=this.events[t].add(n);return t==="change"?()=>{r(),ke.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=zn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>fv)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,fv);return IC(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 aa(e,t){return new HC(e,t)}function dj(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,aa(n))}function fj(e,t){const n=Ac(e,t);let{transitionEnd:r={},transition:o={},...i}=n||{};i={...i,...r};for(const s in i){const a=uj(i[s]);dj(e,s,a)}}const Oc=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),pj="framerAppearId",UC="data-"+Oc(pj);function GC(e){return e.props[UC]}function KC(e){if(Ur.has(e))return"transform";if(zC.has(e))return Oc(e)}class hj extends HC{constructor(){super(...arguments),this.values=[]}add(t){const n=KC(t);n&&(Ta(this.values,n),this.update())}update(){this.set(this.values.length?this.values.join(", "):"auto")}}const $t=e=>!!(e&&e.getVelocity);function mj(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 hj("auto"),e.addValue("willChange",r)),mj(r))return r.add(t)}function gj({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function YC(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&&gj(c,d))continue;const h={delay:n,...Jh(s||{},d)};let x=!1;if(window.MotionHandoffAnimation){const g=GC(e);if(g){const v=window.MotionHandoffAnimation(g,d,ke);v!==null&&(h.startTime=v,x=!0)}}ip(e,d),f.start(fm(d,f,m,e.shouldReduceMotion&&Ur.has(d)?{type:!1}:h,e,x));const k=f.animation;k&&u.push(k)}return a&&Promise.all(u).then(()=>{ke.update(()=>{a&&fj(e,a)})}),u}function sp(e,t,n={}){var r;const o=Ac(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(YC(e,o,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=i;return vj(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 vj(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(yj).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 yj(e,t){return e.sortNodePosition(t)}function xj(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"?Ac(e,t,n.custom):t;r=Promise.all(YC(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const bj=Zh.length;function XC(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?XC(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})=>xj(e,n,r)))}function kj(e){let t=wj(e),n=pv(),r=!0;const o=l=>(u,c)=>{var d;const f=Ac(e,c,l==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:m,transitionEnd:h,...x}=f;u={...u,...x,...h}}return u};function i(l){t=l(e)}function s(l){const{props:u}=e,c=XC(e.parent)||{},d=[],f=new Set;let m={},h=1/0;for(let k=0;kh&&C,S=!1;const T=Array.isArray(p)?p:[p];let A=T.reduce(o(g),{});w===!1&&(A={});const{prevResolvedValues:O={}}=v,B={...O,...A},I=L=>{E=!0,f.has(L)&&(S=!0,f.delete(L)),v.needsAnimating[L]=!0;const R=e.getValue(L);R&&(R.liveStyle=!1)};for(const L in B){const R=A[L],j=O[L];if(m.hasOwnProperty(L))continue;let H=!1;qf(R)&&qf(j)?H=!sC(R,j):H=R!==j,H?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&&(E=!1),E&&(!(P&&$)||S)&&d.push(...T.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 x=!!d.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(x=!1),r=!1,x?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=pv(),r=!0}}}function $j(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!sC(t,e):!1}function qr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function pv(){return{animate:qr(!0),whileInView:qr(),whileHover:qr(),whileTap:qr(),whileDrag:qr(),whileFocus:qr(),exit:qr()}}class Gr{constructor(t){this.isMounted=!1,this.node=t}update(){}}class Pj extends Gr{constructor(t){super(t),t.animationState||(t.animationState=kj(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();ra(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 Ej=0;class Tj extends Gr{constructor(){super(...arguments),this.id=Ej++}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 Rj={animation:{Feature:Pj},exit:{Feature:Tj}},qC=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Ic(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const Aj=e=>t=>qC(t)&&e(t,Ic(t));function Xn(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function tr(e,t,n,r){return Xn(e,t,Aj(n),r)}const hv=(e,t)=>Math.abs(e-t);function Mj(e,t){const n=hv(e.x,t.x),r=hv(e.y,t.y);return Math.sqrt(n**2+r**2)}class QC{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=Rd(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,m=Mj(d.offset,{x:0,y:0})>=3;if(!f&&!m)return;const{point:h}=d,{timestamp:x}=mt;this.history.push({...h,timestamp:x});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),ke.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:m,onSessionEnd:h,resumeAnimation:x}=this.handlers;if(this.dragSnapToOrigin&&x&&x(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const k=Rd(d.type==="pointercancel"?this.lastMoveEventInfo:Td(f,this.transformPagePoint),this.history);this.startEvent&&m&&m(d,k),h&&h(d,k)},!qC(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.contextWindow=o||window;const s=Ic(t),a=Td(s,this.transformPagePoint),{point:l}=a,{timestamp:u}=mt;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,Rd(a,this.history)),this.removeListeners=er(tr(this.contextWindow,"pointermove",this.handlePointerMove),tr(this.contextWindow,"pointerup",this.handlePointerUp),tr(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Fr(this.updatePoint)}}function Td(e,t){return t?{point:t(e.point)}:e}function mv(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Rd({point:e},t){return{point:e,delta:mv(e,ZC(t)),offset:mv(e,Oj(t)),velocity:Ij(t,.1)}}function Oj(e){return e[0]}function ZC(e){return e[e.length-1]}function Ij(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>Zn(t)));)n--;if(!r)return{x:0,y:0};const i=Jn(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 JC(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const gv=JC("dragHorizontal"),vv=JC("dragVertical");function eS(e){let t=!1;if(e==="y")t=vv();else if(e==="x")t=gv();else{const n=gv(),r=vv();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function tS(){const e=eS(!0);return e?(e(),!1):!0}function Qo(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}const nS=1e-4,jj=1-nS,Bj=1+nS,rS=.01,Dj=0-rS,Lj=0+rS;function Yt(e){return e.max-e.min}function Fj(e,t,n){return Math.abs(e-t)<=n}function yv(e,t,n,r=.5){e.origin=r,e.originPoint=_e(t.min,t.max,e.origin),e.scale=Yt(n)/Yt(t),e.translate=_e(n.min,n.max,e.origin)-e.originPoint,(e.scale>=jj&&e.scale<=Bj||isNaN(e.scale))&&(e.scale=1),(e.translate>=Dj&&e.translate<=Lj||isNaN(e.translate))&&(e.translate=0)}function Rs(e,t,n,r){yv(e.x,t.x,n.x,r?r.originX:void 0),yv(e.y,t.y,n.y,r?r.originY:void 0)}function xv(e,t,n){e.min=n.min+t.min,e.max=e.min+Yt(t)}function zj(e,t,n){xv(e.x,t.x,n.x),xv(e.y,t.y,n.y)}function bv(e,t,n){e.min=t.min-n.min,e.max=e.min+Yt(t)}function As(e,t,n){bv(e.x,t.x,n.x),bv(e.y,t.y,n.y)}function Nj(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?_e(n,e,r.max):Math.min(e,n)),e}function Cv(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 _j(e,{top:t,left:n,bottom:r,right:o}){return{x:Cv(e.x,n,o),y:Cv(e.y,t,r)}}function Sv(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=wi(t.min,t.max-r,e.min):r>o&&(n=wi(e.min,e.max-o,t.min)),zr(0,1,n)}function Hj(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 Uj(e=ap){return e===!1?e=0:e===!0&&(e=ap),{x:wv(e,"left","right"),y:wv(e,"top","bottom")}}function wv(e,t,n){return{min:kv(e,t),max:kv(e,n)}}function kv(e,t){return typeof e=="number"?e:e[t]||0}const $v=()=>({translate:0,scale:1,origin:0,originPoint:0}),Zo=()=>({x:$v(),y:$v()}),Pv=()=>({min:0,max:0}),Qe=()=>({x:Pv(),y:Pv()});function Jt(e){return[e("x"),e("y")]}function oS({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Gj({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Kj(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 Ad(e){return e===void 0||e===1}function lp({scale:e,scaleX:t,scaleY:n}){return!Ad(e)||!Ad(t)||!Ad(n)}function no(e){return lp(e)||iS(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function iS(e){return Ev(e.x)||Ev(e.y)}function Ev(e){return e&&e!=="0%"}function gu(e,t,n){const r=e-n,o=t*r;return n+o}function Tv(e,t,n,r,o){return o!==void 0&&(e=gu(e,o,r)),gu(e,n,r)+t}function up(e,t=0,n=1,r,o){e.min=Tv(e.min,t,n,r,o),e.max=Tv(e.max,t,n,r,o)}function sS(e,{x:t,y:n}){up(e.x,t.translate,t.scale,t.originPoint),up(e.y,n.translate,n.scale,n.originPoint)}const Rv=.999999999999,Av=1.0000000000001;function Yj(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let i,s;for(let a=0;aRv&&(t.x=1),t.yRv&&(t.y=1)}function Jo(e,t){e.min=e.min+t,e.max=e.max+t}function Mv(e,t,n,r,o=.5){const i=_e(e.min,e.max,o);up(e,t,n,i,r)}function ei(e,t){Mv(e.x,t.x,t.scaleX,t.scale,t.originX),Mv(e.y,t.y,t.scaleY,t.scale,t.originY)}function aS(e,t){return oS(Kj(e.getBoundingClientRect(),t))}function Xj(e,t,n){const r=aS(e,n),{scroll:o}=t;return o&&(Jo(r.x,o.offset.x),Jo(r.y,o.offset.y)),r}const lS=({current:e})=>e?e.ownerDocument.defaultView:null,qj=new WeakMap;class Qj{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=Qe(),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(Ic(c,"page").point)},i=(c,d)=>{const{drag:f,dragPropagation:m,onDragStart:h}=this.getProps();if(f&&!m&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=eS(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(Fn.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&&ke.postRender(()=>h(c,d)),ip(this.visualElement,"transform");const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},s=(c,d)=>{const{dragPropagation:f,dragDirectionLock:m,onDirectionLock:h,onDrag:x}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:k}=d;if(m&&this.currentDirection===null){this.currentDirection=Zj(k),this.currentDirection!==null&&h&&h(this.currentDirection);return}this.updateAxis("x",d.point,k),this.updateAxis("y",d.point,k),this.visualElement.render(),x&&x(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 QC(t,{onSessionStart:o,onStart:i,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:lS(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&&ke.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||!nl(t,o,this.currentDirection))return;const i=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=Nj(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&&Qo(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=_j(o.layoutBox,n):this.constraints=!1,this.elastic=Uj(r),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Jt(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=Hj(o.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Qo(t))return!1;const r=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const i=Xj(r,o.root,this.visualElement.getTransformPagePoint());let s=Vj(o.layout.layoutBox,i);if(n){const a=n(Gj(s));this.hasMutatedConstraints=!!a,a&&(s=oS(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(!nl(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(fm(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(!nl(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]-_e(s,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Qo(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]=Wj({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(!nl(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:u}=this.constraints[s];a.set(_e(l,u,o[s]))})}addListeners(){if(!this.visualElement.current)return;qj.set(this.visualElement,this);const t=this.visualElement.current,n=tr(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();Qo(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()),ke.read(r);const s=Xn(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 nl(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Zj(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Jj extends Gr{constructor(t){super(t),this.removeGroupControls=Et,this.removeListeners=Et,this.controls=new Qj(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Et}unmount(){this.removeGroupControls(),this.removeListeners()}}const Ov=e=>(t,n)=>{e&&ke.postRender(()=>e(t,n))};class eB extends Gr{constructor(){super(...arguments),this.removePointerDownListener=Et}onPointerDown(t){this.session=new QC(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:lS(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:Ov(t),onStart:Ov(n),onMove:r,onEnd:(i,s)=>{delete this.session,o&&ke.postRender(()=>o(i,s))}}}mount(){this.removePointerDownListener=tr(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 mm=b.createContext(null);function tB(){const e=b.useContext(mm);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,o=b.useId();b.useEffect(()=>r(o),[]);const i=b.useCallback(()=>n&&n(o),[o,n]);return!t&&n?[!1,i]:[!0]}const uS=b.createContext({}),cS=b.createContext({}),Sl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Iv(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const os={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(ee.test(e))e=parseFloat(e);else return e;const n=Iv(e,t.target.x),r=Iv(e,t.target.y);return`${n}% ${r}%`}},nB={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=Nr.parse(e);if(o.length>5)return r;const i=Nr.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=_e(a,l,.5);return typeof o[2+s]=="number"&&(o[2+s]/=u),typeof o[3+s]=="number"&&(o[3+s]/=u),i(o)}},vu={};function rB(e){Object.assign(vu,e)}const{schedule:gm,cancel:aD}=aC(queueMicrotask,!1);class oB extends b.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:i}=t;rB(iB),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()})),Sl.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()||ke.postRender(()=>{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),gm.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 dS(e){const[t,n]=tB(),r=b.useContext(uS);return y.jsx(oB,{...e,layoutGroup:r,switchLayoutGroup:b.useContext(cS),isPresent:t,safeToRemove:n})}const iB={borderRadius:{...os,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:os,borderTopRightRadius:os,borderBottomLeftRadius:os,borderBottomRightRadius:os,boxShadow:nB},fS=["TopLeft","TopRight","BottomLeft","BottomRight"],sB=fS.length,jv=e=>typeof e=="string"?parseFloat(e):e,Bv=e=>typeof e=="number"||ee.test(e);function aB(e,t,n,r,o,i){o?(e.opacity=_e(0,n.opacity!==void 0?n.opacity:1,lB(r)),e.opacityExit=_e(t.opacity!==void 0?t.opacity:1,0,uB(r))):i&&(e.opacity=_e(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;srt?1:n(wi(e,t,r))}function Lv(e,t){e.min=t.min,e.max=t.max}function Zt(e,t){Lv(e.x,t.x),Lv(e.y,t.y)}function Fv(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function zv(e,t,n,r,o){return e-=t,e=gu(e,1/n,r),o!==void 0&&(e=gu(e,1/o,r)),e}function cB(e,t=0,n=1,r=.5,o,i=e,s=e){if(Fn.test(t)&&(t=parseFloat(t),t=_e(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=_e(i.min,i.max,r);e===i&&(a-=t),e.min=zv(e.min,t,n,a,o),e.max=zv(e.max,t,n,a,o)}function Nv(e,t,[n,r,o],i,s){cB(e,t[n],t[r],t[o],t.scale,i,s)}const dB=["x","scaleX","originX"],fB=["y","scaleY","originY"];function _v(e,t,n,r){Nv(e.x,t,dB,n?n.x:void 0,r?r.x:void 0),Nv(e.y,t,fB,n?n.y:void 0,r?r.y:void 0)}function Vv(e){return e.translate===0&&e.scale===1}function hS(e){return Vv(e.x)&&Vv(e.y)}function Wv(e,t){return e.min===t.min&&e.max===t.max}function pB(e,t){return Wv(e.x,t.x)&&Wv(e.y,t.y)}function Hv(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function mS(e,t){return Hv(e.x,t.x)&&Hv(e.y,t.y)}function Uv(e){return Yt(e.x)/Yt(e.y)}function Gv(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class hB{constructor(){this.members=[]}add(t){Ta(this.members,t),t.scheduleRender()}remove(t){if(pm(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 mB(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 gB=(e,t)=>e.depth-t.depth;class vB{constructor(){this.children=[],this.isDirty=!1}add(t){Ta(this.children,t),this.isDirty=!0}remove(t){pm(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(gB),this.isDirty=!1,this.children.forEach(t)}}function wl(e){const t=$t(e)?e.get():e;return lj(t)?t.toValue():t}function yB(e,t){const n=zn.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&(Fr(r),e(i-t))};return ke.read(r,!0),()=>Fr(r)}function xB(e){return e instanceof SVGElement&&e.tagName!=="svg"}function bB(e,t,n){const r=$t(e)?e:aa(e);return r.start(fm("",r,t,n)),r.animation}const ro={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},hs=typeof window<"u"&&window.MotionDebug!==void 0,Md=["","X","Y","Z"],CB={visibility:"hidden"},Kv=1e3;let SB=0;function Od(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function gS(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=GC(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ke,!(o||i))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&gS(r)}function vS({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(s={},a=t==null?void 0:t()){this.id=SB++,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,hs&&(ro.totalNodes=ro.resolvedTargetDeltas=ro.recalculatedProjection=0),this.nodes.forEach($B),this.nodes.forEach(AB),this.nodes.forEach(MB),this.nodes.forEach(PB),hs&&window.MotionDebug.record(ro)},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=yB(f,250),Sl.hasAnimatedSinceResize&&(Sl.hasAnimatedSinceResize=!1,this.nodes.forEach(Xv))})}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 x=this.options.transition||c.getDefaultTransition()||DB,{onLayoutAnimationStart:k,onLayoutAnimationComplete:g}=c.getProps(),v=!this.targetLayout||!mS(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 C={...Jh(x,"layout"),onPlay:k,onComplete:g};(c.shouldReduceMotion||this.options.layoutRoot)&&(C.delay=0,C.type=!1),this.startAnimation(C)}else f||Xv(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,Fr(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(OB),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&&gS(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=C/1e3;qv(d.x,s.x,w),qv(d.y,s.y,w),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(As(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),jB(this.relativeTarget,this.relativeTargetOrigin,f,w),p&&pB(this.relativeTarget,p)&&(this.isProjectionDirty=!1),p||(p=Qe()),Zt(p,this.relativeTarget)),x&&(this.animationValues=c,aB(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&&(Fr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ke.update(()=>{Sl.hasAnimatedSinceResize=!0,this.currentAnimation=bB(0,Kv,{...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(Kv),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&&yS(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Qe();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),ei(a,c),Rs(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new hB),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&&Od("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(Yv),this.root.sharedNodes.clear()}}}function wB(e){e.updateLayout()}function kB(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}):yS(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=Zo();Rs(a,r,n.layoutBox);const l=Zo();s?Rs(l,e.applyTransform(o,!0),n.measuredBox):Rs(l,r,n.layoutBox);const u=!hS(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=Qe();As(h,n.layoutBox,f.layoutBox);const x=Qe();As(x,r,m.layoutBox),mS(h,x)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=x,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 $B(e){hs&&ro.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 PB(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function EB(e){e.clearSnapshot()}function Yv(e){e.clearMeasurements()}function TB(e){e.isLayoutDirty=!1}function RB(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Xv(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function AB(e){e.resolveTargetDelta()}function MB(e){e.calcProjection()}function OB(e){e.resetSkewAndRotation()}function IB(e){e.removeLeadSnapshot()}function qv(e,t,n){e.translate=_e(t.translate,0,n),e.scale=_e(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Qv(e,t,n,r){e.min=_e(t.min,n.min,r),e.max=_e(t.max,n.max,r)}function jB(e,t,n,r){Qv(e.x,t.x,n.x,r),Qv(e.y,t.y,n.y,r)}function BB(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const DB={duration:.45,ease:[.4,0,.1,1]},Zv=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Jv=Zv("applewebkit/")&&!Zv("chrome/")?Math.round:Et;function ey(e){e.min=Jv(e.min),e.max=Jv(e.max)}function LB(e){ey(e.x),ey(e.y)}function yS(e,t,n){return e==="position"||e==="preserve-aspect"&&!Fj(Uv(t),Uv(n),.2)}function FB(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const zB=vS({attachResizeListener:(e,t)=>Xn(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Id={current:void 0},xS=vS({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Id.current){const e=new zB({});e.mount(window),e.setOptions({layoutScroll:!0}),Id.current=e}return Id.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),NB={pan:{Feature:eB},drag:{Feature:Jj,ProjectionNode:xS,MeasureLayout:dS}};function ty(e,t){const n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd",o=(i,s)=>{if(i.pointerType==="touch"||tS())return;const a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t);const l=a[r];l&&ke.postRender(()=>l(i,s))};return tr(e.current,n,o,{passive:!e.getProps()[r]})}class _B extends Gr{mount(){this.unmount=er(ty(this.node,!0),ty(this.node,!1))}unmount(){}}class VB extends Gr{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=er(Xn(this.node.current,"focus",()=>this.onFocus()),Xn(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const bS=(e,t)=>t?e===t?!0:bS(e,t.parentElement):!1;function jd(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Ic(n))}class WB extends Gr{constructor(){super(...arguments),this.removeStartListeners=Et,this.removeEndListeners=Et,this.removeAccessibleListeners=Et,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),i=tr(window,"pointerup",(a,l)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c,globalTapTarget:d}=this.node.getProps(),f=!d&&!bS(this.node.current,a.target)?c:u;f&&ke.update(()=>f(a,l))},{passive:!(r.onTap||r.onPointerUp)}),s=tr(window,"pointercancel",(a,l)=>this.cancelPress(a,l),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=er(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()||jd("up",(l,u)=>{const{onTap:c}=this.node.getProps();c&&ke.postRender(()=>c(l,u))})};this.removeEndListeners(),this.removeEndListeners=Xn(this.node.current,"keyup",s),jd("down",(a,l)=>{this.startPress(a,l)})},n=Xn(this.node.current,"keydown",t),r=()=>{this.isPressing&&jd("cancel",(i,s)=>this.cancelPress(i,s))},o=Xn(this.node.current,"blur",r);this.removeAccessibleListeners=er(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&&ke.postRender(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!tS()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&ke.postRender(()=>r(t,n))}mount(){const t=this.node.getProps(),n=tr(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=Xn(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=er(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const cp=new WeakMap,Bd=new WeakMap,HB=e=>{const t=cp.get(e.target);t&&t(e)},UB=e=>{e.forEach(HB)};function GB({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(UB,{root:e,...t})),r[o]}function KB(e,t,n){const r=GB(t);return cp.set(e,n),r.observe(e),()=>{cp.delete(e),r.unobserve(e)}}const YB={some:0,all:1};class XB extends Gr{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:YB[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 KB(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(qB(t,n))&&this.startObserver()}unmount(){}}function qB({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const QB={inView:{Feature:XB},tap:{Feature:WB},focus:{Feature:VB},hover:{Feature:_B}},ZB={layout:{ProjectionNode:xS,MeasureLayout:dS}},CS=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),jc=b.createContext({}),vm=typeof window<"u",JB=vm?b.useLayoutEffect:b.useEffect,SS=b.createContext({strict:!1});let ny=!1;function e6(e,t,n,r,o){var i;const{visualElement:s}=b.useContext(jc),a=b.useContext(SS),l=b.useContext(mm),u=b.useContext(CS).reducedMotion,c=b.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=b.useContext(cS);d&&!d.projection&&o&&(d.type==="html"||d.type==="svg")&&n6(c.current,n,o,f),b.useInsertionEffect(()=>{d&&d.update(n,l)});const m=n[UC],h=b.useRef(!!m&&!window.MotionHandoffIsComplete&&((i=window.MotionHasOptimisedAnimation)===null||i===void 0?void 0:i.call(window,m)));return JB(()=>{d&&(d.updateFeatures(),gm.render(d.render),h.current&&d.animationState&&d.animationState.animateChanges())}),b.useEffect(()=>{d&&(!h.current&&d.animationState&&d.animationState.animateChanges(),h.current=!1,ny||(ny=!0,queueMicrotask(t6)))}),d}function t6(){window.MotionHandoffIsComplete=!0}function n6(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:wS(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:!!s||a&&Qo(a),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}function wS(e){if(e)return e.options.allowProjection!==!1?e.projection:wS(e.parent)}function r6(e,t,n){return b.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Qo(n)&&(n.current=r))},[t])}function Bc(e){return ra(e.animate)||Zh.some(t=>oa(e[t]))}function kS(e){return!!(Bc(e)||e.variants)}function o6(e,t){if(Bc(e)){const{initial:n,animate:r}=e;return{initial:n===!1||oa(n)?n:void 0,animate:oa(r)?r:void 0}}return e.inherit!==!1?t:{}}function i6(e){const{initial:t,animate:n}=o6(e,b.useContext(jc));return b.useMemo(()=>({initial:t,animate:n}),[ry(t),ry(n)])}function ry(e){return Array.isArray(e)?e.join(" "):e}const oy={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"]},ki={};for(const e in oy)ki[e]={isEnabled:t=>oy[e].some(n=>!!t[n])};function s6(e){for(const t in e)ki[t]={...ki[t],...e[t]}}const a6=Symbol.for("motionComponentSymbol");function l6({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){e&&s6(e);function i(a,l){let u;const c={...b.useContext(CS),...a,layoutId:u6(a)},{isStatic:d}=c,f=i6(a),m=r(a,d);if(!d&&vm){c6();const h=d6(c);u=h.MeasureLayout,f.visualElement=e6(o,m,c,t,h.ProjectionNode)}return y.jsxs(jc.Provider,{value:f,children:[u&&f.visualElement?y.jsx(u,{visualElement:f.visualElement,...c}):null,n(o,a,r6(m,f.visualElement,l),m,d,f.visualElement)]})}const s=b.forwardRef(i);return s[a6]=o,s}function u6({layoutId:e}){const t=b.useContext(uS).id;return t&&e!==void 0?t+"-"+e:e}function c6(e,t){b.useContext(SS).strict}function d6(e){const{drag:t,layout:n}=ki;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 f6=["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 ym(e){return typeof e!="string"||e.includes("-")?!1:!!(f6.indexOf(e)>-1||/[A-Z]/u.test(e))}function $S(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 PS=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 ES(e,t,n,r){$S(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(PS.has(o)?o:Oc(o),t.attrs[o])}function TS(e,{layout:t,layoutId:n}){return Ur.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!vu[e]||e==="opacity")}function xm(e,t,n){var r;const{style:o}=e,i={};for(const s in o)($t(o[s])||t.style&&$t(t.style[s])||TS(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 RS(e,t,n){const r=xm(e,t,n);for(const o in e)if($t(e[o])||$t(t[o])){const i=$a.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[i]=e[o]}return r}function p6(e){const t=b.useRef(null);return t.current===null&&(t.current=e()),t.current}function h6({applyWillChange:e=!1,scrapeMotionValuesFromProps:t,createRenderState:n,onMount:r},o,i,s,a){const l={latestValues:g6(o,i,s,a?!1:e,t),renderState:n()};return r&&(l.mount=u=>r(o,u,l)),l}const AS=e=>(t,n)=>{const r=b.useContext(jc),o=b.useContext(mm),i=()=>h6(e,t,r,o,n);return n?i():p6(i)};function m6(e,t){const n=KC(t);n&&Ta(e,n)}function iy(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 C=h?p.length-1:0;p=p[C]}p!==null&&(s[v]=p)}for(const v in g)s[v]=g[v]}),l&&(d&&c!==!1&&!ra(d)&&iy(e,d,k=>{for(const g in k)m6(a,g)}),a.length&&(s.willChange=a.join(","))),s}const bm=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),MS=()=>({...bm(),attrs:{}}),OS=(e,t)=>t&&typeof e=="number"?t.transform(e):e,v6={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},y6=$a.length;function x6(e,t,n){let r="",o=!0;for(let i=0;itypeof e=="string"&&e.toLowerCase()==="svg",k6={useVisualState:AS({scrapeMotionValuesFromProps:RS,createRenderState:MS,onMount:(e,t,{renderState:n,latestValues:r})=>{ke.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),ke.render(()=>{Sm(n,r,wm(t.tagName),e.transformTemplate),ES(t,n)})}})},$6={useVisualState:AS({applyWillChange:!0,scrapeMotionValuesFromProps:xm,createRenderState:bm})};function IS(e,t,n){for(const r in t)!$t(t[r])&&!TS(r,n)&&(e[r]=t[r])}function P6({transformTemplate:e},t){return b.useMemo(()=>{const n=bm();return Cm(n,t,e),Object.assign({},n.vars,n.style)},[t])}function E6(e,t){const n=e.style||{},r={};return IS(r,n,e),Object.assign(r,P6(e,t)),r}function T6(e,t){const n={},r=E6(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 R6=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 yu(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||R6.has(e)}let jS=e=>!yu(e);function A6(e){e&&(jS=t=>t.startsWith("on")?!yu(t):e(t))}try{A6(require("@emotion/is-prop-valid").default)}catch{}function M6(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(jS(o)||n===!0&&yu(o)||!t&&!yu(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function O6(e,t,n,r){const o=b.useMemo(()=>{const i=MS();return Sm(i,t,wm(r),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};IS(i,e.style,e),o.style={...i,...o.style}}return o}function I6(e=!1){return(n,r,o,{latestValues:i},s)=>{const l=(ym(n)?O6:T6)(r,i,s,n),u=M6(r,typeof n=="string",e),c=n!==b.Fragment?{...u,...l,ref:o}:{},{children:d}=r,f=b.useMemo(()=>$t(d)?d.get():d,[d]);return b.createElement(n,{...c,children:f})}}function j6(e,t){return function(r,{forwardMotionProps:o}={forwardMotionProps:!1}){const s={...ym(r)?k6:$6,preloadedFeatures:e,useRender:I6(o),createVisualElement:t,Component:r};return l6(s)}}const dp={current:null},BS={current:!1};function B6(){if(BS.current=!0,!!vm)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>dp.current=e.matches;e.addListener(t),t()}else dp.current=!1}function D6(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,aa(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,aa(s!==void 0?s:o,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const ay=new WeakMap,L6=[...SC,wt,Nr],F6=e=>L6.find(CC(e)),ly=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class z6{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=rm,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=zn.now();this.renderScheduledAtthis.bindToMotionValue(r,n)),BS.current||B6(),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(){ay.delete(this.current),this.projection&&this.projection.unmount(),Fr(this.notifyUpdate),Fr(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=Ur.has(t),o=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&ke.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 ki){const n=ki[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):Qe()}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=aa(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"&&(vC(o)||gC(o))?o=parseFloat(o):!F6(o)&&Nr.test(n)&&(o=AC(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=qh(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 hm),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class DS extends z6{constructor(){super(...arguments),this.KeyframeResolver=MC}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 N6(e){return window.getComputedStyle(e)}class _6 extends DS{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=$S}readValueFromInstance(t,n){if(Ur.has(n)){const r=am(n);return r&&r.default||0}else{const r=N6(t),o=(xC(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return aS(t,n)}build(t,n,r){Cm(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return xm(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 V6 extends DS{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Qe}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Ur.has(n)){const r=am(n);return r&&r.default||0}return n=PS.has(n)?n:Oc(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return RS(t,n,r)}build(t,n,r){Sm(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,o){ES(t,n,r,o)}mount(t){this.isSVGTag=wm(t.tagName),super.mount(t)}}const W6=(e,t)=>ym(e)?new V6(t):new _6(t,{allowProjection:e!==b.Fragment}),H6=j6({...Rj,...QB,...NB,...ZB},W6),cr=CO(H6),U6=cr(eC);function LS({orchid:e}){const{isVisible:t,showModal:n,hideModal:r}=bO({orchid:e}),o=Lh(),{theme:i}=b.useContext(kn),s=()=>{o(`/fer-lab1/${e.Id}`)};return y.jsxs(y.Fragment,{children:[y.jsxs(U6,{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:[y.jsx(bl,{children:y.jsx(du,{variant:"outlined",ratio:"2",onClick:()=>n(e),children:y.jsx(cr.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}})})}),y.jsxs(G0,{children:[y.jsx(ie,{level:"title-md",sx:{color:i.text.primary,fontWeight:"bold",mb:.5},children:e.name}),y.jsxs(ce,{children:[y.jsxs(ie,{level:"body-sm",sx:{color:i.text.secondary,mb:2,alignItems:"center",display:"flex"},children:[y.jsx(Yh,{sx:{marginRight:"4px",width:"16px",color:i.icon.color}}),e.origin]}),y.jsxs(ie,{level:"body-sm",sx:{color:i.text.secondary,mb:2,alignItems:"center",display:"flex"},children:[y.jsx(nC,{sx:{marginRight:"4px",width:"16px",color:i.icon.color}}),e.category]})]})]}),y.jsxs(bl,{variant:"soft",sx:{bgcolor:i.action.hover},children:[y.jsx(tC,{inset:"context",sx:{bgcolor:i.divider}}),y.jsxs(G0,{orientation:"horizontal",sx:{justifyContent:"space-between"},children:[y.jsx(kb,{name:"read-only",value:e.rating,readOnly:!0}),y.jsx(cr.div,{whileHover:{scale:1.1},whileTap:{scale:.95},children:y.jsx(Lr,{variant:"outlined",onClick:s,sx:{color:i.button.primary,borderColor:i.button.primary,"&:hover":{backgroundColor:i.button.hover,borderColor:i.button.hover}},children:"Detail"})})]})]})]}),y.jsx(Ah,{open:t,onClose:r,"aria-labelledby":"modal-modal-title","aria-describedby":"modal-modal-description",children:y.jsxs(ce,{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:[y.jsx(eC,{children:y.jsx(bl,{children:y.jsx(du,{ratio:"2",children:y.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})})})}),y.jsx(ie,{id:"modal-modal-description",sx:{mt:2,color:i.text.primary},children:e.detail})]})})]})}function G6(){const{theme:e}=b.useContext(kn);return y.jsx(Ne,{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:Xh.map(t=>y.jsx(Ne,{size:{xs:1,sm:3,md:4},children:y.jsx(LS,{orchid:t},t.Id)},t.Id))})}const K6=cr(ce);function Y6(){const{id:e}=r4(),t=Lh(),n=Xh.find(s=>s.Id===e),{theme:r}=b.useContext(kn),[o,i]=b.useState(!1);return n?y.jsxs(ce,{sx:{display:"flex",flexDirection:"column",minHeight:"calc(100vh - 64px - 56px)",bgcolor:r.mainContent.backgroundColor,color:r.text.primary},children:[y.jsxs(yi,{maxWidth:"lg",sx:{py:4},children:[y.jsx(Lr,{onClick:()=>t("/fer-lab1"),variant:"contained",startIcon:y.jsx(sO,{}),sx:{mb:3,backgroundColor:r.button.primary,"&:hover":{backgroundColor:r.button.hover}},children:"Back to List"}),y.jsx(K6,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},children:y.jsx(xo,{elevation:3,sx:{overflow:"hidden",borderRadius:2,backgroundColor:r.card.backgroundColor,color:r.text.primary},children:y.jsxs(Ne,{container:!0,spacing:0,children:[y.jsx(Ne,{item:!0,xs:12,md:6,children:y.jsxs(ce,{sx:{position:"relative"},children:[y.jsx(du,{ratio:"4/3",children:y.jsx("img",{src:n.image,alt:n.name,style:{width:"100%",height:"100%",objectFit:"cover"}})}),y.jsx(Lr,{variant:"contained",startIcon:y.jsx(gO,{}),onClick:()=>i(!0),sx:{position:"absolute",bottom:16,right:16,backgroundColor:"rgba(0, 0, 0, 0.6)","&:hover":{backgroundColor:"rgba(0, 0, 0, 0.8)"}},children:"Watch Video"})]})}),y.jsx(Ne,{item:!0,xs:12,md:6,children:y.jsxs(ce,{sx:{p:4},children:[y.jsx(ie,{variant:"h4",component:"h1",gutterBottom:!0,children:n.name}),y.jsxs(ce,{sx:{display:"flex",alignItems:"center",mb:2},children:[y.jsx(kb,{name:"read-only",value:n.rating,readOnly:!0,precision:.5,emptyIcon:y.jsx(K0,{style:{opacity:.55},fontSize:"inherit"})}),y.jsxs(ie,{variant:"body1",sx:{ml:1},children:["(",n.rating,"/5)"]})]}),y.jsx(xi,{sx:{my:2}}),y.jsxs(ie,{variant:"body1",sx:{mb:2,display:"flex",alignItems:"center"},children:[y.jsx(Yh,{sx:{mr:1,color:r.icon.color}}),"Origin:"," ",y.jsx(fs,{label:n.origin,sx:{ml:1,backgroundColor:r.chip.backgroundColor,color:r.chip.color}})]}),y.jsxs(ie,{variant:"body1",sx:{mb:2,display:"flex",alignItems:"center"},children:[y.jsx(nC,{sx:{mr:1,color:r.icon.color}}),"Category:"," ",y.jsx(fs,{label:n.category,sx:{ml:1,backgroundColor:r.chip.backgroundColor,color:r.chip.color}})]}),y.jsxs(ie,{variant:"body1",sx:{mb:2,display:"flex",alignItems:"center"},children:[y.jsx(uO,{sx:{mr:1,color:r.icon.color}}),"Color:"," ",y.jsx(fs,{label:n.color,sx:{ml:1,backgroundColor:r.chip.backgroundColor,color:r.chip.color}})]}),y.jsx(xi,{sx:{my:2}}),y.jsx(ie,{variant:"body1",paragraph:!0,children:n.detail}),n.isSpecial&&y.jsx(fs,{icon:y.jsx(K0,{}),label:"Special Orchid",color:"warning",sx:{mt:2}})]})})]})})})]}),y.jsx(Ah,{open:o,onClose:()=>i(!1),"aria-labelledby":"video-modal-title","aria-describedby":"video-modal-description",children:y.jsxs(ce,{sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"80%",maxWidth:800,bgcolor:r.card.backgroundColor,boxShadow:24,p:4,borderRadius:2},children:[y.jsx(ce,{sx:{display:"flex",justifyContent:"flex-end",mb:2},children:y.jsx(un,{onClick:()=>i(!1),sx:{color:r.text.primary},children:y.jsx(lO,{})})}),y.jsx(du,{ratio:"16/9",children:y.jsx("iframe",{width:"100%",height:"100%",src:n.video,title:n.name,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})})]})})]}):y.jsx(yi,{maxWidth:"lg",sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh",bgcolor:r.mainContent.backgroundColor},children:y.jsx(ie,{variant:"h4",color:r.text.primary,children:"Orchid not found"})})}function X6(){const{theme:e}=b.useContext(kn),t=Xh.filter(n=>n.isSpecial);return y.jsx(ce,{sx:{display:"flex",flexDirection:"column",minHeight:"calc(100vh - 64px - 56px)",backgroundColor:e.mainContent.backgroundColor},children:y.jsx(Ne,{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=>y.jsx(Ne,{size:{xs:1,sm:3,md:4},children:y.jsx(LS,{orchid:n},n.Id)},n.Id))})})}const q6="/fer-lab1/assets/avt-D_utLsXG.jpg",Bo=cr(ce),Q6=cr(xb),Dd=({icon:e,title:t,content:n,theme:r})=>y.jsx(Q6,{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:y.jsxs(bb,{children:[y.jsxs(ce,{display:"flex",alignItems:"center",mb:2,children:[an.cloneElement(e,{style:{color:r.icon.color}}),y.jsx(ie,{variant:"h6",component:"h3",ml:1,color:r.text.primary,children:t})]}),y.jsx(ie,{variant:"body1",color:r.text.secondary,children:n})]})});function Z6(){const{theme:e}=b.useContext(kn);return y.jsx(ce,{sx:{display:"flex",flexDirection:"column",minHeight:"100vh",backgroundColor:e.mainContent.backgroundColor,color:e.text.primary},children:y.jsx(yi,{maxWidth:!1,sx:{backgroundColor:e.mainContent.backgroundColor,color:e.text.primary,flex:"1 0 auto",padding:"2rem",paddingBottom:"4rem"},children:y.jsxs(ce,{py:8,children:[y.jsx(Bo,{initial:{opacity:0,y:-50},animate:{opacity:1,y:0},transition:{duration:.5},mb:6,children:y.jsx(ie,{variant:"h2",component:"h1",align:"center",gutterBottom:!0,color:e.text.primary,children:"About Me"})}),y.jsxs(Ne,{container:!0,spacing:4,children:[y.jsx(Ne,{item:!0,xs:12,md:4,children:y.jsx(Bo,{initial:{opacity:0,x:-50},animate:{opacity:1,x:0},transition:{duration:.5,delay:.2},children:y.jsxs(ce,{textAlign:"center",children:[y.jsx(yb,{alt:"Nguyen Huy Hoang",src:q6,sx:{width:200,height:200,margin:"auto",mb:2}}),y.jsx(ie,{variant:"h4",component:"h2",gutterBottom:!0,color:e.text.primary,children:"Nguyen Huy Hoang"}),y.jsx(ie,{variant:"subtitle1",color:e.text.secondary,gutterBottom:!0,children:"Software Engineering Student"}),y.jsxs(ce,{children:[y.jsx(un,{"aria-label":"Facebook",sx:{color:e.icon.color},href:"https://www.facebook.com/hoangnguyen.c1002/",children:y.jsx(rC,{})}),y.jsx(un,{"aria-label":"Instagram",sx:{color:e.icon.color},href:"https://www.instagram.com/__hoang.nguyeen__/",children:y.jsx(iC,{})}),y.jsx(un,{"aria-label":"GitHub",sx:{color:e.icon.color},href:"https://github.com/Hoang-Nguyen-Huy",children:y.jsx(oC,{})})]})]})})}),y.jsx(Ne,{item:!0,xs:12,md:8,children:y.jsxs(Bo,{initial:{opacity:0,x:50},animate:{opacity:1,x:0},transition:{duration:.5,delay:.4},children:[y.jsx(ie,{variant:"h5",component:"h3",gutterBottom:!0,color:e.text.primary,children:"Education"}),y.jsxs(ce,{display:"flex",alignItems:"center",mb:2,children:[y.jsx(vO,{sx:{color:e.icon.color,mr:1}}),y.jsx(ie,{variant:"body1",color:e.text.primary,children:"FPT University, Ho Chi Minh City"})]}),y.jsx(ie,{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."})]})})]}),y.jsxs(ce,{mt:8,children:[y.jsx(ie,{variant:"h4",component:"h2",align:"center",gutterBottom:!0,color:e.text.primary,children:"Our Approach"}),y.jsxs(Ne,{container:!0,spacing:4,mt:2,children:[y.jsx(Ne,{item:!0,xs:12,md:4,children:y.jsx(Bo,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.5,delay:.6},children:y.jsx(Dd,{icon:y.jsx(dO,{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})})}),y.jsx(Ne,{item:!0,xs:12,md:4,children:y.jsx(Bo,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.5,delay:.8},children:y.jsx(Dd,{icon:y.jsx(fO,{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})})}),y.jsx(Ne,{item:!0,xs:12,md:4,children:y.jsx(Bo,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.5,delay:1},children:y.jsx(Dd,{icon:y.jsx(iO,{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 J6=cr(xo),eD=cr(ce);function tD(){const{theme:e}=b.useContext(kn),[t,n]=b.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 y.jsx(ce,{sx:{display:"flex",flexDirection:"column",minHeight:"100vh",backgroundColor:e.mainContent.backgroundColor,color:e.text.primary},children:y.jsxs(yi,{maxWidth:!1,sx:{py:8,backgroundColor:e.mainContent.backgroundColor,minHeight:"100vh",padding:"2rem"},children:[y.jsx(ie,{variant:"h2",component:"h1",align:"center",gutterBottom:!0,color:e.text.primary,children:"Contact Us"}),y.jsxs(Ne,{container:!0,spacing:4,justifyContent:"center",children:[y.jsx(Ne,{item:!0,xs:12,md:6,children:y.jsx(J6,{elevation:3,initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.5},sx:{p:4,backgroundColor:e.card.backgroundColor},children:y.jsxs("form",{onSubmit:o,children:[y.jsx(xd,{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}}}),y.jsx(xd,{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}}}),y.jsx(xd,{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}}}),y.jsx(Lr,{type:"submit",variant:"contained",color:"primary",size:"large",fullWidth:!0,sx:{mt:2},children:"Send Message"})]})})}),y.jsx(Ne,{item:!0,xs:12,md:6,children:y.jsx(eD,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.5,delay:.2},children:y.jsxs(xo,{elevation:3,sx:{p:4,height:"100%",backgroundColor:e.card.backgroundColor},children:[y.jsx(ie,{variant:"h5",gutterBottom:!0,color:e.text.primary,children:"Contact Information"}),y.jsxs(ce,{display:"flex",alignItems:"center",mb:2,children:[y.jsx(un,{sx:{color:e.icon.color,mr:1},children:y.jsx(cO,{})}),y.jsx(ie,{color:e.text.primary,children:"contact@example.com"})]}),y.jsxs(ce,{display:"flex",alignItems:"center",mb:2,children:[y.jsx(un,{sx:{color:e.icon.color,mr:1},children:y.jsx(mO,{})}),y.jsx(ie,{color:e.text.primary,children:"+1 (123) 456-7890"})]}),y.jsxs(ce,{display:"flex",alignItems:"center",mb:2,children:[y.jsx(un,{sx:{color:e.icon.color,mr:1},children:y.jsx(Yh,{})}),y.jsx(ie,{color:e.text.primary,children:"Lô E2a-7, Đường D1, Đ. D1, Long Thạnh Mỹ, Thành Phố Thủ Đức, Hồ Chí Minh"})]}),y.jsxs(ce,{mt:4,children:[y.jsx(ie,{variant:"h6",gutterBottom:!0,color:e.text.primary,children:"Find Us On Map"}),y.jsx(xo,{elevation:2,sx:{height:250,overflow:"hidden"},children:y.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"})})]})]})})})]})]})})}const nD=[{id:1,title:"New Orchid Species Discovered in Remote Rainforest",excerpt:"Researchers have found a previously unknown orchid species in the heart of the Amazon rainforest, showcasing the ongoing biodiversity discoveries in the region.",image:"https://www.coolearth.org/wp-content/uploads/2015/03/singing-orchid-1800x1196-1-1800x1080.jpg",category:"Discovery",author:{name:"Dr. Jane Smith",avatar:"https://pm1.aminoapps.com/7039/9b97883e37ad87916c0c909e2bc4792d56939aber1-734-569v2_hq.jpg"},date:"2024-10-04"},{id:2,title:"Rare Ghost Orchid Blooms in Florida Swamp",excerpt:"The elusive ghost orchid, known for its ethereal beauty, has been spotted blooming in a protected area of the Florida Everglades, exciting botanists and nature enthusiasts alike.",image:"https://i.natgeofe.com/n/07abea22-0cb5-4d7c-8507-ed1588c7930d/ghost-orchid-florida-01_2x1.jpg",category:"Nature",author:{name:"Mark Johnson",avatar:"https://news.virginia.edu/sites/default/files/article_image/mj_3-2.jpg"},date:"2024-10-03"},{id:3,title:"Orchid Conservation Efforts Show Promising Results",excerpt:"A decade-long conservation project focused on protecting endangered orchid species has reported significant progress.",image:"https://gardens.si.edu/wp-content/uploads/2024/07/gh12-201105-hl04-1-2000x1095.jpg",category:"Conservation",author:{name:"Emily Chen",avatar:"https://imgix.bustle.com/uploads/image/2024/6/5/89e161c3/eip_unit_01403r.jpg"},date:"2024-10-02"},{id:4,title:"Innovative Orchid Hybridization Technique Unveiled",excerpt:"Scientists have developed a groundbreaking hybridization technique that could revolutionize orchid breeding, potentially creating more resilient and vibrant varieties.",image:"https://bee-ma.world/wp-content/uploads/2024/09/Leonardo_Phoenix_A_serene_and_intimate_photograph_showcasing_O_1.jpg",category:"Science",author:{name:"Dr. Alex Wong",avatar:"https://today.usc.edu/wp-content/uploads/2017/03/Wong-Alex_-scaled.jpg"},date:"2024-10-01"},{id:5,title:"Virtual Orchid Exhibition Attracts Global Audience",excerpt:"An online orchid show has drawn participants from over 50 countries, showcasing rare specimens and fostering international collaboration among orchid enthusiasts.",image:"https://aiph.org/wp-content/uploads/2019/04/IMG_1603-scaled.jpg",category:"Event",author:{name:"Sarah Lee",avatar:"https://a.storyblok.com/f/119968/800x800/d9428b7000/sarah_lee_thumbnail-0-5x.jpg"},date:"2024-09-30"},{id:6,title:"Climate Change Threatens Rare Alpine Orchid Species",excerpt:"Researchers warn that rising temperatures and changing precipitation patterns could lead to the extinction of several high-altitude orchid species in the next few decades.",image:"https://www.climatecrisisalert.com/wp-content/swift-ai/images/wp-content/uploads/2024/02/Orchids-various-species-Climate-Change-jpg.webp",category:"Environment",author:{name:"Prof. Maria Gonzalez",avatar:"https://melanoma.org.au/wp-content/uploads/2022/03/Maria-Gonzalez-1.jpg"},date:"2024-09-29"}],rD=cr(xb);function oD(){const{theme:e}=b.useContext(kn);return y.jsxs(ce,{sx:{display:"flex",flexDirection:"column",minHeight:"calc(100vh - 64px - 56px)",backgroundColor:e.mainContent.backgroundColor,padding:{xs:2,sm:4,md:6}},children:[y.jsx(ie,{variant:"h2",component:"h1",gutterBottom:!0,align:"center",sx:{mb:6,fontWeight:"bold",color:e.text.primary,fontSize:{xs:"2.5rem",md:"3.5rem"},textShadow:`2px 2px 4px ${e.text.secondary}`},children:"Latest Orchid News"}),y.jsx(Ne,{container:!0,spacing:4,children:nD.map((t,n)=>y.jsx(Ne,{item:!0,xs:12,sm:6,md:4,children:y.jsxs(rD,{sx:{height:"100%",display:"flex",flexDirection:"column",transition:"0.3s",backgroundColor:e.card.backgroundColor,color:e.card.color,"&:hover":{transform:"translateY(-8px)",boxShadow:e.elevation[3]}},initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:n*.1},children:[y.jsx(xR,{component:"img",height:"200",image:t.image,alt:t.title,sx:{objectFit:"cover"}}),y.jsxs(bb,{sx:{flexGrow:1,position:"relative"},children:[y.jsx(fs,{label:t.category,size:"small",sx:{mb:2,backgroundColor:e.chip.backgroundColor,color:e.chip.color,position:"absolute",top:-20,left:16,boxShadow:e.elevation[1]}}),y.jsx(ie,{gutterBottom:!0,variant:"h5",component:"h2",sx:{fontWeight:"bold",color:e.text.primary},children:t.title}),y.jsx(ie,{variant:"body2",sx:{color:e.text.secondary,mb:2},children:t.excerpt}),y.jsx(xi,{sx:{mb:2,backgroundColor:e.divider}}),y.jsxs(ce,{sx:{display:"flex",alignItems:"center",mb:2},children:[y.jsx(yb,{src:t.author.avatar,sx:{width:32,height:32,mr:1}}),y.jsx(ie,{variant:"subtitle2",sx:{color:e.text.primary,mr:2},children:t.author.name}),y.jsx(oO,{sx:{fontSize:16,mr:.5,color:e.icon.color}}),y.jsx(ie,{variant:"caption",sx:{color:e.text.secondary},children:new Date(t.date).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})})]}),y.jsxs(ce,{sx:{display:"flex",justifyContent:"space-between"},children:[y.jsx(Lr,{startIcon:y.jsx(aO,{}),size:"small",sx:{color:e.button.primary},children:"Save"}),y.jsx(Lr,{startIcon:y.jsx(yO,{}),size:"small",sx:{color:e.button.primary},children:"Share"})]})]})]})},t.id))})]})}function iD(){return y.jsxs("div",{style:{position:"relative"},children:[y.jsx(T4,{}),y.jsxs(v4,{children:[y.jsx(to,{path:"/fer-lab1/",element:y.jsx(G6,{})}),y.jsx(to,{path:"/fer-lab1/natural",element:y.jsx(X6,{})}),y.jsx(to,{path:"/fer-lab1/:id",element:y.jsx(Y6,{})}),y.jsx(to,{path:"/fer-lab1/news",element:y.jsx(oD,{})}),y.jsx(to,{path:"/fer-lab1/about",element:y.jsx(Z6,{})}),y.jsx(to,{path:"/fer-lab1/contact",element:y.jsx(tD,{})})]}),y.jsx(xO,{})]})}Sx(document.getElementById("root")).render(y.jsx(b.StrictMode,{children:y.jsx(k4,{children:y.jsx(zT,{children:y.jsx(iD,{})})})})); diff --git a/assets/index-DB9cro4d.js b/assets/index-DB9cro4d.js new file mode 100644 index 0000000..9d7714f --- /dev/null +++ b/assets/index-DB9cro4d.js @@ -0,0 +1,170 @@ +var FS=Object.defineProperty;var zS=(e,t,n)=>t in e?FS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var _i=(e,t,n)=>zS(e,typeof t!="symbol"?t+"":t,n);function NS(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 uy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var cy={exports:{}},xu={},dy={exports:{}},le={};/** + * @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 la=Symbol.for("react.element"),_S=Symbol.for("react.portal"),VS=Symbol.for("react.fragment"),WS=Symbol.for("react.strict_mode"),HS=Symbol.for("react.profiler"),US=Symbol.for("react.provider"),GS=Symbol.for("react.context"),KS=Symbol.for("react.forward_ref"),YS=Symbol.for("react.suspense"),XS=Symbol.for("react.memo"),qS=Symbol.for("react.lazy"),Pm=Symbol.iterator;function QS(e){return e===null||typeof e!="object"?null:(e=Pm&&e[Pm]||e["@@iterator"],typeof e=="function"?e:null)}var fy={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},py=Object.assign,hy={};function $i(e,t,n){this.props=e,this.context=t,this.refs=hy,this.updater=n||fy}$i.prototype.isReactComponent={};$i.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")};$i.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function my(){}my.prototype=$i.prototype;function pp(e,t,n){this.props=e,this.context=t,this.refs=hy,this.updater=n||fy}var hp=pp.prototype=new my;hp.constructor=pp;py(hp,$i.prototype);hp.isPureReactComponent=!0;var Em=Array.isArray,gy=Object.prototype.hasOwnProperty,mp={current:null},vy={key:!0,ref:!0,__self:!0,__source:!0};function yy(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)gy.call(t,r)&&!vy.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(me,H))geo(oe,me)?(R[Z]=oe,R[ge]=H,Z=ge):(R[Z]=me,R[te]=H,Z=te);else if(geo(oe,H))R[Z]=oe,R[ge]=H,Z=ge;else break e}}return j}function o(R,j){var H=R.sortIndex-j.sortIndex;return H!==0?H:R.id-j.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,x=!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 j=n(u);j!==null;){if(j.callback===null)r(u);else if(j.startTime<=R)r(u),j.sortIndex=j.expirationTime,t(l,j);else break;j=n(u)}}function C(R){if(x=!1,p(R),!h)if(n(l)!==null)h=!0,D(w);else{var j=n(u);j!==null&&L(C,j.startTime-R)}}function w(R,j){h=!1,x&&(x=!1,g(E),E=-1),m=!0;var H=f;try{for(p(j),d=n(l);d!==null&&(!(d.expirationTime>j)||R&&!A());){var Z=d.callback;if(typeof Z=="function"){d.callback=null,f=d.priorityLevel;var q=Z(d.expirationTime<=j);j=e.unstable_now(),typeof q=="function"?d.callback=q:d===n(l)&&r(l),p(j)}else r(l);d=n(l)}if(d!==null)var re=!0;else{var te=n(u);te!==null&&L(C,te.startTime-j),re=!1}return re}finally{d=null,f=H,m=!1}}var P=!1,$=null,E=-1,S=5,T=-1;function A(){return!(e.unstable_now()-TR||125Z?(R.sortIndex=H,t(u,R),n(l)===null&&R===n(u)&&(x?(g(E),E=-1):x=!0,L(C,H-Z))):(R.sortIndex=q,t(l,R),h||m||(h=!0,D(w))),R},e.unstable_shouldYield=A,e.unstable_wrapCallback=function(R){var j=f;return function(){var H=f;f=j;try{return R.apply(this,arguments)}finally{f=H}}}})(wy);Sy.exports=wy;var lw=Sy.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 uw=b,Kt=lw;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"),Ld=Object.prototype.hasOwnProperty,cw=/^[: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]*$/,Rm={},Am={};function dw(e){return Ld.call(Am,e)?!0:Ld.call(Rm,e)?!1:cw.test(e)?Am[e]=!0:(Rm[e]=!0,!1)}function fw(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 pw(e,t,n,r){if(t===null||typeof t>"u"||fw(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 vp=/[\-:]([a-z])/g;function yp(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(vp,yp);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(vp,yp);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(vp,yp);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 xp(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{Fc=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?is(e):""}function hw(e){switch(e.tag){case 5:return is(e.type);case 16:return is("Lazy");case 13:return is("Suspense");case 19:return is("SuspenseList");case 0:case 2:case 15:return e=zc(e.type,!1),e;case 11:return e=zc(e.type.render,!1),e;case 1:return e=zc(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 Fo:return"Fragment";case Lo:return"Portal";case Fd:return"Profiler";case bp:return"StrictMode";case zd:return"Suspense";case Nd:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Py:return(e.displayName||"Context")+".Consumer";case $y:return(e._context.displayName||"Context")+".Provider";case Cp:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Sp:return t=e.displayName||null,t!==null?t:_d(e.type)||"Memo";case gr:t=e._payload,e=e._init;try{return _d(e(t))}catch{}}return null}function mw(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===bp?"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 Ir(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 gw(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 Ma(e){e._valueTracker||(e._valueTracker=gw(e))}function Ry(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 $l(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 Vd(e,t){var n=t.checked;return We({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Om(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ir(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 Ay(e,t){t=t.checked,t!=null&&xp(e,"checked",t,!1)}function Wd(e,t){Ay(e,t);var n=Ir(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,Ir(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Im(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"||$l(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ss=Array.isArray;function ti(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Oa.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Os(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ms={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},vw=["Webkit","ms","Moz","O"];Object.keys(ms).forEach(function(e){vw.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ms[t]=ms[e]})});function jy(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ms.hasOwnProperty(e)&&ms[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=jy(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var yw=We({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 Kd(e,t){if(t){if(yw[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 Yd(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 Xd=null;function wp(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var qd=null,ni=null,ri=null;function Dm(e){if(e=da(e)){if(typeof qd!="function")throw Error(F(280));var t=e.stateNode;t&&(t=ku(t),qd(e.stateNode,e.type,t))}}function Dy(e){ni?ri?ri.push(e):ri=[e]:ni=e}function Ly(){if(ni){var e=ni,t=ri;if(ri=ni=null,Dm(e),t)for(e=0;e>>=0,e===0?32:31-(Rw(e)/Aw|0)|0}var Ia=64,ja=4194304;function as(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 Rl(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=as(a):(i&=s,i!==0&&(r=as(i)))}else s=n&~o,s!==0?r=as(s):i!==0&&(r=as(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 ua(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Cn(t),e[t]=n}function jw(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=vs),Um=" ",Gm=!1;function r1(e,t){switch(e){case"keyup":return l2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function o1(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var zo=!1;function c2(e,t){switch(e){case"compositionend":return o1(t);case"keypress":return t.which!==32?null:(Gm=!0,Um);case"textInput":return e=t.data,e===Um&&Gm?null:e;default:return null}}function d2(e,t){if(zo)return e==="compositionend"||!Mp&&r1(e,t)?(e=t1(),sl=Tp=Cr=null,zo=!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=qm(n)}}function l1(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?l1(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function u1(){for(var e=window,t=$l();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=$l(e.document)}return t}function Op(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 b2(e){var t=u1(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&l1(n.ownerDocument.documentElement,n)){if(r!==null&&Op(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=Qm(n,i);var s=Qm(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,No=null,nf=null,xs=null,rf=!1;function Zm(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;rf||No==null||No!==$l(r)||(r=No,"selectionStart"in r&&Op(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}),xs&&Fs(xs,r)||(xs=r,r=Ol(nf,"onSelect"),0Wo||(e.current=cf[Wo],cf[Wo]=null,Wo--)}function Re(e,t){Wo++,cf[Wo]=e.current,e.current=t}var jr={},Tt=Vr(jr),Bt=Vr(!1),po=jr;function di(e,t){var n=e.type.contextTypes;if(!n)return jr;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 jl(){Be(Bt),Be(Tt)}function ig(e,t,n){if(Tt.current!==jr)throw Error(F(168));Re(Tt,t),Re(Bt,n)}function y1(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,mw(e)||"Unknown",o));return We({},n,r)}function Bl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||jr,po=Tt.current,Re(Tt,e),Re(Bt,Bt.current),!0}function sg(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=y1(e,t,po),r.__reactInternalMemoizedMergedChildContext=e,Be(Bt),Be(Tt),Re(Tt,e)):Be(Bt),Re(Bt,n)}var Kn=null,$u=!1,Jc=!1;function x1(e){Kn===null?Kn=[e]:Kn.push(e)}function O2(e){$u=!0,x1(e)}function Wr(){if(!Jc&&Kn!==null){Jc=!0;var e=0,t=Ce;try{var n=Kn;for(Ce=1;e>=s,o-=s,Yn=1<<32-Cn(t)+o|n<E?(S=$,$=null):S=$.sibling;var T=f(g,$,p[E],C);if(T===null){$===null&&($=S);break}e&&$&&T.alternate===null&&t(g,$),v=i(T,v,E),P===null?w=T:P.sibling=T,P=T,$=S}if(E===p.length)return n(g,$),Fe&&Qr(g,E),w;if($===null){for(;EE?(S=$,$=null):S=$.sibling;var A=f(g,$,T.value,C);if(A===null){$===null&&($=S);break}e&&$&&A.alternate===null&&t(g,$),v=i(A,v,E),P===null?w=A:P.sibling=A,P=A,$=S}if(T.done)return n(g,$),Fe&&Qr(g,E),w;if($===null){for(;!T.done;E++,T=p.next())T=d(g,T.value,C),T!==null&&(v=i(T,v,E),P===null?w=T:P.sibling=T,P=T);return Fe&&Qr(g,E),w}for($=r(g,$);!T.done;E++,T=p.next())T=m($,g,E,T.value,C),T!==null&&(e&&T.alternate!==null&&$.delete(T.key===null?E:T.key),v=i(T,v,E),P===null?w=T:P.sibling=T,P=T);return e&&$.forEach(function(O){return t(g,O)}),Fe&&Qr(g,E),w}function k(g,v,p,C){if(typeof p=="object"&&p!==null&&p.type===Fo&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case Aa:e:{for(var w=p.key,P=v;P!==null;){if(P.key===w){if(w=p.type,w===Fo){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===gr&&ug(w)===P.type){n(g,P.sibling),v=o(P,p.props),v.ref=Ki(g,P,p),v.return=g,g=v;break e}n(g,P);break}else t(g,P);P=P.sibling}p.type===Fo?(v=co(p.props.children,g.mode,C,p.key),v.return=g,g=v):(C=hl(p.type,p.key,p.props,null,g.mode,C),C.ref=Ki(g,v,p),C.return=g,g=C)}return s(g);case Lo: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=ad(p,g.mode,C),v.return=g,g=v}return s(g);case gr:return P=p._init,k(g,v,P(p._payload),C)}if(ss(p))return h(g,v,p,C);if(Vi(p))return x(g,v,p,C);_a(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=sd(p,g.mode,C),v.return=g,g=v),s(g)):n(g,v)}return k}var pi=w1(!0),k1=w1(!1),Fl=Vr(null),zl=null,Go=null,Dp=null;function Lp(){Dp=Go=zl=null}function Fp(e){var t=Fl.current;Be(Fl),e._currentValue=t}function pf(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 ii(e,t){zl=e,Dp=Go=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(jt=!0),e.firstContext=null)}function dn(e){var t=e._currentValue;if(Dp!==e)if(e={context:e,memoizedValue:t,next:null},Go===null){if(zl===null)throw Error(F(308));Go=e,zl.dependencies={lanes:0,firstContext:e}}else Go=Go.next=e;return t}var io=null;function zp(e){io===null?io=[e]:io.push(e)}function $1(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,zp(t)):(n.next=o.next,o.next=n),t.interleaved=n,ir(e,r)}function ir(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 vr=!1;function Np(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function P1(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 Qn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Tr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,pe&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,ir(e,n)}return o=r.interleaved,o===null?(t.next=t,zp(r)):(t.next=o.next,o.next=t),r.interleaved=t,ir(e,n)}function ll(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,$p(e,n)}}function cg(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 Nl(e,t,n,r){var o=e.updateQueue;vr=!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,x=a;switch(f=t,m=n,x.tag){case 1:if(h=x.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=x.payload,f=typeof h=="function"?h.call(m,d,f):h,f==null)break e;d=We({},d,f);break e;case 2:vr=!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);go|=s,e.lanes=s,e.memoizedState=d}}function dg(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=td.transition;td.transition={};try{e(!1),t()}finally{Ce=n,td.transition=r}}function W1(){return fn().memoizedState}function D2(e,t,n){var r=Ar(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},H1(e))U1(t,n);else if(n=$1(e,t,n,r),n!==null){var o=At();Sn(n,e,r,o),G1(n,t,r)}}function L2(e,t,n){var r=Ar(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(H1(e))U1(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,wn(a,s)){var l=t.interleaved;l===null?(o.next=o,zp(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=$1(e,t,o,r),n!==null&&(o=At(),Sn(n,e,r,o),G1(n,t,r))}}function H1(e){var t=e.alternate;return e===Ve||t!==null&&t===Ve}function U1(e,t){bs=Vl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function G1(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,$p(e,n)}}var Wl={readContext:dn,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},F2={readContext:dn,useCallback:function(e,t){return Rn().memoizedState=[e,t===void 0?null:t],e},useContext:dn,useEffect:pg,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,cl(4194308,4,F1.bind(null,t,e),n)},useLayoutEffect:function(e,t){return cl(4194308,4,e,t)},useInsertionEffect:function(e,t){return cl(4,2,e,t)},useMemo:function(e,t){var n=Rn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Rn();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=D2.bind(null,Ve,e),[r.memoizedState,e]},useRef:function(e){var t=Rn();return e={current:e},t.memoizedState=e},useState:fg,useDebugValue:Yp,useDeferredValue:function(e){return Rn().memoizedState=e},useTransition:function(){var e=fg(!1),t=e[0];return e=B2.bind(null,e[1]),Rn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ve,o=Rn();if(Fe){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),ct===null)throw Error(F(349));mo&30||A1(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,pg(O1.bind(null,r,i,e),[e]),r.flags|=2048,Gs(9,M1.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Rn(),t=ct.identifierPrefix;if(Fe){var n=Xn,r=Yn;n=(r&~(1<<32-Cn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Hs++,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[In]=t,e[_s]=r,nx(e,t,!1,!1),t.stateNode=e;e:{switch(s=Yd(n,r),n){case"dialog":Ie("cancel",e),Ie("close",e),o=r;break;case"iframe":case"object":case"embed":Ie("load",e),o=r;break;case"video":case"audio":for(o=0;ogi&&(t.flags|=128,r=!0,Yi(i,!1),t.lanes=4194304)}else{if(!r)if(e=_l(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Yi(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!Fe)return bt(t),null}else 2*Ze()-i.renderingStartTime>gi&&n!==1073741824&&(t.flags|=128,r=!0,Yi(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=Ze(),t.sibling=null,n=ze.current,Re(ze,r?n&1|2:n&1),t):(bt(t),null);case 22:case 23:return eh(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?zt&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 G2(e,t){switch(jp(t),t.tag){case 1:return Dt(t.type)&&jl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return hi(),Be(Bt),Be(Tt),Wp(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Vp(t),null;case 13:if(Be(ze),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(F(340));fi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Be(ze),null;case 4:return hi(),null;case 10:return Fp(t.type._context),null;case 22:case 23:return eh(),null;case 24:return null;default:return null}}var Wa=!1,kt=!1,K2=typeof WeakSet=="function"?WeakSet:Set,G=null;function Ko(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Xe(e,t,r)}else n.current=null}function Sf(e,t,n){try{n()}catch(r){Xe(e,t,r)}}var kg=!1;function Y2(e,t){if(of=Al,e=u1(),Op(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(sf={focusedElem:e,selectionRange:n},Al=!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 x=h.memoizedProps,k=h.memoizedState,g=t.stateNode,v=g.getSnapshotBeforeUpdate(t.elementType===t.type?x:yn(t.type,x),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(C){Xe(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,G=e;break}G=t.return}return h=kg,kg=!1,h}function Cs(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&&Sf(t,n,i)}o=o.next}while(o!==r)}}function Tu(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 wf(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 ix(e){var t=e.alternate;t!==null&&(e.alternate=null,ix(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[In],delete t[_s],delete t[uf],delete t[A2],delete t[M2])),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 sx(e){return e.tag===5||e.tag===3||e.tag===4}function $g(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||sx(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 kf(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=Il));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}function $f(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($f(e,t,n),e=e.sibling;e!==null;)$f(e,t,n),e=e.sibling}var ht=null,xn=!1;function hr(e,t,n){for(n=n.child;n!==null;)ax(e,t,n),n=n.sibling}function ax(e,t,n){if(Bn&&typeof Bn.onCommitFiberUnmount=="function")try{Bn.onCommitFiberUnmount(bu,n)}catch{}switch(n.tag){case 5:kt||Ko(n,t);case 6:var r=ht,o=xn;ht=null,hr(e,t,n),ht=r,xn=o,ht!==null&&(xn?(e=ht,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ht.removeChild(n.stateNode));break;case 18:ht!==null&&(xn?(e=ht,n=n.stateNode,e.nodeType===8?Zc(e.parentNode,n):e.nodeType===1&&Zc(e,n),Ds(e)):Zc(ht,n.stateNode));break;case 4:r=ht,o=xn,ht=n.stateNode.containerInfo,xn=!0,hr(e,t,n),ht=r,xn=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)&&Sf(n,t,s),o=o.next}while(o!==r)}hr(e,t,n);break;case 1:if(!kt&&(Ko(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Xe(n,t,a)}hr(e,t,n);break;case 21:hr(e,t,n);break;case 22:n.mode&1?(kt=(r=kt)||n.memoizedState!==null,hr(e,t,n),kt=r):hr(e,t,n);break;default:hr(e,t,n)}}function Pg(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new K2),t.forEach(function(r){var o=rk.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function vn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=s),r&=~i}if(r=o,r=Ze()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*q2(r/1960))-r,10e?16:e,Sr===null)var r=!1;else{if(e=Sr,Sr=null,Gl=0,pe&6)throw Error(F(331));var o=pe;for(pe|=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;lZe()-Zp?uo(e,0):Qp|=n),Lt(e,t)}function mx(e,t){t===0&&(e.mode&1?(t=ja,ja<<=1,!(ja&130023424)&&(ja=4194304)):t=1);var n=At();e=ir(e,t),e!==null&&(ua(e,t,n),Lt(e,n))}function nk(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),mx(e,n)}function rk(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),mx(e,n)}var gx;gx=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Bt.current)jt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return jt=!1,H2(e,t,n);jt=!!(e.flags&131072)}else jt=!1,Fe&&t.flags&1048576&&b1(t,Ll,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;dl(e,t),e=t.pendingProps;var o=di(t,Tt.current);ii(t,n),o=Up(null,t,r,e,o,n);var i=Gp();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,Bl(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Np(t),o.updater=Eu,t.stateNode=o,o._reactInternals=t,mf(t,r,e,n),t=yf(null,t,r,!0,i,n)):(t.tag=0,Fe&&i&&Ip(t),Rt(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(dl(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=ik(r),e=yn(r,e),o){case 0:t=vf(null,t,r,e,n);break e;case 1:t=Cg(null,t,r,e,n);break e;case 11:t=xg(null,t,r,e,n);break e;case 14:t=bg(null,t,r,yn(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:yn(r,o),vf(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:yn(r,o),Cg(e,t,r,o,n);case 3:e:{if(J1(t),e===null)throw Error(F(387));r=t.pendingProps,i=t.memoizedState,o=i.element,P1(e,t),Nl(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=mi(Error(F(423)),t),t=Sg(e,t,r,n,o);break e}else if(r!==o){o=mi(Error(F(424)),t),t=Sg(e,t,r,n,o);break e}else for(Vt=Er(t.stateNode.containerInfo.firstChild),Ht=t,Fe=!0,bn=null,n=k1(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(fi(),r===o){t=sr(e,t,n);break e}Rt(e,t,r,n)}t=t.child}return t;case 5:return E1(t),e===null&&ff(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,af(r,o)?s=null:i!==null&&af(r,i)&&(t.flags|=32),Z1(e,t),Rt(e,t,s,n),t.child;case 6:return e===null&&ff(t),null;case 13:return ex(e,t,n);case 4:return _p(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=pi(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:yn(r,o),xg(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,Re(Fl,r._currentValue),r._currentValue=s,i!==null)if(wn(i.value,s)){if(i.children===o.children&&!Bt.current){t=sr(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=Qn(-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),pf(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),pf(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,ii(t,n),o=dn(o),r=r(o),t.flags|=1,Rt(e,t,r,n),t.child;case 14:return r=t.type,o=yn(r,t.pendingProps),o=yn(r.type,o),bg(e,t,r,o,n);case 15:return q1(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:yn(r,o),dl(e,t),t.tag=1,Dt(r)?(e=!0,Bl(t)):e=!1,ii(t,n),K1(t,r,o),mf(t,r,o,n),yf(null,t,r,!0,e,n);case 19:return tx(e,t,n);case 22:return Q1(e,t,n)}throw Error(F(156,t.tag))};function vx(e,t){return Hy(e,t)}function ok(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 ok(e,t,n,r)}function nh(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ik(e){if(typeof e=="function")return nh(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Cp)return 11;if(e===Sp)return 14}return 2}function Mr(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 hl(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")nh(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Fo:return co(n.children,o,i,t);case bp:s=8,o|=8;break;case Fd:return e=ln(12,n,t,o|2),e.elementType=Fd,e.lanes=i,e;case zd:return e=ln(13,n,t,o),e.elementType=zd,e.lanes=i,e;case Nd:return e=ln(19,n,t,o),e.elementType=Nd,e.lanes=i,e;case Ey:return Au(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case $y:s=10;break e;case Py:s=9;break e;case Cp:s=11;break e;case Sp:s=14;break e;case gr: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 co(e,t,n,r){return e=ln(7,e,r,t),e.lanes=n,e}function Au(e,t,n,r){return e=ln(22,e,r,t),e.elementType=Ey,e.lanes=n,e.stateNode={isHidden:!1},e}function sd(e,t,n){return e=ln(6,e,null,t),e.lanes=n,e}function ad(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 sk(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=_c(0),this.expirationTimes=_c(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_c(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function rh(e,t,n,r,o,i,s,a,l){return e=new sk(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 ak(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Cx)}catch(e){console.error(e)}}Cx(),Cy.exports=Xt;var ah=Cy.exports;const Ga=uy(ah);var Sx,jg=ah;Sx=jg.createRoot,jg.hydrateRoot;/** + * @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 Ys(){return Ys=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function wx(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function pk(){return Math.random().toString(36).substr(2,8)}function Dg(e,t){return{usr:e.state,key:e.key,idx:t}}function Af(e,t,n,r){return n===void 0&&(n=null),Ys({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ti(t):t,{state:n,key:t&&t.key||r||pk()})}function Xl(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 hk(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a=wr.Pop,l=null,u=c();u==null&&(u=0,s.replaceState(Ys({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function d(){a=wr.Pop;let k=c(),g=k==null?null:k-u;u=k,l&&l({action:a,location:x.location,delta:g})}function f(k,g){a=wr.Push;let v=Af(x.location,k,g);u=c()+1;let p=Dg(v,u),C=x.createHref(v);try{s.pushState(p,"",C)}catch(w){if(w instanceof DOMException&&w.name==="DataCloneError")throw w;o.location.assign(C)}i&&l&&l({action:a,location:x.location,delta:1})}function m(k,g){a=wr.Replace;let v=Af(x.location,k,g);u=c();let p=Dg(v,u),C=x.createHref(v);s.replaceState(p,"",C),i&&l&&l({action:a,location:x.location,delta:0})}function h(k){let g=o.location.origin!=="null"?o.location.origin:o.location.href,v=typeof k=="string"?k:Xl(k);return v=v.replace(/ $/,"%20"),ot(g,"No window.location.(origin|href) available to create URL for href: "+v),new URL(v,g)}let x={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(Bg,d),l=k,()=>{o.removeEventListener(Bg,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 x}var Lg;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Lg||(Lg={}));function mk(e,t,n){return n===void 0&&(n="/"),gk(e,t,n,!1)}function gk(e,t,n,r){let o=typeof t=="string"?Ti(t):t,i=lh(o.pathname||"/",n);if(i==null)return null;let s=kx(e);vk(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("/")&&(ot(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=Or([r,l.relativePath]),c=n.concat(l);i.children&&i.children.length>0&&(ot(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),kx(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:kk(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 $x(i.path))o(i,s,l)}),t}function $x(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=$x(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 vk(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:$k(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const yk=/^:[\w-]+$/,xk=3,bk=2,Ck=1,Sk=10,wk=-2,Fg=e=>e==="*";function kk(e,t){let n=e.split("/"),r=n.length;return n.some(Fg)&&(r+=wk),t&&(r+=bk),n.filter(o=>!Fg(o)).reduce((o,i)=>o+(yk.test(i)?xk:i===""?Ck:Sk),r)}function $k(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 Pk(e,t,n){let{routesMeta:r}=e,o={},i="/",s=[];for(let a=0;a{let{paramName:f,isOptional:m}=c;if(f==="*"){let x=a[d]||"";s=i.slice(0,i.length-x.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 Ek(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),wx(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 Tk(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return wx(!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 lh(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 Rk(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:Ak(n,t):t,search:Ik(r),hash:jk(o)}}function Ak(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 ld(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 Mk(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Px(e,t){let n=Mk(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Ex(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Ti(e):(o=Ys({},e),ot(!o.pathname||!o.pathname.includes("?"),ld("?","pathname","search",o)),ot(!o.pathname||!o.pathname.includes("#"),ld("#","pathname","hash",o)),ot(!o.search||!o.search.includes("#"),ld("#","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=Rk(o,a),u=s&&s!=="/"&&s.endsWith("/"),c=(i||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const Or=e=>e.join("/").replace(/\/\/+/g,"/"),Ok=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Ik=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,jk=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Bk(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Tx=["post","put","patch","delete"];new Set(Tx);const Dk=["get",...Tx];new Set(Dk);/** + * 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 Xs(){return Xs=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),b.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let d=Ex(u,JSON.parse(s),i,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Or([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,s,i,e])}function Nk(){let{matches:e}=b.useContext(Hr),t=e[e.length-1];return t?t.params:{}}function Mx(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=b.useContext(So),{matches:o}=b.useContext(Hr),{pathname:i}=ha(),s=JSON.stringify(Px(o,r.v7_relativeSplatPath));return b.useMemo(()=>Ex(e,JSON.parse(s),i,n==="path"),[e,s,i,n])}function _k(e,t){return Vk(e,t)}function Vk(e,t,n,r){pa()||ot(!1);let{navigator:o}=b.useContext(So),{matches:i}=b.useContext(Hr),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 k=typeof t=="string"?Ti(t):t;l==="/"||(d=k.pathname)!=null&&d.startsWith(l)||ot(!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=mk(e,{pathname:m}),x=Kk(h&&h.map(k=>Object.assign({},k,{params:Object.assign({},a,k.params),pathname:Or([l,o.encodeLocation?o.encodeLocation(k.pathname).pathname:k.pathname]),pathnameBase:k.pathnameBase==="/"?l:Or([l,o.encodeLocation?o.encodeLocation(k.pathnameBase).pathname:k.pathnameBase])})),i,n,r);return t&&x?b.createElement(Bu.Provider,{value:{location:Xs({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:wr.Pop}},x):x}function Wk(){let e=Qk(),t=Bk(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 b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:o},n):null,null)}const Hk=b.createElement(Wk,null);class Uk extends b.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?b.createElement(Hr.Provider,{value:this.props.routeContext},b.createElement(Rx.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Gk(e){let{routeContext:t,match:n,children:r}=e,o=b.useContext(uh);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(Hr.Provider,{value:t},r)}function Kk(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||ot(!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,x=null,k=null;n&&(m=a&&d.route.id?a[d.route.id]:void 0,x=d.route.errorElement||Hk,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=x:h?p=k:d.route.Component?p=b.createElement(d.route.Component,null):d.route.element?p=d.route.element:p=c,b.createElement(Gk,{match:d,routeContext:{outlet:c,matches:g,isDataRoute:n!=null},children:p})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?b.createElement(Uk,{location:n.location,revalidation:n.revalidation,component:x,error:m,children:v(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):v()},null)}var Ox=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Ox||{}),ql=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}(ql||{});function Yk(e){let t=b.useContext(uh);return t||ot(!1),t}function Xk(e){let t=b.useContext(Lk);return t||ot(!1),t}function qk(e){let t=b.useContext(Hr);return t||ot(!1),t}function Ix(e){let t=qk(),n=t.matches[t.matches.length-1];return n.route.id||ot(!1),n.route.id}function Qk(){var e;let t=b.useContext(Rx),n=Xk(ql.UseRouteError),r=Ix(ql.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Zk(){let{router:e}=Yk(Ox.UseNavigateStable),t=Ix(ql.UseNavigateStable),n=b.useRef(!1);return Ax(()=>{n.current=!0}),b.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Xs({fromRouteId:t},i)))},[e,t])}function Jr(e){ot(!1)}function Jk(e){let{basename:t="/",children:n=null,location:r,navigationType:o=wr.Pop,navigator:i,static:s=!1,future:a}=e;pa()&&ot(!1);let l=t.replace(/^\/*/,"/"),u=b.useMemo(()=>({basename:l,navigator:i,static:s,future:Xs({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:h="default"}=r,x=b.useMemo(()=>{let k=lh(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 x==null?null:b.createElement(So.Provider,{value:u},b.createElement(Bu.Provider,{children:n,value:x}))}function e$(e){let{children:t,location:n}=e;return _k(Mf(t),n)}new Promise(()=>{});function Mf(e,t){t===void 0&&(t=[]);let n=[];return b.Children.forEach(e,(r,o)=>{if(!b.isValidElement(r))return;let i=[...t,o];if(r.type===b.Fragment){n.push.apply(n,Mf(r.props.children,i));return}r.type!==Jr&&ot(!1),!r.props.index||!r.props.children||ot(!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=Mf(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 Of(){return Of=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function n$(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function r$(e,t){return e.button===0&&(!t||t==="_self")&&!n$(e)}const o$=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],i$="6";try{window.__reactRouterVersion=i$}catch{}const s$="startTransition",Ng=kl[s$];function a$(e){let{basename:t,children:n,future:r,window:o}=e,i=b.useRef();i.current==null&&(i.current=fk({window:o,v5Compat:!0}));let s=i.current,[a,l]=b.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=b.useCallback(d=>{u&&Ng?Ng(()=>l(d)):l(d)},[l,u]);return b.useLayoutEffect(()=>s.listen(c),[s,c]),b.createElement(Jk,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const l$=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",u$=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,An=b.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=t$(t,o$),{basename:m}=b.useContext(So),h,x=!1;if(typeof u=="string"&&u$.test(u)&&(h=u,l$))try{let p=new URL(window.location.href),C=u.startsWith("//")?new URL(p.protocol+u):new URL(u),w=lh(C.pathname,m);C.origin===p.origin&&w!=null?u=w+C.search+C.hash:x=!0}catch{}let k=Fk(u,{relative:o}),g=c$(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 b.createElement("a",Of({},f,{href:h||k,onClick:x||i?r:v,ref:n,target:l}))});var _g;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(_g||(_g={}));var Vg;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Vg||(Vg={}));function c$(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,l=ch(),u=ha(),c=Mx(e,{relative:s});return b.useCallback(d=>{if(r$(d,n)){d.preventDefault();let f=r!==void 0?r:Xl(u)===Xl(c);l(e,{replace:f,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:a})}},[u,l,c,r,o,n,e,i,s,a])}function jx(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]=Bx(e[n])}),t}function Pt(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return jn(e)&&jn(t)&&Object.keys(t).forEach(o=>{jn(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&jn(e[o])?r[o]=Pt(e[o],t[o],n):n.clone?r[o]=jn(t[o])?Bx(t[o]):t[o]:r[o]=t[o]}),r}function ks(e,t){return t?Pt(e,t,{clone:!1}):e}function d$(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 f$(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function p$(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 h$(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 Du={xs:0,sm:600,md:900,lg:1200,xl:1536},Wg={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Du[e]}px)`},m$={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Du[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function lr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||Wg;return t.reduce((s,a,l)=>(s[i.up(i.keys[l])]=n(t[l]),s),{})}if(typeof t=="object"){const i=r.breakpoints||Wg;return Object.keys(t).reduce((s,a)=>{if(f$(i.keys,a)){const l=p$(r.containerQueries?r:m$,a);l&&(s[l]=n(t[a],a))}else if(Object.keys(i.values||Du).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 g$(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function v$(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Lu(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 Ql(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Lu(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=Lu(l,r)||{};return lr(s,a,d=>{let f=Ql(u,o,d);return d===f&&typeof d=="string"&&(f=Ql(u,o,`${t}${d==="default"?"":V(d)}`,d)),n===!1?f:{[n]:f}})};return i.propTypes={},i.filterProps=[t],i}function y$(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const x$={m:"margin",p:"padding"},b$={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Hg={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},C$=y$(e=>{if(e.length>2)if(Hg[e])e=Hg[e];else return[e];const[t,n]=e.split(""),r=x$[t],o=b$[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),dh=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],fh=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...dh,...fh];function ma(e,t,n,r){const o=Lu(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 ph(e){return ma(e,"spacing",8)}function ga(e,t){return typeof t=="string"||t==null?t:e(t)}function S$(e,t){return n=>e.reduce((r,o)=>(r[o]=ga(t,n),r),{})}function w$(e,t,n,r){if(!t.includes(n))return null;const o=C$(n),i=S$(o,r),s=e[n];return lr(e,s,i)}function Dx(e,t){const n=ph(e.theme);return Object.keys(e).map(r=>w$(e,t,r,n)).reduce(ks,{})}function Ue(e){return Dx(e,dh)}Ue.propTypes={};Ue.filterProps=dh;function Ge(e){return Dx(e,fh)}Ge.propTypes={};Ge.filterProps=fh;function Fu(...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]?ks(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 pn(e,t){return et({prop:e,themeKey:"borders",transform:t})}const k$=pn("border",rn),$$=pn("borderTop",rn),P$=pn("borderRight",rn),E$=pn("borderBottom",rn),T$=pn("borderLeft",rn),R$=pn("borderColor"),A$=pn("borderTopColor"),M$=pn("borderRightColor"),O$=pn("borderBottomColor"),I$=pn("borderLeftColor"),j$=pn("outline",rn),B$=pn("outlineColor"),zu=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=ma(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:ga(t,r)});return lr(e,e.borderRadius,n)}return null};zu.propTypes={};zu.filterProps=["borderRadius"];Fu(k$,$$,P$,E$,T$,R$,A$,M$,O$,I$,zu,j$,B$);const Nu=e=>{if(e.gap!==void 0&&e.gap!==null){const t=ma(e.theme,"spacing",8),n=r=>({gap:ga(t,r)});return lr(e,e.gap,n)}return null};Nu.propTypes={};Nu.filterProps=["gap"];const _u=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=ma(e.theme,"spacing",8),n=r=>({columnGap:ga(t,r)});return lr(e,e.columnGap,n)}return null};_u.propTypes={};_u.filterProps=["columnGap"];const Vu=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=ma(e.theme,"spacing",8),n=r=>({rowGap:ga(t,r)});return lr(e,e.rowGap,n)}return null};Vu.propTypes={};Vu.filterProps=["rowGap"];const D$=et({prop:"gridColumn"}),L$=et({prop:"gridRow"}),F$=et({prop:"gridAutoFlow"}),z$=et({prop:"gridAutoColumns"}),N$=et({prop:"gridAutoRows"}),_$=et({prop:"gridTemplateColumns"}),V$=et({prop:"gridTemplateRows"}),W$=et({prop:"gridTemplateAreas"}),H$=et({prop:"gridArea"});Fu(Nu,_u,Vu,D$,L$,F$,z$,N$,_$,V$,W$,H$);function ai(e,t){return t==="grey"?t:e}const U$=et({prop:"color",themeKey:"palette",transform:ai}),G$=et({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ai}),K$=et({prop:"backgroundColor",themeKey:"palette",transform:ai});Fu(U$,G$,K$);function Nt(e){return e<=1&&e!==0?`${e*100}%`:e}const Y$=et({prop:"width",transform:Nt}),hh=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])||Du[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 lr(e,e.maxWidth,t)}return null};hh.filterProps=["maxWidth"];const X$=et({prop:"minWidth",transform:Nt}),q$=et({prop:"height",transform:Nt}),Q$=et({prop:"maxHeight",transform:Nt}),Z$=et({prop:"minHeight",transform:Nt});et({prop:"size",cssProperty:"width",transform:Nt});et({prop:"size",cssProperty:"height",transform:Nt});const J$=et({prop:"boxSizing"});Fu(Y$,hh,X$,q$,Q$,Z$,J$);const va={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:zu},color:{themeKey:"palette",transform:ai},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ai},backgroundColor:{themeKey:"palette",transform:ai},p:{style:Ge},pt:{style:Ge},pr:{style:Ge},pb:{style:Ge},pl:{style:Ge},px:{style:Ge},py:{style:Ge},padding:{style:Ge},paddingTop:{style:Ge},paddingRight:{style:Ge},paddingBottom:{style:Ge},paddingLeft:{style:Ge},paddingX:{style:Ge},paddingY:{style:Ge},paddingInline:{style:Ge},paddingInlineStart:{style:Ge},paddingInlineEnd:{style:Ge},paddingBlock:{style:Ge},paddingBlockStart:{style:Ge},paddingBlockEnd:{style:Ge},m:{style:Ue},mt:{style:Ue},mr:{style:Ue},mb:{style:Ue},ml:{style:Ue},mx:{style:Ue},my:{style:Ue},margin:{style:Ue},marginTop:{style:Ue},marginRight:{style:Ue},marginBottom:{style:Ue},marginLeft:{style:Ue},marginX:{style:Ue},marginY:{style:Ue},marginInline:{style:Ue},marginInlineStart:{style:Ue},marginInlineEnd:{style:Ue},marginBlock:{style:Ue},marginBlockStart:{style:Ue},marginBlockEnd:{style:Ue},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:Nu},rowGap:{style:Vu},columnGap:{style:_u},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:hh},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 e5(...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 t5(e,t){return typeof e=="function"?e(t):e}function n5(){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=Lu(o,u)||{};return d?d(s):lr(s,r,h=>{let x=Ql(f,c,h);return h===x&&typeof h=="string"&&(x=Ql(f,c,`${n}${h==="default"?"":V(h)}`,h)),l===!1?x:{[l]:x}})}function t(n){const{sx:r,theme:o={}}=n||{};if(!r)return null;const i=o.unstable_sxConfig??va;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=g$(o.breakpoints),c=Object.keys(u);let d=u;return Object.keys(l).forEach(f=>{const m=t5(l[f],o);if(m!=null)if(typeof m=="object")if(i[f])d=ks(d,e(f,m,o,i));else{const h=lr({theme:o},m,x=>({[f]:x}));e5(h,m)?d[f]=t({sx:m,theme:o}):d=ks(d,h)}else d=ks(d,e(f,m,o,i))}),d$(o,v$(c,d))}return Array.isArray(r)?r.map(s):s(r)}return t}const Ri=n5();Ri.filterProps=["sx"];const r5=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??va;return Object.keys(e).forEach(o=>{n[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]}),t};function Lx(e){const{sx:t,...n}=e,{systemProps:r,otherProps:o}=r5(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...s)=>{const a=t(...s);return jn(a)?{...r,...a}:r}:i={...r,...t},{...o,sx:i}}function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?gt(Ai,--Ft):0,vi--,nt===10&&(vi=1,Hu--),nt}function Ut(){return nt=Ft2||Qs(nt)>3?"":" "}function b5(e,t){for(;--t&&Ut()&&!(nt<48||nt>102||nt>57&&nt<65||nt>70&&nt<97););return ya(e,ml()+(t<6&&Ln()==32&&Ut()==32))}function jf(e){for(;Ut();)switch(nt){case e:return Ft;case 34:case 39:e!==34&&e!==39&&jf(nt);break;case 40:e===41&&jf(e);break;case 92:Ut();break}return Ft}function C5(e,t){for(;Ut()&&e+nt!==57;)if(e+nt===84&&Ln()===47)break;return"/*"+ya(t,Ft-1)+"*"+Wu(e===47?e:Ut())}function S5(e){for(;!Qs(Ln());)Ut();return ya(e,Ft)}function w5(e){return Hx(vl("",null,null,null,[""],e=Wx(e),0,[0],e))}function vl(e,t,n,r,o,i,s,a,l){for(var u=0,c=0,d=s,f=0,m=0,h=0,x=1,k=1,g=1,v=0,p="",C=o,w=i,P=r,$=p;k;)switch(h=v,v=Ut()){case 40:if(h!=108&>($,d-1)==58){If($+=ye(gl(v),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:$+=gl(v);break;case 9:case 10:case 13:case 32:$+=x5(h);break;case 92:$+=b5(ml()-1,7);continue;case 47:switch(Ln()){case 42:case 47:Ka(k5(C5(Ut(),ml()),t,n),l);break;default:$+="/"}break;case 123*x:a[u++]=Mn($)*g;case 125*x:case 59:case 0:switch(v){case 0:case 125:k=0;case 59+c:g==-1&&($=ye($,/\f/g,"")),m>0&&Mn($)-d&&Ka(m>32?Gg($+";",r,n,d-1):Gg(ye($," ","")+";",r,n,d-2),l);break;case 59:$+=";";default:if(Ka(P=Ug($,t,n,u,c,o,a,p,C=[],w=[],d),i),v===123)if(c===0)vl($,t,P,P,C,i,d,a,w);else switch(f===99&>($,3)===110?100:f){case 100:case 108:case 109:case 115:vl(e,P,P,r&&Ka(Ug(e,P,P,0,0,o,a,p,o,C=[],d),w),o,w,d,a,r?C:w);break;default:vl($,P,P,P,[""],w,0,a,w)}}u=c=m=0,x=g=1,p=$="",d=s;break;case 58:d=1+Mn($),m=h;default:if(x<1){if(v==123)--x;else if(v==125&&x++==0&&y5()==125)continue}switch($+=Wu(v),v*x){case 38:g=c>0?1:($+="\f",-1);break;case 44:a[u++]=(Mn($)-1)*g,g=1;break;case 64:Ln()===45&&($+=gl(Ut())),f=Ln(),c=d=Mn(p=$+=S5(ml())),v++;break;case 45:h===45&&Mn($)==2&&(x=0)}}return i}function Ug(e,t,n,r,o,i,s,a,l,u,c){for(var d=o-1,f=o===0?i:[""],m=vh(f),h=0,x=0,k=0;h0?f[g]+" "+v:ye(v,/&\f/g,f[g])))&&(l[k++]=p);return Uu(e,t,n,o===0?mh:a,l,u,c)}function k5(e,t,n){return Uu(e,t,n,zx,Wu(v5()),qs(e,2,-2),0)}function Gg(e,t,n,r){return Uu(e,t,n,gh,qs(e,0,r),qs(e,r+1,-1),r)}function li(e,t){for(var n="",r=vh(e),o=0;o6)switch(gt(e,t+1)){case 109:if(gt(e,t+4)!==45)break;case 102:return ye(e,/(.+:)(.+)-([^]+)/,"$1"+ve+"$2-$3$1"+Zl+(gt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~If(e,"stretch")?Ux(ye(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(gt(e,t+1)!==115)break;case 6444:switch(gt(e,Mn(e)-3-(~If(e,"!important")&&10))){case 107:return ye(e,":",":"+ve)+e;case 101:return ye(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ve+(gt(e,14)===45?"inline-":"")+"box$3$1"+ve+"$2$3$1"+St+"$2box$3")+e}break;case 5936:switch(gt(e,t+11)){case 114:return ve+e+St+ye(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ve+e+St+ye(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ve+e+St+ye(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ve+e+St+e+e}return e}var I5=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case gh:t.return=Ux(t.value,t.length);break;case Nx:return li([qi(t,{value:ye(t.value,"@","@"+ve)})],o);case mh:if(t.length)return g5(t.props,function(i){switch(m5(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return li([qi(t,{props:[ye(i,/:(read-\w+)/,":"+Zl+"$1")]})],o);case"::placeholder":return li([qi(t,{props:[ye(i,/:(plac\w+)/,":"+ve+"input-$1")]}),qi(t,{props:[ye(i,/:(plac\w+)/,":"+Zl+"$1")]}),qi(t,{props:[ye(i,/:(plac\w+)/,St+"input-$1")]})],o)}return""})}},j5=[I5],B5=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(x){var k=x.getAttribute("data-emotion");k.indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))})}var o=t.stylisPlugins||j5,i={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(x){for(var k=x.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 K5={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},Y5=!1,X5=/[A-Z]|^ms/g,q5=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Zx=function(t){return t.charCodeAt(1)===45},Yg=function(t){return t!=null&&typeof t!="boolean"},ud=Fx(function(e){return Zx(e)?e:e.replace(X5,"-$&").toLowerCase()}),Xg=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(q5,function(r,o,i){return On={name:o,styles:i,next:On},o})}return K5[t]!==1&&!Zx(t)&&typeof n=="number"&&n!==0?n+"px":n},Q5="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Zs(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 On={name:o.name,styles:o.styles,next:On},o.name;var i=n;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)On={name:s.name,styles:s.styles,next:On},s=s.next;var a=i.styles+";";return a}return Z5(e,t,n)}case"function":{if(e!==void 0){var l=On,u=n(e);return On=l,Zs(e,t,u)}break}}var c=n;if(t==null)return c;var d=t[c];return d!==void 0?d:c}function Z5(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?rP:oP},Jg=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},iP=!1,sP=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return qx(n,r,o),eP(function(){return Qx(n,r,o)}),null},aP=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=Jg(t,n,r),l=a||Zg(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(uP(o)?n:o):t;return y.jsx(tP,{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 nb(e,t){return Jl(e,t)}const dP=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},fP=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 pP(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,i=fP(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 mP(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 rc(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={},...s}=e,a=pP(n),l=rb(o);let u=Pt({breakpoints:a,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:l,shape:{...hP,...i}},s);return u=h$(u),u.applyStyles=mP,u=t.reduce((c,d)=>Pt(c,d),u),u.unstable_sxConfig={...va,...s==null?void 0:s.unstable_sxConfig},u.unstable_sx=function(d){return Ri({sx:d,theme:this})},u}function gP(e){return Object.keys(e).length===0}function vP(e=null){const t=b.useContext(nc);return!t||gP(t)?e:t}const yP=rc();function oc(e=yP){return vP(e)}function xP({styles:e,themeId:t,defaultTheme:n={}}){const r=oc(n),o=typeof e=="function"?e(t&&r[t]||r):e;return y.jsx(cP,{styles:o})}const e0=e=>e,bP=()=>{let e=e0;return{configure(t){e=t},generate(t){return e(t)},reset(){e=e0}}},ob=bP();function CP(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=nb("div",{shouldForwardProp:a=>a!=="theme"&&a!=="sx"&&a!=="as"})(Ri);return b.forwardRef(function(l,u){const c=oc(n),{className:d,component:f="div",...m}=Lx(l);return y.jsx(i,{as:f,ref:u,className:Y(d,o?o(r):r),theme:t&&c[t]||c,...m})})}const SP={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 fe(e,t,n="Mui"){const r=SP[t];return r?`${n}-${r}`:`${ob.generate(e)}-${t}`}function ue(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=fe(e,o,n)}),r}const wP=rc();function cd(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Bf(e,t,n){return $P(t)?n:t[e]||t}const Ya=Symbol("mui.processed_props");function Xa(e,t,n){if(Ya in e)return e[Ya];const r={...e,theme:Bf(t,e.theme,n)};return e[Ya]=r,r[Ya]=r,r}function kP(e){return e?(t,n)=>n[e]:null}function yl(e,t){var r;const n=typeof e=="function"?e(t):e;if(Array.isArray(n))return n.flatMap(o=>yl(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;lRi(Xa(a,t,n));return i.__mui_systemSx=!0,(a,l={})=>{dP(a,P=>P.filter($=>!($!=null&&$.__mui_systemSx)));const{name:u,slot:c,skipVariantsResolver:d,skipSx:f,overridesResolver:m=kP(EP(c)),...h}=l,x=d!==void 0?d:c&&c!=="Root"&&c!=="root"||!1,k=f||!1;let g,v=cd;c==="Root"||c==="root"?v=r:c?v=o:PP(a)&&(v=void 0);const p=nb(a,{shouldForwardProp:v,label:g,...h}),C=P=>typeof P=="function"&&P.__emotion_real!==P||jn(P)?$=>yl(P,Xa($,t,n)):P,w=(P,...$)=>{let E=C(P);const S=$?$.map(C):[];u&&m&&S.push(O=>{const B=Bf(t,O.theme,n);if(!B.components||!B.components[u]||!B.components[u].styleOverrides)return null;const I=B.components[u].styleOverrides,N={},D=Xa(O,t,n);for(const L in I)N[L]=yl(I[L],D);return m(O,N)}),u&&!x&&S.push(O=>{var N,D;const B=Bf(t,O.theme,n),I=(D=(N=B==null?void 0:B.components)==null?void 0:N[u])==null?void 0:D.variants;return I?yl({variants:I},Xa(O,t,n)):null}),k||S.push(i);const T=S.length-$.length;if(Array.isArray(P)&&T>0){const O=new Array(T).fill("");E=[...P,...O],E.raw=[...P.raw,...O]}const A=p(E,...S);return a.muiName&&(A.muiName=a.muiName),A};return p.withConfig&&(w.withConfig=p.withConfig),w}}function $P(e){for(const t in e)return!1;return!0}function PP(e){return typeof e=="string"&&e.charCodeAt(0)>96}function EP(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const TP=ib();function Js(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]=Js(i[l],s[l])}}}else n[o]===void 0&&(n[o]=e[o])}return n}function RP(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Js(t.components[n].defaultProps,r)}function sb({props:e,name:t,defaultTheme:n,themeId:r}){let o=oc(n);return r&&(o=o[r]||o),RP({theme:o,name:t,props:e})}const Br=typeof window<"u"?b.useLayoutEffect:b.useEffect;function ab(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function wh(e,t=0,n=1){return ab(e,t,n)}function AP(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 Dr(e){if(e.type)return e;if(e.charAt(0)==="#")return Dr(AP(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(ar(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(ar(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const MP=e=>{const t=Dr(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},us=(e,t)=>{try{return MP(e)}catch{return e}};function ic(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 lb(e){e=Dr(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])),ic({type:a,values:l})}function Df(e){e=Dr(e);let t=e.type==="hsl"||e.type==="hsla"?Dr(lb(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 OP(e,t){const n=Df(e),r=Df(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function je(e,t){return e=Dr(e),t=wh(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ic(e)}function qa(e,t,n){try{return je(e,t)}catch{return e}}function kh(e,t){if(e=Dr(e),t=wh(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 ic(e)}function Pe(e,t,n){try{return kh(e,t)}catch{return e}}function $h(e,t){if(e=Dr(e),t=wh(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 ic(e)}function Ee(e,t,n){try{return $h(e,t)}catch{return e}}function IP(e,t=.15){return Df(e)>.5?kh(e,t):$h(e,t)}function Qa(e,t,n){try{return IP(e,t)}catch{return e}}function t0(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function ub(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 dd(e,t){var n,r,o;return b.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 yo(e){return Gt(e).defaultView||window}function Lf(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let n0=0;function jP(e){const[t,n]=b.useState(e),r=e||t;return b.useEffect(()=>{t==null&&(n0+=1,n(`mui-${n0}`))},[t]),r}const r0=kl.useId;function sc(e){if(r0!==void 0){const t=r0();return e??t}return jP(e)}function Ff({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=b.useRef(e!==void 0),[i,s]=b.useState(t),a=o?e:i,l=b.useCallback(u=>{o||s(u)},[]);return[a,l]}function Xo(e){const t=b.useRef(e);return Br(()=>{t.current=e}),b.useRef((...n)=>(0,t.current)(...n)).current}function lt(...e){return b.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Lf(n,t)})},e)}const o0={};function cb(e,t){const n=b.useRef(o0);return n.current===o0&&(n.current=e(t)),n}const BP=[];function DP(e){b.useEffect(e,BP)}class Ph{constructor(){_i(this,"currentId",null);_i(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});_i(this,"disposeEffect",()=>this.clear)}static create(){return new Ph}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function db(){const e=cb(Ph.create).current;return DP(e.disposeEffect),e}function eu(e){try{return e.matches(":focus-visible")}catch{}return!1}function fb(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const LP={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function FP(e){return typeof e=="string"}function pb(e,t,n){return e===void 0||FP(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function hb(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 i0(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 mb(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},x={...n,...o,...r};return m.length>0&&(x.className=m),Object.keys(h).length>0&&(x.style=h),{props:x,internalRef:void 0}}const s=hb({...o,...r}),a=i0(r),l=i0(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 gb(e,t,n){return typeof e=="function"?e(t,n):e}function s0(e){var d;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:o=!1,...i}=e,s=o?{}:gb(n,r),{props:a,internalRef:l}=mb({...i,externalSlotProps:s}),u=lt(l,s==null?void 0:s.ref,(d=e.additionalProps)==null?void 0:d.ref);return pb(t,{...a,ref:u},r)}function xa(e){return!e||!b.isValidElement(e)?null:e.props.propertyIsEnumerable("ref")?e.props.ref:e.ref}const zP=b.createContext(),vb=()=>b.useContext(zP)??!1,NP=b.createContext(void 0);function _P(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?Js(o.defaultProps,r):!o.styleOverrides&&!o.variants?Js(o,r):r}function VP({props:e,name:t}){const n=b.useContext(NP);return _P({props:e,name:t,theme:{components:n}})}function WP(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 a0=(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])})},HP=(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)},UP=(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 fd(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},s={};return HP(e,(a,l,u)=>{if((typeof l=="string"||typeof l=="number")&&(!r||!r(a,l))){const c=`--${n?`${n}-`:""}${a.join("-")}`,d=UP(a,l);Object.assign(o,{[c]:d}),a0(i,a,`var(${c})`,u),a0(s,a,`var(${c}, ${d})`,u)}},a=>a[0]==="vars"),{css:o,vars:i,varsWithDefaults:s}}function GP(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}=fd(l,t);let f=d;const m={},{[a]:h,...x}=i;if(Object.entries(x||{}).forEach(([p,C])=>{const{vars:w,css:P,varsWithDefaults:$}=fd(C,t);f=Pt(f,$),m[p]={css:P,vars:w}}),h){const{css:p,vars:C,varsWithDefaults:w}=fd(h,t);f=Pt(f,w),m[a]={css:p,vars:C}}function k(p,C){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":C}};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:C}])=>{p=Pt(p,C)}),p},generateStyleSheets:()=>{var E,S;const p=[],C=e.defaultColorScheme||"light";function w(T,A){Object.keys(A).length&&p.push(typeof T=="string"?{[T]:{...A}}:T)}w(n(void 0,{...c}),c);const{[C]:P,...$}=m;if(P){const{css:T}=P,A=(S=(E=i[C])==null?void 0:E.palette)==null?void 0:S.mode,O=!r&&A?{colorScheme:A,...T}:{...T};w(n(C,{...O}),O)}return Object.entries($).forEach(([T,{css:A}])=>{var I,N;const O=(N=(I=i[T])==null?void 0:I.palette)==null?void 0:N.mode,B=!r&&O?{colorScheme:O,...A}:{...A};w(n(T,{...B}),B)}),p}}}function KP(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 YP=rc(),XP=TP("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]}}),qP=e=>sb({props:e,name:"MuiContainer",defaultTheme:YP}),QP=(e,t)=>{const n=l=>fe(t,l),{classes:r,fixed:o,disableGutters:i,maxWidth:s}=e,a={root:["root",s&&`maxWidth${V(String(s))}`,o&&"fixed",i&&"disableGutters"]};return he(a,n,r)};function ZP(e={}){const{createStyledComponent:t=XP,useThemeProps:n=qP,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 b.forwardRef(function(a,l){const u=n(a),{className:c,component:d="div",disableGutters:f=!1,fixed:m=!1,maxWidth:h="lg",classes:x,...k}=u,g={...u,component:d,disableGutters:f,fixed:m,maxWidth:h},v=QP(g,r);return y.jsx(o,{as:d,ownerState:g,className:Y(v.root,c),ref:l,...k})})}const ea={black:"#000",white:"#fff"},JP={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"},Eo={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"},To={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"},Qi={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"},Ro={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"},Ao={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"},Mo={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"},l0={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:ea.white,default:ea.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}},pd={text:{primary:ea.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:ea.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 u0(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=$h(e.main,o):t==="dark"&&(e.dark=kh(e.main,i)))}function eE(e="light"){return e==="dark"?{main:Ro[200],light:Ro[50],dark:Ro[400]}:{main:Ro[700],light:Ro[400],dark:Ro[800]}}function tE(e="light"){return e==="dark"?{main:Eo[200],light:Eo[50],dark:Eo[400]}:{main:Eo[500],light:Eo[300],dark:Eo[700]}}function nE(e="light"){return e==="dark"?{main:To[500],light:To[300],dark:To[700]}:{main:To[700],light:To[400],dark:To[800]}}function rE(e="light"){return e==="dark"?{main:Ao[400],light:Ao[300],dark:Ao[700]}:{main:Ao[700],light:Ao[500],dark:Ao[900]}}function oE(e="light"){return e==="dark"?{main:Mo[400],light:Mo[300],dark:Mo[700]}:{main:Mo[800],light:Mo[500],dark:Mo[900]}}function iE(e="light"){return e==="dark"?{main:Qi[400],light:Qi[300],dark:Qi[700]}:{main:"#ed6c02",light:Qi[500],dark:Qi[900]}}function Eh(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...o}=e,i=e.primary||eE(t),s=e.secondary||tE(t),a=e.error||nE(t),l=e.info||rE(t),u=e.success||oE(t),c=e.warning||iE(t);function d(x){return OP(x,pd.text.primary)>=n?pd.text.primary:l0.text.primary}const f=({color:x,name:k,mainShade:g=500,lightShade:v=300,darkShade:p=700})=>{if(x={...x},!x.main&&x[g]&&(x.main=x[g]),!x.hasOwnProperty("main"))throw new Error(ar(11,k?` (${k})`:"",g));if(typeof x.main!="string")throw new Error(ar(12,k?` (${k})`:"",JSON.stringify(x.main)));return u0(x,"light",v,r),u0(x,"dark",p,r),x.contrastText||(x.contrastText=d(x.main)),x},m={dark:pd,light:l0};return Pt({common:{...ea},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:JP,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r,...m[t]},o)}function sE(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 aE(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function lE(e){return Math.round(e*1e5)/1e5}const c0={textTransform:"uppercase"},d0='"Roboto", "Helvetica", "Arial", sans-serif';function uE(e,t){const{fontFamily:n=d0,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,C)=>({fontFamily:n,fontWeight:k,fontSize:m(g),lineHeight:v,...n===d0?{letterSpacing:`${lE(p/g)}em`}:{},...C,...u}),x={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,c0),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,c0),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,...x},d,{clone:!1})}const cE=.2,dE=.14,fE=.12;function Le(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${cE})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${dE})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${fE})`].join(",")}const pE=["none",Le(0,2,1,-1,0,1,1,0,0,1,3,0),Le(0,3,1,-2,0,2,2,0,0,1,5,0),Le(0,3,3,-2,0,3,4,0,0,1,8,0),Le(0,2,4,-1,0,4,5,0,0,1,10,0),Le(0,3,5,-1,0,5,8,0,0,1,14,0),Le(0,3,5,-1,0,6,10,0,0,1,18,0),Le(0,4,5,-2,0,7,10,1,0,2,16,1),Le(0,5,5,-3,0,8,10,1,0,3,14,2),Le(0,5,6,-3,0,9,12,1,0,3,16,2),Le(0,6,6,-3,0,10,14,1,0,4,18,3),Le(0,6,7,-4,0,11,15,1,0,4,20,3),Le(0,7,8,-4,0,12,17,2,0,5,22,4),Le(0,7,8,-4,0,13,19,2,0,5,24,4),Le(0,7,9,-4,0,14,21,2,0,5,26,4),Le(0,8,9,-5,0,15,22,2,0,6,28,5),Le(0,8,10,-5,0,16,24,2,0,6,30,5),Le(0,8,11,-5,0,17,26,2,0,6,32,5),Le(0,9,11,-5,0,18,28,2,0,7,34,6),Le(0,9,12,-6,0,19,29,2,0,7,36,6),Le(0,10,13,-6,0,20,31,3,0,8,38,7),Le(0,10,13,-6,0,21,33,3,0,8,40,7),Le(0,10,14,-6,0,22,35,3,0,8,42,7),Le(0,11,14,-7,0,23,36,3,0,9,44,8),Le(0,11,15,-7,0,24,38,3,0,9,46,8)],hE={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)"},mE={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function f0(e){return`${Math.round(e)}ms`}function gE(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function vE(e){const t={...hE,...e.easing},n={...mE,...e.duration};return{getAutoHeightDuration:gE,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:f0(s)} ${a} ${typeof l=="string"?l:f0(l)}`).join(",")},...e,easing:t,duration:n}}const yE={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function zf(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(ar(20));const c=Eh(i),d=rc(e);let f=Pt(d,{mixins:aE(d.breakpoints,r),palette:c,shadows:pE.slice(),typography:uE(c,a),transitions:vE(s),zIndex:{...yE}});return f=Pt(f,u),f=t.reduce((m,h)=>Pt(m,h),f),f.unstable_sxConfig={...va,...u==null?void 0:u.unstable_sxConfig},f.unstable_sx=function(h){return Ri({sx:h,theme:this})},f}function Nf(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 xE=[...Array(25)].map((e,t)=>{if(t===0)return;const n=Nf(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function yb(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function xb(e){return e==="dark"?xE:[]}function bE(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...o}=e,i=Eh(t);return{palette:i,opacity:{...yb(i.mode),...n},overlays:r||xb(i.mode),...o}}function CE(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 SE=e=>[...[...Array(24)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n+1}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],wE=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 SE(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 kE(e){return jn(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function $E(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 cs(e){return!e||!e.startsWith("hsl")?e:lb(e)}function Un(e,t){`${t}Channel`in e||(e[`${t}Channel`]=us(cs(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 EE(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const En=e=>{try{return e()}catch{}},TE=(e="mui")=>WP(e);function hd(e,t,n,r){if(!t)return;t=t===!0?{}:t;const o=r==="dark"?"dark":"light";if(!n){e[r]=bE({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:i,...s}=zf({...n,palette:{mode:o,...t==null?void 0:t.palette}});return e[r]={...t,palette:i,opacity:{...yb(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||xb(o)},s}function RE(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:s=CE,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=TE(i),{[c]:f,light:m,dark:h,...x}=n,k={...x};let g=f;if((c==="dark"&&!("dark"in n)||c==="light"&&!("light"in n))&&(g=!0),!g)throw new Error(ar(21,c));const v=hd(k,g,l,c);m&&!k.light&&hd(k,m,void 0,"light"),h&&!k.dark&&hd(k,h,void 0,"dark");let p={defaultColorScheme:c,...v,cssVarPrefix:i,colorSchemeSelector:a,getCssVar:d,colorSchemes:k,font:{...sE(v.typography),...v.font},spacing:EE(l.spacing)};Object.keys(p.colorSchemes).forEach(E=>{const S=p.colorSchemes[E].palette,T=A=>{const O=A.split("-"),B=O[1],I=O[2];return d(A,S[B][I])};if(S.mode==="light"&&(M(S.common,"background","#fff"),M(S.common,"onBackground","#000")),S.mode==="dark"&&(M(S.common,"background","#000"),M(S.common,"onBackground","#fff")),PE(S,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),S.mode==="light"){M(S.Alert,"errorColor",Pe(S.error.light,.6)),M(S.Alert,"infoColor",Pe(S.info.light,.6)),M(S.Alert,"successColor",Pe(S.success.light,.6)),M(S.Alert,"warningColor",Pe(S.warning.light,.6)),M(S.Alert,"errorFilledBg",T("palette-error-main")),M(S.Alert,"infoFilledBg",T("palette-info-main")),M(S.Alert,"successFilledBg",T("palette-success-main")),M(S.Alert,"warningFilledBg",T("palette-warning-main")),M(S.Alert,"errorFilledColor",En(()=>S.getContrastText(S.error.main))),M(S.Alert,"infoFilledColor",En(()=>S.getContrastText(S.info.main))),M(S.Alert,"successFilledColor",En(()=>S.getContrastText(S.success.main))),M(S.Alert,"warningFilledColor",En(()=>S.getContrastText(S.warning.main))),M(S.Alert,"errorStandardBg",Ee(S.error.light,.9)),M(S.Alert,"infoStandardBg",Ee(S.info.light,.9)),M(S.Alert,"successStandardBg",Ee(S.success.light,.9)),M(S.Alert,"warningStandardBg",Ee(S.warning.light,.9)),M(S.Alert,"errorIconColor",T("palette-error-main")),M(S.Alert,"infoIconColor",T("palette-info-main")),M(S.Alert,"successIconColor",T("palette-success-main")),M(S.Alert,"warningIconColor",T("palette-warning-main")),M(S.AppBar,"defaultBg",T("palette-grey-100")),M(S.Avatar,"defaultBg",T("palette-grey-400")),M(S.Button,"inheritContainedBg",T("palette-grey-300")),M(S.Button,"inheritContainedHoverBg",T("palette-grey-A100")),M(S.Chip,"defaultBorder",T("palette-grey-400")),M(S.Chip,"defaultAvatarColor",T("palette-grey-700")),M(S.Chip,"defaultIconColor",T("palette-grey-700")),M(S.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),M(S.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),M(S.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),M(S.LinearProgress,"primaryBg",Ee(S.primary.main,.62)),M(S.LinearProgress,"secondaryBg",Ee(S.secondary.main,.62)),M(S.LinearProgress,"errorBg",Ee(S.error.main,.62)),M(S.LinearProgress,"infoBg",Ee(S.info.main,.62)),M(S.LinearProgress,"successBg",Ee(S.success.main,.62)),M(S.LinearProgress,"warningBg",Ee(S.warning.main,.62)),M(S.Skeleton,"bg",`rgba(${T("palette-text-primaryChannel")} / 0.11)`),M(S.Slider,"primaryTrack",Ee(S.primary.main,.62)),M(S.Slider,"secondaryTrack",Ee(S.secondary.main,.62)),M(S.Slider,"errorTrack",Ee(S.error.main,.62)),M(S.Slider,"infoTrack",Ee(S.info.main,.62)),M(S.Slider,"successTrack",Ee(S.success.main,.62)),M(S.Slider,"warningTrack",Ee(S.warning.main,.62));const A=Qa(S.background.default,.8);M(S.SnackbarContent,"bg",A),M(S.SnackbarContent,"color",En(()=>S.getContrastText(A))),M(S.SpeedDialAction,"fabHoverBg",Qa(S.background.paper,.15)),M(S.StepConnector,"border",T("palette-grey-400")),M(S.StepContent,"border",T("palette-grey-400")),M(S.Switch,"defaultColor",T("palette-common-white")),M(S.Switch,"defaultDisabledColor",T("palette-grey-100")),M(S.Switch,"primaryDisabledColor",Ee(S.primary.main,.62)),M(S.Switch,"secondaryDisabledColor",Ee(S.secondary.main,.62)),M(S.Switch,"errorDisabledColor",Ee(S.error.main,.62)),M(S.Switch,"infoDisabledColor",Ee(S.info.main,.62)),M(S.Switch,"successDisabledColor",Ee(S.success.main,.62)),M(S.Switch,"warningDisabledColor",Ee(S.warning.main,.62)),M(S.TableCell,"border",Ee(qa(S.divider,1),.88)),M(S.Tooltip,"bg",qa(S.grey[700],.92))}if(S.mode==="dark"){M(S.Alert,"errorColor",Ee(S.error.light,.6)),M(S.Alert,"infoColor",Ee(S.info.light,.6)),M(S.Alert,"successColor",Ee(S.success.light,.6)),M(S.Alert,"warningColor",Ee(S.warning.light,.6)),M(S.Alert,"errorFilledBg",T("palette-error-dark")),M(S.Alert,"infoFilledBg",T("palette-info-dark")),M(S.Alert,"successFilledBg",T("palette-success-dark")),M(S.Alert,"warningFilledBg",T("palette-warning-dark")),M(S.Alert,"errorFilledColor",En(()=>S.getContrastText(S.error.dark))),M(S.Alert,"infoFilledColor",En(()=>S.getContrastText(S.info.dark))),M(S.Alert,"successFilledColor",En(()=>S.getContrastText(S.success.dark))),M(S.Alert,"warningFilledColor",En(()=>S.getContrastText(S.warning.dark))),M(S.Alert,"errorStandardBg",Pe(S.error.light,.9)),M(S.Alert,"infoStandardBg",Pe(S.info.light,.9)),M(S.Alert,"successStandardBg",Pe(S.success.light,.9)),M(S.Alert,"warningStandardBg",Pe(S.warning.light,.9)),M(S.Alert,"errorIconColor",T("palette-error-main")),M(S.Alert,"infoIconColor",T("palette-info-main")),M(S.Alert,"successIconColor",T("palette-success-main")),M(S.Alert,"warningIconColor",T("palette-warning-main")),M(S.AppBar,"defaultBg",T("palette-grey-900")),M(S.AppBar,"darkBg",T("palette-background-paper")),M(S.AppBar,"darkColor",T("palette-text-primary")),M(S.Avatar,"defaultBg",T("palette-grey-600")),M(S.Button,"inheritContainedBg",T("palette-grey-800")),M(S.Button,"inheritContainedHoverBg",T("palette-grey-700")),M(S.Chip,"defaultBorder",T("palette-grey-700")),M(S.Chip,"defaultAvatarColor",T("palette-grey-300")),M(S.Chip,"defaultIconColor",T("palette-grey-300")),M(S.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),M(S.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),M(S.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),M(S.LinearProgress,"primaryBg",Pe(S.primary.main,.5)),M(S.LinearProgress,"secondaryBg",Pe(S.secondary.main,.5)),M(S.LinearProgress,"errorBg",Pe(S.error.main,.5)),M(S.LinearProgress,"infoBg",Pe(S.info.main,.5)),M(S.LinearProgress,"successBg",Pe(S.success.main,.5)),M(S.LinearProgress,"warningBg",Pe(S.warning.main,.5)),M(S.Skeleton,"bg",`rgba(${T("palette-text-primaryChannel")} / 0.13)`),M(S.Slider,"primaryTrack",Pe(S.primary.main,.5)),M(S.Slider,"secondaryTrack",Pe(S.secondary.main,.5)),M(S.Slider,"errorTrack",Pe(S.error.main,.5)),M(S.Slider,"infoTrack",Pe(S.info.main,.5)),M(S.Slider,"successTrack",Pe(S.success.main,.5)),M(S.Slider,"warningTrack",Pe(S.warning.main,.5));const A=Qa(S.background.default,.98);M(S.SnackbarContent,"bg",A),M(S.SnackbarContent,"color",En(()=>S.getContrastText(A))),M(S.SpeedDialAction,"fabHoverBg",Qa(S.background.paper,.15)),M(S.StepConnector,"border",T("palette-grey-600")),M(S.StepContent,"border",T("palette-grey-600")),M(S.Switch,"defaultColor",T("palette-grey-300")),M(S.Switch,"defaultDisabledColor",T("palette-grey-600")),M(S.Switch,"primaryDisabledColor",Pe(S.primary.main,.55)),M(S.Switch,"secondaryDisabledColor",Pe(S.secondary.main,.55)),M(S.Switch,"errorDisabledColor",Pe(S.error.main,.55)),M(S.Switch,"infoDisabledColor",Pe(S.info.main,.55)),M(S.Switch,"successDisabledColor",Pe(S.success.main,.55)),M(S.Switch,"warningDisabledColor",Pe(S.warning.main,.55)),M(S.TableCell,"border",Pe(qa(S.divider,1),.68)),M(S.Tooltip,"bg",qa(S.grey[700],.92))}Un(S.background,"default"),Un(S.background,"paper"),Un(S.common,"background"),Un(S.common,"onBackground"),Un(S,"divider"),Object.keys(S).forEach(A=>{const O=S[A];O&&typeof O=="object"&&(O.main&&M(S[A],"mainChannel",us(cs(O.main))),O.light&&M(S[A],"lightChannel",us(cs(O.light))),O.dark&&M(S[A],"darkChannel",us(cs(O.dark))),O.contrastText&&M(S[A],"contrastTextChannel",us(cs(O.contrastText))),A==="text"&&(Un(S[A],"primary"),Un(S[A],"secondary")),A==="action"&&(O.active&&Un(S[A],"active"),O.selected&&Un(S[A],"selected")))})}),p=t.reduce((E,S)=>Pt(E,S),p);const C={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:wE(p)},{vars:w,generateThemeVars:P,generateStyleSheets:$}=GP(p,C);return p.vars=w,Object.entries(p.colorSchemes[p.defaultColorScheme]).forEach(([E,S])=>{p[E]=S}),p.generateThemeVars=P,p.generateStyleSheets=$,p.generateSpacing=function(){return rb(l.spacing,ph(this))},p.getColorSchemeSelector=KP(a),p.spacing=p.generateSpacing(),p.shouldSkipGeneratingVar=s,p.unstable_sxConfig={...va,...l==null?void 0:l.unstable_sxConfig},p.unstable_sx=function(S){return Ri({sx:S,theme:this})},p.toRuntimeSource=$E,p}function p0(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Eh({...n===!0?{}:n.palette,mode:t})})}function bb(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 zf(e,...t);let c=n;"palette"in e||u[a]&&(u[a]!==!0?c=u[a].palette:a==="dark"&&(c={mode:"dark"}));const d=zf({...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},p0(d,"dark",u.dark)),d.palette.mode==="dark"&&(d.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:d.palette},p0(d,"light",u.light)),d}return!n&&!("light"in u)&&a==="light"&&(u.light=!0),RE({...s,colorSchemes:u,defaultColorScheme:a,...typeof r!="boolean"&&r},...t)}const ac=bb(),ba="$$material";function Th(){const e=oc(ac);return e[ba]||e}function AE(e){return y.jsx(xP,{...e,defaultTheme:ac,themeId:ba})}function Rh(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const hn=e=>Rh(e)&&e!=="classes",K=ib({themeId:ba,defaultTheme:ac,rootShouldForwardProp:hn});function ME(e){return function(n){return y.jsx(AE,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function OE(){return Lx}const h0={theme:void 0};function Se(e){let t,n;return r=>{let o=t;return(o===void 0||r.theme!==n)&&(h0.theme=r.theme,o=e(h0),t=o,n=r.theme),o}}function xe(e){return VP(e)}function IE(e){return typeof e.main=="string"}function jE(e,t=[]){if(!IE(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function Wt(e=[]){return([,t])=>t&&jE(t,e)}function BE(e){return fe("MuiPaper",e)}ue("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 DE=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return he(i,BE,o)},LE=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}`]]}})(Se(({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)"}}]}))),xo=b.forwardRef(function(t,n){var m;const r=xe({props:t,name:"MuiPaper"}),o=Th(),{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=DE(d);return y.jsx(LE,{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(${je("#fff",Nf(a))}, ${je("#fff",Nf(a))})`}},...c.style}})});function FE(e){return fe("MuiAppBar",e)}ue("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const zE=e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${V(t)}`,`position${V(n)}`]};return he(o,FE,r)},m0=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,NE=K(xo,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${V(n.position)}`],t[`color${V(n.color)}`]]}})(Se(({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(Wt(["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?m0(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?m0(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"})}}]}))),_E=b.forwardRef(function(t,n){const r=xe({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=zE(u);return y.jsx(NE,{square:!0,component:"header",ownerState:u,elevation:4,className:Y(c.root,o,a==="fixed"&&"mui-fixed"),ref:n,...l})});function Cb({props:e,name:t}){return sb({props:e,name:t,defaultTheme:ac,themeId:ba})}const VE=ue("MuiBox",["root"]),WE=bb(),ce=CP({themeId:ba,defaultTheme:WE,defaultClassName:VE.root,generateClassName:ob.generate});function HE(e){return fe("MuiToolbar",e)}ue("MuiToolbar",["root","gutters","regular","dense"]);const UE=e=>{const{classes:t,disableGutters:n,variant:r}=e;return he({root:["root",!n&&"gutters",r]},HE,t)},GE=K("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(Se(({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}]}))),KE=b.forwardRef(function(t,n){const r=xe({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=UE(u);return y.jsx(GE,{as:i,className:Y(c.root,o),ref:n,ownerState:u,...l})});class tu{constructor(){_i(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 tu}static use(){const t=cb(tu.create).current,[n,r]=b.useState(!1);return t.shouldMount=n,t.setShouldMount=r,b.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=XE(),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 YE(){return tu.use()}function XE(){let e,t;const n=new Promise((r,o)=>{e=r,t=o});return n.resolve=e,n.reject=t,n}function Je(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 _f(e,t){return _f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},_f(e,t)}function Sb(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_f(e,t)}const g0={disabled:!1},nu=an.createContext(null);var qE=function(t){return t.scrollTop},ds="unmounted",eo="exited",to="entering",Do="entered",Vf="exiting",Vn=function(e){Sb(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=eo,i.appearStatus=to):l=Do:r.unmountOnExit||r.mountOnEnter?l=ds:l=eo,i.state={status:l},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var s=o.in;return s&&i.status===ds?{status:eo}: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!==to&&s!==Do&&(i=to):(s===to||s===Do)&&(i=Vf)}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===to){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:Ga.findDOMNode(this);s&&qE(s)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===eo&&this.setState({status:ds})},n.performEnter=function(o){var i=this,s=this.props.enter,a=this.context?this.context.isMounting:o,l=this.props.nodeRef?[a]:[Ga.findDOMNode(this),a],u=l[0],c=l[1],d=this.getTimeouts(),f=a?d.appear:d.enter;if(!o&&!s||g0.disabled){this.safeSetState({status:Do},function(){i.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:to},function(){i.props.onEntering(u,c),i.onTransitionEnd(f,function(){i.safeSetState({status:Do},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:Ga.findDOMNode(this);if(!i||g0.disabled){this.safeSetState({status:eo},function(){o.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:Vf},function(){o.props.onExiting(a),o.onTransitionEnd(s.exit,function(){o.safeSetState({status:eo},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:Ga.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===ds)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=Je(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return an.createElement(nu.Provider,{value:null},typeof s=="function"?s(o,a):an.cloneElement(an.Children.only(s),a))},t}(an.Component);Vn.contextType=nu;Vn.propTypes={};function Oo(){}Vn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Oo,onEntering:Oo,onEntered:Oo,onExit:Oo,onExiting:Oo,onExited:Oo};Vn.UNMOUNTED=ds;Vn.EXITED=eo;Vn.ENTERING=to;Vn.ENTERED=Do;Vn.EXITING=Vf;function QE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ah(e,t){var n=function(i){return t&&b.isValidElement(i)?t(i):i},r=Object.create(null);return e&&b.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function ZE(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 x=setTimeout(l,u);return()=>{clearTimeout(x)}}},[l,a,u]),y.jsx("span",{className:f,style:m,children:y.jsx("span",{className:h})})}const en=ue("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Wf=550,oT=80,iT=Sh` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`,sT=Sh` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`,aT=Sh` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`,lT=K("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),uT=K(rT,{name:"MuiTouchRipple",slot:"Ripple"})` + opacity: 0; + position: absolute; + + &.${en.rippleVisible} { + opacity: 0.3; + transform: scale(1); + animation-name: ${iT}; + animation-duration: ${Wf}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: ${sT}; + animation-duration: ${Wf}ms; + animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; + } + + & .${en.childPulsate} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${aT}; + animation-duration: 2500ms; + animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`,cT=b.forwardRef(function(t,n){const r=xe({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:s,...a}=r,[l,u]=b.useState([]),c=b.useRef(0),d=b.useRef(null);b.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const f=b.useRef(!1),m=db(),h=b.useRef(null),x=b.useRef(null),k=b.useCallback(C=>{const{pulsate:w,rippleX:P,rippleY:$,rippleSize:E,cb:S}=C;u(T=>[...T,y.jsx(uT,{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:Wf,pulsate:w,rippleX:P,rippleY:$,rippleSize:E},c.current)]),c.current+=1,d.current=S},[i]),g=b.useCallback((C={},w={},P=()=>{})=>{const{pulsate:$=!1,center:E=o||w.pulsate,fakeElement:S=!1}=w;if((C==null?void 0:C.type)==="mousedown"&&f.current){f.current=!1;return}(C==null?void 0:C.type)==="touchstart"&&(f.current=!0);const T=S?null:x.current,A=T?T.getBoundingClientRect():{width:0,height:0,left:0,top:0};let O,B,I;if(E||C===void 0||C.clientX===0&&C.clientY===0||!C.clientX&&!C.touches)O=Math.round(A.width/2),B=Math.round(A.height/2);else{const{clientX:N,clientY:D}=C.touches&&C.touches.length>0?C.touches[0]:C;O=Math.round(N-A.left),B=Math.round(D-A.top)}if(E)I=Math.sqrt((2*A.width**2+A.height**2)/3),I%2===0&&(I+=1);else{const N=Math.max(Math.abs((T?T.clientWidth:0)-O),O)*2+2,D=Math.max(Math.abs((T?T.clientHeight:0)-B),B)*2+2;I=Math.sqrt(N**2+D**2)}C!=null&&C.touches?h.current===null&&(h.current=()=>{k({pulsate:$,rippleX:O,rippleY:B,rippleSize:I,cb:P})},m.start(oT,()=>{h.current&&(h.current(),h.current=null)})):k({pulsate:$,rippleX:O,rippleY:B,rippleSize:I,cb:P})},[o,k,m]),v=b.useCallback(()=>{g({},{pulsate:!0})},[g]),p=b.useCallback((C,w)=>{if(m.clear(),(C==null?void 0:C.type)==="touchend"&&h.current){h.current(),h.current=null,m.start(0,()=>{p(C,w)});return}h.current=null,u(P=>P.length>0?P.slice(1):P),d.current=w},[m]);return b.useImperativeHandle(n,()=>({pulsate:v,start:g,stop:p}),[v,g,p]),y.jsx(lT,{className:Y(en.root,i.root,s),ref:x,...a,children:y.jsx(Mh,{component:null,exit:!0,children:l})})});function dT(e){return fe("MuiButtonBase",e)}const fT=ue("MuiButtonBase",["root","disabled","focusVisible"]),pT=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,s=he({root:["root",t&&"disabled",n&&"focusVisible"]},dT,o);return n&&r&&(s.root+=` ${r}`),s},hT=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"},[`&.${fT.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),ta=b.forwardRef(function(t,n){const r=xe({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:x,onClick:k,onContextMenu:g,onDragLeave:v,onFocus:p,onFocusVisible:C,onKeyDown:w,onKeyUp:P,onMouseDown:$,onMouseLeave:E,onMouseUp:S,onTouchEnd:T,onTouchMove:A,onTouchStart:O,tabIndex:B=0,TouchRippleProps:I,touchRippleRef:N,type:D,...L}=r,R=b.useRef(null),j=YE(),H=lt(j.ref,N),[Z,q]=b.useState(!1);u&&Z&&q(!1),b.useImperativeHandle(o,()=>({focusVisible:()=>{q(!0),R.current.focus()}}),[]);const re=j.shouldMount&&!c&&!u;b.useEffect(()=>{Z&&f&&!c&&j.pulsate()},[c,f,Z,j]);function te(J,ft,Li=d){return Xo(Hn=>(ft&&ft(Hn),Li||j[J](Hn),!0))}const me=te("start",$),ge=te("stop",g),oe=te("stop",v),W=te("stop",S),Q=te("stop",J=>{Z&&J.preventDefault(),E&&E(J)}),U=te("start",O),_=te("stop",T),X=te("stop",A),be=te("stop",J=>{eu(J.target)||q(!1),x&&x(J)},!1),se=Xo(J=>{R.current||(R.current=J.currentTarget),eu(J.target)&&(q(!0),C&&C(J)),p&&p(J)}),de=()=>{const J=R.current;return l&&l!=="button"&&!(J.tagName==="A"&&J.href)},it=Xo(J=>{f&&!J.repeat&&Z&&J.key===" "&&j.stop(J,()=>{j.start(J)}),J.target===J.currentTarget&&de()&&J.key===" "&&J.preventDefault(),w&&w(J),J.target===J.currentTarget&&de()&&J.key==="Enter"&&!u&&(J.preventDefault(),k&&k(J))}),He=Xo(J=>{f&&J.key===" "&&Z&&!J.defaultPrevented&&j.stop(J,()=>{j.pulsate(J)}),P&&P(J),k&&J.target===J.currentTarget&&de()&&J.key===" "&&!J.defaultPrevented&&k(J)});let Ae=l;Ae==="button"&&(L.href||L.to)&&(Ae=h);const qe={};Ae==="button"?(qe.type=D===void 0?"button":D,qe.disabled=u):(!L.href&&!L.to&&(qe.role="button"),u&&(qe["aria-disabled"]=u));const $n=lt(n,R),Me={...r,centerRipple:i,component:l,disabled:u,disableRipple:c,disableTouchRipple:d,focusRipple:f,tabIndex:B,focusVisible:Z},Wn=pT(Me);return y.jsxs(hT,{as:Ae,className:Y(Wn.root,a),ownerState:Me,onBlur:be,onClick:k,onContextMenu:ge,onFocus:se,onKeyDown:it,onKeyUp:He,onMouseDown:me,onMouseLeave:Q,onMouseUp:W,onDragLeave:oe,onTouchEnd:_,onTouchMove:X,onTouchStart:U,ref:$n,tabIndex:u?-1:B,type:D,...qe,...L,children:[s,re?y.jsx(cT,{ref:H,center:i,...I}):null]})});function mT(e){return fe("MuiIconButton",e)}const gT=ue("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),vT=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 he(s,mT,t)},yT=K(ta,{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)}`]]}})(Se(({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})`:je(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}}]})),Se(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(Wt()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Wt()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:je((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)}}],[`&.${gT.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}}))),un=b.forwardRef(function(t,n){const r=xe({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=vT(m);return y.jsx(yT,{className:Y(h.root,s),centerRipple:!0,focusRipple:!u,disabled:l,disableRipple:c,ref:n,...f,ownerState:m,children:i})});function xT(e){return fe("MuiTypography",e)}ue("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const bT={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},CT=OE(),ST=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 he(a,xT,s)},wT=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]}})(Se(({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(Wt()).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}}]}})),v0={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},ie=b.forwardRef(function(t,n){const{color:r,...o}=xe({props:t,name:"MuiTypography"}),i=!bT[r],s=CT({...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=v0,...x}=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]||v0[m])||"span",v=ST(k);return y.jsx(wT,{as:g,ref:n,className:Y(v.root,l),...x,ownerState:k,style:{...a!=="inherit"&&{"--Typography-textAlign":a},...x.style}})});var $e={};/** + * @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 Oh=Symbol.for("react.element"),Ih=Symbol.for("react.portal"),lc=Symbol.for("react.fragment"),uc=Symbol.for("react.strict_mode"),cc=Symbol.for("react.profiler"),dc=Symbol.for("react.provider"),fc=Symbol.for("react.context"),kT=Symbol.for("react.server_context"),pc=Symbol.for("react.forward_ref"),hc=Symbol.for("react.suspense"),mc=Symbol.for("react.suspense_list"),gc=Symbol.for("react.memo"),vc=Symbol.for("react.lazy"),$T=Symbol.for("react.offscreen"),wb;wb=Symbol.for("react.module.reference");function mn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Oh:switch(e=e.type,e){case lc:case cc:case uc:case hc:case mc:return e;default:switch(e=e&&e.$$typeof,e){case kT:case fc:case pc:case vc:case gc:case dc:return e;default:return t}}case Ih:return t}}}$e.ContextConsumer=fc;$e.ContextProvider=dc;$e.Element=Oh;$e.ForwardRef=pc;$e.Fragment=lc;$e.Lazy=vc;$e.Memo=gc;$e.Portal=Ih;$e.Profiler=cc;$e.StrictMode=uc;$e.Suspense=hc;$e.SuspenseList=mc;$e.isAsyncMode=function(){return!1};$e.isConcurrentMode=function(){return!1};$e.isContextConsumer=function(e){return mn(e)===fc};$e.isContextProvider=function(e){return mn(e)===dc};$e.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Oh};$e.isForwardRef=function(e){return mn(e)===pc};$e.isFragment=function(e){return mn(e)===lc};$e.isLazy=function(e){return mn(e)===vc};$e.isMemo=function(e){return mn(e)===gc};$e.isPortal=function(e){return mn(e)===Ih};$e.isProfiler=function(e){return mn(e)===cc};$e.isStrictMode=function(e){return mn(e)===uc};$e.isSuspense=function(e){return mn(e)===hc};$e.isSuspenseList=function(e){return mn(e)===mc};$e.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===lc||e===cc||e===uc||e===hc||e===mc||e===$T||typeof e=="object"&&e!==null&&(e.$$typeof===vc||e.$$typeof===gc||e.$$typeof===dc||e.$$typeof===fc||e.$$typeof===pc||e.$$typeof===wb||e.getModuleId!==void 0)};$e.typeOf=mn;const Hf=b.createContext({});function PT(e){return fe("MuiList",e)}ue("MuiList",["root","padding","dense","subheader"]);const ET=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return he({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},PT,t)},TT=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}}]}),RT=b.forwardRef(function(t,n){const r=xe({props:t,name:"MuiList"}),{children:o,className:i,component:s="ul",dense:a=!1,disablePadding:l=!1,subheader:u,...c}=r,d=b.useMemo(()=>({dense:a}),[a]),f={...r,component:s,dense:a,disablePadding:l},m=ET(f);return y.jsx(Hf.Provider,{value:d,children:y.jsxs(TT,{as:s,className:Y(m.root,i),ref:n,ownerState:f,...c,children:[u,o]})})});function md(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function y0(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function kb(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 Zi(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")||!kb(a,i)||l)a=o(e,a,n);else return a.focus(),!0}return!1}const AT=b.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=b.useRef(null),h=b.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Br(()=>{o&&m.current.focus()},[o]),b.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(p,{direction:C})=>{const w=!m.current.style.width;if(p.clientHeight{const C=m.current,w=p.key;if(p.ctrlKey||p.metaKey||p.altKey){c&&c(p);return}const $=Gt(C).activeElement;if(w==="ArrowDown")p.preventDefault(),Zi(C,$,u,l,md);else if(w==="ArrowUp")p.preventDefault(),Zi(C,$,u,l,y0);else if(w==="Home")p.preventDefault(),Zi(C,null,u,l,md);else if(w==="End")p.preventDefault(),Zi(C,null,u,l,y0);else if(w.length===1){const E=h.current,S=w.toLowerCase(),T=performance.now();E.keys.length>0&&(T-E.lastTime>500?(E.keys=[],E.repeating=!0,E.previousKeyMatched=!0):E.repeating&&S!==E.keys[0]&&(E.repeating=!1)),E.lastTime=T,E.keys.push(S);const A=$&&!E.repeating&&kb($,E);E.previousKeyMatched&&(A||Zi(C,$,!1,l,md,E))?p.preventDefault():E.previousKeyMatched=!1}c&&c(p)},k=lt(m,n);let g=-1;b.Children.forEach(s,(p,C)=>{if(!b.isValidElement(p)){g===C&&(g+=1,g>=s.length&&(g=-1));return}p.props.disabled||(d==="selectedMenu"&&p.props.selected||g===-1)&&(g=C),g===C&&(p.props.disabled||p.props.muiSkipListHighlight||p.type.muiSkipListHighlight)&&(g+=1,g>=s.length&&(g=-1))});const v=b.Children.map(s,(p,C)=>{if(C===g){const w={};return i&&(w.autoFocus=!0),p.props.tabIndex===void 0&&d==="selectedMenu"&&(w.tabIndex=0),b.cloneElement(p,w)}return p});return y.jsx(RT,{role:"menu",ref:k,className:a,onKeyDown:x,tabIndex:o?0:-1,...f,children:v})});function Uf(e){return typeof e=="string"}const $b=e=>e.scrollTop;function ru(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 Gf(e){return`scale(${e}, ${e**2})`}const MT={entering:{opacity:1,transform:Gf(1)},entered:{opacity:1,transform:"none"}},gd=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Kf=b.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:x="auto",TransitionComponent:k=Vn,...g}=t,v=db(),p=b.useRef(),C=Th(),w=b.useRef(null),P=lt(w,xa(i),n),$=N=>D=>{if(N){const L=w.current;D===void 0?N(L):N(L,D)}},E=$(c),S=$((N,D)=>{$b(N);const{duration:L,delay:R,easing:j}=ru({style:h,timeout:x,easing:s},{mode:"enter"});let H;x==="auto"?(H=C.transitions.getAutoHeightDuration(N.clientHeight),p.current=H):H=L,N.style.transition=[C.transitions.create("opacity",{duration:H,delay:R}),C.transitions.create("transform",{duration:gd?H:H*.666,delay:R,easing:j})].join(","),l&&l(N,D)}),T=$(u),A=$(m),O=$(N=>{const{duration:D,delay:L,easing:R}=ru({style:h,timeout:x,easing:s},{mode:"exit"});let j;x==="auto"?(j=C.transitions.getAutoHeightDuration(N.clientHeight),p.current=j):j=D,N.style.transition=[C.transitions.create("opacity",{duration:j,delay:L}),C.transitions.create("transform",{duration:gd?j:j*.666,delay:gd?L:L||j*.333,easing:R})].join(","),N.style.opacity=0,N.style.transform=Gf(.75),d&&d(N)}),B=$(f),I=N=>{x==="auto"&&v.start(p.current||0,N),r&&r(w.current,N)};return y.jsx(k,{appear:o,in:a,nodeRef:w,onEnter:S,onEntered:T,onEntering:E,onExit:O,onExited:B,onExiting:A,addEndListener:I,timeout:x==="auto"?null:x,...g,children:(N,D)=>b.cloneElement(i,{style:{opacity:0,transform:Gf(.75),visibility:N==="exited"&&!a?"hidden":void 0,...MT[N],...h,...i.props.style},ref:P,...D})})});Kf&&(Kf.muiSupportAuto=!0);function OT(e){const t=Gt(e);return t.body===e?yo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function $s(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function x0(e){return parseInt(yo(e).getComputedStyle(e).paddingRight,10)||0}function IT(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 b0(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,s=>{const a=i.indexOf(s)===-1,l=!IT(s);a&&l&&$s(s,o)})}function vd(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function jT(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(OT(r)){const s=fb(Gt(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${x0(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=`${x0(l)+s}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=Gt(r).body;else{const s=r.parentElement,a=yo(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 BT(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class DT{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&&$s(t.modalRef,!1);const o=BT(n);b0(n,t.mount,t.modalRef,o,!0);const i=vd(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=vd(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[r];o.restore||(o.restore=jT(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=vd(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&&$s(t.modalRef,n),b0(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&&$s(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const LT=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function FT(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 zT(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 NT(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||zT(e))}function _T(e){const t=[],n=[];return Array.from(e.querySelectorAll(LT)).forEach((r,o)=>{const i=FT(r);i===-1||!NT(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 VT(){return!0}function WT(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=_T,isEnabled:s=VT,open:a}=e,l=b.useRef(!1),u=b.useRef(null),c=b.useRef(null),d=b.useRef(null),f=b.useRef(null),m=b.useRef(!1),h=b.useRef(null),x=lt(xa(t),h),k=b.useRef(null);b.useEffect(()=>{!a||!h.current||(m.current=!n)},[n,a]),b.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]),b.useEffect(()=>{if(!a||!h.current)return;const p=Gt(h.current),C=$=>{k.current=$,!(r||!s()||$.key!=="Tab")&&p.activeElement===h.current&&$.shiftKey&&(l.current=!0,c.current&&c.current.focus())},w=()=>{var S,T;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 E=[];if((p.activeElement===u.current||p.activeElement===c.current)&&(E=i(h.current)),E.length>0){const A=!!((S=k.current)!=null&&S.shiftKey&&((T=k.current)==null?void 0:T.key)==="Tab"),O=E[0],B=E[E.length-1];typeof O!="string"&&typeof B!="string"&&(A?B.focus():O.focus())}else $.focus()};p.addEventListener("focusin",w),p.addEventListener("keydown",C,!0);const P=setInterval(()=>{p.activeElement&&p.activeElement.tagName==="BODY"&&w()},50);return()=>{clearInterval(P),p.removeEventListener("focusin",w),p.removeEventListener("keydown",C,!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 C=t.props.onFocus;C&&C(p)},v=p=>{d.current===null&&(d.current=p.relatedTarget),m.current=!0};return y.jsxs(b.Fragment,{children:[y.jsx("div",{tabIndex:a?0:-1,onFocus:v,ref:u,"data-testid":"sentinelStart"}),b.cloneElement(t,{ref:x,onFocus:g}),y.jsx("div",{tabIndex:a?0:-1,onFocus:v,ref:c,"data-testid":"sentinelEnd"})]})}function HT(e){return typeof e=="function"?e():e}const UT=b.forwardRef(function(t,n){const{children:r,container:o,disablePortal:i=!1}=t,[s,a]=b.useState(null),l=lt(xa(r),n);if(Br(()=>{i||a(HT(o)||document.body)},[o,i]),Br(()=>{if(s&&!i)return Lf(n,s),()=>{Lf(n,null)}},[n,s,i]),i){if(b.isValidElement(r)){const u={ref:l};return b.cloneElement(r,u)}return y.jsx(b.Fragment,{children:r})}return y.jsx(b.Fragment,{children:s&&ah.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=gb(d[e],o),{props:{component:x,...k},internalRef:g}=mb({className:n,...l,externalForwardedProps:e==="root"?f:void 0,externalSlotProps:h}),v=lt(g,h==null?void 0:h.ref,t.ref),p=s?s(k):{},C={...o,...p},w=e==="root"?x||u:x,P=pb(m,{...e==="root"&&!u&&!c[e]&&a,...e!=="root"&&!c[e]&&a,...k,...w&&{as:w},ref:v},C);return Object.keys(p).forEach($=>{delete P[$]}),[m,P]}const GT={entering:{opacity:1},entered:{opacity:1}},KT=b.forwardRef(function(t,n){const r=Th(),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:x,style:k,timeout:g=o,TransitionComponent:v=Vn,...p}=t,C=b.useRef(null),w=lt(C,xa(a),n),P=I=>N=>{if(I){const D=C.current;N===void 0?I(D):I(D,N)}},$=P(f),E=P((I,N)=>{$b(I);const D=ru({style:k,timeout:g,easing:l},{mode:"enter"});I.style.webkitTransition=r.transitions.create("opacity",D),I.style.transition=r.transitions.create("opacity",D),c&&c(I,N)}),S=P(d),T=P(x),A=P(I=>{const N=ru({style:k,timeout:g,easing:l},{mode:"exit"});I.style.webkitTransition=r.transitions.create("opacity",N),I.style.transition=r.transitions.create("opacity",N),m&&m(I)}),O=P(h),B=I=>{i&&i(C.current,I)};return y.jsx(v,{appear:s,in:u,nodeRef:C,onEnter:E,onEntered:S,onEntering:$,onExit:A,onExited:O,onExiting:T,addEndListener:B,timeout:g,...p,children:(I,N)=>b.cloneElement(a,{style:{opacity:0,visibility:I==="exited"&&!u?"hidden":void 0,...GT[I],...k,...a.props.style},ref:w,...N})})});function YT(e){return fe("MuiBackdrop",e)}ue("MuiBackdrop",["root","invisible"]);const XT=e=>{const{classes:t,invisible:n}=e;return he({root:["root",n&&"invisible"]},YT,t)},qT=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"}}]}),QT=b.forwardRef(function(t,n){const r=xe({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,...x}=r,k={...r,component:s,invisible:a},g=XT(k),v={transition:m,root:u.Root,...f},p={...c,...d},C={slots:v,slotProps:p},[w,P]=sn("root",{elementType:qT,externalForwardedProps:C,className:Y(g.root,i),ownerState:k}),[$,E]=sn("transition",{elementType:KT,externalForwardedProps:C,ownerState:k});return delete E.ownerState,y.jsx($,{in:l,timeout:h,...x,...E,children:y.jsx(w,{"aria-hidden":!0,...P,classes:g,ref:n,children:o})})});function ZT(e){return typeof e=="function"?e():e}function JT(e){return e?e.props.hasOwnProperty("in"):!1}const eR=new DT;function tR(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=eR,closeAfterTransition:i=!1,onTransitionEnter:s,onTransitionExited:a,children:l,onClose:u,open:c,rootRef:d}=e,f=b.useRef({}),m=b.useRef(null),h=b.useRef(null),x=lt(h,d),[k,g]=b.useState(!c),v=JT(l);let p=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(p=!1);const C=()=>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)},$=Xo(()=>{const D=ZT(t)||C().body;o.add(w(),D),h.current&&P()}),E=b.useCallback(()=>o.isTopModal(w()),[o]),S=Xo(D=>{m.current=D,D&&(c&&E()?P():h.current&&$s(h.current,p))}),T=b.useCallback(()=>{o.remove(w(),p)},[p,o]);b.useEffect(()=>()=>{T()},[T]),b.useEffect(()=>{c?$():(!v||!i)&&T()},[c,T,v,i,$]);const A=D=>L=>{var R;(R=D.onKeyDown)==null||R.call(D,L),!(L.key!=="Escape"||L.which===229||!E())&&(n||(L.stopPropagation(),u&&u(L,"escapeKeyDown")))},O=D=>L=>{var R;(R=D.onClick)==null||R.call(D,L),L.target===L.currentTarget&&u&&u(L,"backdropClick")};return{getRootProps:(D={})=>{const L=hb(e);delete L.onTransitionEnter,delete L.onTransitionExited;const R={...L,...D};return{role:"presentation",...R,onKeyDown:A(R),ref:x}},getBackdropProps:(D={})=>{const L=D;return{"aria-hidden":!0,...L,onClick:O(L),open:c}},getTransitionProps:()=>{const D=()=>{g(!1),s&&s()},L=()=>{g(!0),a&&a(),i&&T()};return{onEnter:t0(D,l==null?void 0:l.props.onEnter),onExited:t0(L,l==null?void 0:l.props.onExited)}},rootRef:x,portalRef:S,isTopModal:E,exited:k,hasTransition:v}}function nR(e){return fe("MuiModal",e)}ue("MuiModal",["root","hidden","backdrop"]);function rR(e){return fe("MuiSvgIcon",e)}ue("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const oR=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${V(t)}`,`fontSize${V(n)}`]};return he(o,rR,r)},iR=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)}`]]}})(Se(({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:x=>!x.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(([,x])=>x&&x.main).map(([x])=>{var k,g;return{props:{color:x},style:{color:(g=(k=(e.vars??e).palette)==null?void 0:k[x])==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}}]}})),ou=b.forwardRef(function(t,n){const r=xe({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=b.isValidElement(o)&&o.type==="svg",x={...r,color:s,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:f,hasSvgAsChild:h},k={};c||(k.viewBox=f);const g=oR(x);return y.jsxs(iR,{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:x,children:[h?o.props.children:o,d?y.jsx("title",{children:d}):null]})});ou&&(ou.muiName="SvgIcon");function Te(e,t){function n(r,o){return y.jsx(ou,{"data-testid":`${t}Icon`,ref:o,...r,children:e})}return n.muiName=ou.muiName,b.memo(b.forwardRef(n))}const sR=e=>{const{open:t,exited:n,classes:r}=e;return he({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},nR,r)},aR=K("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(Se(({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"}}]}))),lR=K(QT,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),jh=b.forwardRef(function(t,n){const r=xe({name:"MuiModal",props:t}),{BackdropComponent:o=lR,BackdropProps:i,classes:s,className:a,closeAfterTransition:l=!1,children:u,container:c,component:d,components:f={},componentsProps:m={},disableAutoFocus:h=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:k=!1,disablePortal:g=!1,disableRestoreFocus:v=!1,disableScrollLock:p=!1,hideBackdrop:C=!1,keepMounted:w=!1,onBackdropClick:P,onClose:$,onTransitionEnter:E,onTransitionExited:S,open:T,slotProps:A={},slots:O={},theme:B,...I}=r,N={...r,closeAfterTransition:l,disableAutoFocus:h,disableEnforceFocus:x,disableEscapeKeyDown:k,disablePortal:g,disableRestoreFocus:v,disableScrollLock:p,hideBackdrop:C,keepMounted:w},{getRootProps:D,getBackdropProps:L,getTransitionProps:R,portalRef:j,isTopModal:H,exited:Z,hasTransition:q}=tR({...N,rootRef:n}),re={...N,exited:Z},te=sR(re),me={};if(u.props.tabIndex===void 0&&(me.tabIndex="-1"),q){const{onEnter:X,onExited:be}=R();me.onEnter=X,me.onExited=be}const ge={slots:{root:f.Root,backdrop:f.Backdrop,...O},slotProps:{...m,...A}},[oe,W]=sn("root",{elementType:aR,externalForwardedProps:ge,getSlotProps:D,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:ge,additionalProps:i,getSlotProps:X=>L({...X,onClick:be=>{P&&P(be),X!=null&&X.onClick&&X.onClick(be)}}),className:Y(i==null?void 0:i.className,te==null?void 0:te.backdrop),ownerState:re}),_=lt(i==null?void 0:i.ref,U.ref);return!w&&!T&&(!q||Z)?null:y.jsx(UT,{ref:j,container:c,disablePortal:g,children:y.jsxs(oe,{...W,...I,children:[!C&&o?y.jsx(Q,{...U,ref:_}):null,y.jsx(WT,{disableEnforceFocus:x,disableAutoFocus:h,disableRestoreFocus:v,isEnabled:H,open:T,children:b.cloneElement(u,me)})]})})});function uR(e){return fe("MuiPopover",e)}ue("MuiPopover",["root","paper"]);function C0(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function S0(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function w0(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function yd(e){return typeof e=="function"?e():e}const cR=e=>{const{classes:t}=e;return he({root:["root"],paper:["paper"]},uR,t)},dR=K(jh,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Pb=K(xo,{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}),fR=b.forwardRef(function(t,n){const r=xe({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:x={},slots:k={},slotProps:g={},transformOrigin:v={vertical:"top",horizontal:"left"},TransitionComponent:p=Kf,transitionDuration:C="auto",TransitionProps:{onEntering:w,...P}={},disableScrollLock:$=!1,...E}=r,S=(g==null?void 0:g.paper)??x,T=b.useRef(),A={...r,anchorOrigin:s,anchorReference:l,elevation:f,marginThreshold:m,externalPaperSlotProps:S,transformOrigin:v,TransitionComponent:p,transitionDuration:C,TransitionProps:P},O=cR(A),B=b.useCallback(()=>{if(l==="anchorPosition")return a;const U=yd(i),X=(U&&U.nodeType===1?U:Gt(T.current).body).getBoundingClientRect();return{top:X.top+C0(X,s.vertical),left:X.left+S0(X,s.horizontal)}},[i,s.horizontal,s.vertical,a,l]),I=b.useCallback(U=>({vertical:C0(U,v.vertical),horizontal:S0(U,v.horizontal)}),[v.horizontal,v.vertical]),N=b.useCallback(U=>{const _={width:U.offsetWidth,height:U.offsetHeight},X=I(_);if(l==="none")return{top:null,left:null,transformOrigin:w0(X)};const be=B();let se=be.top-X.vertical,de=be.left-X.horizontal;const it=se+_.height,He=de+_.width,Ae=yo(yd(i)),qe=Ae.innerHeight-m,$n=Ae.innerWidth-m;if(m!==null&&seqe){const Me=it-qe;se-=Me,X.vertical+=Me}if(m!==null&&de$n){const Me=He-$n;de-=Me,X.horizontal+=Me}return{top:`${Math.round(se)}px`,left:`${Math.round(de)}px`,transformOrigin:w0(X)}},[i,l,B,I,m]),[D,L]=b.useState(h),R=b.useCallback(()=>{const U=T.current;if(!U)return;const _=N(U);_.top!==null&&(U.style.top=_.top),_.left!==null&&(U.style.left=_.left),U.style.transformOrigin=_.transformOrigin,L(!0)},[N]);b.useEffect(()=>($&&window.addEventListener("scroll",R),()=>window.removeEventListener("scroll",R)),[i,$,R]);const j=(U,_)=>{w&&w(U,_),R()},H=()=>{L(!1)};b.useEffect(()=>{h&&R()}),b.useImperativeHandle(o,()=>h?{updatePosition:()=>{R()}}:null,[h,R]),b.useEffect(()=>{if(!h)return;const U=ub(()=>{R()}),_=yo(i);return _.addEventListener("resize",U),()=>{U.clear(),_.removeEventListener("resize",U)}},[i,h,R]);let Z=C;C==="auto"&&!p.muiSupportAuto&&(Z=void 0);const q=d||(i?Gt(yd(i)).body:void 0),re={slots:k,slotProps:{...g,paper:S}},[te,me]=sn("paper",{elementType:Pb,externalForwardedProps:re,additionalProps:{elevation:f,className:Y(O.paper,S==null?void 0:S.className),style:D?S.style:{...S.style,opacity:0}},ownerState:A}),[ge,{slotProps:oe,...W}]=sn("root",{elementType:dR,externalForwardedProps:re,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:q,open:h},ownerState:A,className:Y(O.root,c)}),Q=lt(T,me.ref);return y.jsx(ge,{...W,...!Uf(ge)&&{slotProps:oe,disableScrollLock:$},...E,ref:n,children:y.jsx(p,{appear:!0,in:h,onEntering:j,onExited:H,timeout:Z,...P,children:y.jsx(te,{...me,ref:Q,children:u})})})});function pR(e){return fe("MuiMenu",e)}ue("MuiMenu",["root","paper","list"]);const hR={vertical:"top",horizontal:"right"},mR={vertical:"top",horizontal:"left"},gR=e=>{const{classes:t}=e;return he({root:["root"],paper:["paper"],list:["list"]},pR,t)},vR=K(fR,{shouldForwardProp:e=>hn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),yR=K(Pb,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),xR=K(AT,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Eb=b.forwardRef(function(t,n){const r=xe({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,...x}={},variant:k="selectedMenu",slots:g={},slotProps:v={},...p}=r,C=vb(),w={...r,autoFocus:o,disableAutoFocusItem:a,MenuListProps:l,onEntering:h,PaperProps:d,transitionDuration:m,TransitionProps:x,variant:k},P=gR(w),$=o&&!a&&c,E=b.useRef(null),S=(D,L)=>{E.current&&E.current.adjustStyleForScrollbar(D,{direction:C?"rtl":"ltr"}),h&&h(D,L)},T=D=>{D.key==="Tab"&&(D.preventDefault(),u&&u(D,"tabKeyDown"))};let A=-1;b.Children.map(i,(D,L)=>{b.isValidElement(D)&&(D.props.disabled||(k==="selectedMenu"&&D.props.selected||A===-1)&&(A=L))});const O=g.paper??yR,B=v.paper??d,I=s0({elementType:g.root,externalSlotProps:v.root,ownerState:w,className:[P.root,s]}),N=s0({elementType:O,externalSlotProps:B,ownerState:w,className:P.paper});return y.jsx(vR,{onClose:u,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?hR:mR,slots:{paper:O,root:g.root},slotProps:{root:I,paper:N},open:c,ref:n,transitionDuration:m,TransitionProps:{onEntering:S,...x},ownerState:w,...p,classes:f,children:y.jsx(xR,{onKeyDown:T,actions:E,autoFocus:o&&(A===-1||a),autoFocusItem:$,variant:k,...l,className:Y(P.list,l.className),children:i})})}),bR=Te(y.jsx("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu"),yi=ZP({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=>Cb({props:e,name:"MuiContainer"})});function CR(e){return fe("MuiButton",e)}const Io=ue("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"]),SR=b.createContext({}),wR=b.createContext(void 0),kR=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=he(a,CR,s);return{...s,...l}},Tb=[{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}}}],$R=K(ta,{shouldForwardProp:e=>hn(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]}})(Se(({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"},[`&.${Io.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]},[`&.${Io.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Io.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)",[`&.${Io.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(Wt(["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)`:je(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})`:je(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})`:je(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})`:je(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:je(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"},[`&.${Io.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Io.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}})),PR=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}},...Tb]}),ER=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}},...Tb]}),Lr=b.forwardRef(function(t,n){const r=b.useContext(SR),o=b.useContext(wR),i=Js(r,t),s=xe({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:x,fullWidth:k=!1,size:g="medium",startIcon:v,type:p,variant:C="text",...w}=s,P={...s,color:l,component:u,disabled:d,disableElevation:f,disableFocusRipple:m,fullWidth:k,size:g,type:p,variant:C},$=kR(P),E=v&&y.jsx(PR,{className:$.startIcon,ownerState:P,children:v}),S=h&&y.jsx(ER,{className:$.endIcon,ownerState:P,children:h}),T=o||"";return y.jsxs($R,{ownerState:P,className:Y(r.className,$.root,c,T),component:u,disabled:d,focusRipple:!m,focusVisibleClassName:Y($.focusVisible,x),ref:n,type:p,...w,classes:$,children:[E,a,S]})});function TR(e){return fe("MuiDivider",e)}const k0=ue("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),RR=e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:i,orientation:s,textAlign:a,variant:l}=e;return he({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"]},TR,r)},AR=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]}})(Se(({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)`:je(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%"}}}]}))),MR=K("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(Se(({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)`}}]}))),xi=b.forwardRef(function(t,n){const r=xe({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,x={...r,absolute:o,component:l,flexItem:u,light:c,orientation:a,role:d,textAlign:f,variant:m},k=RR(x);return y.jsx(AR,{as:l,className:Y(k.root,s),role:d,ref:n,ownerState:x,"aria-orientation":d==="separator"&&(l!=="hr"||a==="vertical")?a:void 0,...h,children:i?y.jsx(MR,{className:k.wrapper,ownerState:x,children:i}):null})});xi&&(xi.muiSkipListHighlight=!0);const $0=ue("MuiListItemIcon",["root","alignItemsFlexStart"]),P0=ue("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function OR(e){return fe("MuiMenuItem",e)}const Ji=ue("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),IR=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},jR=e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:s}=e,l=he({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},OR,s);return{...s,...l}},BR=K(ta,{shouldForwardProp:e=>hn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:IR})(Se(({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"}},[`&.${Ji.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:je(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ji.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:je(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Ji.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:je(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})`:je(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Ji.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ji.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${k0.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${k0.inset}`]:{marginLeft:52},[`& .${P0.root}`]:{marginTop:0,marginBottom:0},[`& .${P0.inset}`]:{paddingLeft:36},[`& .${$0.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,[`& .${$0.root} svg`]:{fontSize:"1.25rem"}}}]}))),DR=b.forwardRef(function(t,n){const r=xe({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=b.useContext(Hf),x=b.useMemo(()=>({dense:s||h.dense||!1,disableGutters:l}),[h.dense,s,l]),k=b.useRef(null);Br(()=>{o&&k.current&&k.current.focus()},[o]);const g={...r,dense:x.dense,divider:a,disableGutters:l},v=jR(r),p=lt(k,n);let C;return r.disabled||(C=d!==void 0?d:-1),y.jsx(Hf.Provider,{value:x,children:y.jsx(BR,{ref:p,role:c,tabIndex:C,component:i,focusVisibleClassName:Y(v.focusVisible,u),className:Y(v.root,f),...m,ownerState:g,classes:v})})}),Yf=Te(y.jsx("path",{d:"M12 22c4.97 0 9-4.03 9-9-4.97 0-9 4.03-9 9M5.6 10.25c0 1.38 1.12 2.5 2.5 2.5.53 0 1.01-.16 1.42-.44l-.02.19c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5l-.02-.19c.4.28.89.44 1.42.44 1.38 0 2.5-1.12 2.5-2.5 0-1-.59-1.85-1.43-2.25.84-.4 1.43-1.25 1.43-2.25 0-1.38-1.12-2.5-2.5-2.5-.53 0-1.01.16-1.42.44l.02-.19C14.5 2.12 13.38 1 12 1S9.5 2.12 9.5 3.5l.02.19c-.4-.28-.89-.44-1.42-.44-1.38 0-2.5 1.12-2.5 2.5 0 1 .59 1.85 1.43 2.25-.84.4-1.43 1.25-1.43 2.25M12 5.5c1.38 0 2.5 1.12 2.5 2.5s-1.12 2.5-2.5 2.5S9.5 9.38 9.5 8s1.12-2.5 2.5-2.5M3 13c0 4.97 4.03 9 9 9 0-4.97-4.03-9-9-9"}),"LocalFlorist"),Xf={dark:{header:{backgroundColor:"secondary"},mainContent:{backgroundColor:"black"},footer:{backgroundColor:"#242424"},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"},chip:{backgroundColor:"#3f3f3f",color:"rgba(255, 255, 255, 0.87)",borderColor:"#bb86fc"}},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"},chip:{backgroundColor:"#e0e0e0",color:"rgba(0, 0, 0, 0.87)",borderColor:"#6200ee"}}},LR={light:!1,theme:Xf.light,toggle:()=>{}},kn=an.createContext(LR);function FR({children:e}){const[t,n]=b.useState(!1);b.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?Xf.light:Xf.dark;return y.jsx(kn.Provider,{value:{theme:o,light:t,toggle:r},children:e})}const zR=Te(y.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 NR(e){return fe("MuiChip",e)}const ae=ue("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"]),_R=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 he(u,NR,t)},VR=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[{[`& .${ae.avatar}`]:t.avatar},{[`& .${ae.avatar}`]:t[`avatar${V(a)}`]},{[`& .${ae.avatar}`]:t[`avatarColor${V(r)}`]},{[`& .${ae.icon}`]:t.icon},{[`& .${ae.icon}`]:t[`icon${V(a)}`]},{[`& .${ae.icon}`]:t[`iconColor${V(o)}`]},{[`& .${ae.deleteIcon}`]:t.deleteIcon},{[`& .${ae.deleteIcon}`]:t[`deleteIcon${V(a)}`]},{[`& .${ae.deleteIcon}`]:t[`deleteIconColor${V(r)}`]},{[`& .${ae.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)}`]]}})(Se(({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",[`&.${ae.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${ae.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${ae.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${ae.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${ae.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${ae.icon}`]:{marginLeft:5,marginRight:-6},[`& .${ae.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:je(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)`:je(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${ae.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${ae.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(Wt(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText,[`& .${ae.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].contrastTextChannel} / 0.7)`:je(e.palette[n].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].contrastText}}}})),{props:n=>n.iconColor===n.color,style:{[`& .${ae.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${ae.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${ae.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:je(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(Wt(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${ae.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}))`:je(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${ae.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:je(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(Wt(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${ae.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]}`,[`&.${ae.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${ae.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${ae.avatar}`]:{marginLeft:4},[`& .${ae.avatarSmall}`]:{marginLeft:2},[`& .${ae.icon}`]:{marginLeft:4},[`& .${ae.iconSmall}`]:{marginLeft:2},[`& .${ae.deleteIcon}`]:{marginRight:5},[`& .${ae.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(Wt()).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)`:je(e.palette[n].main,.7)}`,[`&.${ae.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:je(e.palette[n].main,e.palette.action.hoverOpacity)},[`&.${ae.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.focusOpacity})`:je(e.palette[n].main,e.palette.action.focusOpacity)},[`& .${ae.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:je(e.palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),WR=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 E0(e){return e.key==="Backspace"||e.key==="Delete"}const fs=b.forwardRef(function(t,n){const r=xe({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:x,onKeyUp:k,size:g="medium",variant:v="filled",tabIndex:p,skipFocusWhenDisabled:C=!1,...w}=r,P=b.useRef(null),$=lt(P,n),E=j=>{j.stopPropagation(),h&&h(j)},S=j=>{j.currentTarget===j.target&&E0(j)&&j.preventDefault(),x&&x(j)},T=j=>{j.currentTarget===j.target&&h&&E0(j)&&h(j),k&&k(j)},A=s!==!1&&m?!0:s,O=A||h?ta:l||"div",B={...r,component:O,disabled:c,size:g,color:a,iconColor:b.isValidElement(d)&&d.props.color||a,onDelete:!!h,clickable:A,variant:v},I=_R(B),N=O===ta?{component:l||"div",focusVisibleClassName:I.focusVisible,...h&&{disableRipple:!0}}:{};let D=null;h&&(D=u&&b.isValidElement(u)?b.cloneElement(u,{className:Y(u.props.className,I.deleteIcon),onClick:E}):y.jsx(zR,{className:Y(I.deleteIcon),onClick:E}));let L=null;o&&b.isValidElement(o)&&(L=b.cloneElement(o,{className:Y(I.avatar,o.props.className)}));let R=null;return d&&b.isValidElement(d)&&(R=b.cloneElement(d,{className:Y(I.icon,d.props.className)})),y.jsxs(VR,{as:O,className:Y(I.root,i),disabled:A&&c?!0:void 0,onClick:m,onKeyDown:S,onKeyUp:T,ref:$,tabIndex:C&&c?-1:p,ownerState:B,...N,...w,children:[L||R,y.jsx(WR,{className:Y(I.label),ownerState:B,children:f}),D]})});function Za(e){return parseInt(e,10)||0}const HR={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function UR(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const GR=b.forwardRef(function(t,n){const{onChange:r,maxRows:o,minRows:i=1,style:s,value:a,...l}=t,{current:u}=b.useRef(a!=null),c=b.useRef(null),d=lt(n,c),f=b.useRef(null),m=b.useRef(null),h=b.useCallback(()=>{const g=c.current,p=yo(g).getComputedStyle(g);if(p.width==="0px")return{outerHeightStyle:0,overflowing:!1};const C=m.current;C.style.width=p.width,C.value=g.value||t.placeholder||"x",C.value.slice(-1)===` +`&&(C.value+=" ");const w=p.boxSizing,P=Za(p.paddingBottom)+Za(p.paddingTop),$=Za(p.borderBottomWidth)+Za(p.borderTopWidth),E=C.scrollHeight;C.value="x";const S=C.scrollHeight;let T=E;i&&(T=Math.max(Number(i)*S,T)),o&&(T=Math.min(Number(o)*S,T)),T=Math.max(T,S);const A=T+(w==="border-box"?P+$:0),O=Math.abs(T-E)<=1;return{outerHeightStyle:A,overflowing:O}},[o,i,t.placeholder]),x=b.useCallback(()=>{const g=h();if(UR(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]);Br(()=>{const g=()=>{x()};let v;const p=ub(g),C=c.current,w=yo(C);w.addEventListener("resize",p);let P;return typeof ResizeObserver<"u"&&(P=new ResizeObserver(g),P.observe(C)),()=>{p.clear(),cancelAnimationFrame(v),w.removeEventListener("resize",p),P&&P.disconnect()}},[h,x]),Br(()=>{x()});const k=g=>{u||x(),r&&r(g)};return y.jsxs(b.Fragment,{children:[y.jsx("textarea",{value:a,onChange:k,ref:d,rows:i,style:s,...l}),y.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:m,tabIndex:-1,style:{...HR.shadow,...s,paddingTop:0,paddingBottom:0}})]})});function Mi({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 Bh=b.createContext(void 0);function Oi(){return b.useContext(Bh)}function T0(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function iu(e,t=!1){return e&&(T0(e.value)&&e.value!==""||t&&T0(e.defaultValue)&&e.defaultValue!=="")}function KR(e){return e.startAdornment}function YR(e){return fe("MuiInputBase",e)}const bi=ue("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var R0;const yc=(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]},xc=(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]},XR=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,x={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 he(x,YR,t)},bc=K("div",{name:"MuiInputBase",slot:"Root",overridesResolver:yc})(Se(({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",[`&.${bi.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%"}}]}))),Cc=K("input",{name:"MuiInputBase",slot:"Input",overridesResolver:xc})(Se(({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] + .${bi.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},[`&.${bi.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"}}]}})),A0=ME({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),Dh=b.forwardRef(function(t,n){const r=xe({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:x,fullWidth:k=!1,id:g,inputComponent:v="input",inputProps:p={},inputRef:C,margin:w,maxRows:P,minRows:$,multiline:E=!1,name:S,onBlur:T,onChange:A,onClick:O,onFocus:B,onKeyDown:I,onKeyUp:N,placeholder:D,readOnly:L,renderSuffix:R,rows:j,size:H,slotProps:Z={},slots:q={},startAdornment:re,type:te="text",value:me,...ge}=r,oe=p.value!=null?p.value:me,{current:W}=b.useRef(oe!=null),Q=b.useRef(),U=b.useCallback(De=>{},[]),_=lt(Q,C,p.ref,U),[X,be]=b.useState(!1),se=Oi(),de=Mi({props:r,muiFormControl:se,states:["color","disabled","error","hiddenLabel","size","required","filled"]});de.focused=se?se.focused:X,b.useEffect(()=>{!se&&f&&X&&(be(!1),T&&T())},[se,f,X,T]);const it=se&&se.onFilled,He=se&&se.onEmpty,Ae=b.useCallback(De=>{iu(De)?it&&it():He&&He()},[it,He]);Br(()=>{W&&Ae({value:oe})},[oe,Ae,W]);const qe=De=>{B&&B(De),p.onFocus&&p.onFocus(De),se&&se.onFocus?se.onFocus(De):be(!0)},$n=De=>{T&&T(De),p.onBlur&&p.onBlur(De),se&&se.onBlur?se.onBlur(De):be(!1)},Me=(De,...zi)=>{if(!W){const Ni=De.target||Q.current;if(Ni==null)throw new Error(ar(1));Ae({value:Ni.value})}p.onChange&&p.onChange(De,...zi),A&&A(De,...zi)};b.useEffect(()=>{Ae(Q.current)},[]);const Wn=De=>{Q.current&&De.currentTarget===De.target&&Q.current.focus(),O&&O(De)};let J=v,ft=p;E&&J==="input"&&(j?ft={type:void 0,minRows:j,maxRows:j,...ft}:ft={type:void 0,maxRows:P,minRows:$,...ft},J=GR);const Li=De=>{Ae(De.animationName==="mui-auto-fill-cancel"?Q.current:{value:"x"})};b.useEffect(()=>{se&&se.setAdornedStart(!!re)},[se,re]);const Hn={...r,color:de.color||"primary",disabled:de.disabled,endAdornment:h,error:de.error,focused:de.focused,formControl:se,fullWidth:k,hiddenLabel:de.hiddenLabel,multiline:E,size:de.size,startAdornment:re,type:te},Kr=XR(Hn),Fi=q.root||u.Root||bc,pr=Z.root||c.root||{},ko=q.input||u.Input||Cc;return ft={...ft,...Z.input??c.input},y.jsxs(b.Fragment,{children:[!m&&typeof A0=="function"&&(R0||(R0=y.jsx(A0,{}))),y.jsxs(Fi,{...pr,ref:n,onClick:Wn,...ge,...!Uf(Fi)&&{ownerState:{...Hn,...pr.ownerState}},className:Y(Kr.root,pr.className,a,L&&"MuiInputBase-readOnly"),children:[re,y.jsx(Bh.Provider,{value:null,children:y.jsx(ko,{"aria-invalid":de.error,"aria-describedby":o,autoComplete:i,autoFocus:s,defaultValue:d,disabled:de.disabled,id:g,onAnimationStart:Li,name:S,placeholder:D,readOnly:L,required:de.required,rows:j,value:oe,onKeyDown:I,onKeyUp:N,type:te,...ft,...!Uf(ko)&&{as:J,ownerState:{...Hn,...ft.ownerState}},ref:_,className:Y(Kr.input,ft.className,L&&"MuiInputBase-readOnly"),onBlur:$n,onChange:Me,onFocus:qe})}),h,R?R({...de,startAdornment:re}):null]})]})});function qR(e){return fe("MuiInput",e)}const es={...bi,...ue("MuiInput",["root","underline","input"])};function QR(e){return fe("MuiOutlinedInput",e)}const Tn={...bi,...ue("MuiOutlinedInput",["root","notchedOutline","input"])};function ZR(e){return fe("MuiFilledInput",e)}const Yr={...bi,...ue("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},JR=Te(y.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),e3=Te(y.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 t3(e){return fe("MuiAvatar",e)}ue("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const n3=e=>{const{classes:t,variant:n,colorDefault:r}=e;return he({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},t3,t)},r3=K("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(Se(({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]})}}}]}))),o3=K("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),i3=K(e3,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function s3({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[o,i]=b.useState(!1);return b.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 Rb=b.forwardRef(function(t,n){const r=xe({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",...x}=r;let k=null;const g=s3({...c,src:f,srcSet:m}),v=f||m,p=v&&g!=="error",C={...r,colorDefault:!p,component:a,variant:h};delete C.ownerState;const w=n3(C),[P,$]=sn("img",{className:w.img,elementType:o3,externalForwardedProps:{slots:l,slotProps:{img:{...c,...u.img}}},additionalProps:{alt:o,src:f,srcSet:m,sizes:d},ownerState:C});return p?k=y.jsx(P,{...$}):i||i===0?k=i:v&&o?k=o[0]:k=y.jsx(i3,{ownerState:C,className:w.fallback}),y.jsx(r3,{as:a,className:Y(w.root,s),ref:n,...x,ownerState:C,children:k})});function a3(e){return fe("MuiCard",e)}ue("MuiCard",["root"]);const l3=e=>{const{classes:t}=e;return he({root:["root"]},a3,t)},u3=K(xo,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})({overflow:"hidden"}),Ab=b.forwardRef(function(t,n){const r=xe({props:t,name:"MuiCard"}),{className:o,raised:i=!1,...s}=r,a={...r,raised:i},l=l3(a);return y.jsx(u3,{className:Y(l.root,o),elevation:i?8:void 0,ref:n,ownerState:a,...s})});function c3(e){return fe("MuiCardContent",e)}ue("MuiCardContent",["root"]);const d3=e=>{const{classes:t}=e;return he({root:["root"]},c3,t)},f3=K("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),Mb=b.forwardRef(function(t,n){const r=xe({props:t,name:"MuiCardContent"}),{className:o,component:i="div",...s}=r,a={...r,component:i},l=d3(a);return y.jsx(f3,{as:i,className:Y(l.root,o),ownerState:a,ref:n,...s})});function p3(e){return fe("MuiCardMedia",e)}ue("MuiCardMedia",["root","media","img"]);const h3=e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e;return he({root:["root",n&&"media",r&&"img"]},p3,t)},m3=K("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{isMediaComponent:r,isImageComponent:o}=n;return[t.root,r&&t.media,o&&t.img]}})({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",variants:[{props:{isMediaComponent:!0},style:{width:"100%"}},{props:{isImageComponent:!0},style:{objectFit:"cover"}}]}),g3=["video","audio","picture","iframe","img"],v3=["picture","img"],y3=b.forwardRef(function(t,n){const r=xe({props:t,name:"MuiCardMedia"}),{children:o,className:i,component:s="div",image:a,src:l,style:u,...c}=r,d=g3.includes(s),f=!d&&a?{backgroundImage:`url("${a}")`,...u}:u,m={...r,component:s,isMediaComponent:d,isImageComponent:v3.includes(s)},h=h3(m);return y.jsx(m3,{className:Y(h.root,i),as:s,role:!d&&a?"img":void 0,ref:n,style:f,ownerState:m,src:d?a||l:void 0,...c,children:o})}),x3=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=he(l,ZR,t);return{...t,...u}},b3=K(bc,{shouldForwardProp:e=>hn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...yc(e,t),!n.disableUnderline&&t.underline]}})(Se(({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}},[`&.${Yr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Yr.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"},[`&.${Yr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Yr.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(.${Yr.disabled}, .${Yr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Yr.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Wt()).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}}]}})),C3=K(Cc,{name:"MuiFilledInput",slot:"Input",overridesResolver:xc})(Se(({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}}]}))),su=b.forwardRef(function(t,n){const r=xe({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,x={...r,disableUnderline:o,fullWidth:a,inputComponent:u,multiline:c,type:m},k=x3(r),g={root:{ownerState:x},input:{ownerState:x}},v=d??s?Pt(g,d??s):g,p=f.root??i.Root??b3,C=f.input??i.Input??C3;return y.jsx(Dh,{slots:{root:p,input:C},componentsProps:v,fullWidth:a,inputComponent:u,multiline:c,ref:n,type:m,...h,classes:k})});su&&(su.muiName="Input");function S3(e){return fe("MuiFormControl",e)}ue("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const w3=e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root",n!=="none"&&`margin${V(n)}`,r&&"fullWidth"]};return he(o,S3,t)},k3=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%"}}]}),$3=b.forwardRef(function(t,n){const r=xe({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:x="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:x,variant:k},p=w3(v),[C,w]=b.useState(()=>{let B=!1;return o&&b.Children.forEach(o,I=>{if(!dd(I,["Input","Select"]))return;const N=dd(I,["Select"])?I.props.input:I;N&&KR(N.props)&&(B=!0)}),B}),[P,$]=b.useState(()=>{let B=!1;return o&&b.Children.forEach(o,I=>{dd(I,["Input","Select"])&&(iu(I.props,!0)||iu(I.props.inputProps,!0))&&(B=!0)}),B}),[E,S]=b.useState(!1);l&&E&&S(!1);const T=c!==void 0&&!l?c:E;let A;const O=b.useMemo(()=>({adornedStart:C,setAdornedStart:w,color:s,disabled:l,error:u,filled:P,focused:T,fullWidth:d,hiddenLabel:f,size:x,onBlur:()=>{S(!1)},onEmpty:()=>{$(!1)},onFilled:()=>{$(!0)},onFocus:()=>{S(!0)},registerEffect:A,required:h,variant:k}),[C,s,l,u,P,T,d,f,A,h,x,k]);return y.jsx(Bh.Provider,{value:O,children:y.jsx(k3,{as:a,ownerState:v,className:Y(p.root,i),ref:n,...g,children:o})})});function P3(e){return fe("MuiFormHelperText",e)}const M0=ue("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var O0;const E3=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 he(u,P3,t)},T3=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]}})(Se(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${M0.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${M0.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}}]}))),R3=b.forwardRef(function(t,n){const r=xe({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,x=Oi(),k=Mi({props:r,muiFormControl:x,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=E3(g);return y.jsx(T3,{as:s,className:Y(v.root,i),ref:n,...h,ownerState:g,children:o===" "?O0||(O0=y.jsx("span",{className:"notranslate",children:"​"})):o})});function A3(e){return fe("MuiFormLabel",e)}const Ps=ue("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),M3=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 he(l,A3,t)},O3=K("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...e.color==="secondary"&&t.colorSecondary,...e.filled&&t.filled})})(Se(({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(Wt()).map(([t])=>({props:{color:t},style:{[`&.${Ps.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Ps.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Ps.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),I3=K("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(Se(({theme:e})=>({[`&.${Ps.error}`]:{color:(e.vars||e).palette.error.main}}))),j3=b.forwardRef(function(t,n){const r=xe({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=Oi(),x=Mi({props:r,muiFormControl:h,states:["color","required","focused","disabled","error","filled"]}),k={...r,color:x.color||"primary",component:a,disabled:x.disabled,error:x.error,filled:x.filled,focused:x.focused,required:x.required},g=M3(k);return y.jsxs(O3,{as:a,ownerState:k,className:Y(g.root,i),ref:n,...m,children:[o,x.required&&y.jsxs(I3,{ownerState:k,"aria-hidden":!0,className:g.asterisk,children:[" ","*"]})]})}),B3=e=>{const{classes:t,disableUnderline:n}=e,o=he({root:["root",!n&&"underline"],input:["input"]},qR,t);return{...t,...o}},D3=K(bc,{shouldForwardProp:e=>hn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...yc(e,t),!n.disableUnderline&&t.underline]}})(Se(({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"},[`&.${es.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${es.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(.${es.disabled}, .${es.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${es.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Wt()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),L3=K(Cc,{name:"MuiInput",slot:"Input",overridesResolver:xc})({}),au=b.forwardRef(function(t,n){const r=xe({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=B3(r),k={root:{ownerState:{disableUnderline:o}}},g=c??s?Pt(c??s,k):k,v=d.root??i.Root??D3,p=d.input??i.Input??L3;return y.jsx(Dh,{slots:{root:v,input:p},slotProps:g,fullWidth:a,inputComponent:l,multiline:u,ref:n,type:f,...m,classes:h})});au&&(au.muiName="Input");function F3(e){return fe("MuiInputLabel",e)}ue("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const z3=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=he(l,F3,t);return{...t,...u}},N3=K(j3,{shouldForwardProp:e=>hn(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ps.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]]}})(Se(({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)"}}]}))),_3=b.forwardRef(function(t,n){const r=xe({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,margin:i,shrink:s,variant:a,className:l,...u}=r,c=Oi();let d=s;typeof d>"u"&&c&&(d=c.filled||c.focused||c.adornedStart);const f=Mi({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=z3(m);return y.jsx(N3,{"data-shrink":d,ref:n,className:Y(h.root,l),...u,ownerState:m,classes:h})});function V3(e){return fe("MuiNativeSelect",e)}const Lh=ue("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),W3=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 he(a,V3,t)},Ob=K("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${Lh.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}}}]})),H3=K(Ob,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:hn,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${Lh.multiple}`]:t.multiple}]}})({}),Ib=K("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${Lh.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}}]})),U3=K(Ib,{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]}})({}),G3=b.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=W3(c);return y.jsxs(b.Fragment,{children:[y.jsx(H3,{ownerState:c,className:Y(d.select,r),disabled:o,ref:a||n,...u}),t.multiple?null:y.jsx(U3,{as:s,ownerState:c,className:d.icon})]})});var I0;const K3=K("fieldset",{shouldForwardProp:hn})({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%"}),Y3=K("legend",{shouldForwardProp:hn})(Se(({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 X3(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 y.jsx(K3,{"aria-hidden":!0,className:r,ownerState:l,...s,children:y.jsx(Y3,{ownerState:l,children:a?y.jsx("span",{children:o}):I0||(I0=y.jsx("span",{className:"notranslate",children:"​"}))})})}const q3=e=>{const{classes:t}=e,r=he({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},QR,t);return{...t,...r}},Q3=K(bc,{shouldForwardProp:e=>hn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:yc})(Se(({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 .${Tn.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},[`&.${Tn.focused} .${Tn.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(Wt()).map(([n])=>({props:{color:n},style:{[`&.${Tn.focused} .${Tn.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{"@media (hover: none)":{[`&:hover .${Tn.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${Tn.error} .${Tn.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Tn.disabled} .${Tn.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"}}]}})),Z3=K(X3,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(Se(({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}})),J3=K(Cc,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:xc})(Se(({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}}]}))),lu=b.forwardRef(function(t,n){var r;const o=xe({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=q3(o),x=Oi(),k=Mi({props:o,muiFormControl:x,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),g={...o,color:k.color||"primary",disabled:k.disabled,error:k.error,focused:k.focused,formControl:x,fullWidth:s,hiddenLabel:k.hiddenLabel,multiline:u,size:k.size,type:f},v=d.root??i.Root??Q3,p=d.input??i.Input??J3;return y.jsx(Dh,{slots:{root:v,input:p},renderSuffix:C=>y.jsx(Z3,{ownerState:g,className:h.notchedOutline,label:l!=null&&l!==""&&k.required?r||(r=y.jsxs(b.Fragment,{children:[l," ","*"]})):l,notched:typeof c<"u"?c:!!(C.startAdornment||C.filled||C.focused)}),fullWidth:s,inputComponent:a,multiline:u,ref:n,type:f,...m,classes:{...h,notchedOutline:null}})});lu&&(lu.muiName="Input");const e4=Te(y.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"),t4=Te(y.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 n4(e){return fe("MuiRating",e)}const ts=ue("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]);function r4(e){const t=e.toString().split(".")[1];return t?t.length:0}function xd(e,t){if(e==null)return e;const n=Math.round(e/t)*t;return Number(n.toFixed(r4(t)))}const o4=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 he(a,n4,t)},i4=K("span",{name:"MuiRating",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ts.visuallyHidden}`]:t.visuallyHidden},t.root,t[`size${V(n.size)}`],n.readOnly&&t.readOnly]}})(Se(({theme:e})=>({display:"inline-flex",position:"relative",fontSize:e.typography.pxToRem(24),color:"#faaf00",cursor:"pointer",textAlign:"left",width:"min-content",WebkitTapHighlightColor:"transparent",[`&.${ts.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${ts.focusVisible} .${ts.iconActive}`]:{outline:"1px solid #999"},[`& .${ts.visuallyHidden}`]:LP,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"}}]}))),jb=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%"}}]}),s4=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]}})(Se(({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}}]}))),a4=K("span",{name:"MuiRating",slot:"Decimal",shouldForwardProp:e=>Rh(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 l4(e){const{value:t,...n}=e;return y.jsx("span",{...n})}function j0(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:x,onClick:k,onFocus:g,readOnly:v,ownerState:p,ratingValue:C,ratingValueRounded:w}=e,P=s?d===C:d<=C,$=d<=a,E=d<=o,S=d===w,T=sc(),A=y.jsx(s4,{as:u,value:d,className:Y(t.icon,P?t.iconFilled:t.iconEmpty,$&&t.iconHover,E&&t.iconFocus,c&&t.iconActive),ownerState:{...p,iconEmpty:!P,iconFilled:P,iconHover:$,iconFocus:E,iconActive:c},children:r&&!P?r:l});return v?y.jsx("span",{...f,children:A}):y.jsxs(b.Fragment,{children:[y.jsxs(jb,{ownerState:{...p,emptyValueFocused:void 0},htmlFor:T,...f,children:[A,y.jsx("span",{className:t.visuallyHidden,children:i(d)})]}),y.jsx("input",{className:t.visuallyHidden,onFocus:g,onBlur:h,onChange:x,onClick:k,disabled:n,value:d,id:T,type:"radio",name:m,checked:S})]})}const u4=y.jsx(e4,{fontSize:"inherit"}),c4=y.jsx(t4,{fontSize:"inherit"});function d4(e){return`${e||"0"} Star${e!==1?"s":""}`}const Bb=b.forwardRef(function(t,n){const r=xe({name:"MuiRating",props:t}),{className:o,defaultValue:i=null,disabled:s=!1,emptyIcon:a=c4,emptyLabelText:l="Empty",getLabelText:u=d4,highlightSelectedOnly:c=!1,icon:d=u4,IconContainerComponent:f=l4,max:m=5,name:h,onChange:x,onChangeActive:k,onMouseLeave:g,onMouseMove:v,precision:p=1,readOnly:C=!1,size:w="medium",value:P,...$}=r,E=sc(h),[S,T]=Ff({controlled:P,default:i,name:"Rating"}),A=xd(S,p),O=vb(),[{hover:B,focus:I},N]=b.useState({hover:-1,focus:-1});let D=A;B!==-1&&(D=B),I!==-1&&(D=I);const[L,R]=b.useState(!1),j=b.useRef(),H=lt(j,n),Z=_=>{v&&v(_);const X=j.current,{right:be,left:se,width:de}=X.getBoundingClientRect();let it;O?it=(be-_.clientX)/de:it=(_.clientX-se)/de;let He=xd(m*it+p/2,p);He=ab(He,p,m),N(Ae=>Ae.hover===He&&Ae.focus===He?Ae:{hover:He,focus:He}),R(!1),k&&B!==He&&k(_,He)},q=_=>{g&&g(_);const X=-1;N({hover:X,focus:X}),k&&B!==X&&k(_,X)},re=_=>{let X=_.target.value===""?null:parseFloat(_.target.value);B!==-1&&(X=B),T(X),x&&x(_,X)},te=_=>{_.clientX===0&&_.clientY===0||(N({hover:-1,focus:-1}),T(null),x&&parseFloat(_.target.value)===A&&x(_,null))},me=_=>{eu(_.target)&&R(!0);const X=parseFloat(_.target.value);N(be=>({hover:be.hover,focus:X}))},ge=_=>{if(B!==-1)return;eu(_.target)||R(!1);const X=-1;N(be=>({hover:be.hover,focus:X}))},[oe,W]=b.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:C,size:w},U=o4(Q);return y.jsxs(i4,{ref:H,onMouseMove:Z,onMouseLeave:q,className:Y(U.root,o,C&&"MuiRating-readOnly"),ownerState:Q,role:C?"img":null,"aria-label":C?u(D):null,...$,children:[Array.from(new Array(m)).map((_,X)=>{const be=X+1,se={classes:U,disabled:s,emptyIcon:a,focus:I,getLabelText:u,highlightSelectedOnly:c,hover:B,icon:d,IconContainerComponent:f,name:E,onBlur:ge,onChange:re,onClick:te,onFocus:me,ratingValue:D,ratingValueRounded:A,readOnly:C,ownerState:Q},de=be===Math.ceil(D)&&(B!==-1||I!==-1);if(p<1){const it=Array.from(new Array(1/p));return y.jsx(a4,{className:Y(U.decimal,de&&U.iconActive),ownerState:Q,iconActive:de,children:it.map((He,Ae)=>{const qe=xd(be-1+(Ae+1)*p,p);return y.jsx(j0,{...se,isActive:!1,itemValue:qe,labelProps:{style:it.length-1===Ae?{}:{width:qe===D?`${(Ae+1)*p*100}%`:"0%",overflow:"hidden",position:"absolute"}}},qe)})},be)}return y.jsx(j0,{...se,isActive:de,itemValue:be},be)}),!C&&!s&&y.jsxs(jb,{className:Y(U.label,U.labelEmptyValue),ownerState:Q,children:[y.jsx("input",{className:U.visuallyHidden,value:"",id:`${E}-empty`,type:"radio",name:E,checked:A==null,onFocus:()=>W(!0),onBlur:()=>W(!1),onChange:re}),y.jsx("span",{className:U.visuallyHidden,children:l})]})]})});function f4(e){return fe("MuiSelect",e)}const ns=ue("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var B0;const p4=K(Ob,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${ns.select}`]:t.select},{[`&.${ns.select}`]:t[n.variant]},{[`&.${ns.error}`]:t.error},{[`&.${ns.multiple}`]:t.multiple}]}})({[`&.${ns.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),h4=K(Ib,{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]}})({}),m4=K("input",{shouldForwardProp:e=>Rh(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 D0(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function g4(e){return e==null||typeof e=="string"&&!e.trim()}const v4=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 he(a,f4,t)},y4=b.forwardRef(function(t,n){var Ni;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:x,labelId:k,MenuProps:g={},multiple:v,name:p,onBlur:C,onChange:w,onClose:P,onFocus:$,onOpen:E,open:S,readOnly:T,renderValue:A,SelectDisplayProps:O={},tabIndex:B,type:I,value:N,variant:D="standard",...L}=t,[R,j]=Ff({controlled:N,default:c,name:"Select"}),[H,Z]=Ff({controlled:S,default:u,name:"Select"}),q=b.useRef(null),re=b.useRef(null),[te,me]=b.useState(null),{current:ge}=b.useRef(S!=null),[oe,W]=b.useState(),Q=lt(n,x),U=b.useCallback(ne=>{re.current=ne,ne&&me(ne)},[]),_=te==null?void 0:te.parentNode;b.useImperativeHandle(Q,()=>({focus:()=>{re.current.focus()},node:q.current,value:R}),[R]),b.useEffect(()=>{u&&H&&te&&!ge&&(W(s?null:_.clientWidth),re.current.focus())},[te,s]),b.useEffect(()=>{i&&re.current.focus()},[i]),b.useEffect(()=>{if(!k)return;const ne=Gt(re.current).getElementById(k);if(ne){const Oe=()=>{getSelection().isCollapsed&&re.current.focus()};return ne.addEventListener("click",Oe),()=>{ne.removeEventListener("click",Oe)}}},[k]);const X=(ne,Oe)=>{ne?E&&E(Oe):P&&P(Oe),ge||(W(s?null:_.clientWidth),Z(ne))},be=ne=>{ne.button===0&&(ne.preventDefault(),re.current.focus(),X(!0,ne))},se=ne=>{X(!1,ne)},de=b.Children.toArray(a),it=ne=>{const Oe=de.find(pt=>pt.props.value===ne.target.value);Oe!==void 0&&(j(Oe.props.value),w&&w(ne,Oe))},He=ne=>Oe=>{let pt;if(Oe.currentTarget.hasAttribute("tabindex")){if(v){pt=Array.isArray(R)?R.slice():[];const $o=R.indexOf(ne.props.value);$o===-1?pt.push(ne.props.value):pt.splice($o,1)}else pt=ne.props.value;if(ne.props.onClick&&ne.props.onClick(Oe),R!==pt&&(j(pt),w)){const $o=Oe.nativeEvent||Oe,$m=new $o.constructor($o.type,$o);Object.defineProperty($m,"target",{writable:!0,value:{value:pt,name:p}}),w($m,ne)}v||X(!1,Oe)}},Ae=ne=>{T||[" ","ArrowUp","ArrowDown","Enter"].includes(ne.key)&&(ne.preventDefault(),X(!0,ne))},qe=te!==null&&H,$n=ne=>{!qe&&C&&(Object.defineProperty(ne,"target",{writable:!0,value:{value:R,name:p}}),C(ne))};delete L["aria-invalid"];let Me,Wn;const J=[];let ft=!1;(iu({value:R})||f)&&(A?Me=A(R):ft=!0);const Li=de.map(ne=>{if(!b.isValidElement(ne))return null;let Oe;if(v){if(!Array.isArray(R))throw new Error(ar(2));Oe=R.some(pt=>D0(pt,ne.props.value)),Oe&&ft&&J.push(ne.props.children)}else Oe=D0(R,ne.props.value),Oe&&ft&&(Wn=ne.props.children);return b.cloneElement(ne,{"aria-selected":Oe?"true":"false",onClick:He(ne),onKeyUp:pt=>{pt.key===" "&&pt.preventDefault(),ne.props.onKeyUp&&ne.props.onKeyUp(pt)},role:"option",selected:Oe,value:void 0,"data-value":ne.props.value})});ft&&(v?J.length===0?Me=null:Me=J.reduce((ne,Oe,pt)=>(ne.push(Oe),pt{const{classes:t}=e;return t},Fh={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>hn(e)&&e!=="variant",slot:"Root"},b4=K(au,Fh)(""),C4=K(lu,Fh)(""),S4=K(su,Fh)(""),Db=b.forwardRef(function(t,n){const r=Cb({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:i,classes:s={},className:a,defaultOpen:l=!1,displayEmpty:u=!1,IconComponent:c=JR,id:d,input:f,inputProps:m,label:h,labelId:x,MenuProps:k,multiple:g=!1,native:v=!1,onClose:p,onOpen:C,open:w,renderValue:P,SelectDisplayProps:$,variant:E="outlined",...S}=r,T=v?G3:y4,A=Oi(),O=Mi({props:r,muiFormControl:A,states:["variant","error"]}),B=O.variant||E,I={...r,variant:B,classes:s},N=x4(I),{root:D,...L}=N,R=f||{standard:y.jsx(b4,{ownerState:I}),outlined:y.jsx(C4,{label:h,ownerState:I}),filled:y.jsx(S4,{ownerState:I})}[B],j=lt(n,xa(R));return y.jsx(b.Fragment,{children:b.cloneElement(R,{inputComponent:T,inputProps:{children:i,error:O.error,IconComponent:c,variant:B,type:void 0,multiple:g,...v?{id:d}:{autoWidth:o,defaultOpen:l,displayEmpty:u,labelId:x,MenuProps:k,onClose:p,onOpen:C,open:w,renderValue:P,SelectDisplayProps:{id:d,...$}},...m,classes:m?Pt(L,m.classes):L,...f?f.props.inputProps:{}},...(g&&v||u)&&B==="outlined"?{notched:!0}:{},ref:j,className:Y(R.props.className,a,N.root),...!f&&{variant:B},...S})})});Db.muiName="Select";function w4(e){return fe("MuiTextField",e)}ue("MuiTextField",["root"]);const k4={standard:au,filled:su,outlined:lu},$4=e=>{const{classes:t}=e;return he({root:["root"]},w4,t)},P4=K($3,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),bd=b.forwardRef(function(t,n){const r=xe({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:x,InputLabelProps:k,inputProps:g,InputProps:v,inputRef:p,label:C,maxRows:w,minRows:P,multiline:$=!1,name:E,onBlur:S,onChange:T,onFocus:A,placeholder:O,required:B=!1,rows:I,select:N=!1,SelectProps:D,slots:L={},slotProps:R={},type:j,value:H,variant:Z="outlined",...q}=r,re={...r,autoFocus:i,color:l,disabled:c,error:d,fullWidth:m,multiline:$,required:B,select:N,variant:Z},te=$4(re),me=sc(x),ge=h&&me?`${me}-helper-text`:void 0,oe=C&&me?`${me}-label`:void 0,W=k4[Z],Q={slots:L,slotProps:{input:v,inputLabel:k,htmlInput:g,formHelperText:f,select:D,...R}},U={},_=Q.slotProps.inputLabel;Z==="outlined"&&(_&&typeof _.shrink<"u"&&(U.notched=_.shrink),U.label=C),N&&((!D||!D.native)&&(U.id=void 0),U["aria-describedby"]=void 0);const[X,be]=sn("input",{elementType:W,externalForwardedProps:Q,additionalProps:U,ownerState:re}),[se,de]=sn("inputLabel",{elementType:_3,externalForwardedProps:Q,ownerState:re}),[it,He]=sn("htmlInput",{elementType:"input",externalForwardedProps:Q,ownerState:re}),[Ae,qe]=sn("formHelperText",{elementType:R3,externalForwardedProps:Q,ownerState:re}),[$n,Me]=sn("select",{elementType:Db,externalForwardedProps:Q,ownerState:re}),Wn=y.jsx(X,{"aria-describedby":ge,autoComplete:o,autoFocus:i,defaultValue:u,fullWidth:m,multiline:$,name:E,rows:I,maxRows:w,minRows:P,type:j,value:H,id:me,inputRef:p,onBlur:S,onChange:T,onFocus:A,placeholder:O,inputProps:He,slots:{input:L.htmlInput?it:void 0},...be});return y.jsxs(P4,{className:Y(te.root,a),disabled:c,error:d,fullWidth:m,ref:n,required:B,color:l,variant:Z,ownerState:re,...q,children:[C!=null&&C!==""&&y.jsx(se,{htmlFor:me,id:oe,...de,children:C}),N?y.jsx($n,{"aria-describedby":ge,id:me,labelId:oe,value:H,input:Wn,...Me,children:s}):Wn,h&&y.jsx(Ae,{id:ge,...qe,children:h})]})});function E4(){const{light:e,toggle:t}=b.useContext(kn);return y.jsxs(Lr,{onClick:t,sx:{color:"white"},children:["Swith to ",e?"Dark":"Light"," Mode"]})}function T4(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 na(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const qf=e=>Array.isArray(e);function Lb(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 zh(e,t,n,r){if(typeof t=="function"){const[o,i]=L0(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]=L0(r);t=t(n!==void 0?n:e.custom,o,i)}return t}function Sc(e,t,n){const r=e.getProps();return zh(r,t,n!==void 0?n:r.custom,e)}const Nh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],_h=["initial",...Nh],Ca=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ur=new Set(Ca),Zn=e=>e*1e3,Jn=e=>e/1e3,R4={type:"spring",stiffness:500,damping:25,restSpeed:10},A4=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),M4={type:"keyframes",duration:.8},O4={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},I4=(e,{keyframes:t})=>t.length>2?M4:Ur.has(e)?e.startsWith("scale")?A4(t[1]):R4:O4;function Vh(e,t){return e[t]||e.default||e}const j4={skipAnimations:!1,useManualTiming:!1},B4=e=>e!==null;function wc(e,{repeat:t,repeatType:n="loop"},r){const o=e.filter(B4),i=t&&n!=="loop"&&t%2===1?0:o.length-1;return!i||r===void 0?o[i]:r}const Et=e=>e;function D4(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 Ja=["read","resolveKeyframes","update","preRender","render","postRender"],L4=40;function Fb(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,s=Ja.reduce((g,v)=>(g[v]=D4(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,L4),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:Ja.reduce((g,v)=>{const p=s[v];return g[v]=(C,w=!1,P=!1)=>(n||h(),p.schedule(C,w,P)),g},{}),cancel:g=>{for(let v=0;v(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,F4=1e-7,z4=12;function N4(e,t,n,r,o){let i,s,a=0;do s=t+(n-t)/2,i=zb(s,r,o)-e,i>0?n=s:t=s;while(Math.abs(i)>F4&&++aN4(i,0,1,e,n);return i=>i===0||i===1?i:zb(o(i),t,r)}const Nb=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,_b=e=>t=>1-e(1-t),Vb=Sa(.33,1.53,.69,.99),Wh=_b(Vb),Wb=Nb(Wh),Hb=e=>(e*=2)<1?.5*Wh(e):.5*(2-Math.pow(2,-10*(e-1))),Hh=e=>1-Math.sin(Math.acos(e)),Ub=_b(Hh),Gb=Nb(Hh),Kb=e=>/^0[^.\s]+$/u.test(e);function _4(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Kb(e):!0}let Qf=Et;const Yb=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Xb=e=>t=>typeof t=="string"&&t.startsWith(e),qb=Xb("--"),V4=Xb("var(--"),Uh=e=>V4(e)?W4.test(e.split("/*")[0].trim()):!1,W4=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,H4=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function U4(e){const t=H4.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}function Qb(e,t,n=1){const[r,o]=U4(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const s=i.trim();return Yb(s)?parseFloat(s):s}return Uh(o)?Qb(o,t,n+1):o}const zr=(e,t,n)=>n>t?t:ntypeof e=="number",parse:parseFloat,transform:e=>e},oa={...Ii,transform:e=>zr(0,1,e)},el={...Ii,default:1},wa=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),mr=wa("deg"),Fn=wa("%"),ee=wa("px"),G4=wa("vh"),K4=wa("vw"),F0={...Fn,parse:e=>Fn.parse(e)/100,transform:e=>Fn.transform(e*100)},Y4=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),z0=e=>e===Ii||e===ee,N0=(e,t)=>parseFloat(e.split(", ")[t]),_0=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/u);if(o)return N0(o[1],t);{const i=r.match(/^matrix\((.+)\)$/u);return i?N0(i[1],e):0}},X4=new Set(["x","y","z"]),q4=Ca.filter(e=>!X4.has(e));function Q4(e){const t=[];return q4.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Ci={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:_0(4,13),y:_0(5,14)};Ci.translateX=Ci.x;Ci.translateY=Ci.y;const Zb=e=>t=>t.test(e),Z4={test:e=>e==="auto",parse:e=>e},Jb=[Ii,ee,Fn,mr,K4,G4,Z4],V0=e=>Jb.find(Zb(e)),fo=new Set;let Zf=!1,Jf=!1;function eC(){if(Jf){const e=Array.from(fo).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const o=Q4(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,fo.forEach(e=>e.complete()),fo.clear()}function tC(){fo.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Jf=!0)})}function J4(){tC(),eC()}class Gh{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?(fo.add(this),Zf||(Zf=!0,ke.read(tC),ke.resolveKeyframes(eC))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:o}=this;for(let i=0;iMath.round(e*1e5)/1e5,Kh=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function eA(e){return e==null}const tA=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Yh=(e,t)=>n=>!!(typeof n=="string"&&tA.test(n)&&n.startsWith(e)||t&&!eA(n)&&Object.prototype.hasOwnProperty.call(n,t)),nC=(e,t,n)=>r=>{if(typeof r!="string")return r;const[o,i,s,a]=r.match(Kh);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},nA=e=>zr(0,255,e),Sd={...Ii,transform:e=>Math.round(nA(e))},lo={test:Yh("rgb","red"),parse:nC("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Sd.transform(e)+", "+Sd.transform(t)+", "+Sd.transform(n)+", "+Es(oa.transform(r))+")"};function rA(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:Yh("#"),parse:rA,transform:lo.transform},qo={test:Yh("hsl","hue"),parse:nC("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Fn.transform(Es(t))+", "+Fn.transform(Es(n))+", "+Es(oa.transform(r))+")"},wt={test:e=>lo.test(e)||ep.test(e)||qo.test(e),parse:e=>lo.test(e)?lo.parse(e):qo.test(e)?qo.parse(e):ep.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?lo.transform(e):qo.transform(e)},oA=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function iA(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Kh))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(oA))===null||n===void 0?void 0:n.length)||0)>0}const rC="number",oC="color",sA="var",aA="var(",W0="${}",lA=/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 ia(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let i=0;const a=t.replace(lA,l=>(wt.test(l)?(r.color.push(i),o.push(oC),n.push(wt.parse(l))):l.startsWith(aA)?(r.var.push(i),o.push(sA),n.push(l)):(r.number.push(i),o.push(rC),n.push(parseFloat(l))),++i,W0)).split(W0);return{values:n,split:a,indexes:r,types:o}}function iC(e){return ia(e).values}function sC(e){const{split:t,types:n}=ia(e),r=t.length;return o=>{let i="";for(let s=0;stypeof e=="number"?0:e;function cA(e){const t=iC(e);return sC(e)(t.map(uA))}const Nr={test:iA,parse:iC,createTransformer:sC,getAnimatableNone:cA},dA=new Set(["brightness","contrast","saturate","opacity"]);function fA(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Kh)||[];if(!r)return e;const o=n.replace(r,"");let i=dA.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const pA=/\b([a-z-]*)\(.*?\)/gu,tp={...Nr,getAnimatableNone:e=>{const t=e.match(pA);return t?t.map(fA).join(" "):e}},hA={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},mA={rotate:mr,rotateX:mr,rotateY:mr,rotateZ:mr,scale:el,scaleX:el,scaleY:el,scaleZ:el,skew:mr,skewX:mr,skewY:mr,distance:ee,translateX:ee,translateY:ee,translateZ:ee,x:ee,y:ee,z:ee,perspective:ee,transformPerspective:ee,opacity:oa,originX:F0,originY:F0,originZ:ee},H0={...Ii,transform:Math.round},Xh={...hA,...mA,zIndex:H0,size:ee,fillOpacity:oa,strokeOpacity:oa,numOctaves:H0},gA={...Xh,color:wt,backgroundColor:wt,outlineColor:wt,fill:wt,stroke:wt,borderColor:wt,borderTopColor:wt,borderRightColor:wt,borderBottomColor:wt,borderLeftColor:wt,filter:tp,WebkitFilter:tp},qh=e=>gA[e];function aC(e,t){let n=qh(e);return n!==tp&&(n=Nr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const vA=new Set(["auto","none","0"]);function yA(e,t,n){let r=0,o;for(;r{n.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function Qh(e){return typeof e=="function"}let xl;function xA(){xl=void 0}const zn={now:()=>(xl===void 0&&zn.set(mt.isProcessing||j4.useManualTiming?mt.timestamp:performance.now()),xl),set:e=>{xl=e,queueMicrotask(xA)}},U0=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Nr.test(e)||e==="0")&&!e.startsWith("url("));function bA(e){const t=e[0];if(e.length===1)return!0;for(let n=0;nSA?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&J4(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=zn.now(),this.hasAttemptedResolve=!0;const{name:r,type:o,velocity:i,delay:s,onComplete:a,onUpdate:l,isGenerator:u}=this.options;if(!u&&!CA(t,r,o,i))if(s)this.options.duration=0;else{l==null||l(wc(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 cC(e,t){return t?e*(1e3/t):0}const wA=5;function dC(e,t,n){const r=Math.max(t-wA,0);return cC(n-e(r),t-r)}const wd=.001,kA=.01,$A=10,PA=.05,EA=1;function TA({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i,s=1-t;s=zr(PA,EA,s),e=zr(kA,$A,Jn(e)),s<1?(o=u=>{const c=u*s,d=c*e,f=c-n,m=np(u,s),h=Math.exp(-d);return wd-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),x=np(Math.pow(u,2),s);return(-o(u)+wd>0?-1:1)*((f-m)*h)/x}):(o=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-wd+c*d},i=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=AA(o,i,a);if(e=Zn(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 RA=12;function AA(e,t,n){let r=n;for(let o=1;oe[n]!==void 0)}function IA(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!G0(e,OA)&&G0(e,MA)){const n=TA(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function fC({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}=IA({...r,velocity:-Jn(r.velocity||0)}),m=d||0,h=l/(2*Math.sqrt(a*u)),x=i-o,k=Jn(Math.sqrt(a/u)),g=Math.abs(x)<5;n||(n=g?.01:2),t||(t=g?.005:.5);let v;if(h<1){const p=np(k,h);v=C=>{const w=Math.exp(-h*k*C);return i-w*((m+h*k*x)/p*Math.sin(p*C)+x*Math.cos(p*C))}}else if(h===1)v=p=>i-Math.exp(-k*p)*(x+(m+k*x)*p);else{const p=k*Math.sqrt(h*h-1);v=C=>{const w=Math.exp(-h*k*C),P=Math.min(p*C,300);return i-w*((m+h*k*x)*Math.sinh(P)+p*x*Math.cosh(P))/p}}return{calculatedDuration:f&&c||null,next:p=>{const C=v(p);if(f)s.done=p>=c;else{let w=0;h<1&&(w=p===0?Zn(m):dC(v,p,C));const P=Math.abs(w)<=n,$=Math.abs(i-C)<=t;s.done=P&&$}return s.value=s.done?i:C,s}}}function K0({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=E=>a!==void 0&&El,h=E=>a===void 0?l:l===void 0||Math.abs(a-E)-x*Math.exp(-E/r),p=E=>g+v(E),C=E=>{const S=v(E),T=p(E);f.done=Math.abs(S)<=u,f.value=f.done?g:T};let w,P;const $=E=>{m(f.value)&&(w=E,P=fC({keyframes:[f.value,h(f.value)],velocity:dC(p,E,f.value),damping:o,stiffness:i,restDelta:u,restSpeed:c}))};return $(0),{calculatedDuration:null,next:E=>{let S=!1;return!P&&w===void 0&&(S=!0,C(E),$(E)),w!==void 0&&E>=w?P.next(E-w):(!S&&C(E),f)}}}const jA=Sa(.42,0,1,1),BA=Sa(0,0,.58,1),pC=Sa(.42,0,.58,1),DA=e=>Array.isArray(e)&&typeof e[0]!="number",Y0={linear:Et,easeIn:jA,easeInOut:pC,easeOut:BA,circIn:Hh,circInOut:Gb,circOut:Ub,backIn:Wh,backInOut:Wb,backOut:Vb,anticipate:Hb},X0=e=>{if(Array.isArray(e)){Qf(e.length===4);const[t,n,r,o]=e;return Sa(t,n,r,o)}else if(typeof e=="string")return Qf(Y0[e]!==void 0),Y0[e];return e},LA=(e,t)=>n=>t(e(n)),er=(...e)=>e.reduce(LA),Si=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},_e=(e,t,n)=>e+(t-e)*n;function kd(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 FA({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=kd(l,a,e+1/3),i=kd(l,a,e),s=kd(l,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(s*255),alpha:r}}function uu(e,t){return n=>n>0?t:e}const $d=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},zA=[ep,lo,qo],NA=e=>zA.find(t=>t.test(e));function q0(e){const t=NA(e);if(!t)return!1;let n=t.parse(e);return t===qo&&(n=FA(n)),n}const Q0=(e,t)=>{const n=q0(e),r=q0(t);if(!n||!r)return uu(e,t);const o={...n};return i=>(o.red=$d(n.red,r.red,i),o.green=$d(n.green,r.green,i),o.blue=$d(n.blue,r.blue,i),o.alpha=_e(n.alpha,r.alpha,i),lo.transform(o))},rp=new Set(["none","hidden"]);function _A(e,t){return rp.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function VA(e,t){return n=>_e(e,t,n)}function Zh(e){return typeof e=="number"?VA:typeof e=="string"?Uh(e)?uu:wt.test(e)?Q0:UA:Array.isArray(e)?hC:typeof e=="object"?wt.test(e)?Q0:WA:uu}function hC(e,t){const n=[...e],r=n.length,o=e.map((i,s)=>Zh(i)(i,t[s]));return i=>{for(let s=0;s{for(const i in r)n[i]=r[i](o);return n}}function HA(e,t){var n;const r=[],o={color:0,var:0,number:0};for(let i=0;i{const n=Nr.createTransformer(t),r=ia(e),o=ia(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?_A(e,t):er(hC(HA(r,o),o.values),n):uu(e,t)};function mC(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?_e(e,t,n):Zh(e)(e,t)}function GA(e,t,n){const r=[],o=n||mC,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=GA(t,r,o),a=s.length,l=u=>{let c=0;if(a>1)for(;cl(zr(e[0],e[i-1],u)):l}function YA(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Si(0,t,r);e.push(_e(n,1,o))}}function XA(e){const t=[0];return YA(t,e.length-1),t}function qA(e,t){return e.map(n=>n*t)}function QA(e,t){return e.map(()=>t||pC).splice(0,e.length-1)}function cu({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=DA(r)?r.map(X0):X0(r),i={done:!1,value:t[0]},s=qA(n&&n.length===t.length?n:XA(t),e),a=KA(s,t,{ease:Array.isArray(o)?o:QA(t,o)});return{calculatedDuration:e,next:l=>(i.value=a(l),i.done=l>=e,i)}}const Z0=2e4;function ZA(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t=Z0?1/0:t}const JA=e=>{const t=({timestamp:n})=>e(n);return{start:()=>ke.update(t,!0),stop:()=>Fr(t),now:()=>mt.isProcessing?mt.timestamp:zn.now()}},eM={decay:K0,inertia:K0,tween:cu,keyframes:cu,spring:fC},tM=e=>e/100;class Jh extends uC{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)||Gh,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=Qh(n)?n:eM[n]||cu;let l,u;a!==cu&&typeof t[0]!="number"&&(l=er(tM,mC(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=ZA(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:E}=this.options;return{done:!0,value:E[E.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:x,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,C=i;if(m){const E=Math.min(this.currentTime,c)/d;let S=Math.floor(E),T=E%1;!T&&E>=1&&(T=1),T===1&&S--,S=Math.min(S,m+1),!!(S%2)&&(h==="reverse"?(T=1-T,x&&(T-=x/d)):h==="mirror"&&(C=s)),p=zr(0,1,T)*d}const w=v?{done:!1,value:l[0]}:C.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=wc(l,this.options,o)),k&&k(w.value),$&&this.finish(),w}get duration(){const{resolved:t}=this;return t?Jn(t.calculatedDuration):0}get time(){return Jn(this.currentTime)}set time(t){t=Zn(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=Jn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=JA,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 gC=new Set(["opacity","clipPath","filter","transform"]),vC=e=>Array.isArray(e)&&typeof e[0]=="number",nM=10,rM=(e,t)=>{let n="";const r=Math.max(Math.round(t/nM),2);for(let o=0;o(t===void 0&&(t=e()),t)}const oM={linearEasing:void 0};function iM(e,t){const n=em(e);return()=>{var r;return(r=oM[t])!==null&&r!==void 0?r:n()}}const du=iM(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");function yC(e){return!!(typeof e=="function"&&du()||!e||typeof e=="string"&&(e in op||du())||vC(e)||Array.isArray(e)&&e.every(yC))}const ps=([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:ps([0,.65,.55,1]),circOut:ps([.55,0,1,.45]),backIn:ps([.31,.01,.66,-.59]),backOut:ps([.33,1.53,.69,.99])};function xC(e,t){if(e)return typeof e=="function"&&du()?rM(e,t):vC(e)?ps(e):Array.isArray(e)?e.map(n=>xC(n,t)||op.easeOut):op[e]}function sM(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=xC(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 J0(e,t){e.timeline=t,e.onfinish=null}const aM=em(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),fu=10,lM=2e4;function uM(e){return Qh(e.type)||e.type==="spring"||!yC(e.ease)}function cM(e,t){const n=new Jh({...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"&&du()&&dM(s)&&(s=bC[s]),uM(this.options)){const{onComplete:f,onUpdate:m,motionValue:h,element:x,...k}=this.options,g=cM(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=sM(l.owner.current,u,t,{...this.options,duration:o,times:i,ease:s});return d.startTime=c??this.calcStartTime(),this.pendingTimeline?(J0(d,this.pendingTimeline),this.pendingTimeline=void 0):d.onfinish=()=>{const{onComplete:f}=this.options;l.set(wc(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 Jn(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return Jn(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=Zn(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 Et;const{animation:r}=n;J0(r,t)}return Et}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 Jh({...m,keyframes:r,duration:o,type:i,ease:s,times:a,isGenerator:!0}),x=Zn(this.time);u.setWithVelocity(h.sample(x-fu).value,h.sample(x).value,fu)}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 aM()&&r&&gC.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!o&&i!=="mirror"&&s!==0&&a!=="inertia"}}const fM=em(()=>window.ScrollTimeline!==void 0);class pM{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;rfM()&&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 hM({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 tm=(e,t,n,r={},o,i)=>s=>{const a=Vh(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-Zn(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};hM(a)||(c={...c,...I4(e,c)}),c.duration&&(c.duration=Zn(c.duration)),c.repeatDelay&&(c.repeatDelay=Zn(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=wc(c.keyframes,a);if(f!==void 0)return ke.update(()=>{c.onUpdate(f),c.onComplete()}),new pM([])}return!i&&ev.supports(c)?new ev(c):new Jh(c)},mM=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),gM=e=>qf(e)?e[e.length-1]||0:e;function ka(e,t){e.indexOf(t)===-1&&e.push(t)}function nm(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class rm{constructor(){this.subscriptions=[]}add(t){return ka(this.subscriptions,t),()=>nm(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 CC{constructor(t,n={}){this.version="11.9.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,o=!0)=>{const i=zn.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=zn.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=vM(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 rm);const r=this.events[t].add(n);return t==="change"?()=>{r(),ke.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=zn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>tv)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,tv);return cC(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 sa(e,t){return new CC(e,t)}function yM(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,sa(n))}function xM(e,t){const n=Sc(e,t);let{transitionEnd:r={},transition:o={},...i}=n||{};i={...i,...r};for(const s in i){const a=gM(i[s]);yM(e,s,a)}}const kc=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),bM="framerAppearId",SC="data-"+kc(bM);function wC(e){return e.props[SC]}function kC(e){if(Ur.has(e))return"transform";if(gC.has(e))return kc(e)}class CM extends CC{constructor(){super(...arguments),this.values=[]}add(t){const n=kC(t);n&&(ka(this.values,n),this.update())}update(){this.set(this.values.length?this.values.join(", "):"auto")}}const $t=e=>!!(e&&e.getVelocity);function SM(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 CM("auto"),e.addValue("willChange",r)),SM(r))return r.add(t)}function wM({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function $C(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&&wM(c,d))continue;const h={delay:n,...Vh(s||{},d)};let x=!1;if(window.MotionHandoffAnimation){const g=wC(e);if(g){const v=window.MotionHandoffAnimation(g,d,ke);v!==null&&(h.startTime=v,x=!0)}}ip(e,d),f.start(tm(d,f,m,e.shouldReduceMotion&&Ur.has(d)?{type:!1}:h,e,x));const k=f.animation;k&&u.push(k)}return a&&Promise.all(u).then(()=>{ke.update(()=>{a&&xM(e,a)})}),u}function sp(e,t,n={}){var r;const o=Sc(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($C(e,o,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=i;return kM(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 kM(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($M).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 $M(e,t){return e.sortNodePosition(t)}function PM(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"?Sc(e,t,n.custom):t;r=Promise.all($C(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const EM=_h.length;function PC(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?PC(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})=>PM(e,n,r)))}function MM(e){let t=AM(e),n=nv(),r=!0;const o=l=>(u,c)=>{var d;const f=Sc(e,c,l==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:m,transitionEnd:h,...x}=f;u={...u,...x,...h}}return u};function i(l){t=l(e)}function s(l){const{props:u}=e,c=PC(e.parent)||{},d=[],f=new Set;let m={},h=1/0;for(let k=0;kh&&C,S=!1;const T=Array.isArray(p)?p:[p];let A=T.reduce(o(g),{});w===!1&&(A={});const{prevResolvedValues:O={}}=v,B={...O,...A},I=L=>{E=!0,f.has(L)&&(S=!0,f.delete(L)),v.needsAnimating[L]=!0;const R=e.getValue(L);R&&(R.liveStyle=!1)};for(const L in B){const R=A[L],j=O[L];if(m.hasOwnProperty(L))continue;let H=!1;qf(R)&&qf(j)?H=!Lb(R,j):H=R!==j,H?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&&(E=!1),E&&(!(P&&$)||S)&&d.push(...T.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 x=!!d.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(x=!1),r=!1,x?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=nv(),r=!0}}}function OM(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Lb(t,e):!1}function Xr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nv(){return{animate:Xr(!0),whileInView:Xr(),whileHover:Xr(),whileTap:Xr(),whileDrag:Xr(),whileFocus:Xr(),exit:Xr()}}class Gr{constructor(t){this.isMounted=!1,this.node=t}update(){}}class IM extends Gr{constructor(t){super(t),t.animationState||(t.animationState=MM(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();na(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 jM=0;class BM extends Gr{constructor(){super(...arguments),this.id=jM++}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 DM={animation:{Feature:IM},exit:{Feature:BM}},EC=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function $c(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const LM=e=>t=>EC(t)&&e(t,$c(t));function qn(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function tr(e,t,n,r){return qn(e,t,LM(n),r)}const rv=(e,t)=>Math.abs(e-t);function FM(e,t){const n=rv(e.x,t.x),r=rv(e.y,t.y);return Math.sqrt(n**2+r**2)}class TC{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=FM(d.offset,{x:0,y:0})>=3;if(!f&&!m)return;const{point:h}=d,{timestamp:x}=mt;this.history.push({...h,timestamp:x});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=Pd(f,this.transformPagePoint),ke.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:m,onSessionEnd:h,resumeAnimation:x}=this.handlers;if(this.dragSnapToOrigin&&x&&x(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const k=Ed(d.type==="pointercancel"?this.lastMoveEventInfo:Pd(f,this.transformPagePoint),this.history);this.startEvent&&m&&m(d,k),h&&h(d,k)},!EC(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.contextWindow=o||window;const s=$c(t),a=Pd(s,this.transformPagePoint),{point:l}=a,{timestamp:u}=mt;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,Ed(a,this.history)),this.removeListeners=er(tr(this.contextWindow,"pointermove",this.handlePointerMove),tr(this.contextWindow,"pointerup",this.handlePointerUp),tr(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Fr(this.updatePoint)}}function Pd(e,t){return t?{point:t(e.point)}:e}function ov(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ed({point:e},t){return{point:e,delta:ov(e,RC(t)),offset:ov(e,zM(t)),velocity:NM(t,.1)}}function zM(e){return e[0]}function RC(e){return e[e.length-1]}function NM(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=RC(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Zn(t)));)n--;if(!r)return{x:0,y:0};const i=Jn(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 AC(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const iv=AC("dragHorizontal"),sv=AC("dragVertical");function MC(e){let t=!1;if(e==="y")t=sv();else if(e==="x")t=iv();else{const n=iv(),r=sv();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function OC(){const e=MC(!0);return e?(e(),!1):!0}function Qo(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}const IC=1e-4,_M=1-IC,VM=1+IC,jC=.01,WM=0-jC,HM=0+jC;function Yt(e){return e.max-e.min}function UM(e,t,n){return Math.abs(e-t)<=n}function av(e,t,n,r=.5){e.origin=r,e.originPoint=_e(t.min,t.max,e.origin),e.scale=Yt(n)/Yt(t),e.translate=_e(n.min,n.max,e.origin)-e.originPoint,(e.scale>=_M&&e.scale<=VM||isNaN(e.scale))&&(e.scale=1),(e.translate>=WM&&e.translate<=HM||isNaN(e.translate))&&(e.translate=0)}function Ts(e,t,n,r){av(e.x,t.x,n.x,r?r.originX:void 0),av(e.y,t.y,n.y,r?r.originY:void 0)}function lv(e,t,n){e.min=n.min+t.min,e.max=e.min+Yt(t)}function GM(e,t,n){lv(e.x,t.x,n.x),lv(e.y,t.y,n.y)}function uv(e,t,n){e.min=t.min-n.min,e.max=e.min+Yt(t)}function Rs(e,t,n){uv(e.x,t.x,n.x),uv(e.y,t.y,n.y)}function KM(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?_e(n,e,r.max):Math.min(e,n)),e}function cv(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 YM(e,{top:t,left:n,bottom:r,right:o}){return{x:cv(e.x,n,o),y:cv(e.y,t,r)}}function dv(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=Si(t.min,t.max-r,e.min):r>o&&(n=Si(e.min,e.max-o,t.min)),zr(0,1,n)}function QM(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 ZM(e=ap){return e===!1?e=0:e===!0&&(e=ap),{x:fv(e,"left","right"),y:fv(e,"top","bottom")}}function fv(e,t,n){return{min:pv(e,t),max:pv(e,n)}}function pv(e,t){return typeof e=="number"?e:e[t]||0}const hv=()=>({translate:0,scale:1,origin:0,originPoint:0}),Zo=()=>({x:hv(),y:hv()}),mv=()=>({min:0,max:0}),Qe=()=>({x:mv(),y:mv()});function Jt(e){return[e("x"),e("y")]}function BC({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function JM({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function eO(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 Td(e){return e===void 0||e===1}function lp({scale:e,scaleX:t,scaleY:n}){return!Td(e)||!Td(t)||!Td(n)}function no(e){return lp(e)||DC(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function DC(e){return gv(e.x)||gv(e.y)}function gv(e){return e&&e!=="0%"}function pu(e,t,n){const r=e-n,o=t*r;return n+o}function vv(e,t,n,r,o){return o!==void 0&&(e=pu(e,o,r)),pu(e,n,r)+t}function up(e,t=0,n=1,r,o){e.min=vv(e.min,t,n,r,o),e.max=vv(e.max,t,n,r,o)}function LC(e,{x:t,y:n}){up(e.x,t.translate,t.scale,t.originPoint),up(e.y,n.translate,n.scale,n.originPoint)}const yv=.999999999999,xv=1.0000000000001;function tO(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let i,s;for(let a=0;ayv&&(t.x=1),t.yyv&&(t.y=1)}function Jo(e,t){e.min=e.min+t,e.max=e.max+t}function bv(e,t,n,r,o=.5){const i=_e(e.min,e.max,o);up(e,t,n,i,r)}function ei(e,t){bv(e.x,t.x,t.scaleX,t.scale,t.originX),bv(e.y,t.y,t.scaleY,t.scale,t.originY)}function FC(e,t){return BC(eO(e.getBoundingClientRect(),t))}function nO(e,t,n){const r=FC(e,n),{scroll:o}=t;return o&&(Jo(r.x,o.offset.x),Jo(r.y,o.offset.y)),r}const zC=({current:e})=>e?e.ownerDocument.defaultView:null,rO=new WeakMap;class oO{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=Qe(),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($c(c,"page").point)},i=(c,d)=>{const{drag:f,dragPropagation:m,onDragStart:h}=this.getProps();if(f&&!m&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=MC(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(Fn.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&&ke.postRender(()=>h(c,d)),ip(this.visualElement,"transform");const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},s=(c,d)=>{const{dragPropagation:f,dragDirectionLock:m,onDirectionLock:h,onDrag:x}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:k}=d;if(m&&this.currentDirection===null){this.currentDirection=iO(k),this.currentDirection!==null&&h&&h(this.currentDirection);return}this.updateAxis("x",d.point,k),this.updateAxis("y",d.point,k),this.visualElement.render(),x&&x(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 TC(t,{onSessionStart:o,onStart:i,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:zC(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&&ke.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||!tl(t,o,this.currentDirection))return;const i=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=KM(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&&Qo(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=YM(o.layoutBox,n):this.constraints=!1,this.elastic=ZM(r),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Jt(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=QM(o.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Qo(t))return!1;const r=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const i=nO(r,o.root,this.visualElement.getTransformPagePoint());let s=XM(o.layout.layoutBox,i);if(n){const a=n(JM(s));this.hasMutatedConstraints=!!a,a&&(s=BC(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(!tl(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(tm(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(!tl(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]-_e(s,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Qo(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]=qM({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(!tl(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:u}=this.constraints[s];a.set(_e(l,u,o[s]))})}addListeners(){if(!this.visualElement.current)return;rO.set(this.visualElement,this);const t=this.visualElement.current,n=tr(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();Qo(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()),ke.read(r);const s=qn(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 tl(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function iO(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class sO extends Gr{constructor(t){super(t),this.removeGroupControls=Et,this.removeListeners=Et,this.controls=new oO(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Et}unmount(){this.removeGroupControls(),this.removeListeners()}}const Cv=e=>(t,n)=>{e&&ke.postRender(()=>e(t,n))};class aO extends Gr{constructor(){super(...arguments),this.removePointerDownListener=Et}onPointerDown(t){this.session=new TC(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:zC(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:Cv(t),onStart:Cv(n),onMove:r,onEnd:(i,s)=>{delete this.session,o&&ke.postRender(()=>o(i,s))}}}mount(){this.removePointerDownListener=tr(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 om=b.createContext(null);function lO(){const e=b.useContext(om);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,o=b.useId();b.useEffect(()=>r(o),[]);const i=b.useCallback(()=>n&&n(o),[o,n]);return!t&&n?[!1,i]:[!0]}const NC=b.createContext({}),_C=b.createContext({}),bl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Sv(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const rs={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(ee.test(e))e=parseFloat(e);else return e;const n=Sv(e,t.target.x),r=Sv(e,t.target.y);return`${n}% ${r}%`}},uO={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=Nr.parse(e);if(o.length>5)return r;const i=Nr.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=_e(a,l,.5);return typeof o[2+s]=="number"&&(o[2+s]/=u),typeof o[3+s]=="number"&&(o[3+s]/=u),i(o)}},hu={};function cO(e){Object.assign(hu,e)}const{schedule:im,cancel:sD}=Fb(queueMicrotask,!1);class dO extends b.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:i}=t;cO(fO),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()||ke.postRender(()=>{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),im.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 VC(e){const[t,n]=lO(),r=b.useContext(NC);return y.jsx(dO,{...e,layoutGroup:r,switchLayoutGroup:b.useContext(_C),isPresent:t,safeToRemove:n})}const fO={borderRadius:{...rs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:rs,borderTopRightRadius:rs,borderBottomLeftRadius:rs,borderBottomRightRadius:rs,boxShadow:uO},WC=["TopLeft","TopRight","BottomLeft","BottomRight"],pO=WC.length,wv=e=>typeof e=="string"?parseFloat(e):e,kv=e=>typeof e=="number"||ee.test(e);function hO(e,t,n,r,o,i){o?(e.opacity=_e(0,n.opacity!==void 0?n.opacity:1,mO(r)),e.opacityExit=_e(t.opacity!==void 0?t.opacity:1,0,gO(r))):i&&(e.opacity=_e(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;srt?1:n(Si(e,t,r))}function Pv(e,t){e.min=t.min,e.max=t.max}function Zt(e,t){Pv(e.x,t.x),Pv(e.y,t.y)}function Ev(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Tv(e,t,n,r,o){return e-=t,e=pu(e,1/n,r),o!==void 0&&(e=pu(e,1/o,r)),e}function vO(e,t=0,n=1,r=.5,o,i=e,s=e){if(Fn.test(t)&&(t=parseFloat(t),t=_e(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=_e(i.min,i.max,r);e===i&&(a-=t),e.min=Tv(e.min,t,n,a,o),e.max=Tv(e.max,t,n,a,o)}function Rv(e,t,[n,r,o],i,s){vO(e,t[n],t[r],t[o],t.scale,i,s)}const yO=["x","scaleX","originX"],xO=["y","scaleY","originY"];function Av(e,t,n,r){Rv(e.x,t,yO,n?n.x:void 0,r?r.x:void 0),Rv(e.y,t,xO,n?n.y:void 0,r?r.y:void 0)}function Mv(e){return e.translate===0&&e.scale===1}function UC(e){return Mv(e.x)&&Mv(e.y)}function Ov(e,t){return e.min===t.min&&e.max===t.max}function bO(e,t){return Ov(e.x,t.x)&&Ov(e.y,t.y)}function Iv(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function GC(e,t){return Iv(e.x,t.x)&&Iv(e.y,t.y)}function jv(e){return Yt(e.x)/Yt(e.y)}function Bv(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class CO{constructor(){this.members=[]}add(t){ka(this.members,t),t.scheduleRender()}remove(t){if(nm(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 SO(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 wO=(e,t)=>e.depth-t.depth;class kO{constructor(){this.children=[],this.isDirty=!1}add(t){ka(this.children,t),this.isDirty=!0}remove(t){nm(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(wO),this.isDirty=!1,this.children.forEach(t)}}function Cl(e){const t=$t(e)?e.get():e;return mM(t)?t.toValue():t}function $O(e,t){const n=zn.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&(Fr(r),e(i-t))};return ke.read(r,!0),()=>Fr(r)}function PO(e){return e instanceof SVGElement&&e.tagName!=="svg"}function EO(e,t,n){const r=$t(e)?e:sa(e);return r.start(tm("",r,t,n)),r.animation}const ro={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},hs=typeof window<"u"&&window.MotionDebug!==void 0,Rd=["","X","Y","Z"],TO={visibility:"hidden"},Dv=1e3;let RO=0;function Ad(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function KC(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=wC(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ke,!(o||i))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&KC(r)}function YC({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(s={},a=t==null?void 0:t()){this.id=RO++,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,hs&&(ro.totalNodes=ro.resolvedTargetDeltas=ro.recalculatedProjection=0),this.nodes.forEach(OO),this.nodes.forEach(LO),this.nodes.forEach(FO),this.nodes.forEach(IO),hs&&window.MotionDebug.record(ro)},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=$O(f,250),bl.hasAnimatedSinceResize&&(bl.hasAnimatedSinceResize=!1,this.nodes.forEach(Fv))})}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 x=this.options.transition||c.getDefaultTransition()||WO,{onLayoutAnimationStart:k,onLayoutAnimationComplete:g}=c.getProps(),v=!this.targetLayout||!GC(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 C={...Vh(x,"layout"),onPlay:k,onComplete:g};(c.shouldReduceMotion||this.options.layoutRoot)&&(C.delay=0,C.type=!1),this.startAnimation(C)}else f||Fv(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,Fr(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(zO),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&&KC(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=C/1e3;zv(d.x,s.x,w),zv(d.y,s.y,w),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Rs(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),_O(this.relativeTarget,this.relativeTargetOrigin,f,w),p&&bO(this.relativeTarget,p)&&(this.isProjectionDirty=!1),p||(p=Qe()),Zt(p,this.relativeTarget)),x&&(this.animationValues=c,hO(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&&(Fr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ke.update(()=>{bl.hasAnimatedSinceResize=!0,this.currentAnimation=EO(0,Dv,{...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(Dv),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&&XC(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Qe();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),ei(a,c),Ts(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new CO),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&&Ad("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(Lv),this.root.sharedNodes.clear()}}}function AO(e){e.updateLayout()}function MO(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}):XC(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=Zo();Ts(a,r,n.layoutBox);const l=Zo();s?Ts(l,e.applyTransform(o,!0),n.measuredBox):Ts(l,r,n.layoutBox);const u=!UC(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=Qe();Rs(h,n.layoutBox,f.layoutBox);const x=Qe();Rs(x,r,m.layoutBox),GC(h,x)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=x,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 OO(e){hs&&ro.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 IO(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function jO(e){e.clearSnapshot()}function Lv(e){e.clearMeasurements()}function BO(e){e.isLayoutDirty=!1}function DO(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Fv(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function LO(e){e.resolveTargetDelta()}function FO(e){e.calcProjection()}function zO(e){e.resetSkewAndRotation()}function NO(e){e.removeLeadSnapshot()}function zv(e,t,n){e.translate=_e(t.translate,0,n),e.scale=_e(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Nv(e,t,n,r){e.min=_e(t.min,n.min,r),e.max=_e(t.max,n.max,r)}function _O(e,t,n,r){Nv(e.x,t.x,n.x,r),Nv(e.y,t.y,n.y,r)}function VO(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const WO={duration:.45,ease:[.4,0,.1,1]},_v=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Vv=_v("applewebkit/")&&!_v("chrome/")?Math.round:Et;function Wv(e){e.min=Vv(e.min),e.max=Vv(e.max)}function HO(e){Wv(e.x),Wv(e.y)}function XC(e,t,n){return e==="position"||e==="preserve-aspect"&&!UM(jv(t),jv(n),.2)}function UO(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const GO=YC({attachResizeListener:(e,t)=>qn(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Md={current:void 0},qC=YC({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Md.current){const e=new GO({});e.mount(window),e.setOptions({layoutScroll:!0}),Md.current=e}return Md.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),KO={pan:{Feature:aO},drag:{Feature:sO,ProjectionNode:qC,MeasureLayout:VC}};function Hv(e,t){const n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd",o=(i,s)=>{if(i.pointerType==="touch"||OC())return;const a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t);const l=a[r];l&&ke.postRender(()=>l(i,s))};return tr(e.current,n,o,{passive:!e.getProps()[r]})}class YO extends Gr{mount(){this.unmount=er(Hv(this.node,!0),Hv(this.node,!1))}unmount(){}}class XO extends Gr{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=er(qn(this.node.current,"focus",()=>this.onFocus()),qn(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const QC=(e,t)=>t?e===t?!0:QC(e,t.parentElement):!1;function Od(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,$c(n))}class qO extends Gr{constructor(){super(...arguments),this.removeStartListeners=Et,this.removeEndListeners=Et,this.removeAccessibleListeners=Et,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),i=tr(window,"pointerup",(a,l)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c,globalTapTarget:d}=this.node.getProps(),f=!d&&!QC(this.node.current,a.target)?c:u;f&&ke.update(()=>f(a,l))},{passive:!(r.onTap||r.onPointerUp)}),s=tr(window,"pointercancel",(a,l)=>this.cancelPress(a,l),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=er(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()||Od("up",(l,u)=>{const{onTap:c}=this.node.getProps();c&&ke.postRender(()=>c(l,u))})};this.removeEndListeners(),this.removeEndListeners=qn(this.node.current,"keyup",s),Od("down",(a,l)=>{this.startPress(a,l)})},n=qn(this.node.current,"keydown",t),r=()=>{this.isPressing&&Od("cancel",(i,s)=>this.cancelPress(i,s))},o=qn(this.node.current,"blur",r);this.removeAccessibleListeners=er(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&&ke.postRender(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!OC()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&ke.postRender(()=>r(t,n))}mount(){const t=this.node.getProps(),n=tr(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=qn(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=er(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const cp=new WeakMap,Id=new WeakMap,QO=e=>{const t=cp.get(e.target);t&&t(e)},ZO=e=>{e.forEach(QO)};function JO({root:e,...t}){const n=e||document;Id.has(n)||Id.set(n,{});const r=Id.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(ZO,{root:e,...t})),r[o]}function eI(e,t,n){const r=JO(t);return cp.set(e,n),r.observe(e),()=>{cp.delete(e),r.unobserve(e)}}const tI={some:0,all:1};class nI extends Gr{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:tI[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 eI(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(rI(t,n))&&this.startObserver()}unmount(){}}function rI({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const oI={inView:{Feature:nI},tap:{Feature:qO},focus:{Feature:XO},hover:{Feature:YO}},iI={layout:{ProjectionNode:qC,MeasureLayout:VC}},ZC=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Pc=b.createContext({}),sm=typeof window<"u",sI=sm?b.useLayoutEffect:b.useEffect,JC=b.createContext({strict:!1});let Uv=!1;function aI(e,t,n,r,o){var i;const{visualElement:s}=b.useContext(Pc),a=b.useContext(JC),l=b.useContext(om),u=b.useContext(ZC).reducedMotion,c=b.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=b.useContext(_C);d&&!d.projection&&o&&(d.type==="html"||d.type==="svg")&&uI(c.current,n,o,f),b.useInsertionEffect(()=>{d&&d.update(n,l)});const m=n[SC],h=b.useRef(!!m&&!window.MotionHandoffIsComplete&&((i=window.MotionHasOptimisedAnimation)===null||i===void 0?void 0:i.call(window,m)));return sI(()=>{d&&(d.updateFeatures(),im.render(d.render),h.current&&d.animationState&&d.animationState.animateChanges())}),b.useEffect(()=>{d&&(!h.current&&d.animationState&&d.animationState.animateChanges(),h.current=!1,Uv||(Uv=!0,queueMicrotask(lI)))}),d}function lI(){window.MotionHandoffIsComplete=!0}function uI(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:eS(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:!!s||a&&Qo(a),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}function eS(e){if(e)return e.options.allowProjection!==!1?e.projection:eS(e.parent)}function cI(e,t,n){return b.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Qo(n)&&(n.current=r))},[t])}function Ec(e){return na(e.animate)||_h.some(t=>ra(e[t]))}function tS(e){return!!(Ec(e)||e.variants)}function dI(e,t){if(Ec(e)){const{initial:n,animate:r}=e;return{initial:n===!1||ra(n)?n:void 0,animate:ra(r)?r:void 0}}return e.inherit!==!1?t:{}}function fI(e){const{initial:t,animate:n}=dI(e,b.useContext(Pc));return b.useMemo(()=>({initial:t,animate:n}),[Gv(t),Gv(n)])}function Gv(e){return Array.isArray(e)?e.join(" "):e}const Kv={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"]},wi={};for(const e in Kv)wi[e]={isEnabled:t=>Kv[e].some(n=>!!t[n])};function pI(e){for(const t in e)wi[t]={...wi[t],...e[t]}}const hI=Symbol.for("motionComponentSymbol");function mI({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){e&&pI(e);function i(a,l){let u;const c={...b.useContext(ZC),...a,layoutId:gI(a)},{isStatic:d}=c,f=fI(a),m=r(a,d);if(!d&&sm){vI();const h=yI(c);u=h.MeasureLayout,f.visualElement=aI(o,m,c,t,h.ProjectionNode)}return y.jsxs(Pc.Provider,{value:f,children:[u&&f.visualElement?y.jsx(u,{visualElement:f.visualElement,...c}):null,n(o,a,cI(m,f.visualElement,l),m,d,f.visualElement)]})}const s=b.forwardRef(i);return s[hI]=o,s}function gI({layoutId:e}){const t=b.useContext(NC).id;return t&&e!==void 0?t+"-"+e:e}function vI(e,t){b.useContext(JC).strict}function yI(e){const{drag:t,layout:n}=wi;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 xI=["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 am(e){return typeof e!="string"||e.includes("-")?!1:!!(xI.indexOf(e)>-1||/[A-Z]/u.test(e))}function nS(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 rS=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 oS(e,t,n,r){nS(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(rS.has(o)?o:kc(o),t.attrs[o])}function iS(e,{layout:t,layoutId:n}){return Ur.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!hu[e]||e==="opacity")}function lm(e,t,n){var r;const{style:o}=e,i={};for(const s in o)($t(o[s])||t.style&&$t(t.style[s])||iS(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 sS(e,t,n){const r=lm(e,t,n);for(const o in e)if($t(e[o])||$t(t[o])){const i=Ca.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[i]=e[o]}return r}function bI(e){const t=b.useRef(null);return t.current===null&&(t.current=e()),t.current}function CI({applyWillChange:e=!1,scrapeMotionValuesFromProps:t,createRenderState:n,onMount:r},o,i,s,a){const l={latestValues:wI(o,i,s,a?!1:e,t),renderState:n()};return r&&(l.mount=u=>r(o,u,l)),l}const aS=e=>(t,n)=>{const r=b.useContext(Pc),o=b.useContext(om),i=()=>CI(e,t,r,o,n);return n?i():bI(i)};function SI(e,t){const n=kC(t);n&&ka(e,n)}function Yv(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 C=h?p.length-1:0;p=p[C]}p!==null&&(s[v]=p)}for(const v in g)s[v]=g[v]}),l&&(d&&c!==!1&&!na(d)&&Yv(e,d,k=>{for(const g in k)SI(a,g)}),a.length&&(s.willChange=a.join(","))),s}const um=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),lS=()=>({...um(),attrs:{}}),uS=(e,t)=>t&&typeof e=="number"?t.transform(e):e,kI={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},$I=Ca.length;function PI(e,t,n){let r="",o=!0;for(let i=0;i<$I;i++){const s=Ca[i],a=e[s];if(a===void 0)continue;let l=!0;if(typeof a=="number"?l=a===(s.startsWith("scale")?1:0):l=parseFloat(a)===0,!l||n){const u=uS(a,Xh[s]);if(!l){o=!1;const c=kI[s]||s;r+=`${c}(${u}) `}n&&(t[s]=u)}}return r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}function cm(e,t,n){const{style:r,vars:o,transformOrigin:i}=e;let s=!1,a=!1;for(const l in t){const u=t[l];if(Ur.has(l)){s=!0;continue}else if(qb(l)){o[l]=u;continue}else{const c=uS(u,Xh[l]);l.startsWith("origin")?(a=!0,i[l]=c):r[l]=c}}if(t.transform||(s||n?r.transform=PI(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:c=0}=i;r.transformOrigin=`${l} ${u} ${c}`}}function Xv(e,t,n){return typeof e=="string"?e:ee.transform(t+n*e)}function EI(e,t,n){const r=Xv(t,e.x,e.width),o=Xv(n,e.y,e.height);return`${r} ${o}`}const TI={offset:"stroke-dashoffset",array:"stroke-dasharray"},RI={offset:"strokeDashoffset",array:"strokeDasharray"};function AI(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?TI:RI;e[i.offset]=ee.transform(-r);const s=ee.transform(t),a=ee.transform(n);e[i.array]=`${s} ${a}`}function dm(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:i,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...u},c,d){if(cm(e,u,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:m,dimensions:h}=e;f.transform&&(h&&(m.transform=f.transform),delete f.transform),h&&(o!==void 0||i!==void 0||m.transform)&&(m.transformOrigin=EI(h,o!==void 0?o:.5,i!==void 0?i:.5)),t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),s!==void 0&&AI(f,s,a,l,!1)}const fm=e=>typeof e=="string"&&e.toLowerCase()==="svg",MI={useVisualState:aS({scrapeMotionValuesFromProps:sS,createRenderState:lS,onMount:(e,t,{renderState:n,latestValues:r})=>{ke.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),ke.render(()=>{dm(n,r,fm(t.tagName),e.transformTemplate),oS(t,n)})}})},OI={useVisualState:aS({applyWillChange:!0,scrapeMotionValuesFromProps:lm,createRenderState:um})};function cS(e,t,n){for(const r in t)!$t(t[r])&&!iS(r,n)&&(e[r]=t[r])}function II({transformTemplate:e},t){return b.useMemo(()=>{const n=um();return cm(n,t,e),Object.assign({},n.vars,n.style)},[t])}function jI(e,t){const n=e.style||{},r={};return cS(r,n,e),Object.assign(r,II(e,t)),r}function BI(e,t){const n={},r=jI(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 DI=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 mu(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||DI.has(e)}let dS=e=>!mu(e);function LI(e){e&&(dS=t=>t.startsWith("on")?!mu(t):e(t))}try{LI(require("@emotion/is-prop-valid").default)}catch{}function FI(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(dS(o)||n===!0&&mu(o)||!t&&!mu(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function zI(e,t,n,r){const o=b.useMemo(()=>{const i=lS();return dm(i,t,fm(r),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};cS(i,e.style,e),o.style={...i,...o.style}}return o}function NI(e=!1){return(n,r,o,{latestValues:i},s)=>{const l=(am(n)?zI:BI)(r,i,s,n),u=FI(r,typeof n=="string",e),c=n!==b.Fragment?{...u,...l,ref:o}:{},{children:d}=r,f=b.useMemo(()=>$t(d)?d.get():d,[d]);return b.createElement(n,{...c,children:f})}}function _I(e,t){return function(r,{forwardMotionProps:o}={forwardMotionProps:!1}){const s={...am(r)?MI:OI,preloadedFeatures:e,useRender:NI(o),createVisualElement:t,Component:r};return mI(s)}}const dp={current:null},fS={current:!1};function VI(){if(fS.current=!0,!!sm)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>dp.current=e.matches;e.addListener(t),t()}else dp.current=!1}function WI(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,sa(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,sa(s!==void 0?s:o,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const qv=new WeakMap,HI=[...Jb,wt,Nr],UI=e=>HI.find(Zb(e)),Qv=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class GI{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=Gh,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=zn.now();this.renderScheduledAtthis.bindToMotionValue(r,n)),fS.current||VI(),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(){qv.delete(this.current),this.projection&&this.projection.unmount(),Fr(this.notifyUpdate),Fr(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=Ur.has(t),o=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&ke.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 wi){const n=wi[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):Qe()}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=sa(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"&&(Yb(o)||Kb(o))?o=parseFloat(o):!UI(o)&&Nr.test(n)&&(o=aC(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=zh(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 rm),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class pS extends GI{constructor(){super(...arguments),this.KeyframeResolver=lC}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 KI(e){return window.getComputedStyle(e)}class YI extends pS{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=nS}readValueFromInstance(t,n){if(Ur.has(n)){const r=qh(n);return r&&r.default||0}else{const r=KI(t),o=(qb(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return FC(t,n)}build(t,n,r){cm(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return lm(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 XI extends pS{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Qe}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Ur.has(n)){const r=qh(n);return r&&r.default||0}return n=rS.has(n)?n:kc(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return sS(t,n,r)}build(t,n,r){dm(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,o){oS(t,n,r,o)}mount(t){this.isSVGTag=fm(t.tagName),super.mount(t)}}const qI=(e,t)=>am(e)?new XI(t):new YI(t,{allowProjection:e!==b.Fragment}),QI=_I({...DM,...oI,...KO,...iI},qI),_n=T4(QI),Zv=[{name:"Home",path:"/fer-lab1/"},{name:"Special",path:"/fer-lab1/natural"},{name:"News",path:"/fer-lab1/news"},{name:"About",path:"/fer-lab1/about"},{name:"Contact",path:"/fer-lab1/contact"}];function ZI(){const[e,t]=b.useState(null),{theme:n}=b.useContext(kn),r=ha(),[o,i]=b.useState(!1);b.useEffect(()=>{const l=()=>{const u=window.scrollY>10;u!==o&&i(u)};return document.addEventListener("scroll",l),()=>{document.removeEventListener("scroll",l)}},[o]);const s=l=>{t(l.currentTarget)},a=()=>{t(null)};return y.jsx(_E,{position:"fixed",sx:{backgroundColor:o?n.header.backgroundColor:"transparent",boxShadow:o?3:0,transition:"all 0.3s ease-in-out"},children:y.jsx(yi,{maxWidth:"xl",children:y.jsxs(KE,{disableGutters:!0,children:[y.jsx(_n.div,{initial:{opacity:0,scale:.5},animate:{opacity:1,scale:1},transition:{duration:.5},children:y.jsx(Yf,{sx:{display:{xs:"none",md:"flex"},mr:1,fontSize:40}})}),y.jsx(An,{to:"/fer-lab1/",style:{textDecoration:"none",display:"flex",alignItems:"center"},children:y.jsx(ie,{variant:"h6",noWrap:!0,sx:{mr:2,display:{xs:"none",md:"flex"},fontFamily:"Poppins, sans-serif",fontWeight:700,letterSpacing:".3rem",color:"inherit",textDecoration:"none"},children:"ORCHID HAVEN"})}),y.jsxs(ce,{sx:{flexGrow:1,display:{xs:"flex",md:"none"}},children:[y.jsx(un,{size:"large","aria-label":"account of current user","aria-controls":"menu-appbar","aria-haspopup":"true",onClick:s,color:"inherit",children:y.jsx(bR,{})}),y.jsx(Eb,{id:"menu-appbar",anchorEl:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},keepMounted:!0,transformOrigin:{vertical:"top",horizontal:"left"},open:!!e,onClose:a,sx:{display:{xs:"block",md:"none"}},children:Zv.map(l=>y.jsx(DR,{onClick:a,component:An,to:l.path,children:y.jsx(ie,{textAlign:"center",children:l.name})},l.name))})]}),y.jsx(Yf,{sx:{display:{xs:"flex",md:"none"},mr:1,fontSize:32}}),y.jsx(ie,{variant:"h5",noWrap:!0,component:An,to:"/fer-lab1/",sx:{mr:2,display:{xs:"flex",md:"none"},flexGrow:1,fontFamily:"Poppins, sans-serif",fontWeight:700,letterSpacing:".3rem",color:"inherit",textDecoration:"none"},children:"ORCHID HAVEN"}),y.jsx(ce,{sx:{flexGrow:1,display:{xs:"none",md:"flex"},justifyContent:"center"},children:Zv.map(l=>y.jsx(Lr,{component:An,to:l.path,onClick:a,sx:{my:2,mx:1,color:"white",display:"block",fontFamily:"Poppins, sans-serif",fontWeight:500,position:"relative","&::after":{content:'""',position:"absolute",width:"100%",height:"2px",bottom:0,left:0,backgroundColor:"white",transform:r.pathname===l.path?"scaleX(1)":"scaleX(0)",transition:"transform 0.3s ease-in-out"},"&:hover::after":{transform:"scaleX(1)"}},children:l.name},l.name))}),y.jsx(E4,{})]})})})}const os={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"}},hS="$$joy";function fp(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 br(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 mS(e){if(!br(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=mS(e[n])}),t}function nr(e,t,n={clone:!0}){const r=n.clone?z({},e):e;return br(e)&&br(t)&&Object.keys(t).forEach(o=>{br(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&br(e[o])?r[o]=nr(e[o],t[o],n):n.clone?r[o]=br(t[o])?mS(t[o]):t[o]:r[o]=t[o]}),r}const tj=["values","unit","step"],nj=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)=>z({},n,{[r.key]:r.val}),{})};function gS(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Je(e,tj),i=nj(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:${pm[e]}px)`};function ur(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||Jv;return t.reduce((s,a,l)=>(s[i.up(i.keys[l])]=n(t[l]),s),{})}if(typeof t=="object"){const i=r.breakpoints||Jv;return Object.keys(t).reduce((s,a)=>{if(Object.keys(i.values||pm).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 oj(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function ij(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Nn(e){if(typeof e!="string")throw new Error(fp(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Tc(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 gu(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Tc(e,n)||r,t&&(o=t(o,r,e)),o}function tt(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=Tc(l,r)||{};return ur(s,a,d=>{let f=gu(u,o,d);return d===f&&typeof d=="string"&&(f=gu(u,o,`${t}${d==="default"?"":Nn(d)}`,d)),n===!1?f:{[n]:f}})};return i.propTypes={},i.filterProps=[t],i}function sj(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const aj={m:"margin",p:"padding"},lj={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ey={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},uj=sj(e=>{if(e.length>2)if(ey[e])e=ey[e];else return[e];const[t,n]=e.split(""),r=aj[t],o=lj[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),hm=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],mm=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...hm,...mm];function $a(e,t,n,r){var o;const i=(o=Tc(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 vS(e){return $a(e,"spacing",8)}function Pa(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 cj(e,t){return n=>e.reduce((r,o)=>(r[o]=Pa(t,n),r),{})}function dj(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=uj(n),i=cj(o,r),s=e[n];return ur(e,s,i)}function yS(e,t){const n=vS(e.theme);return Object.keys(e).map(r=>dj(e,t,r,n)).reduce(As,{})}function Ke(e){return yS(e,hm)}Ke.propTypes={};Ke.filterProps=hm;function Ye(e){return yS(e,mm)}Ye.propTypes={};Ye.filterProps=mm;function xS(e=8){if(e.mui)return e;const t=vS({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 Rc(...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]?As(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 gn(e,t){return tt({prop:e,themeKey:"borders",transform:t})}const fj=gn("border",on),pj=gn("borderTop",on),hj=gn("borderRight",on),mj=gn("borderBottom",on),gj=gn("borderLeft",on),vj=gn("borderColor"),yj=gn("borderTopColor"),xj=gn("borderRightColor"),bj=gn("borderBottomColor"),Cj=gn("borderLeftColor"),Sj=gn("outline",on),wj=gn("outlineColor"),Ac=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=$a(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Pa(t,r)});return ur(e,e.borderRadius,n)}return null};Ac.propTypes={};Ac.filterProps=["borderRadius"];Rc(fj,pj,hj,mj,gj,vj,yj,xj,bj,Cj,Ac,Sj,wj);const Mc=e=>{if(e.gap!==void 0&&e.gap!==null){const t=$a(e.theme,"spacing",8),n=r=>({gap:Pa(t,r)});return ur(e,e.gap,n)}return null};Mc.propTypes={};Mc.filterProps=["gap"];const Oc=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=$a(e.theme,"spacing",8),n=r=>({columnGap:Pa(t,r)});return ur(e,e.columnGap,n)}return null};Oc.propTypes={};Oc.filterProps=["columnGap"];const Ic=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=$a(e.theme,"spacing",8),n=r=>({rowGap:Pa(t,r)});return ur(e,e.rowGap,n)}return null};Ic.propTypes={};Ic.filterProps=["rowGap"];const kj=tt({prop:"gridColumn"}),$j=tt({prop:"gridRow"}),Pj=tt({prop:"gridAutoFlow"}),Ej=tt({prop:"gridAutoColumns"}),Tj=tt({prop:"gridAutoRows"}),Rj=tt({prop:"gridTemplateColumns"}),Aj=tt({prop:"gridTemplateRows"}),Mj=tt({prop:"gridTemplateAreas"}),Oj=tt({prop:"gridArea"});Rc(Mc,Oc,Ic,kj,$j,Pj,Ej,Tj,Rj,Aj,Mj,Oj);function ui(e,t){return t==="grey"?t:e}const Ij=tt({prop:"color",themeKey:"palette",transform:ui}),jj=tt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ui}),Bj=tt({prop:"backgroundColor",themeKey:"palette",transform:ui});Rc(Ij,jj,Bj);function _t(e){return e<=1&&e!==0?`${e*100}%`:e}const Dj=tt({prop:"width",transform:_t}),gm=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])||pm[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 ur(e,e.maxWidth,t)}return null};gm.filterProps=["maxWidth"];const Lj=tt({prop:"minWidth",transform:_t}),Fj=tt({prop:"height",transform:_t}),zj=tt({prop:"maxHeight",transform:_t}),Nj=tt({prop:"minHeight",transform:_t});tt({prop:"size",cssProperty:"width",transform:_t});tt({prop:"size",cssProperty:"height",transform:_t});const _j=tt({prop:"boxSizing"});Rc(Dj,gm,Lj,Fj,zj,Nj,_j);const jc={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:Ac},color:{themeKey:"palette",transform:ui},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ui},backgroundColor:{themeKey:"palette",transform:ui},p:{style:Ye},pt:{style:Ye},pr:{style:Ye},pb:{style:Ye},pl:{style:Ye},px:{style:Ye},py:{style:Ye},padding:{style:Ye},paddingTop:{style:Ye},paddingRight:{style:Ye},paddingBottom:{style:Ye},paddingLeft:{style:Ye},paddingX:{style:Ye},paddingY:{style:Ye},paddingInline:{style:Ye},paddingInlineStart:{style:Ye},paddingInlineEnd:{style:Ye},paddingBlock:{style:Ye},paddingBlockStart:{style:Ye},paddingBlockEnd:{style:Ye},m:{style:Ke},mt:{style:Ke},mr:{style:Ke},mb:{style:Ke},ml:{style:Ke},mx:{style:Ke},my:{style:Ke},margin:{style:Ke},marginTop:{style:Ke},marginRight:{style:Ke},marginBottom:{style:Ke},marginLeft:{style:Ke},marginX:{style:Ke},marginY:{style:Ke},marginInline:{style:Ke},marginInlineStart:{style:Ke},marginInlineEnd:{style:Ke},marginBlock:{style:Ke},marginBlockStart:{style:Ke},marginBlockEnd:{style:Ke},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:Mc},rowGap:{style:Ic},columnGap:{style:Oc},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:gm},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 Vj(...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 Wj(e,t){return typeof e=="function"?e(t):e}function Hj(){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=Tc(o,u)||{};return d?d(s):ur(s,r,h=>{let x=gu(f,c,h);return h===x&&typeof h=="string"&&(x=gu(f,c,`${n}${h==="default"?"":Nn(h)}`,h)),l===!1?x:{[l]:x}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const s=(r=i.unstable_sxConfig)!=null?r:jc;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=oj(i.breakpoints),d=Object.keys(c);let f=c;return Object.keys(u).forEach(m=>{const h=Wj(u[m],i);if(h!=null)if(typeof h=="object")if(s[m])f=As(f,e(m,h,i,s));else{const x=ur({theme:i},h,k=>({[m]:k}));Vj(x,h)?f[m]=t({sx:h,theme:i}):f=As(f,x)}else f=As(f,e(m,h,i,s))}),ij(d,f)}return Array.isArray(o)?o.map(a):a(o)}return t}const Bc=Hj();Bc.filterProps=["sx"];function bS(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 Uj=["breakpoints","palette","spacing","shape"];function vm(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,s=Je(e,Uj),a=gS(n),l=xS(o);let u=nr({breakpoints:a,direction:"ltr",components:{},palette:z({mode:"light"},r),spacing:l,shape:z({},rj,i)},s);return u.applyStyles=bS,u=t.reduce((c,d)=>nr(c,d),u),u.unstable_sxConfig=z({},jc,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return Bc({sx:d,theme:this})},u}function Gj(e){return Object.keys(e).length===0}function Kj(e=null){const t=b.useContext(nc);return!t||Gj(t)?e:t}const Yj=vm();function CS(e=Yj){return Kj(e)}const Xj=["sx"],qj=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:jc;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function Qj(e){const{sx:t}=e,n=Je(e,Xj),{systemProps:r,otherProps:o}=qj(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...s)=>{const a=t(...s);return br(a)?z({},r,a):r}:i=z({},r,t),z({},o,{sx:i})}const ty=e=>e,Zj=()=>{let e=ty;return{configure(t){e=t},generate(t){return e(t)},reset(){e=ty}}},Jj=Zj(),eB={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 ym(e,t,n="Mui"){const r=eB[t];return r?`${n}-${r}`:`${Jj.generate(e)}-${t}`}function tB(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=ym(e,o,n)}),r}const nB=["ownerState"],rB=["variants"],oB=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function iB(e){return Object.keys(e).length===0}function sB(e){return typeof e=="string"&&e.charCodeAt(0)>96}function jd(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const aB=vm(),lB=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function nl({defaultTheme:e,theme:t,themeId:n}){return iB(t)?e:t[n]||t}function uB(e){return e?(t,n)=>n[e]:null}function Sl(e,t){let{ownerState:n}=t,r=Je(t,nB);const o=typeof e=="function"?e(z({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>Sl(i,z({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let a=Je(o,rB);return i.forEach(l=>{let u=!0;typeof l.props=="function"?u=l.props(z({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(z({ownerState:n},r,n)):l.style))}),a}return o}function SS(e={}){const{themeId:t,defaultTheme:n=aB,rootShouldForwardProp:r=jd,slotShouldForwardProp:o=jd}=e,i=s=>Bc(z({},s,{theme:nl(z({},s,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(s,a={})=>{ej(s,w=>w.filter(P=>!(P!=null&&P.__mui_systemSx)));const{name:l,slot:u,skipVariantsResolver:c,skipSx:d,overridesResolver:f=uB(lB(u))}=a,m=Je(a,oB),h=c!==void 0?c:u&&u!=="Root"&&u!=="root"||!1,x=d||!1;let k,g=jd;u==="Root"||u==="root"?g=r:u?g=o:sB(s)&&(g=void 0);const v=JI(s,z({shouldForwardProp:g,label:k},m)),p=w=>typeof w=="function"&&w.__emotion_real!==w||br(w)?P=>Sl(w,z({},P,{theme:nl({theme:P.theme,defaultTheme:n,themeId:t})})):w,C=(w,...P)=>{let $=p(w);const E=P?P.map(p):[];l&&f&&E.push(A=>{const O=nl(z({},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(([N,D])=>{I[N]=Sl(D,z({},A,{theme:O}))}),f(A,I)}),l&&!h&&E.push(A=>{var O;const B=nl(z({},A,{defaultTheme:n,themeId:t})),I=B==null||(O=B.components)==null||(O=O[l])==null?void 0:O.variants;return Sl({variants:I},z({},A,{theme:B}))}),x||E.push(i);const S=E.length-P.length;if(Array.isArray(w)&&S>0){const A=new Array(S).fill("");$=[...w,...A],$.raw=[...w.raw,...A]}const T=v($,...E);return s.muiName&&(T.muiName=s.muiName),T};return v.withConfig&&(C.withConfig=v.withConfig),C}}const cB=SS();function wS(e,t){const n=z({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=z({},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]=z({},i),Object.keys(o).forEach(s=>{n[r][s]=wS(o[s],i[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function dB(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:wS(t.components[n].defaultProps,r)}function kS({props:e,name:t,defaultTheme:n,themeId:r}){let o=CS(n);return r&&(o=o[r]||o),dB({theme:o,name:t,props:e})}function fB(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 $S(e){if(e.type)return e;if(e.charAt(0)==="#")return $S(fB(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(fp(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(fp(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const qr=e=>{const t=$S(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};function PS(e,t){var n,r;return b.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 pB(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function hB(...e){return b.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{pB(n,t)})},e)}function mB(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 xm(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 ny=(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])})},gB=(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)},vB=(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 Bd(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},s={};return gB(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]:vB(a,l)}),ny(i,a,`var(${c})`,u),ny(s,a,`var(${c}, ${l})`,u)}},a=>a[0]==="vars"),{css:o,vars:i,varsWithDefaults:s}}function aa(e){"@babel/helpers - typeof";return aa=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},aa(e)}function yB(e,t){if(aa(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(aa(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function xB(e){var t=yB(e,"string");return aa(t)=="symbol"?t:t+""}const bB=["colorSchemes","components","defaultColorScheme"];function CB(e,t){const{colorSchemes:n={},defaultColorScheme:r="light"}=e,o=Je(e,bB),{vars:i,css:s,varsWithDefaults:a}=Bd(o,t);let l=a;const u={},{[r]:c}=n,d=Je(n,[r].map(xB));if(Object.entries(d||{}).forEach(([m,h])=>{const{vars:x,css:k,varsWithDefaults:g}=Bd(h,t);l=nr(l,g),u[m]={css:k,vars:x}}),c){const{css:m,vars:h,varsWithDefaults:x}=Bd(c,t);l=nr(l,x),u[r]={css:m,vars:h}}return{vars:l,generateCssVars:m=>{var h;if(!m){var x;const g=z({},s);return{css:g,vars:i,selector:(t==null||(x=t.getSelector)==null?void 0:x.call(t,m,g))||":root"}}const k=z({},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 SB=(e,t)=>e.filter(n=>t.includes(n)),ji=(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:SB(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 cr(e){return e?`Level${e}`:""}function Ea(e){return e.unstable_level>0&&e.container}function ES(e){return function(n){return`var(--Grid-${n}Spacing${cr(e.unstable_level)})`}}function bm(e){return function(n){return e.unstable_level===0?`var(--Grid-${n}Spacing)`:`var(--Grid-${n}Spacing${cr(e.unstable_level-1)})`}}function Cm(e){return e.unstable_level===0?"var(--Grid-columns)":`var(--Grid-columns${cr(e.unstable_level-1)})`}const wB=({theme:e,ownerState:t})=>{const n=ES(t),r={};return ji(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} / ${Cm(t)}${Ea(t)?` + ${n("column")}`:""})`}),o(r,s)}),r},kB=({theme:e,ownerState:t})=>{const n={};return ji(e.breakpoints,t.gridOffset,(r,o)=>{let i={};o==="auto"&&(i={marginLeft:"auto"}),typeof o=="number"&&(i={marginLeft:o===0?"0px":`calc(100% * ${o} / ${Cm(t)})`}),r(n,i)}),n},$B=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Ea(t)?{[`--Grid-columns${cr(t.unstable_level)}`]:Cm(t)}:{"--Grid-columns":12};return ji(e.breakpoints,t.columns,(r,o)=>{r(n,{[`--Grid-columns${cr(t.unstable_level)}`]:o})}),n},PB=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=bm(t),r=Ea(t)?{[`--Grid-rowSpacing${cr(t.unstable_level)}`]:n("row")}:{};return ji(e.breakpoints,t.rowSpacing,(o,i)=>{var s;o(r,{[`--Grid-rowSpacing${cr(t.unstable_level)}`]:typeof i=="string"?i:(s=e.spacing)==null?void 0:s.call(e,i)})}),r},EB=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=bm(t),r=Ea(t)?{[`--Grid-columnSpacing${cr(t.unstable_level)}`]:n("column")}:{};return ji(e.breakpoints,t.columnSpacing,(o,i)=>{var s;o(r,{[`--Grid-columnSpacing${cr(t.unstable_level)}`]:typeof i=="string"?i:(s=e.spacing)==null?void 0:s.call(e,i)})}),r},TB=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return ji(e.breakpoints,t.direction,(r,o)=>{r(n,{flexDirection:o})}),n},RB=({ownerState:e})=>{const t=ES(e),n=bm(e);return z({minWidth:0,boxSizing:"border-box"},e.container&&z({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||Ea(e))&&z({padding:`calc(${n("row")} / 2) calc(${n("column")} / 2)`},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:`${n("row")} 0px 0px ${n("column")}`}))},AB=e=>{const t=[];return Object.entries(e).forEach(([n,r])=>{r!==!1&&r!==void 0&&t.push(`grid-${n}-${String(r)}`)}),t},MB=(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[]},OB=e=>e===void 0?[]:typeof e=="object"?Object.entries(e).map(([t,n])=>`direction-${t}-${n}`):[`direction-xs-${String(e)}`],IB=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],jB=vm(),BB=cB("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function DB(e){return kS({props:e,name:"MuiGrid",defaultTheme:jB})}function LB(e={}){const{createStyledComponent:t=BB,useThemeProps:n=DB,componentName:r="MuiGrid"}=e,o=b.createContext(void 0),i=(l,u)=>{const{container:c,direction:d,spacing:f,wrap:m,gridSize:h}=l,x={root:["root",c&&"container",m!=="wrap"&&`wrap-xs-${String(m)}`,...OB(d),...AB(h),...c?MB(f,u.breakpoints.keys[0]):[]]};return mB(x,k=>ym(r,k),{})},s=t($B,EB,PB,wB,TB,RB,kB),a=b.forwardRef(function(u,c){var d,f,m,h,x,k,g,v;const p=CS(),C=n(u),w=Qj(C),P=b.useContext(o),{className:$,children:E,columns:S=12,container:T=!1,component:A="div",direction:O="row",wrap:B="wrap",spacing:I=0,rowSpacing:N=I,columnSpacing:D=I,disableEqualOverflow:L,unstable_level:R=0}=w,j=Je(w,IB);let H=L;R&&L!==void 0&&(H=u.disableEqualOverflow);const Z={},q={},re={};Object.entries(j).forEach(([_,X])=>{p.breakpoints.values[_]!==void 0?Z[_]=X:p.breakpoints.values[_.replace("Offset","")]!==void 0?q[_.replace("Offset","")]=X:re[_]=X});const te=(d=u.columns)!=null?d:R?void 0:S,me=(f=u.spacing)!=null?f:R?void 0:I,ge=(m=(h=u.rowSpacing)!=null?h:u.spacing)!=null?m:R?void 0:N,oe=(x=(k=u.columnSpacing)!=null?k:u.spacing)!=null?x:R?void 0:D,W=z({},w,{level:R,columns:te,container:T,direction:O,wrap:B,spacing:me,rowSpacing:ge,columnSpacing:oe,gridSize:Z,gridOffset:q,disableEqualOverflow:(g=(v=H)!=null?v:P)!=null?g:!1,parentDisableEqualOverflow:P}),Q=i(W,p);let U=y.jsx(s,z({ref:c,as:A,ownerState:W,className:Y(Q.root,$)},re,{children:b.Children.map(E,_=>{if(b.isValidElement(_)&&PS(_,["Grid"])){var X;return b.cloneElement(_,{unstable_level:(X=_.props.unstable_level)!=null?X:R+1})}return _})}));return H!==void 0&&H!==(P??!1)&&(U=y.jsx(o.Provider,{value:H,children:U})),U});return a.muiName="Grid",a}const FB=z({},jc,{borderRadius:{themeKey:"radius"},boxShadow:{themeKey:"shadow"},fontFamily:{themeKey:"fontFamily"},fontSize:{themeKey:"fontSize"},fontWeight:{themeKey:"fontWeight"},letterSpacing:{themeKey:"letterSpacing"},lineHeight:{themeKey:"lineHeight"}});function zB(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 Bi=(e,t)=>ym(e,t,"Mui"),wo=(e,t)=>tB(e,t,"Mui"),NB=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))$/)}),ry=(e,t,n)=>{t.includes("Color")&&(e.color=n),t.includes("Bg")&&(e.backgroundColor=n),t.includes("Border")&&(e.borderColor=n)},oy=(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")),ry(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;NB(a)&&typeof a=="object"&&(n=z({},n,{[s]:oy(e,a,l=>`var(--variant-${l}, ${r(`palette-${s}-${l}`,o[s][l])})`)}))})}return n.context=oy(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},_B=["cssVarPrefix","breakpoints","spacing","components","variants","shouldSkipGeneratingVar"],VB=["colorSchemes"],WB=(e="joy")=>xm(e);function HB(e){var t,n,r,o,i,s,a,l,u,c;const d={},{cssVarPrefix:f="joy",breakpoints:m,spacing:h,components:x,variants:k,shouldSkipGeneratingVar:g=zB}=d,v=Je(d,_B),p=WB(f),C={primary:os.blue,neutral:os.grey,danger:os.red,success:os.green,warning:os.yellow,common:{white:"#FFF",black:"#000"}},w=W=>{var Q;const U=W.split("-"),_=U[1],X=U[2];return p(W,(Q=C[_])==null?void 0:Q[X])},P=W=>({plainColor:w(`palette-${W}-500`),plainHoverBg:w(`palette-${W}-100`),plainActiveBg:w(`palette-${W}-200`),plainDisabledColor:w("palette-neutral-400"),outlinedColor:w(`palette-${W}-500`),outlinedBorder:w(`palette-${W}-300`),outlinedHoverBg:w(`palette-${W}-100`),outlinedActiveBg:w(`palette-${W}-200`),outlinedDisabledColor:w("palette-neutral-400"),outlinedDisabledBorder:w("palette-neutral-200"),softColor:w(`palette-${W}-700`),softBg:w(`palette-${W}-100`),softHoverBg:w(`palette-${W}-200`),softActiveColor:w(`palette-${W}-800`),softActiveBg:w(`palette-${W}-300`),softDisabledColor:w("palette-neutral-400"),softDisabledBg:w("palette-neutral-50"),solidColor:w("palette-common-white"),solidBg:w(`palette-${W}-500`),solidHoverBg:w(`palette-${W}-600`),solidActiveBg:w(`palette-${W}-700`),solidDisabledColor:w("palette-neutral-400"),solidDisabledBg:w("palette-neutral-100")}),$=W=>({plainColor:w(`palette-${W}-300`),plainHoverBg:w(`palette-${W}-800`),plainActiveBg:w(`palette-${W}-700`),plainDisabledColor:w("palette-neutral-500"),outlinedColor:w(`palette-${W}-200`),outlinedBorder:w(`palette-${W}-700`),outlinedHoverBg:w(`palette-${W}-800`),outlinedActiveBg:w(`palette-${W}-700`),outlinedDisabledColor:w("palette-neutral-500"),outlinedDisabledBorder:w("palette-neutral-800"),softColor:w(`palette-${W}-200`),softBg:w(`palette-${W}-800`),softHoverBg:w(`palette-${W}-700`),softActiveColor:w(`palette-${W}-100`),softActiveBg:w(`palette-${W}-600`),softDisabledColor:w("palette-neutral-500"),softDisabledBg:w("palette-neutral-800"),solidColor:w("palette-common-white"),solidBg:w(`palette-${W}-500`),solidHoverBg:w(`palette-${W}-600`),solidActiveBg:w(`palette-${W}-700`),solidDisabledColor:w("palette-neutral-500"),solidDisabledBg:w("palette-neutral-800")}),E={palette:{mode:"light",primary:z({},C.primary,P("primary")),neutral:z({},C.neutral,P("neutral"),{plainColor:w("palette-neutral-700"),plainHoverColor:w("palette-neutral-900"),outlinedColor:w("palette-neutral-700")}),danger:z({},C.danger,P("danger")),success:z({},C.success,P("success")),warning:z({},C.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",qr(C.neutral[900]))} / 0.25)`},divider:`rgba(${p("palette-neutral-mainChannel",qr(C.neutral[500]))} / 0.2)`,focusVisible:w("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"21 21 21",shadowOpacity:"0.08"},S={palette:{mode:"dark",primary:z({},C.primary,$("primary")),neutral:z({},C.neutral,$("neutral"),{plainColor:w("palette-neutral-300"),plainHoverColor:w("palette-neutral-300")}),danger:z({},C.danger,$("danger")),success:z({},C.success,$("success")),warning:z({},C.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",qr(C.neutral[50]))} / 0.25)`},divider:`rgba(${p("palette-neutral-mainChannel",qr(C.neutral[500]))} / 0.16)`,focusVisible:w("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"0 0 0",shadowOpacity:"0.6"},T='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',A=z({body:`"Inter", ${p(`fontFamily-fallback, ${T}`)}`,display:`"Inter", ${p(`fontFamily-fallback, ${T}`)}`,code:"Source Code Pro,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",fallback:T},v.fontFamily),O=z({sm:300,md:500,lg:600,xl:700},v.fontWeight),B=z({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=z({xs:"1.33334",sm:"1.42858",md:"1.5",lg:"1.55556",xl:"1.66667"},v.lineHeight),N=(t=(n=v.colorSchemes)==null||(n=n.light)==null?void 0:n.shadowRing)!=null?t:E.shadowRing,D=(r=(o=v.colorSchemes)==null||(o=o.light)==null?void 0:o.shadowChannel)!=null?r:E.shadowChannel,L=(i=(s=v.colorSchemes)==null||(s=s.light)==null?void 0:s.shadowOpacity)!=null?i:E.shadowOpacity,R={colorSchemes:{light:E,dark:S},fontSize:B,fontFamily:A,fontWeight:O,focus:{thickness:"2px",selector:`&.${Bi("","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",C.primary[500])}`}},lineHeight:I,radius:{xs:"2px",sm:"6px",md:"8px",lg:"12px",xl:"16px"},shadow:{xs:`${p("shadowRing",N)}, 0px 1px 2px 0px rgba(${p("shadowChannel",D)} / ${p("shadowOpacity",L)})`,sm:`${p("shadowRing",N)}, 0px 1px 2px 0px rgba(${p("shadowChannel",D)} / ${p("shadowOpacity",L)}), 0px 2px 4px 0px rgba(${p("shadowChannel",D)} / ${p("shadowOpacity",L)})`,md:`${p("shadowRing",N)}, 0px 2px 8px -2px rgba(${p("shadowChannel",D)} / ${p("shadowOpacity",L)}), 0px 6px 12px -2px rgba(${p("shadowChannel",D)} / ${p("shadowOpacity",L)})`,lg:`${p("shadowRing",N)}, 0px 2px 8px -2px rgba(${p("shadowChannel",D)} / ${p("shadowOpacity",L)}), 0px 12px 16px -4px rgba(${p("shadowChannel",D)} / ${p("shadowOpacity",L)})`,xl:`${p("shadowRing",N)}, 0px 2px 8px -2px rgba(${p("shadowChannel",D)} / ${p("shadowOpacity",L)}), 0px 20px 24px -4px rgba(${p("shadowChannel",D)} / ${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, ${B.xl4}`),lineHeight:p(`lineHeight-xs, ${I.xs}`),letterSpacing:"-0.025em",color:p(`palette-text-primary, ${E.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, ${E.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, ${E.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, ${E.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, ${E.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, ${E.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, ${E.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, ${E.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, ${E.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, ${E.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, ${E.palette.text.tertiary}`)}}},j=v?nr(R,v):R,{colorSchemes:H}=j,Z=Je(j,VB),q=z({colorSchemes:H},Z,{breakpoints:gS(m??{}),components:nr({MuiSvgIcon:{defaultProps:{fontSize:"xl2"},styleOverrides:{root:({ownerState:W,theme:Q})=>{var U;const _=W.instanceFontSize;return z({margin:"var(--Icon-margin)"},W.fontSize&&W.fontSize!=="inherit"&&{fontSize:`var(--Icon-fontSize, ${Q.vars.fontSize[W.fontSize]})`},!W.htmlColor&&z({color:`var(--Icon-color, ${q.vars.palette.text.icon})`},W.color&&W.color!=="inherit"&&Q.vars.palette[W.color]&&{color:`rgba(${(U=Q.vars.palette[W.color])==null?void 0:U.mainChannel} / 1)`}),_&&_!=="inherit"&&{"--Icon-fontSize":Q.vars.fontSize[_]})}}}},x),cssVarPrefix:f,getCssVar:p,spacing:xS(h)});function re(W,Q){Object.keys(Q).forEach(U=>{const _={main:"500",light:"200",dark:"700"};W==="dark"&&(_.main=400),!Q[U].mainChannel&&Q[U][_.main]&&(Q[U].mainChannel=qr(Q[U][_.main])),!Q[U].lightChannel&&Q[U][_.light]&&(Q[U].lightChannel=qr(Q[U][_.light])),!Q[U].darkChannel&&Q[U][_.dark]&&(Q[U].darkChannel=qr(Q[U][_.dark]))})}Object.entries(q.colorSchemes).forEach(([W,Q])=>{re(W,Q.palette)});const te={prefix:f,shouldSkipGeneratingVar:g},{vars:me,generateCssVars:ge}=CB(z({colorSchemes:H},Z),te);q.vars=me,q.generateCssVars=ge,q.unstable_sxConfig=z({},FB,void 0),q.unstable_sx=function(Q){return Bc({sx:Q,theme:this})},q.getColorSchemeSelector=W=>W==="light"?"&":`&[data-joy-color-scheme="${W}"], [data-joy-color-scheme="${W}"] &`;const oe={getCssVar:p,palette:q.colorSchemes.light.palette};return q.variants=nr({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=z({},q.colorSchemes.light.palette,{colorScheme:"light"}),q.shouldSkipGeneratingVar=g,q.applyStyles=bS,q}const TS=HB(),fr=SS({defaultTheme:TS,themeId:hS});function Di({props:e,name:t}){return kS({props:e,name:t,defaultTheme:z({},TS,{components:{}}),themeId:hS})}function UB(e){return typeof e=="string"}function GB(e,t,n){return e===void 0||UB(e)?t:z({},t,{ownerState:z({},t.ownerState,n)})}function KB(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 YB(e,t,n){return typeof e=="function"?e(t,n):e}function Ta(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 iy(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 XB(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=z({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),x=z({},n,o,r);return m.length>0&&(x.className=m),Object.keys(h).length>0&&(x.style=h),{props:x,internalRef:void 0}}const s=KB(z({},o,r)),a=iy(r),l=iy(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=z({},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=z({},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 qB=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],QB=["component","slots","slotProps"],ZB=["component"];function ki(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,getSlotOwnerState:s,internalForwardedProps:a}=t,l=Je(t,qB),{component:u,slots:c={[e]:void 0},slotProps:d={[e]:void 0}}=i,f=Je(i,QB),m=c[e]||r,h=YB(d[e],o),x=XB(z({className:n},l,{externalForwardedProps:e==="root"?f:void 0,externalSlotProps:h})),{props:{component:k},internalRef:g}=x,v=Je(x.props,ZB),p=hB(g,h==null?void 0:h.ref,t.ref),C=s?s(v):{},w=z({},o,C),P=e==="root"?k||u:k,$=GB(m,z({},e==="root"&&!u&&!c[e]&&a,e!=="root"&&!c[e]&&a,v,P&&{as:P},{ref:p}),w);return Object.keys(C).forEach(E=>{delete $[E]}),[m,$]}const JB=({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=z({},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},Sm=e=>t=>`--${e?`${e}-`:""}${t.replace(/^--/,"")}`,vu="data-skip-inverted-colors",RS=`& :not([${vu}], [${vu}] *)`,AS=e=>{var t,n,r,o,i,s,a,l,u,c,d,f,m,h,x,k,g,v,p,C,w,P;const $=Sm(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")]:`${(x=e.colorSchemes.dark)==null?void 0:x.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")]:`${(C=e.colorSchemes.dark)==null?void 0:C.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 e6(e){return e.theme!==void 0}const t6=e=>t=>{const n=e6(t)?t.theme:t,r=xm(n.cssVarPrefix),o=Sm(n.cssVarPrefix),i=s=>{const a=s.split("-");return r(s,n.palette[a[1]][a[2]])};return{[RS]:{"--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)`}},[`&, & [${vu}]`]:AS(n)}},n6=e=>t=>{const{theme:n=t}=t,r=xm(n.cssVarPrefix),o=Sm(n.cssVarPrefix),i=s=>{const a=s.split("-");return r(s,n.palette[a[1]][a[2]])};return{[RS]:{"--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)`}},[`&, & [${vu}]`]:AS(n)}};function r6(e){return Bi("MuiAspectRatio",e)}wo("MuiAspectRatio",["root","content","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);const o6=["children","ratio","minHeight","maxHeight","objectFit","color","variant","component","flex","slots","slotProps"],i6=e=>{const{variant:t,color:n}=e,r={root:["root"],content:["content",t&&`variant${Nn(t)}`,n&&`color${Nn(n)}`]};return Ta(r,r6,{})},s6=fr("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)"}}),a6=fr("div",{name:"JoyAspectRatio",slot:"Content",overridesResolver:(e,t)=>t.content})(({theme:e,ownerState:t})=>{var n;return z({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])}),yu=b.forwardRef(function(t,n){const r=Di({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,x=Je(r,o6),k=z({},r,{flex:f,minHeight:s,maxHeight:a,objectFit:l,ratio:i,color:u,variant:c}),g=i6(k),v=z({},x,{component:d,slots:m,slotProps:h}),[p,C]=ki("root",{ref:n,className:g.root,elementType:s6,externalForwardedProps:v,ownerState:k}),[w,P]=ki("content",{className:g.content,elementType:a6,externalForwardedProps:v,ownerState:k});return y.jsx(p,z({},C,{children:y.jsx(w,z({},P,{children:b.Children.map(o,($,E)=>E===0&&b.isValidElement($)?b.cloneElement($,{"data-first-child":""}):$)}))}))}),sy=wo("MuiButton",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg","fullWidth","startDecorator","endDecorator","loading","loadingIndicatorCenter"]);function l6(e){return Bi("MuiCard",e)}const jo=wo("MuiCard",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","horizontal","vertical"]),u6=["className","color","component","invertedColors","size","variant","children","orientation","slots","slotProps"],c6=e=>{const{size:t,variant:n,color:r,orientation:o}=e,i={root:["root",o,n&&`variant${Nn(n)}`,r&&`color${Nn(r)}`,t&&`size${Nn(t)}`]};return Ta(i,l6,{})},d6=fr("div")(({theme:e,ownerState:t})=>{var n;const{p:r,padding:o,borderRadius:i}=JB({theme:e,ownerState:t},["p","padding","borderRadius"]);return[z({"--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&&t6(t.color)(e),t.variant==="soft"&&t.color&&t.invertedColors&&n6(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}]}),f6=fr(d6,{name:"JoyCard",slot:"Root",overridesResolver:(e,t)=>t.root})({}),MS=b.forwardRef(function(t,n){const r=Di({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=Je(r,u6),x=z({},r,{color:i,component:s,orientation:d,size:l,variant:u,invertedColors:a}),k=c6(x),g=z({},h,{component:s,slots:f,slotProps:m}),[v,p]=ki("root",{ref:n,className:Y(k.root,o),elementType:f6,externalForwardedProps:g,ownerState:x});return y.jsx(v,z({},p,{children:b.Children.map(c,(C,w)=>{if(!b.isValidElement(C))return C;const P={};if(PS(C,["Divider"])){P.inset="inset"in C.props?C.props.inset:"context";const $=d==="vertical"?"horizontal":"vertical";P.orientation="orientation"in C.props?C.props.orientation:$}return w===0&&(P["data-first-child"]=""),w===b.Children.count(c)-1&&(P["data-last-child"]=""),b.cloneElement(C,P)})}))});function p6(e){return Bi("MuiCardOverflow",e)}const h6=wo("MuiCardOverflow",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);function m6(e){return Bi("MuiDivider",e)}wo("MuiDivider",["root","horizontal","vertical","insetContext","insetNone"]);function g6(e){return Bi("MuiCardContent",e)}wo("MuiCardContent",["root"]);const v6=["className","component","children","orientation","slots","slotProps"],y6=()=>Ta({root:["root"]},g6,{}),x6=fr("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)",[`.${h6.root} > &`]:{"--unstable_padding":"calc(var(--Card-padding) * 0.75) 0px"}})),b6=fr(x6,{name:"JoyCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ay=b.forwardRef(function(t,n){const r=Di({props:t,name:"JoyCardContent"}),{className:o,component:i="div",children:s,orientation:a="vertical",slots:l={},slotProps:u={}}=r,c=Je(r,v6),d=z({},c,{component:i,slots:l,slotProps:u}),f=z({},r,{component:i,orientation:a}),m=y6(),[h,x]=ki("root",{ref:n,className:Y(m.root,o),elementType:b6,externalForwardedProps:d,ownerState:f});return y.jsx(h,z({},x,{children:s}))}),C6=wo("MuiModalDialog",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","layoutCenter","layoutFullscreen"]),S6=["className","component","children","color","variant","slots","slotProps"],w6=e=>{const{variant:t,color:n}=e,r={root:["root",t&&`variant${Nn(t)}`,n&&`color${Nn(n)}`]};return Ta(r,p6,{})},k6=fr("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 z({alignSelf:"stretch",position:"relative",display:"flex",flexDirection:"var(--_CardOverflow-flexDirection)",margin:"var(--_CardOverflow-margin)",borderRadius:"var(--_CardOverflow-radius)",padding:"var(--_CardOverflow-padding)",[`.${jo.vertical} &, .${jo.horizontal} .${jo.vertical} &, .${C6.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)"},[`& > .${sy.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)"}},[`.${jo.horizontal} &, .${jo.vertical} .${jo.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)"},[`& > .${sy.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])}),wl=b.forwardRef(function(t,n){const r=Di({props:t,name:"JoyCardOverflow"}),{className:o,component:i="div",children:s,color:a="neutral",variant:l="plain",slots:u={},slotProps:c={}}=r,d=Je(r,S6),f=z({},r,{component:i,color:a,variant:l}),m=w6(f),h=z({},d,{component:i,slots:u,slotProps:c}),[x,k]=ki("root",{ref:n,className:Y(m.root,o),elementType:k6,externalForwardedProps:h,ownerState:f});return y.jsx(x,z({},k,{children:s}))});wl.muiName="CardOverflow";const $6=["className","children","component","inset","orientation","role","slots","slotProps"],P6=e=>{const{orientation:t,inset:n}=e,r={root:["root",t,n&&`inset${Nn(n)}`]};return Ta(r,m6,{})},E6=fr("hr",{name:"JoyDivider",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>z({"--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?z({"--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)"})),OS=b.forwardRef(function(t,n){const r=Di({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=Je(r,$6),m=z({},r,{inset:a,role:u,orientation:l,component:s}),h=P6(m),x=z({},f,{component:s,slots:c,slotProps:d}),[k,g]=ki("root",{ref:n,className:Y(h.root,o),elementType:E6,externalForwardedProps:x,ownerState:m,additionalProps:z({as:s,role:u},u==="separator"&&l==="vertical"&&{"aria-orientation":"vertical"})});return y.jsx(k,z({},g,{children:i}))});OS.muiName="Divider";const Ne=LB({createStyledComponent:fr("div",{name:"JoyGrid",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>Di({props:e,name:"JoyGrid"})}),T6=Te([y.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"},"0"),y.jsx("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},"1")],"AccessTime"),R6=Te(y.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"),A6=Te(y.jsx("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack"),M6=Te(y.jsx("path",{d:"M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2m0 15-5-2.18L7 18V5h10z"}),"BookmarkBorder"),IS=Te([y.jsx("path",{d:"m12 2-5.5 9h11z"},"0"),y.jsx("circle",{cx:"17.5",cy:"17.5",r:"4.5"},"1"),y.jsx("path",{d:"M3 13.5h8v8H3z"},"2")],"Category"),O6=Te(y.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),I6=Te(y.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"),j6=Te(y.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"),B6=Te(y.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"),D6=Te(y.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"),jS=Te(y.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"),BS=Te(y.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"),DS=Te(y.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"),L6=Te(y.jsx("path",{d:"M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14m-.5 15.5v-5.3a3.26 3.26 0 0 0-3.26-3.26c-.85 0-1.84.52-2.32 1.3v-1.11h-2.79v8.37h2.79v-4.93c0-.77.62-1.4 1.39-1.4a1.4 1.4 0 0 1 1.4 1.4v4.93h2.79M6.88 8.56a1.68 1.68 0 0 0 1.68-1.68c0-.93-.75-1.69-1.68-1.69a1.69 1.69 0 0 0-1.69 1.69c0 .93.76 1.68 1.69 1.68m1.39 9.94v-8.37H5.5v8.37h2.77z"}),"LinkedIn"),wm=Te(y.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"),F6=Te(y.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"),z6=Te(y.jsx("path",{d:"m10 16.5 6-4.5-6-4.5zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"PlayCircleOutline"),N6=Te(y.jsx("path",{d:"M5 13.18v4L12 21l7-3.82v-4L12 17zM12 3 1 9l11 6 9-4.91V17h2V9z"}),"School"),_6=Te(y.jsx("path",{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92s2.92-1.31 2.92-2.92-1.31-2.92-2.92-2.92"}),"Share"),ly=Te(y.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 V6(){const{theme:e}=b.useContext(kn),t={color:e.text.secondary,textDecoration:"none",display:"block",padding:"8px 0",transition:"color 0.3s ease","&:hover":{color:e.text.primary}};return y.jsx(ce,{component:"footer",sx:{py:6,px:2,backgroundColor:e.footer.backgroundColor,color:e.text.secondary,borderTop:`1px solid ${e.divider}`},children:y.jsxs(yi,{maxWidth:"lg",children:[y.jsxs(Ne,{container:!0,spacing:4,justifyContent:"space-between",children:[y.jsxs(Ne,{item:!0,xs:12,sm:4,children:[y.jsxs(ce,{display:"flex",alignItems:"center",mb:2,children:[y.jsx(Yf,{sx:{fontSize:40,mr:1,color:e.icon.color}}),y.jsx(ie,{variant:"h5",color:e.text.primary,sx:{fontWeight:"bold"},children:"Orchid Haven"})]}),y.jsx(ie,{variant:"body2",color:e.text.secondary,children:"Discover the beauty and diversity of orchids. Our passion is to share knowledge and inspire orchid enthusiasts worldwide."})]}),y.jsxs(Ne,{item:!0,xs:12,sm:4,children:[y.jsx(ie,{variant:"h6",color:e.text.primary,gutterBottom:!0,children:"Quick Links"}),y.jsxs(ce,{sx:{display:"flex",flexDirection:"column"},children:[y.jsx(An,{to:"/fer-lab1/",style:t,children:"Home"}),y.jsx(An,{to:"/fer-lab1/natural",style:t,children:"Special Orchid"}),y.jsx(An,{to:"/fer-lab1/news",style:t,children:"Orchid News"}),y.jsx(An,{to:"/fer-lab1/contact",style:t,children:"Contact Us"})]})]}),y.jsxs(Ne,{item:!0,xs:12,sm:4,children:[y.jsx(ie,{variant:"h6",color:e.text.primary,gutterBottom:!0,children:"Stay Connected"}),y.jsx(ie,{variant:"body2",color:e.text.secondary,gutterBottom:!0,children:"Follow us on social media for daily orchid inspiration and tips."}),y.jsxs(ce,{children:[y.jsx(un,{color:"inherit","aria-label":"Facebook",href:"https://www.facebook.com/hoangnguyen.c1002/",children:y.jsx(jS,{})}),y.jsx(un,{color:"inherit","aria-label":"Twitter",href:"https://www.linkedin.com/in/hoang-nguyen-c1002/",children:y.jsx(L6,{})}),y.jsx(un,{color:"inherit","aria-label":"Instagram",href:"https://www.instagram.com/__hoang.nguyeen__/",children:y.jsx(DS,{})}),y.jsx(un,{color:"inherit","aria-label":"Github",href:"https://github.com/Hoang-Nguyen-Huy",children:y.jsx(BS,{})})]})]})]}),y.jsx(xi,{sx:{my:4,backgroundColor:e.divider}}),y.jsxs(ce,{mt:3,display:"flex",justifyContent:"space-between",alignItems:"center",children:[y.jsxs(ie,{variant:"body2",color:e.text.secondary,children:["© ",new Date().getFullYear()," Orchid Haven. All rights reserved."]}),y.jsxs(ce,{children:[y.jsx(An,{to:"#",style:{...t,display:"inline",marginRight:"16px"},children:"Privacy Policy"}),y.jsx(An,{to:"#",style:{...t,display:"inline"},children:"Terms of Service"})]})]})]})})}const km=[{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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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",video:"https://www.youtube.com/embed/bhOEYjiBb7o?si=SFrWpSd4OtrgzLPs",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 W6({orchid:e}){const[t,n]=b.useState(!1),[r,o]=b.useState(null);return{isVisible:t,detail:r,showModal:a=>{o(a),n(!0)},hideModal:()=>n(!1)}}const H6=_n(MS);function LS({orchid:e}){const{isVisible:t,showModal:n,hideModal:r}=W6({orchid:e}),o=ch(),{theme:i}=b.useContext(kn),s=()=>{o(`/fer-lab1/${e.Id}`)};return y.jsxs(y.Fragment,{children:[y.jsxs(H6,{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:[y.jsx(wl,{children:y.jsx(yu,{variant:"outlined",ratio:"2",onClick:()=>n(e),children:y.jsx(_n.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}})})}),y.jsxs(ay,{children:[y.jsx(ie,{level:"title-md",sx:{color:i.text.primary,fontWeight:"bold",mb:.5},children:e.name}),y.jsxs(ce,{children:[y.jsxs(ie,{level:"body-sm",sx:{color:i.text.secondary,mb:2,alignItems:"center",display:"flex"},children:[y.jsx(wm,{sx:{marginRight:"4px",width:"16px",color:i.icon.color}}),e.origin]}),y.jsxs(ie,{level:"body-sm",sx:{color:i.text.secondary,mb:2,alignItems:"center",display:"flex"},children:[y.jsx(IS,{sx:{marginRight:"4px",width:"16px",color:i.icon.color}}),e.category]})]})]}),y.jsxs(wl,{variant:"soft",sx:{bgcolor:i.action.hover},children:[y.jsx(OS,{inset:"context",sx:{bgcolor:i.divider}}),y.jsxs(ay,{orientation:"horizontal",sx:{justifyContent:"space-between"},children:[y.jsx(Bb,{name:"read-only",value:e.rating,readOnly:!0}),y.jsx(_n.div,{whileHover:{scale:1.1},whileTap:{scale:.95},children:y.jsx(Lr,{variant:"outlined",onClick:s,sx:{color:i.button.primary,borderColor:i.button.primary,"&:hover":{backgroundColor:i.button.hover,borderColor:i.button.hover}},children:"Detail"})})]})]})]}),y.jsx(jh,{open:t,onClose:r,"aria-labelledby":"modal-modal-title","aria-describedby":"modal-modal-description",children:y.jsxs(ce,{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:[y.jsx(MS,{children:y.jsx(wl,{children:y.jsx(yu,{ratio:"2",children:y.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})})})}),y.jsx(ie,{id:"modal-modal-description",sx:{mt:2,color:i.text.primary},children:e.detail})]})})]})}function U6(){const{theme:e}=b.useContext(kn);return y.jsx(Ne,{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,paddingTop:"36px"},children:km.map(t=>y.jsx(Ne,{size:{xs:1,sm:3,md:4},children:y.jsx(LS,{orchid:t},t.Id)},t.Id))})}const G6=_n(ce);function K6(){const{id:e}=Nk(),t=ch(),n=km.find(s=>s.Id===e),{theme:r}=b.useContext(kn),[o,i]=b.useState(!1);return n?y.jsxs(ce,{sx:{display:"flex",flexDirection:"column",minHeight:"calc(100vh - 64px - 56px)",bgcolor:r.mainContent.backgroundColor,color:r.text.primary},children:[y.jsxs(yi,{maxWidth:"lg",sx:{py:4},children:[y.jsx(Lr,{onClick:()=>t("/fer-lab1"),variant:"contained",startIcon:y.jsx(A6,{}),sx:{mb:3,backgroundColor:r.button.primary,"&:hover":{backgroundColor:r.button.hover}},children:"Back to List"}),y.jsx(G6,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},children:y.jsx(xo,{elevation:3,sx:{overflow:"hidden",borderRadius:2,backgroundColor:r.card.backgroundColor,color:r.text.primary},children:y.jsxs(Ne,{container:!0,spacing:0,children:[y.jsx(Ne,{item:!0,xs:12,md:6,children:y.jsxs(ce,{sx:{position:"relative"},children:[y.jsx(yu,{ratio:"4/3",children:y.jsx("img",{src:n.image,alt:n.name,style:{width:"100%",height:"100%",objectFit:"cover"}})}),y.jsx(Lr,{variant:"contained",startIcon:y.jsx(z6,{}),onClick:()=>i(!0),sx:{position:"absolute",bottom:16,right:16,backgroundColor:"rgba(0, 0, 0, 0.6)","&:hover":{backgroundColor:"rgba(0, 0, 0, 0.8)"}},children:"Watch Video"})]})}),y.jsx(Ne,{item:!0,xs:12,md:6,children:y.jsxs(ce,{sx:{p:4},children:[y.jsx(ie,{variant:"h4",component:"h1",gutterBottom:!0,children:n.name}),y.jsxs(ce,{sx:{display:"flex",alignItems:"center",mb:2},children:[y.jsx(Bb,{name:"read-only",value:n.rating,readOnly:!0,precision:.5,emptyIcon:y.jsx(ly,{style:{opacity:.55},fontSize:"inherit"})}),y.jsxs(ie,{variant:"body1",sx:{ml:1},children:["(",n.rating,"/5)"]})]}),y.jsx(xi,{sx:{my:2}}),y.jsxs(ie,{variant:"body1",sx:{mb:2,display:"flex",alignItems:"center"},children:[y.jsx(wm,{sx:{mr:1,color:r.icon.color}}),"Origin:"," ",y.jsx(fs,{label:n.origin,sx:{ml:1,backgroundColor:r.chip.backgroundColor,color:r.chip.color}})]}),y.jsxs(ie,{variant:"body1",sx:{mb:2,display:"flex",alignItems:"center"},children:[y.jsx(IS,{sx:{mr:1,color:r.icon.color}}),"Category:"," ",y.jsx(fs,{label:n.category,sx:{ml:1,backgroundColor:r.chip.backgroundColor,color:r.chip.color}})]}),y.jsxs(ie,{variant:"body1",sx:{mb:2,display:"flex",alignItems:"center"},children:[y.jsx(I6,{sx:{mr:1,color:r.icon.color}}),"Color:"," ",y.jsx(fs,{label:n.color,sx:{ml:1,backgroundColor:r.chip.backgroundColor,color:r.chip.color}})]}),y.jsx(xi,{sx:{my:2}}),y.jsx(ie,{variant:"body1",paragraph:!0,children:n.detail}),n.isSpecial&&y.jsx(fs,{icon:y.jsx(ly,{}),label:"Special Orchid",color:"warning",sx:{mt:2}})]})})]})})})]}),y.jsx(jh,{open:o,onClose:()=>i(!1),"aria-labelledby":"video-modal-title","aria-describedby":"video-modal-description",children:y.jsxs(ce,{sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"80%",maxWidth:800,bgcolor:r.card.backgroundColor,boxShadow:24,p:4,borderRadius:2},children:[y.jsx(ce,{sx:{display:"flex",justifyContent:"flex-end",mb:2},children:y.jsx(un,{onClick:()=>i(!1),sx:{color:r.text.primary},children:y.jsx(O6,{})})}),y.jsx(yu,{ratio:"16/9",children:y.jsx("iframe",{width:"100%",height:"100%",src:n.video,title:n.name,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})})]})})]}):y.jsx(yi,{maxWidth:"lg",sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh",bgcolor:r.mainContent.backgroundColor},children:y.jsx(ie,{variant:"h4",color:r.text.primary,children:"Orchid not found"})})}function Y6(){const{theme:e}=b.useContext(kn),t=km.filter(n=>n.isSpecial);return y.jsx(ce,{sx:{display:"flex",flexDirection:"column",minHeight:"calc(100vh - 64px - 56px)",backgroundColor:e.mainContent.backgroundColor},children:y.jsx(Ne,{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,paddingTop:"36px"},children:t.map(n=>y.jsx(Ne,{size:{xs:1,sm:3,md:4},children:y.jsx(LS,{orchid:n},n.Id)},n.Id))})})}const X6="/fer-lab1/assets/avt-D_utLsXG.jpg",Bo=_n(ce),q6=_n(Ab),Dd=({icon:e,title:t,content:n,theme:r})=>y.jsx(q6,{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:y.jsxs(Mb,{children:[y.jsxs(ce,{display:"flex",alignItems:"center",mb:2,children:[an.cloneElement(e,{style:{color:r.icon.color}}),y.jsx(ie,{variant:"h6",component:"h3",ml:1,color:r.text.primary,children:t})]}),y.jsx(ie,{variant:"body1",color:r.text.secondary,children:n})]})});function Q6(){const{theme:e}=b.useContext(kn);return y.jsx(ce,{sx:{display:"flex",flexDirection:"column",minHeight:"100vh",backgroundColor:e.mainContent.backgroundColor,color:e.text.primary},children:y.jsx(yi,{maxWidth:!1,sx:{backgroundColor:e.mainContent.backgroundColor,color:e.text.primary,flex:"1 0 auto",padding:"2rem",paddingBottom:"4rem"},children:y.jsxs(ce,{py:8,children:[y.jsx(Bo,{initial:{opacity:0,y:-50},animate:{opacity:1,y:0},transition:{duration:.5},mb:6,children:y.jsx(ie,{variant:"h2",component:"h1",align:"center",gutterBottom:!0,color:e.text.primary,children:"About Me"})}),y.jsxs(Ne,{container:!0,spacing:4,children:[y.jsx(Ne,{item:!0,xs:12,md:4,children:y.jsx(Bo,{initial:{opacity:0,x:-50},animate:{opacity:1,x:0},transition:{duration:.5,delay:.2},children:y.jsxs(ce,{textAlign:"center",children:[y.jsx(Rb,{alt:"Nguyen Huy Hoang",src:X6,sx:{width:200,height:200,margin:"auto",mb:2}}),y.jsx(ie,{variant:"h4",component:"h2",gutterBottom:!0,color:e.text.primary,children:"Nguyen Huy Hoang"}),y.jsx(ie,{variant:"subtitle1",color:e.text.secondary,gutterBottom:!0,children:"Software Engineering Student"}),y.jsxs(ce,{children:[y.jsx(un,{"aria-label":"Facebook",sx:{color:e.icon.color},href:"https://www.facebook.com/hoangnguyen.c1002/",children:y.jsx(jS,{})}),y.jsx(un,{"aria-label":"Instagram",sx:{color:e.icon.color},href:"https://www.instagram.com/__hoang.nguyeen__/",children:y.jsx(DS,{})}),y.jsx(un,{"aria-label":"GitHub",sx:{color:e.icon.color},href:"https://github.com/Hoang-Nguyen-Huy",children:y.jsx(BS,{})})]})]})})}),y.jsx(Ne,{item:!0,xs:12,md:8,children:y.jsxs(Bo,{initial:{opacity:0,x:50},animate:{opacity:1,x:0},transition:{duration:.5,delay:.4},children:[y.jsx(ie,{variant:"h5",component:"h3",gutterBottom:!0,color:e.text.primary,children:"Education"}),y.jsxs(ce,{display:"flex",alignItems:"center",mb:2,children:[y.jsx(N6,{sx:{color:e.icon.color,mr:1}}),y.jsx(ie,{variant:"body1",color:e.text.primary,children:"FPT University, Ho Chi Minh City"})]}),y.jsx(ie,{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."})]})})]}),y.jsxs(ce,{mt:8,children:[y.jsx(ie,{variant:"h4",component:"h2",align:"center",gutterBottom:!0,color:e.text.primary,children:"Our Approach"}),y.jsxs(Ne,{container:!0,spacing:4,mt:2,children:[y.jsx(Ne,{item:!0,xs:12,md:4,children:y.jsx(Bo,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.5,delay:.6},children:y.jsx(Dd,{icon:y.jsx(B6,{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})})}),y.jsx(Ne,{item:!0,xs:12,md:4,children:y.jsx(Bo,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.5,delay:.8},children:y.jsx(Dd,{icon:y.jsx(D6,{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})})}),y.jsx(Ne,{item:!0,xs:12,md:4,children:y.jsx(Bo,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.5,delay:1},children:y.jsx(Dd,{icon:y.jsx(R6,{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 Z6=_n(xo),J6=_n(ce);function eD(){const{theme:e}=b.useContext(kn),[t,n]=b.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 y.jsx(ce,{sx:{display:"flex",flexDirection:"column",minHeight:"100vh",backgroundColor:e.mainContent.backgroundColor,color:e.text.primary,paddingTop:"8px"},children:y.jsxs(yi,{maxWidth:!1,sx:{py:8,backgroundColor:e.mainContent.backgroundColor,minHeight:"100vh",padding:"2rem"},children:[y.jsx(ie,{variant:"h2",component:"h1",align:"center",gutterBottom:!0,color:e.text.primary,children:"Contact Us"}),y.jsxs(Ne,{container:!0,spacing:4,justifyContent:"center",children:[y.jsx(Ne,{item:!0,xs:12,md:6,children:y.jsx(Z6,{elevation:3,initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.5},sx:{p:4,backgroundColor:e.card.backgroundColor},children:y.jsxs("form",{onSubmit:o,children:[y.jsx(bd,{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}}}),y.jsx(bd,{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}}}),y.jsx(bd,{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}}}),y.jsx(Lr,{type:"submit",variant:"contained",color:"primary",size:"large",fullWidth:!0,sx:{mt:2},children:"Send Message"})]})})}),y.jsx(Ne,{item:!0,xs:12,md:6,children:y.jsx(J6,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.5,delay:.2},children:y.jsxs(xo,{elevation:3,sx:{p:4,height:"100%",backgroundColor:e.card.backgroundColor},children:[y.jsx(ie,{variant:"h5",gutterBottom:!0,color:e.text.primary,children:"Contact Information"}),y.jsxs(ce,{display:"flex",alignItems:"center",mb:2,children:[y.jsx(un,{sx:{color:e.icon.color,mr:1},children:y.jsx(j6,{})}),y.jsx(ie,{color:e.text.primary,children:"contact@example.com"})]}),y.jsxs(ce,{display:"flex",alignItems:"center",mb:2,children:[y.jsx(un,{sx:{color:e.icon.color,mr:1},children:y.jsx(F6,{})}),y.jsx(ie,{color:e.text.primary,children:"+1 (123) 456-7890"})]}),y.jsxs(ce,{display:"flex",alignItems:"center",mb:2,children:[y.jsx(un,{sx:{color:e.icon.color,mr:1},children:y.jsx(wm,{})}),y.jsx(ie,{color:e.text.primary,children:"Lô E2a-7, Đường D1, Đ. D1, Long Thạnh Mỹ, Thành Phố Thủ Đức, Hồ Chí Minh"})]}),y.jsxs(ce,{mt:4,children:[y.jsx(ie,{variant:"h6",gutterBottom:!0,color:e.text.primary,children:"Find Us On Map"}),y.jsx(xo,{elevation:2,sx:{height:250,overflow:"hidden"},children:y.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"})})]})]})})})]})]})})}const tD=[{id:1,title:"New Orchid Species Discovered in Remote Rainforest",excerpt:"Researchers have found a previously unknown orchid species in the heart of the Amazon rainforest, showcasing the ongoing biodiversity discoveries in the region.",image:"https://www.coolearth.org/wp-content/uploads/2015/03/singing-orchid-1800x1196-1-1800x1080.jpg",category:"Discovery",author:{name:"Dr. Jane Smith",avatar:"https://pm1.aminoapps.com/7039/9b97883e37ad87916c0c909e2bc4792d56939aber1-734-569v2_hq.jpg"},date:"2024-10-04"},{id:2,title:"Rare Ghost Orchid Blooms in Florida Swamp",excerpt:"The elusive ghost orchid, known for its ethereal beauty, has been spotted blooming in a protected area of the Florida Everglades, exciting botanists and nature enthusiasts alike.",image:"https://i.natgeofe.com/n/07abea22-0cb5-4d7c-8507-ed1588c7930d/ghost-orchid-florida-01_2x1.jpg",category:"Nature",author:{name:"Mark Johnson",avatar:"https://news.virginia.edu/sites/default/files/article_image/mj_3-2.jpg"},date:"2024-10-03"},{id:3,title:"Orchid Conservation Efforts Show Promising Results",excerpt:"A decade-long conservation project focused on protecting endangered orchid species has reported significant progress.",image:"https://gardens.si.edu/wp-content/uploads/2024/07/gh12-201105-hl04-1-2000x1095.jpg",category:"Conservation",author:{name:"Emily Chen",avatar:"https://imgix.bustle.com/uploads/image/2024/6/5/89e161c3/eip_unit_01403r.jpg"},date:"2024-10-02"},{id:4,title:"Innovative Orchid Hybridization Technique Unveiled",excerpt:"Scientists have developed a groundbreaking hybridization technique that could revolutionize orchid breeding, potentially creating more resilient and vibrant varieties.",image:"https://bee-ma.world/wp-content/uploads/2024/09/Leonardo_Phoenix_A_serene_and_intimate_photograph_showcasing_O_1.jpg",category:"Science",author:{name:"Dr. Alex Wong",avatar:"https://today.usc.edu/wp-content/uploads/2017/03/Wong-Alex_-scaled.jpg"},date:"2024-10-01"},{id:5,title:"Virtual Orchid Exhibition Attracts Global Audience",excerpt:"An online orchid show has drawn participants from over 50 countries, showcasing rare specimens and fostering international collaboration among orchid enthusiasts.",image:"https://aiph.org/wp-content/uploads/2019/04/IMG_1603-scaled.jpg",category:"Event",author:{name:"Sarah Lee",avatar:"https://a.storyblok.com/f/119968/800x800/d9428b7000/sarah_lee_thumbnail-0-5x.jpg"},date:"2024-09-30"},{id:6,title:"Climate Change Threatens Rare Alpine Orchid Species",excerpt:"Researchers warn that rising temperatures and changing precipitation patterns could lead to the extinction of several high-altitude orchid species in the next few decades.",image:"https://www.climatecrisisalert.com/wp-content/swift-ai/images/wp-content/uploads/2024/02/Orchids-various-species-Climate-Change-jpg.webp",category:"Environment",author:{name:"Prof. Maria Gonzalez",avatar:"https://melanoma.org.au/wp-content/uploads/2022/03/Maria-Gonzalez-1.jpg"},date:"2024-09-29"}],nD=_n(Ab);function rD(){const{theme:e}=b.useContext(kn);return y.jsxs(ce,{sx:{display:"flex",flexDirection:"column",minHeight:"calc(100vh - 64px - 56px)",backgroundColor:e.mainContent.backgroundColor,padding:{xs:2,sm:4,md:6}},children:[y.jsx(ie,{variant:"h2",component:"h1",gutterBottom:!0,align:"center",sx:{mb:6,fontWeight:"bold",color:e.text.primary,fontSize:{xs:"2.5rem",md:"3.5rem"},textShadow:`2px 2px 4px ${e.text.secondary}`},children:"Latest Orchid News"}),y.jsx(Ne,{container:!0,spacing:4,children:tD.map((t,n)=>y.jsx(Ne,{item:!0,xs:12,sm:6,md:4,children:y.jsxs(nD,{sx:{height:"100%",display:"flex",flexDirection:"column",transition:"0.3s",backgroundColor:e.card.backgroundColor,color:e.card.color,"&:hover":{transform:"translateY(-8px)",boxShadow:e.elevation[3]}},initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:n*.1},children:[y.jsx(y3,{component:"img",height:"200",image:t.image,alt:t.title,sx:{objectFit:"cover"}}),y.jsxs(Mb,{sx:{flexGrow:1,position:"relative"},children:[y.jsx(fs,{label:t.category,size:"small",sx:{mb:2,backgroundColor:e.chip.backgroundColor,color:e.chip.color,position:"absolute",top:-20,left:16,boxShadow:e.elevation[1]}}),y.jsx(ie,{gutterBottom:!0,variant:"h5",component:"h2",sx:{fontWeight:"bold",color:e.text.primary},children:t.title}),y.jsx(ie,{variant:"body2",sx:{color:e.text.secondary,mb:2},children:t.excerpt}),y.jsx(xi,{sx:{mb:2,backgroundColor:e.divider}}),y.jsxs(ce,{sx:{display:"flex",alignItems:"center",mb:2},children:[y.jsx(Rb,{src:t.author.avatar,sx:{width:32,height:32,mr:1}}),y.jsx(ie,{variant:"subtitle2",sx:{color:e.text.primary,mr:2},children:t.author.name}),y.jsx(T6,{sx:{fontSize:16,mr:.5,color:e.icon.color}}),y.jsx(ie,{variant:"caption",sx:{color:e.text.secondary},children:new Date(t.date).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})})]}),y.jsxs(ce,{sx:{display:"flex",justifyContent:"space-between"},children:[y.jsx(Lr,{startIcon:y.jsx(M6,{}),size:"small",sx:{color:e.button.primary},children:"Save"}),y.jsx(Lr,{startIcon:y.jsx(_6,{}),size:"small",sx:{color:e.button.primary},children:"Share"})]})]})]})},t.id))})]})}function oD(){return y.jsxs("div",{style:{position:"relative"},children:[y.jsx(ZI,{}),y.jsxs(e$,{children:[y.jsx(Jr,{path:"/fer-lab1/",element:y.jsx(U6,{})}),y.jsx(Jr,{path:"/fer-lab1/natural",element:y.jsx(Y6,{})}),y.jsx(Jr,{path:"/fer-lab1/:id",element:y.jsx(K6,{})}),y.jsx(Jr,{path:"/fer-lab1/news",element:y.jsx(rD,{})}),y.jsx(Jr,{path:"/fer-lab1/about",element:y.jsx(Q6,{})}),y.jsx(Jr,{path:"/fer-lab1/contact",element:y.jsx(eD,{})})]}),y.jsx(V6,{})]})}Sx(document.getElementById("root")).render(y.jsx(b.StrictMode,{children:y.jsx(a$,{children:y.jsx(FR,{children:y.jsx(oD,{})})})})); diff --git a/index.html b/index.html index 28dad6f..98a627e 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ Vite + React - +