animabot-chatbot 1.1.4 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chatbot.umd.js +74 -35
- package/package.json +3 -2
package/dist/chatbot.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(rn){typeof define=="function"&&define.amd?define(rn):rn()})(function(){"use strict";var eP=Object.defineProperty;var tP=(rn,on,pr)=>on in rn?eP(rn,on,{enumerable:!0,configurable:!0,writable:!0,value:pr}):rn[on]=pr;var cs=(rn,on,pr)=>tP(rn,typeof on!="symbol"?on+"":on,pr);function rn(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function on(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var pr={exports:{}},ds={},Lf={exports:{}},ne={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var Do=Symbol.for("react.element"),sv=Symbol.for("react.portal"),lv=Symbol.for("react.fragment"),av=Symbol.for("react.strict_mode"),uv=Symbol.for("react.profiler"),cv=Symbol.for("react.provider"),dv=Symbol.for("react.context"),fv=Symbol.for("react.forward_ref"),pv=Symbol.for("react.suspense"),hv=Symbol.for("react.memo"),mv=Symbol.for("react.lazy"),jf=Symbol.iterator;function gv(e){return e===null||typeof e!="object"?null:(e=jf&&e[jf]||e["@@iterator"],typeof e=="function"?e:null)}var Df={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Uf=Object.assign,Hf={};function Dr(e,t,n){this.props=e,this.context=t,this.refs=Hf,this.updater=n||Df}Dr.prototype.isReactComponent={},Dr.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")},Dr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Wf(){}Wf.prototype=Dr.prototype;function Xa(e,t,n){this.props=e,this.context=t,this.refs=Hf,this.updater=n||Df}var Ya=Xa.prototype=new Wf;Ya.constructor=Xa,Uf(Ya,Dr.prototype),Ya.isPureReactComponent=!0;var Vf=Array.isArray,Kf=Object.prototype.hasOwnProperty,Za={current:null},qf={key:!0,ref:!0,__self:!0,__source:!0};function Gf(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)Kf.call(t,r)&&!qf.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1<l){for(var a=Array(l),u=0;u<l;u++)a[u]=arguments[u+2];o.children=a}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)o[r]===void 0&&(o[r]=l[r]);return{$$typeof:Do,type:e,key:i,ref:s,props:o,_owner:Za.current}}function yv(e,t){return{$$typeof:Do,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Ja(e){return typeof e=="object"&&e!==null&&e.$$typeof===Do}function vv(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Qf=/\/+/g;function eu(e,t){return typeof e=="object"&&e!==null&&e.key!=null?vv(""+e.key):t.toString(36)}function fs(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Do:case sv:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+eu(s,0):r,Vf(o)?(n="",e!=null&&(n=e.replace(Qf,"$&/")+"/"),fs(o,t,n,"",function(u){return u})):o!=null&&(Ja(o)&&(o=yv(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(Qf,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",Vf(e))for(var l=0;l<e.length;l++){i=e[l];var a=r+eu(i,l);s+=fs(i,t,n,a,o)}else if(a=gv(e),typeof a=="function")for(e=a.call(e),l=0;!(i=e.next()).done;)i=i.value,a=r+eu(i,l++),s+=fs(i,t,n,a,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function ps(e,t,n){if(e==null)return e;var r=[],o=0;return fs(e,r,"","",function(i){return t.call(n,i,o++)}),r}function xv(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var dt={current:null},hs={transition:null},Sv={ReactCurrentDispatcher:dt,ReactCurrentBatchConfig:hs,ReactCurrentOwner:Za};function Xf(){throw Error("act(...) is not supported in production builds of React.")}ne.Children={map:ps,forEach:function(e,t,n){ps(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ps(e,function(){t++}),t},toArray:function(e){return ps(e,function(t){return t})||[]},only:function(e){if(!Ja(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},ne.Component=Dr,ne.Fragment=lv,ne.Profiler=uv,ne.PureComponent=Xa,ne.StrictMode=av,ne.Suspense=pv,ne.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Sv,ne.act=Xf,ne.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Uf({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=Za.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(a in t)Kf.call(t,a)&&!qf.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&l!==void 0?l[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){l=Array(a);for(var u=0;u<a;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:Do,type:e.type,key:o,ref:i,props:r,_owner:s}},ne.createContext=function(e){return e={$$typeof:dv,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:cv,_context:e},e.Consumer=e},ne.createElement=Gf,ne.createFactory=function(e){var t=Gf.bind(null,e);return t.type=e,t},ne.createRef=function(){return{current:null}},ne.forwardRef=function(e){return{$$typeof:fv,render:e}},ne.isValidElement=Ja,ne.lazy=function(e){return{$$typeof:mv,_payload:{_status:-1,_result:e},_init:xv}},ne.memo=function(e,t){return{$$typeof:hv,type:e,compare:t===void 0?null:t}},ne.startTransition=function(e){var t=hs.transition;hs.transition={};try{e()}finally{hs.transition=t}},ne.unstable_act=Xf,ne.useCallback=function(e,t){return dt.current.useCallback(e,t)},ne.useContext=function(e){return dt.current.useContext(e)},ne.useDebugValue=function(){},ne.useDeferredValue=function(e){return dt.current.useDeferredValue(e)},ne.useEffect=function(e,t){return dt.current.useEffect(e,t)},ne.useId=function(){return dt.current.useId()},ne.useImperativeHandle=function(e,t,n){return dt.current.useImperativeHandle(e,t,n)},ne.useInsertionEffect=function(e,t){return dt.current.useInsertionEffect(e,t)},ne.useLayoutEffect=function(e,t){return dt.current.useLayoutEffect(e,t)},ne.useMemo=function(e,t){return dt.current.useMemo(e,t)},ne.useReducer=function(e,t,n){return dt.current.useReducer(e,t,n)},ne.useRef=function(e){return dt.current.useRef(e)},ne.useState=function(e){return dt.current.useState(e)},ne.useSyncExternalStore=function(e,t,n){return dt.current.useSyncExternalStore(e,t,n)},ne.useTransition=function(){return dt.current.useTransition()},ne.version="18.3.1",Lf.exports=ne;var b=Lf.exports;const Kt=on(b),tu=rn({__proto__:null,default:Kt},[b]);/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.production.min.js
|
|
12
12
|
*
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var
|
|
17
|
+
*/var wv=b,bv=Symbol.for("react.element"),Cv=Symbol.for("react.fragment"),kv=Object.prototype.hasOwnProperty,Ev=wv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Rv={key:!0,ref:!0,__self:!0,__source:!0};function Yf(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)kv.call(t,r)&&!Rv.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:bv,type:e,key:i,ref:s,props:o,_owner:Ev.current}}ds.Fragment=Cv,ds.jsx=Yf,ds.jsxs=Yf,pr.exports=ds;var E=pr.exports,nu={},Zf={exports:{}},Et={},Jf={exports:{}},ep={};/**
|
|
18
18
|
* @license React
|
|
19
19
|
* scheduler.production.min.js
|
|
20
20
|
*
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
*
|
|
23
23
|
* This source code is licensed under the MIT license found in the
|
|
24
24
|
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/(function(e){function t(
|
|
25
|
+
*/(function(e){function t(I,B){var U=I.length;I.push(B);e:for(;0<U;){var Q=U-1>>>1,te=I[Q];if(0<o(te,B))I[Q]=B,I[U]=te,U=Q;else break e}}function n(I){return I.length===0?null:I[0]}function r(I){if(I.length===0)return null;var B=I[0],U=I.pop();if(U!==B){I[0]=U;e:for(var Q=0,te=I.length,ee=te>>>1;Q<ee;){var Z=2*(Q+1)-1,ve=I[Z],xe=Z+1,Be=I[xe];if(0>o(ve,U))xe<te&&0>o(Be,ve)?(I[Q]=Be,I[xe]=U,Q=xe):(I[Q]=ve,I[Z]=U,Q=Z);else if(xe<te&&0>o(Be,U))I[Q]=Be,I[xe]=U,Q=xe;else break e}}return B}function o(I,B){var U=I.sortIndex-B.sortIndex;return U!==0?U:I.id-B.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var a=[],u=[],c=1,d=null,h=3,x=!1,p=!1,v=!1,w=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,g=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(I){for(var B=n(u);B!==null;){if(B.callback===null)r(u);else if(B.startTime<=I)r(u),B.sortIndex=B.expirationTime,t(a,B);else break;B=n(u)}}function S(I){if(v=!1,f(I),!p)if(n(a)!==null)p=!0,_(C);else{var B=n(u);B!==null&&j(S,B.startTime-I)}}function C(I,B){p=!1,v&&(v=!1,m(P),P=-1),x=!0;var U=h;try{for(f(B),d=n(a);d!==null&&(!(d.expirationTime>B)||I&&!O());){var Q=d.callback;if(typeof Q=="function"){d.callback=null,h=d.priorityLevel;var te=Q(d.expirationTime<=B);B=e.unstable_now(),typeof te=="function"?d.callback=te:d===n(a)&&r(a),f(B)}else r(a);d=n(a)}if(d!==null)var ee=!0;else{var Z=n(u);Z!==null&&j(S,Z.startTime-B),ee=!1}return ee}finally{d=null,h=U,x=!1}}var R=!1,T=null,P=-1,y=5,k=-1;function O(){return!(e.unstable_now()-k<y)}function N(){if(T!==null){var I=e.unstable_now();k=I;var B=!0;try{B=T(!0,I)}finally{B?M():(R=!1,T=null)}}else R=!1}var M;if(typeof g=="function")M=function(){g(N)};else if(typeof MessageChannel<"u"){var z=new MessageChannel,L=z.port2;z.port1.onmessage=N,M=function(){L.postMessage(null)}}else M=function(){w(N,0)};function _(I){T=I,R||(R=!0,M())}function j(I,B){P=w(function(){I(e.unstable_now())},B)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(I){I.callback=null},e.unstable_continueExecution=function(){p||x||(p=!0,_(C))},e.unstable_forceFrameRate=function(I){0>I||125<I?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):y=0<I?Math.floor(1e3/I):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(I){switch(h){case 1:case 2:case 3:var B=3;break;default:B=h}var U=h;h=B;try{return I()}finally{h=U}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(I,B){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var U=h;h=I;try{return B()}finally{h=U}},e.unstable_scheduleCallback=function(I,B,U){var Q=e.unstable_now();switch(typeof U=="object"&&U!==null?(U=U.delay,U=typeof U=="number"&&0<U?Q+U:Q):U=Q,I){case 1:var te=-1;break;case 2:te=250;break;case 5:te=1073741823;break;case 4:te=1e4;break;default:te=5e3}return te=U+te,I={id:c++,callback:B,priorityLevel:I,startTime:U,expirationTime:te,sortIndex:-1},U>Q?(I.sortIndex=U,t(u,I),n(a)===null&&I===n(u)&&(v?(m(P),P=-1):v=!0,j(S,U-Q))):(I.sortIndex=te,t(a,I),p||x||(p=!0,_(C))),I},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(I){var B=h;return function(){var U=h;h=B;try{return I.apply(this,arguments)}finally{h=U}}}})(ep),Jf.exports=ep;var Tv=Jf.exports;/**
|
|
26
26
|
* @license React
|
|
27
27
|
* react-dom.production.min.js
|
|
28
28
|
*
|
|
@@ -30,35 +30,43 @@
|
|
|
30
30
|
*
|
|
31
31
|
* This source code is licensed under the MIT license found in the
|
|
32
32
|
* LICENSE file in the root directory of this source tree.
|
|
33
|
-
*/var
|
|
34
|
-
`+
|
|
33
|
+
*/var Pv=b,Rt=Tv;function F(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var tp=new Set,Uo={};function hr(e,t){Ur(e,t),Ur(e+"Capture",t)}function Ur(e,t){for(Uo[e]=t,e=0;e<t.length;e++)tp.add(t[e])}var Cn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ru=Object.prototype.hasOwnProperty,$v=/^[: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 Ov(e){return ru.call(rp,e)?!0:ru.call(np,e)?!1:$v.test(e)?rp[e]=!0:(np[e]=!0,!1)}function Av(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 Iv(e,t,n,r){if(t===null||typeof t>"u"||Av(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 ft(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 Ye={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ye[e]=new ft(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ye[t]=new ft(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ye[e]=new ft(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ye[e]=new ft(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){Ye[e]=new ft(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Ye[e]=new ft(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Ye[e]=new ft(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Ye[e]=new ft(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Ye[e]=new ft(e,5,!1,e.toLowerCase(),null,!1,!1)});var ou=/[\-:]([a-z])/g;function iu(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(ou,iu);Ye[t]=new ft(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(ou,iu);Ye[t]=new ft(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(ou,iu);Ye[t]=new ft(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Ye[e]=new ft(e,1,!1,e.toLowerCase(),null,!1,!1)}),Ye.xlinkHref=new ft("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Ye[e]=new ft(e,1,!1,e.toLowerCase(),null,!0,!0)});function su(e,t,n,r){var o=Ye.hasOwnProperty(t)?Ye[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Iv(t,n,o,r)&&(n=null),r||o===null?Ov(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var kn=Pv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ms=Symbol.for("react.element"),Hr=Symbol.for("react.portal"),Wr=Symbol.for("react.fragment"),lu=Symbol.for("react.strict_mode"),au=Symbol.for("react.profiler"),op=Symbol.for("react.provider"),ip=Symbol.for("react.context"),uu=Symbol.for("react.forward_ref"),cu=Symbol.for("react.suspense"),du=Symbol.for("react.suspense_list"),fu=Symbol.for("react.memo"),Dn=Symbol.for("react.lazy"),sp=Symbol.for("react.offscreen"),lp=Symbol.iterator;function Ho(e){return e===null||typeof e!="object"?null:(e=lp&&e[lp]||e["@@iterator"],typeof e=="function"?e:null)}var Ie=Object.assign,pu;function Wo(e){if(pu===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);pu=t&&t[1]||""}return`
|
|
34
|
+
`+pu+e}var hu=!1;function mu(e,t){if(!e||hu)return"";hu=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
|
|
35
35
|
`),i=r.stack.split(`
|
|
36
36
|
`),s=o.length-1,l=i.length-1;1<=s&&0<=l&&o[s]!==i[l];)l--;for(;1<=s&&0<=l;s--,l--)if(o[s]!==i[l]){if(s!==1||l!==1)do if(s--,l--,0>l||o[s]!==i[l]){var a=`
|
|
37
|
-
`+o[s].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{Nl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Wr(e):""}function N0(e){switch(e.tag){case 5:return Wr(e.type);case 16:return Wr("Lazy");case 13:return Wr("Suspense");case 19:return Wr("SuspenseList");case 0:case 2:case 15:return e=$l(e.type,!1),e;case 11:return e=$l(e.type.render,!1),e;case 1:return e=$l(e.type,!0),e;default:return""}}function Ml(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 Zn:return"Fragment";case Jn:return"Portal";case bl:return"Profiler";case Tl:return"StrictMode";case Pl:return"Suspense";case Ol:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case cf:return(e.displayName||"Context")+".Consumer";case uf:return(e._context.displayName||"Context")+".Provider";case Rl:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Al:return t=e.displayName||null,t!==null?t:Ml(e.type)||"Memo";case nn:t=e._payload,e=e._init;try{return Ml(e(t))}catch{}}return null}function $0(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 Ml(t);case 8:return t===Tl?"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 rn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function pf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function M0(e){var t=pf(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 ii(e){e._valueTracker||(e._valueTracker=M0(e))}function hf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=pf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function si(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 Bl(e,t){var n=t.checked;return le({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function mf(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=rn(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 gf(e,t){t=t.checked,t!=null&&El(e,"checked",t,!1)}function Il(e,t){gf(e,t);var n=rn(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")?Ll(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ll(e,t.type,rn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function yf(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 Ll(e,t,n){(t!=="number"||si(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Vr=Array.isArray;function er(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+rn(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function zl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(_(91));return le({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function vf(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(_(92));if(Vr(n)){if(1<n.length)throw Error(_(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:rn(n)}}function Sf(e,t){var n=rn(t.value),r=rn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function wf(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function xf(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function jl(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?xf(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var li,kf=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(li=li||document.createElement("div"),li.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=li.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Kr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Gr={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},B0=["Webkit","ms","Moz","O"];Object.keys(Gr).forEach(function(e){B0.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Gr[t]=Gr[e]})});function Cf(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Gr.hasOwnProperty(e)&&Gr[e]?(""+t).trim():t+"px"}function Ef(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Cf(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var I0=le({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 Dl(e,t){if(t){if(I0[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(_(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(_(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(_(61))}if(t.style!=null&&typeof t.style!="object")throw Error(_(62))}}function Fl(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 Ul=null;function Hl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Wl=null,tr=null,nr=null;function Tf(e){if(e=go(e)){if(typeof Wl!="function")throw Error(_(280));var t=e.stateNode;t&&(t=Ai(t),Wl(e.stateNode,e.type,t))}}function bf(e){tr?nr?nr.push(e):nr=[e]:tr=e}function Rf(){if(tr){var e=tr,t=nr;if(nr=tr=null,Tf(e),t)for(e=0;e<t.length;e++)Tf(t[e])}}function Pf(e,t){return e(t)}function Of(){}var Vl=!1;function Af(e,t,n){if(Vl)return e(t,n);Vl=!0;try{return Pf(e,t,n)}finally{Vl=!1,(tr!==null||nr!==null)&&(Of(),Rf())}}function Qr(e,t){var n=e.stateNode;if(n===null)return null;var r=Ai(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(_(231,t,typeof n));return n}var Kl=!1;if(Ft)try{var qr={};Object.defineProperty(qr,"passive",{get:function(){Kl=!0}}),window.addEventListener("test",qr,qr),window.removeEventListener("test",qr,qr)}catch{Kl=!1}function L0(e,t,n,r,o,i,s,l,a){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Yr=!1,ai=null,ui=!1,Gl=null,z0={onError:function(e){Yr=!0,ai=e}};function j0(e,t,n,r,o,i,s,l,a){Yr=!1,ai=null,L0.apply(z0,arguments)}function D0(e,t,n,r,o,i,s,l,a){if(j0.apply(this,arguments),Yr){if(Yr){var u=ai;Yr=!1,ai=null}else throw Error(_(198));ui||(ui=!0,Gl=u)}}function An(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function _f(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Nf(e){if(An(e)!==e)throw Error(_(188))}function F0(e){var t=e.alternate;if(!t){if(t=An(e),t===null)throw Error(_(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Nf(o),e;if(i===r)return Nf(o),t;i=i.sibling}throw Error(_(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s)throw Error(_(189))}}if(n.alternate!==r)throw Error(_(190))}if(n.tag!==3)throw Error(_(188));return n.stateNode.current===n?e:t}function $f(e){return e=F0(e),e!==null?Mf(e):null}function Mf(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Mf(e);if(t!==null)return t;e=e.sibling}return null}var Bf=Ge.unstable_scheduleCallback,If=Ge.unstable_cancelCallback,U0=Ge.unstable_shouldYield,H0=Ge.unstable_requestPaint,he=Ge.unstable_now,W0=Ge.unstable_getCurrentPriorityLevel,Ql=Ge.unstable_ImmediatePriority,Lf=Ge.unstable_UserBlockingPriority,ci=Ge.unstable_NormalPriority,V0=Ge.unstable_LowPriority,zf=Ge.unstable_IdlePriority,fi=null,bt=null;function K0(e){if(bt&&typeof bt.onCommitFiberRoot=="function")try{bt.onCommitFiberRoot(fi,e,void 0,(e.current.flags&128)===128)}catch{}}var gt=Math.clz32?Math.clz32:q0,G0=Math.log,Q0=Math.LN2;function q0(e){return e>>>=0,e===0?32:31-(G0(e)/Q0|0)|0}var di=64,pi=4194304;function Xr(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 hi(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 l=s&~o;l!==0?r=Xr(l):(i&=s,i!==0&&(r=Xr(i)))}else s=n&~o,s!==0?r=Xr(s):i!==0&&(r=Xr(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;0<t;)n=31-gt(t),o=1<<n,r|=e[n],t&=~o;return r}function Y0(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function X0(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-gt(i),l=1<<s,a=o[s];a===-1?(!(l&n)||l&r)&&(o[s]=Y0(l,t)):a<=t&&(e.expiredLanes|=l),i&=~l}}function ql(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function jf(){var e=di;return di<<=1,!(di&4194240)&&(di=64),e}function Yl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Jr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-gt(t),e[t]=n}function J0(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<n;){var o=31-gt(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function Xl(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-gt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var Y=0;function Df(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Ff,Jl,Uf,Hf,Wf,Zl=!1,mi=[],on=null,sn=null,ln=null,Zr=new Map,eo=new Map,an=[],Z0="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Vf(e,t){switch(e){case"focusin":case"focusout":on=null;break;case"dragenter":case"dragleave":sn=null;break;case"mouseover":case"mouseout":ln=null;break;case"pointerover":case"pointerout":Zr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":eo.delete(t.pointerId)}}function to(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=go(t),t!==null&&Jl(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function eg(e,t,n,r,o){switch(t){case"focusin":return on=to(on,e,t,n,r,o),!0;case"dragenter":return sn=to(sn,e,t,n,r,o),!0;case"mouseover":return ln=to(ln,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Zr.set(i,to(Zr.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,eo.set(i,to(eo.get(i)||null,e,t,n,r,o)),!0}return!1}function Kf(e){var t=_n(e.target);if(t!==null){var n=An(t);if(n!==null){if(t=n.tag,t===13){if(t=_f(n),t!==null){e.blockedOn=t,Wf(e.priority,function(){Uf(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function gi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=ta(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Ul=r,n.target.dispatchEvent(r),Ul=null}else return t=go(n),t!==null&&Jl(t),e.blockedOn=n,!1;t.shift()}return!0}function Gf(e,t,n){gi(e)&&n.delete(t)}function tg(){Zl=!1,on!==null&&gi(on)&&(on=null),sn!==null&&gi(sn)&&(sn=null),ln!==null&&gi(ln)&&(ln=null),Zr.forEach(Gf),eo.forEach(Gf)}function no(e,t){e.blockedOn===t&&(e.blockedOn=null,Zl||(Zl=!0,Ge.unstable_scheduleCallback(Ge.unstable_NormalPriority,tg)))}function ro(e){function t(o){return no(o,e)}if(0<mi.length){no(mi[0],e);for(var n=1;n<mi.length;n++){var r=mi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(on!==null&&no(on,e),sn!==null&&no(sn,e),ln!==null&&no(ln,e),Zr.forEach(t),eo.forEach(t),n=0;n<an.length;n++)r=an[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<an.length&&(n=an[0],n.blockedOn===null);)Kf(n),n.blockedOn===null&&an.shift()}var rr=Ut.ReactCurrentBatchConfig,yi=!0;function ng(e,t,n,r){var o=Y,i=rr.transition;rr.transition=null;try{Y=1,ea(e,t,n,r)}finally{Y=o,rr.transition=i}}function rg(e,t,n,r){var o=Y,i=rr.transition;rr.transition=null;try{Y=4,ea(e,t,n,r)}finally{Y=o,rr.transition=i}}function ea(e,t,n,r){if(yi){var o=ta(e,t,n,r);if(o===null)va(e,t,r,vi,n),Vf(e,r);else if(eg(o,e,t,n,r))r.stopPropagation();else if(Vf(e,r),t&4&&-1<Z0.indexOf(e)){for(;o!==null;){var i=go(o);if(i!==null&&Ff(i),i=ta(e,t,n,r),i===null&&va(e,t,r,vi,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else va(e,t,r,null,n)}}var vi=null;function ta(e,t,n,r){if(vi=null,e=Hl(r),e=_n(e),e!==null)if(t=An(e),t===null)e=null;else if(n=t.tag,n===13){if(e=_f(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return vi=e,null}function Qf(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(W0()){case Ql:return 1;case Lf:return 4;case ci:case V0:return 16;case zf:return 536870912;default:return 16}default:return 16}}var un=null,na=null,Si=null;function qf(){if(Si)return Si;var e,t=na,n=t.length,r,o="value"in un?un.value:un.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===o[i-r];r++);return Si=o.slice(e,1<r?1-r:void 0)}function wi(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function xi(){return!0}function Yf(){return!1}function Qe(e){function t(n,r,o,i,s){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(i):i[l]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?xi:Yf,this.isPropagationStopped=Yf,this}return le(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=xi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=xi)},persist:function(){},isPersistent:xi}),t}var or={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ra=Qe(or),oo=le({},or,{view:0,detail:0}),og=Qe(oo),oa,ia,io,ki=le({},oo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:la,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==io&&(io&&e.type==="mousemove"?(oa=e.screenX-io.screenX,ia=e.screenY-io.screenY):ia=oa=0,io=e),oa)},movementY:function(e){return"movementY"in e?e.movementY:ia}}),Xf=Qe(ki),ig=le({},ki,{dataTransfer:0}),sg=Qe(ig),lg=le({},oo,{relatedTarget:0}),sa=Qe(lg),ag=le({},or,{animationName:0,elapsedTime:0,pseudoElement:0}),ug=Qe(ag),cg=le({},or,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),fg=Qe(cg),dg=le({},or,{data:0}),Jf=Qe(dg),pg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},hg={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},mg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function gg(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=mg[e])?!!t[e]:!1}function la(){return gg}var yg=le({},oo,{key:function(e){if(e.key){var t=pg[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=wi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?hg[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:la,charCode:function(e){return e.type==="keypress"?wi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?wi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),vg=Qe(yg),Sg=le({},ki,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Zf=Qe(Sg),wg=le({},oo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:la}),xg=Qe(wg),kg=le({},or,{propertyName:0,elapsedTime:0,pseudoElement:0}),Cg=Qe(kg),Eg=le({},ki,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Tg=Qe(Eg),bg=[9,13,27,32],aa=Ft&&"CompositionEvent"in window,so=null;Ft&&"documentMode"in document&&(so=document.documentMode);var Rg=Ft&&"TextEvent"in window&&!so,ed=Ft&&(!aa||so&&8<so&&11>=so),td=" ",nd=!1;function rd(e,t){switch(e){case"keyup":return bg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function od(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ir=!1;function Pg(e,t){switch(e){case"compositionend":return od(t);case"keypress":return t.which!==32?null:(nd=!0,td);case"textInput":return e=t.data,e===td&&nd?null:e;default:return null}}function Og(e,t){if(ir)return e==="compositionend"||!aa&&rd(e,t)?(e=qf(),Si=na=un=null,ir=!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.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ed&&t.locale!=="ko"?null:t.data;default:return null}}var Ag={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function id(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Ag[e.type]:t==="textarea"}function sd(e,t,n,r){bf(r),t=Ri(t,"onChange"),0<t.length&&(n=new ra("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var lo=null,ao=null;function _g(e){Ed(e,0)}function Ci(e){var t=cr(e);if(hf(t))return e}function Ng(e,t){if(e==="change")return t}var ld=!1;if(Ft){var ua;if(Ft){var ca="oninput"in document;if(!ca){var ad=document.createElement("div");ad.setAttribute("oninput","return;"),ca=typeof ad.oninput=="function"}ua=ca}else ua=!1;ld=ua&&(!document.documentMode||9<document.documentMode)}function ud(){lo&&(lo.detachEvent("onpropertychange",cd),ao=lo=null)}function cd(e){if(e.propertyName==="value"&&Ci(ao)){var t=[];sd(t,ao,e,Hl(e)),Af(_g,t)}}function $g(e,t,n){e==="focusin"?(ud(),lo=t,ao=n,lo.attachEvent("onpropertychange",cd)):e==="focusout"&&ud()}function Mg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ci(ao)}function Bg(e,t){if(e==="click")return Ci(t)}function Ig(e,t){if(e==="input"||e==="change")return Ci(t)}function Lg(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var yt=typeof Object.is=="function"?Object.is:Lg;function uo(e,t){if(yt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!xl.call(t,o)||!yt(e[o],t[o]))return!1}return!0}function fd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dd(e,t){var n=fd(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=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=fd(n)}}function pd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?pd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function hd(){for(var e=window,t=si();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=si(e.document)}return t}function fa(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 zg(e){var t=hd(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&pd(n.ownerDocument.documentElement,n)){if(r!==null&&fa(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=dd(n,i);var s=dd(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<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var jg=Ft&&"documentMode"in document&&11>=document.documentMode,sr=null,da=null,co=null,pa=!1;function md(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;pa||sr==null||sr!==si(r)||(r=sr,"selectionStart"in r&&fa(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}),co&&uo(co,r)||(co=r,r=Ri(da,"onSelect"),0<r.length&&(t=new ra("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=sr)))}function Ei(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var lr={animationend:Ei("Animation","AnimationEnd"),animationiteration:Ei("Animation","AnimationIteration"),animationstart:Ei("Animation","AnimationStart"),transitionend:Ei("Transition","TransitionEnd")},ha={},gd={};Ft&&(gd=document.createElement("div").style,"AnimationEvent"in window||(delete lr.animationend.animation,delete lr.animationiteration.animation,delete lr.animationstart.animation),"TransitionEvent"in window||delete lr.transitionend.transition);function Ti(e){if(ha[e])return ha[e];if(!lr[e])return e;var t=lr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in gd)return ha[e]=t[n];return e}var yd=Ti("animationend"),vd=Ti("animationiteration"),Sd=Ti("animationstart"),wd=Ti("transitionend"),xd=new Map,kd="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function cn(e,t){xd.set(e,t),On(t,[e])}for(var ma=0;ma<kd.length;ma++){var ga=kd[ma],Dg=ga.toLowerCase(),Fg=ga[0].toUpperCase()+ga.slice(1);cn(Dg,"on"+Fg)}cn(yd,"onAnimationEnd"),cn(vd,"onAnimationIteration"),cn(Sd,"onAnimationStart"),cn("dblclick","onDoubleClick"),cn("focusin","onFocus"),cn("focusout","onBlur"),cn(wd,"onTransitionEnd"),Xn("onMouseEnter",["mouseout","mouseover"]),Xn("onMouseLeave",["mouseout","mouseover"]),Xn("onPointerEnter",["pointerout","pointerover"]),Xn("onPointerLeave",["pointerout","pointerover"]),On("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),On("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),On("onBeforeInput",["compositionend","keypress","textInput","paste"]),On("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),On("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),On("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var fo="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ug=new Set("cancel close invalid load scroll toggle".split(" ").concat(fo));function Cd(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,D0(r,t,void 0,e),e.currentTarget=null}function Ed(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var s=r.length-1;0<=s;s--){var l=r[s],a=l.instance,u=l.currentTarget;if(l=l.listener,a!==i&&o.isPropagationStopped())break e;Cd(o,l,u),i=a}else for(s=0;s<r.length;s++){if(l=r[s],a=l.instance,u=l.currentTarget,l=l.listener,a!==i&&o.isPropagationStopped())break e;Cd(o,l,u),i=a}}}if(ui)throw e=Gl,ui=!1,Gl=null,e}function re(e,t){var n=t[Ea];n===void 0&&(n=t[Ea]=new Set);var r=e+"__bubble";n.has(r)||(Td(t,e,2,!1),n.add(r))}function ya(e,t,n){var r=0;t&&(r|=4),Td(n,e,r,t)}var bi="_reactListening"+Math.random().toString(36).slice(2);function po(e){if(!e[bi]){e[bi]=!0,sf.forEach(function(n){n!=="selectionchange"&&(Ug.has(n)||ya(n,!1,e),ya(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[bi]||(t[bi]=!0,ya("selectionchange",!1,t))}}function Td(e,t,n,r){switch(Qf(t)){case 1:var o=ng;break;case 4:o=rg;break;default:o=ea}n=o.bind(null,t,n,e),o=void 0,!Kl||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function va(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var l=r.stateNode.containerInfo;if(l===o||l.nodeType===8&&l.parentNode===o)break;if(s===4)for(s=r.return;s!==null;){var a=s.tag;if((a===3||a===4)&&(a=s.stateNode.containerInfo,a===o||a.nodeType===8&&a.parentNode===o))return;s=s.return}for(;l!==null;){if(s=_n(l),s===null)return;if(a=s.tag,a===5||a===6){r=i=s;continue e}l=l.parentNode}}r=r.return}Af(function(){var u=i,c=Hl(n),f=[];e:{var m=xd.get(e);if(m!==void 0){var S=ra,d=e;switch(e){case"keypress":if(wi(n)===0)break e;case"keydown":case"keyup":S=vg;break;case"focusin":d="focus",S=sa;break;case"focusout":d="blur",S=sa;break;case"beforeblur":case"afterblur":S=sa;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":S=Xf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":S=sg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":S=xg;break;case yd:case vd:case Sd:S=ug;break;case wd:S=Cg;break;case"scroll":S=og;break;case"wheel":S=Tg;break;case"copy":case"cut":case"paste":S=fg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":S=Zf}var v=(t&4)!==0,x=!v&&e==="scroll",g=v?m!==null?m+"Capture":null:m;v=[];for(var h=u,p;h!==null;){p=h;var w=p.stateNode;if(p.tag===5&&w!==null&&(p=w,g!==null&&(w=Qr(h,g),w!=null&&v.push(ho(h,w,p)))),x)break;h=h.return}0<v.length&&(m=new S(m,d,null,n,c),f.push({event:m,listeners:v}))}}if(!(t&7)){e:{if(m=e==="mouseover"||e==="pointerover",S=e==="mouseout"||e==="pointerout",m&&n!==Ul&&(d=n.relatedTarget||n.fromElement)&&(_n(d)||d[Ht]))break e;if((S||m)&&(m=c.window===c?c:(m=c.ownerDocument)?m.defaultView||m.parentWindow:window,S?(d=n.relatedTarget||n.toElement,S=u,d=d?_n(d):null,d!==null&&(x=An(d),d!==x||d.tag!==5&&d.tag!==6)&&(d=null)):(S=null,d=u),S!==d)){if(v=Xf,w="onMouseLeave",g="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(v=Zf,w="onPointerLeave",g="onPointerEnter",h="pointer"),x=S==null?m:cr(S),p=d==null?m:cr(d),m=new v(w,h+"leave",S,n,c),m.target=x,m.relatedTarget=p,w=null,_n(c)===u&&(v=new v(g,h+"enter",d,n,c),v.target=p,v.relatedTarget=x,w=v),x=w,S&&d)t:{for(v=S,g=d,h=0,p=v;p;p=ar(p))h++;for(p=0,w=g;w;w=ar(w))p++;for(;0<h-p;)v=ar(v),h--;for(;0<p-h;)g=ar(g),p--;for(;h--;){if(v===g||g!==null&&v===g.alternate)break t;v=ar(v),g=ar(g)}v=null}else v=null;S!==null&&bd(f,m,S,v,!1),d!==null&&x!==null&&bd(f,x,d,v,!0)}}e:{if(m=u?cr(u):window,S=m.nodeName&&m.nodeName.toLowerCase(),S==="select"||S==="input"&&m.type==="file")var k=Ng;else if(id(m))if(ld)k=Ig;else{k=Mg;var E=$g}else(S=m.nodeName)&&S.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(k=Bg);if(k&&(k=k(e,u))){sd(f,k,n,c);break e}E&&E(e,m,u),e==="focusout"&&(E=m._wrapperState)&&E.controlled&&m.type==="number"&&Ll(m,"number",m.value)}switch(E=u?cr(u):window,e){case"focusin":(id(E)||E.contentEditable==="true")&&(sr=E,da=u,co=null);break;case"focusout":co=da=sr=null;break;case"mousedown":pa=!0;break;case"contextmenu":case"mouseup":case"dragend":pa=!1,md(f,n,c);break;case"selectionchange":if(jg)break;case"keydown":case"keyup":md(f,n,c)}var C;if(aa)e:{switch(e){case"compositionstart":var O="onCompositionStart";break e;case"compositionend":O="onCompositionEnd";break e;case"compositionupdate":O="onCompositionUpdate";break e}O=void 0}else ir?rd(e,n)&&(O="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(O="onCompositionStart");O&&(ed&&n.locale!=="ko"&&(ir||O!=="onCompositionStart"?O==="onCompositionEnd"&&ir&&(C=qf()):(un=c,na="value"in un?un.value:un.textContent,ir=!0)),E=Ri(u,O),0<E.length&&(O=new Jf(O,e,null,n,c),f.push({event:O,listeners:E}),C?O.data=C:(C=od(n),C!==null&&(O.data=C)))),(C=Rg?Pg(e,n):Og(e,n))&&(u=Ri(u,"onBeforeInput"),0<u.length&&(c=new Jf("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:u}),c.data=C))}Ed(f,t)})}function ho(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ri(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=Qr(e,n),i!=null&&r.unshift(ho(e,i,o)),i=Qr(e,t),i!=null&&r.push(ho(e,i,o))),e=e.return}return r}function ar(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function bd(e,t,n,r,o){for(var i=t._reactName,s=[];n!==null&&n!==r;){var l=n,a=l.alternate,u=l.stateNode;if(a!==null&&a===r)break;l.tag===5&&u!==null&&(l=u,o?(a=Qr(n,i),a!=null&&s.unshift(ho(n,a,l))):o||(a=Qr(n,i),a!=null&&s.push(ho(n,a,l)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var Hg=/\r\n?/g,Wg=/\u0000|\uFFFD/g;function Rd(e){return(typeof e=="string"?e:""+e).replace(Hg,`
|
|
38
|
-
`).replace(Wg,"")}function Pi(e,t,n){if(t=Rd(t),Rd(e)!==t&&n)throw Error(_(425))}function Oi(){}var Sa=null,wa=null;function xa(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var ka=typeof setTimeout=="function"?setTimeout:void 0,Vg=typeof clearTimeout=="function"?clearTimeout:void 0,Pd=typeof Promise=="function"?Promise:void 0,Kg=typeof queueMicrotask=="function"?queueMicrotask:typeof Pd<"u"?function(e){return Pd.resolve(null).then(e).catch(Gg)}:ka;function Gg(e){setTimeout(function(){throw e})}function Ca(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),ro(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);ro(t)}function fn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Od(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var ur=Math.random().toString(36).slice(2),Rt="__reactFiber$"+ur,mo="__reactProps$"+ur,Ht="__reactContainer$"+ur,Ea="__reactEvents$"+ur,Qg="__reactListeners$"+ur,qg="__reactHandles$"+ur;function _n(e){var t=e[Rt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ht]||n[Rt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Od(e);e!==null;){if(n=e[Rt])return n;e=Od(e)}return t}e=n,n=e.parentNode}return null}function go(e){return e=e[Rt]||e[Ht],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function cr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(_(33))}function Ai(e){return e[mo]||null}var Ta=[],fr=-1;function dn(e){return{current:e}}function oe(e){0>fr||(e.current=Ta[fr],Ta[fr]=null,fr--)}function te(e,t){fr++,Ta[fr]=e.current,e.current=t}var pn={},Oe=dn(pn),ze=dn(!1),Nn=pn;function dr(e,t){var n=e.type.contextTypes;if(!n)return pn;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 je(e){return e=e.childContextTypes,e!=null}function _i(){oe(ze),oe(Oe)}function Ad(e,t,n){if(Oe.current!==pn)throw Error(_(168));te(Oe,t),te(ze,n)}function _d(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(_(108,$0(e)||"Unknown",o));return le({},n,r)}function Ni(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||pn,Nn=Oe.current,te(Oe,e),te(ze,ze.current),!0}function Nd(e,t,n){var r=e.stateNode;if(!r)throw Error(_(169));n?(e=_d(e,t,Nn),r.__reactInternalMemoizedMergedChildContext=e,oe(ze),oe(Oe),te(Oe,e)):oe(ze),te(ze,n)}var Wt=null,$i=!1,ba=!1;function $d(e){Wt===null?Wt=[e]:Wt.push(e)}function Yg(e){$i=!0,$d(e)}function hn(){if(!ba&&Wt!==null){ba=!0;var e=0,t=Y;try{var n=Wt;for(Y=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Wt=null,$i=!1}catch(o){throw Wt!==null&&(Wt=Wt.slice(e+1)),Bf(Ql,hn),o}finally{Y=t,ba=!1}}return null}var pr=[],hr=0,Mi=null,Bi=0,rt=[],ot=0,$n=null,Vt=1,Kt="";function Mn(e,t){pr[hr++]=Bi,pr[hr++]=Mi,Mi=e,Bi=t}function Md(e,t,n){rt[ot++]=Vt,rt[ot++]=Kt,rt[ot++]=$n,$n=e;var r=Vt;e=Kt;var o=32-gt(r)-1;r&=~(1<<o),n+=1;var i=32-gt(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,Vt=1<<32-gt(t)+o|n<<o|r,Kt=i+e}else Vt=1<<i|n<<o|r,Kt=e}function Ra(e){e.return!==null&&(Mn(e,1),Md(e,1,0))}function Pa(e){for(;e===Mi;)Mi=pr[--hr],pr[hr]=null,Bi=pr[--hr],pr[hr]=null;for(;e===$n;)$n=rt[--ot],rt[ot]=null,Kt=rt[--ot],rt[ot]=null,Vt=rt[--ot],rt[ot]=null}var qe=null,Ye=null,ie=!1,vt=null;function Bd(e,t){var n=at(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Id(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,qe=e,Ye=fn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,qe=e,Ye=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=$n!==null?{id:Vt,overflow:Kt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=at(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,qe=e,Ye=null,!0):!1;default:return!1}}function Oa(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Aa(e){if(ie){var t=Ye;if(t){var n=t;if(!Id(e,t)){if(Oa(e))throw Error(_(418));t=fn(n.nextSibling);var r=qe;t&&Id(e,t)?Bd(r,n):(e.flags=e.flags&-4097|2,ie=!1,qe=e)}}else{if(Oa(e))throw Error(_(418));e.flags=e.flags&-4097|2,ie=!1,qe=e}}}function Ld(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;qe=e}function Ii(e){if(e!==qe)return!1;if(!ie)return Ld(e),ie=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!xa(e.type,e.memoizedProps)),t&&(t=Ye)){if(Oa(e))throw zd(),Error(_(418));for(;t;)Bd(e,t),t=fn(t.nextSibling)}if(Ld(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(_(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Ye=fn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Ye=null}}else Ye=qe?fn(e.stateNode.nextSibling):null;return!0}function zd(){for(var e=Ye;e;)e=fn(e.nextSibling)}function mr(){Ye=qe=null,ie=!1}function _a(e){vt===null?vt=[e]:vt.push(e)}var Xg=Ut.ReactCurrentBatchConfig;function yo(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(_(309));var r=n.stateNode}if(!r)throw Error(_(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(s){var l=o.refs;s===null?delete l[i]:l[i]=s},t._stringRef=i,t)}if(typeof e!="string")throw Error(_(284));if(!n._owner)throw Error(_(290,e))}return e}function Li(e,t){throw e=Object.prototype.toString.call(t),Error(_(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function jd(e){var t=e._init;return t(e._payload)}function Dd(e){function t(g,h){if(e){var p=g.deletions;p===null?(g.deletions=[h],g.flags|=16):p.push(h)}}function n(g,h){if(!e)return null;for(;h!==null;)t(g,h),h=h.sibling;return null}function r(g,h){for(g=new Map;h!==null;)h.key!==null?g.set(h.key,h):g.set(h.index,h),h=h.sibling;return g}function o(g,h){return g=kn(g,h),g.index=0,g.sibling=null,g}function i(g,h,p){return g.index=p,e?(p=g.alternate,p!==null?(p=p.index,p<h?(g.flags|=2,h):p):(g.flags|=2,h)):(g.flags|=1048576,h)}function s(g){return e&&g.alternate===null&&(g.flags|=2),g}function l(g,h,p,w){return h===null||h.tag!==6?(h=ku(p,g.mode,w),h.return=g,h):(h=o(h,p),h.return=g,h)}function a(g,h,p,w){var k=p.type;return k===Zn?c(g,h,p.props.children,w,p.key):h!==null&&(h.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===nn&&jd(k)===h.type)?(w=o(h,p.props),w.ref=yo(g,h,p),w.return=g,w):(w=ls(p.type,p.key,p.props,null,g.mode,w),w.ref=yo(g,h,p),w.return=g,w)}function u(g,h,p,w){return h===null||h.tag!==4||h.stateNode.containerInfo!==p.containerInfo||h.stateNode.implementation!==p.implementation?(h=Cu(p,g.mode,w),h.return=g,h):(h=o(h,p.children||[]),h.return=g,h)}function c(g,h,p,w,k){return h===null||h.tag!==7?(h=Un(p,g.mode,w,k),h.return=g,h):(h=o(h,p),h.return=g,h)}function f(g,h,p){if(typeof h=="string"&&h!==""||typeof h=="number")return h=ku(""+h,g.mode,p),h.return=g,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case oi:return p=ls(h.type,h.key,h.props,null,g.mode,p),p.ref=yo(g,null,h),p.return=g,p;case Jn:return h=Cu(h,g.mode,p),h.return=g,h;case nn:var w=h._init;return f(g,w(h._payload),p)}if(Vr(h)||Hr(h))return h=Un(h,g.mode,p,null),h.return=g,h;Li(g,h)}return null}function m(g,h,p,w){var k=h!==null?h.key:null;if(typeof p=="string"&&p!==""||typeof p=="number")return k!==null?null:l(g,h,""+p,w);if(typeof p=="object"&&p!==null){switch(p.$$typeof){case oi:return p.key===k?a(g,h,p,w):null;case Jn:return p.key===k?u(g,h,p,w):null;case nn:return k=p._init,m(g,h,k(p._payload),w)}if(Vr(p)||Hr(p))return k!==null?null:c(g,h,p,w,null);Li(g,p)}return null}function S(g,h,p,w,k){if(typeof w=="string"&&w!==""||typeof w=="number")return g=g.get(p)||null,l(h,g,""+w,k);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case oi:return g=g.get(w.key===null?p:w.key)||null,a(h,g,w,k);case Jn:return g=g.get(w.key===null?p:w.key)||null,u(h,g,w,k);case nn:var E=w._init;return S(g,h,p,E(w._payload),k)}if(Vr(w)||Hr(w))return g=g.get(p)||null,c(h,g,w,k,null);Li(h,w)}return null}function d(g,h,p,w){for(var k=null,E=null,C=h,O=h=0,y=null;C!==null&&O<p.length;O++){C.index>O?(y=C,C=null):y=C.sibling;var R=m(g,C,p[O],w);if(R===null){C===null&&(C=y);break}e&&C&&R.alternate===null&&t(g,C),h=i(R,h,O),E===null?k=R:E.sibling=R,E=R,C=y}if(O===p.length)return n(g,C),ie&&Mn(g,O),k;if(C===null){for(;O<p.length;O++)C=f(g,p[O],w),C!==null&&(h=i(C,h,O),E===null?k=C:E.sibling=C,E=C);return ie&&Mn(g,O),k}for(C=r(g,C);O<p.length;O++)y=S(C,g,O,p[O],w),y!==null&&(e&&y.alternate!==null&&C.delete(y.key===null?O:y.key),h=i(y,h,O),E===null?k=y:E.sibling=y,E=y);return e&&C.forEach(function(M){return t(g,M)}),ie&&Mn(g,O),k}function v(g,h,p,w){var k=Hr(p);if(typeof k!="function")throw Error(_(150));if(p=k.call(p),p==null)throw Error(_(151));for(var E=k=null,C=h,O=h=0,y=null,R=p.next();C!==null&&!R.done;O++,R=p.next()){C.index>O?(y=C,C=null):y=C.sibling;var M=m(g,C,R.value,w);if(M===null){C===null&&(C=y);break}e&&C&&M.alternate===null&&t(g,C),h=i(M,h,O),E===null?k=M:E.sibling=M,E=M,C=y}if(R.done)return n(g,C),ie&&Mn(g,O),k;if(C===null){for(;!R.done;O++,R=p.next())R=f(g,R.value,w),R!==null&&(h=i(R,h,O),E===null?k=R:E.sibling=R,E=R);return ie&&Mn(g,O),k}for(C=r(g,C);!R.done;O++,R=p.next())R=S(C,g,O,R.value,w),R!==null&&(e&&R.alternate!==null&&C.delete(R.key===null?O:R.key),h=i(R,h,O),E===null?k=R:E.sibling=R,E=R);return e&&C.forEach(function(I){return t(g,I)}),ie&&Mn(g,O),k}function x(g,h,p,w){if(typeof p=="object"&&p!==null&&p.type===Zn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case oi:e:{for(var k=p.key,E=h;E!==null;){if(E.key===k){if(k=p.type,k===Zn){if(E.tag===7){n(g,E.sibling),h=o(E,p.props.children),h.return=g,g=h;break e}}else if(E.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===nn&&jd(k)===E.type){n(g,E.sibling),h=o(E,p.props),h.ref=yo(g,E,p),h.return=g,g=h;break e}n(g,E);break}else t(g,E);E=E.sibling}p.type===Zn?(h=Un(p.props.children,g.mode,w,p.key),h.return=g,g=h):(w=ls(p.type,p.key,p.props,null,g.mode,w),w.ref=yo(g,h,p),w.return=g,g=w)}return s(g);case Jn:e:{for(E=p.key;h!==null;){if(h.key===E)if(h.tag===4&&h.stateNode.containerInfo===p.containerInfo&&h.stateNode.implementation===p.implementation){n(g,h.sibling),h=o(h,p.children||[]),h.return=g,g=h;break e}else{n(g,h);break}else t(g,h);h=h.sibling}h=Cu(p,g.mode,w),h.return=g,g=h}return s(g);case nn:return E=p._init,x(g,h,E(p._payload),w)}if(Vr(p))return d(g,h,p,w);if(Hr(p))return v(g,h,p,w);Li(g,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,h!==null&&h.tag===6?(n(g,h.sibling),h=o(h,p),h.return=g,g=h):(n(g,h),h=ku(p,g.mode,w),h.return=g,g=h),s(g)):n(g,h)}return x}var gr=Dd(!0),Fd=Dd(!1),zi=dn(null),ji=null,yr=null,Na=null;function $a(){Na=yr=ji=null}function Ma(e){var t=zi.current;oe(zi),e._currentValue=t}function Ba(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 vr(e,t){ji=e,Na=yr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(De=!0),e.firstContext=null)}function it(e){var t=e._currentValue;if(Na!==e)if(e={context:e,memoizedValue:t,next:null},yr===null){if(ji===null)throw Error(_(308));yr=e,ji.dependencies={lanes:0,firstContext:e}}else yr=yr.next=e;return t}var Bn=null;function Ia(e){Bn===null?Bn=[e]:Bn.push(e)}function Ud(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Ia(t)):(n.next=o.next,o.next=n),t.interleaved=n,Gt(e,r)}function Gt(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 mn=!1;function La(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Hd(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 Qt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function gn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,K&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Gt(e,n)}return o=r.interleaved,o===null?(t.next=t,Ia(r)):(t.next=o.next,o.next=t),r.interleaved=t,Gt(e,n)}function Di(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,Xl(e,n)}}function Wd(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 Fi(e,t,n,r){var o=e.updateQueue;mn=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var a=l,u=a.next;a.next=null,s===null?i=u:s.next=u,s=a;var c=e.alternate;c!==null&&(c=c.updateQueue,l=c.lastBaseUpdate,l!==s&&(l===null?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=a))}if(i!==null){var f=o.baseState;s=0,c=u=a=null,l=i;do{var m=l.lane,S=l.eventTime;if((r&m)===m){c!==null&&(c=c.next={eventTime:S,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var d=e,v=l;switch(m=t,S=n,v.tag){case 1:if(d=v.payload,typeof d=="function"){f=d.call(S,f,m);break e}f=d;break e;case 3:d.flags=d.flags&-65537|128;case 0:if(d=v.payload,m=typeof d=="function"?d.call(S,f,m):d,m==null)break e;f=le({},f,m);break e;case 2:mn=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,m=o.effects,m===null?o.effects=[l]:m.push(l))}else S={eventTime:S,lane:m,tag:l.tag,payload:l.payload,callback:l.callback,next:null},c===null?(u=c=S,a=f):c=c.next=S,s|=m;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;m=l,l=m.next,m.next=null,o.lastBaseUpdate=m,o.shared.pending=null}}while(!0);if(c===null&&(a=f),o.baseState=a,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);zn|=s,e.lanes=s,e.memoizedState=f}}function Vd(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(_(191,o));o.call(r)}}}var vo={},Pt=dn(vo),So=dn(vo),wo=dn(vo);function In(e){if(e===vo)throw Error(_(174));return e}function za(e,t){switch(te(wo,t),te(So,e),te(Pt,vo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:jl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=jl(t,e)}oe(Pt),te(Pt,t)}function Sr(){oe(Pt),oe(So),oe(wo)}function Kd(e){In(wo.current);var t=In(Pt.current),n=jl(t,e.type);t!==n&&(te(So,e),te(Pt,n))}function ja(e){So.current===e&&(oe(Pt),oe(So))}var ae=dn(0);function Ui(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Da=[];function Fa(){for(var e=0;e<Da.length;e++)Da[e]._workInProgressVersionPrimary=null;Da.length=0}var Hi=Ut.ReactCurrentDispatcher,Ua=Ut.ReactCurrentBatchConfig,Ln=0,ue=null,Se=null,ke=null,Wi=!1,xo=!1,ko=0,Jg=0;function Ae(){throw Error(_(321))}function Ha(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!yt(e[n],t[n]))return!1;return!0}function Wa(e,t,n,r,o,i){if(Ln=i,ue=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Hi.current=e===null||e.memoizedState===null?ny:ry,e=n(r,o),xo){i=0;do{if(xo=!1,ko=0,25<=i)throw Error(_(301));i+=1,ke=Se=null,t.updateQueue=null,Hi.current=oy,e=n(r,o)}while(xo)}if(Hi.current=Gi,t=Se!==null&&Se.next!==null,Ln=0,ke=Se=ue=null,Wi=!1,t)throw Error(_(300));return e}function Va(){var e=ko!==0;return ko=0,e}function Ot(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ke===null?ue.memoizedState=ke=e:ke=ke.next=e,ke}function st(){if(Se===null){var e=ue.alternate;e=e!==null?e.memoizedState:null}else e=Se.next;var t=ke===null?ue.memoizedState:ke.next;if(t!==null)ke=t,Se=e;else{if(e===null)throw Error(_(310));Se=e,e={memoizedState:Se.memoizedState,baseState:Se.baseState,baseQueue:Se.baseQueue,queue:Se.queue,next:null},ke===null?ue.memoizedState=ke=e:ke=ke.next=e}return ke}function Co(e,t){return typeof t=="function"?t(e):t}function Ka(e){var t=st(),n=t.queue;if(n===null)throw Error(_(311));n.lastRenderedReducer=e;var r=Se,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var l=s=null,a=null,u=i;do{var c=u.lane;if((Ln&c)===c)a!==null&&(a=a.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};a===null?(l=a=f,s=r):a=a.next=f,ue.lanes|=c,zn|=c}u=u.next}while(u!==null&&u!==i);a===null?s=r:a.next=l,yt(r,t.memoizedState)||(De=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,ue.lanes|=i,zn|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ga(e){var t=st(),n=t.queue;if(n===null)throw Error(_(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var s=o=o.next;do i=e(i,s.action),s=s.next;while(s!==o);yt(i,t.memoizedState)||(De=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Gd(){}function Qd(e,t){var n=ue,r=st(),o=t(),i=!yt(r.memoizedState,o);if(i&&(r.memoizedState=o,De=!0),r=r.queue,Qa(Xd.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||ke!==null&&ke.memoizedState.tag&1){if(n.flags|=2048,Eo(9,Yd.bind(null,n,r,o,t),void 0,null),Ce===null)throw Error(_(349));Ln&30||qd(n,t,o)}return o}function qd(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ue.updateQueue,t===null?(t={lastEffect:null,stores:null},ue.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Yd(e,t,n,r){t.value=n,t.getSnapshot=r,Jd(t)&&Zd(e)}function Xd(e,t,n){return n(function(){Jd(t)&&Zd(e)})}function Jd(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!yt(e,n)}catch{return!0}}function Zd(e){var t=Gt(e,1);t!==null&&kt(t,e,1,-1)}function ep(e){var t=Ot();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Co,lastRenderedState:e},t.queue=e,e=e.dispatch=ty.bind(null,ue,e),[t.memoizedState,e]}function Eo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=ue.updateQueue,t===null?(t={lastEffect:null,stores:null},ue.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function tp(){return st().memoizedState}function Vi(e,t,n,r){var o=Ot();ue.flags|=e,o.memoizedState=Eo(1|t,n,void 0,r===void 0?null:r)}function Ki(e,t,n,r){var o=st();r=r===void 0?null:r;var i=void 0;if(Se!==null){var s=Se.memoizedState;if(i=s.destroy,r!==null&&Ha(r,s.deps)){o.memoizedState=Eo(t,n,i,r);return}}ue.flags|=e,o.memoizedState=Eo(1|t,n,i,r)}function np(e,t){return Vi(8390656,8,e,t)}function Qa(e,t){return Ki(2048,8,e,t)}function rp(e,t){return Ki(4,2,e,t)}function op(e,t){return Ki(4,4,e,t)}function ip(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function sp(e,t,n){return n=n!=null?n.concat([e]):null,Ki(4,4,ip.bind(null,t,e),n)}function qa(){}function lp(e,t){var n=st();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ha(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ap(e,t){var n=st();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ha(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function up(e,t,n){return Ln&21?(yt(n,t)||(n=jf(),ue.lanes|=n,zn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,De=!0),e.memoizedState=n)}function Zg(e,t){var n=Y;Y=n!==0&&4>n?n:4,e(!0);var r=Ua.transition;Ua.transition={};try{e(!1),t()}finally{Y=n,Ua.transition=r}}function cp(){return st().memoizedState}function ey(e,t,n){var r=wn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},fp(e))dp(t,n);else if(n=Ud(e,t,n,r),n!==null){var o=Le();kt(n,e,r,o),pp(n,t,r)}}function ty(e,t,n){var r=wn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(fp(e))dp(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,l=i(s,n);if(o.hasEagerState=!0,o.eagerState=l,yt(l,s)){var a=t.interleaved;a===null?(o.next=o,Ia(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=Ud(e,t,o,r),n!==null&&(o=Le(),kt(n,e,r,o),pp(n,t,r))}}function fp(e){var t=e.alternate;return e===ue||t!==null&&t===ue}function dp(e,t){xo=Wi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function pp(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Xl(e,n)}}var Gi={readContext:it,useCallback:Ae,useContext:Ae,useEffect:Ae,useImperativeHandle:Ae,useInsertionEffect:Ae,useLayoutEffect:Ae,useMemo:Ae,useReducer:Ae,useRef:Ae,useState:Ae,useDebugValue:Ae,useDeferredValue:Ae,useTransition:Ae,useMutableSource:Ae,useSyncExternalStore:Ae,useId:Ae,unstable_isNewReconciler:!1},ny={readContext:it,useCallback:function(e,t){return Ot().memoizedState=[e,t===void 0?null:t],e},useContext:it,useEffect:np,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Vi(4194308,4,ip.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Vi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Vi(4,2,e,t)},useMemo:function(e,t){var n=Ot();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ot();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ey.bind(null,ue,e),[r.memoizedState,e]},useRef:function(e){var t=Ot();return e={current:e},t.memoizedState=e},useState:ep,useDebugValue:qa,useDeferredValue:function(e){return Ot().memoizedState=e},useTransition:function(){var e=ep(!1),t=e[0];return e=Zg.bind(null,e[1]),Ot().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ue,o=Ot();if(ie){if(n===void 0)throw Error(_(407));n=n()}else{if(n=t(),Ce===null)throw Error(_(349));Ln&30||qd(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,np(Xd.bind(null,r,i,e),[e]),r.flags|=2048,Eo(9,Yd.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Ot(),t=Ce.identifierPrefix;if(ie){var n=Kt,r=Vt;n=(r&~(1<<32-gt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ko++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Jg++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ry={readContext:it,useCallback:lp,useContext:it,useEffect:Qa,useImperativeHandle:sp,useInsertionEffect:rp,useLayoutEffect:op,useMemo:ap,useReducer:Ka,useRef:tp,useState:function(){return Ka(Co)},useDebugValue:qa,useDeferredValue:function(e){var t=st();return up(t,Se.memoizedState,e)},useTransition:function(){var e=Ka(Co)[0],t=st().memoizedState;return[e,t]},useMutableSource:Gd,useSyncExternalStore:Qd,useId:cp,unstable_isNewReconciler:!1},oy={readContext:it,useCallback:lp,useContext:it,useEffect:Qa,useImperativeHandle:sp,useInsertionEffect:rp,useLayoutEffect:op,useMemo:ap,useReducer:Ga,useRef:tp,useState:function(){return Ga(Co)},useDebugValue:qa,useDeferredValue:function(e){var t=st();return Se===null?t.memoizedState=e:up(t,Se.memoizedState,e)},useTransition:function(){var e=Ga(Co)[0],t=st().memoizedState;return[e,t]},useMutableSource:Gd,useSyncExternalStore:Qd,useId:cp,unstable_isNewReconciler:!1};function St(e,t){if(e&&e.defaultProps){t=le({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Ya(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:le({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Qi={isMounted:function(e){return(e=e._reactInternals)?An(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Le(),o=wn(e),i=Qt(r,o);i.payload=t,n!=null&&(i.callback=n),t=gn(e,i,o),t!==null&&(kt(t,e,o,r),Di(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Le(),o=wn(e),i=Qt(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=gn(e,i,o),t!==null&&(kt(t,e,o,r),Di(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Le(),r=wn(e),o=Qt(n,r);o.tag=2,t!=null&&(o.callback=t),t=gn(e,o,r),t!==null&&(kt(t,e,r,n),Di(t,e,r))}};function hp(e,t,n,r,o,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,s):t.prototype&&t.prototype.isPureReactComponent?!uo(n,r)||!uo(o,i):!0}function mp(e,t,n){var r=!1,o=pn,i=t.contextType;return typeof i=="object"&&i!==null?i=it(i):(o=je(t)?Nn:Oe.current,r=t.contextTypes,i=(r=r!=null)?dr(e,o):pn),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Qi,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function gp(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Qi.enqueueReplaceState(t,t.state,null)}function Xa(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},La(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=it(i):(i=je(t)?Nn:Oe.current,o.context=dr(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Ya(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&Qi.enqueueReplaceState(o,o.state,null),Fi(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function wr(e,t){try{var n="",r=t;do n+=N0(r),r=r.return;while(r);var o=n}catch(i){o=`
|
|
37
|
+
`+o[s].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{hu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Wo(e):""}function Nv(e){switch(e.tag){case 5:return Wo(e.type);case 16:return Wo("Lazy");case 13:return Wo("Suspense");case 19:return Wo("SuspenseList");case 0:case 2:case 15:return e=mu(e.type,!1),e;case 11:return e=mu(e.type.render,!1),e;case 1:return e=mu(e.type,!0),e;default:return""}}function gu(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 Wr:return"Fragment";case Hr:return"Portal";case au:return"Profiler";case lu:return"StrictMode";case cu:return"Suspense";case du:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ip:return(e.displayName||"Context")+".Consumer";case op:return(e._context.displayName||"Context")+".Provider";case uu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case fu:return t=e.displayName||null,t!==null?t:gu(e.type)||"Memo";case Dn:t=e._payload,e=e._init;try{return gu(e(t))}catch{}}return null}function Fv(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 gu(t);case 8:return t===lu?"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 Un(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ap(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Mv(e){var t=ap(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 gs(e){e._valueTracker||(e._valueTracker=Mv(e))}function up(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ap(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ys(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 yu(e,t){var n=t.checked;return Ie({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function cp(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Un(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 dp(e,t){t=t.checked,t!=null&&su(e,"checked",t,!1)}function vu(e,t){dp(e,t);var n=Un(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")?xu(e,t.type,n):t.hasOwnProperty("defaultValue")&&xu(e,t.type,Un(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function fp(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 xu(e,t,n){(t!=="number"||ys(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Vo=Array.isArray;function Vr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Un(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Su(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(F(91));return Ie({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function pp(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(F(92));if(Vo(n)){if(1<n.length)throw Error(F(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Un(n)}}function hp(e,t){var n=Un(t.value),r=Un(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function mp(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function gp(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function wu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?gp(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var vs,yp=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(vs=vs||document.createElement("div"),vs.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=vs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ko(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var qo={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},_v=["Webkit","ms","Moz","O"];Object.keys(qo).forEach(function(e){_v.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),qo[t]=qo[e]})});function vp(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||qo.hasOwnProperty(e)&&qo[e]?(""+t).trim():t+"px"}function xp(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=vp(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var zv=Ie({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 bu(e,t){if(t){if(zv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(F(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(F(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(F(61))}if(t.style!=null&&typeof t.style!="object")throw Error(F(62))}}function Cu(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 ku=null;function Eu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ru=null,Kr=null,qr=null;function Sp(e){if(e=mi(e)){if(typeof Ru!="function")throw Error(F(280));var t=e.stateNode;t&&(t=Ds(t),Ru(e.stateNode,e.type,t))}}function wp(e){Kr?qr?qr.push(e):qr=[e]:Kr=e}function bp(){if(Kr){var e=Kr,t=qr;if(qr=Kr=null,Sp(e),t)for(e=0;e<t.length;e++)Sp(t[e])}}function Cp(e,t){return e(t)}function kp(){}var Tu=!1;function Ep(e,t,n){if(Tu)return e(t,n);Tu=!0;try{return Cp(e,t,n)}finally{Tu=!1,(Kr!==null||qr!==null)&&(kp(),bp())}}function Go(e,t){var n=e.stateNode;if(n===null)return null;var r=Ds(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(F(231,t,typeof n));return n}var Pu=!1;if(Cn)try{var Qo={};Object.defineProperty(Qo,"passive",{get:function(){Pu=!0}}),window.addEventListener("test",Qo,Qo),window.removeEventListener("test",Qo,Qo)}catch{Pu=!1}function Bv(e,t,n,r,o,i,s,l,a){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Xo=!1,xs=null,Ss=!1,$u=null,Lv={onError:function(e){Xo=!0,xs=e}};function jv(e,t,n,r,o,i,s,l,a){Xo=!1,xs=null,Bv.apply(Lv,arguments)}function Dv(e,t,n,r,o,i,s,l,a){if(jv.apply(this,arguments),Xo){if(Xo){var u=xs;Xo=!1,xs=null}else throw Error(F(198));Ss||(Ss=!0,$u=u)}}function mr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Rp(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Tp(e){if(mr(e)!==e)throw Error(F(188))}function Uv(e){var t=e.alternate;if(!t){if(t=mr(e),t===null)throw Error(F(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Tp(o),e;if(i===r)return Tp(o),t;i=i.sibling}throw Error(F(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s)throw Error(F(189))}}if(n.alternate!==r)throw Error(F(190))}if(n.tag!==3)throw Error(F(188));return n.stateNode.current===n?e:t}function Pp(e){return e=Uv(e),e!==null?$p(e):null}function $p(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=$p(e);if(t!==null)return t;e=e.sibling}return null}var Op=Rt.unstable_scheduleCallback,Ap=Rt.unstable_cancelCallback,Hv=Rt.unstable_shouldYield,Wv=Rt.unstable_requestPaint,je=Rt.unstable_now,Vv=Rt.unstable_getCurrentPriorityLevel,Ou=Rt.unstable_ImmediatePriority,Ip=Rt.unstable_UserBlockingPriority,ws=Rt.unstable_NormalPriority,Kv=Rt.unstable_LowPriority,Np=Rt.unstable_IdlePriority,bs=null,sn=null;function qv(e){if(sn&&typeof sn.onCommitFiberRoot=="function")try{sn.onCommitFiberRoot(bs,e,void 0,(e.current.flags&128)===128)}catch{}}var qt=Math.clz32?Math.clz32:Xv,Gv=Math.log,Qv=Math.LN2;function Xv(e){return e>>>=0,e===0?32:31-(Gv(e)/Qv|0)|0}var Cs=64,ks=4194304;function Yo(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 Es(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 l=s&~o;l!==0?r=Yo(l):(i&=s,i!==0&&(r=Yo(i)))}else s=n&~o,s!==0?r=Yo(s):i!==0&&(r=Yo(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;0<t;)n=31-qt(t),o=1<<n,r|=e[n],t&=~o;return r}function Yv(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Zv(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-qt(i),l=1<<s,a=o[s];a===-1?(!(l&n)||l&r)&&(o[s]=Yv(l,t)):a<=t&&(e.expiredLanes|=l),i&=~l}}function Au(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Fp(){var e=Cs;return Cs<<=1,!(Cs&4194240)&&(Cs=64),e}function Iu(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Zo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-qt(t),e[t]=n}function Jv(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-qt(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function Nu(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-qt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var ae=0;function Mp(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var _p,Fu,zp,Bp,Lp,Mu=!1,Rs=[],Hn=null,Wn=null,Vn=null,Jo=new Map,ei=new Map,Kn=[],e1="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function jp(e,t){switch(e){case"focusin":case"focusout":Hn=null;break;case"dragenter":case"dragleave":Wn=null;break;case"mouseover":case"mouseout":Vn=null;break;case"pointerover":case"pointerout":Jo.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ei.delete(t.pointerId)}}function ti(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=mi(t),t!==null&&Fu(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function t1(e,t,n,r,o){switch(t){case"focusin":return Hn=ti(Hn,e,t,n,r,o),!0;case"dragenter":return Wn=ti(Wn,e,t,n,r,o),!0;case"mouseover":return Vn=ti(Vn,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Jo.set(i,ti(Jo.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,ei.set(i,ti(ei.get(i)||null,e,t,n,r,o)),!0}return!1}function Dp(e){var t=gr(e.target);if(t!==null){var n=mr(t);if(n!==null){if(t=n.tag,t===13){if(t=Rp(n),t!==null){e.blockedOn=t,Lp(e.priority,function(){zp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ts(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=zu(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);ku=r,n.target.dispatchEvent(r),ku=null}else return t=mi(n),t!==null&&Fu(t),e.blockedOn=n,!1;t.shift()}return!0}function Up(e,t,n){Ts(e)&&n.delete(t)}function n1(){Mu=!1,Hn!==null&&Ts(Hn)&&(Hn=null),Wn!==null&&Ts(Wn)&&(Wn=null),Vn!==null&&Ts(Vn)&&(Vn=null),Jo.forEach(Up),ei.forEach(Up)}function ni(e,t){e.blockedOn===t&&(e.blockedOn=null,Mu||(Mu=!0,Rt.unstable_scheduleCallback(Rt.unstable_NormalPriority,n1)))}function ri(e){function t(o){return ni(o,e)}if(0<Rs.length){ni(Rs[0],e);for(var n=1;n<Rs.length;n++){var r=Rs[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Hn!==null&&ni(Hn,e),Wn!==null&&ni(Wn,e),Vn!==null&&ni(Vn,e),Jo.forEach(t),ei.forEach(t),n=0;n<Kn.length;n++)r=Kn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Kn.length&&(n=Kn[0],n.blockedOn===null);)Dp(n),n.blockedOn===null&&Kn.shift()}var Gr=kn.ReactCurrentBatchConfig,Ps=!0;function r1(e,t,n,r){var o=ae,i=Gr.transition;Gr.transition=null;try{ae=1,_u(e,t,n,r)}finally{ae=o,Gr.transition=i}}function o1(e,t,n,r){var o=ae,i=Gr.transition;Gr.transition=null;try{ae=4,_u(e,t,n,r)}finally{ae=o,Gr.transition=i}}function _u(e,t,n,r){if(Ps){var o=zu(e,t,n,r);if(o===null)ec(e,t,r,$s,n),jp(e,r);else if(t1(o,e,t,n,r))r.stopPropagation();else if(jp(e,r),t&4&&-1<e1.indexOf(e)){for(;o!==null;){var i=mi(o);if(i!==null&&_p(i),i=zu(e,t,n,r),i===null&&ec(e,t,r,$s,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else ec(e,t,r,null,n)}}var $s=null;function zu(e,t,n,r){if($s=null,e=Eu(r),e=gr(e),e!==null)if(t=mr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Rp(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return $s=e,null}function Hp(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Vv()){case Ou:return 1;case Ip:return 4;case ws:case Kv:return 16;case Np:return 536870912;default:return 16}default:return 16}}var qn=null,Bu=null,Os=null;function Wp(){if(Os)return Os;var e,t=Bu,n=t.length,r,o="value"in qn?qn.value:qn.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===o[i-r];r++);return Os=o.slice(e,1<r?1-r:void 0)}function As(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Is(){return!0}function Vp(){return!1}function Tt(e){function t(n,r,o,i,s){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(i):i[l]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Is:Vp,this.isPropagationStopped=Vp,this}return Ie(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Is)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Is)},persist:function(){},isPersistent:Is}),t}var Qr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Lu=Tt(Qr),oi=Ie({},Qr,{view:0,detail:0}),i1=Tt(oi),ju,Du,ii,Ns=Ie({},oi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Hu,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ii&&(ii&&e.type==="mousemove"?(ju=e.screenX-ii.screenX,Du=e.screenY-ii.screenY):Du=ju=0,ii=e),ju)},movementY:function(e){return"movementY"in e?e.movementY:Du}}),Kp=Tt(Ns),s1=Ie({},Ns,{dataTransfer:0}),l1=Tt(s1),a1=Ie({},oi,{relatedTarget:0}),Uu=Tt(a1),u1=Ie({},Qr,{animationName:0,elapsedTime:0,pseudoElement:0}),c1=Tt(u1),d1=Ie({},Qr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),f1=Tt(d1),p1=Ie({},Qr,{data:0}),qp=Tt(p1),h1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},m1={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},g1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function y1(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=g1[e])?!!t[e]:!1}function Hu(){return y1}var v1=Ie({},oi,{key:function(e){if(e.key){var t=h1[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=As(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?m1[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Hu,charCode:function(e){return e.type==="keypress"?As(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?As(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),x1=Tt(v1),S1=Ie({},Ns,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Gp=Tt(S1),w1=Ie({},oi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Hu}),b1=Tt(w1),C1=Ie({},Qr,{propertyName:0,elapsedTime:0,pseudoElement:0}),k1=Tt(C1),E1=Ie({},Ns,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),R1=Tt(E1),T1=[9,13,27,32],Wu=Cn&&"CompositionEvent"in window,si=null;Cn&&"documentMode"in document&&(si=document.documentMode);var P1=Cn&&"TextEvent"in window&&!si,Qp=Cn&&(!Wu||si&&8<si&&11>=si),Xp=" ",Yp=!1;function Zp(e,t){switch(e){case"keyup":return T1.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Jp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Xr=!1;function $1(e,t){switch(e){case"compositionend":return Jp(t);case"keypress":return t.which!==32?null:(Yp=!0,Xp);case"textInput":return e=t.data,e===Xp&&Yp?null:e;default:return null}}function O1(e,t){if(Xr)return e==="compositionend"||!Wu&&Zp(e,t)?(e=Wp(),Os=Bu=qn=null,Xr=!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.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Qp&&t.locale!=="ko"?null:t.data;default:return null}}var A1={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function eh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!A1[e.type]:t==="textarea"}function th(e,t,n,r){wp(r),t=Bs(t,"onChange"),0<t.length&&(n=new Lu("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var li=null,ai=null;function I1(e){xh(e,0)}function Fs(e){var t=to(e);if(up(t))return e}function N1(e,t){if(e==="change")return t}var nh=!1;if(Cn){var Vu;if(Cn){var Ku="oninput"in document;if(!Ku){var rh=document.createElement("div");rh.setAttribute("oninput","return;"),Ku=typeof rh.oninput=="function"}Vu=Ku}else Vu=!1;nh=Vu&&(!document.documentMode||9<document.documentMode)}function oh(){li&&(li.detachEvent("onpropertychange",ih),ai=li=null)}function ih(e){if(e.propertyName==="value"&&Fs(ai)){var t=[];th(t,ai,e,Eu(e)),Ep(I1,t)}}function F1(e,t,n){e==="focusin"?(oh(),li=t,ai=n,li.attachEvent("onpropertychange",ih)):e==="focusout"&&oh()}function M1(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Fs(ai)}function _1(e,t){if(e==="click")return Fs(t)}function z1(e,t){if(e==="input"||e==="change")return Fs(t)}function B1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Gt=typeof Object.is=="function"?Object.is:B1;function ui(e,t){if(Gt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!ru.call(t,o)||!Gt(e[o],t[o]))return!1}return!0}function sh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function lh(e,t){var n=sh(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=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=sh(n)}}function ah(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ah(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function uh(){for(var e=window,t=ys();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ys(e.document)}return t}function qu(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 L1(e){var t=uh(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ah(n.ownerDocument.documentElement,n)){if(r!==null&&qu(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=lh(n,i);var s=lh(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<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var j1=Cn&&"documentMode"in document&&11>=document.documentMode,Yr=null,Gu=null,ci=null,Qu=!1;function ch(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Qu||Yr==null||Yr!==ys(r)||(r=Yr,"selectionStart"in r&&qu(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}),ci&&ui(ci,r)||(ci=r,r=Bs(Gu,"onSelect"),0<r.length&&(t=new Lu("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Yr)))}function Ms(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Zr={animationend:Ms("Animation","AnimationEnd"),animationiteration:Ms("Animation","AnimationIteration"),animationstart:Ms("Animation","AnimationStart"),transitionend:Ms("Transition","TransitionEnd")},Xu={},dh={};Cn&&(dh=document.createElement("div").style,"AnimationEvent"in window||(delete Zr.animationend.animation,delete Zr.animationiteration.animation,delete Zr.animationstart.animation),"TransitionEvent"in window||delete Zr.transitionend.transition);function _s(e){if(Xu[e])return Xu[e];if(!Zr[e])return e;var t=Zr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in dh)return Xu[e]=t[n];return e}var fh=_s("animationend"),ph=_s("animationiteration"),hh=_s("animationstart"),mh=_s("transitionend"),gh=new Map,yh="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Gn(e,t){gh.set(e,t),hr(t,[e])}for(var Yu=0;Yu<yh.length;Yu++){var Zu=yh[Yu],D1=Zu.toLowerCase(),U1=Zu[0].toUpperCase()+Zu.slice(1);Gn(D1,"on"+U1)}Gn(fh,"onAnimationEnd"),Gn(ph,"onAnimationIteration"),Gn(hh,"onAnimationStart"),Gn("dblclick","onDoubleClick"),Gn("focusin","onFocus"),Gn("focusout","onBlur"),Gn(mh,"onTransitionEnd"),Ur("onMouseEnter",["mouseout","mouseover"]),Ur("onMouseLeave",["mouseout","mouseover"]),Ur("onPointerEnter",["pointerout","pointerover"]),Ur("onPointerLeave",["pointerout","pointerover"]),hr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),hr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),hr("onBeforeInput",["compositionend","keypress","textInput","paste"]),hr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),hr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),hr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var di="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),H1=new Set("cancel close invalid load scroll toggle".split(" ").concat(di));function vh(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Dv(r,t,void 0,e),e.currentTarget=null}function xh(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var s=r.length-1;0<=s;s--){var l=r[s],a=l.instance,u=l.currentTarget;if(l=l.listener,a!==i&&o.isPropagationStopped())break e;vh(o,l,u),i=a}else for(s=0;s<r.length;s++){if(l=r[s],a=l.instance,u=l.currentTarget,l=l.listener,a!==i&&o.isPropagationStopped())break e;vh(o,l,u),i=a}}}if(Ss)throw e=$u,Ss=!1,$u=null,e}function Ce(e,t){var n=t[sc];n===void 0&&(n=t[sc]=new Set);var r=e+"__bubble";n.has(r)||(Sh(t,e,2,!1),n.add(r))}function Ju(e,t,n){var r=0;t&&(r|=4),Sh(n,e,r,t)}var zs="_reactListening"+Math.random().toString(36).slice(2);function fi(e){if(!e[zs]){e[zs]=!0,tp.forEach(function(n){n!=="selectionchange"&&(H1.has(n)||Ju(n,!1,e),Ju(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[zs]||(t[zs]=!0,Ju("selectionchange",!1,t))}}function Sh(e,t,n,r){switch(Hp(t)){case 1:var o=r1;break;case 4:o=o1;break;default:o=_u}n=o.bind(null,t,n,e),o=void 0,!Pu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function ec(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var l=r.stateNode.containerInfo;if(l===o||l.nodeType===8&&l.parentNode===o)break;if(s===4)for(s=r.return;s!==null;){var a=s.tag;if((a===3||a===4)&&(a=s.stateNode.containerInfo,a===o||a.nodeType===8&&a.parentNode===o))return;s=s.return}for(;l!==null;){if(s=gr(l),s===null)return;if(a=s.tag,a===5||a===6){r=i=s;continue e}l=l.parentNode}}r=r.return}Ep(function(){var u=i,c=Eu(n),d=[];e:{var h=gh.get(e);if(h!==void 0){var x=Lu,p=e;switch(e){case"keypress":if(As(n)===0)break e;case"keydown":case"keyup":x=x1;break;case"focusin":p="focus",x=Uu;break;case"focusout":p="blur",x=Uu;break;case"beforeblur":case"afterblur":x=Uu;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":x=Kp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=l1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=b1;break;case fh:case ph:case hh:x=c1;break;case mh:x=k1;break;case"scroll":x=i1;break;case"wheel":x=R1;break;case"copy":case"cut":case"paste":x=f1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=Gp}var v=(t&4)!==0,w=!v&&e==="scroll",m=v?h!==null?h+"Capture":null:h;v=[];for(var g=u,f;g!==null;){f=g;var S=f.stateNode;if(f.tag===5&&S!==null&&(f=S,m!==null&&(S=Go(g,m),S!=null&&v.push(pi(g,S,f)))),w)break;g=g.return}0<v.length&&(h=new x(h,p,null,n,c),d.push({event:h,listeners:v}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",x=e==="mouseout"||e==="pointerout",h&&n!==ku&&(p=n.relatedTarget||n.fromElement)&&(gr(p)||p[En]))break e;if((x||h)&&(h=c.window===c?c:(h=c.ownerDocument)?h.defaultView||h.parentWindow:window,x?(p=n.relatedTarget||n.toElement,x=u,p=p?gr(p):null,p!==null&&(w=mr(p),p!==w||p.tag!==5&&p.tag!==6)&&(p=null)):(x=null,p=u),x!==p)){if(v=Kp,S="onMouseLeave",m="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(v=Gp,S="onPointerLeave",m="onPointerEnter",g="pointer"),w=x==null?h:to(x),f=p==null?h:to(p),h=new v(S,g+"leave",x,n,c),h.target=w,h.relatedTarget=f,S=null,gr(c)===u&&(v=new v(m,g+"enter",p,n,c),v.target=f,v.relatedTarget=w,S=v),w=S,x&&p)t:{for(v=x,m=p,g=0,f=v;f;f=Jr(f))g++;for(f=0,S=m;S;S=Jr(S))f++;for(;0<g-f;)v=Jr(v),g--;for(;0<f-g;)m=Jr(m),f--;for(;g--;){if(v===m||m!==null&&v===m.alternate)break t;v=Jr(v),m=Jr(m)}v=null}else v=null;x!==null&&wh(d,h,x,v,!1),p!==null&&w!==null&&wh(d,w,p,v,!0)}}e:{if(h=u?to(u):window,x=h.nodeName&&h.nodeName.toLowerCase(),x==="select"||x==="input"&&h.type==="file")var C=N1;else if(eh(h))if(nh)C=z1;else{C=M1;var R=F1}else(x=h.nodeName)&&x.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(C=_1);if(C&&(C=C(e,u))){th(d,C,n,c);break e}R&&R(e,h,u),e==="focusout"&&(R=h._wrapperState)&&R.controlled&&h.type==="number"&&xu(h,"number",h.value)}switch(R=u?to(u):window,e){case"focusin":(eh(R)||R.contentEditable==="true")&&(Yr=R,Gu=u,ci=null);break;case"focusout":ci=Gu=Yr=null;break;case"mousedown":Qu=!0;break;case"contextmenu":case"mouseup":case"dragend":Qu=!1,ch(d,n,c);break;case"selectionchange":if(j1)break;case"keydown":case"keyup":ch(d,n,c)}var T;if(Wu)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else Xr?Zp(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(Qp&&n.locale!=="ko"&&(Xr||P!=="onCompositionStart"?P==="onCompositionEnd"&&Xr&&(T=Wp()):(qn=c,Bu="value"in qn?qn.value:qn.textContent,Xr=!0)),R=Bs(u,P),0<R.length&&(P=new qp(P,e,null,n,c),d.push({event:P,listeners:R}),T?P.data=T:(T=Jp(n),T!==null&&(P.data=T)))),(T=P1?$1(e,n):O1(e,n))&&(u=Bs(u,"onBeforeInput"),0<u.length&&(c=new qp("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=T))}xh(d,t)})}function pi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Bs(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=Go(e,n),i!=null&&r.unshift(pi(e,i,o)),i=Go(e,t),i!=null&&r.push(pi(e,i,o))),e=e.return}return r}function Jr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function wh(e,t,n,r,o){for(var i=t._reactName,s=[];n!==null&&n!==r;){var l=n,a=l.alternate,u=l.stateNode;if(a!==null&&a===r)break;l.tag===5&&u!==null&&(l=u,o?(a=Go(n,i),a!=null&&s.unshift(pi(n,a,l))):o||(a=Go(n,i),a!=null&&s.push(pi(n,a,l)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var W1=/\r\n?/g,V1=/\u0000|\uFFFD/g;function bh(e){return(typeof e=="string"?e:""+e).replace(W1,`
|
|
38
|
+
`).replace(V1,"")}function Ls(e,t,n){if(t=bh(t),bh(e)!==t&&n)throw Error(F(425))}function js(){}var tc=null,nc=null;function rc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var oc=typeof setTimeout=="function"?setTimeout:void 0,K1=typeof clearTimeout=="function"?clearTimeout:void 0,Ch=typeof Promise=="function"?Promise:void 0,q1=typeof queueMicrotask=="function"?queueMicrotask:typeof Ch<"u"?function(e){return Ch.resolve(null).then(e).catch(G1)}:oc;function G1(e){setTimeout(function(){throw e})}function ic(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),ri(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);ri(t)}function Qn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function kh(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var eo=Math.random().toString(36).slice(2),ln="__reactFiber$"+eo,hi="__reactProps$"+eo,En="__reactContainer$"+eo,sc="__reactEvents$"+eo,Q1="__reactListeners$"+eo,X1="__reactHandles$"+eo;function gr(e){var t=e[ln];if(t)return t;for(var n=e.parentNode;n;){if(t=n[En]||n[ln]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=kh(e);e!==null;){if(n=e[ln])return n;e=kh(e)}return t}e=n,n=e.parentNode}return null}function mi(e){return e=e[ln]||e[En],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function to(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(F(33))}function Ds(e){return e[hi]||null}var lc=[],no=-1;function Xn(e){return{current:e}}function ke(e){0>no||(e.current=lc[no],lc[no]=null,no--)}function we(e,t){no++,lc[no]=e.current,e.current=t}var Yn={},it=Xn(Yn),mt=Xn(!1),yr=Yn;function ro(e,t){var n=e.type.contextTypes;if(!n)return Yn;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 gt(e){return e=e.childContextTypes,e!=null}function Us(){ke(mt),ke(it)}function Eh(e,t,n){if(it.current!==Yn)throw Error(F(168));we(it,t),we(mt,n)}function Rh(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(F(108,Fv(e)||"Unknown",o));return Ie({},n,r)}function Hs(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Yn,yr=it.current,we(it,e),we(mt,mt.current),!0}function Th(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=Rh(e,t,yr),r.__reactInternalMemoizedMergedChildContext=e,ke(mt),ke(it),we(it,e)):ke(mt),we(mt,n)}var Rn=null,Ws=!1,ac=!1;function Ph(e){Rn===null?Rn=[e]:Rn.push(e)}function Y1(e){Ws=!0,Ph(e)}function Zn(){if(!ac&&Rn!==null){ac=!0;var e=0,t=ae;try{var n=Rn;for(ae=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Rn=null,Ws=!1}catch(o){throw Rn!==null&&(Rn=Rn.slice(e+1)),Op(Ou,Zn),o}finally{ae=t,ac=!1}}return null}var oo=[],io=0,Vs=null,Ks=0,_t=[],zt=0,vr=null,Tn=1,Pn="";function xr(e,t){oo[io++]=Ks,oo[io++]=Vs,Vs=e,Ks=t}function $h(e,t,n){_t[zt++]=Tn,_t[zt++]=Pn,_t[zt++]=vr,vr=e;var r=Tn;e=Pn;var o=32-qt(r)-1;r&=~(1<<o),n+=1;var i=32-qt(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,Tn=1<<32-qt(t)+o|n<<o|r,Pn=i+e}else Tn=1<<i|n<<o|r,Pn=e}function uc(e){e.return!==null&&(xr(e,1),$h(e,1,0))}function cc(e){for(;e===Vs;)Vs=oo[--io],oo[io]=null,Ks=oo[--io],oo[io]=null;for(;e===vr;)vr=_t[--zt],_t[zt]=null,Pn=_t[--zt],_t[zt]=null,Tn=_t[--zt],_t[zt]=null}var Pt=null,$t=null,Pe=!1,Qt=null;function Oh(e,t){var n=Dt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Ah(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Pt=e,$t=Qn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Pt=e,$t=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=vr!==null?{id:Tn,overflow:Pn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Dt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Pt=e,$t=null,!0):!1;default:return!1}}function dc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function fc(e){if(Pe){var t=$t;if(t){var n=t;if(!Ah(e,t)){if(dc(e))throw Error(F(418));t=Qn(n.nextSibling);var r=Pt;t&&Ah(e,t)?Oh(r,n):(e.flags=e.flags&-4097|2,Pe=!1,Pt=e)}}else{if(dc(e))throw Error(F(418));e.flags=e.flags&-4097|2,Pe=!1,Pt=e}}}function Ih(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Pt=e}function qs(e){if(e!==Pt)return!1;if(!Pe)return Ih(e),Pe=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!rc(e.type,e.memoizedProps)),t&&(t=$t)){if(dc(e))throw Nh(),Error(F(418));for(;t;)Oh(e,t),t=Qn(t.nextSibling)}if(Ih(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(F(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){$t=Qn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}$t=null}}else $t=Pt?Qn(e.stateNode.nextSibling):null;return!0}function Nh(){for(var e=$t;e;)e=Qn(e.nextSibling)}function so(){$t=Pt=null,Pe=!1}function pc(e){Qt===null?Qt=[e]:Qt.push(e)}var Z1=kn.ReactCurrentBatchConfig;function gi(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(F(309));var r=n.stateNode}if(!r)throw Error(F(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(s){var l=o.refs;s===null?delete l[i]:l[i]=s},t._stringRef=i,t)}if(typeof e!="string")throw Error(F(284));if(!n._owner)throw Error(F(290,e))}return e}function Gs(e,t){throw e=Object.prototype.toString.call(t),Error(F(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Fh(e){var t=e._init;return t(e._payload)}function Mh(e){function t(m,g){if(e){var f=m.deletions;f===null?(m.deletions=[g],m.flags|=16):f.push(g)}}function n(m,g){if(!e)return null;for(;g!==null;)t(m,g),g=g.sibling;return null}function r(m,g){for(m=new Map;g!==null;)g.key!==null?m.set(g.key,g):m.set(g.index,g),g=g.sibling;return m}function o(m,g){return m=sr(m,g),m.index=0,m.sibling=null,m}function i(m,g,f){return m.index=f,e?(f=m.alternate,f!==null?(f=f.index,f<g?(m.flags|=2,g):f):(m.flags|=2,g)):(m.flags|=1048576,g)}function s(m){return e&&m.alternate===null&&(m.flags|=2),m}function l(m,g,f,S){return g===null||g.tag!==6?(g=od(f,m.mode,S),g.return=m,g):(g=o(g,f),g.return=m,g)}function a(m,g,f,S){var C=f.type;return C===Wr?c(m,g,f.props.children,S,f.key):g!==null&&(g.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Dn&&Fh(C)===g.type)?(S=o(g,f.props),S.ref=gi(m,g,f),S.return=m,S):(S=vl(f.type,f.key,f.props,null,m.mode,S),S.ref=gi(m,g,f),S.return=m,S)}function u(m,g,f,S){return g===null||g.tag!==4||g.stateNode.containerInfo!==f.containerInfo||g.stateNode.implementation!==f.implementation?(g=id(f,m.mode,S),g.return=m,g):(g=o(g,f.children||[]),g.return=m,g)}function c(m,g,f,S,C){return g===null||g.tag!==7?(g=Tr(f,m.mode,S,C),g.return=m,g):(g=o(g,f),g.return=m,g)}function d(m,g,f){if(typeof g=="string"&&g!==""||typeof g=="number")return g=od(""+g,m.mode,f),g.return=m,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case ms:return f=vl(g.type,g.key,g.props,null,m.mode,f),f.ref=gi(m,null,g),f.return=m,f;case Hr:return g=id(g,m.mode,f),g.return=m,g;case Dn:var S=g._init;return d(m,S(g._payload),f)}if(Vo(g)||Ho(g))return g=Tr(g,m.mode,f,null),g.return=m,g;Gs(m,g)}return null}function h(m,g,f,S){var C=g!==null?g.key:null;if(typeof f=="string"&&f!==""||typeof f=="number")return C!==null?null:l(m,g,""+f,S);if(typeof f=="object"&&f!==null){switch(f.$$typeof){case ms:return f.key===C?a(m,g,f,S):null;case Hr:return f.key===C?u(m,g,f,S):null;case Dn:return C=f._init,h(m,g,C(f._payload),S)}if(Vo(f)||Ho(f))return C!==null?null:c(m,g,f,S,null);Gs(m,f)}return null}function x(m,g,f,S,C){if(typeof S=="string"&&S!==""||typeof S=="number")return m=m.get(f)||null,l(g,m,""+S,C);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case ms:return m=m.get(S.key===null?f:S.key)||null,a(g,m,S,C);case Hr:return m=m.get(S.key===null?f:S.key)||null,u(g,m,S,C);case Dn:var R=S._init;return x(m,g,f,R(S._payload),C)}if(Vo(S)||Ho(S))return m=m.get(f)||null,c(g,m,S,C,null);Gs(g,S)}return null}function p(m,g,f,S){for(var C=null,R=null,T=g,P=g=0,y=null;T!==null&&P<f.length;P++){T.index>P?(y=T,T=null):y=T.sibling;var k=h(m,T,f[P],S);if(k===null){T===null&&(T=y);break}e&&T&&k.alternate===null&&t(m,T),g=i(k,g,P),R===null?C=k:R.sibling=k,R=k,T=y}if(P===f.length)return n(m,T),Pe&&xr(m,P),C;if(T===null){for(;P<f.length;P++)T=d(m,f[P],S),T!==null&&(g=i(T,g,P),R===null?C=T:R.sibling=T,R=T);return Pe&&xr(m,P),C}for(T=r(m,T);P<f.length;P++)y=x(T,m,P,f[P],S),y!==null&&(e&&y.alternate!==null&&T.delete(y.key===null?P:y.key),g=i(y,g,P),R===null?C=y:R.sibling=y,R=y);return e&&T.forEach(function(O){return t(m,O)}),Pe&&xr(m,P),C}function v(m,g,f,S){var C=Ho(f);if(typeof C!="function")throw Error(F(150));if(f=C.call(f),f==null)throw Error(F(151));for(var R=C=null,T=g,P=g=0,y=null,k=f.next();T!==null&&!k.done;P++,k=f.next()){T.index>P?(y=T,T=null):y=T.sibling;var O=h(m,T,k.value,S);if(O===null){T===null&&(T=y);break}e&&T&&O.alternate===null&&t(m,T),g=i(O,g,P),R===null?C=O:R.sibling=O,R=O,T=y}if(k.done)return n(m,T),Pe&&xr(m,P),C;if(T===null){for(;!k.done;P++,k=f.next())k=d(m,k.value,S),k!==null&&(g=i(k,g,P),R===null?C=k:R.sibling=k,R=k);return Pe&&xr(m,P),C}for(T=r(m,T);!k.done;P++,k=f.next())k=x(T,m,P,k.value,S),k!==null&&(e&&k.alternate!==null&&T.delete(k.key===null?P:k.key),g=i(k,g,P),R===null?C=k:R.sibling=k,R=k);return e&&T.forEach(function(N){return t(m,N)}),Pe&&xr(m,P),C}function w(m,g,f,S){if(typeof f=="object"&&f!==null&&f.type===Wr&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case ms:e:{for(var C=f.key,R=g;R!==null;){if(R.key===C){if(C=f.type,C===Wr){if(R.tag===7){n(m,R.sibling),g=o(R,f.props.children),g.return=m,m=g;break e}}else if(R.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Dn&&Fh(C)===R.type){n(m,R.sibling),g=o(R,f.props),g.ref=gi(m,R,f),g.return=m,m=g;break e}n(m,R);break}else t(m,R);R=R.sibling}f.type===Wr?(g=Tr(f.props.children,m.mode,S,f.key),g.return=m,m=g):(S=vl(f.type,f.key,f.props,null,m.mode,S),S.ref=gi(m,g,f),S.return=m,m=S)}return s(m);case Hr:e:{for(R=f.key;g!==null;){if(g.key===R)if(g.tag===4&&g.stateNode.containerInfo===f.containerInfo&&g.stateNode.implementation===f.implementation){n(m,g.sibling),g=o(g,f.children||[]),g.return=m,m=g;break e}else{n(m,g);break}else t(m,g);g=g.sibling}g=id(f,m.mode,S),g.return=m,m=g}return s(m);case Dn:return R=f._init,w(m,g,R(f._payload),S)}if(Vo(f))return p(m,g,f,S);if(Ho(f))return v(m,g,f,S);Gs(m,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,g!==null&&g.tag===6?(n(m,g.sibling),g=o(g,f),g.return=m,m=g):(n(m,g),g=od(f,m.mode,S),g.return=m,m=g),s(m)):n(m,g)}return w}var lo=Mh(!0),_h=Mh(!1),Qs=Xn(null),Xs=null,ao=null,hc=null;function mc(){hc=ao=Xs=null}function gc(e){var t=Qs.current;ke(Qs),e._currentValue=t}function yc(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 uo(e,t){Xs=e,hc=ao=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(yt=!0),e.firstContext=null)}function Bt(e){var t=e._currentValue;if(hc!==e)if(e={context:e,memoizedValue:t,next:null},ao===null){if(Xs===null)throw Error(F(308));ao=e,Xs.dependencies={lanes:0,firstContext:e}}else ao=ao.next=e;return t}var Sr=null;function vc(e){Sr===null?Sr=[e]:Sr.push(e)}function zh(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,vc(t)):(n.next=o.next,o.next=n),t.interleaved=n,$n(e,r)}function $n(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 Jn=!1;function xc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Bh(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function On(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function er(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ie&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,$n(e,n)}return o=r.interleaved,o===null?(t.next=t,vc(r)):(t.next=o.next,o.next=t),r.interleaved=t,$n(e,n)}function Ys(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,Nu(e,n)}}function Lh(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 Zs(e,t,n,r){var o=e.updateQueue;Jn=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var a=l,u=a.next;a.next=null,s===null?i=u:s.next=u,s=a;var c=e.alternate;c!==null&&(c=c.updateQueue,l=c.lastBaseUpdate,l!==s&&(l===null?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=a))}if(i!==null){var d=o.baseState;s=0,c=u=a=null,l=i;do{var h=l.lane,x=l.eventTime;if((r&h)===h){c!==null&&(c=c.next={eventTime:x,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var p=e,v=l;switch(h=t,x=n,v.tag){case 1:if(p=v.payload,typeof p=="function"){d=p.call(x,d,h);break e}d=p;break e;case 3:p.flags=p.flags&-65537|128;case 0:if(p=v.payload,h=typeof p=="function"?p.call(x,d,h):p,h==null)break e;d=Ie({},d,h);break e;case 2:Jn=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,h=o.effects,h===null?o.effects=[l]:h.push(l))}else x={eventTime:x,lane:h,tag:l.tag,payload:l.payload,callback:l.callback,next:null},c===null?(u=c=x,a=d):c=c.next=x,s|=h;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;h=l,l=h.next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}while(!0);if(c===null&&(a=d),o.baseState=a,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);Cr|=s,e.lanes=s,e.memoizedState=d}}function jh(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(F(191,o));o.call(r)}}}var yi={},an=Xn(yi),vi=Xn(yi),xi=Xn(yi);function wr(e){if(e===yi)throw Error(F(174));return e}function Sc(e,t){switch(we(xi,t),we(vi,e),we(an,yi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:wu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=wu(t,e)}ke(an),we(an,t)}function co(){ke(an),ke(vi),ke(xi)}function Dh(e){wr(xi.current);var t=wr(an.current),n=wu(t,e.type);t!==n&&(we(vi,e),we(an,n))}function wc(e){vi.current===e&&(ke(an),ke(vi))}var Ne=Xn(0);function Js(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var bc=[];function Cc(){for(var e=0;e<bc.length;e++)bc[e]._workInProgressVersionPrimary=null;bc.length=0}var el=kn.ReactCurrentDispatcher,kc=kn.ReactCurrentBatchConfig,br=0,Fe=null,Ve=null,Ge=null,tl=!1,Si=!1,wi=0,J1=0;function st(){throw Error(F(321))}function Ec(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Gt(e[n],t[n]))return!1;return!0}function Rc(e,t,n,r,o,i){if(br=i,Fe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,el.current=e===null||e.memoizedState===null?rx:ox,e=n(r,o),Si){i=0;do{if(Si=!1,wi=0,25<=i)throw Error(F(301));i+=1,Ge=Ve=null,t.updateQueue=null,el.current=ix,e=n(r,o)}while(Si)}if(el.current=ol,t=Ve!==null&&Ve.next!==null,br=0,Ge=Ve=Fe=null,tl=!1,t)throw Error(F(300));return e}function Tc(){var e=wi!==0;return wi=0,e}function un(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ge===null?Fe.memoizedState=Ge=e:Ge=Ge.next=e,Ge}function Lt(){if(Ve===null){var e=Fe.alternate;e=e!==null?e.memoizedState:null}else e=Ve.next;var t=Ge===null?Fe.memoizedState:Ge.next;if(t!==null)Ge=t,Ve=e;else{if(e===null)throw Error(F(310));Ve=e,e={memoizedState:Ve.memoizedState,baseState:Ve.baseState,baseQueue:Ve.baseQueue,queue:Ve.queue,next:null},Ge===null?Fe.memoizedState=Ge=e:Ge=Ge.next=e}return Ge}function bi(e,t){return typeof t=="function"?t(e):t}function Pc(e){var t=Lt(),n=t.queue;if(n===null)throw Error(F(311));n.lastRenderedReducer=e;var r=Ve,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var l=s=null,a=null,u=i;do{var c=u.lane;if((br&c)===c)a!==null&&(a=a.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};a===null?(l=a=d,s=r):a=a.next=d,Fe.lanes|=c,Cr|=c}u=u.next}while(u!==null&&u!==i);a===null?s=r:a.next=l,Gt(r,t.memoizedState)||(yt=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,Fe.lanes|=i,Cr|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function $c(e){var t=Lt(),n=t.queue;if(n===null)throw Error(F(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var s=o=o.next;do i=e(i,s.action),s=s.next;while(s!==o);Gt(i,t.memoizedState)||(yt=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Uh(){}function Hh(e,t){var n=Fe,r=Lt(),o=t(),i=!Gt(r.memoizedState,o);if(i&&(r.memoizedState=o,yt=!0),r=r.queue,Oc(Kh.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Ge!==null&&Ge.memoizedState.tag&1){if(n.flags|=2048,Ci(9,Vh.bind(null,n,r,o,t),void 0,null),Qe===null)throw Error(F(349));br&30||Wh(n,t,o)}return o}function Wh(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Fe.updateQueue,t===null?(t={lastEffect:null,stores:null},Fe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Vh(e,t,n,r){t.value=n,t.getSnapshot=r,qh(t)&&Gh(e)}function Kh(e,t,n){return n(function(){qh(t)&&Gh(e)})}function qh(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Gt(e,n)}catch{return!0}}function Gh(e){var t=$n(e,1);t!==null&&Jt(t,e,1,-1)}function Qh(e){var t=un();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:bi,lastRenderedState:e},t.queue=e,e=e.dispatch=nx.bind(null,Fe,e),[t.memoizedState,e]}function Ci(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Fe.updateQueue,t===null?(t={lastEffect:null,stores:null},Fe.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Xh(){return Lt().memoizedState}function nl(e,t,n,r){var o=un();Fe.flags|=e,o.memoizedState=Ci(1|t,n,void 0,r===void 0?null:r)}function rl(e,t,n,r){var o=Lt();r=r===void 0?null:r;var i=void 0;if(Ve!==null){var s=Ve.memoizedState;if(i=s.destroy,r!==null&&Ec(r,s.deps)){o.memoizedState=Ci(t,n,i,r);return}}Fe.flags|=e,o.memoizedState=Ci(1|t,n,i,r)}function Yh(e,t){return nl(8390656,8,e,t)}function Oc(e,t){return rl(2048,8,e,t)}function Zh(e,t){return rl(4,2,e,t)}function Jh(e,t){return rl(4,4,e,t)}function em(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function tm(e,t,n){return n=n!=null?n.concat([e]):null,rl(4,4,em.bind(null,t,e),n)}function Ac(){}function nm(e,t){var n=Lt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ec(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function rm(e,t){var n=Lt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ec(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function om(e,t,n){return br&21?(Gt(n,t)||(n=Fp(),Fe.lanes|=n,Cr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,yt=!0),e.memoizedState=n)}function ex(e,t){var n=ae;ae=n!==0&&4>n?n:4,e(!0);var r=kc.transition;kc.transition={};try{e(!1),t()}finally{ae=n,kc.transition=r}}function im(){return Lt().memoizedState}function tx(e,t,n){var r=or(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},sm(e))lm(t,n);else if(n=zh(e,t,n,r),n!==null){var o=ht();Jt(n,e,r,o),am(n,t,r)}}function nx(e,t,n){var r=or(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(sm(e))lm(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,l=i(s,n);if(o.hasEagerState=!0,o.eagerState=l,Gt(l,s)){var a=t.interleaved;a===null?(o.next=o,vc(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=zh(e,t,o,r),n!==null&&(o=ht(),Jt(n,e,r,o),am(n,t,r))}}function sm(e){var t=e.alternate;return e===Fe||t!==null&&t===Fe}function lm(e,t){Si=tl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function am(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Nu(e,n)}}var ol={readContext:Bt,useCallback:st,useContext:st,useEffect:st,useImperativeHandle:st,useInsertionEffect:st,useLayoutEffect:st,useMemo:st,useReducer:st,useRef:st,useState:st,useDebugValue:st,useDeferredValue:st,useTransition:st,useMutableSource:st,useSyncExternalStore:st,useId:st,unstable_isNewReconciler:!1},rx={readContext:Bt,useCallback:function(e,t){return un().memoizedState=[e,t===void 0?null:t],e},useContext:Bt,useEffect:Yh,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,nl(4194308,4,em.bind(null,t,e),n)},useLayoutEffect:function(e,t){return nl(4194308,4,e,t)},useInsertionEffect:function(e,t){return nl(4,2,e,t)},useMemo:function(e,t){var n=un();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=un();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=tx.bind(null,Fe,e),[r.memoizedState,e]},useRef:function(e){var t=un();return e={current:e},t.memoizedState=e},useState:Qh,useDebugValue:Ac,useDeferredValue:function(e){return un().memoizedState=e},useTransition:function(){var e=Qh(!1),t=e[0];return e=ex.bind(null,e[1]),un().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Fe,o=un();if(Pe){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),Qe===null)throw Error(F(349));br&30||Wh(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Yh(Kh.bind(null,r,i,e),[e]),r.flags|=2048,Ci(9,Vh.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=un(),t=Qe.identifierPrefix;if(Pe){var n=Pn,r=Tn;n=(r&~(1<<32-qt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=wi++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=J1++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ox={readContext:Bt,useCallback:nm,useContext:Bt,useEffect:Oc,useImperativeHandle:tm,useInsertionEffect:Zh,useLayoutEffect:Jh,useMemo:rm,useReducer:Pc,useRef:Xh,useState:function(){return Pc(bi)},useDebugValue:Ac,useDeferredValue:function(e){var t=Lt();return om(t,Ve.memoizedState,e)},useTransition:function(){var e=Pc(bi)[0],t=Lt().memoizedState;return[e,t]},useMutableSource:Uh,useSyncExternalStore:Hh,useId:im,unstable_isNewReconciler:!1},ix={readContext:Bt,useCallback:nm,useContext:Bt,useEffect:Oc,useImperativeHandle:tm,useInsertionEffect:Zh,useLayoutEffect:Jh,useMemo:rm,useReducer:$c,useRef:Xh,useState:function(){return $c(bi)},useDebugValue:Ac,useDeferredValue:function(e){var t=Lt();return Ve===null?t.memoizedState=e:om(t,Ve.memoizedState,e)},useTransition:function(){var e=$c(bi)[0],t=Lt().memoizedState;return[e,t]},useMutableSource:Uh,useSyncExternalStore:Hh,useId:im,unstable_isNewReconciler:!1};function Xt(e,t){if(e&&e.defaultProps){t=Ie({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Ic(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Ie({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var il={isMounted:function(e){return(e=e._reactInternals)?mr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ht(),o=or(e),i=On(r,o);i.payload=t,n!=null&&(i.callback=n),t=er(e,i,o),t!==null&&(Jt(t,e,o,r),Ys(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ht(),o=or(e),i=On(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=er(e,i,o),t!==null&&(Jt(t,e,o,r),Ys(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ht(),r=or(e),o=On(n,r);o.tag=2,t!=null&&(o.callback=t),t=er(e,o,r),t!==null&&(Jt(t,e,r,n),Ys(t,e,r))}};function um(e,t,n,r,o,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,s):t.prototype&&t.prototype.isPureReactComponent?!ui(n,r)||!ui(o,i):!0}function cm(e,t,n){var r=!1,o=Yn,i=t.contextType;return typeof i=="object"&&i!==null?i=Bt(i):(o=gt(t)?yr:it.current,r=t.contextTypes,i=(r=r!=null)?ro(e,o):Yn),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=il,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function dm(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&il.enqueueReplaceState(t,t.state,null)}function Nc(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},xc(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=Bt(i):(i=gt(t)?yr:it.current,o.context=ro(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Ic(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&il.enqueueReplaceState(o,o.state,null),Zs(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function fo(e,t){try{var n="",r=t;do n+=Nv(r),r=r.return;while(r);var o=n}catch(i){o=`
|
|
39
39
|
Error generating stack: `+i.message+`
|
|
40
|
-
`+i.stack}return{value:e,source:t,stack:o,digest:null}}function Ja(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Za(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var iy=typeof WeakMap=="function"?WeakMap:Map;function yp(e,t,n){n=Qt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ts||(ts=!0,hu=r),Za(e,t)},n}function vp(e,t,n){n=Qt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Za(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Za(e,t),typeof r!="function"&&(vn===null?vn=new Set([this]):vn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Sp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new iy;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Sy.bind(null,e,t,n),t.then(e,e))}function wp(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function xp(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Qt(-1,1),t.tag=2,gn(n,t,1))),n.lanes|=1),e)}var sy=Ut.ReactCurrentOwner,De=!1;function Ie(e,t,n,r){t.child=e===null?Fd(t,null,n,r):gr(t,e.child,n,r)}function kp(e,t,n,r,o){n=n.render;var i=t.ref;return vr(t,o),r=Wa(e,t,n,r,i,o),n=Va(),e!==null&&!De?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,qt(e,t,o)):(ie&&n&&Ra(t),t.flags|=1,Ie(e,t,r,o),t.child)}function Cp(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!xu(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Ep(e,t,i,r,o)):(e=ls(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:uo,n(s,r)&&e.ref===t.ref)return qt(e,t,o)}return t.flags|=1,e=kn(i,r),e.ref=t.ref,e.return=t,t.child=e}function Ep(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(uo(i,r)&&e.ref===t.ref)if(De=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(De=!0);else return t.lanes=e.lanes,qt(e,t,o)}return eu(e,t,n,r,o)}function Tp(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},te(kr,Xe),Xe|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,te(kr,Xe),Xe|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,te(kr,Xe),Xe|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,te(kr,Xe),Xe|=r;return Ie(e,t,o,n),t.child}function bp(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function eu(e,t,n,r,o){var i=je(n)?Nn:Oe.current;return i=dr(t,i),vr(t,o),n=Wa(e,t,n,r,i,o),r=Va(),e!==null&&!De?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,qt(e,t,o)):(ie&&r&&Ra(t),t.flags|=1,Ie(e,t,n,o),t.child)}function Rp(e,t,n,r,o){if(je(n)){var i=!0;Ni(t)}else i=!1;if(vr(t,o),t.stateNode===null)Yi(e,t),mp(t,n,r),Xa(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,l=t.memoizedProps;s.props=l;var a=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=it(u):(u=je(n)?Nn:Oe.current,u=dr(t,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||a!==u)&&gp(t,s,r,u),mn=!1;var m=t.memoizedState;s.state=m,Fi(t,r,s,o),a=t.memoizedState,l!==r||m!==a||ze.current||mn?(typeof c=="function"&&(Ya(t,n,c,r),a=t.memoizedState),(l=mn||hp(t,n,l,r,m,a,u))?(f||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),s.props=r,s.state=a,s.context=u,r=l):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Hd(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:St(t.type,l),s.props=u,f=t.pendingProps,m=s.context,a=n.contextType,typeof a=="object"&&a!==null?a=it(a):(a=je(n)?Nn:Oe.current,a=dr(t,a));var S=n.getDerivedStateFromProps;(c=typeof S=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==f||m!==a)&&gp(t,s,r,a),mn=!1,m=t.memoizedState,s.state=m,Fi(t,r,s,o);var d=t.memoizedState;l!==f||m!==d||ze.current||mn?(typeof S=="function"&&(Ya(t,n,S,r),d=t.memoizedState),(u=mn||hp(t,n,u,r,m,d,a)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,d,a),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,d,a)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=d),s.props=r,s.state=d,s.context=a,r=u):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),r=!1)}return tu(e,t,n,r,i,o)}function tu(e,t,n,r,o,i){bp(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&Nd(t,n,!1),qt(e,t,i);r=t.stateNode,sy.current=t;var l=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=gr(t,e.child,null,i),t.child=gr(t,null,l,i)):Ie(e,t,l,i),t.memoizedState=r.state,o&&Nd(t,n,!0),t.child}function Pp(e){var t=e.stateNode;t.pendingContext?Ad(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ad(e,t.context,!1),za(e,t.containerInfo)}function Op(e,t,n,r,o){return mr(),_a(o),t.flags|=256,Ie(e,t,n,r),t.child}var nu={dehydrated:null,treeContext:null,retryLane:0};function ru(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ap(e,t,n){var r=t.pendingProps,o=ae.current,i=!1,s=(t.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),te(ae,o&1),e===null)return Aa(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,i?(r=t.mode,i=t.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=as(s,r,0,null),e=Un(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=ru(n),t.memoizedState=nu,e):ou(t,s));if(o=e.memoizedState,o!==null&&(l=o.dehydrated,l!==null))return ly(e,t,s,r,l,o,n);if(i){i=r.fallback,s=t.mode,o=e.child,l=o.sibling;var a={mode:"hidden",children:r.children};return!(s&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=kn(o,a),r.subtreeFlags=o.subtreeFlags&14680064),l!==null?i=kn(l,i):(i=Un(i,s,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,s=e.child.memoizedState,s=s===null?ru(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=nu,r}return i=e.child,e=i.sibling,r=kn(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function ou(e,t){return t=as({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function qi(e,t,n,r){return r!==null&&_a(r),gr(t,e.child,null,n),e=ou(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ly(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=Ja(Error(_(422))),qi(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=as({mode:"visible",children:r.children},o,0,null),i=Un(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&gr(t,e.child,null,s),t.child.memoizedState=ru(s),t.memoizedState=nu,i);if(!(t.mode&1))return qi(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,i=Error(_(419)),r=Ja(i,r,void 0),qi(e,t,s,r)}if(l=(s&e.childLanes)!==0,De||l){if(r=Ce,r!==null){switch(s&-s){case 4:o=2;break;case 16:o=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,Gt(e,o),kt(r,e,o,-1))}return wu(),r=Ja(Error(_(421))),qi(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=wy.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Ye=fn(o.nextSibling),qe=t,ie=!0,vt=null,e!==null&&(rt[ot++]=Vt,rt[ot++]=Kt,rt[ot++]=$n,Vt=e.id,Kt=e.overflow,$n=t),t=ou(t,r.children),t.flags|=4096,t)}function _p(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ba(e.return,t,n)}function iu(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Np(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Ie(e,t,r.children,n),r=ae.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&_p(e,n,t);else if(e.tag===19)_p(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(te(ae,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Ui(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),iu(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Ui(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}iu(t,!0,n,null,i);break;case"together":iu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Yi(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function qt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),zn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(_(153));if(t.child!==null){for(e=t.child,n=kn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=kn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function ay(e,t,n){switch(t.tag){case 3:Pp(t),mr();break;case 5:Kd(t);break;case 1:je(t.type)&&Ni(t);break;case 4:za(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;te(zi,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(te(ae,ae.current&1),t.flags|=128,null):n&t.child.childLanes?Ap(e,t,n):(te(ae,ae.current&1),e=qt(e,t,n),e!==null?e.sibling:null);te(ae,ae.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Np(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),te(ae,ae.current),r)break;return null;case 22:case 23:return t.lanes=0,Tp(e,t,n)}return qt(e,t,n)}var $p,su,Mp,Bp;$p=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},su=function(){},Mp=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,In(Pt.current);var i=null;switch(n){case"input":o=Bl(e,o),r=Bl(e,r),i=[];break;case"select":o=le({},o,{value:void 0}),r=le({},r,{value:void 0}),i=[];break;case"textarea":o=zl(e,o),r=zl(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Oi)}Dl(n,r);var s;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var l=o[u];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Ur.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var a=r[u];if(l=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&a!==l&&(a!=null||l!=null))if(u==="style")if(l){for(s in l)!l.hasOwnProperty(s)||a&&a.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in a)a.hasOwnProperty(s)&&l[s]!==a[s]&&(n||(n={}),n[s]=a[s])}else n||(i||(i=[]),i.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,l=l?l.__html:void 0,a!=null&&l!==a&&(i=i||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(i=i||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Ur.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&re("scroll",e),i||l===a||(i=[])):(i=i||[]).push(u,a))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},Bp=function(e,t,n,r){n!==r&&(t.flags|=4)};function To(e,t){if(!ie)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function _e(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function uy(e,t,n){var r=t.pendingProps;switch(Pa(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _e(t),null;case 1:return je(t.type)&&_i(),_e(t),null;case 3:return r=t.stateNode,Sr(),oe(ze),oe(Oe),Fa(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ii(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,vt!==null&&(yu(vt),vt=null))),su(e,t),_e(t),null;case 5:ja(t);var o=In(wo.current);if(n=t.type,e!==null&&t.stateNode!=null)Mp(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(_(166));return _e(t),null}if(e=In(Pt.current),Ii(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Rt]=t,r[mo]=i,e=(t.mode&1)!==0,n){case"dialog":re("cancel",r),re("close",r);break;case"iframe":case"object":case"embed":re("load",r);break;case"video":case"audio":for(o=0;o<fo.length;o++)re(fo[o],r);break;case"source":re("error",r);break;case"img":case"image":case"link":re("error",r),re("load",r);break;case"details":re("toggle",r);break;case"input":mf(r,i),re("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},re("invalid",r);break;case"textarea":vf(r,i),re("invalid",r)}Dl(n,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];s==="children"?typeof l=="string"?r.textContent!==l&&(i.suppressHydrationWarning!==!0&&Pi(r.textContent,l,e),o=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(i.suppressHydrationWarning!==!0&&Pi(r.textContent,l,e),o=["children",""+l]):Ur.hasOwnProperty(s)&&l!=null&&s==="onScroll"&&re("scroll",r)}switch(n){case"input":ii(r),yf(r,i,!0);break;case"textarea":ii(r),wf(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Oi)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=xf(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/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[Rt]=t,e[mo]=r,$p(e,t,!1,!1),t.stateNode=e;e:{switch(s=Fl(n,r),n){case"dialog":re("cancel",e),re("close",e),o=r;break;case"iframe":case"object":case"embed":re("load",e),o=r;break;case"video":case"audio":for(o=0;o<fo.length;o++)re(fo[o],e);o=r;break;case"source":re("error",e),o=r;break;case"img":case"image":case"link":re("error",e),re("load",e),o=r;break;case"details":re("toggle",e),o=r;break;case"input":mf(e,r),o=Bl(e,r),re("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=le({},r,{value:void 0}),re("invalid",e);break;case"textarea":vf(e,r),o=zl(e,r),re("invalid",e);break;default:o=r}Dl(n,o),l=o;for(i in l)if(l.hasOwnProperty(i)){var a=l[i];i==="style"?Ef(e,a):i==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&kf(e,a)):i==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&Kr(e,a):typeof a=="number"&&Kr(e,""+a):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Ur.hasOwnProperty(i)?a!=null&&i==="onScroll"&&re("scroll",e):a!=null&&El(e,i,a,s))}switch(n){case"input":ii(e),yf(e,r,!1);break;case"textarea":ii(e),wf(e);break;case"option":r.value!=null&&e.setAttribute("value",""+rn(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?er(e,!!r.multiple,i,!1):r.defaultValue!=null&&er(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Oi)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return _e(t),null;case 6:if(e&&t.stateNode!=null)Bp(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(_(166));if(n=In(wo.current),In(Pt.current),Ii(t)){if(r=t.stateNode,n=t.memoizedProps,r[Rt]=t,(i=r.nodeValue!==n)&&(e=qe,e!==null))switch(e.tag){case 3:Pi(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Pi(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Rt]=t,t.stateNode=r}return _e(t),null;case 13:if(oe(ae),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ie&&Ye!==null&&t.mode&1&&!(t.flags&128))zd(),mr(),t.flags|=98560,i=!1;else if(i=Ii(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(_(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(_(317));i[Rt]=t}else mr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;_e(t),i=!1}else vt!==null&&(yu(vt),vt=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||ae.current&1?we===0&&(we=3):wu())),t.updateQueue!==null&&(t.flags|=4),_e(t),null);case 4:return Sr(),su(e,t),e===null&&po(t.stateNode.containerInfo),_e(t),null;case 10:return Ma(t.type._context),_e(t),null;case 17:return je(t.type)&&_i(),_e(t),null;case 19:if(oe(ae),i=t.memoizedState,i===null)return _e(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)To(i,!1);else{if(we!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=Ui(e),s!==null){for(t.flags|=128,To(i,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,s=i.alternate,s===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return te(ae,ae.current&1|2),t.child}e=e.sibling}i.tail!==null&&he()>Cr&&(t.flags|=128,r=!0,To(i,!1),t.lanes=4194304)}else{if(!r)if(e=Ui(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),To(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!ie)return _e(t),null}else 2*he()-i.renderingStartTime>Cr&&n!==1073741824&&(t.flags|=128,r=!0,To(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=he(),t.sibling=null,n=ae.current,te(ae,r?n&1|2:n&1),t):(_e(t),null);case 22:case 23:return Su(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Xe&1073741824&&(_e(t),t.subtreeFlags&6&&(t.flags|=8192)):_e(t),null;case 24:return null;case 25:return null}throw Error(_(156,t.tag))}function cy(e,t){switch(Pa(t),t.tag){case 1:return je(t.type)&&_i(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Sr(),oe(ze),oe(Oe),Fa(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ja(t),null;case 13:if(oe(ae),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(_(340));mr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return oe(ae),null;case 4:return Sr(),null;case 10:return Ma(t.type._context),null;case 22:case 23:return Su(),null;case 24:return null;default:return null}}var Xi=!1,Ne=!1,fy=typeof WeakSet=="function"?WeakSet:Set,$=null;function xr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ce(e,t,r)}else n.current=null}function lu(e,t,n){try{n()}catch(r){ce(e,t,r)}}var Ip=!1;function dy(e,t){if(Sa=yi,e=hd(),fa(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,l=-1,a=-1,u=0,c=0,f=e,m=null;t:for(;;){for(var S;f!==n||o!==0&&f.nodeType!==3||(l=s+o),f!==i||r!==0&&f.nodeType!==3||(a=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(S=f.firstChild)!==null;)m=f,f=S;for(;;){if(f===e)break t;if(m===n&&++u===o&&(l=s),m===i&&++c===r&&(a=s),(S=f.nextSibling)!==null)break;f=m,m=f.parentNode}f=S}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(wa={focusedElem:e,selectionRange:n},yi=!1,$=t;$!==null;)if(t=$,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,$=e;else for(;$!==null;){t=$;try{var d=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(d!==null){var v=d.memoizedProps,x=d.memoizedState,g=t.stateNode,h=g.getSnapshotBeforeUpdate(t.elementType===t.type?v:St(t.type,v),x);g.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(_(163))}}catch(w){ce(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,$=e;break}$=t.return}return d=Ip,Ip=!1,d}function bo(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&&lu(t,n,i)}o=o.next}while(o!==r)}}function Ji(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 au(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 Lp(e){var t=e.alternate;t!==null&&(e.alternate=null,Lp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Rt],delete t[mo],delete t[Ea],delete t[Qg],delete t[qg])),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 zp(e){return e.tag===5||e.tag===3||e.tag===4}function jp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||zp(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 uu(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=Oi));else if(r!==4&&(e=e.child,e!==null))for(uu(e,t,n),e=e.sibling;e!==null;)uu(e,t,n),e=e.sibling}function cu(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(cu(e,t,n),e=e.sibling;e!==null;)cu(e,t,n),e=e.sibling}var be=null,wt=!1;function yn(e,t,n){for(n=n.child;n!==null;)Dp(e,t,n),n=n.sibling}function Dp(e,t,n){if(bt&&typeof bt.onCommitFiberUnmount=="function")try{bt.onCommitFiberUnmount(fi,n)}catch{}switch(n.tag){case 5:Ne||xr(n,t);case 6:var r=be,o=wt;be=null,yn(e,t,n),be=r,wt=o,be!==null&&(wt?(e=be,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):be.removeChild(n.stateNode));break;case 18:be!==null&&(wt?(e=be,n=n.stateNode,e.nodeType===8?Ca(e.parentNode,n):e.nodeType===1&&Ca(e,n),ro(e)):Ca(be,n.stateNode));break;case 4:r=be,o=wt,be=n.stateNode.containerInfo,wt=!0,yn(e,t,n),be=r,wt=o;break;case 0:case 11:case 14:case 15:if(!Ne&&(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)&&lu(n,t,s),o=o.next}while(o!==r)}yn(e,t,n);break;case 1:if(!Ne&&(xr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){ce(n,t,l)}yn(e,t,n);break;case 21:yn(e,t,n);break;case 22:n.mode&1?(Ne=(r=Ne)||n.memoizedState!==null,yn(e,t,n),Ne=r):yn(e,t,n);break;default:yn(e,t,n)}}function Fp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new fy),t.forEach(function(r){var o=xy.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function xt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,l=s;e:for(;l!==null;){switch(l.tag){case 5:be=l.stateNode,wt=!1;break e;case 3:be=l.stateNode.containerInfo,wt=!0;break e;case 4:be=l.stateNode.containerInfo,wt=!0;break e}l=l.return}if(be===null)throw Error(_(160));Dp(i,s,o),be=null,wt=!1;var a=o.alternate;a!==null&&(a.return=null),o.return=null}catch(u){ce(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Up(t,e),t=t.sibling}function Up(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(xt(t,e),At(e),r&4){try{bo(3,e,e.return),Ji(3,e)}catch(v){ce(e,e.return,v)}try{bo(5,e,e.return)}catch(v){ce(e,e.return,v)}}break;case 1:xt(t,e),At(e),r&512&&n!==null&&xr(n,n.return);break;case 5:if(xt(t,e),At(e),r&512&&n!==null&&xr(n,n.return),e.flags&32){var o=e.stateNode;try{Kr(o,"")}catch(v){ce(e,e.return,v)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,s=n!==null?n.memoizedProps:i,l=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{l==="input"&&i.type==="radio"&&i.name!=null&&gf(o,i),Fl(l,s);var u=Fl(l,i);for(s=0;s<a.length;s+=2){var c=a[s],f=a[s+1];c==="style"?Ef(o,f):c==="dangerouslySetInnerHTML"?kf(o,f):c==="children"?Kr(o,f):El(o,c,f,u)}switch(l){case"input":Il(o,i);break;case"textarea":Sf(o,i);break;case"select":var m=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var S=i.value;S!=null?er(o,!!i.multiple,S,!1):m!==!!i.multiple&&(i.defaultValue!=null?er(o,!!i.multiple,i.defaultValue,!0):er(o,!!i.multiple,i.multiple?[]:"",!1))}o[mo]=i}catch(v){ce(e,e.return,v)}}break;case 6:if(xt(t,e),At(e),r&4){if(e.stateNode===null)throw Error(_(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(v){ce(e,e.return,v)}}break;case 3:if(xt(t,e),At(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{ro(t.containerInfo)}catch(v){ce(e,e.return,v)}break;case 4:xt(t,e),At(e);break;case 13:xt(t,e),At(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(pu=he())),r&4&&Fp(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Ne=(u=Ne)||c,xt(t,e),Ne=u):xt(t,e),At(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for($=e,c=e.child;c!==null;){for(f=$=c;$!==null;){switch(m=$,S=m.child,m.tag){case 0:case 11:case 14:case 15:bo(4,m,m.return);break;case 1:xr(m,m.return);var d=m.stateNode;if(typeof d.componentWillUnmount=="function"){r=m,n=m.return;try{t=r,d.props=t.memoizedProps,d.state=t.memoizedState,d.componentWillUnmount()}catch(v){ce(r,n,v)}}break;case 5:xr(m,m.return);break;case 22:if(m.memoizedState!==null){Vp(f);continue}}S!==null?(S.return=m,$=S):Vp(f)}c=c.sibling}e:for(c=null,f=e;;){if(f.tag===5){if(c===null){c=f;try{o=f.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(l=f.stateNode,a=f.memoizedProps.style,s=a!=null&&a.hasOwnProperty("display")?a.display:null,l.style.display=Cf("display",s))}catch(v){ce(e,e.return,v)}}}else if(f.tag===6){if(c===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(v){ce(e,e.return,v)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:xt(t,e),At(e),r&4&&Fp(e);break;case 21:break;default:xt(t,e),At(e)}}function At(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(zp(n)){var r=n;break e}n=n.return}throw Error(_(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(Kr(o,""),r.flags&=-33);var i=jp(e);cu(e,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,l=jp(e);uu(e,l,s);break;default:throw Error(_(161))}}catch(a){ce(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function py(e,t,n){$=e,Hp(e)}function Hp(e,t,n){for(var r=(e.mode&1)!==0;$!==null;){var o=$,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||Xi;if(!s){var l=o.alternate,a=l!==null&&l.memoizedState!==null||Ne;l=Xi;var u=Ne;if(Xi=s,(Ne=a)&&!u)for($=o;$!==null;)s=$,a=s.child,s.tag===22&&s.memoizedState!==null?Kp(o):a!==null?(a.return=s,$=a):Kp(o);for(;i!==null;)$=i,Hp(i),i=i.sibling;$=o,Xi=l,Ne=u}Wp(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,$=i):Wp(e)}}function Wp(e){for(;$!==null;){var t=$;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ne||Ji(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ne)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:St(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Vd(t,i,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Vd(t,s,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var f=c.dehydrated;f!==null&&ro(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(_(163))}Ne||t.flags&512&&au(t)}catch(m){ce(t,t.return,m)}}if(t===e){$=null;break}if(n=t.sibling,n!==null){n.return=t.return,$=n;break}$=t.return}}function Vp(e){for(;$!==null;){var t=$;if(t===e){$=null;break}var n=t.sibling;if(n!==null){n.return=t.return,$=n;break}$=t.return}}function Kp(e){for(;$!==null;){var t=$;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Ji(4,t)}catch(a){ce(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(a){ce(t,o,a)}}var i=t.return;try{au(t)}catch(a){ce(t,i,a)}break;case 5:var s=t.return;try{au(t)}catch(a){ce(t,s,a)}}}catch(a){ce(t,t.return,a)}if(t===e){$=null;break}var l=t.sibling;if(l!==null){l.return=t.return,$=l;break}$=t.return}}var hy=Math.ceil,Zi=Ut.ReactCurrentDispatcher,fu=Ut.ReactCurrentOwner,lt=Ut.ReactCurrentBatchConfig,K=0,Ce=null,ye=null,Re=0,Xe=0,kr=dn(0),we=0,Ro=null,zn=0,es=0,du=0,Po=null,Fe=null,pu=0,Cr=1/0,Yt=null,ts=!1,hu=null,vn=null,ns=!1,Sn=null,rs=0,Oo=0,mu=null,os=-1,is=0;function Le(){return K&6?he():os!==-1?os:os=he()}function wn(e){return e.mode&1?K&2&&Re!==0?Re&-Re:Xg.transition!==null?(is===0&&(is=jf()),is):(e=Y,e!==0||(e=window.event,e=e===void 0?16:Qf(e.type)),e):1}function kt(e,t,n,r){if(50<Oo)throw Oo=0,mu=null,Error(_(185));Jr(e,n,r),(!(K&2)||e!==Ce)&&(e===Ce&&(!(K&2)&&(es|=n),we===4&&xn(e,Re)),Ue(e,r),n===1&&K===0&&!(t.mode&1)&&(Cr=he()+500,$i&&hn()))}function Ue(e,t){var n=e.callbackNode;X0(e,t);var r=hi(e,e===Ce?Re:0);if(r===0)n!==null&&If(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&If(n),t===1)e.tag===0?Yg(Qp.bind(null,e)):$d(Qp.bind(null,e)),Kg(function(){!(K&6)&&hn()}),n=null;else{switch(Df(r)){case 1:n=Ql;break;case 4:n=Lf;break;case 16:n=ci;break;case 536870912:n=zf;break;default:n=ci}n=nh(n,Gp.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Gp(e,t){if(os=-1,is=0,K&6)throw Error(_(327));var n=e.callbackNode;if(Er()&&e.callbackNode!==n)return null;var r=hi(e,e===Ce?Re:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=ss(e,r);else{t=r;var o=K;K|=2;var i=Yp();(Ce!==e||Re!==t)&&(Yt=null,Cr=he()+500,Dn(e,t));do try{yy();break}catch(l){qp(e,l)}while(!0);$a(),Zi.current=i,K=o,ye!==null?t=0:(Ce=null,Re=0,t=we)}if(t!==0){if(t===2&&(o=ql(e),o!==0&&(r=o,t=gu(e,o))),t===1)throw n=Ro,Dn(e,0),xn(e,r),Ue(e,he()),n;if(t===6)xn(e,r);else{if(o=e.current.alternate,!(r&30)&&!my(o)&&(t=ss(e,r),t===2&&(i=ql(e),i!==0&&(r=i,t=gu(e,i))),t===1))throw n=Ro,Dn(e,0),xn(e,r),Ue(e,he()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(_(345));case 2:Fn(e,Fe,Yt);break;case 3:if(xn(e,r),(r&130023424)===r&&(t=pu+500-he(),10<t)){if(hi(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){Le(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ka(Fn.bind(null,e,Fe,Yt),t);break}Fn(e,Fe,Yt);break;case 4:if(xn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-gt(r);i=1<<s,s=t[s],s>o&&(o=s),r&=~i}if(r=o,r=he()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*hy(r/1960))-r,10<r){e.timeoutHandle=ka(Fn.bind(null,e,Fe,Yt),r);break}Fn(e,Fe,Yt);break;case 5:Fn(e,Fe,Yt);break;default:throw Error(_(329))}}}return Ue(e,he()),e.callbackNode===n?Gp.bind(null,e):null}function gu(e,t){var n=Po;return e.current.memoizedState.isDehydrated&&(Dn(e,t).flags|=256),e=ss(e,t),e!==2&&(t=Fe,Fe=n,t!==null&&yu(t)),e}function yu(e){Fe===null?Fe=e:Fe.push.apply(Fe,e)}function my(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!yt(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function xn(e,t){for(t&=~du,t&=~es,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-gt(t),r=1<<n;e[n]=-1,t&=~r}}function Qp(e){if(K&6)throw Error(_(327));Er();var t=hi(e,0);if(!(t&1))return Ue(e,he()),null;var n=ss(e,t);if(e.tag!==0&&n===2){var r=ql(e);r!==0&&(t=r,n=gu(e,r))}if(n===1)throw n=Ro,Dn(e,0),xn(e,t),Ue(e,he()),n;if(n===6)throw Error(_(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Fn(e,Fe,Yt),Ue(e,he()),null}function vu(e,t){var n=K;K|=1;try{return e(t)}finally{K=n,K===0&&(Cr=he()+500,$i&&hn())}}function jn(e){Sn!==null&&Sn.tag===0&&!(K&6)&&Er();var t=K;K|=1;var n=lt.transition,r=Y;try{if(lt.transition=null,Y=1,e)return e()}finally{Y=r,lt.transition=n,K=t,!(K&6)&&hn()}}function Su(){Xe=kr.current,oe(kr)}function Dn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Vg(n)),ye!==null)for(n=ye.return;n!==null;){var r=n;switch(Pa(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&_i();break;case 3:Sr(),oe(ze),oe(Oe),Fa();break;case 5:ja(r);break;case 4:Sr();break;case 13:oe(ae);break;case 19:oe(ae);break;case 10:Ma(r.type._context);break;case 22:case 23:Su()}n=n.return}if(Ce=e,ye=e=kn(e.current,null),Re=Xe=t,we=0,Ro=null,du=es=zn=0,Fe=Po=null,Bn!==null){for(t=0;t<Bn.length;t++)if(n=Bn[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var s=i.next;i.next=o,r.next=s}n.pending=r}Bn=null}return e}function qp(e,t){do{var n=ye;try{if($a(),Hi.current=Gi,Wi){for(var r=ue.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Wi=!1}if(Ln=0,ke=Se=ue=null,xo=!1,ko=0,fu.current=null,n===null||n.return===null){we=1,Ro=t,ye=null;break}e:{var i=e,s=n.return,l=n,a=t;if(t=Re,l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,c=l,f=c.tag;if(!(c.mode&1)&&(f===0||f===11||f===15)){var m=c.alternate;m?(c.updateQueue=m.updateQueue,c.memoizedState=m.memoizedState,c.lanes=m.lanes):(c.updateQueue=null,c.memoizedState=null)}var S=wp(s);if(S!==null){S.flags&=-257,xp(S,s,l,i,t),S.mode&1&&Sp(i,u,t),t=S,a=u;var d=t.updateQueue;if(d===null){var v=new Set;v.add(a),t.updateQueue=v}else d.add(a);break e}else{if(!(t&1)){Sp(i,u,t),wu();break e}a=Error(_(426))}}else if(ie&&l.mode&1){var x=wp(s);if(x!==null){!(x.flags&65536)&&(x.flags|=256),xp(x,s,l,i,t),_a(wr(a,l));break e}}i=a=wr(a,l),we!==4&&(we=2),Po===null?Po=[i]:Po.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var g=yp(i,a,t);Wd(i,g);break e;case 1:l=a;var h=i.type,p=i.stateNode;if(!(i.flags&128)&&(typeof h.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(vn===null||!vn.has(p)))){i.flags|=65536,t&=-t,i.lanes|=t;var w=vp(i,l,t);Wd(i,w);break e}}i=i.return}while(i!==null)}Jp(n)}catch(k){t=k,ye===n&&n!==null&&(ye=n=n.return);continue}break}while(!0)}function Yp(){var e=Zi.current;return Zi.current=Gi,e===null?Gi:e}function wu(){(we===0||we===3||we===2)&&(we=4),Ce===null||!(zn&268435455)&&!(es&268435455)||xn(Ce,Re)}function ss(e,t){var n=K;K|=2;var r=Yp();(Ce!==e||Re!==t)&&(Yt=null,Dn(e,t));do try{gy();break}catch(o){qp(e,o)}while(!0);if($a(),K=n,Zi.current=r,ye!==null)throw Error(_(261));return Ce=null,Re=0,we}function gy(){for(;ye!==null;)Xp(ye)}function yy(){for(;ye!==null&&!U0();)Xp(ye)}function Xp(e){var t=th(e.alternate,e,Xe);e.memoizedProps=e.pendingProps,t===null?Jp(e):ye=t,fu.current=null}function Jp(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=cy(n,t),n!==null){n.flags&=32767,ye=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{we=6,ye=null;return}}else if(n=uy(n,t,Xe),n!==null){ye=n;return}if(t=t.sibling,t!==null){ye=t;return}ye=t=e}while(t!==null);we===0&&(we=5)}function Fn(e,t,n){var r=Y,o=lt.transition;try{lt.transition=null,Y=1,vy(e,t,n,r)}finally{lt.transition=o,Y=r}return null}function vy(e,t,n,r){do Er();while(Sn!==null);if(K&6)throw Error(_(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(_(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(J0(e,i),e===Ce&&(ye=Ce=null,Re=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||ns||(ns=!0,nh(ci,function(){return Er(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=lt.transition,lt.transition=null;var s=Y;Y=1;var l=K;K|=4,fu.current=null,dy(e,n),Up(n,e),zg(wa),yi=!!Sa,wa=Sa=null,e.current=n,py(n),H0(),K=l,Y=s,lt.transition=i}else e.current=n;if(ns&&(ns=!1,Sn=e,rs=o),i=e.pendingLanes,i===0&&(vn=null),K0(n.stateNode),Ue(e,he()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(ts)throw ts=!1,e=hu,hu=null,e;return rs&1&&e.tag!==0&&Er(),i=e.pendingLanes,i&1?e===mu?Oo++:(Oo=0,mu=e):Oo=0,hn(),null}function Er(){if(Sn!==null){var e=Df(rs),t=lt.transition,n=Y;try{if(lt.transition=null,Y=16>e?16:e,Sn===null)var r=!1;else{if(e=Sn,Sn=null,rs=0,K&6)throw Error(_(331));var o=K;for(K|=4,$=e.current;$!==null;){var i=$,s=i.child;if($.flags&16){var l=i.deletions;if(l!==null){for(var a=0;a<l.length;a++){var u=l[a];for($=u;$!==null;){var c=$;switch(c.tag){case 0:case 11:case 15:bo(8,c,i)}var f=c.child;if(f!==null)f.return=c,$=f;else for(;$!==null;){c=$;var m=c.sibling,S=c.return;if(Lp(c),c===u){$=null;break}if(m!==null){m.return=S,$=m;break}$=S}}}var d=i.alternate;if(d!==null){var v=d.child;if(v!==null){d.child=null;do{var x=v.sibling;v.sibling=null,v=x}while(v!==null)}}$=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,$=s;else e:for(;$!==null;){if(i=$,i.flags&2048)switch(i.tag){case 0:case 11:case 15:bo(9,i,i.return)}var g=i.sibling;if(g!==null){g.return=i.return,$=g;break e}$=i.return}}var h=e.current;for($=h;$!==null;){s=$;var p=s.child;if(s.subtreeFlags&2064&&p!==null)p.return=s,$=p;else e:for(s=h;$!==null;){if(l=$,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:Ji(9,l)}}catch(k){ce(l,l.return,k)}if(l===s){$=null;break e}var w=l.sibling;if(w!==null){w.return=l.return,$=w;break e}$=l.return}}if(K=o,hn(),bt&&typeof bt.onPostCommitFiberRoot=="function")try{bt.onPostCommitFiberRoot(fi,e)}catch{}r=!0}return r}finally{Y=n,lt.transition=t}}return!1}function Zp(e,t,n){t=wr(n,t),t=yp(e,t,1),e=gn(e,t,1),t=Le(),e!==null&&(Jr(e,1,t),Ue(e,t))}function ce(e,t,n){if(e.tag===3)Zp(e,e,n);else for(;t!==null;){if(t.tag===3){Zp(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(vn===null||!vn.has(r))){e=wr(n,e),e=vp(t,e,1),t=gn(t,e,1),e=Le(),t!==null&&(Jr(t,1,e),Ue(t,e));break}}t=t.return}}function Sy(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Le(),e.pingedLanes|=e.suspendedLanes&n,Ce===e&&(Re&n)===n&&(we===4||we===3&&(Re&130023424)===Re&&500>he()-pu?Dn(e,0):du|=n),Ue(e,t)}function eh(e,t){t===0&&(e.mode&1?(t=pi,pi<<=1,!(pi&130023424)&&(pi=4194304)):t=1);var n=Le();e=Gt(e,t),e!==null&&(Jr(e,t,n),Ue(e,n))}function wy(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),eh(e,n)}function xy(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(_(314))}r!==null&&r.delete(t),eh(e,n)}var th;th=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ze.current)De=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return De=!1,ay(e,t,n);De=!!(e.flags&131072)}else De=!1,ie&&t.flags&1048576&&Md(t,Bi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Yi(e,t),e=t.pendingProps;var o=dr(t,Oe.current);vr(t,n),o=Wa(null,t,r,e,o,n);var i=Va();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,je(r)?(i=!0,Ni(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,La(t),o.updater=Qi,t.stateNode=o,o._reactInternals=t,Xa(t,r,e,n),t=tu(null,t,r,!0,i,n)):(t.tag=0,ie&&i&&Ra(t),Ie(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Yi(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Cy(r),e=St(r,e),o){case 0:t=eu(null,t,r,e,n);break e;case 1:t=Rp(null,t,r,e,n);break e;case 11:t=kp(null,t,r,e,n);break e;case 14:t=Cp(null,t,r,St(r.type,e),n);break e}throw Error(_(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:St(r,o),eu(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:St(r,o),Rp(e,t,r,o,n);case 3:e:{if(Pp(t),e===null)throw Error(_(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Hd(e,t),Fi(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=wr(Error(_(423)),t),t=Op(e,t,r,n,o);break e}else if(r!==o){o=wr(Error(_(424)),t),t=Op(e,t,r,n,o);break e}else for(Ye=fn(t.stateNode.containerInfo.firstChild),qe=t,ie=!0,vt=null,n=Fd(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(mr(),r===o){t=qt(e,t,n);break e}Ie(e,t,r,n)}t=t.child}return t;case 5:return Kd(t),e===null&&Aa(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,xa(r,o)?s=null:i!==null&&xa(r,i)&&(t.flags|=32),bp(e,t),Ie(e,t,s,n),t.child;case 6:return e===null&&Aa(t),null;case 13:return Ap(e,t,n);case 4:return za(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=gr(t,null,r,n):Ie(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:St(r,o),kp(e,t,r,o,n);case 7:return Ie(e,t,t.pendingProps,n),t.child;case 8:return Ie(e,t,t.pendingProps.children,n),t.child;case 12:return Ie(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,te(zi,r._currentValue),r._currentValue=s,i!==null)if(yt(i.value,s)){if(i.children===o.children&&!ze.current){t=qt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){s=i.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=Qt(-1,n&-n),a.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?a.next=a:(a.next=c.next,c.next=a),u.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Ba(i.return,n,t),l.lanes|=n;break}a=a.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(_(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Ba(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}Ie(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,vr(t,n),o=it(o),r=r(o),t.flags|=1,Ie(e,t,r,n),t.child;case 14:return r=t.type,o=St(r,t.pendingProps),o=St(r.type,o),Cp(e,t,r,o,n);case 15:return Ep(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:St(r,o),Yi(e,t),t.tag=1,je(r)?(e=!0,Ni(t)):e=!1,vr(t,n),mp(t,r,o),Xa(t,r,o,n),tu(null,t,r,!0,e,n);case 19:return Np(e,t,n);case 22:return Tp(e,t,n)}throw Error(_(156,t.tag))};function nh(e,t){return Bf(e,t)}function ky(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 at(e,t,n,r){return new ky(e,t,n,r)}function xu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Cy(e){if(typeof e=="function")return xu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Rl)return 11;if(e===Al)return 14}return 2}function kn(e,t){var n=e.alternate;return n===null?(n=at(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 ls(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")xu(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Zn:return Un(n.children,o,i,t);case Tl:s=8,o|=8;break;case bl:return e=at(12,n,t,o|2),e.elementType=bl,e.lanes=i,e;case Pl:return e=at(13,n,t,o),e.elementType=Pl,e.lanes=i,e;case Ol:return e=at(19,n,t,o),e.elementType=Ol,e.lanes=i,e;case ff:return as(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case uf:s=10;break e;case cf:s=9;break e;case Rl:s=11;break e;case Al:s=14;break e;case nn:s=16,r=null;break e}throw Error(_(130,e==null?e:typeof e,""))}return t=at(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Un(e,t,n,r){return e=at(7,e,r,t),e.lanes=n,e}function as(e,t,n,r){return e=at(22,e,r,t),e.elementType=ff,e.lanes=n,e.stateNode={isHidden:!1},e}function ku(e,t,n){return e=at(6,e,null,t),e.lanes=n,e}function Cu(e,t,n){return t=at(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ey(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=Yl(0),this.expirationTimes=Yl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Yl(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Eu(e,t,n,r,o,i,s,l,a){return e=new Ey(e,t,n,l,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=at(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},La(i),e}function Ty(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Jn,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function rh(e){if(!e)return pn;e=e._reactInternals;e:{if(An(e)!==e||e.tag!==1)throw Error(_(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(je(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(_(171))}if(e.tag===1){var n=e.type;if(je(n))return _d(e,n,t)}return t}function oh(e,t,n,r,o,i,s,l,a){return e=Eu(n,r,!0,e,o,i,s,l,a),e.context=rh(null),n=e.current,r=Le(),o=wn(n),i=Qt(r,o),i.callback=t??null,gn(n,i,o),e.current.lanes=o,Jr(e,o,r),Ue(e,r),e}function us(e,t,n,r){var o=t.current,i=Le(),s=wn(o);return n=rh(n),t.context===null?t.context=n:t.pendingContext=n,t=Qt(i,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=gn(o,t,s),e!==null&&(kt(e,o,s,i),Di(e,o,s)),s}function cs(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function ih(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Tu(e,t){ih(e,t),(e=e.alternate)&&ih(e,t)}function by(){return null}var sh=typeof reportError=="function"?reportError:function(e){console.error(e)};function bu(e){this._internalRoot=e}fs.prototype.render=bu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(_(409));us(e,t,null,null)},fs.prototype.unmount=bu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;jn(function(){us(null,e,null,null)}),t[Ht]=null}};function fs(e){this._internalRoot=e}fs.prototype.unstable_scheduleHydration=function(e){if(e){var t=Hf();e={blockedOn:null,target:e,priority:t};for(var n=0;n<an.length&&t!==0&&t<an[n].priority;n++);an.splice(n,0,e),n===0&&Kf(e)}};function Ru(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ds(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function lh(){}function Ry(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=cs(s);i.call(u)}}var s=oh(t,r,e,0,null,!1,!1,"",lh);return e._reactRootContainer=s,e[Ht]=s.current,po(e.nodeType===8?e.parentNode:e),jn(),s}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var l=r;r=function(){var u=cs(a);l.call(u)}}var a=Eu(e,0,!1,null,null,!1,!1,"",lh);return e._reactRootContainer=a,e[Ht]=a.current,po(e.nodeType===8?e.parentNode:e),jn(function(){us(t,a,n,r)}),a}function ps(e,t,n,r,o){var i=n._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var l=o;o=function(){var a=cs(s);l.call(a)}}us(t,s,e,o)}else s=Ry(n,t,e,o,r);return cs(s)}Ff=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Xr(t.pendingLanes);n!==0&&(Xl(t,n|1),Ue(t,he()),!(K&6)&&(Cr=he()+500,hn()))}break;case 13:jn(function(){var r=Gt(e,1);if(r!==null){var o=Le();kt(r,e,1,o)}}),Tu(e,1)}},Jl=function(e){if(e.tag===13){var t=Gt(e,134217728);if(t!==null){var n=Le();kt(t,e,134217728,n)}Tu(e,134217728)}},Uf=function(e){if(e.tag===13){var t=wn(e),n=Gt(e,t);if(n!==null){var r=Le();kt(n,e,t,r)}Tu(e,t)}},Hf=function(){return Y},Wf=function(e,t){var n=Y;try{return Y=e,t()}finally{Y=n}},Wl=function(e,t,n){switch(t){case"input":if(Il(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Ai(r);if(!o)throw Error(_(90));hf(r),Il(r,o)}}}break;case"textarea":Sf(e,n);break;case"select":t=n.value,t!=null&&er(e,!!n.multiple,t,!1)}},Pf=vu,Of=jn;var Py={usingClientEntryPoint:!1,Events:[go,cr,Ai,bf,Rf,vu]},Ao={findFiberByHostInstance:_n,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Oy={bundleType:Ao.bundleType,version:Ao.version,rendererPackageName:Ao.rendererPackageName,rendererConfig:Ao.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ut.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=$f(e),e===null?null:e.stateNode},findFiberByHostInstance:Ao.findFiberByHostInstance||by,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var hs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!hs.isDisabled&&hs.supportsFiber)try{fi=hs.inject(Oy),bt=hs}catch{}}Ke.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Py,Ke.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ru(t))throw Error(_(200));return Ty(e,t,null,n)},Ke.createRoot=function(e,t){if(!Ru(e))throw Error(_(299));var n=!1,r="",o=sh;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Eu(e,1,!1,null,null,n,!1,r,o),e[Ht]=t.current,po(e.nodeType===8?e.parentNode:e),new bu(t)},Ke.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(_(188)):(e=Object.keys(e).join(","),Error(_(268,e)));return e=$f(t),e=e===null?null:e.stateNode,e},Ke.flushSync=function(e){return jn(e)},Ke.hydrate=function(e,t,n){if(!ds(t))throw Error(_(200));return ps(null,e,t,!0,n)},Ke.hydrateRoot=function(e,t,n){if(!Ru(e))throw Error(_(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=sh;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=oh(t,null,e,1,n??null,o,!1,i,s),e[Ht]=t.current,po(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new fs(t)},Ke.render=function(e,t,n){if(!ds(t))throw Error(_(200));return ps(null,e,t,!1,n)},Ke.unmountComponentAtNode=function(e){if(!ds(e))throw Error(_(40));return e._reactRootContainer?(jn(function(){ps(null,null,e,!1,function(){e._reactRootContainer=null,e[Ht]=null})}),!0):!1},Ke.unstable_batchedUpdates=vu,Ke.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ds(n))throw Error(_(200));if(e==null||e._reactInternals===void 0)throw Error(_(38));return ps(e,t,n,!1,r)},Ke.version="18.3.1-next-f1338f8080-20240426";function ah(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ah)}catch(e){console.error(e)}}ah(),nf.exports=Ke;var Pu=nf.exports;const ms=Tt(Pu);var uh=Pu;wl.createRoot=uh.createRoot,wl.hydrateRoot=uh.hydrateRoot;const _o={black:"#000",white:"#fff"},Tr={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"},br={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"},Rr={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"},Pr={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"},Or={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"},No={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"},Ay={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 Hn(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const ch="$$material";function gs(){return gs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gs.apply(null,arguments)}function fh(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var _y=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Ny=fh(function(e){return _y.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),$y=!1;function My(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function By(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Iy=function(){function e(n){var r=this;this._insertTag=function(o){var i;r.tags.length===0?r.insertionPoint?i=r.insertionPoint.nextSibling:r.prepend?i=r.container.firstChild:i=r.before:i=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,i),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!$y:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(By(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=My(o);try{i.insertRule(r,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},e}(),$e="-ms-",ys="-moz-",Q="-webkit-",dh="comm",Ou="rule",Au="decl",Ly="@import",ph="@keyframes",zy="@layer",jy=Math.abs,vs=String.fromCharCode,Dy=Object.assign;function Fy(e,t){return Pe(e,0)^45?(((t<<2^Pe(e,0))<<2^Pe(e,1))<<2^Pe(e,2))<<2^Pe(e,3):0}function hh(e){return e.trim()}function Uy(e,t){return(e=t.exec(e))?e[0]:e}function q(e,t,n){return e.replace(t,n)}function _u(e,t){return e.indexOf(t)}function Pe(e,t){return e.charCodeAt(t)|0}function $o(e,t,n){return e.slice(t,n)}function _t(e){return e.length}function Nu(e){return e.length}function Ss(e,t){return t.push(e),e}function Hy(e,t){return e.map(t).join("")}var ws=1,Ar=1,mh=0,He=0,ve=0,_r="";function xs(e,t,n,r,o,i,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:ws,column:Ar,length:s,return:""}}function Mo(e,t){return Dy(xs("",null,null,"",null,null,0),e,{length:-e.length},t)}function Wy(){return ve}function Vy(){return ve=He>0?Pe(_r,--He):0,Ar--,ve===10&&(Ar=1,ws--),ve}function Je(){return ve=He<mh?Pe(_r,He++):0,Ar++,ve===10&&(Ar=1,ws++),ve}function Nt(){return Pe(_r,He)}function ks(){return He}function Bo(e,t){return $o(_r,e,t)}function Io(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function gh(e){return ws=Ar=1,mh=_t(_r=e),He=0,[]}function yh(e){return _r="",e}function Cs(e){return hh(Bo(He-1,$u(e===91?e+2:e===40?e+1:e)))}function Ky(e){for(;(ve=Nt())&&ve<33;)Je();return Io(e)>2||Io(ve)>3?"":" "}function Gy(e,t){for(;--t&&Je()&&!(ve<48||ve>102||ve>57&&ve<65||ve>70&&ve<97););return Bo(e,ks()+(t<6&&Nt()==32&&Je()==32))}function $u(e){for(;Je();)switch(ve){case e:return He;case 34:case 39:e!==34&&e!==39&&$u(ve);break;case 40:e===41&&$u(e);break;case 92:Je();break}return He}function Qy(e,t){for(;Je()&&e+ve!==57;)if(e+ve===84&&Nt()===47)break;return"/*"+Bo(t,He-1)+"*"+vs(e===47?e:Je())}function qy(e){for(;!Io(Nt());)Je();return Bo(e,He)}function Yy(e){return yh(Es("",null,null,null,[""],e=gh(e),0,[0],e))}function Es(e,t,n,r,o,i,s,l,a){for(var u=0,c=0,f=s,m=0,S=0,d=0,v=1,x=1,g=1,h=0,p="",w=o,k=i,E=r,C=p;x;)switch(d=h,h=Je()){case 40:if(d!=108&&Pe(C,f-1)==58){_u(C+=q(Cs(h),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:C+=Cs(h);break;case 9:case 10:case 13:case 32:C+=Ky(d);break;case 92:C+=Gy(ks()-1,7);continue;case 47:switch(Nt()){case 42:case 47:Ss(Xy(Qy(Je(),ks()),t,n),a);break;default:C+="/"}break;case 123*v:l[u++]=_t(C)*g;case 125*v:case 59:case 0:switch(h){case 0:case 125:x=0;case 59+c:g==-1&&(C=q(C,/\f/g,"")),S>0&&_t(C)-f&&Ss(S>32?Sh(C+";",r,n,f-1):Sh(q(C," ","")+";",r,n,f-2),a);break;case 59:C+=";";default:if(Ss(E=vh(C,t,n,u,c,o,l,p,w=[],k=[],f),i),h===123)if(c===0)Es(C,t,E,E,w,i,f,l,k);else switch(m===99&&Pe(C,3)===110?100:m){case 100:case 108:case 109:case 115:Es(e,E,E,r&&Ss(vh(e,E,E,0,0,o,l,p,o,w=[],f),k),o,k,f,l,r?w:k);break;default:Es(C,E,E,E,[""],k,0,l,k)}}u=c=S=0,v=g=1,p=C="",f=s;break;case 58:f=1+_t(C),S=d;default:if(v<1){if(h==123)--v;else if(h==125&&v++==0&&Vy()==125)continue}switch(C+=vs(h),h*v){case 38:g=c>0?1:(C+="\f",-1);break;case 44:l[u++]=(_t(C)-1)*g,g=1;break;case 64:Nt()===45&&(C+=Cs(Je())),m=Nt(),c=f=_t(p=C+=qy(ks())),h++;break;case 45:d===45&&_t(C)==2&&(v=0)}}return i}function vh(e,t,n,r,o,i,s,l,a,u,c){for(var f=o-1,m=o===0?i:[""],S=Nu(m),d=0,v=0,x=0;d<r;++d)for(var g=0,h=$o(e,f+1,f=jy(v=s[d])),p=e;g<S;++g)(p=hh(v>0?m[g]+" "+h:q(h,/&\f/g,m[g])))&&(a[x++]=p);return xs(e,t,n,o===0?Ou:l,a,u,c)}function Xy(e,t,n){return xs(e,t,n,dh,vs(Wy()),$o(e,2,-2),0)}function Sh(e,t,n,r){return xs(e,t,n,Au,$o(e,0,r),$o(e,r+1,-1),r)}function Nr(e,t){for(var n="",r=Nu(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Jy(e,t,n,r){switch(e.type){case zy:if(e.children.length)break;case Ly:case Au:return e.return=e.return||e.value;case dh:return"";case ph:return e.return=e.value+"{"+Nr(e.children,r)+"}";case Ou:e.value=e.props.join(",")}return _t(n=Nr(e.children,r))?e.return=e.value+"{"+n+"}":""}function Zy(e){var t=Nu(e);return function(n,r,o,i){for(var s="",l=0;l<t;l++)s+=e[l](n,r,o,i)||"";return s}}function e1(e){return function(t){t.root||(t=t.return)&&e(t)}}var t1=function(t,n,r){for(var o=0,i=0;o=i,i=Nt(),o===38&&i===12&&(n[r]=1),!Io(i);)Je();return Bo(t,He)},n1=function(t,n){var r=-1,o=44;do switch(Io(o)){case 0:o===38&&Nt()===12&&(n[r]=1),t[r]+=t1(He-1,n,r);break;case 2:t[r]+=Cs(o);break;case 4:if(o===44){t[++r]=Nt()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=vs(o)}while(o=Je());return t},r1=function(t,n){return yh(n1(gh(t),n))},wh=new WeakMap,o1=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!wh.get(r))&&!o){wh.set(t,!0);for(var i=[],s=r1(n,i),l=r.props,a=0,u=0;a<s.length;a++)for(var c=0;c<l.length;c++,u++)t.props[u]=i[a]?s[a].replace(/&\f/g,l[c]):l[c]+" "+s[a]}}},i1=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function xh(e,t){switch(Fy(e,t)){case 5103:return Q+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Q+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Q+e+ys+e+$e+e+e;case 6828:case 4268:return Q+e+$e+e+e;case 6165:return Q+e+$e+"flex-"+e+e;case 5187:return Q+e+q(e,/(\w+).+(:[^]+)/,Q+"box-$1$2"+$e+"flex-$1$2")+e;case 5443:return Q+e+$e+"flex-item-"+q(e,/flex-|-self/,"")+e;case 4675:return Q+e+$e+"flex-line-pack"+q(e,/align-content|flex-|-self/,"")+e;case 5548:return Q+e+$e+q(e,"shrink","negative")+e;case 5292:return Q+e+$e+q(e,"basis","preferred-size")+e;case 6060:return Q+"box-"+q(e,"-grow","")+Q+e+$e+q(e,"grow","positive")+e;case 4554:return Q+q(e,/([^-])(transform)/g,"$1"+Q+"$2")+e;case 6187:return q(q(q(e,/(zoom-|grab)/,Q+"$1"),/(image-set)/,Q+"$1"),e,"")+e;case 5495:case 3959:return q(e,/(image-set\([^]*)/,Q+"$1$`$1");case 4968:return q(q(e,/(.+:)(flex-)?(.*)/,Q+"box-pack:$3"+$e+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Q+e+e;case 4095:case 3583:case 4068:case 2532:return q(e,/(.+)-inline(.+)/,Q+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(_t(e)-1-t>6)switch(Pe(e,t+1)){case 109:if(Pe(e,t+4)!==45)break;case 102:return q(e,/(.+:)(.+)-([^]+)/,"$1"+Q+"$2-$3$1"+ys+(Pe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~_u(e,"stretch")?xh(q(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Pe(e,t+1)!==115)break;case 6444:switch(Pe(e,_t(e)-3-(~_u(e,"!important")&&10))){case 107:return q(e,":",":"+Q)+e;case 101:return q(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Q+(Pe(e,14)===45?"inline-":"")+"box$3$1"+Q+"$2$3$1"+$e+"$2box$3")+e}break;case 5936:switch(Pe(e,t+11)){case 114:return Q+e+$e+q(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Q+e+$e+q(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Q+e+$e+q(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Q+e+$e+e+e}return e}var s1=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Au:t.return=xh(t.value,t.length);break;case ph:return Nr([Mo(t,{value:q(t.value,"@","@"+Q)})],o);case Ou:if(t.length)return Hy(t.props,function(i){switch(Uy(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Nr([Mo(t,{props:[q(i,/:(read-\w+)/,":"+ys+"$1")]})],o);case"::placeholder":return Nr([Mo(t,{props:[q(i,/:(plac\w+)/,":"+Q+"input-$1")]}),Mo(t,{props:[q(i,/:(plac\w+)/,":"+ys+"$1")]}),Mo(t,{props:[q(i,/:(plac\w+)/,$e+"input-$1")]})],o)}return""})}},l1=[s1],a1=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(v){var x=v.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var o=t.stylisPlugins||l1,i={},s,l=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(v){for(var x=v.getAttribute("data-emotion").split(" "),g=1;g<x.length;g++)i[x[g]]=!0;l.push(v)});var a,u=[o1,i1];{var c,f=[Jy,e1(function(v){c.insert(v)})],m=Zy(u.concat(o,f)),S=function(x){return Nr(Yy(x),m)};a=function(x,g,h,p){c=h,S(x?x+"{"+g.styles+"}":g.styles),p&&(d.inserted[g.name]=!0)}}var d={key:n,sheet:new Iy({key:n,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:a};return d.sheet.hydrate(l),d},kh={exports:{}},X={};/** @license React v16.13.1
|
|
40
|
+
`+i.stack}return{value:e,source:t,stack:o,digest:null}}function Fc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Mc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var sx=typeof WeakMap=="function"?WeakMap:Map;function fm(e,t,n){n=On(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){fl||(fl=!0,Xc=r),Mc(e,t)},n}function pm(e,t,n){n=On(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Mc(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Mc(e,t),typeof r!="function"&&(nr===null?nr=new Set([this]):nr.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function hm(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new sx;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Sx.bind(null,e,t,n),t.then(e,e))}function mm(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function gm(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=On(-1,1),t.tag=2,er(n,t,1))),n.lanes|=1),e)}var lx=kn.ReactCurrentOwner,yt=!1;function pt(e,t,n,r){t.child=e===null?_h(t,null,n,r):lo(t,e.child,n,r)}function ym(e,t,n,r,o){n=n.render;var i=t.ref;return uo(t,o),r=Rc(e,t,n,r,i,o),n=Tc(),e!==null&&!yt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,An(e,t,o)):(Pe&&n&&uc(t),t.flags|=1,pt(e,t,r,o),t.child)}function vm(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!rd(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,xm(e,t,i,r,o)):(e=vl(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:ui,n(s,r)&&e.ref===t.ref)return An(e,t,o)}return t.flags|=1,e=sr(i,r),e.ref=t.ref,e.return=t,t.child=e}function xm(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(ui(i,r)&&e.ref===t.ref)if(yt=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(yt=!0);else return t.lanes=e.lanes,An(e,t,o)}return _c(e,t,n,r,o)}function Sm(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},we(ho,Ot),Ot|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,we(ho,Ot),Ot|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,we(ho,Ot),Ot|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,we(ho,Ot),Ot|=r;return pt(e,t,o,n),t.child}function wm(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function _c(e,t,n,r,o){var i=gt(n)?yr:it.current;return i=ro(t,i),uo(t,o),n=Rc(e,t,n,r,i,o),r=Tc(),e!==null&&!yt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,An(e,t,o)):(Pe&&r&&uc(t),t.flags|=1,pt(e,t,n,o),t.child)}function bm(e,t,n,r,o){if(gt(n)){var i=!0;Hs(t)}else i=!1;if(uo(t,o),t.stateNode===null)ll(e,t),cm(t,n,r),Nc(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,l=t.memoizedProps;s.props=l;var a=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=Bt(u):(u=gt(n)?yr:it.current,u=ro(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||a!==u)&&dm(t,s,r,u),Jn=!1;var h=t.memoizedState;s.state=h,Zs(t,r,s,o),a=t.memoizedState,l!==r||h!==a||mt.current||Jn?(typeof c=="function"&&(Ic(t,n,c,r),a=t.memoizedState),(l=Jn||um(t,n,l,r,h,a,u))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),s.props=r,s.state=a,s.context=u,r=l):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Bh(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:Xt(t.type,l),s.props=u,d=t.pendingProps,h=s.context,a=n.contextType,typeof a=="object"&&a!==null?a=Bt(a):(a=gt(n)?yr:it.current,a=ro(t,a));var x=n.getDerivedStateFromProps;(c=typeof x=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==d||h!==a)&&dm(t,s,r,a),Jn=!1,h=t.memoizedState,s.state=h,Zs(t,r,s,o);var p=t.memoizedState;l!==d||h!==p||mt.current||Jn?(typeof x=="function"&&(Ic(t,n,x,r),p=t.memoizedState),(u=Jn||um(t,n,u,r,h,p,a)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,p,a),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,p,a)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),s.props=r,s.state=p,s.context=a,r=u):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return zc(e,t,n,r,i,o)}function zc(e,t,n,r,o,i){wm(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&Th(t,n,!1),An(e,t,i);r=t.stateNode,lx.current=t;var l=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=lo(t,e.child,null,i),t.child=lo(t,null,l,i)):pt(e,t,l,i),t.memoizedState=r.state,o&&Th(t,n,!0),t.child}function Cm(e){var t=e.stateNode;t.pendingContext?Eh(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Eh(e,t.context,!1),Sc(e,t.containerInfo)}function km(e,t,n,r,o){return so(),pc(o),t.flags|=256,pt(e,t,n,r),t.child}var Bc={dehydrated:null,treeContext:null,retryLane:0};function Lc(e){return{baseLanes:e,cachePool:null,transitions:null}}function Em(e,t,n){var r=t.pendingProps,o=Ne.current,i=!1,s=(t.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),we(Ne,o&1),e===null)return fc(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,i?(r=t.mode,i=t.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=xl(s,r,0,null),e=Tr(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Lc(n),t.memoizedState=Bc,e):jc(t,s));if(o=e.memoizedState,o!==null&&(l=o.dehydrated,l!==null))return ax(e,t,s,r,l,o,n);if(i){i=r.fallback,s=t.mode,o=e.child,l=o.sibling;var a={mode:"hidden",children:r.children};return!(s&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=sr(o,a),r.subtreeFlags=o.subtreeFlags&14680064),l!==null?i=sr(l,i):(i=Tr(i,s,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,s=e.child.memoizedState,s=s===null?Lc(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=Bc,r}return i=e.child,e=i.sibling,r=sr(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function jc(e,t){return t=xl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function sl(e,t,n,r){return r!==null&&pc(r),lo(t,e.child,null,n),e=jc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ax(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=Fc(Error(F(422))),sl(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=xl({mode:"visible",children:r.children},o,0,null),i=Tr(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&lo(t,e.child,null,s),t.child.memoizedState=Lc(s),t.memoizedState=Bc,i);if(!(t.mode&1))return sl(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,i=Error(F(419)),r=Fc(i,r,void 0),sl(e,t,s,r)}if(l=(s&e.childLanes)!==0,yt||l){if(r=Qe,r!==null){switch(s&-s){case 4:o=2;break;case 16:o=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,$n(e,o),Jt(r,e,o,-1))}return nd(),r=Fc(Error(F(421))),sl(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=wx.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,$t=Qn(o.nextSibling),Pt=t,Pe=!0,Qt=null,e!==null&&(_t[zt++]=Tn,_t[zt++]=Pn,_t[zt++]=vr,Tn=e.id,Pn=e.overflow,vr=t),t=jc(t,r.children),t.flags|=4096,t)}function Rm(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),yc(e.return,t,n)}function Dc(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Tm(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(pt(e,t,r.children,n),r=Ne.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Rm(e,n,t);else if(e.tag===19)Rm(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(we(Ne,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Js(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Dc(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Js(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Dc(t,!0,n,null,i);break;case"together":Dc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ll(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function An(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Cr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(F(153));if(t.child!==null){for(e=t.child,n=sr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=sr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function ux(e,t,n){switch(t.tag){case 3:Cm(t),so();break;case 5:Dh(t);break;case 1:gt(t.type)&&Hs(t);break;case 4:Sc(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;we(Qs,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(we(Ne,Ne.current&1),t.flags|=128,null):n&t.child.childLanes?Em(e,t,n):(we(Ne,Ne.current&1),e=An(e,t,n),e!==null?e.sibling:null);we(Ne,Ne.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Tm(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),we(Ne,Ne.current),r)break;return null;case 22:case 23:return t.lanes=0,Sm(e,t,n)}return An(e,t,n)}var Pm,Uc,$m,Om;Pm=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Uc=function(){},$m=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,wr(an.current);var i=null;switch(n){case"input":o=yu(e,o),r=yu(e,r),i=[];break;case"select":o=Ie({},o,{value:void 0}),r=Ie({},r,{value:void 0}),i=[];break;case"textarea":o=Su(e,o),r=Su(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=js)}bu(n,r);var s;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var l=o[u];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Uo.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var a=r[u];if(l=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&a!==l&&(a!=null||l!=null))if(u==="style")if(l){for(s in l)!l.hasOwnProperty(s)||a&&a.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in a)a.hasOwnProperty(s)&&l[s]!==a[s]&&(n||(n={}),n[s]=a[s])}else n||(i||(i=[]),i.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,l=l?l.__html:void 0,a!=null&&l!==a&&(i=i||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(i=i||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Uo.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&Ce("scroll",e),i||l===a||(i=[])):(i=i||[]).push(u,a))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},Om=function(e,t,n,r){n!==r&&(t.flags|=4)};function ki(e,t){if(!Pe)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function lt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function cx(e,t,n){var r=t.pendingProps;switch(cc(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return lt(t),null;case 1:return gt(t.type)&&Us(),lt(t),null;case 3:return r=t.stateNode,co(),ke(mt),ke(it),Cc(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(qs(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Qt!==null&&(Jc(Qt),Qt=null))),Uc(e,t),lt(t),null;case 5:wc(t);var o=wr(xi.current);if(n=t.type,e!==null&&t.stateNode!=null)$m(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(F(166));return lt(t),null}if(e=wr(an.current),qs(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[ln]=t,r[hi]=i,e=(t.mode&1)!==0,n){case"dialog":Ce("cancel",r),Ce("close",r);break;case"iframe":case"object":case"embed":Ce("load",r);break;case"video":case"audio":for(o=0;o<di.length;o++)Ce(di[o],r);break;case"source":Ce("error",r);break;case"img":case"image":case"link":Ce("error",r),Ce("load",r);break;case"details":Ce("toggle",r);break;case"input":cp(r,i),Ce("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Ce("invalid",r);break;case"textarea":pp(r,i),Ce("invalid",r)}bu(n,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];s==="children"?typeof l=="string"?r.textContent!==l&&(i.suppressHydrationWarning!==!0&&Ls(r.textContent,l,e),o=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(i.suppressHydrationWarning!==!0&&Ls(r.textContent,l,e),o=["children",""+l]):Uo.hasOwnProperty(s)&&l!=null&&s==="onScroll"&&Ce("scroll",r)}switch(n){case"input":gs(r),fp(r,i,!0);break;case"textarea":gs(r),mp(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=js)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=gp(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/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[ln]=t,e[hi]=r,Pm(e,t,!1,!1),t.stateNode=e;e:{switch(s=Cu(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;o<di.length;o++)Ce(di[o],e);o=r;break;case"source":Ce("error",e),o=r;break;case"img":case"image":case"link":Ce("error",e),Ce("load",e),o=r;break;case"details":Ce("toggle",e),o=r;break;case"input":cp(e,r),o=yu(e,r),Ce("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Ie({},r,{value:void 0}),Ce("invalid",e);break;case"textarea":pp(e,r),o=Su(e,r),Ce("invalid",e);break;default:o=r}bu(n,o),l=o;for(i in l)if(l.hasOwnProperty(i)){var a=l[i];i==="style"?xp(e,a):i==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&yp(e,a)):i==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&Ko(e,a):typeof a=="number"&&Ko(e,""+a):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Uo.hasOwnProperty(i)?a!=null&&i==="onScroll"&&Ce("scroll",e):a!=null&&su(e,i,a,s))}switch(n){case"input":gs(e),fp(e,r,!1);break;case"textarea":gs(e),mp(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Un(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Vr(e,!!r.multiple,i,!1):r.defaultValue!=null&&Vr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=js)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return lt(t),null;case 6:if(e&&t.stateNode!=null)Om(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(F(166));if(n=wr(xi.current),wr(an.current),qs(t)){if(r=t.stateNode,n=t.memoizedProps,r[ln]=t,(i=r.nodeValue!==n)&&(e=Pt,e!==null))switch(e.tag){case 3:Ls(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ls(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[ln]=t,t.stateNode=r}return lt(t),null;case 13:if(ke(Ne),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Pe&&$t!==null&&t.mode&1&&!(t.flags&128))Nh(),so(),t.flags|=98560,i=!1;else if(i=qs(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(F(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(F(317));i[ln]=t}else so(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;lt(t),i=!1}else Qt!==null&&(Jc(Qt),Qt=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Ne.current&1?Ke===0&&(Ke=3):nd())),t.updateQueue!==null&&(t.flags|=4),lt(t),null);case 4:return co(),Uc(e,t),e===null&&fi(t.stateNode.containerInfo),lt(t),null;case 10:return gc(t.type._context),lt(t),null;case 17:return gt(t.type)&&Us(),lt(t),null;case 19:if(ke(Ne),i=t.memoizedState,i===null)return lt(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)ki(i,!1);else{if(Ke!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=Js(e),s!==null){for(t.flags|=128,ki(i,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,s=i.alternate,s===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return we(Ne,Ne.current&1|2),t.child}e=e.sibling}i.tail!==null&&je()>mo&&(t.flags|=128,r=!0,ki(i,!1),t.lanes=4194304)}else{if(!r)if(e=Js(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ki(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!Pe)return lt(t),null}else 2*je()-i.renderingStartTime>mo&&n!==1073741824&&(t.flags|=128,r=!0,ki(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=je(),t.sibling=null,n=Ne.current,we(Ne,r?n&1|2:n&1),t):(lt(t),null);case 22:case 23:return td(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ot&1073741824&&(lt(t),t.subtreeFlags&6&&(t.flags|=8192)):lt(t),null;case 24:return null;case 25:return null}throw Error(F(156,t.tag))}function dx(e,t){switch(cc(t),t.tag){case 1:return gt(t.type)&&Us(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return co(),ke(mt),ke(it),Cc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return wc(t),null;case 13:if(ke(Ne),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(F(340));so()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ke(Ne),null;case 4:return co(),null;case 10:return gc(t.type._context),null;case 22:case 23:return td(),null;case 24:return null;default:return null}}var al=!1,at=!1,fx=typeof WeakSet=="function"?WeakSet:Set,D=null;function po(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Me(e,t,r)}else n.current=null}function Hc(e,t,n){try{n()}catch(r){Me(e,t,r)}}var Am=!1;function px(e,t){if(tc=Ps,e=uh(),qu(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,l=-1,a=-1,u=0,c=0,d=e,h=null;t:for(;;){for(var x;d!==n||o!==0&&d.nodeType!==3||(l=s+o),d!==i||r!==0&&d.nodeType!==3||(a=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(x=d.firstChild)!==null;)h=d,d=x;for(;;){if(d===e)break t;if(h===n&&++u===o&&(l=s),h===i&&++c===r&&(a=s),(x=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=x}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(nc={focusedElem:e,selectionRange:n},Ps=!1,D=t;D!==null;)if(t=D,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,D=e;else for(;D!==null;){t=D;try{var p=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var v=p.memoizedProps,w=p.memoizedState,m=t.stateNode,g=m.getSnapshotBeforeUpdate(t.elementType===t.type?v:Xt(t.type,v),w);m.__reactInternalSnapshotBeforeUpdate=g}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(F(163))}}catch(S){Me(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return p=Am,Am=!1,p}function Ei(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&&Hc(t,n,i)}o=o.next}while(o!==r)}}function ul(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 Wc(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 Im(e){var t=e.alternate;t!==null&&(e.alternate=null,Im(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ln],delete t[hi],delete t[sc],delete t[Q1],delete t[X1])),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 Nm(e){return e.tag===5||e.tag===3||e.tag===4}function Fm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Nm(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 Vc(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=js));else if(r!==4&&(e=e.child,e!==null))for(Vc(e,t,n),e=e.sibling;e!==null;)Vc(e,t,n),e=e.sibling}function Kc(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(Kc(e,t,n),e=e.sibling;e!==null;)Kc(e,t,n),e=e.sibling}var Ze=null,Yt=!1;function tr(e,t,n){for(n=n.child;n!==null;)Mm(e,t,n),n=n.sibling}function Mm(e,t,n){if(sn&&typeof sn.onCommitFiberUnmount=="function")try{sn.onCommitFiberUnmount(bs,n)}catch{}switch(n.tag){case 5:at||po(n,t);case 6:var r=Ze,o=Yt;Ze=null,tr(e,t,n),Ze=r,Yt=o,Ze!==null&&(Yt?(e=Ze,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ze.removeChild(n.stateNode));break;case 18:Ze!==null&&(Yt?(e=Ze,n=n.stateNode,e.nodeType===8?ic(e.parentNode,n):e.nodeType===1&&ic(e,n),ri(e)):ic(Ze,n.stateNode));break;case 4:r=Ze,o=Yt,Ze=n.stateNode.containerInfo,Yt=!0,tr(e,t,n),Ze=r,Yt=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)&&Hc(n,t,s),o=o.next}while(o!==r)}tr(e,t,n);break;case 1:if(!at&&(po(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Me(n,t,l)}tr(e,t,n);break;case 21:tr(e,t,n);break;case 22:n.mode&1?(at=(r=at)||n.memoizedState!==null,tr(e,t,n),at=r):tr(e,t,n);break;default:tr(e,t,n)}}function _m(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new fx),t.forEach(function(r){var o=bx.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Zt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,l=s;e:for(;l!==null;){switch(l.tag){case 5:Ze=l.stateNode,Yt=!1;break e;case 3:Ze=l.stateNode.containerInfo,Yt=!0;break e;case 4:Ze=l.stateNode.containerInfo,Yt=!0;break e}l=l.return}if(Ze===null)throw Error(F(160));Mm(i,s,o),Ze=null,Yt=!1;var a=o.alternate;a!==null&&(a.return=null),o.return=null}catch(u){Me(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)zm(t,e),t=t.sibling}function zm(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Zt(t,e),cn(e),r&4){try{Ei(3,e,e.return),ul(3,e)}catch(v){Me(e,e.return,v)}try{Ei(5,e,e.return)}catch(v){Me(e,e.return,v)}}break;case 1:Zt(t,e),cn(e),r&512&&n!==null&&po(n,n.return);break;case 5:if(Zt(t,e),cn(e),r&512&&n!==null&&po(n,n.return),e.flags&32){var o=e.stateNode;try{Ko(o,"")}catch(v){Me(e,e.return,v)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,s=n!==null?n.memoizedProps:i,l=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{l==="input"&&i.type==="radio"&&i.name!=null&&dp(o,i),Cu(l,s);var u=Cu(l,i);for(s=0;s<a.length;s+=2){var c=a[s],d=a[s+1];c==="style"?xp(o,d):c==="dangerouslySetInnerHTML"?yp(o,d):c==="children"?Ko(o,d):su(o,c,d,u)}switch(l){case"input":vu(o,i);break;case"textarea":hp(o,i);break;case"select":var h=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var x=i.value;x!=null?Vr(o,!!i.multiple,x,!1):h!==!!i.multiple&&(i.defaultValue!=null?Vr(o,!!i.multiple,i.defaultValue,!0):Vr(o,!!i.multiple,i.multiple?[]:"",!1))}o[hi]=i}catch(v){Me(e,e.return,v)}}break;case 6:if(Zt(t,e),cn(e),r&4){if(e.stateNode===null)throw Error(F(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(v){Me(e,e.return,v)}}break;case 3:if(Zt(t,e),cn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{ri(t.containerInfo)}catch(v){Me(e,e.return,v)}break;case 4:Zt(t,e),cn(e);break;case 13:Zt(t,e),cn(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(Qc=je())),r&4&&_m(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(at=(u=at)||c,Zt(t,e),at=u):Zt(t,e),cn(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(D=e,c=e.child;c!==null;){for(d=D=c;D!==null;){switch(h=D,x=h.child,h.tag){case 0:case 11:case 14:case 15:Ei(4,h,h.return);break;case 1:po(h,h.return);var p=h.stateNode;if(typeof p.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,p.props=t.memoizedProps,p.state=t.memoizedState,p.componentWillUnmount()}catch(v){Me(r,n,v)}}break;case 5:po(h,h.return);break;case 22:if(h.memoizedState!==null){jm(d);continue}}x!==null?(x.return=h,D=x):jm(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{o=d.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(l=d.stateNode,a=d.memoizedProps.style,s=a!=null&&a.hasOwnProperty("display")?a.display:null,l.style.display=vp("display",s))}catch(v){Me(e,e.return,v)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(v){Me(e,e.return,v)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Zt(t,e),cn(e),r&4&&_m(e);break;case 21:break;default:Zt(t,e),cn(e)}}function cn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Nm(n)){var r=n;break e}n=n.return}throw Error(F(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(Ko(o,""),r.flags&=-33);var i=Fm(e);Kc(e,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,l=Fm(e);Vc(e,l,s);break;default:throw Error(F(161))}}catch(a){Me(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function hx(e,t,n){D=e,Bm(e)}function Bm(e,t,n){for(var r=(e.mode&1)!==0;D!==null;){var o=D,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||al;if(!s){var l=o.alternate,a=l!==null&&l.memoizedState!==null||at;l=al;var u=at;if(al=s,(at=a)&&!u)for(D=o;D!==null;)s=D,a=s.child,s.tag===22&&s.memoizedState!==null?Dm(o):a!==null?(a.return=s,D=a):Dm(o);for(;i!==null;)D=i,Bm(i),i=i.sibling;D=o,al=l,at=u}Lm(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,D=i):Lm(e)}}function Lm(e){for(;D!==null;){var t=D;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:at||ul(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!at)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Xt(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&jh(t,i,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}jh(t,s,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&ri(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(F(163))}at||t.flags&512&&Wc(t)}catch(h){Me(t,t.return,h)}}if(t===e){D=null;break}if(n=t.sibling,n!==null){n.return=t.return,D=n;break}D=t.return}}function jm(e){for(;D!==null;){var t=D;if(t===e){D=null;break}var n=t.sibling;if(n!==null){n.return=t.return,D=n;break}D=t.return}}function Dm(e){for(;D!==null;){var t=D;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ul(4,t)}catch(a){Me(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(a){Me(t,o,a)}}var i=t.return;try{Wc(t)}catch(a){Me(t,i,a)}break;case 5:var s=t.return;try{Wc(t)}catch(a){Me(t,s,a)}}}catch(a){Me(t,t.return,a)}if(t===e){D=null;break}var l=t.sibling;if(l!==null){l.return=t.return,D=l;break}D=t.return}}var mx=Math.ceil,cl=kn.ReactCurrentDispatcher,qc=kn.ReactCurrentOwner,jt=kn.ReactCurrentBatchConfig,ie=0,Qe=null,He=null,Je=0,Ot=0,ho=Xn(0),Ke=0,Ri=null,Cr=0,dl=0,Gc=0,Ti=null,vt=null,Qc=0,mo=1/0,In=null,fl=!1,Xc=null,nr=null,pl=!1,rr=null,hl=0,Pi=0,Yc=null,ml=-1,gl=0;function ht(){return ie&6?je():ml!==-1?ml:ml=je()}function or(e){return e.mode&1?ie&2&&Je!==0?Je&-Je:Z1.transition!==null?(gl===0&&(gl=Fp()),gl):(e=ae,e!==0||(e=window.event,e=e===void 0?16:Hp(e.type)),e):1}function Jt(e,t,n,r){if(50<Pi)throw Pi=0,Yc=null,Error(F(185));Zo(e,n,r),(!(ie&2)||e!==Qe)&&(e===Qe&&(!(ie&2)&&(dl|=n),Ke===4&&ir(e,Je)),xt(e,r),n===1&&ie===0&&!(t.mode&1)&&(mo=je()+500,Ws&&Zn()))}function xt(e,t){var n=e.callbackNode;Zv(e,t);var r=Es(e,e===Qe?Je:0);if(r===0)n!==null&&Ap(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Ap(n),t===1)e.tag===0?Y1(Hm.bind(null,e)):Ph(Hm.bind(null,e)),q1(function(){!(ie&6)&&Zn()}),n=null;else{switch(Mp(r)){case 1:n=Ou;break;case 4:n=Ip;break;case 16:n=ws;break;case 536870912:n=Np;break;default:n=ws}n=Ym(n,Um.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Um(e,t){if(ml=-1,gl=0,ie&6)throw Error(F(327));var n=e.callbackNode;if(go()&&e.callbackNode!==n)return null;var r=Es(e,e===Qe?Je:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=yl(e,r);else{t=r;var o=ie;ie|=2;var i=Vm();(Qe!==e||Je!==t)&&(In=null,mo=je()+500,Er(e,t));do try{vx();break}catch(l){Wm(e,l)}while(!0);mc(),cl.current=i,ie=o,He!==null?t=0:(Qe=null,Je=0,t=Ke)}if(t!==0){if(t===2&&(o=Au(e),o!==0&&(r=o,t=Zc(e,o))),t===1)throw n=Ri,Er(e,0),ir(e,r),xt(e,je()),n;if(t===6)ir(e,r);else{if(o=e.current.alternate,!(r&30)&&!gx(o)&&(t=yl(e,r),t===2&&(i=Au(e),i!==0&&(r=i,t=Zc(e,i))),t===1))throw n=Ri,Er(e,0),ir(e,r),xt(e,je()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(F(345));case 2:Rr(e,vt,In);break;case 3:if(ir(e,r),(r&130023424)===r&&(t=Qc+500-je(),10<t)){if(Es(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){ht(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=oc(Rr.bind(null,e,vt,In),t);break}Rr(e,vt,In);break;case 4:if(ir(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-qt(r);i=1<<s,s=t[s],s>o&&(o=s),r&=~i}if(r=o,r=je()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*mx(r/1960))-r,10<r){e.timeoutHandle=oc(Rr.bind(null,e,vt,In),r);break}Rr(e,vt,In);break;case 5:Rr(e,vt,In);break;default:throw Error(F(329))}}}return xt(e,je()),e.callbackNode===n?Um.bind(null,e):null}function Zc(e,t){var n=Ti;return e.current.memoizedState.isDehydrated&&(Er(e,t).flags|=256),e=yl(e,t),e!==2&&(t=vt,vt=n,t!==null&&Jc(t)),e}function Jc(e){vt===null?vt=e:vt.push.apply(vt,e)}function gx(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!Gt(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ir(e,t){for(t&=~Gc,t&=~dl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-qt(t),r=1<<n;e[n]=-1,t&=~r}}function Hm(e){if(ie&6)throw Error(F(327));go();var t=Es(e,0);if(!(t&1))return xt(e,je()),null;var n=yl(e,t);if(e.tag!==0&&n===2){var r=Au(e);r!==0&&(t=r,n=Zc(e,r))}if(n===1)throw n=Ri,Er(e,0),ir(e,t),xt(e,je()),n;if(n===6)throw Error(F(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Rr(e,vt,In),xt(e,je()),null}function ed(e,t){var n=ie;ie|=1;try{return e(t)}finally{ie=n,ie===0&&(mo=je()+500,Ws&&Zn())}}function kr(e){rr!==null&&rr.tag===0&&!(ie&6)&&go();var t=ie;ie|=1;var n=jt.transition,r=ae;try{if(jt.transition=null,ae=1,e)return e()}finally{ae=r,jt.transition=n,ie=t,!(ie&6)&&Zn()}}function td(){Ot=ho.current,ke(ho)}function Er(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,K1(n)),He!==null)for(n=He.return;n!==null;){var r=n;switch(cc(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Us();break;case 3:co(),ke(mt),ke(it),Cc();break;case 5:wc(r);break;case 4:co();break;case 13:ke(Ne);break;case 19:ke(Ne);break;case 10:gc(r.type._context);break;case 22:case 23:td()}n=n.return}if(Qe=e,He=e=sr(e.current,null),Je=Ot=t,Ke=0,Ri=null,Gc=dl=Cr=0,vt=Ti=null,Sr!==null){for(t=0;t<Sr.length;t++)if(n=Sr[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var s=i.next;i.next=o,r.next=s}n.pending=r}Sr=null}return e}function Wm(e,t){do{var n=He;try{if(mc(),el.current=ol,tl){for(var r=Fe.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}tl=!1}if(br=0,Ge=Ve=Fe=null,Si=!1,wi=0,qc.current=null,n===null||n.return===null){Ke=1,Ri=t,He=null;break}e:{var i=e,s=n.return,l=n,a=t;if(t=Je,l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,c=l,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var h=c.alternate;h?(c.updateQueue=h.updateQueue,c.memoizedState=h.memoizedState,c.lanes=h.lanes):(c.updateQueue=null,c.memoizedState=null)}var x=mm(s);if(x!==null){x.flags&=-257,gm(x,s,l,i,t),x.mode&1&&hm(i,u,t),t=x,a=u;var p=t.updateQueue;if(p===null){var v=new Set;v.add(a),t.updateQueue=v}else p.add(a);break e}else{if(!(t&1)){hm(i,u,t),nd();break e}a=Error(F(426))}}else if(Pe&&l.mode&1){var w=mm(s);if(w!==null){!(w.flags&65536)&&(w.flags|=256),gm(w,s,l,i,t),pc(fo(a,l));break e}}i=a=fo(a,l),Ke!==4&&(Ke=2),Ti===null?Ti=[i]:Ti.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var m=fm(i,a,t);Lh(i,m);break e;case 1:l=a;var g=i.type,f=i.stateNode;if(!(i.flags&128)&&(typeof g.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(nr===null||!nr.has(f)))){i.flags|=65536,t&=-t,i.lanes|=t;var S=pm(i,l,t);Lh(i,S);break e}}i=i.return}while(i!==null)}qm(n)}catch(C){t=C,He===n&&n!==null&&(He=n=n.return);continue}break}while(!0)}function Vm(){var e=cl.current;return cl.current=ol,e===null?ol:e}function nd(){(Ke===0||Ke===3||Ke===2)&&(Ke=4),Qe===null||!(Cr&268435455)&&!(dl&268435455)||ir(Qe,Je)}function yl(e,t){var n=ie;ie|=2;var r=Vm();(Qe!==e||Je!==t)&&(In=null,Er(e,t));do try{yx();break}catch(o){Wm(e,o)}while(!0);if(mc(),ie=n,cl.current=r,He!==null)throw Error(F(261));return Qe=null,Je=0,Ke}function yx(){for(;He!==null;)Km(He)}function vx(){for(;He!==null&&!Hv();)Km(He)}function Km(e){var t=Xm(e.alternate,e,Ot);e.memoizedProps=e.pendingProps,t===null?qm(e):He=t,qc.current=null}function qm(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=dx(n,t),n!==null){n.flags&=32767,He=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ke=6,He=null;return}}else if(n=cx(n,t,Ot),n!==null){He=n;return}if(t=t.sibling,t!==null){He=t;return}He=t=e}while(t!==null);Ke===0&&(Ke=5)}function Rr(e,t,n){var r=ae,o=jt.transition;try{jt.transition=null,ae=1,xx(e,t,n,r)}finally{jt.transition=o,ae=r}return null}function xx(e,t,n,r){do go();while(rr!==null);if(ie&6)throw Error(F(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(F(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(Jv(e,i),e===Qe&&(He=Qe=null,Je=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||pl||(pl=!0,Ym(ws,function(){return go(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=jt.transition,jt.transition=null;var s=ae;ae=1;var l=ie;ie|=4,qc.current=null,px(e,n),zm(n,e),L1(nc),Ps=!!tc,nc=tc=null,e.current=n,hx(n),Wv(),ie=l,ae=s,jt.transition=i}else e.current=n;if(pl&&(pl=!1,rr=e,hl=o),i=e.pendingLanes,i===0&&(nr=null),qv(n.stateNode),xt(e,je()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(fl)throw fl=!1,e=Xc,Xc=null,e;return hl&1&&e.tag!==0&&go(),i=e.pendingLanes,i&1?e===Yc?Pi++:(Pi=0,Yc=e):Pi=0,Zn(),null}function go(){if(rr!==null){var e=Mp(hl),t=jt.transition,n=ae;try{if(jt.transition=null,ae=16>e?16:e,rr===null)var r=!1;else{if(e=rr,rr=null,hl=0,ie&6)throw Error(F(331));var o=ie;for(ie|=4,D=e.current;D!==null;){var i=D,s=i.child;if(D.flags&16){var l=i.deletions;if(l!==null){for(var a=0;a<l.length;a++){var u=l[a];for(D=u;D!==null;){var c=D;switch(c.tag){case 0:case 11:case 15:Ei(8,c,i)}var d=c.child;if(d!==null)d.return=c,D=d;else for(;D!==null;){c=D;var h=c.sibling,x=c.return;if(Im(c),c===u){D=null;break}if(h!==null){h.return=x,D=h;break}D=x}}}var p=i.alternate;if(p!==null){var v=p.child;if(v!==null){p.child=null;do{var w=v.sibling;v.sibling=null,v=w}while(v!==null)}}D=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,D=s;else e:for(;D!==null;){if(i=D,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Ei(9,i,i.return)}var m=i.sibling;if(m!==null){m.return=i.return,D=m;break e}D=i.return}}var g=e.current;for(D=g;D!==null;){s=D;var f=s.child;if(s.subtreeFlags&2064&&f!==null)f.return=s,D=f;else e:for(s=g;D!==null;){if(l=D,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:ul(9,l)}}catch(C){Me(l,l.return,C)}if(l===s){D=null;break e}var S=l.sibling;if(S!==null){S.return=l.return,D=S;break e}D=l.return}}if(ie=o,Zn(),sn&&typeof sn.onPostCommitFiberRoot=="function")try{sn.onPostCommitFiberRoot(bs,e)}catch{}r=!0}return r}finally{ae=n,jt.transition=t}}return!1}function Gm(e,t,n){t=fo(n,t),t=fm(e,t,1),e=er(e,t,1),t=ht(),e!==null&&(Zo(e,1,t),xt(e,t))}function Me(e,t,n){if(e.tag===3)Gm(e,e,n);else for(;t!==null;){if(t.tag===3){Gm(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(nr===null||!nr.has(r))){e=fo(n,e),e=pm(t,e,1),t=er(t,e,1),e=ht(),t!==null&&(Zo(t,1,e),xt(t,e));break}}t=t.return}}function Sx(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=ht(),e.pingedLanes|=e.suspendedLanes&n,Qe===e&&(Je&n)===n&&(Ke===4||Ke===3&&(Je&130023424)===Je&&500>je()-Qc?Er(e,0):Gc|=n),xt(e,t)}function Qm(e,t){t===0&&(e.mode&1?(t=ks,ks<<=1,!(ks&130023424)&&(ks=4194304)):t=1);var n=ht();e=$n(e,t),e!==null&&(Zo(e,t,n),xt(e,n))}function wx(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Qm(e,n)}function bx(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(F(314))}r!==null&&r.delete(t),Qm(e,n)}var Xm;Xm=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||mt.current)yt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return yt=!1,ux(e,t,n);yt=!!(e.flags&131072)}else yt=!1,Pe&&t.flags&1048576&&$h(t,Ks,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ll(e,t),e=t.pendingProps;var o=ro(t,it.current);uo(t,n),o=Rc(null,t,r,e,o,n);var i=Tc();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,gt(r)?(i=!0,Hs(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,xc(t),o.updater=il,t.stateNode=o,o._reactInternals=t,Nc(t,r,e,n),t=zc(null,t,r,!0,i,n)):(t.tag=0,Pe&&i&&uc(t),pt(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ll(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=kx(r),e=Xt(r,e),o){case 0:t=_c(null,t,r,e,n);break e;case 1:t=bm(null,t,r,e,n);break e;case 11:t=ym(null,t,r,e,n);break e;case 14:t=vm(null,t,r,Xt(r.type,e),n);break e}throw Error(F(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xt(r,o),_c(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xt(r,o),bm(e,t,r,o,n);case 3:e:{if(Cm(t),e===null)throw Error(F(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Bh(e,t),Zs(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=fo(Error(F(423)),t),t=km(e,t,r,n,o);break e}else if(r!==o){o=fo(Error(F(424)),t),t=km(e,t,r,n,o);break e}else for($t=Qn(t.stateNode.containerInfo.firstChild),Pt=t,Pe=!0,Qt=null,n=_h(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(so(),r===o){t=An(e,t,n);break e}pt(e,t,r,n)}t=t.child}return t;case 5:return Dh(t),e===null&&fc(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,rc(r,o)?s=null:i!==null&&rc(r,i)&&(t.flags|=32),wm(e,t),pt(e,t,s,n),t.child;case 6:return e===null&&fc(t),null;case 13:return Em(e,t,n);case 4:return Sc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=lo(t,null,r,n):pt(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xt(r,o),ym(e,t,r,o,n);case 7:return pt(e,t,t.pendingProps,n),t.child;case 8:return pt(e,t,t.pendingProps.children,n),t.child;case 12:return pt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,we(Qs,r._currentValue),r._currentValue=s,i!==null)if(Gt(i.value,s)){if(i.children===o.children&&!mt.current){t=An(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){s=i.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=On(-1,n&-n),a.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?a.next=a:(a.next=c.next,c.next=a),u.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),yc(i.return,n,t),l.lanes|=n;break}a=a.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(F(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),yc(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}pt(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,uo(t,n),o=Bt(o),r=r(o),t.flags|=1,pt(e,t,r,n),t.child;case 14:return r=t.type,o=Xt(r,t.pendingProps),o=Xt(r.type,o),vm(e,t,r,o,n);case 15:return xm(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xt(r,o),ll(e,t),t.tag=1,gt(r)?(e=!0,Hs(t)):e=!1,uo(t,n),cm(t,r,o),Nc(t,r,o,n),zc(null,t,r,!0,e,n);case 19:return Tm(e,t,n);case 22:return Sm(e,t,n)}throw Error(F(156,t.tag))};function Ym(e,t){return Op(e,t)}function Cx(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 Dt(e,t,n,r){return new Cx(e,t,n,r)}function rd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function kx(e){if(typeof e=="function")return rd(e)?1:0;if(e!=null){if(e=e.$$typeof,e===uu)return 11;if(e===fu)return 14}return 2}function sr(e,t){var n=e.alternate;return n===null?(n=Dt(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 vl(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")rd(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Wr:return Tr(n.children,o,i,t);case lu:s=8,o|=8;break;case au:return e=Dt(12,n,t,o|2),e.elementType=au,e.lanes=i,e;case cu:return e=Dt(13,n,t,o),e.elementType=cu,e.lanes=i,e;case du:return e=Dt(19,n,t,o),e.elementType=du,e.lanes=i,e;case sp:return xl(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case op:s=10;break e;case ip:s=9;break e;case uu:s=11;break e;case fu:s=14;break e;case Dn:s=16,r=null;break e}throw Error(F(130,e==null?e:typeof e,""))}return t=Dt(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Tr(e,t,n,r){return e=Dt(7,e,r,t),e.lanes=n,e}function xl(e,t,n,r){return e=Dt(22,e,r,t),e.elementType=sp,e.lanes=n,e.stateNode={isHidden:!1},e}function od(e,t,n){return e=Dt(6,e,null,t),e.lanes=n,e}function id(e,t,n){return t=Dt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ex(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=Iu(0),this.expirationTimes=Iu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Iu(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function sd(e,t,n,r,o,i,s,l,a){return e=new Ex(e,t,n,l,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Dt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},xc(i),e}function Rx(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Hr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Zm(e){if(!e)return Yn;e=e._reactInternals;e:{if(mr(e)!==e||e.tag!==1)throw Error(F(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(gt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(F(171))}if(e.tag===1){var n=e.type;if(gt(n))return Rh(e,n,t)}return t}function Jm(e,t,n,r,o,i,s,l,a){return e=sd(n,r,!0,e,o,i,s,l,a),e.context=Zm(null),n=e.current,r=ht(),o=or(n),i=On(r,o),i.callback=t??null,er(n,i,o),e.current.lanes=o,Zo(e,o,r),xt(e,r),e}function Sl(e,t,n,r){var o=t.current,i=ht(),s=or(o);return n=Zm(n),t.context===null?t.context=n:t.pendingContext=n,t=On(i,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=er(o,t,s),e!==null&&(Jt(e,o,s,i),Ys(e,o,s)),s}function wl(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function eg(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ld(e,t){eg(e,t),(e=e.alternate)&&eg(e,t)}function Tx(){return null}var tg=typeof reportError=="function"?reportError:function(e){console.error(e)};function ad(e){this._internalRoot=e}bl.prototype.render=ad.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(F(409));Sl(e,t,null,null)},bl.prototype.unmount=ad.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;kr(function(){Sl(null,e,null,null)}),t[En]=null}};function bl(e){this._internalRoot=e}bl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Bp();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Kn.length&&t!==0&&t<Kn[n].priority;n++);Kn.splice(n,0,e),n===0&&Dp(e)}};function ud(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Cl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function ng(){}function Px(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=wl(s);i.call(u)}}var s=Jm(t,r,e,0,null,!1,!1,"",ng);return e._reactRootContainer=s,e[En]=s.current,fi(e.nodeType===8?e.parentNode:e),kr(),s}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var l=r;r=function(){var u=wl(a);l.call(u)}}var a=sd(e,0,!1,null,null,!1,!1,"",ng);return e._reactRootContainer=a,e[En]=a.current,fi(e.nodeType===8?e.parentNode:e),kr(function(){Sl(t,a,n,r)}),a}function kl(e,t,n,r,o){var i=n._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var l=o;o=function(){var a=wl(s);l.call(a)}}Sl(t,s,e,o)}else s=Px(n,t,e,o,r);return wl(s)}_p=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Yo(t.pendingLanes);n!==0&&(Nu(t,n|1),xt(t,je()),!(ie&6)&&(mo=je()+500,Zn()))}break;case 13:kr(function(){var r=$n(e,1);if(r!==null){var o=ht();Jt(r,e,1,o)}}),ld(e,1)}},Fu=function(e){if(e.tag===13){var t=$n(e,134217728);if(t!==null){var n=ht();Jt(t,e,134217728,n)}ld(e,134217728)}},zp=function(e){if(e.tag===13){var t=or(e),n=$n(e,t);if(n!==null){var r=ht();Jt(n,e,t,r)}ld(e,t)}},Bp=function(){return ae},Lp=function(e,t){var n=ae;try{return ae=e,t()}finally{ae=n}},Ru=function(e,t,n){switch(t){case"input":if(vu(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Ds(r);if(!o)throw Error(F(90));up(r),vu(r,o)}}}break;case"textarea":hp(e,n);break;case"select":t=n.value,t!=null&&Vr(e,!!n.multiple,t,!1)}},Cp=ed,kp=kr;var $x={usingClientEntryPoint:!1,Events:[mi,to,Ds,wp,bp,ed]},$i={findFiberByHostInstance:gr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Ox={bundleType:$i.bundleType,version:$i.version,rendererPackageName:$i.rendererPackageName,rendererConfig:$i.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:kn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Pp(e),e===null?null:e.stateNode},findFiberByHostInstance:$i.findFiberByHostInstance||Tx,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var El=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!El.isDisabled&&El.supportsFiber)try{bs=El.inject(Ox),sn=El}catch{}}Et.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$x,Et.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ud(t))throw Error(F(200));return Rx(e,t,null,n)},Et.createRoot=function(e,t){if(!ud(e))throw Error(F(299));var n=!1,r="",o=tg;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=sd(e,1,!1,null,null,n,!1,r,o),e[En]=t.current,fi(e.nodeType===8?e.parentNode:e),new ad(t)},Et.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(F(188)):(e=Object.keys(e).join(","),Error(F(268,e)));return e=Pp(t),e=e===null?null:e.stateNode,e},Et.flushSync=function(e){return kr(e)},Et.hydrate=function(e,t,n){if(!Cl(t))throw Error(F(200));return kl(null,e,t,!0,n)},Et.hydrateRoot=function(e,t,n){if(!ud(e))throw Error(F(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=tg;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=Jm(t,null,e,1,n??null,o,!1,i,s),e[En]=t.current,fi(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new bl(t)},Et.render=function(e,t,n){if(!Cl(t))throw Error(F(200));return kl(null,e,t,!1,n)},Et.unmountComponentAtNode=function(e){if(!Cl(e))throw Error(F(40));return e._reactRootContainer?(kr(function(){kl(null,null,e,!1,function(){e._reactRootContainer=null,e[En]=null})}),!0):!1},Et.unstable_batchedUpdates=ed,Et.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Cl(n))throw Error(F(200));if(e==null||e._reactInternals===void 0)throw Error(F(38));return kl(e,t,n,!1,r)},Et.version="18.3.1-next-f1338f8080-20240426";function rg(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(rg)}catch(e){console.error(e)}}rg(),Zf.exports=Et;var cd=Zf.exports;const Rl=on(cd);var og=cd;nu.createRoot=og.createRoot,nu.hydrateRoot=og.hydrateRoot;const Oi={black:"#000",white:"#fff"},yo={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"},vo={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"},xo={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"},So={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"},wo={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"},Ai={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"},Ax={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 Nn(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const Ii="$$material";function Tl(){return Tl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Tl.apply(null,arguments)}function ig(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Ix=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Nx=ig(function(e){return Ix.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Fx=!1;function Mx(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function _x(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var zx=function(){function e(n){var r=this;this._insertTag=function(o){var i;r.tags.length===0?r.insertionPoint?i=r.insertionPoint.nextSibling:r.prepend?i=r.container.firstChild:i=r.before:i=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,i),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!Fx:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(_x(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=Mx(o);try{i.insertRule(r,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},e}(),ut="-ms-",Pl="-moz-",se="-webkit-",sg="comm",dd="rule",fd="decl",Bx="@import",lg="@keyframes",Lx="@layer",jx=Math.abs,$l=String.fromCharCode,Dx=Object.assign;function Ux(e,t){return et(e,0)^45?(((t<<2^et(e,0))<<2^et(e,1))<<2^et(e,2))<<2^et(e,3):0}function ag(e){return e.trim()}function Hx(e,t){return(e=t.exec(e))?e[0]:e}function le(e,t,n){return e.replace(t,n)}function pd(e,t){return e.indexOf(t)}function et(e,t){return e.charCodeAt(t)|0}function Ni(e,t,n){return e.slice(t,n)}function dn(e){return e.length}function hd(e){return e.length}function Ol(e,t){return t.push(e),e}function Wx(e,t){return e.map(t).join("")}var Al=1,bo=1,ug=0,St=0,We=0,Co="";function Il(e,t,n,r,o,i,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Al,column:bo,length:s,return:""}}function Fi(e,t){return Dx(Il("",null,null,"",null,null,0),e,{length:-e.length},t)}function Vx(){return We}function Kx(){return We=St>0?et(Co,--St):0,bo--,We===10&&(bo=1,Al--),We}function At(){return We=St<ug?et(Co,St++):0,bo++,We===10&&(bo=1,Al++),We}function fn(){return et(Co,St)}function Nl(){return St}function Mi(e,t){return Ni(Co,e,t)}function _i(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function cg(e){return Al=bo=1,ug=dn(Co=e),St=0,[]}function dg(e){return Co="",e}function Fl(e){return ag(Mi(St-1,md(e===91?e+2:e===40?e+1:e)))}function qx(e){for(;(We=fn())&&We<33;)At();return _i(e)>2||_i(We)>3?"":" "}function Gx(e,t){for(;--t&&At()&&!(We<48||We>102||We>57&&We<65||We>70&&We<97););return Mi(e,Nl()+(t<6&&fn()==32&&At()==32))}function md(e){for(;At();)switch(We){case e:return St;case 34:case 39:e!==34&&e!==39&&md(We);break;case 40:e===41&&md(e);break;case 92:At();break}return St}function Qx(e,t){for(;At()&&e+We!==57;)if(e+We===84&&fn()===47)break;return"/*"+Mi(t,St-1)+"*"+$l(e===47?e:At())}function Xx(e){for(;!_i(fn());)At();return Mi(e,St)}function Yx(e){return dg(Ml("",null,null,null,[""],e=cg(e),0,[0],e))}function Ml(e,t,n,r,o,i,s,l,a){for(var u=0,c=0,d=s,h=0,x=0,p=0,v=1,w=1,m=1,g=0,f="",S=o,C=i,R=r,T=f;w;)switch(p=g,g=At()){case 40:if(p!=108&&et(T,d-1)==58){pd(T+=le(Fl(g),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:T+=Fl(g);break;case 9:case 10:case 13:case 32:T+=qx(p);break;case 92:T+=Gx(Nl()-1,7);continue;case 47:switch(fn()){case 42:case 47:Ol(Zx(Qx(At(),Nl()),t,n),a);break;default:T+="/"}break;case 123*v:l[u++]=dn(T)*m;case 125*v:case 59:case 0:switch(g){case 0:case 125:w=0;case 59+c:m==-1&&(T=le(T,/\f/g,"")),x>0&&dn(T)-d&&Ol(x>32?pg(T+";",r,n,d-1):pg(le(T," ","")+";",r,n,d-2),a);break;case 59:T+=";";default:if(Ol(R=fg(T,t,n,u,c,o,l,f,S=[],C=[],d),i),g===123)if(c===0)Ml(T,t,R,R,S,i,d,l,C);else switch(h===99&&et(T,3)===110?100:h){case 100:case 108:case 109:case 115:Ml(e,R,R,r&&Ol(fg(e,R,R,0,0,o,l,f,o,S=[],d),C),o,C,d,l,r?S:C);break;default:Ml(T,R,R,R,[""],C,0,l,C)}}u=c=x=0,v=m=1,f=T="",d=s;break;case 58:d=1+dn(T),x=p;default:if(v<1){if(g==123)--v;else if(g==125&&v++==0&&Kx()==125)continue}switch(T+=$l(g),g*v){case 38:m=c>0?1:(T+="\f",-1);break;case 44:l[u++]=(dn(T)-1)*m,m=1;break;case 64:fn()===45&&(T+=Fl(At())),h=fn(),c=d=dn(f=T+=Xx(Nl())),g++;break;case 45:p===45&&dn(T)==2&&(v=0)}}return i}function fg(e,t,n,r,o,i,s,l,a,u,c){for(var d=o-1,h=o===0?i:[""],x=hd(h),p=0,v=0,w=0;p<r;++p)for(var m=0,g=Ni(e,d+1,d=jx(v=s[p])),f=e;m<x;++m)(f=ag(v>0?h[m]+" "+g:le(g,/&\f/g,h[m])))&&(a[w++]=f);return Il(e,t,n,o===0?dd:l,a,u,c)}function Zx(e,t,n){return Il(e,t,n,sg,$l(Vx()),Ni(e,2,-2),0)}function pg(e,t,n,r){return Il(e,t,n,fd,Ni(e,0,r),Ni(e,r+1,-1),r)}function ko(e,t){for(var n="",r=hd(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Jx(e,t,n,r){switch(e.type){case Lx:if(e.children.length)break;case Bx:case fd:return e.return=e.return||e.value;case sg:return"";case lg:return e.return=e.value+"{"+ko(e.children,r)+"}";case dd:e.value=e.props.join(",")}return dn(n=ko(e.children,r))?e.return=e.value+"{"+n+"}":""}function eS(e){var t=hd(e);return function(n,r,o,i){for(var s="",l=0;l<t;l++)s+=e[l](n,r,o,i)||"";return s}}function tS(e){return function(t){t.root||(t=t.return)&&e(t)}}var nS=function(t,n,r){for(var o=0,i=0;o=i,i=fn(),o===38&&i===12&&(n[r]=1),!_i(i);)At();return Mi(t,St)},rS=function(t,n){var r=-1,o=44;do switch(_i(o)){case 0:o===38&&fn()===12&&(n[r]=1),t[r]+=nS(St-1,n,r);break;case 2:t[r]+=Fl(o);break;case 4:if(o===44){t[++r]=fn()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=$l(o)}while(o=At());return t},oS=function(t,n){return dg(rS(cg(t),n))},hg=new WeakMap,iS=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!hg.get(r))&&!o){hg.set(t,!0);for(var i=[],s=oS(n,i),l=r.props,a=0,u=0;a<s.length;a++)for(var c=0;c<l.length;c++,u++)t.props[u]=i[a]?s[a].replace(/&\f/g,l[c]):l[c]+" "+s[a]}}},sS=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function mg(e,t){switch(Ux(e,t)){case 5103:return se+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return se+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return se+e+Pl+e+ut+e+e;case 6828:case 4268:return se+e+ut+e+e;case 6165:return se+e+ut+"flex-"+e+e;case 5187:return se+e+le(e,/(\w+).+(:[^]+)/,se+"box-$1$2"+ut+"flex-$1$2")+e;case 5443:return se+e+ut+"flex-item-"+le(e,/flex-|-self/,"")+e;case 4675:return se+e+ut+"flex-line-pack"+le(e,/align-content|flex-|-self/,"")+e;case 5548:return se+e+ut+le(e,"shrink","negative")+e;case 5292:return se+e+ut+le(e,"basis","preferred-size")+e;case 6060:return se+"box-"+le(e,"-grow","")+se+e+ut+le(e,"grow","positive")+e;case 4554:return se+le(e,/([^-])(transform)/g,"$1"+se+"$2")+e;case 6187:return le(le(le(e,/(zoom-|grab)/,se+"$1"),/(image-set)/,se+"$1"),e,"")+e;case 5495:case 3959:return le(e,/(image-set\([^]*)/,se+"$1$`$1");case 4968:return le(le(e,/(.+:)(flex-)?(.*)/,se+"box-pack:$3"+ut+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+se+e+e;case 4095:case 3583:case 4068:case 2532:return le(e,/(.+)-inline(.+)/,se+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(dn(e)-1-t>6)switch(et(e,t+1)){case 109:if(et(e,t+4)!==45)break;case 102:return le(e,/(.+:)(.+)-([^]+)/,"$1"+se+"$2-$3$1"+Pl+(et(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~pd(e,"stretch")?mg(le(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(et(e,t+1)!==115)break;case 6444:switch(et(e,dn(e)-3-(~pd(e,"!important")&&10))){case 107:return le(e,":",":"+se)+e;case 101:return le(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+se+(et(e,14)===45?"inline-":"")+"box$3$1"+se+"$2$3$1"+ut+"$2box$3")+e}break;case 5936:switch(et(e,t+11)){case 114:return se+e+ut+le(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return se+e+ut+le(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return se+e+ut+le(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return se+e+ut+e+e}return e}var lS=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case fd:t.return=mg(t.value,t.length);break;case lg:return ko([Fi(t,{value:le(t.value,"@","@"+se)})],o);case dd:if(t.length)return Wx(t.props,function(i){switch(Hx(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ko([Fi(t,{props:[le(i,/:(read-\w+)/,":"+Pl+"$1")]})],o);case"::placeholder":return ko([Fi(t,{props:[le(i,/:(plac\w+)/,":"+se+"input-$1")]}),Fi(t,{props:[le(i,/:(plac\w+)/,":"+Pl+"$1")]}),Fi(t,{props:[le(i,/:(plac\w+)/,ut+"input-$1")]})],o)}return""})}},aS=[lS],uS=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(v){var w=v.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var o=t.stylisPlugins||aS,i={},s,l=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(v){for(var w=v.getAttribute("data-emotion").split(" "),m=1;m<w.length;m++)i[w[m]]=!0;l.push(v)});var a,u=[iS,sS];{var c,d=[Jx,tS(function(v){c.insert(v)})],h=eS(u.concat(o,d)),x=function(w){return ko(Yx(w),h)};a=function(w,m,g,f){c=g,x(w?w+"{"+m.styles+"}":m.styles),f&&(p.inserted[m.name]=!0)}}var p={key:n,sheet:new zx({key:n,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:a};return p.sheet.hydrate(l),p},gg={exports:{}},ue={};/** @license React v16.13.1
|
|
41
41
|
* react-is.production.min.js
|
|
42
42
|
*
|
|
43
43
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
44
44
|
*
|
|
45
45
|
* This source code is licensed under the MIT license found in the
|
|
46
46
|
* LICENSE file in the root directory of this source tree.
|
|
47
|
-
*/var Ee=typeof Symbol=="function"&&Symbol.for,Mu=Ee?Symbol.for("react.element"):60103,Bu=Ee?Symbol.for("react.portal"):60106,Ts=Ee?Symbol.for("react.fragment"):60107,bs=Ee?Symbol.for("react.strict_mode"):60108,Rs=Ee?Symbol.for("react.profiler"):60114,Ps=Ee?Symbol.for("react.provider"):60109,Os=Ee?Symbol.for("react.context"):60110,Iu=Ee?Symbol.for("react.async_mode"):60111,As=Ee?Symbol.for("react.concurrent_mode"):60111,_s=Ee?Symbol.for("react.forward_ref"):60112,Ns=Ee?Symbol.for("react.suspense"):60113,u1=Ee?Symbol.for("react.suspense_list"):60120,$s=Ee?Symbol.for("react.memo"):60115,Ms=Ee?Symbol.for("react.lazy"):60116,c1=Ee?Symbol.for("react.block"):60121,f1=Ee?Symbol.for("react.fundamental"):60117,d1=Ee?Symbol.for("react.responder"):60118,p1=Ee?Symbol.for("react.scope"):60119;function Ze(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Mu:switch(e=e.type,e){case Iu:case As:case Ts:case Rs:case bs:case Ns:return e;default:switch(e=e&&e.$$typeof,e){case Os:case _s:case Ms:case $s:case Ps:return e;default:return t}}case Bu:return t}}}function Ch(e){return Ze(e)===As}X.AsyncMode=Iu,X.ConcurrentMode=As,X.ContextConsumer=Os,X.ContextProvider=Ps,X.Element=Mu,X.ForwardRef=_s,X.Fragment=Ts,X.Lazy=Ms,X.Memo=$s,X.Portal=Bu,X.Profiler=Rs,X.StrictMode=bs,X.Suspense=Ns,X.isAsyncMode=function(e){return Ch(e)||Ze(e)===Iu},X.isConcurrentMode=Ch,X.isContextConsumer=function(e){return Ze(e)===Os},X.isContextProvider=function(e){return Ze(e)===Ps},X.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Mu},X.isForwardRef=function(e){return Ze(e)===_s},X.isFragment=function(e){return Ze(e)===Ts},X.isLazy=function(e){return Ze(e)===Ms},X.isMemo=function(e){return Ze(e)===$s},X.isPortal=function(e){return Ze(e)===Bu},X.isProfiler=function(e){return Ze(e)===Rs},X.isStrictMode=function(e){return Ze(e)===bs},X.isSuspense=function(e){return Ze(e)===Ns},X.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Ts||e===As||e===Rs||e===bs||e===Ns||e===u1||typeof e=="object"&&e!==null&&(e.$$typeof===Ms||e.$$typeof===$s||e.$$typeof===Ps||e.$$typeof===Os||e.$$typeof===_s||e.$$typeof===f1||e.$$typeof===d1||e.$$typeof===p1||e.$$typeof===c1)},X.typeOf=Ze,kh.exports=X;var h1=kh.exports,Eh=h1,m1={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},g1={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Th={};Th[Eh.ForwardRef]=m1,Th[Eh.Memo]=g1;var y1=!0;function v1(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):r+=o+" "}),r}var bh=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||y1===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},S1=function(t,n,r){bh(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var i=n;do t.insert(n===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function w1(e){for(var t=0,n,r=0,o=e.length;o>=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 x1={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},k1=!1,C1=/[A-Z]|^ms/g,E1=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Rh=function(t){return t.charCodeAt(1)===45},Ph=function(t){return t!=null&&typeof t!="boolean"},Lu=fh(function(e){return Rh(e)?e:e.replace(C1,"-$&").toLowerCase()}),Oh=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(E1,function(r,o,i){return $t={name:o,styles:i,next:$t},o})}return x1[t]!==1&&!Rh(t)&&typeof n=="number"&&n!==0?n+"px":n},T1="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Lo(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 $t={name:o.name,styles:o.styles,next:$t},o.name;var i=n;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)$t={name:s.name,styles:s.styles,next:$t},s=s.next;var l=i.styles+";";return l}return b1(e,t,n)}case"function":{if(e!==void 0){var a=$t,u=n(e);return $t=a,Lo(e,t,u)}break}}var c=n;if(t==null)return c;var f=t[c];return f!==void 0?f:c}function b1(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Lo(e,t,n[o])+";";else for(var i in n){var s=n[i];if(typeof s!="object"){var l=s;t!=null&&t[l]!==void 0?r+=i+"{"+t[l]+"}":Ph(l)&&(r+=Lu(i)+":"+Oh(i,l)+";")}else{if(i==="NO_COMPONENT_SELECTOR"&&k1)throw new Error(T1);if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var a=0;a<s.length;a++)Ph(s[a])&&(r+=Lu(i)+":"+Oh(i,s[a])+";");else{var u=Lo(e,t,s);switch(i){case"animation":case"animationName":{r+=Lu(i)+":"+u+";";break}default:r+=i+"{"+u+"}"}}}}return r}var Ah=/label:\s*([^\s;\n{]+)\s*(;|$)/g,$t;function _h(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";$t=void 0;var i=e[0];if(i==null||i.raw===void 0)r=!1,o+=Lo(n,t,i);else{var s=i;o+=s[0]}for(var l=1;l<e.length;l++)if(o+=Lo(n,t,e[l]),r){var a=i;o+=a[l]}Ah.lastIndex=0;for(var u="",c;(c=Ah.exec(o))!==null;)u+="-"+c[1];var f=w1(o)+u;return{name:f,styles:o,next:$t}}var R1=function(t){return t()},P1=ef.useInsertionEffect?ef.useInsertionEffect:!1,O1=P1||R1,Nh=P.createContext(typeof HTMLElement<"u"?a1({key:"css"}):null);Nh.Provider;var A1=function(t){return P.forwardRef(function(n,r){var o=P.useContext(Nh);return t(n,o,r)})},$h=P.createContext({});function _1(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return _h(t)}var zu=function(){var t=_1.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},N1=Ny,$1=function(t){return t!=="theme"},Mh=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?N1:$1},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},M1=!1,B1=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return bh(n,r,o),O1(function(){return S1(n,r,o)}),null},I1=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 l=Bh(t,n,r),a=l||Mh(o),u=!a("as");return function(){var c=arguments,f=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&f.push("label:"+i+";"),c[0]==null||c[0].raw===void 0)f.push.apply(f,c);else{f.push(c[0][0]);for(var m=c.length,S=1;S<m;S++)f.push(c[S],c[0][S])}var d=A1(function(v,x,g){var h=u&&v.as||o,p="",w=[],k=v;if(v.theme==null){k={};for(var E in v)k[E]=v[E];k.theme=P.useContext($h)}typeof v.className=="string"?p=v1(x.registered,w,v.className):v.className!=null&&(p=v.className+" ");var C=_h(f.concat(w),x.registered,k);p+=x.key+"-"+C.name,s!==void 0&&(p+=" "+s);var O=u&&l===void 0?Mh(h):a,y={};for(var R in v)u&&R==="as"||O(R)&&(y[R]=v[R]);return y.className=p,g&&(y.ref=g),P.createElement(P.Fragment,null,P.createElement(B1,{cache:x,serialized:C,isStringTag:typeof h=="string"}),P.createElement(h,y))});return d.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",d.defaultProps=t.defaultProps,d.__emotion_real=d,d.__emotion_base=o,d.__emotion_styles=f,d.__emotion_forwardProp=l,Object.defineProperty(d,"toString",{value:function(){return s===void 0&&M1?"NO_COMPONENT_SELECTOR":"."+s}}),d.withComponent=function(v,x){return e(v,gs({},n,x,{shouldForwardProp:Bh(d,x,!0)})).apply(void 0,f)},d}},L1=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],ju=I1.bind();L1.forEach(function(e){ju[e]=ju(e)});/**
|
|
47
|
+
*/var Xe=typeof Symbol=="function"&&Symbol.for,gd=Xe?Symbol.for("react.element"):60103,yd=Xe?Symbol.for("react.portal"):60106,_l=Xe?Symbol.for("react.fragment"):60107,zl=Xe?Symbol.for("react.strict_mode"):60108,Bl=Xe?Symbol.for("react.profiler"):60114,Ll=Xe?Symbol.for("react.provider"):60109,jl=Xe?Symbol.for("react.context"):60110,vd=Xe?Symbol.for("react.async_mode"):60111,Dl=Xe?Symbol.for("react.concurrent_mode"):60111,Ul=Xe?Symbol.for("react.forward_ref"):60112,Hl=Xe?Symbol.for("react.suspense"):60113,cS=Xe?Symbol.for("react.suspense_list"):60120,Wl=Xe?Symbol.for("react.memo"):60115,Vl=Xe?Symbol.for("react.lazy"):60116,dS=Xe?Symbol.for("react.block"):60121,fS=Xe?Symbol.for("react.fundamental"):60117,pS=Xe?Symbol.for("react.responder"):60118,hS=Xe?Symbol.for("react.scope"):60119;function It(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case gd:switch(e=e.type,e){case vd:case Dl:case _l:case Bl:case zl:case Hl:return e;default:switch(e=e&&e.$$typeof,e){case jl:case Ul:case Vl:case Wl:case Ll:return e;default:return t}}case yd:return t}}}function yg(e){return It(e)===Dl}ue.AsyncMode=vd,ue.ConcurrentMode=Dl,ue.ContextConsumer=jl,ue.ContextProvider=Ll,ue.Element=gd,ue.ForwardRef=Ul,ue.Fragment=_l,ue.Lazy=Vl,ue.Memo=Wl,ue.Portal=yd,ue.Profiler=Bl,ue.StrictMode=zl,ue.Suspense=Hl,ue.isAsyncMode=function(e){return yg(e)||It(e)===vd},ue.isConcurrentMode=yg,ue.isContextConsumer=function(e){return It(e)===jl},ue.isContextProvider=function(e){return It(e)===Ll},ue.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===gd},ue.isForwardRef=function(e){return It(e)===Ul},ue.isFragment=function(e){return It(e)===_l},ue.isLazy=function(e){return It(e)===Vl},ue.isMemo=function(e){return It(e)===Wl},ue.isPortal=function(e){return It(e)===yd},ue.isProfiler=function(e){return It(e)===Bl},ue.isStrictMode=function(e){return It(e)===zl},ue.isSuspense=function(e){return It(e)===Hl},ue.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===_l||e===Dl||e===Bl||e===zl||e===Hl||e===cS||typeof e=="object"&&e!==null&&(e.$$typeof===Vl||e.$$typeof===Wl||e.$$typeof===Ll||e.$$typeof===jl||e.$$typeof===Ul||e.$$typeof===fS||e.$$typeof===pS||e.$$typeof===hS||e.$$typeof===dS)},ue.typeOf=It,gg.exports=ue;var mS=gg.exports,vg=mS,gS={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},yS={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},xg={};xg[vg.ForwardRef]=gS,xg[vg.Memo]=yS;var vS=!0;function xS(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):r+=o+" "}),r}var Sg=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||vS===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},wg=function(t,n,r){Sg(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var i=n;do t.insert(n===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function SS(e){for(var t=0,n,r=0,o=e.length;o>=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 wS={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},bS=!1,CS=/[A-Z]|^ms/g,kS=/_EMO_([^_]+?)_([^]*?)_EMO_/g,bg=function(t){return t.charCodeAt(1)===45},Cg=function(t){return t!=null&&typeof t!="boolean"},xd=ig(function(e){return bg(e)?e:e.replace(CS,"-$&").toLowerCase()}),kg=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(kS,function(r,o,i){return pn={name:o,styles:i,next:pn},o})}return wS[t]!==1&&!bg(t)&&typeof n=="number"&&n!==0?n+"px":n},ES="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function zi(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 pn={name:o.name,styles:o.styles,next:pn},o.name;var i=n;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)pn={name:s.name,styles:s.styles,next:pn},s=s.next;var l=i.styles+";";return l}return RS(e,t,n)}case"function":{if(e!==void 0){var a=pn,u=n(e);return pn=a,zi(e,t,u)}break}}var c=n;if(t==null)return c;var d=t[c];return d!==void 0?d:c}function RS(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=zi(e,t,n[o])+";";else for(var i in n){var s=n[i];if(typeof s!="object"){var l=s;t!=null&&t[l]!==void 0?r+=i+"{"+t[l]+"}":Cg(l)&&(r+=xd(i)+":"+kg(i,l)+";")}else{if(i==="NO_COMPONENT_SELECTOR"&&bS)throw new Error(ES);if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var a=0;a<s.length;a++)Cg(s[a])&&(r+=xd(i)+":"+kg(i,s[a])+";");else{var u=zi(e,t,s);switch(i){case"animation":case"animationName":{r+=xd(i)+":"+u+";";break}default:r+=i+"{"+u+"}"}}}}return r}var Eg=/label:\s*([^\s;\n{]+)\s*(;|$)/g,pn;function Sd(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";pn=void 0;var i=e[0];if(i==null||i.raw===void 0)r=!1,o+=zi(n,t,i);else{var s=i;o+=s[0]}for(var l=1;l<e.length;l++)if(o+=zi(n,t,e[l]),r){var a=i;o+=a[l]}Eg.lastIndex=0;for(var u="",c;(c=Eg.exec(o))!==null;)u+="-"+c[1];var d=SS(o)+u;return{name:d,styles:o,next:pn}}var TS=function(t){return t()},Rg=tu.useInsertionEffect?tu.useInsertionEffect:!1,PS=Rg||TS,Tg=Rg||b.useLayoutEffect,Pg=b.createContext(typeof HTMLElement<"u"?uS({key:"css"}):null);Pg.Provider;var $g=function(t){return b.forwardRef(function(n,r){var o=b.useContext(Pg);return t(n,o,r)})},wd=b.createContext({}),$S=$g(function(e,t){var n=e.styles,r=Sd([n],void 0,b.useContext(wd)),o=b.useRef();return Tg(function(){var i=t.key+"-global",s=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,a=document.querySelector('style[data-emotion="'+i+" "+r.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),a!==null&&(l=!0,a.setAttribute("data-emotion",i),s.hydrate([a])),o.current=[s,l],function(){s.flush()}},[t]),Tg(function(){var i=o.current,s=i[0],l=i[1];if(l){i[1]=!1;return}if(r.next!==void 0&&wg(t,r.next,!0),s.tags.length){var a=s.tags[s.tags.length-1].nextElementSibling;s.before=a,s.flush()}t.insert("",r,s,!1)},[t,r.name]),null});function bd(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Sd(t)}var Bi=function(){var t=bd.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},OS=Nx,AS=function(t){return t!=="theme"},Og=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?OS:AS},Ag=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},IS=!1,NS=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return Sg(n,r,o),PS(function(){return wg(n,r,o)}),null},FS=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 l=Ag(t,n,r),a=l||Og(o),u=!a("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 h=c.length,x=1;x<h;x++)d.push(c[x],c[0][x])}var p=$g(function(v,w,m){var g=u&&v.as||o,f="",S=[],C=v;if(v.theme==null){C={};for(var R in v)C[R]=v[R];C.theme=b.useContext(wd)}typeof v.className=="string"?f=xS(w.registered,S,v.className):v.className!=null&&(f=v.className+" ");var T=Sd(d.concat(S),w.registered,C);f+=w.key+"-"+T.name,s!==void 0&&(f+=" "+s);var P=u&&l===void 0?Og(g):a,y={};for(var k in v)u&&k==="as"||P(k)&&(y[k]=v[k]);return y.className=f,m&&(y.ref=m),b.createElement(b.Fragment,null,b.createElement(NS,{cache:w,serialized:T,isStringTag:typeof g=="string"}),b.createElement(g,y))});return p.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",p.defaultProps=t.defaultProps,p.__emotion_real=p,p.__emotion_base=o,p.__emotion_styles=d,p.__emotion_forwardProp=l,Object.defineProperty(p,"toString",{value:function(){return s===void 0&&IS?"NO_COMPONENT_SELECTOR":"."+s}}),p.withComponent=function(v,w){return e(v,Tl({},n,w,{shouldForwardProp:Ag(p,w,!0)})).apply(void 0,d)},p}},MS=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Cd=FS.bind();MS.forEach(function(e){Cd[e]=Cd(e)});function _S(e){return e==null||Object.keys(e).length===0}function zS(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?o=>t(_S(o)?n:o):t;return E.jsx($S,{styles:r})}/**
|
|
48
48
|
* @mui/styled-engine v6.1.0
|
|
49
49
|
*
|
|
50
50
|
* @license MIT
|
|
51
51
|
* This source code is licensed under the MIT license found in the
|
|
52
52
|
* LICENSE file in the root directory of this source tree.
|
|
53
|
-
*/function z1(e,t){return ju(e,t)}const j1=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};function Mt(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 Ih(e){if(!Mt(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Ih(e[n])}),t}function et(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return Mt(e)&&Mt(t)&&Object.keys(t).forEach(o=>{Mt(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Mt(e[o])?r[o]=et(e[o],t[o],n):n.clone?r[o]=Mt(t[o])?Ih(t[o]):t[o]:r[o]=t[o]}),r}const D1=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 F1(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,i=D1(t),s=Object.keys(i);function l(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n})`}function a(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-r/100}${n})`}function u(m,S){const d=s.indexOf(S);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n}) and (max-width:${(d!==-1&&typeof t[s[d]]=="number"?t[s[d]]:S)-r/100}${n})`}function c(m){return s.indexOf(m)+1<s.length?u(m,s[s.indexOf(m)+1]):l(m)}function f(m){const S=s.indexOf(m);return S===0?l(s[1]):S===s.length-1?a(s[S]):u(m,s[s.indexOf(m)+1]).replace("@media","@media not all and")}return{keys:s,values:i,up:l,down:a,between:u,only:c,not:f,unit:n,...o}}function U1(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(r=>r.startsWith("@container")).sort((r,o)=>{var s,l;const i=/min-width:\s*([0-9.]+)/;return+(((s=r.match(i))==null?void 0:s[1])||0)-+(((l=o.match(i))==null?void 0:l[1])||0)});return n.length?n.reduce((r,o)=>{const i=t[o];return delete r[o],r[o]=i,r},{...t}):t}function H1(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function W1(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 V1(e){const t=(i,s)=>i.replace("@media",s?`@container ${s}`:"@container");function n(i,s){i.up=(...l)=>t(e.breakpoints.up(...l),s),i.down=(...l)=>t(e.breakpoints.down(...l),s),i.between=(...l)=>t(e.breakpoints.between(...l),s),i.only=(...l)=>t(e.breakpoints.only(...l),s),i.not=(...l)=>{const a=t(e.breakpoints.not(...l),s);return a.includes("not all and")?a.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):a}}const r={},o=i=>(n(r,i),r);return n(o),{...e,containerQueries:o}}const K1={borderRadius:4};function zo(e,t){return t?et(e,t,{clone:!1}):e}const Bs={xs:0,sm:600,md:900,lg:1200,xl:1536},Lh={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Bs[e]}px)`},G1={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Bs[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Xt(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||Lh;return t.reduce((s,l,a)=>(s[i.up(i.keys[a])]=n(t[a]),s),{})}if(typeof t=="object"){const i=r.breakpoints||Lh;return Object.keys(t).reduce((s,l)=>{if(H1(i.keys,l)){const a=W1(r.containerQueries?r:G1,l);a&&(s[a]=n(t[l],l))}else if(Object.keys(i.values||Bs).includes(l)){const a=i.up(l);s[a]=n(t[l],l)}else{const a=l;s[a]=t[a]}return s},{})}return n(t)}function Q1(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function q1(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function xe(e){if(typeof e!="string")throw new Error(Hn(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Is(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 Ls(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Is(e,n)||r,t&&(o=t(o,r,e)),o}function me(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=s=>{if(s[t]==null)return null;const l=s[t],a=s.theme,u=Is(a,r)||{};return Xt(s,l,f=>{let m=Ls(u,o,f);return f===m&&typeof f=="string"&&(m=Ls(u,o,`${t}${f==="default"?"":xe(f)}`,f)),n===!1?m:{[n]:m}})};return i.propTypes={},i.filterProps=[t],i}function Y1(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const X1={m:"margin",p:"padding"},J1={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},zh={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Z1=Y1(e=>{if(e.length>2)if(zh[e])e=zh[e];else return[e];const[t,n]=e.split(""),r=X1[t],o=J1[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),Du=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Fu=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Du,...Fu];function jo(e,t,n,r){const o=Is(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),l=o[s];return i>=0?l:typeof l=="number"?-l:`-${l}`}:typeof o=="function"?o:()=>{}}function Uu(e){return jo(e,"spacing",8)}function Do(e,t){return typeof t=="string"||t==null?t:e(t)}function ev(e,t){return n=>e.reduce((r,o)=>(r[o]=Do(t,n),r),{})}function tv(e,t,n,r){if(!t.includes(n))return null;const o=Z1(n),i=ev(o,r),s=e[n];return Xt(e,s,i)}function jh(e,t){const n=Uu(e.theme);return Object.keys(e).map(r=>tv(e,t,r,n)).reduce(zo,{})}function fe(e){return jh(e,Du)}fe.propTypes={},fe.filterProps=Du;function de(e){return jh(e,Fu)}de.propTypes={},de.filterProps=Fu;function Dh(e=8,t=Uu({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 zs(...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]?zo(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function ut(e){return typeof e!="number"?e:`${e}px solid`}function ct(e,t){return me({prop:e,themeKey:"borders",transform:t})}const nv=ct("border",ut),rv=ct("borderTop",ut),ov=ct("borderRight",ut),iv=ct("borderBottom",ut),sv=ct("borderLeft",ut),lv=ct("borderColor"),av=ct("borderTopColor"),uv=ct("borderRightColor"),cv=ct("borderBottomColor"),fv=ct("borderLeftColor"),dv=ct("outline",ut),pv=ct("outlineColor"),js=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=jo(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Do(t,r)});return Xt(e,e.borderRadius,n)}return null};js.propTypes={},js.filterProps=["borderRadius"],zs(nv,rv,ov,iv,sv,lv,av,uv,cv,fv,js,dv,pv);const Ds=e=>{if(e.gap!==void 0&&e.gap!==null){const t=jo(e.theme,"spacing",8),n=r=>({gap:Do(t,r)});return Xt(e,e.gap,n)}return null};Ds.propTypes={},Ds.filterProps=["gap"];const Fs=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=jo(e.theme,"spacing",8),n=r=>({columnGap:Do(t,r)});return Xt(e,e.columnGap,n)}return null};Fs.propTypes={},Fs.filterProps=["columnGap"];const Us=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=jo(e.theme,"spacing",8),n=r=>({rowGap:Do(t,r)});return Xt(e,e.rowGap,n)}return null};Us.propTypes={},Us.filterProps=["rowGap"];const hv=me({prop:"gridColumn"}),mv=me({prop:"gridRow"}),gv=me({prop:"gridAutoFlow"}),yv=me({prop:"gridAutoColumns"}),vv=me({prop:"gridAutoRows"}),Sv=me({prop:"gridTemplateColumns"}),wv=me({prop:"gridTemplateRows"}),xv=me({prop:"gridTemplateAreas"}),kv=me({prop:"gridArea"});zs(Ds,Fs,Us,hv,mv,gv,yv,vv,Sv,wv,xv,kv);function $r(e,t){return t==="grey"?t:e}const Cv=me({prop:"color",themeKey:"palette",transform:$r}),Ev=me({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:$r}),Tv=me({prop:"backgroundColor",themeKey:"palette",transform:$r});zs(Cv,Ev,Tv);function tt(e){return e<=1&&e!==0?`${e*100}%`:e}const bv=me({prop:"width",transform:tt}),Hu=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var o,i,s,l,a;const r=((s=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:s[n])||Bs[n];return r?((a=(l=e.theme)==null?void 0:l.breakpoints)==null?void 0:a.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:tt(n)}};return Xt(e,e.maxWidth,t)}return null};Hu.filterProps=["maxWidth"];const Rv=me({prop:"minWidth",transform:tt}),Pv=me({prop:"height",transform:tt}),Ov=me({prop:"maxHeight",transform:tt}),Av=me({prop:"minHeight",transform:tt});me({prop:"size",cssProperty:"width",transform:tt}),me({prop:"size",cssProperty:"height",transform:tt});const _v=me({prop:"boxSizing"});zs(bv,Hu,Rv,Pv,Ov,Av,_v);const Fo={border:{themeKey:"borders",transform:ut},borderTop:{themeKey:"borders",transform:ut},borderRight:{themeKey:"borders",transform:ut},borderBottom:{themeKey:"borders",transform:ut},borderLeft:{themeKey:"borders",transform:ut},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ut},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:js},color:{themeKey:"palette",transform:$r},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:$r},backgroundColor:{themeKey:"palette",transform:$r},p:{style:de},pt:{style:de},pr:{style:de},pb:{style:de},pl:{style:de},px:{style:de},py:{style:de},padding:{style:de},paddingTop:{style:de},paddingRight:{style:de},paddingBottom:{style:de},paddingLeft:{style:de},paddingX:{style:de},paddingY:{style:de},paddingInline:{style:de},paddingInlineStart:{style:de},paddingInlineEnd:{style:de},paddingBlock:{style:de},paddingBlockStart:{style:de},paddingBlockEnd:{style:de},m:{style:fe},mt:{style:fe},mr:{style:fe},mb:{style:fe},ml:{style:fe},mx:{style:fe},my:{style:fe},margin:{style:fe},marginTop:{style:fe},marginRight:{style:fe},marginBottom:{style:fe},marginLeft:{style:fe},marginX:{style:fe},marginY:{style:fe},marginInline:{style:fe},marginInlineStart:{style:fe},marginInlineEnd:{style:fe},marginBlock:{style:fe},marginBlockStart:{style:fe},marginBlockEnd:{style:fe},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:Ds},rowGap:{style:Us},columnGap:{style:Fs},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:Hu},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 Nv(...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 $v(e,t){return typeof e=="function"?e(t):e}function Mv(){function e(n,r,o,i){const s={[n]:r,theme:o},l=i[n];if(!l)return{[n]:r};const{cssProperty:a=n,themeKey:u,transform:c,style:f}=l;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const m=Is(o,u)||{};return f?f(s):Xt(s,r,d=>{let v=Ls(m,c,d);return d===v&&typeof d=="string"&&(v=Ls(m,c,`${n}${d==="default"?"":xe(d)}`,d)),a===!1?v:{[a]:v}})}function t(n){const{sx:r,theme:o={}}=n||{};if(!r)return null;const i=o.unstable_sxConfig??Fo;function s(l){let a=l;if(typeof l=="function")a=l(o);else if(typeof l!="object")return l;if(!a)return null;const u=Q1(o.breakpoints),c=Object.keys(u);let f=u;return Object.keys(a).forEach(m=>{const S=$v(a[m],o);if(S!=null)if(typeof S=="object")if(i[m])f=zo(f,e(m,S,o,i));else{const d=Xt({theme:o},S,v=>({[m]:v}));Nv(d,S)?f[m]=t({sx:S,theme:o}):f=zo(f,d)}else f=zo(f,e(m,S,o,i))}),U1(o,q1(c,f))}return Array.isArray(r)?r.map(s):s(r)}return t}const Uo=Mv();Uo.filterProps=["sx"];function Bv(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 Wu(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={},...s}=e,l=F1(n),a=Dh(o);let u=et({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:a,shape:{...K1,...i}},s);return u=V1(u),u.applyStyles=Bv,u=t.reduce((c,f)=>et(c,f),u),u.unstable_sxConfig={...Fo,...s==null?void 0:s.unstable_sxConfig},u.unstable_sx=function(f){return Uo({sx:f,theme:this})},u}function Iv(e){return Object.keys(e).length===0}function Lv(e=null){const t=P.useContext($h);return!t||Iv(t)?e:t}const zv=Wu();function jv(e=zv){return Lv(e)}const Dv=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??Fo;return Object.keys(e).forEach(o=>{n[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]}),t};function Fv(e){const{sx:t,...n}=e,{systemProps:r,otherProps:o}=Dv(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...s)=>{const l=t(...s);return Mt(l)?{...r,...l}:r}:i={...r,...t},{...o,sx:i}}const Fh=e=>e,Uv=(()=>{let e=Fh;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Fh}}})();function Uh(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Uh(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ge(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Uh(e))&&(r&&(r+=" "),r+=t);return r}const Hv={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 Bt(e,t,n="Mui"){const r=Hv[t];return r?`${n}-${r}`:`${Uv.generate(e)}-${t}`}function It(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Bt(e,o,n)}),r}const Wv=Wu();function Vu(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Ku(e,t,n){return Gv(t)?n:t[e]||t}const Hs=Symbol("mui.processed_props");function Ws(e,t,n){if(Hs in e)return e[Hs];const r={...e,theme:Ku(t,e.theme,n)};return e[Hs]=r,r[Hs]=r,r}function Vv(e){return e?(t,n)=>n[e]:null}function Vs(e,t){var r;const n=typeof e=="function"?e(t):e;if(Array.isArray(n))return n.flatMap(o=>Vs(o,t));if(Array.isArray(n==null?void 0:n.variants)){const{variants:o,...i}=n;let s=i,l;e:for(let a=0;a<o.length;a+=1){const u=o[a];if(typeof u.props=="function"){if(l??(l={...t,...t.ownerState,ownerState:t.ownerState}),!u.props(l))continue}else for(const c in u.props)if(t[c]!==u.props[c]&&((r=t.ownerState)==null?void 0:r[c])!==u.props[c])continue e;Array.isArray(s)||(s=[s]),typeof u.style=="function"?(l??(l={...t,...t.ownerState,ownerState:t.ownerState}),s.push(u.style(l))):s.push(u.style)}return s}return n}function Kv(e={}){const{themeId:t,defaultTheme:n=Wv,rootShouldForwardProp:r=Vu,slotShouldForwardProp:o=Vu}=e,i=l=>Uo(Ws(l,t,n));return i.__mui_systemSx=!0,(l,a={})=>{j1(l,E=>E.filter(C=>!(C!=null&&C.__mui_systemSx)));const{name:u,slot:c,skipVariantsResolver:f,skipSx:m,overridesResolver:S=Vv(qv(c)),...d}=a,v=f!==void 0?f:c&&c!=="Root"&&c!=="root"||!1,x=m||!1;let g,h=Vu;c==="Root"||c==="root"?h=r:c?h=o:Qv(l)&&(h=void 0);const p=z1(l,{shouldForwardProp:h,label:g,...d}),w=E=>typeof E=="function"&&E.__emotion_real!==E||Mt(E)?C=>Vs(E,Ws(C,t,n)):E,k=(E,...C)=>{let O=w(E);const y=C?C.map(w):[];u&&S&&y.push(I=>{const W=Ku(t,I.theme,n);if(!W.components||!W.components[u]||!W.components[u].styleOverrides)return null;const D=W.components[u].styleOverrides,z={},L=Ws(I,t,n);for(const F in D)z[F]=Vs(D[F],L);return S(I,z)}),u&&!v&&y.push(I=>{var z,L;const W=Ku(t,I.theme,n),D=(L=(z=W==null?void 0:W.components)==null?void 0:z[u])==null?void 0:L.variants;return D?Vs({variants:D},Ws(I,t,n)):null}),x||y.push(i);const R=y.length-C.length;if(Array.isArray(E)&&R>0){const I=new Array(R).fill("");O=[...E,...I],O.raw=[...E.raw,...I]}const M=p(O,...y);return l.muiName&&(M.muiName=l.muiName),M};return p.withConfig&&(k.withConfig=p.withConfig),k}}function Gv(e){for(const t in e)return!1;return!0}function Qv(e){return typeof e=="string"&&e.charCodeAt(0)>96}function qv(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Gu(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 l in i)if(Object.prototype.hasOwnProperty.call(i,l)){const a=l;n[o][a]=Gu(i[a],s[a])}}}else n[o]===void 0&&(n[o]=e[o])}return n}const Qu=typeof window<"u"?P.useLayoutEffect:P.useEffect;function Yv(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function qu(e,t=0,n=1){return Yv(e,t,n)}function Xv(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 Cn(e){if(e.type)return e;if(e.charAt(0)==="#")return Cn(Xv(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(Hn(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(Hn(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const Jv=e=>{const t=Cn(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},Ho=(e,t)=>{try{return Jv(e)}catch{return e}};function Ks(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 Hh(e){e=Cn(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 l="rgb";const a=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(l+="a",a.push(t[3])),Ks({type:l,values:a})}function Yu(e){e=Cn(e);let t=e.type==="hsl"||e.type==="hsla"?Cn(Hh(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 Zv(e,t){const n=Yu(e),r=Yu(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Wo(e,t){return e=Cn(e),t=qu(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Ks(e)}function Gs(e,t,n){try{return Wo(e,t)}catch{return e}}function Xu(e,t){if(e=Cn(e),t=qu(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 Ks(e)}function J(e,t,n){try{return Xu(e,t)}catch{return e}}function Ju(e,t){if(e=Cn(e),t=qu(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 Ks(e)}function Z(e,t,n){try{return Ju(e,t)}catch{return e}}function eS(e,t=.15){return Yu(e)>.5?Xu(e,t):Ju(e,t)}function Qs(e,t,n){try{return eS(e,t)}catch{return e}}function Wh(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function En(e){return e&&e.ownerDocument||document}function Zu(e){return En(e).defaultView||window}function ec(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Mr(e){const t=P.useRef(e);return Qu(()=>{t.current=e}),P.useRef((...n)=>(0,t.current)(...n)).current}function Jt(...e){return P.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{ec(n,t)})},e)}const Vh={};function Kh(e,t){const n=P.useRef(Vh);return n.current===Vh&&(n.current=e(t)),n}const tS=[];function nS(e){P.useEffect(e,tS)}class tc{constructor(){Zo(this,"currentId",null);Zo(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Zo(this,"disposeEffect",()=>this.clear)}static create(){return new tc}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Gh(){const e=Kh(tc.create).current;return nS(e.disposeEffect),e}function Qh(e){try{return e.matches(":focus-visible")}catch{}return!1}function rS(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function Zt(e,t,n=void 0){const r={};for(const o in e){const i=e[o];let s="",l=!0;for(let a=0;a<i.length;a+=1){const u=i[a];u&&(s+=(l===!0?"":" ")+t(u),l=!1,n&&n[u]&&(s+=" "+n[u]))}r[o]=s}return r}function oS(e){return typeof e=="string"}function iS(e,t,n){return e===void 0||oS(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function qh(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function Yh(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 sS(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const S=ge(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),d={...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},v={...n,...o,...r};return S.length>0&&(v.className=S),Object.keys(d).length>0&&(v.style=d),{props:v,internalRef:void 0}}const s=qh({...o,...r}),l=Yh(r),a=Yh(o),u=t(s),c=ge(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),f={...u==null?void 0:u.style,...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},m={...u,...n,...a,...l};return c.length>0&&(m.className=c),Object.keys(f).length>0&&(m.style=f),{props:m,internalRef:u.ref}}function lS(e,t,n){return typeof e=="function"?e(t,n):e}function qs(e){return!e||!P.isValidElement(e)?null:e.props.propertyIsEnumerable("ref")?e.props.ref:e.ref}const aS=P.createContext(void 0);function uS(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?Gu(o.defaultProps,r):!o.styleOverrides&&!o.variants?Gu(o,r):r}function cS({props:e,name:t}){const n=P.useContext(aS);return uS({props:e,name:t,theme:{components:n}})}function fS(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 Xh=(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])})},dS=(e,t,n)=>{function r(o,i=[],s=[]){Object.entries(o).forEach(([l,a])=>{(!n||n&&!n([...i,l]))&&a!=null&&(typeof a=="object"&&Object.keys(a).length>0?r(a,[...i,l],Array.isArray(a)?[...s,l]:s):t([...i,l],a,s))})}r(e)},pS=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().indexOf("opacity")>=0?t:`${t}px`:t;function nc(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},s={};return dS(e,(l,a,u)=>{if((typeof a=="string"||typeof a=="number")&&(!r||!r(l,a))){const c=`--${n?`${n}-`:""}${l.join("-")}`,f=pS(l,a);Object.assign(o,{[c]:f}),Xh(i,l,`var(${c})`,u),Xh(s,l,`var(${c}, ${f})`,u)}},l=>l[0]==="vars"),{css:o,vars:i,varsWithDefaults:s}}function hS(e,t={}){const{getSelector:n=x,disableCssColorScheme:r,colorSchemeSelector:o}=t,{colorSchemes:i={},components:s,defaultColorScheme:l="light",...a}=e,{vars:u,css:c,varsWithDefaults:f}=nc(a,t);let m=f;const S={},{[l]:d,...v}=i;if(Object.entries(v||{}).forEach(([p,w])=>{const{vars:k,css:E,varsWithDefaults:C}=nc(w,t);m=et(m,C),S[p]={css:E,vars:k}}),d){const{css:p,vars:w,varsWithDefaults:k}=nc(d,t);m=et(m,k),S[l]={css:p,vars:w}}function x(p,w){var E,C;let k=o;if(o==="class"&&(k=".%s"),o==="data"&&(k="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(k=`[${o}="%s"]`),p){if(k==="media")return e.defaultColorScheme===p?":root":{[`@media (prefers-color-scheme: ${((C=(E=i[p])==null?void 0:E.palette)==null?void 0:C.mode)||p})`]:{":root":w}};if(k)return e.defaultColorScheme===p?`:root, ${k.replace("%s",String(p))}`:k.replace("%s",String(p))}return":root"}return{vars:m,generateThemeVars:()=>{let p={...u};return Object.entries(S).forEach(([,{vars:w}])=>{p=et(p,w)}),p},generateStyleSheets:()=>{var O,y;const p=[],w=e.defaultColorScheme||"light";function k(R,M){Object.keys(M).length&&p.push(typeof R=="string"?{[R]:{...M}}:R)}k(n(void 0,{...c}),c);const{[w]:E,...C}=S;if(E){const{css:R}=E,M=(y=(O=i[w])==null?void 0:O.palette)==null?void 0:y.mode,I=!r&&M?{colorScheme:M,...R}:{...R};k(n(w,{...I}),I)}return Object.entries(C).forEach(([R,{css:M}])=>{var D,z;const I=(z=(D=i[R])==null?void 0:D.palette)==null?void 0:z.mode,W=!r&&I?{colorScheme:I,...M}:{...M};k(n(R,{...W}),W)}),p}}}function mS(e){return function(n){return e==="media"?`@media (prefers-color-scheme: ${n})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}const Jh={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:_o.white,default:_o.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}},rc={text:{primary:_o.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:_o.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 Zh(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=Ju(e.main,o):t==="dark"&&(e.dark=Xu(e.main,i)))}function gS(e="light"){return e==="dark"?{main:Rr[200],light:Rr[50],dark:Rr[400]}:{main:Rr[700],light:Rr[400],dark:Rr[800]}}function yS(e="light"){return e==="dark"?{main:br[200],light:br[50],dark:br[400]}:{main:br[500],light:br[300],dark:br[700]}}function vS(e="light"){return e==="dark"?{main:Tr[500],light:Tr[300],dark:Tr[700]}:{main:Tr[700],light:Tr[400],dark:Tr[800]}}function SS(e="light"){return e==="dark"?{main:Pr[400],light:Pr[300],dark:Pr[700]}:{main:Pr[700],light:Pr[500],dark:Pr[900]}}function wS(e="light"){return e==="dark"?{main:Or[400],light:Or[300],dark:Or[700]}:{main:Or[800],light:Or[500],dark:Or[900]}}function xS(e="light"){return e==="dark"?{main:No[400],light:No[300],dark:No[700]}:{main:"#ed6c02",light:No[500],dark:No[900]}}function oc(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...o}=e,i=e.primary||gS(t),s=e.secondary||yS(t),l=e.error||vS(t),a=e.info||SS(t),u=e.success||wS(t),c=e.warning||xS(t);function f(v){return Zv(v,rc.text.primary)>=n?rc.text.primary:Jh.text.primary}const m=({color:v,name:x,mainShade:g=500,lightShade:h=300,darkShade:p=700})=>{if(v={...v},!v.main&&v[g]&&(v.main=v[g]),!v.hasOwnProperty("main"))throw new Error(Hn(11,x?` (${x})`:"",g));if(typeof v.main!="string")throw new Error(Hn(12,x?` (${x})`:"",JSON.stringify(v.main)));return Zh(v,"light",h,r),Zh(v,"dark",p,r),v.contrastText||(v.contrastText=f(v.main)),v},S={dark:rc,light:Jh};return et({common:{..._o},mode:t,primary:m({color:i,name:"primary"}),secondary:m({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:l,name:"error"}),warning:m({color:c,name:"warning"}),info:m({color:a,name:"info"}),success:m({color:u,name:"success"}),grey:Ay,contrastThreshold:n,getContrastText:f,augmentColor:m,tonalOffset:r,...S[t]},o)}function kS(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 CS(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function ES(e){return Math.round(e*1e5)/1e5}const em={textTransform:"uppercase"},tm='"Roboto", "Helvetica", "Arial", sans-serif';function TS(e,t){const{fontFamily:n=tm,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:a=16,allVariants:u,pxToRem:c,...f}=typeof t=="function"?t(e):t,m=r/14,S=c||(x=>`${x/a*m}rem`),d=(x,g,h,p,w)=>({fontFamily:n,fontWeight:x,fontSize:S(g),lineHeight:h,...n===tm?{letterSpacing:`${ES(p/g)}em`}:{},...w,...u}),v={h1:d(o,96,1.167,-1.5),h2:d(o,60,1.2,-.5),h3:d(i,48,1.167,0),h4:d(i,34,1.235,.25),h5:d(i,24,1.334,0),h6:d(s,20,1.6,.15),subtitle1:d(i,16,1.75,.15),subtitle2:d(s,14,1.57,.1),body1:d(i,16,1.5,.15),body2:d(i,14,1.43,.15),button:d(s,14,1.75,.4,em),caption:d(i,12,1.66,.4),overline:d(i,12,2.66,1,em),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return et({htmlFontSize:a,pxToRem:S,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:l,...v},f,{clone:!1})}const bS=.2,RS=.14,PS=.12;function se(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${bS})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${RS})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${PS})`].join(",")}const OS=["none",se(0,2,1,-1,0,1,1,0,0,1,3,0),se(0,3,1,-2,0,2,2,0,0,1,5,0),se(0,3,3,-2,0,3,4,0,0,1,8,0),se(0,2,4,-1,0,4,5,0,0,1,10,0),se(0,3,5,-1,0,5,8,0,0,1,14,0),se(0,3,5,-1,0,6,10,0,0,1,18,0),se(0,4,5,-2,0,7,10,1,0,2,16,1),se(0,5,5,-3,0,8,10,1,0,3,14,2),se(0,5,6,-3,0,9,12,1,0,3,16,2),se(0,6,6,-3,0,10,14,1,0,4,18,3),se(0,6,7,-4,0,11,15,1,0,4,20,3),se(0,7,8,-4,0,12,17,2,0,5,22,4),se(0,7,8,-4,0,13,19,2,0,5,24,4),se(0,7,9,-4,0,14,21,2,0,5,26,4),se(0,8,9,-5,0,15,22,2,0,6,28,5),se(0,8,10,-5,0,16,24,2,0,6,30,5),se(0,8,11,-5,0,17,26,2,0,6,32,5),se(0,9,11,-5,0,18,28,2,0,7,34,6),se(0,9,12,-6,0,19,29,2,0,7,36,6),se(0,10,13,-6,0,20,31,3,0,8,38,7),se(0,10,13,-6,0,21,33,3,0,8,40,7),se(0,10,14,-6,0,22,35,3,0,8,42,7),se(0,11,14,-7,0,23,36,3,0,9,44,8),se(0,11,15,-7,0,24,38,3,0,9,46,8)],AS={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)"},_S={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function nm(e){return`${Math.round(e)}ms`}function NS(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function $S(e){const t={...AS,...e.easing},n={..._S,...e.duration};return{getAutoHeightDuration:NS,create:(o=["all"],i={})=>{const{duration:s=n.standard,easing:l=t.easeInOut,delay:a=0,...u}=i;return(Array.isArray(o)?o:[o]).map(c=>`${c} ${typeof s=="string"?s:nm(s)} ${l} ${typeof a=="string"?a:nm(a)}`).join(",")},...e,easing:t,duration:n}}const MS={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function ic(e={},...t){const{breakpoints:n,mixins:r={},spacing:o,palette:i={},transitions:s={},typography:l={},shape:a,...u}=e;if(e.vars)throw new Error(Hn(20));const c=oc(i),f=Wu(e);let m=et(f,{mixins:CS(f.breakpoints,r),palette:c,shadows:OS.slice(),typography:TS(c,l),transitions:$S(s),zIndex:{...MS}});return m=et(m,u),m=t.reduce((S,d)=>et(S,d),m),m.unstable_sxConfig={...Fo,...u==null?void 0:u.unstable_sxConfig},m.unstable_sx=function(d){return Uo({sx:d,theme:this})},m}function sc(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 BS=[...Array(25)].map((e,t)=>{if(t===0)return;const n=sc(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function rm(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function om(e){return e==="dark"?BS:[]}function IS(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...o}=e,i=oc(t);return{palette:i,opacity:{...rm(i.mode),...n},overlays:r||om(i.mode),...o}}function LS(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const zS=e=>[...[...Array(24)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n+1}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],jS=e=>(t,n)=>{const r=e.colorSchemeSelector;let o=r;if(r==="class"&&(o=".%s"),r==="data"&&(o="[data-%s]"),r!=null&&r.startsWith("data-")&&!r.includes("%s")&&(o=`[${r}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const i={};return zS(e.cssVarPrefix).forEach(s=>{i[s]=n[s],delete n[s]}),o==="media"?{":root":n,"@media (prefers-color-scheme: dark)":{":root":i}}:o?{[o.replace("%s",t)]:i,[`:root, ${o.replace("%s",t)}`]:n}:{":root":{...n,...i}}}if(o&&o!=="media")return`:root, ${o.replace("%s",String(t))}`}else if(t){if(o==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{":root":n}};if(o)return o.replace("%s",String(t))}return":root"};function DS(e){return Mt(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function FS(e={}){const t={...e};function n(r){const o=Object.entries(r);for(let i=0;i<o.length;i++){const[s,l]=o[i];!DS(l)||s.startsWith("unstable_")?delete r[s]:Mt(l)&&(r[s]={...l},n(r[s]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
53
|
+
*/function Ig(e,t){return Cd(e,t)}const BS=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};function hn(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 Ng(e){if(!hn(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Ng(e[n])}),t}function ct(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return hn(e)&&hn(t)&&Object.keys(t).forEach(o=>{hn(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&hn(e[o])?r[o]=ct(e[o],t[o],n):n.clone?r[o]=hn(t[o])?Ng(t[o]):t[o]:r[o]=t[o]}),r}const LS=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 jS(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,i=LS(t),s=Object.keys(i);function l(h){return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${n})`}function a(h){return`@media (max-width:${(typeof t[h]=="number"?t[h]:h)-r/100}${n})`}function u(h,x){const p=s.indexOf(x);return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${n}) and (max-width:${(p!==-1&&typeof t[s[p]]=="number"?t[s[p]]:x)-r/100}${n})`}function c(h){return s.indexOf(h)+1<s.length?u(h,s[s.indexOf(h)+1]):l(h)}function d(h){const x=s.indexOf(h);return x===0?l(s[1]):x===s.length-1?a(s[x]):u(h,s[s.indexOf(h)+1]).replace("@media","@media not all and")}return{keys:s,values:i,up:l,down:a,between:u,only:c,not:d,unit:n,...o}}function DS(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(r=>r.startsWith("@container")).sort((r,o)=>{var s,l;const i=/min-width:\s*([0-9.]+)/;return+(((s=r.match(i))==null?void 0:s[1])||0)-+(((l=o.match(i))==null?void 0:l[1])||0)});return n.length?n.reduce((r,o)=>{const i=t[o];return delete r[o],r[o]=i,r},{...t}):t}function US(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function HS(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 WS(e){const t=(i,s)=>i.replace("@media",s?`@container ${s}`:"@container");function n(i,s){i.up=(...l)=>t(e.breakpoints.up(...l),s),i.down=(...l)=>t(e.breakpoints.down(...l),s),i.between=(...l)=>t(e.breakpoints.between(...l),s),i.only=(...l)=>t(e.breakpoints.only(...l),s),i.not=(...l)=>{const a=t(e.breakpoints.not(...l),s);return a.includes("not all and")?a.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):a}}const r={},o=i=>(n(r,i),r);return n(o),{...e,containerQueries:o}}const VS={borderRadius:4};function Li(e,t){return t?ct(e,t,{clone:!1}):e}const Kl={xs:0,sm:600,md:900,lg:1200,xl:1536},Fg={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Kl[e]}px)`},KS={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Kl[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Fn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||Fg;return t.reduce((s,l,a)=>(s[i.up(i.keys[a])]=n(t[a]),s),{})}if(typeof t=="object"){const i=r.breakpoints||Fg;return Object.keys(t).reduce((s,l)=>{if(US(i.keys,l)){const a=HS(r.containerQueries?r:KS,l);a&&(s[a]=n(t[l],l))}else if(Object.keys(i.values||Kl).includes(l)){const a=i.up(l);s[a]=n(t[l],l)}else{const a=l;s[a]=t[a]}return s},{})}return n(t)}function qS(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function GS(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function W(e){if(typeof e!="string")throw new Error(Nn(7));return e.charAt(0).toUpperCase()+e.slice(1)}function ql(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 Gl(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=ql(e,n)||r,t&&(o=t(o,r,e)),o}function De(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=s=>{if(s[t]==null)return null;const l=s[t],a=s.theme,u=ql(a,r)||{};return Fn(s,l,d=>{let h=Gl(u,o,d);return d===h&&typeof d=="string"&&(h=Gl(u,o,`${t}${d==="default"?"":W(d)}`,d)),n===!1?h:{[n]:h}})};return i.propTypes={},i.filterProps=[t],i}function QS(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const XS={m:"margin",p:"padding"},YS={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Mg={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ZS=QS(e=>{if(e.length>2)if(Mg[e])e=Mg[e];else return[e];const[t,n]=e.split(""),r=XS[t],o=YS[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),kd=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Ed=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...kd,...Ed];function ji(e,t,n,r){const o=ql(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),l=o[s];return i>=0?l:typeof l=="number"?-l:`-${l}`}:typeof o=="function"?o:()=>{}}function Rd(e){return ji(e,"spacing",8)}function Di(e,t){return typeof t=="string"||t==null?t:e(t)}function JS(e,t){return n=>e.reduce((r,o)=>(r[o]=Di(t,n),r),{})}function ew(e,t,n,r){if(!t.includes(n))return null;const o=ZS(n),i=JS(o,r),s=e[n];return Fn(e,s,i)}function _g(e,t){const n=Rd(e.theme);return Object.keys(e).map(r=>ew(e,t,r,n)).reduce(Li,{})}function _e(e){return _g(e,kd)}_e.propTypes={},_e.filterProps=kd;function ze(e){return _g(e,Ed)}ze.propTypes={},ze.filterProps=Ed;function zg(e=8,t=Rd({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 Ql(...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]?Li(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function Ut(e){return typeof e!="number"?e:`${e}px solid`}function Ht(e,t){return De({prop:e,themeKey:"borders",transform:t})}const tw=Ht("border",Ut),nw=Ht("borderTop",Ut),rw=Ht("borderRight",Ut),ow=Ht("borderBottom",Ut),iw=Ht("borderLeft",Ut),sw=Ht("borderColor"),lw=Ht("borderTopColor"),aw=Ht("borderRightColor"),uw=Ht("borderBottomColor"),cw=Ht("borderLeftColor"),dw=Ht("outline",Ut),fw=Ht("outlineColor"),Xl=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=ji(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Di(t,r)});return Fn(e,e.borderRadius,n)}return null};Xl.propTypes={},Xl.filterProps=["borderRadius"],Ql(tw,nw,rw,ow,iw,sw,lw,aw,uw,cw,Xl,dw,fw);const Yl=e=>{if(e.gap!==void 0&&e.gap!==null){const t=ji(e.theme,"spacing",8),n=r=>({gap:Di(t,r)});return Fn(e,e.gap,n)}return null};Yl.propTypes={},Yl.filterProps=["gap"];const Zl=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=ji(e.theme,"spacing",8),n=r=>({columnGap:Di(t,r)});return Fn(e,e.columnGap,n)}return null};Zl.propTypes={},Zl.filterProps=["columnGap"];const Jl=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=ji(e.theme,"spacing",8),n=r=>({rowGap:Di(t,r)});return Fn(e,e.rowGap,n)}return null};Jl.propTypes={},Jl.filterProps=["rowGap"];const pw=De({prop:"gridColumn"}),hw=De({prop:"gridRow"}),mw=De({prop:"gridAutoFlow"}),gw=De({prop:"gridAutoColumns"}),yw=De({prop:"gridAutoRows"}),vw=De({prop:"gridTemplateColumns"}),xw=De({prop:"gridTemplateRows"}),Sw=De({prop:"gridTemplateAreas"}),ww=De({prop:"gridArea"});Ql(Yl,Zl,Jl,pw,hw,mw,gw,yw,vw,xw,Sw,ww);function Eo(e,t){return t==="grey"?t:e}const bw=De({prop:"color",themeKey:"palette",transform:Eo}),Cw=De({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Eo}),kw=De({prop:"backgroundColor",themeKey:"palette",transform:Eo});Ql(bw,Cw,kw);function Nt(e){return e<=1&&e!==0?`${e*100}%`:e}const Ew=De({prop:"width",transform:Nt}),Td=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var o,i,s,l,a;const r=((s=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:s[n])||Kl[n];return r?((a=(l=e.theme)==null?void 0:l.breakpoints)==null?void 0:a.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Nt(n)}};return Fn(e,e.maxWidth,t)}return null};Td.filterProps=["maxWidth"];const Rw=De({prop:"minWidth",transform:Nt}),Tw=De({prop:"height",transform:Nt}),Pw=De({prop:"maxHeight",transform:Nt}),$w=De({prop:"minHeight",transform:Nt});De({prop:"size",cssProperty:"width",transform:Nt}),De({prop:"size",cssProperty:"height",transform:Nt});const Ow=De({prop:"boxSizing"});Ql(Ew,Td,Rw,Tw,Pw,$w,Ow);const Ui={border:{themeKey:"borders",transform:Ut},borderTop:{themeKey:"borders",transform:Ut},borderRight:{themeKey:"borders",transform:Ut},borderBottom:{themeKey:"borders",transform:Ut},borderLeft:{themeKey:"borders",transform:Ut},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ut},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Xl},color:{themeKey:"palette",transform:Eo},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Eo},backgroundColor:{themeKey:"palette",transform:Eo},p:{style:ze},pt:{style:ze},pr:{style:ze},pb:{style:ze},pl:{style:ze},px:{style:ze},py:{style:ze},padding:{style:ze},paddingTop:{style:ze},paddingRight:{style:ze},paddingBottom:{style:ze},paddingLeft:{style:ze},paddingX:{style:ze},paddingY:{style:ze},paddingInline:{style:ze},paddingInlineStart:{style:ze},paddingInlineEnd:{style:ze},paddingBlock:{style:ze},paddingBlockStart:{style:ze},paddingBlockEnd:{style:ze},m:{style:_e},mt:{style:_e},mr:{style:_e},mb:{style:_e},ml:{style:_e},mx:{style:_e},my:{style:_e},margin:{style:_e},marginTop:{style:_e},marginRight:{style:_e},marginBottom:{style:_e},marginLeft:{style:_e},marginX:{style:_e},marginY:{style:_e},marginInline:{style:_e},marginInlineStart:{style:_e},marginInlineEnd:{style:_e},marginBlock:{style:_e},marginBlockStart:{style:_e},marginBlockEnd:{style:_e},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Yl},rowGap:{style:Jl},columnGap:{style:Zl},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Nt},maxWidth:{style:Td},minWidth:{transform:Nt},height:{transform:Nt},maxHeight:{transform:Nt},minHeight:{transform:Nt},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Aw(...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 Iw(e,t){return typeof e=="function"?e(t):e}function Nw(){function e(n,r,o,i){const s={[n]:r,theme:o},l=i[n];if(!l)return{[n]:r};const{cssProperty:a=n,themeKey:u,transform:c,style:d}=l;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const h=ql(o,u)||{};return d?d(s):Fn(s,r,p=>{let v=Gl(h,c,p);return p===v&&typeof p=="string"&&(v=Gl(h,c,`${n}${p==="default"?"":W(p)}`,p)),a===!1?v:{[a]:v}})}function t(n){const{sx:r,theme:o={}}=n||{};if(!r)return null;const i=o.unstable_sxConfig??Ui;function s(l){let a=l;if(typeof l=="function")a=l(o);else if(typeof l!="object")return l;if(!a)return null;const u=qS(o.breakpoints),c=Object.keys(u);let d=u;return Object.keys(a).forEach(h=>{const x=Iw(a[h],o);if(x!=null)if(typeof x=="object")if(i[h])d=Li(d,e(h,x,o,i));else{const p=Fn({theme:o},x,v=>({[h]:v}));Aw(p,x)?d[h]=t({sx:x,theme:o}):d=Li(d,p)}else d=Li(d,e(h,x,o,i))}),DS(o,GS(c,d))}return Array.isArray(r)?r.map(s):s(r)}return t}const Ro=Nw();Ro.filterProps=["sx"];function Fw(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 Pd(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={},...s}=e,l=jS(n),a=zg(o);let u=ct({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:a,shape:{...VS,...i}},s);return u=WS(u),u.applyStyles=Fw,u=t.reduce((c,d)=>ct(c,d),u),u.unstable_sxConfig={...Ui,...s==null?void 0:s.unstable_sxConfig},u.unstable_sx=function(d){return Ro({sx:d,theme:this})},u}function Mw(e){return Object.keys(e).length===0}function _w(e=null){const t=b.useContext(wd);return!t||Mw(t)?e:t}const zw=Pd();function ea(e=zw){return _w(e)}function Bw({styles:e,themeId:t,defaultTheme:n={}}){const r=ea(n),o=typeof e=="function"?e(t&&r[t]||r):e;return E.jsx(zS,{styles:o})}const Lw=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??Ui;return Object.keys(e).forEach(o=>{n[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]}),t};function Bg(e){const{sx:t,...n}=e,{systemProps:r,otherProps:o}=Lw(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...s)=>{const l=t(...s);return hn(l)?{...r,...l}:r}:i={...r,...t},{...o,sx:i}}const Lg=e=>e,jg=(()=>{let e=Lg;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Lg}}})();function Dg(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Dg(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Y(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Dg(e))&&(r&&(r+=" "),r+=t);return r}function jw(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=Ig("div",{shouldForwardProp:l=>l!=="theme"&&l!=="sx"&&l!=="as"})(Ro);return b.forwardRef(function(a,u){const c=ea(n),{className:d,component:h="div",...x}=Bg(a);return E.jsx(i,{as:h,ref:u,className:Y(d,o?o(r):r),theme:t&&c[t]||c,...x})})}const Dw={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function fe(e,t,n="Mui"){const r=Dw[t];return r?`${n}-${r}`:`${jg.generate(e)}-${t}`}function ce(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=fe(e,o,n)}),r}const Uw=Pd();function $d(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Od(e,t,n){return Vw(t)?n:t[e]||t}const ta=Symbol("mui.processed_props");function na(e,t,n){if(ta in e)return e[ta];const r={...e,theme:Od(t,e.theme,n)};return e[ta]=r,r[ta]=r,r}function Hw(e){return e?(t,n)=>n[e]:null}function ra(e,t){var r;const n=typeof e=="function"?e(t):e;if(Array.isArray(n))return n.flatMap(o=>ra(o,t));if(Array.isArray(n==null?void 0:n.variants)){const{variants:o,...i}=n;let s=i,l;e:for(let a=0;a<o.length;a+=1){const u=o[a];if(typeof u.props=="function"){if(l??(l={...t,...t.ownerState,ownerState:t.ownerState}),!u.props(l))continue}else for(const c in u.props)if(t[c]!==u.props[c]&&((r=t.ownerState)==null?void 0:r[c])!==u.props[c])continue e;Array.isArray(s)||(s=[s]),typeof u.style=="function"?(l??(l={...t,...t.ownerState,ownerState:t.ownerState}),s.push(u.style(l))):s.push(u.style)}return s}return n}function Ww(e={}){const{themeId:t,defaultTheme:n=Uw,rootShouldForwardProp:r=$d,slotShouldForwardProp:o=$d}=e,i=l=>Ro(na(l,t,n));return i.__mui_systemSx=!0,(l,a={})=>{BS(l,R=>R.filter(T=>!(T!=null&&T.__mui_systemSx)));const{name:u,slot:c,skipVariantsResolver:d,skipSx:h,overridesResolver:x=Hw(qw(c)),...p}=a,v=d!==void 0?d:c&&c!=="Root"&&c!=="root"||!1,w=h||!1;let m,g=$d;c==="Root"||c==="root"?g=r:c?g=o:Kw(l)&&(g=void 0);const f=Ig(l,{shouldForwardProp:g,label:m,...p}),S=R=>typeof R=="function"&&R.__emotion_real!==R||hn(R)?T=>ra(R,na(T,t,n)):R,C=(R,...T)=>{let P=S(R);const y=T?T.map(S):[];u&&x&&y.push(N=>{const M=Od(t,N.theme,n);if(!M.components||!M.components[u]||!M.components[u].styleOverrides)return null;const z=M.components[u].styleOverrides,L={},_=na(N,t,n);for(const j in z)L[j]=ra(z[j],_);return x(N,L)}),u&&!v&&y.push(N=>{var L,_;const M=Od(t,N.theme,n),z=(_=(L=M==null?void 0:M.components)==null?void 0:L[u])==null?void 0:_.variants;return z?ra({variants:z},na(N,t,n)):null}),w||y.push(i);const k=y.length-T.length;if(Array.isArray(R)&&k>0){const N=new Array(k).fill("");P=[...R,...N],P.raw=[...R.raw,...N]}const O=f(P,...y);return l.muiName&&(O.muiName=l.muiName),O};return f.withConfig&&(C.withConfig=f.withConfig),C}}function Vw(e){for(const t in e)return!1;return!0}function Kw(e){return typeof e=="string"&&e.charCodeAt(0)>96}function qw(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Hi(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 l in i)if(Object.prototype.hasOwnProperty.call(i,l)){const a=l;n[o][a]=Hi(i[a],s[a])}}}else n[o]===void 0&&(n[o]=e[o])}return n}function Gw(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Hi(t.components[n].defaultProps,r)}function Qw({props:e,name:t,defaultTheme:n,themeId:r}){let o=ea(n);return r&&(o=o[r]||o),Gw({theme:o,name:t,props:e})}const Pr=typeof window<"u"?b.useLayoutEffect:b.useEffect;function Ug(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function Ad(e,t=0,n=1){return Ug(e,t,n)}function Xw(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 lr(e){if(e.type)return e;if(e.charAt(0)==="#")return lr(Xw(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(Nn(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(Nn(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const Yw=e=>{const t=lr(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},Wi=(e,t)=>{try{return Yw(e)}catch{return e}};function oa(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 Hg(e){e=lr(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 l="rgb";const a=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(l+="a",a.push(t[3])),oa({type:l,values:a})}function Id(e){e=lr(e);let t=e.type==="hsl"||e.type==="hsla"?lr(Hg(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 Zw(e,t){const n=Id(e),r=Id(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function mn(e,t){return e=lr(e),t=Ad(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,oa(e)}function ia(e,t,n){try{return mn(e,t)}catch{return e}}function Nd(e,t){if(e=lr(e),t=Ad(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 oa(e)}function he(e,t,n){try{return Nd(e,t)}catch{return e}}function Fd(e,t){if(e=lr(e),t=Ad(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 oa(e)}function me(e,t,n){try{return Fd(e,t)}catch{return e}}function Jw(e,t=.15){return Id(e)>.5?Nd(e,t):Fd(e,t)}function sa(e,t,n){try{return Jw(e,t)}catch{return e}}function Wg(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function Vg(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 Md(e,t){var n,r,o;return b.isValidElement(e)&&t.indexOf(e.type.muiName??((o=(r=(n=e.type)==null?void 0:n._payload)==null?void 0:r.value)==null?void 0:o.muiName))!==-1}function Ft(e){return e&&e.ownerDocument||document}function $r(e){return Ft(e).defaultView||window}function _d(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let Kg=0;function eb(e){const[t,n]=b.useState(e),r=e||t;return b.useEffect(()=>{t==null&&(Kg+=1,n(`mui-${Kg}`))},[t]),r}const qg=tu.useId;function la(e){if(qg!==void 0){const t=qg();return e??t}return eb(e)}function zd({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=b.useRef(e!==void 0),[i,s]=b.useState(t),l=o?e:i,a=b.useCallback(u=>{o||s(u)},[]);return[l,a]}function To(e){const t=b.useRef(e);return Pr(()=>{t.current=e}),b.useRef((...n)=>(0,t.current)(...n)).current}function tt(...e){return b.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{_d(n,t)})},e)}const Gg={};function Qg(e,t){const n=b.useRef(Gg);return n.current===Gg&&(n.current=e(t)),n}const tb=[];function nb(e){b.useEffect(e,tb)}class Bd{constructor(){cs(this,"currentId",null);cs(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});cs(this,"disposeEffect",()=>this.clear)}static create(){return new Bd}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Xg(){const e=Qg(Bd.create).current;return nb(e.disposeEffect),e}function aa(e){try{return e.matches(":focus-visible")}catch{}return!1}function Yg(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const rb={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function ge(e,t,n=void 0){const r={};for(const o in e){const i=e[o];let s="",l=!0;for(let a=0;a<i.length;a+=1){const u=i[a];u&&(s+=(l===!0?"":" ")+t(u),l=!1,n&&n[u]&&(s+=" "+n[u]))}r[o]=s}return r}function ob(e){return typeof e=="string"}function Zg(e,t,n){return e===void 0||ob(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function Jg(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function e0(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 t0(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const x=Y(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),p={...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},v={...n,...o,...r};return x.length>0&&(v.className=x),Object.keys(p).length>0&&(v.style=p),{props:v,internalRef:void 0}}const s=Jg({...o,...r}),l=e0(r),a=e0(o),u=t(s),c=Y(u==null?void 0:u.className,n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),d={...u==null?void 0:u.style,...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},h={...u,...n,...a,...l};return c.length>0&&(h.className=c),Object.keys(d).length>0&&(h.style=d),{props:h,internalRef:u.ref}}function n0(e,t,n){return typeof e=="function"?e(t,n):e}function r0(e){var d;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:o=!1,...i}=e,s=o?{}:n0(n,r),{props:l,internalRef:a}=t0({...i,externalSlotProps:s}),u=tt(a,s==null?void 0:s.ref,(d=e.additionalProps)==null?void 0:d.ref);return Zg(t,{...l,ref:u},r)}function Vi(e){return!e||!b.isValidElement(e)?null:e.props.propertyIsEnumerable("ref")?e.props.ref:e.ref}const ib=b.createContext(),o0=()=>b.useContext(ib)??!1,sb=b.createContext(void 0);function lb(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?Hi(o.defaultProps,r):!o.styleOverrides&&!o.variants?Hi(o,r):r}function ab({props:e,name:t}){const n=b.useContext(sb);return lb({props:e,name:t,theme:{components:n}})}function ub(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 i0=(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])})},cb=(e,t,n)=>{function r(o,i=[],s=[]){Object.entries(o).forEach(([l,a])=>{(!n||n&&!n([...i,l]))&&a!=null&&(typeof a=="object"&&Object.keys(a).length>0?r(a,[...i,l],Array.isArray(a)?[...s,l]:s):t([...i,l],a,s))})}r(e)},db=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().indexOf("opacity")>=0?t:`${t}px`:t;function Ld(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},s={};return cb(e,(l,a,u)=>{if((typeof a=="string"||typeof a=="number")&&(!r||!r(l,a))){const c=`--${n?`${n}-`:""}${l.join("-")}`,d=db(l,a);Object.assign(o,{[c]:d}),i0(i,l,`var(${c})`,u),i0(s,l,`var(${c}, ${d})`,u)}},l=>l[0]==="vars"),{css:o,vars:i,varsWithDefaults:s}}function fb(e,t={}){const{getSelector:n=w,disableCssColorScheme:r,colorSchemeSelector:o}=t,{colorSchemes:i={},components:s,defaultColorScheme:l="light",...a}=e,{vars:u,css:c,varsWithDefaults:d}=Ld(a,t);let h=d;const x={},{[l]:p,...v}=i;if(Object.entries(v||{}).forEach(([f,S])=>{const{vars:C,css:R,varsWithDefaults:T}=Ld(S,t);h=ct(h,T),x[f]={css:R,vars:C}}),p){const{css:f,vars:S,varsWithDefaults:C}=Ld(p,t);h=ct(h,C),x[l]={css:f,vars:S}}function w(f,S){var R,T;let C=o;if(o==="class"&&(C=".%s"),o==="data"&&(C="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(C=`[${o}="%s"]`),f){if(C==="media")return e.defaultColorScheme===f?":root":{[`@media (prefers-color-scheme: ${((T=(R=i[f])==null?void 0:R.palette)==null?void 0:T.mode)||f})`]:{":root":S}};if(C)return e.defaultColorScheme===f?`:root, ${C.replace("%s",String(f))}`:C.replace("%s",String(f))}return":root"}return{vars:h,generateThemeVars:()=>{let f={...u};return Object.entries(x).forEach(([,{vars:S}])=>{f=ct(f,S)}),f},generateStyleSheets:()=>{var P,y;const f=[],S=e.defaultColorScheme||"light";function C(k,O){Object.keys(O).length&&f.push(typeof k=="string"?{[k]:{...O}}:k)}C(n(void 0,{...c}),c);const{[S]:R,...T}=x;if(R){const{css:k}=R,O=(y=(P=i[S])==null?void 0:P.palette)==null?void 0:y.mode,N=!r&&O?{colorScheme:O,...k}:{...k};C(n(S,{...N}),N)}return Object.entries(T).forEach(([k,{css:O}])=>{var z,L;const N=(L=(z=i[k])==null?void 0:z.palette)==null?void 0:L.mode,M=!r&&N?{colorScheme:N,...O}:{...O};C(n(k,{...M}),M)}),f}}}function pb(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 s0={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:Oi.white,default:Oi.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}},jd={text:{primary:Oi.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:Oi.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 l0(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=Fd(e.main,o):t==="dark"&&(e.dark=Nd(e.main,i)))}function hb(e="light"){return e==="dark"?{main:xo[200],light:xo[50],dark:xo[400]}:{main:xo[700],light:xo[400],dark:xo[800]}}function mb(e="light"){return e==="dark"?{main:vo[200],light:vo[50],dark:vo[400]}:{main:vo[500],light:vo[300],dark:vo[700]}}function gb(e="light"){return e==="dark"?{main:yo[500],light:yo[300],dark:yo[700]}:{main:yo[700],light:yo[400],dark:yo[800]}}function yb(e="light"){return e==="dark"?{main:So[400],light:So[300],dark:So[700]}:{main:So[700],light:So[500],dark:So[900]}}function vb(e="light"){return e==="dark"?{main:wo[400],light:wo[300],dark:wo[700]}:{main:wo[800],light:wo[500],dark:wo[900]}}function xb(e="light"){return e==="dark"?{main:Ai[400],light:Ai[300],dark:Ai[700]}:{main:"#ed6c02",light:Ai[500],dark:Ai[900]}}function Dd(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...o}=e,i=e.primary||hb(t),s=e.secondary||mb(t),l=e.error||gb(t),a=e.info||yb(t),u=e.success||vb(t),c=e.warning||xb(t);function d(v){return Zw(v,jd.text.primary)>=n?jd.text.primary:s0.text.primary}const h=({color:v,name:w,mainShade:m=500,lightShade:g=300,darkShade:f=700})=>{if(v={...v},!v.main&&v[m]&&(v.main=v[m]),!v.hasOwnProperty("main"))throw new Error(Nn(11,w?` (${w})`:"",m));if(typeof v.main!="string")throw new Error(Nn(12,w?` (${w})`:"",JSON.stringify(v.main)));return l0(v,"light",g,r),l0(v,"dark",f,r),v.contrastText||(v.contrastText=d(v.main)),v},x={dark:jd,light:s0};return ct({common:{...Oi},mode:t,primary:h({color:i,name:"primary"}),secondary:h({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:l,name:"error"}),warning:h({color:c,name:"warning"}),info:h({color:a,name:"info"}),success:h({color:u,name:"success"}),grey:Ax,contrastThreshold:n,getContrastText:d,augmentColor:h,tonalOffset:r,...x[t]},o)}function Sb(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 wb(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function bb(e){return Math.round(e*1e5)/1e5}const a0={textTransform:"uppercase"},u0='"Roboto", "Helvetica", "Arial", sans-serif';function Cb(e,t){const{fontFamily:n=u0,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:a=16,allVariants:u,pxToRem:c,...d}=typeof t=="function"?t(e):t,h=r/14,x=c||(w=>`${w/a*h}rem`),p=(w,m,g,f,S)=>({fontFamily:n,fontWeight:w,fontSize:x(m),lineHeight:g,...n===u0?{letterSpacing:`${bb(f/m)}em`}:{},...S,...u}),v={h1:p(o,96,1.167,-1.5),h2:p(o,60,1.2,-.5),h3:p(i,48,1.167,0),h4:p(i,34,1.235,.25),h5:p(i,24,1.334,0),h6:p(s,20,1.6,.15),subtitle1:p(i,16,1.75,.15),subtitle2:p(s,14,1.57,.1),body1:p(i,16,1.5,.15),body2:p(i,14,1.43,.15),button:p(s,14,1.75,.4,a0),caption:p(i,12,1.66,.4),overline:p(i,12,2.66,1,a0),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return ct({htmlFontSize:a,pxToRem:x,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:l,...v},d,{clone:!1})}const kb=.2,Eb=.14,Rb=.12;function $e(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${kb})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Eb})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Rb})`].join(",")}const Tb=["none",$e(0,2,1,-1,0,1,1,0,0,1,3,0),$e(0,3,1,-2,0,2,2,0,0,1,5,0),$e(0,3,3,-2,0,3,4,0,0,1,8,0),$e(0,2,4,-1,0,4,5,0,0,1,10,0),$e(0,3,5,-1,0,5,8,0,0,1,14,0),$e(0,3,5,-1,0,6,10,0,0,1,18,0),$e(0,4,5,-2,0,7,10,1,0,2,16,1),$e(0,5,5,-3,0,8,10,1,0,3,14,2),$e(0,5,6,-3,0,9,12,1,0,3,16,2),$e(0,6,6,-3,0,10,14,1,0,4,18,3),$e(0,6,7,-4,0,11,15,1,0,4,20,3),$e(0,7,8,-4,0,12,17,2,0,5,22,4),$e(0,7,8,-4,0,13,19,2,0,5,24,4),$e(0,7,9,-4,0,14,21,2,0,5,26,4),$e(0,8,9,-5,0,15,22,2,0,6,28,5),$e(0,8,10,-5,0,16,24,2,0,6,30,5),$e(0,8,11,-5,0,17,26,2,0,6,32,5),$e(0,9,11,-5,0,18,28,2,0,7,34,6),$e(0,9,12,-6,0,19,29,2,0,7,36,6),$e(0,10,13,-6,0,20,31,3,0,8,38,7),$e(0,10,13,-6,0,21,33,3,0,8,40,7),$e(0,10,14,-6,0,22,35,3,0,8,42,7),$e(0,11,14,-7,0,23,36,3,0,9,44,8),$e(0,11,15,-7,0,24,38,3,0,9,46,8)],Pb={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)"},$b={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function c0(e){return`${Math.round(e)}ms`}function Ob(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Ab(e){const t={...Pb,...e.easing},n={...$b,...e.duration};return{getAutoHeightDuration:Ob,create:(o=["all"],i={})=>{const{duration:s=n.standard,easing:l=t.easeInOut,delay:a=0,...u}=i;return(Array.isArray(o)?o:[o]).map(c=>`${c} ${typeof s=="string"?s:c0(s)} ${l} ${typeof a=="string"?a:c0(a)}`).join(",")},...e,easing:t,duration:n}}const Ib={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Ud(e={},...t){const{breakpoints:n,mixins:r={},spacing:o,palette:i={},transitions:s={},typography:l={},shape:a,...u}=e;if(e.vars)throw new Error(Nn(20));const c=Dd(i),d=Pd(e);let h=ct(d,{mixins:wb(d.breakpoints,r),palette:c,shadows:Tb.slice(),typography:Cb(c,l),transitions:Ab(s),zIndex:{...Ib}});return h=ct(h,u),h=t.reduce((x,p)=>ct(x,p),h),h.unstable_sxConfig={...Ui,...u==null?void 0:u.unstable_sxConfig},h.unstable_sx=function(p){return Ro({sx:p,theme:this})},h}function Hd(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 Nb=[...Array(25)].map((e,t)=>{if(t===0)return;const n=Hd(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function d0(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function f0(e){return e==="dark"?Nb:[]}function Fb(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...o}=e,i=Dd(t);return{palette:i,opacity:{...d0(i.mode),...n},overlays:r||f0(i.mode),...o}}function Mb(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const _b=e=>[...[...Array(24)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n+1}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],zb=e=>(t,n)=>{const r=e.colorSchemeSelector;let o=r;if(r==="class"&&(o=".%s"),r==="data"&&(o="[data-%s]"),r!=null&&r.startsWith("data-")&&!r.includes("%s")&&(o=`[${r}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const i={};return _b(e.cssVarPrefix).forEach(s=>{i[s]=n[s],delete n[s]}),o==="media"?{":root":n,"@media (prefers-color-scheme: dark)":{":root":i}}:o?{[o.replace("%s",t)]:i,[`:root, ${o.replace("%s",t)}`]:n}:{":root":{...n,...i}}}if(o&&o!=="media")return`:root, ${o.replace("%s",String(t))}`}else if(t){if(o==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{":root":n}};if(o)return o.replace("%s",String(t))}return":root"};function Bb(e){return hn(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Lb(e={}){const t={...e};function n(r){const o=Object.entries(r);for(let i=0;i<o.length;i++){const[s,l]=o[i];!Bb(l)||s.startsWith("unstable_")?delete r[s]:hn(l)&&(r[s]={...l},n(r[s]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
54
54
|
|
|
55
55
|
const theme = ${JSON.stringify(t,null,2)};
|
|
56
56
|
|
|
57
57
|
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
58
58
|
theme.transitions = createTransitions(theme.transitions || {});
|
|
59
59
|
|
|
60
|
-
export default theme;`}function
|
|
61
|
-
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 HS(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Lt=e=>{try{return e()}catch{}},WS=(e="mui")=>fS(e);function lc(e,t,n,r){if(!t)return;t=t===!0?{}:t;const o=r==="dark"?"dark":"light";if(!n){e[r]=IS({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:i,...s}=ic({...n,palette:{mode:o,...t==null?void 0:t.palette}});return e[r]={...t,palette:i,opacity:{...rm(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||om(o)},s}function VS(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:s=LS,colorSchemeSelector:l=n.light&&n.dark?"media":void 0,...a}=e,u=Object.keys(n)[0],c=r||(n.light&&u!=="light"?"light":u),f=WS(i),{[c]:m,light:S,dark:d,...v}=n,x={...v};let g=m;if((c==="dark"&&!("dark"in n)||c==="light"&&!("light"in n))&&(g=!0),!g)throw new Error(Hn(21,c));const h=lc(x,g,a,c);S&&!x.light&&lc(x,S,void 0,"light"),d&&!x.dark&&lc(x,d,void 0,"dark");let p={defaultColorScheme:c,...h,cssVarPrefix:i,colorSchemeSelector:l,getCssVar:f,colorSchemes:x,font:{...kS(h.typography),...h.font},spacing:HS(a.spacing)};Object.keys(p.colorSchemes).forEach(O=>{const y=p.colorSchemes[O].palette,R=M=>{const I=M.split("-"),W=I[1],D=I[2];return f(M,y[W][D])};if(y.mode==="light"&&(b(y.common,"background","#fff"),b(y.common,"onBackground","#000")),y.mode==="dark"&&(b(y.common,"background","#000"),b(y.common,"onBackground","#fff")),US(y,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),y.mode==="light"){b(y.Alert,"errorColor",J(y.error.light,.6)),b(y.Alert,"infoColor",J(y.info.light,.6)),b(y.Alert,"successColor",J(y.success.light,.6)),b(y.Alert,"warningColor",J(y.warning.light,.6)),b(y.Alert,"errorFilledBg",R("palette-error-main")),b(y.Alert,"infoFilledBg",R("palette-info-main")),b(y.Alert,"successFilledBg",R("palette-success-main")),b(y.Alert,"warningFilledBg",R("palette-warning-main")),b(y.Alert,"errorFilledColor",Lt(()=>y.getContrastText(y.error.main))),b(y.Alert,"infoFilledColor",Lt(()=>y.getContrastText(y.info.main))),b(y.Alert,"successFilledColor",Lt(()=>y.getContrastText(y.success.main))),b(y.Alert,"warningFilledColor",Lt(()=>y.getContrastText(y.warning.main))),b(y.Alert,"errorStandardBg",Z(y.error.light,.9)),b(y.Alert,"infoStandardBg",Z(y.info.light,.9)),b(y.Alert,"successStandardBg",Z(y.success.light,.9)),b(y.Alert,"warningStandardBg",Z(y.warning.light,.9)),b(y.Alert,"errorIconColor",R("palette-error-main")),b(y.Alert,"infoIconColor",R("palette-info-main")),b(y.Alert,"successIconColor",R("palette-success-main")),b(y.Alert,"warningIconColor",R("palette-warning-main")),b(y.AppBar,"defaultBg",R("palette-grey-100")),b(y.Avatar,"defaultBg",R("palette-grey-400")),b(y.Button,"inheritContainedBg",R("palette-grey-300")),b(y.Button,"inheritContainedHoverBg",R("palette-grey-A100")),b(y.Chip,"defaultBorder",R("palette-grey-400")),b(y.Chip,"defaultAvatarColor",R("palette-grey-700")),b(y.Chip,"defaultIconColor",R("palette-grey-700")),b(y.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),b(y.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),b(y.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),b(y.LinearProgress,"primaryBg",Z(y.primary.main,.62)),b(y.LinearProgress,"secondaryBg",Z(y.secondary.main,.62)),b(y.LinearProgress,"errorBg",Z(y.error.main,.62)),b(y.LinearProgress,"infoBg",Z(y.info.main,.62)),b(y.LinearProgress,"successBg",Z(y.success.main,.62)),b(y.LinearProgress,"warningBg",Z(y.warning.main,.62)),b(y.Skeleton,"bg",`rgba(${R("palette-text-primaryChannel")} / 0.11)`),b(y.Slider,"primaryTrack",Z(y.primary.main,.62)),b(y.Slider,"secondaryTrack",Z(y.secondary.main,.62)),b(y.Slider,"errorTrack",Z(y.error.main,.62)),b(y.Slider,"infoTrack",Z(y.info.main,.62)),b(y.Slider,"successTrack",Z(y.success.main,.62)),b(y.Slider,"warningTrack",Z(y.warning.main,.62));const M=Qs(y.background.default,.8);b(y.SnackbarContent,"bg",M),b(y.SnackbarContent,"color",Lt(()=>y.getContrastText(M))),b(y.SpeedDialAction,"fabHoverBg",Qs(y.background.paper,.15)),b(y.StepConnector,"border",R("palette-grey-400")),b(y.StepContent,"border",R("palette-grey-400")),b(y.Switch,"defaultColor",R("palette-common-white")),b(y.Switch,"defaultDisabledColor",R("palette-grey-100")),b(y.Switch,"primaryDisabledColor",Z(y.primary.main,.62)),b(y.Switch,"secondaryDisabledColor",Z(y.secondary.main,.62)),b(y.Switch,"errorDisabledColor",Z(y.error.main,.62)),b(y.Switch,"infoDisabledColor",Z(y.info.main,.62)),b(y.Switch,"successDisabledColor",Z(y.success.main,.62)),b(y.Switch,"warningDisabledColor",Z(y.warning.main,.62)),b(y.TableCell,"border",Z(Gs(y.divider,1),.88)),b(y.Tooltip,"bg",Gs(y.grey[700],.92))}if(y.mode==="dark"){b(y.Alert,"errorColor",Z(y.error.light,.6)),b(y.Alert,"infoColor",Z(y.info.light,.6)),b(y.Alert,"successColor",Z(y.success.light,.6)),b(y.Alert,"warningColor",Z(y.warning.light,.6)),b(y.Alert,"errorFilledBg",R("palette-error-dark")),b(y.Alert,"infoFilledBg",R("palette-info-dark")),b(y.Alert,"successFilledBg",R("palette-success-dark")),b(y.Alert,"warningFilledBg",R("palette-warning-dark")),b(y.Alert,"errorFilledColor",Lt(()=>y.getContrastText(y.error.dark))),b(y.Alert,"infoFilledColor",Lt(()=>y.getContrastText(y.info.dark))),b(y.Alert,"successFilledColor",Lt(()=>y.getContrastText(y.success.dark))),b(y.Alert,"warningFilledColor",Lt(()=>y.getContrastText(y.warning.dark))),b(y.Alert,"errorStandardBg",J(y.error.light,.9)),b(y.Alert,"infoStandardBg",J(y.info.light,.9)),b(y.Alert,"successStandardBg",J(y.success.light,.9)),b(y.Alert,"warningStandardBg",J(y.warning.light,.9)),b(y.Alert,"errorIconColor",R("palette-error-main")),b(y.Alert,"infoIconColor",R("palette-info-main")),b(y.Alert,"successIconColor",R("palette-success-main")),b(y.Alert,"warningIconColor",R("palette-warning-main")),b(y.AppBar,"defaultBg",R("palette-grey-900")),b(y.AppBar,"darkBg",R("palette-background-paper")),b(y.AppBar,"darkColor",R("palette-text-primary")),b(y.Avatar,"defaultBg",R("palette-grey-600")),b(y.Button,"inheritContainedBg",R("palette-grey-800")),b(y.Button,"inheritContainedHoverBg",R("palette-grey-700")),b(y.Chip,"defaultBorder",R("palette-grey-700")),b(y.Chip,"defaultAvatarColor",R("palette-grey-300")),b(y.Chip,"defaultIconColor",R("palette-grey-300")),b(y.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),b(y.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),b(y.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),b(y.LinearProgress,"primaryBg",J(y.primary.main,.5)),b(y.LinearProgress,"secondaryBg",J(y.secondary.main,.5)),b(y.LinearProgress,"errorBg",J(y.error.main,.5)),b(y.LinearProgress,"infoBg",J(y.info.main,.5)),b(y.LinearProgress,"successBg",J(y.success.main,.5)),b(y.LinearProgress,"warningBg",J(y.warning.main,.5)),b(y.Skeleton,"bg",`rgba(${R("palette-text-primaryChannel")} / 0.13)`),b(y.Slider,"primaryTrack",J(y.primary.main,.5)),b(y.Slider,"secondaryTrack",J(y.secondary.main,.5)),b(y.Slider,"errorTrack",J(y.error.main,.5)),b(y.Slider,"infoTrack",J(y.info.main,.5)),b(y.Slider,"successTrack",J(y.success.main,.5)),b(y.Slider,"warningTrack",J(y.warning.main,.5));const M=Qs(y.background.default,.98);b(y.SnackbarContent,"bg",M),b(y.SnackbarContent,"color",Lt(()=>y.getContrastText(M))),b(y.SpeedDialAction,"fabHoverBg",Qs(y.background.paper,.15)),b(y.StepConnector,"border",R("palette-grey-600")),b(y.StepContent,"border",R("palette-grey-600")),b(y.Switch,"defaultColor",R("palette-grey-300")),b(y.Switch,"defaultDisabledColor",R("palette-grey-600")),b(y.Switch,"primaryDisabledColor",J(y.primary.main,.55)),b(y.Switch,"secondaryDisabledColor",J(y.secondary.main,.55)),b(y.Switch,"errorDisabledColor",J(y.error.main,.55)),b(y.Switch,"infoDisabledColor",J(y.info.main,.55)),b(y.Switch,"successDisabledColor",J(y.success.main,.55)),b(y.Switch,"warningDisabledColor",J(y.warning.main,.55)),b(y.TableCell,"border",J(Gs(y.divider,1),.68)),b(y.Tooltip,"bg",Gs(y.grey[700],.92))}en(y.background,"default"),en(y.background,"paper"),en(y.common,"background"),en(y.common,"onBackground"),en(y,"divider"),Object.keys(y).forEach(M=>{const I=y[M];I&&typeof I=="object"&&(I.main&&b(y[M],"mainChannel",Ho(Vo(I.main))),I.light&&b(y[M],"lightChannel",Ho(Vo(I.light))),I.dark&&b(y[M],"darkChannel",Ho(Vo(I.dark))),I.contrastText&&b(y[M],"contrastTextChannel",Ho(Vo(I.contrastText))),M==="text"&&(en(y[M],"primary"),en(y[M],"secondary")),M==="action"&&(I.active&&en(y[M],"active"),I.selected&&en(y[M],"selected")))})}),p=t.reduce((O,y)=>et(O,y),p);const w={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:jS(p)},{vars:k,generateThemeVars:E,generateStyleSheets:C}=hS(p,w);return p.vars=k,Object.entries(p.colorSchemes[p.defaultColorScheme]).forEach(([O,y])=>{p[O]=y}),p.generateThemeVars=E,p.generateStyleSheets=C,p.generateSpacing=function(){return Dh(a.spacing,Uu(this))},p.getColorSchemeSelector=mS(l),p.spacing=p.generateSpacing(),p.shouldSkipGeneratingVar=s,p.unstable_sxConfig={...Fo,...a==null?void 0:a.unstable_sxConfig},p.unstable_sx=function(y){return Uo({sx:y,theme:this})},p.toRuntimeSource=FS,p}function im(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:oc({...n===!0?{}:n.palette,mode:t})})}function KS(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,l=i||"light",a=o==null?void 0:o[l],u={...o,...n?{[l]:{...typeof a!="boolean"&&a,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return ic(e,...t);let c=n;"palette"in e||u[l]&&(u[l]!==!0?c=u[l].palette:l==="dark"&&(c={mode:"dark"}));const f=ic({...e,palette:c},...t);return f.defaultColorScheme=l,f.colorSchemes=u,f.palette.mode==="light"&&(f.colorSchemes.light={...u.light!==!0&&u.light,palette:f.palette},im(f,"dark",u.dark)),f.palette.mode==="dark"&&(f.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:f.palette},im(f,"light",u.light)),f}return!n&&!("light"in u)&&l==="light"&&(u.light=!0),VS({...s,colorSchemes:u,defaultColorScheme:l,...typeof r!="boolean"&&r},...t)}const sm=KS();function ac(){const e=jv(sm);return e[ch]||e}function GS(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const ft=Kv({themeId:ch,defaultTheme:sm,rootShouldForwardProp:e=>GS(e)&&e!=="classes"});function QS(){return Fv}const lm={theme:void 0};function Tn(e){let t,n;return r=>{let o=t;return(o===void 0||r.theme!==n)&&(lm.theme=r.theme,o=e(lm),t=o,n=r.theme),o}}function zt(e){return cS(e)}function qS(e){return Bt("MuiSvgIcon",e)}It("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const YS=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${xe(t)}`,`fontSize${xe(n)}`]};return Zt(o,qS,r)},XS=ft("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${xe(n.color)}`],t[`fontSize${xe(n.fontSize)}`]]}})(Tn(({theme:e})=>{var t,n,r,o,i,s,l,a,u,c,f,m,S,d;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:v=>!v.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:((a=(l=e.typography)==null?void 0:l.pxToRem)==null?void 0:a.call(l,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(([,v])=>v&&v.main).map(([v])=>{var x,g;return{props:{color:v},style:{color:(g=(x=(e.vars??e).palette)==null?void 0:x[v])==null?void 0:g.main}}}),{props:{color:"action"},style:{color:(m=(f=(e.vars??e).palette)==null?void 0:f.action)==null?void 0:m.active}},{props:{color:"disabled"},style:{color:(d=(S=(e.vars??e).palette)==null?void 0:S.action)==null?void 0:d.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Ys=P.forwardRef(function(t,n){const r=zt({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:s="inherit",component:l="svg",fontSize:a="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:f,viewBox:m="0 0 24 24",...S}=r,d=P.isValidElement(o)&&o.type==="svg",v={...r,color:s,component:l,fontSize:a,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:m,hasSvgAsChild:d},x={};c||(x.viewBox=m);const g=YS(v);return A.jsxs(XS,{as:l,className:ge(g.root,i),focusable:"false",color:u,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:n,...x,...S,...d&&o.props,ownerState:v,children:[d?o.props.children:o,f?A.jsx("title",{children:f}):null]})});Ys&&(Ys.muiName="SvgIcon");function uc(e,t){function n(r,o){return A.jsx(Ys,{"data-testid":`${t}Icon`,ref:o,...r,children:e})}return n.muiName=Ys.muiName,P.memo(P.forwardRef(n))}function am(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 cc(e,t){return cc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},cc(e,t)}function um(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,cc(e,t)}const cm={disabled:!1},Xs=mt.createContext(null);var JS=function(t){return t.scrollTop},Ko="unmounted",Wn="exited",Vn="entering",Br="entered",fc="exiting",jt=function(e){um(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var s=o,l=s&&!s.isMounting?r.enter:r.appear,a;return i.appearStatus=null,r.in?l?(a=Wn,i.appearStatus=Vn):a=Br:r.unmountOnExit||r.mountOnEnter?a=Ko:a=Wn,i.state={status:a},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var s=o.in;return s&&i.status===Ko?{status:Wn}: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!==Vn&&s!==Br&&(i=Vn):(s===Vn||s===Br)&&(i=fc)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,s,l;return i=s=l=o,o!=null&&typeof o!="number"&&(i=o.exit,s=o.enter,l=o.appear!==void 0?o.appear:s),{exit:i,enter:s,appear:l}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===Vn){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:ms.findDOMNode(this);s&&JS(s)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Wn&&this.setState({status:Ko})},n.performEnter=function(o){var i=this,s=this.props.enter,l=this.context?this.context.isMounting:o,a=this.props.nodeRef?[l]:[ms.findDOMNode(this),l],u=a[0],c=a[1],f=this.getTimeouts(),m=l?f.appear:f.enter;if(!o&&!s||cm.disabled){this.safeSetState({status:Br},function(){i.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:Vn},function(){i.props.onEntering(u,c),i.onTransitionEnd(m,function(){i.safeSetState({status:Br},function(){i.props.onEntered(u,c)})})})},n.performExit=function(){var o=this,i=this.props.exit,s=this.getTimeouts(),l=this.props.nodeRef?void 0:ms.findDOMNode(this);if(!i||cm.disabled){this.safeSetState({status:Wn},function(){o.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:fc},function(){o.props.onExiting(l),o.onTransitionEnd(s.exit,function(){o.safeSetState({status:Wn},function(){o.props.onExited(l)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},n.setNextCallback=function(o){var i=this,s=!0;return this.nextCallback=function(l){s&&(s=!1,i.nextCallback=null,o(l))},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:ms.findDOMNode(this),l=o==null&&!this.props.addEndListener;if(!s||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var a=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],u=a[0],c=a[1];this.props.addEndListener(u,c)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===Ko)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 l=am(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return mt.createElement(Xs.Provider,{value:null},typeof s=="function"?s(o,l):mt.cloneElement(mt.Children.only(s),l))},t}(mt.Component);jt.contextType=Xs,jt.propTypes={};function Ir(){}jt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ir,onEntering:Ir,onEntered:Ir,onExit:Ir,onExiting:Ir,onExited:Ir},jt.UNMOUNTED=Ko,jt.EXITED=Wn,jt.ENTERING=Vn,jt.ENTERED=Br,jt.EXITING=fc;function ZS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dc(e,t){var n=function(i){return t&&P.isValidElement(i)?t(i):i},r=Object.create(null);return e&&P.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function ew(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,l={};for(var a in t){if(r[a])for(s=0;s<r[a].length;s++){var u=r[a][s];l[r[a][s]]=n(u)}l[a]=n(a)}for(s=0;s<o.length;s++)l[o[s]]=n(o[s]);return l}function Kn(e,t,n){return n[t]!=null?n[t]:e.props[t]}function tw(e,t){return dc(e.children,function(n){return P.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:Kn(n,"appear",e),enter:Kn(n,"enter",e),exit:Kn(n,"exit",e)})})}function nw(e,t,n){var r=dc(e.children),o=ew(t,r);return Object.keys(o).forEach(function(i){var s=o[i];if(P.isValidElement(s)){var l=i in t,a=i in r,u=t[i],c=P.isValidElement(u)&&!u.props.in;a&&(!l||c)?o[i]=P.cloneElement(s,{onExited:n.bind(null,s),in:!0,exit:Kn(s,"exit",e),enter:Kn(s,"enter",e)}):!a&&l&&!c?o[i]=P.cloneElement(s,{in:!1}):a&&l&&P.isValidElement(u)&&(o[i]=P.cloneElement(s,{onExited:n.bind(null,s),in:u.props.in,exit:Kn(s,"exit",e),enter:Kn(s,"enter",e)}))}}),o}var rw=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},ow={component:"div",childFactory:function(t){return t}},pc=function(e){um(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var s=i.handleExited.bind(ZS(i));return i.state={contextValue:{isMounting:!0},handleExited:s,firstRender:!0},i}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,i){var s=i.children,l=i.handleExited,a=i.firstRender;return{children:a?tw(o,l):nw(o,s,l),firstRender:!1}},n.handleExited=function(o,i){var s=dc(this.props.children);o.key in s||(o.props.onExited&&o.props.onExited(i),this.mounted&&this.setState(function(l){var a=gs({},l.children);return delete a[o.key],{children:a}}))},n.render=function(){var o=this.props,i=o.component,s=o.childFactory,l=am(o,["component","childFactory"]),a=this.state.contextValue,u=rw(this.state.children).map(s);return delete l.appear,delete l.enter,delete l.exit,i===null?mt.createElement(Xs.Provider,{value:a},u):mt.createElement(Xs.Provider,{value:a},mt.createElement(i,l,u))},t}(mt.Component);pc.propTypes={},pc.defaultProps=ow;const fm=e=>e.scrollTop;function Js(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 iw(e){return Bt("MuiPaper",e)}It("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 sw=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Zt(i,iw,o)},lw=ft("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}`]]}})(Tn(({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)"}}]}))),Zs=P.forwardRef(function(t,n){var S;const r=zt({props:t,name:"MuiPaper"}),o=ac(),{className:i,component:s="div",elevation:l=1,square:a=!1,variant:u="elevation",...c}=r,f={...r,component:s,elevation:l,square:a,variant:u},m=sw(f);return A.jsx(lw,{as:s,ownerState:f,className:ge(m.root,i),ref:n,...c,style:{...u==="elevation"&&{"--Paper-shadow":(o.vars||o).shadows[l],...o.vars&&{"--Paper-overlay":(S=o.vars.overlays)==null?void 0:S[l]},...!o.vars&&o.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Wo("#fff",sc(l))}, ${Wo("#fff",sc(l))})`}},...c.style}})});function el(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,getSlotOwnerState:s,internalForwardedProps:l,...a}=t,{component:u,slots:c={[e]:void 0},slotProps:f={[e]:void 0},...m}=i,S=c[e]||r,d=lS(f[e],o),{props:{component:v,...x},internalRef:g}=sS({className:n,...a,externalForwardedProps:e==="root"?m:void 0,externalSlotProps:d}),h=Jt(g,d==null?void 0:d.ref,t.ref),p=s?s(x):{},w={...o,...p},k=e==="root"?v||u:v,E=iS(S,{...e==="root"&&!u&&!c[e]&&l,...e!=="root"&&!c[e]&&l,...x,...k&&{as:k},ref:h},w);return Object.keys(p).forEach(C=>{delete E[C]}),[S,E]}class tl{constructor(){Zo(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 tl}static use(){const t=Kh(tl.create).current,[n,r]=P.useState(!1);return t.shouldMount=n,t.setShouldMount=r,P.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=uw(),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 aw(){return tl.use()}function uw(){let e,t;const n=new Promise((r,o)=>{e=r,t=o});return n.resolve=e,n.reject=t,n}function cw(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:s,in:l,onExited:a,timeout:u}=e,[c,f]=P.useState(!1),m=ge(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),S={width:s,height:s,top:-(s/2)+i,left:-(s/2)+o},d=ge(n.child,c&&n.childLeaving,r&&n.childPulsate);return!l&&!c&&f(!0),P.useEffect(()=>{if(!l&&a!=null){const v=setTimeout(a,u);return()=>{clearTimeout(v)}}},[a,l,u]),A.jsx("span",{className:m,style:S,children:A.jsx("span",{className:d})})}const dt=It("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),hc=550,fw=80,dw=zu`
|
|
60
|
+
export default theme;`}function jb(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function A(e,t,n){!e[t]&&n&&(e[t]=n)}function Ki(e){return!e||!e.startsWith("hsl")?e:Hg(e)}function Mn(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Wi(Ki(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().
|
|
61
|
+
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 Db(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const gn=e=>{try{return e()}catch{}},Ub=(e="mui")=>ub(e);function Wd(e,t,n,r){if(!t)return;t=t===!0?{}:t;const o=r==="dark"?"dark":"light";if(!n){e[r]=Fb({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:i,...s}=Ud({...n,palette:{mode:o,...t==null?void 0:t.palette}});return e[r]={...t,palette:i,opacity:{...d0(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||f0(o)},s}function Hb(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:s=Mb,colorSchemeSelector:l=n.light&&n.dark?"media":void 0,...a}=e,u=Object.keys(n)[0],c=r||(n.light&&u!=="light"?"light":u),d=Ub(i),{[c]:h,light:x,dark:p,...v}=n,w={...v};let m=h;if((c==="dark"&&!("dark"in n)||c==="light"&&!("light"in n))&&(m=!0),!m)throw new Error(Nn(21,c));const g=Wd(w,m,a,c);x&&!w.light&&Wd(w,x,void 0,"light"),p&&!w.dark&&Wd(w,p,void 0,"dark");let f={defaultColorScheme:c,...g,cssVarPrefix:i,colorSchemeSelector:l,getCssVar:d,colorSchemes:w,font:{...Sb(g.typography),...g.font},spacing:Db(a.spacing)};Object.keys(f.colorSchemes).forEach(P=>{const y=f.colorSchemes[P].palette,k=O=>{const N=O.split("-"),M=N[1],z=N[2];return d(O,y[M][z])};if(y.mode==="light"&&(A(y.common,"background","#fff"),A(y.common,"onBackground","#000")),y.mode==="dark"&&(A(y.common,"background","#000"),A(y.common,"onBackground","#fff")),jb(y,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),y.mode==="light"){A(y.Alert,"errorColor",he(y.error.light,.6)),A(y.Alert,"infoColor",he(y.info.light,.6)),A(y.Alert,"successColor",he(y.success.light,.6)),A(y.Alert,"warningColor",he(y.warning.light,.6)),A(y.Alert,"errorFilledBg",k("palette-error-main")),A(y.Alert,"infoFilledBg",k("palette-info-main")),A(y.Alert,"successFilledBg",k("palette-success-main")),A(y.Alert,"warningFilledBg",k("palette-warning-main")),A(y.Alert,"errorFilledColor",gn(()=>y.getContrastText(y.error.main))),A(y.Alert,"infoFilledColor",gn(()=>y.getContrastText(y.info.main))),A(y.Alert,"successFilledColor",gn(()=>y.getContrastText(y.success.main))),A(y.Alert,"warningFilledColor",gn(()=>y.getContrastText(y.warning.main))),A(y.Alert,"errorStandardBg",me(y.error.light,.9)),A(y.Alert,"infoStandardBg",me(y.info.light,.9)),A(y.Alert,"successStandardBg",me(y.success.light,.9)),A(y.Alert,"warningStandardBg",me(y.warning.light,.9)),A(y.Alert,"errorIconColor",k("palette-error-main")),A(y.Alert,"infoIconColor",k("palette-info-main")),A(y.Alert,"successIconColor",k("palette-success-main")),A(y.Alert,"warningIconColor",k("palette-warning-main")),A(y.AppBar,"defaultBg",k("palette-grey-100")),A(y.Avatar,"defaultBg",k("palette-grey-400")),A(y.Button,"inheritContainedBg",k("palette-grey-300")),A(y.Button,"inheritContainedHoverBg",k("palette-grey-A100")),A(y.Chip,"defaultBorder",k("palette-grey-400")),A(y.Chip,"defaultAvatarColor",k("palette-grey-700")),A(y.Chip,"defaultIconColor",k("palette-grey-700")),A(y.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),A(y.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),A(y.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),A(y.LinearProgress,"primaryBg",me(y.primary.main,.62)),A(y.LinearProgress,"secondaryBg",me(y.secondary.main,.62)),A(y.LinearProgress,"errorBg",me(y.error.main,.62)),A(y.LinearProgress,"infoBg",me(y.info.main,.62)),A(y.LinearProgress,"successBg",me(y.success.main,.62)),A(y.LinearProgress,"warningBg",me(y.warning.main,.62)),A(y.Skeleton,"bg",`rgba(${k("palette-text-primaryChannel")} / 0.11)`),A(y.Slider,"primaryTrack",me(y.primary.main,.62)),A(y.Slider,"secondaryTrack",me(y.secondary.main,.62)),A(y.Slider,"errorTrack",me(y.error.main,.62)),A(y.Slider,"infoTrack",me(y.info.main,.62)),A(y.Slider,"successTrack",me(y.success.main,.62)),A(y.Slider,"warningTrack",me(y.warning.main,.62));const O=sa(y.background.default,.8);A(y.SnackbarContent,"bg",O),A(y.SnackbarContent,"color",gn(()=>y.getContrastText(O))),A(y.SpeedDialAction,"fabHoverBg",sa(y.background.paper,.15)),A(y.StepConnector,"border",k("palette-grey-400")),A(y.StepContent,"border",k("palette-grey-400")),A(y.Switch,"defaultColor",k("palette-common-white")),A(y.Switch,"defaultDisabledColor",k("palette-grey-100")),A(y.Switch,"primaryDisabledColor",me(y.primary.main,.62)),A(y.Switch,"secondaryDisabledColor",me(y.secondary.main,.62)),A(y.Switch,"errorDisabledColor",me(y.error.main,.62)),A(y.Switch,"infoDisabledColor",me(y.info.main,.62)),A(y.Switch,"successDisabledColor",me(y.success.main,.62)),A(y.Switch,"warningDisabledColor",me(y.warning.main,.62)),A(y.TableCell,"border",me(ia(y.divider,1),.88)),A(y.Tooltip,"bg",ia(y.grey[700],.92))}if(y.mode==="dark"){A(y.Alert,"errorColor",me(y.error.light,.6)),A(y.Alert,"infoColor",me(y.info.light,.6)),A(y.Alert,"successColor",me(y.success.light,.6)),A(y.Alert,"warningColor",me(y.warning.light,.6)),A(y.Alert,"errorFilledBg",k("palette-error-dark")),A(y.Alert,"infoFilledBg",k("palette-info-dark")),A(y.Alert,"successFilledBg",k("palette-success-dark")),A(y.Alert,"warningFilledBg",k("palette-warning-dark")),A(y.Alert,"errorFilledColor",gn(()=>y.getContrastText(y.error.dark))),A(y.Alert,"infoFilledColor",gn(()=>y.getContrastText(y.info.dark))),A(y.Alert,"successFilledColor",gn(()=>y.getContrastText(y.success.dark))),A(y.Alert,"warningFilledColor",gn(()=>y.getContrastText(y.warning.dark))),A(y.Alert,"errorStandardBg",he(y.error.light,.9)),A(y.Alert,"infoStandardBg",he(y.info.light,.9)),A(y.Alert,"successStandardBg",he(y.success.light,.9)),A(y.Alert,"warningStandardBg",he(y.warning.light,.9)),A(y.Alert,"errorIconColor",k("palette-error-main")),A(y.Alert,"infoIconColor",k("palette-info-main")),A(y.Alert,"successIconColor",k("palette-success-main")),A(y.Alert,"warningIconColor",k("palette-warning-main")),A(y.AppBar,"defaultBg",k("palette-grey-900")),A(y.AppBar,"darkBg",k("palette-background-paper")),A(y.AppBar,"darkColor",k("palette-text-primary")),A(y.Avatar,"defaultBg",k("palette-grey-600")),A(y.Button,"inheritContainedBg",k("palette-grey-800")),A(y.Button,"inheritContainedHoverBg",k("palette-grey-700")),A(y.Chip,"defaultBorder",k("palette-grey-700")),A(y.Chip,"defaultAvatarColor",k("palette-grey-300")),A(y.Chip,"defaultIconColor",k("palette-grey-300")),A(y.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),A(y.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),A(y.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),A(y.LinearProgress,"primaryBg",he(y.primary.main,.5)),A(y.LinearProgress,"secondaryBg",he(y.secondary.main,.5)),A(y.LinearProgress,"errorBg",he(y.error.main,.5)),A(y.LinearProgress,"infoBg",he(y.info.main,.5)),A(y.LinearProgress,"successBg",he(y.success.main,.5)),A(y.LinearProgress,"warningBg",he(y.warning.main,.5)),A(y.Skeleton,"bg",`rgba(${k("palette-text-primaryChannel")} / 0.13)`),A(y.Slider,"primaryTrack",he(y.primary.main,.5)),A(y.Slider,"secondaryTrack",he(y.secondary.main,.5)),A(y.Slider,"errorTrack",he(y.error.main,.5)),A(y.Slider,"infoTrack",he(y.info.main,.5)),A(y.Slider,"successTrack",he(y.success.main,.5)),A(y.Slider,"warningTrack",he(y.warning.main,.5));const O=sa(y.background.default,.98);A(y.SnackbarContent,"bg",O),A(y.SnackbarContent,"color",gn(()=>y.getContrastText(O))),A(y.SpeedDialAction,"fabHoverBg",sa(y.background.paper,.15)),A(y.StepConnector,"border",k("palette-grey-600")),A(y.StepContent,"border",k("palette-grey-600")),A(y.Switch,"defaultColor",k("palette-grey-300")),A(y.Switch,"defaultDisabledColor",k("palette-grey-600")),A(y.Switch,"primaryDisabledColor",he(y.primary.main,.55)),A(y.Switch,"secondaryDisabledColor",he(y.secondary.main,.55)),A(y.Switch,"errorDisabledColor",he(y.error.main,.55)),A(y.Switch,"infoDisabledColor",he(y.info.main,.55)),A(y.Switch,"successDisabledColor",he(y.success.main,.55)),A(y.Switch,"warningDisabledColor",he(y.warning.main,.55)),A(y.TableCell,"border",he(ia(y.divider,1),.68)),A(y.Tooltip,"bg",ia(y.grey[700],.92))}Mn(y.background,"default"),Mn(y.background,"paper"),Mn(y.common,"background"),Mn(y.common,"onBackground"),Mn(y,"divider"),Object.keys(y).forEach(O=>{const N=y[O];N&&typeof N=="object"&&(N.main&&A(y[O],"mainChannel",Wi(Ki(N.main))),N.light&&A(y[O],"lightChannel",Wi(Ki(N.light))),N.dark&&A(y[O],"darkChannel",Wi(Ki(N.dark))),N.contrastText&&A(y[O],"contrastTextChannel",Wi(Ki(N.contrastText))),O==="text"&&(Mn(y[O],"primary"),Mn(y[O],"secondary")),O==="action"&&(N.active&&Mn(y[O],"active"),N.selected&&Mn(y[O],"selected")))})}),f=t.reduce((P,y)=>ct(P,y),f);const S={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:zb(f)},{vars:C,generateThemeVars:R,generateStyleSheets:T}=fb(f,S);return f.vars=C,Object.entries(f.colorSchemes[f.defaultColorScheme]).forEach(([P,y])=>{f[P]=y}),f.generateThemeVars=R,f.generateStyleSheets=T,f.generateSpacing=function(){return zg(a.spacing,Rd(this))},f.getColorSchemeSelector=pb(l),f.spacing=f.generateSpacing(),f.shouldSkipGeneratingVar=s,f.unstable_sxConfig={...Ui,...a==null?void 0:a.unstable_sxConfig},f.unstable_sx=function(y){return Ro({sx:y,theme:this})},f.toRuntimeSource=Lb,f}function p0(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Dd({...n===!0?{}:n.palette,mode:t})})}function h0(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,l=i||"light",a=o==null?void 0:o[l],u={...o,...n?{[l]:{...typeof a!="boolean"&&a,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return Ud(e,...t);let c=n;"palette"in e||u[l]&&(u[l]!==!0?c=u[l].palette:l==="dark"&&(c={mode:"dark"}));const d=Ud({...e,palette:c},...t);return d.defaultColorScheme=l,d.colorSchemes=u,d.palette.mode==="light"&&(d.colorSchemes.light={...u.light!==!0&&u.light,palette:d.palette},p0(d,"dark",u.dark)),d.palette.mode==="dark"&&(d.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:d.palette},p0(d,"light",u.light)),d}return!n&&!("light"in u)&&l==="light"&&(u.light=!0),Hb({...s,colorSchemes:u,defaultColorScheme:l,...typeof r!="boolean"&&r},...t)}const ua=h0();function Vd(){const e=ea(ua);return e[Ii]||e}function Wb({props:e,name:t}){return Qw({props:e,name:t,defaultTheme:ua,themeId:Ii})}function Kd(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const en=e=>Kd(e)&&e!=="classes",H=Ww({themeId:Ii,defaultTheme:ua,rootShouldForwardProp:en});function Vb(e){return E.jsx(Bw,{...e,defaultTheme:ua,themeId:Ii})}function Kb(e){return function(n){return E.jsx(Vb,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function qb(){return Bg}const m0={theme:void 0};function ye(e){let t,n;return r=>{let o=t;return(o===void 0||r.theme!==n)&&(m0.theme=r.theme,o=e(m0),t=o,n=r.theme),o}}function be(e){return ab(e)}function Gb(e){return fe("MuiSvgIcon",e)}ce("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Qb=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${W(t)}`,`fontSize${W(n)}`]};return ge(o,Gb,r)},Xb=H("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${W(n.color)}`],t[`fontSize${W(n.fontSize)}`]]}})(ye(({theme:e})=>{var t,n,r,o,i,s,l,a,u,c,d,h,x,p;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:v=>!v.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:((a=(l=e.typography)==null?void 0:l.pxToRem)==null?void 0:a.call(l,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(([,v])=>v&&v.main).map(([v])=>{var w,m;return{props:{color:v},style:{color:(m=(w=(e.vars??e).palette)==null?void 0:w[v])==null?void 0:m.main}}}),{props:{color:"action"},style:{color:(h=(d=(e.vars??e).palette)==null?void 0:d.action)==null?void 0:h.active}},{props:{color:"disabled"},style:{color:(p=(x=(e.vars??e).palette)==null?void 0:x.action)==null?void 0:p.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),ca=b.forwardRef(function(t,n){const r=be({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:s="inherit",component:l="svg",fontSize:a="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:d,viewBox:h="0 0 24 24",...x}=r,p=b.isValidElement(o)&&o.type==="svg",v={...r,color:s,component:l,fontSize:a,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:h,hasSvgAsChild:p},w={};c||(w.viewBox=h);const m=Qb(v);return E.jsxs(Xb,{as:l,className:Y(m.root,i),focusable:"false",color:u,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n,...w,...x,...p&&o.props,ownerState:v,children:[p?o.props.children:o,d?E.jsx("title",{children:d}):null]})});ca&&(ca.muiName="SvgIcon");function _n(e,t){function n(r,o){return E.jsx(ca,{"data-testid":`${t}Icon`,ref:o,...r,children:e})}return n.muiName=ca.muiName,b.memo(b.forwardRef(n))}var pe={};/**
|
|
62
|
+
* @license React
|
|
63
|
+
* react-is.production.min.js
|
|
64
|
+
*
|
|
65
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
66
|
+
*
|
|
67
|
+
* This source code is licensed under the MIT license found in the
|
|
68
|
+
* LICENSE file in the root directory of this source tree.
|
|
69
|
+
*/var qd=Symbol.for("react.element"),Gd=Symbol.for("react.portal"),da=Symbol.for("react.fragment"),fa=Symbol.for("react.strict_mode"),pa=Symbol.for("react.profiler"),ha=Symbol.for("react.provider"),ma=Symbol.for("react.context"),Yb=Symbol.for("react.server_context"),ga=Symbol.for("react.forward_ref"),ya=Symbol.for("react.suspense"),va=Symbol.for("react.suspense_list"),xa=Symbol.for("react.memo"),Sa=Symbol.for("react.lazy"),Zb=Symbol.for("react.offscreen"),g0;g0=Symbol.for("react.module.reference");function Wt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case qd:switch(e=e.type,e){case da:case pa:case fa:case ya:case va:return e;default:switch(e=e&&e.$$typeof,e){case Yb:case ma:case ga:case Sa:case xa:case ha:return e;default:return t}}case Gd:return t}}}pe.ContextConsumer=ma,pe.ContextProvider=ha,pe.Element=qd,pe.ForwardRef=ga,pe.Fragment=da,pe.Lazy=Sa,pe.Memo=xa,pe.Portal=Gd,pe.Profiler=pa,pe.StrictMode=fa,pe.Suspense=ya,pe.SuspenseList=va,pe.isAsyncMode=function(){return!1},pe.isConcurrentMode=function(){return!1},pe.isContextConsumer=function(e){return Wt(e)===ma},pe.isContextProvider=function(e){return Wt(e)===ha},pe.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===qd},pe.isForwardRef=function(e){return Wt(e)===ga},pe.isFragment=function(e){return Wt(e)===da},pe.isLazy=function(e){return Wt(e)===Sa},pe.isMemo=function(e){return Wt(e)===xa},pe.isPortal=function(e){return Wt(e)===Gd},pe.isProfiler=function(e){return Wt(e)===pa},pe.isStrictMode=function(e){return Wt(e)===fa},pe.isSuspense=function(e){return Wt(e)===ya},pe.isSuspenseList=function(e){return Wt(e)===va},pe.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===da||e===pa||e===fa||e===ya||e===va||e===Zb||typeof e=="object"&&e!==null&&(e.$$typeof===Sa||e.$$typeof===xa||e.$$typeof===ha||e.$$typeof===ma||e.$$typeof===ga||e.$$typeof===g0||e.getModuleId!==void 0)},pe.typeOf=Wt;function y0(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 Qd(e,t){return Qd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Qd(e,t)}function v0(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Qd(e,t)}const x0={disabled:!1},wa=Kt.createContext(null);var Jb=function(t){return t.scrollTop},qi="unmounted",Or="exited",Ar="entering",Po="entered",Xd="exiting",yn=function(e){v0(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var s=o,l=s&&!s.isMounting?r.enter:r.appear,a;return i.appearStatus=null,r.in?l?(a=Or,i.appearStatus=Ar):a=Po:r.unmountOnExit||r.mountOnEnter?a=qi:a=Or,i.state={status:a},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var s=o.in;return s&&i.status===qi?{status:Or}: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!==Ar&&s!==Po&&(i=Ar):(s===Ar||s===Po)&&(i=Xd)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,s,l;return i=s=l=o,o!=null&&typeof o!="number"&&(i=o.exit,s=o.enter,l=o.appear!==void 0?o.appear:s),{exit:i,enter:s,appear:l}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===Ar){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:Rl.findDOMNode(this);s&&Jb(s)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Or&&this.setState({status:qi})},n.performEnter=function(o){var i=this,s=this.props.enter,l=this.context?this.context.isMounting:o,a=this.props.nodeRef?[l]:[Rl.findDOMNode(this),l],u=a[0],c=a[1],d=this.getTimeouts(),h=l?d.appear:d.enter;if(!o&&!s||x0.disabled){this.safeSetState({status:Po},function(){i.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:Ar},function(){i.props.onEntering(u,c),i.onTransitionEnd(h,function(){i.safeSetState({status:Po},function(){i.props.onEntered(u,c)})})})},n.performExit=function(){var o=this,i=this.props.exit,s=this.getTimeouts(),l=this.props.nodeRef?void 0:Rl.findDOMNode(this);if(!i||x0.disabled){this.safeSetState({status:Or},function(){o.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:Xd},function(){o.props.onExiting(l),o.onTransitionEnd(s.exit,function(){o.safeSetState({status:Or},function(){o.props.onExited(l)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},n.setNextCallback=function(o){var i=this,s=!0;return this.nextCallback=function(l){s&&(s=!1,i.nextCallback=null,o(l))},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:Rl.findDOMNode(this),l=o==null&&!this.props.addEndListener;if(!s||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var a=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],u=a[0],c=a[1];this.props.addEndListener(u,c)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===qi)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 l=y0(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Kt.createElement(wa.Provider,{value:null},typeof s=="function"?s(o,l):Kt.cloneElement(Kt.Children.only(s),l))},t}(Kt.Component);yn.contextType=wa,yn.propTypes={};function $o(){}yn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:$o,onEntering:$o,onEntered:$o,onExit:$o,onExiting:$o,onExited:$o},yn.UNMOUNTED=qi,yn.EXITED=Or,yn.ENTERING=Ar,yn.ENTERED=Po,yn.EXITING=Xd;function eC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yd(e,t){var n=function(i){return t&&b.isValidElement(i)?t(i):i},r=Object.create(null);return e&&b.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function tC(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,l={};for(var a in t){if(r[a])for(s=0;s<r[a].length;s++){var u=r[a][s];l[r[a][s]]=n(u)}l[a]=n(a)}for(s=0;s<o.length;s++)l[o[s]]=n(o[s]);return l}function Ir(e,t,n){return n[t]!=null?n[t]:e.props[t]}function nC(e,t){return Yd(e.children,function(n){return b.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:Ir(n,"appear",e),enter:Ir(n,"enter",e),exit:Ir(n,"exit",e)})})}function rC(e,t,n){var r=Yd(e.children),o=tC(t,r);return Object.keys(o).forEach(function(i){var s=o[i];if(b.isValidElement(s)){var l=i in t,a=i in r,u=t[i],c=b.isValidElement(u)&&!u.props.in;a&&(!l||c)?o[i]=b.cloneElement(s,{onExited:n.bind(null,s),in:!0,exit:Ir(s,"exit",e),enter:Ir(s,"enter",e)}):!a&&l&&!c?o[i]=b.cloneElement(s,{in:!1}):a&&l&&b.isValidElement(u)&&(o[i]=b.cloneElement(s,{onExited:n.bind(null,s),in:u.props.in,exit:Ir(s,"exit",e),enter:Ir(s,"enter",e)}))}}),o}var oC=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},iC={component:"div",childFactory:function(t){return t}},Zd=function(e){v0(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var s=i.handleExited.bind(eC(i));return i.state={contextValue:{isMounting:!0},handleExited:s,firstRender:!0},i}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,i){var s=i.children,l=i.handleExited,a=i.firstRender;return{children:a?nC(o,l):rC(o,s,l),firstRender:!1}},n.handleExited=function(o,i){var s=Yd(this.props.children);o.key in s||(o.props.onExited&&o.props.onExited(i),this.mounted&&this.setState(function(l){var a=Tl({},l.children);return delete a[o.key],{children:a}}))},n.render=function(){var o=this.props,i=o.component,s=o.childFactory,l=y0(o,["component","childFactory"]),a=this.state.contextValue,u=oC(this.state.children).map(s);return delete l.appear,delete l.enter,delete l.exit,i===null?Kt.createElement(wa.Provider,{value:a},u):Kt.createElement(wa.Provider,{value:a},Kt.createElement(i,l,u))},t}(Kt.Component);Zd.propTypes={},Zd.defaultProps=iC;const S0=e=>e.scrollTop;function ba(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 sC(e){return fe("MuiPaper",e)}ce("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 lC=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return ge(i,sC,o)},aC=H("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}`]]}})(ye(({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)"}}]}))),Gi=b.forwardRef(function(t,n){var x;const r=be({props:t,name:"MuiPaper"}),o=Vd(),{className:i,component:s="div",elevation:l=1,square:a=!1,variant:u="elevation",...c}=r,d={...r,component:s,elevation:l,square:a,variant:u},h=lC(d);return E.jsx(aC,{as:s,ownerState:d,className:Y(h.root,i),ref:n,...c,style:{...u==="elevation"&&{"--Paper-shadow":(o.vars||o).shadows[l],...o.vars&&{"--Paper-overlay":(x=o.vars.overlays)==null?void 0:x[l]},...!o.vars&&o.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${mn("#fff",Hd(l))}, ${mn("#fff",Hd(l))})`}},...c.style}})});function tn(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,getSlotOwnerState:s,internalForwardedProps:l,...a}=t,{component:u,slots:c={[e]:void 0},slotProps:d={[e]:void 0},...h}=i,x=c[e]||r,p=n0(d[e],o),{props:{component:v,...w},internalRef:m}=t0({className:n,...a,externalForwardedProps:e==="root"?h:void 0,externalSlotProps:p}),g=tt(m,p==null?void 0:p.ref,t.ref),f=s?s(w):{},S={...o,...f},C=e==="root"?v||u:v,R=Zg(x,{...e==="root"&&!u&&!c[e]&&l,...e!=="root"&&!c[e]&&l,...w,...C&&{as:C},ref:g},S);return Object.keys(f).forEach(T=>{delete R[T]}),[x,R]}class Ca{constructor(){cs(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 Ca}static use(){const t=Qg(Ca.create).current,[n,r]=b.useState(!1);return t.shouldMount=n,t.setShouldMount=r,b.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=cC(),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 uC(){return Ca.use()}function cC(){let e,t;const n=new Promise((r,o)=>{e=r,t=o});return n.resolve=e,n.reject=t,n}function dC(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:s,in:l,onExited:a,timeout:u}=e,[c,d]=b.useState(!1),h=Y(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),x={width:s,height:s,top:-(s/2)+i,left:-(s/2)+o},p=Y(n.child,c&&n.childLeaving,r&&n.childPulsate);return!l&&!c&&d(!0),b.useEffect(()=>{if(!l&&a!=null){const v=setTimeout(a,u);return()=>{clearTimeout(v)}}},[a,l,u]),E.jsx("span",{className:h,style:x,children:E.jsx("span",{className:p})})}const Vt=ce("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Jd=550,fC=80,pC=Bi`
|
|
62
70
|
0% {
|
|
63
71
|
transform: scale(0);
|
|
64
72
|
opacity: 0.1;
|
|
@@ -68,7 +76,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
68
76
|
transform: scale(1);
|
|
69
77
|
opacity: 0.3;
|
|
70
78
|
}
|
|
71
|
-
`,
|
|
79
|
+
`,hC=Bi`
|
|
72
80
|
0% {
|
|
73
81
|
opacity: 1;
|
|
74
82
|
}
|
|
@@ -76,7 +84,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
76
84
|
100% {
|
|
77
85
|
opacity: 0;
|
|
78
86
|
}
|
|
79
|
-
`,
|
|
87
|
+
`,mC=Bi`
|
|
80
88
|
0% {
|
|
81
89
|
transform: scale(1);
|
|
82
90
|
}
|
|
@@ -88,23 +96,23 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
88
96
|
100% {
|
|
89
97
|
transform: scale(1);
|
|
90
98
|
}
|
|
91
|
-
`,
|
|
99
|
+
`,gC=H("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),yC=H(dC,{name:"MuiTouchRipple",slot:"Ripple"})`
|
|
92
100
|
opacity: 0;
|
|
93
101
|
position: absolute;
|
|
94
102
|
|
|
95
|
-
&.${
|
|
103
|
+
&.${Vt.rippleVisible} {
|
|
96
104
|
opacity: 0.3;
|
|
97
105
|
transform: scale(1);
|
|
98
|
-
animation-name: ${
|
|
99
|
-
animation-duration: ${
|
|
106
|
+
animation-name: ${pC};
|
|
107
|
+
animation-duration: ${Jd}ms;
|
|
100
108
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
101
109
|
}
|
|
102
110
|
|
|
103
|
-
&.${
|
|
111
|
+
&.${Vt.ripplePulsate} {
|
|
104
112
|
animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
|
|
105
113
|
}
|
|
106
114
|
|
|
107
|
-
& .${
|
|
115
|
+
& .${Vt.child} {
|
|
108
116
|
opacity: 1;
|
|
109
117
|
display: block;
|
|
110
118
|
width: 100%;
|
|
@@ -113,25 +121,53 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
113
121
|
background-color: currentColor;
|
|
114
122
|
}
|
|
115
123
|
|
|
116
|
-
& .${
|
|
124
|
+
& .${Vt.childLeaving} {
|
|
117
125
|
opacity: 0;
|
|
118
|
-
animation-name: ${
|
|
119
|
-
animation-duration: ${
|
|
126
|
+
animation-name: ${hC};
|
|
127
|
+
animation-duration: ${Jd}ms;
|
|
120
128
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
121
129
|
}
|
|
122
130
|
|
|
123
|
-
& .${
|
|
131
|
+
& .${Vt.childPulsate} {
|
|
124
132
|
position: absolute;
|
|
125
133
|
/* @noflip */
|
|
126
134
|
left: 0px;
|
|
127
135
|
top: 0;
|
|
128
|
-
animation-name: ${
|
|
136
|
+
animation-name: ${mC};
|
|
129
137
|
animation-duration: 2500ms;
|
|
130
138
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
131
139
|
animation-iteration-count: infinite;
|
|
132
140
|
animation-delay: 200ms;
|
|
133
141
|
}
|
|
134
|
-
`,yw=P.forwardRef(function(t,n){const r=zt({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:s,...l}=r,[a,u]=P.useState([]),c=P.useRef(0),f=P.useRef(null);P.useEffect(()=>{f.current&&(f.current(),f.current=null)},[a]);const m=P.useRef(!1),S=Gh(),d=P.useRef(null),v=P.useRef(null),x=P.useCallback(w=>{const{pulsate:k,rippleX:E,rippleY:C,rippleSize:O,cb:y}=w;u(R=>[...R,A.jsx(gw,{classes:{ripple:ge(i.ripple,dt.ripple),rippleVisible:ge(i.rippleVisible,dt.rippleVisible),ripplePulsate:ge(i.ripplePulsate,dt.ripplePulsate),child:ge(i.child,dt.child),childLeaving:ge(i.childLeaving,dt.childLeaving),childPulsate:ge(i.childPulsate,dt.childPulsate)},timeout:hc,pulsate:k,rippleX:E,rippleY:C,rippleSize:O},c.current)]),c.current+=1,f.current=y},[i]),g=P.useCallback((w={},k={},E=()=>{})=>{const{pulsate:C=!1,center:O=o||k.pulsate,fakeElement:y=!1}=k;if((w==null?void 0:w.type)==="mousedown"&&m.current){m.current=!1;return}(w==null?void 0:w.type)==="touchstart"&&(m.current=!0);const R=y?null:v.current,M=R?R.getBoundingClientRect():{width:0,height:0,left:0,top:0};let I,W,D;if(O||w===void 0||w.clientX===0&&w.clientY===0||!w.clientX&&!w.touches)I=Math.round(M.width/2),W=Math.round(M.height/2);else{const{clientX:z,clientY:L}=w.touches&&w.touches.length>0?w.touches[0]:w;I=Math.round(z-M.left),W=Math.round(L-M.top)}if(O)D=Math.sqrt((2*M.width**2+M.height**2)/3),D%2===0&&(D+=1);else{const z=Math.max(Math.abs((R?R.clientWidth:0)-I),I)*2+2,L=Math.max(Math.abs((R?R.clientHeight:0)-W),W)*2+2;D=Math.sqrt(z**2+L**2)}w!=null&&w.touches?d.current===null&&(d.current=()=>{x({pulsate:C,rippleX:I,rippleY:W,rippleSize:D,cb:E})},S.start(fw,()=>{d.current&&(d.current(),d.current=null)})):x({pulsate:C,rippleX:I,rippleY:W,rippleSize:D,cb:E})},[o,x,S]),h=P.useCallback(()=>{g({},{pulsate:!0})},[g]),p=P.useCallback((w,k)=>{if(S.clear(),(w==null?void 0:w.type)==="touchend"&&d.current){d.current(),d.current=null,S.start(0,()=>{p(w,k)});return}d.current=null,u(E=>E.length>0?E.slice(1):E),f.current=k},[S]);return P.useImperativeHandle(n,()=>({pulsate:h,start:g,stop:p}),[h,g,p]),A.jsx(mw,{className:ge(dt.root,i.root,s),ref:v,...l,children:A.jsx(pc,{component:null,exit:!0,children:a})})});function vw(e){return Bt("MuiButtonBase",e)}const Sw=It("MuiButtonBase",["root","disabled","focusVisible"]),ww=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,s=Zt({root:["root",t&&"disabled",n&&"focusVisible"]},vw,o);return n&&r&&(s.root+=` ${r}`),s},xw=ft("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"},[`&.${Sw.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),kw=P.forwardRef(function(t,n){const r=zt({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:s,className:l,component:a="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:f=!1,focusRipple:m=!1,focusVisibleClassName:S,LinkComponent:d="a",onBlur:v,onClick:x,onContextMenu:g,onDragLeave:h,onFocus:p,onFocusVisible:w,onKeyDown:k,onKeyUp:E,onMouseDown:C,onMouseLeave:O,onMouseUp:y,onTouchEnd:R,onTouchMove:M,onTouchStart:I,tabIndex:W=0,TouchRippleProps:D,touchRippleRef:z,type:L,...F}=r,N=P.useRef(null),B=aw(),j=Jt(B.ref,z),[G,ne]=P.useState(!1);u&&G&&ne(!1),P.useImperativeHandle(o,()=>({focusVisible:()=>{ne(!0),N.current.focus()}}),[]);const pt=B.shouldMount&&!c&&!u;P.useEffect(()=>{G&&m&&!c&&B.pulsate()},[c,m,G,B]);function ee(H,r0,SC=f){return Mr(o0=>(r0&&r0(o0),SC||B[H](o0),!0))}const Dt=ee("start",C),ht=ee("stop",g),Rn=ee("stop",h),zc=ee("stop",y),jc=ee("stop",H=>{G&&H.preventDefault(),O&&O(H)}),pl=ee("start",I),Dc=ee("stop",R),tn=ee("stop",M),Dr=ee("stop",H=>{Qh(H.target)||ne(!1),v&&v(H)},!1),hC=Mr(H=>{N.current||(N.current=H.currentTarget),Qh(H.target)&&(ne(!0),w&&w(H)),p&&p(H)}),Fc=()=>{const H=N.current;return a&&a!=="button"&&!(H.tagName==="A"&&H.href)},mC=Mr(H=>{m&&!H.repeat&&G&&H.key===" "&&B.stop(H,()=>{B.start(H)}),H.target===H.currentTarget&&Fc()&&H.key===" "&&H.preventDefault(),k&&k(H),H.target===H.currentTarget&&Fc()&&H.key==="Enter"&&!u&&(H.preventDefault(),x&&x(H))}),gC=Mr(H=>{m&&H.key===" "&&G&&!H.defaultPrevented&&B.stop(H,()=>{B.pulsate(H)}),E&&E(H),x&&H.target===H.currentTarget&&Fc()&&H.key===" "&&!H.defaultPrevented&&x(H)});let hl=a;hl==="button"&&(F.href||F.to)&&(hl=d);const Jo={};hl==="button"?(Jo.type=L===void 0?"button":L,Jo.disabled=u):(!F.href&&!F.to&&(Jo.role="button"),u&&(Jo["aria-disabled"]=u));const yC=Jt(n,N),n0={...r,centerRipple:i,component:a,disabled:u,disableRipple:c,disableTouchRipple:f,focusRipple:m,tabIndex:W,focusVisible:G},vC=ww(n0);return A.jsxs(xw,{as:hl,className:ge(vC.root,l),ownerState:n0,onBlur:Dr,onClick:x,onContextMenu:ht,onFocus:hC,onKeyDown:mC,onKeyUp:gC,onMouseDown:Dt,onMouseLeave:jc,onMouseUp:zc,onDragLeave:Rn,onTouchEnd:Dc,onTouchMove:tn,onTouchStart:pl,ref:yC,tabIndex:u?-1:W,type:L,...Jo,...F,children:[s,pt?A.jsx(yw,{ref:j,center:i,...D}):null]})});function Cw(e){return typeof e.main=="string"}function Ew(e,t=[]){if(!Cw(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function nl(e=[]){return([,t])=>t&&Ew(t,e)}function Tw(e){return Bt("MuiIconButton",e)}const bw=It("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Rw=e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,s={root:["root",n&&"disabled",r!=="default"&&`color${xe(r)}`,o&&`edge${xe(o)}`,`size${xe(i)}`]};return Zt(s,Tw,t)},Pw=ft(kw,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${xe(n.color)}`],n.edge&&t[`edge${xe(n.edge)}`],t[`size${xe(n.size)}`]]}})(Tn(({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})`:Wo(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}}]})),Tn(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(nl()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(nl()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Wo((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)}}],[`&.${bw.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}}))),mc=P.forwardRef(function(t,n){const r=zt({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:s,color:l="default",disabled:a=!1,disableFocusRipple:u=!1,disableRipple:c=!1,size:f="medium",...m}=r,S={...r,edge:o,color:l,disabled:a,disableFocusRipple:u,disableRipple:c,size:f},d=Rw(S);return A.jsx(Pw,{className:ge(d.root,s),centerRipple:!0,focusRipple:!u,disabled:a,disableRipple:c,ref:n,...m,ownerState:S,children:i})});function Ow(e){return Bt("MuiTypography",e)}It("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Aw={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},_w=QS(),Nw=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:s}=e,l={root:["root",i,e.align!=="inherit"&&`align${xe(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return Zt(l,Ow,s)},$w=ft("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${xe(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(Tn(({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(nl()).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${xe(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}}]}})),dm={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},pm=P.forwardRef(function(t,n){const{color:r,...o}=zt({props:t,name:"MuiTypography"}),i=!Aw[r],s=_w({...o,...i&&{color:r}}),{align:l="inherit",className:a,component:u,gutterBottom:c=!1,noWrap:f=!1,paragraph:m=!1,variant:S="body1",variantMapping:d=dm,...v}=s,x={...s,align:l,color:r,className:a,component:u,gutterBottom:c,noWrap:f,paragraph:m,variant:S,variantMapping:d},g=u||(m?"p":d[S]||dm[S])||"span",h=Nw(x);return A.jsx($w,{as:g,ref:n,className:ge(h.root,a),...v,ownerState:x,style:{...l!=="inherit"&&{"--Typography-textAlign":l},...v.style}})});function Mw(e){return Bt("MuiAppBar",e)}It("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const Bw=e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${xe(t)}`,`position${xe(n)}`]};return Zt(o,Mw,r)},hm=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,Iw=ft(Zs,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${xe(n.position)}`],t[`color${xe(n.color)}`]]}})(Tn(({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(nl(["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?hm(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?hm(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"})}}]}))),Lw=P.forwardRef(function(t,n){const r=zt({props:t,name:"MuiAppBar"}),{className:o,color:i="primary",enableColorOnDark:s=!1,position:l="fixed",...a}=r,u={...r,color:i,position:l,enableColorOnDark:s},c=Bw(u);return A.jsx(Iw,{square:!0,component:"header",ownerState:u,elevation:4,className:ge(c.root,o,l==="fixed"&&"mui-fixed"),ref:n,...a})});function zw(e){return typeof e=="function"?e():e}const jw=P.forwardRef(function(t,n){const{children:r,container:o,disablePortal:i=!1}=t,[s,l]=P.useState(null),a=Jt(qs(r),n);if(Qu(()=>{i||l(zw(o)||document.body)},[o,i]),Qu(()=>{if(s&&!i)return ec(n,s),()=>{ec(n,null)}},[n,s,i]),i){if(P.isValidElement(r)){const u={ref:a};return P.cloneElement(r,u)}return A.jsx(P.Fragment,{children:r})}return A.jsx(P.Fragment,{children:s&&Pu.createPortal(r,s)})}),Dw={entering:{opacity:1},entered:{opacity:1}},Fw=P.forwardRef(function(t,n){const r=ac(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:l,easing:a,in:u,onEnter:c,onEntered:f,onEntering:m,onExit:S,onExited:d,onExiting:v,style:x,timeout:g=o,TransitionComponent:h=jt,...p}=t,w=P.useRef(null),k=Jt(w,qs(l),n),E=D=>z=>{if(D){const L=w.current;z===void 0?D(L):D(L,z)}},C=E(m),O=E((D,z)=>{fm(D);const L=Js({style:x,timeout:g,easing:a},{mode:"enter"});D.style.webkitTransition=r.transitions.create("opacity",L),D.style.transition=r.transitions.create("opacity",L),c&&c(D,z)}),y=E(f),R=E(v),M=E(D=>{const z=Js({style:x,timeout:g,easing:a},{mode:"exit"});D.style.webkitTransition=r.transitions.create("opacity",z),D.style.transition=r.transitions.create("opacity",z),S&&S(D)}),I=E(d),W=D=>{i&&i(w.current,D)};return A.jsx(h,{appear:s,in:u,nodeRef:w,onEnter:O,onEntered:y,onEntering:C,onExit:M,onExited:I,onExiting:R,addEndListener:W,timeout:g,...p,children:(D,z)=>P.cloneElement(l,{style:{opacity:0,visibility:D==="exited"&&!u?"hidden":void 0,...Dw[D],...x,...l.props.style},ref:k,...z})})});function Uw(e){return Bt("MuiBackdrop",e)}It("MuiBackdrop",["root","invisible"]);const Hw=e=>{const{classes:t,invisible:n}=e;return Zt({root:["root",n&&"invisible"]},Uw,t)},Ww=ft("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"}}]}),Vw=P.forwardRef(function(t,n){const r=zt({props:t,name:"MuiBackdrop"}),{children:o,className:i,component:s="div",invisible:l=!1,open:a,components:u={},componentsProps:c={},slotProps:f={},slots:m={},TransitionComponent:S,transitionDuration:d,...v}=r,x={...r,component:s,invisible:l},g=Hw(x),h={transition:S,root:u.Root,...m},p={...c,...f},w={slots:h,slotProps:p},[k,E]=el("root",{elementType:Ww,externalForwardedProps:w,className:ge(g.root,i),ownerState:x}),[C,O]=el("transition",{elementType:Fw,externalForwardedProps:w,ownerState:x});return delete O.ownerState,A.jsx(C,{in:a,timeout:d,...v,...O,children:A.jsx(k,{"aria-hidden":!0,...E,classes:g,ref:n,children:o})})});function Kw(e){const t=En(e);return t.body===e?Zu(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Go(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function mm(e){return parseInt(Zu(e).getComputedStyle(e).paddingRight,10)||0}function Gw(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function gm(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,s=>{const l=i.indexOf(s)===-1,a=!Gw(s);l&&a&&Go(s,o)})}function gc(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function Qw(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(Kw(r)){const s=rS(En(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${mm(r)+s}px`;const l=En(r).querySelectorAll(".mui-fixed");[].forEach.call(l,a=>{n.push({value:a.style.paddingRight,property:"padding-right",el:a}),a.style.paddingRight=`${mm(a)+s}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=En(r).body;else{const s=r.parentElement,l=Zu(r);i=(s==null?void 0:s.nodeName)==="HTML"&&l.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:l})=>{i?s.style.setProperty(l,i):s.style.removeProperty(l)})}}function qw(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class Yw{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&&Go(t.modalRef,!1);const o=qw(n);gm(n,t.mount,t.modalRef,o,!0);const i=gc(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=gc(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[r];o.restore||(o.restore=Qw(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=gc(this.containers,s=>s.modals.indexOf(t)!==-1),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(r,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&Go(t.modalRef,n),gm(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&&Go(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const Xw=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Jw(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 Zw(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 ex(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Zw(e))}function tx(e){const t=[],n=[];return Array.from(e.querySelectorAll(Xw)).forEach((r,o)=>{const i=Jw(r);i===-1||!ex(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 nx(){return!0}function rx(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=tx,isEnabled:s=nx,open:l}=e,a=P.useRef(!1),u=P.useRef(null),c=P.useRef(null),f=P.useRef(null),m=P.useRef(null),S=P.useRef(!1),d=P.useRef(null),v=Jt(qs(t),d),x=P.useRef(null);P.useEffect(()=>{!l||!d.current||(S.current=!n)},[n,l]),P.useEffect(()=>{if(!l||!d.current)return;const p=En(d.current);return d.current.contains(p.activeElement)||(d.current.hasAttribute("tabIndex")||d.current.setAttribute("tabIndex","-1"),S.current&&d.current.focus()),()=>{o||(f.current&&f.current.focus&&(a.current=!0,f.current.focus()),f.current=null)}},[l]),P.useEffect(()=>{if(!l||!d.current)return;const p=En(d.current),w=C=>{x.current=C,!(r||!s()||C.key!=="Tab")&&p.activeElement===d.current&&C.shiftKey&&(a.current=!0,c.current&&c.current.focus())},k=()=>{var y,R;const C=d.current;if(C===null)return;if(!p.hasFocus()||!s()||a.current){a.current=!1;return}if(C.contains(p.activeElement)||r&&p.activeElement!==u.current&&p.activeElement!==c.current)return;if(p.activeElement!==m.current)m.current=null;else if(m.current!==null)return;if(!S.current)return;let O=[];if((p.activeElement===u.current||p.activeElement===c.current)&&(O=i(d.current)),O.length>0){const M=!!((y=x.current)!=null&&y.shiftKey&&((R=x.current)==null?void 0:R.key)==="Tab"),I=O[0],W=O[O.length-1];typeof I!="string"&&typeof W!="string"&&(M?W.focus():I.focus())}else C.focus()};p.addEventListener("focusin",k),p.addEventListener("keydown",w,!0);const E=setInterval(()=>{p.activeElement&&p.activeElement.tagName==="BODY"&&k()},50);return()=>{clearInterval(E),p.removeEventListener("focusin",k),p.removeEventListener("keydown",w,!0)}},[n,r,o,s,l,i]);const g=p=>{f.current===null&&(f.current=p.relatedTarget),S.current=!0,m.current=p.target;const w=t.props.onFocus;w&&w(p)},h=p=>{f.current===null&&(f.current=p.relatedTarget),S.current=!0};return A.jsxs(P.Fragment,{children:[A.jsx("div",{tabIndex:l?0:-1,onFocus:h,ref:u,"data-testid":"sentinelStart"}),P.cloneElement(t,{ref:v,onFocus:g}),A.jsx("div",{tabIndex:l?0:-1,onFocus:h,ref:c,"data-testid":"sentinelEnd"})]})}function ox(e){return typeof e=="function"?e():e}function ix(e){return e?e.props.hasOwnProperty("in"):!1}const sx=new Yw;function lx(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=sx,closeAfterTransition:i=!1,onTransitionEnter:s,onTransitionExited:l,children:a,onClose:u,open:c,rootRef:f}=e,m=P.useRef({}),S=P.useRef(null),d=P.useRef(null),v=Jt(d,f),[x,g]=P.useState(!c),h=ix(a);let p=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(p=!1);const w=()=>En(S.current),k=()=>(m.current.modalRef=d.current,m.current.mount=S.current,m.current),E=()=>{o.mount(k(),{disableScrollLock:r}),d.current&&(d.current.scrollTop=0)},C=Mr(()=>{const L=ox(t)||w().body;o.add(k(),L),d.current&&E()}),O=P.useCallback(()=>o.isTopModal(k()),[o]),y=Mr(L=>{S.current=L,L&&(c&&O()?E():d.current&&Go(d.current,p))}),R=P.useCallback(()=>{o.remove(k(),p)},[p,o]);P.useEffect(()=>()=>{R()},[R]),P.useEffect(()=>{c?C():(!h||!i)&&R()},[c,R,h,i,C]);const M=L=>F=>{var N;(N=L.onKeyDown)==null||N.call(L,F),!(F.key!=="Escape"||F.which===229||!O())&&(n||(F.stopPropagation(),u&&u(F,"escapeKeyDown")))},I=L=>F=>{var N;(N=L.onClick)==null||N.call(L,F),F.target===F.currentTarget&&u&&u(F,"backdropClick")};return{getRootProps:(L={})=>{const F=qh(e);delete F.onTransitionEnter,delete F.onTransitionExited;const N={...F,...L};return{role:"presentation",...N,onKeyDown:M(N),ref:v}},getBackdropProps:(L={})=>{const F=L;return{"aria-hidden":!0,...F,onClick:I(F),open:c}},getTransitionProps:()=>{const L=()=>{g(!1),s&&s()},F=()=>{g(!0),l&&l(),i&&R()};return{onEnter:Wh(L,a==null?void 0:a.props.onEnter),onExited:Wh(F,a==null?void 0:a.props.onExited)}},rootRef:v,portalRef:y,isTopModal:O,exited:x,hasTransition:h}}function ax(e){return Bt("MuiModal",e)}It("MuiModal",["root","hidden","backdrop"]);const ux=e=>{const{open:t,exited:n,classes:r}=e;return Zt({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},ax,r)},cx=ft("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(Tn(({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"}}]}))),fx=ft(Vw,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),dx=P.forwardRef(function(t,n){const r=zt({name:"MuiModal",props:t}),{BackdropComponent:o=fx,BackdropProps:i,classes:s,className:l,closeAfterTransition:a=!1,children:u,container:c,component:f,components:m={},componentsProps:S={},disableAutoFocus:d=!1,disableEnforceFocus:v=!1,disableEscapeKeyDown:x=!1,disablePortal:g=!1,disableRestoreFocus:h=!1,disableScrollLock:p=!1,hideBackdrop:w=!1,keepMounted:k=!1,onBackdropClick:E,onClose:C,onTransitionEnter:O,onTransitionExited:y,open:R,slotProps:M={},slots:I={},theme:W,...D}=r,z={...r,closeAfterTransition:a,disableAutoFocus:d,disableEnforceFocus:v,disableEscapeKeyDown:x,disablePortal:g,disableRestoreFocus:h,disableScrollLock:p,hideBackdrop:w,keepMounted:k},{getRootProps:L,getBackdropProps:F,getTransitionProps:N,portalRef:B,isTopModal:j,exited:G,hasTransition:ne}=lx({...z,rootRef:n}),pt={...z,exited:G},ee=ux(pt),Dt={};if(u.props.tabIndex===void 0&&(Dt.tabIndex="-1"),ne){const{onEnter:tn,onExited:Dr}=N();Dt.onEnter=tn,Dt.onExited=Dr}const ht={slots:{root:m.Root,backdrop:m.Backdrop,...I},slotProps:{...S,...M}},[Rn,zc]=el("root",{elementType:cx,externalForwardedProps:ht,getSlotProps:L,additionalProps:{ref:n,as:f},ownerState:pt,className:ge(l,ee==null?void 0:ee.root,!pt.open&&pt.exited&&(ee==null?void 0:ee.hidden))}),[jc,pl]=el("backdrop",{elementType:o,externalForwardedProps:ht,additionalProps:i,getSlotProps:tn=>F({...tn,onClick:Dr=>{E&&E(Dr),tn!=null&&tn.onClick&&tn.onClick(Dr)}}),className:ge(i==null?void 0:i.className,ee==null?void 0:ee.backdrop),ownerState:pt}),Dc=Jt(i==null?void 0:i.ref,pl.ref);return!k&&!R&&(!ne||G)?null:A.jsx(jw,{ref:B,container:c,disablePortal:g,children:A.jsxs(Rn,{...zc,...D,children:[!w&&o?A.jsx(jc,{...pl,ref:Dc}):null,A.jsx(rx,{disableEnforceFocus:v,disableAutoFocus:d,disableRestoreFocus:h,isEnabled:j,open:R,children:P.cloneElement(u,Dt)})]})})});function yc(e){return`scale(${e}, ${e**2})`}const px={entering:{opacity:1,transform:yc(1)},entered:{opacity:1,transform:"none"}},vc=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Sc=P.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:s,in:l,onEnter:a,onEntered:u,onEntering:c,onExit:f,onExited:m,onExiting:S,style:d,timeout:v="auto",TransitionComponent:x=jt,...g}=t,h=Gh(),p=P.useRef(),w=ac(),k=P.useRef(null),E=Jt(k,qs(i),n),C=z=>L=>{if(z){const F=k.current;L===void 0?z(F):z(F,L)}},O=C(c),y=C((z,L)=>{fm(z);const{duration:F,delay:N,easing:B}=Js({style:d,timeout:v,easing:s},{mode:"enter"});let j;v==="auto"?(j=w.transitions.getAutoHeightDuration(z.clientHeight),p.current=j):j=F,z.style.transition=[w.transitions.create("opacity",{duration:j,delay:N}),w.transitions.create("transform",{duration:vc?j:j*.666,delay:N,easing:B})].join(","),a&&a(z,L)}),R=C(u),M=C(S),I=C(z=>{const{duration:L,delay:F,easing:N}=Js({style:d,timeout:v,easing:s},{mode:"exit"});let B;v==="auto"?(B=w.transitions.getAutoHeightDuration(z.clientHeight),p.current=B):B=L,z.style.transition=[w.transitions.create("opacity",{duration:B,delay:F}),w.transitions.create("transform",{duration:vc?B:B*.666,delay:vc?F:F||B*.333,easing:N})].join(","),z.style.opacity=0,z.style.transform=yc(.75),f&&f(z)}),W=C(m),D=z=>{v==="auto"&&h.start(p.current||0,z),r&&r(k.current,z)};return A.jsx(x,{appear:o,in:l,nodeRef:k,onEnter:y,onEntered:R,onEntering:O,onExit:I,onExited:W,onExiting:M,addEndListener:D,timeout:v==="auto"?null:v,...g,children:(z,L)=>P.cloneElement(i,{style:{opacity:0,transform:yc(.75),visibility:z==="exited"&&!l?"hidden":void 0,...px[z],...d,...i.props.style},ref:E,...L})})});Sc&&(Sc.muiSupportAuto=!0);function hx(e){return Bt("MuiToolbar",e)}It("MuiToolbar",["root","gutters","regular","dense"]);const mx=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Zt({root:["root",!n&&"gutters",r]},hx,t)},gx=ft("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(Tn(({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}]}))),yx=P.forwardRef(function(t,n){const r=zt({props:t,name:"MuiToolbar"}),{className:o,component:i="div",disableGutters:s=!1,variant:l="regular",...a}=r,u={...r,component:i,disableGutters:s,variant:l},c=mx(u);return A.jsx(gx,{as:i,className:ge(c.root,o),ref:n,ownerState:u,...a})}),vx=({onClick:e,configuration:t})=>{const{isAvatarLeft:n,avatarBackgroundColor:r,avatarSrc:o}=t,i={position:"fixed",bottom:"30px",left:n?"30px":"unset",right:n?"unset":"30px",backgroundColor:r,color:"#fff",width:"65px",height:"65px",borderRadius:"50%"};return A.jsx(mc,{onClick:e,style:i,children:o&&A.jsx("img",{src:o,alt:"Avatar",style:{maxWidth:"100%",height:"auto"}})})},Sx=uc(A.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),wx=({onClose:e,configuration:t,fontFamily:n})=>{const{headerBackground:r,isLogo:o,headerLogo:i,headerTitle:s,headerAlignment:l}=t,a={flexGrow:1,fontSize:"22px",fontWeight:"600",textAlign:l||"left",fontFamily:`${n}, "sans-serif"`};return A.jsx(Lw,{position:"static",style:{background:r},children:A.jsxs(yx,{style:{justifyContent:"center",position:"relative"},children:[o?A.jsx("img",{src:i,alt:"",style:{height:"40px",maxWidth:"100%"}}):A.jsx("span",{style:a,children:s}),A.jsx(mc,{color:"inherit",onClick:e,sx:{position:"absolute",top:"50%",transform:"translateY(-50%)",right:"15px"},children:A.jsx(Sx,{})})]})})},xx=({text:e,showAvatar:t,isBot:n,configuration:r,fontFamily:o})=>{const{avatarSrc:i,avatarUserSrc:s,messageBotBubbleBackground:l,messageUserBubbleBackground:a,messageBotBubbleBorderColor:u,messageUserBubbleBorderColor:c,messageBotBubbleColor:f,messageUserBubbleColor:m}=r,S=n?u:c,d=n?f:m,v={display:"flex",alignItems:"flex-end",justifyContent:n?"flex-start":"flex-end",gap:"15px",marginBottom:"10px"},x={padding:"8px 12px",borderRadius:`12px 12px ${n?"12px 0":"0 12px"}`,backgroundColor:n?l:a,alignSelf:n?"flex-start":"flex-end",maxWidth:"calc(100% - 80px)",marginLeft:t||!n?"0":"40px",boxShadow:"unset",transformOrigin:n?"top left":"top right",animation:"scaleIn 0.3s ease-out",border:S||"unset"},g={fontSize:"15px",lineHeight:"20px",fontFamily:`${o}, "sans-serif"`,color:d||"#373737"},h={width:"25px",height:"auto",maxHeight:"36px"};return A.jsxs("div",{style:v,children:[n&&t&&A.jsx("img",{src:i,style:h,alt:"Bot Avatar"}),A.jsx(Zs,{style:x,children:A.jsx(pm,{style:g,children:e})}),!n&&A.jsx("img",{src:s,style:h,alt:"User Avatar"})]})},kx=({text:e,onClick:t,configuration:n,fontFamily:r})=>{const{buttonBubbleColor:o,buttonBubbleBorderColor:i,buttonBubbleBackgroundColor:s}=n,l={border:i?`1px solid ${i}`:"unset",color:o||"#fff",backgroundColor:s||"rgb(33, 124, 211)",outline:"unset",padding:"8px 12px",borderRadius:"20px",cursor:"pointer",fontSize:"16px",fontWeight:400,fontFamily:`${r}, "sans-serif"`,width:"100%",transformOrigin:"left",animation:"scaleIn 0.3s ease-out",marginBottom:"0",lineHeight:"20px"};return A.jsx("button",{onClick:t,style:l,children:e})},Cx=({url:e})=>{const[t,n]=P.useState(!1),r=()=>{n(!0)},o=()=>{n(!1)},i={width:"100%",textAlign:"center",maxWidth:"calc(100% - 80px)",marginBottom:"10px",height:"fit-content",transformOrigin:"top left",animation:"scaleIn 0.3s ease-out"},s={display:"flex",alignItems:"center",justifyContent:"center"},l={marginLeft:"40px",maxWidth:"100%",height:"auto",border:"1px solid #eaeaeaea",cursor:"pointer",boxShadow:" 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.2), 0px 1px 3px 0px rgba(0, 0, 0, 0.2);",borderRadius:"8px 8px 8px 0"},a={maxWidth:"90%",maxHeight:"90%",borderRadius:"12px"};return A.jsxs("div",{style:i,children:[A.jsx("img",{src:e,alt:"Chatbot Image",style:l,onClick:r}),A.jsx(dx,{open:t,onClose:o,style:s,children:A.jsx("img",{src:e,alt:"Preview",style:a})})]})},Ex=({url:e})=>{const t={width:"100%",textAlign:"center",maxWidth:"calc(100% - 80px)",marginLeft:"40px",marginBottom:"10px",height:"fit-content"},n={width:"100%",borderRadius:"12px 12px 12px 0",boxShadow:"0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12)",transformOrigin:"top left",animation:"scaleIn 0.3s ease-out"};return A.jsx("div",{style:t,children:A.jsxs("audio",{controls:!0,style:n,children:[A.jsx("source",{src:e,type:"audio/mpeg"}),"Your browser does not support the audio element."]})})},Tx=({url:e})=>{const t={width:"100%",textAlign:"center",maxWidth:"calc(100% - 80px)",marginLeft:"40px",marginBottom:"10px",height:"fit-content",transformOrigin:"top left",animation:"scaleIn 0.3s ease-out"},o=`https://www.youtube.com/embed/${(i=>{const s=i.match(/(?:https?:\/\/)?(?:www\.)?youtube\.com\/watch\?v=([a-zA-Z0-9_-]{11})|youtu\.be\/([a-zA-Z0-9_-]{11})/);return s?s[1]||s[2]:null})(e)}`;return A.jsx("div",{style:t,children:A.jsx("iframe",{width:"100%",height:"150",src:o,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"YouTube Video Preview",style:{borderRadius:"12px 12px 12px 0",border:"unset",outline:"unset"}})})},bx=uc(A.jsx("path",{d:"M19 9h-4V3H9v6H5l7 7zM5 18v2h14v-2z"}),"GetApp"),Rx=uc(A.jsx("path",{d:"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-8.5 7.5c0 .83-.67 1.5-1.5 1.5H9v2H7.5V7H10c.83 0 1.5.67 1.5 1.5zm5 2c0 .83-.67 1.5-1.5 1.5h-2.5V7H15c.83 0 1.5.67 1.5 1.5zm4-3H19v1h1.5V11H19v2h-1.5V7h3zM9 9.5h1v-1H9zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4zm10 5.5h1v-3h-1z"}),"PictureAsPdf"),Px=({url:e,fileName:t})=>{const n=()=>{const l=document.createElement("a");l.href=e,l.target="_blank",l.download=t,document.body.appendChild(l),l.click(),document.body.removeChild(l)},r={display:"flex",alignItems:"center",justifyContent:"space-between",backgroundColor:"#f5f5f5",padding:"5px 10px",borderRadius:"12px 12px 12px 0",boxShadow:"0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.2), 0px 1px 3px 0px rgba(0, 0, 0, 0.2)",maxWidth:"calc(100% - 100px)",marginLeft:"40px",cursor:"pointer",fontSize:"14px",marginBottom:"10px",height:"fit-content",transformOrigin:"top left",animation:"scaleIn 0.3s ease-out"},o={display:"flex",alignItems:"center",gap:"10px"},i={color:"#d32f2f",fontSize:"24px"},s={color:"#1976d2"};return A.jsxs("div",{style:r,children:[A.jsxs("div",{style:o,children:[A.jsx(Rx,{style:i}),A.jsx("span",{children:t})]}),A.jsx(mc,{onClick:n,style:s,children:A.jsx(bx,{})})]})},Ox=({title:e,onClick:t,configuration:n,fontFamily:r,url:o})=>{const{linkBubbleColor:i,linkBubbleBackgrounColor:s,linkBubbleBorderColor:l}=n,a={border:l?`1px solid ${l}`:"unset",color:i,backgroundColor:s,padding:"8px 14px",borderRadius:"20px",cursor:"pointer",fontSize:"15px",fontWeight:400,flexGrow:1,fontFamily:`${r}, "sans-serif"`,textDecoration:"none",margin:"0 40px",marginBottom:"10px",display:"inline-block",transformOrigin:"top left",animation:"scaleIn 0.3s ease-out"};return A.jsx("a",{href:o,target:"_blank",rel:"noopener noreferrer",onClick:t,style:a,children:e})},Ax=({showAvatar:e,isBot:t,configuration:n})=>{const{avatarSrc:r,messageBotBubbleBackground:o,loadingBubbleColor:i}=n,s={display:"flex",alignItems:"flex-end",justifyContent:"flex-start",gap:"15px",marginBottom:"10px"},l={padding:"8px 12px",borderRadius:"12px 12px 12px 0",backgroundColor:o,alignSelf:"flex-start",maxWidth:"calc(100% - 80px)",boxShadow:"unset",display:"flex",alignItems:"center",maxHeight:"36px!important"},a={width:"25px",height:"auto",maxHeight:"36px"},u=[`${i||"#25D050"}`,`${i||"#75E591"}`,`${i||"#CDFEDE"}`],c=(f,m)=>({display:"inline-block",width:"6px",height:"6px",backgroundColor:m,borderRadius:"50%",animation:"scaleDots 1.5s infinite, scaleIn 0.3s ease-out",animationDelay:f,margin:"0 3px"});return P.useEffect(()=>{const f=document.createElement("style");return f.innerHTML=`
|
|
142
|
+
`,vC=b.forwardRef(function(t,n){const r=be({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:s,...l}=r,[a,u]=b.useState([]),c=b.useRef(0),d=b.useRef(null);b.useEffect(()=>{d.current&&(d.current(),d.current=null)},[a]);const h=b.useRef(!1),x=Xg(),p=b.useRef(null),v=b.useRef(null),w=b.useCallback(S=>{const{pulsate:C,rippleX:R,rippleY:T,rippleSize:P,cb:y}=S;u(k=>[...k,E.jsx(yC,{classes:{ripple:Y(i.ripple,Vt.ripple),rippleVisible:Y(i.rippleVisible,Vt.rippleVisible),ripplePulsate:Y(i.ripplePulsate,Vt.ripplePulsate),child:Y(i.child,Vt.child),childLeaving:Y(i.childLeaving,Vt.childLeaving),childPulsate:Y(i.childPulsate,Vt.childPulsate)},timeout:Jd,pulsate:C,rippleX:R,rippleY:T,rippleSize:P},c.current)]),c.current+=1,d.current=y},[i]),m=b.useCallback((S={},C={},R=()=>{})=>{const{pulsate:T=!1,center:P=o||C.pulsate,fakeElement:y=!1}=C;if((S==null?void 0:S.type)==="mousedown"&&h.current){h.current=!1;return}(S==null?void 0:S.type)==="touchstart"&&(h.current=!0);const k=y?null:v.current,O=k?k.getBoundingClientRect():{width:0,height:0,left:0,top:0};let N,M,z;if(P||S===void 0||S.clientX===0&&S.clientY===0||!S.clientX&&!S.touches)N=Math.round(O.width/2),M=Math.round(O.height/2);else{const{clientX:L,clientY:_}=S.touches&&S.touches.length>0?S.touches[0]:S;N=Math.round(L-O.left),M=Math.round(_-O.top)}if(P)z=Math.sqrt((2*O.width**2+O.height**2)/3),z%2===0&&(z+=1);else{const L=Math.max(Math.abs((k?k.clientWidth:0)-N),N)*2+2,_=Math.max(Math.abs((k?k.clientHeight:0)-M),M)*2+2;z=Math.sqrt(L**2+_**2)}S!=null&&S.touches?p.current===null&&(p.current=()=>{w({pulsate:T,rippleX:N,rippleY:M,rippleSize:z,cb:R})},x.start(fC,()=>{p.current&&(p.current(),p.current=null)})):w({pulsate:T,rippleX:N,rippleY:M,rippleSize:z,cb:R})},[o,w,x]),g=b.useCallback(()=>{m({},{pulsate:!0})},[m]),f=b.useCallback((S,C)=>{if(x.clear(),(S==null?void 0:S.type)==="touchend"&&p.current){p.current(),p.current=null,x.start(0,()=>{f(S,C)});return}p.current=null,u(R=>R.length>0?R.slice(1):R),d.current=C},[x]);return b.useImperativeHandle(n,()=>({pulsate:g,start:m,stop:f}),[g,m,f]),E.jsx(gC,{className:Y(Vt.root,i.root,s),ref:v,...l,children:E.jsx(Zd,{component:null,exit:!0,children:a})})});function xC(e){return fe("MuiButtonBase",e)}const SC=ce("MuiButtonBase",["root","disabled","focusVisible"]),wC=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,s=ge({root:["root",t&&"disabled",n&&"focusVisible"]},xC,o);return n&&r&&(s.root+=` ${r}`),s},bC=H("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"},[`&.${SC.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),w0=b.forwardRef(function(t,n){const r=be({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:s,className:l,component:a="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:d=!1,focusRipple:h=!1,focusVisibleClassName:x,LinkComponent:p="a",onBlur:v,onClick:w,onContextMenu:m,onDragLeave:g,onFocus:f,onFocusVisible:S,onKeyDown:C,onKeyUp:R,onMouseDown:T,onMouseLeave:P,onMouseUp:y,onTouchEnd:k,onTouchMove:O,onTouchStart:N,tabIndex:M=0,TouchRippleProps:z,touchRippleRef:L,type:_,...j}=r,I=b.useRef(null),B=uC(),U=tt(B.ref,L),[Q,te]=b.useState(!1);u&&Q&&te(!1),b.useImperativeHandle(o,()=>({focusVisible:()=>{te(!0),I.current.focus()}}),[]);const ee=B.shouldMount&&!c&&!u;b.useEffect(()=>{Q&&h&&!c&&B.pulsate()},[c,h,Q,B]);function Z(q,rt,ss=d){return To(jn=>(rt&&rt(jn),ss||B[q](jn),!0))}const ve=Z("start",T),xe=Z("stop",m),Be=Z("stop",g),nt=Z("stop",y),Se=Z("stop",q=>{Q&&q.preventDefault(),P&&P(q)}),X=Z("start",N),V=Z("stop",k),K=Z("stop",O),de=Z("stop",q=>{aa(q.target)||te(!1),v&&v(q)},!1),re=To(q=>{I.current||(I.current=q.currentTarget),aa(q.target)&&(te(!0),S&&S(q)),f&&f(q)}),oe=()=>{const q=I.current;return a&&a!=="button"&&!(q.tagName==="A"&&q.href)},qe=To(q=>{h&&!q.repeat&&Q&&q.key===" "&&B.stop(q,()=>{B.start(q)}),q.target===q.currentTarget&&oe()&&q.key===" "&&q.preventDefault(),C&&C(q),q.target===q.currentTarget&&oe()&&q.key==="Enter"&&!u&&(q.preventDefault(),w&&w(q))}),Le=To(q=>{h&&q.key===" "&&Q&&!q.defaultPrevented&&B.stop(q,()=>{B.pulsate(q)}),R&&R(q),w&&q.target===q.currentTarget&&oe()&&q.key===" "&&!q.defaultPrevented&&w(q)});let Ee=a;Ee==="button"&&(j.href||j.to)&&(Ee=p);const Ue={};Ee==="button"?(Ue.type=_===void 0?"button":_,Ue.disabled=u):(!j.href&&!j.to&&(Ue.role="button"),u&&(Ue["aria-disabled"]=u));const bn=tt(n,I),Re={...r,centerRipple:i,component:a,disabled:u,disableRipple:c,disableTouchRipple:d,focusRipple:h,tabIndex:M,focusVisible:Q},Ln=wC(Re);return E.jsxs(bC,{as:Ee,className:Y(Ln.root,l),ownerState:Re,onBlur:de,onClick:w,onContextMenu:xe,onFocus:re,onKeyDown:qe,onKeyUp:Le,onMouseDown:ve,onMouseLeave:Se,onMouseUp:nt,onDragLeave:Be,onTouchEnd:V,onTouchMove:K,onTouchStart:X,ref:bn,tabIndex:u?-1:M,type:_,...Ue,...j,children:[s,ee?E.jsx(vC,{ref:U,center:i,...z}):null]})});function CC(e){return typeof e.main=="string"}function kC(e,t=[]){if(!CC(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function vn(e=[]){return([,t])=>t&&kC(t,e)}function EC(e){return fe("MuiIconButton",e)}const RC=ce("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),TC=e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,s={root:["root",n&&"disabled",r!=="default"&&`color${W(r)}`,o&&`edge${W(o)}`,`size${W(i)}`]};return ge(s,EC,t)},PC=H(w0,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${W(n.color)}`],n.edge&&t[`edge${W(n.edge)}`],t[`size${W(n.size)}`]]}})(ye(({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})`:mn(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}}]})),ye(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(vn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(vn()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:mn((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)}}],[`&.${RC.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}}))),Nr=b.forwardRef(function(t,n){const r=be({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:s,color:l="default",disabled:a=!1,disableFocusRipple:u=!1,disableRipple:c=!1,size:d="medium",...h}=r,x={...r,edge:o,color:l,disabled:a,disableFocusRipple:u,disableRipple:c,size:d},p=TC(x);return E.jsx(PC,{className:Y(p.root,s),centerRipple:!0,focusRipple:!u,disabled:a,disableRipple:c,ref:n,...h,ownerState:x,children:i})});function $C(e){return fe("MuiTypography",e)}ce("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const OC={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},AC=qb(),IC=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:s}=e,l={root:["root",i,e.align!=="inherit"&&`align${W(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return ge(l,$C,s)},NC=H("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${W(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(ye(({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(vn()).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${W(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}}]}})),b0={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},ka=b.forwardRef(function(t,n){const{color:r,...o}=be({props:t,name:"MuiTypography"}),i=!OC[r],s=AC({...o,...i&&{color:r}}),{align:l="inherit",className:a,component:u,gutterBottom:c=!1,noWrap:d=!1,paragraph:h=!1,variant:x="body1",variantMapping:p=b0,...v}=s,w={...s,align:l,color:r,className:a,component:u,gutterBottom:c,noWrap:d,paragraph:h,variant:x,variantMapping:p},m=u||(h?"p":p[x]||b0[x])||"span",g=IC(w);return E.jsx(NC,{as:m,ref:n,className:Y(g.root,a),...v,ownerState:w,style:{...l!=="inherit"&&{"--Typography-textAlign":l},...v.style}})});function FC(e){return fe("MuiAppBar",e)}ce("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const MC=e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${W(t)}`,`position${W(n)}`]};return ge(o,FC,r)},C0=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,_C=H(Gi,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${W(n.position)}`],t[`color${W(n.color)}`]]}})(ye(({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(vn(["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?C0(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?C0(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"})}}]}))),zC=b.forwardRef(function(t,n){const r=be({props:t,name:"MuiAppBar"}),{className:o,color:i="primary",enableColorOnDark:s=!1,position:l="fixed",...a}=r,u={...r,color:i,position:l,enableColorOnDark:s},c=MC(u);return E.jsx(_C,{square:!0,component:"header",ownerState:u,elevation:4,className:Y(c.root,o,l==="fixed"&&"mui-fixed"),ref:n,...a})});function BC(e){return typeof e=="function"?e():e}const LC=b.forwardRef(function(t,n){const{children:r,container:o,disablePortal:i=!1}=t,[s,l]=b.useState(null),a=tt(Vi(r),n);if(Pr(()=>{i||l(BC(o)||document.body)},[o,i]),Pr(()=>{if(s&&!i)return _d(n,s),()=>{_d(n,null)}},[n,s,i]),i){if(b.isValidElement(r)){const u={ref:a};return b.cloneElement(r,u)}return E.jsx(b.Fragment,{children:r})}return E.jsx(b.Fragment,{children:s&&cd.createPortal(r,s)})});function Ea(e){return parseInt(e,10)||0}const jC={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function DC(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const UC=b.forwardRef(function(t,n){const{onChange:r,maxRows:o,minRows:i=1,style:s,value:l,...a}=t,{current:u}=b.useRef(l!=null),c=b.useRef(null),d=tt(n,c),h=b.useRef(null),x=b.useRef(null),p=b.useCallback(()=>{const m=c.current,f=$r(m).getComputedStyle(m);if(f.width==="0px")return{outerHeightStyle:0,overflowing:!1};const S=x.current;S.style.width=f.width,S.value=m.value||t.placeholder||"x",S.value.slice(-1)===`
|
|
143
|
+
`&&(S.value+=" ");const C=f.boxSizing,R=Ea(f.paddingBottom)+Ea(f.paddingTop),T=Ea(f.borderBottomWidth)+Ea(f.borderTopWidth),P=S.scrollHeight;S.value="x";const y=S.scrollHeight;let k=P;i&&(k=Math.max(Number(i)*y,k)),o&&(k=Math.min(Number(o)*y,k)),k=Math.max(k,y);const O=k+(C==="border-box"?R+T:0),N=Math.abs(k-P)<=1;return{outerHeightStyle:O,overflowing:N}},[o,i,t.placeholder]),v=b.useCallback(()=>{const m=p();if(DC(m))return;const g=m.outerHeightStyle,f=c.current;h.current!==g&&(h.current=g,f.style.height=`${g}px`),f.style.overflow=m.overflowing?"hidden":""},[p]);Pr(()=>{const m=()=>{v()};let g;const f=Vg(m),S=c.current,C=$r(S);C.addEventListener("resize",f);let R;return typeof ResizeObserver<"u"&&(R=new ResizeObserver(m),R.observe(S)),()=>{f.clear(),cancelAnimationFrame(g),C.removeEventListener("resize",f),R&&R.disconnect()}},[p,v]),Pr(()=>{v()});const w=m=>{u||v(),r&&r(m)};return E.jsxs(b.Fragment,{children:[E.jsx("textarea",{value:l,onChange:w,ref:d,rows:i,style:s,...a}),E.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:x,tabIndex:-1,style:{...jC.shadow,...s,paddingTop:0,paddingBottom:0}})]})});function ef(e){return typeof e=="string"}function Oo({props:e,states:t,muiFormControl:n}){return t.reduce((r,o)=>(r[o]=e[o],n&&typeof e[o]>"u"&&(r[o]=n[o]),r),{})}const Ra=b.createContext(void 0);function Fr(){return b.useContext(Ra)}function k0(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Ta(e,t=!1){return e&&(k0(e.value)&&e.value!==""||t&&k0(e.defaultValue)&&e.defaultValue!=="")}function HC(e){return e.startAdornment}function WC(e){return fe("MuiInputBase",e)}const Ao=ce("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var E0;const Pa=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${W(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},$a=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},VC=e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:s,formControl:l,fullWidth:a,hiddenLabel:u,multiline:c,readOnly:d,size:h,startAdornment:x,type:p}=e,v={root:["root",`color${W(n)}`,r&&"disabled",o&&"error",a&&"fullWidth",s&&"focused",l&&"formControl",h&&h!=="medium"&&`size${W(h)}`,c&&"multiline",x&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled",p==="search"&&"inputTypeSearch",c&&"inputMultiline",h==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",x&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]};return ge(v,WC,t)},Oa=H("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Pa})(ye(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Ao.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:n})=>t.multiline&&n==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),Aa=H("input",{name:"MuiInputBase",slot:"Input",overridesResolver:$a})(ye(({theme:e})=>{const t=e.palette.mode==="light",n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Ao.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${Ao.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:i})=>!i.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:i})=>i.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),R0=Kb({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),tf=b.forwardRef(function(t,n){const r=be({props:t,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:s,className:l,color:a,components:u={},componentsProps:c={},defaultValue:d,disabled:h,disableInjectingGlobalStyles:x,endAdornment:p,error:v,fullWidth:w=!1,id:m,inputComponent:g="input",inputProps:f={},inputRef:S,margin:C,maxRows:R,minRows:T,multiline:P=!1,name:y,onBlur:k,onChange:O,onClick:N,onFocus:M,onKeyDown:z,onKeyUp:L,placeholder:_,readOnly:j,renderSuffix:I,rows:B,size:U,slotProps:Q={},slots:te={},startAdornment:ee,type:Z="text",value:ve,...xe}=r,Be=f.value!=null?f.value:ve,{current:nt}=b.useRef(Be!=null),Se=b.useRef(),X=b.useCallback(Ae=>{},[]),V=tt(Se,S,f.ref,X),[K,de]=b.useState(!1),re=Fr(),oe=Oo({props:r,muiFormControl:re,states:["color","disabled","error","hiddenLabel","size","required","filled"]});oe.focused=re?re.focused:K,b.useEffect(()=>{!re&&h&&K&&(de(!1),k&&k())},[re,h,K,k]);const qe=re&&re.onFilled,Le=re&&re.onEmpty,Ee=b.useCallback(Ae=>{Ta(Ae)?qe&&qe():Le&&Le()},[qe,Le]);Pr(()=>{nt&&Ee({value:Be})},[Be,Ee,nt]);const Ue=Ae=>{M&&M(Ae),f.onFocus&&f.onFocus(Ae),re&&re.onFocus?re.onFocus(Ae):de(!0)},bn=Ae=>{k&&k(Ae),f.onBlur&&f.onBlur(Ae),re&&re.onBlur?re.onBlur(Ae):de(!1)},Re=(Ae,...as)=>{if(!nt){const us=Ae.target||Se.current;if(us==null)throw new Error(Nn(1));Ee({value:us.value})}f.onChange&&f.onChange(Ae,...as),O&&O(Ae,...as)};b.useEffect(()=>{Ee(Se.current)},[]);const Ln=Ae=>{Se.current&&Ae.currentTarget===Ae.target&&Se.current.focus(),N&&N(Ae)};let q=g,rt=f;P&&q==="input"&&(B?rt={type:void 0,minRows:B,maxRows:B,...rt}:rt={type:void 0,maxRows:R,minRows:T,...rt},q=UC);const ss=Ae=>{Ee(Ae.animationName==="mui-auto-fill-cancel"?Se.current:{value:"x"})};b.useEffect(()=>{re&&re.setAdornedStart(!!ee)},[re,ee]);const jn={...r,color:oe.color||"primary",disabled:oe.disabled,endAdornment:p,error:oe.error,focused:oe.focused,formControl:re,fullWidth:w,hiddenLabel:oe.hiddenLabel,multiline:P,size:oe.size,startAdornment:ee,type:Z},jr=VC(jn),ls=te.root||u.Root||Oa,fr=Q.root||c.root||{},Lo=te.input||u.Input||Aa;return rt={...rt,...Q.input??c.input},E.jsxs(b.Fragment,{children:[!x&&typeof R0=="function"&&(E0||(E0=E.jsx(R0,{}))),E.jsxs(ls,{...fr,ref:n,onClick:Ln,...xe,...!ef(ls)&&{ownerState:{...jn,...fr.ownerState}},className:Y(jr.root,fr.className,l,j&&"MuiInputBase-readOnly"),children:[ee,E.jsx(Ra.Provider,{value:null,children:E.jsx(Lo,{"aria-invalid":oe.error,"aria-describedby":o,autoComplete:i,autoFocus:s,defaultValue:d,disabled:oe.disabled,id:m,onAnimationStart:ss,name:y,placeholder:_,readOnly:j,required:oe.required,rows:B,value:Be,onKeyDown:z,onKeyUp:L,type:Z,...rt,...!ef(Lo)&&{as:q,ownerState:{...jn,...rt.ownerState}},ref:V,className:Y(jr.input,rt.className,j&&"MuiInputBase-readOnly"),onBlur:bn,onChange:Re,onFocus:Ue})}),p,I?I({...oe,startAdornment:ee}):null]})]})});function KC(e){return fe("MuiInput",e)}const Qi={...Ao,...ce("MuiInput",["root","underline","input"])};function qC(e){return fe("MuiOutlinedInput",e)}const xn={...Ao,...ce("MuiOutlinedInput",["root","notchedOutline","input"])};function GC(e){return fe("MuiFilledInput",e)}const Mr={...Ao,...ce("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},QC=_n(E.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),XC={entering:{opacity:1},entered:{opacity:1}},YC=b.forwardRef(function(t,n){const r=Vd(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:l,easing:a,in:u,onEnter:c,onEntered:d,onEntering:h,onExit:x,onExited:p,onExiting:v,style:w,timeout:m=o,TransitionComponent:g=yn,...f}=t,S=b.useRef(null),C=tt(S,Vi(l),n),R=z=>L=>{if(z){const _=S.current;L===void 0?z(_):z(_,L)}},T=R(h),P=R((z,L)=>{S0(z);const _=ba({style:w,timeout:m,easing:a},{mode:"enter"});z.style.webkitTransition=r.transitions.create("opacity",_),z.style.transition=r.transitions.create("opacity",_),c&&c(z,L)}),y=R(d),k=R(v),O=R(z=>{const L=ba({style:w,timeout:m,easing:a},{mode:"exit"});z.style.webkitTransition=r.transitions.create("opacity",L),z.style.transition=r.transitions.create("opacity",L),x&&x(z)}),N=R(p),M=z=>{i&&i(S.current,z)};return E.jsx(g,{appear:s,in:u,nodeRef:S,onEnter:P,onEntered:y,onEntering:T,onExit:O,onExited:N,onExiting:k,addEndListener:M,timeout:m,...f,children:(z,L)=>b.cloneElement(l,{style:{opacity:0,visibility:z==="exited"&&!u?"hidden":void 0,...XC[z],...w,...l.props.style},ref:C,...L})})});function ZC(e){return fe("MuiBackdrop",e)}ce("MuiBackdrop",["root","invisible"]);const JC=e=>{const{classes:t,invisible:n}=e;return ge({root:["root",n&&"invisible"]},ZC,t)},ek=H("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"}}]}),tk=b.forwardRef(function(t,n){const r=be({props:t,name:"MuiBackdrop"}),{children:o,className:i,component:s="div",invisible:l=!1,open:a,components:u={},componentsProps:c={},slotProps:d={},slots:h={},TransitionComponent:x,transitionDuration:p,...v}=r,w={...r,component:s,invisible:l},m=JC(w),g={transition:x,root:u.Root,...h},f={...c,...d},S={slots:g,slotProps:f},[C,R]=tn("root",{elementType:ek,externalForwardedProps:S,className:Y(m.root,i),ownerState:w}),[T,P]=tn("transition",{elementType:YC,externalForwardedProps:S,ownerState:w});return delete P.ownerState,E.jsx(T,{in:a,timeout:p,...v,...P,children:E.jsx(C,{"aria-hidden":!0,...R,classes:m,ref:n,children:o})})}),nk=ce("MuiBox",["root"]),rk=h0(),T0=jw({themeId:Ii,defaultTheme:rk,defaultClassName:nk.root,generateClassName:jg.generate});function ok(e){return fe("MuiButton",e)}const Io=ce("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"]),ik=b.createContext({}),sk=b.createContext(void 0),lk=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:s}=e,l={root:["root",i,`${i}${W(t)}`,`size${W(o)}`,`${i}Size${W(o)}`,`color${W(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${W(o)}`],endIcon:["icon","endIcon",`iconSize${W(o)}`]},a=ge(l,ok,s);return{...s,...a}},P0=[{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}}}],ak=H(w0,{shouldForwardProp:e=>en(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${W(n.color)}`],t[`size${W(n.size)}`],t[`${n.variant}Size${W(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(ye(({theme:e})=>{var r,o;const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${Io.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Io.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Io.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${Io.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(vn(["dark","contrastText"])).map(([i])=>({props:{color:i},style:{"--variant-textColor":(e.vars||e).palette[i].main,"--variant-outlinedColor":(e.vars||e).palette[i].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[i].mainChannel} / 0.5)`:mn(e.palette[i].main,.5),"--variant-containedColor":(e.vars||e).palette[i].contrastText,"--variant-containedBg":(e.vars||e).palette[i].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[i].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[i].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:mn(e.palette[i].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[i].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[i].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:mn(e.palette[i].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{"--variant-containedColor":e.vars?e.vars.palette.text.primary:(o=(r=e.palette).getContrastText)==null?void 0:o.call(r,t),"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:mn(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:mn(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Io.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Io.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}})),uk=H("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${W(n.size)}`]]}})({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},...P0]}),ck=H("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${W(n.size)}`]]}})({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},...P0]}),dk=b.forwardRef(function(t,n){const r=b.useContext(ik),o=b.useContext(sk),i=Hi(r,t),s=be({props:i,name:"MuiButton"}),{children:l,color:a="primary",component:u="button",className:c,disabled:d=!1,disableElevation:h=!1,disableFocusRipple:x=!1,endIcon:p,focusVisibleClassName:v,fullWidth:w=!1,size:m="medium",startIcon:g,type:f,variant:S="text",...C}=s,R={...s,color:a,component:u,disabled:d,disableElevation:h,disableFocusRipple:x,fullWidth:w,size:m,type:f,variant:S},T=lk(R),P=g&&E.jsx(uk,{className:T.startIcon,ownerState:R,children:g}),y=p&&E.jsx(ck,{className:T.endIcon,ownerState:R,children:p}),k=o||"";return E.jsxs(ak,{ownerState:R,className:Y(r.className,T.root,c,k),component:u,disabled:d,focusRipple:!x,focusVisibleClassName:Y(T.focusVisible,v),ref:n,type:f,...C,classes:T,children:[P,l,y]})});function fk(e){return fe("MuiCircularProgress",e)}ce("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const ar=44,nf=Bi`
|
|
144
|
+
0% {
|
|
145
|
+
transform: rotate(0deg);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
100% {
|
|
149
|
+
transform: rotate(360deg);
|
|
150
|
+
}
|
|
151
|
+
`,rf=Bi`
|
|
152
|
+
0% {
|
|
153
|
+
stroke-dasharray: 1px, 200px;
|
|
154
|
+
stroke-dashoffset: 0;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
50% {
|
|
158
|
+
stroke-dasharray: 100px, 200px;
|
|
159
|
+
stroke-dashoffset: -15px;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
100% {
|
|
163
|
+
stroke-dasharray: 100px, 200px;
|
|
164
|
+
stroke-dashoffset: -125px;
|
|
165
|
+
}
|
|
166
|
+
`,pk=typeof nf!="string"?bd`
|
|
167
|
+
animation: ${nf} 1.4s linear infinite;
|
|
168
|
+
`:null,hk=typeof rf!="string"?bd`
|
|
169
|
+
animation: ${rf} 1.4s ease-in-out infinite;
|
|
170
|
+
`:null,mk=e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,i={root:["root",n,`color${W(r)}`],svg:["svg"],circle:["circle",`circle${W(n)}`,o&&"circleDisableShrink"]};return ge(i,fk,t)},gk=H("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${W(n.color)}`]]}})(ye(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:pk||{animation:`${nf} 1.4s linear infinite`}},...Object.entries(e.palette).filter(vn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),yk=H("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),vk=H("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${W(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(ye(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:hk||{animation:`${rf} 1.4s ease-in-out infinite`}}]}))),of=b.forwardRef(function(t,n){const r=be({props:t,name:"MuiCircularProgress"}),{className:o,color:i="primary",disableShrink:s=!1,size:l=40,style:a,thickness:u=3.6,value:c=0,variant:d="indeterminate",...h}=r,x={...r,color:i,disableShrink:s,size:l,thickness:u,value:c,variant:d},p=mk(x),v={},w={},m={};if(d==="determinate"){const g=2*Math.PI*((ar-u)/2);v.strokeDasharray=g.toFixed(3),m["aria-valuenow"]=Math.round(c),v.strokeDashoffset=`${((100-c)/100*g).toFixed(3)}px`,w.transform="rotate(-90deg)"}return E.jsx(gk,{className:Y(p.root,o),style:{width:l,height:l,...w,...a},ownerState:x,ref:n,role:"progressbar",...m,...h,children:E.jsx(yk,{className:p.svg,ownerState:x,viewBox:`${ar/2} ${ar/2} ${ar} ${ar}`,children:E.jsx(vk,{className:p.circle,style:v,ownerState:x,cx:ar,cy:ar,r:(ar-u)/2,fill:"none",strokeWidth:u})})})});function xk(e){const t=Ft(e);return t.body===e?$r(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Xi(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function $0(e){return parseInt($r(e).getComputedStyle(e).paddingRight,10)||0}function Sk(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function O0(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,s=>{const l=i.indexOf(s)===-1,a=!Sk(s);l&&a&&Xi(s,o)})}function sf(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function wk(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(xk(r)){const s=Yg(Ft(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${$0(r)+s}px`;const l=Ft(r).querySelectorAll(".mui-fixed");[].forEach.call(l,a=>{n.push({value:a.style.paddingRight,property:"padding-right",el:a}),a.style.paddingRight=`${$0(a)+s}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=Ft(r).body;else{const s=r.parentElement,l=$r(r);i=(s==null?void 0:s.nodeName)==="HTML"&&l.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:l})=>{i?s.style.setProperty(l,i):s.style.removeProperty(l)})}}function bk(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class Ck{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&&Xi(t.modalRef,!1);const o=bk(n);O0(n,t.mount,t.modalRef,o,!0);const i=sf(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=sf(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[r];o.restore||(o.restore=wk(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=sf(this.containers,s=>s.modals.indexOf(t)!==-1),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(r,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&Xi(t.modalRef,n),O0(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&&Xi(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const kk=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Ek(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 Rk(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 Tk(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Rk(e))}function Pk(e){const t=[],n=[];return Array.from(e.querySelectorAll(kk)).forEach((r,o)=>{const i=Ek(r);i===-1||!Tk(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 $k(){return!0}function Ok(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=Pk,isEnabled:s=$k,open:l}=e,a=b.useRef(!1),u=b.useRef(null),c=b.useRef(null),d=b.useRef(null),h=b.useRef(null),x=b.useRef(!1),p=b.useRef(null),v=tt(Vi(t),p),w=b.useRef(null);b.useEffect(()=>{!l||!p.current||(x.current=!n)},[n,l]),b.useEffect(()=>{if(!l||!p.current)return;const f=Ft(p.current);return p.current.contains(f.activeElement)||(p.current.hasAttribute("tabIndex")||p.current.setAttribute("tabIndex","-1"),x.current&&p.current.focus()),()=>{o||(d.current&&d.current.focus&&(a.current=!0,d.current.focus()),d.current=null)}},[l]),b.useEffect(()=>{if(!l||!p.current)return;const f=Ft(p.current),S=T=>{w.current=T,!(r||!s()||T.key!=="Tab")&&f.activeElement===p.current&&T.shiftKey&&(a.current=!0,c.current&&c.current.focus())},C=()=>{var y,k;const T=p.current;if(T===null)return;if(!f.hasFocus()||!s()||a.current){a.current=!1;return}if(T.contains(f.activeElement)||r&&f.activeElement!==u.current&&f.activeElement!==c.current)return;if(f.activeElement!==h.current)h.current=null;else if(h.current!==null)return;if(!x.current)return;let P=[];if((f.activeElement===u.current||f.activeElement===c.current)&&(P=i(p.current)),P.length>0){const O=!!((y=w.current)!=null&&y.shiftKey&&((k=w.current)==null?void 0:k.key)==="Tab"),N=P[0],M=P[P.length-1];typeof N!="string"&&typeof M!="string"&&(O?M.focus():N.focus())}else T.focus()};f.addEventListener("focusin",C),f.addEventListener("keydown",S,!0);const R=setInterval(()=>{f.activeElement&&f.activeElement.tagName==="BODY"&&C()},50);return()=>{clearInterval(R),f.removeEventListener("focusin",C),f.removeEventListener("keydown",S,!0)}},[n,r,o,s,l,i]);const m=f=>{d.current===null&&(d.current=f.relatedTarget),x.current=!0,h.current=f.target;const S=t.props.onFocus;S&&S(f)},g=f=>{d.current===null&&(d.current=f.relatedTarget),x.current=!0};return E.jsxs(b.Fragment,{children:[E.jsx("div",{tabIndex:l?0:-1,onFocus:g,ref:u,"data-testid":"sentinelStart"}),b.cloneElement(t,{ref:v,onFocus:m}),E.jsx("div",{tabIndex:l?0:-1,onFocus:g,ref:c,"data-testid":"sentinelEnd"})]})}function Ak(e){return typeof e=="function"?e():e}function Ik(e){return e?e.props.hasOwnProperty("in"):!1}const Nk=new Ck;function Fk(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=Nk,closeAfterTransition:i=!1,onTransitionEnter:s,onTransitionExited:l,children:a,onClose:u,open:c,rootRef:d}=e,h=b.useRef({}),x=b.useRef(null),p=b.useRef(null),v=tt(p,d),[w,m]=b.useState(!c),g=Ik(a);let f=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(f=!1);const S=()=>Ft(x.current),C=()=>(h.current.modalRef=p.current,h.current.mount=x.current,h.current),R=()=>{o.mount(C(),{disableScrollLock:r}),p.current&&(p.current.scrollTop=0)},T=To(()=>{const _=Ak(t)||S().body;o.add(C(),_),p.current&&R()}),P=b.useCallback(()=>o.isTopModal(C()),[o]),y=To(_=>{x.current=_,_&&(c&&P()?R():p.current&&Xi(p.current,f))}),k=b.useCallback(()=>{o.remove(C(),f)},[f,o]);b.useEffect(()=>()=>{k()},[k]),b.useEffect(()=>{c?T():(!g||!i)&&k()},[c,k,g,i,T]);const O=_=>j=>{var I;(I=_.onKeyDown)==null||I.call(_,j),!(j.key!=="Escape"||j.which===229||!P())&&(n||(j.stopPropagation(),u&&u(j,"escapeKeyDown")))},N=_=>j=>{var I;(I=_.onClick)==null||I.call(_,j),j.target===j.currentTarget&&u&&u(j,"backdropClick")};return{getRootProps:(_={})=>{const j=Jg(e);delete j.onTransitionEnter,delete j.onTransitionExited;const I={...j,..._};return{role:"presentation",...I,onKeyDown:O(I),ref:v}},getBackdropProps:(_={})=>{const j=_;return{"aria-hidden":!0,...j,onClick:N(j),open:c}},getTransitionProps:()=>{const _=()=>{m(!1),s&&s()},j=()=>{m(!0),l&&l(),i&&k()};return{onEnter:Wg(_,a==null?void 0:a.props.onEnter),onExited:Wg(j,a==null?void 0:a.props.onExited)}},rootRef:v,portalRef:y,isTopModal:P,exited:w,hasTransition:g}}function Mk(e){return fe("MuiModal",e)}ce("MuiModal",["root","hidden","backdrop"]);const _k=e=>{const{open:t,exited:n,classes:r}=e;return ge({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},Mk,r)},zk=H("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(ye(({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"}}]}))),Bk=H(tk,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),A0=b.forwardRef(function(t,n){const r=be({name:"MuiModal",props:t}),{BackdropComponent:o=Bk,BackdropProps:i,classes:s,className:l,closeAfterTransition:a=!1,children:u,container:c,component:d,components:h={},componentsProps:x={},disableAutoFocus:p=!1,disableEnforceFocus:v=!1,disableEscapeKeyDown:w=!1,disablePortal:m=!1,disableRestoreFocus:g=!1,disableScrollLock:f=!1,hideBackdrop:S=!1,keepMounted:C=!1,onBackdropClick:R,onClose:T,onTransitionEnter:P,onTransitionExited:y,open:k,slotProps:O={},slots:N={},theme:M,...z}=r,L={...r,closeAfterTransition:a,disableAutoFocus:p,disableEnforceFocus:v,disableEscapeKeyDown:w,disablePortal:m,disableRestoreFocus:g,disableScrollLock:f,hideBackdrop:S,keepMounted:C},{getRootProps:_,getBackdropProps:j,getTransitionProps:I,portalRef:B,isTopModal:U,exited:Q,hasTransition:te}=Fk({...L,rootRef:n}),ee={...L,exited:Q},Z=_k(ee),ve={};if(u.props.tabIndex===void 0&&(ve.tabIndex="-1"),te){const{onEnter:K,onExited:de}=I();ve.onEnter=K,ve.onExited=de}const xe={slots:{root:h.Root,backdrop:h.Backdrop,...N},slotProps:{...x,...O}},[Be,nt]=tn("root",{elementType:zk,externalForwardedProps:xe,getSlotProps:_,additionalProps:{ref:n,as:d},ownerState:ee,className:Y(l,Z==null?void 0:Z.root,!ee.open&&ee.exited&&(Z==null?void 0:Z.hidden))}),[Se,X]=tn("backdrop",{elementType:o,externalForwardedProps:xe,additionalProps:i,getSlotProps:K=>j({...K,onClick:de=>{R&&R(de),K!=null&&K.onClick&&K.onClick(de)}}),className:Y(i==null?void 0:i.className,Z==null?void 0:Z.backdrop),ownerState:ee}),V=tt(i==null?void 0:i.ref,X.ref);return!C&&!k&&(!te||Q)?null:E.jsx(LC,{ref:B,container:c,disablePortal:m,children:E.jsxs(Be,{...nt,...z,children:[!S&&o?E.jsx(Se,{...X,ref:V}):null,E.jsx(Ok,{disableEnforceFocus:v,disableAutoFocus:p,disableRestoreFocus:g,isEnabled:U,open:k,children:b.cloneElement(u,ve)})]})})}),Lk=e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:o,size:i,hiddenLabel:s,multiline:l}=e,a={root:["root",!n&&"underline",r&&"adornedStart",o&&"adornedEnd",i==="small"&&`size${W(i)}`,s&&"hiddenLabel",l&&"multiline"],input:["input"]},u=ge(a,GC,t);return{...t,...u}},jk=H(Oa,{shouldForwardProp:e=>en(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Pa(e,t),!n.disableUnderline&&t.underline]}})(ye(({theme:e})=>{const t=e.palette.mode==="light",n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",o=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",i=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:o,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Mr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Mr.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:i},variants:[{props:({ownerState:s})=>!s.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Mr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Mr.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Mr.disabled}, .${Mr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Mr.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(vn()).map(([s])=>{var l;return{props:{disableUnderline:!1,color:s},style:{"&::after":{borderBottom:`2px solid ${(l=(e.vars||e).palette[s])==null?void 0:l.main}`}}}}),{props:({ownerState:s})=>s.startAdornment,style:{paddingLeft:12}},{props:({ownerState:s})=>s.endAdornment,style:{paddingRight:12}},{props:({ownerState:s})=>s.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:s,size:l})=>s.multiline&&l==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:s})=>s.multiline&&s.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:s})=>s.multiline&&s.hiddenLabel&&s.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),Dk=H(Aa,{name:"MuiFilledInput",slot:"Input",overridesResolver:$a})(ye(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),Ia=b.forwardRef(function(t,n){const r=be({props:t,name:"MuiFilledInput"}),{disableUnderline:o=!1,components:i={},componentsProps:s,fullWidth:l=!1,hiddenLabel:a,inputComponent:u="input",multiline:c=!1,slotProps:d,slots:h={},type:x="text",...p}=r,v={...r,disableUnderline:o,fullWidth:l,inputComponent:u,multiline:c,type:x},w=Lk(r),m={root:{ownerState:v},input:{ownerState:v}},g=d??s?ct(m,d??s):m,f=h.root??i.Root??jk,S=h.input??i.Input??Dk;return E.jsx(tf,{slots:{root:f,input:S},componentsProps:g,fullWidth:l,inputComponent:u,multiline:c,ref:n,type:x,...p,classes:w})});Ia&&(Ia.muiName="Input");function Uk(e){return fe("MuiFormControl",e)}ce("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const Hk=e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root",n!=="none"&&`margin${W(n)}`,r&&"fullWidth"]};return ge(o,Uk,t)},Wk=H("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...t[`margin${W(e.margin)}`],...e.fullWidth&&t.fullWidth})})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),Vk=b.forwardRef(function(t,n){const r=be({props:t,name:"MuiFormControl"}),{children:o,className:i,color:s="primary",component:l="div",disabled:a=!1,error:u=!1,focused:c,fullWidth:d=!1,hiddenLabel:h=!1,margin:x="none",required:p=!1,size:v="medium",variant:w="outlined",...m}=r,g={...r,color:s,component:l,disabled:a,error:u,fullWidth:d,hiddenLabel:h,margin:x,required:p,size:v,variant:w},f=Hk(g),[S,C]=b.useState(()=>{let M=!1;return o&&b.Children.forEach(o,z=>{if(!Md(z,["Input","Select"]))return;const L=Md(z,["Select"])?z.props.input:z;L&&HC(L.props)&&(M=!0)}),M}),[R,T]=b.useState(()=>{let M=!1;return o&&b.Children.forEach(o,z=>{Md(z,["Input","Select"])&&(Ta(z.props,!0)||Ta(z.props.inputProps,!0))&&(M=!0)}),M}),[P,y]=b.useState(!1);a&&P&&y(!1);const k=c!==void 0&&!a?c:P;let O;const N=b.useMemo(()=>({adornedStart:S,setAdornedStart:C,color:s,disabled:a,error:u,filled:R,focused:k,fullWidth:d,hiddenLabel:h,size:v,onBlur:()=>{y(!1)},onEmpty:()=>{T(!1)},onFilled:()=>{T(!0)},onFocus:()=>{y(!0)},registerEffect:O,required:p,variant:w}),[S,s,a,u,R,k,d,h,O,p,v,w]);return E.jsx(Ra.Provider,{value:N,children:E.jsx(Wk,{as:l,ownerState:g,className:Y(f.root,i),ref:n,...m,children:o})})});function Kk(e){return fe("MuiFormHelperText",e)}const I0=ce("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var N0;const qk=e=>{const{classes:t,contained:n,size:r,disabled:o,error:i,filled:s,focused:l,required:a}=e,u={root:["root",o&&"disabled",i&&"error",r&&`size${W(r)}`,n&&"contained",l&&"focused",s&&"filled",a&&"required"]};return ge(u,Kk,t)},Gk=H("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${W(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(ye(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${I0.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${I0.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),Qk=b.forwardRef(function(t,n){const r=be({props:t,name:"MuiFormHelperText"}),{children:o,className:i,component:s="p",disabled:l,error:a,filled:u,focused:c,margin:d,required:h,variant:x,...p}=r,v=Fr(),w=Oo({props:r,muiFormControl:v,states:["variant","size","disabled","error","filled","focused","required"]}),m={...r,component:s,contained:w.variant==="filled"||w.variant==="outlined",variant:w.variant,size:w.size,disabled:w.disabled,error:w.error,filled:w.filled,focused:w.focused,required:w.required};delete m.ownerState;const g=qk(m);return E.jsx(Gk,{as:s,className:Y(g.root,i),ref:n,...p,ownerState:m,children:o===" "?N0||(N0=E.jsx("span",{className:"notranslate",children:""})):o})});function Xk(e){return fe("MuiFormLabel",e)}const Yi=ce("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),Yk=e=>{const{classes:t,color:n,focused:r,disabled:o,error:i,filled:s,required:l}=e,a={root:["root",`color${W(n)}`,o&&"disabled",i&&"error",s&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",i&&"error"]};return ge(a,Xk,t)},Zk=H("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...e.color==="secondary"&&t.colorSecondary,...e.filled&&t.filled})})(ye(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(vn()).map(([t])=>({props:{color:t},style:{[`&.${Yi.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Yi.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Yi.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),Jk=H("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(ye(({theme:e})=>({[`&.${Yi.error}`]:{color:(e.vars||e).palette.error.main}}))),eE=b.forwardRef(function(t,n){const r=be({props:t,name:"MuiFormLabel"}),{children:o,className:i,color:s,component:l="label",disabled:a,error:u,filled:c,focused:d,required:h,...x}=r,p=Fr(),v=Oo({props:r,muiFormControl:p,states:["color","required","focused","disabled","error","filled"]}),w={...r,color:v.color||"primary",component:l,disabled:v.disabled,error:v.error,filled:v.filled,focused:v.focused,required:v.required},m=Yk(w);return E.jsxs(Zk,{as:l,ownerState:w,className:Y(m.root,i),ref:n,...x,children:[o,v.required&&E.jsxs(Jk,{ownerState:w,"aria-hidden":!0,className:m.asterisk,children:[" ","*"]})]})});function lf(e){return`scale(${e}, ${e**2})`}const tE={entering:{opacity:1,transform:lf(1)},entered:{opacity:1,transform:"none"}},af=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Na=b.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:s,in:l,onEnter:a,onEntered:u,onEntering:c,onExit:d,onExited:h,onExiting:x,style:p,timeout:v="auto",TransitionComponent:w=yn,...m}=t,g=Xg(),f=b.useRef(),S=Vd(),C=b.useRef(null),R=tt(C,Vi(i),n),T=L=>_=>{if(L){const j=C.current;_===void 0?L(j):L(j,_)}},P=T(c),y=T((L,_)=>{S0(L);const{duration:j,delay:I,easing:B}=ba({style:p,timeout:v,easing:s},{mode:"enter"});let U;v==="auto"?(U=S.transitions.getAutoHeightDuration(L.clientHeight),f.current=U):U=j,L.style.transition=[S.transitions.create("opacity",{duration:U,delay:I}),S.transitions.create("transform",{duration:af?U:U*.666,delay:I,easing:B})].join(","),a&&a(L,_)}),k=T(u),O=T(x),N=T(L=>{const{duration:_,delay:j,easing:I}=ba({style:p,timeout:v,easing:s},{mode:"exit"});let B;v==="auto"?(B=S.transitions.getAutoHeightDuration(L.clientHeight),f.current=B):B=_,L.style.transition=[S.transitions.create("opacity",{duration:B,delay:j}),S.transitions.create("transform",{duration:af?B:B*.666,delay:af?j:j||B*.333,easing:I})].join(","),L.style.opacity=0,L.style.transform=lf(.75),d&&d(L)}),M=T(h),z=L=>{v==="auto"&&g.start(f.current||0,L),r&&r(C.current,L)};return E.jsx(w,{appear:o,in:l,nodeRef:C,onEnter:y,onEntered:k,onEntering:P,onExit:N,onExited:M,onExiting:O,addEndListener:z,timeout:v==="auto"?null:v,...m,children:(L,_)=>b.cloneElement(i,{style:{opacity:0,transform:lf(.75),visibility:L==="exited"&&!l?"hidden":void 0,...tE[L],...p,...i.props.style},ref:R,..._})})});Na&&(Na.muiSupportAuto=!0);const nE=e=>{const{classes:t,disableUnderline:n}=e,o=ge({root:["root",!n&&"underline"],input:["input"]},KC,t);return{...t,...o}},rE=H(Oa,{shouldForwardProp:e=>en(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Pa(e,t),!n.disableUnderline&&t.underline]}})(ye(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:r})=>!r.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Qi.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Qi.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Qi.disabled}, .${Qi.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Qi.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(vn()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),oE=H(Aa,{name:"MuiInput",slot:"Input",overridesResolver:$a})({}),Fa=b.forwardRef(function(t,n){const r=be({props:t,name:"MuiInput"}),{disableUnderline:o=!1,components:i={},componentsProps:s,fullWidth:l=!1,inputComponent:a="input",multiline:u=!1,slotProps:c,slots:d={},type:h="text",...x}=r,p=nE(r),w={root:{ownerState:{disableUnderline:o}}},m=c??s?ct(c??s,w):w,g=d.root??i.Root??rE,f=d.input??i.Input??oE;return E.jsx(tf,{slots:{root:g,input:f},slotProps:m,fullWidth:l,inputComponent:a,multiline:u,ref:n,type:h,...x,classes:p})});Fa&&(Fa.muiName="Input");function iE(e){return fe("MuiInputAdornment",e)}const F0=ce("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var M0;const sE=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${W(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},lE=e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:i,variant:s}=e,l={root:["root",n&&"disablePointerEvents",o&&`position${W(o)}`,s,r&&"hiddenLabel",i&&`size${W(i)}`]};return ge(l,iE,t)},aE=H("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:sE})(ye(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${F0.positionStart}&:not(.${F0.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),uE=b.forwardRef(function(t,n){const r=be({props:t,name:"MuiInputAdornment"}),{children:o,className:i,component:s="div",disablePointerEvents:l=!1,disableTypography:a=!1,position:u,variant:c,...d}=r,h=Fr()||{};let x=c;c&&h.variant,h&&!x&&(x=h.variant);const p={...r,hiddenLabel:h.hiddenLabel,size:h.size,disablePointerEvents:l,position:u,variant:x},v=lE(p);return E.jsx(Ra.Provider,{value:null,children:E.jsx(aE,{as:s,ownerState:p,className:Y(v.root,i),ref:n,...d,children:typeof o=="string"&&!a?E.jsx(ka,{color:"textSecondary",children:o}):E.jsxs(b.Fragment,{children:[u==="start"?M0||(M0=E.jsx("span",{className:"notranslate",children:""})):null,o]})})})});function cE(e){return fe("MuiInputLabel",e)}ce("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const dE=e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:i,variant:s,required:l}=e,a={root:["root",n&&"formControl",!i&&"animated",o&&"shrink",r&&r!=="normal"&&`size${W(r)}`,s],asterisk:[l&&"asterisk"]},u=ge(a,cE,t);return{...t,...u}},fE=H(eE,{shouldForwardProp:e=>en(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Yi.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(ye(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="filled"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:n,size:r})=>t==="filled"&&n.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="outlined"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),pE=b.forwardRef(function(t,n){const r=be({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,margin:i,shrink:s,variant:l,className:a,...u}=r,c=Fr();let d=s;typeof d>"u"&&c&&(d=c.filled||c.focused||c.adornedStart);const h=Oo({props:r,muiFormControl:c,states:["size","variant","required","focused"]}),x={...r,disableAnimation:o,formControl:c,shrink:d,size:h.size,variant:h.variant,required:h.required,focused:h.focused},p=dE(x);return E.jsx(fE,{"data-shrink":d,ref:n,className:Y(p.root,a),...u,ownerState:x,classes:p})}),hE=b.createContext({});function mE(e){return fe("MuiList",e)}ce("MuiList",["root","padding","dense","subheader"]);const gE=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return ge({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},mE,t)},yE=H("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}}]}),vE=b.forwardRef(function(t,n){const r=be({props:t,name:"MuiList"}),{children:o,className:i,component:s="ul",dense:l=!1,disablePadding:a=!1,subheader:u,...c}=r,d=b.useMemo(()=>({dense:l}),[l]),h={...r,component:s,dense:l,disablePadding:a},x=gE(h);return E.jsx(hE.Provider,{value:d,children:E.jsxs(yE,{as:s,className:Y(x.root,i),ref:n,ownerState:h,...c,children:[u,o]})})});function uf(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function _0(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function z0(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(""))}function Zi(e,t,n,r,o,i){let s=!1,l=o(e,t,t?n:!1);for(;l;){if(l===e.firstChild){if(s)return!1;s=!0}const a=r?!1:l.disabled||l.getAttribute("aria-disabled")==="true";if(!l.hasAttribute("tabindex")||!z0(l,i)||a)l=o(e,l,n);else return l.focus(),!0}return!1}const xE=b.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:s,className:l,disabledItemsFocusable:a=!1,disableListWrap:u=!1,onKeyDown:c,variant:d="selectedMenu",...h}=t,x=b.useRef(null),p=b.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Pr(()=>{o&&x.current.focus()},[o]),b.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(f,{direction:S})=>{const C=!x.current.style.width;if(f.clientHeight<x.current.clientHeight&&C){const R=`${Yg(Ft(f))}px`;x.current.style[S==="rtl"?"paddingLeft":"paddingRight"]=R,x.current.style.width=`calc(100% + ${R})`}return x.current}}),[]);const v=f=>{const S=x.current,C=f.key;if(f.ctrlKey||f.metaKey||f.altKey){c&&c(f);return}const T=Ft(S).activeElement;if(C==="ArrowDown")f.preventDefault(),Zi(S,T,u,a,uf);else if(C==="ArrowUp")f.preventDefault(),Zi(S,T,u,a,_0);else if(C==="Home")f.preventDefault(),Zi(S,null,u,a,uf);else if(C==="End")f.preventDefault(),Zi(S,null,u,a,_0);else if(C.length===1){const P=p.current,y=C.toLowerCase(),k=performance.now();P.keys.length>0&&(k-P.lastTime>500?(P.keys=[],P.repeating=!0,P.previousKeyMatched=!0):P.repeating&&y!==P.keys[0]&&(P.repeating=!1)),P.lastTime=k,P.keys.push(y);const O=T&&!P.repeating&&z0(T,P);P.previousKeyMatched&&(O||Zi(S,T,!1,a,uf,P))?f.preventDefault():P.previousKeyMatched=!1}c&&c(f)},w=tt(x,n);let m=-1;b.Children.forEach(s,(f,S)=>{if(!b.isValidElement(f)){m===S&&(m+=1,m>=s.length&&(m=-1));return}f.props.disabled||(d==="selectedMenu"&&f.props.selected||m===-1)&&(m=S),m===S&&(f.props.disabled||f.props.muiSkipListHighlight||f.type.muiSkipListHighlight)&&(m+=1,m>=s.length&&(m=-1))});const g=b.Children.map(s,(f,S)=>{if(S===m){const C={};return i&&(C.autoFocus=!0),f.props.tabIndex===void 0&&d==="selectedMenu"&&(C.tabIndex=0),b.cloneElement(f,C)}return f});return E.jsx(vE,{role:"menu",ref:w,className:l,onKeyDown:v,tabIndex:o?0:-1,...h,children:g})});function SE(e){return fe("MuiPopover",e)}ce("MuiPopover",["root","paper"]);function B0(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function L0(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function j0(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function cf(e){return typeof e=="function"?e():e}const wE=e=>{const{classes:t}=e;return ge({root:["root"],paper:["paper"]},SE,t)},bE=H(A0,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),D0=H(Gi,{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}),CE=b.forwardRef(function(t,n){const r=be({props:t,name:"MuiPopover"}),{action:o,anchorEl:i,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:a="anchorEl",children:u,className:c,container:d,elevation:h=8,marginThreshold:x=16,open:p,PaperProps:v={},slots:w={},slotProps:m={},transformOrigin:g={vertical:"top",horizontal:"left"},TransitionComponent:f=Na,transitionDuration:S="auto",TransitionProps:{onEntering:C,...R}={},disableScrollLock:T=!1,...P}=r,y=(m==null?void 0:m.paper)??v,k=b.useRef(),O={...r,anchorOrigin:s,anchorReference:a,elevation:h,marginThreshold:x,externalPaperSlotProps:y,transformOrigin:g,TransitionComponent:f,transitionDuration:S,TransitionProps:R},N=wE(O),M=b.useCallback(()=>{if(a==="anchorPosition")return l;const X=cf(i),K=(X&&X.nodeType===1?X:Ft(k.current).body).getBoundingClientRect();return{top:K.top+B0(K,s.vertical),left:K.left+L0(K,s.horizontal)}},[i,s.horizontal,s.vertical,l,a]),z=b.useCallback(X=>({vertical:B0(X,g.vertical),horizontal:L0(X,g.horizontal)}),[g.horizontal,g.vertical]),L=b.useCallback(X=>{const V={width:X.offsetWidth,height:X.offsetHeight},K=z(V);if(a==="none")return{top:null,left:null,transformOrigin:j0(K)};const de=M();let re=de.top-K.vertical,oe=de.left-K.horizontal;const qe=re+V.height,Le=oe+V.width,Ee=$r(cf(i)),Ue=Ee.innerHeight-x,bn=Ee.innerWidth-x;if(x!==null&&re<x){const Re=re-x;re-=Re,K.vertical+=Re}else if(x!==null&&qe>Ue){const Re=qe-Ue;re-=Re,K.vertical+=Re}if(x!==null&&oe<x){const Re=oe-x;oe-=Re,K.horizontal+=Re}else if(Le>bn){const Re=Le-bn;oe-=Re,K.horizontal+=Re}return{top:`${Math.round(re)}px`,left:`${Math.round(oe)}px`,transformOrigin:j0(K)}},[i,a,M,z,x]),[_,j]=b.useState(p),I=b.useCallback(()=>{const X=k.current;if(!X)return;const V=L(X);V.top!==null&&(X.style.top=V.top),V.left!==null&&(X.style.left=V.left),X.style.transformOrigin=V.transformOrigin,j(!0)},[L]);b.useEffect(()=>(T&&window.addEventListener("scroll",I),()=>window.removeEventListener("scroll",I)),[i,T,I]);const B=(X,V)=>{C&&C(X,V),I()},U=()=>{j(!1)};b.useEffect(()=>{p&&I()}),b.useImperativeHandle(o,()=>p?{updatePosition:()=>{I()}}:null,[p,I]),b.useEffect(()=>{if(!p)return;const X=Vg(()=>{I()}),V=$r(i);return V.addEventListener("resize",X),()=>{X.clear(),V.removeEventListener("resize",X)}},[i,p,I]);let Q=S;S==="auto"&&!f.muiSupportAuto&&(Q=void 0);const te=d||(i?Ft(cf(i)).body:void 0),ee={slots:w,slotProps:{...m,paper:y}},[Z,ve]=tn("paper",{elementType:D0,externalForwardedProps:ee,additionalProps:{elevation:h,className:Y(N.paper,y==null?void 0:y.className),style:_?y.style:{...y.style,opacity:0}},ownerState:O}),[xe,{slotProps:Be,...nt}]=tn("root",{elementType:bE,externalForwardedProps:ee,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:te,open:p},ownerState:O,className:Y(N.root,c)}),Se=tt(k,ve.ref);return E.jsx(xe,{...nt,...!ef(xe)&&{slotProps:Be,disableScrollLock:T},...P,ref:n,children:E.jsx(f,{appear:!0,in:p,onEntering:B,onExited:U,timeout:Q,...R,children:E.jsx(Z,{...ve,ref:Se,children:u})})})});function kE(e){return fe("MuiMenu",e)}ce("MuiMenu",["root","paper","list"]);const EE={vertical:"top",horizontal:"right"},RE={vertical:"top",horizontal:"left"},TE=e=>{const{classes:t}=e;return ge({root:["root"],paper:["paper"],list:["list"]},kE,t)},PE=H(CE,{shouldForwardProp:e=>en(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),$E=H(D0,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),OE=H(xE,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),AE=b.forwardRef(function(t,n){const r=be({props:t,name:"MuiMenu"}),{autoFocus:o=!0,children:i,className:s,disableAutoFocusItem:l=!1,MenuListProps:a={},onClose:u,open:c,PaperProps:d={},PopoverClasses:h,transitionDuration:x="auto",TransitionProps:{onEntering:p,...v}={},variant:w="selectedMenu",slots:m={},slotProps:g={},...f}=r,S=o0(),C={...r,autoFocus:o,disableAutoFocusItem:l,MenuListProps:a,onEntering:p,PaperProps:d,transitionDuration:x,TransitionProps:v,variant:w},R=TE(C),T=o&&!l&&c,P=b.useRef(null),y=(_,j)=>{P.current&&P.current.adjustStyleForScrollbar(_,{direction:S?"rtl":"ltr"}),p&&p(_,j)},k=_=>{_.key==="Tab"&&(_.preventDefault(),u&&u(_,"tabKeyDown"))};let O=-1;b.Children.map(i,(_,j)=>{b.isValidElement(_)&&(_.props.disabled||(w==="selectedMenu"&&_.props.selected||O===-1)&&(O=j))});const N=m.paper??$E,M=g.paper??d,z=r0({elementType:m.root,externalSlotProps:g.root,ownerState:C,className:[R.root,s]}),L=r0({elementType:N,externalSlotProps:M,ownerState:C,className:R.paper});return E.jsx(PE,{onClose:u,anchorOrigin:{vertical:"bottom",horizontal:S?"right":"left"},transformOrigin:S?EE:RE,slots:{paper:N,root:m.root},slotProps:{root:z,paper:L},open:c,ref:n,transitionDuration:x,TransitionProps:{onEntering:y,...v},ownerState:C,...f,classes:h,children:E.jsx(OE,{onKeyDown:k,actions:P,autoFocus:o&&(O===-1||l),autoFocusItem:T,variant:w,...a,className:Y(R.list,a.className),children:i})})});function IE(e){return fe("MuiNativeSelect",e)}const df=ce("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),NE=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:s}=e,l={select:["select",n,r&&"disabled",o&&"multiple",s&&"error"],icon:["icon",`icon${W(n)}`,i&&"iconOpen",r&&"disabled"]};return ge(l,IE,t)},U0=H("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${df.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),FE=H(U0,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:en,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${df.multiple}`]:t.multiple}]}})({}),H0=H("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${df.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),ME=H(H0,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${W(n.variant)}`],n.open&&t.iconOpen]}})({}),_E=b.forwardRef(function(t,n){const{className:r,disabled:o,error:i,IconComponent:s,inputRef:l,variant:a="standard",...u}=t,c={...t,disabled:o,variant:a,error:i},d=NE(c);return E.jsxs(b.Fragment,{children:[E.jsx(FE,{ownerState:c,className:Y(d.select,r),disabled:o,ref:l||n,...u}),t.multiple?null:E.jsx(ME,{as:s,ownerState:c,className:d.icon})]})});var W0;const zE=H("fieldset",{shouldForwardProp:en})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),BE=H("legend",{shouldForwardProp:en})(ye(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function LE(e){const{children:t,classes:n,className:r,label:o,notched:i,...s}=e,l=o!=null&&o!=="",a={...e,notched:i,withLabel:l};return E.jsx(zE,{"aria-hidden":!0,className:r,ownerState:a,...s,children:E.jsx(BE,{ownerState:a,children:l?E.jsx("span",{children:o}):W0||(W0=E.jsx("span",{className:"notranslate",children:""}))})})}const jE=e=>{const{classes:t}=e,r=ge({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},qC,t);return{...t,...r}},DE=H(Oa,{shouldForwardProp:e=>en(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Pa})(ye(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${xn.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},[`&.${xn.focused} .${xn.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(vn()).map(([n])=>({props:{color:n},style:{[`&.${xn.focused} .${xn.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{"@media (hover: none)":{[`&:hover .${xn.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${xn.error} .${xn.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${xn.disabled} .${xn.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:14}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:14}},{props:({ownerState:n})=>n.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:n,size:r})=>n.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),UE=H(LE,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(ye(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),HE=H(Aa,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:$a})(ye(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),Ma=b.forwardRef(function(t,n){var r;const o=be({props:t,name:"MuiOutlinedInput"}),{components:i={},fullWidth:s=!1,inputComponent:l="input",label:a,multiline:u=!1,notched:c,slots:d={},type:h="text",...x}=o,p=jE(o),v=Fr(),w=Oo({props:o,muiFormControl:v,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),m={...o,color:w.color||"primary",disabled:w.disabled,error:w.error,focused:w.focused,formControl:v,fullWidth:s,hiddenLabel:w.hiddenLabel,multiline:u,size:w.size,type:h},g=d.root??i.Root??DE,f=d.input??i.Input??HE;return E.jsx(tf,{slots:{root:g,input:f},renderSuffix:S=>E.jsx(UE,{ownerState:m,className:p.notchedOutline,label:a!=null&&a!==""&&w.required?r||(r=E.jsxs(b.Fragment,{children:[a," ","*"]})):a,notched:typeof c<"u"?c:!!(S.startAdornment||S.filled||S.focused)}),fullWidth:s,inputComponent:l,multiline:u,ref:n,type:h,...x,classes:{...p,notchedOutline:null}})});Ma&&(Ma.muiName="Input");const WE=_n(E.jsx("path",{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star"),VE=_n(E.jsx("path",{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarBorder");function KE(e){return fe("MuiRating",e)}const Ji=ce("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]);function qE(e){const t=e.toString().split(".")[1];return t?t.length:0}function ff(e,t){if(e==null)return e;const n=Math.round(e/t)*t;return Number(n.toFixed(qE(t)))}const GE=e=>{const{classes:t,size:n,readOnly:r,disabled:o,emptyValueFocused:i,focusVisible:s}=e,l={root:["root",`size${W(n)}`,o&&"disabled",s&&"focusVisible",r&&"readOnly"],label:["label","pristine"],labelEmptyValue:[i&&"labelEmptyValueActive"],icon:["icon"],iconEmpty:["iconEmpty"],iconFilled:["iconFilled"],iconHover:["iconHover"],iconFocus:["iconFocus"],iconActive:["iconActive"],decimal:["decimal"],visuallyHidden:["visuallyHidden"]};return ge(l,KE,t)},QE=H("span",{name:"MuiRating",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ji.visuallyHidden}`]:t.visuallyHidden},t.root,t[`size${W(n.size)}`],n.readOnly&&t.readOnly]}})(ye(({theme:e})=>({display:"inline-flex",position:"relative",fontSize:e.typography.pxToRem(24),color:"#faaf00",cursor:"pointer",textAlign:"left",width:"min-content",WebkitTapHighlightColor:"transparent",[`&.${Ji.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${Ji.focusVisible} .${Ji.iconActive}`]:{outline:"1px solid #999"},[`& .${Ji.visuallyHidden}`]:rb,variants:[{props:{size:"small"},style:{fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{fontSize:e.typography.pxToRem(30)}},{props:({ownerState:t})=>t.readOnly,style:{pointerEvents:"none"}}]}))),V0=H("label",{name:"MuiRating",slot:"Label",overridesResolver:({ownerState:e},t)=>[t.label,e.emptyValueFocused&&t.labelEmptyValueActive]})({cursor:"inherit",variants:[{props:({ownerState:e})=>e.emptyValueFocused,style:{top:0,bottom:0,position:"absolute",outline:"1px solid #999",width:"100%"}}]}),XE=H("span",{name:"MuiRating",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.iconEmpty&&t.iconEmpty,n.iconFilled&&t.iconFilled,n.iconHover&&t.iconHover,n.iconFocus&&t.iconFocus,n.iconActive&&t.iconActive]}})(ye(({theme:e})=>({display:"flex",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),pointerEvents:"none",variants:[{props:({ownerState:t})=>t.iconActive,style:{transform:"scale(1.2)"}},{props:({ownerState:t})=>t.iconEmpty,style:{color:(e.vars||e).palette.action.disabled}}]}))),YE=H("span",{name:"MuiRating",slot:"Decimal",shouldForwardProp:e=>Kd(e)&&e!=="iconActive",overridesResolver:(e,t)=>{const{iconActive:n}=e;return[t.decimal,n&&t.iconActive]}})({position:"relative",variants:[{props:({iconActive:e})=>e,style:{transform:"scale(1.2)"}}]});function ZE(e){const{value:t,...n}=e;return E.jsx("span",{...n})}function K0(e){const{classes:t,disabled:n,emptyIcon:r,focus:o,getLabelText:i,highlightSelectedOnly:s,hover:l,icon:a,IconContainerComponent:u,isActive:c,itemValue:d,labelProps:h,name:x,onBlur:p,onChange:v,onClick:w,onFocus:m,readOnly:g,ownerState:f,ratingValue:S,ratingValueRounded:C}=e,R=s?d===S:d<=S,T=d<=l,P=d<=o,y=d===C,k=la(),O=E.jsx(XE,{as:u,value:d,className:Y(t.icon,R?t.iconFilled:t.iconEmpty,T&&t.iconHover,P&&t.iconFocus,c&&t.iconActive),ownerState:{...f,iconEmpty:!R,iconFilled:R,iconHover:T,iconFocus:P,iconActive:c},children:r&&!R?r:a});return g?E.jsx("span",{...h,children:O}):E.jsxs(b.Fragment,{children:[E.jsxs(V0,{ownerState:{...f,emptyValueFocused:void 0},htmlFor:k,...h,children:[O,E.jsx("span",{className:t.visuallyHidden,children:i(d)})]}),E.jsx("input",{className:t.visuallyHidden,onFocus:m,onBlur:p,onChange:v,onClick:w,disabled:n,value:d,id:k,type:"radio",name:x,checked:y})]})}const JE=E.jsx(WE,{fontSize:"inherit"}),e2=E.jsx(VE,{fontSize:"inherit"});function t2(e){return`${e||"0"} Star${e!==1?"s":""}`}const n2=b.forwardRef(function(t,n){const r=be({name:"MuiRating",props:t}),{className:o,defaultValue:i=null,disabled:s=!1,emptyIcon:l=e2,emptyLabelText:a="Empty",getLabelText:u=t2,highlightSelectedOnly:c=!1,icon:d=JE,IconContainerComponent:h=ZE,max:x=5,name:p,onChange:v,onChangeActive:w,onMouseLeave:m,onMouseMove:g,precision:f=1,readOnly:S=!1,size:C="medium",value:R,...T}=r,P=la(p),[y,k]=zd({controlled:R,default:i,name:"Rating"}),O=ff(y,f),N=o0(),[{hover:M,focus:z},L]=b.useState({hover:-1,focus:-1});let _=O;M!==-1&&(_=M),z!==-1&&(_=z);const[j,I]=b.useState(!1),B=b.useRef(),U=tt(B,n),Q=V=>{g&&g(V);const K=B.current,{right:de,left:re,width:oe}=K.getBoundingClientRect();let qe;N?qe=(de-V.clientX)/oe:qe=(V.clientX-re)/oe;let Le=ff(x*qe+f/2,f);Le=Ug(Le,f,x),L(Ee=>Ee.hover===Le&&Ee.focus===Le?Ee:{hover:Le,focus:Le}),I(!1),w&&M!==Le&&w(V,Le)},te=V=>{m&&m(V);const K=-1;L({hover:K,focus:K}),w&&M!==K&&w(V,K)},ee=V=>{let K=V.target.value===""?null:parseFloat(V.target.value);M!==-1&&(K=M),k(K),v&&v(V,K)},Z=V=>{V.clientX===0&&V.clientY===0||(L({hover:-1,focus:-1}),k(null),v&&parseFloat(V.target.value)===O&&v(V,null))},ve=V=>{aa(V.target)&&I(!0);const K=parseFloat(V.target.value);L(de=>({hover:de.hover,focus:K}))},xe=V=>{if(M!==-1)return;aa(V.target)||I(!1);const K=-1;L(de=>({hover:de.hover,focus:K}))},[Be,nt]=b.useState(!1),Se={...r,defaultValue:i,disabled:s,emptyIcon:l,emptyLabelText:a,emptyValueFocused:Be,focusVisible:j,getLabelText:u,icon:d,IconContainerComponent:h,max:x,precision:f,readOnly:S,size:C},X=GE(Se);return E.jsxs(QE,{ref:U,onMouseMove:Q,onMouseLeave:te,className:Y(X.root,o,S&&"MuiRating-readOnly"),ownerState:Se,role:S?"img":null,"aria-label":S?u(_):null,...T,children:[Array.from(new Array(x)).map((V,K)=>{const de=K+1,re={classes:X,disabled:s,emptyIcon:l,focus:z,getLabelText:u,highlightSelectedOnly:c,hover:M,icon:d,IconContainerComponent:h,name:P,onBlur:xe,onChange:ee,onClick:Z,onFocus:ve,ratingValue:_,ratingValueRounded:O,readOnly:S,ownerState:Se},oe=de===Math.ceil(_)&&(M!==-1||z!==-1);if(f<1){const qe=Array.from(new Array(1/f));return E.jsx(YE,{className:Y(X.decimal,oe&&X.iconActive),ownerState:Se,iconActive:oe,children:qe.map((Le,Ee)=>{const Ue=ff(de-1+(Ee+1)*f,f);return E.jsx(K0,{...re,isActive:!1,itemValue:Ue,labelProps:{style:qe.length-1===Ee?{}:{width:Ue===_?`${(Ee+1)*f*100}%`:"0%",overflow:"hidden",position:"absolute"}}},Ue)})},de)}return E.jsx(K0,{...re,isActive:oe,itemValue:de},de)}),!S&&!s&&E.jsxs(V0,{className:Y(X.label,X.labelEmptyValue),ownerState:Se,children:[E.jsx("input",{className:X.visuallyHidden,value:"",id:`${P}-empty`,type:"radio",name:P,checked:O==null,onFocus:()=>nt(!0),onBlur:()=>nt(!1),onChange:ee}),E.jsx("span",{className:X.visuallyHidden,children:a})]})]})});function r2(e){return fe("MuiSelect",e)}const es=ce("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var q0;const o2=H(U0,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${es.select}`]:t.select},{[`&.${es.select}`]:t[n.variant]},{[`&.${es.error}`]:t.error},{[`&.${es.multiple}`]:t.multiple}]}})({[`&.${es.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),i2=H(H0,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${W(n.variant)}`],n.open&&t.iconOpen]}})({}),s2=H("input",{shouldForwardProp:e=>Kd(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function G0(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function l2(e){return e==null||typeof e=="string"&&!e.trim()}const a2=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:s}=e,l={select:["select",n,r&&"disabled",o&&"multiple",s&&"error"],icon:["icon",`icon${W(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return ge(l,r2,t)},u2=b.forwardRef(function(t,n){var us;const{"aria-describedby":r,"aria-label":o,autoFocus:i,autoWidth:s,children:l,className:a,defaultOpen:u,defaultValue:c,disabled:d,displayEmpty:h,error:x=!1,IconComponent:p,inputRef:v,labelId:w,MenuProps:m={},multiple:g,name:f,onBlur:S,onChange:C,onClose:R,onFocus:T,onOpen:P,open:y,readOnly:k,renderValue:O,SelectDisplayProps:N={},tabIndex:M,type:z,value:L,variant:_="standard",...j}=t,[I,B]=zd({controlled:L,default:c,name:"Select"}),[U,Q]=zd({controlled:y,default:u,name:"Select"}),te=b.useRef(null),ee=b.useRef(null),[Z,ve]=b.useState(null),{current:xe}=b.useRef(y!=null),[Be,nt]=b.useState(),Se=tt(n,v),X=b.useCallback(G=>{ee.current=G,G&&ve(G)},[]),V=Z==null?void 0:Z.parentNode;b.useImperativeHandle(Se,()=>({focus:()=>{ee.current.focus()},node:te.current,value:I}),[I]),b.useEffect(()=>{u&&U&&Z&&!xe&&(nt(s?null:V.clientWidth),ee.current.focus())},[Z,s]),b.useEffect(()=>{i&&ee.current.focus()},[i]),b.useEffect(()=>{if(!w)return;const G=Ft(ee.current).getElementById(w);if(G){const Te=()=>{getSelection().isCollapsed&&ee.current.focus()};return G.addEventListener("click",Te),()=>{G.removeEventListener("click",Te)}}},[w]);const K=(G,Te)=>{G?P&&P(Te):R&&R(Te),xe||(nt(s?null:V.clientWidth),Q(G))},de=G=>{G.button===0&&(G.preventDefault(),ee.current.focus(),K(!0,G))},re=G=>{K(!1,G)},oe=b.Children.toArray(l),qe=G=>{const Te=oe.find(ot=>ot.props.value===G.target.value);Te!==void 0&&(B(Te.props.value),C&&C(G,Te))},Le=G=>Te=>{let ot;if(Te.currentTarget.hasAttribute("tabindex")){if(g){ot=Array.isArray(I)?I.slice():[];const jo=I.indexOf(G.props.value);jo===-1?ot.push(G.props.value):ot.splice(jo,1)}else ot=G.props.value;if(G.props.onClick&&G.props.onClick(Te),I!==ot&&(B(ot),C)){const jo=Te.nativeEvent||Te,iv=new jo.constructor(jo.type,jo);Object.defineProperty(iv,"target",{writable:!0,value:{value:ot,name:f}}),C(iv,G)}g||K(!1,Te)}},Ee=G=>{k||[" ","ArrowUp","ArrowDown","Enter"].includes(G.key)&&(G.preventDefault(),K(!0,G))},Ue=Z!==null&&U,bn=G=>{!Ue&&S&&(Object.defineProperty(G,"target",{writable:!0,value:{value:I,name:f}}),S(G))};delete j["aria-invalid"];let Re,Ln;const q=[];let rt=!1;(Ta({value:I})||h)&&(O?Re=O(I):rt=!0);const ss=oe.map(G=>{if(!b.isValidElement(G))return null;let Te;if(g){if(!Array.isArray(I))throw new Error(Nn(2));Te=I.some(ot=>G0(ot,G.props.value)),Te&&rt&&q.push(G.props.children)}else Te=G0(I,G.props.value),Te&&rt&&(Ln=G.props.children);return b.cloneElement(G,{"aria-selected":Te?"true":"false",onClick:Le(G),onKeyUp:ot=>{ot.key===" "&&ot.preventDefault(),G.props.onKeyUp&&G.props.onKeyUp(ot)},role:"option",selected:Te,value:void 0,"data-value":G.props.value})});rt&&(g?q.length===0?Re=null:Re=q.reduce((G,Te,ot)=>(G.push(Te),ot<q.length-1&&G.push(", "),G),[]):Re=Ln);let jn=Be;!s&&xe&&Z&&(jn=V.clientWidth);let jr;typeof M<"u"?jr=M:jr=d?null:0;const ls=N.id||(f?`mui-component-select-${f}`:void 0),fr={...t,variant:_,value:I,open:Ue,error:x},Lo=a2(fr),Ae={...m.PaperProps,...(us=m.slotProps)==null?void 0:us.paper},as=la();return E.jsxs(b.Fragment,{children:[E.jsx(o2,{as:"div",ref:X,tabIndex:jr,role:"combobox","aria-controls":as,"aria-disabled":d?"true":void 0,"aria-expanded":Ue?"true":"false","aria-haspopup":"listbox","aria-label":o,"aria-labelledby":[w,ls].filter(Boolean).join(" ")||void 0,"aria-describedby":r,onKeyDown:Ee,onMouseDown:d||k?null:de,onBlur:bn,onFocus:T,...N,ownerState:fr,className:Y(N.className,Lo.select,a),id:ls,children:l2(Re)?q0||(q0=E.jsx("span",{className:"notranslate",children:""})):Re}),E.jsx(s2,{"aria-invalid":x,value:Array.isArray(I)?I.join(","):I,name:f,ref:te,"aria-hidden":!0,onChange:qe,tabIndex:-1,disabled:d,className:Lo.nativeInput,autoFocus:i,...j,ownerState:fr}),E.jsx(i2,{as:p,className:Lo.icon,ownerState:fr}),E.jsx(AE,{id:`menu-${f||""}`,anchorEl:V,open:Ue,onClose:re,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...m,MenuListProps:{"aria-labelledby":w,role:"listbox","aria-multiselectable":g?"true":void 0,disableListWrap:!0,id:as,...m.MenuListProps},slotProps:{...m.slotProps,paper:{...Ae,style:{minWidth:jn,...Ae!=null?Ae.style:null}}},children:ss})]})}),c2=e=>{const{classes:t}=e;return t},pf={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>en(e)&&e!=="variant",slot:"Root"},d2=H(Fa,pf)(""),f2=H(Ma,pf)(""),p2=H(Ia,pf)(""),Q0=b.forwardRef(function(t,n){const r=Wb({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:i,classes:s={},className:l,defaultOpen:a=!1,displayEmpty:u=!1,IconComponent:c=QC,id:d,input:h,inputProps:x,label:p,labelId:v,MenuProps:w,multiple:m=!1,native:g=!1,onClose:f,onOpen:S,open:C,renderValue:R,SelectDisplayProps:T,variant:P="outlined",...y}=r,k=g?_E:u2,O=Fr(),N=Oo({props:r,muiFormControl:O,states:["variant","error"]}),M=N.variant||P,z={...r,variant:M,classes:s},L=c2(z),{root:_,...j}=L,I=h||{standard:E.jsx(d2,{ownerState:z}),outlined:E.jsx(f2,{label:p,ownerState:z}),filled:E.jsx(p2,{ownerState:z})}[M],B=tt(n,Vi(I));return E.jsx(b.Fragment,{children:b.cloneElement(I,{inputComponent:k,inputProps:{children:i,error:N.error,IconComponent:c,variant:M,type:void 0,multiple:m,...g?{id:d}:{autoWidth:o,defaultOpen:a,displayEmpty:u,labelId:v,MenuProps:w,onClose:f,onOpen:S,open:C,renderValue:R,SelectDisplayProps:{id:d,...T}},...x,classes:x?ct(j,x.classes):j,...h?h.props.inputProps:{}},...(m&&g||u)&&M==="outlined"?{notched:!0}:{},ref:B,className:Y(I.props.className,l,L.root),...!h&&{variant:M},...y})})});Q0.muiName="Select";function h2(e){return fe("MuiToolbar",e)}ce("MuiToolbar",["root","gutters","regular","dense"]);const m2=e=>{const{classes:t,disableGutters:n,variant:r}=e;return ge({root:["root",!n&&"gutters",r]},h2,t)},g2=H("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(ye(({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}]}))),y2=b.forwardRef(function(t,n){const r=be({props:t,name:"MuiToolbar"}),{className:o,component:i="div",disableGutters:s=!1,variant:l="regular",...a}=r,u={...r,component:i,disableGutters:s,variant:l},c=m2(u);return E.jsx(g2,{as:i,className:Y(c.root,o),ref:n,ownerState:u,...a})});function v2(e){return fe("MuiTextField",e)}ce("MuiTextField",["root"]);const x2={standard:Fa,filled:Ia,outlined:Ma},S2=e=>{const{classes:t}=e;return ge({root:["root"]},v2,t)},w2=H(Vk,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),X0=b.forwardRef(function(t,n){const r=be({props:t,name:"MuiTextField"}),{autoComplete:o,autoFocus:i=!1,children:s,className:l,color:a="primary",defaultValue:u,disabled:c=!1,error:d=!1,FormHelperTextProps:h,fullWidth:x=!1,helperText:p,id:v,InputLabelProps:w,inputProps:m,InputProps:g,inputRef:f,label:S,maxRows:C,minRows:R,multiline:T=!1,name:P,onBlur:y,onChange:k,onFocus:O,placeholder:N,required:M=!1,rows:z,select:L=!1,SelectProps:_,slots:j={},slotProps:I={},type:B,value:U,variant:Q="outlined",...te}=r,ee={...r,autoFocus:i,color:a,disabled:c,error:d,fullWidth:x,multiline:T,required:M,select:L,variant:Q},Z=S2(ee),ve=la(v),xe=p&&ve?`${ve}-helper-text`:void 0,Be=S&&ve?`${ve}-label`:void 0,nt=x2[Q],Se={slots:j,slotProps:{input:g,inputLabel:w,htmlInput:m,formHelperText:h,select:_,...I}},X={},V=Se.slotProps.inputLabel;Q==="outlined"&&(V&&typeof V.shrink<"u"&&(X.notched=V.shrink),X.label=S),L&&((!_||!_.native)&&(X.id=void 0),X["aria-describedby"]=void 0);const[K,de]=tn("input",{elementType:nt,externalForwardedProps:Se,additionalProps:X,ownerState:ee}),[re,oe]=tn("inputLabel",{elementType:pE,externalForwardedProps:Se,ownerState:ee}),[qe,Le]=tn("htmlInput",{elementType:"input",externalForwardedProps:Se,ownerState:ee}),[Ee,Ue]=tn("formHelperText",{elementType:Qk,externalForwardedProps:Se,ownerState:ee}),[bn,Re]=tn("select",{elementType:Q0,externalForwardedProps:Se,ownerState:ee}),Ln=E.jsx(K,{"aria-describedby":xe,autoComplete:o,autoFocus:i,defaultValue:u,fullWidth:x,multiline:T,name:P,rows:z,maxRows:C,minRows:R,type:B,value:U,id:ve,inputRef:f,onBlur:y,onChange:k,onFocus:O,placeholder:N,inputProps:Le,slots:{input:j.htmlInput?qe:void 0},...de});return E.jsxs(w2,{className:Y(Z.root,l),disabled:c,error:d,fullWidth:x,ref:n,required:M,color:a,variant:Q,ownerState:ee,...te,children:[S!=null&&S!==""&&E.jsx(re,{htmlFor:ve,id:Be,...oe,children:S}),L?E.jsx(bn,{"aria-describedby":xe,id:ve,labelId:Be,value:U,input:Ln,...Re,children:s}):Ln,p&&E.jsx(Ee,{id:xe,...Ue,children:p})]})}),b2=({onClick:e,configuration:t})=>{const{isAvatarLeft:n,avatarBackgroundColor:r,avatarSrc:o}=t,i={position:"fixed",bottom:"30px",left:n?"30px":"unset",right:n?"unset":"30px",backgroundColor:r,color:"#fff",width:"65px",height:"65px",borderRadius:"50%"};return E.jsx(Nr,{onClick:e,style:i,children:o&&E.jsx("img",{src:o,alt:"Avatar",style:{maxWidth:"100%",height:"auto"}})})},C2=_n(E.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),k2=({onClose:e,configuration:t,fontFamily:n})=>{const{headerBackground:r,isLogo:o,headerLogo:i,headerTitle:s,headerAlignment:l}=t,a={flexGrow:1,fontSize:"22px",fontWeight:"600",textAlign:l||"left",fontFamily:`${n}, "sans-serif"`};return E.jsx(zC,{position:"static",style:{background:r},children:E.jsxs(y2,{style:{justifyContent:"center",position:"relative"},children:[o?E.jsx("img",{src:i,alt:"",style:{height:"40px",maxWidth:"100%"}}):E.jsx("span",{style:a,children:s}),E.jsx(Nr,{color:"inherit",onClick:e,sx:{position:"absolute",top:"50%",transform:"translateY(-50%)",right:"15px"},children:E.jsx(C2,{})})]})})},Y0=({text:e,showAvatar:t,isBot:n,configuration:r,fontFamily:o})=>{const{avatarSrc:i,avatarUserSrc:s,messageBotBubbleBackground:l,messageUserBubbleBackground:a,messageBotBubbleBorderColor:u,messageUserBubbleBorderColor:c,messageBotBubbleColor:d,messageUserBubbleColor:h}=r,x=n?u:c,p=n?d:h,v={display:"flex",alignItems:"flex-end",justifyContent:n?"flex-start":"flex-end",gap:"15px",marginBottom:"10px"},w={padding:"8px 12px",borderRadius:`12px 12px ${n?"12px 0":"0 12px"}`,backgroundColor:n?l:a,alignSelf:n?"flex-start":"flex-end",maxWidth:"calc(100% - 104px)",marginLeft:t||!n?"0":"40px",boxShadow:"unset",transformOrigin:n?"top left":"top right",animation:"scaleIn 0.3s ease-out",border:x||"unset"},m={fontSize:"15px",lineHeight:"20px",fontFamily:`${o}, "sans-serif"`,color:p||"#373737"},g={width:"25px",height:"auto",maxHeight:"36px"};return E.jsxs("div",{style:v,children:[n&&t&&E.jsx("img",{src:i,style:g,alt:"Bot Avatar"}),E.jsx(Gi,{style:w,children:E.jsx(ka,{style:m,children:e})}),!n&&E.jsx("img",{src:s,style:g,alt:"User Avatar"})]})},Z0=({text:e,onClick:t,configuration:n,fontFamily:r})=>{const{buttonBubbleColor:o,buttonBubbleBorderColor:i,buttonBubbleBackgroundColor:s}=n,l={border:i?`1px solid ${i}`:"unset",color:o||"#fff",backgroundColor:s||"rgb(33, 124, 211)",outline:"unset",padding:"8px 12px",borderRadius:"20px",cursor:"pointer",fontSize:"16px",fontWeight:400,fontFamily:`${r}, "sans-serif"`,width:"100%",transformOrigin:"left",animation:"scaleIn 0.3s ease-out",marginBottom:"0",lineHeight:"20px"};return E.jsx("button",{onClick:t,style:l,children:e})},E2=({url:e})=>{const[t,n]=b.useState(!1),r=()=>{n(!0)},o=()=>{n(!1)},i={width:"100%",textAlign:"center",maxWidth:"calc(100% - 80px)",marginBottom:"10px",height:"fit-content",transformOrigin:"top left",animation:"scaleIn 0.3s ease-out"},s={display:"flex",alignItems:"center",justifyContent:"center",zIndex:1e4},l={marginLeft:"40px",maxWidth:"100%",height:"auto",border:"1px solid #eaeaeaea",cursor:"pointer",boxShadow:" 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.2), 0px 1px 3px 0px rgba(0, 0, 0, 0.2);",borderRadius:"8px 8px 8px 0"},a={maxWidth:"90%",maxHeight:"90%",borderRadius:"12px"};return E.jsxs("div",{style:i,children:[E.jsx("img",{src:e,alt:"Chatbot Image",style:l,onClick:r}),E.jsx(A0,{open:t,onClose:o,style:s,children:E.jsx("img",{src:e,alt:"Preview",style:a})})]})},R2=({url:e})=>{const t={width:"100%",textAlign:"center",maxWidth:"calc(100% - 80px)",marginLeft:"40px",marginBottom:"10px",height:"fit-content"},n={width:"100%",borderRadius:"12px 12px 12px 0",boxShadow:"0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12)",transformOrigin:"top left",animation:"scaleIn 0.3s ease-out"};return E.jsx("div",{style:t,children:E.jsxs("audio",{controls:!0,style:n,children:[E.jsx("source",{src:e,type:"audio/mpeg"}),"Your browser does not support the audio element."]})})},T2=({url:e})=>{const t={width:"100%",textAlign:"center",maxWidth:"calc(100% - 80px)",marginLeft:"40px",marginBottom:"10px",height:"fit-content",transformOrigin:"top left",animation:"scaleIn 0.3s ease-out"},o=`https://www.youtube.com/embed/${(i=>{const s=i.match(/(?:https?:\/\/)?(?:www\.)?youtube\.com\/watch\?v=([a-zA-Z0-9_-]{11})|youtu\.be\/([a-zA-Z0-9_-]{11})/);return s?s[1]||s[2]:null})(e)}`;return E.jsx("div",{style:t,children:E.jsx("iframe",{width:"100%",height:"150",src:o,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"YouTube Video Preview",style:{borderRadius:"12px 12px 12px 0",border:"unset",outline:"unset"}})})},P2=_n(E.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear"),$2=_n(E.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M14 13v4h-4v-4H7l5-5 5 5z"}),"CloudUpload"),O2=_n(E.jsx("path",{d:"M19 9h-4V3H9v6H5l7 7zM5 18v2h14v-2z"}),"GetApp"),A2=_n(E.jsx("path",{d:"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-8.5 7.5c0 .83-.67 1.5-1.5 1.5H9v2H7.5V7H10c.83 0 1.5.67 1.5 1.5zm5 2c0 .83-.67 1.5-1.5 1.5h-2.5V7H15c.83 0 1.5.67 1.5 1.5zm4-3H19v1h1.5V11H19v2h-1.5V7h3zM9 9.5h1v-1H9zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4zm10 5.5h1v-3h-1z"}),"PictureAsPdf"),hf=_n(E.jsx("path",{d:"M2.01 21 23 12 2.01 3 2 10l15 2-15 2z"}),"Send"),I2=({url:e,fileName:t})=>{const n=()=>{const l=document.createElement("a");l.href=e,l.target="_blank",l.download=t,document.body.appendChild(l),l.click(),document.body.removeChild(l)},r={display:"flex",alignItems:"center",justifyContent:"space-between",backgroundColor:"#f5f5f5",padding:"5px 10px",borderRadius:"12px 12px 12px 0",boxShadow:"0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.2), 0px 1px 3px 0px rgba(0, 0, 0, 0.2)",maxWidth:"calc(100% - 100px)",marginLeft:"40px",cursor:"pointer",fontSize:"14px",marginBottom:"10px",height:"fit-content",transformOrigin:"top left",animation:"scaleIn 0.3s ease-out"},o={display:"flex",alignItems:"center",gap:"10px"},i={color:"#d32f2f",fontSize:"24px"},s={color:"#1976d2"};return E.jsxs("div",{style:r,children:[E.jsxs("div",{style:o,children:[E.jsx(A2,{style:i}),E.jsx("span",{children:t})]}),E.jsx(Nr,{onClick:n,style:s,children:E.jsx(O2,{})})]})},N2=({title:e,onClick:t,configuration:n,fontFamily:r,url:o})=>{const{linkBubbleColor:i,linkBubbleBackgrounColor:s,linkBubbleBorderColor:l}=n,a={border:l?`1px solid ${l}`:"unset",color:i,backgroundColor:s,padding:"8px 14px",borderRadius:"20px",cursor:"pointer",fontSize:"15px",fontWeight:400,flexGrow:1,fontFamily:`${r}, "sans-serif"`,textDecoration:"none",margin:"0 40px",marginBottom:"10px",display:"inline-block",transformOrigin:"top left",animation:"scaleIn 0.3s ease-out"};return E.jsx("a",{href:o,target:"_blank",rel:"noopener noreferrer",onClick:t,style:a,children:e})},F2=({showAvatar:e,isBot:t,configuration:n})=>{const{avatarSrc:r,messageBotBubbleBackground:o,loadingBubbleColor:i}=n,s={display:"flex",alignItems:"flex-end",justifyContent:"flex-start",gap:"15px",marginBottom:"10px"},l={padding:"8px 12px",borderRadius:"12px 12px 12px 0",backgroundColor:o,alignSelf:"flex-start",maxWidth:"calc(100% - 80px)",boxShadow:"unset",display:"flex",alignItems:"center",maxHeight:"36px!important"},a={width:"25px",height:"auto",maxHeight:"36px"},u=[`${i||"#25D050"}`,`${i||"#75E591"}`,`${i||"#CDFEDE"}`],c=(d,h)=>({display:"inline-block",width:"6px",height:"6px",backgroundColor:h,borderRadius:"50%",animation:"scaleDots 1.5s infinite, scaleIn 0.3s ease-out",animationDelay:d,margin:"0 3px"});return b.useEffect(()=>{const d=document.createElement("style");return d.innerHTML=`
|
|
135
171
|
@keyframes scaleDots {
|
|
136
172
|
0%, 100% {
|
|
137
173
|
scale: 1;
|
|
@@ -142,7 +178,15 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
142
178
|
opacity: 1;
|
|
143
179
|
}
|
|
144
180
|
}
|
|
145
|
-
`,document.head.appendChild(f),()=>document.head.removeChild(f)},[]),A.jsxs("div",{style:s,children:[t&&e&&A.jsx("img",{src:r,style:a,alt:"Bot Avatar"}),A.jsx(Zs,{style:l,children:A.jsxs(pm,{children:[A.jsx("span",{style:c("0s",u[0])}),A.jsx("span",{style:c("0.5s",u[1])}),A.jsx("span",{style:c("1s",u[2])})]})})]})},_x=({text:e,onClick:t,configuration:n,fontFamily:r,key:o})=>{const{navigationBubbleColor:i,navigationBubbleBackgroundColor:s,navigationBubbleBorderColor:l}=n,a={color:i||"#373737",border:l?`1px solid ${l}`:"unset",padding:"8px 12px",borderRadius:"20px",outline:"unset",cursor:"pointer",fontSize:"16px",lineHeight:"20px",fontWeight:400,fontFamily:`${r}, "sans-serif"`,width:"100%",transformOrigin:"left",animation:"scaleIn 0.3s ease-out",background:s||"#fff",marginRight:"0"};return A.jsx("button",{style:a,onClick:t,children:e},o)},Nx=(e,t)=>({position:"fixed",bottom:"30px",left:e?"30px":"unset",right:e?"unset":"30px",width:"400px",maxWidth:"100%",height:"550px",borderRadius:"12px",display:"flex",flexDirection:"column",overflow:"hidden",zIndex:1e3,fontFamily:`${t}, "sans-serif"`,transformOrigin:e?"bottom left":"bottom right"}),$x=(e,t,n)=>({position:"relative",padding:"15px 10px",flex:1,flexGrow:"1",overflowY:"scroll",background:e?t:`url(${n}) center repeat`,backgroundSize:"cover"}),Mx={display:"flex",flexWrap:"wrap",margin:"0 40px",gap:"10px",alignItems:"flex-start",flexDirection:"column",marginBottom:"10px"},Bx=`
|
|
181
|
+
`,document.head.appendChild(d),()=>document.head.removeChild(d)},[]),E.jsxs("div",{style:s,children:[t&&e&&E.jsx("img",{src:r,style:a,alt:"Bot Avatar"}),E.jsx(Gi,{style:l,children:E.jsxs(ka,{children:[E.jsx("span",{style:c("0s",u[0])}),E.jsx("span",{style:c("0.5s",u[1])}),E.jsx("span",{style:c("1s",u[2])})]})})]})},M2=({text:e,onClick:t,configuration:n,fontFamily:r,key:o})=>{const{navigationBubbleColor:i,navigationBubbleBackgroundColor:s,navigationBubbleBorderColor:l}=n,a={color:i||"#373737",border:l?`1px solid ${l}`:"unset",padding:"8px 12px",borderRadius:"20px",outline:"unset",cursor:"pointer",fontSize:"16px",lineHeight:"20px",fontWeight:400,fontFamily:`${r}, "sans-serif"`,width:"100%",transformOrigin:"left",animation:"scaleIn 0.3s ease-out",background:s||"#fff",marginRight:"0"};return E.jsx("button",{style:a,onClick:t,children:e},o)};function _r(e){this._maxSize=e,this.clear()}_r.prototype.clear=function(){this._size=0,this._values=Object.create(null)},_r.prototype.get=function(e){return this._values[e]},_r.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var _2=/[^.^\]^[]+|(?=\[\]|\.\.)/g,J0=/^\d+$/,z2=/^\d/,B2=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,L2=/^\s*(['"]?)(.*?)(\1)\s*$/,mf=512,ey=new _r(mf),ty=new _r(mf),ny=new _r(mf),ry={Cache:_r,split:yf,normalizePath:gf,setter:function(e){var t=gf(e);return ty.get(e)||ty.set(e,function(r,o){for(var i=0,s=t.length,l=r;i<s-1;){var a=t[i];if(a==="__proto__"||a==="constructor"||a==="prototype")return r;l=l[t[i++]]}l[t[i]]=o})},getter:function(e,t){var n=gf(e);return ny.get(e)||ny.set(e,function(o){for(var i=0,s=n.length;i<s;)if(o!=null||!t)o=o[n[i++]];else return;return o})},join:function(e){return e.reduce(function(t,n){return t+(vf(n)||J0.test(n)?"["+n+"]":(t?".":"")+n)},"")},forEach:function(e,t,n){j2(Array.isArray(e)?e:yf(e),t,n)}};function gf(e){return ey.get(e)||ey.set(e,yf(e).map(function(t){return t.replace(L2,"$2")}))}function yf(e){return e.match(_2)||[""]}function j2(e,t,n){var r=e.length,o,i,s,l;for(i=0;i<r;i++)o=e[i],o&&(H2(o)&&(o='"'+o+'"'),l=vf(o),s=!l&&/^\d+$/.test(o),t.call(n,o,l,s,i,e))}function vf(e){return typeof e=="string"&&e&&["'",'"'].indexOf(e.charAt(0))!==-1}function D2(e){return e.match(z2)&&!e.match(J0)}function U2(e){return B2.test(e)}function H2(e){return!vf(e)&&(D2(e)||U2(e))}var oy={exports:{}};oy.exports=function(e){return iy(W2(e),e)},oy.exports.array=iy;function iy(e,t){var n=e.length,r=new Array(n),o={},i=n,s=V2(t),l=K2(e);for(t.forEach(function(u){if(!l.has(u[0])||!l.has(u[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});i--;)o[i]||a(e[i],i,new Set);return r;function a(u,c,d){if(d.has(u)){var h;try{h=", node was:"+JSON.stringify(u)}catch{h=""}throw new Error("Cyclic dependency"+h)}if(!l.has(u))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(u));if(!o[c]){o[c]=!0;var x=s.get(u)||new Set;if(x=Array.from(x),c=x.length){d.add(u);do{var p=x[--c];a(p,l.get(p),d)}while(c);d.delete(u)}r[--n]=u}}}function W2(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var o=e[n];t.add(o[0]),t.add(o[1])}return Array.from(t)}function V2(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var o=e[n];t.has(o[0])||t.set(o[0],new Set),t.has(o[1])||t.set(o[1],new Set),t.get(o[0]).add(o[1])}return t}function K2(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}const q2=Object.prototype.toString,G2=Error.prototype.toString,Q2=RegExp.prototype.toString,X2=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",Y2=/^Symbol\((.*)\)(.*)$/;function Z2(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function sy(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const n=typeof e;if(n==="number")return Z2(e);if(n==="string")return t?`"${e}"`:e;if(n==="function")return"[Function "+(e.name||"anonymous")+"]";if(n==="symbol")return X2.call(e).replace(Y2,"Symbol($1)");const r=q2.call(e).slice(8,-1);return r==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):r==="Error"||e instanceof Error?"["+G2.call(e)+"]":r==="RegExp"?Q2.call(e):null}function ur(e,t){let n=sy(e,t);return n!==null?n:JSON.stringify(e,function(r,o){let i=sy(this[r],t);return i!==null?i:o},2)}function ly(e){return e==null?[]:[].concat(e)}let ay,uy,cy,J2=/\$\{\s*(\w+)\s*\}/g;ay=Symbol.toStringTag;class dy{constructor(t,n,r,o){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[ay]="Error",this.name="ValidationError",this.value=n,this.path=r,this.type=o,this.errors=[],this.inner=[],ly(t).forEach(i=>{if(wt.isError(i)){this.errors.push(...i.errors);const s=i.inner.length?i.inner:[i];this.inner.push(...s)}else this.errors.push(i)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}uy=Symbol.hasInstance,cy=Symbol.toStringTag;class wt extends Error{static formatError(t,n){const r=n.label||n.path||"this";return n=Object.assign({},n,{path:r,originalPath:n.path}),typeof t=="string"?t.replace(J2,(o,i)=>ur(n[i])):typeof t=="function"?t(n):t}static isError(t){return t&&t.name==="ValidationError"}constructor(t,n,r,o,i){const s=new dy(t,n,r,o);if(i)return s;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[cy]="Error",this.name=s.name,this.message=s.message,this.type=s.type,this.value=s.value,this.path=s.path,this.errors=s.errors,this.inner=s.inner,Error.captureStackTrace&&Error.captureStackTrace(this,wt)}static[uy](t){return dy[Symbol.hasInstance](t)||super[Symbol.hasInstance](t)}}let Sn={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{const o=r!=null&&r!==n?` (cast from the value \`${ur(r,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${ur(n,!0)}\``+o:`${e} must match the configured type. The validated value was: \`${ur(n,!0)}\``+o}},bt={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},cr={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},xf={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"};Object.assign(Object.create(null),{mixed:Sn,string:bt,number:cr,date:xf,object:{noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path} object contains unknown properties: ${properties}"},array:{min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},boolean:{isValue:"${path} field must be ${value}"},tuple:{notType:e=>{const{path:t,value:n,spec:r}=e,o=r.types.length;if(Array.isArray(n)){if(n.length<o)return`${t} tuple value has too few items, expected a length of ${o} but got ${n.length} for value: \`${ur(n,!0)}\``;if(n.length>o)return`${t} tuple value has too many items, expected a length of ${o} but got ${n.length} for value: \`${ur(n,!0)}\``}return wt.formatError(Sn.notType,e)}}});const fy=e=>e&&e.__isYupSchema__;class _a{static fromOptions(t,n){if(!n.then&&!n.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:r,then:o,otherwise:i}=n,s=typeof r=="function"?r:(...l)=>l.every(a=>a===r);return new _a(t,(l,a)=>{var u;let c=s(...l)?o:i;return(u=c==null?void 0:c(a))!=null?u:a})}constructor(t,n){this.fn=void 0,this.refs=t,this.refs=t,this.fn=n}resolve(t,n){let r=this.refs.map(i=>i.getValue(n==null?void 0:n.value,n==null?void 0:n.parent,n==null?void 0:n.context)),o=this.fn(r,t,n);if(o===void 0||o===t)return t;if(!fy(o))throw new TypeError("conditions must return a schema object");return o.resolve(n)}}const za={context:"$",value:"."};class ts{constructor(t,n={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof t!="string")throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),t==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===za.context,this.isValue=this.key[0]===za.value,this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?za.context:this.isValue?za.value:"";this.path=this.key.slice(r.length),this.getter=this.path&&ry.getter(this.path,!0),this.map=n.map}getValue(t,n,r){let o=this.isContext?r:this.isValue?t:n;return this.getter&&(o=this.getter(o||{})),this.map&&(o=this.map(o)),o}cast(t,n){return this.getValue(t,n==null?void 0:n.parent,n==null?void 0:n.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}ts.prototype.__isYupRef=!0;const zn=e=>e==null;function No(e){function t({value:n,path:r="",options:o,originalValue:i,schema:s},l,a){const{name:u,test:c,params:d,message:h,skipAbsent:x}=e;let{parent:p,context:v,abortEarly:w=s.spec.abortEarly,disableStackTrace:m=s.spec.disableStackTrace}=o;function g(O){return ts.isRef(O)?O.getValue(n,p,v):O}function f(O={}){const N=Object.assign({value:n,originalValue:i,label:s.spec.label,path:O.path||r,spec:s.spec,disableStackTrace:O.disableStackTrace||m},d,O.params);for(const z of Object.keys(N))N[z]=g(N[z]);const M=new wt(wt.formatError(O.message||h,N),n,N.path,O.type||u,N.disableStackTrace);return M.params=N,M}const S=w?l:a;let C={path:r,parent:p,type:u,from:o.from,createError:f,resolve:g,options:o,originalValue:i,schema:s};const R=O=>{wt.isError(O)?S(O):O?a(null):S(f())},T=O=>{wt.isError(O)?S(O):l(O)};if(x&&zn(n))return R(!0);let y;try{var k;if(y=c.call(C,n,C),typeof((k=y)==null?void 0:k.then)=="function"){if(o.sync)throw new Error(`Validation test of type: "${C.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(y).then(R,T)}}catch(O){T(O);return}R(y)}return t.OPTIONS=e,t}function eR(e,t,n,r=n){let o,i,s;return t?(ry.forEach(t,(l,a,u)=>{let c=a?l.slice(1,l.length-1):l;e=e.resolve({context:r,parent:o,value:n});let d=e.type==="tuple",h=u?parseInt(c,10):0;if(e.innerType||d){if(d&&!u)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${s}" must contain an index to the tuple element, e.g. "${s}[0]"`);if(n&&h>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${l}, in the path: ${t}. because there is no value at that index. `);o=n,n=n&&n[h],e=d?e.spec.types[h]:e.innerType}if(!u){if(!e.fields||!e.fields[c])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${s} which is a type: "${e.type}")`);o=n,n=n&&n[c],e=e.fields[c]}i=c,s=a?"["+l+"]":"."+l}),{schema:e,parent:o,parentPath:i}):{parent:o,parentPath:t,schema:e}}class Ba extends Set{describe(){const t=[];for(const n of this.values())t.push(ts.isRef(n)?n.describe():n);return t}resolveAll(t){let n=[];for(const r of this.values())n.push(t(r));return n}clone(){return new Ba(this.values())}merge(t,n){const r=this.clone();return t.forEach(o=>r.add(o)),n.forEach(o=>r.delete(o)),r}}function Fo(e,t=new Map){if(fy(e)||!e||typeof e!="object")return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=new Array(e.length),t.set(e,n);for(let r=0;r<e.length;r++)n[r]=Fo(e[r],t)}else if(e instanceof Map){n=new Map,t.set(e,n);for(const[r,o]of e.entries())n.set(r,Fo(o,t))}else if(e instanceof Set){n=new Set,t.set(e,n);for(const r of e)n.add(Fo(r,t))}else if(e instanceof Object){n={},t.set(e,n);for(const[r,o]of Object.entries(e))n[r]=Fo(o,t)}else throw Error(`Unable to clone ${e}`);return n}class wn{constructor(t){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new Ba,this._blacklist=new Ba,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(Sn.notType)}),this.type=t.type,this._typeCheck=t.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},t==null?void 0:t.spec),this.withMutation(n=>{n.nonNullable()})}get _type(){return this.type}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;const n=Object.create(Object.getPrototypeOf(this));return n.type=this.type,n._typeCheck=this._typeCheck,n._whitelist=this._whitelist.clone(),n._blacklist=this._blacklist.clone(),n.internalTests=Object.assign({},this.internalTests),n.exclusiveTests=Object.assign({},this.exclusiveTests),n.deps=[...this.deps],n.conditions=[...this.conditions],n.tests=[...this.tests],n.transforms=[...this.transforms],n.spec=Fo(Object.assign({},this.spec,t)),n}label(t){let n=this.clone();return n.spec.label=t,n}meta(...t){if(t.length===0)return this.spec.meta;let n=this.clone();return n.spec.meta=Object.assign(n.spec.meta||{},t[0]),n}withMutation(t){let n=this._mutate;this._mutate=!0;let r=t(this);return this._mutate=n,r}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let n=this,r=t.clone();const o=Object.assign({},n.spec,r.spec);return r.spec=o,r.internalTests=Object.assign({},n.internalTests,r.internalTests),r._whitelist=n._whitelist.merge(t._whitelist,t._blacklist),r._blacklist=n._blacklist.merge(t._blacklist,t._whitelist),r.tests=n.tests,r.exclusiveTests=n.exclusiveTests,r.withMutation(i=>{t.tests.forEach(s=>{i.test(s.OPTIONS)})}),r.transforms=[...n.transforms,...r.transforms],r}isType(t){return t==null?!!(this.spec.nullable&&t===null||this.spec.optional&&t===void 0):this._typeCheck(t)}resolve(t){let n=this;if(n.conditions.length){let r=n.conditions;n=n.clone(),n.conditions=[],n=r.reduce((o,i)=>i.resolve(o,t),n),n=n.resolve(t)}return n}resolveOptions(t){var n,r,o,i;return Object.assign({},t,{from:t.from||[],strict:(n=t.strict)!=null?n:this.spec.strict,abortEarly:(r=t.abortEarly)!=null?r:this.spec.abortEarly,recursive:(o=t.recursive)!=null?o:this.spec.recursive,disableStackTrace:(i=t.disableStackTrace)!=null?i:this.spec.disableStackTrace})}cast(t,n={}){let r=this.resolve(Object.assign({value:t},n)),o=n.assert==="ignore-optionality",i=r._cast(t,n);if(n.assert!==!1&&!r.isType(i)){if(o&&zn(i))return i;let s=ur(t),l=ur(i);throw new TypeError(`The value of ${n.path||"field"} could not be cast to a value that satisfies the schema type: "${r.type}".
|
|
182
|
+
|
|
183
|
+
attempted value: ${s}
|
|
184
|
+
`+(l!==s?`result of cast: ${l}`:""))}return i}_cast(t,n){let r=t===void 0?t:this.transforms.reduce((o,i)=>i.call(this,o,t,this),t);return r===void 0&&(r=this.getDefault(n)),r}_validate(t,n={},r,o){let{path:i,originalValue:s=t,strict:l=this.spec.strict}=n,a=t;l||(a=this._cast(a,Object.assign({assert:!1},n)));let u=[];for(let c of Object.values(this.internalTests))c&&u.push(c);this.runTests({path:i,value:a,originalValue:s,options:n,tests:u},r,c=>{if(c.length)return o(c,a);this.runTests({path:i,value:a,originalValue:s,options:n,tests:this.tests},r,o)})}runTests(t,n,r){let o=!1,{tests:i,value:s,originalValue:l,path:a,options:u}=t,c=v=>{o||(o=!0,n(v,s))},d=v=>{o||(o=!0,r(v,s))},h=i.length,x=[];if(!h)return d([]);let p={value:s,originalValue:l,path:a,options:u,schema:this};for(let v=0;v<i.length;v++){const w=i[v];w(p,c,function(g){g&&(Array.isArray(g)?x.push(...g):x.push(g)),--h<=0&&d(x)})}}asNestedTest({key:t,index:n,parent:r,parentPath:o,originalParent:i,options:s}){const l=t??n;if(l==null)throw TypeError("Must include `key` or `index` for nested validations");const a=typeof l=="number";let u=r[l];const c=Object.assign({},s,{strict:!0,parent:r,value:u,originalValue:i[l],key:void 0,[a?"index":"key"]:l,path:a||l.includes(".")?`${o||""}[${a?l:`"${l}"`}]`:(o?`${o}.`:"")+t});return(d,h,x)=>this.resolve(c)._validate(u,c,h,x)}validate(t,n){var r;let o=this.resolve(Object.assign({},n,{value:t})),i=(r=n==null?void 0:n.disableStackTrace)!=null?r:o.spec.disableStackTrace;return new Promise((s,l)=>o._validate(t,n,(a,u)=>{wt.isError(a)&&(a.value=u),l(a)},(a,u)=>{a.length?l(new wt(a,u,void 0,void 0,i)):s(u)}))}validateSync(t,n){var r;let o=this.resolve(Object.assign({},n,{value:t})),i,s=(r=n==null?void 0:n.disableStackTrace)!=null?r:o.spec.disableStackTrace;return o._validate(t,Object.assign({},n,{sync:!0}),(l,a)=>{throw wt.isError(l)&&(l.value=a),l},(l,a)=>{if(l.length)throw new wt(l,t,void 0,void 0,s);i=a}),i}isValid(t,n){return this.validate(t,n).then(()=>!0,r=>{if(wt.isError(r))return!1;throw r})}isValidSync(t,n){try{return this.validateSync(t,n),!0}catch(r){if(wt.isError(r))return!1;throw r}}_getDefault(t){let n=this.spec.default;return n==null?n:typeof n=="function"?n.call(this,t):Fo(n)}getDefault(t){return this.resolve(t||{})._getDefault(t)}default(t){return arguments.length===0?this._getDefault():this.clone({default:t})}strict(t=!0){return this.clone({strict:t})}nullability(t,n){const r=this.clone({nullable:t});return r.internalTests.nullable=No({message:n,name:"nullable",test(o){return o===null?this.schema.spec.nullable:!0}}),r}optionality(t,n){const r=this.clone({optional:t});return r.internalTests.optionality=No({message:n,name:"optionality",test(o){return o===void 0?this.schema.spec.optional:!0}}),r}optional(){return this.optionality(!0)}defined(t=Sn.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=Sn.notNull){return this.nullability(!1,t)}required(t=Sn.required){return this.clone().withMutation(n=>n.nonNullable(t).defined(t))}notRequired(){return this.clone().withMutation(t=>t.nullable().optional())}transform(t){let n=this.clone();return n.transforms.push(t),n}test(...t){let n;if(t.length===1?typeof t[0]=="function"?n={test:t[0]}:n=t[0]:t.length===2?n={name:t[0],test:t[1]}:n={name:t[0],message:t[1],test:t[2]},n.message===void 0&&(n.message=Sn.default),typeof n.test!="function")throw new TypeError("`test` is a required parameters");let r=this.clone(),o=No(n),i=n.exclusive||n.name&&r.exclusiveTests[n.name]===!0;if(n.exclusive&&!n.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return n.name&&(r.exclusiveTests[n.name]=!!n.exclusive),r.tests=r.tests.filter(s=>!(s.OPTIONS.name===n.name&&(i||s.OPTIONS.test===o.OPTIONS.test))),r.tests.push(o),r}when(t,n){!Array.isArray(t)&&typeof t!="string"&&(n=t,t=".");let r=this.clone(),o=ly(t).map(i=>new ts(i));return o.forEach(i=>{i.isSibling&&r.deps.push(i.key)}),r.conditions.push(typeof n=="function"?new _a(o,n):_a.fromOptions(o,n)),r}typeError(t){let n=this.clone();return n.internalTests.typeError=No({message:t,name:"typeError",skipAbsent:!0,test(r){return this.schema._typeCheck(r)?!0:this.createError({params:{type:this.schema.type}})}}),n}oneOf(t,n=Sn.oneOf){let r=this.clone();return t.forEach(o=>{r._whitelist.add(o),r._blacklist.delete(o)}),r.internalTests.whiteList=No({message:n,name:"oneOf",skipAbsent:!0,test(o){let i=this.schema._whitelist,s=i.resolveAll(this.resolve);return s.includes(o)?!0:this.createError({params:{values:Array.from(i).join(", "),resolved:s}})}}),r}notOneOf(t,n=Sn.notOneOf){let r=this.clone();return t.forEach(o=>{r._blacklist.add(o),r._whitelist.delete(o)}),r.internalTests.blacklist=No({message:n,name:"notOneOf",test(o){let i=this.schema._blacklist,s=i.resolveAll(this.resolve);return s.includes(o)?this.createError({params:{values:Array.from(i).join(", "),resolved:s}}):!0}}),r}strip(t=!0){let n=this.clone();return n.spec.strip=t,n}describe(t){const n=(t?this.resolve(t):this).clone(),{label:r,meta:o,optional:i,nullable:s}=n.spec;return{meta:o,label:r,optional:i,nullable:s,default:n.getDefault(t),type:n.type,oneOf:n._whitelist.describe(),notOneOf:n._blacklist.describe(),tests:n.tests.map(a=>({name:a.OPTIONS.name,params:a.OPTIONS.params})).filter((a,u,c)=>c.findIndex(d=>d.name===a.name)===u)}}}wn.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])wn.prototype[`${e}At`]=function(t,n,r={}){const{parent:o,parentPath:i,schema:s}=eR(this,t,n,r.context);return s[e](o&&o[i],Object.assign({},r,{parent:o,path:t}))};for(const e of["equals","is"])wn.prototype[e]=wn.prototype.oneOf;for(const e of["not","nope"])wn.prototype[e]=wn.prototype.notOneOf;const tR=()=>!0;function py(e){return new hy(e)}class hy extends wn{constructor(t){super(typeof t=="function"?{type:"mixed",check:t}:Object.assign({type:"mixed",check:tR},t))}}py.prototype=hy.prototype;const nR=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function rR(e){const t=Sf(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;if(t.z===void 0&&t.plusMinus===void 0)return new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond).valueOf();let n=0;return t.z!=="Z"&&t.plusMinus!==void 0&&(n=t.hourOffset*60+t.minuteOffset,t.plusMinus==="+"&&(n=0-n)),Date.UTC(t.year,t.month,t.day,t.hour,t.minute+n,t.second,t.millisecond)}function Sf(e){var t,n;const r=nR.exec(e);return r?{year:Bn(r[1]),month:Bn(r[2],1)-1,day:Bn(r[3],1),hour:Bn(r[4]),minute:Bn(r[5]),second:Bn(r[6]),millisecond:r[7]?Bn(r[7].substring(0,3)):0,precision:(t=(n=r[7])==null?void 0:n.length)!=null?t:void 0,z:r[8]||void 0,plusMinus:r[9]||void 0,hourOffset:Bn(r[10]),minuteOffset:Bn(r[11])}:null}function Bn(e,t=0){return Number(e)||t}let oR=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,iR=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,sR=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,lR="^\\d{4}-\\d{2}-\\d{2}",aR="\\d{2}:\\d{2}:\\d{2}",uR="(([+-]\\d{2}(:?\\d{2})?)|Z)",cR=new RegExp(`${lR}T${aR}(\\.\\d+)?${uR}$`),dR=e=>zn(e)||e===e.trim(),fR={}.toString();function Mo(){return new my}class my extends wn{constructor(){super({type:"string",check(t){return t instanceof String&&(t=t.valueOf()),typeof t=="string"}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce||r.isType(t)||Array.isArray(t))return t;const o=t!=null&&t.toString?t.toString():t;return o===fR?t:o})})}required(t){return super.required(t).withMutation(n=>n.test({message:t||Sn.required,name:"required",skipAbsent:!0,test:r=>!!r.length}))}notRequired(){return super.notRequired().withMutation(t=>(t.tests=t.tests.filter(n=>n.OPTIONS.name!=="required"),t))}length(t,n=bt.length){return this.test({message:n,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(r){return r.length===this.resolve(t)}})}min(t,n=bt.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r.length>=this.resolve(t)}})}max(t,n=bt.max){return this.test({name:"max",exclusive:!0,message:n,params:{max:t},skipAbsent:!0,test(r){return r.length<=this.resolve(t)}})}matches(t,n){let r=!1,o,i;return n&&(typeof n=="object"?{excludeEmptyString:r=!1,message:o,name:i}=n:o=n),this.test({name:i||"matches",message:o||bt.matches,params:{regex:t},skipAbsent:!0,test:s=>s===""&&r||s.search(t)!==-1})}email(t=bt.email){return this.matches(oR,{name:"email",message:t,excludeEmptyString:!0})}url(t=bt.url){return this.matches(iR,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=bt.uuid){return this.matches(sR,{name:"uuid",message:t,excludeEmptyString:!1})}datetime(t){let n="",r,o;return t&&(typeof t=="object"?{message:n="",allowOffset:r=!1,precision:o=void 0}=t:n=t),this.matches(cR,{name:"datetime",message:n||bt.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:n||bt.datetime_offset,params:{allowOffset:r},skipAbsent:!0,test:i=>{if(!i||r)return!0;const s=Sf(i);return s?!!s.z:!1}}).test({name:"datetime_precision",message:n||bt.datetime_precision,params:{precision:o},skipAbsent:!0,test:i=>{if(!i||o==null)return!0;const s=Sf(i);return s?s.precision===o:!1}})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=bt.trim){return this.transform(n=>n!=null?n.trim():n).test({message:t,name:"trim",test:dR})}lowercase(t=bt.lowercase){return this.transform(n=>zn(n)?n:n.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>zn(n)||n===n.toLowerCase()})}uppercase(t=bt.uppercase){return this.transform(n=>zn(n)?n:n.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>zn(n)||n===n.toUpperCase()})}}Mo.prototype=my.prototype;let pR=e=>e!=+e;function La(){return new gy}class gy extends wn{constructor(){super({type:"number",check(t){return t instanceof Number&&(t=t.valueOf()),typeof t=="number"&&!pR(t)}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce)return t;let o=t;if(typeof o=="string"){if(o=o.replace(/\s/g,""),o==="")return NaN;o=+o}return r.isType(o)||o===null?o:parseFloat(o)})})}min(t,n=cr.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r>=this.resolve(t)}})}max(t,n=cr.max){return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(r){return r<=this.resolve(t)}})}lessThan(t,n=cr.lessThan){return this.test({message:n,name:"max",exclusive:!0,params:{less:t},skipAbsent:!0,test(r){return r<this.resolve(t)}})}moreThan(t,n=cr.moreThan){return this.test({message:n,name:"min",exclusive:!0,params:{more:t},skipAbsent:!0,test(r){return r>this.resolve(t)}})}positive(t=cr.positive){return this.moreThan(0,t)}negative(t=cr.negative){return this.lessThan(0,t)}integer(t=cr.integer){return this.test({name:"integer",message:t,skipAbsent:!0,test:n=>Number.isInteger(n)})}truncate(){return this.transform(t=>zn(t)?t:t|0)}round(t){var n;let r=["ceil","floor","round","trunc"];if(t=((n=t)==null?void 0:n.toLowerCase())||"round",t==="trunc")return this.truncate();if(r.indexOf(t.toLowerCase())===-1)throw new TypeError("Only valid options for round() are: "+r.join(", "));return this.transform(o=>zn(o)?o:Math[t](o))}}La.prototype=gy.prototype;let hR=new Date(""),mR=e=>Object.prototype.toString.call(e)==="[object Date]";class wf extends wn{constructor(){super({type:"date",check(t){return mR(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,n,r)=>!r.spec.coerce||r.isType(t)||t===null?t:(t=rR(t),isNaN(t)?wf.INVALID_DATE:new Date(t)))})}prepareParam(t,n){let r;if(ts.isRef(t))r=t;else{let o=this.cast(t);if(!this._typeCheck(o))throw new TypeError(`\`${n}\` must be a Date or a value that can be \`cast()\` to a Date`);r=o}return r}min(t,n=xf.min){let r=this.prepareParam(t,"min");return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(o){return o>=this.resolve(r)}})}max(t,n=xf.max){let r=this.prepareParam(t,"max");return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(o){return o<=this.resolve(r)}})}}wf.INVALID_DATE=hR;const yy=e=>{if(!e)return Mo().trim().required("No puede estar vacío");const t=e["min-size"]?parseInt(e["min-size"],10):void 0,n=e["max-size"]?parseInt(e["max-size"],10):void 0,r=e["max-decimal"]?parseInt(e["max-decimal"],10):void 0,o=e.required==="true";let i;switch(e.type){case"email":i=Mo().trim().email("Debe ser un correo válido"),t&&(i=i.min(t,`Debe tener al menos ${t} caracteres`)),n&&(i=i.max(n,`No puede superar los ${n} caracteres`));break;case"integer":i=La().transform((s,l)=>l===""?NaN:Number(l)).typeError("Debe ser un número entero válido").integer("Debe ser un número entero, sin decimales"),t!==void 0&&(i=i.min(t,`El valor mínimo permitido es ${t}`)),n!==void 0&&(i=i.max(n,`El valor máximo permitido es ${n}`));break;case"decimal":i=La().transform((s,l)=>l===""?NaN:parseFloat(l)).typeError("Debe ser un número decimal válido"),t!==void 0&&(i=i.min(t,`El valor mínimo permitido es ${t}`)),n!==void 0&&(i=i.max(n,`El valor máximo permitido es ${n}`)),r!==void 0&&(i=i.test("max-decimal",`No se permiten más de ${r} decimales`,s=>{if(isNaN(s))return!1;const l=s.toString().split(".")[1];return!l||l.length<=r}));break;case"date":i=Mo().trim().matches(/^[0-9]{2}\/[0-9]{2}\/[0-9]{4}$/,"La fecha debe estar en formato dd/mm/aaaa").test("isValidDate","Fecha inválida",s=>{if(!s)return!1;const[l,a,u]=s.split("/"),c=parseInt(l,10),d=parseInt(a,10)-1,h=parseInt(u,10),x=new Date(h,d,c);return!(isNaN(x.getTime())||x.getDate()!==c||x.getMonth()!==d||x.getFullYear()!==h)});break;case"file":i=py().required("Debe seleccionar un archivo");break;case"rating":i=La().min(1,"Selecciona al menos 1 estrella").max(5,"Máximo 5 estrellas").required("Debes seleccionar una calificación");break;case"options":i=Mo().trim().required("Debes seleccionar una opción");break;case"text":default:i=Mo().trim(),t!==void 0&&(i=i.min(t,`Debe tener al menos ${t} caracteres`)),n!==void 0&&(i=i.max(n,`No puede superar los ${n} caracteres`));break}return o?i=i.required("Este campo es obligatorio"):i=i.required("No puede estar vacío"),i},gR=H("input")({clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:1,overflow:"hidden",position:"absolute",bottom:0,left:0,whiteSpace:"nowrap",width:1}),yR=({fontFamily:e,activeForm:t,onSendMessage:n,configuration:r,optionsContainer:o})=>{const[i,s]=b.useState(""),[l,a]=b.useState(0),[u,c]=b.useState(""),[d,h]=b.useState(()=>yy(null)),[x,p]=b.useState(!1);b.useEffect(()=>{s(""),a(0),c(""),h(yy((t==null?void 0:t.formData)||null))},[t]);const v=async C=>{const R=C.target.value;s(R);try{await d.validate(R),c("")}catch(T){c(T.message)}},w=async C=>{const R=C.target.files[0];s(R);try{await d.validate(R),c("")}catch(T){c(T.message)}},m=async()=>{try{p(!0),await d.validate(i),await n(i),s(""),c("")}catch(C){c(C.message)}finally{p(!1)}},g=async()=>{try{p(!0),await d.validate(l),await n(l),a(0),c("")}catch(C){c(C.message)}finally{p(!1)}},f=C=>{C.key==="Enter"&&(C.preventDefault(),m())},S=t?t.formData.label||"Complete el formulario...":"Escribe aquí...";if(t&&t.formData.type==="file"){let C="";if(t.formData.allow){const R={1:"application/pdf",2:"image/*",3:"video/*",4:"application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document"};C=t.formData.allow.split(",").map(T=>R[T.trim()]||"").join(",")}return E.jsx("div",{style:{position:"absolute",left:0,bottom:0,borderBottomLeftRadius:"12px",borderBottomRightRadius:"12px",overflow:"hidden",width:"100%",height:"38px"},children:i&&i instanceof File?E.jsxs(T0,{sx:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",background:"#1976d2",padding:"5px 10px",gap:2,height:"100%",boxSizing:"border-box"},children:[E.jsx(Nr,{size:"small",onClick:()=>s(""),sx:{p:0,color:"#fff"},disabled:x,children:E.jsx(P2,{fontSize:"small"})}),E.jsx(ka,{variant:"body2",noWrap:!0,sx:{margin:0,color:"#fff"},children:i.name.length>20?i.name.substring(0,20)+"...":i.name}),E.jsx(Nr,{size:"small",onClick:m,disabled:x,sx:{color:"#fff"},children:x?E.jsx(of,{size:20}):E.jsx(hf,{fontSize:"small"})})]}):E.jsx(dk,{variant:"contained",component:"label",sx:{height:"100%"},fullWidth:!0,startIcon:x?null:E.jsx($2,{}),disabled:x,children:x?E.jsx(of,{size:20}):E.jsxs(E.Fragment,{children:["Seleccionar archivo",E.jsx(gR,{type:"file",onChange:w,accept:C})]})})})}if(t&&t.formData.type==="rating")return E.jsxs(T0,{sx:{position:"absolute",left:0,bottom:0,width:"100%",backgroundColor:"#fff",borderBottomLeftRadius:"12px",borderBottomRightRadius:"12px",padding:"5px 10px",display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"border-box"},children:[E.jsx(n2,{name:"chatbot-rating",value:l,onChange:(C,R)=>a(R)}),E.jsx(Nr,{onClick:g,disabled:x,children:x?E.jsx(of,{size:20}):E.jsx(hf,{fontSize:"small"})})]});if(t&&t.formData.type==="options"){const C=t.formData.values?t.formData.values.split(",").map(R=>R.trim()):[];return E.jsxs(E.Fragment,{children:[E.jsx("div",{style:{...o,marginTop:"10px"},children:C.map((R,T)=>E.jsx(Z0,{text:R,onClick:()=>n(R),configuration:r,fontFamily:e},T))}),E.jsx(X0,{placeholder:t.formData.label||"Seleccione una opción",fullWidth:!0,disabled:!0,sx:{position:"absolute",left:0,bottom:0},slotProps:{input:{multiline:!0,disableUnderline:!0,style:{fontSize:"16px",padding:"5px 10px",color:"#474747",fontFamily:`${e}, sans-serif`,backgroundColor:"#fff",borderRadius:"0",borderBottomLeftRadius:"12px",borderBottomRightRadius:"12px",outline:"unset",border:"unset",position:"relative",height:"38px"}}}})]})}return E.jsx(X0,{placeholder:S,fullWidth:!0,onKeyDown:f,size:"small",value:typeof i=="string"?i:"",onChange:v,error:!!u,label:u,sx:{position:"absolute",left:0,bottom:0},slotProps:{input:{multiline:!0,disableUnderline:!0,style:{fontSize:"16px",padding:"5px 10px",color:"#474747",fontFamily:`${e}, sans-serif`,backgroundColor:"#fff",borderRadius:"0",borderBottomLeftRadius:"12px",borderBottomRightRadius:"12px",outline:"unset",border:"unset",position:"relative"},endAdornment:E.jsx(uE,{position:"end",children:E.jsx(Nr,{size:"small",onClick:m,disabled:!!u&&u!=="",children:E.jsx(hf,{fontSize:"inherit"})})})}}})};function vy(e,t){return function(){return e.apply(t,arguments)}}const{toString:vR}=Object.prototype,{getPrototypeOf:bf}=Object,ja=(e=>t=>{const n=vR.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),nn=e=>(e=e.toLowerCase(),t=>ja(t)===e),Da=e=>t=>typeof t===e,{isArray:_o}=Array,ns=Da("undefined");function xR(e){return e!==null&&!ns(e)&&e.constructor!==null&&!ns(e.constructor)&&Mt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const xy=nn("ArrayBuffer");function SR(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&xy(e.buffer),t}const wR=Da("string"),Mt=Da("function"),Sy=Da("number"),Ua=e=>e!==null&&typeof e=="object",bR=e=>e===!0||e===!1,Ha=e=>{if(ja(e)!=="object")return!1;const t=bf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},CR=nn("Date"),kR=nn("File"),ER=nn("Blob"),RR=nn("FileList"),TR=e=>Ua(e)&&Mt(e.pipe),PR=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Mt(e.append)&&((t=ja(e))==="formdata"||t==="object"&&Mt(e.toString)&&e.toString()==="[object FormData]"))},$R=nn("URLSearchParams"),[OR,AR,IR,NR]=["ReadableStream","Request","Response","Headers"].map(nn),FR=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function rs(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),_o(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let l;for(r=0;r<s;r++)l=i[r],t.call(null,e[l],l,e)}}function wy(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const zr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,by=e=>!ns(e)&&e!==zr;function Cf(){const{caseless:e}=by(this)&&this||{},t={},n=(r,o)=>{const i=e&&wy(t,o)||o;Ha(t[i])&&Ha(r)?t[i]=Cf(t[i],r):Ha(r)?t[i]=Cf({},r):_o(r)?t[i]=r.slice():t[i]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&rs(arguments[r],n);return t}const MR=(e,t,n,{allOwnKeys:r}={})=>(rs(t,(o,i)=>{n&&Mt(o)?e[i]=vy(o,n):e[i]=o},{allOwnKeys:r}),e),_R=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),zR=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},BR=(e,t,n,r)=>{let o,i,s;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!r||r(s,e,t))&&!l[s]&&(t[s]=e[s],l[s]=!0);e=n!==!1&&bf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},LR=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},jR=e=>{if(!e)return null;if(_o(e))return e;let t=e.length;if(!Sy(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},DR=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&bf(Uint8Array)),UR=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},HR=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},WR=nn("HTMLFormElement"),VR=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Cy=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),KR=nn("RegExp"),ky=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};rs(n,(o,i)=>{let s;(s=t(o,i,e))!==!1&&(r[i]=s||o)}),Object.defineProperties(e,r)},qR=e=>{ky(e,(t,n)=>{if(Mt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Mt(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},GR=(e,t)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return _o(e)?r(e):r(String(e).split(t)),n},QR=()=>{},XR=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,kf="abcdefghijklmnopqrstuvwxyz",Ey="0123456789",Ry={DIGIT:Ey,ALPHA:kf,ALPHA_DIGIT:kf+kf.toUpperCase()+Ey},YR=(e=16,t=Ry.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function ZR(e){return!!(e&&Mt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const JR=e=>{const t=new Array(10),n=(r,o)=>{if(Ua(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const i=_o(r)?[]:{};return rs(r,(s,l)=>{const a=n(s,o+1);!ns(a)&&(i[l]=a)}),t[o]=void 0,i}}return r};return n(e,0)},eT=nn("AsyncFunction"),tT=e=>e&&(Ua(e)||Mt(e))&&Mt(e.then)&&Mt(e.catch),Ty=((e,t)=>e?setImmediate:t?((n,r)=>(zr.addEventListener("message",({source:o,data:i})=>{o===zr&&i===n&&r.length&&r.shift()()},!1),o=>{r.push(o),zr.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Mt(zr.postMessage)),nT=typeof queueMicrotask<"u"?queueMicrotask.bind(zr):typeof process<"u"&&process.nextTick||Ty,$={isArray:_o,isArrayBuffer:xy,isBuffer:xR,isFormData:PR,isArrayBufferView:SR,isString:wR,isNumber:Sy,isBoolean:bR,isObject:Ua,isPlainObject:Ha,isReadableStream:OR,isRequest:AR,isResponse:IR,isHeaders:NR,isUndefined:ns,isDate:CR,isFile:kR,isBlob:ER,isRegExp:KR,isFunction:Mt,isStream:TR,isURLSearchParams:$R,isTypedArray:DR,isFileList:RR,forEach:rs,merge:Cf,extend:MR,trim:FR,stripBOM:_R,inherits:zR,toFlatObject:BR,kindOf:ja,kindOfTest:nn,endsWith:LR,toArray:jR,forEachEntry:UR,matchAll:HR,isHTMLForm:WR,hasOwnProperty:Cy,hasOwnProp:Cy,reduceDescriptors:ky,freezeMethods:qR,toObjectSet:GR,toCamelCase:VR,noop:QR,toFiniteNumber:XR,findKey:wy,global:zr,isContextDefined:by,ALPHABET:Ry,generateString:YR,isSpecCompliantForm:ZR,toJSONObject:JR,isAsyncFn:eT,isThenable:tT,setImmediate:Ty,asap:nT};function J(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}$.inherits(J,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:$.toJSONObject(this.config),code:this.code,status:this.status}}});const Py=J.prototype,$y={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{$y[e]={value:e}}),Object.defineProperties(J,$y),Object.defineProperty(Py,"isAxiosError",{value:!0}),J.from=(e,t,n,r,o,i)=>{const s=Object.create(Py);return $.toFlatObject(e,s,function(a){return a!==Error.prototype},l=>l!=="isAxiosError"),J.call(s,e.message,t,n,r,o),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const rT=null;function Ef(e){return $.isPlainObject(e)||$.isArray(e)}function Oy(e){return $.endsWith(e,"[]")?e.slice(0,-2):e}function Ay(e,t,n){return e?e.concat(t).map(function(o,i){return o=Oy(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function oT(e){return $.isArray(e)&&!e.some(Ef)}const iT=$.toFlatObject($,{},null,function(t){return/^is[A-Z]/.test(t)});function Wa(e,t,n){if(!$.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=$.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,w){return!$.isUndefined(w[v])});const r=n.metaTokens,o=n.visitor||c,i=n.dots,s=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&$.isSpecCompliantForm(t);if(!$.isFunction(o))throw new TypeError("visitor must be a function");function u(p){if(p===null)return"";if($.isDate(p))return p.toISOString();if(!a&&$.isBlob(p))throw new J("Blob is not supported. Use a Buffer instead.");return $.isArrayBuffer(p)||$.isTypedArray(p)?a&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function c(p,v,w){let m=p;if(p&&!w&&typeof p=="object"){if($.endsWith(v,"{}"))v=r?v:v.slice(0,-2),p=JSON.stringify(p);else if($.isArray(p)&&oT(p)||($.isFileList(p)||$.endsWith(v,"[]"))&&(m=$.toArray(p)))return v=Oy(v),m.forEach(function(f,S){!($.isUndefined(f)||f===null)&&t.append(s===!0?Ay([v],S,i):s===null?v:v+"[]",u(f))}),!1}return Ef(p)?!0:(t.append(Ay(w,v,i),u(p)),!1)}const d=[],h=Object.assign(iT,{defaultVisitor:c,convertValue:u,isVisitable:Ef});function x(p,v){if(!$.isUndefined(p)){if(d.indexOf(p)!==-1)throw Error("Circular reference detected in "+v.join("."));d.push(p),$.forEach(p,function(m,g){(!($.isUndefined(m)||m===null)&&o.call(t,m,$.isString(g)?g.trim():g,v,h))===!0&&x(m,v?v.concat(g):[g])}),d.pop()}}if(!$.isObject(e))throw new TypeError("data must be an object");return x(e),t}function Iy(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Rf(e,t){this._pairs=[],e&&Wa(e,this,t)}const Ny=Rf.prototype;Ny.append=function(t,n){this._pairs.push([t,n])},Ny.toString=function(t){const n=t?function(r){return t.call(this,r,Iy)}:Iy;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function sT(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Fy(e,t,n){if(!t)return e;const r=n&&n.encode||sT,o=n&&n.serialize;let i;if(o?i=o(t,n):i=$.isURLSearchParams(t)?t.toString():new Rf(t,n).toString(r),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class My{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){$.forEach(this.handlers,function(r){r!==null&&t(r)})}}const _y={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},lT={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Rf,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Tf=typeof window<"u"&&typeof document<"u",Pf=typeof navigator=="object"&&navigator||void 0,aT=Tf&&(!Pf||["ReactNative","NativeScript","NS"].indexOf(Pf.product)<0),uT=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",cT=Tf&&window.location.href||"http://localhost",Ct={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Tf,hasStandardBrowserEnv:aT,hasStandardBrowserWebWorkerEnv:uT,navigator:Pf,origin:cT},Symbol.toStringTag,{value:"Module"})),...lT};function dT(e,t){return Wa(e,new Ct.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return Ct.isNode&&$.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function fT(e){return $.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function pT(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}function zy(e){function t(n,r,o,i){let s=n[i++];if(s==="__proto__")return!0;const l=Number.isFinite(+s),a=i>=n.length;return s=!s&&$.isArray(o)?o.length:s,a?($.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!l):((!o[s]||!$.isObject(o[s]))&&(o[s]=[]),t(n,r,o[s],i)&&$.isArray(o[s])&&(o[s]=pT(o[s])),!l)}if($.isFormData(e)&&$.isFunction(e.entries)){const n={};return $.forEachEntry(e,(r,o)=>{t(fT(r),o,n,0)}),n}return null}function hT(e,t,n){if($.isString(e))try{return(t||JSON.parse)(e),$.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const os={transitional:_y,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=$.isObject(t);if(i&&$.isHTMLForm(t)&&(t=new FormData(t)),$.isFormData(t))return o?JSON.stringify(zy(t)):t;if($.isArrayBuffer(t)||$.isBuffer(t)||$.isStream(t)||$.isFile(t)||$.isBlob(t)||$.isReadableStream(t))return t;if($.isArrayBufferView(t))return t.buffer;if($.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return dT(t,this.formSerializer).toString();if((l=$.isFileList(t))||r.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Wa(l?{"files[]":t}:t,a&&new a,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),hT(t)):t}],transformResponse:[function(t){const n=this.transitional||os.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if($.isResponse(t)||$.isReadableStream(t))return t;if(t&&$.isString(t)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(s)throw l.name==="SyntaxError"?J.from(l,J.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ct.classes.FormData,Blob:Ct.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};$.forEach(["delete","get","head","post","put","patch"],e=>{os.headers[e]={}});const mT=$.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),gT=e=>{const t={};let n,r,o;return e&&e.split(`
|
|
185
|
+
`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||t[n]&&mT[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},By=Symbol("internals");function is(e){return e&&String(e).trim().toLowerCase()}function Va(e){return e===!1||e==null?e:$.isArray(e)?e.map(Va):String(e)}function yT(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const vT=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function $f(e,t,n,r,o){if($.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!$.isString(t)){if($.isString(r))return t.indexOf(r)!==-1;if($.isRegExp(r))return r.test(t)}}function xT(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function ST(e,t){const n=$.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,s){return this[r].call(this,t,o,i,s)},configurable:!0})})}class kt{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(l,a,u){const c=is(a);if(!c)throw new Error("header name must be a non-empty string");const d=$.findKey(o,c);(!d||o[d]===void 0||u===!0||u===void 0&&o[d]!==!1)&&(o[d||a]=Va(l))}const s=(l,a)=>$.forEach(l,(u,c)=>i(u,c,a));if($.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if($.isString(t)&&(t=t.trim())&&!vT(t))s(gT(t),n);else if($.isHeaders(t))for(const[l,a]of t.entries())i(a,l,r);else t!=null&&i(n,t,r);return this}get(t,n){if(t=is(t),t){const r=$.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return yT(o);if($.isFunction(n))return n.call(this,o,r);if($.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=is(t),t){const r=$.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||$f(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(s){if(s=is(s),s){const l=$.findKey(r,s);l&&(!n||$f(r,r[l],l,n))&&(delete r[l],o=!0)}}return $.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||$f(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return $.forEach(this,(o,i)=>{const s=$.findKey(r,i);if(s){n[s]=Va(o),delete n[i];return}const l=t?xT(i):String(i).trim();l!==i&&delete n[i],n[l]=Va(o),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return $.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&$.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
186
|
+
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[By]=this[By]={accessors:{}}).accessors,o=this.prototype;function i(s){const l=is(s);r[l]||(ST(o,s),r[l]=!0)}return $.isArray(t)?t.forEach(i):i(t),this}}kt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),$.reduceDescriptors(kt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),$.freezeMethods(kt);function Of(e,t){const n=this||os,r=t||n,o=kt.from(r.headers);let i=r.data;return $.forEach(e,function(l){i=l.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function Ly(e){return!!(e&&e.__CANCEL__)}function zo(e,t,n){J.call(this,e??"canceled",J.ERR_CANCELED,t,n),this.name="CanceledError"}$.inherits(zo,J,{__CANCEL__:!0});function jy(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new J("Request failed with status code "+n.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function wT(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function bT(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(a){const u=Date.now(),c=r[i];s||(s=u),n[o]=a,r[o]=u;let d=i,h=0;for(;d!==o;)h+=n[d++],d=d%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),u-s<t)return;const x=c&&u-c;return x?Math.round(h*1e3/x):void 0}}function CT(e,t){let n=0,r=1e3/t,o,i;const s=(u,c=Date.now())=>{n=c,o=null,i&&(clearTimeout(i),i=null),e.apply(null,u)};return[(...u)=>{const c=Date.now(),d=c-n;d>=r?s(u,c):(o=u,i||(i=setTimeout(()=>{i=null,s(o)},r-d)))},()=>o&&s(o)]}const Ka=(e,t,n=3)=>{let r=0;const o=bT(50,250);return CT(i=>{const s=i.loaded,l=i.lengthComputable?i.total:void 0,a=s-r,u=o(a),c=s<=l;r=s;const d={loaded:s,total:l,progress:l?s/l:void 0,bytes:a,rate:u||void 0,estimated:u&&l&&c?(l-s)/u:void 0,event:i,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(d)},n)},Dy=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Uy=e=>(...t)=>$.asap(()=>e(...t)),kT=Ct.hasStandardBrowserEnv?function(){const t=Ct.navigator&&/(msie|trident)/i.test(Ct.navigator.userAgent),n=document.createElement("a");let r;function o(i){let s=i;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(s){const l=$.isString(s)?o(s):s;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}(),ET=Ct.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const s=[e+"="+encodeURIComponent(t)];$.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),$.isString(r)&&s.push("path="+r),$.isString(o)&&s.push("domain="+o),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function RT(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function TT(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Hy(e,t){return e&&!RT(t)?TT(e,t):t}const Wy=e=>e instanceof kt?{...e}:e;function Br(e,t){t=t||{};const n={};function r(u,c,d){return $.isPlainObject(u)&&$.isPlainObject(c)?$.merge.call({caseless:d},u,c):$.isPlainObject(c)?$.merge({},c):$.isArray(c)?c.slice():c}function o(u,c,d){if($.isUndefined(c)){if(!$.isUndefined(u))return r(void 0,u,d)}else return r(u,c,d)}function i(u,c){if(!$.isUndefined(c))return r(void 0,c)}function s(u,c){if($.isUndefined(c)){if(!$.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function l(u,c,d){if(d in t)return r(u,c);if(d in e)return r(void 0,u)}const a={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(u,c)=>o(Wy(u),Wy(c),!0)};return $.forEach(Object.keys(Object.assign({},e,t)),function(c){const d=a[c]||o,h=d(e[c],t[c],c);$.isUndefined(h)&&d!==l||(n[c]=h)}),n}const Vy=e=>{const t=Br({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:l}=t;t.headers=s=kt.from(s),t.url=Fy(Hy(t.baseURL,t.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let a;if($.isFormData(n)){if(Ct.hasStandardBrowserEnv||Ct.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((a=s.getContentType())!==!1){const[u,...c]=a?a.split(";").map(d=>d.trim()).filter(Boolean):[];s.setContentType([u||"multipart/form-data",...c].join("; "))}}if(Ct.hasStandardBrowserEnv&&(r&&$.isFunction(r)&&(r=r(t)),r||r!==!1&&kT(t.url))){const u=o&&i&&ET.read(i);u&&s.set(o,u)}return t},PT=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){const o=Vy(e);let i=o.data;const s=kt.from(o.headers).normalize();let{responseType:l,onUploadProgress:a,onDownloadProgress:u}=o,c,d,h,x,p;function v(){x&&x(),p&&p(),o.cancelToken&&o.cancelToken.unsubscribe(c),o.signal&&o.signal.removeEventListener("abort",c)}let w=new XMLHttpRequest;w.open(o.method.toUpperCase(),o.url,!0),w.timeout=o.timeout;function m(){if(!w)return;const f=kt.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),C={data:!l||l==="text"||l==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:f,config:e,request:w};jy(function(T){n(T),v()},function(T){r(T),v()},C),w=null}"onloadend"in w?w.onloadend=m:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)||setTimeout(m)},w.onabort=function(){w&&(r(new J("Request aborted",J.ECONNABORTED,e,w)),w=null)},w.onerror=function(){r(new J("Network Error",J.ERR_NETWORK,e,w)),w=null},w.ontimeout=function(){let S=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const C=o.transitional||_y;o.timeoutErrorMessage&&(S=o.timeoutErrorMessage),r(new J(S,C.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,e,w)),w=null},i===void 0&&s.setContentType(null),"setRequestHeader"in w&&$.forEach(s.toJSON(),function(S,C){w.setRequestHeader(C,S)}),$.isUndefined(o.withCredentials)||(w.withCredentials=!!o.withCredentials),l&&l!=="json"&&(w.responseType=o.responseType),u&&([h,p]=Ka(u,!0),w.addEventListener("progress",h)),a&&w.upload&&([d,x]=Ka(a),w.upload.addEventListener("progress",d),w.upload.addEventListener("loadend",x)),(o.cancelToken||o.signal)&&(c=f=>{w&&(r(!f||f.type?new zo(null,e,w):f),w.abort(),w=null)},o.cancelToken&&o.cancelToken.subscribe(c),o.signal&&(o.signal.aborted?c():o.signal.addEventListener("abort",c)));const g=wT(o.url);if(g&&Ct.protocols.indexOf(g)===-1){r(new J("Unsupported protocol "+g+":",J.ERR_BAD_REQUEST,e));return}w.send(i||null)})},$T=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const i=function(u){if(!o){o=!0,l();const c=u instanceof Error?u:this.reason;r.abort(c instanceof J?c:new zo(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{s=null,i(new J(`timeout ${t} of ms exceeded`,J.ETIMEDOUT))},t);const l=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(i):u.removeEventListener("abort",i)}),e=null)};e.forEach(u=>u.addEventListener("abort",i));const{signal:a}=r;return a.unsubscribe=()=>$.asap(l),a}},OT=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,o;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},AT=async function*(e,t){for await(const n of IT(e))yield*OT(n,t)},IT=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},Ky=(e,t,n,r)=>{const o=AT(e,t);let i=0,s,l=a=>{s||(s=!0,r&&r(a))};return new ReadableStream({async pull(a){try{const{done:u,value:c}=await o.next();if(u){l(),a.close();return}let d=c.byteLength;if(n){let h=i+=d;n(h)}a.enqueue(new Uint8Array(c))}catch(u){throw l(u),u}},cancel(a){return l(a),o.return()}},{highWaterMark:2})},qa=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",qy=qa&&typeof ReadableStream=="function",NT=qa&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Gy=(e,...t)=>{try{return!!e(...t)}catch{return!1}},FT=qy&&Gy(()=>{let e=!1;const t=new Request(Ct.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Qy=64*1024,Af=qy&&Gy(()=>$.isReadableStream(new Response("").body)),Ga={stream:Af&&(e=>e.body)};qa&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Ga[t]&&(Ga[t]=$.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new J(`Response type '${t}' is not supported`,J.ERR_NOT_SUPPORT,r)})})})(new Response);const MT=async e=>{if(e==null)return 0;if($.isBlob(e))return e.size;if($.isSpecCompliantForm(e))return(await new Request(Ct.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if($.isArrayBufferView(e)||$.isArrayBuffer(e))return e.byteLength;if($.isURLSearchParams(e)&&(e=e+""),$.isString(e))return(await NT(e)).byteLength},_T=async(e,t)=>{const n=$.toFiniteNumber(e.getContentLength());return n??MT(t)},If={http:rT,xhr:PT,fetch:qa&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:s,onDownloadProgress:l,onUploadProgress:a,responseType:u,headers:c,withCredentials:d="same-origin",fetchOptions:h}=Vy(e);u=u?(u+"").toLowerCase():"text";let x=$T([o,i&&i.toAbortSignal()],s),p;const v=x&&x.unsubscribe&&(()=>{x.unsubscribe()});let w;try{if(a&&FT&&n!=="get"&&n!=="head"&&(w=await _T(c,r))!==0){let C=new Request(t,{method:"POST",body:r,duplex:"half"}),R;if($.isFormData(r)&&(R=C.headers.get("content-type"))&&c.setContentType(R),C.body){const[T,P]=Dy(w,Ka(Uy(a)));r=Ky(C.body,Qy,T,P)}}$.isString(d)||(d=d?"include":"omit");const m="credentials"in Request.prototype;p=new Request(t,{...h,signal:x,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:r,duplex:"half",credentials:m?d:void 0});let g=await fetch(p);const f=Af&&(u==="stream"||u==="response");if(Af&&(l||f&&v)){const C={};["status","statusText","headers"].forEach(y=>{C[y]=g[y]});const R=$.toFiniteNumber(g.headers.get("content-length")),[T,P]=l&&Dy(R,Ka(Uy(l),!0))||[];g=new Response(Ky(g.body,Qy,T,()=>{P&&P(),v&&v()}),C)}u=u||"text";let S=await Ga[$.findKey(Ga,u)||"text"](g,e);return!f&&v&&v(),await new Promise((C,R)=>{jy(C,R,{data:S,headers:kt.from(g.headers),status:g.status,statusText:g.statusText,config:e,request:p})})}catch(m){throw v&&v(),m&&m.name==="TypeError"&&/fetch/i.test(m.message)?Object.assign(new J("Network Error",J.ERR_NETWORK,e,p),{cause:m.cause||m}):J.from(m,m&&m.code,e,p)}})};$.forEach(If,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Xy=e=>`- ${e}`,zT=e=>$.isFunction(e)||e===null||e===!1,Yy={getAdapter:e=>{e=$.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){n=e[i];let s;if(r=n,!zT(n)&&(r=If[(s=String(n)).toLowerCase()],r===void 0))throw new J(`Unknown adapter '${s}'`);if(r)break;o[s||"#"+i]=r}if(!r){const i=Object.entries(o).map(([l,a])=>`adapter ${l} `+(a===!1?"is not supported by the environment":"is not available in the build"));let s=t?i.length>1?`since :
|
|
187
|
+
`+i.map(Xy).join(`
|
|
188
|
+
`):" "+Xy(i[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:If};function Nf(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new zo(null,e)}function Zy(e){return Nf(e),e.headers=kt.from(e.headers),e.data=Of.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Yy.getAdapter(e.adapter||os.adapter)(e).then(function(r){return Nf(e),r.data=Of.call(e,e.transformResponse,r),r.headers=kt.from(r.headers),r},function(r){return Ly(r)||(Nf(e),r&&r.response&&(r.response.data=Of.call(e,e.transformResponse,r.response),r.response.headers=kt.from(r.response.headers))),Promise.reject(r)})}const Jy="1.7.7",Ff={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ff[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const ev={};Ff.transitional=function(t,n,r){function o(i,s){return"[Axios v"+Jy+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,l)=>{if(t===!1)throw new J(o(s," has been removed"+(n?" in "+n:"")),J.ERR_DEPRECATED);return n&&!ev[s]&&(ev[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,s,l):!0}};function BT(e,t,n){if(typeof e!="object")throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],s=t[i];if(s){const l=e[i],a=l===void 0||s(l,i,e);if(a!==!0)throw new J("option "+i+" must be "+a,J.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new J("Unknown option "+i,J.ERR_BAD_OPTION)}}const Mf={assertOptions:BT,validators:Ff},dr=Mf.validators;class Lr{constructor(t){this.defaults=t,this.interceptors={request:new My,response:new My}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
|
189
|
+
`+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Br(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&Mf.assertOptions(r,{silentJSONParsing:dr.transitional(dr.boolean),forcedJSONParsing:dr.transitional(dr.boolean),clarifyTimeoutError:dr.transitional(dr.boolean)},!1),o!=null&&($.isFunction(o)?n.paramsSerializer={serialize:o}:Mf.assertOptions(o,{encode:dr.function,serialize:dr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&$.merge(i.common,i[n.method]);i&&$.forEach(["delete","get","head","post","put","patch","common"],p=>{delete i[p]}),n.headers=kt.concat(s,i);const l=[];let a=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(a=a&&v.synchronous,l.unshift(v.fulfilled,v.rejected))});const u=[];this.interceptors.response.forEach(function(v){u.push(v.fulfilled,v.rejected)});let c,d=0,h;if(!a){const p=[Zy.bind(this),void 0];for(p.unshift.apply(p,l),p.push.apply(p,u),h=p.length,c=Promise.resolve(n);d<h;)c=c.then(p[d++],p[d++]);return c}h=l.length;let x=n;for(d=0;d<h;){const p=l[d++],v=l[d++];try{x=p(x)}catch(w){v.call(this,w);break}}try{c=Zy.call(this,x)}catch(p){return Promise.reject(p)}for(d=0,h=u.length;d<h;)c=c.then(u[d++],u[d++]);return c}getUri(t){t=Br(this.defaults,t);const n=Hy(t.baseURL,t.url);return Fy(n,t.params,t.paramsSerializer)}}$.forEach(["delete","get","head","options"],function(t){Lr.prototype[t]=function(n,r){return this.request(Br(r||{},{method:t,url:n,data:(r||{}).data}))}}),$.forEach(["post","put","patch"],function(t){function n(r){return function(i,s,l){return this.request(Br(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}Lr.prototype[t]=n(),Lr.prototype[t+"Form"]=n(!0)});class _f{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(l=>{r.subscribe(l),i=l}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},t(function(i,s,l){r.reason||(r.reason=new zo(i,s,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new _f(function(o){t=o}),cancel:t}}}function LT(e){return function(n){return e.apply(null,n)}}function jT(e){return $.isObject(e)&&e.isAxiosError===!0}const zf={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(zf).forEach(([e,t])=>{zf[t]=e});function tv(e){const t=new Lr(e),n=vy(Lr.prototype.request,t);return $.extend(n,Lr.prototype,t,{allOwnKeys:!0}),$.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return tv(Br(e,o))},n}const Oe=tv(os);Oe.Axios=Lr,Oe.CanceledError=zo,Oe.CancelToken=_f,Oe.isCancel=Ly,Oe.VERSION=Jy,Oe.toFormData=Wa,Oe.AxiosError=J,Oe.Cancel=Oe.CanceledError,Oe.all=function(t){return Promise.all(t)},Oe.spread=LT,Oe.isAxiosError=jT,Oe.mergeConfig=Br,Oe.AxiosHeaders=kt,Oe.formToJSON=e=>zy($.isHTMLForm(e)?new FormData(e):e),Oe.getAdapter=Yy.getAdapter,Oe.HttpStatusCode=zf,Oe.default=Oe;function DT({sessionToken:e,fetchPartialFlow:t,menuStack:n,setMessages:r}){const[o,i]=b.useState("");return{handleFormSubmit:async(a,u,c)=>{var d,h;try{i(""),r(p=>[...p,{id:Date.now(),text:u instanceof File?u.name:u.toString(),isBot:!1}]);let x;if(u instanceof File){const p=new FormData;p.append("file",u),x=await Oe.post(`https://animalogic.anima.bot/api/form/${a}/${c}`,p,{headers:{uid:e,"Content-Type":"multipart/form-data"}})}else x=await Oe.post(`https://animalogic.anima.bot/api/form/${a}/${c}`,{value:u.toString()},{headers:{uid:e}});if(x.status===200)r(p=>p.map(v=>v.id===a?{...v,answered:!0}:v)),((d=x.data.next_item.children)==null?void 0:d.length)>0&&t(x.data.next_item.children[0].id,[]);else throw r(p=>[...p,{id:Date.now(),text:"La respuesta es inválida, por favor intente de nuevo.",isBot:!0}]),new Error(((h=x.data)==null?void 0:h.error)||"Error desconocido")}catch(x){throw i(x.message),r(p=>[...p,{id:Date.now(),text:"Hubo un problema. Por favor, revise su respuesta o intente más tarde.",isBot:!0}]),x}},handleFormError:(a,u)=>{console.warn(`Error en formulario del nodo ${a}: ${u}`)},submitErrorMessage:o}}const UT=(e,t)=>({position:"fixed",bottom:"30px",left:e?"30px":"unset",right:e?"unset":"30px",width:"400px",maxWidth:"100%",height:"550px",borderRadius:"12px",display:"flex",flexDirection:"column",overflow:"hidden",zIndex:1e3,fontFamily:`${t}, "sans-serif"`,transformOrigin:e?"bottom left":"bottom right"}),HT=(e,t,n)=>({padding:"15px 10px",flex:1,flexGrow:"1",overflowY:"scroll",background:e?t:`url(${n}) center repeat`,backgroundSize:"cover",marginBottom:"38px"}),nv={display:"flex",flexWrap:"wrap",margin:"0 40px",gap:"10px",alignItems:"flex-start",flexDirection:"column",marginBottom:"10px"},WT=`
|
|
146
190
|
.window::-webkit-scrollbar {
|
|
147
191
|
width: 6px;
|
|
148
192
|
}
|
|
@@ -156,7 +200,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
156
200
|
.window::-webkit-scrollbar-track {
|
|
157
201
|
background: rgba(0, 0, 0, 0.3);
|
|
158
202
|
}
|
|
159
|
-
`,
|
|
203
|
+
`,VT=({messages:e,configuration:t,handleOptionClick:n,loadingMessage:r,fontFamily:o,onOptionRendered:i,navigationOptions:s,smoothScrollToBottom:l,setMessages:a,sessionToken:u,fetchPartialFlow:c,menuStack:d,hash:h,handleKnowledgeBaseSend:x,activeForm:p,setActiveForm:v})=>{var y;const{handleFormSubmit:w,handleFormError:m,submitErrorMessage:g}=DT({sessionToken:u,fetchPartialFlow:c,menuStack:d,setMessages:a}),[f,S]=b.useState({}),[C,R]=b.useState(!1);b.useEffect(()=>{const k=e.find(O=>O.isForm&&O.answered===!1);v(k?{nodeId:k.id,formData:k.formData}:null)},[e]),b.useEffect(()=>{R(!1);const k=e.filter(M=>M.isMenu);let O=0;k.forEach(M=>{f[M.id]||(S(z=>({...z,[M.id]:0})),M.options.forEach((z,L)=>{const _=L*100;O=Math.max(O,_),setTimeout(()=>{S(j=>({...j,[M.id]:j[M.id]+1})),i&&i(),l()},_)}))});const N=O+200;setTimeout(()=>{R(!0),l()},N)},[e,i,l]);const T=async k=>{if(p)try{await w(p.nodeId,k,h)}catch(O){m(p.nodeId,O.message)}else x(k)},P=(y=e.filter(k=>k.isBot).slice(-1)[0])==null?void 0:y.id;return E.jsxs(E.Fragment,{children:[e.map(k=>{var N;const O=k.isBot&&k.id===P;if(k.isMenu)return E.jsx(Kt.Fragment,{children:E.jsx("div",{style:nv,children:k.options.slice(0,f[k.id]||0).map(M=>E.jsx(Z0,{text:M.text,onClick:()=>n(M.id,M.text),configuration:t,fontFamily:o},M.id))})},k.id);if(k.isImage)return E.jsx(E2,{url:k.imageUrl},k.id);if(k.isAudio)return E.jsx(R2,{url:k.audioUrl},k.id);if(k.isVideo)return E.jsx(T2,{url:k.videoUrl},k.id);if(k.isPdf)return E.jsx(I2,{url:k.url,fileName:k.filename},k.id);if(k.isLink)return E.jsx(N2,{title:k.title,url:k.data,configuration:t,fontFamily:o},k.id);if(k.isForm){const M=((N=k.formData)==null?void 0:N.label)||"Complete el formulario...";return E.jsx(Y0,{text:M,isBot:!0,showAvatar:O,configuration:t,fontFamily:o},k.id)}return E.jsx(Y0,{text:k.text,isBot:k.isBot,showAvatar:O,configuration:t,fontFamily:o},k.id)}),r&&E.jsx(F2,{isBot:!0,configuration:t,showAvatar:!0},"loading"),E.jsx(yR,{fontFamily:o,activeForm:p,configuration:t,onSendMessage:T,optionsContainer:nv}),s&&C&&!r&&E.jsx("div",{style:{display:"flex",maxWidth:"calc(100% - 80px)",marginLeft:"40px",marginTop:"10px",gap:"10px"},children:s.map(k=>E.jsx(M2,{text:k.text,onClick:()=>{p&&a(O=>O.map(N=>N.isForm&&N.id===p.nodeId?{...N,answered:!0}:N)),n(k.id,k.text,k.key)},configuration:t,fontFamily:o},k.id))})]})},rv=e=>{e&&setTimeout(()=>{const t=e.scrollTop,n=e.scrollHeight-e.clientHeight,r=500,o=performance.now(),i=s=>{const l=s-o,a=Math.min(l/r,1),u=a<.5?2*a*a:-1+(4-2*a)*a;e.scrollTop=t+(n-t)*u,a<1&&requestAnimationFrame(i)};requestAnimationFrame(i)},50)},KT=({onClose:e,configuration:t,open:n,messages:r,setMessages:o,menuStack:i,setMenuStack:s,loadingMessage:l,navigationOptions:a,fetchPartialFlow:u,mainMenuId:c,sessionToken:d,hash:h,handleKnowledgeBaseSend:x})=>{const p=t.fontFamily||"Roboto",v=b.useRef(null),[w,m]=b.useState(null),g=()=>{v.current&&rv(v.current)};b.useEffect(()=>{g()},[r,l]),b.useEffect(()=>{const C=document.createElement("style");return C.innerHTML=WT,document.head.appendChild(C),()=>{document.head.removeChild(C)}},[]),b.useEffect(()=>{const C=document.createElement("style");return C.innerHTML=`
|
|
160
204
|
@keyframes scaleIn {
|
|
161
205
|
from {
|
|
162
206
|
transform: scale(0.4);
|
|
@@ -167,9 +211,4 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
167
211
|
opacity: 1;
|
|
168
212
|
}
|
|
169
213
|
}
|
|
170
|
-
`,document.head.appendChild(x),()=>{document.head.removeChild(x)}},[]);const d=()=>{m.current&&wc(m.current)};P.useEffect(()=>{m.current&&wc(m.current)},[r,l]);const v=(x,g,h)=>{h==="main"?(o(p=>[...p.filter(w=>!w.isMenu),{id:Date.now(),text:g,isBot:!1}]),s([]),u(c,[])):h==="back"?(o(p=>[...p.filter(w=>!w.isMenu),{id:Date.now(),text:g,isBot:!1}]),s(p=>{const w=p.slice(0,-1),k=w[w.length-1];return u(k,w),w})):(o(p=>[...p.filter(w=>!w.isMenu),{id:Date.now(),text:g,isBot:!1}]),s(p=>[...p,x]),u(x,[...i,x]))};return A.jsx(Sc,{in:n,timeout:500,children:A.jsxs(Zs,{elevation:3,style:Nx(t.isAvatarLeft,f),children:[A.jsx(wx,{configuration:t,onClose:e}),A.jsx("div",{style:$x(t.isChatWindowBackgroundColor,t.chatWindowBackgroundColor,t.chatWindowBackground),className:"window",ref:m,children:A.jsx(Ix,{messages:r,configuration:t,handleOptionClick:v,loadingMessage:l,fontFamily:f,onOptionRendered:d,navigationOptions:a,smoothScrollToBottom:S})})]})})};function ym(e,t){return function(){return e.apply(t,arguments)}}const{toString:zx}=Object.prototype,{getPrototypeOf:xc}=Object,rl=(e=>t=>{const n=zx.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ct=e=>(e=e.toLowerCase(),t=>rl(t)===e),ol=e=>t=>typeof t===e,{isArray:Lr}=Array,Qo=ol("undefined");function jx(e){return e!==null&&!Qo(e)&&e.constructor!==null&&!Qo(e.constructor)&&nt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const vm=Ct("ArrayBuffer");function Dx(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&vm(e.buffer),t}const Fx=ol("string"),nt=ol("function"),Sm=ol("number"),il=e=>e!==null&&typeof e=="object",Ux=e=>e===!0||e===!1,sl=e=>{if(rl(e)!=="object")return!1;const t=xc(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Hx=Ct("Date"),Wx=Ct("File"),Vx=Ct("Blob"),Kx=Ct("FileList"),Gx=e=>il(e)&&nt(e.pipe),Qx=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||nt(e.append)&&((t=rl(e))==="formdata"||t==="object"&&nt(e.toString)&&e.toString()==="[object FormData]"))},qx=Ct("URLSearchParams"),[Yx,Xx,Jx,Zx]=["ReadableStream","Request","Response","Headers"].map(Ct),ek=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function qo(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Lr(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let l;for(r=0;r<s;r++)l=i[r],t.call(null,e[l],l,e)}}function wm(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const Gn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,xm=e=>!Qo(e)&&e!==Gn;function kc(){const{caseless:e}=xm(this)&&this||{},t={},n=(r,o)=>{const i=e&&wm(t,o)||o;sl(t[i])&&sl(r)?t[i]=kc(t[i],r):sl(r)?t[i]=kc({},r):Lr(r)?t[i]=r.slice():t[i]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&qo(arguments[r],n);return t}const tk=(e,t,n,{allOwnKeys:r}={})=>(qo(t,(o,i)=>{n&&nt(o)?e[i]=ym(o,n):e[i]=o},{allOwnKeys:r}),e),nk=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),rk=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},ok=(e,t,n,r)=>{let o,i,s;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!r||r(s,e,t))&&!l[s]&&(t[s]=e[s],l[s]=!0);e=n!==!1&&xc(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},ik=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},sk=e=>{if(!e)return null;if(Lr(e))return e;let t=e.length;if(!Sm(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},lk=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&xc(Uint8Array)),ak=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},uk=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},ck=Ct("HTMLFormElement"),fk=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),km=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),dk=Ct("RegExp"),Cm=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};qo(n,(o,i)=>{let s;(s=t(o,i,e))!==!1&&(r[i]=s||o)}),Object.defineProperties(e,r)},pk=e=>{Cm(e,(t,n)=>{if(nt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(nt(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},hk=(e,t)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return Lr(e)?r(e):r(String(e).split(t)),n},mk=()=>{},gk=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Cc="abcdefghijklmnopqrstuvwxyz",Em="0123456789",Tm={DIGIT:Em,ALPHA:Cc,ALPHA_DIGIT:Cc+Cc.toUpperCase()+Em},yk=(e=16,t=Tm.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function vk(e){return!!(e&&nt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Sk=e=>{const t=new Array(10),n=(r,o)=>{if(il(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const i=Lr(r)?[]:{};return qo(r,(s,l)=>{const a=n(s,o+1);!Qo(a)&&(i[l]=a)}),t[o]=void 0,i}}return r};return n(e,0)},wk=Ct("AsyncFunction"),xk=e=>e&&(il(e)||nt(e))&&nt(e.then)&&nt(e.catch),bm=((e,t)=>e?setImmediate:t?((n,r)=>(Gn.addEventListener("message",({source:o,data:i})=>{o===Gn&&i===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Gn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",nt(Gn.postMessage)),kk=typeof queueMicrotask<"u"?queueMicrotask.bind(Gn):typeof process<"u"&&process.nextTick||bm,T={isArray:Lr,isArrayBuffer:vm,isBuffer:jx,isFormData:Qx,isArrayBufferView:Dx,isString:Fx,isNumber:Sm,isBoolean:Ux,isObject:il,isPlainObject:sl,isReadableStream:Yx,isRequest:Xx,isResponse:Jx,isHeaders:Zx,isUndefined:Qo,isDate:Hx,isFile:Wx,isBlob:Vx,isRegExp:dk,isFunction:nt,isStream:Gx,isURLSearchParams:qx,isTypedArray:lk,isFileList:Kx,forEach:qo,merge:kc,extend:tk,trim:ek,stripBOM:nk,inherits:rk,toFlatObject:ok,kindOf:rl,kindOfTest:Ct,endsWith:ik,toArray:sk,forEachEntry:ak,matchAll:uk,isHTMLForm:ck,hasOwnProperty:km,hasOwnProp:km,reduceDescriptors:Cm,freezeMethods:pk,toObjectSet:hk,toCamelCase:fk,noop:mk,toFiniteNumber:gk,findKey:wm,global:Gn,isContextDefined:xm,ALPHABET:Tm,generateString:yk,isSpecCompliantForm:vk,toJSONObject:Sk,isAsyncFn:wk,isThenable:xk,setImmediate:bm,asap:kk};function U(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}T.inherits(U,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:T.toJSONObject(this.config),code:this.code,status:this.status}}});const Rm=U.prototype,Pm={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Pm[e]={value:e}}),Object.defineProperties(U,Pm),Object.defineProperty(Rm,"isAxiosError",{value:!0}),U.from=(e,t,n,r,o,i)=>{const s=Object.create(Rm);return T.toFlatObject(e,s,function(a){return a!==Error.prototype},l=>l!=="isAxiosError"),U.call(s,e.message,t,n,r,o),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const Ck=null;function Ec(e){return T.isPlainObject(e)||T.isArray(e)}function Om(e){return T.endsWith(e,"[]")?e.slice(0,-2):e}function Am(e,t,n){return e?e.concat(t).map(function(o,i){return o=Om(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function Ek(e){return T.isArray(e)&&!e.some(Ec)}const Tk=T.toFlatObject(T,{},null,function(t){return/^is[A-Z]/.test(t)});function ll(e,t,n){if(!T.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=T.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,x){return!T.isUndefined(x[v])});const r=n.metaTokens,o=n.visitor||c,i=n.dots,s=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&T.isSpecCompliantForm(t);if(!T.isFunction(o))throw new TypeError("visitor must be a function");function u(d){if(d===null)return"";if(T.isDate(d))return d.toISOString();if(!a&&T.isBlob(d))throw new U("Blob is not supported. Use a Buffer instead.");return T.isArrayBuffer(d)||T.isTypedArray(d)?a&&typeof Blob=="function"?new Blob([d]):Buffer.from(d):d}function c(d,v,x){let g=d;if(d&&!x&&typeof d=="object"){if(T.endsWith(v,"{}"))v=r?v:v.slice(0,-2),d=JSON.stringify(d);else if(T.isArray(d)&&Ek(d)||(T.isFileList(d)||T.endsWith(v,"[]"))&&(g=T.toArray(d)))return v=Om(v),g.forEach(function(p,w){!(T.isUndefined(p)||p===null)&&t.append(s===!0?Am([v],w,i):s===null?v:v+"[]",u(p))}),!1}return Ec(d)?!0:(t.append(Am(x,v,i),u(d)),!1)}const f=[],m=Object.assign(Tk,{defaultVisitor:c,convertValue:u,isVisitable:Ec});function S(d,v){if(!T.isUndefined(d)){if(f.indexOf(d)!==-1)throw Error("Circular reference detected in "+v.join("."));f.push(d),T.forEach(d,function(g,h){(!(T.isUndefined(g)||g===null)&&o.call(t,g,T.isString(h)?h.trim():h,v,m))===!0&&S(g,v?v.concat(h):[h])}),f.pop()}}if(!T.isObject(e))throw new TypeError("data must be an object");return S(e),t}function _m(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Tc(e,t){this._pairs=[],e&&ll(e,this,t)}const Nm=Tc.prototype;Nm.append=function(t,n){this._pairs.push([t,n])},Nm.toString=function(t){const n=t?function(r){return t.call(this,r,_m)}:_m;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function bk(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function $m(e,t,n){if(!t)return e;const r=n&&n.encode||bk,o=n&&n.serialize;let i;if(o?i=o(t,n):i=T.isURLSearchParams(t)?t.toString():new Tc(t,n).toString(r),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Mm{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){T.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Bm={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Rk={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Tc,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},bc=typeof window<"u"&&typeof document<"u",Rc=typeof navigator=="object"&&navigator||void 0,Pk=bc&&(!Rc||["ReactNative","NativeScript","NS"].indexOf(Rc.product)<0),Ok=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Ak=bc&&window.location.href||"http://localhost",We={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:bc,hasStandardBrowserEnv:Pk,hasStandardBrowserWebWorkerEnv:Ok,navigator:Rc,origin:Ak},Symbol.toStringTag,{value:"Module"})),...Rk};function _k(e,t){return ll(e,new We.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return We.isNode&&T.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Nk(e){return T.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function $k(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}function Im(e){function t(n,r,o,i){let s=n[i++];if(s==="__proto__")return!0;const l=Number.isFinite(+s),a=i>=n.length;return s=!s&&T.isArray(o)?o.length:s,a?(T.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!l):((!o[s]||!T.isObject(o[s]))&&(o[s]=[]),t(n,r,o[s],i)&&T.isArray(o[s])&&(o[s]=$k(o[s])),!l)}if(T.isFormData(e)&&T.isFunction(e.entries)){const n={};return T.forEachEntry(e,(r,o)=>{t(Nk(r),o,n,0)}),n}return null}function Mk(e,t,n){if(T.isString(e))try{return(t||JSON.parse)(e),T.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Yo={transitional:Bm,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=T.isObject(t);if(i&&T.isHTMLForm(t)&&(t=new FormData(t)),T.isFormData(t))return o?JSON.stringify(Im(t)):t;if(T.isArrayBuffer(t)||T.isBuffer(t)||T.isStream(t)||T.isFile(t)||T.isBlob(t)||T.isReadableStream(t))return t;if(T.isArrayBufferView(t))return t.buffer;if(T.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return _k(t,this.formSerializer).toString();if((l=T.isFileList(t))||r.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return ll(l?{"files[]":t}:t,a&&new a,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),Mk(t)):t}],transformResponse:[function(t){const n=this.transitional||Yo.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(T.isResponse(t)||T.isReadableStream(t))return t;if(t&&T.isString(t)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(s)throw l.name==="SyntaxError"?U.from(l,U.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:We.classes.FormData,Blob:We.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};T.forEach(["delete","get","head","post","put","patch"],e=>{Yo.headers[e]={}});const Bk=T.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ik=e=>{const t={};let n,r,o;return e&&e.split(`
|
|
171
|
-
`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||t[n]&&Bk[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Lm=Symbol("internals");function Xo(e){return e&&String(e).trim().toLowerCase()}function al(e){return e===!1||e==null?e:T.isArray(e)?e.map(al):String(e)}function Lk(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const zk=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Pc(e,t,n,r,o){if(T.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!T.isString(t)){if(T.isString(r))return t.indexOf(r)!==-1;if(T.isRegExp(r))return r.test(t)}}function jk(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Dk(e,t){const n=T.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,s){return this[r].call(this,t,o,i,s)},configurable:!0})})}class Ve{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(l,a,u){const c=Xo(a);if(!c)throw new Error("header name must be a non-empty string");const f=T.findKey(o,c);(!f||o[f]===void 0||u===!0||u===void 0&&o[f]!==!1)&&(o[f||a]=al(l))}const s=(l,a)=>T.forEach(l,(u,c)=>i(u,c,a));if(T.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(T.isString(t)&&(t=t.trim())&&!zk(t))s(Ik(t),n);else if(T.isHeaders(t))for(const[l,a]of t.entries())i(a,l,r);else t!=null&&i(n,t,r);return this}get(t,n){if(t=Xo(t),t){const r=T.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return Lk(o);if(T.isFunction(n))return n.call(this,o,r);if(T.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Xo(t),t){const r=T.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Pc(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(s){if(s=Xo(s),s){const l=T.findKey(r,s);l&&(!n||Pc(r,r[l],l,n))&&(delete r[l],o=!0)}}return T.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||Pc(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return T.forEach(this,(o,i)=>{const s=T.findKey(r,i);if(s){n[s]=al(o),delete n[i];return}const l=t?jk(i):String(i).trim();l!==i&&delete n[i],n[l]=al(o),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return T.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&T.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
172
|
-
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Lm]=this[Lm]={accessors:{}}).accessors,o=this.prototype;function i(s){const l=Xo(s);r[l]||(Dk(o,s),r[l]=!0)}return T.isArray(t)?t.forEach(i):i(t),this}}Ve.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),T.reduceDescriptors(Ve.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),T.freezeMethods(Ve);function Oc(e,t){const n=this||Yo,r=t||n,o=Ve.from(r.headers);let i=r.data;return T.forEach(e,function(l){i=l.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function zm(e){return!!(e&&e.__CANCEL__)}function zr(e,t,n){U.call(this,e??"canceled",U.ERR_CANCELED,t,n),this.name="CanceledError"}T.inherits(zr,U,{__CANCEL__:!0});function jm(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new U("Request failed with status code "+n.status,[U.ERR_BAD_REQUEST,U.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Fk(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Uk(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(a){const u=Date.now(),c=r[i];s||(s=u),n[o]=a,r[o]=u;let f=i,m=0;for(;f!==o;)m+=n[f++],f=f%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),u-s<t)return;const S=c&&u-c;return S?Math.round(m*1e3/S):void 0}}function Hk(e,t){let n=0,r=1e3/t,o,i;const s=(u,c=Date.now())=>{n=c,o=null,i&&(clearTimeout(i),i=null),e.apply(null,u)};return[(...u)=>{const c=Date.now(),f=c-n;f>=r?s(u,c):(o=u,i||(i=setTimeout(()=>{i=null,s(o)},r-f)))},()=>o&&s(o)]}const ul=(e,t,n=3)=>{let r=0;const o=Uk(50,250);return Hk(i=>{const s=i.loaded,l=i.lengthComputable?i.total:void 0,a=s-r,u=o(a),c=s<=l;r=s;const f={loaded:s,total:l,progress:l?s/l:void 0,bytes:a,rate:u||void 0,estimated:u&&l&&c?(l-s)/u:void 0,event:i,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(f)},n)},Dm=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Fm=e=>(...t)=>T.asap(()=>e(...t)),Wk=We.hasStandardBrowserEnv?function(){const t=We.navigator&&/(msie|trident)/i.test(We.navigator.userAgent),n=document.createElement("a");let r;function o(i){let s=i;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(s){const l=T.isString(s)?o(s):s;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}(),Vk=We.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const s=[e+"="+encodeURIComponent(t)];T.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),T.isString(r)&&s.push("path="+r),T.isString(o)&&s.push("domain="+o),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Kk(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Gk(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Um(e,t){return e&&!Kk(t)?Gk(e,t):t}const Hm=e=>e instanceof Ve?{...e}:e;function Qn(e,t){t=t||{};const n={};function r(u,c,f){return T.isPlainObject(u)&&T.isPlainObject(c)?T.merge.call({caseless:f},u,c):T.isPlainObject(c)?T.merge({},c):T.isArray(c)?c.slice():c}function o(u,c,f){if(T.isUndefined(c)){if(!T.isUndefined(u))return r(void 0,u,f)}else return r(u,c,f)}function i(u,c){if(!T.isUndefined(c))return r(void 0,c)}function s(u,c){if(T.isUndefined(c)){if(!T.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function l(u,c,f){if(f in t)return r(u,c);if(f in e)return r(void 0,u)}const a={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(u,c)=>o(Hm(u),Hm(c),!0)};return T.forEach(Object.keys(Object.assign({},e,t)),function(c){const f=a[c]||o,m=f(e[c],t[c],c);T.isUndefined(m)&&f!==l||(n[c]=m)}),n}const Wm=e=>{const t=Qn({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:l}=t;t.headers=s=Ve.from(s),t.url=$m(Um(t.baseURL,t.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let a;if(T.isFormData(n)){if(We.hasStandardBrowserEnv||We.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((a=s.getContentType())!==!1){const[u,...c]=a?a.split(";").map(f=>f.trim()).filter(Boolean):[];s.setContentType([u||"multipart/form-data",...c].join("; "))}}if(We.hasStandardBrowserEnv&&(r&&T.isFunction(r)&&(r=r(t)),r||r!==!1&&Wk(t.url))){const u=o&&i&&Vk.read(i);u&&s.set(o,u)}return t},Qk=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){const o=Wm(e);let i=o.data;const s=Ve.from(o.headers).normalize();let{responseType:l,onUploadProgress:a,onDownloadProgress:u}=o,c,f,m,S,d;function v(){S&&S(),d&&d(),o.cancelToken&&o.cancelToken.unsubscribe(c),o.signal&&o.signal.removeEventListener("abort",c)}let x=new XMLHttpRequest;x.open(o.method.toUpperCase(),o.url,!0),x.timeout=o.timeout;function g(){if(!x)return;const p=Ve.from("getAllResponseHeaders"in x&&x.getAllResponseHeaders()),k={data:!l||l==="text"||l==="json"?x.responseText:x.response,status:x.status,statusText:x.statusText,headers:p,config:e,request:x};jm(function(C){n(C),v()},function(C){r(C),v()},k),x=null}"onloadend"in x?x.onloadend=g:x.onreadystatechange=function(){!x||x.readyState!==4||x.status===0&&!(x.responseURL&&x.responseURL.indexOf("file:")===0)||setTimeout(g)},x.onabort=function(){x&&(r(new U("Request aborted",U.ECONNABORTED,e,x)),x=null)},x.onerror=function(){r(new U("Network Error",U.ERR_NETWORK,e,x)),x=null},x.ontimeout=function(){let w=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const k=o.transitional||Bm;o.timeoutErrorMessage&&(w=o.timeoutErrorMessage),r(new U(w,k.clarifyTimeoutError?U.ETIMEDOUT:U.ECONNABORTED,e,x)),x=null},i===void 0&&s.setContentType(null),"setRequestHeader"in x&&T.forEach(s.toJSON(),function(w,k){x.setRequestHeader(k,w)}),T.isUndefined(o.withCredentials)||(x.withCredentials=!!o.withCredentials),l&&l!=="json"&&(x.responseType=o.responseType),u&&([m,d]=ul(u,!0),x.addEventListener("progress",m)),a&&x.upload&&([f,S]=ul(a),x.upload.addEventListener("progress",f),x.upload.addEventListener("loadend",S)),(o.cancelToken||o.signal)&&(c=p=>{x&&(r(!p||p.type?new zr(null,e,x):p),x.abort(),x=null)},o.cancelToken&&o.cancelToken.subscribe(c),o.signal&&(o.signal.aborted?c():o.signal.addEventListener("abort",c)));const h=Fk(o.url);if(h&&We.protocols.indexOf(h)===-1){r(new U("Unsupported protocol "+h+":",U.ERR_BAD_REQUEST,e));return}x.send(i||null)})},qk=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const i=function(u){if(!o){o=!0,l();const c=u instanceof Error?u:this.reason;r.abort(c instanceof U?c:new zr(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{s=null,i(new U(`timeout ${t} of ms exceeded`,U.ETIMEDOUT))},t);const l=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(i):u.removeEventListener("abort",i)}),e=null)};e.forEach(u=>u.addEventListener("abort",i));const{signal:a}=r;return a.unsubscribe=()=>T.asap(l),a}},Yk=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,o;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},Xk=async function*(e,t){for await(const n of Jk(e))yield*Yk(n,t)},Jk=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},Vm=(e,t,n,r)=>{const o=Xk(e,t);let i=0,s,l=a=>{s||(s=!0,r&&r(a))};return new ReadableStream({async pull(a){try{const{done:u,value:c}=await o.next();if(u){l(),a.close();return}let f=c.byteLength;if(n){let m=i+=f;n(m)}a.enqueue(new Uint8Array(c))}catch(u){throw l(u),u}},cancel(a){return l(a),o.return()}},{highWaterMark:2})},cl=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Km=cl&&typeof ReadableStream=="function",Zk=cl&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Gm=(e,...t)=>{try{return!!e(...t)}catch{return!1}},eC=Km&&Gm(()=>{let e=!1;const t=new Request(We.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Qm=64*1024,Ac=Km&&Gm(()=>T.isReadableStream(new Response("").body)),fl={stream:Ac&&(e=>e.body)};cl&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!fl[t]&&(fl[t]=T.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new U(`Response type '${t}' is not supported`,U.ERR_NOT_SUPPORT,r)})})})(new Response);const tC=async e=>{if(e==null)return 0;if(T.isBlob(e))return e.size;if(T.isSpecCompliantForm(e))return(await new Request(We.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(T.isArrayBufferView(e)||T.isArrayBuffer(e))return e.byteLength;if(T.isURLSearchParams(e)&&(e=e+""),T.isString(e))return(await Zk(e)).byteLength},nC=async(e,t)=>{const n=T.toFiniteNumber(e.getContentLength());return n??tC(t)},_c={http:Ck,xhr:Qk,fetch:cl&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:s,onDownloadProgress:l,onUploadProgress:a,responseType:u,headers:c,withCredentials:f="same-origin",fetchOptions:m}=Wm(e);u=u?(u+"").toLowerCase():"text";let S=qk([o,i&&i.toAbortSignal()],s),d;const v=S&&S.unsubscribe&&(()=>{S.unsubscribe()});let x;try{if(a&&eC&&n!=="get"&&n!=="head"&&(x=await nC(c,r))!==0){let k=new Request(t,{method:"POST",body:r,duplex:"half"}),E;if(T.isFormData(r)&&(E=k.headers.get("content-type"))&&c.setContentType(E),k.body){const[C,O]=Dm(x,ul(Fm(a)));r=Vm(k.body,Qm,C,O)}}T.isString(f)||(f=f?"include":"omit");const g="credentials"in Request.prototype;d=new Request(t,{...m,signal:S,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:r,duplex:"half",credentials:g?f:void 0});let h=await fetch(d);const p=Ac&&(u==="stream"||u==="response");if(Ac&&(l||p&&v)){const k={};["status","statusText","headers"].forEach(y=>{k[y]=h[y]});const E=T.toFiniteNumber(h.headers.get("content-length")),[C,O]=l&&Dm(E,ul(Fm(l),!0))||[];h=new Response(Vm(h.body,Qm,C,()=>{O&&O(),v&&v()}),k)}u=u||"text";let w=await fl[T.findKey(fl,u)||"text"](h,e);return!p&&v&&v(),await new Promise((k,E)=>{jm(k,E,{data:w,headers:Ve.from(h.headers),status:h.status,statusText:h.statusText,config:e,request:d})})}catch(g){throw v&&v(),g&&g.name==="TypeError"&&/fetch/i.test(g.message)?Object.assign(new U("Network Error",U.ERR_NETWORK,e,d),{cause:g.cause||g}):U.from(g,g&&g.code,e,d)}})};T.forEach(_c,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const qm=e=>`- ${e}`,rC=e=>T.isFunction(e)||e===null||e===!1,Ym={getAdapter:e=>{e=T.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){n=e[i];let s;if(r=n,!rC(n)&&(r=_c[(s=String(n)).toLowerCase()],r===void 0))throw new U(`Unknown adapter '${s}'`);if(r)break;o[s||"#"+i]=r}if(!r){const i=Object.entries(o).map(([l,a])=>`adapter ${l} `+(a===!1?"is not supported by the environment":"is not available in the build"));let s=t?i.length>1?`since :
|
|
173
|
-
`+i.map(qm).join(`
|
|
174
|
-
`):" "+qm(i[0]):"as no adapter specified";throw new U("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:_c};function Nc(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new zr(null,e)}function Xm(e){return Nc(e),e.headers=Ve.from(e.headers),e.data=Oc.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ym.getAdapter(e.adapter||Yo.adapter)(e).then(function(r){return Nc(e),r.data=Oc.call(e,e.transformResponse,r),r.headers=Ve.from(r.headers),r},function(r){return zm(r)||(Nc(e),r&&r.response&&(r.response.data=Oc.call(e,e.transformResponse,r.response),r.response.headers=Ve.from(r.response.headers))),Promise.reject(r)})}const Jm="1.7.7",$c={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{$c[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Zm={};$c.transitional=function(t,n,r){function o(i,s){return"[Axios v"+Jm+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,l)=>{if(t===!1)throw new U(o(s," has been removed"+(n?" in "+n:"")),U.ERR_DEPRECATED);return n&&!Zm[s]&&(Zm[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,s,l):!0}};function oC(e,t,n){if(typeof e!="object")throw new U("options must be an object",U.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],s=t[i];if(s){const l=e[i],a=l===void 0||s(l,i,e);if(a!==!0)throw new U("option "+i+" must be "+a,U.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new U("Unknown option "+i,U.ERR_BAD_OPTION)}}const Mc={assertOptions:oC,validators:$c},bn=Mc.validators;class qn{constructor(t){this.defaults=t,this.interceptors={request:new Mm,response:new Mm}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
|
175
|
-
`+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Qn(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&Mc.assertOptions(r,{silentJSONParsing:bn.transitional(bn.boolean),forcedJSONParsing:bn.transitional(bn.boolean),clarifyTimeoutError:bn.transitional(bn.boolean)},!1),o!=null&&(T.isFunction(o)?n.paramsSerializer={serialize:o}:Mc.assertOptions(o,{encode:bn.function,serialize:bn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&T.merge(i.common,i[n.method]);i&&T.forEach(["delete","get","head","post","put","patch","common"],d=>{delete i[d]}),n.headers=Ve.concat(s,i);const l=[];let a=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(a=a&&v.synchronous,l.unshift(v.fulfilled,v.rejected))});const u=[];this.interceptors.response.forEach(function(v){u.push(v.fulfilled,v.rejected)});let c,f=0,m;if(!a){const d=[Xm.bind(this),void 0];for(d.unshift.apply(d,l),d.push.apply(d,u),m=d.length,c=Promise.resolve(n);f<m;)c=c.then(d[f++],d[f++]);return c}m=l.length;let S=n;for(f=0;f<m;){const d=l[f++],v=l[f++];try{S=d(S)}catch(x){v.call(this,x);break}}try{c=Xm.call(this,S)}catch(d){return Promise.reject(d)}for(f=0,m=u.length;f<m;)c=c.then(u[f++],u[f++]);return c}getUri(t){t=Qn(this.defaults,t);const n=Um(t.baseURL,t.url);return $m(n,t.params,t.paramsSerializer)}}T.forEach(["delete","get","head","options"],function(t){qn.prototype[t]=function(n,r){return this.request(Qn(r||{},{method:t,url:n,data:(r||{}).data}))}}),T.forEach(["post","put","patch"],function(t){function n(r){return function(i,s,l){return this.request(Qn(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}qn.prototype[t]=n(),qn.prototype[t+"Form"]=n(!0)});class Bc{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(l=>{r.subscribe(l),i=l}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},t(function(i,s,l){r.reason||(r.reason=new zr(i,s,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Bc(function(o){t=o}),cancel:t}}}function iC(e){return function(n){return e.apply(null,n)}}function sC(e){return T.isObject(e)&&e.isAxiosError===!0}const Ic={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ic).forEach(([e,t])=>{Ic[t]=e});function e0(e){const t=new qn(e),n=ym(qn.prototype.request,t);return T.extend(n,qn.prototype,t,{allOwnKeys:!0}),T.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return e0(Qn(e,o))},n}const pe=e0(Yo);pe.Axios=qn,pe.CanceledError=zr,pe.CancelToken=Bc,pe.isCancel=zm,pe.VERSION=Jm,pe.toFormData=ll,pe.AxiosError=U,pe.Cancel=pe.CanceledError,pe.all=function(t){return Promise.all(t)},pe.spread=iC,pe.isAxiosError=sC,pe.mergeConfig=Qn,pe.AxiosHeaders=Ve,pe.formToJSON=e=>Im(T.isHTMLForm(e)?new FormData(e):e),pe.getAdapter=Ym.getAdapter,pe.HttpStatusCode=Ic,pe.default=pe;const lC=(e,t,n,r)=>{const[o,i]=P.useState(!1),[s,l]=P.useState(null),a=S=>{for(const d of S){if(d.type_id===2)return d;if(d.children&&d.children.length>0){const v=a(d.children);if(v)return v}}return null},u=(S,d)=>{if(!S||!S.type_id)return null;switch(S.type_id){case 1:case 4:return{id:S.id,text:S.data,isBot:!0};case 8:return{id:S.id,imageUrl:`${d}/${S.data}`,isImage:!0};case 9:return{id:S.id,videoUrl:S.data,isVideo:!0};case 10:return{id:S.id,url:`${d}/${S.data}`,isPdf:!0,filename:S.title};case 11:return{id:S.id,audioUrl:`${d}/${S.data}`,isAudio:!0};case 6:return{id:S.id,title:S.title,data:S.data,isLink:!0};default:return null}},c=(S,d,v,x)=>{const g=[];g.push({id:`${S.id}-menu-data`,text:S.data,isBot:!0});const h=S.children.map(p=>({id:p.id,text:p.title}));return g.push({id:S.id,isMenu:!0,options:h}),g},f=(S,d,v,x)=>{const g=[];return S.forEach(h=>{if(h.type_id===2)g.push(...c(h));else{const p=u(h,v);p&&g.push(p)}h.children&&h.children.length>0&&g.push(...f(h.children,d,v))}),g};return{loadingMessage:o,fetchPartialFlow:async(S,d)=>{try{i(!0);const x=(await pe.get(`https://animalogic.anima.bot/api/connect/${S}/${t}`,{headers:{uid:r}})).data.nodes||[];if(!s){const h=a(x);h&&l(h.id)}f(x,s,e,d).forEach((h,p)=>{setTimeout(()=>{n(w=>[...w,h])},p*300)}),i(!1)}catch(v){console.error("Error al solicitar flujo parcial:",v)}finally{}},setMessages:n,mainMenuId:s}};/*! js-cookie v3.0.5 | MIT */function dl(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var aC={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Lc(e,t){function n(o,i,s){if(!(typeof document>"u")){s=dl({},t,s),typeof s.expires=="number"&&(s.expires=new Date(Date.now()+s.expires*864e5)),s.expires&&(s.expires=s.expires.toUTCString()),o=encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var a in s)s[a]&&(l+="; "+a,s[a]!==!0&&(l+="="+s[a].split(";")[0]));return document.cookie=o+"="+e.write(i,o)+l}}function r(o){if(!(typeof document>"u"||arguments.length&&!o)){for(var i=document.cookie?document.cookie.split("; "):[],s={},l=0;l<i.length;l++){var a=i[l].split("="),u=a.slice(1).join("=");try{var c=decodeURIComponent(a[0]);if(s[c]=e.read(u,c),o===c)break}catch{}}return o?s[o]:s}}return Object.create({set:n,get:r,remove:function(o,i){n(o,"",dl({},i,{expires:-1}))},withAttributes:function(o){return Lc(this.converter,dl({},this.attributes,o))},withConverter:function(o){return Lc(dl({},this.converter,o),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var t0=Lc(aC,{path:"/"});const uC=({configuration:e,pathUrl:t,hash:n})=>{const[r,o]=P.useState(!1),[i,s]=P.useState([]),[l,a]=P.useState([]),[u,c]=P.useState(null),{loadingMessage:f,fetchPartialFlow:m,mainMenuId:S}=lC(t,n,s,u);P.useEffect(()=>{const x=t0.get("chatUid");console.log("existingUid",x),x?c(x):(async()=>{try{const h=await pe.get(`https://animalogic.anima.bot/api/connect/stats/new-user/${n}`);if(h.data&&h.data.uid){const p=h.data.uid;t0.set("chatUid",p,{expires:1}),c(p)}}catch(h){console.error("Error solicitando nuevo UID:",h)}})()},[n]),P.useEffect(()=>{u&&i.length===0&&m(0,[])},[u]);const d=()=>{o(x=>!x)},v=[];if(S&&S!==l[l.length-1]&&l.length>0&&v.push({id:S,text:"Menú principal",key:"main"}),l.length>1){const x=l[l.length-2];v.push({id:x,text:"Menú anterior",key:"back"})}return A.jsxs(A.Fragment,{children:[!r&&A.jsx(vx,{onClick:d,configuration:e}),r&&u&&A.jsx(Lx,{onClose:d,configuration:e,open:r,sessionToken:u,messages:i,setMessages:s,menuStack:l,setMenuStack:a,loadingMessage:f,navigationOptions:v,fetchPartialFlow:m,mainMenuId:S})]})};let jr=null;function cC(e){const t={};return Object.values(e).forEach(n=>{n.value==="1"?t[n.key]=!0:n.value==="0"?t[n.key]=!1:t[n.key]=n.value}),t}async function fC(e){try{const n=(await pe.get(`https://animalogic.anima.bot/api/connect/${e}`)).data,r=cC(n.configuration);return console.log("Chatbot Configuration:",r),{config:r,pathUrl:n.path}}catch(t){throw console.error("Error fetching chatbot configuration:",t),t}}function dC(e){if(!e){console.error("Se requiere un hash para inicializar el chatbot");return}let t=document.getElementById("chatbot-container");t||(t=document.createElement("div"),t.id="chatbot-container",t.style.position="fixed",t.style.zIndex="9999",t.style.bottom="0",t.style.left="0",document.body.appendChild(t)),jr||(jr=wl.createRoot(t)),fC(e).then(({config:n,pathUrl:r})=>{jr.render(A.jsx(uC,{configuration:n,pathUrl:r,hash:e}))}).catch(()=>{console.error("No se pudo inicializar el chatbot")})}function pC(){if(jr){jr.unmount(),jr=null;const e=document.getElementById("chatbot-container");e&&e.remove()}}window.initChatbot=dC,window.destroyChatbot=pC});
|
|
214
|
+
`,document.head.appendChild(C),()=>{document.head.removeChild(C)}},[]);const f=()=>{v.current&&rv(v.current)},S=(C,R,T)=>{m(null),T==="main"?(o(P=>[...P.filter(y=>!y.isMenu),{id:Date.now(),text:R,isBot:!1}]),s([]),u(c,[])):T==="back"?(o(P=>[...P.filter(y=>!y.isMenu),{id:Date.now(),text:R,isBot:!1}]),s(P=>{const y=P.slice(0,-1),k=y[y.length-1];return u(k,y),y})):(o(P=>[...P.filter(y=>!y.isMenu),{id:Date.now(),text:R,isBot:!1}]),s(P=>[...P,C]),u(C,[...i,C]))};return E.jsx(Na,{in:n,timeout:500,children:E.jsxs(Gi,{style:UT(t.isAvatarLeft,p),children:[E.jsx(k2,{configuration:t,onClose:e}),E.jsx("div",{style:HT(t.isChatWindowBackgroundColor,t.chatWindowBackgroundColor,t.chatWindowBackground),className:"window",ref:v,children:E.jsx(VT,{messages:r,configuration:t,handleOptionClick:S,loadingMessage:l,fontFamily:p,onOptionRendered:f,navigationOptions:a,smoothScrollToBottom:g,sessionToken:d,setMessages:o,fetchPartialFlow:u,menuStack:i,setMenuStack:s,hash:h,handleKnowledgeBaseSend:x,activeForm:w,setActiveForm:m})})]})})},qT=(e,t,n,r)=>{const[o,i]=b.useState(!1),[s,l]=b.useState(null),a=p=>{for(const v of p){if(v.type_id===2)return v;if(v.children&&v.children.length>0){const w=a(v.children);if(w)return w}}return null},u=(p,v)=>{if(!p||!p.type_id)return null;switch(p.type_id){case 1:case 4:return{id:p.id,text:p.data,isBot:!0};case 6:return{id:p.id,title:p.title,data:p.data,isLink:!0};case 8:return{id:p.id,imageUrl:`${v}/${p.data}`,isImage:!0};case 9:return{id:p.id,videoUrl:p.data,isVideo:!0};case 10:return{id:p.id,url:`${v}/${p.data}`,isPdf:!0,filename:p.title};case 11:return{id:p.id,audioUrl:`${v}/${p.data}`,isAudio:!0};case 14:{const w={};return p.data.split("|").forEach(g=>{const[f,S]=g.split("=");if(!f||!S)return;const C=f.trim(),R=S.trim();w[C]=R}),{id:p.id,isBot:!0,isForm:!0,answered:!1,formData:w}}default:return null}},c=(p,v,w,m)=>{const g=[];g.push({id:`${p.id}-menu-data`,text:p.data,isBot:!0});const f=p.children.map(S=>({id:S.id,text:S.title}));return g.push({id:p.id,isMenu:!0,options:f}),g},d=(p,v,w,m)=>{const g=[];return p.forEach(f=>{if(f.type_id===2)g.push(...c(f));else{const S=u(f,w);S&&g.push(S)}f.children&&f.children.length>0&&g.push(...d(f.children,v,w))}),g};return{loadingMessage:o,fetchPartialFlow:async(p,v)=>{try{i(!0);const m=(await Oe.get(`https://animalogic.anima.bot/api/connect/${p}/${t}`,{headers:{uid:r}})).data.nodes||[];if(!s){const f=a(m);f&&l(f.id)}d(m,s,e,v).forEach((f,S)=>{setTimeout(()=>{n(C=>[...C,f])},S*300)}),i(!1)}catch(w){console.error("Error al solicitar flujo parcial:",w)}finally{}},setMessages:n,mainMenuId:s,handleKnowledgeBaseSend:async p=>{try{n(v=>[...v,{text:p,isBot:!1},{text:"Lo siento, pero no tengo una base de conocimiento para responder",isBot:!0}])}catch(v){console.error("Error",v)}}}};/*! js-cookie v3.0.5 | MIT */function Qa(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var GT={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Bf(e,t){function n(o,i,s){if(!(typeof document>"u")){s=Qa({},t,s),typeof s.expires=="number"&&(s.expires=new Date(Date.now()+s.expires*864e5)),s.expires&&(s.expires=s.expires.toUTCString()),o=encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var a in s)s[a]&&(l+="; "+a,s[a]!==!0&&(l+="="+s[a].split(";")[0]));return document.cookie=o+"="+e.write(i,o)+l}}function r(o){if(!(typeof document>"u"||arguments.length&&!o)){for(var i=document.cookie?document.cookie.split("; "):[],s={},l=0;l<i.length;l++){var a=i[l].split("="),u=a.slice(1).join("=");try{var c=decodeURIComponent(a[0]);if(s[c]=e.read(u,c),o===c)break}catch{}}return o?s[o]:s}}return Object.create({set:n,get:r,remove:function(o,i){n(o,"",Qa({},i,{expires:-1}))},withAttributes:function(o){return Bf(this.converter,Qa({},this.attributes,o))},withConverter:function(o){return Bf(Qa({},this.converter,o),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var ov=Bf(GT,{path:"/"});const QT=({configuration:e,pathUrl:t,hash:n})=>{const[r,o]=b.useState(!1),[i,s]=b.useState([]),[l,a]=b.useState([]),[u,c]=b.useState(null),{loadingMessage:d,fetchPartialFlow:h,mainMenuId:x,handleKnowledgeBaseSend:p}=qT(t,n,s,u);b.useEffect(()=>{const m=ov.get("chatUid");m?c(m):(async()=>{try{const f=await Oe.get(`https://animalogic.anima.bot/api/connect/stats/new-user/${n}`);if(f.data&&f.data.uid){const S=f.data.uid;ov.set("chatUid",S,{expires:1}),c(S)}}catch(f){console.error("Error solicitando nuevo UID:",f)}})()},[n]),b.useEffect(()=>{u&&i.length===0&&h(0,[])},[u]);const v=()=>{o(m=>!m)},w=[];if(x&&x!==l[l.length-1]&&l.length>0&&w.push({id:x,text:"Menú principal",key:"main"}),l.length>1){const m=l[l.length-2];w.push({id:m,text:"Menú anterior",key:"back"})}return E.jsxs(E.Fragment,{children:[!r&&E.jsx(b2,{onClick:v,configuration:e}),r&&u&&E.jsx(KT,{onClose:v,configuration:e,open:r,sessionToken:u,messages:i,setMessages:s,menuStack:l,setMenuStack:a,loadingMessage:d,navigationOptions:w,fetchPartialFlow:h,mainMenuId:x,hash:n,handleKnowledgeBaseSend:p})]})};let Bo=null;function XT(e){const t={};return Object.values(e).forEach(n=>{n.value==="1"?t[n.key]=!0:n.value==="0"?t[n.key]=!1:t[n.key]=n.value}),t}async function YT(e){try{const n=(await Oe.get(`https://animalogic.anima.bot/api/connect/${e}`)).data;return{config:XT(n.configuration),pathUrl:n.path}}catch(t){throw console.error("Error fetching chatbot configuration:",t),t}}function ZT(e){if(!e){console.error("Se requiere un hash para inicializar el chatbot");return}let t=document.getElementById("chatbot-container");t||(t=document.createElement("div"),t.id="chatbot-container",t.style.position="fixed",t.style.zIndex="9999",t.style.bottom="0",t.style.left="0",document.body.appendChild(t)),Bo||(Bo=nu.createRoot(t)),YT(e).then(({config:n,pathUrl:r})=>{Bo.render(E.jsx(QT,{configuration:n,pathUrl:r,hash:e}))}).catch(()=>{console.error("No se pudo inicializar el chatbot")})}function JT(){if(Bo){Bo.unmount(),Bo=null;const e=document.getElementById("chatbot-container");e&&e.remove()}}window.initChatbot=ZT,window.destroyChatbot=JT});
|