From c2c3ae194bbd6fc36405be23e7de13f4f073b79e Mon Sep 17 00:00:00 2001 From: Hoang-Nguyen-Huy Date: Sun, 29 Sep 2024 16:03:16 +0000 Subject: [PATCH] deploy: 13f032ea206ba54906fdd53bbb0d45923fb6084d --- .../{index--AIr2Crn.js => index-CRIlFr70.js} | 50 +++++++++---------- index.html | 2 +- 2 files changed, 26 insertions(+), 26 deletions(-) rename assets/{index--AIr2Crn.js => index-CRIlFr70.js} (50%) diff --git a/assets/index--AIr2Crn.js b/assets/index-CRIlFr70.js similarity index 50% rename from assets/index--AIr2Crn.js rename to assets/index-CRIlFr70.js index e2a3913..0601749 100644 --- a/assets/index--AIr2Crn.js +++ b/assets/index-CRIlFr70.js @@ -1,4 +1,4 @@ -var nv=Object.defineProperty;var rv=(e,t,n)=>t in e?nv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var xo=(e,t,n)=>rv(e,typeof t!="symbol"?t+"":t,n);function ov(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function mm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var hm={exports:{}},hl={},gm={exports:{}},J={};/** +var rv=Object.defineProperty;var ov=(e,t,n)=>t in e?rv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var xo=(e,t,n)=>ov(e,typeof t!="symbol"?t+"":t,n);function iv(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function hm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var gm={exports:{}},gl={},vm={exports:{}},J={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ var nv=Object.defineProperty;var rv=(e,t,n)=>t in e?nv(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Ri=Symbol.for("react.element"),iv=Symbol.for("react.portal"),av=Symbol.for("react.fragment"),lv=Symbol.for("react.strict_mode"),sv=Symbol.for("react.profiler"),uv=Symbol.for("react.provider"),cv=Symbol.for("react.context"),dv=Symbol.for("react.forward_ref"),fv=Symbol.for("react.suspense"),pv=Symbol.for("react.memo"),mv=Symbol.for("react.lazy"),Jd=Symbol.iterator;function hv(e){return e===null||typeof e!="object"?null:(e=Jd&&e[Jd]||e["@@iterator"],typeof e=="function"?e:null)}var vm={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ym=Object.assign,xm={};function so(e,t,n){this.props=e,this.context=t,this.refs=xm,this.updater=n||vm}so.prototype.isReactComponent={};so.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")};so.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Cm(){}Cm.prototype=so.prototype;function vc(e,t,n){this.props=e,this.context=t,this.refs=xm,this.updater=n||vm}var yc=vc.prototype=new Cm;yc.constructor=vc;ym(yc,so.prototype);yc.isPureReactComponent=!0;var Zd=Array.isArray,Sm=Object.prototype.hasOwnProperty,xc={current:null},wm={key:!0,ref:!0,__self:!0,__source:!0};function bm(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)Sm.call(t,r)&&!wm.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1t in e?nv(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Cv=w,Sv=Symbol.for("react.element"),wv=Symbol.for("react.fragment"),bv=Object.prototype.hasOwnProperty,$v=Cv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,kv={key:!0,ref:!0,__self:!0,__source:!0};function km(e,t,n){var r,o={},i=null,a=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)bv.call(t,r)&&!kv.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:Sv,type:e,key:i,ref:a,props:o,_owner:$v.current}}hl.Fragment=wv;hl.jsx=km;hl.jsxs=km;hm.exports=hl;var R=hm.exports,Em={exports:{}},kt={},Pm={exports:{}},Rm={};/** + */var Sv=w,wv=Symbol.for("react.element"),bv=Symbol.for("react.fragment"),$v=Object.prototype.hasOwnProperty,kv=Sv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Ev={key:!0,ref:!0,__self:!0,__source:!0};function Em(e,t,n){var r,o={},i=null,a=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)$v.call(t,r)&&!Ev.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:wv,type:e,key:i,ref:a,props:o,_owner:kv.current}}gl.Fragment=bv;gl.jsx=Em;gl.jsxs=Em;gm.exports=gl;var R=gm.exports,Pm={exports:{}},kt={},Rm={exports:{}},Tm={};/** * @license React * scheduler.production.min.js * @@ -22,7 +22,7 @@ var nv=Object.defineProperty;var rv=(e,t,n)=>t in e?nv(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(e){function t(O,D){var V=O.length;O.push(D);e:for(;0>>1,K=O[Q];if(0>>1;Qo(Ie,V))keo(ne,Ie)?(O[Q]=ne,O[ke]=V,Q=ke):(O[Q]=Ie,O[Z]=V,Q=Z);else if(keo(ne,V))O[Q]=ne,O[ke]=V,Q=ke;else break e}}return D}function o(O,D){var V=O.sortIndex-D.sortIndex;return V!==0?V:O.id-D.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var s=[],u=[],f=1,d=null,p=3,y=!1,g=!1,x=!1,b=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function c(O){for(var D=n(u);D!==null;){if(D.callback===null)r(u);else if(D.startTime<=O)r(u),D.sortIndex=D.expirationTime,t(s,D);else break;D=n(u)}}function S(O){if(x=!1,c(O),!g)if(n(s)!==null)g=!0,I(C);else{var D=n(u);D!==null&&L(S,D.startTime-O)}}function C(O,D){g=!1,x&&(x=!1,h(E),E=-1),y=!0;var V=p;try{for(c(D),d=n(s);d!==null&&(!(d.expirationTime>D)||O&&!B());){var Q=d.callback;if(typeof Q=="function"){d.callback=null,p=d.priorityLevel;var K=Q(d.expirationTime<=D);D=e.unstable_now(),typeof K=="function"?d.callback=K:d===n(s)&&r(s),c(D)}else r(s);d=n(s)}if(d!==null)var ge=!0;else{var Z=n(u);Z!==null&&L(S,Z.startTime-D),ge=!1}return ge}finally{d=null,p=V,y=!1}}var k=!1,$=null,E=-1,v=5,P=-1;function B(){return!(e.unstable_now()-PO||125Q?(O.sortIndex=V,t(u,O),n(s)===null&&O===n(u)&&(x?(h(E),E=-1):x=!0,L(S,V-Q))):(O.sortIndex=K,t(s,O),g||y||(g=!0,I(C))),O},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(O){var D=p;return function(){var V=p;p=D;try{return O.apply(this,arguments)}finally{p=V}}}})(Rm);Pm.exports=Rm;var Ev=Pm.exports;/** + */(function(e){function t(O,D){var V=O.length;O.push(D);e:for(;0>>1,K=O[Q];if(0>>1;Qo(Ie,V))keo(ne,Ie)?(O[Q]=ne,O[ke]=V,Q=ke):(O[Q]=Ie,O[Z]=V,Q=Z);else if(keo(ne,V))O[Q]=ne,O[ke]=V,Q=ke;else break e}}return D}function o(O,D){var V=O.sortIndex-D.sortIndex;return V!==0?V:O.id-D.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var s=[],u=[],f=1,d=null,p=3,y=!1,g=!1,x=!1,b=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function c(O){for(var D=n(u);D!==null;){if(D.callback===null)r(u);else if(D.startTime<=O)r(u),D.sortIndex=D.expirationTime,t(s,D);else break;D=n(u)}}function S(O){if(x=!1,c(O),!g)if(n(s)!==null)g=!0,I(C);else{var D=n(u);D!==null&&L(S,D.startTime-O)}}function C(O,D){g=!1,x&&(x=!1,h(E),E=-1),y=!0;var V=p;try{for(c(D),d=n(s);d!==null&&(!(d.expirationTime>D)||O&&!B());){var Q=d.callback;if(typeof Q=="function"){d.callback=null,p=d.priorityLevel;var K=Q(d.expirationTime<=D);D=e.unstable_now(),typeof K=="function"?d.callback=K:d===n(s)&&r(s),c(D)}else r(s);d=n(s)}if(d!==null)var ge=!0;else{var Z=n(u);Z!==null&&L(S,Z.startTime-D),ge=!1}return ge}finally{d=null,p=V,y=!1}}var k=!1,$=null,E=-1,v=5,P=-1;function B(){return!(e.unstable_now()-PO||125Q?(O.sortIndex=V,t(u,O),n(s)===null&&O===n(u)&&(x?(h(E),E=-1):x=!0,L(S,V-Q))):(O.sortIndex=K,t(s,O),g||y||(g=!0,I(C))),O},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(O){var D=p;return function(){var V=p;p=D;try{return O.apply(this,arguments)}finally{p=V}}}})(Tm);Rm.exports=Tm;var Pv=Rm.exports;/** * @license React * react-dom.production.min.js * @@ -30,35 +30,35 @@ var nv=Object.defineProperty;var rv=(e,t,n)=>t in e?nv(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Pv=w,$t=Ev;function _(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),lu=Object.prototype.hasOwnProperty,Rv=/^[: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]*$/,tf={},nf={};function Tv(e){return lu.call(nf,e)?!0:lu.call(tf,e)?!1:Rv.test(e)?nf[e]=!0:(tf[e]=!0,!1)}function Ov(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 Bv(e,t,n,r){if(t===null||typeof t>"u"||Ov(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 it(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var Ue={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ue[e]=new it(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ue[t]=new it(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ue[e]=new it(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ue[e]=new it(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){Ue[e]=new it(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ue[e]=new it(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ue[e]=new it(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ue[e]=new it(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ue[e]=new it(e,5,!1,e.toLowerCase(),null,!1,!1)});var Sc=/[\-:]([a-z])/g;function wc(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(Sc,wc);Ue[t]=new it(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(Sc,wc);Ue[t]=new it(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(Sc,wc);Ue[t]=new it(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ue[e]=new it(e,1,!1,e.toLowerCase(),null,!1,!1)});Ue.xlinkHref=new it("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ue[e]=new it(e,1,!1,e.toLowerCase(),null,!0,!0)});function bc(e,t,n,r){var o=Ue.hasOwnProperty(t)?Ue[t]:null;(o!==null?o.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),su=Object.prototype.hasOwnProperty,Tv=/^[: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]*$/,nf={},rf={};function Ov(e){return su.call(rf,e)?!0:su.call(nf,e)?!1:Tv.test(e)?rf[e]=!0:(nf[e]=!0,!1)}function Bv(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 _v(e,t,n,r){if(t===null||typeof t>"u"||Bv(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 it(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var Ue={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ue[e]=new it(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ue[t]=new it(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ue[e]=new it(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ue[e]=new it(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){Ue[e]=new it(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ue[e]=new it(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ue[e]=new it(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ue[e]=new it(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ue[e]=new it(e,5,!1,e.toLowerCase(),null,!1,!1)});var wc=/[\-:]([a-z])/g;function bc(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(wc,bc);Ue[t]=new it(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(wc,bc);Ue[t]=new it(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(wc,bc);Ue[t]=new it(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ue[e]=new it(e,1,!1,e.toLowerCase(),null,!1,!1)});Ue.xlinkHref=new it("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ue[e]=new it(e,1,!1,e.toLowerCase(),null,!0,!0)});function $c(e,t,n,r){var o=Ue.hasOwnProperty(t)?Ue[t]:null;(o!==null?o.type!==0:r||!(2l||o[a]!==i[l]){var s=` -`+o[a].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=a&&0<=l);break}}}finally{$s=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Mo(e):""}function _v(e){switch(e.tag){case 5:return Mo(e.type);case 16:return Mo("Lazy");case 13:return Mo("Suspense");case 19:return Mo("SuspenseList");case 0:case 2:case 15:return e=ks(e.type,!1),e;case 11:return e=ks(e.type.render,!1),e;case 1:return e=ks(e.type,!0),e;default:return""}}function du(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 Br:return"Fragment";case Or:return"Portal";case su:return"Profiler";case $c:return"StrictMode";case uu:return"Suspense";case cu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Bm:return(e.displayName||"Context")+".Consumer";case Om:return(e._context.displayName||"Context")+".Provider";case kc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ec:return t=e.displayName||null,t!==null?t:du(e.type)||"Memo";case Rn:t=e._payload,e=e._init;try{return du(e(t))}catch{}}return null}function Av(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 du(t);case 8:return t===$c?"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 Gn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Am(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Mv(e){var t=Am(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Gi(e){e._valueTracker||(e._valueTracker=Mv(e))}function Mm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Am(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Aa(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 fu(e,t){var n=t.checked;return xe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function of(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Gn(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 Im(e,t){t=t.checked,t!=null&&bc(e,"checked",t,!1)}function pu(e,t){Im(e,t);var n=Gn(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")?mu(e,t.type,n):t.hasOwnProperty("defaultValue")&&mu(e,t.type,Gn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function af(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 mu(e,t,n){(t!=="number"||Aa(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Io=Array.isArray;function Wr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Ki.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ei(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Lo={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},Iv=["Webkit","ms","Moz","O"];Object.keys(Lo).forEach(function(e){Iv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Lo[t]=Lo[e]})});function jm(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Lo.hasOwnProperty(e)&&Lo[e]?(""+t).trim():t+"px"}function Fm(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=jm(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var zv=xe({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 vu(e,t){if(t){if(zv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(_(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(_(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(_(61))}if(t.style!=null&&typeof t.style!="object")throw Error(_(62))}}function yu(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 xu=null;function Pc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Cu=null,Vr=null,Ur=null;function uf(e){if(e=Bi(e)){if(typeof Cu!="function")throw Error(_(280));var t=e.stateNode;t&&(t=Cl(t),Cu(e.stateNode,e.type,t))}}function Lm(e){Vr?Ur?Ur.push(e):Ur=[e]:Vr=e}function Hm(){if(Vr){var e=Vr,t=Ur;if(Ur=Vr=null,uf(e),t)for(e=0;e>>=0,e===0?32:31-(Kv(e)/Qv|0)|0}var Qi=64,Yi=4194304;function zo(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Na(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var l=a&~o;l!==0?r=zo(l):(i&=a,i!==0&&(r=zo(i)))}else a=n&~o,a!==0?r=zo(a):i!==0&&(r=zo(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 Ti(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Yt(t),e[t]=n}function Jv(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=Wo),yf=" ",xf=!1;function sh(e,t){switch(e){case"keyup":return Ey.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function uh(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var _r=!1;function Ry(e,t){switch(e){case"compositionend":return uh(t);case"keypress":return t.which!==32?null:(xf=!0,yf);case"textInput":return e=t.data,e===yf&&xf?null:e;default:return null}}function Ty(e,t){if(_r)return e==="compositionend"||!Ic&&sh(e,t)?(e=ah(),va=_c=An=null,_r=!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=bf(n)}}function ph(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ph(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function mh(){for(var e=window,t=Aa();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Aa(e.document)}return t}function zc(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 Dy(e){var t=mh(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ph(n.ownerDocument.documentElement,n)){if(r!==null&&zc(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=$f(n,i);var a=$f(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Ar=null,Eu=null,Uo=null,Pu=!1;function kf(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Pu||Ar==null||Ar!==Aa(r)||(r=Ar,"selectionStart"in r&&zc(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}),Uo&&ai(Uo,r)||(Uo=r,r=Fa(Eu,"onSelect"),0zr||(e.current=Au[zr],Au[zr]=null,zr--)}function de(e,t){zr++,Au[zr]=e.current,e.current=t}var Kn={},Je=Xn(Kn),dt=Xn(!1),ur=Kn;function Zr(e,t){var n=e.type.contextTypes;if(!n)return Kn;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 ft(e){return e=e.childContextTypes,e!=null}function Ha(){pe(dt),pe(Je)}function _f(e,t,n){if(Je.current!==Kn)throw Error(_(168));de(Je,t),de(dt,n)}function bh(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(_(108,Av(e)||"Unknown",o));return xe({},n,r)}function Wa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Kn,ur=Je.current,de(Je,e),de(dt,dt.current),!0}function Af(e,t,n){var r=e.stateNode;if(!r)throw Error(_(169));n?(e=bh(e,t,ur),r.__reactInternalMemoizedMergedChildContext=e,pe(dt),pe(Je),de(Je,e)):pe(dt),de(dt,n)}var pn=null,Sl=!1,js=!1;function $h(e){pn===null?pn=[e]:pn.push(e)}function Xy(e){Sl=!0,$h(e)}function qn(){if(!js&&pn!==null){js=!0;var e=0,t=ie;try{var n=pn;for(ie=1;e>=a,o-=a,mn=1<<32-Yt(t)+o|n<E?(v=$,$=null):v=$.sibling;var P=p(h,$,c[E],S);if(P===null){$===null&&($=v);break}e&&$&&P.alternate===null&&t(h,$),m=i(P,m,E),k===null?C=P:k.sibling=P,k=P,$=v}if(E===c.length)return n(h,$),he&&Zn(h,E),C;if($===null){for(;EE?(v=$,$=null):v=$.sibling;var B=p(h,$,P.value,S);if(B===null){$===null&&($=v);break}e&&$&&B.alternate===null&&t(h,$),m=i(B,m,E),k===null?C=B:k.sibling=B,k=B,$=v}if(P.done)return n(h,$),he&&Zn(h,E),C;if($===null){for(;!P.done;E++,P=c.next())P=d(h,P.value,S),P!==null&&(m=i(P,m,E),k===null?C=P:k.sibling=P,k=P);return he&&Zn(h,E),C}for($=r(h,$);!P.done;E++,P=c.next())P=y($,h,E,P.value,S),P!==null&&(e&&P.alternate!==null&&$.delete(P.key===null?E:P.key),m=i(P,m,E),k===null?C=P:k.sibling=P,k=P);return e&&$.forEach(function(M){return t(h,M)}),he&&Zn(h,E),C}function b(h,m,c,S){if(typeof c=="object"&&c!==null&&c.type===Br&&c.key===null&&(c=c.props.children),typeof c=="object"&&c!==null){switch(c.$$typeof){case Ui:e:{for(var C=c.key,k=m;k!==null;){if(k.key===C){if(C=c.type,C===Br){if(k.tag===7){n(h,k.sibling),m=o(k,c.props.children),m.return=h,h=m;break e}}else if(k.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Rn&&zf(C)===k.type){n(h,k.sibling),m=o(k,c.props),m.ref=ko(h,k,c),m.return=h,h=m;break e}n(h,k);break}else t(h,k);k=k.sibling}c.type===Br?(m=sr(c.props.children,h.mode,S,c.key),m.return=h,h=m):(S=ka(c.type,c.key,c.props,null,h.mode,S),S.ref=ko(h,m,c),S.return=h,h=S)}return a(h);case Or:e:{for(k=c.key;m!==null;){if(m.key===k)if(m.tag===4&&m.stateNode.containerInfo===c.containerInfo&&m.stateNode.implementation===c.implementation){n(h,m.sibling),m=o(m,c.children||[]),m.return=h,h=m;break e}else{n(h,m);break}else t(h,m);m=m.sibling}m=Ks(c,h.mode,S),m.return=h,h=m}return a(h);case Rn:return k=c._init,b(h,m,k(c._payload),S)}if(Io(c))return g(h,m,c,S);if(Co(c))return x(h,m,c,S);na(h,c)}return typeof c=="string"&&c!==""||typeof c=="number"?(c=""+c,m!==null&&m.tag===6?(n(h,m.sibling),m=o(m,c),m.return=h,h=m):(n(h,m),m=Gs(c,h.mode,S),m.return=h,h=m),a(h)):n(h,m)}return b}var to=Rh(!0),Th=Rh(!1),Ga=Xn(null),Ka=null,jr=null,Fc=null;function Lc(){Fc=jr=Ka=null}function Hc(e){var t=Ga.current;pe(Ga),e._currentValue=t}function zu(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 Kr(e,t){Ka=e,Fc=jr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ct=!0),e.firstContext=null)}function Nt(e){var t=e._currentValue;if(Fc!==e)if(e={context:e,memoizedValue:t,next:null},jr===null){if(Ka===null)throw Error(_(308));jr=e,Ka.dependencies={lanes:0,firstContext:e}}else jr=jr.next=e;return t}var or=null;function Wc(e){or===null?or=[e]:or.push(e)}function Oh(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Wc(t)):(n.next=o.next,o.next=n),t.interleaved=n,Cn(e,r)}function Cn(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 Tn=!1;function Vc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Bh(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function gn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ln(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,te&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Cn(e,n)}return o=r.interleaved,o===null?(t.next=t,Wc(r)):(t.next=o.next,o.next=t),r.interleaved=t,Cn(e,n)}function xa(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,Tc(e,n)}}function Nf(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 a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=a:i=i.next=a,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 Qa(e,t,n,r){var o=e.updateQueue;Tn=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var s=l,u=s.next;s.next=null,a===null?i=u:a.next=u,a=s;var f=e.alternate;f!==null&&(f=f.updateQueue,l=f.lastBaseUpdate,l!==a&&(l===null?f.firstBaseUpdate=u:l.next=u,f.lastBaseUpdate=s))}if(i!==null){var d=o.baseState;a=0,f=u=s=null,l=i;do{var p=l.lane,y=l.eventTime;if((r&p)===p){f!==null&&(f=f.next={eventTime:y,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var g=e,x=l;switch(p=t,y=n,x.tag){case 1:if(g=x.payload,typeof g=="function"){d=g.call(y,d,p);break e}d=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=x.payload,p=typeof g=="function"?g.call(y,d,p):g,p==null)break e;d=xe({},d,p);break e;case 2:Tn=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,p=o.effects,p===null?o.effects=[l]:p.push(l))}else y={eventTime:y,lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},f===null?(u=f=y,s=d):f=f.next=y,a|=p;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;p=l,l=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(!0);if(f===null&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=f,t=o.shared.interleaved,t!==null){o=t;do a|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);fr|=a,e.lanes=a,e.memoizedState=d}}function Df(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Ls.transition;Ls.transition={};try{e(!1),t()}finally{ie=n,Ls.transition=r}}function Qh(){return Dt().memoizedState}function e1(e,t,n){var r=Wn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Yh(e))Xh(t,n);else if(n=Oh(e,t,n,r),n!==null){var o=rt();Xt(n,e,r,o),qh(n,t,r)}}function t1(e,t,n){var r=Wn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Yh(e))Xh(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,qt(l,a)){var s=t.interleaved;s===null?(o.next=o,Wc(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=Oh(e,t,o,r),n!==null&&(o=rt(),Xt(n,e,r,o),qh(n,t,r))}}function Yh(e){var t=e.alternate;return e===ye||t!==null&&t===ye}function Xh(e,t){Go=Xa=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function qh(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Tc(e,n)}}var qa={readContext:Nt,useCallback:Ke,useContext:Ke,useEffect:Ke,useImperativeHandle:Ke,useInsertionEffect:Ke,useLayoutEffect:Ke,useMemo:Ke,useReducer:Ke,useRef:Ke,useState:Ke,useDebugValue:Ke,useDeferredValue:Ke,useTransition:Ke,useMutableSource:Ke,useSyncExternalStore:Ke,useId:Ke,unstable_isNewReconciler:!1},n1={readContext:Nt,useCallback:function(e,t){return en().memoizedState=[e,t===void 0?null:t],e},useContext:Nt,useEffect:Ff,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Sa(4194308,4,Wh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Sa(4194308,4,e,t)},useInsertionEffect:function(e,t){return Sa(4,2,e,t)},useMemo:function(e,t){var n=en();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=en();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=e1.bind(null,ye,e),[r.memoizedState,e]},useRef:function(e){var t=en();return e={current:e},t.memoizedState=e},useState:jf,useDebugValue:Jc,useDeferredValue:function(e){return en().memoizedState=e},useTransition:function(){var e=jf(!1),t=e[0];return e=Zy.bind(null,e[1]),en().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ye,o=en();if(he){if(n===void 0)throw Error(_(407));n=n()}else{if(n=t(),je===null)throw Error(_(349));dr&30||Ih(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Ff(Nh.bind(null,r,i,e),[e]),r.flags|=2048,mi(9,zh.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=en(),t=je.identifierPrefix;if(he){var n=hn,r=mn;n=(r&~(1<<32-Yt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=fi++,0")&&(s=s.replace("",e.displayName)),s}while(1<=a&&0<=l);break}}}finally{$s=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Mo(e):""}function Av(e){switch(e.tag){case 5:return Mo(e.type);case 16:return Mo("Lazy");case 13:return Mo("Suspense");case 19:return Mo("SuspenseList");case 0:case 2:case 15:return e=ks(e.type,!1),e;case 11:return e=ks(e.type.render,!1),e;case 1:return e=ks(e.type,!0),e;default:return""}}function fu(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 Br:return"Fragment";case Or:return"Portal";case uu:return"Profiler";case kc:return"StrictMode";case cu:return"Suspense";case du:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case _m:return(e.displayName||"Context")+".Consumer";case Bm:return(e._context.displayName||"Context")+".Provider";case Ec:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Pc:return t=e.displayName||null,t!==null?t:fu(e.type)||"Memo";case Rn:t=e._payload,e=e._init;try{return fu(e(t))}catch{}}return null}function Mv(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 fu(t);case 8:return t===kc?"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 Gn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Mm(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Iv(e){var t=Mm(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ki(e){e._valueTracker||(e._valueTracker=Iv(e))}function Im(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Mm(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ma(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 pu(e,t){var n=t.checked;return xe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function af(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Gn(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 zm(e,t){t=t.checked,t!=null&&$c(e,"checked",t,!1)}function mu(e,t){zm(e,t);var n=Gn(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")?hu(e,t.type,n):t.hasOwnProperty("defaultValue")&&hu(e,t.type,Gn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function lf(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 hu(e,t,n){(t!=="number"||Ma(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Io=Array.isArray;function Wr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Qi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ei(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Lo={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},zv=["Webkit","ms","Moz","O"];Object.keys(Lo).forEach(function(e){zv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Lo[t]=Lo[e]})});function Fm(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Lo.hasOwnProperty(e)&&Lo[e]?(""+t).trim():t+"px"}function Lm(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Fm(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Nv=xe({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 yu(e,t){if(t){if(Nv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(_(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(_(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(_(61))}if(t.style!=null&&typeof t.style!="object")throw Error(_(62))}}function xu(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 Cu=null;function Rc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Su=null,Vr=null,Ur=null;function cf(e){if(e=Bi(e)){if(typeof Su!="function")throw Error(_(280));var t=e.stateNode;t&&(t=Sl(t),Su(e.stateNode,e.type,t))}}function Hm(e){Vr?Ur?Ur.push(e):Ur=[e]:Vr=e}function Wm(){if(Vr){var e=Vr,t=Ur;if(Ur=Vr=null,cf(e),t)for(e=0;e>>=0,e===0?32:31-(Qv(e)/Yv|0)|0}var Yi=64,Xi=4194304;function zo(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 Da(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var l=a&~o;l!==0?r=zo(l):(i&=a,i!==0&&(r=zo(i)))}else a=n&~o,a!==0?r=zo(a):i!==0&&(r=zo(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 Ti(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Yt(t),e[t]=n}function Zv(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=Wo),xf=" ",Cf=!1;function uh(e,t){switch(e){case"keyup":return Py.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ch(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var _r=!1;function Ty(e,t){switch(e){case"compositionend":return ch(t);case"keypress":return t.which!==32?null:(Cf=!0,xf);case"textInput":return e=t.data,e===xf&&Cf?null:e;default:return null}}function Oy(e,t){if(_r)return e==="compositionend"||!zc&&uh(e,t)?(e=lh(),ya=Ac=An=null,_r=!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=$f(n)}}function mh(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?mh(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function hh(){for(var e=window,t=Ma();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ma(e.document)}return t}function Nc(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 jy(e){var t=hh(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&mh(n.ownerDocument.documentElement,n)){if(r!==null&&Nc(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=kf(n,i);var a=kf(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Ar=null,Pu=null,Uo=null,Ru=!1;function Ef(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ru||Ar==null||Ar!==Ma(r)||(r=Ar,"selectionStart"in r&&Nc(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}),Uo&&ai(Uo,r)||(Uo=r,r=La(Pu,"onSelect"),0zr||(e.current=Mu[zr],Mu[zr]=null,zr--)}function de(e,t){zr++,Mu[zr]=e.current,e.current=t}var Kn={},Je=Xn(Kn),dt=Xn(!1),ur=Kn;function Zr(e,t){var n=e.type.contextTypes;if(!n)return Kn;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 ft(e){return e=e.childContextTypes,e!=null}function Wa(){pe(dt),pe(Je)}function Af(e,t,n){if(Je.current!==Kn)throw Error(_(168));de(Je,t),de(dt,n)}function $h(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(_(108,Mv(e)||"Unknown",o));return xe({},n,r)}function Va(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Kn,ur=Je.current,de(Je,e),de(dt,dt.current),!0}function Mf(e,t,n){var r=e.stateNode;if(!r)throw Error(_(169));n?(e=$h(e,t,ur),r.__reactInternalMemoizedMergedChildContext=e,pe(dt),pe(Je),de(Je,e)):pe(dt),de(dt,n)}var pn=null,wl=!1,js=!1;function kh(e){pn===null?pn=[e]:pn.push(e)}function qy(e){wl=!0,kh(e)}function qn(){if(!js&&pn!==null){js=!0;var e=0,t=ie;try{var n=pn;for(ie=1;e>=a,o-=a,mn=1<<32-Yt(t)+o|n<E?(v=$,$=null):v=$.sibling;var P=p(h,$,c[E],S);if(P===null){$===null&&($=v);break}e&&$&&P.alternate===null&&t(h,$),m=i(P,m,E),k===null?C=P:k.sibling=P,k=P,$=v}if(E===c.length)return n(h,$),he&&Zn(h,E),C;if($===null){for(;EE?(v=$,$=null):v=$.sibling;var B=p(h,$,P.value,S);if(B===null){$===null&&($=v);break}e&&$&&B.alternate===null&&t(h,$),m=i(B,m,E),k===null?C=B:k.sibling=B,k=B,$=v}if(P.done)return n(h,$),he&&Zn(h,E),C;if($===null){for(;!P.done;E++,P=c.next())P=d(h,P.value,S),P!==null&&(m=i(P,m,E),k===null?C=P:k.sibling=P,k=P);return he&&Zn(h,E),C}for($=r(h,$);!P.done;E++,P=c.next())P=y($,h,E,P.value,S),P!==null&&(e&&P.alternate!==null&&$.delete(P.key===null?E:P.key),m=i(P,m,E),k===null?C=P:k.sibling=P,k=P);return e&&$.forEach(function(M){return t(h,M)}),he&&Zn(h,E),C}function b(h,m,c,S){if(typeof c=="object"&&c!==null&&c.type===Br&&c.key===null&&(c=c.props.children),typeof c=="object"&&c!==null){switch(c.$$typeof){case Gi:e:{for(var C=c.key,k=m;k!==null;){if(k.key===C){if(C=c.type,C===Br){if(k.tag===7){n(h,k.sibling),m=o(k,c.props.children),m.return=h,h=m;break e}}else if(k.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Rn&&Nf(C)===k.type){n(h,k.sibling),m=o(k,c.props),m.ref=ko(h,k,c),m.return=h,h=m;break e}n(h,k);break}else t(h,k);k=k.sibling}c.type===Br?(m=sr(c.props.children,h.mode,S,c.key),m.return=h,h=m):(S=Ea(c.type,c.key,c.props,null,h.mode,S),S.ref=ko(h,m,c),S.return=h,h=S)}return a(h);case Or:e:{for(k=c.key;m!==null;){if(m.key===k)if(m.tag===4&&m.stateNode.containerInfo===c.containerInfo&&m.stateNode.implementation===c.implementation){n(h,m.sibling),m=o(m,c.children||[]),m.return=h,h=m;break e}else{n(h,m);break}else t(h,m);m=m.sibling}m=Ks(c,h.mode,S),m.return=h,h=m}return a(h);case Rn:return k=c._init,b(h,m,k(c._payload),S)}if(Io(c))return g(h,m,c,S);if(Co(c))return x(h,m,c,S);ra(h,c)}return typeof c=="string"&&c!==""||typeof c=="number"?(c=""+c,m!==null&&m.tag===6?(n(h,m.sibling),m=o(m,c),m.return=h,h=m):(n(h,m),m=Gs(c,h.mode,S),m.return=h,h=m),a(h)):n(h,m)}return b}var to=Th(!0),Oh=Th(!1),Ka=Xn(null),Qa=null,jr=null,Lc=null;function Hc(){Lc=jr=Qa=null}function Wc(e){var t=Ka.current;pe(Ka),e._currentValue=t}function Nu(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 Kr(e,t){Qa=e,Lc=jr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ct=!0),e.firstContext=null)}function Nt(e){var t=e._currentValue;if(Lc!==e)if(e={context:e,memoizedValue:t,next:null},jr===null){if(Qa===null)throw Error(_(308));jr=e,Qa.dependencies={lanes:0,firstContext:e}}else jr=jr.next=e;return t}var or=null;function Vc(e){or===null?or=[e]:or.push(e)}function Bh(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Vc(t)):(n.next=o.next,o.next=n),t.interleaved=n,Cn(e,r)}function Cn(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 Tn=!1;function Uc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function _h(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function gn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ln(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,te&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Cn(e,n)}return o=r.interleaved,o===null?(t.next=t,Vc(r)):(t.next=o.next,o.next=t),r.interleaved=t,Cn(e,n)}function Ca(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,Oc(e,n)}}function Df(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 a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=a:i=i.next=a,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 Ya(e,t,n,r){var o=e.updateQueue;Tn=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var s=l,u=s.next;s.next=null,a===null?i=u:a.next=u,a=s;var f=e.alternate;f!==null&&(f=f.updateQueue,l=f.lastBaseUpdate,l!==a&&(l===null?f.firstBaseUpdate=u:l.next=u,f.lastBaseUpdate=s))}if(i!==null){var d=o.baseState;a=0,f=u=s=null,l=i;do{var p=l.lane,y=l.eventTime;if((r&p)===p){f!==null&&(f=f.next={eventTime:y,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var g=e,x=l;switch(p=t,y=n,x.tag){case 1:if(g=x.payload,typeof g=="function"){d=g.call(y,d,p);break e}d=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=x.payload,p=typeof g=="function"?g.call(y,d,p):g,p==null)break e;d=xe({},d,p);break e;case 2:Tn=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,p=o.effects,p===null?o.effects=[l]:p.push(l))}else y={eventTime:y,lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},f===null?(u=f=y,s=d):f=f.next=y,a|=p;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;p=l,l=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(!0);if(f===null&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=f,t=o.shared.interleaved,t!==null){o=t;do a|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);fr|=a,e.lanes=a,e.memoizedState=d}}function jf(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Ls.transition;Ls.transition={};try{e(!1),t()}finally{ie=n,Ls.transition=r}}function Yh(){return Dt().memoizedState}function t1(e,t,n){var r=Wn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Xh(e))qh(t,n);else if(n=Bh(e,t,n,r),n!==null){var o=rt();Xt(n,e,r,o),Jh(n,t,r)}}function n1(e,t,n){var r=Wn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Xh(e))qh(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,qt(l,a)){var s=t.interleaved;s===null?(o.next=o,Vc(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=Bh(e,t,o,r),n!==null&&(o=rt(),Xt(n,e,r,o),Jh(n,t,r))}}function Xh(e){var t=e.alternate;return e===ye||t!==null&&t===ye}function qh(e,t){Go=qa=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Jh(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Oc(e,n)}}var Ja={readContext:Nt,useCallback:Ke,useContext:Ke,useEffect:Ke,useImperativeHandle:Ke,useInsertionEffect:Ke,useLayoutEffect:Ke,useMemo:Ke,useReducer:Ke,useRef:Ke,useState:Ke,useDebugValue:Ke,useDeferredValue:Ke,useTransition:Ke,useMutableSource:Ke,useSyncExternalStore:Ke,useId:Ke,unstable_isNewReconciler:!1},r1={readContext:Nt,useCallback:function(e,t){return en().memoizedState=[e,t===void 0?null:t],e},useContext:Nt,useEffect:Lf,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,wa(4194308,4,Vh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return wa(4194308,4,e,t)},useInsertionEffect:function(e,t){return wa(4,2,e,t)},useMemo:function(e,t){var n=en();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=en();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=t1.bind(null,ye,e),[r.memoizedState,e]},useRef:function(e){var t=en();return e={current:e},t.memoizedState=e},useState:Ff,useDebugValue:Zc,useDeferredValue:function(e){return en().memoizedState=e},useTransition:function(){var e=Ff(!1),t=e[0];return e=e1.bind(null,e[1]),en().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ye,o=en();if(he){if(n===void 0)throw Error(_(407));n=n()}else{if(n=t(),je===null)throw Error(_(349));dr&30||zh(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Lf(Dh.bind(null,r,i,e),[e]),r.flags|=2048,mi(9,Nh.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=en(),t=je.identifierPrefix;if(he){var n=hn,r=mn;n=(r&~(1<<32-Yt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=fi++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[rn]=t,e[ui]=r,lg(e,t,!1,!1),t.stateNode=e;e:{switch(a=yu(n,r),n){case"dialog":fe("cancel",e),fe("close",e),o=r;break;case"iframe":case"object":case"embed":fe("load",e),o=r;break;case"video":case"audio":for(o=0;ooo&&(t.flags|=128,r=!0,Eo(i,!1),t.lanes=4194304)}else{if(!r)if(e=Ya(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Eo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!he)return Qe(t),null}else 2*Pe()-i.renderingStartTime>oo&&n!==1073741824&&(t.flags|=128,r=!0,Eo(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Pe(),t.sibling=null,n=ve.current,de(ve,r?n&1|2:n&1),t):(Qe(t),null);case 22:case 23:return od(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?vt&1073741824&&(Qe(t),t.subtreeFlags&6&&(t.flags|=8192)):Qe(t),null;case 24:return null;case 25:return null}throw Error(_(156,t.tag))}function c1(e,t){switch(Dc(t),t.tag){case 1:return ft(t.type)&&Ha(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return no(),pe(dt),pe(Je),Kc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Gc(t),null;case 13:if(pe(ve),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(_(340));eo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return pe(ve),null;case 4:return no(),null;case 10:return Hc(t.type._context),null;case 22:case 23:return od(),null;case 24:return null;default:return null}}var oa=!1,qe=!1,d1=typeof WeakSet=="function"?WeakSet:Set,H=null;function Fr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){$e(e,t,r)}else n.current=null}function Uu(e,t,n){try{n()}catch(r){$e(e,t,r)}}var qf=!1;function f1(e,t){if(Ru=Da,e=mh(),zc(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var a=0,l=-1,s=-1,u=0,f=0,d=e,p=null;t:for(;;){for(var y;d!==n||o!==0&&d.nodeType!==3||(l=a+o),d!==i||r!==0&&d.nodeType!==3||(s=a+r),d.nodeType===3&&(a+=d.nodeValue.length),(y=d.firstChild)!==null;)p=d,d=y;for(;;){if(d===e)break t;if(p===n&&++u===o&&(l=a),p===i&&++f===r&&(s=a),(y=d.nextSibling)!==null)break;d=p,p=d.parentNode}d=y}n=l===-1||s===-1?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Tu={focusedElem:e,selectionRange:n},Da=!1,H=t;H!==null;)if(t=H,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,H=e;else for(;H!==null;){t=H;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var x=g.memoizedProps,b=g.memoizedState,h=t.stateNode,m=h.getSnapshotBeforeUpdate(t.elementType===t.type?x:Ut(t.type,x),b);h.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var c=t.stateNode.containerInfo;c.nodeType===1?c.textContent="":c.nodeType===9&&c.documentElement&&c.removeChild(c.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(_(163))}}catch(S){$e(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,H=e;break}H=t.return}return g=qf,qf=!1,g}function Ko(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&&Uu(t,n,i)}o=o.next}while(o!==r)}}function $l(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 Gu(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 cg(e){var t=e.alternate;t!==null&&(e.alternate=null,cg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[rn],delete t[ui],delete t[_u],delete t[Qy],delete t[Yy])),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 dg(e){return e.tag===5||e.tag===3||e.tag===4}function Jf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||dg(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 Ku(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=La));else if(r!==4&&(e=e.child,e!==null))for(Ku(e,t,n),e=e.sibling;e!==null;)Ku(e,t,n),e=e.sibling}function Qu(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(Qu(e,t,n),e=e.sibling;e!==null;)Qu(e,t,n),e=e.sibling}var He=null,Gt=!1;function Pn(e,t,n){for(n=n.child;n!==null;)fg(e,t,n),n=n.sibling}function fg(e,t,n){if(an&&typeof an.onCommitFiberUnmount=="function")try{an.onCommitFiberUnmount(gl,n)}catch{}switch(n.tag){case 5:qe||Fr(n,t);case 6:var r=He,o=Gt;He=null,Pn(e,t,n),He=r,Gt=o,He!==null&&(Gt?(e=He,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):He.removeChild(n.stateNode));break;case 18:He!==null&&(Gt?(e=He,n=n.stateNode,e.nodeType===8?Ds(e.parentNode,n):e.nodeType===1&&Ds(e,n),oi(e)):Ds(He,n.stateNode));break;case 4:r=He,o=Gt,He=n.stateNode.containerInfo,Gt=!0,Pn(e,t,n),He=r,Gt=o;break;case 0:case 11:case 14:case 15:if(!qe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&Uu(n,t,a),o=o.next}while(o!==r)}Pn(e,t,n);break;case 1:if(!qe&&(Fr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){$e(n,t,l)}Pn(e,t,n);break;case 21:Pn(e,t,n);break;case 22:n.mode&1?(qe=(r=qe)||n.memoizedState!==null,Pn(e,t,n),qe=r):Pn(e,t,n);break;default:Pn(e,t,n)}}function Zf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new d1),t.forEach(function(r){var o=S1.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Vt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=a),r&=~i}if(r=o,r=Pe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*m1(r/1960))-r,10e?16:e,Mn===null)var r=!1;else{if(e=Mn,Mn=null,el=0,te&6)throw Error(_(331));var o=te;for(te|=4,H=e.current;H!==null;){var i=H,a=i.child;if(H.flags&16){var l=i.deletions;if(l!==null){for(var s=0;sPe()-nd?lr(e,0):td|=n),pt(e,t)}function Cg(e,t){t===0&&(e.mode&1?(t=Yi,Yi<<=1,!(Yi&130023424)&&(Yi=4194304)):t=1);var n=rt();e=Cn(e,t),e!==null&&(Ti(e,t,n),pt(e,n))}function C1(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Cg(e,n)}function S1(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(_(314))}r!==null&&r.delete(t),Cg(e,n)}var Sg;Sg=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||dt.current)ct=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ct=!1,s1(e,t,n);ct=!!(e.flags&131072)}else ct=!1,he&&t.flags&1048576&&kh(t,Ua,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;wa(e,t),e=t.pendingProps;var o=Zr(t,Je.current);Kr(t,n),o=Yc(null,t,r,e,o,n);var i=Xc();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,ft(r)?(i=!0,Wa(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Vc(t),o.updater=bl,t.stateNode=o,o._reactInternals=t,Du(t,r,e,n),t=Lu(null,t,r,!0,i,n)):(t.tag=0,he&&i&&Nc(t),nt(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(wa(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=b1(r),e=Ut(r,e),o){case 0:t=Fu(null,t,r,e,n);break e;case 1:t=Qf(null,t,r,e,n);break e;case 11:t=Gf(null,t,r,e,n);break e;case 14:t=Kf(null,t,r,Ut(r.type,e),n);break e}throw Error(_(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ut(r,o),Fu(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ut(r,o),Qf(e,t,r,o,n);case 3:e:{if(og(t),e===null)throw Error(_(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Bh(e,t),Qa(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=ro(Error(_(423)),t),t=Yf(e,t,r,n,o);break e}else if(r!==o){o=ro(Error(_(424)),t),t=Yf(e,t,r,n,o);break e}else for(Ct=Fn(t.stateNode.containerInfo.firstChild),St=t,he=!0,Kt=null,n=Th(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(eo(),r===o){t=Sn(e,t,n);break e}nt(e,t,r,n)}t=t.child}return t;case 5:return _h(t),e===null&&Iu(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,Ou(r,o)?a=null:i!==null&&Ou(r,i)&&(t.flags|=32),rg(e,t),nt(e,t,a,n),t.child;case 6:return e===null&&Iu(t),null;case 13:return ig(e,t,n);case 4:return Uc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=to(t,null,r,n):nt(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ut(r,o),Gf(e,t,r,o,n);case 7:return nt(e,t,t.pendingProps,n),t.child;case 8:return nt(e,t,t.pendingProps.children,n),t.child;case 12:return nt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,de(Ga,r._currentValue),r._currentValue=a,i!==null)if(qt(i.value,a)){if(i.children===o.children&&!dt.current){t=Sn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){a=i.child;for(var s=l.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=gn(-1,n&-n),s.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?s.next=s:(s.next=f.next,f.next=s),u.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),zu(i.return,n,t),l.lanes|=n;break}s=s.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(_(341));a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),zu(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}nt(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Kr(t,n),o=Nt(o),r=r(o),t.flags|=1,nt(e,t,r,n),t.child;case 14:return r=t.type,o=Ut(r,t.pendingProps),o=Ut(r.type,o),Kf(e,t,r,o,n);case 15:return tg(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ut(r,o),wa(e,t),t.tag=1,ft(r)?(e=!0,Wa(t)):e=!1,Kr(t,n),Jh(t,r,o),Du(t,r,o,n),Lu(null,t,r,!0,e,n);case 19:return ag(e,t,n);case 22:return ng(e,t,n)}throw Error(_(156,t.tag))};function wg(e,t){return Ym(e,t)}function w1(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 Mt(e,t,n,r){return new w1(e,t,n,r)}function ad(e){return e=e.prototype,!(!e||!e.isReactComponent)}function b1(e){if(typeof e=="function")return ad(e)?1:0;if(e!=null){if(e=e.$$typeof,e===kc)return 11;if(e===Ec)return 14}return 2}function Vn(e,t){var n=e.alternate;return n===null?(n=Mt(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 ka(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")ad(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Br:return sr(n.children,o,i,t);case $c:a=8,o|=8;break;case su:return e=Mt(12,n,t,o|2),e.elementType=su,e.lanes=i,e;case uu:return e=Mt(13,n,t,o),e.elementType=uu,e.lanes=i,e;case cu:return e=Mt(19,n,t,o),e.elementType=cu,e.lanes=i,e;case _m:return El(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Om:a=10;break e;case Bm:a=9;break e;case kc:a=11;break e;case Ec:a=14;break e;case Rn:a=16,r=null;break e}throw Error(_(130,e==null?e:typeof e,""))}return t=Mt(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function sr(e,t,n,r){return e=Mt(7,e,r,t),e.lanes=n,e}function El(e,t,n,r){return e=Mt(22,e,r,t),e.elementType=_m,e.lanes=n,e.stateNode={isHidden:!1},e}function Gs(e,t,n){return e=Mt(6,e,null,t),e.lanes=n,e}function Ks(e,t,n){return t=Mt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function $1(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=Ps(0),this.expirationTimes=Ps(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ps(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function ld(e,t,n,r,o,i,a,l,s){return e=new $1(e,t,n,l,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Mt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Vc(i),e}function k1(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Eg)}catch(e){console.error(e)}}Eg(),Em.exports=kt;var dd=Em.exports;const la=mm(dd);var Pg,lp=dd;Pg=lp.createRoot,lp.hydrateRoot;function Rg(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]=Tg(e[n])}),t}function wt(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return on(e)&&on(t)&&Object.keys(t).forEach(o=>{on(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&on(e[o])?r[o]=wt(e[o],t[o],n):n.clone?r[o]=on(t[o])?Tg(t[o]):t[o]:r[o]=t[o]}),r}function Xo(e,t){return t?wt(e,t,{clone:!1}):e}function O1(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(r=>r.startsWith("@container")).sort((r,o)=>{var a,l;const i=/min-width:\s*([0-9.]+)/;return+(((a=r.match(i))==null?void 0:a[1])||0)-+(((l=o.match(i))==null?void 0:l[1])||0)});return n.length?n.reduce((r,o)=>{const i=t[o];return delete r[o],r[o]=i,r},{...t}):t}function B1(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function _1(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 A1(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function n(i,a){i.up=(...l)=>t(e.breakpoints.up(...l),a),i.down=(...l)=>t(e.breakpoints.down(...l),a),i.between=(...l)=>t(e.breakpoints.between(...l),a),i.only=(...l)=>t(e.breakpoints.only(...l),a),i.not=(...l)=>{const s=t(e.breakpoints.not(...l),a);return s.includes("not all and")?s.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):s}}const r={},o=i=>(n(r,i),r);return n(o),{...e,containerQueries:o}}const Bl={xs:0,sm:600,md:900,lg:1200,xl:1536},sp={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Bl[e]}px)`},M1={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Bl[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function wn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||sp;return t.reduce((a,l,s)=>(a[i.up(i.keys[s])]=n(t[s]),a),{})}if(typeof t=="object"){const i=r.breakpoints||sp;return Object.keys(t).reduce((a,l)=>{if(B1(i.keys,l)){const s=_1(r.containerQueries?r:M1,l);s&&(a[s]=n(t[l],l))}else if(Object.keys(i.values||Bl).includes(l)){const s=i.up(l);a[s]=n(t[l],l)}else{const s=l;a[s]=t[s]}return a},{})}return n(t)}function I1(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function z1(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function _l(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 rl(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=_l(e,n)||r,t&&(o=t(o,r,e)),o}function Te(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=a=>{if(a[t]==null)return null;const l=a[t],s=a.theme,u=_l(s,r)||{};return wn(a,l,d=>{let p=rl(u,o,d);return d===p&&typeof d=="string"&&(p=rl(u,o,`${t}${d==="default"?"":ee(d)}`,d)),n===!1?p:{[n]:p}})};return i.propTypes={},i.filterProps=[t],i}function N1(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const D1={m:"margin",p:"padding"},j1={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},up={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},F1=N1(e=>{if(e.length>2)if(up[e])e=up[e];else return[e];const[t,n]=e.split(""),r=D1[t],o=j1[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),fd=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],pd=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...fd,...pd];function Ai(e,t,n,r){const o=_l(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 a=Math.abs(i),l=o[a];return i>=0?l:typeof l=="number"?-l:`-${l}`}:typeof o=="function"?o:()=>{}}function md(e){return Ai(e,"spacing",8)}function Mi(e,t){return typeof t=="string"||t==null?t:e(t)}function L1(e,t){return n=>e.reduce((r,o)=>(r[o]=Mi(t,n),r),{})}function H1(e,t,n,r){if(!t.includes(n))return null;const o=F1(n),i=L1(o,r),a=e[n];return wn(e,a,i)}function Og(e,t){const n=md(e.theme);return Object.keys(e).map(r=>H1(e,t,r,n)).reduce(Xo,{})}function Ce(e){return Og(e,fd)}Ce.propTypes={};Ce.filterProps=fd;function Se(e){return Og(e,pd)}Se.propTypes={};Se.filterProps=pd;function Al(...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]?Xo(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function _t(e){return typeof e!="number"?e:`${e}px solid`}function Ft(e,t){return Te({prop:e,themeKey:"borders",transform:t})}const W1=Ft("border",_t),V1=Ft("borderTop",_t),U1=Ft("borderRight",_t),G1=Ft("borderBottom",_t),K1=Ft("borderLeft",_t),Q1=Ft("borderColor"),Y1=Ft("borderTopColor"),X1=Ft("borderRightColor"),q1=Ft("borderBottomColor"),J1=Ft("borderLeftColor"),Z1=Ft("outline",_t),ex=Ft("outlineColor"),Ml=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ai(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Mi(t,r)});return wn(e,e.borderRadius,n)}return null};Ml.propTypes={};Ml.filterProps=["borderRadius"];Al(W1,V1,U1,G1,K1,Q1,Y1,X1,q1,J1,Ml,Z1,ex);const Il=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ai(e.theme,"spacing",8),n=r=>({gap:Mi(t,r)});return wn(e,e.gap,n)}return null};Il.propTypes={};Il.filterProps=["gap"];const zl=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ai(e.theme,"spacing",8),n=r=>({columnGap:Mi(t,r)});return wn(e,e.columnGap,n)}return null};zl.propTypes={};zl.filterProps=["columnGap"];const Nl=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ai(e.theme,"spacing",8),n=r=>({rowGap:Mi(t,r)});return wn(e,e.rowGap,n)}return null};Nl.propTypes={};Nl.filterProps=["rowGap"];const tx=Te({prop:"gridColumn"}),nx=Te({prop:"gridRow"}),rx=Te({prop:"gridAutoFlow"}),ox=Te({prop:"gridAutoColumns"}),ix=Te({prop:"gridAutoRows"}),ax=Te({prop:"gridTemplateColumns"}),lx=Te({prop:"gridTemplateRows"}),sx=Te({prop:"gridTemplateAreas"}),ux=Te({prop:"gridArea"});Al(Il,zl,Nl,tx,nx,rx,ox,ix,ax,lx,sx,ux);function Yr(e,t){return t==="grey"?t:e}const cx=Te({prop:"color",themeKey:"palette",transform:Yr}),dx=Te({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Yr}),fx=Te({prop:"backgroundColor",themeKey:"palette",transform:Yr});Al(cx,dx,fx);function yt(e){return e<=1&&e!==0?`${e*100}%`:e}const px=Te({prop:"width",transform:yt}),hd=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var o,i,a,l,s;const r=((a=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:a[n])||Bl[n];return r?((s=(l=e.theme)==null?void 0:l.breakpoints)==null?void 0:s.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:yt(n)}};return wn(e,e.maxWidth,t)}return null};hd.filterProps=["maxWidth"];const mx=Te({prop:"minWidth",transform:yt}),hx=Te({prop:"height",transform:yt}),gx=Te({prop:"maxHeight",transform:yt}),vx=Te({prop:"minHeight",transform:yt});Te({prop:"size",cssProperty:"width",transform:yt});Te({prop:"size",cssProperty:"height",transform:yt});const yx=Te({prop:"boxSizing"});Al(px,hd,mx,hx,gx,vx,yx);const Ii={border:{themeKey:"borders",transform:_t},borderTop:{themeKey:"borders",transform:_t},borderRight:{themeKey:"borders",transform:_t},borderBottom:{themeKey:"borders",transform:_t},borderLeft:{themeKey:"borders",transform:_t},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:_t},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ml},color:{themeKey:"palette",transform:Yr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Yr},backgroundColor:{themeKey:"palette",transform:Yr},p:{style:Se},pt:{style:Se},pr:{style:Se},pb:{style:Se},pl:{style:Se},px:{style:Se},py:{style:Se},padding:{style:Se},paddingTop:{style:Se},paddingRight:{style:Se},paddingBottom:{style:Se},paddingLeft:{style:Se},paddingX:{style:Se},paddingY:{style:Se},paddingInline:{style:Se},paddingInlineStart:{style:Se},paddingInlineEnd:{style:Se},paddingBlock:{style:Se},paddingBlockStart:{style:Se},paddingBlockEnd:{style:Se},m:{style:Ce},mt:{style:Ce},mr:{style:Ce},mb:{style:Ce},ml:{style:Ce},mx:{style:Ce},my:{style:Ce},margin:{style:Ce},marginTop:{style:Ce},marginRight:{style:Ce},marginBottom:{style:Ce},marginLeft:{style:Ce},marginX:{style:Ce},marginY:{style:Ce},marginInline:{style:Ce},marginInlineStart:{style:Ce},marginInlineEnd:{style:Ce},marginBlock:{style:Ce},marginBlockStart:{style:Ce},marginBlockEnd:{style:Ce},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:Il},rowGap:{style:Nl},columnGap:{style:zl},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:yt},maxWidth:{style:hd},minWidth:{transform:yt},height:{transform:yt},maxHeight:{transform:yt},minHeight:{transform:yt},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 xx(...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 Cx(e,t){return typeof e=="function"?e(t):e}function Sx(){function e(n,r,o,i){const a={[n]:r,theme:o},l=i[n];if(!l)return{[n]:r};const{cssProperty:s=n,themeKey:u,transform:f,style:d}=l;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const p=_l(o,u)||{};return d?d(a):wn(a,r,g=>{let x=rl(p,f,g);return g===x&&typeof g=="string"&&(x=rl(p,f,`${n}${g==="default"?"":ee(g)}`,g)),s===!1?x:{[s]:x}})}function t(n){const{sx:r,theme:o={}}=n||{};if(!r)return null;const i=o.unstable_sxConfig??Ii;function a(l){let s=l;if(typeof l=="function")s=l(o);else if(typeof l!="object")return l;if(!s)return null;const u=I1(o.breakpoints),f=Object.keys(u);let d=u;return Object.keys(s).forEach(p=>{const y=Cx(s[p],o);if(y!=null)if(typeof y=="object")if(i[p])d=Xo(d,e(p,y,o,i));else{const g=wn({theme:o},y,x=>({[p]:x}));xx(g,y)?d[p]=t({sx:y,theme:o}):d=Xo(d,g)}else d=Xo(d,e(p,y,o,i))}),O1(o,z1(f,d))}return Array.isArray(r)?r.map(a):a(r)}return t}const fo=Sx();fo.filterProps=["sx"];const wx=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??Ii;return Object.keys(e).forEach(o=>{n[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]}),t};function Bg(e){const{sx:t,...n}=e,{systemProps:r,otherProps:o}=wx(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...a)=>{const l=t(...a);return on(l)?{...r,...l}:r}:i={...r,...t},{...o,sx:i}}function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?We(po,--mt):0,io--,Be===10&&(io=1,jl--),Be}function bt(){return Be=mt2||vi(Be)>3?"":" "}function jx(e,t){for(;--t&&bt()&&!(Be<48||Be>102||Be>57&&Be<65||Be>70&&Be<97););return zi(e,Ea()+(t<6&&sn()==32&&bt()==32))}function ec(e){for(;bt();)switch(Be){case e:return mt;case 34:case 39:e!==34&&e!==39&&ec(Be);break;case 40:e===41&&ec(e);break;case 92:bt();break}return mt}function Fx(e,t){for(;bt()&&e+Be!==57;)if(e+Be===84&&sn()===47)break;return"/*"+zi(t,mt-1)+"*"+Dl(e===47?e:bt())}function Lx(e){for(;!vi(sn());)bt();return zi(e,mt)}function Hx(e){return Dg(Ra("",null,null,null,[""],e=Ng(e),0,[0],e))}function Ra(e,t,n,r,o,i,a,l,s){for(var u=0,f=0,d=a,p=0,y=0,g=0,x=1,b=1,h=1,m=0,c="",S=o,C=i,k=r,$=c;b;)switch(g=m,m=bt()){case 40:if(g!=108&&We($,d-1)==58){Zu($+=oe(Pa(m),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:$+=Pa(m);break;case 9:case 10:case 13:case 32:$+=Dx(g);break;case 92:$+=jx(Ea()-1,7);continue;case 47:switch(sn()){case 42:case 47:sa(Wx(Fx(bt(),Ea()),t,n),s);break;default:$+="/"}break;case 123*x:l[u++]=tn($)*h;case 125*x:case 59:case 0:switch(m){case 0:case 125:b=0;case 59+f:h==-1&&($=oe($,/\f/g,"")),y>0&&tn($)-d&&sa(y>32?dp($+";",r,n,d-1):dp(oe($," ","")+";",r,n,d-2),s);break;case 59:$+=";";default:if(sa(k=cp($,t,n,u,f,o,l,c,S=[],C=[],d),i),m===123)if(f===0)Ra($,t,k,k,S,i,d,l,C);else switch(p===99&&We($,3)===110?100:p){case 100:case 108:case 109:case 115:Ra(e,k,k,r&&sa(cp(e,k,k,0,0,o,l,c,o,S=[],d),C),o,C,d,l,r?S:C);break;default:Ra($,k,k,k,[""],C,0,l,C)}}u=f=y=0,x=h=1,c=$="",d=a;break;case 58:d=1+tn($),y=g;default:if(x<1){if(m==123)--x;else if(m==125&&x++==0&&Nx()==125)continue}switch($+=Dl(m),m*x){case 38:h=f>0?1:($+="\f",-1);break;case 44:l[u++]=(tn($)-1)*h,h=1;break;case 64:sn()===45&&($+=Pa(bt())),p=sn(),f=d=tn(c=$+=Lx(Ea())),m++;break;case 45:g===45&&tn($)==2&&(x=0)}}return i}function cp(e,t,n,r,o,i,a,l,s,u,f){for(var d=o-1,p=o===0?i:[""],y=yd(p),g=0,x=0,b=0;g0?p[h]+" "+m:oe(m,/&\f/g,p[h])))&&(s[b++]=c);return Fl(e,t,n,o===0?gd:l,s,u,f)}function Wx(e,t,n){return Fl(e,t,n,Ag,Dl(zx()),gi(e,2,-2),0)}function dp(e,t,n,r){return Fl(e,t,n,vd,gi(e,0,r),gi(e,r+1,-1),r)}function Xr(e,t){for(var n="",r=yd(e),o=0;o6)switch(We(e,t+1)){case 109:if(We(e,t+4)!==45)break;case 102:return oe(e,/(.+:)(.+)-([^]+)/,"$1"+re+"$2-$3$1"+ol+(We(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Zu(e,"stretch")?jg(oe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(We(e,t+1)!==115)break;case 6444:switch(We(e,tn(e)-3-(~Zu(e,"!important")&&10))){case 107:return oe(e,":",":"+re)+e;case 101:return oe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+re+(We(e,14)===45?"inline-":"")+"box$3$1"+re+"$2$3$1"+Xe+"$2box$3")+e}break;case 5936:switch(We(e,t+11)){case 114:return re+e+Xe+oe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return re+e+Xe+oe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return re+e+Xe+oe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return re+e+Xe+e+e}return e}var Jx=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case vd:t.return=jg(t.value,t.length);break;case Mg:return Xr([Ro(t,{value:oe(t.value,"@","@"+re)})],o);case gd:if(t.length)return Ix(t.props,function(i){switch(Mx(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Xr([Ro(t,{props:[oe(i,/:(read-\w+)/,":"+ol+"$1")]})],o);case"::placeholder":return Xr([Ro(t,{props:[oe(i,/:(plac\w+)/,":"+re+"input-$1")]}),Ro(t,{props:[oe(i,/:(plac\w+)/,":"+ol+"$1")]}),Ro(t,{props:[oe(i,/:(plac\w+)/,Xe+"input-$1")]})],o)}return""})}},Zx=[Jx],eC=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 b=x.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))})}var o=t.stylisPlugins||Zx,i={},a,l=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(x){for(var b=x.getAttribute("data-emotion").split(" "),h=1;h<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[rn]=t,e[ui]=r,sg(e,t,!1,!1),t.stateNode=e;e:{switch(a=xu(n,r),n){case"dialog":fe("cancel",e),fe("close",e),o=r;break;case"iframe":case"object":case"embed":fe("load",e),o=r;break;case"video":case"audio":for(o=0;ooo&&(t.flags|=128,r=!0,Eo(i,!1),t.lanes=4194304)}else{if(!r)if(e=Xa(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Eo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!he)return Qe(t),null}else 2*Pe()-i.renderingStartTime>oo&&n!==1073741824&&(t.flags|=128,r=!0,Eo(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Pe(),t.sibling=null,n=ve.current,de(ve,r?n&1|2:n&1),t):(Qe(t),null);case 22:case 23:return id(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?vt&1073741824&&(Qe(t),t.subtreeFlags&6&&(t.flags|=8192)):Qe(t),null;case 24:return null;case 25:return null}throw Error(_(156,t.tag))}function d1(e,t){switch(jc(t),t.tag){case 1:return ft(t.type)&&Wa(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return no(),pe(dt),pe(Je),Qc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Kc(t),null;case 13:if(pe(ve),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(_(340));eo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return pe(ve),null;case 4:return no(),null;case 10:return Wc(t.type._context),null;case 22:case 23:return id(),null;case 24:return null;default:return null}}var ia=!1,qe=!1,f1=typeof WeakSet=="function"?WeakSet:Set,H=null;function Fr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){$e(e,t,r)}else n.current=null}function Gu(e,t,n){try{n()}catch(r){$e(e,t,r)}}var Jf=!1;function p1(e,t){if(Tu=ja,e=hh(),Nc(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var a=0,l=-1,s=-1,u=0,f=0,d=e,p=null;t:for(;;){for(var y;d!==n||o!==0&&d.nodeType!==3||(l=a+o),d!==i||r!==0&&d.nodeType!==3||(s=a+r),d.nodeType===3&&(a+=d.nodeValue.length),(y=d.firstChild)!==null;)p=d,d=y;for(;;){if(d===e)break t;if(p===n&&++u===o&&(l=a),p===i&&++f===r&&(s=a),(y=d.nextSibling)!==null)break;d=p,p=d.parentNode}d=y}n=l===-1||s===-1?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ou={focusedElem:e,selectionRange:n},ja=!1,H=t;H!==null;)if(t=H,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,H=e;else for(;H!==null;){t=H;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var x=g.memoizedProps,b=g.memoizedState,h=t.stateNode,m=h.getSnapshotBeforeUpdate(t.elementType===t.type?x:Ut(t.type,x),b);h.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var c=t.stateNode.containerInfo;c.nodeType===1?c.textContent="":c.nodeType===9&&c.documentElement&&c.removeChild(c.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(_(163))}}catch(S){$e(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,H=e;break}H=t.return}return g=Jf,Jf=!1,g}function Ko(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&&Gu(t,n,i)}o=o.next}while(o!==r)}}function kl(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 Ku(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 dg(e){var t=e.alternate;t!==null&&(e.alternate=null,dg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[rn],delete t[ui],delete t[Au],delete t[Yy],delete t[Xy])),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 fg(e){return e.tag===5||e.tag===3||e.tag===4}function Zf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||fg(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 Qu(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=Ha));else if(r!==4&&(e=e.child,e!==null))for(Qu(e,t,n),e=e.sibling;e!==null;)Qu(e,t,n),e=e.sibling}function Yu(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(Yu(e,t,n),e=e.sibling;e!==null;)Yu(e,t,n),e=e.sibling}var He=null,Gt=!1;function Pn(e,t,n){for(n=n.child;n!==null;)pg(e,t,n),n=n.sibling}function pg(e,t,n){if(an&&typeof an.onCommitFiberUnmount=="function")try{an.onCommitFiberUnmount(vl,n)}catch{}switch(n.tag){case 5:qe||Fr(n,t);case 6:var r=He,o=Gt;He=null,Pn(e,t,n),He=r,Gt=o,He!==null&&(Gt?(e=He,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):He.removeChild(n.stateNode));break;case 18:He!==null&&(Gt?(e=He,n=n.stateNode,e.nodeType===8?Ds(e.parentNode,n):e.nodeType===1&&Ds(e,n),oi(e)):Ds(He,n.stateNode));break;case 4:r=He,o=Gt,He=n.stateNode.containerInfo,Gt=!0,Pn(e,t,n),He=r,Gt=o;break;case 0:case 11:case 14:case 15:if(!qe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&Gu(n,t,a),o=o.next}while(o!==r)}Pn(e,t,n);break;case 1:if(!qe&&(Fr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){$e(n,t,l)}Pn(e,t,n);break;case 21:Pn(e,t,n);break;case 22:n.mode&1?(qe=(r=qe)||n.memoizedState!==null,Pn(e,t,n),qe=r):Pn(e,t,n);break;default:Pn(e,t,n)}}function ep(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new f1),t.forEach(function(r){var o=w1.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Vt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=a),r&=~i}if(r=o,r=Pe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*h1(r/1960))-r,10e?16:e,Mn===null)var r=!1;else{if(e=Mn,Mn=null,tl=0,te&6)throw Error(_(331));var o=te;for(te|=4,H=e.current;H!==null;){var i=H,a=i.child;if(H.flags&16){var l=i.deletions;if(l!==null){for(var s=0;sPe()-rd?lr(e,0):nd|=n),pt(e,t)}function Sg(e,t){t===0&&(e.mode&1?(t=Xi,Xi<<=1,!(Xi&130023424)&&(Xi=4194304)):t=1);var n=rt();e=Cn(e,t),e!==null&&(Ti(e,t,n),pt(e,n))}function S1(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Sg(e,n)}function w1(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(_(314))}r!==null&&r.delete(t),Sg(e,n)}var wg;wg=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||dt.current)ct=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ct=!1,u1(e,t,n);ct=!!(e.flags&131072)}else ct=!1,he&&t.flags&1048576&&Eh(t,Ga,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ba(e,t),e=t.pendingProps;var o=Zr(t,Je.current);Kr(t,n),o=Xc(null,t,r,e,o,n);var i=qc();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,ft(r)?(i=!0,Va(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Uc(t),o.updater=$l,t.stateNode=o,o._reactInternals=t,ju(t,r,e,n),t=Hu(null,t,r,!0,i,n)):(t.tag=0,he&&i&&Dc(t),nt(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ba(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=$1(r),e=Ut(r,e),o){case 0:t=Lu(null,t,r,e,n);break e;case 1:t=Yf(null,t,r,e,n);break e;case 11:t=Kf(null,t,r,e,n);break e;case 14:t=Qf(null,t,r,Ut(r.type,e),n);break e}throw Error(_(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ut(r,o),Lu(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ut(r,o),Yf(e,t,r,o,n);case 3:e:{if(ig(t),e===null)throw Error(_(387));r=t.pendingProps,i=t.memoizedState,o=i.element,_h(e,t),Ya(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=ro(Error(_(423)),t),t=Xf(e,t,r,n,o);break e}else if(r!==o){o=ro(Error(_(424)),t),t=Xf(e,t,r,n,o);break e}else for(Ct=Fn(t.stateNode.containerInfo.firstChild),St=t,he=!0,Kt=null,n=Oh(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(eo(),r===o){t=Sn(e,t,n);break e}nt(e,t,r,n)}t=t.child}return t;case 5:return Ah(t),e===null&&zu(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,Bu(r,o)?a=null:i!==null&&Bu(r,i)&&(t.flags|=32),og(e,t),nt(e,t,a,n),t.child;case 6:return e===null&&zu(t),null;case 13:return ag(e,t,n);case 4:return Gc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=to(t,null,r,n):nt(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ut(r,o),Kf(e,t,r,o,n);case 7:return nt(e,t,t.pendingProps,n),t.child;case 8:return nt(e,t,t.pendingProps.children,n),t.child;case 12:return nt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,de(Ka,r._currentValue),r._currentValue=a,i!==null)if(qt(i.value,a)){if(i.children===o.children&&!dt.current){t=Sn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){a=i.child;for(var s=l.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=gn(-1,n&-n),s.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?s.next=s:(s.next=f.next,f.next=s),u.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),Nu(i.return,n,t),l.lanes|=n;break}s=s.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(_(341));a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),Nu(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}nt(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Kr(t,n),o=Nt(o),r=r(o),t.flags|=1,nt(e,t,r,n),t.child;case 14:return r=t.type,o=Ut(r,t.pendingProps),o=Ut(r.type,o),Qf(e,t,r,o,n);case 15:return ng(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ut(r,o),ba(e,t),t.tag=1,ft(r)?(e=!0,Va(t)):e=!1,Kr(t,n),Zh(t,r,o),ju(t,r,o,n),Hu(null,t,r,!0,e,n);case 19:return lg(e,t,n);case 22:return rg(e,t,n)}throw Error(_(156,t.tag))};function bg(e,t){return Xm(e,t)}function b1(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 Mt(e,t,n,r){return new b1(e,t,n,r)}function ld(e){return e=e.prototype,!(!e||!e.isReactComponent)}function $1(e){if(typeof e=="function")return ld(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ec)return 11;if(e===Pc)return 14}return 2}function Vn(e,t){var n=e.alternate;return n===null?(n=Mt(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 Ea(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")ld(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Br:return sr(n.children,o,i,t);case kc:a=8,o|=8;break;case uu:return e=Mt(12,n,t,o|2),e.elementType=uu,e.lanes=i,e;case cu:return e=Mt(13,n,t,o),e.elementType=cu,e.lanes=i,e;case du:return e=Mt(19,n,t,o),e.elementType=du,e.lanes=i,e;case Am:return Pl(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Bm:a=10;break e;case _m:a=9;break e;case Ec:a=11;break e;case Pc:a=14;break e;case Rn:a=16,r=null;break e}throw Error(_(130,e==null?e:typeof e,""))}return t=Mt(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function sr(e,t,n,r){return e=Mt(7,e,r,t),e.lanes=n,e}function Pl(e,t,n,r){return e=Mt(22,e,r,t),e.elementType=Am,e.lanes=n,e.stateNode={isHidden:!1},e}function Gs(e,t,n){return e=Mt(6,e,null,t),e.lanes=n,e}function Ks(e,t,n){return t=Mt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function k1(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=Ps(0),this.expirationTimes=Ps(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ps(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function sd(e,t,n,r,o,i,a,l,s){return e=new k1(e,t,n,l,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Mt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Uc(i),e}function E1(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Pg)}catch(e){console.error(e)}}Pg(),Pm.exports=kt;var fd=Pm.exports;const sa=hm(fd);var Rg,sp=fd;Rg=sp.createRoot,sp.hydrateRoot;function Tg(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]=Og(e[n])}),t}function wt(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return on(e)&&on(t)&&Object.keys(t).forEach(o=>{on(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&on(e[o])?r[o]=wt(e[o],t[o],n):n.clone?r[o]=on(t[o])?Og(t[o]):t[o]:r[o]=t[o]}),r}function Xo(e,t){return t?wt(e,t,{clone:!1}):e}function B1(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(r=>r.startsWith("@container")).sort((r,o)=>{var a,l;const i=/min-width:\s*([0-9.]+)/;return+(((a=r.match(i))==null?void 0:a[1])||0)-+(((l=o.match(i))==null?void 0:l[1])||0)});return n.length?n.reduce((r,o)=>{const i=t[o];return delete r[o],r[o]=i,r},{...t}):t}function _1(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function A1(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 M1(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function n(i,a){i.up=(...l)=>t(e.breakpoints.up(...l),a),i.down=(...l)=>t(e.breakpoints.down(...l),a),i.between=(...l)=>t(e.breakpoints.between(...l),a),i.only=(...l)=>t(e.breakpoints.only(...l),a),i.not=(...l)=>{const s=t(e.breakpoints.not(...l),a);return s.includes("not all and")?s.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):s}}const r={},o=i=>(n(r,i),r);return n(o),{...e,containerQueries:o}}const _l={xs:0,sm:600,md:900,lg:1200,xl:1536},up={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${_l[e]}px)`},I1={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:_l[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function wn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||up;return t.reduce((a,l,s)=>(a[i.up(i.keys[s])]=n(t[s]),a),{})}if(typeof t=="object"){const i=r.breakpoints||up;return Object.keys(t).reduce((a,l)=>{if(_1(i.keys,l)){const s=A1(r.containerQueries?r:I1,l);s&&(a[s]=n(t[l],l))}else if(Object.keys(i.values||_l).includes(l)){const s=i.up(l);a[s]=n(t[l],l)}else{const s=l;a[s]=t[s]}return a},{})}return n(t)}function z1(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function N1(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Al(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 ol(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Al(e,n)||r,t&&(o=t(o,r,e)),o}function Te(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=a=>{if(a[t]==null)return null;const l=a[t],s=a.theme,u=Al(s,r)||{};return wn(a,l,d=>{let p=ol(u,o,d);return d===p&&typeof d=="string"&&(p=ol(u,o,`${t}${d==="default"?"":ee(d)}`,d)),n===!1?p:{[n]:p}})};return i.propTypes={},i.filterProps=[t],i}function D1(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const j1={m:"margin",p:"padding"},F1={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},cp={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},L1=D1(e=>{if(e.length>2)if(cp[e])e=cp[e];else return[e];const[t,n]=e.split(""),r=j1[t],o=F1[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),pd=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],md=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...pd,...md];function Ai(e,t,n,r){const o=Al(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 a=Math.abs(i),l=o[a];return i>=0?l:typeof l=="number"?-l:`-${l}`}:typeof o=="function"?o:()=>{}}function hd(e){return Ai(e,"spacing",8)}function Mi(e,t){return typeof t=="string"||t==null?t:e(t)}function H1(e,t){return n=>e.reduce((r,o)=>(r[o]=Mi(t,n),r),{})}function W1(e,t,n,r){if(!t.includes(n))return null;const o=L1(n),i=H1(o,r),a=e[n];return wn(e,a,i)}function Bg(e,t){const n=hd(e.theme);return Object.keys(e).map(r=>W1(e,t,r,n)).reduce(Xo,{})}function Ce(e){return Bg(e,pd)}Ce.propTypes={};Ce.filterProps=pd;function Se(e){return Bg(e,md)}Se.propTypes={};Se.filterProps=md;function Ml(...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]?Xo(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function _t(e){return typeof e!="number"?e:`${e}px solid`}function Ft(e,t){return Te({prop:e,themeKey:"borders",transform:t})}const V1=Ft("border",_t),U1=Ft("borderTop",_t),G1=Ft("borderRight",_t),K1=Ft("borderBottom",_t),Q1=Ft("borderLeft",_t),Y1=Ft("borderColor"),X1=Ft("borderTopColor"),q1=Ft("borderRightColor"),J1=Ft("borderBottomColor"),Z1=Ft("borderLeftColor"),ex=Ft("outline",_t),tx=Ft("outlineColor"),Il=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ai(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Mi(t,r)});return wn(e,e.borderRadius,n)}return null};Il.propTypes={};Il.filterProps=["borderRadius"];Ml(V1,U1,G1,K1,Q1,Y1,X1,q1,J1,Z1,Il,ex,tx);const zl=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ai(e.theme,"spacing",8),n=r=>({gap:Mi(t,r)});return wn(e,e.gap,n)}return null};zl.propTypes={};zl.filterProps=["gap"];const Nl=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ai(e.theme,"spacing",8),n=r=>({columnGap:Mi(t,r)});return wn(e,e.columnGap,n)}return null};Nl.propTypes={};Nl.filterProps=["columnGap"];const Dl=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ai(e.theme,"spacing",8),n=r=>({rowGap:Mi(t,r)});return wn(e,e.rowGap,n)}return null};Dl.propTypes={};Dl.filterProps=["rowGap"];const nx=Te({prop:"gridColumn"}),rx=Te({prop:"gridRow"}),ox=Te({prop:"gridAutoFlow"}),ix=Te({prop:"gridAutoColumns"}),ax=Te({prop:"gridAutoRows"}),lx=Te({prop:"gridTemplateColumns"}),sx=Te({prop:"gridTemplateRows"}),ux=Te({prop:"gridTemplateAreas"}),cx=Te({prop:"gridArea"});Ml(zl,Nl,Dl,nx,rx,ox,ix,ax,lx,sx,ux,cx);function Yr(e,t){return t==="grey"?t:e}const dx=Te({prop:"color",themeKey:"palette",transform:Yr}),fx=Te({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Yr}),px=Te({prop:"backgroundColor",themeKey:"palette",transform:Yr});Ml(dx,fx,px);function yt(e){return e<=1&&e!==0?`${e*100}%`:e}const mx=Te({prop:"width",transform:yt}),gd=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var o,i,a,l,s;const r=((a=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:a[n])||_l[n];return r?((s=(l=e.theme)==null?void 0:l.breakpoints)==null?void 0:s.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:yt(n)}};return wn(e,e.maxWidth,t)}return null};gd.filterProps=["maxWidth"];const hx=Te({prop:"minWidth",transform:yt}),gx=Te({prop:"height",transform:yt}),vx=Te({prop:"maxHeight",transform:yt}),yx=Te({prop:"minHeight",transform:yt});Te({prop:"size",cssProperty:"width",transform:yt});Te({prop:"size",cssProperty:"height",transform:yt});const xx=Te({prop:"boxSizing"});Ml(mx,gd,hx,gx,vx,yx,xx);const Ii={border:{themeKey:"borders",transform:_t},borderTop:{themeKey:"borders",transform:_t},borderRight:{themeKey:"borders",transform:_t},borderBottom:{themeKey:"borders",transform:_t},borderLeft:{themeKey:"borders",transform:_t},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:_t},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Il},color:{themeKey:"palette",transform:Yr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Yr},backgroundColor:{themeKey:"palette",transform:Yr},p:{style:Se},pt:{style:Se},pr:{style:Se},pb:{style:Se},pl:{style:Se},px:{style:Se},py:{style:Se},padding:{style:Se},paddingTop:{style:Se},paddingRight:{style:Se},paddingBottom:{style:Se},paddingLeft:{style:Se},paddingX:{style:Se},paddingY:{style:Se},paddingInline:{style:Se},paddingInlineStart:{style:Se},paddingInlineEnd:{style:Se},paddingBlock:{style:Se},paddingBlockStart:{style:Se},paddingBlockEnd:{style:Se},m:{style:Ce},mt:{style:Ce},mr:{style:Ce},mb:{style:Ce},ml:{style:Ce},mx:{style:Ce},my:{style:Ce},margin:{style:Ce},marginTop:{style:Ce},marginRight:{style:Ce},marginBottom:{style:Ce},marginLeft:{style:Ce},marginX:{style:Ce},marginY:{style:Ce},marginInline:{style:Ce},marginInlineStart:{style:Ce},marginInlineEnd:{style:Ce},marginBlock:{style:Ce},marginBlockStart:{style:Ce},marginBlockEnd:{style:Ce},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:zl},rowGap:{style:Dl},columnGap:{style:Nl},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:yt},maxWidth:{style:gd},minWidth:{transform:yt},height:{transform:yt},maxHeight:{transform:yt},minHeight:{transform:yt},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 Cx(...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 Sx(e,t){return typeof e=="function"?e(t):e}function wx(){function e(n,r,o,i){const a={[n]:r,theme:o},l=i[n];if(!l)return{[n]:r};const{cssProperty:s=n,themeKey:u,transform:f,style:d}=l;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const p=Al(o,u)||{};return d?d(a):wn(a,r,g=>{let x=ol(p,f,g);return g===x&&typeof g=="string"&&(x=ol(p,f,`${n}${g==="default"?"":ee(g)}`,g)),s===!1?x:{[s]:x}})}function t(n){const{sx:r,theme:o={}}=n||{};if(!r)return null;const i=o.unstable_sxConfig??Ii;function a(l){let s=l;if(typeof l=="function")s=l(o);else if(typeof l!="object")return l;if(!s)return null;const u=z1(o.breakpoints),f=Object.keys(u);let d=u;return Object.keys(s).forEach(p=>{const y=Sx(s[p],o);if(y!=null)if(typeof y=="object")if(i[p])d=Xo(d,e(p,y,o,i));else{const g=wn({theme:o},y,x=>({[p]:x}));Cx(g,y)?d[p]=t({sx:y,theme:o}):d=Xo(d,g)}else d=Xo(d,e(p,y,o,i))}),B1(o,N1(f,d))}return Array.isArray(r)?r.map(a):a(r)}return t}const fo=wx();fo.filterProps=["sx"];const bx=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??Ii;return Object.keys(e).forEach(o=>{n[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]}),t};function _g(e){const{sx:t,...n}=e,{systemProps:r,otherProps:o}=bx(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...a)=>{const l=t(...a);return on(l)?{...r,...l}:r}:i={...r,...t},{...o,sx:i}}function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?We(po,--mt):0,io--,Be===10&&(io=1,Fl--),Be}function bt(){return Be=mt2||vi(Be)>3?"":" "}function Fx(e,t){for(;--t&&bt()&&!(Be<48||Be>102||Be>57&&Be<65||Be>70&&Be<97););return zi(e,Pa()+(t<6&&sn()==32&&bt()==32))}function tc(e){for(;bt();)switch(Be){case e:return mt;case 34:case 39:e!==34&&e!==39&&tc(Be);break;case 40:e===41&&tc(e);break;case 92:bt();break}return mt}function Lx(e,t){for(;bt()&&e+Be!==57;)if(e+Be===84&&sn()===47)break;return"/*"+zi(t,mt-1)+"*"+jl(e===47?e:bt())}function Hx(e){for(;!vi(sn());)bt();return zi(e,mt)}function Wx(e){return jg(Ta("",null,null,null,[""],e=Dg(e),0,[0],e))}function Ta(e,t,n,r,o,i,a,l,s){for(var u=0,f=0,d=a,p=0,y=0,g=0,x=1,b=1,h=1,m=0,c="",S=o,C=i,k=r,$=c;b;)switch(g=m,m=bt()){case 40:if(g!=108&&We($,d-1)==58){ec($+=oe(Ra(m),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:$+=Ra(m);break;case 9:case 10:case 13:case 32:$+=jx(g);break;case 92:$+=Fx(Pa()-1,7);continue;case 47:switch(sn()){case 42:case 47:ua(Vx(Lx(bt(),Pa()),t,n),s);break;default:$+="/"}break;case 123*x:l[u++]=tn($)*h;case 125*x:case 59:case 0:switch(m){case 0:case 125:b=0;case 59+f:h==-1&&($=oe($,/\f/g,"")),y>0&&tn($)-d&&ua(y>32?fp($+";",r,n,d-1):fp(oe($," ","")+";",r,n,d-2),s);break;case 59:$+=";";default:if(ua(k=dp($,t,n,u,f,o,l,c,S=[],C=[],d),i),m===123)if(f===0)Ta($,t,k,k,S,i,d,l,C);else switch(p===99&&We($,3)===110?100:p){case 100:case 108:case 109:case 115:Ta(e,k,k,r&&ua(dp(e,k,k,0,0,o,l,c,o,S=[],d),C),o,C,d,l,r?S:C);break;default:Ta($,k,k,k,[""],C,0,l,C)}}u=f=y=0,x=h=1,c=$="",d=a;break;case 58:d=1+tn($),y=g;default:if(x<1){if(m==123)--x;else if(m==125&&x++==0&&Dx()==125)continue}switch($+=jl(m),m*x){case 38:h=f>0?1:($+="\f",-1);break;case 44:l[u++]=(tn($)-1)*h,h=1;break;case 64:sn()===45&&($+=Ra(bt())),p=sn(),f=d=tn(c=$+=Hx(Pa())),m++;break;case 45:g===45&&tn($)==2&&(x=0)}}return i}function dp(e,t,n,r,o,i,a,l,s,u,f){for(var d=o-1,p=o===0?i:[""],y=xd(p),g=0,x=0,b=0;g0?p[h]+" "+m:oe(m,/&\f/g,p[h])))&&(s[b++]=c);return Ll(e,t,n,o===0?vd:l,s,u,f)}function Vx(e,t,n){return Ll(e,t,n,Mg,jl(Nx()),gi(e,2,-2),0)}function fp(e,t,n,r){return Ll(e,t,n,yd,gi(e,0,r),gi(e,r+1,-1),r)}function Xr(e,t){for(var n="",r=xd(e),o=0;o6)switch(We(e,t+1)){case 109:if(We(e,t+4)!==45)break;case 102:return oe(e,/(.+:)(.+)-([^]+)/,"$1"+re+"$2-$3$1"+il+(We(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ec(e,"stretch")?Fg(oe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(We(e,t+1)!==115)break;case 6444:switch(We(e,tn(e)-3-(~ec(e,"!important")&&10))){case 107:return oe(e,":",":"+re)+e;case 101:return oe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+re+(We(e,14)===45?"inline-":"")+"box$3$1"+re+"$2$3$1"+Xe+"$2box$3")+e}break;case 5936:switch(We(e,t+11)){case 114:return re+e+Xe+oe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return re+e+Xe+oe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return re+e+Xe+oe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return re+e+Xe+e+e}return e}var Zx=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case yd:t.return=Fg(t.value,t.length);break;case Ig:return Xr([Ro(t,{value:oe(t.value,"@","@"+re)})],o);case vd:if(t.length)return zx(t.props,function(i){switch(Ix(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Xr([Ro(t,{props:[oe(i,/:(read-\w+)/,":"+il+"$1")]})],o);case"::placeholder":return Xr([Ro(t,{props:[oe(i,/:(plac\w+)/,":"+re+"input-$1")]}),Ro(t,{props:[oe(i,/:(plac\w+)/,":"+il+"$1")]}),Ro(t,{props:[oe(i,/:(plac\w+)/,Xe+"input-$1")]})],o)}return""})}},eC=[Zx],tC=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 b=x.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))})}var o=t.stylisPlugins||eC,i={},a,l=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(x){for(var b=x.getAttribute("data-emotion").split(" "),h=1;h=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var pC={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},mC=!1,hC=/[A-Z]|^ms/g,gC=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ug=function(t){return t.charCodeAt(1)===45},pp=function(t){return t!=null&&typeof t!="boolean"},Qs=_g(function(e){return Ug(e)?e:e.replace(hC,"-$&").toLowerCase()}),mp=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(gC,function(r,o,i){return nn={name:o,styles:i,next:nn},o})}return pC[t]!==1&&!Ug(t)&&typeof n=="number"&&n!==0?n+"px":n},vC="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function yi(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 nn={name:o.name,styles:o.styles,next:nn},o.name;var i=n;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)nn={name:a.name,styles:a.styles,next:nn},a=a.next;var l=i.styles+";";return l}return yC(e,t,n)}case"function":{if(e!==void 0){var s=nn,u=n(e);return nn=s,yi(e,t,u)}break}}var f=n;if(t==null)return f;var d=t[f];return d!==void 0?d:f}function yC(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?$C:kC},vp=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},EC=!1,PC=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return Vg(n,r,o),SC(function(){return dC(n,r,o)}),null},RC=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,a;n!==void 0&&(i=n.label,a=n.target);var l=vp(t,n,r),s=l||gp(o),u=!s("as");return function(){var f=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&d.push("label:"+i+";"),f[0]==null||f[0].raw===void 0)d.push.apply(d,f);else{d.push(f[0][0]);for(var p=f.length,y=1;y=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var mC={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},hC=!1,gC=/[A-Z]|^ms/g,vC=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Gg=function(t){return t.charCodeAt(1)===45},mp=function(t){return t!=null&&typeof t!="boolean"},Qs=Ag(function(e){return Gg(e)?e:e.replace(gC,"-$&").toLowerCase()}),hp=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(vC,function(r,o,i){return nn={name:o,styles:i,next:nn},o})}return mC[t]!==1&&!Gg(t)&&typeof n=="number"&&n!==0?n+"px":n},yC="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function yi(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 nn={name:o.name,styles:o.styles,next:nn},o.name;var i=n;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)nn={name:a.name,styles:a.styles,next:nn},a=a.next;var l=i.styles+";";return l}return xC(e,t,n)}case"function":{if(e!==void 0){var s=nn,u=n(e);return nn=s,yi(e,t,u)}break}}var f=n;if(t==null)return f;var d=t[f];return d!==void 0?d:f}function xC(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?kC:EC},yp=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},PC=!1,RC=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return Ug(n,r,o),wC(function(){return fC(n,r,o)}),null},TC=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,a;n!==void 0&&(i=n.label,a=n.target);var l=yp(t,n,r),s=l||vp(o),u=!s("as");return function(){var f=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&d.push("label:"+i+";"),f[0]==null||f[0].raw===void 0)d.push.apply(d,f);else{d.push(f[0][0]);for(var p=f.length,y=1;y{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},BC=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 _C(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,i=BC(t),a=Object.keys(i);function l(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${n})`}function s(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-r/100}${n})`}function u(p,y){const g=a.indexOf(y);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${n}) and (max-width:${(g!==-1&&typeof t[a[g]]=="number"?t[a[g]]:y)-r/100}${n})`}function f(p){return a.indexOf(p)+1(r.length===0?[1]:r).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" ");return n.mui=!0,n}function MC(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 ql(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={},...a}=e,l=_C(n),s=Yg(o);let u=wt({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:s,shape:{...AC,...i}},a);return u=A1(u),u.applyStyles=MC,u=t.reduce((f,d)=>wt(f,d),u),u.unstable_sxConfig={...Ii,...a==null?void 0:a.unstable_sxConfig},u.unstable_sx=function(d){return fo({sx:d,theme:this})},u}function IC(e){return Object.keys(e).length===0}function zC(e=null){const t=w.useContext(wd);return!t||IC(t)?e:t}const NC=ql();function $d(e=NC){return zC(e)}const yp=e=>e,DC=()=>{let e=yp;return{configure(t){e=t},generate(t){return e(t)},reset(){e=yp}}},Xg=DC();function jC(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=Qg("div",{shouldForwardProp:l=>l!=="theme"&&l!=="sx"&&l!=="as"})(fo);return w.forwardRef(function(s,u){const f=$d(n),{className:d,component:p="div",...y}=Bg(s);return R.jsx(i,{as:p,ref:u,className:Y(d,o?o(r):r),theme:t&&f[t]||f,...y})})}const FC={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 Ge(e,t,n="Mui"){const r=FC[t];return r?`${n}-${r}`:`${Xg.generate(e)}-${t}`}function Me(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Ge(e,o,n)}),r}const LC=ql();function Ys(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function tc(e,t,n){return WC(t)?n:t[e]||t}const ua=Symbol("mui.processed_props");function ca(e,t,n){if(ua in e)return e[ua];const r={...e,theme:tc(t,e.theme,n)};return e[ua]=r,r[ua]=r,r}function HC(e){return e?(t,n)=>n[e]:null}function Ta(e,t){var r;const n=typeof e=="function"?e(t):e;if(Array.isArray(n))return n.flatMap(o=>Ta(o,t));if(Array.isArray(n==null?void 0:n.variants)){const{variants:o,...i}=n;let a=i,l;e:for(let s=0;sfo(ca(l,t,n));return i.__mui_systemSx=!0,(l,s={})=>{OC(l,k=>k.filter($=>!($!=null&&$.__mui_systemSx)));const{name:u,slot:f,skipVariantsResolver:d,skipSx:p,overridesResolver:y=HC(UC(f)),...g}=s,x=d!==void 0?d:f&&f!=="Root"&&f!=="root"||!1,b=p||!1;let h,m=Ys;f==="Root"||f==="root"?m=r:f?m=o:VC(l)&&(m=void 0);const c=Qg(l,{shouldForwardProp:m,label:h,...g}),S=k=>typeof k=="function"&&k.__emotion_real!==k||on(k)?$=>Ta(k,ca($,t,n)):k,C=(k,...$)=>{let E=S(k);const v=$?$.map(S):[];u&&y&&v.push(M=>{const N=tc(t,M.theme,n);if(!N.components||!N.components[u]||!N.components[u].styleOverrides)return null;const z=N.components[u].styleOverrides,j={},I=ca(M,t,n);for(const L in z)j[L]=Ta(z[L],I);return y(M,j)}),u&&!x&&v.push(M=>{var j,I;const N=tc(t,M.theme,n),z=(I=(j=N==null?void 0:N.components)==null?void 0:j[u])==null?void 0:I.variants;return z?Ta({variants:z},ca(M,t,n)):null}),b||v.push(i);const P=v.length-$.length;if(Array.isArray(k)&&P>0){const M=new Array(P).fill("");E=[...k,...M],E.raw=[...k.raw,...M]}const B=c(E,...v);return l.muiName&&(B.muiName=l.muiName),B};return c.withConfig&&(C.withConfig=c.withConfig),C}}function WC(e){for(const t in e)return!1;return!0}function VC(e){return typeof e=="string"&&e.charCodeAt(0)>96}function UC(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const GC=qg();function xi(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],a=t[o];if(!a)n[o]=i||{};else if(!i)n[o]=a;else{n[o]={...a};for(const l in i)if(Object.prototype.hasOwnProperty.call(i,l)){const s=l;n[o][s]=xi(i[s],a[s])}}}else n[o]===void 0&&(n[o]=e[o])}return n}function KC(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:xi(t.components[n].defaultProps,r)}function Jg({props:e,name:t,defaultTheme:n,themeId:r}){let o=$d(n);return r&&(o=o[r]||o),KC({theme:o,name:t,props:e})}const Ci=typeof window<"u"?w.useLayoutEffect:w.useEffect;function Zg(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function kd(e,t=0,n=1){return Zg(e,t,n)}function QC(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 Qn(e){if(e.type)return e;if(e.charAt(0)==="#")return Qn(QC(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(mr(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(mr(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const YC=e=>{const t=Qn(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},Do=(e,t)=>{try{return YC(e)}catch{return e}};function Jl(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 e0(e){e=Qn(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(u,f=(u+n/30)%12)=>o-i*Math.max(Math.min(f-3,9-f,1),-1);let l="rgb";const s=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(l+="a",s.push(t[3])),Jl({type:l,values:s})}function nc(e){e=Qn(e);let t=e.type==="hsl"||e.type==="hsla"?Qn(e0(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 XC(e,t){const n=nc(e),r=nc(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function ut(e,t){return e=Qn(e),t=kd(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Jl(e)}function da(e,t,n){try{return ut(e,t)}catch{return e}}function Ed(e,t){if(e=Qn(e),t=kd(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 Jl(e)}function se(e,t,n){try{return Ed(e,t)}catch{return e}}function Pd(e,t){if(e=Qn(e),t=kd(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 Jl(e)}function ue(e,t,n){try{return Pd(e,t)}catch{return e}}function qC(e,t=.15){return nc(e)>.5?Ed(e,t):Pd(e,t)}function fa(e,t,n){try{return qC(e,t)}catch{return e}}function xp(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function JC(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 zt(e){return e&&e.ownerDocument||document}function Si(e){return zt(e).defaultView||window}function rc(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let Cp=0;function ZC(e){const[t,n]=w.useState(e),r=e||t;return w.useEffect(()=>{t==null&&(Cp+=1,n(`mui-${Cp}`))},[t]),r}const Sp=_a.useId;function t0(e){if(Sp!==void 0){const t=Sp();return e??t}return ZC(e)}function eS({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=w.useRef(e!==void 0),[i,a]=w.useState(t),l=o?e:i,s=w.useCallback(u=>{o||a(u)},[]);return[l,s]}function Hr(e){const t=w.useRef(e);return Ci(()=>{t.current=e}),w.useRef((...n)=>(0,t.current)(...n)).current}function ht(...e){return w.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{rc(n,t)})},e)}const wp={};function n0(e,t){const n=w.useRef(wp);return n.current===wp&&(n.current=e(t)),n}const tS=[];function nS(e){w.useEffect(e,tS)}class Rd{constructor(){xo(this,"currentId",null);xo(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});xo(this,"disposeEffect",()=>this.clear)}static create(){return new Rd}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function r0(){const e=n0(Rd.create).current;return nS(e.disposeEffect),e}function al(e){try{return e.matches(":focus-visible")}catch{}return!1}function o0(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const rS={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function oS(e){return typeof e=="string"}function i0(e,t,n){return e===void 0||oS(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function a0(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 bp(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 l0(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const y=Y(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),g={...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},x={...n,...o,...r};return y.length>0&&(x.className=y),Object.keys(g).length>0&&(x.style=g),{props:x,internalRef:void 0}}const a=a0({...o,...r}),l=bp(r),s=bp(o),u=t(a),f=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},p={...u,...n,...s,...l};return f.length>0&&(p.className=f),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:u.ref}}function s0(e,t,n){return typeof e=="function"?e(t,n):e}function $p(e){var d;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:o=!1,...i}=e,a=o?{}:s0(n,r),{props:l,internalRef:s}=l0({...i,externalSlotProps:a}),u=ht(s,a==null?void 0:a.ref,(d=e.additionalProps)==null?void 0:d.ref);return i0(t,{...l,ref:u},r)}function Zl(e){return!e||!w.isValidElement(e)?null:e.props.propertyIsEnumerable("ref")?e.props.ref:e.ref}const iS=w.createContext(),u0=()=>w.useContext(iS)??!1,aS=w.createContext(void 0);function lS(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?xi(o.defaultProps,r):!o.styleOverrides&&!o.variants?xi(o,r):r}function sS({props:e,name:t}){const n=w.useContext(aS);return lS({props:e,name:t,theme:{components:n}})}function uS(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 kp=(e,t,n,r=[])=>{let o=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(o)?o[Number(i)]=n:o&&typeof o=="object"&&(o[i]=n):o&&typeof o=="object"&&(o[i]||(o[i]=r.includes(i)?[]:{}),o=o[i])})},cS=(e,t,n)=>{function r(o,i=[],a=[]){Object.entries(o).forEach(([l,s])=>{(!n||n&&!n([...i,l]))&&s!=null&&(typeof s=="object"&&Object.keys(s).length>0?r(s,[...i,l],Array.isArray(s)?[...a,l]:a):t([...i,l],s,a))})}r(e)},dS=(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 Xs(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},a={};return cS(e,(l,s,u)=>{if((typeof s=="string"||typeof s=="number")&&(!r||!r(l,s))){const f=`--${n?`${n}-`:""}${l.join("-")}`,d=dS(l,s);Object.assign(o,{[f]:d}),kp(i,l,`var(${f})`,u),kp(a,l,`var(${f}, ${d})`,u)}},l=>l[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function fS(e,t={}){const{getSelector:n=b,disableCssColorScheme:r,colorSchemeSelector:o}=t,{colorSchemes:i={},components:a,defaultColorScheme:l="light",...s}=e,{vars:u,css:f,varsWithDefaults:d}=Xs(s,t);let p=d;const y={},{[l]:g,...x}=i;if(Object.entries(x||{}).forEach(([c,S])=>{const{vars:C,css:k,varsWithDefaults:$}=Xs(S,t);p=wt(p,$),y[c]={css:k,vars:C}}),g){const{css:c,vars:S,varsWithDefaults:C}=Xs(g,t);p=wt(p,C),y[l]={css:c,vars:S}}function b(c,S){var k,$;let C=o;if(o==="class"&&(C=".%s"),o==="data"&&(C="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(C=`[${o}="%s"]`),c){if(C==="media")return e.defaultColorScheme===c?":root":{[`@media (prefers-color-scheme: ${(($=(k=i[c])==null?void 0:k.palette)==null?void 0:$.mode)||c})`]:{":root":S}};if(C)return e.defaultColorScheme===c?`:root, ${C.replace("%s",String(c))}`:C.replace("%s",String(c))}return":root"}return{vars:p,generateThemeVars:()=>{let c={...u};return Object.entries(y).forEach(([,{vars:S}])=>{c=wt(c,S)}),c},generateStyleSheets:()=>{var E,v;const c=[],S=e.defaultColorScheme||"light";function C(P,B){Object.keys(B).length&&c.push(typeof P=="string"?{[P]:{...B}}:P)}C(n(void 0,{...f}),f);const{[S]:k,...$}=y;if(k){const{css:P}=k,B=(v=(E=i[S])==null?void 0:E.palette)==null?void 0:v.mode,M=!r&&B?{colorScheme:B,...P}:{...P};C(n(S,{...M}),M)}return Object.entries($).forEach(([P,{css:B}])=>{var z,j;const M=(j=(z=i[P])==null?void 0:z.palette)==null?void 0:j.mode,N=!r&&M?{colorScheme:M,...B}:{...B};C(n(P,{...N}),N)}),c}}}function pS(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 mS=ql(),hS=GC("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${ee(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),gS=e=>Jg({props:e,name:"MuiContainer",defaultTheme:mS}),vS=(e,t)=>{const n=s=>Ge(t,s),{classes:r,fixed:o,disableGutters:i,maxWidth:a}=e,l={root:["root",a&&`maxWidth${ee(String(a))}`,o&&"fixed",i&&"disableGutters"]};return Ze(l,n,r)};function yS(e={}){const{createStyledComponent:t=hS,useThemeProps:n=gS,componentName:r="MuiContainer"}=e,o=t(({theme:a,ownerState:l})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!l.disableGutters&&{paddingLeft:a.spacing(2),paddingRight:a.spacing(2),[a.breakpoints.up("sm")]:{paddingLeft:a.spacing(3),paddingRight:a.spacing(3)}}}),({theme:a,ownerState:l})=>l.fixed&&Object.keys(a.breakpoints.values).reduce((s,u)=>{const f=u,d=a.breakpoints.values[f];return d!==0&&(s[a.breakpoints.up(f)]={maxWidth:`${d}${a.breakpoints.unit}`}),s},{}),({theme:a,ownerState:l})=>({...l.maxWidth==="xs"&&{[a.breakpoints.up("xs")]:{maxWidth:Math.max(a.breakpoints.values.xs,444)}},...l.maxWidth&&l.maxWidth!=="xs"&&{[a.breakpoints.up(l.maxWidth)]:{maxWidth:`${a.breakpoints.values[l.maxWidth]}${a.breakpoints.unit}`}}}));return w.forwardRef(function(l,s){const u=n(l),{className:f,component:d="div",disableGutters:p=!1,fixed:y=!1,maxWidth:g="lg",classes:x,...b}=u,h={...u,component:d,disableGutters:p,fixed:y,maxWidth:g},m=vS(h,r);return R.jsx(o,{as:d,ownerState:h,className:Y(m.root,f),ref:s,...b})})}const wi={black:"#000",white:"#fff"},xS={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"},Sr={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"},wr={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"},To={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"},br={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"},$r={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"},kr={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"},Ep={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:wi.white,default:wi.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}},qs={text:{primary:wi.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:wi.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 Pp(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=Pd(e.main,o):t==="dark"&&(e.dark=Ed(e.main,i)))}function CS(e="light"){return e==="dark"?{main:br[200],light:br[50],dark:br[400]}:{main:br[700],light:br[400],dark:br[800]}}function SS(e="light"){return e==="dark"?{main:Sr[200],light:Sr[50],dark:Sr[400]}:{main:Sr[500],light:Sr[300],dark:Sr[700]}}function wS(e="light"){return e==="dark"?{main:wr[500],light:wr[300],dark:wr[700]}:{main:wr[700],light:wr[400],dark:wr[800]}}function bS(e="light"){return e==="dark"?{main:$r[400],light:$r[300],dark:$r[700]}:{main:$r[700],light:$r[500],dark:$r[900]}}function $S(e="light"){return e==="dark"?{main:kr[400],light:kr[300],dark:kr[700]}:{main:kr[800],light:kr[500],dark:kr[900]}}function kS(e="light"){return e==="dark"?{main:To[400],light:To[300],dark:To[700]}:{main:"#ed6c02",light:To[500],dark:To[900]}}function Td(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...o}=e,i=e.primary||CS(t),a=e.secondary||SS(t),l=e.error||wS(t),s=e.info||bS(t),u=e.success||$S(t),f=e.warning||kS(t);function d(x){return XC(x,qs.text.primary)>=n?qs.text.primary:Ep.text.primary}const p=({color:x,name:b,mainShade:h=500,lightShade:m=300,darkShade:c=700})=>{if(x={...x},!x.main&&x[h]&&(x.main=x[h]),!x.hasOwnProperty("main"))throw new Error(mr(11,b?` (${b})`:"",h));if(typeof x.main!="string")throw new Error(mr(12,b?` (${b})`:"",JSON.stringify(x.main)));return Pp(x,"light",m,r),Pp(x,"dark",c,r),x.contrastText||(x.contrastText=d(x.main)),x},y={dark:qs,light:Ep};return wt({common:{...wi},mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:l,name:"error"}),warning:p({color:f,name:"warning"}),info:p({color:s,name:"info"}),success:p({color:u,name:"success"}),grey:xS,contrastThreshold:n,getContrastText:d,augmentColor:p,tonalOffset:r,...y[t]},o)}function ES(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 PS(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function RS(e){return Math.round(e*1e5)/1e5}const Rp={textTransform:"uppercase"},Tp='"Roboto", "Helvetica", "Arial", sans-serif';function TS(e,t){const{fontFamily:n=Tp,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:l=700,htmlFontSize:s=16,allVariants:u,pxToRem:f,...d}=typeof t=="function"?t(e):t,p=r/14,y=f||(b=>`${b/s*p}rem`),g=(b,h,m,c,S)=>({fontFamily:n,fontWeight:b,fontSize:y(h),lineHeight:m,...n===Tp?{letterSpacing:`${RS(c/h)}em`}:{},...S,...u}),x={h1:g(o,96,1.167,-1.5),h2:g(o,60,1.2,-.5),h3:g(i,48,1.167,0),h4:g(i,34,1.235,.25),h5:g(i,24,1.334,0),h6:g(a,20,1.6,.15),subtitle1:g(i,16,1.75,.15),subtitle2:g(a,14,1.57,.1),body1:g(i,16,1.5,.15),body2:g(i,14,1.43,.15),button:g(a,14,1.75,.4,Rp),caption:g(i,12,1.66,.4),overline:g(i,12,2.66,1,Rp),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return wt({htmlFontSize:s,pxToRem:y,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:l,...x},d,{clone:!1})}const OS=.2,BS=.14,_S=.12;function me(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${OS})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${BS})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${_S})`].join(",")}const AS=["none",me(0,2,1,-1,0,1,1,0,0,1,3,0),me(0,3,1,-2,0,2,2,0,0,1,5,0),me(0,3,3,-2,0,3,4,0,0,1,8,0),me(0,2,4,-1,0,4,5,0,0,1,10,0),me(0,3,5,-1,0,5,8,0,0,1,14,0),me(0,3,5,-1,0,6,10,0,0,1,18,0),me(0,4,5,-2,0,7,10,1,0,2,16,1),me(0,5,5,-3,0,8,10,1,0,3,14,2),me(0,5,6,-3,0,9,12,1,0,3,16,2),me(0,6,6,-3,0,10,14,1,0,4,18,3),me(0,6,7,-4,0,11,15,1,0,4,20,3),me(0,7,8,-4,0,12,17,2,0,5,22,4),me(0,7,8,-4,0,13,19,2,0,5,24,4),me(0,7,9,-4,0,14,21,2,0,5,26,4),me(0,8,9,-5,0,15,22,2,0,6,28,5),me(0,8,10,-5,0,16,24,2,0,6,30,5),me(0,8,11,-5,0,17,26,2,0,6,32,5),me(0,9,11,-5,0,18,28,2,0,7,34,6),me(0,9,12,-6,0,19,29,2,0,7,36,6),me(0,10,13,-6,0,20,31,3,0,8,38,7),me(0,10,13,-6,0,21,33,3,0,8,40,7),me(0,10,14,-6,0,22,35,3,0,8,42,7),me(0,11,14,-7,0,23,36,3,0,9,44,8),me(0,11,15,-7,0,24,38,3,0,9,46,8)],MS={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)"},IS={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Op(e){return`${Math.round(e)}ms`}function zS(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function NS(e){const t={...MS,...e.easing},n={...IS,...e.duration};return{getAutoHeightDuration:zS,create:(o=["all"],i={})=>{const{duration:a=n.standard,easing:l=t.easeInOut,delay:s=0,...u}=i;return(Array.isArray(o)?o:[o]).map(f=>`${f} ${typeof a=="string"?a:Op(a)} ${l} ${typeof s=="string"?s:Op(s)}`).join(",")},...e,easing:t,duration:n}}const DS={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function oc(e={},...t){const{breakpoints:n,mixins:r={},spacing:o,palette:i={},transitions:a={},typography:l={},shape:s,...u}=e;if(e.vars)throw new Error(mr(20));const f=Td(i),d=ql(e);let p=wt(d,{mixins:PS(d.breakpoints,r),palette:f,shadows:AS.slice(),typography:TS(f,l),transitions:NS(a),zIndex:{...DS}});return p=wt(p,u),p=t.reduce((y,g)=>wt(y,g),p),p.unstable_sxConfig={...Ii,...u==null?void 0:u.unstable_sxConfig},p.unstable_sx=function(g){return fo({sx:g,theme:this})},p}function ic(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 jS=[...Array(25)].map((e,t)=>{if(t===0)return;const n=ic(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function c0(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function d0(e){return e==="dark"?jS:[]}function FS(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...o}=e,i=Td(t);return{palette:i,opacity:{...c0(i.mode),...n},overlays:r||d0(i.mode),...o}}function LS(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 HS=e=>[...[...Array(24)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n+1}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],WS=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 HS(e.cssVarPrefix).forEach(a=>{i[a]=n[a],delete n[a]}),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 VS(e){return on(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function US(e={}){const t={...e};function n(r){const o=Object.entries(r);for(let i=0;i{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},_C=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 AC(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,i=_C(t),a=Object.keys(i);function l(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${n})`}function s(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-r/100}${n})`}function u(p,y){const g=a.indexOf(y);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${n}) and (max-width:${(g!==-1&&typeof t[a[g]]=="number"?t[a[g]]:y)-r/100}${n})`}function f(p){return a.indexOf(p)+1(r.length===0?[1]:r).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" ");return n.mui=!0,n}function IC(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 Jl(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={},...a}=e,l=AC(n),s=Xg(o);let u=wt({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:s,shape:{...MC,...i}},a);return u=M1(u),u.applyStyles=IC,u=t.reduce((f,d)=>wt(f,d),u),u.unstable_sxConfig={...Ii,...a==null?void 0:a.unstable_sxConfig},u.unstable_sx=function(d){return fo({sx:d,theme:this})},u}function zC(e){return Object.keys(e).length===0}function NC(e=null){const t=w.useContext(bd);return!t||zC(t)?e:t}const DC=Jl();function kd(e=DC){return NC(e)}const xp=e=>e,jC=()=>{let e=xp;return{configure(t){e=t},generate(t){return e(t)},reset(){e=xp}}},qg=jC();function FC(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=Yg("div",{shouldForwardProp:l=>l!=="theme"&&l!=="sx"&&l!=="as"})(fo);return w.forwardRef(function(s,u){const f=kd(n),{className:d,component:p="div",...y}=_g(s);return R.jsx(i,{as:p,ref:u,className:Y(d,o?o(r):r),theme:t&&f[t]||f,...y})})}const LC={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 Ge(e,t,n="Mui"){const r=LC[t];return r?`${n}-${r}`:`${qg.generate(e)}-${t}`}function Me(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Ge(e,o,n)}),r}const HC=Jl();function Ys(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function nc(e,t,n){return VC(t)?n:t[e]||t}const ca=Symbol("mui.processed_props");function da(e,t,n){if(ca in e)return e[ca];const r={...e,theme:nc(t,e.theme,n)};return e[ca]=r,r[ca]=r,r}function WC(e){return e?(t,n)=>n[e]:null}function Oa(e,t){var r;const n=typeof e=="function"?e(t):e;if(Array.isArray(n))return n.flatMap(o=>Oa(o,t));if(Array.isArray(n==null?void 0:n.variants)){const{variants:o,...i}=n;let a=i,l;e:for(let s=0;sfo(da(l,t,n));return i.__mui_systemSx=!0,(l,s={})=>{BC(l,k=>k.filter($=>!($!=null&&$.__mui_systemSx)));const{name:u,slot:f,skipVariantsResolver:d,skipSx:p,overridesResolver:y=WC(GC(f)),...g}=s,x=d!==void 0?d:f&&f!=="Root"&&f!=="root"||!1,b=p||!1;let h,m=Ys;f==="Root"||f==="root"?m=r:f?m=o:UC(l)&&(m=void 0);const c=Yg(l,{shouldForwardProp:m,label:h,...g}),S=k=>typeof k=="function"&&k.__emotion_real!==k||on(k)?$=>Oa(k,da($,t,n)):k,C=(k,...$)=>{let E=S(k);const v=$?$.map(S):[];u&&y&&v.push(M=>{const N=nc(t,M.theme,n);if(!N.components||!N.components[u]||!N.components[u].styleOverrides)return null;const z=N.components[u].styleOverrides,j={},I=da(M,t,n);for(const L in z)j[L]=Oa(z[L],I);return y(M,j)}),u&&!x&&v.push(M=>{var j,I;const N=nc(t,M.theme,n),z=(I=(j=N==null?void 0:N.components)==null?void 0:j[u])==null?void 0:I.variants;return z?Oa({variants:z},da(M,t,n)):null}),b||v.push(i);const P=v.length-$.length;if(Array.isArray(k)&&P>0){const M=new Array(P).fill("");E=[...k,...M],E.raw=[...k.raw,...M]}const B=c(E,...v);return l.muiName&&(B.muiName=l.muiName),B};return c.withConfig&&(C.withConfig=c.withConfig),C}}function VC(e){for(const t in e)return!1;return!0}function UC(e){return typeof e=="string"&&e.charCodeAt(0)>96}function GC(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const KC=Jg();function xi(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],a=t[o];if(!a)n[o]=i||{};else if(!i)n[o]=a;else{n[o]={...a};for(const l in i)if(Object.prototype.hasOwnProperty.call(i,l)){const s=l;n[o][s]=xi(i[s],a[s])}}}else n[o]===void 0&&(n[o]=e[o])}return n}function QC(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:xi(t.components[n].defaultProps,r)}function Zg({props:e,name:t,defaultTheme:n,themeId:r}){let o=kd(n);return r&&(o=o[r]||o),QC({theme:o,name:t,props:e})}const Ci=typeof window<"u"?w.useLayoutEffect:w.useEffect;function e0(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function Ed(e,t=0,n=1){return e0(e,t,n)}function YC(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 Qn(e){if(e.type)return e;if(e.charAt(0)==="#")return Qn(YC(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(mr(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(mr(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const XC=e=>{const t=Qn(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},Do=(e,t)=>{try{return XC(e)}catch{return e}};function Zl(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 t0(e){e=Qn(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(u,f=(u+n/30)%12)=>o-i*Math.max(Math.min(f-3,9-f,1),-1);let l="rgb";const s=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(l+="a",s.push(t[3])),Zl({type:l,values:s})}function rc(e){e=Qn(e);let t=e.type==="hsl"||e.type==="hsla"?Qn(t0(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 qC(e,t){const n=rc(e),r=rc(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function ut(e,t){return e=Qn(e),t=Ed(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Zl(e)}function fa(e,t,n){try{return ut(e,t)}catch{return e}}function Pd(e,t){if(e=Qn(e),t=Ed(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 Zl(e)}function se(e,t,n){try{return Pd(e,t)}catch{return e}}function Rd(e,t){if(e=Qn(e),t=Ed(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 Zl(e)}function ue(e,t,n){try{return Rd(e,t)}catch{return e}}function JC(e,t=.15){return rc(e)>.5?Pd(e,t):Rd(e,t)}function pa(e,t,n){try{return JC(e,t)}catch{return e}}function Cp(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function ZC(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 zt(e){return e&&e.ownerDocument||document}function Si(e){return zt(e).defaultView||window}function oc(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let Sp=0;function eS(e){const[t,n]=w.useState(e),r=e||t;return w.useEffect(()=>{t==null&&(Sp+=1,n(`mui-${Sp}`))},[t]),r}const wp=Aa.useId;function n0(e){if(wp!==void 0){const t=wp();return e??t}return eS(e)}function tS({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=w.useRef(e!==void 0),[i,a]=w.useState(t),l=o?e:i,s=w.useCallback(u=>{o||a(u)},[]);return[l,s]}function Hr(e){const t=w.useRef(e);return Ci(()=>{t.current=e}),w.useRef((...n)=>(0,t.current)(...n)).current}function ht(...e){return w.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{oc(n,t)})},e)}const bp={};function r0(e,t){const n=w.useRef(bp);return n.current===bp&&(n.current=e(t)),n}const nS=[];function rS(e){w.useEffect(e,nS)}class Td{constructor(){xo(this,"currentId",null);xo(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});xo(this,"disposeEffect",()=>this.clear)}static create(){return new Td}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function o0(){const e=r0(Td.create).current;return rS(e.disposeEffect),e}function ll(e){try{return e.matches(":focus-visible")}catch{}return!1}function i0(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const oS={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function iS(e){return typeof e=="string"}function a0(e,t,n){return e===void 0||iS(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function l0(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 $p(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 s0(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const y=Y(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),g={...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},x={...n,...o,...r};return y.length>0&&(x.className=y),Object.keys(g).length>0&&(x.style=g),{props:x,internalRef:void 0}}const a=l0({...o,...r}),l=$p(r),s=$p(o),u=t(a),f=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},p={...u,...n,...s,...l};return f.length>0&&(p.className=f),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:u.ref}}function u0(e,t,n){return typeof e=="function"?e(t,n):e}function kp(e){var d;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:o=!1,...i}=e,a=o?{}:u0(n,r),{props:l,internalRef:s}=s0({...i,externalSlotProps:a}),u=ht(s,a==null?void 0:a.ref,(d=e.additionalProps)==null?void 0:d.ref);return a0(t,{...l,ref:u},r)}function es(e){return!e||!w.isValidElement(e)?null:e.props.propertyIsEnumerable("ref")?e.props.ref:e.ref}const aS=w.createContext(),c0=()=>w.useContext(aS)??!1,lS=w.createContext(void 0);function sS(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?xi(o.defaultProps,r):!o.styleOverrides&&!o.variants?xi(o,r):r}function uS({props:e,name:t}){const n=w.useContext(lS);return sS({props:e,name:t,theme:{components:n}})}function cS(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 Ep=(e,t,n,r=[])=>{let o=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(o)?o[Number(i)]=n:o&&typeof o=="object"&&(o[i]=n):o&&typeof o=="object"&&(o[i]||(o[i]=r.includes(i)?[]:{}),o=o[i])})},dS=(e,t,n)=>{function r(o,i=[],a=[]){Object.entries(o).forEach(([l,s])=>{(!n||n&&!n([...i,l]))&&s!=null&&(typeof s=="object"&&Object.keys(s).length>0?r(s,[...i,l],Array.isArray(s)?[...a,l]:a):t([...i,l],s,a))})}r(e)},fS=(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 Xs(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},a={};return dS(e,(l,s,u)=>{if((typeof s=="string"||typeof s=="number")&&(!r||!r(l,s))){const f=`--${n?`${n}-`:""}${l.join("-")}`,d=fS(l,s);Object.assign(o,{[f]:d}),Ep(i,l,`var(${f})`,u),Ep(a,l,`var(${f}, ${d})`,u)}},l=>l[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function pS(e,t={}){const{getSelector:n=b,disableCssColorScheme:r,colorSchemeSelector:o}=t,{colorSchemes:i={},components:a,defaultColorScheme:l="light",...s}=e,{vars:u,css:f,varsWithDefaults:d}=Xs(s,t);let p=d;const y={},{[l]:g,...x}=i;if(Object.entries(x||{}).forEach(([c,S])=>{const{vars:C,css:k,varsWithDefaults:$}=Xs(S,t);p=wt(p,$),y[c]={css:k,vars:C}}),g){const{css:c,vars:S,varsWithDefaults:C}=Xs(g,t);p=wt(p,C),y[l]={css:c,vars:S}}function b(c,S){var k,$;let C=o;if(o==="class"&&(C=".%s"),o==="data"&&(C="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(C=`[${o}="%s"]`),c){if(C==="media")return e.defaultColorScheme===c?":root":{[`@media (prefers-color-scheme: ${(($=(k=i[c])==null?void 0:k.palette)==null?void 0:$.mode)||c})`]:{":root":S}};if(C)return e.defaultColorScheme===c?`:root, ${C.replace("%s",String(c))}`:C.replace("%s",String(c))}return":root"}return{vars:p,generateThemeVars:()=>{let c={...u};return Object.entries(y).forEach(([,{vars:S}])=>{c=wt(c,S)}),c},generateStyleSheets:()=>{var E,v;const c=[],S=e.defaultColorScheme||"light";function C(P,B){Object.keys(B).length&&c.push(typeof P=="string"?{[P]:{...B}}:P)}C(n(void 0,{...f}),f);const{[S]:k,...$}=y;if(k){const{css:P}=k,B=(v=(E=i[S])==null?void 0:E.palette)==null?void 0:v.mode,M=!r&&B?{colorScheme:B,...P}:{...P};C(n(S,{...M}),M)}return Object.entries($).forEach(([P,{css:B}])=>{var z,j;const M=(j=(z=i[P])==null?void 0:z.palette)==null?void 0:j.mode,N=!r&&M?{colorScheme:M,...B}:{...B};C(n(P,{...N}),N)}),c}}}function mS(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 hS=Jl(),gS=KC("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${ee(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),vS=e=>Zg({props:e,name:"MuiContainer",defaultTheme:hS}),yS=(e,t)=>{const n=s=>Ge(t,s),{classes:r,fixed:o,disableGutters:i,maxWidth:a}=e,l={root:["root",a&&`maxWidth${ee(String(a))}`,o&&"fixed",i&&"disableGutters"]};return Ze(l,n,r)};function xS(e={}){const{createStyledComponent:t=gS,useThemeProps:n=vS,componentName:r="MuiContainer"}=e,o=t(({theme:a,ownerState:l})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!l.disableGutters&&{paddingLeft:a.spacing(2),paddingRight:a.spacing(2),[a.breakpoints.up("sm")]:{paddingLeft:a.spacing(3),paddingRight:a.spacing(3)}}}),({theme:a,ownerState:l})=>l.fixed&&Object.keys(a.breakpoints.values).reduce((s,u)=>{const f=u,d=a.breakpoints.values[f];return d!==0&&(s[a.breakpoints.up(f)]={maxWidth:`${d}${a.breakpoints.unit}`}),s},{}),({theme:a,ownerState:l})=>({...l.maxWidth==="xs"&&{[a.breakpoints.up("xs")]:{maxWidth:Math.max(a.breakpoints.values.xs,444)}},...l.maxWidth&&l.maxWidth!=="xs"&&{[a.breakpoints.up(l.maxWidth)]:{maxWidth:`${a.breakpoints.values[l.maxWidth]}${a.breakpoints.unit}`}}}));return w.forwardRef(function(l,s){const u=n(l),{className:f,component:d="div",disableGutters:p=!1,fixed:y=!1,maxWidth:g="lg",classes:x,...b}=u,h={...u,component:d,disableGutters:p,fixed:y,maxWidth:g},m=yS(h,r);return R.jsx(o,{as:d,ownerState:h,className:Y(m.root,f),ref:s,...b})})}const wi={black:"#000",white:"#fff"},CS={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"},Sr={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"},wr={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"},To={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"},br={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"},$r={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"},kr={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"},Pp={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:wi.white,default:wi.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}},qs={text:{primary:wi.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:wi.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 Rp(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=Rd(e.main,o):t==="dark"&&(e.dark=Pd(e.main,i)))}function SS(e="light"){return e==="dark"?{main:br[200],light:br[50],dark:br[400]}:{main:br[700],light:br[400],dark:br[800]}}function wS(e="light"){return e==="dark"?{main:Sr[200],light:Sr[50],dark:Sr[400]}:{main:Sr[500],light:Sr[300],dark:Sr[700]}}function bS(e="light"){return e==="dark"?{main:wr[500],light:wr[300],dark:wr[700]}:{main:wr[700],light:wr[400],dark:wr[800]}}function $S(e="light"){return e==="dark"?{main:$r[400],light:$r[300],dark:$r[700]}:{main:$r[700],light:$r[500],dark:$r[900]}}function kS(e="light"){return e==="dark"?{main:kr[400],light:kr[300],dark:kr[700]}:{main:kr[800],light:kr[500],dark:kr[900]}}function ES(e="light"){return e==="dark"?{main:To[400],light:To[300],dark:To[700]}:{main:"#ed6c02",light:To[500],dark:To[900]}}function Od(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...o}=e,i=e.primary||SS(t),a=e.secondary||wS(t),l=e.error||bS(t),s=e.info||$S(t),u=e.success||kS(t),f=e.warning||ES(t);function d(x){return qC(x,qs.text.primary)>=n?qs.text.primary:Pp.text.primary}const p=({color:x,name:b,mainShade:h=500,lightShade:m=300,darkShade:c=700})=>{if(x={...x},!x.main&&x[h]&&(x.main=x[h]),!x.hasOwnProperty("main"))throw new Error(mr(11,b?` (${b})`:"",h));if(typeof x.main!="string")throw new Error(mr(12,b?` (${b})`:"",JSON.stringify(x.main)));return Rp(x,"light",m,r),Rp(x,"dark",c,r),x.contrastText||(x.contrastText=d(x.main)),x},y={dark:qs,light:Pp};return wt({common:{...wi},mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:l,name:"error"}),warning:p({color:f,name:"warning"}),info:p({color:s,name:"info"}),success:p({color:u,name:"success"}),grey:CS,contrastThreshold:n,getContrastText:d,augmentColor:p,tonalOffset:r,...y[t]},o)}function PS(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 RS(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function TS(e){return Math.round(e*1e5)/1e5}const Tp={textTransform:"uppercase"},Op='"Roboto", "Helvetica", "Arial", sans-serif';function OS(e,t){const{fontFamily:n=Op,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:l=700,htmlFontSize:s=16,allVariants:u,pxToRem:f,...d}=typeof t=="function"?t(e):t,p=r/14,y=f||(b=>`${b/s*p}rem`),g=(b,h,m,c,S)=>({fontFamily:n,fontWeight:b,fontSize:y(h),lineHeight:m,...n===Op?{letterSpacing:`${TS(c/h)}em`}:{},...S,...u}),x={h1:g(o,96,1.167,-1.5),h2:g(o,60,1.2,-.5),h3:g(i,48,1.167,0),h4:g(i,34,1.235,.25),h5:g(i,24,1.334,0),h6:g(a,20,1.6,.15),subtitle1:g(i,16,1.75,.15),subtitle2:g(a,14,1.57,.1),body1:g(i,16,1.5,.15),body2:g(i,14,1.43,.15),button:g(a,14,1.75,.4,Tp),caption:g(i,12,1.66,.4),overline:g(i,12,2.66,1,Tp),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return wt({htmlFontSize:s,pxToRem:y,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:l,...x},d,{clone:!1})}const BS=.2,_S=.14,AS=.12;function me(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${BS})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${_S})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${AS})`].join(",")}const MS=["none",me(0,2,1,-1,0,1,1,0,0,1,3,0),me(0,3,1,-2,0,2,2,0,0,1,5,0),me(0,3,3,-2,0,3,4,0,0,1,8,0),me(0,2,4,-1,0,4,5,0,0,1,10,0),me(0,3,5,-1,0,5,8,0,0,1,14,0),me(0,3,5,-1,0,6,10,0,0,1,18,0),me(0,4,5,-2,0,7,10,1,0,2,16,1),me(0,5,5,-3,0,8,10,1,0,3,14,2),me(0,5,6,-3,0,9,12,1,0,3,16,2),me(0,6,6,-3,0,10,14,1,0,4,18,3),me(0,6,7,-4,0,11,15,1,0,4,20,3),me(0,7,8,-4,0,12,17,2,0,5,22,4),me(0,7,8,-4,0,13,19,2,0,5,24,4),me(0,7,9,-4,0,14,21,2,0,5,26,4),me(0,8,9,-5,0,15,22,2,0,6,28,5),me(0,8,10,-5,0,16,24,2,0,6,30,5),me(0,8,11,-5,0,17,26,2,0,6,32,5),me(0,9,11,-5,0,18,28,2,0,7,34,6),me(0,9,12,-6,0,19,29,2,0,7,36,6),me(0,10,13,-6,0,20,31,3,0,8,38,7),me(0,10,13,-6,0,21,33,3,0,8,40,7),me(0,10,14,-6,0,22,35,3,0,8,42,7),me(0,11,14,-7,0,23,36,3,0,9,44,8),me(0,11,15,-7,0,24,38,3,0,9,46,8)],IS={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)"},zS={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Bp(e){return`${Math.round(e)}ms`}function NS(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function DS(e){const t={...IS,...e.easing},n={...zS,...e.duration};return{getAutoHeightDuration:NS,create:(o=["all"],i={})=>{const{duration:a=n.standard,easing:l=t.easeInOut,delay:s=0,...u}=i;return(Array.isArray(o)?o:[o]).map(f=>`${f} ${typeof a=="string"?a:Bp(a)} ${l} ${typeof s=="string"?s:Bp(s)}`).join(",")},...e,easing:t,duration:n}}const jS={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function ic(e={},...t){const{breakpoints:n,mixins:r={},spacing:o,palette:i={},transitions:a={},typography:l={},shape:s,...u}=e;if(e.vars)throw new Error(mr(20));const f=Od(i),d=Jl(e);let p=wt(d,{mixins:RS(d.breakpoints,r),palette:f,shadows:MS.slice(),typography:OS(f,l),transitions:DS(a),zIndex:{...jS}});return p=wt(p,u),p=t.reduce((y,g)=>wt(y,g),p),p.unstable_sxConfig={...Ii,...u==null?void 0:u.unstable_sxConfig},p.unstable_sx=function(g){return fo({sx:g,theme:this})},p}function ac(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 FS=[...Array(25)].map((e,t)=>{if(t===0)return;const n=ac(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function d0(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function f0(e){return e==="dark"?FS:[]}function LS(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...o}=e,i=Od(t);return{palette:i,opacity:{...d0(i.mode),...n},overlays:r||f0(i.mode),...o}}function HS(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 WS=e=>[...[...Array(24)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n+1}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],VS=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 WS(e.cssVarPrefix).forEach(a=>{i[a]=n[a],delete n[a]}),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 US(e){return on(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function GS(e={}){const t={...e};function n(r){const o=Object.entries(r);for(let i=0;i{e[n]||(e[n]={})})}function T(e,t,n){!e[t]&&n&&(e[t]=n)}function jo(e){return!e||!e.startsWith("hsl")?e:e0(e)}function dn(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Do(jo(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 KS(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Zt=e=>{try{return e()}catch{}},QS=(e="mui")=>uS(e);function Js(e,t,n,r){if(!t)return;t=t===!0?{}:t;const o=r==="dark"?"dark":"light";if(!n){e[r]=FS({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:i,...a}=oc({...n,palette:{mode:o,...t==null?void 0:t.palette}});return e[r]={...t,palette:i,opacity:{...c0(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||d0(o)},a}function YS(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:a=LS,colorSchemeSelector:l=n.light&&n.dark?"media":void 0,...s}=e,u=Object.keys(n)[0],f=r||(n.light&&u!=="light"?"light":u),d=QS(i),{[f]:p,light:y,dark:g,...x}=n,b={...x};let h=p;if((f==="dark"&&!("dark"in n)||f==="light"&&!("light"in n))&&(h=!0),!h)throw new Error(mr(21,f));const m=Js(b,h,s,f);y&&!b.light&&Js(b,y,void 0,"light"),g&&!b.dark&&Js(b,g,void 0,"dark");let c={defaultColorScheme:f,...m,cssVarPrefix:i,colorSchemeSelector:l,getCssVar:d,colorSchemes:b,font:{...ES(m.typography),...m.font},spacing:KS(s.spacing)};Object.keys(c.colorSchemes).forEach(E=>{const v=c.colorSchemes[E].palette,P=B=>{const M=B.split("-"),N=M[1],z=M[2];return d(B,v[N][z])};if(v.mode==="light"&&(T(v.common,"background","#fff"),T(v.common,"onBackground","#000")),v.mode==="dark"&&(T(v.common,"background","#000"),T(v.common,"onBackground","#fff")),GS(v,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),v.mode==="light"){T(v.Alert,"errorColor",se(v.error.light,.6)),T(v.Alert,"infoColor",se(v.info.light,.6)),T(v.Alert,"successColor",se(v.success.light,.6)),T(v.Alert,"warningColor",se(v.warning.light,.6)),T(v.Alert,"errorFilledBg",P("palette-error-main")),T(v.Alert,"infoFilledBg",P("palette-info-main")),T(v.Alert,"successFilledBg",P("palette-success-main")),T(v.Alert,"warningFilledBg",P("palette-warning-main")),T(v.Alert,"errorFilledColor",Zt(()=>v.getContrastText(v.error.main))),T(v.Alert,"infoFilledColor",Zt(()=>v.getContrastText(v.info.main))),T(v.Alert,"successFilledColor",Zt(()=>v.getContrastText(v.success.main))),T(v.Alert,"warningFilledColor",Zt(()=>v.getContrastText(v.warning.main))),T(v.Alert,"errorStandardBg",ue(v.error.light,.9)),T(v.Alert,"infoStandardBg",ue(v.info.light,.9)),T(v.Alert,"successStandardBg",ue(v.success.light,.9)),T(v.Alert,"warningStandardBg",ue(v.warning.light,.9)),T(v.Alert,"errorIconColor",P("palette-error-main")),T(v.Alert,"infoIconColor",P("palette-info-main")),T(v.Alert,"successIconColor",P("palette-success-main")),T(v.Alert,"warningIconColor",P("palette-warning-main")),T(v.AppBar,"defaultBg",P("palette-grey-100")),T(v.Avatar,"defaultBg",P("palette-grey-400")),T(v.Button,"inheritContainedBg",P("palette-grey-300")),T(v.Button,"inheritContainedHoverBg",P("palette-grey-A100")),T(v.Chip,"defaultBorder",P("palette-grey-400")),T(v.Chip,"defaultAvatarColor",P("palette-grey-700")),T(v.Chip,"defaultIconColor",P("palette-grey-700")),T(v.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),T(v.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),T(v.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),T(v.LinearProgress,"primaryBg",ue(v.primary.main,.62)),T(v.LinearProgress,"secondaryBg",ue(v.secondary.main,.62)),T(v.LinearProgress,"errorBg",ue(v.error.main,.62)),T(v.LinearProgress,"infoBg",ue(v.info.main,.62)),T(v.LinearProgress,"successBg",ue(v.success.main,.62)),T(v.LinearProgress,"warningBg",ue(v.warning.main,.62)),T(v.Skeleton,"bg",`rgba(${P("palette-text-primaryChannel")} / 0.11)`),T(v.Slider,"primaryTrack",ue(v.primary.main,.62)),T(v.Slider,"secondaryTrack",ue(v.secondary.main,.62)),T(v.Slider,"errorTrack",ue(v.error.main,.62)),T(v.Slider,"infoTrack",ue(v.info.main,.62)),T(v.Slider,"successTrack",ue(v.success.main,.62)),T(v.Slider,"warningTrack",ue(v.warning.main,.62));const B=fa(v.background.default,.8);T(v.SnackbarContent,"bg",B),T(v.SnackbarContent,"color",Zt(()=>v.getContrastText(B))),T(v.SpeedDialAction,"fabHoverBg",fa(v.background.paper,.15)),T(v.StepConnector,"border",P("palette-grey-400")),T(v.StepContent,"border",P("palette-grey-400")),T(v.Switch,"defaultColor",P("palette-common-white")),T(v.Switch,"defaultDisabledColor",P("palette-grey-100")),T(v.Switch,"primaryDisabledColor",ue(v.primary.main,.62)),T(v.Switch,"secondaryDisabledColor",ue(v.secondary.main,.62)),T(v.Switch,"errorDisabledColor",ue(v.error.main,.62)),T(v.Switch,"infoDisabledColor",ue(v.info.main,.62)),T(v.Switch,"successDisabledColor",ue(v.success.main,.62)),T(v.Switch,"warningDisabledColor",ue(v.warning.main,.62)),T(v.TableCell,"border",ue(da(v.divider,1),.88)),T(v.Tooltip,"bg",da(v.grey[700],.92))}if(v.mode==="dark"){T(v.Alert,"errorColor",ue(v.error.light,.6)),T(v.Alert,"infoColor",ue(v.info.light,.6)),T(v.Alert,"successColor",ue(v.success.light,.6)),T(v.Alert,"warningColor",ue(v.warning.light,.6)),T(v.Alert,"errorFilledBg",P("palette-error-dark")),T(v.Alert,"infoFilledBg",P("palette-info-dark")),T(v.Alert,"successFilledBg",P("palette-success-dark")),T(v.Alert,"warningFilledBg",P("palette-warning-dark")),T(v.Alert,"errorFilledColor",Zt(()=>v.getContrastText(v.error.dark))),T(v.Alert,"infoFilledColor",Zt(()=>v.getContrastText(v.info.dark))),T(v.Alert,"successFilledColor",Zt(()=>v.getContrastText(v.success.dark))),T(v.Alert,"warningFilledColor",Zt(()=>v.getContrastText(v.warning.dark))),T(v.Alert,"errorStandardBg",se(v.error.light,.9)),T(v.Alert,"infoStandardBg",se(v.info.light,.9)),T(v.Alert,"successStandardBg",se(v.success.light,.9)),T(v.Alert,"warningStandardBg",se(v.warning.light,.9)),T(v.Alert,"errorIconColor",P("palette-error-main")),T(v.Alert,"infoIconColor",P("palette-info-main")),T(v.Alert,"successIconColor",P("palette-success-main")),T(v.Alert,"warningIconColor",P("palette-warning-main")),T(v.AppBar,"defaultBg",P("palette-grey-900")),T(v.AppBar,"darkBg",P("palette-background-paper")),T(v.AppBar,"darkColor",P("palette-text-primary")),T(v.Avatar,"defaultBg",P("palette-grey-600")),T(v.Button,"inheritContainedBg",P("palette-grey-800")),T(v.Button,"inheritContainedHoverBg",P("palette-grey-700")),T(v.Chip,"defaultBorder",P("palette-grey-700")),T(v.Chip,"defaultAvatarColor",P("palette-grey-300")),T(v.Chip,"defaultIconColor",P("palette-grey-300")),T(v.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),T(v.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),T(v.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),T(v.LinearProgress,"primaryBg",se(v.primary.main,.5)),T(v.LinearProgress,"secondaryBg",se(v.secondary.main,.5)),T(v.LinearProgress,"errorBg",se(v.error.main,.5)),T(v.LinearProgress,"infoBg",se(v.info.main,.5)),T(v.LinearProgress,"successBg",se(v.success.main,.5)),T(v.LinearProgress,"warningBg",se(v.warning.main,.5)),T(v.Skeleton,"bg",`rgba(${P("palette-text-primaryChannel")} / 0.13)`),T(v.Slider,"primaryTrack",se(v.primary.main,.5)),T(v.Slider,"secondaryTrack",se(v.secondary.main,.5)),T(v.Slider,"errorTrack",se(v.error.main,.5)),T(v.Slider,"infoTrack",se(v.info.main,.5)),T(v.Slider,"successTrack",se(v.success.main,.5)),T(v.Slider,"warningTrack",se(v.warning.main,.5));const B=fa(v.background.default,.98);T(v.SnackbarContent,"bg",B),T(v.SnackbarContent,"color",Zt(()=>v.getContrastText(B))),T(v.SpeedDialAction,"fabHoverBg",fa(v.background.paper,.15)),T(v.StepConnector,"border",P("palette-grey-600")),T(v.StepContent,"border",P("palette-grey-600")),T(v.Switch,"defaultColor",P("palette-grey-300")),T(v.Switch,"defaultDisabledColor",P("palette-grey-600")),T(v.Switch,"primaryDisabledColor",se(v.primary.main,.55)),T(v.Switch,"secondaryDisabledColor",se(v.secondary.main,.55)),T(v.Switch,"errorDisabledColor",se(v.error.main,.55)),T(v.Switch,"infoDisabledColor",se(v.info.main,.55)),T(v.Switch,"successDisabledColor",se(v.success.main,.55)),T(v.Switch,"warningDisabledColor",se(v.warning.main,.55)),T(v.TableCell,"border",se(da(v.divider,1),.68)),T(v.Tooltip,"bg",da(v.grey[700],.92))}dn(v.background,"default"),dn(v.background,"paper"),dn(v.common,"background"),dn(v.common,"onBackground"),dn(v,"divider"),Object.keys(v).forEach(B=>{const M=v[B];M&&typeof M=="object"&&(M.main&&T(v[B],"mainChannel",Do(jo(M.main))),M.light&&T(v[B],"lightChannel",Do(jo(M.light))),M.dark&&T(v[B],"darkChannel",Do(jo(M.dark))),M.contrastText&&T(v[B],"contrastTextChannel",Do(jo(M.contrastText))),B==="text"&&(dn(v[B],"primary"),dn(v[B],"secondary")),B==="action"&&(M.active&&dn(v[B],"active"),M.selected&&dn(v[B],"selected")))})}),c=t.reduce((E,v)=>wt(E,v),c);const S={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:WS(c)},{vars:C,generateThemeVars:k,generateStyleSheets:$}=fS(c,S);return c.vars=C,Object.entries(c.colorSchemes[c.defaultColorScheme]).forEach(([E,v])=>{c[E]=v}),c.generateThemeVars=k,c.generateStyleSheets=$,c.generateSpacing=function(){return Yg(s.spacing,md(this))},c.getColorSchemeSelector=pS(l),c.spacing=c.generateSpacing(),c.shouldSkipGeneratingVar=a,c.unstable_sxConfig={...Ii,...s==null?void 0:s.unstable_sxConfig},c.unstable_sx=function(v){return fo({sx:v,theme:this})},c.toRuntimeSource=US,c}function Bp(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Td({...n===!0?{}:n.palette,mode:t})})}function f0(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=n?void 0:{light:!0},defaultColorScheme:i=n==null?void 0:n.mode,...a}=e,l=i||"light",s=o==null?void 0:o[l],u={...o,...n?{[l]:{...typeof s!="boolean"&&s,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return oc(e,...t);let f=n;"palette"in e||u[l]&&(u[l]!==!0?f=u[l].palette:l==="dark"&&(f={mode:"dark"}));const d=oc({...e,palette:f},...t);return d.defaultColorScheme=l,d.colorSchemes=u,d.palette.mode==="light"&&(d.colorSchemes.light={...u.light!==!0&&u.light,palette:d.palette},Bp(d,"dark",u.dark)),d.palette.mode==="dark"&&(d.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:d.palette},Bp(d,"light",u.light)),d}return!n&&!("light"in u)&&l==="light"&&(u.light=!0),YS({...a,colorSchemes:u,defaultColorScheme:l,...typeof r!="boolean"&&r},...t)}const Od=f0(),es="$$material";function Bd(){const e=$d(Od);return e[es]||e}function p0(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const ts=e=>p0(e)&&e!=="classes",ce=qg({themeId:es,defaultTheme:Od,rootShouldForwardProp:ts});function XS(){return Bg}const _p={theme:void 0};function jt(e){let t,n;return r=>{let o=t;return(o===void 0||r.theme!==n)&&(_p.theme=r.theme,o=e(_p),t=o,n=r.theme),o}}function et(e){return sS(e)}function qS(e){return typeof e.main=="string"}function JS(e,t=[]){if(!qS(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function bi(e=[]){return([,t])=>t&&JS(t,e)}function ZS(e){return Ge("MuiPaper",e)}Me("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 ew=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Ze(i,ZS,o)},tw=ce("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}`]]}})(jt(({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)"}}]}))),m0=w.forwardRef(function(t,n){var y;const r=et({props:t,name:"MuiPaper"}),o=Bd(),{className:i,component:a="div",elevation:l=1,square:s=!1,variant:u="elevation",...f}=r,d={...r,component:a,elevation:l,square:s,variant:u},p=ew(d);return R.jsx(tw,{as:a,ownerState:d,className:Y(p.root,i),ref:n,...f,style:{...u==="elevation"&&{"--Paper-shadow":(o.vars||o).shadows[l],...o.vars&&{"--Paper-overlay":(y=o.vars.overlays)==null?void 0:y[l]},...!o.vars&&o.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${ut("#fff",ic(l))}, ${ut("#fff",ic(l))})`}},...f.style}})});function nw(e){return Ge("MuiAppBar",e)}Me("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const rw=e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${ee(t)}`,`position${ee(n)}`]};return Ze(o,nw,r)},Ap=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,ow=ce(m0,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${ee(n.position)}`],t[`color${ee(n.color)}`]]}})(jt(({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(bi(["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?Ap(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?Ap(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"})}}]}))),iw=w.forwardRef(function(t,n){const r=et({props:t,name:"MuiAppBar"}),{className:o,color:i="primary",enableColorOnDark:a=!1,position:l="fixed",...s}=r,u={...r,color:i,position:l,enableColorOnDark:a},f=rw(u);return R.jsx(ow,{square:!0,component:"header",ownerState:u,elevation:4,className:Y(f.root,o,l==="fixed"&&"mui-fixed"),ref:n,...s})});function aw({props:e,name:t}){return Jg({props:e,name:t,defaultTheme:Od,themeId:es})}const lw=Me("MuiBox",["root"]),sw=f0(),$i=jC({themeId:es,defaultTheme:sw,defaultClassName:lw.root,generateClassName:Xg.generate});function uw(e){return Ge("MuiToolbar",e)}Me("MuiToolbar",["root","gutters","regular","dense"]);const cw=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Ze({root:["root",!n&&"gutters",r]},uw,t)},dw=ce("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(jt(({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}]}))),fw=w.forwardRef(function(t,n){const r=et({props:t,name:"MuiToolbar"}),{className:o,component:i="div",disableGutters:a=!1,variant:l="regular",...s}=r,u={...r,component:i,disableGutters:a,variant:l},f=cw(u);return R.jsx(dw,{as:i,className:Y(f.root,o),ref:n,ownerState:u,...s})});class ll{constructor(){xo(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 ll}static use(){const t=n0(ll.create).current,[n,r]=w.useState(!1);return t.shouldMount=n,t.setShouldMount=r,w.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=mw(),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 pw(){return ll.use()}function mw(){let e,t;const n=new Promise((r,o)=>{e=r,t=o});return n.resolve=e,n.reject=t,n}function Re(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 ac(e,t){return ac=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},ac(e,t)}function h0(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ac(e,t)}const Mp={disabled:!1},sl=Qt.createContext(null);var hw=function(t){return t.scrollTop},Fo="unmounted",tr="exited",nr="entering",Tr="entered",lc="exiting",cn=function(e){h0(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var a=o,l=a&&!a.isMounting?r.enter:r.appear,s;return i.appearStatus=null,r.in?l?(s=tr,i.appearStatus=nr):s=Tr:r.unmountOnExit||r.mountOnEnter?s=Fo:s=tr,i.state={status:s},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===Fo?{status:tr}: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 a=this.state.status;this.props.in?a!==nr&&a!==Tr&&(i=nr):(a===nr||a===Tr)&&(i=lc)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,a,l;return i=a=l=o,o!=null&&typeof o!="number"&&(i=o.exit,a=o.enter,l=o.appear!==void 0?o.appear:a),{exit:i,enter:a,appear:l}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===nr){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:la.findDOMNode(this);a&&hw(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===tr&&this.setState({status:Fo})},n.performEnter=function(o){var i=this,a=this.props.enter,l=this.context?this.context.isMounting:o,s=this.props.nodeRef?[l]:[la.findDOMNode(this),l],u=s[0],f=s[1],d=this.getTimeouts(),p=l?d.appear:d.enter;if(!o&&!a||Mp.disabled){this.safeSetState({status:Tr},function(){i.props.onEntered(u)});return}this.props.onEnter(u,f),this.safeSetState({status:nr},function(){i.props.onEntering(u,f),i.onTransitionEnd(p,function(){i.safeSetState({status:Tr},function(){i.props.onEntered(u,f)})})})},n.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),l=this.props.nodeRef?void 0:la.findDOMNode(this);if(!i||Mp.disabled){this.safeSetState({status:tr},function(){o.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:lc},function(){o.props.onExiting(l),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:tr},function(){o.props.onExited(l)})})})},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,a=!0;return this.nextCallback=function(l){a&&(a=!1,i.nextCallback=null,o(l))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(o,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:la.findDOMNode(this),l=o==null&&!this.props.addEndListener;if(!a||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var s=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],u=s[0],f=s[1];this.props.addEndListener(u,f)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===Fo)return null;var i=this.props,a=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 l=Re(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Qt.createElement(sl.Provider,{value:null},typeof a=="function"?a(o,l):Qt.cloneElement(Qt.Children.only(a),l))},t}(Qt.Component);cn.contextType=sl;cn.propTypes={};function Er(){}cn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Er,onEntering:Er,onEntered:Er,onExit:Er,onExiting:Er,onExited:Er};cn.UNMOUNTED=Fo;cn.EXITED=tr;cn.ENTERING=nr;cn.ENTERED=Tr;cn.EXITING=lc;function gw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _d(e,t){var n=function(i){return t&&w.isValidElement(i)?t(i):i},r=Object.create(null);return e&&w.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function vw(e,t){e=e||{},t=t||{};function n(f){return f in t?t[f]:e[f]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var a,l={};for(var s in t){if(r[s])for(a=0;a{if(!l&&s!=null){const x=setTimeout(s,u);return()=>{clearTimeout(x)}}},[s,l,u]),R.jsx("span",{className:p,style:y,children:R.jsx("span",{className:g})})}const Tt=Me("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),sc=550,bw=80,$w=bd` +export default theme;`}function KS(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function T(e,t,n){!e[t]&&n&&(e[t]=n)}function jo(e){return!e||!e.startsWith("hsl")?e:t0(e)}function dn(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Do(jo(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 QS(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Zt=e=>{try{return e()}catch{}},YS=(e="mui")=>cS(e);function Js(e,t,n,r){if(!t)return;t=t===!0?{}:t;const o=r==="dark"?"dark":"light";if(!n){e[r]=LS({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:i,...a}=ic({...n,palette:{mode:o,...t==null?void 0:t.palette}});return e[r]={...t,palette:i,opacity:{...d0(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||f0(o)},a}function XS(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:a=HS,colorSchemeSelector:l=n.light&&n.dark?"media":void 0,...s}=e,u=Object.keys(n)[0],f=r||(n.light&&u!=="light"?"light":u),d=YS(i),{[f]:p,light:y,dark:g,...x}=n,b={...x};let h=p;if((f==="dark"&&!("dark"in n)||f==="light"&&!("light"in n))&&(h=!0),!h)throw new Error(mr(21,f));const m=Js(b,h,s,f);y&&!b.light&&Js(b,y,void 0,"light"),g&&!b.dark&&Js(b,g,void 0,"dark");let c={defaultColorScheme:f,...m,cssVarPrefix:i,colorSchemeSelector:l,getCssVar:d,colorSchemes:b,font:{...PS(m.typography),...m.font},spacing:QS(s.spacing)};Object.keys(c.colorSchemes).forEach(E=>{const v=c.colorSchemes[E].palette,P=B=>{const M=B.split("-"),N=M[1],z=M[2];return d(B,v[N][z])};if(v.mode==="light"&&(T(v.common,"background","#fff"),T(v.common,"onBackground","#000")),v.mode==="dark"&&(T(v.common,"background","#000"),T(v.common,"onBackground","#fff")),KS(v,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),v.mode==="light"){T(v.Alert,"errorColor",se(v.error.light,.6)),T(v.Alert,"infoColor",se(v.info.light,.6)),T(v.Alert,"successColor",se(v.success.light,.6)),T(v.Alert,"warningColor",se(v.warning.light,.6)),T(v.Alert,"errorFilledBg",P("palette-error-main")),T(v.Alert,"infoFilledBg",P("palette-info-main")),T(v.Alert,"successFilledBg",P("palette-success-main")),T(v.Alert,"warningFilledBg",P("palette-warning-main")),T(v.Alert,"errorFilledColor",Zt(()=>v.getContrastText(v.error.main))),T(v.Alert,"infoFilledColor",Zt(()=>v.getContrastText(v.info.main))),T(v.Alert,"successFilledColor",Zt(()=>v.getContrastText(v.success.main))),T(v.Alert,"warningFilledColor",Zt(()=>v.getContrastText(v.warning.main))),T(v.Alert,"errorStandardBg",ue(v.error.light,.9)),T(v.Alert,"infoStandardBg",ue(v.info.light,.9)),T(v.Alert,"successStandardBg",ue(v.success.light,.9)),T(v.Alert,"warningStandardBg",ue(v.warning.light,.9)),T(v.Alert,"errorIconColor",P("palette-error-main")),T(v.Alert,"infoIconColor",P("palette-info-main")),T(v.Alert,"successIconColor",P("palette-success-main")),T(v.Alert,"warningIconColor",P("palette-warning-main")),T(v.AppBar,"defaultBg",P("palette-grey-100")),T(v.Avatar,"defaultBg",P("palette-grey-400")),T(v.Button,"inheritContainedBg",P("palette-grey-300")),T(v.Button,"inheritContainedHoverBg",P("palette-grey-A100")),T(v.Chip,"defaultBorder",P("palette-grey-400")),T(v.Chip,"defaultAvatarColor",P("palette-grey-700")),T(v.Chip,"defaultIconColor",P("palette-grey-700")),T(v.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),T(v.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),T(v.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),T(v.LinearProgress,"primaryBg",ue(v.primary.main,.62)),T(v.LinearProgress,"secondaryBg",ue(v.secondary.main,.62)),T(v.LinearProgress,"errorBg",ue(v.error.main,.62)),T(v.LinearProgress,"infoBg",ue(v.info.main,.62)),T(v.LinearProgress,"successBg",ue(v.success.main,.62)),T(v.LinearProgress,"warningBg",ue(v.warning.main,.62)),T(v.Skeleton,"bg",`rgba(${P("palette-text-primaryChannel")} / 0.11)`),T(v.Slider,"primaryTrack",ue(v.primary.main,.62)),T(v.Slider,"secondaryTrack",ue(v.secondary.main,.62)),T(v.Slider,"errorTrack",ue(v.error.main,.62)),T(v.Slider,"infoTrack",ue(v.info.main,.62)),T(v.Slider,"successTrack",ue(v.success.main,.62)),T(v.Slider,"warningTrack",ue(v.warning.main,.62));const B=pa(v.background.default,.8);T(v.SnackbarContent,"bg",B),T(v.SnackbarContent,"color",Zt(()=>v.getContrastText(B))),T(v.SpeedDialAction,"fabHoverBg",pa(v.background.paper,.15)),T(v.StepConnector,"border",P("palette-grey-400")),T(v.StepContent,"border",P("palette-grey-400")),T(v.Switch,"defaultColor",P("palette-common-white")),T(v.Switch,"defaultDisabledColor",P("palette-grey-100")),T(v.Switch,"primaryDisabledColor",ue(v.primary.main,.62)),T(v.Switch,"secondaryDisabledColor",ue(v.secondary.main,.62)),T(v.Switch,"errorDisabledColor",ue(v.error.main,.62)),T(v.Switch,"infoDisabledColor",ue(v.info.main,.62)),T(v.Switch,"successDisabledColor",ue(v.success.main,.62)),T(v.Switch,"warningDisabledColor",ue(v.warning.main,.62)),T(v.TableCell,"border",ue(fa(v.divider,1),.88)),T(v.Tooltip,"bg",fa(v.grey[700],.92))}if(v.mode==="dark"){T(v.Alert,"errorColor",ue(v.error.light,.6)),T(v.Alert,"infoColor",ue(v.info.light,.6)),T(v.Alert,"successColor",ue(v.success.light,.6)),T(v.Alert,"warningColor",ue(v.warning.light,.6)),T(v.Alert,"errorFilledBg",P("palette-error-dark")),T(v.Alert,"infoFilledBg",P("palette-info-dark")),T(v.Alert,"successFilledBg",P("palette-success-dark")),T(v.Alert,"warningFilledBg",P("palette-warning-dark")),T(v.Alert,"errorFilledColor",Zt(()=>v.getContrastText(v.error.dark))),T(v.Alert,"infoFilledColor",Zt(()=>v.getContrastText(v.info.dark))),T(v.Alert,"successFilledColor",Zt(()=>v.getContrastText(v.success.dark))),T(v.Alert,"warningFilledColor",Zt(()=>v.getContrastText(v.warning.dark))),T(v.Alert,"errorStandardBg",se(v.error.light,.9)),T(v.Alert,"infoStandardBg",se(v.info.light,.9)),T(v.Alert,"successStandardBg",se(v.success.light,.9)),T(v.Alert,"warningStandardBg",se(v.warning.light,.9)),T(v.Alert,"errorIconColor",P("palette-error-main")),T(v.Alert,"infoIconColor",P("palette-info-main")),T(v.Alert,"successIconColor",P("palette-success-main")),T(v.Alert,"warningIconColor",P("palette-warning-main")),T(v.AppBar,"defaultBg",P("palette-grey-900")),T(v.AppBar,"darkBg",P("palette-background-paper")),T(v.AppBar,"darkColor",P("palette-text-primary")),T(v.Avatar,"defaultBg",P("palette-grey-600")),T(v.Button,"inheritContainedBg",P("palette-grey-800")),T(v.Button,"inheritContainedHoverBg",P("palette-grey-700")),T(v.Chip,"defaultBorder",P("palette-grey-700")),T(v.Chip,"defaultAvatarColor",P("palette-grey-300")),T(v.Chip,"defaultIconColor",P("palette-grey-300")),T(v.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),T(v.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),T(v.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),T(v.LinearProgress,"primaryBg",se(v.primary.main,.5)),T(v.LinearProgress,"secondaryBg",se(v.secondary.main,.5)),T(v.LinearProgress,"errorBg",se(v.error.main,.5)),T(v.LinearProgress,"infoBg",se(v.info.main,.5)),T(v.LinearProgress,"successBg",se(v.success.main,.5)),T(v.LinearProgress,"warningBg",se(v.warning.main,.5)),T(v.Skeleton,"bg",`rgba(${P("palette-text-primaryChannel")} / 0.13)`),T(v.Slider,"primaryTrack",se(v.primary.main,.5)),T(v.Slider,"secondaryTrack",se(v.secondary.main,.5)),T(v.Slider,"errorTrack",se(v.error.main,.5)),T(v.Slider,"infoTrack",se(v.info.main,.5)),T(v.Slider,"successTrack",se(v.success.main,.5)),T(v.Slider,"warningTrack",se(v.warning.main,.5));const B=pa(v.background.default,.98);T(v.SnackbarContent,"bg",B),T(v.SnackbarContent,"color",Zt(()=>v.getContrastText(B))),T(v.SpeedDialAction,"fabHoverBg",pa(v.background.paper,.15)),T(v.StepConnector,"border",P("palette-grey-600")),T(v.StepContent,"border",P("palette-grey-600")),T(v.Switch,"defaultColor",P("palette-grey-300")),T(v.Switch,"defaultDisabledColor",P("palette-grey-600")),T(v.Switch,"primaryDisabledColor",se(v.primary.main,.55)),T(v.Switch,"secondaryDisabledColor",se(v.secondary.main,.55)),T(v.Switch,"errorDisabledColor",se(v.error.main,.55)),T(v.Switch,"infoDisabledColor",se(v.info.main,.55)),T(v.Switch,"successDisabledColor",se(v.success.main,.55)),T(v.Switch,"warningDisabledColor",se(v.warning.main,.55)),T(v.TableCell,"border",se(fa(v.divider,1),.68)),T(v.Tooltip,"bg",fa(v.grey[700],.92))}dn(v.background,"default"),dn(v.background,"paper"),dn(v.common,"background"),dn(v.common,"onBackground"),dn(v,"divider"),Object.keys(v).forEach(B=>{const M=v[B];M&&typeof M=="object"&&(M.main&&T(v[B],"mainChannel",Do(jo(M.main))),M.light&&T(v[B],"lightChannel",Do(jo(M.light))),M.dark&&T(v[B],"darkChannel",Do(jo(M.dark))),M.contrastText&&T(v[B],"contrastTextChannel",Do(jo(M.contrastText))),B==="text"&&(dn(v[B],"primary"),dn(v[B],"secondary")),B==="action"&&(M.active&&dn(v[B],"active"),M.selected&&dn(v[B],"selected")))})}),c=t.reduce((E,v)=>wt(E,v),c);const S={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:VS(c)},{vars:C,generateThemeVars:k,generateStyleSheets:$}=pS(c,S);return c.vars=C,Object.entries(c.colorSchemes[c.defaultColorScheme]).forEach(([E,v])=>{c[E]=v}),c.generateThemeVars=k,c.generateStyleSheets=$,c.generateSpacing=function(){return Xg(s.spacing,hd(this))},c.getColorSchemeSelector=mS(l),c.spacing=c.generateSpacing(),c.shouldSkipGeneratingVar=a,c.unstable_sxConfig={...Ii,...s==null?void 0:s.unstable_sxConfig},c.unstable_sx=function(v){return fo({sx:v,theme:this})},c.toRuntimeSource=GS,c}function _p(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Od({...n===!0?{}:n.palette,mode:t})})}function p0(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=n?void 0:{light:!0},defaultColorScheme:i=n==null?void 0:n.mode,...a}=e,l=i||"light",s=o==null?void 0:o[l],u={...o,...n?{[l]:{...typeof s!="boolean"&&s,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return ic(e,...t);let f=n;"palette"in e||u[l]&&(u[l]!==!0?f=u[l].palette:l==="dark"&&(f={mode:"dark"}));const d=ic({...e,palette:f},...t);return d.defaultColorScheme=l,d.colorSchemes=u,d.palette.mode==="light"&&(d.colorSchemes.light={...u.light!==!0&&u.light,palette:d.palette},_p(d,"dark",u.dark)),d.palette.mode==="dark"&&(d.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:d.palette},_p(d,"light",u.light)),d}return!n&&!("light"in u)&&l==="light"&&(u.light=!0),XS({...a,colorSchemes:u,defaultColorScheme:l,...typeof r!="boolean"&&r},...t)}const Bd=p0(),ts="$$material";function _d(){const e=kd(Bd);return e[ts]||e}function m0(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const ns=e=>m0(e)&&e!=="classes",ce=Jg({themeId:ts,defaultTheme:Bd,rootShouldForwardProp:ns});function qS(){return _g}const Ap={theme:void 0};function jt(e){let t,n;return r=>{let o=t;return(o===void 0||r.theme!==n)&&(Ap.theme=r.theme,o=e(Ap),t=o,n=r.theme),o}}function et(e){return uS(e)}function JS(e){return typeof e.main=="string"}function ZS(e,t=[]){if(!JS(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function bi(e=[]){return([,t])=>t&&ZS(t,e)}function ew(e){return Ge("MuiPaper",e)}Me("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 tw=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Ze(i,ew,o)},nw=ce("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}`]]}})(jt(({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)"}}]}))),h0=w.forwardRef(function(t,n){var y;const r=et({props:t,name:"MuiPaper"}),o=_d(),{className:i,component:a="div",elevation:l=1,square:s=!1,variant:u="elevation",...f}=r,d={...r,component:a,elevation:l,square:s,variant:u},p=tw(d);return R.jsx(nw,{as:a,ownerState:d,className:Y(p.root,i),ref:n,...f,style:{...u==="elevation"&&{"--Paper-shadow":(o.vars||o).shadows[l],...o.vars&&{"--Paper-overlay":(y=o.vars.overlays)==null?void 0:y[l]},...!o.vars&&o.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${ut("#fff",ac(l))}, ${ut("#fff",ac(l))})`}},...f.style}})});function rw(e){return Ge("MuiAppBar",e)}Me("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const ow=e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${ee(t)}`,`position${ee(n)}`]};return Ze(o,rw,r)},Mp=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,iw=ce(h0,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${ee(n.position)}`],t[`color${ee(n.color)}`]]}})(jt(({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(bi(["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?Mp(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?Mp(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"})}}]}))),aw=w.forwardRef(function(t,n){const r=et({props:t,name:"MuiAppBar"}),{className:o,color:i="primary",enableColorOnDark:a=!1,position:l="fixed",...s}=r,u={...r,color:i,position:l,enableColorOnDark:a},f=ow(u);return R.jsx(iw,{square:!0,component:"header",ownerState:u,elevation:4,className:Y(f.root,o,l==="fixed"&&"mui-fixed"),ref:n,...s})});function lw({props:e,name:t}){return Zg({props:e,name:t,defaultTheme:Bd,themeId:ts})}const sw=Me("MuiBox",["root"]),uw=p0(),$i=FC({themeId:ts,defaultTheme:uw,defaultClassName:sw.root,generateClassName:qg.generate});function cw(e){return Ge("MuiToolbar",e)}Me("MuiToolbar",["root","gutters","regular","dense"]);const dw=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Ze({root:["root",!n&&"gutters",r]},cw,t)},fw=ce("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(jt(({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}]}))),pw=w.forwardRef(function(t,n){const r=et({props:t,name:"MuiToolbar"}),{className:o,component:i="div",disableGutters:a=!1,variant:l="regular",...s}=r,u={...r,component:i,disableGutters:a,variant:l},f=dw(u);return R.jsx(fw,{as:i,className:Y(f.root,o),ref:n,ownerState:u,...s})});class sl{constructor(){xo(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 sl}static use(){const t=r0(sl.create).current,[n,r]=w.useState(!1);return t.shouldMount=n,t.setShouldMount=r,w.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=hw(),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 mw(){return sl.use()}function hw(){let e,t;const n=new Promise((r,o)=>{e=r,t=o});return n.resolve=e,n.reject=t,n}function Re(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 lc(e,t){return lc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},lc(e,t)}function g0(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,lc(e,t)}const Ip={disabled:!1},ul=Qt.createContext(null);var gw=function(t){return t.scrollTop},Fo="unmounted",tr="exited",nr="entering",Tr="entered",sc="exiting",cn=function(e){g0(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var a=o,l=a&&!a.isMounting?r.enter:r.appear,s;return i.appearStatus=null,r.in?l?(s=tr,i.appearStatus=nr):s=Tr:r.unmountOnExit||r.mountOnEnter?s=Fo:s=tr,i.state={status:s},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===Fo?{status:tr}: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 a=this.state.status;this.props.in?a!==nr&&a!==Tr&&(i=nr):(a===nr||a===Tr)&&(i=sc)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,a,l;return i=a=l=o,o!=null&&typeof o!="number"&&(i=o.exit,a=o.enter,l=o.appear!==void 0?o.appear:a),{exit:i,enter:a,appear:l}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===nr){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:sa.findDOMNode(this);a&&gw(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===tr&&this.setState({status:Fo})},n.performEnter=function(o){var i=this,a=this.props.enter,l=this.context?this.context.isMounting:o,s=this.props.nodeRef?[l]:[sa.findDOMNode(this),l],u=s[0],f=s[1],d=this.getTimeouts(),p=l?d.appear:d.enter;if(!o&&!a||Ip.disabled){this.safeSetState({status:Tr},function(){i.props.onEntered(u)});return}this.props.onEnter(u,f),this.safeSetState({status:nr},function(){i.props.onEntering(u,f),i.onTransitionEnd(p,function(){i.safeSetState({status:Tr},function(){i.props.onEntered(u,f)})})})},n.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),l=this.props.nodeRef?void 0:sa.findDOMNode(this);if(!i||Ip.disabled){this.safeSetState({status:tr},function(){o.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:sc},function(){o.props.onExiting(l),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:tr},function(){o.props.onExited(l)})})})},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,a=!0;return this.nextCallback=function(l){a&&(a=!1,i.nextCallback=null,o(l))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(o,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:sa.findDOMNode(this),l=o==null&&!this.props.addEndListener;if(!a||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var s=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],u=s[0],f=s[1];this.props.addEndListener(u,f)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===Fo)return null;var i=this.props,a=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 l=Re(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Qt.createElement(ul.Provider,{value:null},typeof a=="function"?a(o,l):Qt.cloneElement(Qt.Children.only(a),l))},t}(Qt.Component);cn.contextType=ul;cn.propTypes={};function Er(){}cn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Er,onEntering:Er,onEntered:Er,onExit:Er,onExiting:Er,onExited:Er};cn.UNMOUNTED=Fo;cn.EXITED=tr;cn.ENTERING=nr;cn.ENTERED=Tr;cn.EXITING=sc;function vw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ad(e,t){var n=function(i){return t&&w.isValidElement(i)?t(i):i},r=Object.create(null);return e&&w.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function yw(e,t){e=e||{},t=t||{};function n(f){return f in t?t[f]:e[f]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var a,l={};for(var s in t){if(r[s])for(a=0;a{if(!l&&s!=null){const x=setTimeout(s,u);return()=>{clearTimeout(x)}}},[s,l,u]),R.jsx("span",{className:p,style:y,children:R.jsx("span",{className:g})})}const Tt=Me("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),uc=550,$w=80,kw=$d` 0% { transform: scale(0); opacity: 0.1; @@ -68,7 +68,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann transform: scale(1); opacity: 0.3; } -`,kw=bd` +`,Ew=$d` 0% { opacity: 1; } @@ -76,7 +76,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann 100% { opacity: 0; } -`,Ew=bd` +`,Pw=$d` 0% { transform: scale(1); } @@ -88,15 +88,15 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann 100% { transform: scale(1); } -`,Pw=ce("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Rw=ce(ww,{name:"MuiTouchRipple",slot:"Ripple"})` +`,Rw=ce("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Tw=ce(bw,{name:"MuiTouchRipple",slot:"Ripple"})` opacity: 0; position: absolute; &.${Tt.rippleVisible} { opacity: 0.3; transform: scale(1); - animation-name: ${$w}; - animation-duration: ${sc}ms; + animation-name: ${kw}; + animation-duration: ${uc}ms; animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; } @@ -115,8 +115,8 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann & .${Tt.childLeaving} { opacity: 0; - animation-name: ${kw}; - animation-duration: ${sc}ms; + animation-name: ${Ew}; + animation-duration: ${uc}ms; animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; } @@ -125,13 +125,13 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann /* @noflip */ left: 0px; top: 0; - animation-name: ${Ew}; + animation-name: ${Pw}; animation-duration: 2500ms; animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; animation-iteration-count: infinite; animation-delay: 200ms; } -`,Tw=w.forwardRef(function(t,n){const r=et({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a,...l}=r,[s,u]=w.useState([]),f=w.useRef(0),d=w.useRef(null);w.useEffect(()=>{d.current&&(d.current(),d.current=null)},[s]);const p=w.useRef(!1),y=r0(),g=w.useRef(null),x=w.useRef(null),b=w.useCallback(S=>{const{pulsate:C,rippleX:k,rippleY:$,rippleSize:E,cb:v}=S;u(P=>[...P,R.jsx(Rw,{classes:{ripple:Y(i.ripple,Tt.ripple),rippleVisible:Y(i.rippleVisible,Tt.rippleVisible),ripplePulsate:Y(i.ripplePulsate,Tt.ripplePulsate),child:Y(i.child,Tt.child),childLeaving:Y(i.childLeaving,Tt.childLeaving),childPulsate:Y(i.childPulsate,Tt.childPulsate)},timeout:sc,pulsate:C,rippleX:k,rippleY:$,rippleSize:E},f.current)]),f.current+=1,d.current=v},[i]),h=w.useCallback((S={},C={},k=()=>{})=>{const{pulsate:$=!1,center:E=o||C.pulsate,fakeElement:v=!1}=C;if((S==null?void 0:S.type)==="mousedown"&&p.current){p.current=!1;return}(S==null?void 0:S.type)==="touchstart"&&(p.current=!0);const P=v?null:x.current,B=P?P.getBoundingClientRect():{width:0,height:0,left:0,top:0};let M,N,z;if(E||S===void 0||S.clientX===0&&S.clientY===0||!S.clientX&&!S.touches)M=Math.round(B.width/2),N=Math.round(B.height/2);else{const{clientX:j,clientY:I}=S.touches&&S.touches.length>0?S.touches[0]:S;M=Math.round(j-B.left),N=Math.round(I-B.top)}if(E)z=Math.sqrt((2*B.width**2+B.height**2)/3),z%2===0&&(z+=1);else{const j=Math.max(Math.abs((P?P.clientWidth:0)-M),M)*2+2,I=Math.max(Math.abs((P?P.clientHeight:0)-N),N)*2+2;z=Math.sqrt(j**2+I**2)}S!=null&&S.touches?g.current===null&&(g.current=()=>{b({pulsate:$,rippleX:M,rippleY:N,rippleSize:z,cb:k})},y.start(bw,()=>{g.current&&(g.current(),g.current=null)})):b({pulsate:$,rippleX:M,rippleY:N,rippleSize:z,cb:k})},[o,b,y]),m=w.useCallback(()=>{h({},{pulsate:!0})},[h]),c=w.useCallback((S,C)=>{if(y.clear(),(S==null?void 0:S.type)==="touchend"&&g.current){g.current(),g.current=null,y.start(0,()=>{c(S,C)});return}g.current=null,u(k=>k.length>0?k.slice(1):k),d.current=C},[y]);return w.useImperativeHandle(n,()=>({pulsate:m,start:h,stop:c}),[m,h,c]),R.jsx(Pw,{className:Y(Tt.root,i.root,a),ref:x,...l,children:R.jsx(Ad,{component:null,exit:!0,children:s})})});function Ow(e){return Ge("MuiButtonBase",e)}const Bw=Me("MuiButtonBase",["root","disabled","focusVisible"]),_w=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a=Ze({root:["root",t&&"disabled",n&&"focusVisible"]},Ow,o);return n&&r&&(a.root+=` ${r}`),a},Aw=ce("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"},[`&.${Bw.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Md=w.forwardRef(function(t,n){const r=et({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:a,className:l,component:s="button",disabled:u=!1,disableRipple:f=!1,disableTouchRipple:d=!1,focusRipple:p=!1,focusVisibleClassName:y,LinkComponent:g="a",onBlur:x,onClick:b,onContextMenu:h,onDragLeave:m,onFocus:c,onFocusVisible:S,onKeyDown:C,onKeyUp:k,onMouseDown:$,onMouseLeave:E,onMouseUp:v,onTouchEnd:P,onTouchMove:B,onTouchStart:M,tabIndex:N=0,TouchRippleProps:z,touchRippleRef:j,type:I,...L}=r,O=w.useRef(null),D=pw(),V=ht(D.ref,j),[Q,K]=w.useState(!1);u&&Q&&K(!1),w.useImperativeHandle(o,()=>({focusVisible:()=>{K(!0),O.current.focus()}}),[]);const ge=D.shouldMount&&!f&&!u;w.useEffect(()=>{Q&&p&&!f&&D.pulsate()},[f,p,Q,D]);function Z(X,Xd,tv=d){return Hr(qd=>(Xd&&Xd(qd),tv||D[X](qd),!0))}const Ie=Z("start",$),ke=Z("stop",h),ne=Z("stop",m),W=Z("stop",v),q=Z("stop",X=>{Q&&X.preventDefault(),E&&E(X)}),U=Z("start",M),F=Z("stop",P),G=Z("stop",B),Ee=Z("stop",X=>{al(X.target)||K(!1),x&&x(X)},!1),gt=Hr(X=>{O.current||(O.current=X.currentTarget),al(X.target)&&(K(!0),S&&S(X)),c&&c(X)}),Le=()=>{const X=O.current;return s&&s!=="button"&&!(X.tagName==="A"&&X.href)},Wt=Hr(X=>{p&&!X.repeat&&Q&&X.key===" "&&D.stop(X,()=>{D.start(X)}),X.target===X.currentTarget&&Le()&&X.key===" "&&X.preventDefault(),C&&C(X),X.target===X.currentTarget&&Le()&&X.key==="Enter"&&!u&&(X.preventDefault(),b&&b(X))}),at=Hr(X=>{p&&X.key===" "&&Q&&!X.defaultPrevented&&D.stop(X,()=>{D.pulsate(X)}),k&&k(X),b&&X.target===X.currentTarget&&Le()&&X.key===" "&&!X.defaultPrevented&&b(X)});let tt=s;tt==="button"&&(L.href||L.to)&&(tt=g);const Rt={};tt==="button"?(Rt.type=I===void 0?"button":I,Rt.disabled=u):(!L.href&&!L.to&&(Rt.role="button"),u&&(Rt["aria-disabled"]=u));const Wi=ht(n,O),lt={...r,centerRipple:i,component:s,disabled:u,disableRipple:f,disableTouchRipple:d,focusRipple:p,tabIndex:N,focusVisible:Q},ev=_w(lt);return R.jsxs(Aw,{as:tt,className:Y(ev.root,l),ownerState:lt,onBlur:Ee,onClick:b,onContextMenu:ke,onFocus:gt,onKeyDown:Wt,onKeyUp:at,onMouseDown:Ie,onMouseLeave:q,onMouseUp:W,onDragLeave:ne,onTouchEnd:F,onTouchMove:G,onTouchStart:U,ref:Wi,tabIndex:u?-1:N,type:I,...Rt,...L,children:[a,ge?R.jsx(Tw,{ref:V,center:i,...z}):null]})});function Mw(e){return Ge("MuiIconButton",e)}const Iw=Me("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),zw=e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,a={root:["root",n&&"disabled",r!=="default"&&`color${ee(r)}`,o&&`edge${ee(o)}`,`size${ee(i)}`]};return Ze(a,Mw,t)},Nw=ce(Md,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${ee(n.color)}`],n.edge&&t[`edge${ee(n.edge)}`],t[`size${ee(n.size)}`]]}})(jt(({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})`:ut(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}}]})),jt(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(bi()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(bi()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ut((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)}}],[`&.${Iw.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}}))),Dw=w.forwardRef(function(t,n){const r=et({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:a,color:l="default",disabled:s=!1,disableFocusRipple:u=!1,disableRipple:f=!1,size:d="medium",...p}=r,y={...r,edge:o,color:l,disabled:s,disableFocusRipple:u,disableRipple:f,size:d},g=zw(y);return R.jsx(Nw,{className:Y(g.root,a),centerRipple:!0,focusRipple:!u,disabled:s,disableRipple:f,ref:n,...p,ownerState:y,children:i})});function jw(e){return Ge("MuiTypography",e)}Me("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Fw={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Lw=XS(),Hw=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e,l={root:["root",i,e.align!=="inherit"&&`align${ee(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return Ze(l,jw,a)},Ww=ce("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${ee(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(jt(({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(bi()).map(([n])=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),...Object.entries(((t=e.palette)==null?void 0:t.text)||{}).filter(([,n])=>typeof n=="string").map(([n])=>({props:{color:`text${ee(n)}`},style:{color:(e.vars||e).palette.text[n]}})),{props:({ownerState:n})=>n.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:n})=>n.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:n})=>n.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:n})=>n.paragraph,style:{marginBottom:16}}]}})),Ip={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},In=w.forwardRef(function(t,n){const{color:r,...o}=et({props:t,name:"MuiTypography"}),i=!Fw[r],a=Lw({...o,...i&&{color:r}}),{align:l="inherit",className:s,component:u,gutterBottom:f=!1,noWrap:d=!1,paragraph:p=!1,variant:y="body1",variantMapping:g=Ip,...x}=a,b={...a,align:l,color:r,className:s,component:u,gutterBottom:f,noWrap:d,paragraph:p,variant:y,variantMapping:g},h=u||(p?"p":g[y]||Ip[y])||"span",m=Hw(b);return R.jsx(Ww,{as:h,ref:n,className:Y(m.root,s),...x,ownerState:b,style:{...l!=="inherit"&&{"--Typography-textAlign":l},...x.style}})});var le={};/** +`,Ow=w.forwardRef(function(t,n){const r=et({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a,...l}=r,[s,u]=w.useState([]),f=w.useRef(0),d=w.useRef(null);w.useEffect(()=>{d.current&&(d.current(),d.current=null)},[s]);const p=w.useRef(!1),y=o0(),g=w.useRef(null),x=w.useRef(null),b=w.useCallback(S=>{const{pulsate:C,rippleX:k,rippleY:$,rippleSize:E,cb:v}=S;u(P=>[...P,R.jsx(Tw,{classes:{ripple:Y(i.ripple,Tt.ripple),rippleVisible:Y(i.rippleVisible,Tt.rippleVisible),ripplePulsate:Y(i.ripplePulsate,Tt.ripplePulsate),child:Y(i.child,Tt.child),childLeaving:Y(i.childLeaving,Tt.childLeaving),childPulsate:Y(i.childPulsate,Tt.childPulsate)},timeout:uc,pulsate:C,rippleX:k,rippleY:$,rippleSize:E},f.current)]),f.current+=1,d.current=v},[i]),h=w.useCallback((S={},C={},k=()=>{})=>{const{pulsate:$=!1,center:E=o||C.pulsate,fakeElement:v=!1}=C;if((S==null?void 0:S.type)==="mousedown"&&p.current){p.current=!1;return}(S==null?void 0:S.type)==="touchstart"&&(p.current=!0);const P=v?null:x.current,B=P?P.getBoundingClientRect():{width:0,height:0,left:0,top:0};let M,N,z;if(E||S===void 0||S.clientX===0&&S.clientY===0||!S.clientX&&!S.touches)M=Math.round(B.width/2),N=Math.round(B.height/2);else{const{clientX:j,clientY:I}=S.touches&&S.touches.length>0?S.touches[0]:S;M=Math.round(j-B.left),N=Math.round(I-B.top)}if(E)z=Math.sqrt((2*B.width**2+B.height**2)/3),z%2===0&&(z+=1);else{const j=Math.max(Math.abs((P?P.clientWidth:0)-M),M)*2+2,I=Math.max(Math.abs((P?P.clientHeight:0)-N),N)*2+2;z=Math.sqrt(j**2+I**2)}S!=null&&S.touches?g.current===null&&(g.current=()=>{b({pulsate:$,rippleX:M,rippleY:N,rippleSize:z,cb:k})},y.start($w,()=>{g.current&&(g.current(),g.current=null)})):b({pulsate:$,rippleX:M,rippleY:N,rippleSize:z,cb:k})},[o,b,y]),m=w.useCallback(()=>{h({},{pulsate:!0})},[h]),c=w.useCallback((S,C)=>{if(y.clear(),(S==null?void 0:S.type)==="touchend"&&g.current){g.current(),g.current=null,y.start(0,()=>{c(S,C)});return}g.current=null,u(k=>k.length>0?k.slice(1):k),d.current=C},[y]);return w.useImperativeHandle(n,()=>({pulsate:m,start:h,stop:c}),[m,h,c]),R.jsx(Rw,{className:Y(Tt.root,i.root,a),ref:x,...l,children:R.jsx(Md,{component:null,exit:!0,children:s})})});function Bw(e){return Ge("MuiButtonBase",e)}const _w=Me("MuiButtonBase",["root","disabled","focusVisible"]),Aw=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a=Ze({root:["root",t&&"disabled",n&&"focusVisible"]},Bw,o);return n&&r&&(a.root+=` ${r}`),a},Mw=ce("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"},[`&.${_w.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Id=w.forwardRef(function(t,n){const r=et({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:a,className:l,component:s="button",disabled:u=!1,disableRipple:f=!1,disableTouchRipple:d=!1,focusRipple:p=!1,focusVisibleClassName:y,LinkComponent:g="a",onBlur:x,onClick:b,onContextMenu:h,onDragLeave:m,onFocus:c,onFocusVisible:S,onKeyDown:C,onKeyUp:k,onMouseDown:$,onMouseLeave:E,onMouseUp:v,onTouchEnd:P,onTouchMove:B,onTouchStart:M,tabIndex:N=0,TouchRippleProps:z,touchRippleRef:j,type:I,...L}=r,O=w.useRef(null),D=mw(),V=ht(D.ref,j),[Q,K]=w.useState(!1);u&&Q&&K(!1),w.useImperativeHandle(o,()=>({focusVisible:()=>{K(!0),O.current.focus()}}),[]);const ge=D.shouldMount&&!f&&!u;w.useEffect(()=>{Q&&p&&!f&&D.pulsate()},[f,p,Q,D]);function Z(X,qd,nv=d){return Hr(Jd=>(qd&&qd(Jd),nv||D[X](Jd),!0))}const Ie=Z("start",$),ke=Z("stop",h),ne=Z("stop",m),W=Z("stop",v),q=Z("stop",X=>{Q&&X.preventDefault(),E&&E(X)}),U=Z("start",M),F=Z("stop",P),G=Z("stop",B),Ee=Z("stop",X=>{ll(X.target)||K(!1),x&&x(X)},!1),gt=Hr(X=>{O.current||(O.current=X.currentTarget),ll(X.target)&&(K(!0),S&&S(X)),c&&c(X)}),Le=()=>{const X=O.current;return s&&s!=="button"&&!(X.tagName==="A"&&X.href)},Wt=Hr(X=>{p&&!X.repeat&&Q&&X.key===" "&&D.stop(X,()=>{D.start(X)}),X.target===X.currentTarget&&Le()&&X.key===" "&&X.preventDefault(),C&&C(X),X.target===X.currentTarget&&Le()&&X.key==="Enter"&&!u&&(X.preventDefault(),b&&b(X))}),at=Hr(X=>{p&&X.key===" "&&Q&&!X.defaultPrevented&&D.stop(X,()=>{D.pulsate(X)}),k&&k(X),b&&X.target===X.currentTarget&&Le()&&X.key===" "&&!X.defaultPrevented&&b(X)});let tt=s;tt==="button"&&(L.href||L.to)&&(tt=g);const Rt={};tt==="button"?(Rt.type=I===void 0?"button":I,Rt.disabled=u):(!L.href&&!L.to&&(Rt.role="button"),u&&(Rt["aria-disabled"]=u));const Vi=ht(n,O),lt={...r,centerRipple:i,component:s,disabled:u,disableRipple:f,disableTouchRipple:d,focusRipple:p,tabIndex:N,focusVisible:Q},tv=Aw(lt);return R.jsxs(Mw,{as:tt,className:Y(tv.root,l),ownerState:lt,onBlur:Ee,onClick:b,onContextMenu:ke,onFocus:gt,onKeyDown:Wt,onKeyUp:at,onMouseDown:Ie,onMouseLeave:q,onMouseUp:W,onDragLeave:ne,onTouchEnd:F,onTouchMove:G,onTouchStart:U,ref:Vi,tabIndex:u?-1:N,type:I,...Rt,...L,children:[a,ge?R.jsx(Ow,{ref:V,center:i,...z}):null]})});function Iw(e){return Ge("MuiIconButton",e)}const zw=Me("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Nw=e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,a={root:["root",n&&"disabled",r!=="default"&&`color${ee(r)}`,o&&`edge${ee(o)}`,`size${ee(i)}`]};return Ze(a,Iw,t)},Dw=ce(Id,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${ee(n.color)}`],n.edge&&t[`edge${ee(n.edge)}`],t[`size${ee(n.size)}`]]}})(jt(({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})`:ut(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}}]})),jt(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(bi()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(bi()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ut((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)}}],[`&.${zw.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}}))),jw=w.forwardRef(function(t,n){const r=et({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:a,color:l="default",disabled:s=!1,disableFocusRipple:u=!1,disableRipple:f=!1,size:d="medium",...p}=r,y={...r,edge:o,color:l,disabled:s,disableFocusRipple:u,disableRipple:f,size:d},g=Nw(y);return R.jsx(Dw,{className:Y(g.root,a),centerRipple:!0,focusRipple:!u,disabled:s,disableRipple:f,ref:n,...p,ownerState:y,children:i})});function Fw(e){return Ge("MuiTypography",e)}Me("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Lw={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Hw=qS(),Ww=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e,l={root:["root",i,e.align!=="inherit"&&`align${ee(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return Ze(l,Fw,a)},Vw=ce("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${ee(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(jt(({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(bi()).map(([n])=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),...Object.entries(((t=e.palette)==null?void 0:t.text)||{}).filter(([,n])=>typeof n=="string").map(([n])=>({props:{color:`text${ee(n)}`},style:{color:(e.vars||e).palette.text[n]}})),{props:({ownerState:n})=>n.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:n})=>n.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:n})=>n.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:n})=>n.paragraph,style:{marginBottom:16}}]}})),zp={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},In=w.forwardRef(function(t,n){const{color:r,...o}=et({props:t,name:"MuiTypography"}),i=!Lw[r],a=Hw({...o,...i&&{color:r}}),{align:l="inherit",className:s,component:u,gutterBottom:f=!1,noWrap:d=!1,paragraph:p=!1,variant:y="body1",variantMapping:g=zp,...x}=a,b={...a,align:l,color:r,className:s,component:u,gutterBottom:f,noWrap:d,paragraph:p,variant:y,variantMapping:g},h=u||(p?"p":g[y]||zp[y])||"span",m=Ww(b);return R.jsx(Vw,{as:h,ref:n,className:Y(m.root,s),...x,ownerState:b,style:{...l!=="inherit"&&{"--Typography-textAlign":l},...x.style}})});var le={};/** * @license React * react-is.production.min.js * @@ -139,7 +139,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Id=Symbol.for("react.element"),zd=Symbol.for("react.portal"),ns=Symbol.for("react.fragment"),rs=Symbol.for("react.strict_mode"),os=Symbol.for("react.profiler"),is=Symbol.for("react.provider"),as=Symbol.for("react.context"),Vw=Symbol.for("react.server_context"),ls=Symbol.for("react.forward_ref"),ss=Symbol.for("react.suspense"),us=Symbol.for("react.suspense_list"),cs=Symbol.for("react.memo"),ds=Symbol.for("react.lazy"),Uw=Symbol.for("react.offscreen"),g0;g0=Symbol.for("react.module.reference");function Lt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Id:switch(e=e.type,e){case ns:case os:case rs:case ss:case us:return e;default:switch(e=e&&e.$$typeof,e){case Vw:case as:case ls:case ds:case cs:case is:return e;default:return t}}case zd:return t}}}le.ContextConsumer=as;le.ContextProvider=is;le.Element=Id;le.ForwardRef=ls;le.Fragment=ns;le.Lazy=ds;le.Memo=cs;le.Portal=zd;le.Profiler=os;le.StrictMode=rs;le.Suspense=ss;le.SuspenseList=us;le.isAsyncMode=function(){return!1};le.isConcurrentMode=function(){return!1};le.isContextConsumer=function(e){return Lt(e)===as};le.isContextProvider=function(e){return Lt(e)===is};le.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Id};le.isForwardRef=function(e){return Lt(e)===ls};le.isFragment=function(e){return Lt(e)===ns};le.isLazy=function(e){return Lt(e)===ds};le.isMemo=function(e){return Lt(e)===cs};le.isPortal=function(e){return Lt(e)===zd};le.isProfiler=function(e){return Lt(e)===os};le.isStrictMode=function(e){return Lt(e)===rs};le.isSuspense=function(e){return Lt(e)===ss};le.isSuspenseList=function(e){return Lt(e)===us};le.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ns||e===os||e===rs||e===ss||e===us||e===Uw||typeof e=="object"&&e!==null&&(e.$$typeof===ds||e.$$typeof===cs||e.$$typeof===is||e.$$typeof===as||e.$$typeof===ls||e.$$typeof===g0||e.getModuleId!==void 0)};le.typeOf=Lt;const uc=w.createContext({});function Gw(e){return Ge("MuiList",e)}Me("MuiList",["root","padding","dense","subheader"]);const Kw=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return Ze({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},Gw,t)},Qw=ce("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}}]}),Yw=w.forwardRef(function(t,n){const r=et({props:t,name:"MuiList"}),{children:o,className:i,component:a="ul",dense:l=!1,disablePadding:s=!1,subheader:u,...f}=r,d=w.useMemo(()=>({dense:l}),[l]),p={...r,component:a,dense:l,disablePadding:s},y=Kw(p);return R.jsx(uc.Provider,{value:d,children:R.jsxs(Qw,{as:a,className:Y(y.root,i),ref:n,ownerState:p,...f,children:[u,o]})})});function Zs(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function zp(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function v0(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 Oo(e,t,n,r,o,i){let a=!1,l=o(e,t,t?n:!1);for(;l;){if(l===e.firstChild){if(a)return!1;a=!0}const s=r?!1:l.disabled||l.getAttribute("aria-disabled")==="true";if(!l.hasAttribute("tabindex")||!v0(l,i)||s)l=o(e,l,n);else return l.focus(),!0}return!1}const Xw=w.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:a,className:l,disabledItemsFocusable:s=!1,disableListWrap:u=!1,onKeyDown:f,variant:d="selectedMenu",...p}=t,y=w.useRef(null),g=w.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Ci(()=>{o&&y.current.focus()},[o]),w.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(c,{direction:S})=>{const C=!y.current.style.width;if(c.clientHeight{const S=y.current,C=c.key;if(c.ctrlKey||c.metaKey||c.altKey){f&&f(c);return}const $=zt(S).activeElement;if(C==="ArrowDown")c.preventDefault(),Oo(S,$,u,s,Zs);else if(C==="ArrowUp")c.preventDefault(),Oo(S,$,u,s,zp);else if(C==="Home")c.preventDefault(),Oo(S,null,u,s,Zs);else if(C==="End")c.preventDefault(),Oo(S,null,u,s,zp);else if(C.length===1){const E=g.current,v=C.toLowerCase(),P=performance.now();E.keys.length>0&&(P-E.lastTime>500?(E.keys=[],E.repeating=!0,E.previousKeyMatched=!0):E.repeating&&v!==E.keys[0]&&(E.repeating=!1)),E.lastTime=P,E.keys.push(v);const B=$&&!E.repeating&&v0($,E);E.previousKeyMatched&&(B||Oo(S,$,!1,s,Zs,E))?c.preventDefault():E.previousKeyMatched=!1}f&&f(c)},b=ht(y,n);let h=-1;w.Children.forEach(a,(c,S)=>{if(!w.isValidElement(c)){h===S&&(h+=1,h>=a.length&&(h=-1));return}c.props.disabled||(d==="selectedMenu"&&c.props.selected||h===-1)&&(h=S),h===S&&(c.props.disabled||c.props.muiSkipListHighlight||c.type.muiSkipListHighlight)&&(h+=1,h>=a.length&&(h=-1))});const m=w.Children.map(a,(c,S)=>{if(S===h){const C={};return i&&(C.autoFocus=!0),c.props.tabIndex===void 0&&d==="selectedMenu"&&(C.tabIndex=0),w.cloneElement(c,C)}return c});return R.jsx(Yw,{role:"menu",ref:b,className:l,onKeyDown:x,tabIndex:o?0:-1,...p,children:m})});function qw(e){return typeof e=="string"}const y0=e=>e.scrollTop;function ul(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 cc(e){return`scale(${e}, ${e**2})`}const Jw={entering:{opacity:1,transform:cc(1)},entered:{opacity:1,transform:"none"}},eu=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),dc=w.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:a,in:l,onEnter:s,onEntered:u,onEntering:f,onExit:d,onExited:p,onExiting:y,style:g,timeout:x="auto",TransitionComponent:b=cn,...h}=t,m=r0(),c=w.useRef(),S=Bd(),C=w.useRef(null),k=ht(C,Zl(i),n),$=j=>I=>{if(j){const L=C.current;I===void 0?j(L):j(L,I)}},E=$(f),v=$((j,I)=>{y0(j);const{duration:L,delay:O,easing:D}=ul({style:g,timeout:x,easing:a},{mode:"enter"});let V;x==="auto"?(V=S.transitions.getAutoHeightDuration(j.clientHeight),c.current=V):V=L,j.style.transition=[S.transitions.create("opacity",{duration:V,delay:O}),S.transitions.create("transform",{duration:eu?V:V*.666,delay:O,easing:D})].join(","),s&&s(j,I)}),P=$(u),B=$(y),M=$(j=>{const{duration:I,delay:L,easing:O}=ul({style:g,timeout:x,easing:a},{mode:"exit"});let D;x==="auto"?(D=S.transitions.getAutoHeightDuration(j.clientHeight),c.current=D):D=I,j.style.transition=[S.transitions.create("opacity",{duration:D,delay:L}),S.transitions.create("transform",{duration:eu?D:D*.666,delay:eu?L:L||D*.333,easing:O})].join(","),j.style.opacity=0,j.style.transform=cc(.75),d&&d(j)}),N=$(p),z=j=>{x==="auto"&&m.start(c.current||0,j),r&&r(C.current,j)};return R.jsx(b,{appear:o,in:l,nodeRef:C,onEnter:v,onEntered:P,onEntering:E,onExit:M,onExited:N,onExiting:B,addEndListener:z,timeout:x==="auto"?null:x,...h,children:(j,I)=>w.cloneElement(i,{style:{opacity:0,transform:cc(.75),visibility:j==="exited"&&!l?"hidden":void 0,...Jw[j],...g,...i.props.style},ref:k,...I})})});dc&&(dc.muiSupportAuto=!0);function Zw(e){const t=zt(e);return t.body===e?Si(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function qo(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Np(e){return parseInt(Si(e).getComputedStyle(e).paddingRight,10)||0}function eb(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 Dp(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,a=>{const l=i.indexOf(a)===-1,s=!eb(a);l&&s&&qo(a,o)})}function tu(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function tb(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(Zw(r)){const a=o0(zt(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Np(r)+a}px`;const l=zt(r).querySelectorAll(".mui-fixed");[].forEach.call(l,s=>{n.push({value:s.style.paddingRight,property:"padding-right",el:s}),s.style.paddingRight=`${Np(s)+a}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=zt(r).body;else{const a=r.parentElement,l=Si(r);i=(a==null?void 0:a.nodeName)==="HTML"&&l.getComputedStyle(a).overflowY==="scroll"?a:r}n.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{n.forEach(({value:i,el:a,property:l})=>{i?a.style.setProperty(l,i):a.style.removeProperty(l)})}}function nb(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class rb{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&&qo(t.modalRef,!1);const o=nb(n);Dp(n,t.mount,t.modalRef,o,!0);const i=tu(this.containers,a=>a.container===n);return i!==-1?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=tu(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[r];o.restore||(o.restore=tb(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=tu(this.containers,a=>a.modals.indexOf(t)!==-1),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(r,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&qo(t.modalRef,n),Dp(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const a=i.modals[i.modals.length-1];a.modalRef&&qo(a.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const ob=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function ib(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 ab(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 lb(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||ab(e))}function sb(e){const t=[],n=[];return Array.from(e.querySelectorAll(ob)).forEach((r,o)=>{const i=ib(r);i===-1||!lb(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 ub(){return!0}function cb(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=sb,isEnabled:a=ub,open:l}=e,s=w.useRef(!1),u=w.useRef(null),f=w.useRef(null),d=w.useRef(null),p=w.useRef(null),y=w.useRef(!1),g=w.useRef(null),x=ht(Zl(t),g),b=w.useRef(null);w.useEffect(()=>{!l||!g.current||(y.current=!n)},[n,l]),w.useEffect(()=>{if(!l||!g.current)return;const c=zt(g.current);return g.current.contains(c.activeElement)||(g.current.hasAttribute("tabIndex")||g.current.setAttribute("tabIndex","-1"),y.current&&g.current.focus()),()=>{o||(d.current&&d.current.focus&&(s.current=!0,d.current.focus()),d.current=null)}},[l]),w.useEffect(()=>{if(!l||!g.current)return;const c=zt(g.current),S=$=>{b.current=$,!(r||!a()||$.key!=="Tab")&&c.activeElement===g.current&&$.shiftKey&&(s.current=!0,f.current&&f.current.focus())},C=()=>{var v,P;const $=g.current;if($===null)return;if(!c.hasFocus()||!a()||s.current){s.current=!1;return}if($.contains(c.activeElement)||r&&c.activeElement!==u.current&&c.activeElement!==f.current)return;if(c.activeElement!==p.current)p.current=null;else if(p.current!==null)return;if(!y.current)return;let E=[];if((c.activeElement===u.current||c.activeElement===f.current)&&(E=i(g.current)),E.length>0){const B=!!((v=b.current)!=null&&v.shiftKey&&((P=b.current)==null?void 0:P.key)==="Tab"),M=E[0],N=E[E.length-1];typeof M!="string"&&typeof N!="string"&&(B?N.focus():M.focus())}else $.focus()};c.addEventListener("focusin",C),c.addEventListener("keydown",S,!0);const k=setInterval(()=>{c.activeElement&&c.activeElement.tagName==="BODY"&&C()},50);return()=>{clearInterval(k),c.removeEventListener("focusin",C),c.removeEventListener("keydown",S,!0)}},[n,r,o,a,l,i]);const h=c=>{d.current===null&&(d.current=c.relatedTarget),y.current=!0,p.current=c.target;const S=t.props.onFocus;S&&S(c)},m=c=>{d.current===null&&(d.current=c.relatedTarget),y.current=!0};return R.jsxs(w.Fragment,{children:[R.jsx("div",{tabIndex:l?0:-1,onFocus:m,ref:u,"data-testid":"sentinelStart"}),w.cloneElement(t,{ref:x,onFocus:h}),R.jsx("div",{tabIndex:l?0:-1,onFocus:m,ref:f,"data-testid":"sentinelEnd"})]})}function db(e){return typeof e=="function"?e():e}const fb=w.forwardRef(function(t,n){const{children:r,container:o,disablePortal:i=!1}=t,[a,l]=w.useState(null),s=ht(Zl(r),n);if(Ci(()=>{i||l(db(o)||document.body)},[o,i]),Ci(()=>{if(a&&!i)return rc(n,a),()=>{rc(n,null)}},[n,a,i]),i){if(w.isValidElement(r)){const u={ref:s};return w.cloneElement(r,u)}return R.jsx(w.Fragment,{children:r})}return R.jsx(w.Fragment,{children:a&&dd.createPortal(r,a)})});function ao(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,getSlotOwnerState:a,internalForwardedProps:l,...s}=t,{component:u,slots:f={[e]:void 0},slotProps:d={[e]:void 0},...p}=i,y=f[e]||r,g=s0(d[e],o),{props:{component:x,...b},internalRef:h}=l0({className:n,...s,externalForwardedProps:e==="root"?p:void 0,externalSlotProps:g}),m=ht(h,g==null?void 0:g.ref,t.ref),c=a?a(b):{},S={...o,...c},C=e==="root"?x||u:x,k=i0(y,{...e==="root"&&!u&&!f[e]&&l,...e!=="root"&&!f[e]&&l,...b,...C&&{as:C},ref:m},S);return Object.keys(c).forEach($=>{delete k[$]}),[y,k]}const pb={entering:{opacity:1},entered:{opacity:1}},mb=w.forwardRef(function(t,n){const r=Bd(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:l,easing:s,in:u,onEnter:f,onEntered:d,onEntering:p,onExit:y,onExited:g,onExiting:x,style:b,timeout:h=o,TransitionComponent:m=cn,...c}=t,S=w.useRef(null),C=ht(S,Zl(l),n),k=z=>j=>{if(z){const I=S.current;j===void 0?z(I):z(I,j)}},$=k(p),E=k((z,j)=>{y0(z);const I=ul({style:b,timeout:h,easing:s},{mode:"enter"});z.style.webkitTransition=r.transitions.create("opacity",I),z.style.transition=r.transitions.create("opacity",I),f&&f(z,j)}),v=k(d),P=k(x),B=k(z=>{const j=ul({style:b,timeout:h,easing:s},{mode:"exit"});z.style.webkitTransition=r.transitions.create("opacity",j),z.style.transition=r.transitions.create("opacity",j),y&&y(z)}),M=k(g),N=z=>{i&&i(S.current,z)};return R.jsx(m,{appear:a,in:u,nodeRef:S,onEnter:E,onEntered:v,onEntering:$,onExit:B,onExited:M,onExiting:P,addEndListener:N,timeout:h,...c,children:(z,j)=>w.cloneElement(l,{style:{opacity:0,visibility:z==="exited"&&!u?"hidden":void 0,...pb[z],...b,...l.props.style},ref:C,...j})})});function hb(e){return Ge("MuiBackdrop",e)}Me("MuiBackdrop",["root","invisible"]);const gb=e=>{const{classes:t,invisible:n}=e;return Ze({root:["root",n&&"invisible"]},hb,t)},vb=ce("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"}}]}),yb=w.forwardRef(function(t,n){const r=et({props:t,name:"MuiBackdrop"}),{children:o,className:i,component:a="div",invisible:l=!1,open:s,components:u={},componentsProps:f={},slotProps:d={},slots:p={},TransitionComponent:y,transitionDuration:g,...x}=r,b={...r,component:a,invisible:l},h=gb(b),m={transition:y,root:u.Root,...p},c={...f,...d},S={slots:m,slotProps:c},[C,k]=ao("root",{elementType:vb,externalForwardedProps:S,className:Y(h.root,i),ownerState:b}),[$,E]=ao("transition",{elementType:mb,externalForwardedProps:S,ownerState:b});return delete E.ownerState,R.jsx($,{in:s,timeout:g,...x,...E,children:R.jsx(C,{"aria-hidden":!0,...k,classes:h,ref:n,children:o})})});function xb(e){return typeof e=="function"?e():e}function Cb(e){return e?e.props.hasOwnProperty("in"):!1}const Sb=new rb;function wb(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=Sb,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:l,children:s,onClose:u,open:f,rootRef:d}=e,p=w.useRef({}),y=w.useRef(null),g=w.useRef(null),x=ht(g,d),[b,h]=w.useState(!f),m=Cb(s);let c=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(c=!1);const S=()=>zt(y.current),C=()=>(p.current.modalRef=g.current,p.current.mount=y.current,p.current),k=()=>{o.mount(C(),{disableScrollLock:r}),g.current&&(g.current.scrollTop=0)},$=Hr(()=>{const I=xb(t)||S().body;o.add(C(),I),g.current&&k()}),E=w.useCallback(()=>o.isTopModal(C()),[o]),v=Hr(I=>{y.current=I,I&&(f&&E()?k():g.current&&qo(g.current,c))}),P=w.useCallback(()=>{o.remove(C(),c)},[c,o]);w.useEffect(()=>()=>{P()},[P]),w.useEffect(()=>{f?$():(!m||!i)&&P()},[f,P,m,i,$]);const B=I=>L=>{var O;(O=I.onKeyDown)==null||O.call(I,L),!(L.key!=="Escape"||L.which===229||!E())&&(n||(L.stopPropagation(),u&&u(L,"escapeKeyDown")))},M=I=>L=>{var O;(O=I.onClick)==null||O.call(I,L),L.target===L.currentTarget&&u&&u(L,"backdropClick")};return{getRootProps:(I={})=>{const L=a0(e);delete L.onTransitionEnter,delete L.onTransitionExited;const O={...L,...I};return{role:"presentation",...O,onKeyDown:B(O),ref:x}},getBackdropProps:(I={})=>{const L=I;return{"aria-hidden":!0,...L,onClick:M(L),open:f}},getTransitionProps:()=>{const I=()=>{h(!1),a&&a()},L=()=>{h(!0),l&&l(),i&&P()};return{onEnter:xp(I,s==null?void 0:s.props.onEnter),onExited:xp(L,s==null?void 0:s.props.onExited)}},rootRef:x,portalRef:v,isTopModal:E,exited:b,hasTransition:m}}function bb(e){return Ge("MuiModal",e)}Me("MuiModal",["root","hidden","backdrop"]);function $b(e){return Ge("MuiSvgIcon",e)}Me("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const kb=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${ee(t)}`,`fontSize${ee(n)}`]};return Ze(o,$b,r)},Eb=ce("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${ee(n.color)}`],t[`fontSize${ee(n.fontSize)}`]]}})(jt(({theme:e})=>{var t,n,r,o,i,a,l,s,u,f,d,p,y,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(o=(t=e.transitions)==null?void 0:t.create)==null?void 0:o.call(t,"fill",{duration:(r=(n=(e.vars??e).transitions)==null?void 0:n.duration)==null?void 0:r.shorter}),variants:[{props:x=>!x.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((a=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((s=(l=e.typography)==null?void 0:l.pxToRem)==null?void 0:s.call(l,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((f=(u=e.typography)==null?void 0:u.pxToRem)==null?void 0:f.call(u,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,x])=>x&&x.main).map(([x])=>{var b,h;return{props:{color:x},style:{color:(h=(b=(e.vars??e).palette)==null?void 0:b[x])==null?void 0:h.main}}}),{props:{color:"action"},style:{color:(p=(d=(e.vars??e).palette)==null?void 0:d.action)==null?void 0:p.active}},{props:{color:"disabled"},style:{color:(g=(y=(e.vars??e).palette)==null?void 0:y.action)==null?void 0:g.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),cl=w.forwardRef(function(t,n){const r=et({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:l="svg",fontSize:s="medium",htmlColor:u,inheritViewBox:f=!1,titleAccess:d,viewBox:p="0 0 24 24",...y}=r,g=w.isValidElement(o)&&o.type==="svg",x={...r,color:a,component:l,fontSize:s,instanceFontSize:t.fontSize,inheritViewBox:f,viewBox:p,hasSvgAsChild:g},b={};f||(b.viewBox=p);const h=kb(x);return R.jsxs(Eb,{as:l,className:Y(h.root,i),focusable:"false",color:u,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n,...b,...y,...g&&o.props,ownerState:x,children:[g?o.props.children:o,d?R.jsx("title",{children:d}):null]})});cl&&(cl.muiName="SvgIcon");function mo(e,t){function n(r,o){return R.jsx(cl,{"data-testid":`${t}Icon`,ref:o,...r,children:e})}return n.muiName=cl.muiName,w.memo(w.forwardRef(n))}const Pb=e=>{const{open:t,exited:n,classes:r}=e;return Ze({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},bb,r)},Rb=ce("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(jt(({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"}}]}))),Tb=ce(yb,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),x0=w.forwardRef(function(t,n){const r=et({name:"MuiModal",props:t}),{BackdropComponent:o=Tb,BackdropProps:i,classes:a,className:l,closeAfterTransition:s=!1,children:u,container:f,component:d,components:p={},componentsProps:y={},disableAutoFocus:g=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:b=!1,disablePortal:h=!1,disableRestoreFocus:m=!1,disableScrollLock:c=!1,hideBackdrop:S=!1,keepMounted:C=!1,onBackdropClick:k,onClose:$,onTransitionEnter:E,onTransitionExited:v,open:P,slotProps:B={},slots:M={},theme:N,...z}=r,j={...r,closeAfterTransition:s,disableAutoFocus:g,disableEnforceFocus:x,disableEscapeKeyDown:b,disablePortal:h,disableRestoreFocus:m,disableScrollLock:c,hideBackdrop:S,keepMounted:C},{getRootProps:I,getBackdropProps:L,getTransitionProps:O,portalRef:D,isTopModal:V,exited:Q,hasTransition:K}=wb({...j,rootRef:n}),ge={...j,exited:Q},Z=Pb(ge),Ie={};if(u.props.tabIndex===void 0&&(Ie.tabIndex="-1"),K){const{onEnter:G,onExited:Ee}=O();Ie.onEnter=G,Ie.onExited=Ee}const ke={slots:{root:p.Root,backdrop:p.Backdrop,...M},slotProps:{...y,...B}},[ne,W]=ao("root",{elementType:Rb,externalForwardedProps:ke,getSlotProps:I,additionalProps:{ref:n,as:d},ownerState:ge,className:Y(l,Z==null?void 0:Z.root,!ge.open&&ge.exited&&(Z==null?void 0:Z.hidden))}),[q,U]=ao("backdrop",{elementType:o,externalForwardedProps:ke,additionalProps:i,getSlotProps:G=>L({...G,onClick:Ee=>{k&&k(Ee),G!=null&&G.onClick&&G.onClick(Ee)}}),className:Y(i==null?void 0:i.className,Z==null?void 0:Z.backdrop),ownerState:ge}),F=ht(i==null?void 0:i.ref,U.ref);return!C&&!P&&(!K||Q)?null:R.jsx(fb,{ref:D,container:f,disablePortal:h,children:R.jsxs(ne,{...W,...z,children:[!S&&o?R.jsx(q,{...U,ref:F}):null,R.jsx(cb,{disableEnforceFocus:x,disableAutoFocus:g,disableRestoreFocus:m,isEnabled:V,open:P,children:w.cloneElement(u,Ie)})]})})});function Ob(e){return Ge("MuiPopover",e)}Me("MuiPopover",["root","paper"]);function jp(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function Fp(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function Lp(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function nu(e){return typeof e=="function"?e():e}const Bb=e=>{const{classes:t}=e;return Ze({root:["root"],paper:["paper"]},Ob,t)},_b=ce(x0,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),C0=ce(m0,{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}),Ab=w.forwardRef(function(t,n){const r=et({props:t,name:"MuiPopover"}),{action:o,anchorEl:i,anchorOrigin:a={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:s="anchorEl",children:u,className:f,container:d,elevation:p=8,marginThreshold:y=16,open:g,PaperProps:x={},slots:b={},slotProps:h={},transformOrigin:m={vertical:"top",horizontal:"left"},TransitionComponent:c=dc,transitionDuration:S="auto",TransitionProps:{onEntering:C,...k}={},disableScrollLock:$=!1,...E}=r,v=(h==null?void 0:h.paper)??x,P=w.useRef(),B={...r,anchorOrigin:a,anchorReference:s,elevation:p,marginThreshold:y,externalPaperSlotProps:v,transformOrigin:m,TransitionComponent:c,transitionDuration:S,TransitionProps:k},M=Bb(B),N=w.useCallback(()=>{if(s==="anchorPosition")return l;const U=nu(i),G=(U&&U.nodeType===1?U:zt(P.current).body).getBoundingClientRect();return{top:G.top+jp(G,a.vertical),left:G.left+Fp(G,a.horizontal)}},[i,a.horizontal,a.vertical,l,s]),z=w.useCallback(U=>({vertical:jp(U,m.vertical),horizontal:Fp(U,m.horizontal)}),[m.horizontal,m.vertical]),j=w.useCallback(U=>{const F={width:U.offsetWidth,height:U.offsetHeight},G=z(F);if(s==="none")return{top:null,left:null,transformOrigin:Lp(G)};const Ee=N();let gt=Ee.top-G.vertical,Le=Ee.left-G.horizontal;const Wt=gt+F.height,at=Le+F.width,tt=Si(nu(i)),Rt=tt.innerHeight-y,Wi=tt.innerWidth-y;if(y!==null&>Rt){const lt=Wt-Rt;gt-=lt,G.vertical+=lt}if(y!==null&&LeWi){const lt=at-Wi;Le-=lt,G.horizontal+=lt}return{top:`${Math.round(gt)}px`,left:`${Math.round(Le)}px`,transformOrigin:Lp(G)}},[i,s,N,z,y]),[I,L]=w.useState(g),O=w.useCallback(()=>{const U=P.current;if(!U)return;const F=j(U);F.top!==null&&(U.style.top=F.top),F.left!==null&&(U.style.left=F.left),U.style.transformOrigin=F.transformOrigin,L(!0)},[j]);w.useEffect(()=>($&&window.addEventListener("scroll",O),()=>window.removeEventListener("scroll",O)),[i,$,O]);const D=(U,F)=>{C&&C(U,F),O()},V=()=>{L(!1)};w.useEffect(()=>{g&&O()}),w.useImperativeHandle(o,()=>g?{updatePosition:()=>{O()}}:null,[g,O]),w.useEffect(()=>{if(!g)return;const U=JC(()=>{O()}),F=Si(i);return F.addEventListener("resize",U),()=>{U.clear(),F.removeEventListener("resize",U)}},[i,g,O]);let Q=S;S==="auto"&&!c.muiSupportAuto&&(Q=void 0);const K=d||(i?zt(nu(i)).body:void 0),ge={slots:b,slotProps:{...h,paper:v}},[Z,Ie]=ao("paper",{elementType:C0,externalForwardedProps:ge,additionalProps:{elevation:p,className:Y(M.paper,v==null?void 0:v.className),style:I?v.style:{...v.style,opacity:0}},ownerState:B}),[ke,{slotProps:ne,...W}]=ao("root",{elementType:_b,externalForwardedProps:ge,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:K,open:g},ownerState:B,className:Y(M.root,f)}),q=ht(P,Ie.ref);return R.jsx(ke,{...W,...!qw(ke)&&{slotProps:ne,disableScrollLock:$},...E,ref:n,children:R.jsx(c,{appear:!0,in:g,onEntering:D,onExited:V,timeout:Q,...k,children:R.jsx(Z,{...Ie,ref:q,children:u})})})});function Mb(e){return Ge("MuiMenu",e)}Me("MuiMenu",["root","paper","list"]);const Ib={vertical:"top",horizontal:"right"},zb={vertical:"top",horizontal:"left"},Nb=e=>{const{classes:t}=e;return Ze({root:["root"],paper:["paper"],list:["list"]},Mb,t)},Db=ce(Ab,{shouldForwardProp:e=>ts(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),jb=ce(C0,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Fb=ce(Xw,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Lb=w.forwardRef(function(t,n){const r=et({props:t,name:"MuiMenu"}),{autoFocus:o=!0,children:i,className:a,disableAutoFocusItem:l=!1,MenuListProps:s={},onClose:u,open:f,PaperProps:d={},PopoverClasses:p,transitionDuration:y="auto",TransitionProps:{onEntering:g,...x}={},variant:b="selectedMenu",slots:h={},slotProps:m={},...c}=r,S=u0(),C={...r,autoFocus:o,disableAutoFocusItem:l,MenuListProps:s,onEntering:g,PaperProps:d,transitionDuration:y,TransitionProps:x,variant:b},k=Nb(C),$=o&&!l&&f,E=w.useRef(null),v=(I,L)=>{E.current&&E.current.adjustStyleForScrollbar(I,{direction:S?"rtl":"ltr"}),g&&g(I,L)},P=I=>{I.key==="Tab"&&(I.preventDefault(),u&&u(I,"tabKeyDown"))};let B=-1;w.Children.map(i,(I,L)=>{w.isValidElement(I)&&(I.props.disabled||(b==="selectedMenu"&&I.props.selected||B===-1)&&(B=L))});const M=h.paper??jb,N=m.paper??d,z=$p({elementType:h.root,externalSlotProps:m.root,ownerState:C,className:[k.root,a]}),j=$p({elementType:M,externalSlotProps:N,ownerState:C,className:k.paper});return R.jsx(Db,{onClose:u,anchorOrigin:{vertical:"bottom",horizontal:S?"right":"left"},transformOrigin:S?Ib:zb,slots:{paper:M,root:h.root},slotProps:{root:z,paper:j},open:f,ref:n,transitionDuration:y,TransitionProps:{onEntering:v,...x},ownerState:C,...c,classes:p,children:R.jsx(Fb,{onKeyDown:P,actions:E,autoFocus:o&&(B===-1||l),autoFocusItem:$,variant:b,...s,className:Y(k.list,s.className),children:i})})}),Hb=mo(R.jsx("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu"),S0=yS({createStyledComponent:ce("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${ee(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>aw({props:e,name:"MuiContainer"})});function Wb(e){return Ge("MuiButton",e)}const Pr=Me("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"]),Vb=w.createContext({}),Ub=w.createContext(void 0),Gb=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:a}=e,l={root:["root",i,`${i}${ee(t)}`,`size${ee(o)}`,`${i}Size${ee(o)}`,`color${ee(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${ee(o)}`],endIcon:["icon","endIcon",`iconSize${ee(o)}`]},s=Ze(l,Wb,a);return{...a,...s}},w0=[{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}}}],Kb=ce(Md,{shouldForwardProp:e=>ts(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ee(n.color)}`],t[`size${ee(n.size)}`],t[`${n.variant}Size${ee(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(jt(({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"},[`&.${Pr.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]},[`&.${Pr.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Pr.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)",[`&.${Pr.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(bi(["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)`:ut(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})`:ut(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})`:ut(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})`:ut(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:ut(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"},[`&.${Pr.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Pr.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}})),Qb=ce("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${ee(n.size)}`]]}})({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},...w0]}),Yb=ce("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${ee(n.size)}`]]}})({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},...w0]}),Nd=w.forwardRef(function(t,n){const r=w.useContext(Vb),o=w.useContext(Ub),i=xi(r,t),a=et({props:i,name:"MuiButton"}),{children:l,color:s="primary",component:u="button",className:f,disabled:d=!1,disableElevation:p=!1,disableFocusRipple:y=!1,endIcon:g,focusVisibleClassName:x,fullWidth:b=!1,size:h="medium",startIcon:m,type:c,variant:S="text",...C}=a,k={...a,color:s,component:u,disabled:d,disableElevation:p,disableFocusRipple:y,fullWidth:b,size:h,type:c,variant:S},$=Gb(k),E=m&&R.jsx(Qb,{className:$.startIcon,ownerState:k,children:m}),v=g&&R.jsx(Yb,{className:$.endIcon,ownerState:k,children:g}),P=o||"";return R.jsxs(Kb,{ownerState:k,className:Y(r.className,$.root,f,P),component:u,disabled:d,focusRipple:!y,focusVisibleClassName:Y($.focusVisible,x),ref:n,type:c,...C,classes:$,children:[E,l,v]})}),Hp=Me("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Wp=Me("MuiListItemIcon",["root","alignItemsFlexStart"]),Vp=Me("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function Xb(e){return Ge("MuiMenuItem",e)}const Bo=Me("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),qb=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},Jb=e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:a}=e,s=Ze({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},Xb,a);return{...a,...s}},Zb=ce(Md,{shouldForwardProp:e=>ts(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:qb})(jt(({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"}},[`&.${Bo.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ut(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Bo.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:ut(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Bo.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:ut(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})`:ut(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Bo.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Bo.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Hp.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Hp.inset}`]:{marginLeft:52},[`& .${Vp.root}`]:{marginTop:0,marginBottom:0},[`& .${Vp.inset}`]:{paddingLeft:36},[`& .${Wp.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,[`& .${Wp.root} svg`]:{fontSize:"1.25rem"}}}]}))),e$=w.forwardRef(function(t,n){const r=et({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:i="li",dense:a=!1,divider:l=!1,disableGutters:s=!1,focusVisibleClassName:u,role:f="menuitem",tabIndex:d,className:p,...y}=r,g=w.useContext(uc),x=w.useMemo(()=>({dense:a||g.dense||!1,disableGutters:s}),[g.dense,a,s]),b=w.useRef(null);Ci(()=>{o&&b.current&&b.current.focus()},[o]);const h={...r,dense:x.dense,divider:l,disableGutters:s},m=Jb(r),c=ht(b,n);let S;return r.disabled||(S=d!==void 0?d:-1),R.jsx(uc.Provider,{value:x,children:R.jsx(Zb,{ref:c,role:f,tabIndex:S,component:i,focusVisibleClassName:Y(m.focusVisible,u),className:Y(m.root,p),...y,ownerState:h,classes:m})})}),Up=mo(R.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"),fc={dark:{header:{backgroundColor:"secondary"},mainContent:{backgroundColor:"#242424"},footer:{backgroundColor:"#f4e0c1"},text:{primary:"rgba(255, 255, 255, 0.87)",secondary:"rgba(255, 255, 255, 0.60)",disabled:"rgba(255, 255, 255, 0.38)"},action:{active:"rgba(255, 255, 255, 0.54)",hover:"rgba(255, 255, 255, 0.04)",selected:"rgba(255, 255, 255, 0.08)",disabled:"rgba(255, 255, 255, 0.26)",disabledBackground:"rgba(255, 255, 255, 0.12)"},divider:"rgba(255, 255, 255, 0.12)",elevation:{1:"0px 2px 1px -1px rgba(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)"}},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)"}}},t$={light:!1,theme:fc.light,toggle:()=>{}},Ni=Qt.createContext(t$);function n$({children:e}){const[t,n]=w.useState(!1);w.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?fc.light:fc.dark;return R.jsx(Ni.Provider,{value:{theme:o,light:t,toggle:r},children:e})}const r$=mo(R.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"),o$=mo(R.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 i$(e){return Ge("MuiRating",e)}const _o=Me("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]);function a$(e){const t=e.toString().split(".")[1];return t?t.length:0}function ru(e,t){if(e==null)return e;const n=Math.round(e/t)*t;return Number(n.toFixed(a$(t)))}const l$=e=>{const{classes:t,size:n,readOnly:r,disabled:o,emptyValueFocused:i,focusVisible:a}=e,l={root:["root",`size${ee(n)}`,o&&"disabled",a&&"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 Ze(l,i$,t)},s$=ce("span",{name:"MuiRating",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${_o.visuallyHidden}`]:t.visuallyHidden},t.root,t[`size${ee(n.size)}`],n.readOnly&&t.readOnly]}})(jt(({theme:e})=>({display:"inline-flex",position:"relative",fontSize:e.typography.pxToRem(24),color:"#faaf00",cursor:"pointer",textAlign:"left",width:"min-content",WebkitTapHighlightColor:"transparent",[`&.${_o.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${_o.focusVisible} .${_o.iconActive}`]:{outline:"1px solid #999"},[`& .${_o.visuallyHidden}`]:rS,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"}}]}))),b0=ce("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%"}}]}),u$=ce("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]}})(jt(({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}}]}))),c$=ce("span",{name:"MuiRating",slot:"Decimal",shouldForwardProp:e=>p0(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 d$(e){const{value:t,...n}=e;return R.jsx("span",{...n})}function Gp(e){const{classes:t,disabled:n,emptyIcon:r,focus:o,getLabelText:i,highlightSelectedOnly:a,hover:l,icon:s,IconContainerComponent:u,isActive:f,itemValue:d,labelProps:p,name:y,onBlur:g,onChange:x,onClick:b,onFocus:h,readOnly:m,ownerState:c,ratingValue:S,ratingValueRounded:C}=e,k=a?d===S:d<=S,$=d<=l,E=d<=o,v=d===C,P=t0(),B=R.jsx(u$,{as:u,value:d,className:Y(t.icon,k?t.iconFilled:t.iconEmpty,$&&t.iconHover,E&&t.iconFocus,f&&t.iconActive),ownerState:{...c,iconEmpty:!k,iconFilled:k,iconHover:$,iconFocus:E,iconActive:f},children:r&&!k?r:s});return m?R.jsx("span",{...p,children:B}):R.jsxs(w.Fragment,{children:[R.jsxs(b0,{ownerState:{...c,emptyValueFocused:void 0},htmlFor:P,...p,children:[B,R.jsx("span",{className:t.visuallyHidden,children:i(d)})]}),R.jsx("input",{className:t.visuallyHidden,onFocus:h,onBlur:g,onChange:x,onClick:b,disabled:n,value:d,id:P,type:"radio",name:y,checked:v})]})}const f$=R.jsx(r$,{fontSize:"inherit"}),p$=R.jsx(o$,{fontSize:"inherit"});function m$(e){return`${e||"0"} Star${e!==1?"s":""}`}const h$=w.forwardRef(function(t,n){const r=et({name:"MuiRating",props:t}),{className:o,defaultValue:i=null,disabled:a=!1,emptyIcon:l=p$,emptyLabelText:s="Empty",getLabelText:u=m$,highlightSelectedOnly:f=!1,icon:d=f$,IconContainerComponent:p=d$,max:y=5,name:g,onChange:x,onChangeActive:b,onMouseLeave:h,onMouseMove:m,precision:c=1,readOnly:S=!1,size:C="medium",value:k,...$}=r,E=t0(g),[v,P]=eS({controlled:k,default:i,name:"Rating"}),B=ru(v,c),M=u0(),[{hover:N,focus:z},j]=w.useState({hover:-1,focus:-1});let I=B;N!==-1&&(I=N),z!==-1&&(I=z);const[L,O]=w.useState(!1),D=w.useRef(),V=ht(D,n),Q=F=>{m&&m(F);const G=D.current,{right:Ee,left:gt,width:Le}=G.getBoundingClientRect();let Wt;M?Wt=(Ee-F.clientX)/Le:Wt=(F.clientX-gt)/Le;let at=ru(y*Wt+c/2,c);at=Zg(at,c,y),j(tt=>tt.hover===at&&tt.focus===at?tt:{hover:at,focus:at}),O(!1),b&&N!==at&&b(F,at)},K=F=>{h&&h(F);const G=-1;j({hover:G,focus:G}),b&&N!==G&&b(F,G)},ge=F=>{let G=F.target.value===""?null:parseFloat(F.target.value);N!==-1&&(G=N),P(G),x&&x(F,G)},Z=F=>{F.clientX===0&&F.clientY===0||(j({hover:-1,focus:-1}),P(null),x&&parseFloat(F.target.value)===B&&x(F,null))},Ie=F=>{al(F.target)&&O(!0);const G=parseFloat(F.target.value);j(Ee=>({hover:Ee.hover,focus:G}))},ke=F=>{if(N!==-1)return;al(F.target)||O(!1);const G=-1;j(Ee=>({hover:Ee.hover,focus:G}))},[ne,W]=w.useState(!1),q={...r,defaultValue:i,disabled:a,emptyIcon:l,emptyLabelText:s,emptyValueFocused:ne,focusVisible:L,getLabelText:u,icon:d,IconContainerComponent:p,max:y,precision:c,readOnly:S,size:C},U=l$(q);return R.jsxs(s$,{ref:V,onMouseMove:Q,onMouseLeave:K,className:Y(U.root,o,S&&"MuiRating-readOnly"),ownerState:q,role:S?"img":null,"aria-label":S?u(I):null,...$,children:[Array.from(new Array(y)).map((F,G)=>{const Ee=G+1,gt={classes:U,disabled:a,emptyIcon:l,focus:z,getLabelText:u,highlightSelectedOnly:f,hover:N,icon:d,IconContainerComponent:p,name:E,onBlur:ke,onChange:ge,onClick:Z,onFocus:Ie,ratingValue:I,ratingValueRounded:B,readOnly:S,ownerState:q},Le=Ee===Math.ceil(I)&&(N!==-1||z!==-1);if(c<1){const Wt=Array.from(new Array(1/c));return R.jsx(c$,{className:Y(U.decimal,Le&&U.iconActive),ownerState:q,iconActive:Le,children:Wt.map((at,tt)=>{const Rt=ru(Ee-1+(tt+1)*c,c);return R.jsx(Gp,{...gt,isActive:!1,itemValue:Rt,labelProps:{style:Wt.length-1===tt?{}:{width:Rt===I?`${(tt+1)*c*100}%`:"0%",overflow:"hidden",position:"absolute"}}},Rt)})},Ee)}return R.jsx(Gp,{...gt,isActive:Le,itemValue:Ee},Ee)}),!S&&!a&&R.jsxs(b0,{className:Y(U.label,U.labelEmptyValue),ownerState:q,children:[R.jsx("input",{className:U.visuallyHidden,value:"",id:`${E}-empty`,type:"radio",name:E,checked:B==null,onFocus:()=>W(!0),onBlur:()=>W(!1),onChange:ge}),R.jsx("span",{className:U.visuallyHidden,children:s})]})]})});function g$(){const{light:e,toggle:t}=w.useContext(Ni);return R.jsxs(Nd,{onClick:t,sx:{color:"white"},children:["Swith to ",e?"Dark":"Light"," Mode"]})}/** + */var zd=Symbol.for("react.element"),Nd=Symbol.for("react.portal"),rs=Symbol.for("react.fragment"),os=Symbol.for("react.strict_mode"),is=Symbol.for("react.profiler"),as=Symbol.for("react.provider"),ls=Symbol.for("react.context"),Uw=Symbol.for("react.server_context"),ss=Symbol.for("react.forward_ref"),us=Symbol.for("react.suspense"),cs=Symbol.for("react.suspense_list"),ds=Symbol.for("react.memo"),fs=Symbol.for("react.lazy"),Gw=Symbol.for("react.offscreen"),v0;v0=Symbol.for("react.module.reference");function Lt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case zd:switch(e=e.type,e){case rs:case is:case os:case us:case cs:return e;default:switch(e=e&&e.$$typeof,e){case Uw:case ls:case ss:case fs:case ds:case as:return e;default:return t}}case Nd:return t}}}le.ContextConsumer=ls;le.ContextProvider=as;le.Element=zd;le.ForwardRef=ss;le.Fragment=rs;le.Lazy=fs;le.Memo=ds;le.Portal=Nd;le.Profiler=is;le.StrictMode=os;le.Suspense=us;le.SuspenseList=cs;le.isAsyncMode=function(){return!1};le.isConcurrentMode=function(){return!1};le.isContextConsumer=function(e){return Lt(e)===ls};le.isContextProvider=function(e){return Lt(e)===as};le.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===zd};le.isForwardRef=function(e){return Lt(e)===ss};le.isFragment=function(e){return Lt(e)===rs};le.isLazy=function(e){return Lt(e)===fs};le.isMemo=function(e){return Lt(e)===ds};le.isPortal=function(e){return Lt(e)===Nd};le.isProfiler=function(e){return Lt(e)===is};le.isStrictMode=function(e){return Lt(e)===os};le.isSuspense=function(e){return Lt(e)===us};le.isSuspenseList=function(e){return Lt(e)===cs};le.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===rs||e===is||e===os||e===us||e===cs||e===Gw||typeof e=="object"&&e!==null&&(e.$$typeof===fs||e.$$typeof===ds||e.$$typeof===as||e.$$typeof===ls||e.$$typeof===ss||e.$$typeof===v0||e.getModuleId!==void 0)};le.typeOf=Lt;const cc=w.createContext({});function Kw(e){return Ge("MuiList",e)}Me("MuiList",["root","padding","dense","subheader"]);const Qw=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return Ze({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},Kw,t)},Yw=ce("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}}]}),Xw=w.forwardRef(function(t,n){const r=et({props:t,name:"MuiList"}),{children:o,className:i,component:a="ul",dense:l=!1,disablePadding:s=!1,subheader:u,...f}=r,d=w.useMemo(()=>({dense:l}),[l]),p={...r,component:a,dense:l,disablePadding:s},y=Qw(p);return R.jsx(cc.Provider,{value:d,children:R.jsxs(Yw,{as:a,className:Y(y.root,i),ref:n,ownerState:p,...f,children:[u,o]})})});function Zs(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Np(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function y0(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 Oo(e,t,n,r,o,i){let a=!1,l=o(e,t,t?n:!1);for(;l;){if(l===e.firstChild){if(a)return!1;a=!0}const s=r?!1:l.disabled||l.getAttribute("aria-disabled")==="true";if(!l.hasAttribute("tabindex")||!y0(l,i)||s)l=o(e,l,n);else return l.focus(),!0}return!1}const qw=w.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:a,className:l,disabledItemsFocusable:s=!1,disableListWrap:u=!1,onKeyDown:f,variant:d="selectedMenu",...p}=t,y=w.useRef(null),g=w.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Ci(()=>{o&&y.current.focus()},[o]),w.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(c,{direction:S})=>{const C=!y.current.style.width;if(c.clientHeight{const S=y.current,C=c.key;if(c.ctrlKey||c.metaKey||c.altKey){f&&f(c);return}const $=zt(S).activeElement;if(C==="ArrowDown")c.preventDefault(),Oo(S,$,u,s,Zs);else if(C==="ArrowUp")c.preventDefault(),Oo(S,$,u,s,Np);else if(C==="Home")c.preventDefault(),Oo(S,null,u,s,Zs);else if(C==="End")c.preventDefault(),Oo(S,null,u,s,Np);else if(C.length===1){const E=g.current,v=C.toLowerCase(),P=performance.now();E.keys.length>0&&(P-E.lastTime>500?(E.keys=[],E.repeating=!0,E.previousKeyMatched=!0):E.repeating&&v!==E.keys[0]&&(E.repeating=!1)),E.lastTime=P,E.keys.push(v);const B=$&&!E.repeating&&y0($,E);E.previousKeyMatched&&(B||Oo(S,$,!1,s,Zs,E))?c.preventDefault():E.previousKeyMatched=!1}f&&f(c)},b=ht(y,n);let h=-1;w.Children.forEach(a,(c,S)=>{if(!w.isValidElement(c)){h===S&&(h+=1,h>=a.length&&(h=-1));return}c.props.disabled||(d==="selectedMenu"&&c.props.selected||h===-1)&&(h=S),h===S&&(c.props.disabled||c.props.muiSkipListHighlight||c.type.muiSkipListHighlight)&&(h+=1,h>=a.length&&(h=-1))});const m=w.Children.map(a,(c,S)=>{if(S===h){const C={};return i&&(C.autoFocus=!0),c.props.tabIndex===void 0&&d==="selectedMenu"&&(C.tabIndex=0),w.cloneElement(c,C)}return c});return R.jsx(Xw,{role:"menu",ref:b,className:l,onKeyDown:x,tabIndex:o?0:-1,...p,children:m})});function Jw(e){return typeof e=="string"}const x0=e=>e.scrollTop;function cl(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 dc(e){return`scale(${e}, ${e**2})`}const Zw={entering:{opacity:1,transform:dc(1)},entered:{opacity:1,transform:"none"}},eu=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),fc=w.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:a,in:l,onEnter:s,onEntered:u,onEntering:f,onExit:d,onExited:p,onExiting:y,style:g,timeout:x="auto",TransitionComponent:b=cn,...h}=t,m=o0(),c=w.useRef(),S=_d(),C=w.useRef(null),k=ht(C,es(i),n),$=j=>I=>{if(j){const L=C.current;I===void 0?j(L):j(L,I)}},E=$(f),v=$((j,I)=>{x0(j);const{duration:L,delay:O,easing:D}=cl({style:g,timeout:x,easing:a},{mode:"enter"});let V;x==="auto"?(V=S.transitions.getAutoHeightDuration(j.clientHeight),c.current=V):V=L,j.style.transition=[S.transitions.create("opacity",{duration:V,delay:O}),S.transitions.create("transform",{duration:eu?V:V*.666,delay:O,easing:D})].join(","),s&&s(j,I)}),P=$(u),B=$(y),M=$(j=>{const{duration:I,delay:L,easing:O}=cl({style:g,timeout:x,easing:a},{mode:"exit"});let D;x==="auto"?(D=S.transitions.getAutoHeightDuration(j.clientHeight),c.current=D):D=I,j.style.transition=[S.transitions.create("opacity",{duration:D,delay:L}),S.transitions.create("transform",{duration:eu?D:D*.666,delay:eu?L:L||D*.333,easing:O})].join(","),j.style.opacity=0,j.style.transform=dc(.75),d&&d(j)}),N=$(p),z=j=>{x==="auto"&&m.start(c.current||0,j),r&&r(C.current,j)};return R.jsx(b,{appear:o,in:l,nodeRef:C,onEnter:v,onEntered:P,onEntering:E,onExit:M,onExited:N,onExiting:B,addEndListener:z,timeout:x==="auto"?null:x,...h,children:(j,I)=>w.cloneElement(i,{style:{opacity:0,transform:dc(.75),visibility:j==="exited"&&!l?"hidden":void 0,...Zw[j],...g,...i.props.style},ref:k,...I})})});fc&&(fc.muiSupportAuto=!0);function eb(e){const t=zt(e);return t.body===e?Si(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function qo(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Dp(e){return parseInt(Si(e).getComputedStyle(e).paddingRight,10)||0}function tb(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 jp(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,a=>{const l=i.indexOf(a)===-1,s=!tb(a);l&&s&&qo(a,o)})}function tu(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function nb(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(eb(r)){const a=i0(zt(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Dp(r)+a}px`;const l=zt(r).querySelectorAll(".mui-fixed");[].forEach.call(l,s=>{n.push({value:s.style.paddingRight,property:"padding-right",el:s}),s.style.paddingRight=`${Dp(s)+a}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=zt(r).body;else{const a=r.parentElement,l=Si(r);i=(a==null?void 0:a.nodeName)==="HTML"&&l.getComputedStyle(a).overflowY==="scroll"?a:r}n.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{n.forEach(({value:i,el:a,property:l})=>{i?a.style.setProperty(l,i):a.style.removeProperty(l)})}}function rb(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class ob{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&&qo(t.modalRef,!1);const o=rb(n);jp(n,t.mount,t.modalRef,o,!0);const i=tu(this.containers,a=>a.container===n);return i!==-1?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=tu(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[r];o.restore||(o.restore=nb(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=tu(this.containers,a=>a.modals.indexOf(t)!==-1),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(r,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&qo(t.modalRef,n),jp(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const a=i.modals[i.modals.length-1];a.modalRef&&qo(a.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const ib=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function ab(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 lb(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 sb(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||lb(e))}function ub(e){const t=[],n=[];return Array.from(e.querySelectorAll(ib)).forEach((r,o)=>{const i=ab(r);i===-1||!sb(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 cb(){return!0}function db(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=ub,isEnabled:a=cb,open:l}=e,s=w.useRef(!1),u=w.useRef(null),f=w.useRef(null),d=w.useRef(null),p=w.useRef(null),y=w.useRef(!1),g=w.useRef(null),x=ht(es(t),g),b=w.useRef(null);w.useEffect(()=>{!l||!g.current||(y.current=!n)},[n,l]),w.useEffect(()=>{if(!l||!g.current)return;const c=zt(g.current);return g.current.contains(c.activeElement)||(g.current.hasAttribute("tabIndex")||g.current.setAttribute("tabIndex","-1"),y.current&&g.current.focus()),()=>{o||(d.current&&d.current.focus&&(s.current=!0,d.current.focus()),d.current=null)}},[l]),w.useEffect(()=>{if(!l||!g.current)return;const c=zt(g.current),S=$=>{b.current=$,!(r||!a()||$.key!=="Tab")&&c.activeElement===g.current&&$.shiftKey&&(s.current=!0,f.current&&f.current.focus())},C=()=>{var v,P;const $=g.current;if($===null)return;if(!c.hasFocus()||!a()||s.current){s.current=!1;return}if($.contains(c.activeElement)||r&&c.activeElement!==u.current&&c.activeElement!==f.current)return;if(c.activeElement!==p.current)p.current=null;else if(p.current!==null)return;if(!y.current)return;let E=[];if((c.activeElement===u.current||c.activeElement===f.current)&&(E=i(g.current)),E.length>0){const B=!!((v=b.current)!=null&&v.shiftKey&&((P=b.current)==null?void 0:P.key)==="Tab"),M=E[0],N=E[E.length-1];typeof M!="string"&&typeof N!="string"&&(B?N.focus():M.focus())}else $.focus()};c.addEventListener("focusin",C),c.addEventListener("keydown",S,!0);const k=setInterval(()=>{c.activeElement&&c.activeElement.tagName==="BODY"&&C()},50);return()=>{clearInterval(k),c.removeEventListener("focusin",C),c.removeEventListener("keydown",S,!0)}},[n,r,o,a,l,i]);const h=c=>{d.current===null&&(d.current=c.relatedTarget),y.current=!0,p.current=c.target;const S=t.props.onFocus;S&&S(c)},m=c=>{d.current===null&&(d.current=c.relatedTarget),y.current=!0};return R.jsxs(w.Fragment,{children:[R.jsx("div",{tabIndex:l?0:-1,onFocus:m,ref:u,"data-testid":"sentinelStart"}),w.cloneElement(t,{ref:x,onFocus:h}),R.jsx("div",{tabIndex:l?0:-1,onFocus:m,ref:f,"data-testid":"sentinelEnd"})]})}function fb(e){return typeof e=="function"?e():e}const pb=w.forwardRef(function(t,n){const{children:r,container:o,disablePortal:i=!1}=t,[a,l]=w.useState(null),s=ht(es(r),n);if(Ci(()=>{i||l(fb(o)||document.body)},[o,i]),Ci(()=>{if(a&&!i)return oc(n,a),()=>{oc(n,null)}},[n,a,i]),i){if(w.isValidElement(r)){const u={ref:s};return w.cloneElement(r,u)}return R.jsx(w.Fragment,{children:r})}return R.jsx(w.Fragment,{children:a&&fd.createPortal(r,a)})});function ao(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,getSlotOwnerState:a,internalForwardedProps:l,...s}=t,{component:u,slots:f={[e]:void 0},slotProps:d={[e]:void 0},...p}=i,y=f[e]||r,g=u0(d[e],o),{props:{component:x,...b},internalRef:h}=s0({className:n,...s,externalForwardedProps:e==="root"?p:void 0,externalSlotProps:g}),m=ht(h,g==null?void 0:g.ref,t.ref),c=a?a(b):{},S={...o,...c},C=e==="root"?x||u:x,k=a0(y,{...e==="root"&&!u&&!f[e]&&l,...e!=="root"&&!f[e]&&l,...b,...C&&{as:C},ref:m},S);return Object.keys(c).forEach($=>{delete k[$]}),[y,k]}const mb={entering:{opacity:1},entered:{opacity:1}},hb=w.forwardRef(function(t,n){const r=_d(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:l,easing:s,in:u,onEnter:f,onEntered:d,onEntering:p,onExit:y,onExited:g,onExiting:x,style:b,timeout:h=o,TransitionComponent:m=cn,...c}=t,S=w.useRef(null),C=ht(S,es(l),n),k=z=>j=>{if(z){const I=S.current;j===void 0?z(I):z(I,j)}},$=k(p),E=k((z,j)=>{x0(z);const I=cl({style:b,timeout:h,easing:s},{mode:"enter"});z.style.webkitTransition=r.transitions.create("opacity",I),z.style.transition=r.transitions.create("opacity",I),f&&f(z,j)}),v=k(d),P=k(x),B=k(z=>{const j=cl({style:b,timeout:h,easing:s},{mode:"exit"});z.style.webkitTransition=r.transitions.create("opacity",j),z.style.transition=r.transitions.create("opacity",j),y&&y(z)}),M=k(g),N=z=>{i&&i(S.current,z)};return R.jsx(m,{appear:a,in:u,nodeRef:S,onEnter:E,onEntered:v,onEntering:$,onExit:B,onExited:M,onExiting:P,addEndListener:N,timeout:h,...c,children:(z,j)=>w.cloneElement(l,{style:{opacity:0,visibility:z==="exited"&&!u?"hidden":void 0,...mb[z],...b,...l.props.style},ref:C,...j})})});function gb(e){return Ge("MuiBackdrop",e)}Me("MuiBackdrop",["root","invisible"]);const vb=e=>{const{classes:t,invisible:n}=e;return Ze({root:["root",n&&"invisible"]},gb,t)},yb=ce("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"}}]}),xb=w.forwardRef(function(t,n){const r=et({props:t,name:"MuiBackdrop"}),{children:o,className:i,component:a="div",invisible:l=!1,open:s,components:u={},componentsProps:f={},slotProps:d={},slots:p={},TransitionComponent:y,transitionDuration:g,...x}=r,b={...r,component:a,invisible:l},h=vb(b),m={transition:y,root:u.Root,...p},c={...f,...d},S={slots:m,slotProps:c},[C,k]=ao("root",{elementType:yb,externalForwardedProps:S,className:Y(h.root,i),ownerState:b}),[$,E]=ao("transition",{elementType:hb,externalForwardedProps:S,ownerState:b});return delete E.ownerState,R.jsx($,{in:s,timeout:g,...x,...E,children:R.jsx(C,{"aria-hidden":!0,...k,classes:h,ref:n,children:o})})});function Cb(e){return typeof e=="function"?e():e}function Sb(e){return e?e.props.hasOwnProperty("in"):!1}const wb=new ob;function bb(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=wb,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:l,children:s,onClose:u,open:f,rootRef:d}=e,p=w.useRef({}),y=w.useRef(null),g=w.useRef(null),x=ht(g,d),[b,h]=w.useState(!f),m=Sb(s);let c=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(c=!1);const S=()=>zt(y.current),C=()=>(p.current.modalRef=g.current,p.current.mount=y.current,p.current),k=()=>{o.mount(C(),{disableScrollLock:r}),g.current&&(g.current.scrollTop=0)},$=Hr(()=>{const I=Cb(t)||S().body;o.add(C(),I),g.current&&k()}),E=w.useCallback(()=>o.isTopModal(C()),[o]),v=Hr(I=>{y.current=I,I&&(f&&E()?k():g.current&&qo(g.current,c))}),P=w.useCallback(()=>{o.remove(C(),c)},[c,o]);w.useEffect(()=>()=>{P()},[P]),w.useEffect(()=>{f?$():(!m||!i)&&P()},[f,P,m,i,$]);const B=I=>L=>{var O;(O=I.onKeyDown)==null||O.call(I,L),!(L.key!=="Escape"||L.which===229||!E())&&(n||(L.stopPropagation(),u&&u(L,"escapeKeyDown")))},M=I=>L=>{var O;(O=I.onClick)==null||O.call(I,L),L.target===L.currentTarget&&u&&u(L,"backdropClick")};return{getRootProps:(I={})=>{const L=l0(e);delete L.onTransitionEnter,delete L.onTransitionExited;const O={...L,...I};return{role:"presentation",...O,onKeyDown:B(O),ref:x}},getBackdropProps:(I={})=>{const L=I;return{"aria-hidden":!0,...L,onClick:M(L),open:f}},getTransitionProps:()=>{const I=()=>{h(!1),a&&a()},L=()=>{h(!0),l&&l(),i&&P()};return{onEnter:Cp(I,s==null?void 0:s.props.onEnter),onExited:Cp(L,s==null?void 0:s.props.onExited)}},rootRef:x,portalRef:v,isTopModal:E,exited:b,hasTransition:m}}function $b(e){return Ge("MuiModal",e)}Me("MuiModal",["root","hidden","backdrop"]);function kb(e){return Ge("MuiSvgIcon",e)}Me("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Eb=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${ee(t)}`,`fontSize${ee(n)}`]};return Ze(o,kb,r)},Pb=ce("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${ee(n.color)}`],t[`fontSize${ee(n.fontSize)}`]]}})(jt(({theme:e})=>{var t,n,r,o,i,a,l,s,u,f,d,p,y,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(o=(t=e.transitions)==null?void 0:t.create)==null?void 0:o.call(t,"fill",{duration:(r=(n=(e.vars??e).transitions)==null?void 0:n.duration)==null?void 0:r.shorter}),variants:[{props:x=>!x.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((a=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((s=(l=e.typography)==null?void 0:l.pxToRem)==null?void 0:s.call(l,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((f=(u=e.typography)==null?void 0:u.pxToRem)==null?void 0:f.call(u,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,x])=>x&&x.main).map(([x])=>{var b,h;return{props:{color:x},style:{color:(h=(b=(e.vars??e).palette)==null?void 0:b[x])==null?void 0:h.main}}}),{props:{color:"action"},style:{color:(p=(d=(e.vars??e).palette)==null?void 0:d.action)==null?void 0:p.active}},{props:{color:"disabled"},style:{color:(g=(y=(e.vars??e).palette)==null?void 0:y.action)==null?void 0:g.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),dl=w.forwardRef(function(t,n){const r=et({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:l="svg",fontSize:s="medium",htmlColor:u,inheritViewBox:f=!1,titleAccess:d,viewBox:p="0 0 24 24",...y}=r,g=w.isValidElement(o)&&o.type==="svg",x={...r,color:a,component:l,fontSize:s,instanceFontSize:t.fontSize,inheritViewBox:f,viewBox:p,hasSvgAsChild:g},b={};f||(b.viewBox=p);const h=Eb(x);return R.jsxs(Pb,{as:l,className:Y(h.root,i),focusable:"false",color:u,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n,...b,...y,...g&&o.props,ownerState:x,children:[g?o.props.children:o,d?R.jsx("title",{children:d}):null]})});dl&&(dl.muiName="SvgIcon");function mo(e,t){function n(r,o){return R.jsx(dl,{"data-testid":`${t}Icon`,ref:o,...r,children:e})}return n.muiName=dl.muiName,w.memo(w.forwardRef(n))}const Rb=e=>{const{open:t,exited:n,classes:r}=e;return Ze({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},$b,r)},Tb=ce("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(jt(({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"}}]}))),Ob=ce(xb,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),C0=w.forwardRef(function(t,n){const r=et({name:"MuiModal",props:t}),{BackdropComponent:o=Ob,BackdropProps:i,classes:a,className:l,closeAfterTransition:s=!1,children:u,container:f,component:d,components:p={},componentsProps:y={},disableAutoFocus:g=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:b=!1,disablePortal:h=!1,disableRestoreFocus:m=!1,disableScrollLock:c=!1,hideBackdrop:S=!1,keepMounted:C=!1,onBackdropClick:k,onClose:$,onTransitionEnter:E,onTransitionExited:v,open:P,slotProps:B={},slots:M={},theme:N,...z}=r,j={...r,closeAfterTransition:s,disableAutoFocus:g,disableEnforceFocus:x,disableEscapeKeyDown:b,disablePortal:h,disableRestoreFocus:m,disableScrollLock:c,hideBackdrop:S,keepMounted:C},{getRootProps:I,getBackdropProps:L,getTransitionProps:O,portalRef:D,isTopModal:V,exited:Q,hasTransition:K}=bb({...j,rootRef:n}),ge={...j,exited:Q},Z=Rb(ge),Ie={};if(u.props.tabIndex===void 0&&(Ie.tabIndex="-1"),K){const{onEnter:G,onExited:Ee}=O();Ie.onEnter=G,Ie.onExited=Ee}const ke={slots:{root:p.Root,backdrop:p.Backdrop,...M},slotProps:{...y,...B}},[ne,W]=ao("root",{elementType:Tb,externalForwardedProps:ke,getSlotProps:I,additionalProps:{ref:n,as:d},ownerState:ge,className:Y(l,Z==null?void 0:Z.root,!ge.open&&ge.exited&&(Z==null?void 0:Z.hidden))}),[q,U]=ao("backdrop",{elementType:o,externalForwardedProps:ke,additionalProps:i,getSlotProps:G=>L({...G,onClick:Ee=>{k&&k(Ee),G!=null&&G.onClick&&G.onClick(Ee)}}),className:Y(i==null?void 0:i.className,Z==null?void 0:Z.backdrop),ownerState:ge}),F=ht(i==null?void 0:i.ref,U.ref);return!C&&!P&&(!K||Q)?null:R.jsx(pb,{ref:D,container:f,disablePortal:h,children:R.jsxs(ne,{...W,...z,children:[!S&&o?R.jsx(q,{...U,ref:F}):null,R.jsx(db,{disableEnforceFocus:x,disableAutoFocus:g,disableRestoreFocus:m,isEnabled:V,open:P,children:w.cloneElement(u,Ie)})]})})});function Bb(e){return Ge("MuiPopover",e)}Me("MuiPopover",["root","paper"]);function Fp(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function Lp(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function Hp(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function nu(e){return typeof e=="function"?e():e}const _b=e=>{const{classes:t}=e;return Ze({root:["root"],paper:["paper"]},Bb,t)},Ab=ce(C0,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),S0=ce(h0,{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}),Mb=w.forwardRef(function(t,n){const r=et({props:t,name:"MuiPopover"}),{action:o,anchorEl:i,anchorOrigin:a={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:s="anchorEl",children:u,className:f,container:d,elevation:p=8,marginThreshold:y=16,open:g,PaperProps:x={},slots:b={},slotProps:h={},transformOrigin:m={vertical:"top",horizontal:"left"},TransitionComponent:c=fc,transitionDuration:S="auto",TransitionProps:{onEntering:C,...k}={},disableScrollLock:$=!1,...E}=r,v=(h==null?void 0:h.paper)??x,P=w.useRef(),B={...r,anchorOrigin:a,anchorReference:s,elevation:p,marginThreshold:y,externalPaperSlotProps:v,transformOrigin:m,TransitionComponent:c,transitionDuration:S,TransitionProps:k},M=_b(B),N=w.useCallback(()=>{if(s==="anchorPosition")return l;const U=nu(i),G=(U&&U.nodeType===1?U:zt(P.current).body).getBoundingClientRect();return{top:G.top+Fp(G,a.vertical),left:G.left+Lp(G,a.horizontal)}},[i,a.horizontal,a.vertical,l,s]),z=w.useCallback(U=>({vertical:Fp(U,m.vertical),horizontal:Lp(U,m.horizontal)}),[m.horizontal,m.vertical]),j=w.useCallback(U=>{const F={width:U.offsetWidth,height:U.offsetHeight},G=z(F);if(s==="none")return{top:null,left:null,transformOrigin:Hp(G)};const Ee=N();let gt=Ee.top-G.vertical,Le=Ee.left-G.horizontal;const Wt=gt+F.height,at=Le+F.width,tt=Si(nu(i)),Rt=tt.innerHeight-y,Vi=tt.innerWidth-y;if(y!==null&>Rt){const lt=Wt-Rt;gt-=lt,G.vertical+=lt}if(y!==null&&LeVi){const lt=at-Vi;Le-=lt,G.horizontal+=lt}return{top:`${Math.round(gt)}px`,left:`${Math.round(Le)}px`,transformOrigin:Hp(G)}},[i,s,N,z,y]),[I,L]=w.useState(g),O=w.useCallback(()=>{const U=P.current;if(!U)return;const F=j(U);F.top!==null&&(U.style.top=F.top),F.left!==null&&(U.style.left=F.left),U.style.transformOrigin=F.transformOrigin,L(!0)},[j]);w.useEffect(()=>($&&window.addEventListener("scroll",O),()=>window.removeEventListener("scroll",O)),[i,$,O]);const D=(U,F)=>{C&&C(U,F),O()},V=()=>{L(!1)};w.useEffect(()=>{g&&O()}),w.useImperativeHandle(o,()=>g?{updatePosition:()=>{O()}}:null,[g,O]),w.useEffect(()=>{if(!g)return;const U=ZC(()=>{O()}),F=Si(i);return F.addEventListener("resize",U),()=>{U.clear(),F.removeEventListener("resize",U)}},[i,g,O]);let Q=S;S==="auto"&&!c.muiSupportAuto&&(Q=void 0);const K=d||(i?zt(nu(i)).body:void 0),ge={slots:b,slotProps:{...h,paper:v}},[Z,Ie]=ao("paper",{elementType:S0,externalForwardedProps:ge,additionalProps:{elevation:p,className:Y(M.paper,v==null?void 0:v.className),style:I?v.style:{...v.style,opacity:0}},ownerState:B}),[ke,{slotProps:ne,...W}]=ao("root",{elementType:Ab,externalForwardedProps:ge,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:K,open:g},ownerState:B,className:Y(M.root,f)}),q=ht(P,Ie.ref);return R.jsx(ke,{...W,...!Jw(ke)&&{slotProps:ne,disableScrollLock:$},...E,ref:n,children:R.jsx(c,{appear:!0,in:g,onEntering:D,onExited:V,timeout:Q,...k,children:R.jsx(Z,{...Ie,ref:q,children:u})})})});function Ib(e){return Ge("MuiMenu",e)}Me("MuiMenu",["root","paper","list"]);const zb={vertical:"top",horizontal:"right"},Nb={vertical:"top",horizontal:"left"},Db=e=>{const{classes:t}=e;return Ze({root:["root"],paper:["paper"],list:["list"]},Ib,t)},jb=ce(Mb,{shouldForwardProp:e=>ns(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Fb=ce(S0,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Lb=ce(qw,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Hb=w.forwardRef(function(t,n){const r=et({props:t,name:"MuiMenu"}),{autoFocus:o=!0,children:i,className:a,disableAutoFocusItem:l=!1,MenuListProps:s={},onClose:u,open:f,PaperProps:d={},PopoverClasses:p,transitionDuration:y="auto",TransitionProps:{onEntering:g,...x}={},variant:b="selectedMenu",slots:h={},slotProps:m={},...c}=r,S=c0(),C={...r,autoFocus:o,disableAutoFocusItem:l,MenuListProps:s,onEntering:g,PaperProps:d,transitionDuration:y,TransitionProps:x,variant:b},k=Db(C),$=o&&!l&&f,E=w.useRef(null),v=(I,L)=>{E.current&&E.current.adjustStyleForScrollbar(I,{direction:S?"rtl":"ltr"}),g&&g(I,L)},P=I=>{I.key==="Tab"&&(I.preventDefault(),u&&u(I,"tabKeyDown"))};let B=-1;w.Children.map(i,(I,L)=>{w.isValidElement(I)&&(I.props.disabled||(b==="selectedMenu"&&I.props.selected||B===-1)&&(B=L))});const M=h.paper??Fb,N=m.paper??d,z=kp({elementType:h.root,externalSlotProps:m.root,ownerState:C,className:[k.root,a]}),j=kp({elementType:M,externalSlotProps:N,ownerState:C,className:k.paper});return R.jsx(jb,{onClose:u,anchorOrigin:{vertical:"bottom",horizontal:S?"right":"left"},transformOrigin:S?zb:Nb,slots:{paper:M,root:h.root},slotProps:{root:z,paper:j},open:f,ref:n,transitionDuration:y,TransitionProps:{onEntering:v,...x},ownerState:C,...c,classes:p,children:R.jsx(Lb,{onKeyDown:P,actions:E,autoFocus:o&&(B===-1||l),autoFocusItem:$,variant:b,...s,className:Y(k.list,s.className),children:i})})}),Wb=mo(R.jsx("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu"),w0=xS({createStyledComponent:ce("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${ee(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>lw({props:e,name:"MuiContainer"})});function Vb(e){return Ge("MuiButton",e)}const Pr=Me("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"]),Ub=w.createContext({}),Gb=w.createContext(void 0),Kb=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:a}=e,l={root:["root",i,`${i}${ee(t)}`,`size${ee(o)}`,`${i}Size${ee(o)}`,`color${ee(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${ee(o)}`],endIcon:["icon","endIcon",`iconSize${ee(o)}`]},s=Ze(l,Vb,a);return{...a,...s}},b0=[{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}}}],Qb=ce(Id,{shouldForwardProp:e=>ns(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ee(n.color)}`],t[`size${ee(n.size)}`],t[`${n.variant}Size${ee(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(jt(({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"},[`&.${Pr.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]},[`&.${Pr.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Pr.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)",[`&.${Pr.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(bi(["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)`:ut(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})`:ut(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})`:ut(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})`:ut(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:ut(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"},[`&.${Pr.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Pr.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}})),Yb=ce("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${ee(n.size)}`]]}})({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},...b0]}),Xb=ce("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${ee(n.size)}`]]}})({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},...b0]}),Dd=w.forwardRef(function(t,n){const r=w.useContext(Ub),o=w.useContext(Gb),i=xi(r,t),a=et({props:i,name:"MuiButton"}),{children:l,color:s="primary",component:u="button",className:f,disabled:d=!1,disableElevation:p=!1,disableFocusRipple:y=!1,endIcon:g,focusVisibleClassName:x,fullWidth:b=!1,size:h="medium",startIcon:m,type:c,variant:S="text",...C}=a,k={...a,color:s,component:u,disabled:d,disableElevation:p,disableFocusRipple:y,fullWidth:b,size:h,type:c,variant:S},$=Kb(k),E=m&&R.jsx(Yb,{className:$.startIcon,ownerState:k,children:m}),v=g&&R.jsx(Xb,{className:$.endIcon,ownerState:k,children:g}),P=o||"";return R.jsxs(Qb,{ownerState:k,className:Y(r.className,$.root,f,P),component:u,disabled:d,focusRipple:!y,focusVisibleClassName:Y($.focusVisible,x),ref:n,type:c,...C,classes:$,children:[E,l,v]})}),Wp=Me("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Vp=Me("MuiListItemIcon",["root","alignItemsFlexStart"]),Up=Me("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function qb(e){return Ge("MuiMenuItem",e)}const Bo=Me("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Jb=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},Zb=e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:a}=e,s=Ze({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},qb,a);return{...a,...s}},e$=ce(Id,{shouldForwardProp:e=>ns(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:Jb})(jt(({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"}},[`&.${Bo.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ut(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Bo.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:ut(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Bo.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:ut(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})`:ut(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Bo.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Bo.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Wp.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Wp.inset}`]:{marginLeft:52},[`& .${Up.root}`]:{marginTop:0,marginBottom:0},[`& .${Up.inset}`]:{paddingLeft:36},[`& .${Vp.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,[`& .${Vp.root} svg`]:{fontSize:"1.25rem"}}}]}))),t$=w.forwardRef(function(t,n){const r=et({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:i="li",dense:a=!1,divider:l=!1,disableGutters:s=!1,focusVisibleClassName:u,role:f="menuitem",tabIndex:d,className:p,...y}=r,g=w.useContext(cc),x=w.useMemo(()=>({dense:a||g.dense||!1,disableGutters:s}),[g.dense,a,s]),b=w.useRef(null);Ci(()=>{o&&b.current&&b.current.focus()},[o]);const h={...r,dense:x.dense,divider:l,disableGutters:s},m=Zb(r),c=ht(b,n);let S;return r.disabled||(S=d!==void 0?d:-1),R.jsx(cc.Provider,{value:x,children:R.jsx(e$,{ref:c,role:f,tabIndex:S,component:i,focusVisibleClassName:Y(m.focusVisible,u),className:Y(m.root,p),...y,ownerState:h,classes:m})})}),Gp=mo(R.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"),pc={dark:{header:{backgroundColor:"secondary"},mainContent:{backgroundColor:"#242424"},footer:{backgroundColor:"#f4e0c1"},text:{primary:"rgba(255, 255, 255, 0.87)",secondary:"rgba(255, 255, 255, 0.60)",disabled:"rgba(255, 255, 255, 0.38)"},action:{active:"rgba(255, 255, 255, 0.54)",hover:"rgba(255, 255, 255, 0.04)",selected:"rgba(255, 255, 255, 0.08)",disabled:"rgba(255, 255, 255, 0.26)",disabledBackground:"rgba(255, 255, 255, 0.12)"},divider:"rgba(255, 255, 255, 0.12)",elevation:{1:"0px 2px 1px -1px rgba(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)"}},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)"}}},n$={light:!1,theme:pc.light,toggle:()=>{}},Ni=Qt.createContext(n$);function r$({children:e}){const[t,n]=w.useState(!1);w.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?pc.light:pc.dark;return R.jsx(Ni.Provider,{value:{theme:o,light:t,toggle:r},children:e})}const o$=mo(R.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"),i$=mo(R.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 a$(e){return Ge("MuiRating",e)}const _o=Me("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]);function l$(e){const t=e.toString().split(".")[1];return t?t.length:0}function ru(e,t){if(e==null)return e;const n=Math.round(e/t)*t;return Number(n.toFixed(l$(t)))}const s$=e=>{const{classes:t,size:n,readOnly:r,disabled:o,emptyValueFocused:i,focusVisible:a}=e,l={root:["root",`size${ee(n)}`,o&&"disabled",a&&"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 Ze(l,a$,t)},u$=ce("span",{name:"MuiRating",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${_o.visuallyHidden}`]:t.visuallyHidden},t.root,t[`size${ee(n.size)}`],n.readOnly&&t.readOnly]}})(jt(({theme:e})=>({display:"inline-flex",position:"relative",fontSize:e.typography.pxToRem(24),color:"#faaf00",cursor:"pointer",textAlign:"left",width:"min-content",WebkitTapHighlightColor:"transparent",[`&.${_o.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${_o.focusVisible} .${_o.iconActive}`]:{outline:"1px solid #999"},[`& .${_o.visuallyHidden}`]:oS,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"}}]}))),$0=ce("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%"}}]}),c$=ce("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]}})(jt(({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}}]}))),d$=ce("span",{name:"MuiRating",slot:"Decimal",shouldForwardProp:e=>m0(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 f$(e){const{value:t,...n}=e;return R.jsx("span",{...n})}function Kp(e){const{classes:t,disabled:n,emptyIcon:r,focus:o,getLabelText:i,highlightSelectedOnly:a,hover:l,icon:s,IconContainerComponent:u,isActive:f,itemValue:d,labelProps:p,name:y,onBlur:g,onChange:x,onClick:b,onFocus:h,readOnly:m,ownerState:c,ratingValue:S,ratingValueRounded:C}=e,k=a?d===S:d<=S,$=d<=l,E=d<=o,v=d===C,P=n0(),B=R.jsx(c$,{as:u,value:d,className:Y(t.icon,k?t.iconFilled:t.iconEmpty,$&&t.iconHover,E&&t.iconFocus,f&&t.iconActive),ownerState:{...c,iconEmpty:!k,iconFilled:k,iconHover:$,iconFocus:E,iconActive:f},children:r&&!k?r:s});return m?R.jsx("span",{...p,children:B}):R.jsxs(w.Fragment,{children:[R.jsxs($0,{ownerState:{...c,emptyValueFocused:void 0},htmlFor:P,...p,children:[B,R.jsx("span",{className:t.visuallyHidden,children:i(d)})]}),R.jsx("input",{className:t.visuallyHidden,onFocus:h,onBlur:g,onChange:x,onClick:b,disabled:n,value:d,id:P,type:"radio",name:y,checked:v})]})}const p$=R.jsx(o$,{fontSize:"inherit"}),m$=R.jsx(i$,{fontSize:"inherit"});function h$(e){return`${e||"0"} Star${e!==1?"s":""}`}const g$=w.forwardRef(function(t,n){const r=et({name:"MuiRating",props:t}),{className:o,defaultValue:i=null,disabled:a=!1,emptyIcon:l=m$,emptyLabelText:s="Empty",getLabelText:u=h$,highlightSelectedOnly:f=!1,icon:d=p$,IconContainerComponent:p=f$,max:y=5,name:g,onChange:x,onChangeActive:b,onMouseLeave:h,onMouseMove:m,precision:c=1,readOnly:S=!1,size:C="medium",value:k,...$}=r,E=n0(g),[v,P]=tS({controlled:k,default:i,name:"Rating"}),B=ru(v,c),M=c0(),[{hover:N,focus:z},j]=w.useState({hover:-1,focus:-1});let I=B;N!==-1&&(I=N),z!==-1&&(I=z);const[L,O]=w.useState(!1),D=w.useRef(),V=ht(D,n),Q=F=>{m&&m(F);const G=D.current,{right:Ee,left:gt,width:Le}=G.getBoundingClientRect();let Wt;M?Wt=(Ee-F.clientX)/Le:Wt=(F.clientX-gt)/Le;let at=ru(y*Wt+c/2,c);at=e0(at,c,y),j(tt=>tt.hover===at&&tt.focus===at?tt:{hover:at,focus:at}),O(!1),b&&N!==at&&b(F,at)},K=F=>{h&&h(F);const G=-1;j({hover:G,focus:G}),b&&N!==G&&b(F,G)},ge=F=>{let G=F.target.value===""?null:parseFloat(F.target.value);N!==-1&&(G=N),P(G),x&&x(F,G)},Z=F=>{F.clientX===0&&F.clientY===0||(j({hover:-1,focus:-1}),P(null),x&&parseFloat(F.target.value)===B&&x(F,null))},Ie=F=>{ll(F.target)&&O(!0);const G=parseFloat(F.target.value);j(Ee=>({hover:Ee.hover,focus:G}))},ke=F=>{if(N!==-1)return;ll(F.target)||O(!1);const G=-1;j(Ee=>({hover:Ee.hover,focus:G}))},[ne,W]=w.useState(!1),q={...r,defaultValue:i,disabled:a,emptyIcon:l,emptyLabelText:s,emptyValueFocused:ne,focusVisible:L,getLabelText:u,icon:d,IconContainerComponent:p,max:y,precision:c,readOnly:S,size:C},U=s$(q);return R.jsxs(u$,{ref:V,onMouseMove:Q,onMouseLeave:K,className:Y(U.root,o,S&&"MuiRating-readOnly"),ownerState:q,role:S?"img":null,"aria-label":S?u(I):null,...$,children:[Array.from(new Array(y)).map((F,G)=>{const Ee=G+1,gt={classes:U,disabled:a,emptyIcon:l,focus:z,getLabelText:u,highlightSelectedOnly:f,hover:N,icon:d,IconContainerComponent:p,name:E,onBlur:ke,onChange:ge,onClick:Z,onFocus:Ie,ratingValue:I,ratingValueRounded:B,readOnly:S,ownerState:q},Le=Ee===Math.ceil(I)&&(N!==-1||z!==-1);if(c<1){const Wt=Array.from(new Array(1/c));return R.jsx(d$,{className:Y(U.decimal,Le&&U.iconActive),ownerState:q,iconActive:Le,children:Wt.map((at,tt)=>{const Rt=ru(Ee-1+(tt+1)*c,c);return R.jsx(Kp,{...gt,isActive:!1,itemValue:Rt,labelProps:{style:Wt.length-1===tt?{}:{width:Rt===I?`${(tt+1)*c*100}%`:"0%",overflow:"hidden",position:"absolute"}}},Rt)})},Ee)}return R.jsx(Kp,{...gt,isActive:Le,itemValue:Ee},Ee)}),!S&&!a&&R.jsxs($0,{className:Y(U.label,U.labelEmptyValue),ownerState:q,children:[R.jsx("input",{className:U.visuallyHidden,value:"",id:`${E}-empty`,type:"radio",name:E,checked:B==null,onFocus:()=>W(!0),onBlur:()=>W(!1),onChange:ge}),R.jsx("span",{className:U.visuallyHidden,children:s})]})]})});function v$(){const{light:e,toggle:t}=w.useContext(Ni);return R.jsxs(Dd,{onClick:t,sx:{color:"white"},children:["Swith to ",e?"Dark":"Light"," Mode"]})}/** * @remix-run/router v1.19.2 * * Copyright (c) Remix Software Inc. @@ -148,7 +148,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function ki(){return ki=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function $0(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function y$(){return Math.random().toString(36).substr(2,8)}function Qp(e,t){return{usr:e.state,key:e.key,idx:t}}function pc(e,t,n,r){return n===void 0&&(n=null),ki({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ho(t):t,{state:n,key:t&&t.key||r||y$()})}function dl(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 ho(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 x$(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,a=o.history,l=zn.Pop,s=null,u=f();u==null&&(u=0,a.replaceState(ki({},a.state,{idx:u}),""));function f(){return(a.state||{idx:null}).idx}function d(){l=zn.Pop;let b=f(),h=b==null?null:b-u;u=b,s&&s({action:l,location:x.location,delta:h})}function p(b,h){l=zn.Push;let m=pc(x.location,b,h);u=f()+1;let c=Qp(m,u),S=x.createHref(m);try{a.pushState(c,"",S)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;o.location.assign(S)}i&&s&&s({action:l,location:x.location,delta:1})}function y(b,h){l=zn.Replace;let m=pc(x.location,b,h);u=f();let c=Qp(m,u),S=x.createHref(m);a.replaceState(c,"",S),i&&s&&s({action:l,location:x.location,delta:0})}function g(b){let h=o.location.origin!=="null"?o.location.origin:o.location.href,m=typeof b=="string"?b:dl(b);return m=m.replace(/ $/,"%20"),Ae(h,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,h)}let x={get action(){return l},get location(){return e(o,a)},listen(b){if(s)throw new Error("A history only accepts one active listener");return o.addEventListener(Kp,d),s=b,()=>{o.removeEventListener(Kp,d),s=null}},createHref(b){return t(o,b)},createURL:g,encodeLocation(b){let h=g(b);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:p,replace:y,go(b){return a.go(b)}};return x}var Yp;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Yp||(Yp={}));function C$(e,t,n){return n===void 0&&(n="/"),S$(e,t,n,!1)}function S$(e,t,n,r){let o=typeof t=="string"?ho(t):t,i=Dd(o.pathname||"/",n);if(i==null)return null;let a=k0(e);w$(a);let l=null;for(let s=0;l==null&&s{let s={relativePath:l===void 0?i.path||"":l,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};s.relativePath.startsWith("/")&&(Ae(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let u=Un([r,s.relativePath]),f=n.concat(s);i.children&&i.children.length>0&&(Ae(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),k0(i.children,t,f,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:T$(u,i.index),routesMeta:f})};return e.forEach((i,a)=>{var l;if(i.path===""||!((l=i.path)!=null&&l.includes("?")))o(i,a);else for(let s of E0(i.path))o(i,a,s)}),t}function E0(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 a=E0(r.join("/")),l=[];return l.push(...a.map(s=>s===""?i:[i,s].join("/"))),o&&l.push(...a),l.map(s=>e.startsWith("/")&&s===""?"/":s)}function w$(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:O$(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const b$=/^:[\w-]+$/,$$=3,k$=2,E$=1,P$=10,R$=-2,Xp=e=>e==="*";function T$(e,t){let n=e.split("/"),r=n.length;return n.some(Xp)&&(r+=R$),t&&(r+=k$),n.filter(o=>!Xp(o)).reduce((o,i)=>o+(b$.test(i)?$$:i===""?E$:P$),r)}function O$(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 B$(e,t,n){let{routesMeta:r}=e,o={},i="/",a=[];for(let l=0;l{let{paramName:p,isOptional:y}=f;if(p==="*"){let x=l[d]||"";a=i.slice(0,i.length-x.length).replace(/(.)\/+$/,"$1")}const g=l[d];return y&&!g?u[p]=void 0:u[p]=(g||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:a,pattern:e}}function _$(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),$0(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,(a,l,s)=>(r.push({paramName:l,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function A$(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return $0(!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 Dd(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 M$(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?ho(e):e;return{pathname:n?n.startsWith("/")?n:I$(n,t):t,search:D$(r),hash:j$(o)}}function I$(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 ou(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 z$(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function P0(e,t){let n=z$(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function R0(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=ho(e):(o=ki({},e),Ae(!o.pathname||!o.pathname.includes("?"),ou("?","pathname","search",o)),Ae(!o.pathname||!o.pathname.includes("#"),ou("#","pathname","hash",o)),Ae(!o.search||!o.search.includes("#"),ou("#","search","hash",o)));let i=e===""||o.pathname==="",a=i?"/":o.pathname,l;if(a==null)l=n;else{let d=t.length-1;if(!r&&a.startsWith("..")){let p=a.split("/");for(;p[0]==="..";)p.shift(),d-=1;o.pathname=p.join("/")}l=d>=0?t[d]:"/"}let s=M$(o,l),u=a&&a!=="/"&&a.endsWith("/"),f=(i||a===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(u||f)&&(s.pathname+="/"),s}const Un=e=>e.join("/").replace(/\/\/+/g,"/"),N$=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),D$=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,j$=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function F$(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const T0=["post","put","patch","delete"];new Set(T0);const L$=["get",...T0];new Set(L$);/** + */function ki(){return ki=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function k0(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function x$(){return Math.random().toString(36).substr(2,8)}function Yp(e,t){return{usr:e.state,key:e.key,idx:t}}function mc(e,t,n,r){return n===void 0&&(n=null),ki({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ho(t):t,{state:n,key:t&&t.key||r||x$()})}function fl(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 ho(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 C$(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,a=o.history,l=zn.Pop,s=null,u=f();u==null&&(u=0,a.replaceState(ki({},a.state,{idx:u}),""));function f(){return(a.state||{idx:null}).idx}function d(){l=zn.Pop;let b=f(),h=b==null?null:b-u;u=b,s&&s({action:l,location:x.location,delta:h})}function p(b,h){l=zn.Push;let m=mc(x.location,b,h);u=f()+1;let c=Yp(m,u),S=x.createHref(m);try{a.pushState(c,"",S)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;o.location.assign(S)}i&&s&&s({action:l,location:x.location,delta:1})}function y(b,h){l=zn.Replace;let m=mc(x.location,b,h);u=f();let c=Yp(m,u),S=x.createHref(m);a.replaceState(c,"",S),i&&s&&s({action:l,location:x.location,delta:0})}function g(b){let h=o.location.origin!=="null"?o.location.origin:o.location.href,m=typeof b=="string"?b:fl(b);return m=m.replace(/ $/,"%20"),Ae(h,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,h)}let x={get action(){return l},get location(){return e(o,a)},listen(b){if(s)throw new Error("A history only accepts one active listener");return o.addEventListener(Qp,d),s=b,()=>{o.removeEventListener(Qp,d),s=null}},createHref(b){return t(o,b)},createURL:g,encodeLocation(b){let h=g(b);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:p,replace:y,go(b){return a.go(b)}};return x}var Xp;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Xp||(Xp={}));function S$(e,t,n){return n===void 0&&(n="/"),w$(e,t,n,!1)}function w$(e,t,n,r){let o=typeof t=="string"?ho(t):t,i=jd(o.pathname||"/",n);if(i==null)return null;let a=E0(e);b$(a);let l=null;for(let s=0;l==null&&s{let s={relativePath:l===void 0?i.path||"":l,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};s.relativePath.startsWith("/")&&(Ae(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let u=Un([r,s.relativePath]),f=n.concat(s);i.children&&i.children.length>0&&(Ae(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),E0(i.children,t,f,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:O$(u,i.index),routesMeta:f})};return e.forEach((i,a)=>{var l;if(i.path===""||!((l=i.path)!=null&&l.includes("?")))o(i,a);else for(let s of P0(i.path))o(i,a,s)}),t}function P0(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 a=P0(r.join("/")),l=[];return l.push(...a.map(s=>s===""?i:[i,s].join("/"))),o&&l.push(...a),l.map(s=>e.startsWith("/")&&s===""?"/":s)}function b$(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:B$(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const $$=/^:[\w-]+$/,k$=3,E$=2,P$=1,R$=10,T$=-2,qp=e=>e==="*";function O$(e,t){let n=e.split("/"),r=n.length;return n.some(qp)&&(r+=T$),t&&(r+=E$),n.filter(o=>!qp(o)).reduce((o,i)=>o+($$.test(i)?k$:i===""?P$:R$),r)}function B$(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 _$(e,t,n){let{routesMeta:r}=e,o={},i="/",a=[];for(let l=0;l{let{paramName:p,isOptional:y}=f;if(p==="*"){let x=l[d]||"";a=i.slice(0,i.length-x.length).replace(/(.)\/+$/,"$1")}const g=l[d];return y&&!g?u[p]=void 0:u[p]=(g||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:a,pattern:e}}function A$(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),k0(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,(a,l,s)=>(r.push({paramName:l,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function M$(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return k0(!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 jd(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 I$(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?ho(e):e;return{pathname:n?n.startsWith("/")?n:z$(n,t):t,search:j$(r),hash:F$(o)}}function z$(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 ou(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 N$(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function R0(e,t){let n=N$(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function T0(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=ho(e):(o=ki({},e),Ae(!o.pathname||!o.pathname.includes("?"),ou("?","pathname","search",o)),Ae(!o.pathname||!o.pathname.includes("#"),ou("#","pathname","hash",o)),Ae(!o.search||!o.search.includes("#"),ou("#","search","hash",o)));let i=e===""||o.pathname==="",a=i?"/":o.pathname,l;if(a==null)l=n;else{let d=t.length-1;if(!r&&a.startsWith("..")){let p=a.split("/");for(;p[0]==="..";)p.shift(),d-=1;o.pathname=p.join("/")}l=d>=0?t[d]:"/"}let s=I$(o,l),u=a&&a!=="/"&&a.endsWith("/"),f=(i||a===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(u||f)&&(s.pathname+="/"),s}const Un=e=>e.join("/").replace(/\/\/+/g,"/"),D$=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),j$=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,F$=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function L$(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const O0=["post","put","patch","delete"];new Set(O0);const H$=["get",...O0];new Set(H$);/** * React Router v6.26.2 * * Copyright (c) Remix Software Inc. @@ -157,7 +157,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Ei(){return Ei=Object.assign?Object.assign.bind():function(e){for(var t=1;t{l.current=!0}),w.useCallback(function(u,f){if(f===void 0&&(f={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let d=R0(u,JSON.parse(a),i,f.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Un([t,d.pathname])),(f.replace?r.replace:r.push)(d,f.state,f)},[t,r,a,i,e])}function _0(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=w.useContext(vr),{matches:o}=w.useContext(yr),{pathname:i}=ps(),a=JSON.stringify(P0(o,r.v7_relativeSplatPath));return w.useMemo(()=>R0(e,JSON.parse(a),i,n==="path"),[e,a,i,n])}function G$(e,t){return K$(e,t)}function K$(e,t,n,r){Di()||Ae(!1);let{navigator:o}=w.useContext(vr),{matches:i}=w.useContext(yr),a=i[i.length-1],l=a?a.params:{};a&&a.pathname;let s=a?a.pathnameBase:"/";a&&a.route;let u=ps(),f;if(t){var d;let b=typeof t=="string"?ho(t):t;s==="/"||(d=b.pathname)!=null&&d.startsWith(s)||Ae(!1),f=b}else f=u;let p=f.pathname||"/",y=p;if(s!=="/"){let b=s.replace(/^\//,"").split("/");y="/"+p.replace(/^\//,"").split("/").slice(b.length).join("/")}let g=C$(e,{pathname:y}),x=J$(g&&g.map(b=>Object.assign({},b,{params:Object.assign({},l,b.params),pathname:Un([s,o.encodeLocation?o.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?s:Un([s,o.encodeLocation?o.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),i,n,r);return t&&x?w.createElement(fs.Provider,{value:{location:Ei({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:zn.Pop}},x):x}function Q$(){let e=n2(),t=F$(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 w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),n?w.createElement("pre",{style:o},n):null,null)}const Y$=w.createElement(Q$,null);class X$ extends w.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?w.createElement(yr.Provider,{value:this.props.routeContext},w.createElement(O0.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function q$(e){let{routeContext:t,match:n,children:r}=e,o=w.useContext(jd);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(yr.Provider,{value:t},r)}function J$(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 a=e,l=(o=n)==null?void 0:o.errors;if(l!=null){let f=a.findIndex(d=>d.route.id&&(l==null?void 0:l[d.route.id])!==void 0);f>=0||Ae(!1),a=a.slice(0,Math.min(a.length,f+1))}let s=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f=0?a=a.slice(0,u+1):a=[a[0]];break}}}return a.reduceRight((f,d,p)=>{let y,g=!1,x=null,b=null;n&&(y=l&&d.route.id?l[d.route.id]:void 0,x=d.route.errorElement||Y$,s&&(u<0&&p===0?(g=!0,b=null):u===p&&(g=!0,b=d.route.hydrateFallbackElement||null)));let h=t.concat(a.slice(0,p+1)),m=()=>{let c;return y?c=x:g?c=b:d.route.Component?c=w.createElement(d.route.Component,null):d.route.element?c=d.route.element:c=f,w.createElement(q$,{match:d,routeContext:{outlet:f,matches:h,isDataRoute:n!=null},children:c})};return n&&(d.route.ErrorBoundary||d.route.errorElement||p===0)?w.createElement(X$,{location:n.location,revalidation:n.revalidation,component:x,error:y,children:m(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):m()},null)}var A0=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(A0||{}),fl=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}(fl||{});function Z$(e){let t=w.useContext(jd);return t||Ae(!1),t}function e2(e){let t=w.useContext(H$);return t||Ae(!1),t}function t2(e){let t=w.useContext(yr);return t||Ae(!1),t}function M0(e){let t=t2(),n=t.matches[t.matches.length-1];return n.route.id||Ae(!1),n.route.id}function n2(){var e;let t=w.useContext(O0),n=e2(fl.UseRouteError),r=M0(fl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function r2(){let{router:e}=Z$(A0.UseNavigateStable),t=M0(fl.UseNavigateStable),n=w.useRef(!1);return B0(()=>{n.current=!0}),w.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Ei({fromRouteId:t},i)))},[e,t])}function I0(e){Ae(!1)}function o2(e){let{basename:t="/",children:n=null,location:r,navigationType:o=zn.Pop,navigator:i,static:a=!1,future:l}=e;Di()&&Ae(!1);let s=t.replace(/^\/*/,"/"),u=w.useMemo(()=>({basename:s,navigator:i,static:a,future:Ei({v7_relativeSplatPath:!1},l)}),[s,l,i,a]);typeof r=="string"&&(r=ho(r));let{pathname:f="/",search:d="",hash:p="",state:y=null,key:g="default"}=r,x=w.useMemo(()=>{let b=Dd(f,s);return b==null?null:{location:{pathname:b,search:d,hash:p,state:y,key:g},navigationType:o}},[s,f,d,p,y,g,o]);return x==null?null:w.createElement(vr.Provider,{value:u},w.createElement(fs.Provider,{children:n,value:x}))}function i2(e){let{children:t,location:n}=e;return G$(mc(t),n)}new Promise(()=>{});function mc(e,t){t===void 0&&(t=[]);let n=[];return w.Children.forEach(e,(r,o)=>{if(!w.isValidElement(r))return;let i=[...t,o];if(r.type===w.Fragment){n.push.apply(n,mc(r.props.children,i));return}r.type!==I0&&Ae(!1),!r.props.index||!r.props.children||Ae(!1);let a={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&&(a.children=mc(r.props.children,i)),n.push(a)}),n}/** + */function Ei(){return Ei=Object.assign?Object.assign.bind():function(e){for(var t=1;t{l.current=!0}),w.useCallback(function(u,f){if(f===void 0&&(f={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let d=T0(u,JSON.parse(a),i,f.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Un([t,d.pathname])),(f.replace?r.replace:r.push)(d,f.state,f)},[t,r,a,i,e])}function A0(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=w.useContext(vr),{matches:o}=w.useContext(yr),{pathname:i}=ji(),a=JSON.stringify(R0(o,r.v7_relativeSplatPath));return w.useMemo(()=>T0(e,JSON.parse(a),i,n==="path"),[e,a,i,n])}function K$(e,t){return Q$(e,t)}function Q$(e,t,n,r){Di()||Ae(!1);let{navigator:o}=w.useContext(vr),{matches:i}=w.useContext(yr),a=i[i.length-1],l=a?a.params:{};a&&a.pathname;let s=a?a.pathnameBase:"/";a&&a.route;let u=ji(),f;if(t){var d;let b=typeof t=="string"?ho(t):t;s==="/"||(d=b.pathname)!=null&&d.startsWith(s)||Ae(!1),f=b}else f=u;let p=f.pathname||"/",y=p;if(s!=="/"){let b=s.replace(/^\//,"").split("/");y="/"+p.replace(/^\//,"").split("/").slice(b.length).join("/")}let g=S$(e,{pathname:y}),x=Z$(g&&g.map(b=>Object.assign({},b,{params:Object.assign({},l,b.params),pathname:Un([s,o.encodeLocation?o.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?s:Un([s,o.encodeLocation?o.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),i,n,r);return t&&x?w.createElement(ps.Provider,{value:{location:Ei({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:zn.Pop}},x):x}function Y$(){let e=r2(),t=L$(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 w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),n?w.createElement("pre",{style:o},n):null,null)}const X$=w.createElement(Y$,null);class q$ extends w.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?w.createElement(yr.Provider,{value:this.props.routeContext},w.createElement(B0.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function J$(e){let{routeContext:t,match:n,children:r}=e,o=w.useContext(Fd);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(yr.Provider,{value:t},r)}function Z$(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 a=e,l=(o=n)==null?void 0:o.errors;if(l!=null){let f=a.findIndex(d=>d.route.id&&(l==null?void 0:l[d.route.id])!==void 0);f>=0||Ae(!1),a=a.slice(0,Math.min(a.length,f+1))}let s=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f=0?a=a.slice(0,u+1):a=[a[0]];break}}}return a.reduceRight((f,d,p)=>{let y,g=!1,x=null,b=null;n&&(y=l&&d.route.id?l[d.route.id]:void 0,x=d.route.errorElement||X$,s&&(u<0&&p===0?(g=!0,b=null):u===p&&(g=!0,b=d.route.hydrateFallbackElement||null)));let h=t.concat(a.slice(0,p+1)),m=()=>{let c;return y?c=x:g?c=b:d.route.Component?c=w.createElement(d.route.Component,null):d.route.element?c=d.route.element:c=f,w.createElement(J$,{match:d,routeContext:{outlet:f,matches:h,isDataRoute:n!=null},children:c})};return n&&(d.route.ErrorBoundary||d.route.errorElement||p===0)?w.createElement(q$,{location:n.location,revalidation:n.revalidation,component:x,error:y,children:m(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):m()},null)}var M0=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(M0||{}),pl=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}(pl||{});function e2(e){let t=w.useContext(Fd);return t||Ae(!1),t}function t2(e){let t=w.useContext(W$);return t||Ae(!1),t}function n2(e){let t=w.useContext(yr);return t||Ae(!1),t}function I0(e){let t=n2(),n=t.matches[t.matches.length-1];return n.route.id||Ae(!1),n.route.id}function r2(){var e;let t=w.useContext(B0),n=t2(pl.UseRouteError),r=I0(pl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function o2(){let{router:e}=e2(M0.UseNavigateStable),t=I0(pl.UseNavigateStable),n=w.useRef(!1);return _0(()=>{n.current=!0}),w.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Ei({fromRouteId:t},i)))},[e,t])}function z0(e){Ae(!1)}function i2(e){let{basename:t="/",children:n=null,location:r,navigationType:o=zn.Pop,navigator:i,static:a=!1,future:l}=e;Di()&&Ae(!1);let s=t.replace(/^\/*/,"/"),u=w.useMemo(()=>({basename:s,navigator:i,static:a,future:Ei({v7_relativeSplatPath:!1},l)}),[s,l,i,a]);typeof r=="string"&&(r=ho(r));let{pathname:f="/",search:d="",hash:p="",state:y=null,key:g="default"}=r,x=w.useMemo(()=>{let b=jd(f,s);return b==null?null:{location:{pathname:b,search:d,hash:p,state:y,key:g},navigationType:o}},[s,f,d,p,y,g,o]);return x==null?null:w.createElement(vr.Provider,{value:u},w.createElement(ps.Provider,{children:n,value:x}))}function a2(e){let{children:t,location:n}=e;return K$(hc(t),n)}new Promise(()=>{});function hc(e,t){t===void 0&&(t=[]);let n=[];return w.Children.forEach(e,(r,o)=>{if(!w.isValidElement(r))return;let i=[...t,o];if(r.type===w.Fragment){n.push.apply(n,hc(r.props.children,i));return}r.type!==z0&&Ae(!1),!r.props.index||!r.props.children||Ae(!1);let a={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&&(a.children=hc(r.props.children,i)),n.push(a)}),n}/** * React Router DOM v6.26.2 * * Copyright (c) Remix Software Inc. @@ -166,4 +166,4 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function hc(){return hc=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function l2(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function s2(e,t){return e.button===0&&(!t||t==="_self")&&!l2(e)}const u2=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],c2="6";try{window.__reactRouterVersion=c2}catch{}const d2="startTransition",Jp=_a[d2];function f2(e){let{basename:t,children:n,future:r,window:o}=e,i=w.useRef();i.current==null&&(i.current=v$({window:o,v5Compat:!0}));let a=i.current,[l,s]=w.useState({action:a.action,location:a.location}),{v7_startTransition:u}=r||{},f=w.useCallback(d=>{u&&Jp?Jp(()=>s(d)):s(d)},[s,u]);return w.useLayoutEffect(()=>a.listen(f),[a,f]),w.createElement(o2,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:a,future:r})}const p2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",m2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,h2=w.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:a,state:l,target:s,to:u,preventScrollReset:f,unstable_viewTransition:d}=t,p=a2(t,u2),{basename:y}=w.useContext(vr),g,x=!1;if(typeof u=="string"&&m2.test(u)&&(g=u,p2))try{let c=new URL(window.location.href),S=u.startsWith("//")?new URL(c.protocol+u):new URL(u),C=Dd(S.pathname,y);S.origin===c.origin&&C!=null?u=C+S.search+S.hash:x=!0}catch{}let b=W$(u,{relative:o}),h=g2(u,{replace:a,state:l,target:s,preventScrollReset:f,relative:o,unstable_viewTransition:d});function m(c){r&&r(c),c.defaultPrevented||h(c)}return w.createElement("a",hc({},p,{href:g||b,onClick:x||i?r:m,ref:n,target:s}))});var Zp;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Zp||(Zp={}));var em;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(em||(em={}));function g2(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:a,unstable_viewTransition:l}=t===void 0?{}:t,s=V$(),u=ps(),f=_0(e,{relative:a});return w.useCallback(d=>{if(s2(d,n)){d.preventDefault();let p=r!==void 0?r:dl(u)===dl(f);s(e,{replace:p,state:o,preventScrollReset:i,relative:a,unstable_viewTransition:l})}},[u,s,f,r,o,n,e,i,a,l])}const tm=["Home","About","Contact"];function v2(){const[e,t]=w.useState(null),{theme:n}=w.useContext(Ni),r=i=>{t(i.currentTarget)},o=()=>{t(null)};return R.jsx(iw,{position:"static",color:n.header.backgroundColor,children:R.jsx(S0,{maxWidth:"xl",children:R.jsxs(fw,{disableGutters:!0,children:[R.jsx(Up,{sx:{display:{xs:"none",md:"flex"},mr:1}}),R.jsx(h2,{to:"/fer-lab1/",style:{textDecoration:"none"},children:R.jsx(In,{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"})}),R.jsxs($i,{sx:{flexGrow:1,display:{xs:"flex",md:"none"}},children:[R.jsx(Dw,{size:"large","aria-label":"account of current user","aria-controls":"menu-appbar","aria-haspopup":"true",onClick:r,color:"inherit",children:R.jsx(Hb,{})}),R.jsx(Lb,{id:"menu-appbar",anchorEl:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},keepMounted:!0,transformOrigin:{vertical:"top",horizontal:"left"},open:!!e,onClose:o,sx:{display:{xs:"block",md:"none"}},children:tm.map(i=>R.jsx(e$,{onClick:o,children:R.jsx(In,{sx:{textAlign:"center"},children:i})},i))})]}),R.jsx(Up,{sx:{display:{xs:"flex",md:"none"},mr:1}}),R.jsx(In,{variant:"h5",noWrap:!0,component:"a",href:"#app-bar-with-responsive-menu",sx:{mr:2,display:{xs:"flex",md:"none"},flexGrow:1,fontFamily:"monospace",fontWeight:700,letterSpacing:".3rem",color:"inherit",textDecoration:"none"},children:"LOGO"}),R.jsx($i,{sx:{flexGrow:1,display:{xs:"none",md:"flex"}},children:tm.map(i=>R.jsx(Nd,{onClick:o,sx:{my:2,color:"white",display:"block"},children:i},i))}),R.jsx(g$,{})]})})})}function y2(){const{theme:e}=w.useContext(Ni);return R.jsx($i,{component:"footer",sx:{py:3,px:2,mt:"auto",backgroundColor:e.footer.backgroundColor},className:"footer-content",children:R.jsx(S0,{maxWidth:"sm",children:R.jsxs(In,{variant:"body2",color:"text.secondary",align:"center",children:["No Copyright © ",new Date().getFullYear()]})})})}const Ao={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"}},z0="$$joy";function gc(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 _n(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 N0(e){if(!_n(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=N0(e[n])}),t}function vn(e,t,n={clone:!0}){const r=n.clone?A({},e):e;return _n(e)&&_n(t)&&Object.keys(t).forEach(o=>{_n(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&_n(e[o])?r[o]=vn(e[o],t[o],n):n.clone?r[o]=_n(t[o])?N0(t[o]):t[o]:r[o]=t[o]}),r}const S2=["values","unit","step"],w2=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>A({},n,{[r.key]:r.val}),{})};function D0(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Re(e,S2),i=w2(t),a=Object.keys(i);function l(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${n})`}function s(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-r/100}${n})`}function u(p,y){const g=a.indexOf(y);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${n}) and (max-width:${(g!==-1&&typeof t[a[g]]=="number"?t[a[g]]:y)-r/100}${n})`}function f(p){return a.indexOf(p)+1`@media (min-width:${Fd[e]}px)`};function bn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||nm;return t.reduce((a,l,s)=>(a[i.up(i.keys[s])]=n(t[s]),a),{})}if(typeof t=="object"){const i=r.breakpoints||nm;return Object.keys(t).reduce((a,l)=>{if(Object.keys(i.values||Fd).indexOf(l)!==-1){const s=i.up(l);a[s]=n(t[l],l)}else{const s=l;a[s]=t[s]}return a},{})}return n(t)}function $2(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function k2(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function un(e){if(typeof e!="string")throw new Error(gc(7));return e.charAt(0).toUpperCase()+e.slice(1)}function ms(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 pl(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=ms(e,n)||r,t&&(o=t(o,r,e)),o}function Oe(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=a=>{if(a[t]==null)return null;const l=a[t],s=a.theme,u=ms(s,r)||{};return bn(a,l,d=>{let p=pl(u,o,d);return d===p&&typeof d=="string"&&(p=pl(u,o,`${t}${d==="default"?"":un(d)}`,d)),n===!1?p:{[n]:p}})};return i.propTypes={},i.filterProps=[t],i}function E2(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const P2={m:"margin",p:"padding"},R2={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},rm={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},T2=E2(e=>{if(e.length>2)if(rm[e])e=rm[e];else return[e];const[t,n]=e.split(""),r=P2[t],o=R2[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),Ld=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Hd=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Ld,...Hd];function ji(e,t,n,r){var o;const i=(o=ms(e,t,!1))!=null?o:n;return typeof i=="number"?a=>typeof a=="string"?a:i*a:Array.isArray(i)?a=>typeof a=="string"?a:i[a]:typeof i=="function"?i:()=>{}}function j0(e){return ji(e,"spacing",8)}function Fi(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 O2(e,t){return n=>e.reduce((r,o)=>(r[o]=Fi(t,n),r),{})}function B2(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=T2(n),i=O2(o,r),a=e[n];return bn(e,a,i)}function F0(e,t){const n=j0(e.theme);return Object.keys(e).map(r=>B2(e,t,r,n)).reduce(Jo,{})}function we(e){return F0(e,Ld)}we.propTypes={};we.filterProps=Ld;function be(e){return F0(e,Hd)}be.propTypes={};be.filterProps=Hd;function L0(e=8){if(e.mui)return e;const t=j0({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" ");return n.mui=!0,n}function hs(...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]?Jo(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function At(e){return typeof e!="number"?e:`${e}px solid`}function Ht(e,t){return Oe({prop:e,themeKey:"borders",transform:t})}const _2=Ht("border",At),A2=Ht("borderTop",At),M2=Ht("borderRight",At),I2=Ht("borderBottom",At),z2=Ht("borderLeft",At),N2=Ht("borderColor"),D2=Ht("borderTopColor"),j2=Ht("borderRightColor"),F2=Ht("borderBottomColor"),L2=Ht("borderLeftColor"),H2=Ht("outline",At),W2=Ht("outlineColor"),gs=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=ji(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Fi(t,r)});return bn(e,e.borderRadius,n)}return null};gs.propTypes={};gs.filterProps=["borderRadius"];hs(_2,A2,M2,I2,z2,N2,D2,j2,F2,L2,gs,H2,W2);const vs=e=>{if(e.gap!==void 0&&e.gap!==null){const t=ji(e.theme,"spacing",8),n=r=>({gap:Fi(t,r)});return bn(e,e.gap,n)}return null};vs.propTypes={};vs.filterProps=["gap"];const ys=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=ji(e.theme,"spacing",8),n=r=>({columnGap:Fi(t,r)});return bn(e,e.columnGap,n)}return null};ys.propTypes={};ys.filterProps=["columnGap"];const xs=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=ji(e.theme,"spacing",8),n=r=>({rowGap:Fi(t,r)});return bn(e,e.rowGap,n)}return null};xs.propTypes={};xs.filterProps=["rowGap"];const V2=Oe({prop:"gridColumn"}),U2=Oe({prop:"gridRow"}),G2=Oe({prop:"gridAutoFlow"}),K2=Oe({prop:"gridAutoColumns"}),Q2=Oe({prop:"gridAutoRows"}),Y2=Oe({prop:"gridTemplateColumns"}),X2=Oe({prop:"gridTemplateRows"}),q2=Oe({prop:"gridTemplateAreas"}),J2=Oe({prop:"gridArea"});hs(vs,ys,xs,V2,U2,G2,K2,Q2,Y2,X2,q2,J2);function qr(e,t){return t==="grey"?t:e}const Z2=Oe({prop:"color",themeKey:"palette",transform:qr}),ek=Oe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:qr}),tk=Oe({prop:"backgroundColor",themeKey:"palette",transform:qr});hs(Z2,ek,tk);function xt(e){return e<=1&&e!==0?`${e*100}%`:e}const nk=Oe({prop:"width",transform:xt}),Wd=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])||Fd[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:xt(n)}};return bn(e,e.maxWidth,t)}return null};Wd.filterProps=["maxWidth"];const rk=Oe({prop:"minWidth",transform:xt}),ok=Oe({prop:"height",transform:xt}),ik=Oe({prop:"maxHeight",transform:xt}),ak=Oe({prop:"minHeight",transform:xt});Oe({prop:"size",cssProperty:"width",transform:xt});Oe({prop:"size",cssProperty:"height",transform:xt});const lk=Oe({prop:"boxSizing"});hs(nk,Wd,rk,ok,ik,ak,lk);const Cs={border:{themeKey:"borders",transform:At},borderTop:{themeKey:"borders",transform:At},borderRight:{themeKey:"borders",transform:At},borderBottom:{themeKey:"borders",transform:At},borderLeft:{themeKey:"borders",transform:At},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:At},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:gs},color:{themeKey:"palette",transform:qr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:qr},backgroundColor:{themeKey:"palette",transform:qr},p:{style:be},pt:{style:be},pr:{style:be},pb:{style:be},pl:{style:be},px:{style:be},py:{style:be},padding:{style:be},paddingTop:{style:be},paddingRight:{style:be},paddingBottom:{style:be},paddingLeft:{style:be},paddingX:{style:be},paddingY:{style:be},paddingInline:{style:be},paddingInlineStart:{style:be},paddingInlineEnd:{style:be},paddingBlock:{style:be},paddingBlockStart:{style:be},paddingBlockEnd:{style:be},m:{style:we},mt:{style:we},mr:{style:we},mb:{style:we},ml:{style:we},mx:{style:we},my:{style:we},margin:{style:we},marginTop:{style:we},marginRight:{style:we},marginBottom:{style:we},marginLeft:{style:we},marginX:{style:we},marginY:{style:we},marginInline:{style:we},marginInlineStart:{style:we},marginInlineEnd:{style:we},marginBlock:{style:we},marginBlockStart:{style:we},marginBlockEnd:{style:we},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:vs},rowGap:{style:xs},columnGap:{style:ys},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:xt},maxWidth:{style:Wd},minWidth:{transform:xt},height:{transform:xt},maxHeight:{transform:xt},minHeight:{transform:xt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function sk(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function uk(e,t){return typeof e=="function"?e(t):e}function ck(){function e(n,r,o,i){const a={[n]:r,theme:o},l=i[n];if(!l)return{[n]:r};const{cssProperty:s=n,themeKey:u,transform:f,style:d}=l;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const p=ms(o,u)||{};return d?d(a):bn(a,r,g=>{let x=pl(p,f,g);return g===x&&typeof g=="string"&&(x=pl(p,f,`${n}${g==="default"?"":un(g)}`,g)),s===!1?x:{[s]:x}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const a=(r=i.unstable_sxConfig)!=null?r:Cs;function l(s){let u=s;if(typeof s=="function")u=s(i);else if(typeof s!="object")return s;if(!u)return null;const f=$2(i.breakpoints),d=Object.keys(f);let p=f;return Object.keys(u).forEach(y=>{const g=uk(u[y],i);if(g!=null)if(typeof g=="object")if(a[y])p=Jo(p,e(y,g,i,a));else{const x=bn({theme:i},g,b=>({[y]:b}));sk(x,g)?p[y]=t({sx:g,theme:i}):p=Jo(p,x)}else p=Jo(p,e(y,g,i,a))}),k2(d,p)}return Array.isArray(o)?o.map(l):l(o)}return t}const Ss=ck();Ss.filterProps=["sx"];function H0(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 dk=["breakpoints","palette","spacing","shape"];function Vd(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,a=Re(e,dk),l=D0(n),s=L0(o);let u=vn({breakpoints:l,direction:"ltr",components:{},palette:A({mode:"light"},r),spacing:s,shape:A({},b2,i)},a);return u.applyStyles=H0,u=t.reduce((f,d)=>vn(f,d),u),u.unstable_sxConfig=A({},Cs,a==null?void 0:a.unstable_sxConfig),u.unstable_sx=function(d){return Ss({sx:d,theme:this})},u}function fk(e){return Object.keys(e).length===0}function pk(e=null){const t=w.useContext(wd);return!t||fk(t)?e:t}const mk=Vd();function W0(e=mk){return pk(e)}const hk=["sx"],gk=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:Cs;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function vk(e){const{sx:t}=e,n=Re(e,hk),{systemProps:r,otherProps:o}=gk(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...a)=>{const l=t(...a);return _n(l)?A({},r,l):r}:i=A({},r,t),A({},o,{sx:i})}const om=e=>e,yk=()=>{let e=om;return{configure(t){e=t},generate(t){return e(t)},reset(){e=om}}},xk=yk(),Ck={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 Ud(e,t,n="Mui"){const r=Ck[t];return r?`${n}-${r}`:`${xk.generate(e)}-${t}`}function Sk(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Ud(e,o,n)}),r}const wk=["ownerState"],bk=["variants"],$k=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function kk(e){return Object.keys(e).length===0}function Ek(e){return typeof e=="string"&&e.charCodeAt(0)>96}function iu(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Pk=Vd(),Rk=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function pa({defaultTheme:e,theme:t,themeId:n}){return kk(t)?e:t[n]||t}function Tk(e){return e?(t,n)=>n[e]:null}function Oa(e,t){let{ownerState:n}=t,r=Re(t,wk);const o=typeof e=="function"?e(A({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>Oa(i,A({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let l=Re(o,bk);return i.forEach(s=>{let u=!0;typeof s.props=="function"?u=s.props(A({ownerState:n},r,n)):Object.keys(s.props).forEach(f=>{(n==null?void 0:n[f])!==s.props[f]&&r[f]!==s.props[f]&&(u=!1)}),u&&(Array.isArray(l)||(l=[l]),l.push(typeof s.style=="function"?s.style(A({ownerState:n},r,n)):s.style))}),l}return o}function V0(e={}){const{themeId:t,defaultTheme:n=Pk,rootShouldForwardProp:r=iu,slotShouldForwardProp:o=iu}=e,i=a=>Ss(A({},a,{theme:pa(A({},a,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(a,l={})=>{C2(a,C=>C.filter(k=>!(k!=null&&k.__mui_systemSx)));const{name:s,slot:u,skipVariantsResolver:f,skipSx:d,overridesResolver:p=Tk(Rk(u))}=l,y=Re(l,$k),g=f!==void 0?f:u&&u!=="Root"&&u!=="root"||!1,x=d||!1;let b,h=iu;u==="Root"||u==="root"?h=r:u?h=o:Ek(a)&&(h=void 0);const m=x2(a,A({shouldForwardProp:h,label:b},y)),c=C=>typeof C=="function"&&C.__emotion_real!==C||_n(C)?k=>Oa(C,A({},k,{theme:pa({theme:k.theme,defaultTheme:n,themeId:t})})):C,S=(C,...k)=>{let $=c(C);const E=k?k.map(c):[];s&&p&&E.push(B=>{const M=pa(A({},B,{defaultTheme:n,themeId:t}));if(!M.components||!M.components[s]||!M.components[s].styleOverrides)return null;const N=M.components[s].styleOverrides,z={};return Object.entries(N).forEach(([j,I])=>{z[j]=Oa(I,A({},B,{theme:M}))}),p(B,z)}),s&&!g&&E.push(B=>{var M;const N=pa(A({},B,{defaultTheme:n,themeId:t})),z=N==null||(M=N.components)==null||(M=M[s])==null?void 0:M.variants;return Oa({variants:z},A({},B,{theme:N}))}),x||E.push(i);const v=E.length-k.length;if(Array.isArray(C)&&v>0){const B=new Array(v).fill("");$=[...C,...B],$.raw=[...C.raw,...B]}const P=m($,...E);return a.muiName&&(P.muiName=a.muiName),P};return m.withConfig&&(S.withConfig=m.withConfig),S}}const Ok=V0();function U0(e,t){const n=A({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=A({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=A({},i),Object.keys(o).forEach(a=>{n[r][a]=U0(o[a],i[a])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function Bk(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:U0(t.components[n].defaultProps,r)}function G0({props:e,name:t,defaultTheme:n,themeId:r}){let o=W0(n);return r&&(o=o[r]||o),Bk({theme:o,name:t,props:e})}function _k(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 K0(e){if(e.type)return e;if(e.charAt(0)==="#")return K0(_k(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(gc(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(gc(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const Jn=e=>{const t=K0(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};function Q0(e,t){var n,r;return w.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 Ak(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Mk(...e){return w.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Ak(n,t)})},e)}function Ik(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,a)=>{if(a){const l=t(a);l!==""&&i.push(l),n&&n[a]&&i.push(n[a])}return i},[]).join(" ")}),r}function Gd(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 im=(e,t,n,r=[])=>{let o=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(o)?o[Number(i)]=n:o&&typeof o=="object"&&(o[i]=n):o&&typeof o=="object"&&(o[i]||(o[i]=r.includes(i)?[]:{}),o=o[i])})},zk=(e,t,n)=>{function r(o,i=[],a=[]){Object.entries(o).forEach(([l,s])=>{(!n||n&&!n([...i,l]))&&s!=null&&(typeof s=="object"&&Object.keys(s).length>0?r(s,[...i,l],Array.isArray(s)?[...a,l]:a):t([...i,l],s,a))})}r(e)},Nk=(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 au(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},a={};return zk(e,(l,s,u)=>{if((typeof s=="string"||typeof s=="number")&&(!r||!r(l,s))){const f=`--${n?`${n}-`:""}${l.join("-")}`;Object.assign(o,{[f]:Nk(l,s)}),im(i,l,`var(${f})`,u),im(a,l,`var(${f}, ${s})`,u)}},l=>l[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function Pi(e){"@babel/helpers - typeof";return Pi=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},Pi(e)}function Dk(e,t){if(Pi(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Pi(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function jk(e){var t=Dk(e,"string");return Pi(t)=="symbol"?t:t+""}const Fk=["colorSchemes","components","defaultColorScheme"];function Lk(e,t){const{colorSchemes:n={},defaultColorScheme:r="light"}=e,o=Re(e,Fk),{vars:i,css:a,varsWithDefaults:l}=au(o,t);let s=l;const u={},{[r]:f}=n,d=Re(n,[r].map(jk));if(Object.entries(d||{}).forEach(([y,g])=>{const{vars:x,css:b,varsWithDefaults:h}=au(g,t);s=vn(s,h),u[y]={css:b,vars:x}}),f){const{css:y,vars:g,varsWithDefaults:x}=au(f,t);s=vn(s,x),u[r]={css:y,vars:g}}return{vars:s,generateCssVars:y=>{var g;if(!y){var x;const h=A({},a);return{css:h,vars:i,selector:(t==null||(x=t.getSelector)==null?void 0:x.call(t,y,h))||":root"}}const b=A({},u[y].css);return{css:b,vars:u[y].vars,selector:(t==null||(g=t.getSelector)==null?void 0:g.call(t,y,b))||":root"}}}}const Hk=(e,t)=>e.filter(n=>t.includes(n)),go=(e,t,n)=>{const r=e.keys[0];Array.isArray(t)?t.forEach((o,i)=>{n((a,l)=>{i<=e.keys.length-1&&(i===0?Object.assign(a,l):a[e.up(e.keys[i])]=l)},o)}):t&&typeof t=="object"?(Object.keys(t).length>e.keys.length?e.keys:Hk(e.keys,Object.keys(t))).forEach(i=>{if(e.keys.indexOf(i)!==-1){const a=t[i];a!==void 0&&n((l,s)=>{r===i?Object.assign(l,s):l[e.up(i)]=s},a)}}):(typeof t=="number"||typeof t=="string")&&n((o,i)=>{Object.assign(o,i)},t)};function $n(e){return e?`Level${e}`:""}function Li(e){return e.unstable_level>0&&e.container}function Y0(e){return function(n){return`var(--Grid-${n}Spacing${$n(e.unstable_level)})`}}function Kd(e){return function(n){return e.unstable_level===0?`var(--Grid-${n}Spacing)`:`var(--Grid-${n}Spacing${$n(e.unstable_level-1)})`}}function Qd(e){return e.unstable_level===0?"var(--Grid-columns)":`var(--Grid-columns${$n(e.unstable_level-1)})`}const Wk=({theme:e,ownerState:t})=>{const n=Y0(t),r={};return go(e.breakpoints,t.gridSize,(o,i)=>{let a={};i===!0&&(a={flexBasis:0,flexGrow:1,maxWidth:"100%"}),i==="auto"&&(a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),typeof i=="number"&&(a={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${i} / ${Qd(t)}${Li(t)?` + ${n("column")}`:""})`}),o(r,a)}),r},Vk=({theme:e,ownerState:t})=>{const n={};return go(e.breakpoints,t.gridOffset,(r,o)=>{let i={};o==="auto"&&(i={marginLeft:"auto"}),typeof o=="number"&&(i={marginLeft:o===0?"0px":`calc(100% * ${o} / ${Qd(t)})`}),r(n,i)}),n},Uk=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Li(t)?{[`--Grid-columns${$n(t.unstable_level)}`]:Qd(t)}:{"--Grid-columns":12};return go(e.breakpoints,t.columns,(r,o)=>{r(n,{[`--Grid-columns${$n(t.unstable_level)}`]:o})}),n},Gk=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Kd(t),r=Li(t)?{[`--Grid-rowSpacing${$n(t.unstable_level)}`]:n("row")}:{};return go(e.breakpoints,t.rowSpacing,(o,i)=>{var a;o(r,{[`--Grid-rowSpacing${$n(t.unstable_level)}`]:typeof i=="string"?i:(a=e.spacing)==null?void 0:a.call(e,i)})}),r},Kk=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Kd(t),r=Li(t)?{[`--Grid-columnSpacing${$n(t.unstable_level)}`]:n("column")}:{};return go(e.breakpoints,t.columnSpacing,(o,i)=>{var a;o(r,{[`--Grid-columnSpacing${$n(t.unstable_level)}`]:typeof i=="string"?i:(a=e.spacing)==null?void 0:a.call(e,i)})}),r},Qk=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return go(e.breakpoints,t.direction,(r,o)=>{r(n,{flexDirection:o})}),n},Yk=({ownerState:e})=>{const t=Y0(e),n=Kd(e);return A({minWidth:0,boxSizing:"border-box"},e.container&&A({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||Li(e))&&A({padding:`calc(${n("row")} / 2) calc(${n("column")} / 2)`},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:`${n("row")} 0px 0px ${n("column")}`}))},Xk=e=>{const t=[];return Object.entries(e).forEach(([n,r])=>{r!==!1&&r!==void 0&&t.push(`grid-${n}-${String(r)}`)}),t},qk=(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[]},Jk=e=>e===void 0?[]:typeof e=="object"?Object.entries(e).map(([t,n])=>`direction-${t}-${n}`):[`direction-xs-${String(e)}`],Zk=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],eE=Vd(),tE=Ok("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function nE(e){return G0({props:e,name:"MuiGrid",defaultTheme:eE})}function rE(e={}){const{createStyledComponent:t=tE,useThemeProps:n=nE,componentName:r="MuiGrid"}=e,o=w.createContext(void 0),i=(s,u)=>{const{container:f,direction:d,spacing:p,wrap:y,gridSize:g}=s,x={root:["root",f&&"container",y!=="wrap"&&`wrap-xs-${String(y)}`,...Jk(d),...Xk(g),...f?qk(p,u.breakpoints.keys[0]):[]]};return Ik(x,b=>Ud(r,b),{})},a=t(Uk,Kk,Gk,Wk,Qk,Yk,Vk),l=w.forwardRef(function(u,f){var d,p,y,g,x,b,h,m;const c=W0(),S=n(u),C=vk(S),k=w.useContext(o),{className:$,children:E,columns:v=12,container:P=!1,component:B="div",direction:M="row",wrap:N="wrap",spacing:z=0,rowSpacing:j=z,columnSpacing:I=z,disableEqualOverflow:L,unstable_level:O=0}=C,D=Re(C,Zk);let V=L;O&&L!==void 0&&(V=u.disableEqualOverflow);const Q={},K={},ge={};Object.entries(D).forEach(([F,G])=>{c.breakpoints.values[F]!==void 0?Q[F]=G:c.breakpoints.values[F.replace("Offset","")]!==void 0?K[F.replace("Offset","")]=G:ge[F]=G});const Z=(d=u.columns)!=null?d:O?void 0:v,Ie=(p=u.spacing)!=null?p:O?void 0:z,ke=(y=(g=u.rowSpacing)!=null?g:u.spacing)!=null?y:O?void 0:j,ne=(x=(b=u.columnSpacing)!=null?b:u.spacing)!=null?x:O?void 0:I,W=A({},C,{level:O,columns:Z,container:P,direction:M,wrap:N,spacing:Ie,rowSpacing:ke,columnSpacing:ne,gridSize:Q,gridOffset:K,disableEqualOverflow:(h=(m=V)!=null?m:k)!=null?h:!1,parentDisableEqualOverflow:k}),q=i(W,c);let U=R.jsx(a,A({ref:f,as:B,ownerState:W,className:Y(q.root,$)},ge,{children:w.Children.map(E,F=>{if(w.isValidElement(F)&&Q0(F,["Grid"])){var G;return w.cloneElement(F,{unstable_level:(G=F.props.unstable_level)!=null?G:O+1})}return F})}));return V!==void 0&&V!==(k??!1)&&(U=R.jsx(o.Provider,{value:V,children:U})),U});return l.muiName="Grid",l}const oE=A({},Cs,{borderRadius:{themeKey:"radius"},boxShadow:{themeKey:"shadow"},fontFamily:{themeKey:"fontFamily"},fontSize:{themeKey:"fontSize"},fontWeight:{themeKey:"fontWeight"},letterSpacing:{themeKey:"letterSpacing"},lineHeight:{themeKey:"lineHeight"}});function iE(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 vo=(e,t)=>Ud(e,t,"Mui"),xr=(e,t)=>Sk(e,t,"Mui"),aE=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))$/)}),am=(e,t,n)=>{t.includes("Color")&&(e.color=n),t.includes("Bg")&&(e.backgroundColor=n),t.includes("Border")&&(e.borderColor=n)},lm=(e,t,n)=>{const r={};return Object.entries(t||{}).forEach(([o,i])=>{if(o.match(new RegExp(`${e}(color|bg|border)`,"i"))&&i){const a=n?n(o):i;o.includes("Disabled")&&(r.pointerEvents="none",r.cursor="default",r["--Icon-color"]="currentColor"),o.match(/(Hover|Active|Disabled)/)||(r["--variant-borderWidth"]||(r["--variant-borderWidth"]="0px"),o.includes("Border")&&(r["--variant-borderWidth"]="1px",r.border="var(--variant-borderWidth) solid")),am(r,o,a)}}),r},Ye=(e,t)=>{let n={};if(t){const{getCssVar:r,palette:o}=t;Object.entries(o).forEach(i=>{const[a,l]=i;aE(l)&&typeof l=="object"&&(n=A({},n,{[a]:lm(e,l,s=>`var(--variant-${s}, ${r(`palette-${a}-${s}`,o[a][s])})`)}))})}return n.context=lm(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},lE=["cssVarPrefix","breakpoints","spacing","components","variants","shouldSkipGeneratingVar"],sE=["colorSchemes"],uE=(e="joy")=>Gd(e);function cE(e){var t,n,r,o,i,a,l,s,u,f;const d={},{cssVarPrefix:p="joy",breakpoints:y,spacing:g,components:x,variants:b,shouldSkipGeneratingVar:h=iE}=d,m=Re(d,lE),c=uE(p),S={primary:Ao.blue,neutral:Ao.grey,danger:Ao.red,success:Ao.green,warning:Ao.yellow,common:{white:"#FFF",black:"#000"}},C=W=>{var q;const U=W.split("-"),F=U[1],G=U[2];return c(W,(q=S[F])==null?void 0:q[G])},k=W=>({plainColor:C(`palette-${W}-500`),plainHoverBg:C(`palette-${W}-100`),plainActiveBg:C(`palette-${W}-200`),plainDisabledColor:C("palette-neutral-400"),outlinedColor:C(`palette-${W}-500`),outlinedBorder:C(`palette-${W}-300`),outlinedHoverBg:C(`palette-${W}-100`),outlinedActiveBg:C(`palette-${W}-200`),outlinedDisabledColor:C("palette-neutral-400"),outlinedDisabledBorder:C("palette-neutral-200"),softColor:C(`palette-${W}-700`),softBg:C(`palette-${W}-100`),softHoverBg:C(`palette-${W}-200`),softActiveColor:C(`palette-${W}-800`),softActiveBg:C(`palette-${W}-300`),softDisabledColor:C("palette-neutral-400"),softDisabledBg:C("palette-neutral-50"),solidColor:C("palette-common-white"),solidBg:C(`palette-${W}-500`),solidHoverBg:C(`palette-${W}-600`),solidActiveBg:C(`palette-${W}-700`),solidDisabledColor:C("palette-neutral-400"),solidDisabledBg:C("palette-neutral-100")}),$=W=>({plainColor:C(`palette-${W}-300`),plainHoverBg:C(`palette-${W}-800`),plainActiveBg:C(`palette-${W}-700`),plainDisabledColor:C("palette-neutral-500"),outlinedColor:C(`palette-${W}-200`),outlinedBorder:C(`palette-${W}-700`),outlinedHoverBg:C(`palette-${W}-800`),outlinedActiveBg:C(`palette-${W}-700`),outlinedDisabledColor:C("palette-neutral-500"),outlinedDisabledBorder:C("palette-neutral-800"),softColor:C(`palette-${W}-200`),softBg:C(`palette-${W}-800`),softHoverBg:C(`palette-${W}-700`),softActiveColor:C(`palette-${W}-100`),softActiveBg:C(`palette-${W}-600`),softDisabledColor:C("palette-neutral-500"),softDisabledBg:C("palette-neutral-800"),solidColor:C("palette-common-white"),solidBg:C(`palette-${W}-500`),solidHoverBg:C(`palette-${W}-600`),solidActiveBg:C(`palette-${W}-700`),solidDisabledColor:C("palette-neutral-500"),solidDisabledBg:C("palette-neutral-800")}),E={palette:{mode:"light",primary:A({},S.primary,k("primary")),neutral:A({},S.neutral,k("neutral"),{plainColor:C("palette-neutral-700"),plainHoverColor:C("palette-neutral-900"),outlinedColor:C("palette-neutral-700")}),danger:A({},S.danger,k("danger")),success:A({},S.success,k("success")),warning:A({},S.warning,k("warning")),common:{white:"#FFF",black:"#000"},text:{primary:C("palette-neutral-800"),secondary:C("palette-neutral-700"),tertiary:C("palette-neutral-600"),icon:C("palette-neutral-500")},background:{body:C("palette-common-white"),surface:C("palette-neutral-50"),popup:C("palette-common-white"),level1:C("palette-neutral-100"),level2:C("palette-neutral-200"),level3:C("palette-neutral-300"),tooltip:C("palette-neutral-500"),backdrop:`rgba(${c("palette-neutral-darkChannel",Jn(S.neutral[900]))} / 0.25)`},divider:`rgba(${c("palette-neutral-mainChannel",Jn(S.neutral[500]))} / 0.2)`,focusVisible:C("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"21 21 21",shadowOpacity:"0.08"},v={palette:{mode:"dark",primary:A({},S.primary,$("primary")),neutral:A({},S.neutral,$("neutral"),{plainColor:C("palette-neutral-300"),plainHoverColor:C("palette-neutral-300")}),danger:A({},S.danger,$("danger")),success:A({},S.success,$("success")),warning:A({},S.warning,$("warning")),common:{white:"#FFF",black:"#000"},text:{primary:C("palette-neutral-100"),secondary:C("palette-neutral-300"),tertiary:C("palette-neutral-400"),icon:C("palette-neutral-400")},background:{body:C("palette-common-black"),surface:C("palette-neutral-900"),popup:C("palette-common-black"),level1:C("palette-neutral-800"),level2:C("palette-neutral-700"),level3:C("palette-neutral-600"),tooltip:C("palette-neutral-600"),backdrop:`rgba(${c("palette-neutral-darkChannel",Jn(S.neutral[50]))} / 0.25)`},divider:`rgba(${c("palette-neutral-mainChannel",Jn(S.neutral[500]))} / 0.16)`,focusVisible:C("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"0 0 0",shadowOpacity:"0.6"},P='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',B=A({body:`"Inter", ${c(`fontFamily-fallback, ${P}`)}`,display:`"Inter", ${c(`fontFamily-fallback, ${P}`)}`,code:"Source Code Pro,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",fallback:P},m.fontFamily),M=A({sm:300,md:500,lg:600,xl:700},m.fontWeight),N=A({xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem",xl2:"1.5rem",xl3:"1.875rem",xl4:"2.25rem"},m.fontSize),z=A({xs:"1.33334",sm:"1.42858",md:"1.5",lg:"1.55556",xl:"1.66667"},m.lineHeight),j=(t=(n=m.colorSchemes)==null||(n=n.light)==null?void 0:n.shadowRing)!=null?t:E.shadowRing,I=(r=(o=m.colorSchemes)==null||(o=o.light)==null?void 0:o.shadowChannel)!=null?r:E.shadowChannel,L=(i=(a=m.colorSchemes)==null||(a=a.light)==null?void 0:a.shadowOpacity)!=null?i:E.shadowOpacity,O={colorSchemes:{light:E,dark:v},fontSize:N,fontFamily:B,fontWeight:M,focus:{thickness:"2px",selector:`&.${vo("","focusVisible")}, &:focus-visible`,default:{outlineOffset:`var(--focus-outline-offset, ${c("focus-thickness",(l=(s=m.focus)==null?void 0:s.thickness)!=null?l:"2px")})`,outline:`${c("focus-thickness",(u=(f=m.focus)==null?void 0:f.thickness)!=null?u:"2px")} solid ${c("palette-focusVisible",S.primary[500])}`}},lineHeight:z,radius:{xs:"2px",sm:"6px",md:"8px",lg:"12px",xl:"16px"},shadow:{xs:`${c("shadowRing",j)}, 0px 1px 2px 0px rgba(${c("shadowChannel",I)} / ${c("shadowOpacity",L)})`,sm:`${c("shadowRing",j)}, 0px 1px 2px 0px rgba(${c("shadowChannel",I)} / ${c("shadowOpacity",L)}), 0px 2px 4px 0px rgba(${c("shadowChannel",I)} / ${c("shadowOpacity",L)})`,md:`${c("shadowRing",j)}, 0px 2px 8px -2px rgba(${c("shadowChannel",I)} / ${c("shadowOpacity",L)}), 0px 6px 12px -2px rgba(${c("shadowChannel",I)} / ${c("shadowOpacity",L)})`,lg:`${c("shadowRing",j)}, 0px 2px 8px -2px rgba(${c("shadowChannel",I)} / ${c("shadowOpacity",L)}), 0px 12px 16px -4px rgba(${c("shadowChannel",I)} / ${c("shadowOpacity",L)})`,xl:`${c("shadowRing",j)}, 0px 2px 8px -2px rgba(${c("shadowChannel",I)} / ${c("shadowOpacity",L)}), 0px 20px 24px -4px rgba(${c("shadowChannel",I)} / ${c("shadowOpacity",L)})`},zIndex:{badge:1,table:10,popup:1e3,modal:1300,snackbar:1400,tooltip:1500},typography:{h1:{fontFamily:c(`fontFamily-display, ${B.display}`),fontWeight:c(`fontWeight-xl, ${M.xl}`),fontSize:c(`fontSize-xl4, ${N.xl4}`),lineHeight:c(`lineHeight-xs, ${z.xs}`),letterSpacing:"-0.025em",color:c(`palette-text-primary, ${E.palette.text.primary}`)},h2:{fontFamily:c(`fontFamily-display, ${B.display}`),fontWeight:c(`fontWeight-xl, ${M.xl}`),fontSize:c(`fontSize-xl3, ${N.xl3}`),lineHeight:c(`lineHeight-xs, ${z.xs}`),letterSpacing:"-0.025em",color:c(`palette-text-primary, ${E.palette.text.primary}`)},h3:{fontFamily:c(`fontFamily-display, ${B.display}`),fontWeight:c(`fontWeight-lg, ${M.lg}`),fontSize:c(`fontSize-xl2, ${N.xl2}`),lineHeight:c(`lineHeight-xs, ${z.xs}`),letterSpacing:"-0.025em",color:c(`palette-text-primary, ${E.palette.text.primary}`)},h4:{fontFamily:c(`fontFamily-display, ${B.display}`),fontWeight:c(`fontWeight-lg, ${M.lg}`),fontSize:c(`fontSize-xl, ${N.xl}`),lineHeight:c(`lineHeight-md, ${z.md}`),letterSpacing:"-0.025em",color:c(`palette-text-primary, ${E.palette.text.primary}`)},"title-lg":{fontFamily:c(`fontFamily-body, ${B.body}`),fontWeight:c(`fontWeight-lg, ${M.lg}`),fontSize:c(`fontSize-lg, ${N.lg}`),lineHeight:c(`lineHeight-xs, ${z.xs}`),color:c(`palette-text-primary, ${E.palette.text.primary}`)},"title-md":{fontFamily:c(`fontFamily-body, ${B.body}`),fontWeight:c(`fontWeight-md, ${M.md}`),fontSize:c(`fontSize-md, ${N.md}`),lineHeight:c(`lineHeight-md, ${z.md}`),color:c(`palette-text-primary, ${E.palette.text.primary}`)},"title-sm":{fontFamily:c(`fontFamily-body, ${B.body}`),fontWeight:c(`fontWeight-md, ${M.md}`),fontSize:c(`fontSize-sm, ${N.sm}`),lineHeight:c(`lineHeight-sm, ${z.sm}`),color:c(`palette-text-primary, ${E.palette.text.primary}`)},"body-lg":{fontFamily:c(`fontFamily-body, ${B.body}`),fontSize:c(`fontSize-lg, ${N.lg}`),lineHeight:c(`lineHeight-md, ${z.md}`),color:c(`palette-text-secondary, ${E.palette.text.secondary}`)},"body-md":{fontFamily:c(`fontFamily-body, ${B.body}`),fontSize:c(`fontSize-md, ${N.md}`),lineHeight:c(`lineHeight-md, ${z.md}`),color:c(`palette-text-secondary, ${E.palette.text.secondary}`)},"body-sm":{fontFamily:c(`fontFamily-body, ${B.body}`),fontSize:c(`fontSize-sm, ${N.sm}`),lineHeight:c(`lineHeight-md, ${z.md}`),color:c(`palette-text-tertiary, ${E.palette.text.tertiary}`)},"body-xs":{fontFamily:c(`fontFamily-body, ${B.body}`),fontWeight:c(`fontWeight-md, ${M.md}`),fontSize:c(`fontSize-xs, ${N.xs}`),lineHeight:c(`lineHeight-md, ${z.md}`),color:c(`palette-text-tertiary, ${E.palette.text.tertiary}`)}}},D=m?vn(O,m):O,{colorSchemes:V}=D,Q=Re(D,sE),K=A({colorSchemes:V},Q,{breakpoints:D0(y??{}),components:vn({MuiSvgIcon:{defaultProps:{fontSize:"xl2"},styleOverrides:{root:({ownerState:W,theme:q})=>{var U;const F=W.instanceFontSize;return A({margin:"var(--Icon-margin)"},W.fontSize&&W.fontSize!=="inherit"&&{fontSize:`var(--Icon-fontSize, ${q.vars.fontSize[W.fontSize]})`},!W.htmlColor&&A({color:`var(--Icon-color, ${K.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)`}),F&&F!=="inherit"&&{"--Icon-fontSize":q.vars.fontSize[F]})}}}},x),cssVarPrefix:p,getCssVar:c,spacing:L0(g)});function ge(W,q){Object.keys(q).forEach(U=>{const F={main:"500",light:"200",dark:"700"};W==="dark"&&(F.main=400),!q[U].mainChannel&&q[U][F.main]&&(q[U].mainChannel=Jn(q[U][F.main])),!q[U].lightChannel&&q[U][F.light]&&(q[U].lightChannel=Jn(q[U][F.light])),!q[U].darkChannel&&q[U][F.dark]&&(q[U].darkChannel=Jn(q[U][F.dark]))})}Object.entries(K.colorSchemes).forEach(([W,q])=>{ge(W,q.palette)});const Z={prefix:p,shouldSkipGeneratingVar:h},{vars:Ie,generateCssVars:ke}=Lk(A({colorSchemes:V},Q),Z);K.vars=Ie,K.generateCssVars=ke,K.unstable_sxConfig=A({},oE,void 0),K.unstable_sx=function(q){return Ss({sx:q,theme:this})},K.getColorSchemeSelector=W=>W==="light"?"&":`&[data-joy-color-scheme="${W}"], [data-joy-color-scheme="${W}"] &`;const ne={getCssVar:c,palette:K.colorSchemes.light.palette};return K.variants=vn({plain:Ye("plain",ne),plainHover:Ye("plainHover",ne),plainActive:Ye("plainActive",ne),plainDisabled:Ye("plainDisabled",ne),outlined:Ye("outlined",ne),outlinedHover:Ye("outlinedHover",ne),outlinedActive:Ye("outlinedActive",ne),outlinedDisabled:Ye("outlinedDisabled",ne),soft:Ye("soft",ne),softHover:Ye("softHover",ne),softActive:Ye("softActive",ne),softDisabled:Ye("softDisabled",ne),solid:Ye("solid",ne),solidHover:Ye("solidHover",ne),solidActive:Ye("solidActive",ne),solidDisabled:Ye("solidDisabled",ne)},b),K.palette=A({},K.colorSchemes.light.palette,{colorScheme:"light"}),K.shouldSkipGeneratingVar=h,K.applyStyles=H0,K}const X0=cE(),En=V0({defaultTheme:X0,themeId:z0});function yo({props:e,name:t}){return G0({props:e,name:t,defaultTheme:A({},X0,{components:{}}),themeId:z0})}function dE(e){return typeof e=="string"}function fE(e,t,n){return e===void 0||dE(e)?t:A({},t,{ownerState:A({},t.ownerState,n)})}function pE(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 mE(e,t,n){return typeof e=="function"?e(t,n):e}function Hi(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,a)=>{if(a){const l=t(a);l!==""&&i.push(l),n&&n[a]&&i.push(n[a])}return i},[]).join(" ")}),r}function sm(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 hE(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const y=Y(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),g=A({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),x=A({},n,o,r);return y.length>0&&(x.className=y),Object.keys(g).length>0&&(x.style=g),{props:x,internalRef:void 0}}const a=pE(A({},o,r)),l=sm(r),s=sm(o),u=t(a),f=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=A({},u==null?void 0:u.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),p=A({},u,n,s,l);return f.length>0&&(p.className=f),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:u.ref}}const gE=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],vE=["component","slots","slotProps"],yE=["component"];function lo(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,getSlotOwnerState:a,internalForwardedProps:l}=t,s=Re(t,gE),{component:u,slots:f={[e]:void 0},slotProps:d={[e]:void 0}}=i,p=Re(i,vE),y=f[e]||r,g=mE(d[e],o),x=hE(A({className:n},s,{externalForwardedProps:e==="root"?p:void 0,externalSlotProps:g})),{props:{component:b},internalRef:h}=x,m=Re(x.props,yE),c=Mk(h,g==null?void 0:g.ref,t.ref),S=a?a(m):{},C=A({},o,S),k=e==="root"?b||u:b,$=fE(y,A({},e==="root"&&!u&&!f[e]&&l,e!=="root"&&!f[e]&&l,m,k&&{as:k},{ref:c}),C);return Object.keys(S).forEach(E=>{delete $[E]}),[y,$]}const xE=({theme:e,ownerState:t},n)=>{let r={};function o(i){if(typeof i=="function"){const a=i(e);o(a)}else Array.isArray(i)?i.forEach(a=>{typeof a!="boolean"&&o(a)}):typeof i=="object"&&(r=A({},r,i))}return t.sx&&(o(t.sx),n.forEach(i=>{const a=r[i];if(typeof a=="string"||typeof a=="number")if(i==="borderRadius")if(typeof a=="number")r[i]=`${a}px`;else{var l;r[i]=((l=e.vars)==null?void 0:l.radius[a])||a}else["p","padding","m","margin"].indexOf(i)!==-1&&typeof a=="number"?r[i]=e.spacing(a):r[i]=a;else typeof a=="function"?r[i]=a(e):r[i]=void 0})),r},Yd=e=>t=>`--${e?`${e}-`:""}${t.replace(/^--/,"")}`,ml="data-skip-inverted-colors",q0=`& :not([${ml}], [${ml}] *)`,J0=e=>{var t,n,r,o,i,a,l,s,u,f,d,p,y,g,x,b,h,m,c,S,C,k;const $=Yd(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")]:`${(a=e.colorSchemes.light)==null?void 0:a.palette.background.level2} !important`,[$("--palette-background-level3")]:`${(l=e.colorSchemes.light)==null?void 0:l.palette.background.level3} !important`,[$("--palette-text-primary")]:`${(s=e.colorSchemes.light)==null?void 0:s.palette.text.primary} !important`,[$("--palette-text-secondary")]:`${(u=e.colorSchemes.light)==null?void 0:u.palette.text.secondary} !important`,[$("--palette-text-tertiary")]:`${(f=e.colorSchemes.light)==null?void 0:f.palette.text.tertiary} !important`,[$("--palette-divider")]:`${(d=e.colorSchemes.light)==null?void 0:d.palette.divider} !important`},[e.getColorSchemeSelector("dark")]:{[$("--palette-focusVisible")]:`${(p=e.colorSchemes.dark)==null?void 0:p.palette.focusVisible} !important`,[$("--palette-background-body")]:`${(y=e.colorSchemes.dark)==null?void 0:y.palette.background.body} !important`,[$("--palette-background-surface")]:`${(g=e.colorSchemes.dark)==null?void 0:g.palette.background.surface} !important`,[$("--palette-background-popup")]:`${(x=e.colorSchemes.dark)==null?void 0:x.palette.background.popup} !important`,[$("--palette-background-level1")]:`${(b=e.colorSchemes.dark)==null?void 0:b.palette.background.level1} !important`,[$("--palette-background-level2")]:`${(h=e.colorSchemes.dark)==null?void 0:h.palette.background.level2} !important`,[$("--palette-background-level3")]:`${(m=e.colorSchemes.dark)==null?void 0:m.palette.background.level3} !important`,[$("--palette-text-primary")]:`${(c=e.colorSchemes.dark)==null?void 0:c.palette.text.primary} !important`,[$("--palette-text-secondary")]:`${(S=e.colorSchemes.dark)==null?void 0:S.palette.text.secondary} !important`,[$("--palette-text-tertiary")]:`${(C=e.colorSchemes.dark)==null?void 0:C.palette.text.tertiary} !important`,[$("--palette-divider")]:`${(k=e.colorSchemes.dark)==null?void 0:k.palette.divider} !important`}}};function CE(e){return e.theme!==void 0}const SE=e=>t=>{const n=CE(t)?t.theme:t,r=Gd(n.cssVarPrefix),o=Yd(n.cssVarPrefix),i=a=>{const l=a.split("-");return r(a,n.palette[l[1]][l[2]])};return{[q0]:{"--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)`}},[`&, & [${ml}]`]:J0(n)}},wE=e=>t=>{const{theme:n=t}=t,r=Gd(n.cssVarPrefix),o=Yd(n.cssVarPrefix),i=a=>{const l=a.split("-");return r(a,n.palette[l[1]][l[2]])};return{[q0]:{"--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)`}},[`&, & [${ml}]`]:J0(n)}};function bE(e){return vo("MuiAspectRatio",e)}xr("MuiAspectRatio",["root","content","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);const $E=["children","ratio","minHeight","maxHeight","objectFit","color","variant","component","flex","slots","slotProps"],kE=e=>{const{variant:t,color:n}=e,r={root:["root"],content:["content",t&&`variant${un(t)}`,n&&`color${un(n)}`]};return Hi(r,bE,{})},EE=En("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)"}}),PE=En("div",{name:"JoyAspectRatio",slot:"Content",overridesResolver:(e,t)=>t.content})(({theme:e,ownerState:t})=>{var n;return A({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])}),um=w.forwardRef(function(t,n){const r=yo({props:t,name:"JoyAspectRatio"}),{children:o,ratio:i="16 / 9",minHeight:a,maxHeight:l,objectFit:s="cover",color:u="neutral",variant:f="soft",component:d,flex:p=!1,slots:y={},slotProps:g={}}=r,x=Re(r,$E),b=A({},r,{flex:p,minHeight:a,maxHeight:l,objectFit:s,ratio:i,color:u,variant:f}),h=kE(b),m=A({},x,{component:d,slots:y,slotProps:g}),[c,S]=lo("root",{ref:n,className:h.root,elementType:EE,externalForwardedProps:m,ownerState:b}),[C,k]=lo("content",{className:h.content,elementType:PE,externalForwardedProps:m,ownerState:b});return R.jsx(c,A({},S,{children:R.jsx(C,A({},k,{children:w.Children.map(o,($,E)=>E===0&&w.isValidElement($)?w.cloneElement($,{"data-first-child":""}):$)}))}))}),cm=xr("MuiButton",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg","fullWidth","startDecorator","endDecorator","loading","loadingIndicatorCenter"]);function RE(e){return vo("MuiCard",e)}const Rr=xr("MuiCard",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","horizontal","vertical"]),TE=["className","color","component","invertedColors","size","variant","children","orientation","slots","slotProps"],OE=e=>{const{size:t,variant:n,color:r,orientation:o}=e,i={root:["root",o,n&&`variant${un(n)}`,r&&`color${un(r)}`,t&&`size${un(t)}`]};return Hi(i,RE,{})},BE=En("div")(({theme:e,ownerState:t})=>{var n;const{p:r,padding:o,borderRadius:i}=xE({theme:e,ownerState:t},["p","padding","borderRadius"]);return[A({"--Icon-color":t.color!=="neutral"||t.variant==="solid"?"currentColor":e.vars.palette.text.icon,"--Card-childRadius":"max((var(--Card-radius) - var(--variant-borderWidth, 0px)) - var(--Card-padding), min(var(--Card-padding) / 2, (var(--Card-radius) - var(--variant-borderWidth, 0px)) / 2))","--AspectRatio-radius":"var(--Card-childRadius)","--unstable_actionMargin":"calc(-1 * var(--variant-borderWidth, 0px))","--unstable_actionRadius":"var(--Card-radius)","--CardCover-radius":"calc(var(--Card-radius) - var(--variant-borderWidth, 0px))","--CardOverflow-offset":"calc(-1 * var(--Card-padding))","--CardOverflow-radius":"calc(var(--Card-radius) - var(--variant-borderWidth, 0px))","--Divider-inset":"calc(-1 * var(--Card-padding))"},t.size==="sm"&&{"--Card-radius":e.vars.radius.sm,"--Card-padding":"0.625rem",gap:"0.5rem"},t.size==="md"&&{"--Card-radius":e.vars.radius.md,"--Card-padding":"1rem",gap:"0.75rem 1rem"},t.size==="lg"&&{"--Card-radius":e.vars.radius.lg,"--Card-padding":"1.5rem",gap:"1rem 1.5rem"},{padding:"var(--Card-padding)",borderRadius:"var(--Card-radius)",backgroundColor:e.vars.palette.background.surface,position:"relative",display:"flex",flexDirection:t.orientation==="horizontal"?"row":"column"},e.typography[`body-${t.size}`],t.variant==="solid"&&t.color&&t.invertedColors&&SE(t.color)(e),t.variant==="soft"&&t.color&&t.invertedColors&&wE(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}]}),_E=En(BE,{name:"JoyCard",slot:"Root",overridesResolver:(e,t)=>t.root})({}),dm=w.forwardRef(function(t,n){const r=yo({props:t,name:"JoyCard"}),{className:o,color:i="neutral",component:a="div",invertedColors:l=!1,size:s="md",variant:u="outlined",children:f,orientation:d="vertical",slots:p={},slotProps:y={}}=r,g=Re(r,TE),x=A({},r,{color:i,component:a,orientation:d,size:s,variant:u,invertedColors:l}),b=OE(x),h=A({},g,{component:a,slots:p,slotProps:y}),[m,c]=lo("root",{ref:n,className:Y(b.root,o),elementType:_E,externalForwardedProps:h,ownerState:x});return R.jsx(m,A({},c,{children:w.Children.map(f,(S,C)=>{if(!w.isValidElement(S))return S;const k={};if(Q0(S,["Divider"])){k.inset="inset"in S.props?S.props.inset:"context";const $=d==="vertical"?"horizontal":"vertical";k.orientation="orientation"in S.props?S.props.orientation:$}return C===0&&(k["data-first-child"]=""),C===w.Children.count(f)-1&&(k["data-last-child"]=""),w.cloneElement(S,k)})}))});function AE(e){return vo("MuiCardOverflow",e)}const ME=xr("MuiCardOverflow",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);function IE(e){return vo("MuiDivider",e)}xr("MuiDivider",["root","horizontal","vertical","insetContext","insetNone"]);function zE(e){return vo("MuiCardContent",e)}xr("MuiCardContent",["root"]);const NE=["className","component","children","orientation","slots","slotProps"],DE=()=>Hi({root:["root"]},zE,{}),jE=En("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)",[`.${ME.root} > &`]:{"--unstable_padding":"calc(var(--Card-padding) * 0.75) 0px"}})),FE=En(jE,{name:"JoyCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({}),fm=w.forwardRef(function(t,n){const r=yo({props:t,name:"JoyCardContent"}),{className:o,component:i="div",children:a,orientation:l="vertical",slots:s={},slotProps:u={}}=r,f=Re(r,NE),d=A({},f,{component:i,slots:s,slotProps:u}),p=A({},r,{component:i,orientation:l}),y=DE(),[g,x]=lo("root",{ref:n,className:Y(y.root,o),elementType:FE,externalForwardedProps:d,ownerState:p});return R.jsx(g,A({},x,{children:a}))}),LE=xr("MuiModalDialog",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","layoutCenter","layoutFullscreen"]),HE=["className","component","children","color","variant","slots","slotProps"],WE=e=>{const{variant:t,color:n}=e,r={root:["root",t&&`variant${un(t)}`,n&&`color${un(n)}`]};return Hi(r,AE,{})},VE=En("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 A({alignSelf:"stretch",position:"relative",display:"flex",flexDirection:"var(--_CardOverflow-flexDirection)",margin:"var(--_CardOverflow-margin)",borderRadius:"var(--_CardOverflow-radius)",padding:"var(--_CardOverflow-padding)",[`.${Rr.vertical} &, .${Rr.horizontal} .${Rr.vertical} &, .${LE.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)"},[`& > .${cm.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)"}},[`.${Rr.horizontal} &, .${Rr.vertical} .${Rr.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)"},[`& > .${cm.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])}),Ba=w.forwardRef(function(t,n){const r=yo({props:t,name:"JoyCardOverflow"}),{className:o,component:i="div",children:a,color:l="neutral",variant:s="plain",slots:u={},slotProps:f={}}=r,d=Re(r,HE),p=A({},r,{component:i,color:l,variant:s}),y=WE(p),g=A({},d,{component:i,slots:u,slotProps:f}),[x,b]=lo("root",{ref:n,className:Y(y.root,o),elementType:VE,externalForwardedProps:g,ownerState:p});return R.jsx(x,A({},b,{children:a}))});Ba.muiName="CardOverflow";const UE=["className","children","component","inset","orientation","role","slots","slotProps"],GE=e=>{const{orientation:t,inset:n}=e,r={root:["root",t,n&&`inset${un(n)}`]};return Hi(r,IE,{})},KE=En("hr",{name:"JoyDivider",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>A({"--Divider-thickness":"1px","--Divider-lineColor":e.vars.palette.divider},t.inset==="none"&&{"--_Divider-inset":"0px"},t.inset==="context"&&{"--_Divider-inset":"var(--Divider-inset, 0px)"},{margin:"initial",marginInline:t.orientation==="vertical"?"initial":"var(--_Divider-inset)",marginBlock:t.orientation==="vertical"?"var(--_Divider-inset)":"initial",position:"relative",alignSelf:"stretch",flexShrink:0},t.children?A({"--Divider-gap":e.spacing(1),"--Divider-childPosition":"50%",display:"flex",flexDirection:t.orientation==="vertical"?"column":"row",alignItems:"center",whiteSpace:"nowrap",textAlign:"center",border:0},e.typography["body-sm"],{"&::before, &::after":{position:"relative",inlineSize:t.orientation==="vertical"?"var(--Divider-thickness)":"initial",blockSize:t.orientation==="vertical"?"initial":"var(--Divider-thickness)",backgroundColor:"var(--Divider-lineColor)",content:'""'},"&::before":{marginInlineEnd:t.orientation==="vertical"?"initial":"min(var(--Divider-childPosition) * 999, var(--Divider-gap))",marginBlockEnd:t.orientation==="vertical"?"min(var(--Divider-childPosition) * 999, var(--Divider-gap))":"initial",flexBasis:"var(--Divider-childPosition)"},"&::after":{marginInlineStart:t.orientation==="vertical"?"initial":"min((100% - var(--Divider-childPosition)) * 999, var(--Divider-gap))",marginBlockStart:t.orientation==="vertical"?"min((100% - var(--Divider-childPosition)) * 999, var(--Divider-gap))":"initial",flexBasis:"calc(100% - var(--Divider-childPosition))"}}):{border:"none",listStyle:"none",backgroundColor:"var(--Divider-lineColor)",inlineSize:t.orientation==="vertical"?"var(--Divider-thickness)":"initial",blockSize:t.orientation==="vertical"?"initial":"var(--Divider-thickness)"})),Z0=w.forwardRef(function(t,n){const r=yo({props:t,name:"JoyDivider"}),{className:o,children:i,component:a=i!=null?"div":"hr",inset:l,orientation:s="horizontal",role:u=a!=="hr"?"separator":void 0,slots:f={},slotProps:d={}}=r,p=Re(r,UE),y=A({},r,{inset:l,role:u,orientation:s,component:a}),g=GE(y),x=A({},p,{component:a,slots:f,slotProps:d}),[b,h]=lo("root",{ref:n,className:Y(g.root,o),elementType:KE,externalForwardedProps:x,ownerState:y,additionalProps:A({as:a,role:u},u==="separator"&&s==="vertical"&&{"aria-orientation":"vertical"})});return R.jsx(b,A({},h,{children:i}))});Z0.muiName="Divider";const pm=rE({createStyledComponent:En("div",{name:"JoyGrid",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>yo({props:e,name:"JoyGrid"})}),QE=[{Id:"1",name:"Taichung Beauty",rating:5,isSpecial:!0,image:"https://barritaorchids.com/cdn/shop/products/Cf592_1024x1024.jpg",color:"pink",origin:"Taiwan",category:"Cattleya",detail:"A striking orchid with large, vibrant pink flowers. Native to Taiwan, the Taichung Beauty is highly valued for its bold colors and long-lasting blooms. It is commonly cultivated for decorative purposes."},{Id:"2",name:"Phalaenopsis Elegance",rating:4,isSpecial:!0,image:"https://images.unsplash.com/photo-1639374593182-88b49b80a688?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8UGhhbGFlbm9wc2lzJTIwRWxlZ2FuY2V8ZW58MHx8MHx8fDA%3D",color:"white",origin:"Thailand",category:"Phalaenopsis",detail:"This elegant orchid is admired for its pure white petals and graceful appearance. Originating from Thailand, the Phalaenopsis Elegance is widely known as the 'Moth Orchid' due to its petal shape and is commonly grown in households."},{Id:"3",name:"Vanda Blue Charm",rating:5,isSpecial:!1,image:"https://plus.unsplash.com/premium_photo-1666855258034-8d2c36091ec1?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"blue",origin:"Philippines",category:"Vanda",detail:"Known for its rare and vibrant blue color, the Vanda Blue Charm is an exotic orchid native to the Philippines. Its large, stunning flowers make it a highly sought-after plant in orchid collections worldwide."},{Id:"4",name:"Dendrobium Noble",rating:3,isSpecial:!1,image:"https://www.gardentags.com/plant-encyclopedia/images/2703/dendrobium-nobile.jpeg",color:"purple",origin:"Vietnam",category:"Dendrobium",detail:"With its compact size and beautiful purple blooms, the Dendrobium Noble is a versatile orchid perfect for both indoor and outdoor environments. It thrives in warm, tropical climates and is widely grown in Vietnam."},{Id:"5",name:"Cymbidium Green Glow",rating:4,isSpecial:!0,image:"https://plus.unsplash.com/premium_photo-1689643577385-57af0aba150e?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"green",origin:"China",category:"Cymbidium",detail:"This unique orchid stands out with its fresh green color. Known for its hardiness, the Cymbidium Green Glow originates from China and is often used in floral arrangements due to its long-lasting nature and elegant presence."},{Id:"6",name:"Oncidium Shining Star",rating:5,isSpecial:!0,image:"https://plus.unsplash.com/premium_photo-1674343963928-d67007d2ae74?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"yellow",origin:"Brazil",category:"Oncidium",detail:"With bright yellow flowers, the Oncidium Shining Star is known for its cheerful appearance. Native to Brazil, this orchid is easy to care for and is commonly used in decorative displays, making it a favorite among gardeners."},{Id:"7",name:"Paphiopedilum Venus",rating:4,isSpecial:!1,image:"https://images.unsplash.com/photo-1516477266610-9e4c763da721?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"red",origin:"India",category:"Paphiopedilum",detail:"Often referred to as the 'Lady Slipper Orchid', Paphiopedilum Venus is notable for its unique pouch-shaped petals. Originating from India, it is loved for its striking red flowers and is a prized addition to many collections."},{Id:"8",name:"Cattleya Golden Sunset",rating:5,isSpecial:!0,image:"https://plus.unsplash.com/premium_photo-1726192307773-cb64923bdc63?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"orange",origin:"Colombia",category:"Cattleya",detail:"The Cattleya Golden Sunset is admired for its bright orange flowers that evoke the beauty of a tropical sunset. Originating from Colombia, this orchid is often associated with warmth and happiness, making it a popular decorative plant."},{Id:"9",name:"Zygopetalum Tropical Beauty",rating:3,isSpecial:!1,image:"https://plus.unsplash.com/premium_photo-1681276170873-c6071233076e?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"brown",origin:"Costa Rica",category:"Zygopetalum",detail:"Known for its distinct brown and purple blooms, the Zygopetalum Tropical Beauty is native to Costa Rica. This orchid thrives in humid environments and is popular for its exotic appearance and delightful fragrance."},{Id:"10",name:"Maxillaria Coconut Delight",rating:4,isSpecial:!1,image:"https://images.unsplash.com/photo-1454262041357-5d96f50a2f27?q=80&w=1169&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"white",origin:"Mexico",category:"Maxillaria",detail:"Emitting a sweet coconut scent, the Maxillaria Coconut Delight is loved by orchid enthusiasts for its fragrance and delicate white blooms. Native to Mexico, this orchid brings a tropical essence to any setting."},{Id:"11",name:"Brassia Spider Star",rating:5,isSpecial:!0,image:"https://plus.unsplash.com/premium_photo-1663962390315-0825787f07a8?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"green",origin:"Ecuador",category:"Brassia",detail:"Known as the 'Spider Orchid' for its long, spindly petals, the Brassia Spider Star has a unique and captivating appearance. Originating from Ecuador, it is a favorite among collectors for its striking structure and greenish hues."},{Id:"12",name:"Laelia Pink Paradise",rating:4,isSpecial:!1,image:"https://littleorchidannie.com/cdn/shop/files/Ctly._Spring_Fragrance_flower__75160.jpg?v=1714437883&width=533",color:"pink",origin:"Mexico",category:"Laelia",detail:"With soft pink petals and a subtle fragrance, the Laelia Pink Paradise is a native of Mexico. It symbolizes love and beauty, often used in romantic bouquets."},{Id:"13",name:"Bulbophyllum Medusae",rating:5,isSpecial:!0,image:"https://www.laforestaorchids.com/cdn/shop/files/bulbophyllum-medusae-bulbophyllum-la-foresta-orchids-295241.jpg?v=1701390801",color:"white",origin:"Malaysia",category:"Bulbophyllum",detail:"An unusual and exotic orchid, the Bulbophyllum Medusae has long, tendril-like petals resembling the mythical Medusa. Native to Malaysia, it is favored by collectors for its bizarre yet fascinating appearance."},{Id:"14",name:"Coelogyne Cristata",rating:4,isSpecial:!1,image:"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqs0jSeBbqz4JXop6kfH-v1SADXUDoKmmQYJVbKRo2Yg-3p4dvSidePWrU70J0A-embOKQLxGsae5d9QhH_QUYg0Cc0Hw4Ud14aQma5nJyN3jEYaQw-pTZtttCoMlGWsrXj2yd3Z5VseE/s1600/1024px-Coelogyne_cristata_3.jpg",color:"white",origin:"Himalayas",category:"Coelogyne",detail:"With pristine white blooms, Coelogyne Cristata is often associated with purity and serenity. Originating from the Himalayan region, it thrives in cool climates and is popular for its cascading flowers."},{Id:"15",name:"Miltonia Sunset",rating:3,isSpecial:!1,image:"https://tropicalorchidsportugal.com/wp-content/uploads/2024/03/miltonia-sunset-02-1-1-1.png",color:"pink",origin:"Brazil",category:"Miltonia",detail:"Miltonia Sunset boasts vibrant pink flowers with a golden center, resembling a tropical sunset. Native to Brazil, this orchid is loved for its beauty and is often grown in warm, humid environments."},{Id:"16",name:"Phragmipedium Scarlet Flame",rating:5,isSpecial:!0,image:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTnzBaj1vWww3IbBvo2SVVHEkSrNzpGhl2fJg&s",color:"red",origin:"Peru",category:"Phragmipedium",detail:"A captivating orchid with fiery red flowers, the Phragmipedium Scarlet Flame is a rare beauty from Peru. Its striking color and exotic appearance make it highly desired by collectors."}];function YE({orchid:e}){const[t,n]=w.useState(!1),[r,o]=w.useState(null);return{isVisible:t,detail:r,showModal:l=>{o(l),n(!0)},hideModal:()=>n(!1)}}const XE=mo(R.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"),qE=mo([R.jsx("path",{d:"m12 2-5.5 9h11z"},"0"),R.jsx("circle",{cx:"17.5",cy:"17.5",r:"4.5"},"1"),R.jsx("path",{d:"M3 13.5h8v8H3z"},"2")],"Category"),JE={position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:400,bgcolor:"black",border:"2px solid #000",boxShadow:24,p:4,color:"white"};function ZE({orchid:e}){const{isVisible:t,showModal:n,hideModal:r}=YE({orchid:e});return R.jsxs(R.Fragment,{children:[R.jsxs(dm,{variant:"solid",sx:{width:320,bgcolor:"black",color:"white","&:hover":{boxShadow:"0 0 10px rgba(255, 255, 255, 0.8)"}},children:[R.jsx(Ba,{children:R.jsx(um,{variant:"outlined",ratio:"2",onClick:()=>n(e),children:R.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:""})})}),R.jsxs(fm,{children:[R.jsx(In,{level:"title-md",sx:{color:"white",fontWeight:"bold",mb:.5},children:e.name}),R.jsxs($i,{children:[R.jsxs(In,{level:"body-sm",sx:{color:"grey.400",mb:2,alignItems:"center",display:"flex"},children:[R.jsx(XE,{sx:{marginRight:"4px",width:"16px"}}),e.origin]}),R.jsxs(In,{level:"body-sm",sx:{color:"grey.400",mb:2,alignItems:"center",display:"flex"},children:[R.jsx(qE,{sx:{marginRight:"4px",width:"16px"}}),e.category]})]})]}),R.jsxs(Ba,{variant:"soft",sx:{bgcolor:"rgba(255, 255, 255, 0.1)"},children:[R.jsx(Z0,{inset:"context",sx:{bgcolor:"white"}}),R.jsxs(fm,{orientation:"horizontal",sx:{justifyContent:"space-between"},children:[R.jsx(h$,{name:"read-only",value:e.rating,readOnly:!0}),R.jsx(Nd,{variant:"outlined",children:"Detail"})]})]})]}),R.jsx(x0,{open:t,onClose:r,"aria-labelledby":"modal-modal-title","aria-describedby":"modal-modal-description",children:R.jsxs($i,{sx:JE,children:[R.jsx(dm,{children:R.jsx(Ba,{children:R.jsx(um,{ratio:"2",children:R.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:""})})})}),R.jsx(In,{id:"modal-modal-description",sx:{mt:2},children:e.detail})]})})]})}function e5(){const{theme:e}=w.useContext(Ni);return R.jsx(pm,{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:QE.map(t=>R.jsx(pm,{size:{xs:1,sm:3,md:4},children:R.jsx(ZE,{orchid:t},t.Id)},t.Id))})}function t5(){return w.useState(0),R.jsxs(R.Fragment,{children:[R.jsx(v2,{}),R.jsx(i2,{children:R.jsx(I0,{path:"/fer-lab1/",element:R.jsx(e5,{})})}),R.jsx(y2,{})]})}Pg(document.getElementById("root")).render(R.jsx(w.StrictMode,{children:R.jsx(f2,{children:R.jsx(n$,{children:R.jsx(t5,{})})})})); + */function gc(){return gc=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function s2(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function u2(e,t){return e.button===0&&(!t||t==="_self")&&!s2(e)}const c2=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],d2="6";try{window.__reactRouterVersion=d2}catch{}const f2="startTransition",Zp=Aa[f2];function p2(e){let{basename:t,children:n,future:r,window:o}=e,i=w.useRef();i.current==null&&(i.current=y$({window:o,v5Compat:!0}));let a=i.current,[l,s]=w.useState({action:a.action,location:a.location}),{v7_startTransition:u}=r||{},f=w.useCallback(d=>{u&&Zp?Zp(()=>s(d)):s(d)},[s,u]);return w.useLayoutEffect(()=>a.listen(f),[a,f]),w.createElement(i2,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:a,future:r})}const m2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",h2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,iu=w.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:a,state:l,target:s,to:u,preventScrollReset:f,unstable_viewTransition:d}=t,p=l2(t,c2),{basename:y}=w.useContext(vr),g,x=!1;if(typeof u=="string"&&h2.test(u)&&(g=u,m2))try{let c=new URL(window.location.href),S=u.startsWith("//")?new URL(c.protocol+u):new URL(u),C=jd(S.pathname,y);S.origin===c.origin&&C!=null?u=C+S.search+S.hash:x=!0}catch{}let b=V$(u,{relative:o}),h=g2(u,{replace:a,state:l,target:s,preventScrollReset:f,relative:o,unstable_viewTransition:d});function m(c){r&&r(c),c.defaultPrevented||h(c)}return w.createElement("a",gc({},p,{href:g||b,onClick:x||i?r:m,ref:n,target:s}))});var em;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(em||(em={}));var tm;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(tm||(tm={}));function g2(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:a,unstable_viewTransition:l}=t===void 0?{}:t,s=U$(),u=ji(),f=A0(e,{relative:a});return w.useCallback(d=>{if(u2(d,n)){d.preventDefault();let p=r!==void 0?r:fl(u)===fl(f);s(e,{replace:p,state:o,preventScrollReset:i,relative:a,unstable_viewTransition:l})}},[u,s,f,r,o,n,e,i,a,l])}const nm=[{name:"Home",path:"/fer-lab1/"},{name:"About",path:"/fer-lab1/about"},{name:"Contact",path:"/fer-lab1/contact"}];function v2(){const[e,t]=w.useState(null),{theme:n}=w.useContext(Ni),r=ji(),o=a=>{t(a.currentTarget)},i=()=>{t(null)};return R.jsx(aw,{position:"static",color:n.header.backgroundColor,children:R.jsx(w0,{maxWidth:"xl",children:R.jsxs(pw,{disableGutters:!0,children:[R.jsx(Gp,{sx:{display:{xs:"none",md:"flex"},mr:1}}),R.jsx(iu,{to:"/fer-lab1/",style:{textDecoration:"none"},children:R.jsx(In,{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"})}),R.jsxs($i,{sx:{flexGrow:1,display:{xs:"flex",md:"none"}},children:[R.jsx(jw,{size:"large","aria-label":"account of current user","aria-controls":"menu-appbar","aria-haspopup":"true",onClick:o,color:"inherit",children:R.jsx(Wb,{})}),R.jsx(Hb,{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:nm.map(a=>R.jsx(t$,{onClick:i,component:iu,to:a.path,children:R.jsx(In,{sx:{textAlign:"center"},children:a.name})},a.name))})]}),R.jsx(Gp,{sx:{display:{xs:"flex",md:"none"},mr:1}}),R.jsx(In,{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"}),R.jsx($i,{sx:{flexGrow:1,display:{xs:"none",md:"flex"}},children:nm.map(a=>R.jsx(Dd,{component:iu,to:a.path,onClick:i,sx:{my:2,color:"white",display:"block",backgroundColor:r.pathname===a.path?"rgba(255, 255, 255, 0.2)":"transparent","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.1)"}},children:a.name},a.name))}),R.jsx(v$,{})]})})})}function y2(){const{theme:e}=w.useContext(Ni);return R.jsx($i,{component:"footer",sx:{py:3,px:2,mt:"auto",backgroundColor:e.footer.backgroundColor},className:"footer-content",children:R.jsx(w0,{maxWidth:"sm",children:R.jsxs(In,{variant:"body2",color:"text.secondary",align:"center",children:["No Copyright © ",new Date().getFullYear()]})})})}const Ao={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"}},N0="$$joy";function vc(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 _n(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 D0(e){if(!_n(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=D0(e[n])}),t}function vn(e,t,n={clone:!0}){const r=n.clone?A({},e):e;return _n(e)&&_n(t)&&Object.keys(t).forEach(o=>{_n(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&_n(e[o])?r[o]=vn(e[o],t[o],n):n.clone?r[o]=_n(t[o])?D0(t[o]):t[o]:r[o]=t[o]}),r}const S2=["values","unit","step"],w2=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>A({},n,{[r.key]:r.val}),{})};function j0(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Re(e,S2),i=w2(t),a=Object.keys(i);function l(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${n})`}function s(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-r/100}${n})`}function u(p,y){const g=a.indexOf(y);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${n}) and (max-width:${(g!==-1&&typeof t[a[g]]=="number"?t[a[g]]:y)-r/100}${n})`}function f(p){return a.indexOf(p)+1`@media (min-width:${Ld[e]}px)`};function bn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||rm;return t.reduce((a,l,s)=>(a[i.up(i.keys[s])]=n(t[s]),a),{})}if(typeof t=="object"){const i=r.breakpoints||rm;return Object.keys(t).reduce((a,l)=>{if(Object.keys(i.values||Ld).indexOf(l)!==-1){const s=i.up(l);a[s]=n(t[l],l)}else{const s=l;a[s]=t[s]}return a},{})}return n(t)}function $2(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function k2(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function un(e){if(typeof e!="string")throw new Error(vc(7));return e.charAt(0).toUpperCase()+e.slice(1)}function ms(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 ml(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=ms(e,n)||r,t&&(o=t(o,r,e)),o}function Oe(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=a=>{if(a[t]==null)return null;const l=a[t],s=a.theme,u=ms(s,r)||{};return bn(a,l,d=>{let p=ml(u,o,d);return d===p&&typeof d=="string"&&(p=ml(u,o,`${t}${d==="default"?"":un(d)}`,d)),n===!1?p:{[n]:p}})};return i.propTypes={},i.filterProps=[t],i}function E2(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const P2={m:"margin",p:"padding"},R2={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},om={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},T2=E2(e=>{if(e.length>2)if(om[e])e=om[e];else return[e];const[t,n]=e.split(""),r=P2[t],o=R2[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),Hd=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Wd=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Hd,...Wd];function Fi(e,t,n,r){var o;const i=(o=ms(e,t,!1))!=null?o:n;return typeof i=="number"?a=>typeof a=="string"?a:i*a:Array.isArray(i)?a=>typeof a=="string"?a:i[a]:typeof i=="function"?i:()=>{}}function F0(e){return Fi(e,"spacing",8)}function Li(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 O2(e,t){return n=>e.reduce((r,o)=>(r[o]=Li(t,n),r),{})}function B2(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=T2(n),i=O2(o,r),a=e[n];return bn(e,a,i)}function L0(e,t){const n=F0(e.theme);return Object.keys(e).map(r=>B2(e,t,r,n)).reduce(Jo,{})}function we(e){return L0(e,Hd)}we.propTypes={};we.filterProps=Hd;function be(e){return L0(e,Wd)}be.propTypes={};be.filterProps=Wd;function H0(e=8){if(e.mui)return e;const t=F0({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" ");return n.mui=!0,n}function hs(...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]?Jo(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function At(e){return typeof e!="number"?e:`${e}px solid`}function Ht(e,t){return Oe({prop:e,themeKey:"borders",transform:t})}const _2=Ht("border",At),A2=Ht("borderTop",At),M2=Ht("borderRight",At),I2=Ht("borderBottom",At),z2=Ht("borderLeft",At),N2=Ht("borderColor"),D2=Ht("borderTopColor"),j2=Ht("borderRightColor"),F2=Ht("borderBottomColor"),L2=Ht("borderLeftColor"),H2=Ht("outline",At),W2=Ht("outlineColor"),gs=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Fi(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Li(t,r)});return bn(e,e.borderRadius,n)}return null};gs.propTypes={};gs.filterProps=["borderRadius"];hs(_2,A2,M2,I2,z2,N2,D2,j2,F2,L2,gs,H2,W2);const vs=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Fi(e.theme,"spacing",8),n=r=>({gap:Li(t,r)});return bn(e,e.gap,n)}return null};vs.propTypes={};vs.filterProps=["gap"];const ys=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Fi(e.theme,"spacing",8),n=r=>({columnGap:Li(t,r)});return bn(e,e.columnGap,n)}return null};ys.propTypes={};ys.filterProps=["columnGap"];const xs=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Fi(e.theme,"spacing",8),n=r=>({rowGap:Li(t,r)});return bn(e,e.rowGap,n)}return null};xs.propTypes={};xs.filterProps=["rowGap"];const V2=Oe({prop:"gridColumn"}),U2=Oe({prop:"gridRow"}),G2=Oe({prop:"gridAutoFlow"}),K2=Oe({prop:"gridAutoColumns"}),Q2=Oe({prop:"gridAutoRows"}),Y2=Oe({prop:"gridTemplateColumns"}),X2=Oe({prop:"gridTemplateRows"}),q2=Oe({prop:"gridTemplateAreas"}),J2=Oe({prop:"gridArea"});hs(vs,ys,xs,V2,U2,G2,K2,Q2,Y2,X2,q2,J2);function qr(e,t){return t==="grey"?t:e}const Z2=Oe({prop:"color",themeKey:"palette",transform:qr}),ek=Oe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:qr}),tk=Oe({prop:"backgroundColor",themeKey:"palette",transform:qr});hs(Z2,ek,tk);function xt(e){return e<=1&&e!==0?`${e*100}%`:e}const nk=Oe({prop:"width",transform:xt}),Vd=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])||Ld[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:xt(n)}};return bn(e,e.maxWidth,t)}return null};Vd.filterProps=["maxWidth"];const rk=Oe({prop:"minWidth",transform:xt}),ok=Oe({prop:"height",transform:xt}),ik=Oe({prop:"maxHeight",transform:xt}),ak=Oe({prop:"minHeight",transform:xt});Oe({prop:"size",cssProperty:"width",transform:xt});Oe({prop:"size",cssProperty:"height",transform:xt});const lk=Oe({prop:"boxSizing"});hs(nk,Vd,rk,ok,ik,ak,lk);const Cs={border:{themeKey:"borders",transform:At},borderTop:{themeKey:"borders",transform:At},borderRight:{themeKey:"borders",transform:At},borderBottom:{themeKey:"borders",transform:At},borderLeft:{themeKey:"borders",transform:At},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:At},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:gs},color:{themeKey:"palette",transform:qr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:qr},backgroundColor:{themeKey:"palette",transform:qr},p:{style:be},pt:{style:be},pr:{style:be},pb:{style:be},pl:{style:be},px:{style:be},py:{style:be},padding:{style:be},paddingTop:{style:be},paddingRight:{style:be},paddingBottom:{style:be},paddingLeft:{style:be},paddingX:{style:be},paddingY:{style:be},paddingInline:{style:be},paddingInlineStart:{style:be},paddingInlineEnd:{style:be},paddingBlock:{style:be},paddingBlockStart:{style:be},paddingBlockEnd:{style:be},m:{style:we},mt:{style:we},mr:{style:we},mb:{style:we},ml:{style:we},mx:{style:we},my:{style:we},margin:{style:we},marginTop:{style:we},marginRight:{style:we},marginBottom:{style:we},marginLeft:{style:we},marginX:{style:we},marginY:{style:we},marginInline:{style:we},marginInlineStart:{style:we},marginInlineEnd:{style:we},marginBlock:{style:we},marginBlockStart:{style:we},marginBlockEnd:{style:we},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:vs},rowGap:{style:xs},columnGap:{style:ys},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:xt},maxWidth:{style:Vd},minWidth:{transform:xt},height:{transform:xt},maxHeight:{transform:xt},minHeight:{transform:xt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function sk(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function uk(e,t){return typeof e=="function"?e(t):e}function ck(){function e(n,r,o,i){const a={[n]:r,theme:o},l=i[n];if(!l)return{[n]:r};const{cssProperty:s=n,themeKey:u,transform:f,style:d}=l;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const p=ms(o,u)||{};return d?d(a):bn(a,r,g=>{let x=ml(p,f,g);return g===x&&typeof g=="string"&&(x=ml(p,f,`${n}${g==="default"?"":un(g)}`,g)),s===!1?x:{[s]:x}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const a=(r=i.unstable_sxConfig)!=null?r:Cs;function l(s){let u=s;if(typeof s=="function")u=s(i);else if(typeof s!="object")return s;if(!u)return null;const f=$2(i.breakpoints),d=Object.keys(f);let p=f;return Object.keys(u).forEach(y=>{const g=uk(u[y],i);if(g!=null)if(typeof g=="object")if(a[y])p=Jo(p,e(y,g,i,a));else{const x=bn({theme:i},g,b=>({[y]:b}));sk(x,g)?p[y]=t({sx:g,theme:i}):p=Jo(p,x)}else p=Jo(p,e(y,g,i,a))}),k2(d,p)}return Array.isArray(o)?o.map(l):l(o)}return t}const Ss=ck();Ss.filterProps=["sx"];function W0(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 dk=["breakpoints","palette","spacing","shape"];function Ud(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,a=Re(e,dk),l=j0(n),s=H0(o);let u=vn({breakpoints:l,direction:"ltr",components:{},palette:A({mode:"light"},r),spacing:s,shape:A({},b2,i)},a);return u.applyStyles=W0,u=t.reduce((f,d)=>vn(f,d),u),u.unstable_sxConfig=A({},Cs,a==null?void 0:a.unstable_sxConfig),u.unstable_sx=function(d){return Ss({sx:d,theme:this})},u}function fk(e){return Object.keys(e).length===0}function pk(e=null){const t=w.useContext(bd);return!t||fk(t)?e:t}const mk=Ud();function V0(e=mk){return pk(e)}const hk=["sx"],gk=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:Cs;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function vk(e){const{sx:t}=e,n=Re(e,hk),{systemProps:r,otherProps:o}=gk(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...a)=>{const l=t(...a);return _n(l)?A({},r,l):r}:i=A({},r,t),A({},o,{sx:i})}const im=e=>e,yk=()=>{let e=im;return{configure(t){e=t},generate(t){return e(t)},reset(){e=im}}},xk=yk(),Ck={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 Gd(e,t,n="Mui"){const r=Ck[t];return r?`${n}-${r}`:`${xk.generate(e)}-${t}`}function Sk(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Gd(e,o,n)}),r}const wk=["ownerState"],bk=["variants"],$k=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function kk(e){return Object.keys(e).length===0}function Ek(e){return typeof e=="string"&&e.charCodeAt(0)>96}function au(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Pk=Ud(),Rk=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function ma({defaultTheme:e,theme:t,themeId:n}){return kk(t)?e:t[n]||t}function Tk(e){return e?(t,n)=>n[e]:null}function Ba(e,t){let{ownerState:n}=t,r=Re(t,wk);const o=typeof e=="function"?e(A({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>Ba(i,A({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let l=Re(o,bk);return i.forEach(s=>{let u=!0;typeof s.props=="function"?u=s.props(A({ownerState:n},r,n)):Object.keys(s.props).forEach(f=>{(n==null?void 0:n[f])!==s.props[f]&&r[f]!==s.props[f]&&(u=!1)}),u&&(Array.isArray(l)||(l=[l]),l.push(typeof s.style=="function"?s.style(A({ownerState:n},r,n)):s.style))}),l}return o}function U0(e={}){const{themeId:t,defaultTheme:n=Pk,rootShouldForwardProp:r=au,slotShouldForwardProp:o=au}=e,i=a=>Ss(A({},a,{theme:ma(A({},a,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(a,l={})=>{C2(a,C=>C.filter(k=>!(k!=null&&k.__mui_systemSx)));const{name:s,slot:u,skipVariantsResolver:f,skipSx:d,overridesResolver:p=Tk(Rk(u))}=l,y=Re(l,$k),g=f!==void 0?f:u&&u!=="Root"&&u!=="root"||!1,x=d||!1;let b,h=au;u==="Root"||u==="root"?h=r:u?h=o:Ek(a)&&(h=void 0);const m=x2(a,A({shouldForwardProp:h,label:b},y)),c=C=>typeof C=="function"&&C.__emotion_real!==C||_n(C)?k=>Ba(C,A({},k,{theme:ma({theme:k.theme,defaultTheme:n,themeId:t})})):C,S=(C,...k)=>{let $=c(C);const E=k?k.map(c):[];s&&p&&E.push(B=>{const M=ma(A({},B,{defaultTheme:n,themeId:t}));if(!M.components||!M.components[s]||!M.components[s].styleOverrides)return null;const N=M.components[s].styleOverrides,z={};return Object.entries(N).forEach(([j,I])=>{z[j]=Ba(I,A({},B,{theme:M}))}),p(B,z)}),s&&!g&&E.push(B=>{var M;const N=ma(A({},B,{defaultTheme:n,themeId:t})),z=N==null||(M=N.components)==null||(M=M[s])==null?void 0:M.variants;return Ba({variants:z},A({},B,{theme:N}))}),x||E.push(i);const v=E.length-k.length;if(Array.isArray(C)&&v>0){const B=new Array(v).fill("");$=[...C,...B],$.raw=[...C.raw,...B]}const P=m($,...E);return a.muiName&&(P.muiName=a.muiName),P};return m.withConfig&&(S.withConfig=m.withConfig),S}}const Ok=U0();function G0(e,t){const n=A({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=A({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=A({},i),Object.keys(o).forEach(a=>{n[r][a]=G0(o[a],i[a])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function Bk(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:G0(t.components[n].defaultProps,r)}function K0({props:e,name:t,defaultTheme:n,themeId:r}){let o=V0(n);return r&&(o=o[r]||o),Bk({theme:o,name:t,props:e})}function _k(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 Q0(e){if(e.type)return e;if(e.charAt(0)==="#")return Q0(_k(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(vc(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(vc(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const Jn=e=>{const t=Q0(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};function Y0(e,t){var n,r;return w.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 Ak(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Mk(...e){return w.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Ak(n,t)})},e)}function Ik(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,a)=>{if(a){const l=t(a);l!==""&&i.push(l),n&&n[a]&&i.push(n[a])}return i},[]).join(" ")}),r}function Kd(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 am=(e,t,n,r=[])=>{let o=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(o)?o[Number(i)]=n:o&&typeof o=="object"&&(o[i]=n):o&&typeof o=="object"&&(o[i]||(o[i]=r.includes(i)?[]:{}),o=o[i])})},zk=(e,t,n)=>{function r(o,i=[],a=[]){Object.entries(o).forEach(([l,s])=>{(!n||n&&!n([...i,l]))&&s!=null&&(typeof s=="object"&&Object.keys(s).length>0?r(s,[...i,l],Array.isArray(s)?[...a,l]:a):t([...i,l],s,a))})}r(e)},Nk=(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 lu(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},a={};return zk(e,(l,s,u)=>{if((typeof s=="string"||typeof s=="number")&&(!r||!r(l,s))){const f=`--${n?`${n}-`:""}${l.join("-")}`;Object.assign(o,{[f]:Nk(l,s)}),am(i,l,`var(${f})`,u),am(a,l,`var(${f}, ${s})`,u)}},l=>l[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function Pi(e){"@babel/helpers - typeof";return Pi=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},Pi(e)}function Dk(e,t){if(Pi(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Pi(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function jk(e){var t=Dk(e,"string");return Pi(t)=="symbol"?t:t+""}const Fk=["colorSchemes","components","defaultColorScheme"];function Lk(e,t){const{colorSchemes:n={},defaultColorScheme:r="light"}=e,o=Re(e,Fk),{vars:i,css:a,varsWithDefaults:l}=lu(o,t);let s=l;const u={},{[r]:f}=n,d=Re(n,[r].map(jk));if(Object.entries(d||{}).forEach(([y,g])=>{const{vars:x,css:b,varsWithDefaults:h}=lu(g,t);s=vn(s,h),u[y]={css:b,vars:x}}),f){const{css:y,vars:g,varsWithDefaults:x}=lu(f,t);s=vn(s,x),u[r]={css:y,vars:g}}return{vars:s,generateCssVars:y=>{var g;if(!y){var x;const h=A({},a);return{css:h,vars:i,selector:(t==null||(x=t.getSelector)==null?void 0:x.call(t,y,h))||":root"}}const b=A({},u[y].css);return{css:b,vars:u[y].vars,selector:(t==null||(g=t.getSelector)==null?void 0:g.call(t,y,b))||":root"}}}}const Hk=(e,t)=>e.filter(n=>t.includes(n)),go=(e,t,n)=>{const r=e.keys[0];Array.isArray(t)?t.forEach((o,i)=>{n((a,l)=>{i<=e.keys.length-1&&(i===0?Object.assign(a,l):a[e.up(e.keys[i])]=l)},o)}):t&&typeof t=="object"?(Object.keys(t).length>e.keys.length?e.keys:Hk(e.keys,Object.keys(t))).forEach(i=>{if(e.keys.indexOf(i)!==-1){const a=t[i];a!==void 0&&n((l,s)=>{r===i?Object.assign(l,s):l[e.up(i)]=s},a)}}):(typeof t=="number"||typeof t=="string")&&n((o,i)=>{Object.assign(o,i)},t)};function $n(e){return e?`Level${e}`:""}function Hi(e){return e.unstable_level>0&&e.container}function X0(e){return function(n){return`var(--Grid-${n}Spacing${$n(e.unstable_level)})`}}function Qd(e){return function(n){return e.unstable_level===0?`var(--Grid-${n}Spacing)`:`var(--Grid-${n}Spacing${$n(e.unstable_level-1)})`}}function Yd(e){return e.unstable_level===0?"var(--Grid-columns)":`var(--Grid-columns${$n(e.unstable_level-1)})`}const Wk=({theme:e,ownerState:t})=>{const n=X0(t),r={};return go(e.breakpoints,t.gridSize,(o,i)=>{let a={};i===!0&&(a={flexBasis:0,flexGrow:1,maxWidth:"100%"}),i==="auto"&&(a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),typeof i=="number"&&(a={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${i} / ${Yd(t)}${Hi(t)?` + ${n("column")}`:""})`}),o(r,a)}),r},Vk=({theme:e,ownerState:t})=>{const n={};return go(e.breakpoints,t.gridOffset,(r,o)=>{let i={};o==="auto"&&(i={marginLeft:"auto"}),typeof o=="number"&&(i={marginLeft:o===0?"0px":`calc(100% * ${o} / ${Yd(t)})`}),r(n,i)}),n},Uk=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Hi(t)?{[`--Grid-columns${$n(t.unstable_level)}`]:Yd(t)}:{"--Grid-columns":12};return go(e.breakpoints,t.columns,(r,o)=>{r(n,{[`--Grid-columns${$n(t.unstable_level)}`]:o})}),n},Gk=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Qd(t),r=Hi(t)?{[`--Grid-rowSpacing${$n(t.unstable_level)}`]:n("row")}:{};return go(e.breakpoints,t.rowSpacing,(o,i)=>{var a;o(r,{[`--Grid-rowSpacing${$n(t.unstable_level)}`]:typeof i=="string"?i:(a=e.spacing)==null?void 0:a.call(e,i)})}),r},Kk=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Qd(t),r=Hi(t)?{[`--Grid-columnSpacing${$n(t.unstable_level)}`]:n("column")}:{};return go(e.breakpoints,t.columnSpacing,(o,i)=>{var a;o(r,{[`--Grid-columnSpacing${$n(t.unstable_level)}`]:typeof i=="string"?i:(a=e.spacing)==null?void 0:a.call(e,i)})}),r},Qk=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return go(e.breakpoints,t.direction,(r,o)=>{r(n,{flexDirection:o})}),n},Yk=({ownerState:e})=>{const t=X0(e),n=Qd(e);return A({minWidth:0,boxSizing:"border-box"},e.container&&A({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||Hi(e))&&A({padding:`calc(${n("row")} / 2) calc(${n("column")} / 2)`},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:`${n("row")} 0px 0px ${n("column")}`}))},Xk=e=>{const t=[];return Object.entries(e).forEach(([n,r])=>{r!==!1&&r!==void 0&&t.push(`grid-${n}-${String(r)}`)}),t},qk=(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[]},Jk=e=>e===void 0?[]:typeof e=="object"?Object.entries(e).map(([t,n])=>`direction-${t}-${n}`):[`direction-xs-${String(e)}`],Zk=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],eE=Ud(),tE=Ok("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function nE(e){return K0({props:e,name:"MuiGrid",defaultTheme:eE})}function rE(e={}){const{createStyledComponent:t=tE,useThemeProps:n=nE,componentName:r="MuiGrid"}=e,o=w.createContext(void 0),i=(s,u)=>{const{container:f,direction:d,spacing:p,wrap:y,gridSize:g}=s,x={root:["root",f&&"container",y!=="wrap"&&`wrap-xs-${String(y)}`,...Jk(d),...Xk(g),...f?qk(p,u.breakpoints.keys[0]):[]]};return Ik(x,b=>Gd(r,b),{})},a=t(Uk,Kk,Gk,Wk,Qk,Yk,Vk),l=w.forwardRef(function(u,f){var d,p,y,g,x,b,h,m;const c=V0(),S=n(u),C=vk(S),k=w.useContext(o),{className:$,children:E,columns:v=12,container:P=!1,component:B="div",direction:M="row",wrap:N="wrap",spacing:z=0,rowSpacing:j=z,columnSpacing:I=z,disableEqualOverflow:L,unstable_level:O=0}=C,D=Re(C,Zk);let V=L;O&&L!==void 0&&(V=u.disableEqualOverflow);const Q={},K={},ge={};Object.entries(D).forEach(([F,G])=>{c.breakpoints.values[F]!==void 0?Q[F]=G:c.breakpoints.values[F.replace("Offset","")]!==void 0?K[F.replace("Offset","")]=G:ge[F]=G});const Z=(d=u.columns)!=null?d:O?void 0:v,Ie=(p=u.spacing)!=null?p:O?void 0:z,ke=(y=(g=u.rowSpacing)!=null?g:u.spacing)!=null?y:O?void 0:j,ne=(x=(b=u.columnSpacing)!=null?b:u.spacing)!=null?x:O?void 0:I,W=A({},C,{level:O,columns:Z,container:P,direction:M,wrap:N,spacing:Ie,rowSpacing:ke,columnSpacing:ne,gridSize:Q,gridOffset:K,disableEqualOverflow:(h=(m=V)!=null?m:k)!=null?h:!1,parentDisableEqualOverflow:k}),q=i(W,c);let U=R.jsx(a,A({ref:f,as:B,ownerState:W,className:Y(q.root,$)},ge,{children:w.Children.map(E,F=>{if(w.isValidElement(F)&&Y0(F,["Grid"])){var G;return w.cloneElement(F,{unstable_level:(G=F.props.unstable_level)!=null?G:O+1})}return F})}));return V!==void 0&&V!==(k??!1)&&(U=R.jsx(o.Provider,{value:V,children:U})),U});return l.muiName="Grid",l}const oE=A({},Cs,{borderRadius:{themeKey:"radius"},boxShadow:{themeKey:"shadow"},fontFamily:{themeKey:"fontFamily"},fontSize:{themeKey:"fontSize"},fontWeight:{themeKey:"fontWeight"},letterSpacing:{themeKey:"letterSpacing"},lineHeight:{themeKey:"lineHeight"}});function iE(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 vo=(e,t)=>Gd(e,t,"Mui"),xr=(e,t)=>Sk(e,t,"Mui"),aE=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))$/)}),lm=(e,t,n)=>{t.includes("Color")&&(e.color=n),t.includes("Bg")&&(e.backgroundColor=n),t.includes("Border")&&(e.borderColor=n)},sm=(e,t,n)=>{const r={};return Object.entries(t||{}).forEach(([o,i])=>{if(o.match(new RegExp(`${e}(color|bg|border)`,"i"))&&i){const a=n?n(o):i;o.includes("Disabled")&&(r.pointerEvents="none",r.cursor="default",r["--Icon-color"]="currentColor"),o.match(/(Hover|Active|Disabled)/)||(r["--variant-borderWidth"]||(r["--variant-borderWidth"]="0px"),o.includes("Border")&&(r["--variant-borderWidth"]="1px",r.border="var(--variant-borderWidth) solid")),lm(r,o,a)}}),r},Ye=(e,t)=>{let n={};if(t){const{getCssVar:r,palette:o}=t;Object.entries(o).forEach(i=>{const[a,l]=i;aE(l)&&typeof l=="object"&&(n=A({},n,{[a]:sm(e,l,s=>`var(--variant-${s}, ${r(`palette-${a}-${s}`,o[a][s])})`)}))})}return n.context=sm(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},lE=["cssVarPrefix","breakpoints","spacing","components","variants","shouldSkipGeneratingVar"],sE=["colorSchemes"],uE=(e="joy")=>Kd(e);function cE(e){var t,n,r,o,i,a,l,s,u,f;const d={},{cssVarPrefix:p="joy",breakpoints:y,spacing:g,components:x,variants:b,shouldSkipGeneratingVar:h=iE}=d,m=Re(d,lE),c=uE(p),S={primary:Ao.blue,neutral:Ao.grey,danger:Ao.red,success:Ao.green,warning:Ao.yellow,common:{white:"#FFF",black:"#000"}},C=W=>{var q;const U=W.split("-"),F=U[1],G=U[2];return c(W,(q=S[F])==null?void 0:q[G])},k=W=>({plainColor:C(`palette-${W}-500`),plainHoverBg:C(`palette-${W}-100`),plainActiveBg:C(`palette-${W}-200`),plainDisabledColor:C("palette-neutral-400"),outlinedColor:C(`palette-${W}-500`),outlinedBorder:C(`palette-${W}-300`),outlinedHoverBg:C(`palette-${W}-100`),outlinedActiveBg:C(`palette-${W}-200`),outlinedDisabledColor:C("palette-neutral-400"),outlinedDisabledBorder:C("palette-neutral-200"),softColor:C(`palette-${W}-700`),softBg:C(`palette-${W}-100`),softHoverBg:C(`palette-${W}-200`),softActiveColor:C(`palette-${W}-800`),softActiveBg:C(`palette-${W}-300`),softDisabledColor:C("palette-neutral-400"),softDisabledBg:C("palette-neutral-50"),solidColor:C("palette-common-white"),solidBg:C(`palette-${W}-500`),solidHoverBg:C(`palette-${W}-600`),solidActiveBg:C(`palette-${W}-700`),solidDisabledColor:C("palette-neutral-400"),solidDisabledBg:C("palette-neutral-100")}),$=W=>({plainColor:C(`palette-${W}-300`),plainHoverBg:C(`palette-${W}-800`),plainActiveBg:C(`palette-${W}-700`),plainDisabledColor:C("palette-neutral-500"),outlinedColor:C(`palette-${W}-200`),outlinedBorder:C(`palette-${W}-700`),outlinedHoverBg:C(`palette-${W}-800`),outlinedActiveBg:C(`palette-${W}-700`),outlinedDisabledColor:C("palette-neutral-500"),outlinedDisabledBorder:C("palette-neutral-800"),softColor:C(`palette-${W}-200`),softBg:C(`palette-${W}-800`),softHoverBg:C(`palette-${W}-700`),softActiveColor:C(`palette-${W}-100`),softActiveBg:C(`palette-${W}-600`),softDisabledColor:C("palette-neutral-500"),softDisabledBg:C("palette-neutral-800"),solidColor:C("palette-common-white"),solidBg:C(`palette-${W}-500`),solidHoverBg:C(`palette-${W}-600`),solidActiveBg:C(`palette-${W}-700`),solidDisabledColor:C("palette-neutral-500"),solidDisabledBg:C("palette-neutral-800")}),E={palette:{mode:"light",primary:A({},S.primary,k("primary")),neutral:A({},S.neutral,k("neutral"),{plainColor:C("palette-neutral-700"),plainHoverColor:C("palette-neutral-900"),outlinedColor:C("palette-neutral-700")}),danger:A({},S.danger,k("danger")),success:A({},S.success,k("success")),warning:A({},S.warning,k("warning")),common:{white:"#FFF",black:"#000"},text:{primary:C("palette-neutral-800"),secondary:C("palette-neutral-700"),tertiary:C("palette-neutral-600"),icon:C("palette-neutral-500")},background:{body:C("palette-common-white"),surface:C("palette-neutral-50"),popup:C("palette-common-white"),level1:C("palette-neutral-100"),level2:C("palette-neutral-200"),level3:C("palette-neutral-300"),tooltip:C("palette-neutral-500"),backdrop:`rgba(${c("palette-neutral-darkChannel",Jn(S.neutral[900]))} / 0.25)`},divider:`rgba(${c("palette-neutral-mainChannel",Jn(S.neutral[500]))} / 0.2)`,focusVisible:C("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"21 21 21",shadowOpacity:"0.08"},v={palette:{mode:"dark",primary:A({},S.primary,$("primary")),neutral:A({},S.neutral,$("neutral"),{plainColor:C("palette-neutral-300"),plainHoverColor:C("palette-neutral-300")}),danger:A({},S.danger,$("danger")),success:A({},S.success,$("success")),warning:A({},S.warning,$("warning")),common:{white:"#FFF",black:"#000"},text:{primary:C("palette-neutral-100"),secondary:C("palette-neutral-300"),tertiary:C("palette-neutral-400"),icon:C("palette-neutral-400")},background:{body:C("palette-common-black"),surface:C("palette-neutral-900"),popup:C("palette-common-black"),level1:C("palette-neutral-800"),level2:C("palette-neutral-700"),level3:C("palette-neutral-600"),tooltip:C("palette-neutral-600"),backdrop:`rgba(${c("palette-neutral-darkChannel",Jn(S.neutral[50]))} / 0.25)`},divider:`rgba(${c("palette-neutral-mainChannel",Jn(S.neutral[500]))} / 0.16)`,focusVisible:C("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"0 0 0",shadowOpacity:"0.6"},P='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',B=A({body:`"Inter", ${c(`fontFamily-fallback, ${P}`)}`,display:`"Inter", ${c(`fontFamily-fallback, ${P}`)}`,code:"Source Code Pro,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",fallback:P},m.fontFamily),M=A({sm:300,md:500,lg:600,xl:700},m.fontWeight),N=A({xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem",xl2:"1.5rem",xl3:"1.875rem",xl4:"2.25rem"},m.fontSize),z=A({xs:"1.33334",sm:"1.42858",md:"1.5",lg:"1.55556",xl:"1.66667"},m.lineHeight),j=(t=(n=m.colorSchemes)==null||(n=n.light)==null?void 0:n.shadowRing)!=null?t:E.shadowRing,I=(r=(o=m.colorSchemes)==null||(o=o.light)==null?void 0:o.shadowChannel)!=null?r:E.shadowChannel,L=(i=(a=m.colorSchemes)==null||(a=a.light)==null?void 0:a.shadowOpacity)!=null?i:E.shadowOpacity,O={colorSchemes:{light:E,dark:v},fontSize:N,fontFamily:B,fontWeight:M,focus:{thickness:"2px",selector:`&.${vo("","focusVisible")}, &:focus-visible`,default:{outlineOffset:`var(--focus-outline-offset, ${c("focus-thickness",(l=(s=m.focus)==null?void 0:s.thickness)!=null?l:"2px")})`,outline:`${c("focus-thickness",(u=(f=m.focus)==null?void 0:f.thickness)!=null?u:"2px")} solid ${c("palette-focusVisible",S.primary[500])}`}},lineHeight:z,radius:{xs:"2px",sm:"6px",md:"8px",lg:"12px",xl:"16px"},shadow:{xs:`${c("shadowRing",j)}, 0px 1px 2px 0px rgba(${c("shadowChannel",I)} / ${c("shadowOpacity",L)})`,sm:`${c("shadowRing",j)}, 0px 1px 2px 0px rgba(${c("shadowChannel",I)} / ${c("shadowOpacity",L)}), 0px 2px 4px 0px rgba(${c("shadowChannel",I)} / ${c("shadowOpacity",L)})`,md:`${c("shadowRing",j)}, 0px 2px 8px -2px rgba(${c("shadowChannel",I)} / ${c("shadowOpacity",L)}), 0px 6px 12px -2px rgba(${c("shadowChannel",I)} / ${c("shadowOpacity",L)})`,lg:`${c("shadowRing",j)}, 0px 2px 8px -2px rgba(${c("shadowChannel",I)} / ${c("shadowOpacity",L)}), 0px 12px 16px -4px rgba(${c("shadowChannel",I)} / ${c("shadowOpacity",L)})`,xl:`${c("shadowRing",j)}, 0px 2px 8px -2px rgba(${c("shadowChannel",I)} / ${c("shadowOpacity",L)}), 0px 20px 24px -4px rgba(${c("shadowChannel",I)} / ${c("shadowOpacity",L)})`},zIndex:{badge:1,table:10,popup:1e3,modal:1300,snackbar:1400,tooltip:1500},typography:{h1:{fontFamily:c(`fontFamily-display, ${B.display}`),fontWeight:c(`fontWeight-xl, ${M.xl}`),fontSize:c(`fontSize-xl4, ${N.xl4}`),lineHeight:c(`lineHeight-xs, ${z.xs}`),letterSpacing:"-0.025em",color:c(`palette-text-primary, ${E.palette.text.primary}`)},h2:{fontFamily:c(`fontFamily-display, ${B.display}`),fontWeight:c(`fontWeight-xl, ${M.xl}`),fontSize:c(`fontSize-xl3, ${N.xl3}`),lineHeight:c(`lineHeight-xs, ${z.xs}`),letterSpacing:"-0.025em",color:c(`palette-text-primary, ${E.palette.text.primary}`)},h3:{fontFamily:c(`fontFamily-display, ${B.display}`),fontWeight:c(`fontWeight-lg, ${M.lg}`),fontSize:c(`fontSize-xl2, ${N.xl2}`),lineHeight:c(`lineHeight-xs, ${z.xs}`),letterSpacing:"-0.025em",color:c(`palette-text-primary, ${E.palette.text.primary}`)},h4:{fontFamily:c(`fontFamily-display, ${B.display}`),fontWeight:c(`fontWeight-lg, ${M.lg}`),fontSize:c(`fontSize-xl, ${N.xl}`),lineHeight:c(`lineHeight-md, ${z.md}`),letterSpacing:"-0.025em",color:c(`palette-text-primary, ${E.palette.text.primary}`)},"title-lg":{fontFamily:c(`fontFamily-body, ${B.body}`),fontWeight:c(`fontWeight-lg, ${M.lg}`),fontSize:c(`fontSize-lg, ${N.lg}`),lineHeight:c(`lineHeight-xs, ${z.xs}`),color:c(`palette-text-primary, ${E.palette.text.primary}`)},"title-md":{fontFamily:c(`fontFamily-body, ${B.body}`),fontWeight:c(`fontWeight-md, ${M.md}`),fontSize:c(`fontSize-md, ${N.md}`),lineHeight:c(`lineHeight-md, ${z.md}`),color:c(`palette-text-primary, ${E.palette.text.primary}`)},"title-sm":{fontFamily:c(`fontFamily-body, ${B.body}`),fontWeight:c(`fontWeight-md, ${M.md}`),fontSize:c(`fontSize-sm, ${N.sm}`),lineHeight:c(`lineHeight-sm, ${z.sm}`),color:c(`palette-text-primary, ${E.palette.text.primary}`)},"body-lg":{fontFamily:c(`fontFamily-body, ${B.body}`),fontSize:c(`fontSize-lg, ${N.lg}`),lineHeight:c(`lineHeight-md, ${z.md}`),color:c(`palette-text-secondary, ${E.palette.text.secondary}`)},"body-md":{fontFamily:c(`fontFamily-body, ${B.body}`),fontSize:c(`fontSize-md, ${N.md}`),lineHeight:c(`lineHeight-md, ${z.md}`),color:c(`palette-text-secondary, ${E.palette.text.secondary}`)},"body-sm":{fontFamily:c(`fontFamily-body, ${B.body}`),fontSize:c(`fontSize-sm, ${N.sm}`),lineHeight:c(`lineHeight-md, ${z.md}`),color:c(`palette-text-tertiary, ${E.palette.text.tertiary}`)},"body-xs":{fontFamily:c(`fontFamily-body, ${B.body}`),fontWeight:c(`fontWeight-md, ${M.md}`),fontSize:c(`fontSize-xs, ${N.xs}`),lineHeight:c(`lineHeight-md, ${z.md}`),color:c(`palette-text-tertiary, ${E.palette.text.tertiary}`)}}},D=m?vn(O,m):O,{colorSchemes:V}=D,Q=Re(D,sE),K=A({colorSchemes:V},Q,{breakpoints:j0(y??{}),components:vn({MuiSvgIcon:{defaultProps:{fontSize:"xl2"},styleOverrides:{root:({ownerState:W,theme:q})=>{var U;const F=W.instanceFontSize;return A({margin:"var(--Icon-margin)"},W.fontSize&&W.fontSize!=="inherit"&&{fontSize:`var(--Icon-fontSize, ${q.vars.fontSize[W.fontSize]})`},!W.htmlColor&&A({color:`var(--Icon-color, ${K.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)`}),F&&F!=="inherit"&&{"--Icon-fontSize":q.vars.fontSize[F]})}}}},x),cssVarPrefix:p,getCssVar:c,spacing:H0(g)});function ge(W,q){Object.keys(q).forEach(U=>{const F={main:"500",light:"200",dark:"700"};W==="dark"&&(F.main=400),!q[U].mainChannel&&q[U][F.main]&&(q[U].mainChannel=Jn(q[U][F.main])),!q[U].lightChannel&&q[U][F.light]&&(q[U].lightChannel=Jn(q[U][F.light])),!q[U].darkChannel&&q[U][F.dark]&&(q[U].darkChannel=Jn(q[U][F.dark]))})}Object.entries(K.colorSchemes).forEach(([W,q])=>{ge(W,q.palette)});const Z={prefix:p,shouldSkipGeneratingVar:h},{vars:Ie,generateCssVars:ke}=Lk(A({colorSchemes:V},Q),Z);K.vars=Ie,K.generateCssVars=ke,K.unstable_sxConfig=A({},oE,void 0),K.unstable_sx=function(q){return Ss({sx:q,theme:this})},K.getColorSchemeSelector=W=>W==="light"?"&":`&[data-joy-color-scheme="${W}"], [data-joy-color-scheme="${W}"] &`;const ne={getCssVar:c,palette:K.colorSchemes.light.palette};return K.variants=vn({plain:Ye("plain",ne),plainHover:Ye("plainHover",ne),plainActive:Ye("plainActive",ne),plainDisabled:Ye("plainDisabled",ne),outlined:Ye("outlined",ne),outlinedHover:Ye("outlinedHover",ne),outlinedActive:Ye("outlinedActive",ne),outlinedDisabled:Ye("outlinedDisabled",ne),soft:Ye("soft",ne),softHover:Ye("softHover",ne),softActive:Ye("softActive",ne),softDisabled:Ye("softDisabled",ne),solid:Ye("solid",ne),solidHover:Ye("solidHover",ne),solidActive:Ye("solidActive",ne),solidDisabled:Ye("solidDisabled",ne)},b),K.palette=A({},K.colorSchemes.light.palette,{colorScheme:"light"}),K.shouldSkipGeneratingVar=h,K.applyStyles=W0,K}const q0=cE(),En=U0({defaultTheme:q0,themeId:N0});function yo({props:e,name:t}){return K0({props:e,name:t,defaultTheme:A({},q0,{components:{}}),themeId:N0})}function dE(e){return typeof e=="string"}function fE(e,t,n){return e===void 0||dE(e)?t:A({},t,{ownerState:A({},t.ownerState,n)})}function pE(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 mE(e,t,n){return typeof e=="function"?e(t,n):e}function Wi(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,a)=>{if(a){const l=t(a);l!==""&&i.push(l),n&&n[a]&&i.push(n[a])}return i},[]).join(" ")}),r}function um(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 hE(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const y=Y(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),g=A({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),x=A({},n,o,r);return y.length>0&&(x.className=y),Object.keys(g).length>0&&(x.style=g),{props:x,internalRef:void 0}}const a=pE(A({},o,r)),l=um(r),s=um(o),u=t(a),f=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=A({},u==null?void 0:u.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),p=A({},u,n,s,l);return f.length>0&&(p.className=f),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:u.ref}}const gE=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],vE=["component","slots","slotProps"],yE=["component"];function lo(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,getSlotOwnerState:a,internalForwardedProps:l}=t,s=Re(t,gE),{component:u,slots:f={[e]:void 0},slotProps:d={[e]:void 0}}=i,p=Re(i,vE),y=f[e]||r,g=mE(d[e],o),x=hE(A({className:n},s,{externalForwardedProps:e==="root"?p:void 0,externalSlotProps:g})),{props:{component:b},internalRef:h}=x,m=Re(x.props,yE),c=Mk(h,g==null?void 0:g.ref,t.ref),S=a?a(m):{},C=A({},o,S),k=e==="root"?b||u:b,$=fE(y,A({},e==="root"&&!u&&!f[e]&&l,e!=="root"&&!f[e]&&l,m,k&&{as:k},{ref:c}),C);return Object.keys(S).forEach(E=>{delete $[E]}),[y,$]}const xE=({theme:e,ownerState:t},n)=>{let r={};function o(i){if(typeof i=="function"){const a=i(e);o(a)}else Array.isArray(i)?i.forEach(a=>{typeof a!="boolean"&&o(a)}):typeof i=="object"&&(r=A({},r,i))}return t.sx&&(o(t.sx),n.forEach(i=>{const a=r[i];if(typeof a=="string"||typeof a=="number")if(i==="borderRadius")if(typeof a=="number")r[i]=`${a}px`;else{var l;r[i]=((l=e.vars)==null?void 0:l.radius[a])||a}else["p","padding","m","margin"].indexOf(i)!==-1&&typeof a=="number"?r[i]=e.spacing(a):r[i]=a;else typeof a=="function"?r[i]=a(e):r[i]=void 0})),r},Xd=e=>t=>`--${e?`${e}-`:""}${t.replace(/^--/,"")}`,hl="data-skip-inverted-colors",J0=`& :not([${hl}], [${hl}] *)`,Z0=e=>{var t,n,r,o,i,a,l,s,u,f,d,p,y,g,x,b,h,m,c,S,C,k;const $=Xd(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")]:`${(a=e.colorSchemes.light)==null?void 0:a.palette.background.level2} !important`,[$("--palette-background-level3")]:`${(l=e.colorSchemes.light)==null?void 0:l.palette.background.level3} !important`,[$("--palette-text-primary")]:`${(s=e.colorSchemes.light)==null?void 0:s.palette.text.primary} !important`,[$("--palette-text-secondary")]:`${(u=e.colorSchemes.light)==null?void 0:u.palette.text.secondary} !important`,[$("--palette-text-tertiary")]:`${(f=e.colorSchemes.light)==null?void 0:f.palette.text.tertiary} !important`,[$("--palette-divider")]:`${(d=e.colorSchemes.light)==null?void 0:d.palette.divider} !important`},[e.getColorSchemeSelector("dark")]:{[$("--palette-focusVisible")]:`${(p=e.colorSchemes.dark)==null?void 0:p.palette.focusVisible} !important`,[$("--palette-background-body")]:`${(y=e.colorSchemes.dark)==null?void 0:y.palette.background.body} !important`,[$("--palette-background-surface")]:`${(g=e.colorSchemes.dark)==null?void 0:g.palette.background.surface} !important`,[$("--palette-background-popup")]:`${(x=e.colorSchemes.dark)==null?void 0:x.palette.background.popup} !important`,[$("--palette-background-level1")]:`${(b=e.colorSchemes.dark)==null?void 0:b.palette.background.level1} !important`,[$("--palette-background-level2")]:`${(h=e.colorSchemes.dark)==null?void 0:h.palette.background.level2} !important`,[$("--palette-background-level3")]:`${(m=e.colorSchemes.dark)==null?void 0:m.palette.background.level3} !important`,[$("--palette-text-primary")]:`${(c=e.colorSchemes.dark)==null?void 0:c.palette.text.primary} !important`,[$("--palette-text-secondary")]:`${(S=e.colorSchemes.dark)==null?void 0:S.palette.text.secondary} !important`,[$("--palette-text-tertiary")]:`${(C=e.colorSchemes.dark)==null?void 0:C.palette.text.tertiary} !important`,[$("--palette-divider")]:`${(k=e.colorSchemes.dark)==null?void 0:k.palette.divider} !important`}}};function CE(e){return e.theme!==void 0}const SE=e=>t=>{const n=CE(t)?t.theme:t,r=Kd(n.cssVarPrefix),o=Xd(n.cssVarPrefix),i=a=>{const l=a.split("-");return r(a,n.palette[l[1]][l[2]])};return{[J0]:{"--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)`}},[`&, & [${hl}]`]:Z0(n)}},wE=e=>t=>{const{theme:n=t}=t,r=Kd(n.cssVarPrefix),o=Xd(n.cssVarPrefix),i=a=>{const l=a.split("-");return r(a,n.palette[l[1]][l[2]])};return{[J0]:{"--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)`}},[`&, & [${hl}]`]:Z0(n)}};function bE(e){return vo("MuiAspectRatio",e)}xr("MuiAspectRatio",["root","content","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);const $E=["children","ratio","minHeight","maxHeight","objectFit","color","variant","component","flex","slots","slotProps"],kE=e=>{const{variant:t,color:n}=e,r={root:["root"],content:["content",t&&`variant${un(t)}`,n&&`color${un(n)}`]};return Wi(r,bE,{})},EE=En("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)"}}),PE=En("div",{name:"JoyAspectRatio",slot:"Content",overridesResolver:(e,t)=>t.content})(({theme:e,ownerState:t})=>{var n;return A({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])}),cm=w.forwardRef(function(t,n){const r=yo({props:t,name:"JoyAspectRatio"}),{children:o,ratio:i="16 / 9",minHeight:a,maxHeight:l,objectFit:s="cover",color:u="neutral",variant:f="soft",component:d,flex:p=!1,slots:y={},slotProps:g={}}=r,x=Re(r,$E),b=A({},r,{flex:p,minHeight:a,maxHeight:l,objectFit:s,ratio:i,color:u,variant:f}),h=kE(b),m=A({},x,{component:d,slots:y,slotProps:g}),[c,S]=lo("root",{ref:n,className:h.root,elementType:EE,externalForwardedProps:m,ownerState:b}),[C,k]=lo("content",{className:h.content,elementType:PE,externalForwardedProps:m,ownerState:b});return R.jsx(c,A({},S,{children:R.jsx(C,A({},k,{children:w.Children.map(o,($,E)=>E===0&&w.isValidElement($)?w.cloneElement($,{"data-first-child":""}):$)}))}))}),dm=xr("MuiButton",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg","fullWidth","startDecorator","endDecorator","loading","loadingIndicatorCenter"]);function RE(e){return vo("MuiCard",e)}const Rr=xr("MuiCard",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","horizontal","vertical"]),TE=["className","color","component","invertedColors","size","variant","children","orientation","slots","slotProps"],OE=e=>{const{size:t,variant:n,color:r,orientation:o}=e,i={root:["root",o,n&&`variant${un(n)}`,r&&`color${un(r)}`,t&&`size${un(t)}`]};return Wi(i,RE,{})},BE=En("div")(({theme:e,ownerState:t})=>{var n;const{p:r,padding:o,borderRadius:i}=xE({theme:e,ownerState:t},["p","padding","borderRadius"]);return[A({"--Icon-color":t.color!=="neutral"||t.variant==="solid"?"currentColor":e.vars.palette.text.icon,"--Card-childRadius":"max((var(--Card-radius) - var(--variant-borderWidth, 0px)) - var(--Card-padding), min(var(--Card-padding) / 2, (var(--Card-radius) - var(--variant-borderWidth, 0px)) / 2))","--AspectRatio-radius":"var(--Card-childRadius)","--unstable_actionMargin":"calc(-1 * var(--variant-borderWidth, 0px))","--unstable_actionRadius":"var(--Card-radius)","--CardCover-radius":"calc(var(--Card-radius) - var(--variant-borderWidth, 0px))","--CardOverflow-offset":"calc(-1 * var(--Card-padding))","--CardOverflow-radius":"calc(var(--Card-radius) - var(--variant-borderWidth, 0px))","--Divider-inset":"calc(-1 * var(--Card-padding))"},t.size==="sm"&&{"--Card-radius":e.vars.radius.sm,"--Card-padding":"0.625rem",gap:"0.5rem"},t.size==="md"&&{"--Card-radius":e.vars.radius.md,"--Card-padding":"1rem",gap:"0.75rem 1rem"},t.size==="lg"&&{"--Card-radius":e.vars.radius.lg,"--Card-padding":"1.5rem",gap:"1rem 1.5rem"},{padding:"var(--Card-padding)",borderRadius:"var(--Card-radius)",backgroundColor:e.vars.palette.background.surface,position:"relative",display:"flex",flexDirection:t.orientation==="horizontal"?"row":"column"},e.typography[`body-${t.size}`],t.variant==="solid"&&t.color&&t.invertedColors&&SE(t.color)(e),t.variant==="soft"&&t.color&&t.invertedColors&&wE(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}]}),_E=En(BE,{name:"JoyCard",slot:"Root",overridesResolver:(e,t)=>t.root})({}),fm=w.forwardRef(function(t,n){const r=yo({props:t,name:"JoyCard"}),{className:o,color:i="neutral",component:a="div",invertedColors:l=!1,size:s="md",variant:u="outlined",children:f,orientation:d="vertical",slots:p={},slotProps:y={}}=r,g=Re(r,TE),x=A({},r,{color:i,component:a,orientation:d,size:s,variant:u,invertedColors:l}),b=OE(x),h=A({},g,{component:a,slots:p,slotProps:y}),[m,c]=lo("root",{ref:n,className:Y(b.root,o),elementType:_E,externalForwardedProps:h,ownerState:x});return R.jsx(m,A({},c,{children:w.Children.map(f,(S,C)=>{if(!w.isValidElement(S))return S;const k={};if(Y0(S,["Divider"])){k.inset="inset"in S.props?S.props.inset:"context";const $=d==="vertical"?"horizontal":"vertical";k.orientation="orientation"in S.props?S.props.orientation:$}return C===0&&(k["data-first-child"]=""),C===w.Children.count(f)-1&&(k["data-last-child"]=""),w.cloneElement(S,k)})}))});function AE(e){return vo("MuiCardOverflow",e)}const ME=xr("MuiCardOverflow",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);function IE(e){return vo("MuiDivider",e)}xr("MuiDivider",["root","horizontal","vertical","insetContext","insetNone"]);function zE(e){return vo("MuiCardContent",e)}xr("MuiCardContent",["root"]);const NE=["className","component","children","orientation","slots","slotProps"],DE=()=>Wi({root:["root"]},zE,{}),jE=En("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)",[`.${ME.root} > &`]:{"--unstable_padding":"calc(var(--Card-padding) * 0.75) 0px"}})),FE=En(jE,{name:"JoyCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({}),pm=w.forwardRef(function(t,n){const r=yo({props:t,name:"JoyCardContent"}),{className:o,component:i="div",children:a,orientation:l="vertical",slots:s={},slotProps:u={}}=r,f=Re(r,NE),d=A({},f,{component:i,slots:s,slotProps:u}),p=A({},r,{component:i,orientation:l}),y=DE(),[g,x]=lo("root",{ref:n,className:Y(y.root,o),elementType:FE,externalForwardedProps:d,ownerState:p});return R.jsx(g,A({},x,{children:a}))}),LE=xr("MuiModalDialog",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","layoutCenter","layoutFullscreen"]),HE=["className","component","children","color","variant","slots","slotProps"],WE=e=>{const{variant:t,color:n}=e,r={root:["root",t&&`variant${un(t)}`,n&&`color${un(n)}`]};return Wi(r,AE,{})},VE=En("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 A({alignSelf:"stretch",position:"relative",display:"flex",flexDirection:"var(--_CardOverflow-flexDirection)",margin:"var(--_CardOverflow-margin)",borderRadius:"var(--_CardOverflow-radius)",padding:"var(--_CardOverflow-padding)",[`.${Rr.vertical} &, .${Rr.horizontal} .${Rr.vertical} &, .${LE.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)"},[`& > .${dm.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)"}},[`.${Rr.horizontal} &, .${Rr.vertical} .${Rr.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)"},[`& > .${dm.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])}),_a=w.forwardRef(function(t,n){const r=yo({props:t,name:"JoyCardOverflow"}),{className:o,component:i="div",children:a,color:l="neutral",variant:s="plain",slots:u={},slotProps:f={}}=r,d=Re(r,HE),p=A({},r,{component:i,color:l,variant:s}),y=WE(p),g=A({},d,{component:i,slots:u,slotProps:f}),[x,b]=lo("root",{ref:n,className:Y(y.root,o),elementType:VE,externalForwardedProps:g,ownerState:p});return R.jsx(x,A({},b,{children:a}))});_a.muiName="CardOverflow";const UE=["className","children","component","inset","orientation","role","slots","slotProps"],GE=e=>{const{orientation:t,inset:n}=e,r={root:["root",t,n&&`inset${un(n)}`]};return Wi(r,IE,{})},KE=En("hr",{name:"JoyDivider",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>A({"--Divider-thickness":"1px","--Divider-lineColor":e.vars.palette.divider},t.inset==="none"&&{"--_Divider-inset":"0px"},t.inset==="context"&&{"--_Divider-inset":"var(--Divider-inset, 0px)"},{margin:"initial",marginInline:t.orientation==="vertical"?"initial":"var(--_Divider-inset)",marginBlock:t.orientation==="vertical"?"var(--_Divider-inset)":"initial",position:"relative",alignSelf:"stretch",flexShrink:0},t.children?A({"--Divider-gap":e.spacing(1),"--Divider-childPosition":"50%",display:"flex",flexDirection:t.orientation==="vertical"?"column":"row",alignItems:"center",whiteSpace:"nowrap",textAlign:"center",border:0},e.typography["body-sm"],{"&::before, &::after":{position:"relative",inlineSize:t.orientation==="vertical"?"var(--Divider-thickness)":"initial",blockSize:t.orientation==="vertical"?"initial":"var(--Divider-thickness)",backgroundColor:"var(--Divider-lineColor)",content:'""'},"&::before":{marginInlineEnd:t.orientation==="vertical"?"initial":"min(var(--Divider-childPosition) * 999, var(--Divider-gap))",marginBlockEnd:t.orientation==="vertical"?"min(var(--Divider-childPosition) * 999, var(--Divider-gap))":"initial",flexBasis:"var(--Divider-childPosition)"},"&::after":{marginInlineStart:t.orientation==="vertical"?"initial":"min((100% - var(--Divider-childPosition)) * 999, var(--Divider-gap))",marginBlockStart:t.orientation==="vertical"?"min((100% - var(--Divider-childPosition)) * 999, var(--Divider-gap))":"initial",flexBasis:"calc(100% - var(--Divider-childPosition))"}}):{border:"none",listStyle:"none",backgroundColor:"var(--Divider-lineColor)",inlineSize:t.orientation==="vertical"?"var(--Divider-thickness)":"initial",blockSize:t.orientation==="vertical"?"initial":"var(--Divider-thickness)"})),ev=w.forwardRef(function(t,n){const r=yo({props:t,name:"JoyDivider"}),{className:o,children:i,component:a=i!=null?"div":"hr",inset:l,orientation:s="horizontal",role:u=a!=="hr"?"separator":void 0,slots:f={},slotProps:d={}}=r,p=Re(r,UE),y=A({},r,{inset:l,role:u,orientation:s,component:a}),g=GE(y),x=A({},p,{component:a,slots:f,slotProps:d}),[b,h]=lo("root",{ref:n,className:Y(g.root,o),elementType:KE,externalForwardedProps:x,ownerState:y,additionalProps:A({as:a,role:u},u==="separator"&&s==="vertical"&&{"aria-orientation":"vertical"})});return R.jsx(b,A({},h,{children:i}))});ev.muiName="Divider";const mm=rE({createStyledComponent:En("div",{name:"JoyGrid",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>yo({props:e,name:"JoyGrid"})}),QE=[{Id:"1",name:"Taichung Beauty",rating:5,isSpecial:!0,image:"https://barritaorchids.com/cdn/shop/products/Cf592_1024x1024.jpg",color:"pink",origin:"Taiwan",category:"Cattleya",detail:"A striking orchid with large, vibrant pink flowers. Native to Taiwan, the Taichung Beauty is highly valued for its bold colors and long-lasting blooms. It is commonly cultivated for decorative purposes."},{Id:"2",name:"Phalaenopsis Elegance",rating:4,isSpecial:!0,image:"https://images.unsplash.com/photo-1639374593182-88b49b80a688?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8UGhhbGFlbm9wc2lzJTIwRWxlZ2FuY2V8ZW58MHx8MHx8fDA%3D",color:"white",origin:"Thailand",category:"Phalaenopsis",detail:"This elegant orchid is admired for its pure white petals and graceful appearance. Originating from Thailand, the Phalaenopsis Elegance is widely known as the 'Moth Orchid' due to its petal shape and is commonly grown in households."},{Id:"3",name:"Vanda Blue Charm",rating:5,isSpecial:!1,image:"https://plus.unsplash.com/premium_photo-1666855258034-8d2c36091ec1?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"blue",origin:"Philippines",category:"Vanda",detail:"Known for its rare and vibrant blue color, the Vanda Blue Charm is an exotic orchid native to the Philippines. Its large, stunning flowers make it a highly sought-after plant in orchid collections worldwide."},{Id:"4",name:"Dendrobium Noble",rating:3,isSpecial:!1,image:"https://www.gardentags.com/plant-encyclopedia/images/2703/dendrobium-nobile.jpeg",color:"purple",origin:"Vietnam",category:"Dendrobium",detail:"With its compact size and beautiful purple blooms, the Dendrobium Noble is a versatile orchid perfect for both indoor and outdoor environments. It thrives in warm, tropical climates and is widely grown in Vietnam."},{Id:"5",name:"Cymbidium Green Glow",rating:4,isSpecial:!0,image:"https://plus.unsplash.com/premium_photo-1689643577385-57af0aba150e?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"green",origin:"China",category:"Cymbidium",detail:"This unique orchid stands out with its fresh green color. Known for its hardiness, the Cymbidium Green Glow originates from China and is often used in floral arrangements due to its long-lasting nature and elegant presence."},{Id:"6",name:"Oncidium Shining Star",rating:5,isSpecial:!0,image:"https://plus.unsplash.com/premium_photo-1674343963928-d67007d2ae74?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"yellow",origin:"Brazil",category:"Oncidium",detail:"With bright yellow flowers, the Oncidium Shining Star is known for its cheerful appearance. Native to Brazil, this orchid is easy to care for and is commonly used in decorative displays, making it a favorite among gardeners."},{Id:"7",name:"Paphiopedilum Venus",rating:4,isSpecial:!1,image:"https://images.unsplash.com/photo-1516477266610-9e4c763da721?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"red",origin:"India",category:"Paphiopedilum",detail:"Often referred to as the 'Lady Slipper Orchid', Paphiopedilum Venus is notable for its unique pouch-shaped petals. Originating from India, it is loved for its striking red flowers and is a prized addition to many collections."},{Id:"8",name:"Cattleya Golden Sunset",rating:5,isSpecial:!0,image:"https://plus.unsplash.com/premium_photo-1726192307773-cb64923bdc63?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"orange",origin:"Colombia",category:"Cattleya",detail:"The Cattleya Golden Sunset is admired for its bright orange flowers that evoke the beauty of a tropical sunset. Originating from Colombia, this orchid is often associated with warmth and happiness, making it a popular decorative plant."},{Id:"9",name:"Zygopetalum Tropical Beauty",rating:3,isSpecial:!1,image:"https://plus.unsplash.com/premium_photo-1681276170873-c6071233076e?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"brown",origin:"Costa Rica",category:"Zygopetalum",detail:"Known for its distinct brown and purple blooms, the Zygopetalum Tropical Beauty is native to Costa Rica. This orchid thrives in humid environments and is popular for its exotic appearance and delightful fragrance."},{Id:"10",name:"Maxillaria Coconut Delight",rating:4,isSpecial:!1,image:"https://images.unsplash.com/photo-1454262041357-5d96f50a2f27?q=80&w=1169&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"white",origin:"Mexico",category:"Maxillaria",detail:"Emitting a sweet coconut scent, the Maxillaria Coconut Delight is loved by orchid enthusiasts for its fragrance and delicate white blooms. Native to Mexico, this orchid brings a tropical essence to any setting."},{Id:"11",name:"Brassia Spider Star",rating:5,isSpecial:!0,image:"https://plus.unsplash.com/premium_photo-1663962390315-0825787f07a8?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",color:"green",origin:"Ecuador",category:"Brassia",detail:"Known as the 'Spider Orchid' for its long, spindly petals, the Brassia Spider Star has a unique and captivating appearance. Originating from Ecuador, it is a favorite among collectors for its striking structure and greenish hues."},{Id:"12",name:"Laelia Pink Paradise",rating:4,isSpecial:!1,image:"https://littleorchidannie.com/cdn/shop/files/Ctly._Spring_Fragrance_flower__75160.jpg?v=1714437883&width=533",color:"pink",origin:"Mexico",category:"Laelia",detail:"With soft pink petals and a subtle fragrance, the Laelia Pink Paradise is a native of Mexico. It symbolizes love and beauty, often used in romantic bouquets."},{Id:"13",name:"Bulbophyllum Medusae",rating:5,isSpecial:!0,image:"https://www.laforestaorchids.com/cdn/shop/files/bulbophyllum-medusae-bulbophyllum-la-foresta-orchids-295241.jpg?v=1701390801",color:"white",origin:"Malaysia",category:"Bulbophyllum",detail:"An unusual and exotic orchid, the Bulbophyllum Medusae has long, tendril-like petals resembling the mythical Medusa. Native to Malaysia, it is favored by collectors for its bizarre yet fascinating appearance."},{Id:"14",name:"Coelogyne Cristata",rating:4,isSpecial:!1,image:"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqs0jSeBbqz4JXop6kfH-v1SADXUDoKmmQYJVbKRo2Yg-3p4dvSidePWrU70J0A-embOKQLxGsae5d9QhH_QUYg0Cc0Hw4Ud14aQma5nJyN3jEYaQw-pTZtttCoMlGWsrXj2yd3Z5VseE/s1600/1024px-Coelogyne_cristata_3.jpg",color:"white",origin:"Himalayas",category:"Coelogyne",detail:"With pristine white blooms, Coelogyne Cristata is often associated with purity and serenity. Originating from the Himalayan region, it thrives in cool climates and is popular for its cascading flowers."},{Id:"15",name:"Miltonia Sunset",rating:3,isSpecial:!1,image:"https://tropicalorchidsportugal.com/wp-content/uploads/2024/03/miltonia-sunset-02-1-1-1.png",color:"pink",origin:"Brazil",category:"Miltonia",detail:"Miltonia Sunset boasts vibrant pink flowers with a golden center, resembling a tropical sunset. Native to Brazil, this orchid is loved for its beauty and is often grown in warm, humid environments."},{Id:"16",name:"Phragmipedium Scarlet Flame",rating:5,isSpecial:!0,image:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTnzBaj1vWww3IbBvo2SVVHEkSrNzpGhl2fJg&s",color:"red",origin:"Peru",category:"Phragmipedium",detail:"A captivating orchid with fiery red flowers, the Phragmipedium Scarlet Flame is a rare beauty from Peru. Its striking color and exotic appearance make it highly desired by collectors."}];function YE({orchid:e}){const[t,n]=w.useState(!1),[r,o]=w.useState(null);return{isVisible:t,detail:r,showModal:l=>{o(l),n(!0)},hideModal:()=>n(!1)}}const XE=mo(R.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"),qE=mo([R.jsx("path",{d:"m12 2-5.5 9h11z"},"0"),R.jsx("circle",{cx:"17.5",cy:"17.5",r:"4.5"},"1"),R.jsx("path",{d:"M3 13.5h8v8H3z"},"2")],"Category"),JE={position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:400,bgcolor:"black",border:"2px solid #000",boxShadow:24,p:4,color:"white"};function ZE({orchid:e}){const{isVisible:t,showModal:n,hideModal:r}=YE({orchid:e});return R.jsxs(R.Fragment,{children:[R.jsxs(fm,{variant:"solid",sx:{width:320,bgcolor:"black",color:"white","&:hover":{boxShadow:"0 0 10px rgba(255, 255, 255, 0.8)"}},children:[R.jsx(_a,{children:R.jsx(cm,{variant:"outlined",ratio:"2",onClick:()=>n(e),children:R.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:""})})}),R.jsxs(pm,{children:[R.jsx(In,{level:"title-md",sx:{color:"white",fontWeight:"bold",mb:.5},children:e.name}),R.jsxs($i,{children:[R.jsxs(In,{level:"body-sm",sx:{color:"grey.400",mb:2,alignItems:"center",display:"flex"},children:[R.jsx(XE,{sx:{marginRight:"4px",width:"16px"}}),e.origin]}),R.jsxs(In,{level:"body-sm",sx:{color:"grey.400",mb:2,alignItems:"center",display:"flex"},children:[R.jsx(qE,{sx:{marginRight:"4px",width:"16px"}}),e.category]})]})]}),R.jsxs(_a,{variant:"soft",sx:{bgcolor:"rgba(255, 255, 255, 0.1)"},children:[R.jsx(ev,{inset:"context",sx:{bgcolor:"white"}}),R.jsxs(pm,{orientation:"horizontal",sx:{justifyContent:"space-between"},children:[R.jsx(g$,{name:"read-only",value:e.rating,readOnly:!0}),R.jsx(Dd,{variant:"outlined",children:"Detail"})]})]})]}),R.jsx(C0,{open:t,onClose:r,"aria-labelledby":"modal-modal-title","aria-describedby":"modal-modal-description",children:R.jsxs($i,{sx:JE,children:[R.jsx(fm,{children:R.jsx(_a,{children:R.jsx(cm,{ratio:"2",children:R.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:""})})})}),R.jsx(In,{id:"modal-modal-description",sx:{mt:2},children:e.detail})]})})]})}function e5(){const{theme:e}=w.useContext(Ni);return R.jsx(mm,{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:QE.map(t=>R.jsx(mm,{size:{xs:1,sm:3,md:4},children:R.jsx(ZE,{orchid:t},t.Id)},t.Id))})}function t5(){return w.useState(0),R.jsxs(R.Fragment,{children:[R.jsx(v2,{}),R.jsx(a2,{children:R.jsx(z0,{path:"/fer-lab1/",element:R.jsx(e5,{})})}),R.jsx(y2,{})]})}Rg(document.getElementById("root")).render(R.jsx(w.StrictMode,{children:R.jsx(p2,{children:R.jsx(r$,{children:R.jsx(t5,{})})})})); diff --git a/index.html b/index.html index fc3bf37..e54b274 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ Vite + React - +