![JAR search and dependency download from the Maven repository](/logo.png)
webapp-preview.dist.assets.index-DeMETpgr.js Maven / Gradle / Ivy
var Wy=Object.defineProperty;var Hy=(e,t,n)=>t in e?Wy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ai=(e,t,n)=>Hy(e,typeof t!="symbol"?t+"":t,n);function Vy(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function dd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Dm={exports:{}},il={},Fm={exports:{}},ee={};/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var gs=Symbol.for("react.element"),Gy=Symbol.for("react.portal"),Ky=Symbol.for("react.fragment"),Qy=Symbol.for("react.strict_mode"),Xy=Symbol.for("react.profiler"),Yy=Symbol.for("react.provider"),Zy=Symbol.for("react.context"),qy=Symbol.for("react.forward_ref"),Jy=Symbol.for("react.suspense"),e1=Symbol.for("react.memo"),t1=Symbol.for("react.lazy"),Jf=Symbol.iterator;function n1(e){return e===null||typeof e!="object"?null:(e=Jf&&e[Jf]||e["@@iterator"],typeof e=="function"?e:null)}var Um={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Wm=Object.assign,Hm={};function Zo(e,t,n){this.props=e,this.context=t,this.refs=Hm,this.updater=n||Um}Zo.prototype.isReactComponent={};Zo.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")};Zo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Vm(){}Vm.prototype=Zo.prototype;function fd(e,t,n){this.props=e,this.context=t,this.refs=Hm,this.updater=n||Um}var pd=fd.prototype=new Vm;pd.constructor=fd;Wm(pd,Zo.prototype);pd.isPureReactComponent=!0;var ep=Array.isArray,Gm=Object.prototype.hasOwnProperty,hd={current:null},Km={key:!0,ref:!0,__self:!0,__source:!0};function Qm(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)Gm.call(t,r)&&!Km.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1>>1,K=$[V];if(0>>1;Vo(ce,B))yeo(Me,ce)?($[V]=Me,$[ye]=B,V=ye):($[V]=ce,$[Q]=B,V=Q);else if(yeo(Me,B))$[V]=Me,$[ye]=B,V=ye;else break e}}return j}function o($,j){var B=$.sortIndex-j.sortIndex;return B!==0?B:$.id-j.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,d=null,m=3,y=!1,x=!1,S=!1,C=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function f($){for(var j=n(u);j!==null;){if(j.callback===null)r(u);else if(j.startTime<=$)r(u),j.sortIndex=j.expirationTime,t(l,j);else break;j=n(u)}}function g($){if(S=!1,f($),!x)if(n(l)!==null)x=!0,A(b);else{var j=n(u);j!==null&&_(g,j.startTime-$)}}function b($,j){x=!1,S&&(S=!1,p(P),P=-1),y=!0;var B=m;try{for(f(j),d=n(l);d!==null&&(!(d.expirationTime>j)||$&&!T());){var V=d.callback;if(typeof V=="function"){d.callback=null,m=d.priorityLevel;var K=V(d.expirationTime<=j);j=e.unstable_now(),typeof K=="function"?d.callback=K:d===n(l)&&r(l),f(j)}else r(l);d=n(l)}if(d!==null)var me=!0;else{var Q=n(u);Q!==null&&_(g,Q.startTime-j),me=!1}return me}finally{d=null,m=B,y=!1}}var R=!1,E=null,P=-1,M=5,v=-1;function T(){return!(e.unstable_now()-v$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<$?Math.floor(1e3/$):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function($){switch(m){case 1:case 2:case 3:var j=3;break;default:j=m}var B=m;m=j;try{return $()}finally{m=B}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function($,j){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var B=m;m=$;try{return j()}finally{m=B}},e.unstable_scheduleCallback=function($,j,B){var V=e.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0V?($.sortIndex=B,t(u,$),n(l)===null&&$===n(u)&&(S?(p(P),P=-1):S=!0,_(g,B-V))):($.sortIndex=K,t(l,$),x||y||(x=!0,A(b))),$},e.unstable_shouldYield=T,e.unstable_wrapCallback=function($){var j=m;return function(){var B=m;m=j;try{return $.apply(this,arguments)}finally{m=B}}}})(Jm);qm.exports=Jm;var p1=qm.exports;/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var h1=w,It=p1;function z(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"),Ju=Object.prototype.hasOwnProperty,m1=/^[: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]*$/,np={},rp={};function g1(e){return Ju.call(rp,e)?!0:Ju.call(np,e)?!1:m1.test(e)?rp[e]=!0:(np[e]=!0,!1)}function v1(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 y1(e,t,n,r){if(t===null||typeof t>"u"||v1(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 yt(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var et={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){et[e]=new yt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];et[t]=new yt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){et[e]=new yt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){et[e]=new yt(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){et[e]=new yt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){et[e]=new yt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){et[e]=new yt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){et[e]=new yt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){et[e]=new yt(e,5,!1,e.toLowerCase(),null,!1,!1)});var gd=/[\-:]([a-z])/g;function vd(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(gd,vd);et[t]=new yt(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(gd,vd);et[t]=new yt(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(gd,vd);et[t]=new yt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){et[e]=new yt(e,1,!1,e.toLowerCase(),null,!1,!1)});et.xlinkHref=new yt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){et[e]=new yt(e,1,!1,e.toLowerCase(),null,!0,!0)});function yd(e,t,n,r){var o=et.hasOwnProperty(t)?et[t]:null;(o!==null?o.type!==0:r||!(2a||o[s]!==i[a]){var l=`
`+o[s].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{fu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ci(e):""}function x1(e){switch(e.tag){case 5:return Ci(e.type);case 16:return Ci("Lazy");case 13:return Ci("Suspense");case 19:return Ci("SuspenseList");case 0:case 2:case 15:return e=pu(e.type,!1),e;case 11:return e=pu(e.type.render,!1),e;case 1:return e=pu(e.type,!0),e;default:return""}}function rc(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case fo:return"Fragment";case co:return"Portal";case ec:return"Profiler";case xd:return"StrictMode";case tc:return"Suspense";case nc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ng:return(e.displayName||"Context")+".Consumer";case tg:return(e._context.displayName||"Context")+".Provider";case Sd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case wd:return t=e.displayName||null,t!==null?t:rc(e.type)||"Memo";case Zn:t=e._payload,e=e._init;try{return rc(e(t))}catch{}}return null}function S1(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 rc(t);case 8:return t===xd?"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 hr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function og(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function w1(e){var t=og(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Os(e){e._valueTracker||(e._valueTracker=w1(e))}function ig(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=og(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ba(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 oc(e,t){var n=t.checked;return $e({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ip(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=hr(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 sg(e,t){t=t.checked,t!=null&&yd(e,"checked",t,!1)}function ic(e,t){sg(e,t);var n=hr(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")?sc(e,t.type,n):t.hasOwnProperty("defaultValue")&&sc(e,t.type,hr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function sp(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 sc(e,t,n){(t!=="number"||ba(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ki=Array.isArray;function Eo(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Is.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Hi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var $i={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},C1=["Webkit","ms","Moz","O"];Object.keys($i).forEach(function(e){C1.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),$i[t]=$i[e]})});function cg(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||$i.hasOwnProperty(e)&&$i[e]?(""+t).trim():t+"px"}function dg(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=cg(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var k1=$e({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function uc(e,t){if(t){if(k1[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(z(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(z(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(z(61))}if(t.style!=null&&typeof t.style!="object")throw Error(z(62))}}function cc(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 dc=null;function Cd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var fc=null,Ro=null,Po=null;function up(e){if(e=xs(e)){if(typeof fc!="function")throw Error(z(280));var t=e.stateNode;t&&(t=cl(t),fc(e.stateNode,e.type,t))}}function fg(e){Ro?Po?Po.push(e):Po=[e]:Ro=e}function pg(){if(Ro){var e=Ro,t=Po;if(Po=Ro=null,up(e),t)for(e=0;e>>=0,e===0?32:31-(j1(e)/L1|0)|0}var As=64,js=4194304;function bi(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 Ta(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~o;a!==0?r=bi(a):(i&=s,i!==0&&(r=bi(i)))}else s=n&~o,s!==0?r=bi(s):i!==0&&(r=bi(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 vs(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ln(t),e[t]=n}function _1(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=Oi),yp=" ",xp=!1;function Ag(e,t){switch(e){case"keyup":return px.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jg(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var po=!1;function mx(e,t){switch(e){case"compositionend":return jg(t);case"keypress":return t.which!==32?null:(xp=!0,yp);case"textInput":return e=t.data,e===yp&&xp?null:e;default:return null}}function gx(e,t){if(po)return e==="compositionend"||!Md&&Ag(e,t)?(e=Og(),aa=Pd=nr=null,po=!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=kp(n)}}function Bg(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Bg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function _g(){for(var e=window,t=ba();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ba(e.document)}return t}function Od(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 Ex(e){var t=_g(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Bg(n.ownerDocument.documentElement,n)){if(r!==null&&Od(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=bp(n,i);var s=bp(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,ho=null,yc=null,Ai=null,xc=!1;function Ep(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;xc||ho==null||ho!==ba(r)||(r=ho,"selectionStart"in r&&Od(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}),Ai&&Yi(Ai,r)||(Ai=r,r=Oa(yc,"onSelect"),0vo||(e.current=Ec[vo],Ec[vo]=null,vo--)}function xe(e,t){vo++,Ec[vo]=e.current,e.current=t}var mr={},lt=yr(mr),wt=yr(!1),Br=mr;function Lo(e,t){var n=e.type.contextTypes;if(!n)return mr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ct(e){return e=e.childContextTypes,e!=null}function Aa(){ke(wt),ke(lt)}function Ip(e,t,n){if(lt.current!==mr)throw Error(z(168));xe(lt,t),xe(wt,n)}function Qg(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(z(108,S1(e)||"Unknown",o));return $e({},n,r)}function ja(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||mr,Br=lt.current,xe(lt,e),xe(wt,wt.current),!0}function Ap(e,t,n){var r=e.stateNode;if(!r)throw Error(z(169));n?(e=Qg(e,t,Br),r.__reactInternalMemoizedMergedChildContext=e,ke(wt),ke(lt),xe(lt,e)):ke(wt),xe(wt,n)}var Ln=null,dl=!1,Pu=!1;function Xg(e){Ln===null?Ln=[e]:Ln.push(e)}function zx(e){dl=!0,Xg(e)}function xr(){if(!Pu&&Ln!==null){Pu=!0;var e=0,t=le;try{var n=Ln;for(le=1;e>=s,o-=s,Nn=1<<32-ln(t)+o|n<P?(M=E,E=null):M=E.sibling;var v=m(p,E,f[P],g);if(v===null){E===null&&(E=M);break}e&&E&&v.alternate===null&&t(p,E),h=i(v,h,P),R===null?b=v:R.sibling=v,R=v,E=M}if(P===f.length)return n(p,E),Re&&Rr(p,P),b;if(E===null){for(;PP?(M=E,E=null):M=E.sibling;var T=m(p,E,v.value,g);if(T===null){E===null&&(E=M);break}e&&E&&T.alternate===null&&t(p,E),h=i(T,h,P),R===null?b=T:R.sibling=T,R=T,E=M}if(v.done)return n(p,E),Re&&Rr(p,P),b;if(E===null){for(;!v.done;P++,v=f.next())v=d(p,v.value,g),v!==null&&(h=i(v,h,P),R===null?b=v:R.sibling=v,R=v);return Re&&Rr(p,P),b}for(E=r(p,E);!v.done;P++,v=f.next())v=y(E,p,P,v.value,g),v!==null&&(e&&v.alternate!==null&&E.delete(v.key===null?P:v.key),h=i(v,h,P),R===null?b=v:R.sibling=v,R=v);return e&&E.forEach(function(N){return t(p,N)}),Re&&Rr(p,P),b}function C(p,h,f,g){if(typeof f=="object"&&f!==null&&f.type===fo&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case Ms:e:{for(var b=f.key,R=h;R!==null;){if(R.key===b){if(b=f.type,b===fo){if(R.tag===7){n(p,R.sibling),h=o(R,f.props.children),h.return=p,p=h;break e}}else if(R.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===Zn&&Np(b)===R.type){n(p,R.sibling),h=o(R,f.props),h.ref=pi(p,R,f),h.return=p,p=h;break e}n(p,R);break}else t(p,R);R=R.sibling}f.type===fo?(h=Nr(f.props.children,p.mode,g,f.key),h.return=p,p=h):(g=ma(f.type,f.key,f.props,null,p.mode,g),g.ref=pi(p,h,f),g.return=p,p=g)}return s(p);case co:e:{for(R=f.key;h!==null;){if(h.key===R)if(h.tag===4&&h.stateNode.containerInfo===f.containerInfo&&h.stateNode.implementation===f.implementation){n(p,h.sibling),h=o(h,f.children||[]),h.return=p,p=h;break e}else{n(p,h);break}else t(p,h);h=h.sibling}h=Lu(f,p.mode,g),h.return=p,p=h}return s(p);case Zn:return R=f._init,C(p,h,R(f._payload),g)}if(ki(f))return x(p,h,f,g);if(li(f))return S(p,h,f,g);Fs(p,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,h!==null&&h.tag===6?(n(p,h.sibling),h=o(h,f),h.return=p,p=h):(n(p,h),h=ju(f,p.mode,g),h.return=p,p=h),s(p)):n(p,h)}return C}var zo=Jg(!0),e0=Jg(!1),za=yr(null),Ba=null,So=null,Ld=null;function Nd(){Ld=So=Ba=null}function zd(e){var t=za.current;ke(za),e._currentValue=t}function Tc(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 $o(e,t){Ba=e,Ld=So=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(St=!0),e.firstContext=null)}function Kt(e){var t=e._currentValue;if(Ld!==e)if(e={context:e,memoizedValue:t,next:null},So===null){if(Ba===null)throw Error(z(308));So=e,Ba.dependencies={lanes:0,firstContext:e}}else So=So.next=e;return t}var Or=null;function Bd(e){Or===null?Or=[e]:Or.push(e)}function t0(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Bd(t)):(n.next=o.next,o.next=n),t.interleaved=n,Fn(e,r)}function Fn(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 qn=!1;function _d(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function n0(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 Bn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ur(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,re&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Fn(e,n)}return o=r.interleaved,o===null?(t.next=t,Bd(r)):(t.next=o.next,o.next=t),r.interleaved=t,Fn(e,n)}function ua(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,bd(e,n)}}function zp(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function _a(e,t,n,r){var o=e.updateQueue;qn=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?i=u:s.next=u,s=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==s&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(i!==null){var d=o.baseState;s=0,c=u=l=null,a=i;do{var m=a.lane,y=a.eventTime;if((r&m)===m){c!==null&&(c=c.next={eventTime:y,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,S=a;switch(m=t,y=n,S.tag){case 1:if(x=S.payload,typeof x=="function"){d=x.call(y,d,m);break e}d=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=S.payload,m=typeof x=="function"?x.call(y,d,m):x,m==null)break e;d=$e({},d,m);break e;case 2:qn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,m=o.effects,m===null?o.effects=[a]:m.push(a))}else y={eventTime:y,lane:m,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=y,l=d):c=c.next=y,s|=m;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;m=a,a=m.next,m.next=null,o.lastBaseUpdate=m,o.shared.pending=null}}while(!0);if(c===null&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Fr|=s,e.lanes=s,e.memoizedState=d}}function Bp(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=$u.transition;$u.transition={};try{e(!1),t()}finally{le=n,$u.transition=r}}function x0(){return Qt().memoizedState}function Fx(e,t,n){var r=dr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},S0(e))w0(t,n);else if(n=t0(e,t,n,r),n!==null){var o=ht();un(n,e,r,o),C0(n,t,r)}}function Ux(e,t,n){var r=dr(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(S0(e))w0(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,a=i(s,n);if(o.hasEagerState=!0,o.eagerState=a,fn(a,s)){var l=t.interleaved;l===null?(o.next=o,Bd(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=t0(e,t,o,r),n!==null&&(o=ht(),un(n,e,r,o),C0(n,t,r))}}function S0(e){var t=e.alternate;return e===Te||t!==null&&t===Te}function w0(e,t){ji=Fa=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function C0(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,bd(e,n)}}var Ua={readContext:Kt,useCallback:rt,useContext:rt,useEffect:rt,useImperativeHandle:rt,useInsertionEffect:rt,useLayoutEffect:rt,useMemo:rt,useReducer:rt,useRef:rt,useState:rt,useDebugValue:rt,useDeferredValue:rt,useTransition:rt,useMutableSource:rt,useSyncExternalStore:rt,useId:rt,unstable_isNewReconciler:!1},Wx={readContext:Kt,useCallback:function(e,t){return wn().memoizedState=[e,t===void 0?null:t],e},useContext:Kt,useEffect:Dp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,da(4194308,4,h0.bind(null,t,e),n)},useLayoutEffect:function(e,t){return da(4194308,4,e,t)},useInsertionEffect:function(e,t){return da(4,2,e,t)},useMemo:function(e,t){var n=wn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=wn();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=Fx.bind(null,Te,e),[r.memoizedState,e]},useRef:function(e){var t=wn();return e={current:e},t.memoizedState=e},useState:_p,useDebugValue:Kd,useDeferredValue:function(e){return wn().memoizedState=e},useTransition:function(){var e=_p(!1),t=e[0];return e=Dx.bind(null,e[1]),wn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Te,o=wn();if(Re){if(n===void 0)throw Error(z(407));n=n()}else{if(n=t(),Xe===null)throw Error(z(349));Dr&30||s0(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Dp(l0.bind(null,r,i,e),[e]),r.flags|=2048,os(9,a0.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=wn(),t=Xe.identifierPrefix;if(Re){var n=zn,r=Nn;n=(r&~(1<<32-ln(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ns++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[En]=t,e[Ji]=r,I0(e,t,!1,!1),t.stateNode=e;e:{switch(s=cc(n,r),n){case"dialog":Ce("cancel",e),Ce("close",e),o=r;break;case"iframe":case"object":case"embed":Ce("load",e),o=r;break;case"video":case"audio":for(o=0;oDo&&(t.flags|=128,r=!0,hi(i,!1),t.lanes=4194304)}else{if(!r)if(e=Da(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),hi(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!Re)return ot(t),null}else 2*Ne()-i.renderingStartTime>Do&&n!==1073741824&&(t.flags|=128,r=!0,hi(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ne(),t.sibling=null,n=Pe.current,xe(Pe,r?n&1|2:n&1),t):(ot(t),null);case 22:case 23:return Jd(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Pt&1073741824&&(ot(t),t.subtreeFlags&6&&(t.flags|=8192)):ot(t),null;case 24:return null;case 25:return null}throw Error(z(156,t.tag))}function Zx(e,t){switch(Ad(t),t.tag){case 1:return Ct(t.type)&&Aa(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Bo(),ke(wt),ke(lt),Ud(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Fd(t),null;case 13:if(ke(Pe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(z(340));No()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ke(Pe),null;case 4:return Bo(),null;case 10:return zd(t.type._context),null;case 22:case 23:return Jd(),null;case 24:return null;default:return null}}var Ws=!1,at=!1,qx=typeof WeakSet=="function"?WeakSet:Set,F=null;function wo(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){je(e,t,r)}else n.current=null}function zc(e,t,n){try{n()}catch(r){je(e,t,r)}}var Zp=!1;function Jx(e,t){if(Sc=$a,e=_g(),Od(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,c=0,d=e,m=null;t:for(;;){for(var y;d!==n||o!==0&&d.nodeType!==3||(a=s+o),d!==i||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(y=d.firstChild)!==null;)m=d,d=y;for(;;){if(d===e)break t;if(m===n&&++u===o&&(a=s),m===i&&++c===r&&(l=s),(y=d.nextSibling)!==null)break;d=m,m=d.parentNode}d=y}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(wc={focusedElem:e,selectionRange:n},$a=!1,F=t;F!==null;)if(t=F,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,F=e;else for(;F!==null;){t=F;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var S=x.memoizedProps,C=x.memoizedState,p=t.stateNode,h=p.getSnapshotBeforeUpdate(t.elementType===t.type?S:nn(t.type,S),C);p.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var f=t.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(z(163))}}catch(g){je(t,t.return,g)}if(e=t.sibling,e!==null){e.return=t.return,F=e;break}F=t.return}return x=Zp,Zp=!1,x}function Li(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&&zc(t,n,i)}o=o.next}while(o!==r)}}function hl(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 Bc(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 L0(e){var t=e.alternate;t!==null&&(e.alternate=null,L0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[En],delete t[Ji],delete t[bc],delete t[Lx],delete t[Nx])),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 N0(e){return e.tag===5||e.tag===3||e.tag===4}function qp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||N0(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 _c(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=Ia));else if(r!==4&&(e=e.child,e!==null))for(_c(e,t,n),e=e.sibling;e!==null;)_c(e,t,n),e=e.sibling}function Dc(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(Dc(e,t,n),e=e.sibling;e!==null;)Dc(e,t,n),e=e.sibling}var Ze=null,on=!1;function Xn(e,t,n){for(n=n.child;n!==null;)z0(e,t,n),n=n.sibling}function z0(e,t,n){if(Pn&&typeof Pn.onCommitFiberUnmount=="function")try{Pn.onCommitFiberUnmount(sl,n)}catch{}switch(n.tag){case 5:at||wo(n,t);case 6:var r=Ze,o=on;Ze=null,Xn(e,t,n),Ze=r,on=o,Ze!==null&&(on?(e=Ze,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ze.removeChild(n.stateNode));break;case 18:Ze!==null&&(on?(e=Ze,n=n.stateNode,e.nodeType===8?Ru(e.parentNode,n):e.nodeType===1&&Ru(e,n),Qi(e)):Ru(Ze,n.stateNode));break;case 4:r=Ze,o=on,Ze=n.stateNode.containerInfo,on=!0,Xn(e,t,n),Ze=r,on=o;break;case 0:case 11:case 14:case 15:if(!at&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&zc(n,t,s),o=o.next}while(o!==r)}Xn(e,t,n);break;case 1:if(!at&&(wo(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){je(n,t,a)}Xn(e,t,n);break;case 21:Xn(e,t,n);break;case 22:n.mode&1?(at=(r=at)||n.memoizedState!==null,Xn(e,t,n),at=r):Xn(e,t,n);break;default:Xn(e,t,n)}}function Jp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new qx),t.forEach(function(r){var o=lS.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function tn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=s),r&=~i}if(r=o,r=Ne()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*tS(r/1960))-r,10e?16:e,rr===null)var r=!1;else{if(e=rr,rr=null,Va=0,re&6)throw Error(z(331));var o=re;for(re|=4,F=e.current;F!==null;){var i=F,s=i.child;if(F.flags&16){var a=i.deletions;if(a!==null){for(var l=0;lNe()-Zd?Lr(e,0):Yd|=n),kt(e,t)}function V0(e,t){t===0&&(e.mode&1?(t=js,js<<=1,!(js&130023424)&&(js=4194304)):t=1);var n=ht();e=Fn(e,t),e!==null&&(vs(e,t,n),kt(e,n))}function aS(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),V0(e,n)}function lS(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(z(314))}r!==null&&r.delete(t),V0(e,n)}var G0;G0=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||wt.current)St=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return St=!1,Xx(e,t,n);St=!!(e.flags&131072)}else St=!1,Re&&t.flags&1048576&&Yg(t,Na,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;fa(e,t),e=t.pendingProps;var o=Lo(t,lt.current);$o(t,n),o=Hd(null,t,r,e,o,n);var i=Vd();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,Ct(r)?(i=!0,ja(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,_d(t),o.updater=pl,t.stateNode=o,o._reactInternals=t,Mc(t,r,e,n),t=Ac(null,t,r,!0,i,n)):(t.tag=0,Re&&i&&Id(t),ft(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(fa(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=cS(r),e=nn(r,e),o){case 0:t=Ic(null,t,r,e,n);break e;case 1:t=Qp(null,t,r,e,n);break e;case 11:t=Gp(null,t,r,e,n);break e;case 14:t=Kp(null,t,r,nn(r.type,e),n);break e}throw Error(z(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:nn(r,o),Ic(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:nn(r,o),Qp(e,t,r,o,n);case 3:e:{if($0(t),e===null)throw Error(z(387));r=t.pendingProps,i=t.memoizedState,o=i.element,n0(e,t),_a(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=_o(Error(z(423)),t),t=Xp(e,t,r,n,o);break e}else if(r!==o){o=_o(Error(z(424)),t),t=Xp(e,t,r,n,o);break e}else for($t=lr(t.stateNode.containerInfo.firstChild),Mt=t,Re=!0,sn=null,n=e0(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(No(),r===o){t=Un(e,t,n);break e}ft(e,t,r,n)}t=t.child}return t;case 5:return r0(t),e===null&&Pc(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,Cc(r,o)?s=null:i!==null&&Cc(r,i)&&(t.flags|=32),T0(e,t),ft(e,t,s,n),t.child;case 6:return e===null&&Pc(t),null;case 13:return M0(e,t,n);case 4:return Dd(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=zo(t,null,r,n):ft(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:nn(r,o),Gp(e,t,r,o,n);case 7:return ft(e,t,t.pendingProps,n),t.child;case 8:return ft(e,t,t.pendingProps.children,n),t.child;case 12:return ft(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,xe(za,r._currentValue),r._currentValue=s,i!==null)if(fn(i.value,s)){if(i.children===o.children&&!wt.current){t=Un(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){s=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=Bn(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),Tc(i.return,n,t),a.lanes|=n;break}l=l.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(z(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Tc(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}ft(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,$o(t,n),o=Kt(o),r=r(o),t.flags|=1,ft(e,t,r,n),t.child;case 14:return r=t.type,o=nn(r,t.pendingProps),o=nn(r.type,o),Kp(e,t,r,o,n);case 15:return R0(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:nn(r,o),fa(e,t),t.tag=1,Ct(r)?(e=!0,ja(t)):e=!1,$o(t,n),k0(t,r,o),Mc(t,r,o,n),Ac(null,t,r,!0,e,n);case 19:return O0(e,t,n);case 22:return P0(e,t,n)}throw Error(z(156,t.tag))};function K0(e,t){return Sg(e,t)}function uS(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 Wt(e,t,n,r){return new uS(e,t,n,r)}function tf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function cS(e){if(typeof e=="function")return tf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Sd)return 11;if(e===wd)return 14}return 2}function fr(e,t){var n=e.alternate;return n===null?(n=Wt(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 ma(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")tf(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case fo:return Nr(n.children,o,i,t);case xd:s=8,o|=8;break;case ec:return e=Wt(12,n,t,o|2),e.elementType=ec,e.lanes=i,e;case tc:return e=Wt(13,n,t,o),e.elementType=tc,e.lanes=i,e;case nc:return e=Wt(19,n,t,o),e.elementType=nc,e.lanes=i,e;case rg:return gl(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case tg:s=10;break e;case ng:s=9;break e;case Sd:s=11;break e;case wd:s=14;break e;case Zn:s=16,r=null;break e}throw Error(z(130,e==null?e:typeof e,""))}return t=Wt(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Nr(e,t,n,r){return e=Wt(7,e,r,t),e.lanes=n,e}function gl(e,t,n,r){return e=Wt(22,e,r,t),e.elementType=rg,e.lanes=n,e.stateNode={isHidden:!1},e}function ju(e,t,n){return e=Wt(6,e,null,t),e.lanes=n,e}function Lu(e,t,n){return t=Wt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function dS(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=mu(0),this.expirationTimes=mu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mu(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function nf(e,t,n,r,o,i,s,a,l){return e=new dS(e,t,n,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Wt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},_d(i),e}function fS(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Z0)}catch(e){console.error(e)}}Z0(),Zm.exports=jt;var af=Zm.exports;const Gs=dd(af);var ah=af;qu.createRoot=ah.createRoot,qu.hydrateRoot=ah.hydrateRoot;/**
* @remix-run/router v1.18.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function ss(){return ss=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function lf(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function yS(){return Math.random().toString(36).substr(2,8)}function uh(e,t){return{usr:e.state,key:e.key,idx:t}}function Vc(e,t,n,r){return n===void 0&&(n=null),ss({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Yr(t):t,{state:n,key:t&&t.key||r||yS()})}function Qa(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 Yr(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 xS(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a=or.Pop,l=null,u=c();u==null&&(u=0,s.replaceState(ss({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function d(){a=or.Pop;let C=c(),p=C==null?null:C-u;u=C,l&&l({action:a,location:S.location,delta:p})}function m(C,p){a=or.Push;let h=Vc(S.location,C,p);n&&n(h,C),u=c()+1;let f=uh(h,u),g=S.createHref(h);try{s.pushState(f,"",g)}catch(b){if(b instanceof DOMException&&b.name==="DataCloneError")throw b;o.location.assign(g)}i&&l&&l({action:a,location:S.location,delta:1})}function y(C,p){a=or.Replace;let h=Vc(S.location,C,p);n&&n(h,C),u=c();let f=uh(h,u),g=S.createHref(h);s.replaceState(f,"",g),i&&l&&l({action:a,location:S.location,delta:0})}function x(C){let p=o.location.origin!=="null"?o.location.origin:o.location.href,h=typeof C=="string"?C:Qa(C);return h=h.replace(/ $/,"%20"),ze(p,"No window.location.(origin|href) available to create URL for href: "+h),new URL(h,p)}let S={get action(){return a},get location(){return e(o,s)},listen(C){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(lh,d),l=C,()=>{o.removeEventListener(lh,d),l=null}},createHref(C){return t(o,C)},createURL:x,encodeLocation(C){let p=x(C);return{pathname:p.pathname,search:p.search,hash:p.hash}},push:m,replace:y,go(C){return s.go(C)}};return S}var ch;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ch||(ch={}));function SS(e,t,n){return n===void 0&&(n="/"),wS(e,t,n,!1)}function wS(e,t,n,r){let o=typeof t=="string"?Yr(t):t,i=uf(o.pathname||"/",n);if(i==null)return null;let s=q0(e);CS(s);let a=null;for(let l=0;a==null&&l{let l={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};l.relativePath.startsWith("/")&&(ze(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=pr([r,l.relativePath]),c=n.concat(l);i.children&&i.children.length>0&&(ze(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),q0(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:$S(u,i.index),routesMeta:c})};return e.forEach((i,s)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,s);else for(let l of J0(i.path))o(i,s,l)}),t}function J0(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=J0(r.join("/")),a=[];return a.push(...s.map(l=>l===""?i:[i,l].join("/"))),o&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function CS(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:MS(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const kS=/^:[\w-]+$/,bS=3,ES=2,RS=1,PS=10,TS=-2,dh=e=>e==="*";function $S(e,t){let n=e.split("/"),r=n.length;return n.some(dh)&&(r+=TS),t&&(r+=ES),n.filter(o=>!dh(o)).reduce((o,i)=>o+(kS.test(i)?bS:i===""?RS:PS),r)}function MS(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 OS(e,t,n){let{routesMeta:r}=e,o={},i="/",s=[];for(let a=0;a{let{paramName:m,isOptional:y}=c;if(m==="*"){let S=a[d]||"";s=i.slice(0,i.length-S.length).replace(/(.)\/+$/,"$1")}const x=a[d];return y&&!x?u[m]=void 0:u[m]=(x||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:s,pattern:e}}function IS(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),lf(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function AS(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return lf(!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 uf(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 jS(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Yr(e):e;return{pathname:n?n.startsWith("/")?n:LS(n,t):t,search:BS(r),hash:_S(o)}}function LS(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 Nu(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 NS(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function cf(e,t){let n=NS(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function df(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Yr(e):(o=ss({},e),ze(!o.pathname||!o.pathname.includes("?"),Nu("?","pathname","search",o)),ze(!o.pathname||!o.pathname.includes("#"),Nu("#","pathname","hash",o)),ze(!o.search||!o.search.includes("#"),Nu("#","search","hash",o)));let i=e===""||o.pathname==="",s=i?"/":o.pathname,a;if(s==null)a=n;else{let d=t.length-1;if(!r&&s.startsWith("..")){let m=s.split("/");for(;m[0]==="..";)m.shift(),d-=1;o.pathname=m.join("/")}a=d>=0?t[d]:"/"}let l=jS(o,a),u=s&&s!=="/"&&s.endsWith("/"),c=(i||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const pr=e=>e.join("/").replace(/\/\/+/g,"/"),zS=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),BS=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,_S=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function DS(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const ev=["post","put","patch","delete"];new Set(ev);const FS=["get",...ev];new Set(FS);/**
* React Router v6.25.1
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function as(){return as=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),w.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let d=df(u,JSON.parse(s),i,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:pr([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,s,i,e])}function ov(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=w.useContext(Sr),{matches:o}=w.useContext(wr),{pathname:i}=ti(),s=JSON.stringify(cf(o,r.v7_relativeSplatPath));return w.useMemo(()=>df(e,JSON.parse(s),i,n==="path"),[e,s,i,n])}function VS(e,t){return GS(e,t)}function GS(e,t,n,r){ei()||ze(!1);let{navigator:o}=w.useContext(Sr),{matches:i}=w.useContext(wr),s=i[i.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=ti(),c;if(t){var d;let C=typeof t=="string"?Yr(t):t;l==="/"||(d=C.pathname)!=null&&d.startsWith(l)||ze(!1),c=C}else c=u;let m=c.pathname||"/",y=m;if(l!=="/"){let C=l.replace(/^\//,"").split("/");y="/"+m.replace(/^\//,"").split("/").slice(C.length).join("/")}let x=SS(e,{pathname:y}),S=ZS(x&&x.map(C=>Object.assign({},C,{params:Object.assign({},a,C.params),pathname:pr([l,o.encodeLocation?o.encodeLocation(C.pathname).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?l:pr([l,o.encodeLocation?o.encodeLocation(C.pathnameBase).pathname:C.pathnameBase])})),i,n,r);return t&&S?w.createElement(wl.Provider,{value:{location:as({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:or.Pop}},S):S}function KS(){let e=tw(),t=DS(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 QS=w.createElement(KS,null);class XS 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(wr.Provider,{value:this.props.routeContext},w.createElement(tv.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function YS(e){let{routeContext:t,match:n,children:r}=e,o=w.useContext(ff);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(wr.Provider,{value:t},r)}function ZS(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if((i=n)!=null&&i.errors)e=n.matches;else return null}let s=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let c=s.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);c>=0||ze(!1),s=s.slice(0,Math.min(s.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((c,d,m)=>{let y,x=!1,S=null,C=null;n&&(y=a&&d.route.id?a[d.route.id]:void 0,S=d.route.errorElement||QS,l&&(u<0&&m===0?(x=!0,C=null):u===m&&(x=!0,C=d.route.hydrateFallbackElement||null)));let p=t.concat(s.slice(0,m+1)),h=()=>{let f;return y?f=S:x?f=C:d.route.Component?f=w.createElement(d.route.Component,null):d.route.element?f=d.route.element:f=c,w.createElement(YS,{match:d,routeContext:{outlet:c,matches:p,isDataRoute:n!=null},children:f})};return n&&(d.route.ErrorBoundary||d.route.errorElement||m===0)?w.createElement(XS,{location:n.location,revalidation:n.revalidation,component:S,error:y,children:h(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):h()},null)}var iv=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(iv||{}),Xa=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}(Xa||{});function qS(e){let t=w.useContext(ff);return t||ze(!1),t}function JS(e){let t=w.useContext(US);return t||ze(!1),t}function ew(e){let t=w.useContext(wr);return t||ze(!1),t}function sv(e){let t=ew(),n=t.matches[t.matches.length-1];return n.route.id||ze(!1),n.route.id}function tw(){var e;let t=w.useContext(tv),n=JS(Xa.UseRouteError),r=sv(Xa.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function nw(){let{router:e}=qS(iv.UseNavigateStable),t=sv(Xa.UseNavigateStable),n=w.useRef(!1);return nv(()=>{n.current=!0}),w.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,as({fromRouteId:t},i)))},[e,t])}function rw(e){let{to:t,replace:n,state:r,relative:o}=e;ei()||ze(!1);let{future:i,static:s}=w.useContext(Sr),{matches:a}=w.useContext(wr),{pathname:l}=ti(),u=rv(),c=df(t,cf(a,i.v7_relativeSplatPath),l,o==="path"),d=JSON.stringify(c);return w.useEffect(()=>u(JSON.parse(d),{replace:n,state:r,relative:o}),[u,d,o,n,r]),null}function ga(e){ze(!1)}function ow(e){let{basename:t="/",children:n=null,location:r,navigationType:o=or.Pop,navigator:i,static:s=!1,future:a}=e;ei()&&ze(!1);let l=t.replace(/^\/*/,"/"),u=w.useMemo(()=>({basename:l,navigator:i,static:s,future:as({v7_relativeSplatPath:!1},a)}),[l,a,i,s]);typeof r=="string"&&(r=Yr(r));let{pathname:c="/",search:d="",hash:m="",state:y=null,key:x="default"}=r,S=w.useMemo(()=>{let C=uf(c,l);return C==null?null:{location:{pathname:C,search:d,hash:m,state:y,key:x},navigationType:o}},[l,c,d,m,y,x,o]);return S==null?null:w.createElement(Sr.Provider,{value:u},w.createElement(wl.Provider,{children:n,value:S}))}function iw(e){let{children:t,location:n}=e;return VS(Gc(t),n)}new Promise(()=>{});function Gc(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,Gc(r.props.children,i));return}r.type!==ga&&ze(!1),!r.props.index||!r.props.children||ze(!1);let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=Gc(r.props.children,i)),n.push(s)}),n}/**
* React Router DOM v6.25.1
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function Kc(){return Kc=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function aw(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function lw(e,t){return e.button===0&&(!t||t==="_self")&&!aw(e)}const uw=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],cw="6";try{window.__reactRouterVersion=cw}catch{}const dw="startTransition",ph=Ui[dw];function fw(e){let{basename:t,children:n,future:r,window:o}=e,i=w.useRef();i.current==null&&(i.current=vS({window:o,v5Compat:!0}));let s=i.current,[a,l]=w.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=w.useCallback(d=>{u&&ph?ph(()=>l(d)):l(d)},[l,u]);return w.useLayoutEffect(()=>s.listen(c),[s,c]),w.createElement(ow,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const pw=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",hw=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,mw=w.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:s,state:a,target:l,to:u,preventScrollReset:c,unstable_viewTransition:d}=t,m=sw(t,uw),{basename:y}=w.useContext(Sr),x,S=!1;if(typeof u=="string"&&hw.test(u)&&(x=u,pw))try{let f=new URL(window.location.href),g=u.startsWith("//")?new URL(f.protocol+u):new URL(u),b=uf(g.pathname,y);g.origin===f.origin&&b!=null?u=b+g.search+g.hash:S=!0}catch{}let C=WS(u,{relative:o}),p=gw(u,{replace:s,state:a,target:l,preventScrollReset:c,relative:o,unstable_viewTransition:d});function h(f){r&&r(f),f.defaultPrevented||p(f)}return w.createElement("a",Kc({},m,{href:x||C,onClick:S||i?r:h,ref:n,target:l}))});var hh;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(hh||(hh={}));var mh;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(mh||(mh={}));function gw(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,l=rv(),u=ti(),c=ov(e,{relative:s});return w.useCallback(d=>{if(lw(d,n)){d.preventDefault();let m=r!==void 0?r:Qa(u)===Qa(c);l(e,{replace:m,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:a})}},[u,l,c,r,o,n,e,i,s,a])}const ls={black:"#000",white:"#fff"},to={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},no={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"},ro={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},oo={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"},io={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"},gi={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},vw={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"};function Wr(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n0?qe(ni,--Rt):0,Fo--,Ue===10&&(Fo=1,kl--),Ue}function Ot(){return Ue=Rt2||cs(Ue)>3?"":" "}function jw(e,t){for(;--t&&Ot()&&!(Ue<48||Ue>102||Ue>57&&Ue<65||Ue>70&&Ue<97););return ws(e,va()+(t<6&&$n()==32&&Ot()==32))}function Xc(e){for(;Ot();)switch(Ue){case e:return Rt;case 34:case 39:e!==34&&e!==39&&Xc(Ue);break;case 40:e===41&&Xc(e);break;case 92:Ot();break}return Rt}function Lw(e,t){for(;Ot()&&e+Ue!==57;)if(e+Ue===84&&$n()===47)break;return"/*"+ws(t,Rt-1)+"*"+Cl(e===47?e:Ot())}function Nw(e){for(;!cs($n());)Ot();return ws(e,Rt)}function zw(e){return pv(xa("",null,null,null,[""],e=fv(e),0,[0],e))}function xa(e,t,n,r,o,i,s,a,l){for(var u=0,c=0,d=s,m=0,y=0,x=0,S=1,C=1,p=1,h=0,f="",g=o,b=i,R=r,E=f;C;)switch(x=h,h=Ot()){case 40:if(x!=108&&qe(E,d-1)==58){Qc(E+=se(ya(h),"&","&\f"),"&\f")!=-1&&(p=-1);break}case 34:case 39:case 91:E+=ya(h);break;case 9:case 10:case 13:case 32:E+=Aw(x);break;case 92:E+=jw(va()-1,7);continue;case 47:switch($n()){case 42:case 47:Ks(Bw(Lw(Ot(),va()),t,n),l);break;default:E+="/"}break;case 123*S:a[u++]=Cn(E)*p;case 125*S:case 59:case 0:switch(h){case 0:case 125:C=0;case 59+c:p==-1&&(E=se(E,/\f/g,"")),y>0&&Cn(E)-d&&Ks(y>32?vh(E+";",r,n,d-1):vh(se(E," ","")+";",r,n,d-2),l);break;case 59:E+=";";default:if(Ks(R=gh(E,t,n,u,c,o,a,f,g=[],b=[],d),i),h===123)if(c===0)xa(E,t,R,R,g,i,d,a,b);else switch(m===99&&qe(E,3)===110?100:m){case 100:case 108:case 109:case 115:xa(e,R,R,r&&Ks(gh(e,R,R,0,0,o,a,f,o,g=[],d),b),o,b,d,a,r?g:b);break;default:xa(E,R,R,R,[""],b,0,a,b)}}u=c=y=0,S=p=1,f=E="",d=s;break;case 58:d=1+Cn(E),y=x;default:if(S<1){if(h==123)--S;else if(h==125&&S++==0&&Iw()==125)continue}switch(E+=Cl(h),h*S){case 38:p=c>0?1:(E+="\f",-1);break;case 44:a[u++]=(Cn(E)-1)*p,p=1;break;case 64:$n()===45&&(E+=ya(Ot())),m=$n(),c=d=Cn(f=E+=Nw(va())),h++;break;case 45:x===45&&Cn(E)==2&&(S=0)}}return i}function gh(e,t,n,r,o,i,s,a,l,u,c){for(var d=o-1,m=o===0?i:[""],y=mf(m),x=0,S=0,C=0;x0?m[p]+" "+h:se(h,/&\f/g,m[p])))&&(l[C++]=f);return bl(e,t,n,o===0?pf:a,l,u,c)}function Bw(e,t,n){return bl(e,t,n,lv,Cl(Ow()),us(e,2,-2),0)}function vh(e,t,n,r){return bl(e,t,n,hf,us(e,0,r),us(e,r+1,-1),r)}function Oo(e,t){for(var n="",r=mf(e),o=0;o6)switch(qe(e,t+1)){case 109:if(qe(e,t+4)!==45)break;case 102:return se(e,/(.+:)(.+)-([^]+)/,"$1"+ie+"$2-$3$1"+Za+(qe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Qc(e,"stretch")?hv(se(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(qe(e,t+1)!==115)break;case 6444:switch(qe(e,Cn(e)-3-(~Qc(e,"!important")&&10))){case 107:return se(e,":",":"+ie)+e;case 101:return se(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ie+(qe(e,14)===45?"inline-":"")+"box$3$1"+ie+"$2$3$1"+it+"$2box$3")+e}break;case 5936:switch(qe(e,t+11)){case 114:return ie+e+it+se(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ie+e+it+se(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ie+e+it+se(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ie+e+it+e+e}return e}var Kw=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case hf:t.return=hv(t.value,t.length);break;case uv:return Oo([vi(t,{value:se(t.value,"@","@"+ie)})],o);case pf:if(t.length)return Mw(t.props,function(i){switch($w(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Oo([vi(t,{props:[se(i,/:(read-\w+)/,":"+Za+"$1")]})],o);case"::placeholder":return Oo([vi(t,{props:[se(i,/:(plac\w+)/,":"+ie+"input-$1")]}),vi(t,{props:[se(i,/:(plac\w+)/,":"+Za+"$1")]}),vi(t,{props:[se(i,/:(plac\w+)/,it+"input-$1")]})],o)}return""})}},Qw=[Kw],Xw=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(S){var C=S.getAttribute("data-emotion");C.indexOf(" ")!==-1&&(document.head.appendChild(S),S.setAttribute("data-s",""))})}var o=t.stylisPlugins||Qw,i={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(S){for(var C=S.getAttribute("data-emotion").split(" "),p=1;p=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var a2={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},l2=!1,u2=/[A-Z]|^ms/g,c2=/_EMO_([^_]+?)_([^]*?)_EMO_/g,wv=function(t){return t.charCodeAt(1)===45},xh=function(t){return t!=null&&typeof t!="boolean"},zu=av(function(e){return wv(e)?e:e.replace(u2,"-$&").toLowerCase()}),Sh=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(c2,function(r,o,i){return kn={name:o,styles:i,next:kn},o})}return a2[t]!==1&&!wv(t)&&typeof n=="number"&&n!==0?n+"px":n},d2="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function ds(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 kn={name:o.name,styles:o.styles,next:kn},o.name;var i=n;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)kn={name:s.name,styles:s.styles,next:kn},s=s.next;var a=i.styles+";";return a}return f2(e,t,n)}case"function":{if(e!==void 0){var l=kn,u=n(e);return kn=l,ds(e,t,u)}break}}var c=n;if(t==null)return c;var d=t[c];return d!==void 0?d:c}function f2(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?v2:y2},bh=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(s){return t.__emotion_forwardProp(s)&&i(s)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},x2=!1,S2=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return xv(n,r,o),h2(function(){return Sv(n,r,o)}),null},w2=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,s;n!==void 0&&(i=n.label,s=n.target);var a=bh(t,n,r),l=a||kh(o),u=!l("as");return function(){var c=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&d.push("label:"+i+";"),c[0]==null||c[0].raw===void 0)d.push.apply(d,c);else{d.push(c[0][0]);for(var m=c.length,y=1;yt(k2(o)?n:o):t;return k.jsx(m2,{styles:r})}/**
* @mui/styled-engine v6.1.2
*
* @license MIT
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/function Rv(e,t){return Yc(e,t)}const b2=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};function Rn(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 Pv(e){if(!Rn(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Pv(e[n])}),t}function mt(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return Rn(e)&&Rn(t)&&Object.keys(t).forEach(o=>{Rn(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Rn(e[o])?r[o]=mt(e[o],t[o],n):n.clone?r[o]=Rn(t[o])?Pv(t[o]):t[o]:r[o]=t[o]}),r}const E2=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 R2(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,i=E2(t),s=Object.keys(i);function a(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n})`}function l(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-r/100}${n})`}function u(m,y){const x=s.indexOf(y);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n}) and (max-width:${(x!==-1&&typeof t[s[x]]=="number"?t[s[x]]:y)-r/100}${n})`}function c(m){return s.indexOf(m)+1r.startsWith("@container")).sort((r,o)=>{var s,a;const i=/min-width:\s*([0-9.]+)/;return+(((s=r.match(i))==null?void 0:s[1])||0)-+(((a=o.match(i))==null?void 0:a[1])||0)});return n.length?n.reduce((r,o)=>{const i=t[o];return delete r[o],r[o]=i,r},{...t}):t}function T2(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function $2(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 M2(e){const t=(i,s)=>i.replace("@media",s?`@container ${s}`:"@container");function n(i,s){i.up=(...a)=>t(e.breakpoints.up(...a),s),i.down=(...a)=>t(e.breakpoints.down(...a),s),i.between=(...a)=>t(e.breakpoints.between(...a),s),i.only=(...a)=>t(e.breakpoints.only(...a),s),i.not=(...a)=>{const l=t(e.breakpoints.not(...a),s);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const r={},o=i=>(n(r,i),r);return n(o),{...e,containerQueries:o}}const O2={borderRadius:4};function Bi(e,t){return t?mt(e,t,{clone:!1}):e}const Nl={xs:0,sm:600,md:900,lg:1200,xl:1536},Eh={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Nl[e]}px)`},I2={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Nl[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function pn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||Eh;return t.reduce((s,a,l)=>(s[i.up(i.keys[l])]=n(t[l]),s),{})}if(typeof t=="object"){const i=r.breakpoints||Eh;return Object.keys(t).reduce((s,a)=>{if(T2(i.keys,a)){const l=$2(r.containerQueries?r:I2,a);l&&(s[l]=n(t[a],a))}else if(Object.keys(i.values||Nl).includes(a)){const l=i.up(a);s[l]=n(t[a],a)}else{const l=a;s[l]=t[l]}return s},{})}return n(t)}function Tv(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function $v(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function A2(e,...t){const n=Tv(e),r=[n,...t].reduce((o,i)=>mt(o,i),{});return $v(Object.keys(n),r)}function j2(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((o,i)=>{i{e[o]!=null&&(n[o]=!0)}),n}function Bu({values:e,breakpoints:t,base:n}){const r=n||j2(e,t),o=Object.keys(r);if(o.length===0)return e;let i;return o.reduce((s,a,l)=>(Array.isArray(e)?(s[a]=e[l]!=null?e[l]:e[i],i=l):typeof e=="object"?(s[a]=e[a]!=null?e[a]:e[i],i=a):s[a]=e,s),{})}function U(e){if(typeof e!="string")throw new Error(Wr(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Uo(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 qa(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Uo(e,n)||r,t&&(o=t(o,r,e)),o}function Be(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=s=>{if(s[t]==null)return null;const a=s[t],l=s.theme,u=Uo(l,r)||{};return pn(s,a,d=>{let m=qa(u,o,d);return d===m&&typeof d=="string"&&(m=qa(u,o,`${t}${d==="default"?"":U(d)}`,d)),n===!1?m:{[n]:m}})};return i.propTypes={},i.filterProps=[t],i}function L2(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const N2={m:"margin",p:"padding"},z2={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Rh={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},B2=L2(e=>{if(e.length>2)if(Rh[e])e=Rh[e];else return[e];const[t,n]=e.split(""),r=N2[t],o=z2[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),wf=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Cf=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...wf,...Cf];function Cs(e,t,n,r){const o=Uo(e,t,!0)??n;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:typeof o=="string"?`calc(${i} * ${o})`:o*i:Array.isArray(o)?i=>{if(typeof i=="string")return i;const s=Math.abs(i),a=o[s];return i>=0?a:typeof a=="number"?-a:`-${a}`}:typeof o=="function"?o:()=>{}}function zl(e){return Cs(e,"spacing",8)}function Hr(e,t){return typeof t=="string"||t==null?t:e(t)}function _2(e,t){return n=>e.reduce((r,o)=>(r[o]=Hr(t,n),r),{})}function D2(e,t,n,r){if(!t.includes(n))return null;const o=B2(n),i=_2(o,r),s=e[n];return pn(e,s,i)}function Mv(e,t){const n=zl(e.theme);return Object.keys(e).map(r=>D2(e,t,r,n)).reduce(Bi,{})}function Oe(e){return Mv(e,wf)}Oe.propTypes={};Oe.filterProps=wf;function Ie(e){return Mv(e,Cf)}Ie.propTypes={};Ie.filterProps=Cf;function Ov(e=8,t=zl({spacing:e})){if(e.mui)return e;const n=(...r)=>(r.length===0?[1]:r).map(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function Bl(...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]?Bi(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function Ft(e){return typeof e!="number"?e:`${e}px solid`}function Zt(e,t){return Be({prop:e,themeKey:"borders",transform:t})}const F2=Zt("border",Ft),U2=Zt("borderTop",Ft),W2=Zt("borderRight",Ft),H2=Zt("borderBottom",Ft),V2=Zt("borderLeft",Ft),G2=Zt("borderColor"),K2=Zt("borderTopColor"),Q2=Zt("borderRightColor"),X2=Zt("borderBottomColor"),Y2=Zt("borderLeftColor"),Z2=Zt("outline",Ft),q2=Zt("outlineColor"),_l=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Cs(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Hr(t,r)});return pn(e,e.borderRadius,n)}return null};_l.propTypes={};_l.filterProps=["borderRadius"];Bl(F2,U2,W2,H2,V2,G2,K2,Q2,X2,Y2,_l,Z2,q2);const Dl=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Cs(e.theme,"spacing",8),n=r=>({gap:Hr(t,r)});return pn(e,e.gap,n)}return null};Dl.propTypes={};Dl.filterProps=["gap"];const Fl=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Cs(e.theme,"spacing",8),n=r=>({columnGap:Hr(t,r)});return pn(e,e.columnGap,n)}return null};Fl.propTypes={};Fl.filterProps=["columnGap"];const Ul=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Cs(e.theme,"spacing",8),n=r=>({rowGap:Hr(t,r)});return pn(e,e.rowGap,n)}return null};Ul.propTypes={};Ul.filterProps=["rowGap"];const J2=Be({prop:"gridColumn"}),eC=Be({prop:"gridRow"}),tC=Be({prop:"gridAutoFlow"}),nC=Be({prop:"gridAutoColumns"}),rC=Be({prop:"gridAutoRows"}),oC=Be({prop:"gridTemplateColumns"}),iC=Be({prop:"gridTemplateRows"}),sC=Be({prop:"gridTemplateAreas"}),aC=Be({prop:"gridArea"});Bl(Dl,Fl,Ul,J2,eC,tC,nC,rC,oC,iC,sC,aC);function Io(e,t){return t==="grey"?t:e}const lC=Be({prop:"color",themeKey:"palette",transform:Io}),uC=Be({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Io}),cC=Be({prop:"backgroundColor",themeKey:"palette",transform:Io});Bl(lC,uC,cC);function Tt(e){return e<=1&&e!==0?`${e*100}%`:e}const dC=Be({prop:"width",transform:Tt}),kf=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var o,i,s,a,l;const r=((s=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:s[n])||Nl[n];return r?((l=(a=e.theme)==null?void 0:a.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Tt(n)}};return pn(e,e.maxWidth,t)}return null};kf.filterProps=["maxWidth"];const fC=Be({prop:"minWidth",transform:Tt}),pC=Be({prop:"height",transform:Tt}),hC=Be({prop:"maxHeight",transform:Tt}),mC=Be({prop:"minHeight",transform:Tt});Be({prop:"size",cssProperty:"width",transform:Tt});Be({prop:"size",cssProperty:"height",transform:Tt});const gC=Be({prop:"boxSizing"});Bl(dC,kf,fC,pC,hC,mC,gC);const ks={border:{themeKey:"borders",transform:Ft},borderTop:{themeKey:"borders",transform:Ft},borderRight:{themeKey:"borders",transform:Ft},borderBottom:{themeKey:"borders",transform:Ft},borderLeft:{themeKey:"borders",transform:Ft},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ft},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:_l},color:{themeKey:"palette",transform:Io},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Io},backgroundColor:{themeKey:"palette",transform:Io},p:{style:Ie},pt:{style:Ie},pr:{style:Ie},pb:{style:Ie},pl:{style:Ie},px:{style:Ie},py:{style:Ie},padding:{style:Ie},paddingTop:{style:Ie},paddingRight:{style:Ie},paddingBottom:{style:Ie},paddingLeft:{style:Ie},paddingX:{style:Ie},paddingY:{style:Ie},paddingInline:{style:Ie},paddingInlineStart:{style:Ie},paddingInlineEnd:{style:Ie},paddingBlock:{style:Ie},paddingBlockStart:{style:Ie},paddingBlockEnd:{style:Ie},m:{style:Oe},mt:{style:Oe},mr:{style:Oe},mb:{style:Oe},ml:{style:Oe},mx:{style:Oe},my:{style:Oe},margin:{style:Oe},marginTop:{style:Oe},marginRight:{style:Oe},marginBottom:{style:Oe},marginLeft:{style:Oe},marginX:{style:Oe},marginY:{style:Oe},marginInline:{style:Oe},marginInlineStart:{style:Oe},marginInlineEnd:{style:Oe},marginBlock:{style:Oe},marginBlockStart:{style:Oe},marginBlockEnd:{style:Oe},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:Dl},rowGap:{style:Ul},columnGap:{style:Fl},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Tt},maxWidth:{style:kf},minWidth:{transform:Tt},height:{transform:Tt},maxHeight:{transform:Tt},minHeight:{transform:Tt},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 vC(...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 yC(e,t){return typeof e=="function"?e(t):e}function xC(){function e(n,r,o,i){const s={[n]:r,theme:o},a=i[n];if(!a)return{[n]:r};const{cssProperty:l=n,themeKey:u,transform:c,style:d}=a;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const m=Uo(o,u)||{};return d?d(s):pn(s,r,x=>{let S=qa(m,c,x);return x===S&&typeof x=="string"&&(S=qa(m,c,`${n}${x==="default"?"":U(x)}`,x)),l===!1?S:{[l]:S}})}function t(n){const{sx:r,theme:o={}}=n||{};if(!r)return null;const i=o.unstable_sxConfig??ks;function s(a){let l=a;if(typeof a=="function")l=a(o);else if(typeof a!="object")return a;if(!l)return null;const u=Tv(o.breakpoints),c=Object.keys(u);let d=u;return Object.keys(l).forEach(m=>{const y=yC(l[m],o);if(y!=null)if(typeof y=="object")if(i[m])d=Bi(d,e(m,y,o,i));else{const x=pn({theme:o},y,S=>({[m]:S}));vC(x,y)?d[m]=t({sx:y,theme:o}):d=Bi(d,x)}else d=Bi(d,e(m,y,o,i))}),P2(o,$v(c,d))}return Array.isArray(r)?r.map(s):s(r)}return t}const Zr=xC();Zr.filterProps=["sx"];function SC(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 ri(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={},...s}=e,a=R2(n),l=Ov(o);let u=mt({breakpoints:a,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:l,shape:{...O2,...i}},s);return u=M2(u),u.applyStyles=SC,u=t.reduce((c,d)=>mt(c,d),u),u.unstable_sxConfig={...ks,...s==null?void 0:s.unstable_sxConfig},u.unstable_sx=function(d){return Zr({sx:d,theme:this})},u}function wC(e){return Object.keys(e).length===0}function bf(e=null){const t=w.useContext(Ll);return!t||wC(t)?e:t}const CC=ri();function bs(e=CC){return bf(e)}function kC({styles:e,themeId:t,defaultTheme:n={}}){const r=bs(n),o=typeof e=="function"?e(t&&r[t]||r):e;return k.jsx(Ev,{styles:o})}const bC=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??ks;return Object.keys(e).forEach(o=>{n[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]}),t};function Wl(e){const{sx:t,...n}=e,{systemProps:r,otherProps:o}=bC(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...s)=>{const a=t(...s);return Rn(a)?{...r,...a}:r}:i={...r,...t},{...o,sx:i}}const Ph=e=>e,EC=()=>{let e=Ph;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Ph}}},Iv=EC();function Av(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;ta!=="theme"&&a!=="sx"&&a!=="as"})(Zr);return w.forwardRef(function(l,u){const c=bs(n),{className:d,component:m="div",...y}=Wl(l);return k.jsx(i,{as:m,ref:u,className:H(d,o?o(r):r),theme:t&&c[t]||c,...y})})}const PC={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 X(e,t,n="Mui"){const r=PC[t];return r?`${n}-${r}`:`${Iv.generate(e)}-${t}`}function Y(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=X(e,o,n)}),r}const TC=ri();function _u(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Zc(e,t,n){return MC(t)?n:t[e]||t}const Qs=Symbol("mui.processed_props");function Xs(e,t,n){if(Qs in e)return e[Qs];const r={...e,theme:Zc(t,e.theme,n)};return e[Qs]=r,r[Qs]=r,r}function $C(e){return e?(t,n)=>n[e]:null}function Sa(e,t){var r;const n=typeof e=="function"?e(t):e;if(Array.isArray(n))return n.flatMap(o=>Sa(o,t));if(Array.isArray(n==null?void 0:n.variants)){const{variants:o,...i}=n;let s=i,a;e:for(let l=0;lZr(Xs(a,t,n));return i.__mui_systemSx=!0,(a,l={})=>{b2(a,R=>R.filter(E=>!(E!=null&&E.__mui_systemSx)));const{name:u,slot:c,skipVariantsResolver:d,skipSx:m,overridesResolver:y=$C(IC(c)),...x}=l,S=d!==void 0?d:c&&c!=="Root"&&c!=="root"||!1,C=m||!1;let p,h=_u;c==="Root"||c==="root"?h=r:c?h=o:OC(a)&&(h=void 0);const f=Rv(a,{shouldForwardProp:h,label:p,...x}),g=R=>typeof R=="function"&&R.__emotion_real!==R||Rn(R)?E=>Sa(R,Xs(E,t,n)):R,b=(R,...E)=>{let P=g(R);const M=E?E.map(g):[];u&&y&&M.push(N=>{const L=Zc(t,N.theme,n);if(!L.components||!L.components[u]||!L.components[u].styleOverrides)return null;const D=L.components[u].styleOverrides,I={},A=Xs(N,t,n);for(const _ in D)I[_]=Sa(D[_],A);return y(N,I)}),u&&!S&&M.push(N=>{var I,A;const L=Zc(t,N.theme,n),D=(A=(I=L==null?void 0:L.components)==null?void 0:I[u])==null?void 0:A.variants;return D?Sa({variants:D},Xs(N,t,n)):null}),C||M.push(i);const v=M.length-E.length;if(Array.isArray(R)&&v>0){const N=new Array(v).fill("");P=[...R,...N],P.raw=[...R.raw,...N]}const T=f(P,...M);return a.muiName&&(T.muiName=a.muiName),T};return f.withConfig&&(b.withConfig=f.withConfig),b}}function MC(e){for(const t in e)return!1;return!0}function OC(e){return typeof e=="string"&&e.charCodeAt(0)>96}function IC(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const Ef=jv();function fs(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const o=r;if(o==="components"||o==="slots")n[o]={...e[o],...n[o]};else if(o==="componentsProps"||o==="slotProps"){const i=e[o],s=t[o];if(!s)n[o]=i||{};else if(!i)n[o]=s;else{n[o]={...s};for(const a in i)if(Object.prototype.hasOwnProperty.call(i,a)){const l=a;n[o][l]=fs(i[l],s[l])}}}else n[o]===void 0&&(n[o]=e[o])}return n}function Lv(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:fs(t.components[n].defaultProps,r)}function Hl({props:e,name:t,defaultTheme:n,themeId:r}){let o=bs(n);return r&&(o=o[r]||o),Lv({theme:o,name:t,props:e})}const Wn=typeof window<"u"?w.useLayoutEffect:w.useEffect;function AC(e,t,n,r,o){const[i,s]=w.useState(()=>o&&n?n(e).matches:r?r(e).matches:t);return Wn(()=>{if(!n)return;const a=n(e),l=()=>{s(a.matches)};return l(),a.addEventListener("change",l),()=>{a.removeEventListener("change",l)}},[e,n]),i}const jC={...Ui},Nv=jC.useSyncExternalStore;function LC(e,t,n,r,o){const i=w.useCallback(()=>t,[t]),s=w.useMemo(()=>{if(o&&n)return()=>n(e).matches;if(r!==null){const{matches:c}=r(e);return()=>c}return i},[i,e,r,o,n]),[a,l]=w.useMemo(()=>{if(n===null)return[i,()=>()=>{}];const c=n(e);return[()=>c.matches,d=>(c.addEventListener("change",d),()=>{c.removeEventListener("change",d)})]},[i,n,e]);return Nv(l,a,s)}function NC(e,t={}){const n=bf(),r=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:o=!1,matchMedia:i=r?window.matchMedia:null,ssrMatchMedia:s=null,noSsr:a=!1}=Lv({name:"MuiUseMediaQuery",props:t,theme:n});let l=e;return l=l.replace(/^@media( ?)/m,""),(Nv!==void 0?LC:AC)(l,o,i,s,a)}function zC(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function Rf(e,t=0,n=1){return zC(e,t,n)}function BC(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 gr(e){if(e.type)return e;if(e.charAt(0)==="#")return gr(BC(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(Wr(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(Wr(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const _C=e=>{const t=gr(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},Ri=(e,t)=>{try{return _C(e)}catch{return e}};function Vl(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 zv(e){e=gr(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),s=(u,c=(u+n/30)%12)=>o-i*Math.max(Math.min(c-3,9-c,1),-1);let a="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),Vl({type:a,values:l})}function qc(e){e=gr(e);let t=e.type==="hsl"||e.type==="hsla"?gr(zv(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 DC(e,t){const n=qc(e),r=qc(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function oe(e,t){return e=gr(e),t=Rf(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Vl(e)}function Ys(e,t,n){try{return oe(e,t)}catch{return e}}function Vr(e,t){if(e=gr(e),t=Rf(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 Vl(e)}function ge(e,t,n){try{return Vr(e,t)}catch{return e}}function Gr(e,t){if(e=gr(e),t=Rf(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 Vl(e)}function ve(e,t,n){try{return Gr(e,t)}catch{return e}}function Bv(e,t=.15){return qc(e)>.5?Vr(e,t):Gr(e,t)}function Zs(e,t,n){try{return Bv(e,t)}catch{return e}}function Th(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function _v(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 Dv(e,t){var n,r,o;return w.isValidElement(e)&&t.indexOf(e.type.muiName??((o=(r=(n=e.type)==null?void 0:n._payload)==null?void 0:r.value)==null?void 0:o.muiName))!==-1}function gt(e){return e&&e.ownerDocument||document}function Hn(e){return gt(e).defaultView||window}function Jc(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let $h=0;function FC(e){const[t,n]=w.useState(e),r=e||t;return w.useEffect(()=>{t==null&&($h+=1,n(`mui-${$h}`))},[t]),r}const UC={...Ui},Mh=UC.useId;function WC(e){if(Mh!==void 0){const t=Mh();return e??t}return FC(e)}function Fv({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=w.useRef(e!==void 0),[i,s]=w.useState(t),a=o?e:i,l=w.useCallback(u=>{o||s(u)},[]);return[a,l]}function an(e){const t=w.useRef(e);return Wn(()=>{t.current=e}),w.useRef((...n)=>(0,t.current)(...n)).current}function He(...e){return w.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Jc(n,t)})},e)}const Oh={};function Uv(e,t){const n=w.useRef(Oh);return n.current===Oh&&(n.current=e(t)),n}const HC=[];function VC(e){w.useEffect(e,HC)}class Gl{constructor(){ai(this,"currentId",null);ai(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});ai(this,"disposeEffect",()=>this.clear)}static create(){return new Gl}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Ar(){const e=Uv(Gl.create).current;return VC(e.disposeEffect),e}function Wo(e){try{return e.matches(":focus-visible")}catch{}return!1}function Wv(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}function Z(e,t,n=void 0){const r={};for(const o in e){const i=e[o];let s="",a=!0;for(let l=0;lr.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function Ih(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 Hv(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const y=H(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),x={...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},S={...n,...o,...r};return y.length>0&&(S.className=y),Object.keys(x).length>0&&(S.style=x),{props:S,internalRef:void 0}}const s=Ja({...o,...r}),a=Ih(r),l=Ih(o),u=t(s),c=H(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},m={...u,...n,...l,...a};return c.length>0&&(m.className=c),Object.keys(d).length>0&&(m.style=d),{props:m,internalRef:u.ref}}function Vv(e,t,n){return typeof e=="function"?e(t,n):e}function el(e){var d;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:o=!1,...i}=e,s=o?{}:Vv(n,r),{props:a,internalRef:l}=Hv({...i,externalSlotProps:s}),u=He(l,s==null?void 0:s.ref,(d=e.additionalProps)==null?void 0:d.ref);return ko(t,{...a,ref:u},r)}function qr(e){var t;return parseInt(w.version,10)>=19?(t=e.props)==null?void 0:t.ref:e==null?void 0:e.ref}const Gv=w.createContext(null);function Pf(){return w.useContext(Gv)}const KC=typeof Symbol=="function"&&Symbol.for,QC=KC?Symbol.for("mui.nested"):"__THEME_NESTED__";function XC(e,t){return typeof t=="function"?t(e):{...e,...t}}function YC(e){const{children:t,theme:n}=e,r=Pf(),o=w.useMemo(()=>{const i=r===null?{...n}:XC(r,n);return i!=null&&(i[QC]=r!==null),i},[n,r]);return k.jsx(Gv.Provider,{value:o,children:t})}const Kv=w.createContext();function ZC({value:e,...t}){return k.jsx(Kv.Provider,{value:e??!0,...t})}const Kl=()=>w.useContext(Kv)??!1,Qv=w.createContext(void 0);function qC({value:e,children:t}){return k.jsx(Qv.Provider,{value:e,children:t})}function JC(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?fs(o.defaultProps,r):!o.styleOverrides&&!o.variants?fs(o,r):r}function ek({props:e,name:t}){const n=w.useContext(Qv);return JC({props:e,name:t,theme:{components:n}})}const Ah={};function jh(e,t,n,r=!1){return w.useMemo(()=>{const o=e&&t[e]||t;if(typeof n=="function"){const i=n(o),s=e?{...t,[e]:i}:i;return r?()=>s:s}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function Xv(e){const{children:t,theme:n,themeId:r}=e,o=bf(Ah),i=Pf()||Ah,s=jh(r,o,n),a=jh(r,i,n,!0),l=s.direction==="rtl";return k.jsx(YC,{theme:a,children:k.jsx(Ll.Provider,{value:s,children:k.jsx(ZC,{value:l,children:k.jsx(qC,{value:s==null?void 0:s.components,children:t})})})})}const Tf="mode",$f="color-scheme",tk="data-color-scheme";function nk(e){const{defaultLightColorScheme:t="light",defaultDarkColorScheme:n="dark",modeStorageKey:r=Tf,colorSchemeStorageKey:o=$f,attribute:i=tk,colorSchemeNode:s="document.documentElement",nonce:a}=e||{};let l="",u=i;if(i==="class"&&(u=".%s"),i==="data"&&(u="[data-%s]"),u.startsWith(".")){const d=u.substring(1);l+=`${s}.classList.remove('${d}'.replace('%s', light), '${d}'.replace('%s', dark));
${s}.classList.add('${d}'.replace('%s', colorScheme));`}const c=u.match(/\[([^\]]+)\]/);if(c){const[d,m]=c[1].split("=");m||(l+=`${s}.removeAttribute('${d}'.replace('%s', light));
${s}.removeAttribute('${d}'.replace('%s', dark));`),l+=`
${s}.setAttribute('${d}'.replace('%s', colorScheme), ${m?`${m}.replace('%s', colorScheme)`:'""'});`}else l+=`${s}.setAttribute('${u}', colorScheme);`;return k.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?a:"",dangerouslySetInnerHTML:{__html:`(function() {
try {
let colorScheme = '';
const mode = localStorage.getItem('${r}') || 'system';
const dark = localStorage.getItem('${o}-dark') || '${n}';
const light = localStorage.getItem('${o}-light') || '${t}';
if (mode === 'system') {
// handle system mode
const mql = window.matchMedia('(prefers-color-scheme: dark)');
if (mql.matches) {
colorScheme = dark
} else {
colorScheme = light
}
}
if (mode === 'light') {
colorScheme = light;
}
if (mode === 'dark') {
colorScheme = dark;
}
if (colorScheme) {
${l}
}
} catch(e){}})();`}},"mui-color-scheme-init")}function Lh(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Yv(e,t){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return t("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return t("dark")}function rk(e){return Yv(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function Du(e,t){if(typeof window>"u")return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch{}return n||t}function ok(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:o=[],modeStorageKey:i=Tf,colorSchemeStorageKey:s=$f,storageWindow:a=typeof window>"u"?void 0:window}=e,l=o.join(","),u=o.length>1,[c,d]=w.useState(()=>{const f=Du(i,t),g=Du(`${s}-light`,n),b=Du(`${s}-dark`,r);return{mode:f,systemMode:Lh(f),lightColorScheme:g,darkColorScheme:b}}),[,m]=w.useState(!1),y=w.useRef(!1);w.useEffect(()=>{u&&m(!0),y.current=!0},[u]);const x=rk(c),S=w.useCallback(f=>{d(g=>{if(f===g.mode)return g;const b=f??t;try{localStorage.setItem(i,b)}catch{}return{...g,mode:b,systemMode:Lh(b)}})},[i,t]),C=w.useCallback(f=>{f?typeof f=="string"?f&&!l.includes(f)?console.error(`\`${f}\` does not exist in \`theme.colorSchemes\`.`):d(g=>{const b={...g};return Yv(g,R=>{try{localStorage.setItem(`${s}-${R}`,f)}catch{}R==="light"&&(b.lightColorScheme=f),R==="dark"&&(b.darkColorScheme=f)}),b}):d(g=>{const b={...g},R=f.light===null?n:f.light,E=f.dark===null?r:f.dark;if(R)if(!l.includes(R))console.error(`\`${R}\` does not exist in \`theme.colorSchemes\`.`);else{b.lightColorScheme=R;try{localStorage.setItem(`${s}-light`,R)}catch{}}if(E)if(!l.includes(E))console.error(`\`${E}\` does not exist in \`theme.colorSchemes\`.`);else{b.darkColorScheme=E;try{localStorage.setItem(`${s}-dark`,E)}catch{}}return b}):d(g=>{try{localStorage.setItem(`${s}-light`,n),localStorage.setItem(`${s}-dark`,r)}catch{}return{...g,lightColorScheme:n,darkColorScheme:r}})},[l,s,n,r]),p=w.useCallback(f=>{c.mode==="system"&&d(g=>{const b=f!=null&&f.matches?"dark":"light";return g.systemMode===b?g:{...g,systemMode:b}})},[c.mode]),h=w.useRef(p);return h.current=p,w.useEffect(()=>{if(typeof window.matchMedia!="function"||!u)return;const f=(...b)=>h.current(...b),g=window.matchMedia("(prefers-color-scheme: dark)");return g.addListener(f),f(g),()=>{g.removeListener(f)}},[u]),w.useEffect(()=>{if(a&&u){const f=g=>{const b=g.newValue;typeof g.key=="string"&&g.key.startsWith(s)&&(!b||l.match(b))&&(g.key.endsWith("light")&&C({light:b}),g.key.endsWith("dark")&&C({dark:b})),g.key===i&&(!b||["light","dark","system"].includes(b))&&S(b||t)};return a.addEventListener("storage",f),()=>{a.removeEventListener("storage",f)}}},[C,S,i,s,l,t,a,u]),{...c,mode:y.current||!u?c.mode:void 0,systemMode:y.current||!u?c.systemMode:void 0,colorScheme:y.current||!u?x:void 0,setMode:S,setColorScheme:C}}const ik="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function sk(e){const{themeId:t,theme:n={},modeStorageKey:r=Tf,colorSchemeStorageKey:o=$f,disableTransitionOnChange:i=!1,defaultColorScheme:s,resolveTheme:a}=e,l={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},u=w.createContext(void 0),c=()=>w.useContext(u)||l;function d(S){var mn,G,Jt,In,gn;const{children:C,theme:p,modeStorageKey:h=r,colorSchemeStorageKey:f=o,disableTransitionOnChange:g=i,storageWindow:b=typeof window>"u"?void 0:window,documentNode:R=typeof document>"u"?void 0:document,colorSchemeNode:E=typeof document>"u"?void 0:document.documentElement,disableNestedContext:P=!1,disableStyleSheetGeneration:M=!1,defaultMode:v="system"}=S,T=w.useRef(!1),N=Pf(),L=w.useContext(u),D=!!L&&!P,I=w.useMemo(()=>p||(typeof n=="function"?n():n),[p]),A=I[t],{colorSchemes:_={},components:$={},cssVarPrefix:j,...B}=A||I,V=Object.keys(_).filter(pe=>!!_[pe]).join(","),K=w.useMemo(()=>V.split(","),[V]),me=typeof s=="string"?s:s.light,Q=typeof s=="string"?s:s.dark,ce=_[me]&&_[Q]?v:((G=(mn=_[B.defaultColorScheme])==null?void 0:mn.palette)==null?void 0:G.mode)||((Jt=B.palette)==null?void 0:Jt.mode),{mode:ye,setMode:Me,systemMode:Le,lightColorScheme:ut,darkColorScheme:ne,colorScheme:de,setColorScheme:q}=ok({supportedColorSchemes:K,defaultLightColorScheme:me,defaultDarkColorScheme:Q,modeStorageKey:h,colorSchemeStorageKey:f,defaultMode:ce,storageWindow:b});let _e=ye,fe=de;D&&(_e=L.mode,fe=L.colorScheme);const De=fe||B.defaultColorScheme,zt=((In=B.generateThemeVars)==null?void 0:In.call(B))||B.vars,be={...B,components:$,colorSchemes:_,cssVarPrefix:j,vars:zt};if(typeof be.generateSpacing=="function"&&(be.spacing=be.generateSpacing()),De){const pe=_[De];pe&&typeof pe=="object"&&Object.keys(pe).forEach(we=>{pe[we]&&typeof pe[we]=="object"?be[we]={...be[we],...pe[we]}:be[we]=pe[we]})}const Fe=B.colorSchemeSelector;w.useEffect(()=>{if(fe&&E&&Fe&&Fe!=="media"){const pe=Fe;let we=Fe;if(pe==="class"&&(we=".%s"),pe==="data"&&(we="[data-%s]"),pe!=null&&pe.startsWith("data-")&&!pe.includes("%s")&&(we=`[${pe}="%s"]`),we.startsWith("."))E.classList.remove(...K.map(vn=>we.substring(1).replace("%s",vn))),E.classList.add(we.substring(1).replace("%s",fe));else{const vn=we.replace("%s",fe).match(/\[([^\]]+)\]/);if(vn){const[Jr,ct]=vn[1].split("=");ct||K.forEach(Er=>{E.removeAttribute(Jr.replace(fe,Er))}),E.setAttribute(Jr,ct?ct.replace(/"|'/g,""):"")}else E.setAttribute(we,fe)}}},[fe,Fe,E,K]),w.useEffect(()=>{let pe;if(g&&T.current&&R){const we=R.createElement("style");we.appendChild(R.createTextNode(ik)),R.head.appendChild(we),window.getComputedStyle(R.body),pe=setTimeout(()=>{R.head.removeChild(we)},1)}return()=>{clearTimeout(pe)}},[fe,g,R]),w.useEffect(()=>(T.current=!0,()=>{T.current=!1}),[]);const nt=w.useMemo(()=>({allColorSchemes:K,colorScheme:fe,darkColorScheme:ne,lightColorScheme:ut,mode:_e,setColorScheme:q,setMode:Me,systemMode:Le}),[K,fe,ne,ut,_e,q,Me,Le]);let Ke=!0;(M||B.cssVariables===!1||D&&(N==null?void 0:N.cssVarPrefix)===j)&&(Ke=!1);const Se=k.jsxs(w.Fragment,{children:[k.jsx(Xv,{themeId:A?t:void 0,theme:a?a(be):be,children:C}),Ke&&k.jsx(Ev,{styles:((gn=be.generateStyleSheets)==null?void 0:gn.call(be))||[]})]});return D?Se:k.jsx(u.Provider,{value:nt,children:Se})}const m=typeof s=="string"?s:s.light,y=typeof s=="string"?s:s.dark;return{CssVarsProvider:d,useColorScheme:c,getInitColorSchemeScript:S=>nk({colorSchemeStorageKey:o,defaultLightColorScheme:m,defaultDarkColorScheme:y,modeStorageKey:r,...S})}}function ak(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 Nh=(e,t,n,r=[])=>{let o=e;t.forEach((i,s)=>{s===t.length-1?Array.isArray(o)?o[Number(i)]=n:o&&typeof o=="object"&&(o[i]=n):o&&typeof o=="object"&&(o[i]||(o[i]=r.includes(i)?[]:{}),o=o[i])})},lk=(e,t,n)=>{function r(o,i=[],s=[]){Object.entries(o).forEach(([a,l])=>{(!n||n&&!n([...i,a]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?r(l,[...i,a],Array.isArray(l)?[...s,a]:s):t([...i,a],l,s))})}r(e)},uk=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function Fu(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},s={};return lk(e,(a,l,u)=>{if((typeof l=="string"||typeof l=="number")&&(!r||!r(a,l))){const c=`--${n?`${n}-`:""}${a.join("-")}`,d=uk(a,l);Object.assign(o,{[c]:d}),Nh(i,a,`var(${c})`,u),Nh(s,a,`var(${c}, ${d})`,u)}},a=>a[0]==="vars"),{css:o,vars:i,varsWithDefaults:s}}function ck(e,t={}){const{getSelector:n=C,disableCssColorScheme:r,colorSchemeSelector:o}=t,{colorSchemes:i={},components:s,defaultColorScheme:a="light",...l}=e,{vars:u,css:c,varsWithDefaults:d}=Fu(l,t);let m=d;const y={},{[a]:x,...S}=i;if(Object.entries(S||{}).forEach(([f,g])=>{const{vars:b,css:R,varsWithDefaults:E}=Fu(g,t);m=mt(m,E),y[f]={css:R,vars:b}}),x){const{css:f,vars:g,varsWithDefaults:b}=Fu(x,t);m=mt(m,b),y[a]={css:f,vars:g}}function C(f,g){var R,E;let b=o;if(o==="class"&&(b=".%s"),o==="data"&&(b="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(b=`[${o}="%s"]`),f){if(b==="media")return e.defaultColorScheme===f?":root":{[`@media (prefers-color-scheme: ${((E=(R=i[f])==null?void 0:R.palette)==null?void 0:E.mode)||f})`]:{":root":g}};if(b)return e.defaultColorScheme===f?`:root, ${b.replace("%s",String(f))}`:b.replace("%s",String(f))}return":root"}return{vars:m,generateThemeVars:()=>{let f={...u};return Object.entries(y).forEach(([,{vars:g}])=>{f=mt(f,g)}),f},generateStyleSheets:()=>{var P,M;const f=[],g=e.defaultColorScheme||"light";function b(v,T){Object.keys(T).length&&f.push(typeof v=="string"?{[v]:{...T}}:v)}b(n(void 0,{...c}),c);const{[g]:R,...E}=y;if(R){const{css:v}=R,T=(M=(P=i[g])==null?void 0:P.palette)==null?void 0:M.mode,N=!r&&T?{colorScheme:T,...v}:{...v};b(n(g,{...N}),N)}return Object.entries(E).forEach(([v,{css:T}])=>{var D,I;const N=(I=(D=i[v])==null?void 0:D.palette)==null?void 0:I.mode,L=!r&&N?{colorScheme:N,...T}:{...T};b(n(v,{...L}),L)}),f}}}function dk(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 fk=ri(),pk=Ef("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${U(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),hk=e=>Hl({props:e,name:"MuiContainer",defaultTheme:fk}),mk=(e,t)=>{const n=l=>X(t,l),{classes:r,fixed:o,disableGutters:i,maxWidth:s}=e,a={root:["root",s&&`maxWidth${U(String(s))}`,o&&"fixed",i&&"disableGutters"]};return Z(a,n,r)};function gk(e={}){const{createStyledComponent:t=pk,useThemeProps:n=hk,componentName:r="MuiContainer"}=e,o=t(({theme:s,ownerState:a})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!a.disableGutters&&{paddingLeft:s.spacing(2),paddingRight:s.spacing(2),[s.breakpoints.up("sm")]:{paddingLeft:s.spacing(3),paddingRight:s.spacing(3)}}}),({theme:s,ownerState:a})=>a.fixed&&Object.keys(s.breakpoints.values).reduce((l,u)=>{const c=u,d=s.breakpoints.values[c];return d!==0&&(l[s.breakpoints.up(c)]={maxWidth:`${d}${s.breakpoints.unit}`}),l},{}),({theme:s,ownerState:a})=>({...a.maxWidth==="xs"&&{[s.breakpoints.up("xs")]:{maxWidth:Math.max(s.breakpoints.values.xs,444)}},...a.maxWidth&&a.maxWidth!=="xs"&&{[s.breakpoints.up(a.maxWidth)]:{maxWidth:`${s.breakpoints.values[a.maxWidth]}${s.breakpoints.unit}`}}}));return w.forwardRef(function(a,l){const u=n(a),{className:c,component:d="div",disableGutters:m=!1,fixed:y=!1,maxWidth:x="lg",classes:S,...C}=u,p={...u,component:d,disableGutters:m,fixed:y,maxWidth:x},h=mk(p,r);return k.jsx(o,{as:d,ownerState:p,className:H(h.root,c),ref:l,...C})})}const vk=(e,t)=>e.filter(n=>t.includes(n)),oi=(e,t,n)=>{const r=e.keys[0];Array.isArray(t)?t.forEach((o,i)=>{n((s,a)=>{i<=e.keys.length-1&&(i===0?Object.assign(s,a):s[e.up(e.keys[i])]=a)},o)}):t&&typeof t=="object"?(Object.keys(t).length>e.keys.length?e.keys:vk(e.keys,Object.keys(t))).forEach(i=>{if(e.keys.includes(i)){const s=t[i];s!==void 0&&n((a,l)=>{r===i?Object.assign(a,l):a[e.up(i)]=l},s)}}):(typeof t=="number"||typeof t=="string")&&n((o,i)=>{Object.assign(o,i)},t)};function Vn(e){return e?`Level${e}`:""}function Mf(e){return e.unstable_level>0&&e.container}function yk(e){return function(n){return`var(--Grid-${n}Spacing${Vn(e.unstable_level)})`}}function Ql(e){return function(n){return e.unstable_level===0?`var(--Grid-${n}Spacing)`:`var(--Grid-${n}Spacing${Vn(e.unstable_level-1)})`}}function Ao(e){return e.unstable_level===0?"var(--Grid-columns)":`var(--Grid-columns${Vn(e.unstable_level-1)})`}const xk=({theme:e,ownerState:t})=>{const n=Ql(t),r={};return oi(e.breakpoints,t.size,(o,i)=>{let s={};i==="grow"&&(s={flexBasis:0,flexGrow:1,maxWidth:"100%"}),i==="auto"&&(s={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),typeof i=="number"&&(s={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${i} / ${Ao(t)} - (${Ao(t)} - ${i}) * (${n("column")} / ${Ao(t)}))`}),o(r,s)}),r},Sk=({theme:e,ownerState:t})=>{const n=Ql(t),r={};return oi(e.breakpoints,t.offset,(o,i)=>{let s={};i==="auto"&&(s={marginLeft:"auto"}),typeof i=="number"&&(s={marginLeft:i===0?"0px":`calc(100% * ${i} / ${Ao(t)} + ${n("column")} * ${i} / ${Ao(t)})`}),o(r,s)}),r},wk=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Mf(t)?{[`--Grid-columns${Vn(t.unstable_level)}`]:Ao(t)}:{"--Grid-columns":12};return oi(e.breakpoints,t.columns,(r,o)=>{r(n,{[`--Grid-columns${Vn(t.unstable_level)}`]:o})}),n},Ck=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Ql(t),r=Mf(t)?{[`--Grid-rowSpacing${Vn(t.unstable_level)}`]:n("row")}:{};return oi(e.breakpoints,t.rowSpacing,(o,i)=>{var s;o(r,{[`--Grid-rowSpacing${Vn(t.unstable_level)}`]:typeof i=="string"?i:(s=e.spacing)==null?void 0:s.call(e,i)})}),r},kk=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Ql(t),r=Mf(t)?{[`--Grid-columnSpacing${Vn(t.unstable_level)}`]:n("column")}:{};return oi(e.breakpoints,t.columnSpacing,(o,i)=>{var s;o(r,{[`--Grid-columnSpacing${Vn(t.unstable_level)}`]:typeof i=="string"?i:(s=e.spacing)==null?void 0:s.call(e,i)})}),r},bk=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return oi(e.breakpoints,t.direction,(r,o)=>{r(n,{flexDirection:o})}),n},Ek=({ownerState:e})=>{const t=yk(e);return{minWidth:0,boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",...e.wrap&&e.wrap!=="wrap"&&{flexWrap:e.wrap},gap:`${t("row")} ${t("column")}`}}},Rk=e=>{const t=[];return Object.entries(e).forEach(([n,r])=>{r!==!1&&r!==void 0&&t.push(`grid-${n}-${String(r)}`)}),t},Pk=(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[]},Tk=e=>e===void 0?[]:typeof e=="object"?Object.entries(e).map(([t,n])=>`direction-${t}-${n}`):[`direction-xs-${String(e)}`],$k=ri(),Mk=Ef("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function Ok(e){return Hl({props:e,name:"MuiGrid",defaultTheme:$k})}function Ik(e={}){const{createStyledComponent:t=Mk,useThemeProps:n=Ok,componentName:r="MuiGrid"}=e,o=(l,u)=>{const{container:c,direction:d,spacing:m,wrap:y,size:x}=l,S={root:["root",c&&"container",y!=="wrap"&&`wrap-xs-${String(y)}`,...Tk(d),...Rk(x),...c?Pk(m,u.breakpoints.keys[0]):[]]};return Z(S,C=>X(r,C),{})};function i(l,u,c=()=>!0){const d={};return l===null||(Array.isArray(l)?l.forEach((m,y)=>{m!==null&&c(m)&&u.keys[y]&&(d[u.keys[y]]=m)}):typeof l=="object"?Object.keys(l).forEach(m=>{const y=l[m];y!=null&&c(y)&&(d[m]=y)}):d[u.keys[0]]=l),d}const s=t(wk,kk,Ck,xk,bk,Ek,Sk),a=w.forwardRef(function(u,c){const d=bs(),m=n(u),y=Wl(m),{className:x,children:S,columns:C=12,container:p=!1,component:h="div",direction:f="row",wrap:g="wrap",size:b={},offset:R={},spacing:E=0,rowSpacing:P=E,columnSpacing:M=E,unstable_level:v=0,...T}=y,N=i(b,d.breakpoints,B=>B!==!1),L=i(R,d.breakpoints),D=u.columns??(v?void 0:C),I=u.spacing??(v?void 0:E),A=u.rowSpacing??u.spacing??(v?void 0:P),_=u.columnSpacing??u.spacing??(v?void 0:M),$={...y,level:v,columns:D,container:p,direction:f,wrap:g,spacing:I,rowSpacing:A,columnSpacing:_,size:N,offset:L},j=o($,d);return k.jsx(s,{ref:c,as:h,ownerState:$,className:H(j.root,x),...T,children:w.Children.map(S,B=>{var V;return w.isValidElement(B)&&Dv(B,["Grid"])?w.cloneElement(B,{unstable_level:((V=B.props)==null?void 0:V.unstable_level)??v+1}):B})})});return a.muiName="Grid",a}const Ak=ri(),jk=Ef("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function Lk(e){return Hl({props:e,name:"MuiStack",defaultTheme:Ak})}function Nk(e,t){const n=w.Children.toArray(e).filter(Boolean);return n.reduce((r,o,i)=>(r.push(o),i({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],Bk=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...pn({theme:t},Bu({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r}))};if(e.spacing){const r=zl(t),o=Object.keys(t.breakpoints.values).reduce((l,u)=>((typeof e.spacing=="object"&&e.spacing[u]!=null||typeof e.direction=="object"&&e.direction[u]!=null)&&(l[u]=!0),l),{}),i=Bu({values:e.direction,base:o}),s=Bu({values:e.spacing,base:o});typeof i=="object"&&Object.keys(i).forEach((l,u,c)=>{if(!i[l]){const m=u>0?i[c[u-1]]:"column";i[l]=m}}),n=mt(n,pn({theme:t},s,(l,u)=>e.useFlexGap?{gap:Hr(r,l)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${zk(u?i[u]:e.direction)}`]:Hr(r,l)}}))}return n=A2(t.breakpoints,n),n};function _k(e={}){const{createStyledComponent:t=jk,useThemeProps:n=Lk,componentName:r="MuiStack"}=e,o=()=>Z({root:["root"]},l=>X(r,l),{}),i=t(Bk);return w.forwardRef(function(l,u){const c=n(l),d=Wl(c),{component:m="div",direction:y="column",spacing:x=0,divider:S,children:C,className:p,useFlexGap:h=!1,...f}=d,g={direction:y,spacing:x,useFlexGap:h},b=o();return k.jsx(i,{as:m,ownerState:g,ref:u,className:H(b.root,p),...f,children:S?Nk(C,S):C})})}const zh={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:ls.white,default:ls.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}},Uu={text:{primary:ls.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:ls.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 Bh(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=Gr(e.main,o):t==="dark"&&(e.dark=Vr(e.main,i)))}function Dk(e="light"){return e==="dark"?{main:ro[200],light:ro[50],dark:ro[400]}:{main:ro[700],light:ro[400],dark:ro[800]}}function Fk(e="light"){return e==="dark"?{main:no[200],light:no[50],dark:no[400]}:{main:no[500],light:no[300],dark:no[700]}}function Uk(e="light"){return e==="dark"?{main:to[500],light:to[300],dark:to[700]}:{main:to[700],light:to[400],dark:to[800]}}function Wk(e="light"){return e==="dark"?{main:oo[400],light:oo[300],dark:oo[700]}:{main:oo[700],light:oo[500],dark:oo[900]}}function Hk(e="light"){return e==="dark"?{main:io[400],light:io[300],dark:io[700]}:{main:io[800],light:io[500],dark:io[900]}}function Vk(e="light"){return e==="dark"?{main:gi[400],light:gi[300],dark:gi[700]}:{main:"#ed6c02",light:gi[500],dark:gi[900]}}function Of(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...o}=e,i=e.primary||Dk(t),s=e.secondary||Fk(t),a=e.error||Uk(t),l=e.info||Wk(t),u=e.success||Hk(t),c=e.warning||Vk(t);function d(S){return DC(S,Uu.text.primary)>=n?Uu.text.primary:zh.text.primary}const m=({color:S,name:C,mainShade:p=500,lightShade:h=300,darkShade:f=700})=>{if(S={...S},!S.main&&S[p]&&(S.main=S[p]),!S.hasOwnProperty("main"))throw new Error(Wr(11,C?` (${C})`:"",p));if(typeof S.main!="string")throw new Error(Wr(12,C?` (${C})`:"",JSON.stringify(S.main)));return Bh(S,"light",h,r),Bh(S,"dark",f,r),S.contrastText||(S.contrastText=d(S.main)),S},y={dark:Uu,light:zh};return mt({common:{...ls},mode:t,primary:m({color:i,name:"primary"}),secondary:m({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:a,name:"error"}),warning:m({color:c,name:"warning"}),info:m({color:l,name:"info"}),success:m({color:u,name:"success"}),grey:vw,contrastThreshold:n,getContrastText:d,augmentColor:m,tonalOffset:r,...y[t]},o)}function Gk(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 Kk(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function Qk(e){return Math.round(e*1e5)/1e5}const _h={textTransform:"uppercase"},Dh='"Roboto", "Helvetica", "Arial", sans-serif';function Zv(e,t){const{fontFamily:n=Dh,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:a=700,htmlFontSize:l=16,allVariants:u,pxToRem:c,...d}=typeof t=="function"?t(e):t,m=r/14,y=c||(C=>`${C/l*m}rem`),x=(C,p,h,f,g)=>({fontFamily:n,fontWeight:C,fontSize:y(p),lineHeight:h,...n===Dh?{letterSpacing:`${Qk(f/p)}em`}:{},...g,...u}),S={h1:x(o,96,1.167,-1.5),h2:x(o,60,1.2,-.5),h3:x(i,48,1.167,0),h4:x(i,34,1.235,.25),h5:x(i,24,1.334,0),h6:x(s,20,1.6,.15),subtitle1:x(i,16,1.75,.15),subtitle2:x(s,14,1.57,.1),body1:x(i,16,1.5,.15),body2:x(i,14,1.43,.15),button:x(s,14,1.75,.4,_h),caption:x(i,12,1.66,.4),overline:x(i,12,2.66,1,_h),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return mt({htmlFontSize:l,pxToRem:y,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:a,...S},d,{clone:!1})}const Xk=.2,Yk=.14,Zk=.12;function Ee(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Xk})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Yk})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Zk})`].join(",")}const qk=["none",Ee(0,2,1,-1,0,1,1,0,0,1,3,0),Ee(0,3,1,-2,0,2,2,0,0,1,5,0),Ee(0,3,3,-2,0,3,4,0,0,1,8,0),Ee(0,2,4,-1,0,4,5,0,0,1,10,0),Ee(0,3,5,-1,0,5,8,0,0,1,14,0),Ee(0,3,5,-1,0,6,10,0,0,1,18,0),Ee(0,4,5,-2,0,7,10,1,0,2,16,1),Ee(0,5,5,-3,0,8,10,1,0,3,14,2),Ee(0,5,6,-3,0,9,12,1,0,3,16,2),Ee(0,6,6,-3,0,10,14,1,0,4,18,3),Ee(0,6,7,-4,0,11,15,1,0,4,20,3),Ee(0,7,8,-4,0,12,17,2,0,5,22,4),Ee(0,7,8,-4,0,13,19,2,0,5,24,4),Ee(0,7,9,-4,0,14,21,2,0,5,26,4),Ee(0,8,9,-5,0,15,22,2,0,6,28,5),Ee(0,8,10,-5,0,16,24,2,0,6,30,5),Ee(0,8,11,-5,0,17,26,2,0,6,32,5),Ee(0,9,11,-5,0,18,28,2,0,7,34,6),Ee(0,9,12,-6,0,19,29,2,0,7,36,6),Ee(0,10,13,-6,0,20,31,3,0,8,38,7),Ee(0,10,13,-6,0,21,33,3,0,8,40,7),Ee(0,10,14,-6,0,22,35,3,0,8,42,7),Ee(0,11,14,-7,0,23,36,3,0,9,44,8),Ee(0,11,15,-7,0,24,38,3,0,9,46,8)],Jk={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)"},eb={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Fh(e){return`${Math.round(e)}ms`}function tb(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function nb(e){const t={...Jk,...e.easing},n={...eb,...e.duration};return{getAutoHeightDuration:tb,create:(o=["all"],i={})=>{const{duration:s=n.standard,easing:a=t.easeInOut,delay:l=0,...u}=i;return(Array.isArray(o)?o:[o]).map(c=>`${c} ${typeof s=="string"?s:Fh(s)} ${a} ${typeof l=="string"?l:Fh(l)}`).join(",")},...e,easing:t,duration:n}}const rb={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function ed(e={},...t){const{breakpoints:n,mixins:r={},spacing:o,palette:i={},transitions:s={},typography:a={},shape:l,...u}=e;if(e.vars)throw new Error(Wr(20));const c=Of(i),d=ri(e);let m=mt(d,{mixins:Kk(d.breakpoints,r),palette:c,shadows:qk.slice(),typography:Zv(c,a),transitions:nb(s),zIndex:{...rb}});return m=mt(m,u),m=t.reduce((y,x)=>mt(y,x),m),m.unstable_sxConfig={...ks,...u==null?void 0:u.unstable_sxConfig},m.unstable_sx=function(x){return Zr({sx:x,theme:this})},m}function td(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 ob=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=td(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function qv(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Jv(e){return e==="dark"?ob:[]}function ib(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...o}=e,i=Of(t);return{palette:i,opacity:{...qv(i.mode),...n},overlays:r||Jv(i.mode),...o}}function sb(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const ab=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],lb=e=>(t,n)=>{const r=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if(o==="class"&&(i=".%s"),o==="data"&&(i="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const s={};return ab(e.cssVarPrefix).forEach(a=>{s[a]=n[a],delete n[a]}),i==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:s}}:i?{[i.replace("%s",t)]:s,[`${r}, ${i.replace("%s",t)}`]:n}:{[r]:{...n,...s}}}if(i&&i!=="media")return`${r}, ${i.replace("%s",String(t))}`}else if(t){if(i==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(i)return i.replace("%s",String(t))}return r};function ub(e){return Rn(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function cb(e={}){const t={...e};function n(r){const o=Object.entries(r);for(let i=0;i{e[n]||(e[n]={})})}function O(e,t,n){!e[t]&&n&&(e[t]=n)}function Pi(e){return!e||!e.startsWith("hsl")?e:zv(e)}function An(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Ri(Pi(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 fb(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const xn=e=>{try{return e()}catch{}},pb=(e="mui")=>ak(e);function Wu(e,t,n,r){if(!t)return;t=t===!0?{}:t;const o=r==="dark"?"dark":"light";if(!n){e[r]=ib({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:i,...s}=ed({...n,palette:{mode:o,...t==null?void 0:t.palette}});return e[r]={...t,palette:i,opacity:{...qv(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||Jv(o)},s}function hb(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:s=sb,colorSchemeSelector:a=n.light&&n.dark?"media":void 0,rootSelector:l=":root",...u}=e,c=Object.keys(n)[0],d=r||(n.light&&c!=="light"?"light":c),m=pb(i),{[d]:y,light:x,dark:S,...C}=n,p={...C};let h=y;if((d==="dark"&&!("dark"in n)||d==="light"&&!("light"in n))&&(h=!0),!h)throw new Error(Wr(21,d));const f=Wu(p,h,u,d);x&&!p.light&&Wu(p,x,void 0,"light"),S&&!p.dark&&Wu(p,S,void 0,"dark");let g={defaultColorScheme:d,...f,cssVarPrefix:i,colorSchemeSelector:a,rootSelector:l,getCssVar:m,colorSchemes:p,font:{...Gk(f.typography),...f.font},spacing:fb(u.spacing)};Object.keys(g.colorSchemes).forEach(M=>{const v=g.colorSchemes[M].palette,T=N=>{const L=N.split("-"),D=L[1],I=L[2];return m(N,v[D][I])};if(v.mode==="light"&&(O(v.common,"background","#fff"),O(v.common,"onBackground","#000")),v.mode==="dark"&&(O(v.common,"background","#000"),O(v.common,"onBackground","#fff")),db(v,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),v.mode==="light"){O(v.Alert,"errorColor",ge(v.error.light,.6)),O(v.Alert,"infoColor",ge(v.info.light,.6)),O(v.Alert,"successColor",ge(v.success.light,.6)),O(v.Alert,"warningColor",ge(v.warning.light,.6)),O(v.Alert,"errorFilledBg",T("palette-error-main")),O(v.Alert,"infoFilledBg",T("palette-info-main")),O(v.Alert,"successFilledBg",T("palette-success-main")),O(v.Alert,"warningFilledBg",T("palette-warning-main")),O(v.Alert,"errorFilledColor",xn(()=>v.getContrastText(v.error.main))),O(v.Alert,"infoFilledColor",xn(()=>v.getContrastText(v.info.main))),O(v.Alert,"successFilledColor",xn(()=>v.getContrastText(v.success.main))),O(v.Alert,"warningFilledColor",xn(()=>v.getContrastText(v.warning.main))),O(v.Alert,"errorStandardBg",ve(v.error.light,.9)),O(v.Alert,"infoStandardBg",ve(v.info.light,.9)),O(v.Alert,"successStandardBg",ve(v.success.light,.9)),O(v.Alert,"warningStandardBg",ve(v.warning.light,.9)),O(v.Alert,"errorIconColor",T("palette-error-main")),O(v.Alert,"infoIconColor",T("palette-info-main")),O(v.Alert,"successIconColor",T("palette-success-main")),O(v.Alert,"warningIconColor",T("palette-warning-main")),O(v.AppBar,"defaultBg",T("palette-grey-100")),O(v.Avatar,"defaultBg",T("palette-grey-400")),O(v.Button,"inheritContainedBg",T("palette-grey-300")),O(v.Button,"inheritContainedHoverBg",T("palette-grey-A100")),O(v.Chip,"defaultBorder",T("palette-grey-400")),O(v.Chip,"defaultAvatarColor",T("palette-grey-700")),O(v.Chip,"defaultIconColor",T("palette-grey-700")),O(v.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),O(v.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),O(v.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),O(v.LinearProgress,"primaryBg",ve(v.primary.main,.62)),O(v.LinearProgress,"secondaryBg",ve(v.secondary.main,.62)),O(v.LinearProgress,"errorBg",ve(v.error.main,.62)),O(v.LinearProgress,"infoBg",ve(v.info.main,.62)),O(v.LinearProgress,"successBg",ve(v.success.main,.62)),O(v.LinearProgress,"warningBg",ve(v.warning.main,.62)),O(v.Skeleton,"bg",`rgba(${T("palette-text-primaryChannel")} / 0.11)`),O(v.Slider,"primaryTrack",ve(v.primary.main,.62)),O(v.Slider,"secondaryTrack",ve(v.secondary.main,.62)),O(v.Slider,"errorTrack",ve(v.error.main,.62)),O(v.Slider,"infoTrack",ve(v.info.main,.62)),O(v.Slider,"successTrack",ve(v.success.main,.62)),O(v.Slider,"warningTrack",ve(v.warning.main,.62));const N=Zs(v.background.default,.8);O(v.SnackbarContent,"bg",N),O(v.SnackbarContent,"color",xn(()=>v.getContrastText(N))),O(v.SpeedDialAction,"fabHoverBg",Zs(v.background.paper,.15)),O(v.StepConnector,"border",T("palette-grey-400")),O(v.StepContent,"border",T("palette-grey-400")),O(v.Switch,"defaultColor",T("palette-common-white")),O(v.Switch,"defaultDisabledColor",T("palette-grey-100")),O(v.Switch,"primaryDisabledColor",ve(v.primary.main,.62)),O(v.Switch,"secondaryDisabledColor",ve(v.secondary.main,.62)),O(v.Switch,"errorDisabledColor",ve(v.error.main,.62)),O(v.Switch,"infoDisabledColor",ve(v.info.main,.62)),O(v.Switch,"successDisabledColor",ve(v.success.main,.62)),O(v.Switch,"warningDisabledColor",ve(v.warning.main,.62)),O(v.TableCell,"border",ve(Ys(v.divider,1),.88)),O(v.Tooltip,"bg",Ys(v.grey[700],.92))}if(v.mode==="dark"){O(v.Alert,"errorColor",ve(v.error.light,.6)),O(v.Alert,"infoColor",ve(v.info.light,.6)),O(v.Alert,"successColor",ve(v.success.light,.6)),O(v.Alert,"warningColor",ve(v.warning.light,.6)),O(v.Alert,"errorFilledBg",T("palette-error-dark")),O(v.Alert,"infoFilledBg",T("palette-info-dark")),O(v.Alert,"successFilledBg",T("palette-success-dark")),O(v.Alert,"warningFilledBg",T("palette-warning-dark")),O(v.Alert,"errorFilledColor",xn(()=>v.getContrastText(v.error.dark))),O(v.Alert,"infoFilledColor",xn(()=>v.getContrastText(v.info.dark))),O(v.Alert,"successFilledColor",xn(()=>v.getContrastText(v.success.dark))),O(v.Alert,"warningFilledColor",xn(()=>v.getContrastText(v.warning.dark))),O(v.Alert,"errorStandardBg",ge(v.error.light,.9)),O(v.Alert,"infoStandardBg",ge(v.info.light,.9)),O(v.Alert,"successStandardBg",ge(v.success.light,.9)),O(v.Alert,"warningStandardBg",ge(v.warning.light,.9)),O(v.Alert,"errorIconColor",T("palette-error-main")),O(v.Alert,"infoIconColor",T("palette-info-main")),O(v.Alert,"successIconColor",T("palette-success-main")),O(v.Alert,"warningIconColor",T("palette-warning-main")),O(v.AppBar,"defaultBg",T("palette-grey-900")),O(v.AppBar,"darkBg",T("palette-background-paper")),O(v.AppBar,"darkColor",T("palette-text-primary")),O(v.Avatar,"defaultBg",T("palette-grey-600")),O(v.Button,"inheritContainedBg",T("palette-grey-800")),O(v.Button,"inheritContainedHoverBg",T("palette-grey-700")),O(v.Chip,"defaultBorder",T("palette-grey-700")),O(v.Chip,"defaultAvatarColor",T("palette-grey-300")),O(v.Chip,"defaultIconColor",T("palette-grey-300")),O(v.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),O(v.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),O(v.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),O(v.LinearProgress,"primaryBg",ge(v.primary.main,.5)),O(v.LinearProgress,"secondaryBg",ge(v.secondary.main,.5)),O(v.LinearProgress,"errorBg",ge(v.error.main,.5)),O(v.LinearProgress,"infoBg",ge(v.info.main,.5)),O(v.LinearProgress,"successBg",ge(v.success.main,.5)),O(v.LinearProgress,"warningBg",ge(v.warning.main,.5)),O(v.Skeleton,"bg",`rgba(${T("palette-text-primaryChannel")} / 0.13)`),O(v.Slider,"primaryTrack",ge(v.primary.main,.5)),O(v.Slider,"secondaryTrack",ge(v.secondary.main,.5)),O(v.Slider,"errorTrack",ge(v.error.main,.5)),O(v.Slider,"infoTrack",ge(v.info.main,.5)),O(v.Slider,"successTrack",ge(v.success.main,.5)),O(v.Slider,"warningTrack",ge(v.warning.main,.5));const N=Zs(v.background.default,.98);O(v.SnackbarContent,"bg",N),O(v.SnackbarContent,"color",xn(()=>v.getContrastText(N))),O(v.SpeedDialAction,"fabHoverBg",Zs(v.background.paper,.15)),O(v.StepConnector,"border",T("palette-grey-600")),O(v.StepContent,"border",T("palette-grey-600")),O(v.Switch,"defaultColor",T("palette-grey-300")),O(v.Switch,"defaultDisabledColor",T("palette-grey-600")),O(v.Switch,"primaryDisabledColor",ge(v.primary.main,.55)),O(v.Switch,"secondaryDisabledColor",ge(v.secondary.main,.55)),O(v.Switch,"errorDisabledColor",ge(v.error.main,.55)),O(v.Switch,"infoDisabledColor",ge(v.info.main,.55)),O(v.Switch,"successDisabledColor",ge(v.success.main,.55)),O(v.Switch,"warningDisabledColor",ge(v.warning.main,.55)),O(v.TableCell,"border",ge(Ys(v.divider,1),.68)),O(v.Tooltip,"bg",Ys(v.grey[700],.92))}An(v.background,"default"),An(v.background,"paper"),An(v.common,"background"),An(v.common,"onBackground"),An(v,"divider"),Object.keys(v).forEach(N=>{const L=v[N];L&&typeof L=="object"&&(L.main&&O(v[N],"mainChannel",Ri(Pi(L.main))),L.light&&O(v[N],"lightChannel",Ri(Pi(L.light))),L.dark&&O(v[N],"darkChannel",Ri(Pi(L.dark))),L.contrastText&&O(v[N],"contrastTextChannel",Ri(Pi(L.contrastText))),N==="text"&&(An(v[N],"primary"),An(v[N],"secondary")),N==="action"&&(L.active&&An(v[N],"active"),L.selected&&An(v[N],"selected")))})}),g=t.reduce((M,v)=>mt(M,v),g);const b={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:lb(g)},{vars:R,generateThemeVars:E,generateStyleSheets:P}=ck(g,b);return g.vars=R,Object.entries(g.colorSchemes[g.defaultColorScheme]).forEach(([M,v])=>{g[M]=v}),g.generateThemeVars=E,g.generateStyleSheets=P,g.generateSpacing=function(){return Ov(u.spacing,zl(this))},g.getColorSchemeSelector=dk(a),g.spacing=g.generateSpacing(),g.shouldSkipGeneratingVar=s,g.unstable_sxConfig={...ks,...u==null?void 0:u.unstable_sxConfig},g.unstable_sx=function(v){return Zr({sx:v,theme:this})},g.toRuntimeSource=cb,g}function Uh(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Of({...n===!0?{}:n.palette,mode:t})})}function Es(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=n?void 0:{light:!0},defaultColorScheme:i=n==null?void 0:n.mode,...s}=e,a=i||"light",l=o==null?void 0:o[a],u={...o,...n?{[a]:{...typeof l!="boolean"&&l,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return ed(e,...t);let c=n;"palette"in e||u[a]&&(u[a]!==!0?c=u[a].palette:a==="dark"&&(c={mode:"dark"}));const d=ed({...e,palette:c},...t);return d.defaultColorScheme=a,d.colorSchemes=u,d.palette.mode==="light"&&(d.colorSchemes.light={...u.light!==!0&&u.light,palette:d.palette},Uh(d,"dark",u.dark)),d.palette.mode==="dark"&&(d.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:d.palette},Uh(d,"light",u.light)),d}return!n&&!("light"in u)&&a==="light"&&(u.light=!0),hb({...s,colorSchemes:u,defaultColorScheme:a,...typeof r!="boolean"&&r},...t)}const Xl=Es();function Cr(){const e=bs(Xl);return e[cn]||e}function If({props:e,name:t}){return Hl({props:e,name:t,defaultTheme:Xl,themeId:cn})}function mb(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const kr=e=>mb(e)&&e!=="classes",W=jv({themeId:cn,defaultTheme:Xl,rootShouldForwardProp:kr});function Wh({theme:e,...t}){const n=cn in e?e[cn]:void 0;return k.jsx(Xv,{...t,themeId:n?cn:void 0,theme:n||e})}const qs={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:gb,useColorScheme:VP,getInitColorSchemeScript:GP}=sk({themeId:cn,theme:()=>Es({cssVariables:!0}),colorSchemeStorageKey:qs.colorSchemeStorageKey,modeStorageKey:qs.modeStorageKey,defaultColorScheme:{light:qs.defaultLightColorScheme,dark:qs.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:Zv(e.palette,e.typography)};return t.unstable_sx=function(r){return Zr({sx:r,theme:this})},t}}),vb=gb;function yb({theme:e,...t}){return typeof e=="function"?k.jsx(Wh,{theme:e,...t}):"colorSchemes"in(cn in e?e[cn]:e)?k.jsx(vb,{theme:e,...t}):k.jsx(Wh,{theme:e,...t})}function xb(e){return k.jsx(kC,{...e,defaultTheme:Xl,themeId:cn})}function ey(e){return function(n){return k.jsx(xb,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function Sb(){return Wl}const Hh={theme:void 0};function ae(e){let t,n;return r=>{let o=t;return(o===void 0||r.theme!==n)&&(Hh.theme=r.theme,o=e(Hh),t=o,n=r.theme),o}}function te(e){return ek(e)}function wb(e){return X("MuiSvgIcon",e)}Y("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Cb=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${U(t)}`,`fontSize${U(n)}`]};return Z(o,wb,r)},kb=W("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${U(n.color)}`],t[`fontSize${U(n.fontSize)}`]]}})(ae(({theme:e})=>{var t,n,r,o,i,s,a,l,u,c,d,m,y,x;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:S=>!S.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((s=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:s.call(i,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((l=(a=e.typography)==null?void 0:a.pxToRem)==null?void 0:l.call(a,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((c=(u=e.typography)==null?void 0:u.pxToRem)==null?void 0:c.call(u,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,S])=>S&&S.main).map(([S])=>{var C,p;return{props:{color:S},style:{color:(p=(C=(e.vars??e).palette)==null?void 0:C[S])==null?void 0:p.main}}}),{props:{color:"action"},style:{color:(m=(d=(e.vars??e).palette)==null?void 0:d.action)==null?void 0:m.active}},{props:{color:"disabled"},style:{color:(x=(y=(e.vars??e).palette)==null?void 0:y.action)==null?void 0:x.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),tl=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:s="inherit",component:a="svg",fontSize:l="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:d,viewBox:m="0 0 24 24",...y}=r,x=w.isValidElement(o)&&o.type==="svg",S={...r,color:s,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:m,hasSvgAsChild:x},C={};c||(C.viewBox=m);const p=Cb(S);return k.jsxs(kb,{as:a,className:H(p.root,i),focusable:"false",color:u,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n,...C,...y,...x&&o.props,ownerState:S,children:[x?o.props.children:o,d?k.jsx("title",{children:d}):null]})});tl&&(tl.muiName="SvgIcon");function tt(e,t){function n(r,o){return k.jsx(tl,{"data-testid":`${t}Icon`,ref:o,...r,children:e})}return n.muiName=tl.muiName,w.memo(w.forwardRef(n))}var he={};/**
* @license React
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Af=Symbol.for("react.element"),jf=Symbol.for("react.portal"),Yl=Symbol.for("react.fragment"),Zl=Symbol.for("react.strict_mode"),ql=Symbol.for("react.profiler"),Jl=Symbol.for("react.provider"),eu=Symbol.for("react.context"),bb=Symbol.for("react.server_context"),tu=Symbol.for("react.forward_ref"),nu=Symbol.for("react.suspense"),ru=Symbol.for("react.suspense_list"),ou=Symbol.for("react.memo"),iu=Symbol.for("react.lazy"),Eb=Symbol.for("react.offscreen"),ty;ty=Symbol.for("react.module.reference");function qt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Af:switch(e=e.type,e){case Yl:case ql:case Zl:case nu:case ru:return e;default:switch(e=e&&e.$$typeof,e){case bb:case eu:case tu:case iu:case ou:case Jl:return e;default:return t}}case jf:return t}}}he.ContextConsumer=eu;he.ContextProvider=Jl;he.Element=Af;he.ForwardRef=tu;he.Fragment=Yl;he.Lazy=iu;he.Memo=ou;he.Portal=jf;he.Profiler=ql;he.StrictMode=Zl;he.Suspense=nu;he.SuspenseList=ru;he.isAsyncMode=function(){return!1};he.isConcurrentMode=function(){return!1};he.isContextConsumer=function(e){return qt(e)===eu};he.isContextProvider=function(e){return qt(e)===Jl};he.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Af};he.isForwardRef=function(e){return qt(e)===tu};he.isFragment=function(e){return qt(e)===Yl};he.isLazy=function(e){return qt(e)===iu};he.isMemo=function(e){return qt(e)===ou};he.isPortal=function(e){return qt(e)===jf};he.isProfiler=function(e){return qt(e)===ql};he.isStrictMode=function(e){return qt(e)===Zl};he.isSuspense=function(e){return qt(e)===nu};he.isSuspenseList=function(e){return qt(e)===ru};he.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Yl||e===ql||e===Zl||e===nu||e===ru||e===Eb||typeof e=="object"&&e!==null&&(e.$$typeof===iu||e.$$typeof===ou||e.$$typeof===Jl||e.$$typeof===eu||e.$$typeof===tu||e.$$typeof===ty||e.getModuleId!==void 0)};he.typeOf=qt;function ny(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 nd(e,t){return nd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},nd(e,t)}function ry(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,nd(e,t)}const Vh={disabled:!1},nl=Ut.createContext(null);var Rb=function(t){return t.scrollTop},Ti="unmounted",Tr="exited",$r="entering",lo="entered",rd="exiting",hn=function(e){ry(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var s=o,a=s&&!s.isMounting?r.enter:r.appear,l;return i.appearStatus=null,r.in?a?(l=Tr,i.appearStatus=$r):l=lo:r.unmountOnExit||r.mountOnEnter?l=Ti:l=Tr,i.state={status:l},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var s=o.in;return s&&i.status===Ti?{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 s=this.state.status;this.props.in?s!==$r&&s!==lo&&(i=$r):(s===$r||s===lo)&&(i=rd)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,s,a;return i=s=a=o,o!=null&&typeof o!="number"&&(i=o.exit,s=o.enter,a=o.appear!==void 0?o.appear:s),{exit:i,enter:s,appear:a}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===$r){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:Gs.findDOMNode(this);s&&Rb(s)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Tr&&this.setState({status:Ti})},n.performEnter=function(o){var i=this,s=this.props.enter,a=this.context?this.context.isMounting:o,l=this.props.nodeRef?[a]:[Gs.findDOMNode(this),a],u=l[0],c=l[1],d=this.getTimeouts(),m=a?d.appear:d.enter;if(!o&&!s||Vh.disabled){this.safeSetState({status:lo},function(){i.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:$r},function(){i.props.onEntering(u,c),i.onTransitionEnd(m,function(){i.safeSetState({status:lo},function(){i.props.onEntered(u,c)})})})},n.performExit=function(){var o=this,i=this.props.exit,s=this.getTimeouts(),a=this.props.nodeRef?void 0:Gs.findDOMNode(this);if(!i||Vh.disabled){this.safeSetState({status:Tr},function(){o.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:rd},function(){o.props.onExiting(a),o.onTransitionEnd(s.exit,function(){o.safeSetState({status:Tr},function(){o.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},n.setNextCallback=function(o){var i=this,s=!0;return this.nextCallback=function(a){s&&(s=!1,i.nextCallback=null,o(a))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(o,i){this.setNextCallback(i);var s=this.props.nodeRef?this.props.nodeRef.current:Gs.findDOMNode(this),a=o==null&&!this.props.addEndListener;if(!s||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],u=l[0],c=l[1];this.props.addEndListener(u,c)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===Ti)return null;var i=this.props,s=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var a=ny(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Ut.createElement(nl.Provider,{value:null},typeof s=="function"?s(o,a):Ut.cloneElement(Ut.Children.only(s),a))},t}(Ut.Component);hn.contextType=nl;hn.propTypes={};function so(){}hn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:so,onEntering:so,onEntered:so,onExit:so,onExiting:so,onExited:so};hn.UNMOUNTED=Ti;hn.EXITED=Tr;hn.ENTERING=$r;hn.ENTERED=lo;hn.EXITING=rd;function Pb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lf(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 Tb(e,t){e=e||{},t=t||{};function n(c){return c in t?t[c]:e[c]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var s,a={};for(var l in t){if(r[l])for(s=0;se.scrollTop;function Ho(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 Ab(e){return X("MuiPaper",e)}Y("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 jb=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Z(i,Ab,o)},Lb=W("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}`]]}})(ae(({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)"}}]}))),ii=w.forwardRef(function(t,n){var y;const r=te({props:t,name:"MuiPaper"}),o=Cr(),{className:i,component:s="div",elevation:a=1,square:l=!1,variant:u="elevation",...c}=r,d={...r,component:s,elevation:a,square:l,variant:u},m=jb(d);return k.jsx(Lb,{as:s,ownerState:d,className:H(m.root,i),ref:n,...c,style:{...u==="elevation"&&{"--Paper-shadow":(o.vars||o).shadows[a],...o.vars&&{"--Paper-overlay":(y=o.vars.overlays)==null?void 0:y[a]},...!o.vars&&o.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${oe("#fff",td(a))}, ${oe("#fff",td(a))})`}},...c.style}})});function Gn(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,getSlotOwnerState:s,internalForwardedProps:a,...l}=t,{component:u,slots:c={[e]:void 0},slotProps:d={[e]:void 0},...m}=i,y=c[e]||r,x=Vv(d[e],o),{props:{component:S,...C},internalRef:p}=Hv({className:n,...l,externalForwardedProps:e==="root"?m:void 0,externalSlotProps:x}),h=He(p,x==null?void 0:x.ref,t.ref),f=s?s(C):{},g={...o,...f},b=e==="root"?S||u:S,R=ko(y,{...e==="root"&&!u&&!c[e]&&a,...e!=="root"&&!c[e]&&a,...C,...b&&{as:b},ref:h},g);return Object.keys(f).forEach(E=>{delete R[E]}),[y,R]}class rl{constructor(){ai(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 rl}static use(){const t=Uv(rl.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=zb(),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 Nb(){return rl.use()}function zb(){let e,t;const n=new Promise((r,o)=>{e=r,t=o});return n.resolve=e,n.reject=t,n}function Bb(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:s,in:a,onExited:l,timeout:u}=e,[c,d]=w.useState(!1),m=H(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),y={width:s,height:s,top:-(s/2)+i,left:-(s/2)+o},x=H(n.child,c&&n.childLeaving,r&&n.childPulsate);return!a&&!c&&d(!0),w.useEffect(()=>{if(!a&&l!=null){const S=setTimeout(l,u);return()=>{clearTimeout(S)}}},[l,a,u]),k.jsx("span",{className:m,style:y,children:k.jsx("span",{className:x})})}const Bt=Y("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),od=550,_b=80,Db=Sf`
0% {
transform: scale(0);
opacity: 0.1;
}
100% {
transform: scale(1);
opacity: 0.3;
}
`,Fb=Sf`
0% {
opacity: 1;
}
100% {
opacity: 0;
}
`,Ub=Sf`
0% {
transform: scale(1);
}
50% {
transform: scale(0.92);
}
100% {
transform: scale(1);
}
`,Wb=W("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Hb=W(Bb,{name:"MuiTouchRipple",slot:"Ripple"})`
opacity: 0;
position: absolute;
&.${Bt.rippleVisible} {
opacity: 0.3;
transform: scale(1);
animation-name: ${Db};
animation-duration: ${od}ms;
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
}
&.${Bt.ripplePulsate} {
animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
}
& .${Bt.child} {
opacity: 1;
display: block;
width: 100%;
height: 100%;
border-radius: 50%;
background-color: currentColor;
}
& .${Bt.childLeaving} {
opacity: 0;
animation-name: ${Fb};
animation-duration: ${od}ms;
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
}
& .${Bt.childPulsate} {
position: absolute;
/* @noflip */
left: 0px;
top: 0;
animation-name: ${Ub};
animation-duration: 2500ms;
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
animation-iteration-count: infinite;
animation-delay: 200ms;
}
`,Vb=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:s,...a}=r,[l,u]=w.useState([]),c=w.useRef(0),d=w.useRef(null);w.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const m=w.useRef(!1),y=Ar(),x=w.useRef(null),S=w.useRef(null),C=w.useCallback(g=>{const{pulsate:b,rippleX:R,rippleY:E,rippleSize:P,cb:M}=g;u(v=>[...v,k.jsx(Hb,{classes:{ripple:H(i.ripple,Bt.ripple),rippleVisible:H(i.rippleVisible,Bt.rippleVisible),ripplePulsate:H(i.ripplePulsate,Bt.ripplePulsate),child:H(i.child,Bt.child),childLeaving:H(i.childLeaving,Bt.childLeaving),childPulsate:H(i.childPulsate,Bt.childPulsate)},timeout:od,pulsate:b,rippleX:R,rippleY:E,rippleSize:P},c.current)]),c.current+=1,d.current=M},[i]),p=w.useCallback((g={},b={},R=()=>{})=>{const{pulsate:E=!1,center:P=o||b.pulsate,fakeElement:M=!1}=b;if((g==null?void 0:g.type)==="mousedown"&&m.current){m.current=!1;return}(g==null?void 0:g.type)==="touchstart"&&(m.current=!0);const v=M?null:S.current,T=v?v.getBoundingClientRect():{width:0,height:0,left:0,top:0};let N,L,D;if(P||g===void 0||g.clientX===0&&g.clientY===0||!g.clientX&&!g.touches)N=Math.round(T.width/2),L=Math.round(T.height/2);else{const{clientX:I,clientY:A}=g.touches&&g.touches.length>0?g.touches[0]:g;N=Math.round(I-T.left),L=Math.round(A-T.top)}if(P)D=Math.sqrt((2*T.width**2+T.height**2)/3),D%2===0&&(D+=1);else{const I=Math.max(Math.abs((v?v.clientWidth:0)-N),N)*2+2,A=Math.max(Math.abs((v?v.clientHeight:0)-L),L)*2+2;D=Math.sqrt(I**2+A**2)}g!=null&&g.touches?x.current===null&&(x.current=()=>{C({pulsate:E,rippleX:N,rippleY:L,rippleSize:D,cb:R})},y.start(_b,()=>{x.current&&(x.current(),x.current=null)})):C({pulsate:E,rippleX:N,rippleY:L,rippleSize:D,cb:R})},[o,C,y]),h=w.useCallback(()=>{p({},{pulsate:!0})},[p]),f=w.useCallback((g,b)=>{if(y.clear(),(g==null?void 0:g.type)==="touchend"&&x.current){x.current(),x.current=null,y.start(0,()=>{f(g,b)});return}x.current=null,u(R=>R.length>0?R.slice(1):R),d.current=b},[y]);return w.useImperativeHandle(n,()=>({pulsate:h,start:p,stop:f}),[h,p,f]),k.jsx(Wb,{className:H(Bt.root,i.root,s),ref:S,...a,children:k.jsx(Nf,{component:null,exit:!0,children:l})})});function Gb(e){return X("MuiButtonBase",e)}const Kb=Y("MuiButtonBase",["root","disabled","focusVisible"]),Qb=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,s=Z({root:["root",t&&"disabled",n&&"focusVisible"]},Gb,o);return n&&r&&(s.root+=` ${r}`),s},Xb=W("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"},[`&.${Kb.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Rs=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:s,className:a,component:l="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:d=!1,focusRipple:m=!1,focusVisibleClassName:y,LinkComponent:x="a",onBlur:S,onClick:C,onContextMenu:p,onDragLeave:h,onFocus:f,onFocusVisible:g,onKeyDown:b,onKeyUp:R,onMouseDown:E,onMouseLeave:P,onMouseUp:M,onTouchEnd:v,onTouchMove:T,onTouchStart:N,tabIndex:L=0,TouchRippleProps:D,touchRippleRef:I,type:A,..._}=r,$=w.useRef(null),j=Nb(),B=He(j.ref,I),[V,K]=w.useState(!1);u&&V&&K(!1),w.useImperativeHandle(o,()=>({focusVisible:()=>{K(!0),$.current.focus()}}),[]);const me=j.shouldMount&&!c&&!u;w.useEffect(()=>{V&&m&&!c&&j.pulsate()},[c,m,V,j]);function Q(G,Jt,In=d){return an(gn=>(Jt&&Jt(gn),In||j[G](gn),!0))}const ce=Q("start",E),ye=Q("stop",p),Me=Q("stop",h),Le=Q("stop",M),ut=Q("stop",G=>{V&&G.preventDefault(),P&&P(G)}),ne=Q("start",N),de=Q("stop",v),q=Q("stop",T),_e=Q("stop",G=>{Wo(G.target)||K(!1),S&&S(G)},!1),fe=an(G=>{$.current||($.current=G.currentTarget),Wo(G.target)&&(K(!0),g&&g(G)),f&&f(G)}),De=()=>{const G=$.current;return l&&l!=="button"&&!(G.tagName==="A"&&G.href)},zt=an(G=>{m&&!G.repeat&&V&&G.key===" "&&j.stop(G,()=>{j.start(G)}),G.target===G.currentTarget&&De()&&G.key===" "&&G.preventDefault(),b&&b(G),G.target===G.currentTarget&&De()&&G.key==="Enter"&&!u&&(G.preventDefault(),C&&C(G))}),be=an(G=>{m&&G.key===" "&&V&&!G.defaultPrevented&&j.stop(G,()=>{j.pulsate(G)}),R&&R(G),C&&G.target===G.currentTarget&&De()&&G.key===" "&&!G.defaultPrevented&&C(G)});let Fe=l;Fe==="button"&&(_.href||_.to)&&(Fe=x);const nt={};Fe==="button"?(nt.type=A===void 0?"button":A,nt.disabled=u):(!_.href&&!_.to&&(nt.role="button"),u&&(nt["aria-disabled"]=u));const Ke=He(n,$),Se={...r,centerRipple:i,component:l,disabled:u,disableRipple:c,disableTouchRipple:d,focusRipple:m,tabIndex:L,focusVisible:V},mn=Qb(Se);return k.jsxs(Xb,{as:Fe,className:H(mn.root,a),ownerState:Se,onBlur:_e,onClick:C,onContextMenu:ye,onFocus:fe,onKeyDown:zt,onKeyUp:be,onMouseDown:ce,onMouseLeave:ut,onMouseUp:Le,onDragLeave:Me,onTouchEnd:de,onTouchMove:q,onTouchStart:ne,ref:Ke,tabIndex:u?-1:L,type:A,...nt,..._,children:[s,me?k.jsx(Vb,{ref:B,center:i,...D}):null]})});function Yb(e){return typeof e.main=="string"}function Zb(e,t=[]){if(!Yb(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function Vt(e=[]){return([,t])=>t&&Zb(t,e)}function qb(e){return X("MuiAlert",e)}const Gh=Y("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function Jb(e){return X("MuiIconButton",e)}const eE=Y("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),tE=e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,s={root:["root",n&&"disabled",r!=="default"&&`color${U(r)}`,o&&`edge${U(o)}`,`size${U(i)}`]};return Z(s,Jb,t)},nE=W(Rs,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${U(n.color)}`],n.edge&&t[`edge${U(n.edge)}`],t[`size${U(n.size)}`]]}})(ae(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:{disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:oe(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),ae(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(Vt()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Vt()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:oe((e.vars||e).palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${eE.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}}))),wa=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:s,color:a="default",disabled:l=!1,disableFocusRipple:u=!1,disableRipple:c=!1,size:d="medium",...m}=r,y={...r,edge:o,color:a,disabled:l,disableFocusRipple:u,disableRipple:c,size:d},x=tE(y);return k.jsx(nE,{className:H(x.root,s),centerRipple:!0,focusRipple:!u,disabled:l,disableRipple:c,ref:n,...m,ownerState:y,children:i})}),rE=tt(k.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),oE=tt(k.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),iE=tt(k.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),sE=tt(k.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),aE=tt(k.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),lE=e=>{const{variant:t,color:n,severity:r,classes:o}=e,i={root:["root",`color${U(n||r)}`,`${t}${U(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return Z(i,qb,o)},uE=W(ii,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${U(n.color||n.severity)}`]]}})(ae(({theme:e})=>{const t=e.palette.mode==="light"?Vr:Gr,n=e.palette.mode==="light"?Gr:Vr;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(Vt(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${Gh.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(Vt(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),border:`1px solid ${(e.vars||e).palette[r].light}`,[`& .${Gh.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(Vt(["dark"])).map(([r])=>({props:{colorSeverity:r,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${r}FilledColor`],backgroundColor:e.vars.palette.Alert[`${r}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[r].dark:e.palette[r].main,color:e.palette.getContrastText(e.palette[r].main)}}}))]}})),cE=W("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),dE=W("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),Kh=W("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Qh={success:k.jsx(rE,{fontSize:"inherit"}),warning:k.jsx(oE,{fontSize:"inherit"}),error:k.jsx(iE,{fontSize:"inherit"}),info:k.jsx(sE,{fontSize:"inherit"})},fE=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiAlert"}),{action:o,children:i,className:s,closeText:a="Close",color:l,components:u={},componentsProps:c={},icon:d,iconMapping:m=Qh,onClose:y,role:x="alert",severity:S="success",slotProps:C={},slots:p={},variant:h="standard",...f}=r,g={...r,color:l,severity:S,variant:h,colorSeverity:l||S},b=lE(g),R={slots:{closeButton:u.CloseButton,closeIcon:u.CloseIcon,...p},slotProps:{...c,...C}},[E,P]=Gn("closeButton",{elementType:wa,externalForwardedProps:R,ownerState:g}),[M,v]=Gn("closeIcon",{elementType:aE,externalForwardedProps:R,ownerState:g});return k.jsxs(uE,{role:x,elevation:0,ownerState:g,className:H(b.root,s),ref:n,...f,children:[d!==!1?k.jsx(cE,{ownerState:g,className:b.icon,children:d||m[S]||Qh[S]}):null,k.jsx(dE,{ownerState:g,className:b.message,children:i}),o!=null?k.jsx(Kh,{ownerState:g,className:b.action,children:o}):null,o==null&&y?k.jsx(Kh,{ownerState:g,className:b.action,children:k.jsx(E,{size:"small","aria-label":a,title:a,color:"inherit",onClick:y,...P,children:k.jsx(M,{fontSize:"small",...v})})}):null]})});function pE(e){return X("MuiTypography",e)}const Xh=Y("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),hE={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},mE=Sb(),gE=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:s}=e,a={root:["root",i,e.align!=="inherit"&&`align${U(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return Z(a,pE,s)},vE=W("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${U(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(ae(({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(Vt()).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${U(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}}]}})),Yh={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},pt=w.forwardRef(function(t,n){const{color:r,...o}=te({props:t,name:"MuiTypography"}),i=!hE[r],s=mE({...o,...i&&{color:r}}),{align:a="inherit",className:l,component:u,gutterBottom:c=!1,noWrap:d=!1,paragraph:m=!1,variant:y="body1",variantMapping:x=Yh,...S}=s,C={...s,align:a,color:r,className:l,component:u,gutterBottom:c,noWrap:d,paragraph:m,variant:y,variantMapping:x},p=u||(m?"p":x[y]||Yh[y])||"span",h=gE(C);return k.jsx(vE,{as:p,ref:n,className:H(h.root,l),...S,ownerState:C,style:{...a!=="inherit"&&{"--Typography-textAlign":a},...S.style}})});function yE(e){return X("MuiAppBar",e)}Y("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const xE=e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${U(t)}`,`position${U(n)}`]};return Z(o,yE,r)},Zh=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,SE=W(ii,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${U(n.position)}`],t[`color${U(n.color)}`]]}})(ae(({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(Vt(["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?Zh(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?Zh(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"})}}]}))),wE=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiAppBar"}),{className:o,color:i="primary",enableColorOnDark:s=!1,position:a="fixed",...l}=r,u={...r,color:i,position:a,enableColorOnDark:s},c=xE(u);return k.jsx(SE,{square:!0,component:"header",ownerState:u,elevation:4,className:H(c.root,o,a==="fixed"&&"mui-fixed"),ref:n,...l})});var bt="top",Xt="bottom",Yt="right",Et="left",Bf="auto",Ps=[bt,Xt,Yt,Et],Vo="start",ps="end",CE="clippingParents",oy="viewport",yi="popper",kE="reference",qh=Ps.reduce(function(e,t){return e.concat([t+"-"+Vo,t+"-"+ps])},[]),iy=[].concat(Ps,[Bf]).reduce(function(e,t){return e.concat([t,t+"-"+Vo,t+"-"+ps])},[]),bE="beforeRead",EE="read",RE="afterRead",PE="beforeMain",TE="main",$E="afterMain",ME="beforeWrite",OE="write",IE="afterWrite",AE=[bE,EE,RE,PE,TE,$E,ME,OE,IE];function On(e){return e?(e.nodeName||"").toLowerCase():null}function At(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Kr(e){var t=At(e).Element;return e instanceof t||e instanceof Element}function Gt(e){var t=At(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function _f(e){if(typeof ShadowRoot>"u")return!1;var t=At(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function jE(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},i=t.elements[n];!Gt(i)||!On(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(s){var a=o[s];a===!1?i.removeAttribute(s):i.setAttribute(s,a===!0?"":a)}))})}function LE(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],i=t.attributes[r]||{},s=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=s.reduce(function(l,u){return l[u]="",l},{});!Gt(o)||!On(o)||(Object.assign(o.style,a),Object.keys(i).forEach(function(l){o.removeAttribute(l)}))})}}const NE={name:"applyStyles",enabled:!0,phase:"write",fn:jE,effect:LE,requires:["computeStyles"]};function Mn(e){return e.split("-")[0]}var zr=Math.max,ol=Math.min,Go=Math.round;function id(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function sy(){return!/^((?!chrome|android).)*safari/i.test(id())}function Ko(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&Gt(e)&&(o=e.offsetWidth>0&&Go(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Go(r.height)/e.offsetHeight||1);var s=Kr(e)?At(e):window,a=s.visualViewport,l=!sy()&&n,u=(r.left+(l&&a?a.offsetLeft:0))/o,c=(r.top+(l&&a?a.offsetTop:0))/i,d=r.width/o,m=r.height/i;return{width:d,height:m,top:c,right:u+d,bottom:c+m,left:u,x:u,y:c}}function Df(e){var t=Ko(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function ay(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&_f(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Kn(e){return At(e).getComputedStyle(e)}function zE(e){return["table","td","th"].indexOf(On(e))>=0}function br(e){return((Kr(e)?e.ownerDocument:e.document)||window.document).documentElement}function su(e){return On(e)==="html"?e:e.assignedSlot||e.parentNode||(_f(e)?e.host:null)||br(e)}function Jh(e){return!Gt(e)||Kn(e).position==="fixed"?null:e.offsetParent}function BE(e){var t=/firefox/i.test(id()),n=/Trident/i.test(id());if(n&&Gt(e)){var r=Kn(e);if(r.position==="fixed")return null}var o=su(e);for(_f(o)&&(o=o.host);Gt(o)&&["html","body"].indexOf(On(o))<0;){var i=Kn(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Ts(e){for(var t=At(e),n=Jh(e);n&&zE(n)&&Kn(n).position==="static";)n=Jh(n);return n&&(On(n)==="html"||On(n)==="body"&&Kn(n).position==="static")?t:n||BE(e)||t}function Ff(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function _i(e,t,n){return zr(e,ol(t,n))}function _E(e,t,n){var r=_i(e,t,n);return r>n?n:r}function ly(){return{top:0,right:0,bottom:0,left:0}}function uy(e){return Object.assign({},ly(),e)}function cy(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var DE=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,uy(typeof t!="number"?t:cy(t,Ps))};function FE(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,s=n.modifiersData.popperOffsets,a=Mn(n.placement),l=Ff(a),u=[Et,Yt].indexOf(a)>=0,c=u?"height":"width";if(!(!i||!s)){var d=DE(o.padding,n),m=Df(i),y=l==="y"?bt:Et,x=l==="y"?Xt:Yt,S=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],C=s[l]-n.rects.reference[l],p=Ts(i),h=p?l==="y"?p.clientHeight||0:p.clientWidth||0:0,f=S/2-C/2,g=d[y],b=h-m[c]-d[x],R=h/2-m[c]/2+f,E=_i(g,R,b),P=l;n.modifiersData[r]=(t={},t[P]=E,t.centerOffset=E-R,t)}}function UE(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||ay(t.elements.popper,o)&&(t.elements.arrow=o))}const WE={name:"arrow",enabled:!0,phase:"main",fn:FE,effect:UE,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Qo(e){return e.split("-")[1]}var HE={top:"auto",right:"auto",bottom:"auto",left:"auto"};function VE(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Go(n*o)/o||0,y:Go(r*o)/o||0}}function em(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,m=s.x,y=m===void 0?0:m,x=s.y,S=x===void 0?0:x,C=typeof c=="function"?c({x:y,y:S}):{x:y,y:S};y=C.x,S=C.y;var p=s.hasOwnProperty("x"),h=s.hasOwnProperty("y"),f=Et,g=bt,b=window;if(u){var R=Ts(n),E="clientHeight",P="clientWidth";if(R===At(n)&&(R=br(n),Kn(R).position!=="static"&&a==="absolute"&&(E="scrollHeight",P="scrollWidth")),R=R,o===bt||(o===Et||o===Yt)&&i===ps){g=Xt;var M=d&&R===b&&b.visualViewport?b.visualViewport.height:R[E];S-=M-r.height,S*=l?1:-1}if(o===Et||(o===bt||o===Xt)&&i===ps){f=Yt;var v=d&&R===b&&b.visualViewport?b.visualViewport.width:R[P];y-=v-r.width,y*=l?1:-1}}var T=Object.assign({position:a},u&&HE),N=c===!0?VE({x:y,y:S},At(n)):{x:y,y:S};if(y=N.x,S=N.y,l){var L;return Object.assign({},T,(L={},L[g]=h?"0":"",L[f]=p?"0":"",L.transform=(b.devicePixelRatio||1)<=1?"translate("+y+"px, "+S+"px)":"translate3d("+y+"px, "+S+"px, 0)",L))}return Object.assign({},T,(t={},t[g]=h?S+"px":"",t[f]=p?y+"px":"",t.transform="",t))}function GE(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,s=i===void 0?!0:i,a=n.roundOffsets,l=a===void 0?!0:a,u={placement:Mn(t.placement),variation:Qo(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,em(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,em(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const KE={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:GE,data:{}};var Js={passive:!0};function QE(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=o===void 0?!0:o,s=r.resize,a=s===void 0?!0:s,l=At(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(c){c.addEventListener("scroll",n.update,Js)}),a&&l.addEventListener("resize",n.update,Js),function(){i&&u.forEach(function(c){c.removeEventListener("scroll",n.update,Js)}),a&&l.removeEventListener("resize",n.update,Js)}}const XE={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:QE,data:{}};var YE={left:"right",right:"left",bottom:"top",top:"bottom"};function Ca(e){return e.replace(/left|right|bottom|top/g,function(t){return YE[t]})}var ZE={start:"end",end:"start"};function tm(e){return e.replace(/start|end/g,function(t){return ZE[t]})}function Uf(e){var t=At(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Wf(e){return Ko(br(e)).left+Uf(e).scrollLeft}function qE(e,t){var n=At(e),r=br(e),o=n.visualViewport,i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;var u=sy();(u||!u&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a+Wf(e),y:l}}function JE(e){var t,n=br(e),r=Uf(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=zr(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=zr(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-r.scrollLeft+Wf(e),l=-r.scrollTop;return Kn(o||n).direction==="rtl"&&(a+=zr(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:s,x:a,y:l}}function Hf(e){var t=Kn(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function dy(e){return["html","body","#document"].indexOf(On(e))>=0?e.ownerDocument.body:Gt(e)&&Hf(e)?e:dy(su(e))}function Di(e,t){var n;t===void 0&&(t=[]);var r=dy(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=At(r),s=o?[i].concat(i.visualViewport||[],Hf(r)?r:[]):r,a=t.concat(s);return o?a:a.concat(Di(su(s)))}function sd(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function e3(e,t){var n=Ko(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function nm(e,t,n){return t===oy?sd(qE(e,n)):Kr(t)?e3(t,n):sd(JE(br(e)))}function t3(e){var t=Di(su(e)),n=["absolute","fixed"].indexOf(Kn(e).position)>=0,r=n&&Gt(e)?Ts(e):e;return Kr(r)?t.filter(function(o){return Kr(o)&&ay(o,r)&&On(o)!=="body"}):[]}function n3(e,t,n,r){var o=t==="clippingParents"?t3(e):[].concat(t),i=[].concat(o,[n]),s=i[0],a=i.reduce(function(l,u){var c=nm(e,u,r);return l.top=zr(c.top,l.top),l.right=ol(c.right,l.right),l.bottom=ol(c.bottom,l.bottom),l.left=zr(c.left,l.left),l},nm(e,s,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function fy(e){var t=e.reference,n=e.element,r=e.placement,o=r?Mn(r):null,i=r?Qo(r):null,s=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(o){case bt:l={x:s,y:t.y-n.height};break;case Xt:l={x:s,y:t.y+t.height};break;case Yt:l={x:t.x+t.width,y:a};break;case Et:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var u=o?Ff(o):null;if(u!=null){var c=u==="y"?"height":"width";switch(i){case Vo:l[u]=l[u]-(t[c]/2-n[c]/2);break;case ps:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function hs(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,i=n.strategy,s=i===void 0?e.strategy:i,a=n.boundary,l=a===void 0?CE:a,u=n.rootBoundary,c=u===void 0?oy:u,d=n.elementContext,m=d===void 0?yi:d,y=n.altBoundary,x=y===void 0?!1:y,S=n.padding,C=S===void 0?0:S,p=uy(typeof C!="number"?C:cy(C,Ps)),h=m===yi?kE:yi,f=e.rects.popper,g=e.elements[x?h:m],b=n3(Kr(g)?g:g.contextElement||br(e.elements.popper),l,c,s),R=Ko(e.elements.reference),E=fy({reference:R,element:f,strategy:"absolute",placement:o}),P=sd(Object.assign({},f,E)),M=m===yi?P:R,v={top:b.top-M.top+p.top,bottom:M.bottom-b.bottom+p.bottom,left:b.left-M.left+p.left,right:M.right-b.right+p.right},T=e.modifiersData.offset;if(m===yi&&T){var N=T[o];Object.keys(v).forEach(function(L){var D=[Yt,Xt].indexOf(L)>=0?1:-1,I=[bt,Xt].indexOf(L)>=0?"y":"x";v[L]+=N[I]*D})}return v}function r3(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?iy:l,c=Qo(r),d=c?a?qh:qh.filter(function(x){return Qo(x)===c}):Ps,m=d.filter(function(x){return u.indexOf(x)>=0});m.length===0&&(m=d);var y=m.reduce(function(x,S){return x[S]=hs(e,{placement:S,boundary:o,rootBoundary:i,padding:s})[Mn(S)],x},{});return Object.keys(y).sort(function(x,S){return y[x]-y[S]})}function o3(e){if(Mn(e)===Bf)return[];var t=Ca(e);return[tm(e),t,tm(t)]}function i3(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,s=n.altAxis,a=s===void 0?!0:s,l=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,m=n.altBoundary,y=n.flipVariations,x=y===void 0?!0:y,S=n.allowedAutoPlacements,C=t.options.placement,p=Mn(C),h=p===C,f=l||(h||!x?[Ca(C)]:o3(C)),g=[C].concat(f).reduce(function(Q,ce){return Q.concat(Mn(ce)===Bf?r3(t,{placement:ce,boundary:c,rootBoundary:d,padding:u,flipVariations:x,allowedAutoPlacements:S}):ce)},[]),b=t.rects.reference,R=t.rects.popper,E=new Map,P=!0,M=g[0],v=0;v=0,I=D?"width":"height",A=hs(t,{placement:T,boundary:c,rootBoundary:d,altBoundary:m,padding:u}),_=D?L?Yt:Et:L?Xt:bt;b[I]>R[I]&&(_=Ca(_));var $=Ca(_),j=[];if(i&&j.push(A[N]<=0),a&&j.push(A[_]<=0,A[$]<=0),j.every(function(Q){return Q})){M=T,P=!1;break}E.set(T,j)}if(P)for(var B=x?3:1,V=function(ce){var ye=g.find(function(Me){var Le=E.get(Me);if(Le)return Le.slice(0,ce).every(function(ut){return ut})});if(ye)return M=ye,"break"},K=B;K>0;K--){var me=V(K);if(me==="break")break}t.placement!==M&&(t.modifiersData[r]._skip=!0,t.placement=M,t.reset=!0)}}const s3={name:"flip",enabled:!0,phase:"main",fn:i3,requiresIfExists:["offset"],data:{_skip:!1}};function rm(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function om(e){return[bt,Yt,Xt,Et].some(function(t){return e[t]>=0})}function a3(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,s=hs(t,{elementContext:"reference"}),a=hs(t,{altBoundary:!0}),l=rm(s,r),u=rm(a,o,i),c=om(l),d=om(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}const l3={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:a3};function u3(e,t,n){var r=Mn(e),o=[Et,bt].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=i[0],a=i[1];return s=s||0,a=(a||0)*o,[Et,Yt].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}function c3(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=o===void 0?[0,0]:o,s=iy.reduce(function(c,d){return c[d]=u3(d,t.rects,i),c},{}),a=s[t.placement],l=a.x,u=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=s}const d3={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:c3};function f3(e){var t=e.state,n=e.name;t.modifiersData[n]=fy({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const p3={name:"popperOffsets",enabled:!0,phase:"read",fn:f3,data:{}};function h3(e){return e==="x"?"y":"x"}function m3(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=o===void 0?!0:o,s=n.altAxis,a=s===void 0?!1:s,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,m=n.tether,y=m===void 0?!0:m,x=n.tetherOffset,S=x===void 0?0:x,C=hs(t,{boundary:l,rootBoundary:u,padding:d,altBoundary:c}),p=Mn(t.placement),h=Qo(t.placement),f=!h,g=Ff(p),b=h3(g),R=t.modifiersData.popperOffsets,E=t.rects.reference,P=t.rects.popper,M=typeof S=="function"?S(Object.assign({},t.rects,{placement:t.placement})):S,v=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,N={x:0,y:0};if(R){if(i){var L,D=g==="y"?bt:Et,I=g==="y"?Xt:Yt,A=g==="y"?"height":"width",_=R[g],$=_+C[D],j=_-C[I],B=y?-P[A]/2:0,V=h===Vo?E[A]:P[A],K=h===Vo?-P[A]:-E[A],me=t.elements.arrow,Q=y&&me?Df(me):{width:0,height:0},ce=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ly(),ye=ce[D],Me=ce[I],Le=_i(0,E[A],Q[A]),ut=f?E[A]/2-B-Le-ye-v.mainAxis:V-Le-ye-v.mainAxis,ne=f?-E[A]/2+B+Le+Me+v.mainAxis:K+Le+Me+v.mainAxis,de=t.elements.arrow&&Ts(t.elements.arrow),q=de?g==="y"?de.clientTop||0:de.clientLeft||0:0,_e=(L=T==null?void 0:T[g])!=null?L:0,fe=_+ut-_e-q,De=_+ne-_e,zt=_i(y?ol($,fe):$,_,y?zr(j,De):j);R[g]=zt,N[g]=zt-_}if(a){var be,Fe=g==="x"?bt:Et,nt=g==="x"?Xt:Yt,Ke=R[b],Se=b==="y"?"height":"width",mn=Ke+C[Fe],G=Ke-C[nt],Jt=[bt,Et].indexOf(p)!==-1,In=(be=T==null?void 0:T[b])!=null?be:0,gn=Jt?mn:Ke-E[Se]-P[Se]-In+v.altAxis,pe=Jt?Ke+E[Se]+P[Se]-In-v.altAxis:G,we=y&&Jt?_E(gn,Ke,pe):_i(y?gn:mn,Ke,y?pe:G);R[b]=we,N[b]=we-Ke}t.modifiersData[r]=N}}const g3={name:"preventOverflow",enabled:!0,phase:"main",fn:m3,requiresIfExists:["offset"]};function v3(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function y3(e){return e===At(e)||!Gt(e)?Uf(e):v3(e)}function x3(e){var t=e.getBoundingClientRect(),n=Go(t.width)/e.offsetWidth||1,r=Go(t.height)/e.offsetHeight||1;return n!==1||r!==1}function S3(e,t,n){n===void 0&&(n=!1);var r=Gt(t),o=Gt(t)&&x3(t),i=br(t),s=Ko(e,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((On(t)!=="body"||Hf(i))&&(a=y3(t)),Gt(t)?(l=Ko(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=Wf(i))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function w3(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function o(i){n.add(i.name);var s=[].concat(i.requires||[],i.requiresIfExists||[]);s.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&o(l)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||o(i)}),r}function C3(e){var t=w3(e);return AE.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function k3(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function b3(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var im={placement:"bottom",modifiers:[],strategy:"absolute"};function sm(){for(var e=arguments.length,t=new Array(e),n=0;n{i||a(T3(o)||document.body)},[o,i]),Wn(()=>{if(s&&!i)return Jc(n,s),()=>{Jc(n,null)}},[n,s,i]),i){if(w.isValidElement(r)){const u={ref:l};return w.cloneElement(r,u)}return k.jsx(w.Fragment,{children:r})}return k.jsx(w.Fragment,{children:s&&af.createPortal(r,s)})});function $3(e){return X("MuiPopper",e)}Y("MuiPopper",["root"]);function M3(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function ad(e){return typeof e=="function"?e():e}function O3(e){return e.nodeType!==void 0}const I3=e=>{const{classes:t}=e;return Z({root:["root"]},$3,t)},A3={},j3=w.forwardRef(function(t,n){const{anchorEl:r,children:o,direction:i,disablePortal:s,modifiers:a,open:l,placement:u,popperOptions:c,popperRef:d,slotProps:m={},slots:y={},TransitionProps:x,ownerState:S,...C}=t,p=w.useRef(null),h=He(p,n),f=w.useRef(null),g=He(f,d),b=w.useRef(g);Wn(()=>{b.current=g},[g]),w.useImperativeHandle(d,()=>f.current,[]);const R=M3(u,i),[E,P]=w.useState(R),[M,v]=w.useState(ad(r));w.useEffect(()=>{f.current&&f.current.forceUpdate()}),w.useEffect(()=>{r&&v(ad(r))},[r]),Wn(()=>{if(!M||!l)return;const I=$=>{P($.placement)};let A=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:$})=>{I($)}}];a!=null&&(A=A.concat(a)),c&&c.modifiers!=null&&(A=A.concat(c.modifiers));const _=P3(M,p.current,{placement:R,...c,modifiers:A});return b.current(_),()=>{_.destroy(),b.current(null)}},[M,s,a,l,c,R]);const T={placement:E};x!==null&&(T.TransitionProps=x);const N=I3(t),L=y.root??"div",D=el({elementType:L,externalSlotProps:m.root,externalForwardedProps:C,additionalProps:{role:"tooltip",ref:h},ownerState:t,className:N.root});return k.jsx(L,{...D,children:typeof o=="function"?o(T):o})}),L3=w.forwardRef(function(t,n){const{anchorEl:r,children:o,container:i,direction:s="ltr",disablePortal:a=!1,keepMounted:l=!1,modifiers:u,open:c,placement:d="bottom",popperOptions:m=A3,popperRef:y,style:x,transition:S=!1,slotProps:C={},slots:p={},...h}=t,[f,g]=w.useState(!0),b=()=>{g(!1)},R=()=>{g(!0)};if(!l&&!c&&(!S||f))return null;let E;if(i)E=i;else if(r){const v=ad(r);E=v&&O3(v)?gt(v).body:gt(null).body}const P=!c&&l&&(!S||f)?"none":void 0,M=S?{in:c,onEnter:b,onExited:R}:void 0;return k.jsx(py,{disablePortal:a,container:E,children:k.jsx(j3,{anchorEl:r,direction:s,disablePortal:a,modifiers:u,ref:n,open:S?!f:c,placement:d,popperOptions:m,popperRef:y,slotProps:C,slots:p,...h,style:{position:"fixed",top:0,left:0,display:P,...x},TransitionProps:M,children:o})})}),N3=W(L3,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),hy=w.forwardRef(function(t,n){const r=Kl(),o=te({props:t,name:"MuiPopper"}),{anchorEl:i,component:s,components:a,componentsProps:l,container:u,disablePortal:c,keepMounted:d,modifiers:m,open:y,placement:x,popperOptions:S,popperRef:C,transition:p,slots:h,slotProps:f,...g}=o,b=(h==null?void 0:h.root)??(a==null?void 0:a.Root),R={anchorEl:i,container:u,disablePortal:c,keepMounted:d,modifiers:m,open:y,placement:x,popperOptions:S,popperRef:C,transition:p,...g};return k.jsx(N3,{as:s,direction:r?"rtl":"ltr",slots:{root:b},slotProps:f??l,...R,ref:n})});function ld(e){return typeof e=="string"}const z3=w.createContext(void 0);function B3(){return w.useContext(z3)}const _3=tt(k.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function D3(e){return X("MuiAvatar",e)}Y("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const F3=e=>{const{classes:t,variant:n,colorDefault:r}=e;return Z({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},D3,t)},U3=W("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(ae(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(e.vars||e).palette.background.default,...e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.grey[400],...e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})}}}]}))),W3=W("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),H3=W(_3,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function V3({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[o,i]=w.useState(!1);return w.useEffect(()=>{if(!n&&!r)return;i(!1);let s=!0;const a=new Image;return a.onload=()=>{s&&i("loaded")},a.onerror=()=>{s&&i("error")},a.crossOrigin=e,a.referrerPolicy=t,a.src=n,r&&(a.srcset=r),()=>{s=!1}},[e,t,n,r]),o}const G3=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiAvatar"}),{alt:o,children:i,className:s,component:a="div",slots:l={},slotProps:u={},imgProps:c,sizes:d,src:m,srcSet:y,variant:x="circular",...S}=r;let C=null;const p=V3({...c,src:m,srcSet:y}),h=m||y,f=h&&p!=="error",g={...r,colorDefault:!f,component:a,variant:x};delete g.ownerState;const b=F3(g),[R,E]=Gn("img",{className:b.img,elementType:W3,externalForwardedProps:{slots:l,slotProps:{img:{...c,...u.img}}},additionalProps:{alt:o,src:m,srcSet:y,sizes:d},ownerState:g});return f?C=k.jsx(R,{...E}):i||i===0?C=i:h&&o?C=o[0]:C=k.jsx(H3,{ownerState:g,className:b.fallback}),k.jsx(U3,{as:a,className:H(b.root,s),ref:n,...S,ownerState:g,children:C})}),K3={entering:{opacity:1},entered:{opacity:1}},Q3=w.forwardRef(function(t,n){const r=Cr(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:a,easing:l,in:u,onEnter:c,onEntered:d,onEntering:m,onExit:y,onExited:x,onExiting:S,style:C,timeout:p=o,TransitionComponent:h=hn,...f}=t,g=w.useRef(null),b=He(g,qr(a),n),R=D=>I=>{if(D){const A=g.current;I===void 0?D(A):D(A,I)}},E=R(m),P=R((D,I)=>{zf(D);const A=Ho({style:C,timeout:p,easing:l},{mode:"enter"});D.style.webkitTransition=r.transitions.create("opacity",A),D.style.transition=r.transitions.create("opacity",A),c&&c(D,I)}),M=R(d),v=R(S),T=R(D=>{const I=Ho({style:C,timeout:p,easing:l},{mode:"exit"});D.style.webkitTransition=r.transitions.create("opacity",I),D.style.transition=r.transitions.create("opacity",I),y&&y(D)}),N=R(x),L=D=>{i&&i(g.current,D)};return k.jsx(h,{appear:s,in:u,nodeRef:g,onEnter:P,onEntered:M,onEntering:E,onExit:T,onExited:N,onExiting:v,addEndListener:L,timeout:p,...f,children:(D,I)=>w.cloneElement(a,{style:{opacity:0,visibility:D==="exited"&&!u?"hidden":void 0,...K3[D],...C,...a.props.style},ref:b,...I})})});function X3(e){return X("MuiBackdrop",e)}Y("MuiBackdrop",["root","invisible"]);const Y3=e=>{const{ownerState:t,...n}=e;return n},Z3=e=>{const{classes:t,invisible:n}=e;return Z({root:["root",n&&"invisible"]},X3,t)},q3=W("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"}}]}),J3=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiBackdrop"}),{children:o,className:i,component:s="div",invisible:a=!1,open:l,components:u={},componentsProps:c={},slotProps:d={},slots:m={},TransitionComponent:y,transitionDuration:x,...S}=r,C={...r,component:s,invisible:a},p=Z3(C),h={transition:y,root:u.Root,...m},f={...c,...d},g={slots:h,slotProps:f},[b,R]=Gn("root",{elementType:q3,externalForwardedProps:g,className:H(p.root,i),ownerState:C}),[E,P]=Gn("transition",{elementType:Q3,externalForwardedProps:g,ownerState:C}),M=Y3(P);return k.jsx(E,{in:l,timeout:x,...S,...M,children:k.jsx(b,{"aria-hidden":!0,...R,classes:p,ref:n,children:o})})}),e4=Y("MuiBox",["root"]),t4=Es(),bn=RC({themeId:cn,defaultTheme:t4,defaultClassName:e4.root,generateClassName:Iv.generate});function n4(e){return X("MuiButton",e)}const ao=Y("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"]),r4=w.createContext({}),o4=w.createContext(void 0),i4=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:s}=e,a={root:["root",i,`${i}${U(t)}`,`size${U(o)}`,`${i}Size${U(o)}`,`color${U(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${U(o)}`],endIcon:["icon","endIcon",`iconSize${U(o)}`]},l=Z(a,n4,s);return{...s,...l}},my=[{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}}}],s4=W(Rs,{shouldForwardProp:e=>kr(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${U(n.color)}`],t[`size${U(n.size)}`],t[`${n.variant}Size${U(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(ae(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${ao.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${ao.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${ao.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${ao.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(Vt()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(e.vars||e).palette[r].main,"--variant-outlinedColor":(e.vars||e).palette[r].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[r].mainChannel} / 0.5)`:oe(e.palette[r].main,.5),"--variant-containedColor":(e.vars||e).palette[r].contrastText,"--variant-containedBg":(e.vars||e).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[r].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:oe(e.palette[r].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[r].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:oe(e.palette[r].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:oe(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:oe(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${ao.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${ao.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}})),a4=W("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${U(n.size)}`]]}})({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},...my]}),l4=W("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${U(n.size)}`]]}})({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},...my]}),Yn=w.forwardRef(function(t,n){const r=w.useContext(r4),o=w.useContext(o4),i=fs(r,t),s=te({props:i,name:"MuiButton"}),{children:a,color:l="primary",component:u="button",className:c,disabled:d=!1,disableElevation:m=!1,disableFocusRipple:y=!1,endIcon:x,focusVisibleClassName:S,fullWidth:C=!1,size:p="medium",startIcon:h,type:f,variant:g="text",...b}=s,R={...s,color:l,component:u,disabled:d,disableElevation:m,disableFocusRipple:y,fullWidth:C,size:p,type:f,variant:g},E=i4(R),P=h&&k.jsx(a4,{className:E.startIcon,ownerState:R,children:h}),M=x&&k.jsx(l4,{className:E.endIcon,ownerState:R,children:x}),v=o||"";return k.jsxs(s4,{ownerState:R,className:H(r.className,E.root,c,v),component:u,disabled:d,focusRipple:!y,focusVisibleClassName:H(E.focusVisible,S),ref:n,type:f,...b,classes:E,children:[P,a,M]})});function u4(e){return X("PrivateSwitchBase",e)}Y("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const c4=e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,i={root:["root",n&&"checked",r&&"disabled",o&&`edge${U(o)}`],input:["input"]};return Z(i,u4,t)},d4=W(Rs)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),f4=W("input",{shouldForwardProp:kr})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),gy=w.forwardRef(function(t,n){const{autoFocus:r,checked:o,checkedIcon:i,className:s,defaultChecked:a,disabled:l,disableFocusRipple:u=!1,edge:c=!1,icon:d,id:m,inputProps:y,inputRef:x,name:S,onBlur:C,onChange:p,onFocus:h,readOnly:f,required:g=!1,tabIndex:b,type:R,value:E,...P}=t,[M,v]=Fv({controlled:o,default:!!a,name:"SwitchBase",state:"checked"}),T=B3(),N=j=>{h&&h(j),T&&T.onFocus&&T.onFocus(j)},L=j=>{C&&C(j),T&&T.onBlur&&T.onBlur(j)},D=j=>{if(j.nativeEvent.defaultPrevented)return;const B=j.target.checked;v(B),p&&p(j,B)};let I=l;T&&typeof I>"u"&&(I=T.disabled);const A=R==="checkbox"||R==="radio",_={...t,checked:M,disabled:I,disableFocusRipple:u,edge:c},$=c4(_);return k.jsxs(d4,{component:"span",className:H($.root,s),centerRipple:!0,focusRipple:!u,disabled:I,tabIndex:null,role:void 0,onFocus:N,onBlur:L,ownerState:_,ref:n,...P,children:[k.jsx(f4,{autoFocus:r,checked:o,defaultChecked:a,className:$.input,disabled:I,id:A?m:void 0,name:S,onChange:D,readOnly:f,ref:x,required:g,ownerState:_,tabIndex:b,type:R,...R==="checkbox"&&E===void 0?{}:{value:E},...y}),M?i:d]})}),p4=tt(k.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),h4=tt(k.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),m4=tt(k.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function g4(e){return X("MuiCheckbox",e)}const Hu=Y("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),v4=e=>{const{classes:t,indeterminate:n,color:r,size:o}=e,i={root:["root",n&&"indeterminate",`color${U(r)}`,`size${U(o)}`]},s=Z(i,g4,t);return{...t,...s}},y4=W(gy,{shouldForwardProp:e=>kr(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${U(n.size)}`],n.color!=="default"&&t[`color${U(n.color)}`]]}})(ae(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:oe(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(Vt()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:oe(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(Vt()).map(([t])=>({props:{color:t},style:{[`&.${Hu.checked}, &.${Hu.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${Hu.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),x4=k.jsx(h4,{}),S4=k.jsx(p4,{}),w4=k.jsx(m4,{}),C4=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiCheckbox"}),{checkedIcon:o=x4,color:i="primary",icon:s=S4,indeterminate:a=!1,indeterminateIcon:l=w4,inputProps:u,size:c="medium",disableRipple:d=!1,className:m,...y}=r,x=a?l:s,S=a?l:o,C={...r,disableRipple:d,color:i,indeterminate:a,size:c},p=v4(C);return k.jsx(y4,{type:"checkbox",inputProps:{"data-indeterminate":a,...u},icon:w.cloneElement(x,{fontSize:x.props.fontSize??c}),checkedIcon:w.cloneElement(S,{fontSize:S.props.fontSize??c}),ownerState:C,ref:n,className:H(p.root,m),...y,classes:p})});function am(e){return e.substring(2).toLowerCase()}function k4(e,t){return t.documentElement.clientWidth(setTimeout(()=>{l.current=!0},0),()=>{l.current=!1}),[]);const c=He(qr(t),a),d=an(x=>{const S=u.current;u.current=!1;const C=gt(a.current);if(!l.current||!a.current||"clientX"in x&&k4(x,C))return;if(s.current){s.current=!1;return}let p;x.composedPath?p=x.composedPath().includes(a.current):p=!C.documentElement.contains(x.target)||a.current.contains(x.target),!p&&(n||!S)&&o(x)}),m=x=>S=>{u.current=!0;const C=t.props[x];C&&C(S)},y={ref:c};return i!==!1&&(y[i]=m(i)),w.useEffect(()=>{if(i!==!1){const x=am(i),S=gt(a.current),C=()=>{s.current=!0};return S.addEventListener(x,d),S.addEventListener("touchmove",C),()=>{S.removeEventListener(x,d),S.removeEventListener("touchmove",C)}}},[d,i]),r!==!1&&(y[r]=m(r)),w.useEffect(()=>{if(r!==!1){const x=am(r),S=gt(a.current);return S.addEventListener(x,d),()=>{S.removeEventListener(x,d)}}},[d,r]),k.jsx(w.Fragment,{children:w.cloneElement(t,y)})}const vy=gk({createStyledComponent:W("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${U(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>If({props:e,name:"MuiContainer"})}),ud=typeof ey({})=="function",E4=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),R4=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),yy=(e,t=!1)=>{var i,s;const n={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([a,l])=>{var c,d;const u=e.getColorSchemeSelector(a);u.startsWith("@")?n[u]={":root":{colorScheme:(c=l.palette)==null?void 0:c.mode}}:n[u.replace(/\s*&/,"")]={colorScheme:(d=l.palette)==null?void 0:d.mode}});let r={html:E4(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...R4(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...n};const o=(s=(i=e.components)==null?void 0:i.MuiCssBaseline)==null?void 0:s.styleOverrides;return o&&(r=[r,o]),r},ka="mui-ecs",P4=e=>{const t=yy(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${ka})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([r,o])=>{var s,a;const i=e.getColorSchemeSelector(r);i.startsWith("@")?n[i]={[`:root:not(:has(.${ka}))`]:{colorScheme:(s=o.palette)==null?void 0:s.mode}}:n[i.replace(/\s*&/,"")]={[`&:not(:has(.${ka}))`]:{colorScheme:(a=o.palette)==null?void 0:a.mode}}}),t},T4=ey(ud?({theme:e,enableColorScheme:t})=>yy(e,t):({theme:e})=>P4(e));function xy(e){const t=te({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return k.jsxs(w.Fragment,{children:[ud&&k.jsx(T4,{enableColorScheme:r}),!ud&&!r&&k.jsx("span",{className:ka,style:{display:"none"}}),n]})}function $4(e){const t=gt(e);return t.body===e?Hn(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Fi(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function lm(e){return parseInt(Hn(e).getComputedStyle(e).paddingRight,10)||0}function M4(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function um(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,s=>{const a=!i.includes(s),l=!M4(s);a&&l&&Fi(s,o)})}function Vu(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function O4(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if($4(r)){const s=Wv(Hn(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${lm(r)+s}px`;const a=gt(r).querySelectorAll(".mui-fixed");[].forEach.call(a,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${lm(l)+s}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=gt(r).body;else{const s=r.parentElement,a=Hn(r);i=(s==null?void 0:s.nodeName)==="HTML"&&a.getComputedStyle(s).overflowY==="scroll"?s:r}n.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{n.forEach(({value:i,el:s,property:a})=>{i?s.style.setProperty(a,i):s.style.removeProperty(a)})}}function I4(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class A4{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&&Fi(t.modalRef,!1);const o=I4(n);um(n,t.mount,t.modalRef,o,!0);const i=Vu(this.containers,s=>s.container===n);return i!==-1?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=Vu(this.containers,i=>i.modals.includes(t)),o=this.containers[r];o.restore||(o.restore=O4(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=Vu(this.containers,s=>s.modals.includes(t)),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&&Fi(t.modalRef,n),um(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const s=i.modals[i.modals.length-1];s.modalRef&&Fi(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const j4=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function L4(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 N4(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 z4(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||N4(e))}function B4(e){const t=[],n=[];return Array.from(e.querySelectorAll(j4)).forEach((r,o)=>{const i=L4(r);i===-1||!z4(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 _4(){return!0}function D4(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=B4,isEnabled:s=_4,open:a}=e,l=w.useRef(!1),u=w.useRef(null),c=w.useRef(null),d=w.useRef(null),m=w.useRef(null),y=w.useRef(!1),x=w.useRef(null),S=He(qr(t),x),C=w.useRef(null);w.useEffect(()=>{!a||!x.current||(y.current=!n)},[n,a]),w.useEffect(()=>{if(!a||!x.current)return;const f=gt(x.current);return x.current.contains(f.activeElement)||(x.current.hasAttribute("tabIndex")||x.current.setAttribute("tabIndex","-1"),y.current&&x.current.focus()),()=>{o||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}},[a]),w.useEffect(()=>{if(!a||!x.current)return;const f=gt(x.current),g=E=>{C.current=E,!(r||!s()||E.key!=="Tab")&&f.activeElement===x.current&&E.shiftKey&&(l.current=!0,c.current&&c.current.focus())},b=()=>{var M,v;const E=x.current;if(E===null)return;if(!f.hasFocus()||!s()||l.current){l.current=!1;return}if(E.contains(f.activeElement)||r&&f.activeElement!==u.current&&f.activeElement!==c.current)return;if(f.activeElement!==m.current)m.current=null;else if(m.current!==null)return;if(!y.current)return;let P=[];if((f.activeElement===u.current||f.activeElement===c.current)&&(P=i(x.current)),P.length>0){const T=!!((M=C.current)!=null&&M.shiftKey&&((v=C.current)==null?void 0:v.key)==="Tab"),N=P[0],L=P[P.length-1];typeof N!="string"&&typeof L!="string"&&(T?L.focus():N.focus())}else E.focus()};f.addEventListener("focusin",b),f.addEventListener("keydown",g,!0);const R=setInterval(()=>{f.activeElement&&f.activeElement.tagName==="BODY"&&b()},50);return()=>{clearInterval(R),f.removeEventListener("focusin",b),f.removeEventListener("keydown",g,!0)}},[n,r,o,s,a,i]);const p=f=>{d.current===null&&(d.current=f.relatedTarget),y.current=!0,m.current=f.target;const g=t.props.onFocus;g&&g(f)},h=f=>{d.current===null&&(d.current=f.relatedTarget),y.current=!0};return k.jsxs(w.Fragment,{children:[k.jsx("div",{tabIndex:a?0:-1,onFocus:h,ref:u,"data-testid":"sentinelStart"}),w.cloneElement(t,{ref:S,onFocus:p}),k.jsx("div",{tabIndex:a?0:-1,onFocus:h,ref:c,"data-testid":"sentinelEnd"})]})}function F4(e){return typeof e=="function"?e():e}function U4(e){return e?e.props.hasOwnProperty("in"):!1}const ea=new A4;function W4(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:o=!1,onTransitionEnter:i,onTransitionExited:s,children:a,onClose:l,open:u,rootRef:c}=e,d=w.useRef({}),m=w.useRef(null),y=w.useRef(null),x=He(y,c),[S,C]=w.useState(!u),p=U4(a);let h=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(h=!1);const f=()=>gt(m.current),g=()=>(d.current.modalRef=y.current,d.current.mount=m.current,d.current),b=()=>{ea.mount(g(),{disableScrollLock:r}),y.current&&(y.current.scrollTop=0)},R=an(()=>{const I=F4(t)||f().body;ea.add(g(),I),y.current&&b()}),E=()=>ea.isTopModal(g()),P=an(I=>{m.current=I,I&&(u&&E()?b():y.current&&Fi(y.current,h))}),M=w.useCallback(()=>{ea.remove(g(),h)},[h]);w.useEffect(()=>()=>{M()},[M]),w.useEffect(()=>{u?R():(!p||!o)&&M()},[u,M,p,o,R]);const v=I=>A=>{var _;(_=I.onKeyDown)==null||_.call(I,A),!(A.key!=="Escape"||A.which===229||!E())&&(n||(A.stopPropagation(),l&&l(A,"escapeKeyDown")))},T=I=>A=>{var _;(_=I.onClick)==null||_.call(I,A),A.target===A.currentTarget&&l&&l(A,"backdropClick")};return{getRootProps:(I={})=>{const A=Ja(e);delete A.onTransitionEnter,delete A.onTransitionExited;const _={...A,...I};return{role:"presentation",..._,onKeyDown:v(_),ref:x}},getBackdropProps:(I={})=>{const A=I;return{"aria-hidden":!0,...A,onClick:T(A),open:u}},getTransitionProps:()=>{const I=()=>{C(!1),i&&i()},A=()=>{C(!0),s&&s(),o&&M()};return{onEnter:Th(I,a==null?void 0:a.props.onEnter),onExited:Th(A,a==null?void 0:a.props.onExited)}},rootRef:x,portalRef:P,isTopModal:E,exited:S,hasTransition:p}}function H4(e){return X("MuiModal",e)}Y("MuiModal",["root","hidden","backdrop"]);const V4=e=>{const{open:t,exited:n,classes:r}=e;return Z({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},H4,r)},G4=W("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(ae(({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"}}]}))),K4=W(J3,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Sy=w.forwardRef(function(t,n){const r=te({name:"MuiModal",props:t}),{BackdropComponent:o=K4,BackdropProps:i,classes:s,className:a,closeAfterTransition:l=!1,children:u,container:c,component:d,components:m={},componentsProps:y={},disableAutoFocus:x=!1,disableEnforceFocus:S=!1,disableEscapeKeyDown:C=!1,disablePortal:p=!1,disableRestoreFocus:h=!1,disableScrollLock:f=!1,hideBackdrop:g=!1,keepMounted:b=!1,onBackdropClick:R,onClose:E,onTransitionEnter:P,onTransitionExited:M,open:v,slotProps:T={},slots:N={},theme:L,...D}=r,I={...r,closeAfterTransition:l,disableAutoFocus:x,disableEnforceFocus:S,disableEscapeKeyDown:C,disablePortal:p,disableRestoreFocus:h,disableScrollLock:f,hideBackdrop:g,keepMounted:b},{getRootProps:A,getBackdropProps:_,getTransitionProps:$,portalRef:j,isTopModal:B,exited:V,hasTransition:K}=W4({...I,rootRef:n}),me={...I,exited:V},Q=V4(me),ce={};if(u.props.tabIndex===void 0&&(ce.tabIndex="-1"),K){const{onEnter:q,onExited:_e}=$();ce.onEnter=q,ce.onExited=_e}const ye={...D,slots:{root:m.Root,backdrop:m.Backdrop,...N},slotProps:{...y,...T}},[Me,Le]=Gn("root",{elementType:G4,externalForwardedProps:ye,getSlotProps:A,additionalProps:{ref:n,as:d},ownerState:me,className:H(a,Q==null?void 0:Q.root,!me.open&&me.exited&&(Q==null?void 0:Q.hidden))}),[ut,ne]=Gn("backdrop",{elementType:o,externalForwardedProps:ye,additionalProps:i,getSlotProps:q=>_({...q,onClick:_e=>{R&&R(_e),q!=null&&q.onClick&&q.onClick(_e)}}),className:H(i==null?void 0:i.className,Q==null?void 0:Q.backdrop),ownerState:me}),de=He(i==null?void 0:i.ref,ne.ref);return!b&&!v&&(!K||V)?null:k.jsx(py,{ref:j,container:c,disablePortal:p,children:k.jsxs(Me,{...Le,children:[!g&&o?k.jsx(ut,{...ne,ref:de}):null,k.jsx(D4,{disableEnforceFocus:S,disableAutoFocus:x,disableRestoreFocus:h,isEnabled:B,open:v,children:w.cloneElement(u,ce)})]})})}),cm=Y("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);function Q4(e,t,n){const r=t.getBoundingClientRect(),o=n&&n.getBoundingClientRect(),i=Hn(t);let s;if(t.fakeTransform)s=t.fakeTransform;else{const u=i.getComputedStyle(t);s=u.getPropertyValue("-webkit-transform")||u.getPropertyValue("transform")}let a=0,l=0;if(s&&s!=="none"&&typeof s=="string"){const u=s.split("(")[1].split(")")[0].split(",");a=parseInt(u[4],10),l=parseInt(u[5],10)}return e==="left"?o?`translateX(${o.right+a-r.left}px)`:`translateX(${i.innerWidth+a-r.left}px)`:e==="right"?o?`translateX(-${r.right-o.left-a}px)`:`translateX(-${r.left+r.width-a}px)`:e==="up"?o?`translateY(${o.bottom+l-r.top}px)`:`translateY(${i.innerHeight+l-r.top}px)`:o?`translateY(-${r.top-o.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}function X4(e){return typeof e=="function"?e():e}function ta(e,t,n){const r=X4(n),o=Q4(e,t,r);o&&(t.style.webkitTransform=o,t.style.transform=o)}const Y4=w.forwardRef(function(t,n){const r=Cr(),o={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:s,appear:a=!0,children:l,container:u,direction:c="down",easing:d=o,in:m,onEnter:y,onEntered:x,onEntering:S,onExit:C,onExited:p,onExiting:h,style:f,timeout:g=i,TransitionComponent:b=hn,...R}=t,E=w.useRef(null),P=He(qr(l),E,n),M=$=>j=>{$&&(j===void 0?$(E.current):$(E.current,j))},v=M(($,j)=>{ta(c,$,u),zf($),y&&y($,j)}),T=M(($,j)=>{const B=Ho({timeout:g,style:f,easing:d},{mode:"enter"});$.style.webkitTransition=r.transitions.create("-webkit-transform",{...B}),$.style.transition=r.transitions.create("transform",{...B}),$.style.webkitTransform="none",$.style.transform="none",S&&S($,j)}),N=M(x),L=M(h),D=M($=>{const j=Ho({timeout:g,style:f,easing:d},{mode:"exit"});$.style.webkitTransition=r.transitions.create("-webkit-transform",j),$.style.transition=r.transitions.create("transform",j),ta(c,$,u),C&&C($)}),I=M($=>{$.style.webkitTransition="",$.style.transition="",p&&p($)}),A=$=>{s&&s(E.current,$)},_=w.useCallback(()=>{E.current&&ta(c,E.current,u)},[c,u]);return w.useEffect(()=>{if(m||c==="down"||c==="right")return;const $=_v(()=>{E.current&&ta(c,E.current,u)}),j=Hn(E.current);return j.addEventListener("resize",$),()=>{$.clear(),j.removeEventListener("resize",$)}},[c,m,u]),w.useEffect(()=>{m||_()},[m,_]),k.jsx(b,{nodeRef:E,onEnter:v,onEntered:N,onEntering:T,onExit:D,onExited:I,onExiting:L,addEndListener:A,appear:a,in:m,timeout:g,...R,children:($,j)=>w.cloneElement(l,{ref:P,style:{visibility:$==="exited"&&!m?"hidden":void 0,...f,...l.props.style},...j})})});function Z4(e){return X("MuiDrawer",e)}Y("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const wy=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},q4=e=>{const{classes:t,anchor:n,variant:r}=e,o={root:["root"],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${U(n)}`,r!=="temporary"&&`paperAnchorDocked${U(n)}`]};return Z(o,Z4,t)},J4=W(Sy,{name:"MuiDrawer",slot:"Root",overridesResolver:wy})(ae(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),dm=W("div",{shouldForwardProp:kr,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:wy})({flex:"0 0 auto"}),e5=W(ii,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${U(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${U(n.anchor)}`]]}})(ae(({theme:e})=>({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0,variants:[{props:{anchor:"left"},style:{left:0}},{props:{anchor:"top"},style:{top:0,left:0,right:0,height:"auto",maxHeight:"100%"}},{props:{anchor:"right"},style:{right:0}},{props:{anchor:"bottom"},style:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"}},{props:({ownerState:t})=>t.anchor==="left"&&t.variant!=="temporary",style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="top"&&t.variant!=="temporary",style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="right"&&t.variant!=="temporary",style:{borderLeft:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="bottom"&&t.variant!=="temporary",style:{borderTop:`1px solid ${(e.vars||e).palette.divider}`}}]}))),Cy={left:"right",right:"left",top:"down",bottom:"up"};function t5(e){return["left","right"].includes(e)}function n5({direction:e},t){return e==="rtl"&&t5(t)?Cy[t]:t}const r5=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiDrawer"}),o=Cr(),i=Kl(),s={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{anchor:a="left",BackdropProps:l,children:u,className:c,elevation:d=16,hideBackdrop:m=!1,ModalProps:{BackdropProps:y,...x}={},onClose:S,open:C=!1,PaperProps:p={},SlideProps:h,TransitionComponent:f=Y4,transitionDuration:g=s,variant:b="temporary",...R}=r,E=w.useRef(!1);w.useEffect(()=>{E.current=!0},[]);const P=n5({direction:i?"rtl":"ltr"},a),v={...r,anchor:a,elevation:d,open:C,variant:b,...R},T=q4(v),N=k.jsx(e5,{elevation:b==="temporary"?d:0,square:!0,...p,className:H(T.paper,p.className),ownerState:v,children:u});if(b==="permanent")return k.jsx(dm,{className:H(T.root,T.docked,c),ownerState:v,ref:n,...R,children:N});const L=k.jsx(f,{in:C,direction:Cy[P],timeout:g,appear:E.current,...h,children:N});return b==="persistent"?k.jsx(dm,{className:H(T.root,T.docked,c),ownerState:v,ref:n,...R,children:L}):k.jsx(J4,{BackdropProps:{...l,...y,transitionDuration:g},className:H(T.root,T.modal,c),open:C,ownerState:v,onClose:S,hideBackdrop:m,ref:n,...R,...x,children:L})}),st=Ik({createStyledComponent:W("div",{name:"MuiGrid2",slot:"Root",overridesResolver:(e,t)=>t.root}),componentName:"MuiGrid2",useThemeProps:e=>If({props:e,name:"MuiGrid2"})});function cd(e){return`scale(${e}, ${e**2})`}const o5={entering:{opacity:1,transform:cd(1)},entered:{opacity:1,transform:"none"}},Gu=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Xo=w.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:s,in:a,onEnter:l,onEntered:u,onEntering:c,onExit:d,onExited:m,onExiting:y,style:x,timeout:S="auto",TransitionComponent:C=hn,...p}=t,h=Ar(),f=w.useRef(),g=Cr(),b=w.useRef(null),R=He(b,qr(i),n),E=I=>A=>{if(I){const _=b.current;A===void 0?I(_):I(_,A)}},P=E(c),M=E((I,A)=>{zf(I);const{duration:_,delay:$,easing:j}=Ho({style:x,timeout:S,easing:s},{mode:"enter"});let B;S==="auto"?(B=g.transitions.getAutoHeightDuration(I.clientHeight),f.current=B):B=_,I.style.transition=[g.transitions.create("opacity",{duration:B,delay:$}),g.transitions.create("transform",{duration:Gu?B:B*.666,delay:$,easing:j})].join(","),l&&l(I,A)}),v=E(u),T=E(y),N=E(I=>{const{duration:A,delay:_,easing:$}=Ho({style:x,timeout:S,easing:s},{mode:"exit"});let j;S==="auto"?(j=g.transitions.getAutoHeightDuration(I.clientHeight),f.current=j):j=A,I.style.transition=[g.transitions.create("opacity",{duration:j,delay:_}),g.transitions.create("transform",{duration:Gu?j:j*.666,delay:Gu?_:_||j*.333,easing:$})].join(","),I.style.opacity=0,I.style.transform=cd(.75),d&&d(I)}),L=E(m),D=I=>{S==="auto"&&h.start(f.current||0,I),r&&r(b.current,I)};return k.jsx(C,{appear:o,in:a,nodeRef:b,onEnter:M,onEntered:v,onEntering:P,onExit:N,onExited:L,onExiting:T,addEndListener:D,timeout:S==="auto"?null:S,...p,children:(I,A)=>w.cloneElement(i,{style:{opacity:0,transform:cd(.75),visibility:I==="exited"&&!a?"hidden":void 0,...o5[I],...x,...i.props.style},ref:R,...A})})});Xo&&(Xo.muiSupportAuto=!0);function i5(e){return X("MuiLink",e)}const s5=Y("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),a5=({theme:e,ownerState:t})=>{const n=t.color,r=Uo(e,`palette.${n}`,!1)||t.color,o=Uo(e,`palette.${n}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:oe(r,.4)},fm={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},l5=e=>{const{classes:t,component:n,focusVisible:r,underline:o}=e,i={root:["root",`underline${U(o)}`,n==="button"&&"button",r&&"focusVisible"]};return Z(i,i5,t)},u5=W(pt,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${U(n.underline)}`],n.component==="button"&&t.button]}})(ae(({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:t,ownerState:n})=>t==="always"&&n.color!=="inherit",style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(e.palette).filter(Vt()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.4)`:oe(e.palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:oe(e.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.secondaryChannel} / 0.4)`:oe(e.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${s5.focusVisible}`]:{outline:"auto"}}}]}))),ky=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiLink"}),o=Cr(),{className:i,color:s="primary",component:a="a",onBlur:l,onFocus:u,TypographyClasses:c,underline:d="always",variant:m="inherit",sx:y,...x}=r,[S,C]=w.useState(!1),p=b=>{Wo(b.target)||C(!1),l&&l(b)},h=b=>{Wo(b.target)&&C(!0),u&&u(b)},f={...r,color:s,component:a,focusVisible:S,underline:d,variant:m},g=l5(f);return k.jsx(u5,{color:s,className:H(g.root,i),classes:c,component:a,onBlur:p,onFocus:h,ref:n,ownerState:f,variant:m,...x,sx:[...fm[s]===void 0?[{color:s}]:[],...Array.isArray(y)?y:[y]],style:{...x.style,...d==="always"&&s!=="inherit"&&!fm[s]&&{"--Link-underlineColor":a5({theme:o,ownerState:f})}}})}),dn=w.createContext({});function c5(e){return X("MuiList",e)}Y("MuiList",["root","padding","dense","subheader"]);const d5=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return Z({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},c5,t)},f5=W("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}}]}),by=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiList"}),{children:o,className:i,component:s="ul",dense:a=!1,disablePadding:l=!1,subheader:u,...c}=r,d=w.useMemo(()=>({dense:a}),[a]),m={...r,component:s,dense:a,disablePadding:l},y=d5(m);return k.jsx(dn.Provider,{value:d,children:k.jsxs(f5,{as:s,className:H(y.root,i),ref:n,ownerState:m,...c,children:[u,o]})})});function p5(e){return X("MuiListItem",e)}Y("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);function h5(e){return X("MuiListItemButton",e)}const uo=Y("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),m5=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]},g5=e=>{const{alignItems:t,classes:n,dense:r,disabled:o,disableGutters:i,divider:s,selected:a}=e,u=Z({root:["root",r&&"dense",!i&&"gutters",s&&"divider",o&&"disabled",t==="flex-start"&&"alignItemsFlexStart",a&&"selected"]},h5,n);return{...n,...u}},v5=W(Rs,{shouldForwardProp:e=>kr(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:m5})(ae(({theme:e})=>({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${uo.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:oe(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${uo.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:oe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${uo.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:oe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:oe(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${uo.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${uo.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.dense,style:{paddingTop:4,paddingBottom:4}}]}))),y5=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiListItemButton"}),{alignItems:o="center",autoFocus:i=!1,component:s="div",children:a,dense:l=!1,disableGutters:u=!1,divider:c=!1,focusVisibleClassName:d,selected:m=!1,className:y,...x}=r,S=w.useContext(dn),C=w.useMemo(()=>({dense:l||S.dense||!1,alignItems:o,disableGutters:u}),[o,S.dense,l,u]),p=w.useRef(null);Wn(()=>{i&&p.current&&p.current.focus()},[i]);const h={...r,alignItems:o,dense:C.dense,disableGutters:u,divider:c,selected:m},f=g5(h),g=He(p,n);return k.jsx(dn.Provider,{value:C,children:k.jsx(v5,{ref:g,href:x.href||x.to,component:(x.href||x.to)&&s==="div"?"button":s,focusVisibleClassName:H(f.focusVisible,d),ownerState:h,className:H(f.root,y),...x,classes:f,children:a})})});function x5(e){return X("MuiListItemSecondaryAction",e)}Y("MuiListItemSecondaryAction",["root","disableGutters"]);const S5=e=>{const{disableGutters:t,classes:n}=e;return Z({root:["root",t&&"disableGutters"]},x5,n)},w5=W("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),Ey=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiListItemSecondaryAction"}),{className:o,...i}=r,s=w.useContext(dn),a={...r,disableGutters:s.disableGutters},l=S5(a);return k.jsx(w5,{className:H(l.root,o),ownerState:a,ref:n,...i})});Ey.muiName="ListItemSecondaryAction";const C5=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.hasSecondaryAction&&t.secondaryAction]},k5=e=>{const{alignItems:t,classes:n,dense:r,disableGutters:o,disablePadding:i,divider:s,hasSecondaryAction:a}=e;return Z({root:["root",r&&"dense",!o&&"gutters",!i&&"padding",s&&"divider",t==="flex-start"&&"alignItemsFlexStart",a&&"secondaryAction"],container:["container"]},p5,n)},b5=W("div",{name:"MuiListItem",slot:"Root",overridesResolver:C5})(ae(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:t})=>!t.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:t})=>!t.disablePadding&&t.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:t})=>!t.disablePadding&&!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>!t.disablePadding&&!!t.secondaryAction,style:{paddingRight:48}},{props:({ownerState:t})=>!!t.secondaryAction,style:{[`& > .${uo.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>t.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:t})=>t.hasSecondaryAction,style:{paddingRight:48}}]}))),E5=W("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),R5=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiListItem"}),{alignItems:o="center",children:i,className:s,component:a,components:l={},componentsProps:u={},ContainerComponent:c="li",ContainerProps:{className:d,...m}={},dense:y=!1,disableGutters:x=!1,disablePadding:S=!1,divider:C=!1,secondaryAction:p,slotProps:h={},slots:f={},...g}=r,b=w.useContext(dn),R=w.useMemo(()=>({dense:y||b.dense||!1,alignItems:o,disableGutters:x}),[o,b.dense,y,x]),E=w.useRef(null),P=w.Children.toArray(i),M=P.length&&Dv(P[P.length-1],["ListItemSecondaryAction"]),v={...r,alignItems:o,dense:R.dense,disableGutters:x,disablePadding:S,divider:C,hasSecondaryAction:M},T=k5(v),N=He(E,n),L=f.root||l.Root||b5,D=h.root||u.root||{},I={className:H(T.root,D.className,s),...g};let A=a||"li";return M?(A=!I.component&&!a?"div":A,c==="li"&&(A==="li"?A="div":I.component==="li"&&(I.component="div")),k.jsx(dn.Provider,{value:R,children:k.jsxs(E5,{as:c,className:H(T.container,d),ref:N,ownerState:v,...m,children:[k.jsx(L,{...D,...!ld(L)&&{as:A,ownerState:{...v,...D.ownerState}},...I,children:P}),P.pop()]})})):k.jsx(dn.Provider,{value:R,children:k.jsxs(L,{...D,as:A,ref:N,...!ld(L)&&{ownerState:{...v,...D.ownerState}},...I,children:[P,p&&k.jsx(Ey,{children:p})]})})});function P5(e){return X("MuiListItemIcon",e)}const pm=Y("MuiListItemIcon",["root","alignItemsFlexStart"]),T5=e=>{const{alignItems:t,classes:n}=e;return Z({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},P5,n)},$5=W("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(ae(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),hm=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiListItemIcon"}),{className:o,...i}=r,s=w.useContext(dn),a={...r,alignItems:s.alignItems},l=T5(a);return k.jsx($5,{className:H(l.root,o),ownerState:a,ref:n,...i})});function M5(e){return X("MuiListItemText",e)}const bo=Y("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),O5=e=>{const{classes:t,inset:n,primary:r,secondary:o,dense:i}=e;return Z({root:["root",n&&"inset",i&&"dense",r&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},M5,t)},I5=W("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${bo.primary}`]:t.primary},{[`& .${bo.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${Xh.root}:where(& .${bo.primary})`]:{display:"block"},[`.${Xh.root}:where(& .${bo.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),A5=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiListItemText"}),{children:o,className:i,disableTypography:s=!1,inset:a=!1,primary:l,primaryTypographyProps:u,secondary:c,secondaryTypographyProps:d,...m}=r,{dense:y}=w.useContext(dn);let x=l??o,S=c;const C={...r,disableTypography:s,inset:a,primary:!!x,secondary:!!S,dense:y},p=O5(C);return x!=null&&x.type!==pt&&!s&&(x=k.jsx(pt,{variant:y?"body2":"body1",className:p.primary,component:u!=null&&u.variant?void 0:"span",...u,children:x})),S!=null&&S.type!==pt&&!s&&(S=k.jsx(pt,{variant:"body2",className:p.secondary,color:"textSecondary",...d,children:S})),k.jsxs(I5,{className:H(p.root,i),ownerState:C,ref:n,...m,children:[x,S]})});function Ku(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function mm(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Ry(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(""))}function xi(e,t,n,r,o,i){let s=!1,a=o(e,t,t?n:!1);for(;a;){if(a===e.firstChild){if(s)return!1;s=!0}const l=r?!1:a.disabled||a.getAttribute("aria-disabled")==="true";if(!a.hasAttribute("tabindex")||!Ry(a,i)||l)a=o(e,a,n);else return a.focus(),!0}return!1}const j5=w.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:s,className:a,disabledItemsFocusable:l=!1,disableListWrap:u=!1,onKeyDown:c,variant:d="selectedMenu",...m}=t,y=w.useRef(null),x=w.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Wn(()=>{o&&y.current.focus()},[o]),w.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(f,{direction:g})=>{const b=!y.current.style.width;if(f.clientHeight{const g=y.current,b=f.key;if(f.ctrlKey||f.metaKey||f.altKey){c&&c(f);return}const E=gt(g).activeElement;if(b==="ArrowDown")f.preventDefault(),xi(g,E,u,l,Ku);else if(b==="ArrowUp")f.preventDefault(),xi(g,E,u,l,mm);else if(b==="Home")f.preventDefault(),xi(g,null,u,l,Ku);else if(b==="End")f.preventDefault(),xi(g,null,u,l,mm);else if(b.length===1){const P=x.current,M=b.toLowerCase(),v=performance.now();P.keys.length>0&&(v-P.lastTime>500?(P.keys=[],P.repeating=!0,P.previousKeyMatched=!0):P.repeating&&M!==P.keys[0]&&(P.repeating=!1)),P.lastTime=v,P.keys.push(M);const T=E&&!P.repeating&&Ry(E,P);P.previousKeyMatched&&(T||xi(g,E,!1,l,Ku,P))?f.preventDefault():P.previousKeyMatched=!1}c&&c(f)},C=He(y,n);let p=-1;w.Children.forEach(s,(f,g)=>{if(!w.isValidElement(f)){p===g&&(p+=1,p>=s.length&&(p=-1));return}f.props.disabled||(d==="selectedMenu"&&f.props.selected||p===-1)&&(p=g),p===g&&(f.props.disabled||f.props.muiSkipListHighlight||f.type.muiSkipListHighlight)&&(p+=1,p>=s.length&&(p=-1))});const h=w.Children.map(s,(f,g)=>{if(g===p){const b={};return i&&(b.autoFocus=!0),f.props.tabIndex===void 0&&d==="selectedMenu"&&(b.tabIndex=0),w.cloneElement(f,b)}return f});return k.jsx(by,{role:"menu",ref:C,className:a,onKeyDown:S,tabIndex:o?0:-1,...m,children:h})});function L5(e){return X("MuiPopover",e)}Y("MuiPopover",["root","paper"]);function gm(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function vm(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function ym(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function Qu(e){return typeof e=="function"?e():e}const N5=e=>{const{classes:t}=e;return Z({root:["root"],paper:["paper"]},L5,t)},z5=W(Sy,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Py=W(ii,{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}),B5=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiPopover"}),{action:o,anchorEl:i,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:a,anchorReference:l="anchorEl",children:u,className:c,container:d,elevation:m=8,marginThreshold:y=16,open:x,PaperProps:S={},slots:C={},slotProps:p={},transformOrigin:h={vertical:"top",horizontal:"left"},TransitionComponent:f=Xo,transitionDuration:g="auto",TransitionProps:{onEntering:b,...R}={},disableScrollLock:E=!1,...P}=r,M=(p==null?void 0:p.paper)??S,v=w.useRef(),T={...r,anchorOrigin:s,anchorReference:l,elevation:m,marginThreshold:y,externalPaperSlotProps:M,transformOrigin:h,TransitionComponent:f,transitionDuration:g,TransitionProps:R},N=N5(T),L=w.useCallback(()=>{if(l==="anchorPosition")return a;const ne=Qu(i),q=(ne&&ne.nodeType===1?ne:gt(v.current).body).getBoundingClientRect();return{top:q.top+gm(q,s.vertical),left:q.left+vm(q,s.horizontal)}},[i,s.horizontal,s.vertical,a,l]),D=w.useCallback(ne=>({vertical:gm(ne,h.vertical),horizontal:vm(ne,h.horizontal)}),[h.horizontal,h.vertical]),I=w.useCallback(ne=>{const de={width:ne.offsetWidth,height:ne.offsetHeight},q=D(de);if(l==="none")return{top:null,left:null,transformOrigin:ym(q)};const _e=L();let fe=_e.top-q.vertical,De=_e.left-q.horizontal;const zt=fe+de.height,be=De+de.width,Fe=Hn(Qu(i)),nt=Fe.innerHeight-y,Ke=Fe.innerWidth-y;if(y!==null&&fent){const Se=zt-nt;fe-=Se,q.vertical+=Se}if(y!==null&&DeKe){const Se=be-Ke;De-=Se,q.horizontal+=Se}return{top:`${Math.round(fe)}px`,left:`${Math.round(De)}px`,transformOrigin:ym(q)}},[i,l,L,D,y]),[A,_]=w.useState(x),$=w.useCallback(()=>{const ne=v.current;if(!ne)return;const de=I(ne);de.top!==null&&ne.style.setProperty("top",de.top),de.left!==null&&(ne.style.left=de.left),ne.style.transformOrigin=de.transformOrigin,_(!0)},[I]);w.useEffect(()=>(E&&window.addEventListener("scroll",$),()=>window.removeEventListener("scroll",$)),[i,E,$]);const j=(ne,de)=>{b&&b(ne,de),$()},B=()=>{_(!1)};w.useEffect(()=>{x&&$()}),w.useImperativeHandle(o,()=>x?{updatePosition:()=>{$()}}:null,[x,$]),w.useEffect(()=>{if(!x)return;const ne=_v(()=>{$()}),de=Hn(i);return de.addEventListener("resize",ne),()=>{ne.clear(),de.removeEventListener("resize",ne)}},[i,x,$]);let V=g;g==="auto"&&!f.muiSupportAuto&&(V=void 0);const K=d||(i?gt(Qu(i)).body:void 0),me={slots:C,slotProps:{...p,paper:M}},[Q,ce]=Gn("paper",{elementType:Py,externalForwardedProps:me,additionalProps:{elevation:m,className:H(N.paper,M==null?void 0:M.className),style:A?M.style:{...M.style,opacity:0}},ownerState:T}),[ye,{slotProps:Me,...Le}]=Gn("root",{elementType:z5,externalForwardedProps:me,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:K,open:x},ownerState:T,className:H(N.root,c)}),ut=He(v,ce.ref);return k.jsx(ye,{...Le,...!ld(ye)&&{slotProps:Me,disableScrollLock:E},...P,ref:n,children:k.jsx(f,{appear:!0,in:x,onEntering:j,onExited:B,timeout:V,...R,children:k.jsx(Q,{...ce,ref:ut,children:u})})})});function _5(e){return X("MuiMenu",e)}Y("MuiMenu",["root","paper","list"]);const D5={vertical:"top",horizontal:"right"},F5={vertical:"top",horizontal:"left"},U5=e=>{const{classes:t}=e;return Z({root:["root"],paper:["paper"],list:["list"]},_5,t)},W5=W(B5,{shouldForwardProp:e=>kr(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),H5=W(Py,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),V5=W(j5,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),xm=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiMenu"}),{autoFocus:o=!0,children:i,className:s,disableAutoFocusItem:a=!1,MenuListProps:l={},onClose:u,open:c,PaperProps:d={},PopoverClasses:m,transitionDuration:y="auto",TransitionProps:{onEntering:x,...S}={},variant:C="selectedMenu",slots:p={},slotProps:h={},...f}=r,g=Kl(),b={...r,autoFocus:o,disableAutoFocusItem:a,MenuListProps:l,onEntering:x,PaperProps:d,transitionDuration:y,TransitionProps:S,variant:C},R=U5(b),E=o&&!a&&c,P=w.useRef(null),M=(A,_)=>{P.current&&P.current.adjustStyleForScrollbar(A,{direction:g?"rtl":"ltr"}),x&&x(A,_)},v=A=>{A.key==="Tab"&&(A.preventDefault(),u&&u(A,"tabKeyDown"))};let T=-1;w.Children.map(i,(A,_)=>{w.isValidElement(A)&&(A.props.disabled||(C==="selectedMenu"&&A.props.selected||T===-1)&&(T=_))});const N=p.paper??H5,L=h.paper??d,D=el({elementType:p.root,externalSlotProps:h.root,ownerState:b,className:[R.root,s]}),I=el({elementType:N,externalSlotProps:L,ownerState:b,className:R.paper});return k.jsx(W5,{onClose:u,anchorOrigin:{vertical:"bottom",horizontal:g?"right":"left"},transformOrigin:g?D5:F5,slots:{paper:N,root:p.root},slotProps:{root:D,paper:I},open:c,ref:n,transitionDuration:y,TransitionProps:{onEntering:M,...S},ownerState:b,...f,classes:m,children:k.jsx(V5,{onKeyDown:v,actions:P,autoFocus:o&&(T===-1||a),autoFocusItem:E,variant:C,...l,className:H(R.list,l.className),children:i})})});function G5(e){return X("MuiMenuItem",e)}const Si=Y("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),K5=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},Q5=e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:s}=e,l=Z({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},G5,s);return{...s,...l}},X5=W(Rs,{shouldForwardProp:e=>kr(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:K5})(ae(({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"}},[`&.${Si.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:oe(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Si.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:oe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Si.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:oe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:oe(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Si.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Si.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${cm.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${cm.inset}`]:{marginLeft:52},[`& .${bo.root}`]:{marginTop:0,marginBottom:0},[`& .${bo.inset}`]:{paddingLeft:36},[`& .${pm.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,[`& .${pm.root} svg`]:{fontSize:"1.25rem"}}}]}))),Sm=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:i="li",dense:s=!1,divider:a=!1,disableGutters:l=!1,focusVisibleClassName:u,role:c="menuitem",tabIndex:d,className:m,...y}=r,x=w.useContext(dn),S=w.useMemo(()=>({dense:s||x.dense||!1,disableGutters:l}),[x.dense,s,l]),C=w.useRef(null);Wn(()=>{o&&C.current&&C.current.focus()},[o]);const p={...r,dense:S.dense,divider:a,disableGutters:l},h=Q5(r),f=He(C,n);let g;return r.disabled||(g=d!==void 0?d:-1),k.jsx(dn.Provider,{value:S,children:k.jsx(X5,{ref:f,role:c,tabIndex:g,component:i,focusVisibleClassName:H(h.focusVisible,u),className:H(h.root,m),...y,ownerState:p,classes:h})})});function Y5(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:o,resumeHideDuration:i}=e,s=Ar();w.useEffect(()=>{if(!o)return;function p(h){h.defaultPrevented||h.key==="Escape"&&(r==null||r(h,"escapeKeyDown"))}return document.addEventListener("keydown",p),()=>{document.removeEventListener("keydown",p)}},[o,r]);const a=an((p,h)=>{r==null||r(p,h)}),l=an(p=>{!r||p==null||s.start(p,()=>{a(null,"timeout")})});w.useEffect(()=>(o&&l(t),s.clear),[o,t,l,s]);const u=p=>{r==null||r(p,"clickaway")},c=s.clear,d=w.useCallback(()=>{t!=null&&l(i??t*.5)},[t,i,l]),m=p=>h=>{const f=p.onBlur;f==null||f(h),d()},y=p=>h=>{const f=p.onFocus;f==null||f(h),c()},x=p=>h=>{const f=p.onMouseEnter;f==null||f(h),c()},S=p=>h=>{const f=p.onMouseLeave;f==null||f(h),d()};return w.useEffect(()=>{if(!n&&o)return window.addEventListener("focus",d),window.addEventListener("blur",c),()=>{window.removeEventListener("focus",d),window.removeEventListener("blur",c)}},[n,o,d,c]),{getRootProps:(p={})=>{const h={...Ja(e),...Ja(p)};return{role:"presentation",...p,...h,onBlur:m(h),onFocus:y(h),onMouseEnter:x(h),onMouseLeave:S(h)}},onClickAway:u}}function Z5(e){return X("MuiSnackbarContent",e)}Y("MuiSnackbarContent",["root","message","action"]);const q5=e=>{const{classes:t}=e;return Z({root:["root"],action:["action"],message:["message"]},Z5,t)},J5=W(ii,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(ae(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=Bv(e.palette.background.default,t);return{...e.typography.body2,color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}})),eR=W("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),tR=W("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),nR=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiSnackbarContent"}),{action:o,className:i,message:s,role:a="alert",...l}=r,u=r,c=q5(u);return k.jsxs(J5,{role:a,square:!0,elevation:6,className:H(c.root,i),ownerState:u,ref:n,...l,children:[k.jsx(eR,{className:c.message,ownerState:u,children:s}),o?k.jsx(tR,{className:c.action,ownerState:u,children:o}):null]})});function rR(e){return X("MuiSnackbar",e)}Y("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const oR=e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${U(n.vertical)}${U(n.horizontal)}`]};return Z(r,rR,t)},wm=W("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${U(n.anchorOrigin.vertical)}${U(n.anchorOrigin.horizontal)}`]]}})(ae(({theme:e})=>({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center",variants:[{props:({ownerState:t})=>t.anchorOrigin.vertical==="top",style:{top:8,[e.breakpoints.up("sm")]:{top:24}}},{props:({ownerState:t})=>t.anchorOrigin.vertical!=="top",style:{bottom:8,[e.breakpoints.up("sm")]:{bottom:24}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="left",style:{justifyContent:"flex-start",[e.breakpoints.up("sm")]:{left:24,right:"auto"}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="right",style:{justifyContent:"flex-end",[e.breakpoints.up("sm")]:{right:24,left:"auto"}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="center",style:{[e.breakpoints.up("sm")]:{left:"50%",right:"auto",transform:"translateX(-50%)"}}}]}))),iR=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiSnackbar"}),o=Cr(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{action:s,anchorOrigin:{vertical:a,horizontal:l}={vertical:"bottom",horizontal:"left"},autoHideDuration:u=null,children:c,className:d,ClickAwayListenerProps:m,ContentProps:y,disableWindowBlurListener:x=!1,message:S,onBlur:C,onClose:p,onFocus:h,onMouseEnter:f,onMouseLeave:g,open:b,resumeHideDuration:R,TransitionComponent:E=Xo,transitionDuration:P=i,TransitionProps:{onEnter:M,onExited:v,...T}={},...N}=r,L={...r,anchorOrigin:{vertical:a,horizontal:l},autoHideDuration:u,disableWindowBlurListener:x,TransitionComponent:E,transitionDuration:P},D=oR(L),{getRootProps:I,onClickAway:A}=Y5({...L}),[_,$]=w.useState(!0),j=el({elementType:wm,getSlotProps:I,externalForwardedProps:N,ownerState:L,additionalProps:{ref:n},className:[D.root,d]}),B=K=>{$(!0),v&&v(K)},V=(K,me)=>{$(!1),M&&M(K,me)};return!b&&_?null:k.jsx(b4,{onClickAway:A,...m,children:k.jsx(wm,{...j,children:k.jsx(E,{appear:!0,in:b,timeout:P,direction:a==="top"?"down":"up",onEnter:V,onExited:B,...T,children:c||k.jsx(nR,{message:S,action:s,...y})})})})});function sR(e){return X("MuiTooltip",e)}const Ae=Y("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function aR(e){return Math.round(e*1e5)/1e5}const lR=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e,s={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${U(i.split("-")[0])}`],arrow:["arrow"]};return Z(s,sR,t)},uR=W(hy,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(ae(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${Ae.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Ae.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Ae.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Ae.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Ae.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Ae.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Ae.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Ae.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),cR=W("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${U(n.placement.split("-")[0])}`]]}})(ae(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:oe(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${Ae.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Ae.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Ae.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Ae.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${aR(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${Ae.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Ae.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${Ae.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Ae.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${Ae.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Ae.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${Ae.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Ae.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Ae.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Ae.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),dR=W("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(ae(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:oe(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let na=!1;const Cm=new Gl;let wi={x:0,y:0};function ra(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const km=w.forwardRef(function(t,n){var Yf,Zf,qf;const r=te({props:t,name:"MuiTooltip"}),{arrow:o=!1,children:i,classes:s,components:a={},componentsProps:l={},describeChild:u=!1,disableFocusListener:c=!1,disableHoverListener:d=!1,disableInteractive:m=!1,disableTouchListener:y=!1,enterDelay:x=100,enterNextDelay:S=0,enterTouchDelay:C=700,followCursor:p=!1,id:h,leaveDelay:f=0,leaveTouchDelay:g=1500,onClose:b,onOpen:R,open:E,placement:P="bottom",PopperComponent:M,PopperProps:v={},slotProps:T={},slots:N={},title:L,TransitionComponent:D=Xo,TransitionProps:I,...A}=r,_=w.isValidElement(i)?i:k.jsx("span",{children:i}),$=Cr(),j=Kl(),[B,V]=w.useState(),[K,me]=w.useState(null),Q=w.useRef(!1),ce=m||p,ye=Ar(),Me=Ar(),Le=Ar(),ut=Ar(),[ne,de]=Fv({controlled:E,default:!1,name:"Tooltip",state:"open"});let q=ne;const _e=WC(h),fe=w.useRef(),De=an(()=>{fe.current!==void 0&&(document.body.style.WebkitUserSelect=fe.current,fe.current=void 0),ut.clear()});w.useEffect(()=>De,[De]);const zt=J=>{Cm.clear(),na=!0,de(!0),R&&!q&&R(J)},be=an(J=>{Cm.start(800+f,()=>{na=!1}),de(!1),b&&q&&b(J),ye.start($.transitions.duration.shortest,()=>{Q.current=!1})}),Fe=J=>{Q.current&&J.type!=="touchstart"||(B&&B.removeAttribute("title"),Me.clear(),Le.clear(),x||na&&S?Me.start(na?S:x,()=>{zt(J)}):zt(J))},nt=J=>{Me.clear(),Le.start(f,()=>{be(J)})},[,Ke]=w.useState(!1),Se=J=>{Wo(J.target)||(Ke(!1),nt(J))},mn=J=>{B||V(J.currentTarget),Wo(J.target)&&(Ke(!0),Fe(J))},G=J=>{Q.current=!0;const en=_.props;en.onTouchStart&&en.onTouchStart(J)},Jt=J=>{G(J),Le.clear(),ye.clear(),De(),fe.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ut.start(C,()=>{document.body.style.WebkitUserSelect=fe.current,Fe(J)})},In=J=>{_.props.onTouchEnd&&_.props.onTouchEnd(J),De(),Le.start(g,()=>{be(J)})};w.useEffect(()=>{if(!q)return;function J(en){en.key==="Escape"&&be(en)}return document.addEventListener("keydown",J),()=>{document.removeEventListener("keydown",J)}},[be,q]);const gn=He(qr(_),V,n);!L&&L!==0&&(q=!1);const pe=w.useRef(),we=J=>{const en=_.props;en.onMouseMove&&en.onMouseMove(J),wi={x:J.clientX,y:J.clientY},pe.current&&pe.current.update()},vn={},Jr=typeof L=="string";u?(vn.title=!q&&Jr&&!d?L:null,vn["aria-describedby"]=q?_e:null):(vn["aria-label"]=Jr?L:null,vn["aria-labelledby"]=q&&!Jr?_e:null);const ct={...vn,...A,..._.props,className:H(A.className,_.props.className),onTouchStart:G,ref:gn,...p?{onMouseMove:we}:{}},Er={};y||(ct.onTouchStart=Jt,ct.onTouchEnd=In),d||(ct.onMouseOver=ra(Fe,ct.onMouseOver),ct.onMouseLeave=ra(nt,ct.onMouseLeave),ce||(Er.onMouseOver=Fe,Er.onMouseLeave=nt)),c||(ct.onFocus=ra(mn,ct.onFocus),ct.onBlur=ra(Se,ct.onBlur),ce||(Er.onFocus=mn,Er.onBlur=Se));const By=w.useMemo(()=>{var en;let J=[{name:"arrow",enabled:!!K,options:{element:K,padding:4}}];return(en=v.popperOptions)!=null&&en.modifiers&&(J=J.concat(v.popperOptions.modifiers)),{...v.popperOptions,modifiers:J}},[K,v]),si={...r,isRtl:j,arrow:o,disableInteractive:ce,placement:P,PopperComponentProp:M,touch:Q.current},uu=lR(si),Gf=N.popper??a.Popper??uR,Kf=N.transition??a.Transition??D??Xo,Qf=N.tooltip??a.Tooltip??cR,Xf=N.arrow??a.Arrow??dR,_y=ko(Gf,{...v,...T.popper??l.popper,className:H(uu.popper,v==null?void 0:v.className,(Yf=T.popper??l.popper)==null?void 0:Yf.className)},si),Dy=ko(Kf,{...I,...T.transition??l.transition},si),Fy=ko(Qf,{...T.tooltip??l.tooltip,className:H(uu.tooltip,(Zf=T.tooltip??l.tooltip)==null?void 0:Zf.className)},si),Uy=ko(Xf,{...T.arrow??l.arrow,className:H(uu.arrow,(qf=T.arrow??l.arrow)==null?void 0:qf.className)},si);return k.jsxs(w.Fragment,{children:[w.cloneElement(_,ct),k.jsx(Gf,{as:M??hy,placement:P,anchorEl:p?{getBoundingClientRect:()=>({top:wi.y,left:wi.x,right:wi.x,bottom:wi.y,width:0,height:0})}:B,popperRef:pe,open:B?q:!1,id:_e,transition:!0,...Er,..._y,popperOptions:By,children:({TransitionProps:J})=>k.jsx(Kf,{timeout:$.transitions.duration.shorter,...J,...Dy,children:k.jsxs(Qf,{...Fy,children:[L,o?k.jsx(Xf,{...Uy,ref:me}):null]})})})]})}),Xu=_k({createStyledComponent:W("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>If({props:e,name:"MuiStack"})});function fR(e){return X("MuiSwitch",e)}const dt=Y("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),pR=e=>{const{classes:t,edge:n,size:r,color:o,checked:i,disabled:s}=e,a={root:["root",n&&`edge${U(n)}`,`size${U(r)}`],switchBase:["switchBase",`color${U(o)}`,i&&"checked",s&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},l=Z(a,fR,t);return{...t,...l}},hR=W("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${U(n.edge)}`],t[`size${U(n.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${dt.thumb}`]:{width:16,height:16},[`& .${dt.switchBase}`]:{padding:4,[`&.${dt.checked}`]:{transform:"translateX(16px)"}}}}]}),mR=W(gy,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${dt.input}`]:t.input},n.color!=="default"&&t[`color${U(n.color)}`]]}})(ae(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${dt.checked}`]:{transform:"translateX(20px)"},[`&.${dt.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${dt.checked} + .${dt.track}`]:{opacity:.5},[`&.${dt.disabled} + .${dt.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${dt.input}`]:{left:"-100%",width:"300%"}})),ae(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:oe(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(Vt(["light"])).map(([t])=>({props:{color:t},style:{[`&.${dt.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:oe(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${dt.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${e.palette.mode==="light"?Gr(e.palette[t].main,.62):Vr(e.palette[t].main,.55)}`}},[`&.${dt.checked} + .${dt.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),gR=W("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(ae(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`}))),vR=W("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(ae(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),yR=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiSwitch"}),{className:o,color:i="primary",edge:s=!1,size:a="medium",sx:l,...u}=r,c={...r,color:i,edge:s,size:a},d=pR(c),m=k.jsx(vR,{className:d.thumb,ownerState:c});return k.jsxs(hR,{className:H(d.root,o),sx:l,ownerState:c,children:[k.jsx(mR,{type:"checkbox",icon:m,checkedIcon:m,ref:n,ownerState:c,...u,classes:{...d,root:d.switchBase}}),k.jsx(gR,{className:d.track,ownerState:c})]})}),Ty=w.createContext();function xR(e){return X("MuiTable",e)}Y("MuiTable",["root","stickyHeader"]);const SR=e=>{const{classes:t,stickyHeader:n}=e;return Z({root:["root",n&&"stickyHeader"]},xR,t)},wR=W("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(ae(({theme:e})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":{...e.typography.body2,padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"},variants:[{props:({ownerState:t})=>t.stickyHeader,style:{borderCollapse:"separate"}}]}))),bm="table",CR=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiTable"}),{className:o,component:i=bm,padding:s="normal",size:a="medium",stickyHeader:l=!1,...u}=r,c={...r,component:i,padding:s,size:a,stickyHeader:l},d=SR(c),m=w.useMemo(()=>({padding:s,size:a,stickyHeader:l}),[s,a,l]);return k.jsx(Ty.Provider,{value:m,children:k.jsx(wR,{as:i,role:i===bm?null:"table",ref:n,className:H(d.root,o),ownerState:c,...u})})}),au=w.createContext();function kR(e){return X("MuiTableBody",e)}Y("MuiTableBody",["root"]);const bR=e=>{const{classes:t}=e;return Z({root:["root"]},kR,t)},ER=W("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),RR={variant:"body"},Em="tbody",PR=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiTableBody"}),{className:o,component:i=Em,...s}=r,a={...r,component:i},l=bR(a);return k.jsx(au.Provider,{value:RR,children:k.jsx(ER,{className:H(l.root,o),as:i,ref:n,role:i===Em?null:"rowgroup",ownerState:a,...s})})});function TR(e){return X("MuiTableCell",e)}const $R=Y("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),MR=e=>{const{classes:t,variant:n,align:r,padding:o,size:i,stickyHeader:s}=e,a={root:["root",n,s&&"stickyHeader",r!=="inherit"&&`align${U(r)}`,o!=="normal"&&`padding${U(o)}`,`size${U(i)}`]};return Z(a,TR,t)},OR=W("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${U(n.size)}`],n.padding!=="normal"&&t[`padding${U(n.padding)}`],n.align!=="inherit"&&t[`align${U(n.align)}`],n.stickyHeader&&t.stickyHeader]}})(ae(({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid
${e.palette.mode==="light"?Gr(oe(e.palette.divider,1),.88):Vr(oe(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${$R.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:t})=>t.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]}))),Sn=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiTableCell"}),{align:o="inherit",className:i,component:s,padding:a,scope:l,size:u,sortDirection:c,variant:d,...m}=r,y=w.useContext(Ty),x=w.useContext(au),S=x&&x.variant==="head";let C;s?C=s:C=S?"th":"td";let p=l;C==="td"?p=void 0:!p&&S&&(p="col");const h=d||x&&x.variant,f={...r,align:o,component:C,padding:a||(y&&y.padding?y.padding:"normal"),size:u||(y&&y.size?y.size:"medium"),sortDirection:c,stickyHeader:h==="head"&&y&&y.stickyHeader,variant:h},g=MR(f);let b=null;return c&&(b=c==="asc"?"ascending":"descending"),k.jsx(OR,{as:C,ref:n,className:H(g.root,i),"aria-sort":b,scope:p,ownerState:f,...m})});function IR(e){return X("MuiTableContainer",e)}Y("MuiTableContainer",["root"]);const AR=e=>{const{classes:t}=e;return Z({root:["root"]},IR,t)},jR=W("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),LR=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiTableContainer"}),{className:o,component:i="div",...s}=r,a={...r,component:i},l=AR(a);return k.jsx(jR,{ref:n,as:i,className:H(l.root,o),ownerState:a,...s})});function NR(e){return X("MuiTableHead",e)}Y("MuiTableHead",["root"]);const zR=e=>{const{classes:t}=e;return Z({root:["root"]},NR,t)},BR=W("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),_R={variant:"head"},Rm="thead",DR=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiTableHead"}),{className:o,component:i=Rm,...s}=r,a={...r,component:i},l=zR(a);return k.jsx(au.Provider,{value:_R,children:k.jsx(BR,{as:i,className:H(l.root,o),ref:n,role:i===Rm?null:"rowgroup",ownerState:a,...s})})});function FR(e){return X("MuiToolbar",e)}Y("MuiToolbar",["root","gutters","regular","dense"]);const UR=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Z({root:["root",!n&&"gutters",r]},FR,t)},WR=W("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(ae(({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}]}))),Yu=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiToolbar"}),{className:o,component:i="div",disableGutters:s=!1,variant:a="regular",...l}=r,u={...r,component:i,disableGutters:s,variant:a},c=UR(u);return k.jsx(WR,{as:i,className:H(c.root,o),ref:n,ownerState:u,...l})});function HR(e){return X("MuiTableRow",e)}const Pm=Y("MuiTableRow",["root","selected","hover","head","footer"]),VR=e=>{const{classes:t,selected:n,hover:r,head:o,footer:i}=e;return Z({root:["root",n&&"selected",r&&"hover",o&&"head",i&&"footer"]},HR,t)},GR=W("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(ae(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${Pm.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Pm.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:oe(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:oe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),Tm="tr",$m=w.forwardRef(function(t,n){const r=te({props:t,name:"MuiTableRow"}),{className:o,component:i=Tm,hover:s=!1,selected:a=!1,...l}=r,u=w.useContext(au),c={...r,component:i,hover:s,selected:a,head:u&&u.variant==="head",footer:u&&u.variant==="footer"},d=VR(c);return k.jsx(GR,{as:i,ref:n,className:H(d.root,o),role:i===Tm?null:"row",ownerState:c,...l})}),KR=tt(k.jsx("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft"),QR=tt(k.jsx("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight"),Mm=tt(k.jsx("path",{d:"M9.37 5.51c-.18.64-.27 1.31-.27 1.99 0 4.08 3.32 7.4 7.4 7.4.68 0 1.35-.09 1.99-.27C17.45 17.19 14.93 19 12 19c-3.86 0-7-3.14-7-7 0-2.93 1.81-5.45 4.37-6.49M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1"}),"DarkModeOutlined"),XR=tt(k.jsx("path",{d:"M19 15v4H5v-4zm1-2H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1M7 18.5c-.82 0-1.5-.67-1.5-1.5s.68-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5M19 5v4H5V5zm1-2H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1M7 8.5c-.82 0-1.5-.67-1.5-1.5S6.18 5.5 7 5.5s1.5.68 1.5 1.5S7.83 8.5 7 8.5"}),"DnsOutlined"),YR=tt(k.jsx("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.25 2.52.77-1.28-3.52-2.09V8z"}),"HistoryOutlined"),ZR=tt(k.jsx("path",{d:"m12 5.69 5 4.5V18h-2v-6H9v6H7v-7.81zM12 3 2 12h3v8h6v-6h2v6h6v-8h3z"}),"HomeOutlined"),Om=tt(k.jsx("path",{d:"M12 9c1.65 0 3 1.35 3 3s-1.35 3-3 3-3-1.35-3-3 1.35-3 3-3m0-2c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z"}),"LightModeOutlined"),Im=tt(k.jsx("path",{d:"M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16.01H3V4.99h18zM8 16h2.5l1.5 1.5 1.5-1.5H16v-2.5l1.5-1.5-1.5-1.5V8h-2.5L12 6.5 10.5 8H8v2.5L6.5 12 8 13.5zm4-7c1.66 0 3 1.34 3 3s-1.34 3-3 3z"}),"SettingsBrightnessOutlined"),$y=w.createContext(void 0),qR=()=>{const e=w.useContext($y);if(e===void 0)throw new Error("useSnackbar must be used within a SnackbarProvider");return e};var My=(e=>(e.Config="app-config",e))(My||{});const tr={Error:{NotImplemented:"This feature is not implemented"},Menu:{Header:{Themes:"Themes",Settings:"Settings",Profile:"Profile",Logout:"Logout"},Drawer:{Dashboard:"Dashboard",Workers:"Workers",QueryHistory:"Query History"}}},Oy="data:image/svg+xml,%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2042.1%2062.45'%3e%3cdefs%3e%3cstyle%3e.cls-1{fill:%23fff;}.cls-2{fill:%23dd00a1;}.cls-3{fill:%23f9d8d2;}.cls-4{fill:%2310110e;}.cls-5{fill:%23e5e5e5;}.cls-6{fill:%238accce;opacity:0.2;isolation:isolate;}.cls-7{fill:%23515151;}%3c/style%3e%3c/defs%3e%3cpath%20class='cls-1'%20d='M14.24,55.36c.92-.61-1.49-.38-1.69-.79a15,15,0,0,1-2.82-.51C8,53.62,3.9,50.85,3.47,48.25s0-7.65,1.83-10.61A17,17,0,0,1,9.73,33S6.16,24.51,5.85,18.1,6,.21,10.24,0s3.49,10.48,2.82,17.43a89.47,89.47,0,0,0-.21,13.89,19.45,19.45,0,0,1,5.51-.92,21.2,21.2,0,0,1,4.9.46S24.58,21,29,14.86,38,2.4,41,4.19s-.81,8.19-3.46,11.52-7.25,8.33-8.78,11a47.26,47.26,0,0,0-2.65,5.51,15,15,0,0,1,6.4,6.32c2.07,4.28,2.27,9.59,1.15,11.83a8.1,8.1,0,0,1-5.61,4c-1.32.1-6.91,1.48-6.91,1.48Z'%20transform='translate(0%200)'/%3e%3cpath%20class='cls-2'%20d='M24,30.94s3.33-8.7,6.32-13.6,7-8.59,8.26-7.84S36,14.85,32.66,19.32a112.3,112.3,0,0,0-7.44,12.37Z'%20transform='translate(0%200)'/%3e%3cpath%20class='cls-2'%20d='M10.64,32.44l.95-.75s-.13-8.7,0-14S12,5.78,10.23,5.85,7.23,11,7.92,18.23A86.92,86.92,0,0,0,10.64,32.44Z'%20transform='translate(0%200)'/%3e%3ccircle%20class='cls-3'%20cx='7.65'%20cy='49.17'%20r='1.94'/%3e%3ccircle%20class='cls-3'%20cx='30.57'%20cy='49.17'%20r='1.94'/%3e%3cpath%20class='cls-4'%20d='M22.33,49a.19.19,0,0,0-.25,0h0s-.57,1-1.41,1.06a2.11,2.11,0,0,1-1.5-.7V48c.54-.29,1.41-1.19,1.41-1.5a1.4,1.4,0,0,0-1.5-1.09c-1,0-1.7.65-1.7,1.19s1.1,1.23,1.41,1.44v1.45a1.77,1.77,0,0,1-1.3.7c-.8,0-1.4-1.08-1.4-1.09a.19.19,0,0,0-.25-.08h0a.18.18,0,0,0-.08.23h0c0,.06.71,1.29,1.73,1.29a2.07,2.07,0,0,0,1.5-.72,2.46,2.46,0,0,0,1.59.73h.14a2.47,2.47,0,0,0,1.71-1.25.18.18,0,0,0,0-.25A.24.24,0,0,0,22.33,49Z'%20transform='translate(0%200)'/%3e%3cpath%20class='cls-5'%20d='M9.73,33S7,26,6.42,22.29s-1-9.78-.3-13.85A46.3,46.3,0,0,1,7.31,2.85S6,12.34,6.49,16.49,9.73,33,9.73,33Z'%20transform='translate(0%200)'/%3e%3cpath%20class='cls-5'%20d='M23.26,30.85s2-10.59,4.91-14.76S34.73,6.9,36.52,5.62l1.82-1.28S31,12,28.17,18.34,23.26,30.85,23.26,30.85Z'%20transform='translate(0%200)'/%3e%3cpath%20class='cls-4'%20d='M11.6,42.85a1.52,1.52,0,1,0,1.52,1.52h0a1.52,1.52,0,0,0-1.5-1.52Zm.4,1.41a.42.42,0,1,1,.42-.42h0a.42.42,0,0,1-.41.43h0Z'%20transform='translate(0%200)'/%3e%3cpath%20class='cls-4'%20d='M26.55,42.85a1.52,1.52,0,1,0,1.51,1.53h0a1.52,1.52,0,0,0-1.51-1.53ZM27,44.26a.42.42,0,0,1-.43-.41h0a.43.43,0,0,1,.41-.43.42.42,0,0,1,.43.41h0a.41.41,0,0,1-.4.42h0Z'%20transform='translate(0%200)'/%3e%3cellipse%20class='cls-6'%20cx='19.36'%20cy='44.95'%20rx='14.1'%20ry='10.16'/%3e%3cpath%20class='cls-1'%20d='M36.43,39.3V32.58a2.46,2.46,0,0,0,1.91-2.29,2.65,2.65,0,0,0-5.27,0A2.48,2.48,0,0,0,35,32.58v6.55h-.2c-2-6.94-7.91-11.28-15.63-11.28S5.51,32.15,3.55,39.13H2.88A2.76,2.76,0,0,0,0,41.71v5.14a2.75,2.75,0,0,0,2.88,2.59h.91a13,13,0,0,0,3.59,5.11L6.09,55.72A.78.78,0,0,0,6,56.82l0,0H6c2.93,3.53,7.72,5.6,13.13,5.6s10.21-2,13.14-5.6a.79.79,0,0,0-.09-1.11h0l-1.3-1.19a13,13,0,0,0,3.59-5.08h1a2.74,2.74,0,0,0,2.87-2.6V41.71A2.58,2.58,0,0,0,36.43,39.3Zm-17.26-4c7.14,0,12.94,4.7,12.94,10.47,0,6.25-6.51,9-12.94,9S6.23,52,6.23,45.72C6.23,40,12,35.25,19.17,35.25Z'%20transform='translate(0%200)'/%3e%3cpath%20class='cls-7'%20d='M36.91,45.16H35v-1a18.61,18.61,0,0,0-.39-3.79h.82a1.35,1.35,0,0,1,1.44,1.25h0Z'%20transform='translate(0%200)'/%3e%3cpath%20class='cls-7'%20d='M35.47,48.18h-1A16.13,16.13,0,0,0,34.89,46h2v.85a1.34,1.34,0,0,1-1.36,1.32h-.06Z'%20transform='translate(0%200)'/%3e%3cpath%20class='cls-7'%20d='M19.17,61.1c-4.79,0-9.06-1.72-11.74-4.78l1.3-1.21a17.87,17.87,0,0,0,10.4,3,17.73,17.73,0,0,0,10.4-3l1.35,1.21C28.23,59.38,24,61.1,19.17,61.1Z'%20transform='translate(0%200)'/%3e%3cpath%20class='cls-7'%20d='M2.88,40.42h.85a19.33,19.33,0,0,0-.38,3.79,8.34,8.34,0,0,0,0,1H1.49v-3.5a1.27,1.27,0,0,1,1.24-1.29Z'%20transform='translate(0%200)'/%3e%3cpath%20d='M19.17,34.39a17.66,17.66,0,0,0-4.79.69V29.85a17.23,17.23,0,0,1,4.79-.64,17.3,17.3,0,0,1,4.8.64v5.26A15.91,15.91,0,0,0,19.17,34.39Z'%20transform='translate(0%200)'/%3e%3cpath%20class='cls-7'%20d='M1.44,46h2a17.56,17.56,0,0,0,.43,2.16h-1a1.35,1.35,0,0,1-1.44-1.25h0V46Z'%20transform='translate(0%200)'/%3e%3cellipse%20class='cls-7'%20cx='35.71'%20cy='30.29'%20rx='1.2'%20ry='1.08'/%3e%3c/svg%3e",JR=()=>{const e=(n,r,o,i,s)=>({name:n,calories:r,fat:o,carbs:i,protein:s}),t=[e("Frozen yoghurt",159,6,24,4),e("Ice cream sandwich",237,9,37,4.3),e("Eclair",262,16,24,6)];return k.jsxs(k.Fragment,{children:[k.jsx(bn,{sx:{pb:2},children:k.jsx(pt,{variant:"h4",children:"Dashboard"})}),k.jsxs(st,{container:!0,children:[k.jsxs(st,{sx:{py:1},size:12,container:!0,children:[k.jsx(st,{size:3,children:"Buttons"}),k.jsxs(Xu,{direction:"row",spacing:2,children:[k.jsx(Yn,{variant:"contained",children:"Contained"}),k.jsx(Yn,{variant:"outlined",children:"Outlined"}),k.jsx(Yn,{variant:"contained",disabled:!0,children:"Disabled"})]})]}),k.jsxs(st,{sx:{py:1},size:12,container:!0,children:[k.jsx(st,{size:3,children:"Secondary Button"}),k.jsxs(Xu,{direction:"row",spacing:2,children:[k.jsx(Yn,{color:"secondary",variant:"contained",children:"Contained"}),k.jsx(Yn,{color:"secondary",variant:"outlined",children:"Outlined"})]})]}),k.jsxs(st,{sx:{py:1},size:12,container:!0,children:[k.jsx(st,{size:3,children:"Colored Button"}),k.jsxs(Xu,{direction:"row",spacing:2,children:[k.jsx(Yn,{variant:"contained",color:"success",children:"Success"}),k.jsx(Yn,{variant:"contained",color:"error",children:"Error"})]})]}),k.jsxs(st,{sx:{py:1},size:12,container:!0,children:[k.jsx(st,{size:3,children:"Link"}),k.jsx(ky,{href:"https://trino.io",children:"Trino Website"})]}),k.jsxs(st,{sx:{py:1},size:12,container:!0,children:[k.jsx(st,{size:3,children:"Switch"}),k.jsx(yR,{})]}),k.jsxs(st,{sx:{py:1},size:12,container:!0,children:[k.jsx(st,{size:3,children:"Checkbox"}),k.jsx(C4,{defaultChecked:!0})]})]}),k.jsx(LR,{component:ii,children:k.jsxs(CR,{sx:{minWidth:650},"aria-label":"simple table",children:[k.jsx(DR,{children:k.jsxs($m,{children:[k.jsx(Sn,{children:"Dessert (100g serving)"}),k.jsx(Sn,{align:"right",children:"Calories"}),k.jsx(Sn,{align:"right",children:"Fat (g)"}),k.jsx(Sn,{align:"right",children:"Carbs (g)"}),k.jsx(Sn,{align:"right",children:"Protein (g)"})]})}),k.jsx(PR,{children:t.map(n=>k.jsxs($m,{sx:{"&:last-child td, &:last-child th":{border:0}},children:[k.jsx(Sn,{component:"th",scope:"row",children:n.name}),k.jsx(Sn,{align:"right",children:n.calories}),k.jsx(Sn,{align:"right",children:n.fat}),k.jsx(Sn,{align:"right",children:n.carbs}),k.jsx(Sn,{align:"right",children:n.protein})]},n.name))})]})})]})},eP=()=>k.jsxs(k.Fragment,{children:[k.jsx(bn,{sx:{pb:2},children:k.jsx(pt,{variant:"h4",children:"Workers"})}),k.jsx(pt,{paragraph:!0,children:"Placeholder for Workers"})]}),tP=()=>k.jsxs(k.Fragment,{children:[k.jsx(bn,{sx:{pb:2},children:k.jsx(pt,{variant:"h4",children:"Query History"})}),k.jsx(pt,{paragraph:!0,children:"Placeholder for Query History"})]}),Vf=[{itemKey:"dashboard",text:tr.Menu.Drawer.Dashboard,icon:k.jsx(ZR,{}),routeProps:{path:"/dashboard",element:k.jsx(JR,{})}},{itemKey:"workers",text:tr.Menu.Drawer.Workers,icon:k.jsx(XR,{}),routeProps:{path:"/workers",element:k.jsx(eP,{})}},{itemKey:"query-history",text:tr.Menu.Drawer.QueryHistory,icon:k.jsx(YR,{}),routeProps:{path:"/query-history",element:k.jsx(tP,{})}}],nP=Vf.reduce((e,t)=>(t.itemKey&&t.routeProps&&t.routeProps.path&&(e[t.itemKey]=t,e[t.routeProps.path]=t),e),{}),rP={BASE_URL:"/ui/preview",DEV:!1,MODE:"production",PROD:!0,SSR:!1},Am=e=>{let t;const n=new Set,r=(c,d)=>{const m=typeof c=="function"?c(t):c;if(!Object.is(m,t)){const y=t;t=d??(typeof m!="object"||m===null)?m:Object.assign({},t,m),n.forEach(x=>x(t,y))}},o=()=>t,l={setState:r,getState:o,getInitialState:()=>u,subscribe:c=>(n.add(c),()=>n.delete(c)),destroy:()=>{(rP?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},u=t=e(r,o,l);return l},oP=e=>e?Am(e):Am;var Iy={exports:{}},Ay={},jy={exports:{}},Ly={};/**
* @license React
* use-sync-external-store-shim.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Yo=w;function iP(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var sP=typeof Object.is=="function"?Object.is:iP,aP=Yo.useState,lP=Yo.useEffect,uP=Yo.useLayoutEffect,cP=Yo.useDebugValue;function dP(e,t){var n=t(),r=aP({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return uP(function(){o.value=n,o.getSnapshot=t,Zu(o)&&i({inst:o})},[e,n,t]),lP(function(){return Zu(o)&&i({inst:o}),e(function(){Zu(o)&&i({inst:o})})},[e]),cP(n),n}function Zu(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sP(e,n)}catch{return!0}}function fP(e,t){return t()}var pP=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?fP:dP;Ly.useSyncExternalStore=Yo.useSyncExternalStore!==void 0?Yo.useSyncExternalStore:pP;jy.exports=Ly;var hP=jy.exports;/**
* @license React
* use-sync-external-store-shim/with-selector.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var lu=w,mP=hP;function gP(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var vP=typeof Object.is=="function"?Object.is:gP,yP=mP.useSyncExternalStore,xP=lu.useRef,SP=lu.useEffect,wP=lu.useMemo,CP=lu.useDebugValue;Ay.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=xP(null);if(i.current===null){var s={hasValue:!1,value:null};i.current=s}else s=i.current;i=wP(function(){function l(y){if(!u){if(u=!0,c=y,y=r(y),o!==void 0&&s.hasValue){var x=s.value;if(o(x,y))return d=x}return d=y}if(x=d,vP(c,y))return x;var S=r(y);return o!==void 0&&o(x,S)?x:(c=y,d=S)}var u=!1,c,d,m=n===void 0?null:n;return[function(){return l(t())},m===null?void 0:function(){return l(m())}]},[t,n,r,o]);var a=yP(e,i[0],i[1]);return SP(function(){s.hasValue=!0,s.value=a},[a]),CP(a),a};Iy.exports=Ay;var kP=Iy.exports;const bP=dd(kP),Ny={BASE_URL:"/ui/preview",DEV:!1,MODE:"production",PROD:!0,SSR:!1},{useDebugValue:EP}=Ut,{useSyncExternalStoreWithSelector:RP}=bP;let jm=!1;const PP=e=>e;function TP(e,t=PP,n){(Ny?"production":void 0)!=="production"&&n&&!jm&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),jm=!0);const r=RP(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return EP(r),r}const $P=e=>{(Ny?"production":void 0)!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t=typeof e=="function"?oP(e):e,n=(r,o)=>TP(t,r,o);return Object.assign(n,t),n},MP=e=>$P,OP={BASE_URL:"/ui/preview",DEV:!1,MODE:"production",PROD:!0,SSR:!1};function IP(e,t){let n;try{n=e()}catch{return}return{getItem:o=>{var i;const s=l=>l===null?null:JSON.parse(l,void 0),a=(i=n.getItem(o))!=null?i:null;return a instanceof Promise?a.then(s):s(a)},setItem:(o,i)=>n.setItem(o,JSON.stringify(i,void 0)),removeItem:o=>n.removeItem(o)}}const ms=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then(r){return ms(r)(n)},catch(r){return this}}}catch(n){return{then(r){return this},catch(r){return ms(r)(n)}}}},AP=(e,t)=>(n,r,o)=>{let i={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:C=>C,version:0,merge:(C,p)=>({...p,...C}),...t},s=!1;const a=new Set,l=new Set;let u;try{u=i.getStorage()}catch{}if(!u)return e((...C)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...C)},r,o);const c=ms(i.serialize),d=()=>{const C=i.partialize({...r()});let p;const h=c({state:C,version:i.version}).then(f=>u.setItem(i.name,f)).catch(f=>{p=f});if(p)throw p;return h},m=o.setState;o.setState=(C,p)=>{m(C,p),d()};const y=e((...C)=>{n(...C),d()},r,o);let x;const S=()=>{var C;if(!u)return;s=!1,a.forEach(h=>h(r()));const p=((C=i.onRehydrateStorage)==null?void 0:C.call(i,r()))||void 0;return ms(u.getItem.bind(u))(i.name).then(h=>{if(h)return i.deserialize(h)}).then(h=>{if(h)if(typeof h.version=="number"&&h.version!==i.version){if(i.migrate)return i.migrate(h.state,h.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return h.state}).then(h=>{var f;return x=i.merge(h,(f=r())!=null?f:y),n(x,!0),d()}).then(()=>{p==null||p(x,void 0),s=!0,l.forEach(h=>h(x))}).catch(h=>{p==null||p(void 0,h)})};return o.persist={setOptions:C=>{i={...i,...C},C.getStorage&&(u=C.getStorage())},clearStorage:()=>{u==null||u.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>S(),hasHydrated:()=>s,onHydrate:C=>(a.add(C),()=>{a.delete(C)}),onFinishHydration:C=>(l.add(C),()=>{l.delete(C)})},S(),x||y},jP=(e,t)=>(n,r,o)=>{let i={storage:IP(()=>localStorage),partialize:S=>S,version:0,merge:(S,C)=>({...C,...S}),...t},s=!1;const a=new Set,l=new Set;let u=i.storage;if(!u)return e((...S)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...S)},r,o);const c=()=>{const S=i.partialize({...r()});return u.setItem(i.name,{state:S,version:i.version})},d=o.setState;o.setState=(S,C)=>{d(S,C),c()};const m=e((...S)=>{n(...S),c()},r,o);o.getInitialState=()=>m;let y;const x=()=>{var S,C;if(!u)return;s=!1,a.forEach(h=>{var f;return h((f=r())!=null?f:m)});const p=((C=i.onRehydrateStorage)==null?void 0:C.call(i,(S=r())!=null?S:m))||void 0;return ms(u.getItem.bind(u))(i.name).then(h=>{if(h)if(typeof h.version=="number"&&h.version!==i.version){if(i.migrate)return i.migrate(h.state,h.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return h.state}).then(h=>{var f;return y=i.merge(h,(f=r())!=null?f:m),n(y,!0),c()}).then(()=>{p==null||p(y,void 0),y=r(),s=!0,l.forEach(h=>h(y))}).catch(h=>{p==null||p(void 0,h)})};return o.persist={setOptions:S=>{i={...i,...S},S.storage&&(u=S.storage)},clearStorage:()=>{u==null||u.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>x(),hasHydrated:()=>s,onHydrate:S=>(a.add(S),()=>{a.delete(S)}),onFinishHydration:S=>(l.add(S),()=>{l.delete(S)})},i.skipHydration||x(),y||m},LP=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?((OP?"production":void 0)!=="production"&&console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),AP(e,t)):jP(e,t),NP=LP;var rn=(e=>(e.Auto="auto",e.Dark="dark",e.Light="light",e))(rn||{});const Lm={avatar:"",theme:"auto"},zy=MP()(NP((e,t)=>({...Lm,reset(){e(()=>({...Lm}))},update(n){const r={...t()};n(r),e(()=>r)}}),{name:My.Config,version:1,migrate(e,t){return e}})),Nm=(e,t)=>({width:t,transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen}),overflowX:"hidden"}),zm=e=>({transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),overflowX:"hidden",width:`calc(${e.spacing(7)} + 1px)`,[e.breakpoints.up("sm")]:{width:`calc(${e.spacing(8)} + 1px)`}}),zP=W("div")(({theme:e})=>({display:"flex",flexGrow:0,alignItems:"center",justifyContent:"flex-end",padding:e.spacing(0,1.5)})),BP=W(r5)(({theme:e,open:t,width:n})=>({width:n,flexShrink:0,whiteSpace:"nowrap",boxSizing:"border-box",...t&&{...Nm(e,n),"& .MuiDrawer-paper":Nm(e,n)},...!t&&{...zm(e),"& .MuiDrawer-paper":zm(e)}})),_P=e=>{const t=zy(),n=ti(),{showSnackbar:r}=qR(),[o,i]=w.useState(!0),[s,a]=w.useState(n.pathname.substring(n.pathname.lastIndexOf("/")+1)),[l,u]=w.useState(null),[c,d]=w.useState(null);w.useEffect(()=>{const g=nP[n.pathname];g&&g.itemKey!=null&&s!==g.itemKey&&a(g.itemKey)},[n,s]);const m=()=>{r(tr.Error.NotImplemented,"error")},y=g=>{d(g.currentTarget)},x=()=>{d(null)},S=g=>{u(g.currentTarget)},C=()=>{u(null)},p=g=>{t.update(b=>b.theme=g)},h=()=>{i(!o)},f=[{key:"profile",caption:tr.Menu.Header.Profile,onClick:()=>{x()}},{key:"logout",caption:tr.Menu.Header.Logout,onClick:()=>{x(),m()}}];return k.jsxs(bn,{sx:{display:"flex"},children:[k.jsx(xy,{}),k.jsx(wE,{position:"fixed",sx:{zIndex:g=>g.zIndex.drawer+1},children:k.jsxs(Yu,{children:[k.jsx(bn,{component:"img",sx:{height:50},alt:"logo",src:Oy}),k.jsx(pt,{variant:"h6",noWrap:!0,component:"a",href:"/",sx:{mx:2,display:"flex",flexGrow:1,fontFamily:"roboto",fontWeight:400,color:"inherit",textDecoration:"none"},children:"Trino"}),k.jsxs(bn,{sx:{flexGrow:0},children:[k.jsx(km,{title:tr.Menu.Header.Themes,children:k.jsx(wa,{sx:{mx:2,color:"inherit"},onClick:S,children:t.theme===rn.Auto?k.jsx(Im,{}):t.theme===rn.Light?k.jsx(Om,{}):t.theme===rn.Dark?k.jsx(Mm,{}):null})}),k.jsx(xm,{sx:{mt:"45px"},id:"menu-appbar",anchorEl:l,anchorOrigin:{vertical:"top",horizontal:"right"},keepMounted:!0,transformOrigin:{vertical:"top",horizontal:"right"},open:!!l,onClose:C,children:Object.keys(rn).map(g=>{const b=rn[g];return k.jsxs(Sm,{onClick:()=>p(b),selected:b===t.theme,children:[k.jsx(hm,{children:b===rn.Auto?k.jsx(Im,{}):b===rn.Light?k.jsx(Om,{}):b===rn.Dark?k.jsx(Mm,{}):null}),k.jsx(pt,{textAlign:"center",children:g})]},g)})})]}),k.jsxs(bn,{sx:{flexGrow:0},children:[k.jsx(km,{title:tr.Menu.Header.Settings,children:k.jsx(wa,{onClick:y,sx:{p:0},children:k.jsx(G3,{src:t.avatar})})}),k.jsx(xm,{sx:{mt:"45px"},id:"menu-appbar",anchorEl:c,anchorOrigin:{vertical:"top",horizontal:"right"},keepMounted:!0,transformOrigin:{vertical:"top",horizontal:"right"},open:!!c,onClose:x,children:f.map(g=>k.jsx(Sm,{onClick:g.onClick,children:k.jsx(pt,{textAlign:"center",children:g.caption})},g.key))})]})]})}),k.jsxs(BP,{variant:"permanent",open:o,width:240,children:[k.jsx(Yu,{}),k.jsx(bn,{sx:{overflowX:"hidden",flexGrow:1},children:k.jsx(by,{children:Vf.map(g=>k.jsx(R5,{disablePadding:!0,children:k.jsxs(y5,{component:mw,to:g.routeProps.path,selected:g.itemKey===s,children:[k.jsx(hm,{children:g.icon}),k.jsx(A5,{primary:g.text})]},g.itemKey)},g.text))})}),k.jsx(zP,{children:k.jsx(wa,{onClick:h,children:o?k.jsx(KR,{}):k.jsx(QR,{})})})]}),k.jsxs(bn,{component:"main",sx:{flexGrow:1,p:3},children:[k.jsx(Yu,{}),k.jsx(vy,{maxWidth:"md",children:e.children})]})]})},DP=({children:e})=>{const[t,n]=w.useState({open:!1,message:"",severity:"info"}),r=w.useCallback((i,s="error")=>{n({open:!0,message:i,severity:s})},[]),o=(i,s)=>{s!=="clickaway"&&n(a=>({...a,open:!1}))};return k.jsxs($y.Provider,{value:{showSnackbar:r},children:[e,k.jsx(iR,{open:t.open,autoHideDuration:6e3,onClose:o,anchorOrigin:{vertical:"top",horizontal:"center"},children:k.jsx(fE,{onClose:o,severity:t.severity,sx:{width:"100%"},children:t.message})})]})},Bm=Es({palette:{mode:"light",primary:{main:"#0b1367"},secondary:{main:"#f50057"}},components:{MuiLink:{styleOverrides:{root:{color:"#f50057",textDecoration:"none"}}}}}),_m=Es({palette:{mode:"dark"},components:{MuiLink:{styleOverrides:{root:{color:"#dd33fa",textDecoration:"none"}}}}}),FP=()=>{const e=zy(),t=NC("(prefers-color-scheme: dark)"),n=()=>e.theme===rn.Auto?t?_m:Bm:e.theme===rn.Dark?_m:Bm;return k.jsxs(k.Fragment,{children:[k.jsx(xy,{}),k.jsx(yb,{theme:n(),children:k.jsx(DP,{children:k.jsx(fw,{children:k.jsx(UP,{})})})})]})},UP=()=>k.jsx(_P,{children:k.jsxs(iw,{children:[Vf.flatMap(e=>[w.createElement(ga,{...e.routeProps,key:e.itemKey})]),k.jsx(ga,{path:"/",element:k.jsx(rw,{to:"/dashboard"})}),k.jsx(ga,{path:"*",element:k.jsx(WP,{})},"*")]})}),WP=()=>k.jsx(vy,{maxWidth:"md",children:k.jsxs(st,{container:!0,spacing:2,children:[k.jsx(st,{size:12,spacing:{md:2},children:k.jsx(bn,{component:"img",sx:{height:140},alt:"logo",src:Oy})}),k.jsxs(st,{size:12,spacing:{md:10},children:[k.jsx(pt,{variant:"h3",children:"404"}),k.jsx(pt,{paragraph:!0,children:"The page you’re looking for doesn’t exist."}),k.jsx(Yn,{variant:"contained",component:ky,href:"/",children:"Back Home"})]})]})});qu.createRoot(document.getElementById("root")).render(k.jsx(Ut.StrictMode,{children:k.jsx(FP,{})}));
© 2015 - 2025 Weber Informatics LLC | Privacy Policy