355 lines
422 KiB
JavaScript
355 lines
422 KiB
JavaScript
(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))s(a);new MutationObserver(a=>{for(const c of a)if(c.type==="childList")for(const u of c.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&s(u)}).observe(document,{childList:!0,subtree:!0});function i(a){const c={};return a.integrity&&(c.integrity=a.integrity),a.referrerPolicy&&(c.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?c.credentials="include":a.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function s(a){if(a.ep)return;a.ep=!0;const c=i(a);fetch(a.href,c)}})();var vm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qa(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Lw(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var n=t.default;if(typeof n=="function"){var i=function s(){return this instanceof s?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};i.prototype=n.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(t).forEach(function(s){var a=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(i,s,a.get?a:{enumerable:!0,get:function(){return t[s]}})}),i}var Ku={exports:{}},Ao={},Gu={exports:{}},_e={};/**
|
||
* @license React
|
||
* react.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var xm;function Vw(){if(xm)return _e;xm=1;var t=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.iterator;function w(F){return F===null||typeof F!="object"?null:(F=v&&F[v]||F["@@iterator"],typeof F=="function"?F:null)}var k={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},T=Object.assign,A={};function S(F,Q,ie){this.props=F,this.context=Q,this.refs=A,this.updater=ie||k}S.prototype.isReactComponent={},S.prototype.setState=function(F,Q){if(typeof F!="object"&&typeof F!="function"&&F!=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,F,Q,"setState")},S.prototype.forceUpdate=function(F){this.updater.enqueueForceUpdate(this,F,"forceUpdate")};function R(){}R.prototype=S.prototype;function O(F,Q,ie){this.props=F,this.context=Q,this.refs=A,this.updater=ie||k}var D=O.prototype=new R;D.constructor=O,T(D,S.prototype),D.isPureReactComponent=!0;var U=Array.isArray,H=Object.prototype.hasOwnProperty,q={current:null},b={key:!0,ref:!0,__self:!0,__source:!0};function E(F,Q,ie){var ae,re={},he=null,Ae=null;if(Q!=null)for(ae in Q.ref!==void 0&&(Ae=Q.ref),Q.key!==void 0&&(he=""+Q.key),Q)H.call(Q,ae)&&!b.hasOwnProperty(ae)&&(re[ae]=Q[ae]);var ge=arguments.length-2;if(ge===1)re.children=ie;else if(1<ge){for(var Te=Array(ge),we=0;we<ge;we++)Te[we]=arguments[we+2];re.children=Te}if(F&&F.defaultProps)for(ae in ge=F.defaultProps,ge)re[ae]===void 0&&(re[ae]=ge[ae]);return{$$typeof:t,type:F,key:he,ref:Ae,props:re,_owner:q.current}}function N(F,Q){return{$$typeof:t,type:F.type,key:Q,ref:F.ref,props:F.props,_owner:F._owner}}function _(F){return typeof F=="object"&&F!==null&&F.$$typeof===t}function V(F){var Q={"=":"=0",":":"=2"};return"$"+F.replace(/[=:]/g,function(ie){return Q[ie]})}var j=/\/+/g;function se(F,Q){return typeof F=="object"&&F!==null&&F.key!=null?V(""+F.key):Q.toString(36)}function pe(F,Q,ie,ae,re){var he=typeof F;(he==="undefined"||he==="boolean")&&(F=null);var Ae=!1;if(F===null)Ae=!0;else switch(he){case"string":case"number":Ae=!0;break;case"object":switch(F.$$typeof){case t:case n:Ae=!0}}if(Ae)return Ae=F,re=re(Ae),F=ae===""?"."+se(Ae,0):ae,U(re)?(ie="",F!=null&&(ie=F.replace(j,"$&/")+"/"),pe(re,Q,ie,"",function(we){return we})):re!=null&&(_(re)&&(re=N(re,ie+(!re.key||Ae&&Ae.key===re.key?"":(""+re.key).replace(j,"$&/")+"/")+F)),Q.push(re)),1;if(Ae=0,ae=ae===""?".":ae+":",U(F))for(var ge=0;ge<F.length;ge++){he=F[ge];var Te=ae+se(he,ge);Ae+=pe(he,Q,ie,Te,re)}else if(Te=w(F),typeof Te=="function")for(F=Te.call(F),ge=0;!(he=F.next()).done;)he=he.value,Te=ae+se(he,ge++),Ae+=pe(he,Q,ie,Te,re);else if(he==="object")throw Q=String(F),Error("Objects are not valid as a React child (found: "+(Q==="[object Object]"?"object with keys {"+Object.keys(F).join(", ")+"}":Q)+"). If you meant to render a collection of children, use an array instead.");return Ae}function Pe(F,Q,ie){if(F==null)return F;var ae=[],re=0;return pe(F,ae,"","",function(he){return Q.call(ie,he,re++)}),ae}function Ee(F){if(F._status===-1){var Q=F._result;Q=Q(),Q.then(function(ie){(F._status===0||F._status===-1)&&(F._status=1,F._result=ie)},function(ie){(F._status===0||F._status===-1)&&(F._status=2,F._result=ie)}),F._status===-1&&(F._status=0,F._result=Q)}if(F._status===1)return F._result.default;throw F._result}var ce={current:null},g={transition:null},L={ReactCurrentDispatcher:ce,ReactCurrentBatchConfig:g,ReactCurrentOwner:q};function B(){throw Error("act(...) is not supported in production builds of React.")}return _e.Children={map:Pe,forEach:function(F,Q,ie){Pe(F,function(){Q.apply(this,arguments)},ie)},count:function(F){var Q=0;return Pe(F,function(){Q++}),Q},toArray:function(F){return Pe(F,function(Q){return Q})||[]},only:function(F){if(!_(F))throw Error("React.Children.only expected to receive a single React element child.");return F}},_e.Component=S,_e.Fragment=i,_e.Profiler=a,_e.PureComponent=O,_e.StrictMode=s,_e.Suspense=h,_e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,_e.act=B,_e.cloneElement=function(F,Q,ie){if(F==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+F+".");var ae=T({},F.props),re=F.key,he=F.ref,Ae=F._owner;if(Q!=null){if(Q.ref!==void 0&&(he=Q.ref,Ae=q.current),Q.key!==void 0&&(re=""+Q.key),F.type&&F.type.defaultProps)var ge=F.type.defaultProps;for(Te in Q)H.call(Q,Te)&&!b.hasOwnProperty(Te)&&(ae[Te]=Q[Te]===void 0&&ge!==void 0?ge[Te]:Q[Te])}var Te=arguments.length-2;if(Te===1)ae.children=ie;else if(1<Te){ge=Array(Te);for(var we=0;we<Te;we++)ge[we]=arguments[we+2];ae.children=ge}return{$$typeof:t,type:F.type,key:re,ref:he,props:ae,_owner:Ae}},_e.createContext=function(F){return F={$$typeof:u,_currentValue:F,_currentValue2:F,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},F.Provider={$$typeof:c,_context:F},F.Consumer=F},_e.createElement=E,_e.createFactory=function(F){var Q=E.bind(null,F);return Q.type=F,Q},_e.createRef=function(){return{current:null}},_e.forwardRef=function(F){return{$$typeof:d,render:F}},_e.isValidElement=_,_e.lazy=function(F){return{$$typeof:m,_payload:{_status:-1,_result:F},_init:Ee}},_e.memo=function(F,Q){return{$$typeof:y,type:F,compare:Q===void 0?null:Q}},_e.startTransition=function(F){var Q=g.transition;g.transition={};try{F()}finally{g.transition=Q}},_e.unstable_act=B,_e.useCallback=function(F,Q){return ce.current.useCallback(F,Q)},_e.useContext=function(F){return ce.current.useContext(F)},_e.useDebugValue=function(){},_e.useDeferredValue=function(F){return ce.current.useDeferredValue(F)},_e.useEffect=function(F,Q){return ce.current.useEffect(F,Q)},_e.useId=function(){return ce.current.useId()},_e.useImperativeHandle=function(F,Q,ie){return ce.current.useImperativeHandle(F,Q,ie)},_e.useInsertionEffect=function(F,Q){return ce.current.useInsertionEffect(F,Q)},_e.useLayoutEffect=function(F,Q){return ce.current.useLayoutEffect(F,Q)},_e.useMemo=function(F,Q){return ce.current.useMemo(F,Q)},_e.useReducer=function(F,Q,ie){return ce.current.useReducer(F,Q,ie)},_e.useRef=function(F){return ce.current.useRef(F)},_e.useState=function(F){return ce.current.useState(F)},_e.useSyncExternalStore=function(F,Q,ie){return ce.current.useSyncExternalStore(F,Q,ie)},_e.useTransition=function(){return ce.current.useTransition()},_e.version="18.3.1",_e}var wm;function Zf(){return wm||(wm=1,Gu.exports=Vw()),Gu.exports}/**
|
||
* @license React
|
||
* react-jsx-runtime.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var Sm;function Bw(){if(Sm)return Ao;Sm=1;var t=Zf(),n=Symbol.for("react.element"),i=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function u(d,h,y){var m,v={},w=null,k=null;y!==void 0&&(w=""+y),h.key!==void 0&&(w=""+h.key),h.ref!==void 0&&(k=h.ref);for(m in h)s.call(h,m)&&!c.hasOwnProperty(m)&&(v[m]=h[m]);if(d&&d.defaultProps)for(m in h=d.defaultProps,h)v[m]===void 0&&(v[m]=h[m]);return{$$typeof:n,type:d,key:w,ref:k,props:v,_owner:a.current}}return Ao.Fragment=i,Ao.jsx=u,Ao.jsxs=u,Ao}var Em;function zw(){return Em||(Em=1,Ku.exports=Bw()),Ku.exports}var P=zw(),ha={},Qu={exports:{}},Mt={},Xu={exports:{}},Yu={};/**
|
||
* @license React
|
||
* scheduler.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var Pm;function Uw(){return Pm||(Pm=1,(function(t){function n(g,L){var B=g.length;g.push(L);e:for(;0<B;){var F=B-1>>>1,Q=g[F];if(0<a(Q,L))g[F]=L,g[B]=Q,B=F;else break e}}function i(g){return g.length===0?null:g[0]}function s(g){if(g.length===0)return null;var L=g[0],B=g.pop();if(B!==L){g[0]=B;e:for(var F=0,Q=g.length,ie=Q>>>1;F<ie;){var ae=2*(F+1)-1,re=g[ae],he=ae+1,Ae=g[he];if(0>a(re,B))he<Q&&0>a(Ae,re)?(g[F]=Ae,g[he]=B,F=he):(g[F]=re,g[ae]=B,F=ae);else if(he<Q&&0>a(Ae,B))g[F]=Ae,g[he]=B,F=he;else break e}}return L}function a(g,L){var B=g.sortIndex-L.sortIndex;return B!==0?B:g.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;t.unstable_now=function(){return c.now()}}else{var u=Date,d=u.now();t.unstable_now=function(){return u.now()-d}}var h=[],y=[],m=1,v=null,w=3,k=!1,T=!1,A=!1,S=typeof setTimeout=="function"?setTimeout:null,R=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function D(g){for(var L=i(y);L!==null;){if(L.callback===null)s(y);else if(L.startTime<=g)s(y),L.sortIndex=L.expirationTime,n(h,L);else break;L=i(y)}}function U(g){if(A=!1,D(g),!T)if(i(h)!==null)T=!0,Ee(H);else{var L=i(y);L!==null&&ce(U,L.startTime-g)}}function H(g,L){T=!1,A&&(A=!1,R(E),E=-1),k=!0;var B=w;try{for(D(L),v=i(h);v!==null&&(!(v.expirationTime>L)||g&&!V());){var F=v.callback;if(typeof F=="function"){v.callback=null,w=v.priorityLevel;var Q=F(v.expirationTime<=L);L=t.unstable_now(),typeof Q=="function"?v.callback=Q:v===i(h)&&s(h),D(L)}else s(h);v=i(h)}if(v!==null)var ie=!0;else{var ae=i(y);ae!==null&&ce(U,ae.startTime-L),ie=!1}return ie}finally{v=null,w=B,k=!1}}var q=!1,b=null,E=-1,N=5,_=-1;function V(){return!(t.unstable_now()-_<N)}function j(){if(b!==null){var g=t.unstable_now();_=g;var L=!0;try{L=b(!0,g)}finally{L?se():(q=!1,b=null)}}else q=!1}var se;if(typeof O=="function")se=function(){O(j)};else if(typeof MessageChannel<"u"){var pe=new MessageChannel,Pe=pe.port2;pe.port1.onmessage=j,se=function(){Pe.postMessage(null)}}else se=function(){S(j,0)};function Ee(g){b=g,q||(q=!0,se())}function ce(g,L){E=S(function(){g(t.unstable_now())},L)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(g){g.callback=null},t.unstable_continueExecution=function(){T||k||(T=!0,Ee(H))},t.unstable_forceFrameRate=function(g){0>g||125<g?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<g?Math.floor(1e3/g):5},t.unstable_getCurrentPriorityLevel=function(){return w},t.unstable_getFirstCallbackNode=function(){return i(h)},t.unstable_next=function(g){switch(w){case 1:case 2:case 3:var L=3;break;default:L=w}var B=w;w=L;try{return g()}finally{w=B}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(g,L){switch(g){case 1:case 2:case 3:case 4:case 5:break;default:g=3}var B=w;w=g;try{return L()}finally{w=B}},t.unstable_scheduleCallback=function(g,L,B){var F=t.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?F+B:F):B=F,g){case 1:var Q=-1;break;case 2:Q=250;break;case 5:Q=1073741823;break;case 4:Q=1e4;break;default:Q=5e3}return Q=B+Q,g={id:m++,callback:L,priorityLevel:g,startTime:B,expirationTime:Q,sortIndex:-1},B>F?(g.sortIndex=B,n(y,g),i(h)===null&&g===i(y)&&(A?(R(E),E=-1):A=!0,ce(U,B-F))):(g.sortIndex=Q,n(h,g),T||k||(T=!0,Ee(H))),g},t.unstable_shouldYield=V,t.unstable_wrapCallback=function(g){var L=w;return function(){var B=w;w=L;try{return g.apply(this,arguments)}finally{w=B}}}})(Yu)),Yu}var Tm;function $w(){return Tm||(Tm=1,Xu.exports=Uw()),Xu.exports}/**
|
||
* @license React
|
||
* react-dom.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var km;function Ww(){if(km)return Mt;km=1;var t=Zf(),n=$w();function i(e){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+e,o=1;o<arguments.length;o++)r+="&args[]="+encodeURIComponent(arguments[o]);return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var s=new Set,a={};function c(e,r){u(e,r),u(e+"Capture",r)}function u(e,r){for(a[e]=r,e=0;e<r.length;e++)s.add(r[e])}var d=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),h=Object.prototype.hasOwnProperty,y=/^[: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]*$/,m={},v={};function w(e){return h.call(v,e)?!0:h.call(m,e)?!1:y.test(e)?v[e]=!0:(m[e]=!0,!1)}function k(e,r,o,l){if(o!==null&&o.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return l?!1:o!==null?!o.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function T(e,r,o,l){if(r===null||typeof r>"u"||k(e,r,o,l))return!0;if(l)return!1;if(o!==null)switch(o.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function A(e,r,o,l,f,p,x){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=l,this.attributeNamespace=f,this.mustUseProperty=o,this.propertyName=e,this.type=r,this.sanitizeURL=p,this.removeEmptyString=x}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){S[e]=new A(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var r=e[0];S[r]=new A(r,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){S[e]=new A(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){S[e]=new A(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){S[e]=new A(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){S[e]=new A(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){S[e]=new A(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){S[e]=new A(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){S[e]=new A(e,5,!1,e.toLowerCase(),null,!1,!1)});var R=/[\-:]([a-z])/g;function O(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 r=e.replace(R,O);S[r]=new A(r,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var r=e.replace(R,O);S[r]=new A(r,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var r=e.replace(R,O);S[r]=new A(r,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){S[e]=new A(e,1,!1,e.toLowerCase(),null,!1,!1)}),S.xlinkHref=new A("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){S[e]=new A(e,1,!1,e.toLowerCase(),null,!0,!0)});function D(e,r,o,l){var f=S.hasOwnProperty(r)?S[r]:null;(f!==null?f.type!==0:l||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(T(r,o,f,l)&&(o=null),l||f===null?w(r)&&(o===null?e.removeAttribute(r):e.setAttribute(r,""+o)):f.mustUseProperty?e[f.propertyName]=o===null?f.type===3?!1:"":o:(r=f.attributeName,l=f.attributeNamespace,o===null?e.removeAttribute(r):(f=f.type,o=f===3||f===4&&o===!0?"":""+o,l?e.setAttributeNS(l,r,o):e.setAttribute(r,o))))}var U=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,H=Symbol.for("react.element"),q=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),V=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),se=Symbol.for("react.suspense"),pe=Symbol.for("react.suspense_list"),Pe=Symbol.for("react.memo"),Ee=Symbol.for("react.lazy"),ce=Symbol.for("react.offscreen"),g=Symbol.iterator;function L(e){return e===null||typeof e!="object"?null:(e=g&&e[g]||e["@@iterator"],typeof e=="function"?e:null)}var B=Object.assign,F;function Q(e){if(F===void 0)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);F=r&&r[1]||""}return`
|
||
`+F+e}var ie=!1;function ae(e,r){if(!e||ie)return"";ie=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch(K){var l=K}Reflect.construct(e,[],r)}else{try{r.call()}catch(K){l=K}e.call(r.prototype)}else{try{throw Error()}catch(K){l=K}e()}}catch(K){if(K&&l&&typeof K.stack=="string"){for(var f=K.stack.split(`
|
||
`),p=l.stack.split(`
|
||
`),x=f.length-1,C=p.length-1;1<=x&&0<=C&&f[x]!==p[C];)C--;for(;1<=x&&0<=C;x--,C--)if(f[x]!==p[C]){if(x!==1||C!==1)do if(x--,C--,0>C||f[x]!==p[C]){var M=`
|
||
`+f[x].replace(" at new "," at ");return e.displayName&&M.includes("<anonymous>")&&(M=M.replace("<anonymous>",e.displayName)),M}while(1<=x&&0<=C);break}}}finally{ie=!1,Error.prepareStackTrace=o}return(e=e?e.displayName||e.name:"")?Q(e):""}function re(e){switch(e.tag){case 5:return Q(e.type);case 16:return Q("Lazy");case 13:return Q("Suspense");case 19:return Q("SuspenseList");case 0:case 2:case 15:return e=ae(e.type,!1),e;case 11:return e=ae(e.type.render,!1),e;case 1:return e=ae(e.type,!0),e;default:return""}}function he(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 b:return"Fragment";case q:return"Portal";case N:return"Profiler";case E:return"StrictMode";case se:return"Suspense";case pe:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case V:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case j:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Pe:return r=e.displayName||null,r!==null?r:he(e.type)||"Memo";case Ee:r=e._payload,e=e._init;try{return he(e(r))}catch{}}return null}function Ae(e){var r=e.type;switch(e.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=r.render,e=e.displayName||e.name||"",r.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return he(r);case 8:return r===E?"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 r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r}return null}function ge(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Te(e){var r=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function we(e){var r=Te(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,r),l=""+e[r];if(!e.hasOwnProperty(r)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var f=o.get,p=o.set;return Object.defineProperty(e,r,{configurable:!0,get:function(){return f.call(this)},set:function(x){l=""+x,p.call(this,x)}}),Object.defineProperty(e,r,{enumerable:o.enumerable}),{getValue:function(){return l},setValue:function(x){l=""+x},stopTracking:function(){e._valueTracker=null,delete e[r]}}}}function je(e){e._valueTracker||(e._valueTracker=we(e))}function be(e){if(!e)return!1;var r=e._valueTracker;if(!r)return!0;var o=r.getValue(),l="";return e&&(l=Te(e)?e.checked?"true":"false":e.value),e=l,e!==o?(r.setValue(e),!0):!1}function Ve(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 Xe(e,r){var o=r.checked;return B({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??e._wrapperState.initialChecked})}function wt(e,r){var o=r.defaultValue==null?"":r.defaultValue,l=r.checked!=null?r.checked:r.defaultChecked;o=ge(r.value!=null?r.value:o),e._wrapperState={initialChecked:l,initialValue:o,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function et(e,r){r=r.checked,r!=null&&D(e,"checked",r,!1)}function ot(e,r){et(e,r);var o=ge(r.value),l=r.type;if(o!=null)l==="number"?(o===0&&e.value===""||e.value!=o)&&(e.value=""+o):e.value!==""+o&&(e.value=""+o);else if(l==="submit"||l==="reset"){e.removeAttribute("value");return}r.hasOwnProperty("value")?hn(e,r.type,o):r.hasOwnProperty("defaultValue")&&hn(e,r.type,ge(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(e.defaultChecked=!!r.defaultChecked)}function St(e,r,o){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var l=r.type;if(!(l!=="submit"&&l!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+e._wrapperState.initialValue,o||r===e.value||(e.value=r),e.defaultValue=r}o=e.name,o!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,o!==""&&(e.name=o)}function hn(e,r,o){(r!=="number"||Ve(e.ownerDocument)!==e)&&(o==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+o&&(e.defaultValue=""+o))}var Ct=Array.isArray;function st(e,r,o,l){if(e=e.options,r){r={};for(var f=0;f<o.length;f++)r["$"+o[f]]=!0;for(o=0;o<e.length;o++)f=r.hasOwnProperty("$"+e[o].value),e[o].selected!==f&&(e[o].selected=f),f&&l&&(e[o].defaultSelected=!0)}else{for(o=""+ge(o),r=null,f=0;f<e.length;f++){if(e[f].value===o){e[f].selected=!0,l&&(e[f].defaultSelected=!0);return}r!==null||e[f].disabled||(r=e[f])}r!==null&&(r.selected=!0)}}function mn(e,r){if(r.dangerouslySetInnerHTML!=null)throw Error(i(91));return B({},r,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function An(e,r){var o=r.value;if(o==null){if(o=r.children,r=r.defaultValue,o!=null){if(r!=null)throw Error(i(92));if(Ct(o)){if(1<o.length)throw Error(i(93));o=o[0]}r=o}r==null&&(r=""),o=r}e._wrapperState={initialValue:ge(o)}}function Cn(e,r){var o=ge(r.value),l=ge(r.defaultValue);o!=null&&(o=""+o,o!==e.value&&(e.value=o),r.defaultValue==null&&e.defaultValue!==o&&(e.defaultValue=o)),l!=null&&(e.defaultValue=""+l)}function ns(e){var r=e.textContent;r===e._wrapperState.initialValue&&r!==""&&r!==null&&(e.value=r)}function rs(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 Kr(e,r){return e==null||e==="http://www.w3.org/1999/xhtml"?rs(r):e==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Gr,qn=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,o,l,f){MSApp.execUnsafeLocalFunction(function(){return e(r,o,l,f)})}:e})(function(e,r){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=r;else{for(Gr=Gr||document.createElement("div"),Gr.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=Gr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;r.firstChild;)e.appendChild(r.firstChild)}});function Fn(e,r){if(r){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=r;return}}e.textContent=r}var Kn={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},dl=["Webkit","ms","Moz","O"];Object.keys(Kn).forEach(function(e){dl.forEach(function(r){r=r+e.charAt(0).toUpperCase()+e.substring(1),Kn[r]=Kn[e]})});function is(e,r,o){return r==null||typeof r=="boolean"||r===""?"":o||typeof r!="number"||r===0||Kn.hasOwnProperty(e)&&Kn[e]?(""+r).trim():r+"px"}function Qr(e,r){e=e.style;for(var o in r)if(r.hasOwnProperty(o)){var l=o.indexOf("--")===0,f=is(o,r[o],l);o==="float"&&(o="cssFloat"),l?e.setProperty(o,f):e[o]=f}}var Xr=B({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 W(e,r){if(r){if(Xr[e]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(i(137,e));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(i(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(i(61))}if(r.style!=null&&typeof r.style!="object")throw Error(i(62))}}function G(e,r){if(e.indexOf("-")===-1)return typeof r.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 Ce=null;function Re(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Oe=null,Se=null,Et=null;function yn(e){if(e=fo(e)){if(typeof Oe!="function")throw Error(i(280));var r=e.stateNode;r&&(r=Fs(r),Oe(e.stateNode,e.type,r))}}function pt(e){Se?Et?Et.push(e):Et=[e]:Se=e}function Jt(){if(Se){var e=Se,r=Et;if(Et=Se=null,yn(e),r)for(e=0;e<r.length;e++)yn(r[e])}}function Yr(e,r){return e(r)}function Nn(){}var Pt=!1;function zi(e,r,o){if(Pt)return e(r,o);Pt=!0;try{return Yr(e,r,o)}finally{Pt=!1,(Se!==null||Et!==null)&&(Nn(),Jt())}}function Gn(e,r){var o=e.stateNode;if(o===null)return null;var l=Fs(o);if(l===null)return null;o=l[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(i(231,r,typeof o));return o}var Jr=!1;if(d)try{var Zt={};Object.defineProperty(Zt,"passive",{get:function(){Jr=!0}}),window.addEventListener("test",Zt,Zt),window.removeEventListener("test",Zt,Zt)}catch{Jr=!1}function Ui(e,r,o,l,f,p,x,C,M){var K=Array.prototype.slice.call(arguments,3);try{r.apply(o,K)}catch(Z){this.onError(Z)}}var gn=!1,Qn=null,Xn=!1,Zr=null,os={onError:function(e){gn=!0,Qn=e}};function $i(e,r,o,l,f,p,x,C,M){gn=!1,Qn=null,Ui.apply(os,arguments)}function ss(e,r,o,l,f,p,x,C,M){if($i.apply(this,arguments),gn){if(gn){var K=Qn;gn=!1,Qn=null}else throw Error(i(198));Xn||(Xn=!0,Zr=K)}}function en(e){var r=e,o=e;if(e.alternate)for(;r.return;)r=r.return;else{e=r;do r=e,(r.flags&4098)!==0&&(o=r.return),e=r.return;while(e)}return r.tag===3?o:null}function Wi(e){if(e.tag===13){var r=e.memoizedState;if(r===null&&(e=e.alternate,e!==null&&(r=e.memoizedState)),r!==null)return r.dehydrated}return null}function as(e){if(en(e)!==e)throw Error(i(188))}function Hi(e){var r=e.alternate;if(!r){if(r=en(e),r===null)throw Error(i(188));return r!==e?null:e}for(var o=e,l=r;;){var f=o.return;if(f===null)break;var p=f.alternate;if(p===null){if(l=f.return,l!==null){o=l;continue}break}if(f.child===p.child){for(p=f.child;p;){if(p===o)return as(f),e;if(p===l)return as(f),r;p=p.sibling}throw Error(i(188))}if(o.return!==l.return)o=f,l=p;else{for(var x=!1,C=f.child;C;){if(C===o){x=!0,o=f,l=p;break}if(C===l){x=!0,l=f,o=p;break}C=C.sibling}if(!x){for(C=p.child;C;){if(C===o){x=!0,o=p,l=f;break}if(C===l){x=!0,l=p,o=f;break}C=C.sibling}if(!x)throw Error(i(189))}}if(o.alternate!==l)throw Error(i(190))}if(o.tag!==3)throw Error(i(188));return o.stateNode.current===o?e:r}function Rn(e){return e=Hi(e),e!==null?Pr(e):null}function Pr(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var r=Pr(e);if(r!==null)return r;e=e.sibling}return null}var ls=n.unstable_scheduleCallback,qi=n.unstable_cancelCallback,G1=n.unstable_shouldYield,Q1=n.unstable_requestPaint,Ge=n.unstable_now,X1=n.unstable_getCurrentPriorityLevel,pl=n.unstable_ImmediatePriority,Kd=n.unstable_UserBlockingPriority,us=n.unstable_NormalPriority,Y1=n.unstable_LowPriority,Gd=n.unstable_IdlePriority,cs=null,vn=null;function J1(e){if(vn&&typeof vn.onCommitFiberRoot=="function")try{vn.onCommitFiberRoot(cs,e,void 0,(e.current.flags&128)===128)}catch{}}var tn=Math.clz32?Math.clz32:tx,Z1=Math.log,ex=Math.LN2;function tx(e){return e>>>=0,e===0?32:31-(Z1(e)/ex|0)|0}var fs=64,ds=4194304;function Ki(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 ps(e,r){var o=e.pendingLanes;if(o===0)return 0;var l=0,f=e.suspendedLanes,p=e.pingedLanes,x=o&268435455;if(x!==0){var C=x&~f;C!==0?l=Ki(C):(p&=x,p!==0&&(l=Ki(p)))}else x=o&~f,x!==0?l=Ki(x):p!==0&&(l=Ki(p));if(l===0)return 0;if(r!==0&&r!==l&&(r&f)===0&&(f=l&-l,p=r&-r,f>=p||f===16&&(p&4194240)!==0))return r;if((l&4)!==0&&(l|=o&16),r=e.entangledLanes,r!==0)for(e=e.entanglements,r&=l;0<r;)o=31-tn(r),f=1<<o,l|=e[o],r&=~f;return l}function nx(e,r){switch(e){case 1:case 2:case 4:return r+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 r+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 rx(e,r){for(var o=e.suspendedLanes,l=e.pingedLanes,f=e.expirationTimes,p=e.pendingLanes;0<p;){var x=31-tn(p),C=1<<x,M=f[x];M===-1?((C&o)===0||(C&l)!==0)&&(f[x]=nx(C,r)):M<=r&&(e.expiredLanes|=C),p&=~C}}function hl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Qd(){var e=fs;return fs<<=1,(fs&4194240)===0&&(fs=64),e}function ml(e){for(var r=[],o=0;31>o;o++)r.push(e);return r}function Gi(e,r,o){e.pendingLanes|=r,r!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,r=31-tn(r),e[r]=o}function ix(e,r){var o=e.pendingLanes&~r;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=r,e.mutableReadLanes&=r,e.entangledLanes&=r,r=e.entanglements;var l=e.eventTimes;for(e=e.expirationTimes;0<o;){var f=31-tn(o),p=1<<f;r[f]=0,l[f]=-1,e[f]=-1,o&=~p}}function yl(e,r){var o=e.entangledLanes|=r;for(e=e.entanglements;o;){var l=31-tn(o),f=1<<l;f&r|e[l]&r&&(e[l]|=r),o&=~f}}var Me=0;function Xd(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Yd,gl,Jd,Zd,ep,vl=!1,hs=[],Yn=null,Jn=null,Zn=null,Qi=new Map,Xi=new Map,er=[],ox="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 tp(e,r){switch(e){case"focusin":case"focusout":Yn=null;break;case"dragenter":case"dragleave":Jn=null;break;case"mouseover":case"mouseout":Zn=null;break;case"pointerover":case"pointerout":Qi.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":Xi.delete(r.pointerId)}}function Yi(e,r,o,l,f,p){return e===null||e.nativeEvent!==p?(e={blockedOn:r,domEventName:o,eventSystemFlags:l,nativeEvent:p,targetContainers:[f]},r!==null&&(r=fo(r),r!==null&&gl(r)),e):(e.eventSystemFlags|=l,r=e.targetContainers,f!==null&&r.indexOf(f)===-1&&r.push(f),e)}function sx(e,r,o,l,f){switch(r){case"focusin":return Yn=Yi(Yn,e,r,o,l,f),!0;case"dragenter":return Jn=Yi(Jn,e,r,o,l,f),!0;case"mouseover":return Zn=Yi(Zn,e,r,o,l,f),!0;case"pointerover":var p=f.pointerId;return Qi.set(p,Yi(Qi.get(p)||null,e,r,o,l,f)),!0;case"gotpointercapture":return p=f.pointerId,Xi.set(p,Yi(Xi.get(p)||null,e,r,o,l,f)),!0}return!1}function np(e){var r=Tr(e.target);if(r!==null){var o=en(r);if(o!==null){if(r=o.tag,r===13){if(r=Wi(o),r!==null){e.blockedOn=r,ep(e.priority,function(){Jd(o)});return}}else if(r===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ms(e){if(e.blockedOn!==null)return!1;for(var r=e.targetContainers;0<r.length;){var o=wl(e.domEventName,e.eventSystemFlags,r[0],e.nativeEvent);if(o===null){o=e.nativeEvent;var l=new o.constructor(o.type,o);Ce=l,o.target.dispatchEvent(l),Ce=null}else return r=fo(o),r!==null&&gl(r),e.blockedOn=o,!1;r.shift()}return!0}function rp(e,r,o){ms(e)&&o.delete(r)}function ax(){vl=!1,Yn!==null&&ms(Yn)&&(Yn=null),Jn!==null&&ms(Jn)&&(Jn=null),Zn!==null&&ms(Zn)&&(Zn=null),Qi.forEach(rp),Xi.forEach(rp)}function Ji(e,r){e.blockedOn===r&&(e.blockedOn=null,vl||(vl=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,ax)))}function Zi(e){function r(f){return Ji(f,e)}if(0<hs.length){Ji(hs[0],e);for(var o=1;o<hs.length;o++){var l=hs[o];l.blockedOn===e&&(l.blockedOn=null)}}for(Yn!==null&&Ji(Yn,e),Jn!==null&&Ji(Jn,e),Zn!==null&&Ji(Zn,e),Qi.forEach(r),Xi.forEach(r),o=0;o<er.length;o++)l=er[o],l.blockedOn===e&&(l.blockedOn=null);for(;0<er.length&&(o=er[0],o.blockedOn===null);)np(o),o.blockedOn===null&&er.shift()}var ei=U.ReactCurrentBatchConfig,ys=!0;function lx(e,r,o,l){var f=Me,p=ei.transition;ei.transition=null;try{Me=1,xl(e,r,o,l)}finally{Me=f,ei.transition=p}}function ux(e,r,o,l){var f=Me,p=ei.transition;ei.transition=null;try{Me=4,xl(e,r,o,l)}finally{Me=f,ei.transition=p}}function xl(e,r,o,l){if(ys){var f=wl(e,r,o,l);if(f===null)Dl(e,r,l,gs,o),tp(e,l);else if(sx(f,e,r,o,l))l.stopPropagation();else if(tp(e,l),r&4&&-1<ox.indexOf(e)){for(;f!==null;){var p=fo(f);if(p!==null&&Yd(p),p=wl(e,r,o,l),p===null&&Dl(e,r,l,gs,o),p===f)break;f=p}f!==null&&l.stopPropagation()}else Dl(e,r,l,null,o)}}var gs=null;function wl(e,r,o,l){if(gs=null,e=Re(l),e=Tr(e),e!==null)if(r=en(e),r===null)e=null;else if(o=r.tag,o===13){if(e=Wi(r),e!==null)return e;e=null}else if(o===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;e=null}else r!==e&&(e=null);return gs=e,null}function ip(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(X1()){case pl:return 1;case Kd:return 4;case us:case Y1:return 16;case Gd:return 536870912;default:return 16}default:return 16}}var tr=null,Sl=null,vs=null;function op(){if(vs)return vs;var e,r=Sl,o=r.length,l,f="value"in tr?tr.value:tr.textContent,p=f.length;for(e=0;e<o&&r[e]===f[e];e++);var x=o-e;for(l=1;l<=x&&r[o-l]===f[p-l];l++);return vs=f.slice(e,1<l?1-l:void 0)}function xs(e){var r=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&r===13&&(e=13)):e=r,e===10&&(e=13),32<=e||e===13?e:0}function ws(){return!0}function sp(){return!1}function Lt(e){function r(o,l,f,p,x){this._reactName=o,this._targetInst=f,this.type=l,this.nativeEvent=p,this.target=x,this.currentTarget=null;for(var C in e)e.hasOwnProperty(C)&&(o=e[C],this[C]=o?o(p):p[C]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?ws:sp,this.isPropagationStopped=sp,this}return B(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=ws)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=ws)},persist:function(){},isPersistent:ws}),r}var ti={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},El=Lt(ti),eo=B({},ti,{view:0,detail:0}),cx=Lt(eo),Pl,Tl,to,Ss=B({},eo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_l,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!==to&&(to&&e.type==="mousemove"?(Pl=e.screenX-to.screenX,Tl=e.screenY-to.screenY):Tl=Pl=0,to=e),Pl)},movementY:function(e){return"movementY"in e?e.movementY:Tl}}),ap=Lt(Ss),fx=B({},Ss,{dataTransfer:0}),dx=Lt(fx),px=B({},eo,{relatedTarget:0}),kl=Lt(px),hx=B({},ti,{animationName:0,elapsedTime:0,pseudoElement:0}),mx=Lt(hx),yx=B({},ti,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),gx=Lt(yx),vx=B({},ti,{data:0}),lp=Lt(vx),xx={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sx={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"},Ex={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Px(e){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(e):(e=Ex[e])?!!r[e]:!1}function _l(){return Px}var Tx=B({},eo,{key:function(e){if(e.key){var r=xx[e.key]||e.key;if(r!=="Unidentified")return r}return e.type==="keypress"?(e=xs(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Sx[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_l,charCode:function(e){return e.type==="keypress"?xs(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?xs(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),kx=Lt(Tx),_x=B({},Ss,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),up=Lt(_x),Ax=B({},eo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_l}),Cx=Lt(Ax),Fx=B({},ti,{propertyName:0,elapsedTime:0,pseudoElement:0}),Nx=Lt(Fx),Rx=B({},Ss,{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}),bx=Lt(Rx),Ox=[9,13,27,32],Al=d&&"CompositionEvent"in window,no=null;d&&"documentMode"in document&&(no=document.documentMode);var Mx=d&&"TextEvent"in window&&!no,cp=d&&(!Al||no&&8<no&&11>=no),fp=" ",dp=!1;function pp(e,r){switch(e){case"keyup":return Ox.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function hp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ni=!1;function jx(e,r){switch(e){case"compositionend":return hp(r);case"keypress":return r.which!==32?null:(dp=!0,fp);case"textInput":return e=r.data,e===fp&&dp?null:e;default:return null}}function Ix(e,r){if(ni)return e==="compositionend"||!Al&&pp(e,r)?(e=op(),vs=Sl=tr=null,ni=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return cp&&r.locale!=="ko"?null:r.data;default:return null}}var Dx={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 mp(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r==="input"?!!Dx[e.type]:r==="textarea"}function yp(e,r,o,l){pt(l),r=_s(r,"onChange"),0<r.length&&(o=new El("onChange","change",null,o,l),e.push({event:o,listeners:r}))}var ro=null,io=null;function Lx(e){Mp(e,0)}function Es(e){var r=ai(e);if(be(r))return e}function Vx(e,r){if(e==="change")return r}var gp=!1;if(d){var Cl;if(d){var Fl="oninput"in document;if(!Fl){var vp=document.createElement("div");vp.setAttribute("oninput","return;"),Fl=typeof vp.oninput=="function"}Cl=Fl}else Cl=!1;gp=Cl&&(!document.documentMode||9<document.documentMode)}function xp(){ro&&(ro.detachEvent("onpropertychange",wp),io=ro=null)}function wp(e){if(e.propertyName==="value"&&Es(io)){var r=[];yp(r,io,e,Re(e)),zi(Lx,r)}}function Bx(e,r,o){e==="focusin"?(xp(),ro=r,io=o,ro.attachEvent("onpropertychange",wp)):e==="focusout"&&xp()}function zx(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Es(io)}function Ux(e,r){if(e==="click")return Es(r)}function $x(e,r){if(e==="input"||e==="change")return Es(r)}function Wx(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var nn=typeof Object.is=="function"?Object.is:Wx;function oo(e,r){if(nn(e,r))return!0;if(typeof e!="object"||e===null||typeof r!="object"||r===null)return!1;var o=Object.keys(e),l=Object.keys(r);if(o.length!==l.length)return!1;for(l=0;l<o.length;l++){var f=o[l];if(!h.call(r,f)||!nn(e[f],r[f]))return!1}return!0}function Sp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ep(e,r){var o=Sp(e);e=0;for(var l;o;){if(o.nodeType===3){if(l=e+o.textContent.length,e<=r&&l>=r)return{node:o,offset:r-e};e=l}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=Sp(o)}}function Pp(e,r){return e&&r?e===r?!0:e&&e.nodeType===3?!1:r&&r.nodeType===3?Pp(e,r.parentNode):"contains"in e?e.contains(r):e.compareDocumentPosition?!!(e.compareDocumentPosition(r)&16):!1:!1}function Tp(){for(var e=window,r=Ve();r instanceof e.HTMLIFrameElement;){try{var o=typeof r.contentWindow.location.href=="string"}catch{o=!1}if(o)e=r.contentWindow;else break;r=Ve(e.document)}return r}function Nl(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r&&(r==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||r==="textarea"||e.contentEditable==="true")}function Hx(e){var r=Tp(),o=e.focusedElem,l=e.selectionRange;if(r!==o&&o&&o.ownerDocument&&Pp(o.ownerDocument.documentElement,o)){if(l!==null&&Nl(o)){if(r=l.start,e=l.end,e===void 0&&(e=r),"selectionStart"in o)o.selectionStart=r,o.selectionEnd=Math.min(e,o.value.length);else if(e=(r=o.ownerDocument||document)&&r.defaultView||window,e.getSelection){e=e.getSelection();var f=o.textContent.length,p=Math.min(l.start,f);l=l.end===void 0?p:Math.min(l.end,f),!e.extend&&p>l&&(f=l,l=p,p=f),f=Ep(o,p);var x=Ep(o,l);f&&x&&(e.rangeCount!==1||e.anchorNode!==f.node||e.anchorOffset!==f.offset||e.focusNode!==x.node||e.focusOffset!==x.offset)&&(r=r.createRange(),r.setStart(f.node,f.offset),e.removeAllRanges(),p>l?(e.addRange(r),e.extend(x.node,x.offset)):(r.setEnd(x.node,x.offset),e.addRange(r)))}}for(r=[],e=o;e=e.parentNode;)e.nodeType===1&&r.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<r.length;o++)e=r[o],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var qx=d&&"documentMode"in document&&11>=document.documentMode,ri=null,Rl=null,so=null,bl=!1;function kp(e,r,o){var l=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;bl||ri==null||ri!==Ve(l)||(l=ri,"selectionStart"in l&&Nl(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),so&&oo(so,l)||(so=l,l=_s(Rl,"onSelect"),0<l.length&&(r=new El("onSelect","select",null,r,o),e.push({event:r,listeners:l}),r.target=ri)))}function Ps(e,r){var o={};return o[e.toLowerCase()]=r.toLowerCase(),o["Webkit"+e]="webkit"+r,o["Moz"+e]="moz"+r,o}var ii={animationend:Ps("Animation","AnimationEnd"),animationiteration:Ps("Animation","AnimationIteration"),animationstart:Ps("Animation","AnimationStart"),transitionend:Ps("Transition","TransitionEnd")},Ol={},_p={};d&&(_p=document.createElement("div").style,"AnimationEvent"in window||(delete ii.animationend.animation,delete ii.animationiteration.animation,delete ii.animationstart.animation),"TransitionEvent"in window||delete ii.transitionend.transition);function Ts(e){if(Ol[e])return Ol[e];if(!ii[e])return e;var r=ii[e],o;for(o in r)if(r.hasOwnProperty(o)&&o in _p)return Ol[e]=r[o];return e}var Ap=Ts("animationend"),Cp=Ts("animationiteration"),Fp=Ts("animationstart"),Np=Ts("transitionend"),Rp=new Map,bp="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 nr(e,r){Rp.set(e,r),c(r,[e])}for(var Ml=0;Ml<bp.length;Ml++){var jl=bp[Ml],Kx=jl.toLowerCase(),Gx=jl[0].toUpperCase()+jl.slice(1);nr(Kx,"on"+Gx)}nr(Ap,"onAnimationEnd"),nr(Cp,"onAnimationIteration"),nr(Fp,"onAnimationStart"),nr("dblclick","onDoubleClick"),nr("focusin","onFocus"),nr("focusout","onBlur"),nr(Np,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ao="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(" "),Qx=new Set("cancel close invalid load scroll toggle".split(" ").concat(ao));function Op(e,r,o){var l=e.type||"unknown-event";e.currentTarget=o,ss(l,r,void 0,e),e.currentTarget=null}function Mp(e,r){r=(r&4)!==0;for(var o=0;o<e.length;o++){var l=e[o],f=l.event;l=l.listeners;e:{var p=void 0;if(r)for(var x=l.length-1;0<=x;x--){var C=l[x],M=C.instance,K=C.currentTarget;if(C=C.listener,M!==p&&f.isPropagationStopped())break e;Op(f,C,K),p=M}else for(x=0;x<l.length;x++){if(C=l[x],M=C.instance,K=C.currentTarget,C=C.listener,M!==p&&f.isPropagationStopped())break e;Op(f,C,K),p=M}}}if(Xn)throw e=Zr,Xn=!1,Zr=null,e}function De(e,r){var o=r[$l];o===void 0&&(o=r[$l]=new Set);var l=e+"__bubble";o.has(l)||(jp(r,e,2,!1),o.add(l))}function Il(e,r,o){var l=0;r&&(l|=4),jp(o,e,l,r)}var ks="_reactListening"+Math.random().toString(36).slice(2);function lo(e){if(!e[ks]){e[ks]=!0,s.forEach(function(o){o!=="selectionchange"&&(Qx.has(o)||Il(o,!1,e),Il(o,!0,e))});var r=e.nodeType===9?e:e.ownerDocument;r===null||r[ks]||(r[ks]=!0,Il("selectionchange",!1,r))}}function jp(e,r,o,l){switch(ip(r)){case 1:var f=lx;break;case 4:f=ux;break;default:f=xl}o=f.bind(null,r,o,e),f=void 0,!Jr||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(f=!0),l?f!==void 0?e.addEventListener(r,o,{capture:!0,passive:f}):e.addEventListener(r,o,!0):f!==void 0?e.addEventListener(r,o,{passive:f}):e.addEventListener(r,o,!1)}function Dl(e,r,o,l,f){var p=l;if((r&1)===0&&(r&2)===0&&l!==null)e:for(;;){if(l===null)return;var x=l.tag;if(x===3||x===4){var C=l.stateNode.containerInfo;if(C===f||C.nodeType===8&&C.parentNode===f)break;if(x===4)for(x=l.return;x!==null;){var M=x.tag;if((M===3||M===4)&&(M=x.stateNode.containerInfo,M===f||M.nodeType===8&&M.parentNode===f))return;x=x.return}for(;C!==null;){if(x=Tr(C),x===null)return;if(M=x.tag,M===5||M===6){l=p=x;continue e}C=C.parentNode}}l=l.return}zi(function(){var K=p,Z=Re(o),ee=[];e:{var J=Rp.get(e);if(J!==void 0){var oe=El,ue=e;switch(e){case"keypress":if(xs(o)===0)break e;case"keydown":case"keyup":oe=kx;break;case"focusin":ue="focus",oe=kl;break;case"focusout":ue="blur",oe=kl;break;case"beforeblur":case"afterblur":oe=kl;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":oe=ap;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":oe=dx;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":oe=Cx;break;case Ap:case Cp:case Fp:oe=mx;break;case Np:oe=Nx;break;case"scroll":oe=cx;break;case"wheel":oe=bx;break;case"copy":case"cut":case"paste":oe=gx;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":oe=up}var fe=(r&4)!==0,Qe=!fe&&e==="scroll",z=fe?J!==null?J+"Capture":null:J;fe=[];for(var I=K,$;I!==null;){$=I;var te=$.stateNode;if($.tag===5&&te!==null&&($=te,z!==null&&(te=Gn(I,z),te!=null&&fe.push(uo(I,te,$)))),Qe)break;I=I.return}0<fe.length&&(J=new oe(J,ue,null,o,Z),ee.push({event:J,listeners:fe}))}}if((r&7)===0){e:{if(J=e==="mouseover"||e==="pointerover",oe=e==="mouseout"||e==="pointerout",J&&o!==Ce&&(ue=o.relatedTarget||o.fromElement)&&(Tr(ue)||ue[bn]))break e;if((oe||J)&&(J=Z.window===Z?Z:(J=Z.ownerDocument)?J.defaultView||J.parentWindow:window,oe?(ue=o.relatedTarget||o.toElement,oe=K,ue=ue?Tr(ue):null,ue!==null&&(Qe=en(ue),ue!==Qe||ue.tag!==5&&ue.tag!==6)&&(ue=null)):(oe=null,ue=K),oe!==ue)){if(fe=ap,te="onMouseLeave",z="onMouseEnter",I="mouse",(e==="pointerout"||e==="pointerover")&&(fe=up,te="onPointerLeave",z="onPointerEnter",I="pointer"),Qe=oe==null?J:ai(oe),$=ue==null?J:ai(ue),J=new fe(te,I+"leave",oe,o,Z),J.target=Qe,J.relatedTarget=$,te=null,Tr(Z)===K&&(fe=new fe(z,I+"enter",ue,o,Z),fe.target=$,fe.relatedTarget=Qe,te=fe),Qe=te,oe&&ue)t:{for(fe=oe,z=ue,I=0,$=fe;$;$=oi($))I++;for($=0,te=z;te;te=oi(te))$++;for(;0<I-$;)fe=oi(fe),I--;for(;0<$-I;)z=oi(z),$--;for(;I--;){if(fe===z||z!==null&&fe===z.alternate)break t;fe=oi(fe),z=oi(z)}fe=null}else fe=null;oe!==null&&Ip(ee,J,oe,fe,!1),ue!==null&&Qe!==null&&Ip(ee,Qe,ue,fe,!0)}}e:{if(J=K?ai(K):window,oe=J.nodeName&&J.nodeName.toLowerCase(),oe==="select"||oe==="input"&&J.type==="file")var de=Vx;else if(mp(J))if(gp)de=$x;else{de=zx;var me=Bx}else(oe=J.nodeName)&&oe.toLowerCase()==="input"&&(J.type==="checkbox"||J.type==="radio")&&(de=Ux);if(de&&(de=de(e,K))){yp(ee,de,o,Z);break e}me&&me(e,J,K),e==="focusout"&&(me=J._wrapperState)&&me.controlled&&J.type==="number"&&hn(J,"number",J.value)}switch(me=K?ai(K):window,e){case"focusin":(mp(me)||me.contentEditable==="true")&&(ri=me,Rl=K,so=null);break;case"focusout":so=Rl=ri=null;break;case"mousedown":bl=!0;break;case"contextmenu":case"mouseup":case"dragend":bl=!1,kp(ee,o,Z);break;case"selectionchange":if(qx)break;case"keydown":case"keyup":kp(ee,o,Z)}var ye;if(Al)e:{switch(e){case"compositionstart":var xe="onCompositionStart";break e;case"compositionend":xe="onCompositionEnd";break e;case"compositionupdate":xe="onCompositionUpdate";break e}xe=void 0}else ni?pp(e,o)&&(xe="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(xe="onCompositionStart");xe&&(cp&&o.locale!=="ko"&&(ni||xe!=="onCompositionStart"?xe==="onCompositionEnd"&&ni&&(ye=op()):(tr=Z,Sl="value"in tr?tr.value:tr.textContent,ni=!0)),me=_s(K,xe),0<me.length&&(xe=new lp(xe,e,null,o,Z),ee.push({event:xe,listeners:me}),ye?xe.data=ye:(ye=hp(o),ye!==null&&(xe.data=ye)))),(ye=Mx?jx(e,o):Ix(e,o))&&(K=_s(K,"onBeforeInput"),0<K.length&&(Z=new lp("onBeforeInput","beforeinput",null,o,Z),ee.push({event:Z,listeners:K}),Z.data=ye))}Mp(ee,r)})}function uo(e,r,o){return{instance:e,listener:r,currentTarget:o}}function _s(e,r){for(var o=r+"Capture",l=[];e!==null;){var f=e,p=f.stateNode;f.tag===5&&p!==null&&(f=p,p=Gn(e,o),p!=null&&l.unshift(uo(e,p,f)),p=Gn(e,r),p!=null&&l.push(uo(e,p,f))),e=e.return}return l}function oi(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Ip(e,r,o,l,f){for(var p=r._reactName,x=[];o!==null&&o!==l;){var C=o,M=C.alternate,K=C.stateNode;if(M!==null&&M===l)break;C.tag===5&&K!==null&&(C=K,f?(M=Gn(o,p),M!=null&&x.unshift(uo(o,M,C))):f||(M=Gn(o,p),M!=null&&x.push(uo(o,M,C)))),o=o.return}x.length!==0&&e.push({event:r,listeners:x})}var Xx=/\r\n?/g,Yx=/\u0000|\uFFFD/g;function Dp(e){return(typeof e=="string"?e:""+e).replace(Xx,`
|
||
`).replace(Yx,"")}function As(e,r,o){if(r=Dp(r),Dp(e)!==r&&o)throw Error(i(425))}function Cs(){}var Ll=null,Vl=null;function Bl(e,r){return e==="textarea"||e==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var zl=typeof setTimeout=="function"?setTimeout:void 0,Jx=typeof clearTimeout=="function"?clearTimeout:void 0,Lp=typeof Promise=="function"?Promise:void 0,Zx=typeof queueMicrotask=="function"?queueMicrotask:typeof Lp<"u"?function(e){return Lp.resolve(null).then(e).catch(ew)}:zl;function ew(e){setTimeout(function(){throw e})}function Ul(e,r){var o=r,l=0;do{var f=o.nextSibling;if(e.removeChild(o),f&&f.nodeType===8)if(o=f.data,o==="/$"){if(l===0){e.removeChild(f),Zi(r);return}l--}else o!=="$"&&o!=="$?"&&o!=="$!"||l++;o=f}while(o);Zi(r)}function rr(e){for(;e!=null;e=e.nextSibling){var r=e.nodeType;if(r===1||r===3)break;if(r===8){if(r=e.data,r==="$"||r==="$!"||r==="$?")break;if(r==="/$")return null}}return e}function Vp(e){e=e.previousSibling;for(var r=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"){if(r===0)return e;r--}else o==="/$"&&r++}e=e.previousSibling}return null}var si=Math.random().toString(36).slice(2),xn="__reactFiber$"+si,co="__reactProps$"+si,bn="__reactContainer$"+si,$l="__reactEvents$"+si,tw="__reactListeners$"+si,nw="__reactHandles$"+si;function Tr(e){var r=e[xn];if(r)return r;for(var o=e.parentNode;o;){if(r=o[bn]||o[xn]){if(o=r.alternate,r.child!==null||o!==null&&o.child!==null)for(e=Vp(e);e!==null;){if(o=e[xn])return o;e=Vp(e)}return r}e=o,o=e.parentNode}return null}function fo(e){return e=e[xn]||e[bn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ai(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(i(33))}function Fs(e){return e[co]||null}var Wl=[],li=-1;function ir(e){return{current:e}}function Le(e){0>li||(e.current=Wl[li],Wl[li]=null,li--)}function Ie(e,r){li++,Wl[li]=e.current,e.current=r}var or={},ht=ir(or),Ft=ir(!1),kr=or;function ui(e,r){var o=e.type.contextTypes;if(!o)return or;var l=e.stateNode;if(l&&l.__reactInternalMemoizedUnmaskedChildContext===r)return l.__reactInternalMemoizedMaskedChildContext;var f={},p;for(p in o)f[p]=r[p];return l&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=f),f}function Nt(e){return e=e.childContextTypes,e!=null}function Ns(){Le(Ft),Le(ht)}function Bp(e,r,o){if(ht.current!==or)throw Error(i(168));Ie(ht,r),Ie(Ft,o)}function zp(e,r,o){var l=e.stateNode;if(r=r.childContextTypes,typeof l.getChildContext!="function")return o;l=l.getChildContext();for(var f in l)if(!(f in r))throw Error(i(108,Ae(e)||"Unknown",f));return B({},o,l)}function Rs(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||or,kr=ht.current,Ie(ht,e),Ie(Ft,Ft.current),!0}function Up(e,r,o){var l=e.stateNode;if(!l)throw Error(i(169));o?(e=zp(e,r,kr),l.__reactInternalMemoizedMergedChildContext=e,Le(Ft),Le(ht),Ie(ht,e)):Le(Ft),Ie(Ft,o)}var On=null,bs=!1,Hl=!1;function $p(e){On===null?On=[e]:On.push(e)}function rw(e){bs=!0,$p(e)}function sr(){if(!Hl&&On!==null){Hl=!0;var e=0,r=Me;try{var o=On;for(Me=1;e<o.length;e++){var l=o[e];do l=l(!0);while(l!==null)}On=null,bs=!1}catch(f){throw On!==null&&(On=On.slice(e+1)),ls(pl,sr),f}finally{Me=r,Hl=!1}}return null}var ci=[],fi=0,Os=null,Ms=0,$t=[],Wt=0,_r=null,Mn=1,jn="";function Ar(e,r){ci[fi++]=Ms,ci[fi++]=Os,Os=e,Ms=r}function Wp(e,r,o){$t[Wt++]=Mn,$t[Wt++]=jn,$t[Wt++]=_r,_r=e;var l=Mn;e=jn;var f=32-tn(l)-1;l&=~(1<<f),o+=1;var p=32-tn(r)+f;if(30<p){var x=f-f%5;p=(l&(1<<x)-1).toString(32),l>>=x,f-=x,Mn=1<<32-tn(r)+f|o<<f|l,jn=p+e}else Mn=1<<p|o<<f|l,jn=e}function ql(e){e.return!==null&&(Ar(e,1),Wp(e,1,0))}function Kl(e){for(;e===Os;)Os=ci[--fi],ci[fi]=null,Ms=ci[--fi],ci[fi]=null;for(;e===_r;)_r=$t[--Wt],$t[Wt]=null,jn=$t[--Wt],$t[Wt]=null,Mn=$t[--Wt],$t[Wt]=null}var Vt=null,Bt=null,Be=!1,rn=null;function Hp(e,r){var o=Gt(5,null,null,0);o.elementType="DELETED",o.stateNode=r,o.return=e,r=e.deletions,r===null?(e.deletions=[o],e.flags|=16):r.push(o)}function qp(e,r){switch(e.tag){case 5:var o=e.type;return r=r.nodeType!==1||o.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(e.stateNode=r,Vt=e,Bt=rr(r.firstChild),!0):!1;case 6:return r=e.pendingProps===""||r.nodeType!==3?null:r,r!==null?(e.stateNode=r,Vt=e,Bt=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(o=_r!==null?{id:Mn,overflow:jn}:null,e.memoizedState={dehydrated:r,treeContext:o,retryLane:1073741824},o=Gt(18,null,null,0),o.stateNode=r,o.return=e,e.child=o,Vt=e,Bt=null,!0):!1;default:return!1}}function Gl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ql(e){if(Be){var r=Bt;if(r){var o=r;if(!qp(e,r)){if(Gl(e))throw Error(i(418));r=rr(o.nextSibling);var l=Vt;r&&qp(e,r)?Hp(l,o):(e.flags=e.flags&-4097|2,Be=!1,Vt=e)}}else{if(Gl(e))throw Error(i(418));e.flags=e.flags&-4097|2,Be=!1,Vt=e}}}function Kp(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Vt=e}function js(e){if(e!==Vt)return!1;if(!Be)return Kp(e),Be=!0,!1;var r;if((r=e.tag!==3)&&!(r=e.tag!==5)&&(r=e.type,r=r!=="head"&&r!=="body"&&!Bl(e.type,e.memoizedProps)),r&&(r=Bt)){if(Gl(e))throw Gp(),Error(i(418));for(;r;)Hp(e,r),r=rr(r.nextSibling)}if(Kp(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(317));e:{for(e=e.nextSibling,r=0;e;){if(e.nodeType===8){var o=e.data;if(o==="/$"){if(r===0){Bt=rr(e.nextSibling);break e}r--}else o!=="$"&&o!=="$!"&&o!=="$?"||r++}e=e.nextSibling}Bt=null}}else Bt=Vt?rr(e.stateNode.nextSibling):null;return!0}function Gp(){for(var e=Bt;e;)e=rr(e.nextSibling)}function di(){Bt=Vt=null,Be=!1}function Xl(e){rn===null?rn=[e]:rn.push(e)}var iw=U.ReactCurrentBatchConfig;function po(e,r,o){if(e=o.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(o._owner){if(o=o._owner,o){if(o.tag!==1)throw Error(i(309));var l=o.stateNode}if(!l)throw Error(i(147,e));var f=l,p=""+e;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===p?r.ref:(r=function(x){var C=f.refs;x===null?delete C[p]:C[p]=x},r._stringRef=p,r)}if(typeof e!="string")throw Error(i(284));if(!o._owner)throw Error(i(290,e))}return e}function Is(e,r){throw e=Object.prototype.toString.call(r),Error(i(31,e==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":e))}function Qp(e){var r=e._init;return r(e._payload)}function Xp(e){function r(z,I){if(e){var $=z.deletions;$===null?(z.deletions=[I],z.flags|=16):$.push(I)}}function o(z,I){if(!e)return null;for(;I!==null;)r(z,I),I=I.sibling;return null}function l(z,I){for(z=new Map;I!==null;)I.key!==null?z.set(I.key,I):z.set(I.index,I),I=I.sibling;return z}function f(z,I){return z=hr(z,I),z.index=0,z.sibling=null,z}function p(z,I,$){return z.index=$,e?($=z.alternate,$!==null?($=$.index,$<I?(z.flags|=2,I):$):(z.flags|=2,I)):(z.flags|=1048576,I)}function x(z){return e&&z.alternate===null&&(z.flags|=2),z}function C(z,I,$,te){return I===null||I.tag!==6?(I=zu($,z.mode,te),I.return=z,I):(I=f(I,$),I.return=z,I)}function M(z,I,$,te){var de=$.type;return de===b?Z(z,I,$.props.children,te,$.key):I!==null&&(I.elementType===de||typeof de=="object"&&de!==null&&de.$$typeof===Ee&&Qp(de)===I.type)?(te=f(I,$.props),te.ref=po(z,I,$),te.return=z,te):(te=sa($.type,$.key,$.props,null,z.mode,te),te.ref=po(z,I,$),te.return=z,te)}function K(z,I,$,te){return I===null||I.tag!==4||I.stateNode.containerInfo!==$.containerInfo||I.stateNode.implementation!==$.implementation?(I=Uu($,z.mode,te),I.return=z,I):(I=f(I,$.children||[]),I.return=z,I)}function Z(z,I,$,te,de){return I===null||I.tag!==7?(I=jr($,z.mode,te,de),I.return=z,I):(I=f(I,$),I.return=z,I)}function ee(z,I,$){if(typeof I=="string"&&I!==""||typeof I=="number")return I=zu(""+I,z.mode,$),I.return=z,I;if(typeof I=="object"&&I!==null){switch(I.$$typeof){case H:return $=sa(I.type,I.key,I.props,null,z.mode,$),$.ref=po(z,null,I),$.return=z,$;case q:return I=Uu(I,z.mode,$),I.return=z,I;case Ee:var te=I._init;return ee(z,te(I._payload),$)}if(Ct(I)||L(I))return I=jr(I,z.mode,$,null),I.return=z,I;Is(z,I)}return null}function J(z,I,$,te){var de=I!==null?I.key:null;if(typeof $=="string"&&$!==""||typeof $=="number")return de!==null?null:C(z,I,""+$,te);if(typeof $=="object"&&$!==null){switch($.$$typeof){case H:return $.key===de?M(z,I,$,te):null;case q:return $.key===de?K(z,I,$,te):null;case Ee:return de=$._init,J(z,I,de($._payload),te)}if(Ct($)||L($))return de!==null?null:Z(z,I,$,te,null);Is(z,$)}return null}function oe(z,I,$,te,de){if(typeof te=="string"&&te!==""||typeof te=="number")return z=z.get($)||null,C(I,z,""+te,de);if(typeof te=="object"&&te!==null){switch(te.$$typeof){case H:return z=z.get(te.key===null?$:te.key)||null,M(I,z,te,de);case q:return z=z.get(te.key===null?$:te.key)||null,K(I,z,te,de);case Ee:var me=te._init;return oe(z,I,$,me(te._payload),de)}if(Ct(te)||L(te))return z=z.get($)||null,Z(I,z,te,de,null);Is(I,te)}return null}function ue(z,I,$,te){for(var de=null,me=null,ye=I,xe=I=0,ut=null;ye!==null&&xe<$.length;xe++){ye.index>xe?(ut=ye,ye=null):ut=ye.sibling;var Ne=J(z,ye,$[xe],te);if(Ne===null){ye===null&&(ye=ut);break}e&&ye&&Ne.alternate===null&&r(z,ye),I=p(Ne,I,xe),me===null?de=Ne:me.sibling=Ne,me=Ne,ye=ut}if(xe===$.length)return o(z,ye),Be&&Ar(z,xe),de;if(ye===null){for(;xe<$.length;xe++)ye=ee(z,$[xe],te),ye!==null&&(I=p(ye,I,xe),me===null?de=ye:me.sibling=ye,me=ye);return Be&&Ar(z,xe),de}for(ye=l(z,ye);xe<$.length;xe++)ut=oe(ye,z,xe,$[xe],te),ut!==null&&(e&&ut.alternate!==null&&ye.delete(ut.key===null?xe:ut.key),I=p(ut,I,xe),me===null?de=ut:me.sibling=ut,me=ut);return e&&ye.forEach(function(mr){return r(z,mr)}),Be&&Ar(z,xe),de}function fe(z,I,$,te){var de=L($);if(typeof de!="function")throw Error(i(150));if($=de.call($),$==null)throw Error(i(151));for(var me=de=null,ye=I,xe=I=0,ut=null,Ne=$.next();ye!==null&&!Ne.done;xe++,Ne=$.next()){ye.index>xe?(ut=ye,ye=null):ut=ye.sibling;var mr=J(z,ye,Ne.value,te);if(mr===null){ye===null&&(ye=ut);break}e&&ye&&mr.alternate===null&&r(z,ye),I=p(mr,I,xe),me===null?de=mr:me.sibling=mr,me=mr,ye=ut}if(Ne.done)return o(z,ye),Be&&Ar(z,xe),de;if(ye===null){for(;!Ne.done;xe++,Ne=$.next())Ne=ee(z,Ne.value,te),Ne!==null&&(I=p(Ne,I,xe),me===null?de=Ne:me.sibling=Ne,me=Ne);return Be&&Ar(z,xe),de}for(ye=l(z,ye);!Ne.done;xe++,Ne=$.next())Ne=oe(ye,z,xe,Ne.value,te),Ne!==null&&(e&&Ne.alternate!==null&&ye.delete(Ne.key===null?xe:Ne.key),I=p(Ne,I,xe),me===null?de=Ne:me.sibling=Ne,me=Ne);return e&&ye.forEach(function(Dw){return r(z,Dw)}),Be&&Ar(z,xe),de}function Qe(z,I,$,te){if(typeof $=="object"&&$!==null&&$.type===b&&$.key===null&&($=$.props.children),typeof $=="object"&&$!==null){switch($.$$typeof){case H:e:{for(var de=$.key,me=I;me!==null;){if(me.key===de){if(de=$.type,de===b){if(me.tag===7){o(z,me.sibling),I=f(me,$.props.children),I.return=z,z=I;break e}}else if(me.elementType===de||typeof de=="object"&&de!==null&&de.$$typeof===Ee&&Qp(de)===me.type){o(z,me.sibling),I=f(me,$.props),I.ref=po(z,me,$),I.return=z,z=I;break e}o(z,me);break}else r(z,me);me=me.sibling}$.type===b?(I=jr($.props.children,z.mode,te,$.key),I.return=z,z=I):(te=sa($.type,$.key,$.props,null,z.mode,te),te.ref=po(z,I,$),te.return=z,z=te)}return x(z);case q:e:{for(me=$.key;I!==null;){if(I.key===me)if(I.tag===4&&I.stateNode.containerInfo===$.containerInfo&&I.stateNode.implementation===$.implementation){o(z,I.sibling),I=f(I,$.children||[]),I.return=z,z=I;break e}else{o(z,I);break}else r(z,I);I=I.sibling}I=Uu($,z.mode,te),I.return=z,z=I}return x(z);case Ee:return me=$._init,Qe(z,I,me($._payload),te)}if(Ct($))return ue(z,I,$,te);if(L($))return fe(z,I,$,te);Is(z,$)}return typeof $=="string"&&$!==""||typeof $=="number"?($=""+$,I!==null&&I.tag===6?(o(z,I.sibling),I=f(I,$),I.return=z,z=I):(o(z,I),I=zu($,z.mode,te),I.return=z,z=I),x(z)):o(z,I)}return Qe}var pi=Xp(!0),Yp=Xp(!1),Ds=ir(null),Ls=null,hi=null,Yl=null;function Jl(){Yl=hi=Ls=null}function Zl(e){var r=Ds.current;Le(Ds),e._currentValue=r}function eu(e,r,o){for(;e!==null;){var l=e.alternate;if((e.childLanes&r)!==r?(e.childLanes|=r,l!==null&&(l.childLanes|=r)):l!==null&&(l.childLanes&r)!==r&&(l.childLanes|=r),e===o)break;e=e.return}}function mi(e,r){Ls=e,Yl=hi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&r)!==0&&(Rt=!0),e.firstContext=null)}function Ht(e){var r=e._currentValue;if(Yl!==e)if(e={context:e,memoizedValue:r,next:null},hi===null){if(Ls===null)throw Error(i(308));hi=e,Ls.dependencies={lanes:0,firstContext:e}}else hi=hi.next=e;return r}var Cr=null;function tu(e){Cr===null?Cr=[e]:Cr.push(e)}function Jp(e,r,o,l){var f=r.interleaved;return f===null?(o.next=o,tu(r)):(o.next=f.next,f.next=o),r.interleaved=o,In(e,l)}function In(e,r){e.lanes|=r;var o=e.alternate;for(o!==null&&(o.lanes|=r),o=e,e=e.return;e!==null;)e.childLanes|=r,o=e.alternate,o!==null&&(o.childLanes|=r),o=e,e=e.return;return o.tag===3?o.stateNode:null}var ar=!1;function nu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Zp(e,r){e=e.updateQueue,r.updateQueue===e&&(r.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Dn(e,r){return{eventTime:e,lane:r,tag:0,payload:null,callback:null,next:null}}function lr(e,r,o){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(Fe&2)!==0){var f=l.pending;return f===null?r.next=r:(r.next=f.next,f.next=r),l.pending=r,In(e,o)}return f=l.interleaved,f===null?(r.next=r,tu(l)):(r.next=f.next,f.next=r),l.interleaved=r,In(e,o)}function Vs(e,r,o){if(r=r.updateQueue,r!==null&&(r=r.shared,(o&4194240)!==0)){var l=r.lanes;l&=e.pendingLanes,o|=l,r.lanes=o,yl(e,o)}}function eh(e,r){var o=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,o===l)){var f=null,p=null;if(o=o.firstBaseUpdate,o!==null){do{var x={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};p===null?f=p=x:p=p.next=x,o=o.next}while(o!==null);p===null?f=p=r:p=p.next=r}else f=p=r;o={baseState:l.baseState,firstBaseUpdate:f,lastBaseUpdate:p,shared:l.shared,effects:l.effects},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=r:e.next=r,o.lastBaseUpdate=r}function Bs(e,r,o,l){var f=e.updateQueue;ar=!1;var p=f.firstBaseUpdate,x=f.lastBaseUpdate,C=f.shared.pending;if(C!==null){f.shared.pending=null;var M=C,K=M.next;M.next=null,x===null?p=K:x.next=K,x=M;var Z=e.alternate;Z!==null&&(Z=Z.updateQueue,C=Z.lastBaseUpdate,C!==x&&(C===null?Z.firstBaseUpdate=K:C.next=K,Z.lastBaseUpdate=M))}if(p!==null){var ee=f.baseState;x=0,Z=K=M=null,C=p;do{var J=C.lane,oe=C.eventTime;if((l&J)===J){Z!==null&&(Z=Z.next={eventTime:oe,lane:0,tag:C.tag,payload:C.payload,callback:C.callback,next:null});e:{var ue=e,fe=C;switch(J=r,oe=o,fe.tag){case 1:if(ue=fe.payload,typeof ue=="function"){ee=ue.call(oe,ee,J);break e}ee=ue;break e;case 3:ue.flags=ue.flags&-65537|128;case 0:if(ue=fe.payload,J=typeof ue=="function"?ue.call(oe,ee,J):ue,J==null)break e;ee=B({},ee,J);break e;case 2:ar=!0}}C.callback!==null&&C.lane!==0&&(e.flags|=64,J=f.effects,J===null?f.effects=[C]:J.push(C))}else oe={eventTime:oe,lane:J,tag:C.tag,payload:C.payload,callback:C.callback,next:null},Z===null?(K=Z=oe,M=ee):Z=Z.next=oe,x|=J;if(C=C.next,C===null){if(C=f.shared.pending,C===null)break;J=C,C=J.next,J.next=null,f.lastBaseUpdate=J,f.shared.pending=null}}while(!0);if(Z===null&&(M=ee),f.baseState=M,f.firstBaseUpdate=K,f.lastBaseUpdate=Z,r=f.shared.interleaved,r!==null){f=r;do x|=f.lane,f=f.next;while(f!==r)}else p===null&&(f.shared.lanes=0);Rr|=x,e.lanes=x,e.memoizedState=ee}}function th(e,r,o){if(e=r.effects,r.effects=null,e!==null)for(r=0;r<e.length;r++){var l=e[r],f=l.callback;if(f!==null){if(l.callback=null,l=o,typeof f!="function")throw Error(i(191,f));f.call(l)}}}var ho={},wn=ir(ho),mo=ir(ho),yo=ir(ho);function Fr(e){if(e===ho)throw Error(i(174));return e}function ru(e,r){switch(Ie(yo,r),Ie(mo,e),Ie(wn,ho),e=r.nodeType,e){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:Kr(null,"");break;default:e=e===8?r.parentNode:r,r=e.namespaceURI||null,e=e.tagName,r=Kr(r,e)}Le(wn),Ie(wn,r)}function yi(){Le(wn),Le(mo),Le(yo)}function nh(e){Fr(yo.current);var r=Fr(wn.current),o=Kr(r,e.type);r!==o&&(Ie(mo,e),Ie(wn,o))}function iu(e){mo.current===e&&(Le(wn),Le(mo))}var Ue=ir(0);function zs(e){for(var r=e;r!==null;){if(r.tag===13){var o=r.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||o.data==="$!"))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var ou=[];function su(){for(var e=0;e<ou.length;e++)ou[e]._workInProgressVersionPrimary=null;ou.length=0}var Us=U.ReactCurrentDispatcher,au=U.ReactCurrentBatchConfig,Nr=0,$e=null,tt=null,at=null,$s=!1,go=!1,vo=0,ow=0;function mt(){throw Error(i(321))}function lu(e,r){if(r===null)return!1;for(var o=0;o<r.length&&o<e.length;o++)if(!nn(e[o],r[o]))return!1;return!0}function uu(e,r,o,l,f,p){if(Nr=p,$e=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,Us.current=e===null||e.memoizedState===null?uw:cw,e=o(l,f),go){p=0;do{if(go=!1,vo=0,25<=p)throw Error(i(301));p+=1,at=tt=null,r.updateQueue=null,Us.current=fw,e=o(l,f)}while(go)}if(Us.current=qs,r=tt!==null&&tt.next!==null,Nr=0,at=tt=$e=null,$s=!1,r)throw Error(i(300));return e}function cu(){var e=vo!==0;return vo=0,e}function Sn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return at===null?$e.memoizedState=at=e:at=at.next=e,at}function qt(){if(tt===null){var e=$e.alternate;e=e!==null?e.memoizedState:null}else e=tt.next;var r=at===null?$e.memoizedState:at.next;if(r!==null)at=r,tt=e;else{if(e===null)throw Error(i(310));tt=e,e={memoizedState:tt.memoizedState,baseState:tt.baseState,baseQueue:tt.baseQueue,queue:tt.queue,next:null},at===null?$e.memoizedState=at=e:at=at.next=e}return at}function xo(e,r){return typeof r=="function"?r(e):r}function fu(e){var r=qt(),o=r.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=e;var l=tt,f=l.baseQueue,p=o.pending;if(p!==null){if(f!==null){var x=f.next;f.next=p.next,p.next=x}l.baseQueue=f=p,o.pending=null}if(f!==null){p=f.next,l=l.baseState;var C=x=null,M=null,K=p;do{var Z=K.lane;if((Nr&Z)===Z)M!==null&&(M=M.next={lane:0,action:K.action,hasEagerState:K.hasEagerState,eagerState:K.eagerState,next:null}),l=K.hasEagerState?K.eagerState:e(l,K.action);else{var ee={lane:Z,action:K.action,hasEagerState:K.hasEagerState,eagerState:K.eagerState,next:null};M===null?(C=M=ee,x=l):M=M.next=ee,$e.lanes|=Z,Rr|=Z}K=K.next}while(K!==null&&K!==p);M===null?x=l:M.next=C,nn(l,r.memoizedState)||(Rt=!0),r.memoizedState=l,r.baseState=x,r.baseQueue=M,o.lastRenderedState=l}if(e=o.interleaved,e!==null){f=e;do p=f.lane,$e.lanes|=p,Rr|=p,f=f.next;while(f!==e)}else f===null&&(o.lanes=0);return[r.memoizedState,o.dispatch]}function du(e){var r=qt(),o=r.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=e;var l=o.dispatch,f=o.pending,p=r.memoizedState;if(f!==null){o.pending=null;var x=f=f.next;do p=e(p,x.action),x=x.next;while(x!==f);nn(p,r.memoizedState)||(Rt=!0),r.memoizedState=p,r.baseQueue===null&&(r.baseState=p),o.lastRenderedState=p}return[p,l]}function rh(){}function ih(e,r){var o=$e,l=qt(),f=r(),p=!nn(l.memoizedState,f);if(p&&(l.memoizedState=f,Rt=!0),l=l.queue,pu(ah.bind(null,o,l,e),[e]),l.getSnapshot!==r||p||at!==null&&at.memoizedState.tag&1){if(o.flags|=2048,wo(9,sh.bind(null,o,l,f,r),void 0,null),lt===null)throw Error(i(349));(Nr&30)!==0||oh(o,r,f)}return f}function oh(e,r,o){e.flags|=16384,e={getSnapshot:r,value:o},r=$e.updateQueue,r===null?(r={lastEffect:null,stores:null},$e.updateQueue=r,r.stores=[e]):(o=r.stores,o===null?r.stores=[e]:o.push(e))}function sh(e,r,o,l){r.value=o,r.getSnapshot=l,lh(r)&&uh(e)}function ah(e,r,o){return o(function(){lh(r)&&uh(e)})}function lh(e){var r=e.getSnapshot;e=e.value;try{var o=r();return!nn(e,o)}catch{return!0}}function uh(e){var r=In(e,1);r!==null&&ln(r,e,1,-1)}function ch(e){var r=Sn();return typeof e=="function"&&(e=e()),r.memoizedState=r.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:xo,lastRenderedState:e},r.queue=e,e=e.dispatch=lw.bind(null,$e,e),[r.memoizedState,e]}function wo(e,r,o,l){return e={tag:e,create:r,destroy:o,deps:l,next:null},r=$e.updateQueue,r===null?(r={lastEffect:null,stores:null},$e.updateQueue=r,r.lastEffect=e.next=e):(o=r.lastEffect,o===null?r.lastEffect=e.next=e:(l=o.next,o.next=e,e.next=l,r.lastEffect=e)),e}function fh(){return qt().memoizedState}function Ws(e,r,o,l){var f=Sn();$e.flags|=e,f.memoizedState=wo(1|r,o,void 0,l===void 0?null:l)}function Hs(e,r,o,l){var f=qt();l=l===void 0?null:l;var p=void 0;if(tt!==null){var x=tt.memoizedState;if(p=x.destroy,l!==null&&lu(l,x.deps)){f.memoizedState=wo(r,o,p,l);return}}$e.flags|=e,f.memoizedState=wo(1|r,o,p,l)}function dh(e,r){return Ws(8390656,8,e,r)}function pu(e,r){return Hs(2048,8,e,r)}function ph(e,r){return Hs(4,2,e,r)}function hh(e,r){return Hs(4,4,e,r)}function mh(e,r){if(typeof r=="function")return e=e(),r(e),function(){r(null)};if(r!=null)return e=e(),r.current=e,function(){r.current=null}}function yh(e,r,o){return o=o!=null?o.concat([e]):null,Hs(4,4,mh.bind(null,r,e),o)}function hu(){}function gh(e,r){var o=qt();r=r===void 0?null:r;var l=o.memoizedState;return l!==null&&r!==null&&lu(r,l[1])?l[0]:(o.memoizedState=[e,r],e)}function vh(e,r){var o=qt();r=r===void 0?null:r;var l=o.memoizedState;return l!==null&&r!==null&&lu(r,l[1])?l[0]:(e=e(),o.memoizedState=[e,r],e)}function xh(e,r,o){return(Nr&21)===0?(e.baseState&&(e.baseState=!1,Rt=!0),e.memoizedState=o):(nn(o,r)||(o=Qd(),$e.lanes|=o,Rr|=o,e.baseState=!0),r)}function sw(e,r){var o=Me;Me=o!==0&&4>o?o:4,e(!0);var l=au.transition;au.transition={};try{e(!1),r()}finally{Me=o,au.transition=l}}function wh(){return qt().memoizedState}function aw(e,r,o){var l=dr(e);if(o={lane:l,action:o,hasEagerState:!1,eagerState:null,next:null},Sh(e))Eh(r,o);else if(o=Jp(e,r,o,l),o!==null){var f=kt();ln(o,e,l,f),Ph(o,r,l)}}function lw(e,r,o){var l=dr(e),f={lane:l,action:o,hasEagerState:!1,eagerState:null,next:null};if(Sh(e))Eh(r,f);else{var p=e.alternate;if(e.lanes===0&&(p===null||p.lanes===0)&&(p=r.lastRenderedReducer,p!==null))try{var x=r.lastRenderedState,C=p(x,o);if(f.hasEagerState=!0,f.eagerState=C,nn(C,x)){var M=r.interleaved;M===null?(f.next=f,tu(r)):(f.next=M.next,M.next=f),r.interleaved=f;return}}catch{}finally{}o=Jp(e,r,f,l),o!==null&&(f=kt(),ln(o,e,l,f),Ph(o,r,l))}}function Sh(e){var r=e.alternate;return e===$e||r!==null&&r===$e}function Eh(e,r){go=$s=!0;var o=e.pending;o===null?r.next=r:(r.next=o.next,o.next=r),e.pending=r}function Ph(e,r,o){if((o&4194240)!==0){var l=r.lanes;l&=e.pendingLanes,o|=l,r.lanes=o,yl(e,o)}}var qs={readContext:Ht,useCallback:mt,useContext:mt,useEffect:mt,useImperativeHandle:mt,useInsertionEffect:mt,useLayoutEffect:mt,useMemo:mt,useReducer:mt,useRef:mt,useState:mt,useDebugValue:mt,useDeferredValue:mt,useTransition:mt,useMutableSource:mt,useSyncExternalStore:mt,useId:mt,unstable_isNewReconciler:!1},uw={readContext:Ht,useCallback:function(e,r){return Sn().memoizedState=[e,r===void 0?null:r],e},useContext:Ht,useEffect:dh,useImperativeHandle:function(e,r,o){return o=o!=null?o.concat([e]):null,Ws(4194308,4,mh.bind(null,r,e),o)},useLayoutEffect:function(e,r){return Ws(4194308,4,e,r)},useInsertionEffect:function(e,r){return Ws(4,2,e,r)},useMemo:function(e,r){var o=Sn();return r=r===void 0?null:r,e=e(),o.memoizedState=[e,r],e},useReducer:function(e,r,o){var l=Sn();return r=o!==void 0?o(r):r,l.memoizedState=l.baseState=r,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},l.queue=e,e=e.dispatch=aw.bind(null,$e,e),[l.memoizedState,e]},useRef:function(e){var r=Sn();return e={current:e},r.memoizedState=e},useState:ch,useDebugValue:hu,useDeferredValue:function(e){return Sn().memoizedState=e},useTransition:function(){var e=ch(!1),r=e[0];return e=sw.bind(null,e[1]),Sn().memoizedState=e,[r,e]},useMutableSource:function(){},useSyncExternalStore:function(e,r,o){var l=$e,f=Sn();if(Be){if(o===void 0)throw Error(i(407));o=o()}else{if(o=r(),lt===null)throw Error(i(349));(Nr&30)!==0||oh(l,r,o)}f.memoizedState=o;var p={value:o,getSnapshot:r};return f.queue=p,dh(ah.bind(null,l,p,e),[e]),l.flags|=2048,wo(9,sh.bind(null,l,p,o,r),void 0,null),o},useId:function(){var e=Sn(),r=lt.identifierPrefix;if(Be){var o=jn,l=Mn;o=(l&~(1<<32-tn(l)-1)).toString(32)+o,r=":"+r+"R"+o,o=vo++,0<o&&(r+="H"+o.toString(32)),r+=":"}else o=ow++,r=":"+r+"r"+o.toString(32)+":";return e.memoizedState=r},unstable_isNewReconciler:!1},cw={readContext:Ht,useCallback:gh,useContext:Ht,useEffect:pu,useImperativeHandle:yh,useInsertionEffect:ph,useLayoutEffect:hh,useMemo:vh,useReducer:fu,useRef:fh,useState:function(){return fu(xo)},useDebugValue:hu,useDeferredValue:function(e){var r=qt();return xh(r,tt.memoizedState,e)},useTransition:function(){var e=fu(xo)[0],r=qt().memoizedState;return[e,r]},useMutableSource:rh,useSyncExternalStore:ih,useId:wh,unstable_isNewReconciler:!1},fw={readContext:Ht,useCallback:gh,useContext:Ht,useEffect:pu,useImperativeHandle:yh,useInsertionEffect:ph,useLayoutEffect:hh,useMemo:vh,useReducer:du,useRef:fh,useState:function(){return du(xo)},useDebugValue:hu,useDeferredValue:function(e){var r=qt();return tt===null?r.memoizedState=e:xh(r,tt.memoizedState,e)},useTransition:function(){var e=du(xo)[0],r=qt().memoizedState;return[e,r]},useMutableSource:rh,useSyncExternalStore:ih,useId:wh,unstable_isNewReconciler:!1};function on(e,r){if(e&&e.defaultProps){r=B({},r),e=e.defaultProps;for(var o in e)r[o]===void 0&&(r[o]=e[o]);return r}return r}function mu(e,r,o,l){r=e.memoizedState,o=o(l,r),o=o==null?r:B({},r,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var Ks={isMounted:function(e){return(e=e._reactInternals)?en(e)===e:!1},enqueueSetState:function(e,r,o){e=e._reactInternals;var l=kt(),f=dr(e),p=Dn(l,f);p.payload=r,o!=null&&(p.callback=o),r=lr(e,p,f),r!==null&&(ln(r,e,f,l),Vs(r,e,f))},enqueueReplaceState:function(e,r,o){e=e._reactInternals;var l=kt(),f=dr(e),p=Dn(l,f);p.tag=1,p.payload=r,o!=null&&(p.callback=o),r=lr(e,p,f),r!==null&&(ln(r,e,f,l),Vs(r,e,f))},enqueueForceUpdate:function(e,r){e=e._reactInternals;var o=kt(),l=dr(e),f=Dn(o,l);f.tag=2,r!=null&&(f.callback=r),r=lr(e,f,l),r!==null&&(ln(r,e,l,o),Vs(r,e,l))}};function Th(e,r,o,l,f,p,x){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,p,x):r.prototype&&r.prototype.isPureReactComponent?!oo(o,l)||!oo(f,p):!0}function kh(e,r,o){var l=!1,f=or,p=r.contextType;return typeof p=="object"&&p!==null?p=Ht(p):(f=Nt(r)?kr:ht.current,l=r.contextTypes,p=(l=l!=null)?ui(e,f):or),r=new r(o,p),e.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=Ks,e.stateNode=r,r._reactInternals=e,l&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=f,e.__reactInternalMemoizedMaskedChildContext=p),r}function _h(e,r,o,l){e=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(o,l),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(o,l),r.state!==e&&Ks.enqueueReplaceState(r,r.state,null)}function yu(e,r,o,l){var f=e.stateNode;f.props=o,f.state=e.memoizedState,f.refs={},nu(e);var p=r.contextType;typeof p=="object"&&p!==null?f.context=Ht(p):(p=Nt(r)?kr:ht.current,f.context=ui(e,p)),f.state=e.memoizedState,p=r.getDerivedStateFromProps,typeof p=="function"&&(mu(e,r,p,o),f.state=e.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(r=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),r!==f.state&&Ks.enqueueReplaceState(f,f.state,null),Bs(e,o,f,l),f.state=e.memoizedState),typeof f.componentDidMount=="function"&&(e.flags|=4194308)}function gi(e,r){try{var o="",l=r;do o+=re(l),l=l.return;while(l);var f=o}catch(p){f=`
|
||
Error generating stack: `+p.message+`
|
||
`+p.stack}return{value:e,source:r,stack:f,digest:null}}function gu(e,r,o){return{value:e,source:null,stack:o??null,digest:r??null}}function vu(e,r){try{console.error(r.value)}catch(o){setTimeout(function(){throw o})}}var dw=typeof WeakMap=="function"?WeakMap:Map;function Ah(e,r,o){o=Dn(-1,o),o.tag=3,o.payload={element:null};var l=r.value;return o.callback=function(){ea||(ea=!0,Ou=l),vu(e,r)},o}function Ch(e,r,o){o=Dn(-1,o),o.tag=3;var l=e.type.getDerivedStateFromError;if(typeof l=="function"){var f=r.value;o.payload=function(){return l(f)},o.callback=function(){vu(e,r)}}var p=e.stateNode;return p!==null&&typeof p.componentDidCatch=="function"&&(o.callback=function(){vu(e,r),typeof l!="function"&&(cr===null?cr=new Set([this]):cr.add(this));var x=r.stack;this.componentDidCatch(r.value,{componentStack:x!==null?x:""})}),o}function Fh(e,r,o){var l=e.pingCache;if(l===null){l=e.pingCache=new dw;var f=new Set;l.set(r,f)}else f=l.get(r),f===void 0&&(f=new Set,l.set(r,f));f.has(o)||(f.add(o),e=_w.bind(null,e,r,o),r.then(e,e))}function Nh(e){do{var r;if((r=e.tag===13)&&(r=e.memoizedState,r=r!==null?r.dehydrated!==null:!0),r)return e;e=e.return}while(e!==null);return null}function Rh(e,r,o,l,f){return(e.mode&1)===0?(e===r?e.flags|=65536:(e.flags|=128,o.flags|=131072,o.flags&=-52805,o.tag===1&&(o.alternate===null?o.tag=17:(r=Dn(-1,1),r.tag=2,lr(o,r,1))),o.lanes|=1),e):(e.flags|=65536,e.lanes=f,e)}var pw=U.ReactCurrentOwner,Rt=!1;function Tt(e,r,o,l){r.child=e===null?Yp(r,null,o,l):pi(r,e.child,o,l)}function bh(e,r,o,l,f){o=o.render;var p=r.ref;return mi(r,f),l=uu(e,r,o,l,p,f),o=cu(),e!==null&&!Rt?(r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~f,Ln(e,r,f)):(Be&&o&&ql(r),r.flags|=1,Tt(e,r,l,f),r.child)}function Oh(e,r,o,l,f){if(e===null){var p=o.type;return typeof p=="function"&&!Bu(p)&&p.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(r.tag=15,r.type=p,Mh(e,r,p,l,f)):(e=sa(o.type,null,l,r,r.mode,f),e.ref=r.ref,e.return=r,r.child=e)}if(p=e.child,(e.lanes&f)===0){var x=p.memoizedProps;if(o=o.compare,o=o!==null?o:oo,o(x,l)&&e.ref===r.ref)return Ln(e,r,f)}return r.flags|=1,e=hr(p,l),e.ref=r.ref,e.return=r,r.child=e}function Mh(e,r,o,l,f){if(e!==null){var p=e.memoizedProps;if(oo(p,l)&&e.ref===r.ref)if(Rt=!1,r.pendingProps=l=p,(e.lanes&f)!==0)(e.flags&131072)!==0&&(Rt=!0);else return r.lanes=e.lanes,Ln(e,r,f)}return xu(e,r,o,l,f)}function jh(e,r,o){var l=r.pendingProps,f=l.children,p=e!==null?e.memoizedState:null;if(l.mode==="hidden")if((r.mode&1)===0)r.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ie(xi,zt),zt|=o;else{if((o&1073741824)===0)return e=p!==null?p.baseLanes|o:o,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:e,cachePool:null,transitions:null},r.updateQueue=null,Ie(xi,zt),zt|=e,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},l=p!==null?p.baseLanes:o,Ie(xi,zt),zt|=l}else p!==null?(l=p.baseLanes|o,r.memoizedState=null):l=o,Ie(xi,zt),zt|=l;return Tt(e,r,f,o),r.child}function Ih(e,r){var o=r.ref;(e===null&&o!==null||e!==null&&e.ref!==o)&&(r.flags|=512,r.flags|=2097152)}function xu(e,r,o,l,f){var p=Nt(o)?kr:ht.current;return p=ui(r,p),mi(r,f),o=uu(e,r,o,l,p,f),l=cu(),e!==null&&!Rt?(r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~f,Ln(e,r,f)):(Be&&l&&ql(r),r.flags|=1,Tt(e,r,o,f),r.child)}function Dh(e,r,o,l,f){if(Nt(o)){var p=!0;Rs(r)}else p=!1;if(mi(r,f),r.stateNode===null)Qs(e,r),kh(r,o,l),yu(r,o,l,f),l=!0;else if(e===null){var x=r.stateNode,C=r.memoizedProps;x.props=C;var M=x.context,K=o.contextType;typeof K=="object"&&K!==null?K=Ht(K):(K=Nt(o)?kr:ht.current,K=ui(r,K));var Z=o.getDerivedStateFromProps,ee=typeof Z=="function"||typeof x.getSnapshotBeforeUpdate=="function";ee||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(C!==l||M!==K)&&_h(r,x,l,K),ar=!1;var J=r.memoizedState;x.state=J,Bs(r,l,x,f),M=r.memoizedState,C!==l||J!==M||Ft.current||ar?(typeof Z=="function"&&(mu(r,o,Z,l),M=r.memoizedState),(C=ar||Th(r,o,C,l,J,M,K))?(ee||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount()),typeof x.componentDidMount=="function"&&(r.flags|=4194308)):(typeof x.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=l,r.memoizedState=M),x.props=l,x.state=M,x.context=K,l=C):(typeof x.componentDidMount=="function"&&(r.flags|=4194308),l=!1)}else{x=r.stateNode,Zp(e,r),C=r.memoizedProps,K=r.type===r.elementType?C:on(r.type,C),x.props=K,ee=r.pendingProps,J=x.context,M=o.contextType,typeof M=="object"&&M!==null?M=Ht(M):(M=Nt(o)?kr:ht.current,M=ui(r,M));var oe=o.getDerivedStateFromProps;(Z=typeof oe=="function"||typeof x.getSnapshotBeforeUpdate=="function")||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(C!==ee||J!==M)&&_h(r,x,l,M),ar=!1,J=r.memoizedState,x.state=J,Bs(r,l,x,f);var ue=r.memoizedState;C!==ee||J!==ue||Ft.current||ar?(typeof oe=="function"&&(mu(r,o,oe,l),ue=r.memoizedState),(K=ar||Th(r,o,K,l,J,ue,M)||!1)?(Z||typeof x.UNSAFE_componentWillUpdate!="function"&&typeof x.componentWillUpdate!="function"||(typeof x.componentWillUpdate=="function"&&x.componentWillUpdate(l,ue,M),typeof x.UNSAFE_componentWillUpdate=="function"&&x.UNSAFE_componentWillUpdate(l,ue,M)),typeof x.componentDidUpdate=="function"&&(r.flags|=4),typeof x.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof x.componentDidUpdate!="function"||C===e.memoizedProps&&J===e.memoizedState||(r.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||C===e.memoizedProps&&J===e.memoizedState||(r.flags|=1024),r.memoizedProps=l,r.memoizedState=ue),x.props=l,x.state=ue,x.context=M,l=K):(typeof x.componentDidUpdate!="function"||C===e.memoizedProps&&J===e.memoizedState||(r.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||C===e.memoizedProps&&J===e.memoizedState||(r.flags|=1024),l=!1)}return wu(e,r,o,l,p,f)}function wu(e,r,o,l,f,p){Ih(e,r);var x=(r.flags&128)!==0;if(!l&&!x)return f&&Up(r,o,!1),Ln(e,r,p);l=r.stateNode,pw.current=r;var C=x&&typeof o.getDerivedStateFromError!="function"?null:l.render();return r.flags|=1,e!==null&&x?(r.child=pi(r,e.child,null,p),r.child=pi(r,null,C,p)):Tt(e,r,C,p),r.memoizedState=l.state,f&&Up(r,o,!0),r.child}function Lh(e){var r=e.stateNode;r.pendingContext?Bp(e,r.pendingContext,r.pendingContext!==r.context):r.context&&Bp(e,r.context,!1),ru(e,r.containerInfo)}function Vh(e,r,o,l,f){return di(),Xl(f),r.flags|=256,Tt(e,r,o,l),r.child}var Su={dehydrated:null,treeContext:null,retryLane:0};function Eu(e){return{baseLanes:e,cachePool:null,transitions:null}}function Bh(e,r,o){var l=r.pendingProps,f=Ue.current,p=!1,x=(r.flags&128)!==0,C;if((C=x)||(C=e!==null&&e.memoizedState===null?!1:(f&2)!==0),C?(p=!0,r.flags&=-129):(e===null||e.memoizedState!==null)&&(f|=1),Ie(Ue,f&1),e===null)return Ql(r),e=r.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((r.mode&1)===0?r.lanes=1:e.data==="$!"?r.lanes=8:r.lanes=1073741824,null):(x=l.children,e=l.fallback,p?(l=r.mode,p=r.child,x={mode:"hidden",children:x},(l&1)===0&&p!==null?(p.childLanes=0,p.pendingProps=x):p=aa(x,l,0,null),e=jr(e,l,o,null),p.return=r,e.return=r,p.sibling=e,r.child=p,r.child.memoizedState=Eu(o),r.memoizedState=Su,e):Pu(r,x));if(f=e.memoizedState,f!==null&&(C=f.dehydrated,C!==null))return hw(e,r,x,l,C,f,o);if(p){p=l.fallback,x=r.mode,f=e.child,C=f.sibling;var M={mode:"hidden",children:l.children};return(x&1)===0&&r.child!==f?(l=r.child,l.childLanes=0,l.pendingProps=M,r.deletions=null):(l=hr(f,M),l.subtreeFlags=f.subtreeFlags&14680064),C!==null?p=hr(C,p):(p=jr(p,x,o,null),p.flags|=2),p.return=r,l.return=r,l.sibling=p,r.child=l,l=p,p=r.child,x=e.child.memoizedState,x=x===null?Eu(o):{baseLanes:x.baseLanes|o,cachePool:null,transitions:x.transitions},p.memoizedState=x,p.childLanes=e.childLanes&~o,r.memoizedState=Su,l}return p=e.child,e=p.sibling,l=hr(p,{mode:"visible",children:l.children}),(r.mode&1)===0&&(l.lanes=o),l.return=r,l.sibling=null,e!==null&&(o=r.deletions,o===null?(r.deletions=[e],r.flags|=16):o.push(e)),r.child=l,r.memoizedState=null,l}function Pu(e,r){return r=aa({mode:"visible",children:r},e.mode,0,null),r.return=e,e.child=r}function Gs(e,r,o,l){return l!==null&&Xl(l),pi(r,e.child,null,o),e=Pu(r,r.pendingProps.children),e.flags|=2,r.memoizedState=null,e}function hw(e,r,o,l,f,p,x){if(o)return r.flags&256?(r.flags&=-257,l=gu(Error(i(422))),Gs(e,r,x,l)):r.memoizedState!==null?(r.child=e.child,r.flags|=128,null):(p=l.fallback,f=r.mode,l=aa({mode:"visible",children:l.children},f,0,null),p=jr(p,f,x,null),p.flags|=2,l.return=r,p.return=r,l.sibling=p,r.child=l,(r.mode&1)!==0&&pi(r,e.child,null,x),r.child.memoizedState=Eu(x),r.memoizedState=Su,p);if((r.mode&1)===0)return Gs(e,r,x,null);if(f.data==="$!"){if(l=f.nextSibling&&f.nextSibling.dataset,l)var C=l.dgst;return l=C,p=Error(i(419)),l=gu(p,l,void 0),Gs(e,r,x,l)}if(C=(x&e.childLanes)!==0,Rt||C){if(l=lt,l!==null){switch(x&-x){case 4:f=2;break;case 16:f=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:f=32;break;case 536870912:f=268435456;break;default:f=0}f=(f&(l.suspendedLanes|x))!==0?0:f,f!==0&&f!==p.retryLane&&(p.retryLane=f,In(e,f),ln(l,e,f,-1))}return Vu(),l=gu(Error(i(421))),Gs(e,r,x,l)}return f.data==="$?"?(r.flags|=128,r.child=e.child,r=Aw.bind(null,e),f._reactRetry=r,null):(e=p.treeContext,Bt=rr(f.nextSibling),Vt=r,Be=!0,rn=null,e!==null&&($t[Wt++]=Mn,$t[Wt++]=jn,$t[Wt++]=_r,Mn=e.id,jn=e.overflow,_r=r),r=Pu(r,l.children),r.flags|=4096,r)}function zh(e,r,o){e.lanes|=r;var l=e.alternate;l!==null&&(l.lanes|=r),eu(e.return,r,o)}function Tu(e,r,o,l,f){var p=e.memoizedState;p===null?e.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:l,tail:o,tailMode:f}:(p.isBackwards=r,p.rendering=null,p.renderingStartTime=0,p.last=l,p.tail=o,p.tailMode=f)}function Uh(e,r,o){var l=r.pendingProps,f=l.revealOrder,p=l.tail;if(Tt(e,r,l.children,o),l=Ue.current,(l&2)!==0)l=l&1|2,r.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=r.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&zh(e,o,r);else if(e.tag===19)zh(e,o,r);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===r)break e;for(;e.sibling===null;){if(e.return===null||e.return===r)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}l&=1}if(Ie(Ue,l),(r.mode&1)===0)r.memoizedState=null;else switch(f){case"forwards":for(o=r.child,f=null;o!==null;)e=o.alternate,e!==null&&zs(e)===null&&(f=o),o=o.sibling;o=f,o===null?(f=r.child,r.child=null):(f=o.sibling,o.sibling=null),Tu(r,!1,f,o,p);break;case"backwards":for(o=null,f=r.child,r.child=null;f!==null;){if(e=f.alternate,e!==null&&zs(e)===null){r.child=f;break}e=f.sibling,f.sibling=o,o=f,f=e}Tu(r,!0,o,null,p);break;case"together":Tu(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function Qs(e,r){(r.mode&1)===0&&e!==null&&(e.alternate=null,r.alternate=null,r.flags|=2)}function Ln(e,r,o){if(e!==null&&(r.dependencies=e.dependencies),Rr|=r.lanes,(o&r.childLanes)===0)return null;if(e!==null&&r.child!==e.child)throw Error(i(153));if(r.child!==null){for(e=r.child,o=hr(e,e.pendingProps),r.child=o,o.return=r;e.sibling!==null;)e=e.sibling,o=o.sibling=hr(e,e.pendingProps),o.return=r;o.sibling=null}return r.child}function mw(e,r,o){switch(r.tag){case 3:Lh(r),di();break;case 5:nh(r);break;case 1:Nt(r.type)&&Rs(r);break;case 4:ru(r,r.stateNode.containerInfo);break;case 10:var l=r.type._context,f=r.memoizedProps.value;Ie(Ds,l._currentValue),l._currentValue=f;break;case 13:if(l=r.memoizedState,l!==null)return l.dehydrated!==null?(Ie(Ue,Ue.current&1),r.flags|=128,null):(o&r.child.childLanes)!==0?Bh(e,r,o):(Ie(Ue,Ue.current&1),e=Ln(e,r,o),e!==null?e.sibling:null);Ie(Ue,Ue.current&1);break;case 19:if(l=(o&r.childLanes)!==0,(e.flags&128)!==0){if(l)return Uh(e,r,o);r.flags|=128}if(f=r.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),Ie(Ue,Ue.current),l)break;return null;case 22:case 23:return r.lanes=0,jh(e,r,o)}return Ln(e,r,o)}var $h,ku,Wh,Hh;$h=function(e,r){for(var o=r.child;o!==null;){if(o.tag===5||o.tag===6)e.appendChild(o.stateNode);else if(o.tag!==4&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===r)break;for(;o.sibling===null;){if(o.return===null||o.return===r)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},ku=function(){},Wh=function(e,r,o,l){var f=e.memoizedProps;if(f!==l){e=r.stateNode,Fr(wn.current);var p=null;switch(o){case"input":f=Xe(e,f),l=Xe(e,l),p=[];break;case"select":f=B({},f,{value:void 0}),l=B({},l,{value:void 0}),p=[];break;case"textarea":f=mn(e,f),l=mn(e,l),p=[];break;default:typeof f.onClick!="function"&&typeof l.onClick=="function"&&(e.onclick=Cs)}W(o,l);var x;o=null;for(K in f)if(!l.hasOwnProperty(K)&&f.hasOwnProperty(K)&&f[K]!=null)if(K==="style"){var C=f[K];for(x in C)C.hasOwnProperty(x)&&(o||(o={}),o[x]="")}else K!=="dangerouslySetInnerHTML"&&K!=="children"&&K!=="suppressContentEditableWarning"&&K!=="suppressHydrationWarning"&&K!=="autoFocus"&&(a.hasOwnProperty(K)?p||(p=[]):(p=p||[]).push(K,null));for(K in l){var M=l[K];if(C=f!=null?f[K]:void 0,l.hasOwnProperty(K)&&M!==C&&(M!=null||C!=null))if(K==="style")if(C){for(x in C)!C.hasOwnProperty(x)||M&&M.hasOwnProperty(x)||(o||(o={}),o[x]="");for(x in M)M.hasOwnProperty(x)&&C[x]!==M[x]&&(o||(o={}),o[x]=M[x])}else o||(p||(p=[]),p.push(K,o)),o=M;else K==="dangerouslySetInnerHTML"?(M=M?M.__html:void 0,C=C?C.__html:void 0,M!=null&&C!==M&&(p=p||[]).push(K,M)):K==="children"?typeof M!="string"&&typeof M!="number"||(p=p||[]).push(K,""+M):K!=="suppressContentEditableWarning"&&K!=="suppressHydrationWarning"&&(a.hasOwnProperty(K)?(M!=null&&K==="onScroll"&&De("scroll",e),p||C===M||(p=[])):(p=p||[]).push(K,M))}o&&(p=p||[]).push("style",o);var K=p;(r.updateQueue=K)&&(r.flags|=4)}},Hh=function(e,r,o,l){o!==l&&(r.flags|=4)};function So(e,r){if(!Be)switch(e.tailMode){case"hidden":r=e.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?e.tail=null:o.sibling=null;break;case"collapsed":o=e.tail;for(var l=null;o!==null;)o.alternate!==null&&(l=o),o=o.sibling;l===null?r||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function yt(e){var r=e.alternate!==null&&e.alternate.child===e.child,o=0,l=0;if(r)for(var f=e.child;f!==null;)o|=f.lanes|f.childLanes,l|=f.subtreeFlags&14680064,l|=f.flags&14680064,f.return=e,f=f.sibling;else for(f=e.child;f!==null;)o|=f.lanes|f.childLanes,l|=f.subtreeFlags,l|=f.flags,f.return=e,f=f.sibling;return e.subtreeFlags|=l,e.childLanes=o,r}function yw(e,r,o){var l=r.pendingProps;switch(Kl(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return yt(r),null;case 1:return Nt(r.type)&&Ns(),yt(r),null;case 3:return l=r.stateNode,yi(),Le(Ft),Le(ht),su(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(js(r)?r.flags|=4:e===null||e.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,rn!==null&&(Iu(rn),rn=null))),ku(e,r),yt(r),null;case 5:iu(r);var f=Fr(yo.current);if(o=r.type,e!==null&&r.stateNode!=null)Wh(e,r,o,l,f),e.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!l){if(r.stateNode===null)throw Error(i(166));return yt(r),null}if(e=Fr(wn.current),js(r)){l=r.stateNode,o=r.type;var p=r.memoizedProps;switch(l[xn]=r,l[co]=p,e=(r.mode&1)!==0,o){case"dialog":De("cancel",l),De("close",l);break;case"iframe":case"object":case"embed":De("load",l);break;case"video":case"audio":for(f=0;f<ao.length;f++)De(ao[f],l);break;case"source":De("error",l);break;case"img":case"image":case"link":De("error",l),De("load",l);break;case"details":De("toggle",l);break;case"input":wt(l,p),De("invalid",l);break;case"select":l._wrapperState={wasMultiple:!!p.multiple},De("invalid",l);break;case"textarea":An(l,p),De("invalid",l)}W(o,p),f=null;for(var x in p)if(p.hasOwnProperty(x)){var C=p[x];x==="children"?typeof C=="string"?l.textContent!==C&&(p.suppressHydrationWarning!==!0&&As(l.textContent,C,e),f=["children",C]):typeof C=="number"&&l.textContent!==""+C&&(p.suppressHydrationWarning!==!0&&As(l.textContent,C,e),f=["children",""+C]):a.hasOwnProperty(x)&&C!=null&&x==="onScroll"&&De("scroll",l)}switch(o){case"input":je(l),St(l,p,!0);break;case"textarea":je(l),ns(l);break;case"select":case"option":break;default:typeof p.onClick=="function"&&(l.onclick=Cs)}l=f,r.updateQueue=l,l!==null&&(r.flags|=4)}else{x=f.nodeType===9?f:f.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=rs(o)),e==="http://www.w3.org/1999/xhtml"?o==="script"?(e=x.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof l.is=="string"?e=x.createElement(o,{is:l.is}):(e=x.createElement(o),o==="select"&&(x=e,l.multiple?x.multiple=!0:l.size&&(x.size=l.size))):e=x.createElementNS(e,o),e[xn]=r,e[co]=l,$h(e,r,!1,!1),r.stateNode=e;e:{switch(x=G(o,l),o){case"dialog":De("cancel",e),De("close",e),f=l;break;case"iframe":case"object":case"embed":De("load",e),f=l;break;case"video":case"audio":for(f=0;f<ao.length;f++)De(ao[f],e);f=l;break;case"source":De("error",e),f=l;break;case"img":case"image":case"link":De("error",e),De("load",e),f=l;break;case"details":De("toggle",e),f=l;break;case"input":wt(e,l),f=Xe(e,l),De("invalid",e);break;case"option":f=l;break;case"select":e._wrapperState={wasMultiple:!!l.multiple},f=B({},l,{value:void 0}),De("invalid",e);break;case"textarea":An(e,l),f=mn(e,l),De("invalid",e);break;default:f=l}W(o,f),C=f;for(p in C)if(C.hasOwnProperty(p)){var M=C[p];p==="style"?Qr(e,M):p==="dangerouslySetInnerHTML"?(M=M?M.__html:void 0,M!=null&&qn(e,M)):p==="children"?typeof M=="string"?(o!=="textarea"||M!=="")&&Fn(e,M):typeof M=="number"&&Fn(e,""+M):p!=="suppressContentEditableWarning"&&p!=="suppressHydrationWarning"&&p!=="autoFocus"&&(a.hasOwnProperty(p)?M!=null&&p==="onScroll"&&De("scroll",e):M!=null&&D(e,p,M,x))}switch(o){case"input":je(e),St(e,l,!1);break;case"textarea":je(e),ns(e);break;case"option":l.value!=null&&e.setAttribute("value",""+ge(l.value));break;case"select":e.multiple=!!l.multiple,p=l.value,p!=null?st(e,!!l.multiple,p,!1):l.defaultValue!=null&&st(e,!!l.multiple,l.defaultValue,!0);break;default:typeof f.onClick=="function"&&(e.onclick=Cs)}switch(o){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}}l&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}return yt(r),null;case 6:if(e&&r.stateNode!=null)Hh(e,r,e.memoizedProps,l);else{if(typeof l!="string"&&r.stateNode===null)throw Error(i(166));if(o=Fr(yo.current),Fr(wn.current),js(r)){if(l=r.stateNode,o=r.memoizedProps,l[xn]=r,(p=l.nodeValue!==o)&&(e=Vt,e!==null))switch(e.tag){case 3:As(l.nodeValue,o,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&As(l.nodeValue,o,(e.mode&1)!==0)}p&&(r.flags|=4)}else l=(o.nodeType===9?o:o.ownerDocument).createTextNode(l),l[xn]=r,r.stateNode=l}return yt(r),null;case 13:if(Le(Ue),l=r.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Be&&Bt!==null&&(r.mode&1)!==0&&(r.flags&128)===0)Gp(),di(),r.flags|=98560,p=!1;else if(p=js(r),l!==null&&l.dehydrated!==null){if(e===null){if(!p)throw Error(i(318));if(p=r.memoizedState,p=p!==null?p.dehydrated:null,!p)throw Error(i(317));p[xn]=r}else di(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;yt(r),p=!1}else rn!==null&&(Iu(rn),rn=null),p=!0;if(!p)return r.flags&65536?r:null}return(r.flags&128)!==0?(r.lanes=o,r):(l=l!==null,l!==(e!==null&&e.memoizedState!==null)&&l&&(r.child.flags|=8192,(r.mode&1)!==0&&(e===null||(Ue.current&1)!==0?nt===0&&(nt=3):Vu())),r.updateQueue!==null&&(r.flags|=4),yt(r),null);case 4:return yi(),ku(e,r),e===null&&lo(r.stateNode.containerInfo),yt(r),null;case 10:return Zl(r.type._context),yt(r),null;case 17:return Nt(r.type)&&Ns(),yt(r),null;case 19:if(Le(Ue),p=r.memoizedState,p===null)return yt(r),null;if(l=(r.flags&128)!==0,x=p.rendering,x===null)if(l)So(p,!1);else{if(nt!==0||e!==null&&(e.flags&128)!==0)for(e=r.child;e!==null;){if(x=zs(e),x!==null){for(r.flags|=128,So(p,!1),l=x.updateQueue,l!==null&&(r.updateQueue=l,r.flags|=4),r.subtreeFlags=0,l=o,o=r.child;o!==null;)p=o,e=l,p.flags&=14680066,x=p.alternate,x===null?(p.childLanes=0,p.lanes=e,p.child=null,p.subtreeFlags=0,p.memoizedProps=null,p.memoizedState=null,p.updateQueue=null,p.dependencies=null,p.stateNode=null):(p.childLanes=x.childLanes,p.lanes=x.lanes,p.child=x.child,p.subtreeFlags=0,p.deletions=null,p.memoizedProps=x.memoizedProps,p.memoizedState=x.memoizedState,p.updateQueue=x.updateQueue,p.type=x.type,e=x.dependencies,p.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),o=o.sibling;return Ie(Ue,Ue.current&1|2),r.child}e=e.sibling}p.tail!==null&&Ge()>wi&&(r.flags|=128,l=!0,So(p,!1),r.lanes=4194304)}else{if(!l)if(e=zs(x),e!==null){if(r.flags|=128,l=!0,o=e.updateQueue,o!==null&&(r.updateQueue=o,r.flags|=4),So(p,!0),p.tail===null&&p.tailMode==="hidden"&&!x.alternate&&!Be)return yt(r),null}else 2*Ge()-p.renderingStartTime>wi&&o!==1073741824&&(r.flags|=128,l=!0,So(p,!1),r.lanes=4194304);p.isBackwards?(x.sibling=r.child,r.child=x):(o=p.last,o!==null?o.sibling=x:r.child=x,p.last=x)}return p.tail!==null?(r=p.tail,p.rendering=r,p.tail=r.sibling,p.renderingStartTime=Ge(),r.sibling=null,o=Ue.current,Ie(Ue,l?o&1|2:o&1),r):(yt(r),null);case 22:case 23:return Lu(),l=r.memoizedState!==null,e!==null&&e.memoizedState!==null!==l&&(r.flags|=8192),l&&(r.mode&1)!==0?(zt&1073741824)!==0&&(yt(r),r.subtreeFlags&6&&(r.flags|=8192)):yt(r),null;case 24:return null;case 25:return null}throw Error(i(156,r.tag))}function gw(e,r){switch(Kl(r),r.tag){case 1:return Nt(r.type)&&Ns(),e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 3:return yi(),Le(Ft),Le(ht),su(),e=r.flags,(e&65536)!==0&&(e&128)===0?(r.flags=e&-65537|128,r):null;case 5:return iu(r),null;case 13:if(Le(Ue),e=r.memoizedState,e!==null&&e.dehydrated!==null){if(r.alternate===null)throw Error(i(340));di()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 19:return Le(Ue),null;case 4:return yi(),null;case 10:return Zl(r.type._context),null;case 22:case 23:return Lu(),null;case 24:return null;default:return null}}var Xs=!1,gt=!1,vw=typeof WeakSet=="function"?WeakSet:Set,le=null;function vi(e,r){var o=e.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(l){He(e,r,l)}else o.current=null}function _u(e,r,o){try{o()}catch(l){He(e,r,l)}}var qh=!1;function xw(e,r){if(Ll=ys,e=Tp(),Nl(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var l=o.getSelection&&o.getSelection();if(l&&l.rangeCount!==0){o=l.anchorNode;var f=l.anchorOffset,p=l.focusNode;l=l.focusOffset;try{o.nodeType,p.nodeType}catch{o=null;break e}var x=0,C=-1,M=-1,K=0,Z=0,ee=e,J=null;t:for(;;){for(var oe;ee!==o||f!==0&&ee.nodeType!==3||(C=x+f),ee!==p||l!==0&&ee.nodeType!==3||(M=x+l),ee.nodeType===3&&(x+=ee.nodeValue.length),(oe=ee.firstChild)!==null;)J=ee,ee=oe;for(;;){if(ee===e)break t;if(J===o&&++K===f&&(C=x),J===p&&++Z===l&&(M=x),(oe=ee.nextSibling)!==null)break;ee=J,J=ee.parentNode}ee=oe}o=C===-1||M===-1?null:{start:C,end:M}}else o=null}o=o||{start:0,end:0}}else o=null;for(Vl={focusedElem:e,selectionRange:o},ys=!1,le=r;le!==null;)if(r=le,e=r.child,(r.subtreeFlags&1028)!==0&&e!==null)e.return=r,le=e;else for(;le!==null;){r=le;try{var ue=r.alternate;if((r.flags&1024)!==0)switch(r.tag){case 0:case 11:case 15:break;case 1:if(ue!==null){var fe=ue.memoizedProps,Qe=ue.memoizedState,z=r.stateNode,I=z.getSnapshotBeforeUpdate(r.elementType===r.type?fe:on(r.type,fe),Qe);z.__reactInternalSnapshotBeforeUpdate=I}break;case 3:var $=r.stateNode.containerInfo;$.nodeType===1?$.textContent="":$.nodeType===9&&$.documentElement&&$.removeChild($.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(te){He(r,r.return,te)}if(e=r.sibling,e!==null){e.return=r.return,le=e;break}le=r.return}return ue=qh,qh=!1,ue}function Eo(e,r,o){var l=r.updateQueue;if(l=l!==null?l.lastEffect:null,l!==null){var f=l=l.next;do{if((f.tag&e)===e){var p=f.destroy;f.destroy=void 0,p!==void 0&&_u(r,o,p)}f=f.next}while(f!==l)}}function Ys(e,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var l=o.create;o.destroy=l()}o=o.next}while(o!==r)}}function Au(e){var r=e.ref;if(r!==null){var o=e.stateNode;switch(e.tag){case 5:e=o;break;default:e=o}typeof r=="function"?r(e):r.current=e}}function Kh(e){var r=e.alternate;r!==null&&(e.alternate=null,Kh(r)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(r=e.stateNode,r!==null&&(delete r[xn],delete r[co],delete r[$l],delete r[tw],delete r[nw])),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 Gh(e){return e.tag===5||e.tag===3||e.tag===4}function Qh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Gh(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 Cu(e,r,o){var l=e.tag;if(l===5||l===6)e=e.stateNode,r?o.nodeType===8?o.parentNode.insertBefore(e,r):o.insertBefore(e,r):(o.nodeType===8?(r=o.parentNode,r.insertBefore(e,o)):(r=o,r.appendChild(e)),o=o._reactRootContainer,o!=null||r.onclick!==null||(r.onclick=Cs));else if(l!==4&&(e=e.child,e!==null))for(Cu(e,r,o),e=e.sibling;e!==null;)Cu(e,r,o),e=e.sibling}function Fu(e,r,o){var l=e.tag;if(l===5||l===6)e=e.stateNode,r?o.insertBefore(e,r):o.appendChild(e);else if(l!==4&&(e=e.child,e!==null))for(Fu(e,r,o),e=e.sibling;e!==null;)Fu(e,r,o),e=e.sibling}var ct=null,sn=!1;function ur(e,r,o){for(o=o.child;o!==null;)Xh(e,r,o),o=o.sibling}function Xh(e,r,o){if(vn&&typeof vn.onCommitFiberUnmount=="function")try{vn.onCommitFiberUnmount(cs,o)}catch{}switch(o.tag){case 5:gt||vi(o,r);case 6:var l=ct,f=sn;ct=null,ur(e,r,o),ct=l,sn=f,ct!==null&&(sn?(e=ct,o=o.stateNode,e.nodeType===8?e.parentNode.removeChild(o):e.removeChild(o)):ct.removeChild(o.stateNode));break;case 18:ct!==null&&(sn?(e=ct,o=o.stateNode,e.nodeType===8?Ul(e.parentNode,o):e.nodeType===1&&Ul(e,o),Zi(e)):Ul(ct,o.stateNode));break;case 4:l=ct,f=sn,ct=o.stateNode.containerInfo,sn=!0,ur(e,r,o),ct=l,sn=f;break;case 0:case 11:case 14:case 15:if(!gt&&(l=o.updateQueue,l!==null&&(l=l.lastEffect,l!==null))){f=l=l.next;do{var p=f,x=p.destroy;p=p.tag,x!==void 0&&((p&2)!==0||(p&4)!==0)&&_u(o,r,x),f=f.next}while(f!==l)}ur(e,r,o);break;case 1:if(!gt&&(vi(o,r),l=o.stateNode,typeof l.componentWillUnmount=="function"))try{l.props=o.memoizedProps,l.state=o.memoizedState,l.componentWillUnmount()}catch(C){He(o,r,C)}ur(e,r,o);break;case 21:ur(e,r,o);break;case 22:o.mode&1?(gt=(l=gt)||o.memoizedState!==null,ur(e,r,o),gt=l):ur(e,r,o);break;default:ur(e,r,o)}}function Yh(e){var r=e.updateQueue;if(r!==null){e.updateQueue=null;var o=e.stateNode;o===null&&(o=e.stateNode=new vw),r.forEach(function(l){var f=Cw.bind(null,e,l);o.has(l)||(o.add(l),l.then(f,f))})}}function an(e,r){var o=r.deletions;if(o!==null)for(var l=0;l<o.length;l++){var f=o[l];try{var p=e,x=r,C=x;e:for(;C!==null;){switch(C.tag){case 5:ct=C.stateNode,sn=!1;break e;case 3:ct=C.stateNode.containerInfo,sn=!0;break e;case 4:ct=C.stateNode.containerInfo,sn=!0;break e}C=C.return}if(ct===null)throw Error(i(160));Xh(p,x,f),ct=null,sn=!1;var M=f.alternate;M!==null&&(M.return=null),f.return=null}catch(K){He(f,r,K)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)Jh(r,e),r=r.sibling}function Jh(e,r){var o=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(an(r,e),En(e),l&4){try{Eo(3,e,e.return),Ys(3,e)}catch(fe){He(e,e.return,fe)}try{Eo(5,e,e.return)}catch(fe){He(e,e.return,fe)}}break;case 1:an(r,e),En(e),l&512&&o!==null&&vi(o,o.return);break;case 5:if(an(r,e),En(e),l&512&&o!==null&&vi(o,o.return),e.flags&32){var f=e.stateNode;try{Fn(f,"")}catch(fe){He(e,e.return,fe)}}if(l&4&&(f=e.stateNode,f!=null)){var p=e.memoizedProps,x=o!==null?o.memoizedProps:p,C=e.type,M=e.updateQueue;if(e.updateQueue=null,M!==null)try{C==="input"&&p.type==="radio"&&p.name!=null&&et(f,p),G(C,x);var K=G(C,p);for(x=0;x<M.length;x+=2){var Z=M[x],ee=M[x+1];Z==="style"?Qr(f,ee):Z==="dangerouslySetInnerHTML"?qn(f,ee):Z==="children"?Fn(f,ee):D(f,Z,ee,K)}switch(C){case"input":ot(f,p);break;case"textarea":Cn(f,p);break;case"select":var J=f._wrapperState.wasMultiple;f._wrapperState.wasMultiple=!!p.multiple;var oe=p.value;oe!=null?st(f,!!p.multiple,oe,!1):J!==!!p.multiple&&(p.defaultValue!=null?st(f,!!p.multiple,p.defaultValue,!0):st(f,!!p.multiple,p.multiple?[]:"",!1))}f[co]=p}catch(fe){He(e,e.return,fe)}}break;case 6:if(an(r,e),En(e),l&4){if(e.stateNode===null)throw Error(i(162));f=e.stateNode,p=e.memoizedProps;try{f.nodeValue=p}catch(fe){He(e,e.return,fe)}}break;case 3:if(an(r,e),En(e),l&4&&o!==null&&o.memoizedState.isDehydrated)try{Zi(r.containerInfo)}catch(fe){He(e,e.return,fe)}break;case 4:an(r,e),En(e);break;case 13:an(r,e),En(e),f=e.child,f.flags&8192&&(p=f.memoizedState!==null,f.stateNode.isHidden=p,!p||f.alternate!==null&&f.alternate.memoizedState!==null||(bu=Ge())),l&4&&Yh(e);break;case 22:if(Z=o!==null&&o.memoizedState!==null,e.mode&1?(gt=(K=gt)||Z,an(r,e),gt=K):an(r,e),En(e),l&8192){if(K=e.memoizedState!==null,(e.stateNode.isHidden=K)&&!Z&&(e.mode&1)!==0)for(le=e,Z=e.child;Z!==null;){for(ee=le=Z;le!==null;){switch(J=le,oe=J.child,J.tag){case 0:case 11:case 14:case 15:Eo(4,J,J.return);break;case 1:vi(J,J.return);var ue=J.stateNode;if(typeof ue.componentWillUnmount=="function"){l=J,o=J.return;try{r=l,ue.props=r.memoizedProps,ue.state=r.memoizedState,ue.componentWillUnmount()}catch(fe){He(l,o,fe)}}break;case 5:vi(J,J.return);break;case 22:if(J.memoizedState!==null){tm(ee);continue}}oe!==null?(oe.return=J,le=oe):tm(ee)}Z=Z.sibling}e:for(Z=null,ee=e;;){if(ee.tag===5){if(Z===null){Z=ee;try{f=ee.stateNode,K?(p=f.style,typeof p.setProperty=="function"?p.setProperty("display","none","important"):p.display="none"):(C=ee.stateNode,M=ee.memoizedProps.style,x=M!=null&&M.hasOwnProperty("display")?M.display:null,C.style.display=is("display",x))}catch(fe){He(e,e.return,fe)}}}else if(ee.tag===6){if(Z===null)try{ee.stateNode.nodeValue=K?"":ee.memoizedProps}catch(fe){He(e,e.return,fe)}}else if((ee.tag!==22&&ee.tag!==23||ee.memoizedState===null||ee===e)&&ee.child!==null){ee.child.return=ee,ee=ee.child;continue}if(ee===e)break e;for(;ee.sibling===null;){if(ee.return===null||ee.return===e)break e;Z===ee&&(Z=null),ee=ee.return}Z===ee&&(Z=null),ee.sibling.return=ee.return,ee=ee.sibling}}break;case 19:an(r,e),En(e),l&4&&Yh(e);break;case 21:break;default:an(r,e),En(e)}}function En(e){var r=e.flags;if(r&2){try{e:{for(var o=e.return;o!==null;){if(Gh(o)){var l=o;break e}o=o.return}throw Error(i(160))}switch(l.tag){case 5:var f=l.stateNode;l.flags&32&&(Fn(f,""),l.flags&=-33);var p=Qh(e);Fu(e,p,f);break;case 3:case 4:var x=l.stateNode.containerInfo,C=Qh(e);Cu(e,C,x);break;default:throw Error(i(161))}}catch(M){He(e,e.return,M)}e.flags&=-3}r&4096&&(e.flags&=-4097)}function ww(e,r,o){le=e,Zh(e)}function Zh(e,r,o){for(var l=(e.mode&1)!==0;le!==null;){var f=le,p=f.child;if(f.tag===22&&l){var x=f.memoizedState!==null||Xs;if(!x){var C=f.alternate,M=C!==null&&C.memoizedState!==null||gt;C=Xs;var K=gt;if(Xs=x,(gt=M)&&!K)for(le=f;le!==null;)x=le,M=x.child,x.tag===22&&x.memoizedState!==null?nm(f):M!==null?(M.return=x,le=M):nm(f);for(;p!==null;)le=p,Zh(p),p=p.sibling;le=f,Xs=C,gt=K}em(e)}else(f.subtreeFlags&8772)!==0&&p!==null?(p.return=f,le=p):em(e)}}function em(e){for(;le!==null;){var r=le;if((r.flags&8772)!==0){var o=r.alternate;try{if((r.flags&8772)!==0)switch(r.tag){case 0:case 11:case 15:gt||Ys(5,r);break;case 1:var l=r.stateNode;if(r.flags&4&&!gt)if(o===null)l.componentDidMount();else{var f=r.elementType===r.type?o.memoizedProps:on(r.type,o.memoizedProps);l.componentDidUpdate(f,o.memoizedState,l.__reactInternalSnapshotBeforeUpdate)}var p=r.updateQueue;p!==null&&th(r,p,l);break;case 3:var x=r.updateQueue;if(x!==null){if(o=null,r.child!==null)switch(r.child.tag){case 5:o=r.child.stateNode;break;case 1:o=r.child.stateNode}th(r,x,o)}break;case 5:var C=r.stateNode;if(o===null&&r.flags&4){o=C;var M=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":M.autoFocus&&o.focus();break;case"img":M.src&&(o.src=M.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var K=r.alternate;if(K!==null){var Z=K.memoizedState;if(Z!==null){var ee=Z.dehydrated;ee!==null&&Zi(ee)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}gt||r.flags&512&&Au(r)}catch(J){He(r,r.return,J)}}if(r===e){le=null;break}if(o=r.sibling,o!==null){o.return=r.return,le=o;break}le=r.return}}function tm(e){for(;le!==null;){var r=le;if(r===e){le=null;break}var o=r.sibling;if(o!==null){o.return=r.return,le=o;break}le=r.return}}function nm(e){for(;le!==null;){var r=le;try{switch(r.tag){case 0:case 11:case 15:var o=r.return;try{Ys(4,r)}catch(M){He(r,o,M)}break;case 1:var l=r.stateNode;if(typeof l.componentDidMount=="function"){var f=r.return;try{l.componentDidMount()}catch(M){He(r,f,M)}}var p=r.return;try{Au(r)}catch(M){He(r,p,M)}break;case 5:var x=r.return;try{Au(r)}catch(M){He(r,x,M)}}}catch(M){He(r,r.return,M)}if(r===e){le=null;break}var C=r.sibling;if(C!==null){C.return=r.return,le=C;break}le=r.return}}var Sw=Math.ceil,Js=U.ReactCurrentDispatcher,Nu=U.ReactCurrentOwner,Kt=U.ReactCurrentBatchConfig,Fe=0,lt=null,Ye=null,ft=0,zt=0,xi=ir(0),nt=0,Po=null,Rr=0,Zs=0,Ru=0,To=null,bt=null,bu=0,wi=1/0,Vn=null,ea=!1,Ou=null,cr=null,ta=!1,fr=null,na=0,ko=0,Mu=null,ra=-1,ia=0;function kt(){return(Fe&6)!==0?Ge():ra!==-1?ra:ra=Ge()}function dr(e){return(e.mode&1)===0?1:(Fe&2)!==0&&ft!==0?ft&-ft:iw.transition!==null?(ia===0&&(ia=Qd()),ia):(e=Me,e!==0||(e=window.event,e=e===void 0?16:ip(e.type)),e)}function ln(e,r,o,l){if(50<ko)throw ko=0,Mu=null,Error(i(185));Gi(e,o,l),((Fe&2)===0||e!==lt)&&(e===lt&&((Fe&2)===0&&(Zs|=o),nt===4&&pr(e,ft)),Ot(e,l),o===1&&Fe===0&&(r.mode&1)===0&&(wi=Ge()+500,bs&&sr()))}function Ot(e,r){var o=e.callbackNode;rx(e,r);var l=ps(e,e===lt?ft:0);if(l===0)o!==null&&qi(o),e.callbackNode=null,e.callbackPriority=0;else if(r=l&-l,e.callbackPriority!==r){if(o!=null&&qi(o),r===1)e.tag===0?rw(im.bind(null,e)):$p(im.bind(null,e)),Zx(function(){(Fe&6)===0&&sr()}),o=null;else{switch(Xd(l)){case 1:o=pl;break;case 4:o=Kd;break;case 16:o=us;break;case 536870912:o=Gd;break;default:o=us}o=dm(o,rm.bind(null,e))}e.callbackPriority=r,e.callbackNode=o}}function rm(e,r){if(ra=-1,ia=0,(Fe&6)!==0)throw Error(i(327));var o=e.callbackNode;if(Si()&&e.callbackNode!==o)return null;var l=ps(e,e===lt?ft:0);if(l===0)return null;if((l&30)!==0||(l&e.expiredLanes)!==0||r)r=oa(e,l);else{r=l;var f=Fe;Fe|=2;var p=sm();(lt!==e||ft!==r)&&(Vn=null,wi=Ge()+500,Or(e,r));do try{Tw();break}catch(C){om(e,C)}while(!0);Jl(),Js.current=p,Fe=f,Ye!==null?r=0:(lt=null,ft=0,r=nt)}if(r!==0){if(r===2&&(f=hl(e),f!==0&&(l=f,r=ju(e,f))),r===1)throw o=Po,Or(e,0),pr(e,l),Ot(e,Ge()),o;if(r===6)pr(e,l);else{if(f=e.current.alternate,(l&30)===0&&!Ew(f)&&(r=oa(e,l),r===2&&(p=hl(e),p!==0&&(l=p,r=ju(e,p))),r===1))throw o=Po,Or(e,0),pr(e,l),Ot(e,Ge()),o;switch(e.finishedWork=f,e.finishedLanes=l,r){case 0:case 1:throw Error(i(345));case 2:Mr(e,bt,Vn);break;case 3:if(pr(e,l),(l&130023424)===l&&(r=bu+500-Ge(),10<r)){if(ps(e,0)!==0)break;if(f=e.suspendedLanes,(f&l)!==l){kt(),e.pingedLanes|=e.suspendedLanes&f;break}e.timeoutHandle=zl(Mr.bind(null,e,bt,Vn),r);break}Mr(e,bt,Vn);break;case 4:if(pr(e,l),(l&4194240)===l)break;for(r=e.eventTimes,f=-1;0<l;){var x=31-tn(l);p=1<<x,x=r[x],x>f&&(f=x),l&=~p}if(l=f,l=Ge()-l,l=(120>l?120:480>l?480:1080>l?1080:1920>l?1920:3e3>l?3e3:4320>l?4320:1960*Sw(l/1960))-l,10<l){e.timeoutHandle=zl(Mr.bind(null,e,bt,Vn),l);break}Mr(e,bt,Vn);break;case 5:Mr(e,bt,Vn);break;default:throw Error(i(329))}}}return Ot(e,Ge()),e.callbackNode===o?rm.bind(null,e):null}function ju(e,r){var o=To;return e.current.memoizedState.isDehydrated&&(Or(e,r).flags|=256),e=oa(e,r),e!==2&&(r=bt,bt=o,r!==null&&Iu(r)),e}function Iu(e){bt===null?bt=e:bt.push.apply(bt,e)}function Ew(e){for(var r=e;;){if(r.flags&16384){var o=r.updateQueue;if(o!==null&&(o=o.stores,o!==null))for(var l=0;l<o.length;l++){var f=o[l],p=f.getSnapshot;f=f.value;try{if(!nn(p(),f))return!1}catch{return!1}}}if(o=r.child,r.subtreeFlags&16384&&o!==null)o.return=r,r=o;else{if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function pr(e,r){for(r&=~Ru,r&=~Zs,e.suspendedLanes|=r,e.pingedLanes&=~r,e=e.expirationTimes;0<r;){var o=31-tn(r),l=1<<o;e[o]=-1,r&=~l}}function im(e){if((Fe&6)!==0)throw Error(i(327));Si();var r=ps(e,0);if((r&1)===0)return Ot(e,Ge()),null;var o=oa(e,r);if(e.tag!==0&&o===2){var l=hl(e);l!==0&&(r=l,o=ju(e,l))}if(o===1)throw o=Po,Or(e,0),pr(e,r),Ot(e,Ge()),o;if(o===6)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=r,Mr(e,bt,Vn),Ot(e,Ge()),null}function Du(e,r){var o=Fe;Fe|=1;try{return e(r)}finally{Fe=o,Fe===0&&(wi=Ge()+500,bs&&sr())}}function br(e){fr!==null&&fr.tag===0&&(Fe&6)===0&&Si();var r=Fe;Fe|=1;var o=Kt.transition,l=Me;try{if(Kt.transition=null,Me=1,e)return e()}finally{Me=l,Kt.transition=o,Fe=r,(Fe&6)===0&&sr()}}function Lu(){zt=xi.current,Le(xi)}function Or(e,r){e.finishedWork=null,e.finishedLanes=0;var o=e.timeoutHandle;if(o!==-1&&(e.timeoutHandle=-1,Jx(o)),Ye!==null)for(o=Ye.return;o!==null;){var l=o;switch(Kl(l),l.tag){case 1:l=l.type.childContextTypes,l!=null&&Ns();break;case 3:yi(),Le(Ft),Le(ht),su();break;case 5:iu(l);break;case 4:yi();break;case 13:Le(Ue);break;case 19:Le(Ue);break;case 10:Zl(l.type._context);break;case 22:case 23:Lu()}o=o.return}if(lt=e,Ye=e=hr(e.current,null),ft=zt=r,nt=0,Po=null,Ru=Zs=Rr=0,bt=To=null,Cr!==null){for(r=0;r<Cr.length;r++)if(o=Cr[r],l=o.interleaved,l!==null){o.interleaved=null;var f=l.next,p=o.pending;if(p!==null){var x=p.next;p.next=f,l.next=x}o.pending=l}Cr=null}return e}function om(e,r){do{var o=Ye;try{if(Jl(),Us.current=qs,$s){for(var l=$e.memoizedState;l!==null;){var f=l.queue;f!==null&&(f.pending=null),l=l.next}$s=!1}if(Nr=0,at=tt=$e=null,go=!1,vo=0,Nu.current=null,o===null||o.return===null){nt=1,Po=r,Ye=null;break}e:{var p=e,x=o.return,C=o,M=r;if(r=ft,C.flags|=32768,M!==null&&typeof M=="object"&&typeof M.then=="function"){var K=M,Z=C,ee=Z.tag;if((Z.mode&1)===0&&(ee===0||ee===11||ee===15)){var J=Z.alternate;J?(Z.updateQueue=J.updateQueue,Z.memoizedState=J.memoizedState,Z.lanes=J.lanes):(Z.updateQueue=null,Z.memoizedState=null)}var oe=Nh(x);if(oe!==null){oe.flags&=-257,Rh(oe,x,C,p,r),oe.mode&1&&Fh(p,K,r),r=oe,M=K;var ue=r.updateQueue;if(ue===null){var fe=new Set;fe.add(M),r.updateQueue=fe}else ue.add(M);break e}else{if((r&1)===0){Fh(p,K,r),Vu();break e}M=Error(i(426))}}else if(Be&&C.mode&1){var Qe=Nh(x);if(Qe!==null){(Qe.flags&65536)===0&&(Qe.flags|=256),Rh(Qe,x,C,p,r),Xl(gi(M,C));break e}}p=M=gi(M,C),nt!==4&&(nt=2),To===null?To=[p]:To.push(p),p=x;do{switch(p.tag){case 3:p.flags|=65536,r&=-r,p.lanes|=r;var z=Ah(p,M,r);eh(p,z);break e;case 1:C=M;var I=p.type,$=p.stateNode;if((p.flags&128)===0&&(typeof I.getDerivedStateFromError=="function"||$!==null&&typeof $.componentDidCatch=="function"&&(cr===null||!cr.has($)))){p.flags|=65536,r&=-r,p.lanes|=r;var te=Ch(p,C,r);eh(p,te);break e}}p=p.return}while(p!==null)}lm(o)}catch(de){r=de,Ye===o&&o!==null&&(Ye=o=o.return);continue}break}while(!0)}function sm(){var e=Js.current;return Js.current=qs,e===null?qs:e}function Vu(){(nt===0||nt===3||nt===2)&&(nt=4),lt===null||(Rr&268435455)===0&&(Zs&268435455)===0||pr(lt,ft)}function oa(e,r){var o=Fe;Fe|=2;var l=sm();(lt!==e||ft!==r)&&(Vn=null,Or(e,r));do try{Pw();break}catch(f){om(e,f)}while(!0);if(Jl(),Fe=o,Js.current=l,Ye!==null)throw Error(i(261));return lt=null,ft=0,nt}function Pw(){for(;Ye!==null;)am(Ye)}function Tw(){for(;Ye!==null&&!G1();)am(Ye)}function am(e){var r=fm(e.alternate,e,zt);e.memoizedProps=e.pendingProps,r===null?lm(e):Ye=r,Nu.current=null}function lm(e){var r=e;do{var o=r.alternate;if(e=r.return,(r.flags&32768)===0){if(o=yw(o,r,zt),o!==null){Ye=o;return}}else{if(o=gw(o,r),o!==null){o.flags&=32767,Ye=o;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{nt=6,Ye=null;return}}if(r=r.sibling,r!==null){Ye=r;return}Ye=r=e}while(r!==null);nt===0&&(nt=5)}function Mr(e,r,o){var l=Me,f=Kt.transition;try{Kt.transition=null,Me=1,kw(e,r,o,l)}finally{Kt.transition=f,Me=l}return null}function kw(e,r,o,l){do Si();while(fr!==null);if((Fe&6)!==0)throw Error(i(327));o=e.finishedWork;var f=e.finishedLanes;if(o===null)return null;if(e.finishedWork=null,e.finishedLanes=0,o===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var p=o.lanes|o.childLanes;if(ix(e,p),e===lt&&(Ye=lt=null,ft=0),(o.subtreeFlags&2064)===0&&(o.flags&2064)===0||ta||(ta=!0,dm(us,function(){return Si(),null})),p=(o.flags&15990)!==0,(o.subtreeFlags&15990)!==0||p){p=Kt.transition,Kt.transition=null;var x=Me;Me=1;var C=Fe;Fe|=4,Nu.current=null,xw(e,o),Jh(o,e),Hx(Vl),ys=!!Ll,Vl=Ll=null,e.current=o,ww(o),Q1(),Fe=C,Me=x,Kt.transition=p}else e.current=o;if(ta&&(ta=!1,fr=e,na=f),p=e.pendingLanes,p===0&&(cr=null),J1(o.stateNode),Ot(e,Ge()),r!==null)for(l=e.onRecoverableError,o=0;o<r.length;o++)f=r[o],l(f.value,{componentStack:f.stack,digest:f.digest});if(ea)throw ea=!1,e=Ou,Ou=null,e;return(na&1)!==0&&e.tag!==0&&Si(),p=e.pendingLanes,(p&1)!==0?e===Mu?ko++:(ko=0,Mu=e):ko=0,sr(),null}function Si(){if(fr!==null){var e=Xd(na),r=Kt.transition,o=Me;try{if(Kt.transition=null,Me=16>e?16:e,fr===null)var l=!1;else{if(e=fr,fr=null,na=0,(Fe&6)!==0)throw Error(i(331));var f=Fe;for(Fe|=4,le=e.current;le!==null;){var p=le,x=p.child;if((le.flags&16)!==0){var C=p.deletions;if(C!==null){for(var M=0;M<C.length;M++){var K=C[M];for(le=K;le!==null;){var Z=le;switch(Z.tag){case 0:case 11:case 15:Eo(8,Z,p)}var ee=Z.child;if(ee!==null)ee.return=Z,le=ee;else for(;le!==null;){Z=le;var J=Z.sibling,oe=Z.return;if(Kh(Z),Z===K){le=null;break}if(J!==null){J.return=oe,le=J;break}le=oe}}}var ue=p.alternate;if(ue!==null){var fe=ue.child;if(fe!==null){ue.child=null;do{var Qe=fe.sibling;fe.sibling=null,fe=Qe}while(fe!==null)}}le=p}}if((p.subtreeFlags&2064)!==0&&x!==null)x.return=p,le=x;else e:for(;le!==null;){if(p=le,(p.flags&2048)!==0)switch(p.tag){case 0:case 11:case 15:Eo(9,p,p.return)}var z=p.sibling;if(z!==null){z.return=p.return,le=z;break e}le=p.return}}var I=e.current;for(le=I;le!==null;){x=le;var $=x.child;if((x.subtreeFlags&2064)!==0&&$!==null)$.return=x,le=$;else e:for(x=I;le!==null;){if(C=le,(C.flags&2048)!==0)try{switch(C.tag){case 0:case 11:case 15:Ys(9,C)}}catch(de){He(C,C.return,de)}if(C===x){le=null;break e}var te=C.sibling;if(te!==null){te.return=C.return,le=te;break e}le=C.return}}if(Fe=f,sr(),vn&&typeof vn.onPostCommitFiberRoot=="function")try{vn.onPostCommitFiberRoot(cs,e)}catch{}l=!0}return l}finally{Me=o,Kt.transition=r}}return!1}function um(e,r,o){r=gi(o,r),r=Ah(e,r,1),e=lr(e,r,1),r=kt(),e!==null&&(Gi(e,1,r),Ot(e,r))}function He(e,r,o){if(e.tag===3)um(e,e,o);else for(;r!==null;){if(r.tag===3){um(r,e,o);break}else if(r.tag===1){var l=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(cr===null||!cr.has(l))){e=gi(o,e),e=Ch(r,e,1),r=lr(r,e,1),e=kt(),r!==null&&(Gi(r,1,e),Ot(r,e));break}}r=r.return}}function _w(e,r,o){var l=e.pingCache;l!==null&&l.delete(r),r=kt(),e.pingedLanes|=e.suspendedLanes&o,lt===e&&(ft&o)===o&&(nt===4||nt===3&&(ft&130023424)===ft&&500>Ge()-bu?Or(e,0):Ru|=o),Ot(e,r)}function cm(e,r){r===0&&((e.mode&1)===0?r=1:(r=ds,ds<<=1,(ds&130023424)===0&&(ds=4194304)));var o=kt();e=In(e,r),e!==null&&(Gi(e,r,o),Ot(e,o))}function Aw(e){var r=e.memoizedState,o=0;r!==null&&(o=r.retryLane),cm(e,o)}function Cw(e,r){var o=0;switch(e.tag){case 13:var l=e.stateNode,f=e.memoizedState;f!==null&&(o=f.retryLane);break;case 19:l=e.stateNode;break;default:throw Error(i(314))}l!==null&&l.delete(r),cm(e,o)}var fm;fm=function(e,r,o){if(e!==null)if(e.memoizedProps!==r.pendingProps||Ft.current)Rt=!0;else{if((e.lanes&o)===0&&(r.flags&128)===0)return Rt=!1,mw(e,r,o);Rt=(e.flags&131072)!==0}else Rt=!1,Be&&(r.flags&1048576)!==0&&Wp(r,Ms,r.index);switch(r.lanes=0,r.tag){case 2:var l=r.type;Qs(e,r),e=r.pendingProps;var f=ui(r,ht.current);mi(r,o),f=uu(null,r,l,e,f,o);var p=cu();return r.flags|=1,typeof f=="object"&&f!==null&&typeof f.render=="function"&&f.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,Nt(l)?(p=!0,Rs(r)):p=!1,r.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,nu(r),f.updater=Ks,r.stateNode=f,f._reactInternals=r,yu(r,l,e,o),r=wu(null,r,l,!0,p,o)):(r.tag=0,Be&&p&&ql(r),Tt(null,r,f,o),r=r.child),r;case 16:l=r.elementType;e:{switch(Qs(e,r),e=r.pendingProps,f=l._init,l=f(l._payload),r.type=l,f=r.tag=Nw(l),e=on(l,e),f){case 0:r=xu(null,r,l,e,o);break e;case 1:r=Dh(null,r,l,e,o);break e;case 11:r=bh(null,r,l,e,o);break e;case 14:r=Oh(null,r,l,on(l.type,e),o);break e}throw Error(i(306,l,""))}return r;case 0:return l=r.type,f=r.pendingProps,f=r.elementType===l?f:on(l,f),xu(e,r,l,f,o);case 1:return l=r.type,f=r.pendingProps,f=r.elementType===l?f:on(l,f),Dh(e,r,l,f,o);case 3:e:{if(Lh(r),e===null)throw Error(i(387));l=r.pendingProps,p=r.memoizedState,f=p.element,Zp(e,r),Bs(r,l,null,o);var x=r.memoizedState;if(l=x.element,p.isDehydrated)if(p={element:l,isDehydrated:!1,cache:x.cache,pendingSuspenseBoundaries:x.pendingSuspenseBoundaries,transitions:x.transitions},r.updateQueue.baseState=p,r.memoizedState=p,r.flags&256){f=gi(Error(i(423)),r),r=Vh(e,r,l,o,f);break e}else if(l!==f){f=gi(Error(i(424)),r),r=Vh(e,r,l,o,f);break e}else for(Bt=rr(r.stateNode.containerInfo.firstChild),Vt=r,Be=!0,rn=null,o=Yp(r,null,l,o),r.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(di(),l===f){r=Ln(e,r,o);break e}Tt(e,r,l,o)}r=r.child}return r;case 5:return nh(r),e===null&&Ql(r),l=r.type,f=r.pendingProps,p=e!==null?e.memoizedProps:null,x=f.children,Bl(l,f)?x=null:p!==null&&Bl(l,p)&&(r.flags|=32),Ih(e,r),Tt(e,r,x,o),r.child;case 6:return e===null&&Ql(r),null;case 13:return Bh(e,r,o);case 4:return ru(r,r.stateNode.containerInfo),l=r.pendingProps,e===null?r.child=pi(r,null,l,o):Tt(e,r,l,o),r.child;case 11:return l=r.type,f=r.pendingProps,f=r.elementType===l?f:on(l,f),bh(e,r,l,f,o);case 7:return Tt(e,r,r.pendingProps,o),r.child;case 8:return Tt(e,r,r.pendingProps.children,o),r.child;case 12:return Tt(e,r,r.pendingProps.children,o),r.child;case 10:e:{if(l=r.type._context,f=r.pendingProps,p=r.memoizedProps,x=f.value,Ie(Ds,l._currentValue),l._currentValue=x,p!==null)if(nn(p.value,x)){if(p.children===f.children&&!Ft.current){r=Ln(e,r,o);break e}}else for(p=r.child,p!==null&&(p.return=r);p!==null;){var C=p.dependencies;if(C!==null){x=p.child;for(var M=C.firstContext;M!==null;){if(M.context===l){if(p.tag===1){M=Dn(-1,o&-o),M.tag=2;var K=p.updateQueue;if(K!==null){K=K.shared;var Z=K.pending;Z===null?M.next=M:(M.next=Z.next,Z.next=M),K.pending=M}}p.lanes|=o,M=p.alternate,M!==null&&(M.lanes|=o),eu(p.return,o,r),C.lanes|=o;break}M=M.next}}else if(p.tag===10)x=p.type===r.type?null:p.child;else if(p.tag===18){if(x=p.return,x===null)throw Error(i(341));x.lanes|=o,C=x.alternate,C!==null&&(C.lanes|=o),eu(x,o,r),x=p.sibling}else x=p.child;if(x!==null)x.return=p;else for(x=p;x!==null;){if(x===r){x=null;break}if(p=x.sibling,p!==null){p.return=x.return,x=p;break}x=x.return}p=x}Tt(e,r,f.children,o),r=r.child}return r;case 9:return f=r.type,l=r.pendingProps.children,mi(r,o),f=Ht(f),l=l(f),r.flags|=1,Tt(e,r,l,o),r.child;case 14:return l=r.type,f=on(l,r.pendingProps),f=on(l.type,f),Oh(e,r,l,f,o);case 15:return Mh(e,r,r.type,r.pendingProps,o);case 17:return l=r.type,f=r.pendingProps,f=r.elementType===l?f:on(l,f),Qs(e,r),r.tag=1,Nt(l)?(e=!0,Rs(r)):e=!1,mi(r,o),kh(r,l,f),yu(r,l,f,o),wu(null,r,l,!0,e,o);case 19:return Uh(e,r,o);case 22:return jh(e,r,o)}throw Error(i(156,r.tag))};function dm(e,r){return ls(e,r)}function Fw(e,r,o,l){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Gt(e,r,o,l){return new Fw(e,r,o,l)}function Bu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Nw(e){if(typeof e=="function")return Bu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===j)return 11;if(e===Pe)return 14}return 2}function hr(e,r){var o=e.alternate;return o===null?(o=Gt(e.tag,r,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=r,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&14680064,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,r=e.dependencies,o.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o}function sa(e,r,o,l,f,p){var x=2;if(l=e,typeof e=="function")Bu(e)&&(x=1);else if(typeof e=="string")x=5;else e:switch(e){case b:return jr(o.children,f,p,r);case E:x=8,f|=8;break;case N:return e=Gt(12,o,r,f|2),e.elementType=N,e.lanes=p,e;case se:return e=Gt(13,o,r,f),e.elementType=se,e.lanes=p,e;case pe:return e=Gt(19,o,r,f),e.elementType=pe,e.lanes=p,e;case ce:return aa(o,f,p,r);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case _:x=10;break e;case V:x=9;break e;case j:x=11;break e;case Pe:x=14;break e;case Ee:x=16,l=null;break e}throw Error(i(130,e==null?e:typeof e,""))}return r=Gt(x,o,r,f),r.elementType=e,r.type=l,r.lanes=p,r}function jr(e,r,o,l){return e=Gt(7,e,l,r),e.lanes=o,e}function aa(e,r,o,l){return e=Gt(22,e,l,r),e.elementType=ce,e.lanes=o,e.stateNode={isHidden:!1},e}function zu(e,r,o){return e=Gt(6,e,null,r),e.lanes=o,e}function Uu(e,r,o){return r=Gt(4,e.children!==null?e.children:[],e.key,r),r.lanes=o,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}function Rw(e,r,o,l,f){this.tag=r,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=ml(0),this.expirationTimes=ml(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ml(0),this.identifierPrefix=l,this.onRecoverableError=f,this.mutableSourceEagerHydrationData=null}function $u(e,r,o,l,f,p,x,C,M){return e=new Rw(e,r,o,C,M),r===1?(r=1,p===!0&&(r|=8)):r=0,p=Gt(3,null,null,r),e.current=p,p.stateNode=e,p.memoizedState={element:l,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},nu(p),e}function bw(e,r,o){var l=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:q,key:l==null?null:""+l,children:e,containerInfo:r,implementation:o}}function pm(e){if(!e)return or;e=e._reactInternals;e:{if(en(e)!==e||e.tag!==1)throw Error(i(170));var r=e;do{switch(r.tag){case 3:r=r.stateNode.context;break e;case 1:if(Nt(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break e}}r=r.return}while(r!==null);throw Error(i(171))}if(e.tag===1){var o=e.type;if(Nt(o))return zp(e,o,r)}return r}function hm(e,r,o,l,f,p,x,C,M){return e=$u(o,l,!0,e,f,p,x,C,M),e.context=pm(null),o=e.current,l=kt(),f=dr(o),p=Dn(l,f),p.callback=r??null,lr(o,p,f),e.current.lanes=f,Gi(e,f,l),Ot(e,l),e}function la(e,r,o,l){var f=r.current,p=kt(),x=dr(f);return o=pm(o),r.context===null?r.context=o:r.pendingContext=o,r=Dn(p,x),r.payload={element:e},l=l===void 0?null:l,l!==null&&(r.callback=l),e=lr(f,r,x),e!==null&&(ln(e,f,x,p),Vs(e,f,x)),x}function ua(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 mm(e,r){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<r?o:r}}function Wu(e,r){mm(e,r),(e=e.alternate)&&mm(e,r)}function Ow(){return null}var ym=typeof reportError=="function"?reportError:function(e){console.error(e)};function Hu(e){this._internalRoot=e}ca.prototype.render=Hu.prototype.render=function(e){var r=this._internalRoot;if(r===null)throw Error(i(409));la(e,r,null,null)},ca.prototype.unmount=Hu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var r=e.containerInfo;br(function(){la(null,e,null,null)}),r[bn]=null}};function ca(e){this._internalRoot=e}ca.prototype.unstable_scheduleHydration=function(e){if(e){var r=Zd();e={blockedOn:null,target:e,priority:r};for(var o=0;o<er.length&&r!==0&&r<er[o].priority;o++);er.splice(o,0,e),o===0&&np(e)}};function qu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function fa(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function gm(){}function Mw(e,r,o,l,f){if(f){if(typeof l=="function"){var p=l;l=function(){var K=ua(x);p.call(K)}}var x=hm(r,l,e,0,null,!1,!1,"",gm);return e._reactRootContainer=x,e[bn]=x.current,lo(e.nodeType===8?e.parentNode:e),br(),x}for(;f=e.lastChild;)e.removeChild(f);if(typeof l=="function"){var C=l;l=function(){var K=ua(M);C.call(K)}}var M=$u(e,0,!1,null,null,!1,!1,"",gm);return e._reactRootContainer=M,e[bn]=M.current,lo(e.nodeType===8?e.parentNode:e),br(function(){la(r,M,o,l)}),M}function da(e,r,o,l,f){var p=o._reactRootContainer;if(p){var x=p;if(typeof f=="function"){var C=f;f=function(){var M=ua(x);C.call(M)}}la(r,x,e,f)}else x=Mw(o,r,e,f,l);return ua(x)}Yd=function(e){switch(e.tag){case 3:var r=e.stateNode;if(r.current.memoizedState.isDehydrated){var o=Ki(r.pendingLanes);o!==0&&(yl(r,o|1),Ot(r,Ge()),(Fe&6)===0&&(wi=Ge()+500,sr()))}break;case 13:br(function(){var l=In(e,1);if(l!==null){var f=kt();ln(l,e,1,f)}}),Wu(e,1)}},gl=function(e){if(e.tag===13){var r=In(e,134217728);if(r!==null){var o=kt();ln(r,e,134217728,o)}Wu(e,134217728)}},Jd=function(e){if(e.tag===13){var r=dr(e),o=In(e,r);if(o!==null){var l=kt();ln(o,e,r,l)}Wu(e,r)}},Zd=function(){return Me},ep=function(e,r){var o=Me;try{return Me=e,r()}finally{Me=o}},Oe=function(e,r,o){switch(r){case"input":if(ot(e,o),r=o.name,o.type==="radio"&&r!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<o.length;r++){var l=o[r];if(l!==e&&l.form===e.form){var f=Fs(l);if(!f)throw Error(i(90));be(l),ot(l,f)}}}break;case"textarea":Cn(e,o);break;case"select":r=o.value,r!=null&&st(e,!!o.multiple,r,!1)}},Yr=Du,Nn=br;var jw={usingClientEntryPoint:!1,Events:[fo,ai,Fs,pt,Jt,Du]},_o={findFiberByHostInstance:Tr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Iw={bundleType:_o.bundleType,version:_o.version,rendererPackageName:_o.rendererPackageName,rendererConfig:_o.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:U.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Rn(e),e===null?null:e.stateNode},findFiberByHostInstance:_o.findFiberByHostInstance||Ow,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 pa=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!pa.isDisabled&&pa.supportsFiber)try{cs=pa.inject(Iw),vn=pa}catch{}}return Mt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=jw,Mt.createPortal=function(e,r){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!qu(r))throw Error(i(200));return bw(e,r,null,o)},Mt.createRoot=function(e,r){if(!qu(e))throw Error(i(299));var o=!1,l="",f=ym;return r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(l=r.identifierPrefix),r.onRecoverableError!==void 0&&(f=r.onRecoverableError)),r=$u(e,1,!1,null,null,o,!1,l,f),e[bn]=r.current,lo(e.nodeType===8?e.parentNode:e),new Hu(r)},Mt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var r=e._reactInternals;if(r===void 0)throw typeof e.render=="function"?Error(i(188)):(e=Object.keys(e).join(","),Error(i(268,e)));return e=Rn(r),e=e===null?null:e.stateNode,e},Mt.flushSync=function(e){return br(e)},Mt.hydrate=function(e,r,o){if(!fa(r))throw Error(i(200));return da(null,e,r,!0,o)},Mt.hydrateRoot=function(e,r,o){if(!qu(e))throw Error(i(405));var l=o!=null&&o.hydratedSources||null,f=!1,p="",x=ym;if(o!=null&&(o.unstable_strictMode===!0&&(f=!0),o.identifierPrefix!==void 0&&(p=o.identifierPrefix),o.onRecoverableError!==void 0&&(x=o.onRecoverableError)),r=hm(r,null,e,1,o??null,f,!1,p,x),e[bn]=r.current,lo(e),l)for(e=0;e<l.length;e++)o=l[e],f=o._getVersion,f=f(o._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[o,f]:r.mutableSourceEagerHydrationData.push(o,f);return new ca(r)},Mt.render=function(e,r,o){if(!fa(r))throw Error(i(200));return da(null,e,r,!1,o)},Mt.unmountComponentAtNode=function(e){if(!fa(e))throw Error(i(40));return e._reactRootContainer?(br(function(){da(null,null,e,!1,function(){e._reactRootContainer=null,e[bn]=null})}),!0):!1},Mt.unstable_batchedUpdates=Du,Mt.unstable_renderSubtreeIntoContainer=function(e,r,o,l){if(!fa(o))throw Error(i(200));if(e==null||e._reactInternals===void 0)throw Error(i(38));return da(e,r,o,!1,l)},Mt.version="18.3.1-next-f1338f8080-20240426",Mt}var _m;function Hw(){if(_m)return Qu.exports;_m=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}return t(),Qu.exports=Ww(),Qu.exports}var Am;function qw(){if(Am)return ha;Am=1;var t=Hw();return ha.createRoot=t.createRoot,ha.hydrateRoot=t.hydrateRoot,ha}var Kw=qw(),Y=Zf();const ma=qa(Y),ed=Y.createContext({});function td(t){const n=Y.useRef(null);return n.current===null&&(n.current=t()),n.current}const nd=typeof window<"u",hg=nd?Y.useLayoutEffect:Y.useEffect,Ka=Y.createContext(null);function rd(t,n){t.indexOf(n)===-1&&t.push(n)}function id(t,n){const i=t.indexOf(n);i>-1&&t.splice(i,1)}const Un=(t,n,i)=>i>n?n:i<t?t:i;let od=()=>{};const $n={},mg=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function yg(t){return typeof t=="object"&&t!==null}const gg=t=>/^0[^.\s]+$/u.test(t);function sd(t){let n;return()=>(n===void 0&&(n=t()),n)}const Yt=t=>t,Gw=(t,n)=>i=>n(t(i)),Ho=(...t)=>t.reduce(Gw),jo=(t,n,i)=>{const s=n-t;return s===0?1:(i-t)/s};class ad{constructor(){this.subscriptions=[]}add(n){return rd(this.subscriptions,n),()=>id(this.subscriptions,n)}notify(n,i,s){const a=this.subscriptions.length;if(a)if(a===1)this.subscriptions[0](n,i,s);else for(let c=0;c<a;c++){const u=this.subscriptions[c];u&&u(n,i,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const kn=t=>t*1e3,Xt=t=>t/1e3;function vg(t,n){return n?t*(1e3/n):0}const xg=(t,n,i)=>(((1-3*i+3*n)*t+(3*i-6*n))*t+3*n)*t,Qw=1e-7,Xw=12;function Yw(t,n,i,s,a){let c,u,d=0;do u=n+(i-n)/2,c=xg(u,s,a)-t,c>0?i=u:n=u;while(Math.abs(c)>Qw&&++d<Xw);return u}function qo(t,n,i,s){if(t===n&&i===s)return Yt;const a=c=>Yw(c,0,1,t,i);return c=>c===0||c===1?c:xg(a(c),n,s)}const wg=t=>n=>n<=.5?t(2*n)/2:(2-t(2*(1-n)))/2,Sg=t=>n=>1-t(1-n),Eg=qo(.33,1.53,.69,.99),ld=Sg(Eg),Pg=wg(ld),Tg=t=>(t*=2)<1?.5*ld(t):.5*(2-Math.pow(2,-10*(t-1))),ud=t=>1-Math.sin(Math.acos(t)),kg=Sg(ud),_g=wg(ud),Jw=qo(.42,0,1,1),Zw=qo(0,0,.58,1),Ag=qo(.42,0,.58,1),eS=t=>Array.isArray(t)&&typeof t[0]!="number",Cg=t=>Array.isArray(t)&&typeof t[0]=="number",tS={linear:Yt,easeIn:Jw,easeInOut:Ag,easeOut:Zw,circIn:ud,circInOut:_g,circOut:kg,backIn:ld,backInOut:Pg,backOut:Eg,anticipate:Tg},nS=t=>typeof t=="string",Cm=t=>{if(Cg(t)){od(t.length===4);const[n,i,s,a]=t;return qo(n,i,s,a)}else if(nS(t))return tS[t];return t},ya=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function rS(t,n){let i=new Set,s=new Set,a=!1,c=!1;const u=new WeakSet;let d={delta:0,timestamp:0,isProcessing:!1};function h(m){u.has(m)&&(y.schedule(m),t()),m(d)}const y={schedule:(m,v=!1,w=!1)=>{const T=w&&a?i:s;return v&&u.add(m),T.has(m)||T.add(m),m},cancel:m=>{s.delete(m),u.delete(m)},process:m=>{if(d=m,a){c=!0;return}a=!0,[i,s]=[s,i],i.forEach(h),i.clear(),a=!1,c&&(c=!1,y.process(m))}};return y}const iS=40;function Fg(t,n){let i=!1,s=!0;const a={delta:0,timestamp:0,isProcessing:!1},c=()=>i=!0,u=ya.reduce((D,U)=>(D[U]=rS(c),D),{}),{setup:d,read:h,resolveKeyframes:y,preUpdate:m,update:v,preRender:w,render:k,postRender:T}=u,A=()=>{const D=$n.useManualTiming?a.timestamp:performance.now();i=!1,$n.useManualTiming||(a.delta=s?1e3/60:Math.max(Math.min(D-a.timestamp,iS),1)),a.timestamp=D,a.isProcessing=!0,d.process(a),h.process(a),y.process(a),m.process(a),v.process(a),w.process(a),k.process(a),T.process(a),a.isProcessing=!1,i&&n&&(s=!1,t(A))},S=()=>{i=!0,s=!0,a.isProcessing||t(A)};return{schedule:ya.reduce((D,U)=>{const H=u[U];return D[U]=(q,b=!1,E=!1)=>(i||S(),H.schedule(q,b,E)),D},{}),cancel:D=>{for(let U=0;U<ya.length;U++)u[ya[U]].cancel(D)},state:a,steps:u}}const{schedule:ze,cancel:vr,state:dt,steps:Ju}=Fg(typeof requestAnimationFrame<"u"?requestAnimationFrame:Yt,!0);let Pa;function oS(){Pa=void 0}const jt={now:()=>(Pa===void 0&&jt.set(dt.isProcessing||$n.useManualTiming?dt.timestamp:performance.now()),Pa),set:t=>{Pa=t,queueMicrotask(oS)}},Ng=t=>n=>typeof n=="string"&&n.startsWith(t),Rg=Ng("--"),sS=Ng("var(--"),cd=t=>sS(t)?aS.test(t.split("/*")[0].trim()):!1,aS=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,ji={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Io={...ji,transform:t=>Un(0,1,t)},ga={...ji,default:1},Ro=t=>Math.round(t*1e5)/1e5,fd=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function lS(t){return t==null}const uS=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,dd=(t,n)=>i=>!!(typeof i=="string"&&uS.test(i)&&i.startsWith(t)||n&&!lS(i)&&Object.prototype.hasOwnProperty.call(i,n)),bg=(t,n,i)=>s=>{if(typeof s!="string")return s;const[a,c,u,d]=s.match(fd);return{[t]:parseFloat(a),[n]:parseFloat(c),[i]:parseFloat(u),alpha:d!==void 0?parseFloat(d):1}},cS=t=>Un(0,255,t),Zu={...ji,transform:t=>Math.round(cS(t))},Vr={test:dd("rgb","red"),parse:bg("red","green","blue"),transform:({red:t,green:n,blue:i,alpha:s=1})=>"rgba("+Zu.transform(t)+", "+Zu.transform(n)+", "+Zu.transform(i)+", "+Ro(Io.transform(s))+")"};function fS(t){let n="",i="",s="",a="";return t.length>5?(n=t.substring(1,3),i=t.substring(3,5),s=t.substring(5,7),a=t.substring(7,9)):(n=t.substring(1,2),i=t.substring(2,3),s=t.substring(3,4),a=t.substring(4,5),n+=n,i+=i,s+=s,a+=a),{red:parseInt(n,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:a?parseInt(a,16)/255:1}}const mf={test:dd("#"),parse:fS,transform:Vr.transform},Ko=t=>({test:n=>typeof n=="string"&&n.endsWith(t)&&n.split(" ").length===1,parse:parseFloat,transform:n=>`${n}${t}`}),yr=Ko("deg"),_n=Ko("%"),ve=Ko("px"),dS=Ko("vh"),pS=Ko("vw"),Fm={..._n,parse:t=>_n.parse(t)/100,transform:t=>_n.transform(t*100)},Pi={test:dd("hsl","hue"),parse:bg("hue","saturation","lightness"),transform:({hue:t,saturation:n,lightness:i,alpha:s=1})=>"hsla("+Math.round(t)+", "+_n.transform(Ro(n))+", "+_n.transform(Ro(i))+", "+Ro(Io.transform(s))+")"},Je={test:t=>Vr.test(t)||mf.test(t)||Pi.test(t),parse:t=>Vr.test(t)?Vr.parse(t):Pi.test(t)?Pi.parse(t):mf.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?Vr.transform(t):Pi.transform(t),getAnimatableNone:t=>{const n=Je.parse(t);return n.alpha=0,Je.transform(n)}},hS=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function mS(t){var n,i;return isNaN(t)&&typeof t=="string"&&(((n=t.match(fd))==null?void 0:n.length)||0)+(((i=t.match(hS))==null?void 0:i.length)||0)>0}const Og="number",Mg="color",yS="var",gS="var(",Nm="${}",vS=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Do(t){const n=t.toString(),i=[],s={color:[],number:[],var:[]},a=[];let c=0;const d=n.replace(vS,h=>(Je.test(h)?(s.color.push(c),a.push(Mg),i.push(Je.parse(h))):h.startsWith(gS)?(s.var.push(c),a.push(yS),i.push(h)):(s.number.push(c),a.push(Og),i.push(parseFloat(h))),++c,Nm)).split(Nm);return{values:i,split:d,indexes:s,types:a}}function jg(t){return Do(t).values}function Ig(t){const{split:n,types:i}=Do(t),s=n.length;return a=>{let c="";for(let u=0;u<s;u++)if(c+=n[u],a[u]!==void 0){const d=i[u];d===Og?c+=Ro(a[u]):d===Mg?c+=Je.transform(a[u]):c+=a[u]}return c}}const xS=t=>typeof t=="number"?0:Je.test(t)?Je.getAnimatableNone(t):t;function wS(t){const n=jg(t);return Ig(t)(n.map(xS))}const xr={test:mS,parse:jg,createTransformer:Ig,getAnimatableNone:wS};function ec(t,n,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(n-t)*6*i:i<1/2?n:i<2/3?t+(n-t)*(2/3-i)*6:t}function SS({hue:t,saturation:n,lightness:i,alpha:s}){t/=360,n/=100,i/=100;let a=0,c=0,u=0;if(!n)a=c=u=i;else{const d=i<.5?i*(1+n):i+n-i*n,h=2*i-d;a=ec(h,d,t+1/3),c=ec(h,d,t),u=ec(h,d,t-1/3)}return{red:Math.round(a*255),green:Math.round(c*255),blue:Math.round(u*255),alpha:s}}function Oa(t,n){return i=>i>0?n:t}const We=(t,n,i)=>t+(n-t)*i,tc=(t,n,i)=>{const s=t*t,a=i*(n*n-s)+s;return a<0?0:Math.sqrt(a)},ES=[mf,Vr,Pi],PS=t=>ES.find(n=>n.test(t));function Rm(t){const n=PS(t);if(!n)return!1;let i=n.parse(t);return n===Pi&&(i=SS(i)),i}const bm=(t,n)=>{const i=Rm(t),s=Rm(n);if(!i||!s)return Oa(t,n);const a={...i};return c=>(a.red=tc(i.red,s.red,c),a.green=tc(i.green,s.green,c),a.blue=tc(i.blue,s.blue,c),a.alpha=We(i.alpha,s.alpha,c),Vr.transform(a))},yf=new Set(["none","hidden"]);function TS(t,n){return yf.has(t)?i=>i<=0?t:n:i=>i>=1?n:t}function kS(t,n){return i=>We(t,n,i)}function pd(t){return typeof t=="number"?kS:typeof t=="string"?cd(t)?Oa:Je.test(t)?bm:CS:Array.isArray(t)?Dg:typeof t=="object"?Je.test(t)?bm:_S:Oa}function Dg(t,n){const i=[...t],s=i.length,a=t.map((c,u)=>pd(c)(c,n[u]));return c=>{for(let u=0;u<s;u++)i[u]=a[u](c);return i}}function _S(t,n){const i={...t,...n},s={};for(const a in i)t[a]!==void 0&&n[a]!==void 0&&(s[a]=pd(t[a])(t[a],n[a]));return a=>{for(const c in s)i[c]=s[c](a);return i}}function AS(t,n){const i=[],s={color:0,var:0,number:0};for(let a=0;a<n.values.length;a++){const c=n.types[a],u=t.indexes[c][s[c]],d=t.values[u]??0;i[a]=d,s[c]++}return i}const CS=(t,n)=>{const i=xr.createTransformer(n),s=Do(t),a=Do(n);return s.indexes.var.length===a.indexes.var.length&&s.indexes.color.length===a.indexes.color.length&&s.indexes.number.length>=a.indexes.number.length?yf.has(t)&&!a.values.length||yf.has(n)&&!s.values.length?TS(t,n):Ho(Dg(AS(s,a),a.values),i):Oa(t,n)};function Lg(t,n,i){return typeof t=="number"&&typeof n=="number"&&typeof i=="number"?We(t,n,i):pd(t)(t,n)}const FS=t=>{const n=({timestamp:i})=>t(i);return{start:(i=!0)=>ze.update(n,i),stop:()=>vr(n),now:()=>dt.isProcessing?dt.timestamp:jt.now()}},Vg=(t,n,i=10)=>{let s="";const a=Math.max(Math.round(n/i),2);for(let c=0;c<a;c++)s+=Math.round(t(c/(a-1))*1e4)/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},Ma=2e4;function hd(t){let n=0;const i=50;let s=t.next(n);for(;!s.done&&n<Ma;)n+=i,s=t.next(n);return n>=Ma?1/0:n}function NS(t,n=100,i){const s=i({...t,keyframes:[0,n]}),a=Math.min(hd(s),Ma);return{type:"keyframes",ease:c=>s.next(a*c).value/n,duration:Xt(a)}}const RS=5;function Bg(t,n,i){const s=Math.max(n-RS,0);return vg(i-t(s),n-s)}const qe={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},nc=.001;function bS({duration:t=qe.duration,bounce:n=qe.bounce,velocity:i=qe.velocity,mass:s=qe.mass}){let a,c,u=1-n;u=Un(qe.minDamping,qe.maxDamping,u),t=Un(qe.minDuration,qe.maxDuration,Xt(t)),u<1?(a=y=>{const m=y*u,v=m*t,w=m-i,k=gf(y,u),T=Math.exp(-v);return nc-w/k*T},c=y=>{const v=y*u*t,w=v*i+i,k=Math.pow(u,2)*Math.pow(y,2)*t,T=Math.exp(-v),A=gf(Math.pow(y,2),u);return(-a(y)+nc>0?-1:1)*((w-k)*T)/A}):(a=y=>{const m=Math.exp(-y*t),v=(y-i)*t+1;return-nc+m*v},c=y=>{const m=Math.exp(-y*t),v=(i-y)*(t*t);return m*v});const d=5/t,h=MS(a,c,d);if(t=kn(t),isNaN(h))return{stiffness:qe.stiffness,damping:qe.damping,duration:t};{const y=Math.pow(h,2)*s;return{stiffness:y,damping:u*2*Math.sqrt(s*y),duration:t}}}const OS=12;function MS(t,n,i){let s=i;for(let a=1;a<OS;a++)s=s-t(s)/n(s);return s}function gf(t,n){return t*Math.sqrt(1-n*n)}const jS=["duration","bounce"],IS=["stiffness","damping","mass"];function Om(t,n){return n.some(i=>t[i]!==void 0)}function DS(t){let n={velocity:qe.velocity,stiffness:qe.stiffness,damping:qe.damping,mass:qe.mass,isResolvedFromDuration:!1,...t};if(!Om(t,IS)&&Om(t,jS))if(t.visualDuration){const i=t.visualDuration,s=2*Math.PI/(i*1.2),a=s*s,c=2*Un(.05,1,1-(t.bounce||0))*Math.sqrt(a);n={...n,mass:qe.mass,stiffness:a,damping:c}}else{const i=bS(t);n={...n,...i,mass:qe.mass},n.isResolvedFromDuration=!0}return n}function ja(t=qe.visualDuration,n=qe.bounce){const i=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:n}:t;let{restSpeed:s,restDelta:a}=i;const c=i.keyframes[0],u=i.keyframes[i.keyframes.length-1],d={done:!1,value:c},{stiffness:h,damping:y,mass:m,duration:v,velocity:w,isResolvedFromDuration:k}=DS({...i,velocity:-Xt(i.velocity||0)}),T=w||0,A=y/(2*Math.sqrt(h*m)),S=u-c,R=Xt(Math.sqrt(h/m)),O=Math.abs(S)<5;s||(s=O?qe.restSpeed.granular:qe.restSpeed.default),a||(a=O?qe.restDelta.granular:qe.restDelta.default);let D;if(A<1){const H=gf(R,A);D=q=>{const b=Math.exp(-A*R*q);return u-b*((T+A*R*S)/H*Math.sin(H*q)+S*Math.cos(H*q))}}else if(A===1)D=H=>u-Math.exp(-R*H)*(S+(T+R*S)*H);else{const H=R*Math.sqrt(A*A-1);D=q=>{const b=Math.exp(-A*R*q),E=Math.min(H*q,300);return u-b*((T+A*R*S)*Math.sinh(E)+H*S*Math.cosh(E))/H}}const U={calculatedDuration:k&&v||null,next:H=>{const q=D(H);if(k)d.done=H>=v;else{let b=H===0?T:0;A<1&&(b=H===0?kn(T):Bg(D,H,q));const E=Math.abs(b)<=s,N=Math.abs(u-q)<=a;d.done=E&&N}return d.value=d.done?u:q,d},toString:()=>{const H=Math.min(hd(U),Ma),q=Vg(b=>U.next(H*b).value,H,30);return H+"ms "+q},toTransition:()=>{}};return U}ja.applyToOptions=t=>{const n=NS(t,100,ja);return t.ease=n.ease,t.duration=kn(n.duration),t.type="keyframes",t};function vf({keyframes:t,velocity:n=0,power:i=.8,timeConstant:s=325,bounceDamping:a=10,bounceStiffness:c=500,modifyTarget:u,min:d,max:h,restDelta:y=.5,restSpeed:m}){const v=t[0],w={done:!1,value:v},k=E=>d!==void 0&&E<d||h!==void 0&&E>h,T=E=>d===void 0?h:h===void 0||Math.abs(d-E)<Math.abs(h-E)?d:h;let A=i*n;const S=v+A,R=u===void 0?S:u(S);R!==S&&(A=R-v);const O=E=>-A*Math.exp(-E/s),D=E=>R+O(E),U=E=>{const N=O(E),_=D(E);w.done=Math.abs(N)<=y,w.value=w.done?R:_};let H,q;const b=E=>{k(w.value)&&(H=E,q=ja({keyframes:[w.value,T(w.value)],velocity:Bg(D,E,w.value),damping:a,stiffness:c,restDelta:y,restSpeed:m}))};return b(0),{calculatedDuration:null,next:E=>{let N=!1;return!q&&H===void 0&&(N=!0,U(E),b(E)),H!==void 0&&E>=H?q.next(E-H):(!N&&U(E),w)}}}function LS(t,n,i){const s=[],a=i||$n.mix||Lg,c=t.length-1;for(let u=0;u<c;u++){let d=a(t[u],t[u+1]);if(n){const h=Array.isArray(n)?n[u]||Yt:n;d=Ho(h,d)}s.push(d)}return s}function VS(t,n,{clamp:i=!0,ease:s,mixer:a}={}){const c=t.length;if(od(c===n.length),c===1)return()=>n[0];if(c===2&&n[0]===n[1])return()=>n[1];const u=t[0]===t[1];t[0]>t[c-1]&&(t=[...t].reverse(),n=[...n].reverse());const d=LS(n,s,a),h=d.length,y=m=>{if(u&&m<t[0])return n[0];let v=0;if(h>1)for(;v<t.length-2&&!(m<t[v+1]);v++);const w=jo(t[v],t[v+1],m);return d[v](w)};return i?m=>y(Un(t[0],t[c-1],m)):y}function BS(t,n){const i=t[t.length-1];for(let s=1;s<=n;s++){const a=jo(0,n,s);t.push(We(i,1,a))}}function zS(t){const n=[0];return BS(n,t.length-1),n}function US(t,n){return t.map(i=>i*n)}function $S(t,n){return t.map(()=>n||Ag).splice(0,t.length-1)}function bo({duration:t=300,keyframes:n,times:i,ease:s="easeInOut"}){const a=eS(s)?s.map(Cm):Cm(s),c={done:!1,value:n[0]},u=US(i&&i.length===n.length?i:zS(n),t),d=VS(u,n,{ease:Array.isArray(a)?a:$S(n,a)});return{calculatedDuration:t,next:h=>(c.value=d(h),c.done=h>=t,c)}}const WS=t=>t!==null;function md(t,{repeat:n,repeatType:i="loop"},s,a=1){const c=t.filter(WS),d=a<0||n&&i!=="loop"&&n%2===1?0:c.length-1;return!d||s===void 0?c[d]:s}const HS={decay:vf,inertia:vf,tween:bo,keyframes:bo,spring:ja};function zg(t){typeof t.type=="string"&&(t.type=HS[t.type])}class yd{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(n=>{this.resolve=n})}notifyFinished(){this.resolve()}then(n,i){return this.finished.then(n,i)}}const qS=t=>t/100;class gd extends yd{constructor(n){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var s,a;const{motionValue:i}=this.options;i&&i.updatedAt!==jt.now()&&this.tick(jt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(a=(s=this.options).onStop)==null||a.call(s))},this.options=n,this.initAnimation(),this.play(),n.autoplay===!1&&this.pause()}initAnimation(){const{options:n}=this;zg(n);const{type:i=bo,repeat:s=0,repeatDelay:a=0,repeatType:c,velocity:u=0}=n;let{keyframes:d}=n;const h=i||bo;h!==bo&&typeof d[0]!="number"&&(this.mixKeyframes=Ho(qS,Lg(d[0],d[1])),d=[0,100]);const y=h({...n,keyframes:d});c==="mirror"&&(this.mirroredGenerator=h({...n,keyframes:[...d].reverse(),velocity:-u})),y.calculatedDuration===null&&(y.calculatedDuration=hd(y));const{calculatedDuration:m}=y;this.calculatedDuration=m,this.resolvedDuration=m+a,this.totalDuration=this.resolvedDuration*(s+1)-a,this.generator=y}updateTime(n){const i=Math.round(n-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=i}tick(n,i=!1){const{generator:s,totalDuration:a,mixKeyframes:c,mirroredGenerator:u,resolvedDuration:d,calculatedDuration:h}=this;if(this.startTime===null)return s.next(0);const{delay:y=0,keyframes:m,repeat:v,repeatType:w,repeatDelay:k,type:T,onUpdate:A,finalKeyframe:S}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,n):this.speed<0&&(this.startTime=Math.min(n-a/this.speed,this.startTime)),i?this.currentTime=n:this.updateTime(n);const R=this.currentTime-y*(this.playbackSpeed>=0?1:-1),O=this.playbackSpeed>=0?R<0:R>a;this.currentTime=Math.max(R,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=a);let D=this.currentTime,U=s;if(v){const E=Math.min(this.currentTime,a)/d;let N=Math.floor(E),_=E%1;!_&&E>=1&&(_=1),_===1&&N--,N=Math.min(N,v+1),!!(N%2)&&(w==="reverse"?(_=1-_,k&&(_-=k/d)):w==="mirror"&&(U=u)),D=Un(0,1,_)*d}const H=O?{done:!1,value:m[0]}:U.next(D);c&&(H.value=c(H.value));let{done:q}=H;!O&&h!==null&&(q=this.playbackSpeed>=0?this.currentTime>=a:this.currentTime<=0);const b=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&q);return b&&T!==vf&&(H.value=md(m,this.options,S,this.speed)),A&&A(H.value),b&&this.finish(),H}then(n,i){return this.finished.then(n,i)}get duration(){return Xt(this.calculatedDuration)}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+Xt(n)}get time(){return Xt(this.currentTime)}set time(n){var i;n=kn(n),this.currentTime=n,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=n:this.driver&&(this.startTime=this.driver.now()-n/this.playbackSpeed),(i=this.driver)==null||i.start(!1)}get speed(){return this.playbackSpeed}set speed(n){this.updateTime(jt.now());const i=this.playbackSpeed!==n;this.playbackSpeed=n,i&&(this.time=Xt(this.currentTime))}play(){var a,c;if(this.isStopped)return;const{driver:n=FS,startTime:i}=this.options;this.driver||(this.driver=n(u=>this.tick(u))),(c=(a=this.options).onPlay)==null||c.call(a);const s=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=s):this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime||(this.startTime=i??s),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(jt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var n,i;this.notifyFinished(),this.teardown(),this.state="finished",(i=(n=this.options).onComplete)==null||i.call(n)}cancel(){var n,i;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(i=(n=this.options).onCancel)==null||i.call(n)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(n){return this.startTime=0,this.tick(n,!0)}attachTimeline(n){var i;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(i=this.driver)==null||i.stop(),n.observe(this)}}function KS(t){for(let n=1;n<t.length;n++)t[n]??(t[n]=t[n-1])}const Br=t=>t*180/Math.PI,xf=t=>{const n=Br(Math.atan2(t[1],t[0]));return wf(n)},GS={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:xf,rotateZ:xf,skewX:t=>Br(Math.atan(t[1])),skewY:t=>Br(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},wf=t=>(t=t%360,t<0&&(t+=360),t),Mm=xf,jm=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),Im=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),QS={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:jm,scaleY:Im,scale:t=>(jm(t)+Im(t))/2,rotateX:t=>wf(Br(Math.atan2(t[6],t[5]))),rotateY:t=>wf(Br(Math.atan2(-t[2],t[0]))),rotateZ:Mm,rotate:Mm,skewX:t=>Br(Math.atan(t[4])),skewY:t=>Br(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function Sf(t){return t.includes("scale")?1:0}function Ef(t,n){if(!t||t==="none")return Sf(n);const i=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,a;if(i)s=QS,a=i;else{const d=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=GS,a=d}if(!a)return Sf(n);const c=s[n],u=a[1].split(",").map(YS);return typeof c=="function"?c(u):u[c]}const XS=(t,n)=>{const{transform:i="none"}=getComputedStyle(t);return Ef(i,n)};function YS(t){return parseFloat(t.trim())}const Ii=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Di=new Set(Ii),Dm=t=>t===ji||t===ve,JS=new Set(["x","y","z"]),ZS=Ii.filter(t=>!JS.has(t));function e2(t){const n=[];return ZS.forEach(i=>{const s=t.getValue(i);s!==void 0&&(n.push([i,s.get()]),s.set(i.startsWith("scale")?1:0))}),n}const Ur={width:({x:t},{paddingLeft:n="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(n)-parseFloat(i),height:({y:t},{paddingTop:n="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(n)-parseFloat(i),top:(t,{top:n})=>parseFloat(n),left:(t,{left:n})=>parseFloat(n),bottom:({y:t},{top:n})=>parseFloat(n)+(t.max-t.min),right:({x:t},{left:n})=>parseFloat(n)+(t.max-t.min),x:(t,{transform:n})=>Ef(n,"x"),y:(t,{transform:n})=>Ef(n,"y")};Ur.translateX=Ur.x;Ur.translateY=Ur.y;const $r=new Set;let Pf=!1,Tf=!1,kf=!1;function Ug(){if(Tf){const t=Array.from($r).filter(s=>s.needsMeasurement),n=new Set(t.map(s=>s.element)),i=new Map;n.forEach(s=>{const a=e2(s);a.length&&(i.set(s,a),s.render())}),t.forEach(s=>s.measureInitialState()),n.forEach(s=>{s.render();const a=i.get(s);a&&a.forEach(([c,u])=>{var d;(d=s.getValue(c))==null||d.set(u)})}),t.forEach(s=>s.measureEndState()),t.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}Tf=!1,Pf=!1,$r.forEach(t=>t.complete(kf)),$r.clear()}function $g(){$r.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Tf=!0)})}function t2(){kf=!0,$g(),Ug(),kf=!1}class vd{constructor(n,i,s,a,c,u=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...n],this.onComplete=i,this.name=s,this.motionValue=a,this.element=c,this.isAsync=u}scheduleResolve(){this.state="scheduled",this.isAsync?($r.add(this),Pf||(Pf=!0,ze.read($g),ze.resolveKeyframes(Ug))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:n,name:i,element:s,motionValue:a}=this;if(n[0]===null){const c=a==null?void 0:a.get(),u=n[n.length-1];if(c!==void 0)n[0]=c;else if(s&&i){const d=s.readValue(i,u);d!=null&&(n[0]=d)}n[0]===void 0&&(n[0]=u),a&&c===void 0&&a.set(n[0])}KS(n)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(n=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,n),$r.delete(this)}cancel(){this.state==="scheduled"&&($r.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const n2=t=>t.startsWith("--");function r2(t,n,i){n2(n)?t.style.setProperty(n,i):t.style[n]=i}const i2=sd(()=>window.ScrollTimeline!==void 0),o2={};function s2(t,n){const i=sd(t);return()=>o2[n]??i()}const Wg=s2(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),No=([t,n,i,s])=>`cubic-bezier(${t}, ${n}, ${i}, ${s})`,Lm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:No([0,.65,.55,1]),circOut:No([.55,0,1,.45]),backIn:No([.31,.01,.66,-.59]),backOut:No([.33,1.53,.69,.99])};function Hg(t,n){if(t)return typeof t=="function"?Wg()?Vg(t,n):"ease-out":Cg(t)?No(t):Array.isArray(t)?t.map(i=>Hg(i,n)||Lm.easeOut):Lm[t]}function a2(t,n,i,{delay:s=0,duration:a=300,repeat:c=0,repeatType:u="loop",ease:d="easeOut",times:h}={},y=void 0){const m={[n]:i};h&&(m.offset=h);const v=Hg(d,a);Array.isArray(v)&&(m.easing=v);const w={delay:s,duration:a,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:c+1,direction:u==="reverse"?"alternate":"normal"};return y&&(w.pseudoElement=y),t.animate(m,w)}function qg(t){return typeof t=="function"&&"applyToOptions"in t}function l2({type:t,...n}){return qg(t)&&Wg()?t.applyToOptions(n):(n.duration??(n.duration=300),n.ease??(n.ease="easeOut"),n)}class u2 extends yd{constructor(n){if(super(),this.finishedTime=null,this.isStopped=!1,!n)return;const{element:i,name:s,keyframes:a,pseudoElement:c,allowFlatten:u=!1,finalKeyframe:d,onComplete:h}=n;this.isPseudoElement=!!c,this.allowFlatten=u,this.options=n,od(typeof n.type!="string");const y=l2(n);this.animation=a2(i,s,a,y,c),y.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!c){const m=md(a,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(m):r2(i,s,m),this.animation.cancel()}h==null||h(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var n,i;(i=(n=this.animation).finish)==null||i.call(n)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:n}=this;n==="idle"||n==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var n,i;this.isPseudoElement||(i=(n=this.animation).commitStyles)==null||i.call(n)}get duration(){var i,s;const n=((s=(i=this.animation.effect)==null?void 0:i.getComputedTiming)==null?void 0:s.call(i).duration)||0;return Xt(Number(n))}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+Xt(n)}get time(){return Xt(Number(this.animation.currentTime)||0)}set time(n){this.finishedTime=null,this.animation.currentTime=kn(n)}get speed(){return this.animation.playbackRate}set speed(n){n<0&&(this.finishedTime=null),this.animation.playbackRate=n}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(n){this.animation.startTime=n}attachTimeline({timeline:n,observe:i}){var s;return this.allowFlatten&&((s=this.animation.effect)==null||s.updateTiming({easing:"linear"})),this.animation.onfinish=null,n&&i2()?(this.animation.timeline=n,Yt):i(this)}}const Kg={anticipate:Tg,backInOut:Pg,circInOut:_g};function c2(t){return t in Kg}function f2(t){typeof t.ease=="string"&&c2(t.ease)&&(t.ease=Kg[t.ease])}const Vm=10;class d2 extends u2{constructor(n){f2(n),zg(n),super(n),n.startTime&&(this.startTime=n.startTime),this.options=n}updateMotionValue(n){const{motionValue:i,onUpdate:s,onComplete:a,element:c,...u}=this.options;if(!i)return;if(n!==void 0){i.set(n);return}const d=new gd({...u,autoplay:!1}),h=kn(this.finishedTime??this.time);i.setWithVelocity(d.sample(h-Vm).value,d.sample(h).value,Vm),d.stop()}}const Bm=(t,n)=>n==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(xr.test(t)||t==="0")&&!t.startsWith("url("));function p2(t){const n=t[0];if(t.length===1)return!0;for(let i=0;i<t.length;i++)if(t[i]!==n)return!0}function h2(t,n,i,s){const a=t[0];if(a===null)return!1;if(n==="display"||n==="visibility")return!0;const c=t[t.length-1],u=Bm(a,n),d=Bm(c,n);return!u||!d?!1:p2(t)||(i==="spring"||qg(i))&&s}function _f(t){t.duration=0,t.type="keyframes"}const m2=new Set(["opacity","clipPath","filter","transform"]),y2=sd(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function g2(t){var m;const{motionValue:n,name:i,repeatDelay:s,repeatType:a,damping:c,type:u}=t;if(!(((m=n==null?void 0:n.owner)==null?void 0:m.current)instanceof HTMLElement))return!1;const{onUpdate:h,transformTemplate:y}=n.owner.getProps();return y2()&&i&&m2.has(i)&&(i!=="transform"||!y)&&!h&&!s&&a!=="mirror"&&c!==0&&u!=="inertia"}const v2=40;class x2 extends yd{constructor({autoplay:n=!0,delay:i=0,type:s="keyframes",repeat:a=0,repeatDelay:c=0,repeatType:u="loop",keyframes:d,name:h,motionValue:y,element:m,...v}){var T;super(),this.stop=()=>{var A,S;this._animation&&(this._animation.stop(),(A=this.stopTimeline)==null||A.call(this)),(S=this.keyframeResolver)==null||S.cancel()},this.createdAt=jt.now();const w={autoplay:n,delay:i,type:s,repeat:a,repeatDelay:c,repeatType:u,name:h,motionValue:y,element:m,...v},k=(m==null?void 0:m.KeyframeResolver)||vd;this.keyframeResolver=new k(d,(A,S,R)=>this.onKeyframesResolved(A,S,w,!R),h,y,m),(T=this.keyframeResolver)==null||T.scheduleResolve()}onKeyframesResolved(n,i,s,a){this.keyframeResolver=void 0;const{name:c,type:u,velocity:d,delay:h,isHandoff:y,onUpdate:m}=s;this.resolvedAt=jt.now(),h2(n,c,u,d)||(($n.instantAnimations||!h)&&(m==null||m(md(n,s,i))),n[0]=n[n.length-1],_f(s),s.repeat=0);const w={startTime:a?this.resolvedAt?this.resolvedAt-this.createdAt>v2?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:i,...s,keyframes:n},k=!y&&g2(w)?new d2({...w,element:w.motionValue.owner.current}):new gd(w);k.finished.then(()=>this.notifyFinished()).catch(Yt),this.pendingTimeline&&(this.stopTimeline=k.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=k}get finished(){return this._animation?this.animation.finished:this._finished}then(n,i){return this.finished.finally(n).then(()=>{})}get animation(){var n;return this._animation||((n=this.keyframeResolver)==null||n.resume(),t2()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(n){this.animation.time=n}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(n){this.animation.speed=n}get startTime(){return this.animation.startTime}attachTimeline(n){return this._animation?this.stopTimeline=this.animation.attachTimeline(n):this.pendingTimeline=n,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var n;this._animation&&this.animation.cancel(),(n=this.keyframeResolver)==null||n.cancel()}}const w2=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function S2(t){const n=w2.exec(t);if(!n)return[,];const[,i,s,a]=n;return[`--${i??s}`,a]}function Gg(t,n,i=1){const[s,a]=S2(t);if(!s)return;const c=window.getComputedStyle(n).getPropertyValue(s);if(c){const u=c.trim();return mg(u)?parseFloat(u):u}return cd(a)?Gg(a,n,i+1):a}function xd(t,n){return(t==null?void 0:t[n])??(t==null?void 0:t.default)??t}const Qg=new Set(["width","height","top","left","right","bottom",...Ii]),E2={test:t=>t==="auto",parse:t=>t},Xg=t=>n=>n.test(t),Yg=[ji,ve,_n,yr,pS,dS,E2],zm=t=>Yg.find(Xg(t));function P2(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||gg(t):!0}const T2=new Set(["brightness","contrast","saturate","opacity"]);function k2(t){const[n,i]=t.slice(0,-1).split("(");if(n==="drop-shadow")return t;const[s]=i.match(fd)||[];if(!s)return t;const a=i.replace(s,"");let c=T2.has(n)?1:0;return s!==i&&(c*=100),n+"("+c+a+")"}const _2=/\b([a-z-]*)\(.*?\)/gu,Af={...xr,getAnimatableNone:t=>{const n=t.match(_2);return n?n.map(k2).join(" "):t}},Um={...ji,transform:Math.round},A2={rotate:yr,rotateX:yr,rotateY:yr,rotateZ:yr,scale:ga,scaleX:ga,scaleY:ga,scaleZ:ga,skew:yr,skewX:yr,skewY:yr,distance:ve,translateX:ve,translateY:ve,translateZ:ve,x:ve,y:ve,z:ve,perspective:ve,transformPerspective:ve,opacity:Io,originX:Fm,originY:Fm,originZ:ve},wd={borderWidth:ve,borderTopWidth:ve,borderRightWidth:ve,borderBottomWidth:ve,borderLeftWidth:ve,borderRadius:ve,radius:ve,borderTopLeftRadius:ve,borderTopRightRadius:ve,borderBottomRightRadius:ve,borderBottomLeftRadius:ve,width:ve,maxWidth:ve,height:ve,maxHeight:ve,top:ve,right:ve,bottom:ve,left:ve,padding:ve,paddingTop:ve,paddingRight:ve,paddingBottom:ve,paddingLeft:ve,margin:ve,marginTop:ve,marginRight:ve,marginBottom:ve,marginLeft:ve,backgroundPositionX:ve,backgroundPositionY:ve,...A2,zIndex:Um,fillOpacity:Io,strokeOpacity:Io,numOctaves:Um},C2={...wd,color:Je,backgroundColor:Je,outlineColor:Je,fill:Je,stroke:Je,borderColor:Je,borderTopColor:Je,borderRightColor:Je,borderBottomColor:Je,borderLeftColor:Je,filter:Af,WebkitFilter:Af},Jg=t=>C2[t];function Zg(t,n){let i=Jg(t);return i!==Af&&(i=xr),i.getAnimatableNone?i.getAnimatableNone(n):void 0}const F2=new Set(["auto","none","0"]);function N2(t,n,i){let s=0,a;for(;s<t.length&&!a;){const c=t[s];typeof c=="string"&&!F2.has(c)&&Do(c).values.length&&(a=t[s]),s++}if(a&&i)for(const c of n)t[c]=Zg(i,a)}class R2 extends vd{constructor(n,i,s,a,c){super(n,i,s,a,c,!0)}readKeyframes(){const{unresolvedKeyframes:n,element:i,name:s}=this;if(!i||!i.current)return;super.readKeyframes();for(let h=0;h<n.length;h++){let y=n[h];if(typeof y=="string"&&(y=y.trim(),cd(y))){const m=Gg(y,i.current);m!==void 0&&(n[h]=m),h===n.length-1&&(this.finalKeyframe=y)}}if(this.resolveNoneKeyframes(),!Qg.has(s)||n.length!==2)return;const[a,c]=n,u=zm(a),d=zm(c);if(u!==d)if(Dm(u)&&Dm(d))for(let h=0;h<n.length;h++){const y=n[h];typeof y=="string"&&(n[h]=parseFloat(y))}else Ur[s]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:n,name:i}=this,s=[];for(let a=0;a<n.length;a++)(n[a]===null||P2(n[a]))&&s.push(a);s.length&&N2(n,s,i)}measureInitialState(){const{element:n,unresolvedKeyframes:i,name:s}=this;if(!n||!n.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ur[s](n.measureViewportBox(),window.getComputedStyle(n.current)),i[0]=this.measuredOrigin;const a=i[i.length-1];a!==void 0&&n.getValue(s,a).jump(a,!1)}measureEndState(){var d;const{element:n,name:i,unresolvedKeyframes:s}=this;if(!n||!n.current)return;const a=n.getValue(i);a&&a.jump(this.measuredOrigin,!1);const c=s.length-1,u=s[c];s[c]=Ur[i](n.measureViewportBox(),window.getComputedStyle(n.current)),u!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=u),(d=this.removedTransforms)!=null&&d.length&&this.removedTransforms.forEach(([h,y])=>{n.getValue(h).set(y)}),this.resolveNoneKeyframes()}}function b2(t,n,i){if(t instanceof EventTarget)return[t];if(typeof t=="string"){let s=document;const a=(i==null?void 0:i[t])??s.querySelectorAll(t);return a?Array.from(a):[]}return Array.from(t)}const ev=(t,n)=>n&&typeof t=="number"?n.transform(t):t;function tv(t){return yg(t)&&"offsetHeight"in t}const $m=30,O2=t=>!isNaN(parseFloat(t));class M2{constructor(n,i={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=s=>{var c;const a=jt.now();if(this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&((c=this.events.change)==null||c.notify(this.current),this.dependents))for(const u of this.dependents)u.dirty()},this.hasAnimated=!1,this.setCurrent(n),this.owner=i.owner}setCurrent(n){this.current=n,this.updatedAt=jt.now(),this.canTrackVelocity===null&&n!==void 0&&(this.canTrackVelocity=O2(this.current))}setPrevFrameValue(n=this.current){this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt}onChange(n){return this.on("change",n)}on(n,i){this.events[n]||(this.events[n]=new ad);const s=this.events[n].add(i);return n==="change"?()=>{s(),ze.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const n in this.events)this.events[n].clear()}attach(n,i){this.passiveEffect=n,this.stopPassiveEffect=i}set(n){this.passiveEffect?this.passiveEffect(n,this.updateAndNotify):this.updateAndNotify(n)}setWithVelocity(n,i,s){this.set(i),this.prev=void 0,this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt-s}jump(n,i=!0){this.updateAndNotify(n),this.prev=n,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var n;(n=this.events.change)==null||n.notify(this.current)}addDependent(n){this.dependents||(this.dependents=new Set),this.dependents.add(n)}removeDependent(n){this.dependents&&this.dependents.delete(n)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const n=jt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||n-this.updatedAt>$m)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,$m);return vg(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(n){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=n(i),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var n,i;(n=this.dependents)==null||n.clear(),(i=this.events.destroy)==null||i.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Fi(t,n){return new M2(t,n)}const{schedule:Sd}=Fg(queueMicrotask,!1),fn={x:!1,y:!1};function nv(){return fn.x||fn.y}function j2(t){return t==="x"||t==="y"?fn[t]?null:(fn[t]=!0,()=>{fn[t]=!1}):fn.x||fn.y?null:(fn.x=fn.y=!0,()=>{fn.x=fn.y=!1})}function rv(t,n){const i=b2(t),s=new AbortController,a={passive:!0,...n,signal:s.signal};return[i,a,()=>s.abort()]}function Wm(t){return!(t.pointerType==="touch"||nv())}function I2(t,n,i={}){const[s,a,c]=rv(t,i),u=d=>{if(!Wm(d))return;const{target:h}=d,y=n(h,d);if(typeof y!="function"||!h)return;const m=v=>{Wm(v)&&(y(v),h.removeEventListener("pointerleave",m))};h.addEventListener("pointerleave",m,a)};return s.forEach(d=>{d.addEventListener("pointerenter",u,a)}),c}const iv=(t,n)=>n?t===n?!0:iv(t,n.parentElement):!1,Ed=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,D2=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function L2(t){return D2.has(t.tagName)||t.tabIndex!==-1}const Ta=new WeakSet;function Hm(t){return n=>{n.key==="Enter"&&t(n)}}function rc(t,n){t.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const V2=(t,n)=>{const i=t.currentTarget;if(!i)return;const s=Hm(()=>{if(Ta.has(i))return;rc(i,"down");const a=Hm(()=>{rc(i,"up")}),c=()=>rc(i,"cancel");i.addEventListener("keyup",a,n),i.addEventListener("blur",c,n)});i.addEventListener("keydown",s,n),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),n)};function qm(t){return Ed(t)&&!nv()}function B2(t,n,i={}){const[s,a,c]=rv(t,i),u=d=>{const h=d.currentTarget;if(!qm(d))return;Ta.add(h);const y=n(h,d),m=(k,T)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",w),Ta.has(h)&&Ta.delete(h),qm(k)&&typeof y=="function"&&y(k,{success:T})},v=k=>{m(k,h===window||h===document||i.useGlobalTarget||iv(h,k.target))},w=k=>{m(k,!1)};window.addEventListener("pointerup",v,a),window.addEventListener("pointercancel",w,a)};return s.forEach(d=>{(i.useGlobalTarget?window:d).addEventListener("pointerdown",u,a),tv(d)&&(d.addEventListener("focus",y=>V2(y,a)),!L2(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),c}function ov(t){return yg(t)&&"ownerSVGElement"in t}function z2(t){return ov(t)&&t.tagName==="svg"}const xt=t=>!!(t&&t.getVelocity),U2=[...Yg,Je,xr],$2=t=>U2.find(Xg(t)),Pd=Y.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function Km(t,n){if(typeof t=="function")return t(n);t!=null&&(t.current=n)}function W2(...t){return n=>{let i=!1;const s=t.map(a=>{const c=Km(a,n);return!i&&typeof c=="function"&&(i=!0),c});if(i)return()=>{for(let a=0;a<s.length;a++){const c=s[a];typeof c=="function"?c():Km(t[a],null)}}}}function H2(...t){return Y.useCallback(W2(...t),t)}class q2 extends Y.Component{getSnapshotBeforeUpdate(n){const i=this.props.childRef.current;if(i&&n.isPresent&&!this.props.isPresent){const s=i.offsetParent,a=tv(s)&&s.offsetWidth||0,c=this.props.sizeRef.current;c.height=i.offsetHeight||0,c.width=i.offsetWidth||0,c.top=i.offsetTop,c.left=i.offsetLeft,c.right=a-c.width-c.left}return null}componentDidUpdate(){}render(){return this.props.children}}function K2({children:t,isPresent:n,anchorX:i,root:s}){const a=Y.useId(),c=Y.useRef(null),u=Y.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=Y.useContext(Pd),h=H2(c,t==null?void 0:t.ref);return Y.useInsertionEffect(()=>{const{width:y,height:m,top:v,left:w,right:k}=u.current;if(n||!c.current||!y||!m)return;const T=i==="left"?`left: ${w}`:`right: ${k}`;c.current.dataset.motionPopId=a;const A=document.createElement("style");d&&(A.nonce=d);const S=s??document.head;return S.appendChild(A),A.sheet&&A.sheet.insertRule(`
|
||
[data-motion-pop-id="${a}"] {
|
||
position: absolute !important;
|
||
width: ${y}px !important;
|
||
height: ${m}px !important;
|
||
${T}px !important;
|
||
top: ${v}px !important;
|
||
}
|
||
`),()=>{S.contains(A)&&S.removeChild(A)}},[n]),P.jsx(q2,{isPresent:n,childRef:c,sizeRef:u,children:Y.cloneElement(t,{ref:h})})}const G2=({children:t,initial:n,isPresent:i,onExitComplete:s,custom:a,presenceAffectsLayout:c,mode:u,anchorX:d,root:h})=>{const y=td(Q2),m=Y.useId();let v=!0,w=Y.useMemo(()=>(v=!1,{id:m,initial:n,isPresent:i,custom:a,onExitComplete:k=>{y.set(k,!0);for(const T of y.values())if(!T)return;s&&s()},register:k=>(y.set(k,!1),()=>y.delete(k))}),[i,y,s]);return c&&v&&(w={...w}),Y.useMemo(()=>{y.forEach((k,T)=>y.set(T,!1))},[i]),Y.useEffect(()=>{!i&&!y.size&&s&&s()},[i]),u==="popLayout"&&(t=P.jsx(K2,{isPresent:i,anchorX:d,root:h,children:t})),P.jsx(Ka.Provider,{value:w,children:t})};function Q2(){return new Map}function sv(t=!0){const n=Y.useContext(Ka);if(n===null)return[!0,null];const{isPresent:i,onExitComplete:s,register:a}=n,c=Y.useId();Y.useEffect(()=>{if(t)return a(c)},[t]);const u=Y.useCallback(()=>t&&s&&s(c),[c,s,t]);return!i&&s?[!1,u]:[!0]}const va=t=>t.key||"";function Gm(t){const n=[];return Y.Children.forEach(t,i=>{Y.isValidElement(i)&&n.push(i)}),n}const X2=({children:t,custom:n,initial:i=!0,onExitComplete:s,presenceAffectsLayout:a=!0,mode:c="sync",propagate:u=!1,anchorX:d="left",root:h})=>{const[y,m]=sv(u),v=Y.useMemo(()=>Gm(t),[t]),w=u&&!y?[]:v.map(va),k=Y.useRef(!0),T=Y.useRef(v),A=td(()=>new Map),[S,R]=Y.useState(v),[O,D]=Y.useState(v);hg(()=>{k.current=!1,T.current=v;for(let q=0;q<O.length;q++){const b=va(O[q]);w.includes(b)?A.delete(b):A.get(b)!==!0&&A.set(b,!1)}},[O,w.length,w.join("-")]);const U=[];if(v!==S){let q=[...v];for(let b=0;b<O.length;b++){const E=O[b],N=va(E);w.includes(N)||(q.splice(b,0,E),U.push(E))}return c==="wait"&&U.length&&(q=U),D(Gm(q)),R(v),null}const{forceRender:H}=Y.useContext(ed);return P.jsx(P.Fragment,{children:O.map(q=>{const b=va(q),E=u&&!y?!1:v===O||w.includes(b),N=()=>{if(A.has(b))A.set(b,!0);else return;let _=!0;A.forEach(V=>{V||(_=!1)}),_&&(H==null||H(),D(T.current),u&&(m==null||m()),s&&s())};return P.jsx(G2,{isPresent:E,initial:!k.current||i?void 0:!1,custom:n,presenceAffectsLayout:a,mode:c,root:h,onExitComplete:E?void 0:N,anchorX:d,children:q},b)})})},av=Y.createContext({strict:!1}),Qm={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Ni={};for(const t in Qm)Ni[t]={isEnabled:n=>Qm[t].some(i=>!!n[i])};function Y2(t){for(const n in t)Ni[n]={...Ni[n],...t[n]}}const J2=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Ia(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||J2.has(t)}let lv=t=>!Ia(t);function Z2(t){typeof t=="function"&&(lv=n=>n.startsWith("on")?!Ia(n):t(n))}try{Z2(require("@emotion/is-prop-valid").default)}catch{}function eE(t,n,i){const s={};for(const a in t)a==="values"&&typeof t.values=="object"||(lv(a)||i===!0&&Ia(a)||!n&&!Ia(a)||t.draggable&&a.startsWith("onDrag"))&&(s[a]=t[a]);return s}const Ga=Y.createContext({});function Qa(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function Lo(t){return typeof t=="string"||Array.isArray(t)}const Td=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],kd=["initial",...Td];function Xa(t){return Qa(t.animate)||kd.some(n=>Lo(t[n]))}function uv(t){return!!(Xa(t)||t.variants)}function tE(t,n){if(Xa(t)){const{initial:i,animate:s}=t;return{initial:i===!1||Lo(i)?i:void 0,animate:Lo(s)?s:void 0}}return t.inherit!==!1?n:{}}function nE(t){const{initial:n,animate:i}=tE(t,Y.useContext(Ga));return Y.useMemo(()=>({initial:n,animate:i}),[Xm(n),Xm(i)])}function Xm(t){return Array.isArray(t)?t.join(" "):t}function Ym(t,n){return n.max===n.min?0:t/(n.max-n.min)*100}const Co={correct:(t,n)=>{if(!n.target)return t;if(typeof t=="string")if(ve.test(t))t=parseFloat(t);else return t;const i=Ym(t,n.target.x),s=Ym(t,n.target.y);return`${i}% ${s}%`}},rE={correct:(t,{treeScale:n,projectionDelta:i})=>{const s=t,a=xr.parse(t);if(a.length>5)return s;const c=xr.createTransformer(t),u=typeof a[0]!="number"?1:0,d=i.x.scale*n.x,h=i.y.scale*n.y;a[0+u]/=d,a[1+u]/=h;const y=We(d,h,.5);return typeof a[2+u]=="number"&&(a[2+u]/=y),typeof a[3+u]=="number"&&(a[3+u]/=y),c(a)}},Cf={borderRadius:{...Co,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Co,borderTopRightRadius:Co,borderBottomLeftRadius:Co,borderBottomRightRadius:Co,boxShadow:rE};function cv(t,{layout:n,layoutId:i}){return Di.has(t)||t.startsWith("origin")||(n||i!==void 0)&&(!!Cf[t]||t==="opacity")}const iE={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},oE=Ii.length;function sE(t,n,i){let s="",a=!0;for(let c=0;c<oE;c++){const u=Ii[c],d=t[u];if(d===void 0)continue;let h=!0;if(typeof d=="number"?h=d===(u.startsWith("scale")?1:0):h=parseFloat(d)===0,!h||i){const y=ev(d,wd[u]);if(!h){a=!1;const m=iE[u]||u;s+=`${m}(${y}) `}i&&(n[u]=y)}}return s=s.trim(),i?s=i(n,a?"":s):a&&(s="none"),s}function _d(t,n,i){const{style:s,vars:a,transformOrigin:c}=t;let u=!1,d=!1;for(const h in n){const y=n[h];if(Di.has(h)){u=!0;continue}else if(Rg(h)){a[h]=y;continue}else{const m=ev(y,wd[h]);h.startsWith("origin")?(d=!0,c[h]=m):s[h]=m}}if(n.transform||(u||i?s.transform=sE(n,t.transform,i):s.transform&&(s.transform="none")),d){const{originX:h="50%",originY:y="50%",originZ:m=0}=c;s.transformOrigin=`${h} ${y} ${m}`}}const Ad=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function fv(t,n,i){for(const s in n)!xt(n[s])&&!cv(s,i)&&(t[s]=n[s])}function aE({transformTemplate:t},n){return Y.useMemo(()=>{const i=Ad();return _d(i,n,t),Object.assign({},i.vars,i.style)},[n])}function lE(t,n){const i=t.style||{},s={};return fv(s,i,t),Object.assign(s,aE(t,n)),s}function uE(t,n){const i={},s=lE(t,n);return t.drag&&t.dragListener!==!1&&(i.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=s,i}const cE={offset:"stroke-dashoffset",array:"stroke-dasharray"},fE={offset:"strokeDashoffset",array:"strokeDasharray"};function dE(t,n,i=1,s=0,a=!0){t.pathLength=1;const c=a?cE:fE;t[c.offset]=ve.transform(-s);const u=ve.transform(n),d=ve.transform(i);t[c.array]=`${u} ${d}`}function dv(t,{attrX:n,attrY:i,attrScale:s,pathLength:a,pathSpacing:c=1,pathOffset:u=0,...d},h,y,m){if(_d(t,d,y),h){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:v,style:w}=t;v.transform&&(w.transform=v.transform,delete v.transform),(w.transform||v.transformOrigin)&&(w.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),w.transform&&(w.transformBox=(m==null?void 0:m.transformBox)??"fill-box",delete v.transformBox),n!==void 0&&(v.x=n),i!==void 0&&(v.y=i),s!==void 0&&(v.scale=s),a!==void 0&&dE(v,a,c,u,!1)}const pv=()=>({...Ad(),attrs:{}}),hv=t=>typeof t=="string"&&t.toLowerCase()==="svg";function pE(t,n,i,s){const a=Y.useMemo(()=>{const c=pv();return dv(c,n,hv(s),t.transformTemplate,t.style),{...c.attrs,style:{...c.style}}},[n]);if(t.style){const c={};fv(c,t.style,t),a.style={...c,...a.style}}return a}const hE=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Cd(t){return typeof t!="string"||t.includes("-")?!1:!!(hE.indexOf(t)>-1||/[A-Z]/u.test(t))}function mE(t,n,i,{latestValues:s},a,c=!1){const d=(Cd(t)?pE:uE)(n,s,a,t),h=eE(n,typeof t=="string",c),y=t!==Y.Fragment?{...h,...d,ref:i}:{},{children:m}=n,v=Y.useMemo(()=>xt(m)?m.get():m,[m]);return Y.createElement(t,{...y,children:v})}function Jm(t){const n=[{},{}];return t==null||t.values.forEach((i,s)=>{n[0][s]=i.get(),n[1][s]=i.getVelocity()}),n}function Fd(t,n,i,s){if(typeof n=="function"){const[a,c]=Jm(s);n=n(i!==void 0?i:t.custom,a,c)}if(typeof n=="string"&&(n=t.variants&&t.variants[n]),typeof n=="function"){const[a,c]=Jm(s);n=n(i!==void 0?i:t.custom,a,c)}return n}function ka(t){return xt(t)?t.get():t}function yE({scrapeMotionValuesFromProps:t,createRenderState:n},i,s,a){return{latestValues:gE(i,s,a,t),renderState:n()}}function gE(t,n,i,s){const a={},c=s(t,{});for(const w in c)a[w]=ka(c[w]);let{initial:u,animate:d}=t;const h=Xa(t),y=uv(t);n&&y&&!h&&t.inherit!==!1&&(u===void 0&&(u=n.initial),d===void 0&&(d=n.animate));let m=i?i.initial===!1:!1;m=m||u===!1;const v=m?d:u;if(v&&typeof v!="boolean"&&!Qa(v)){const w=Array.isArray(v)?v:[v];for(let k=0;k<w.length;k++){const T=Fd(t,w[k]);if(T){const{transitionEnd:A,transition:S,...R}=T;for(const O in R){let D=R[O];if(Array.isArray(D)){const U=m?D.length-1:0;D=D[U]}D!==null&&(a[O]=D)}for(const O in A)a[O]=A[O]}}}return a}const mv=t=>(n,i)=>{const s=Y.useContext(Ga),a=Y.useContext(Ka),c=()=>yE(t,n,s,a);return i?c():td(c)};function Nd(t,n,i){var c;const{style:s}=t,a={};for(const u in s)(xt(s[u])||n.style&&xt(n.style[u])||cv(u,t)||((c=i==null?void 0:i.getValue(u))==null?void 0:c.liveStyle)!==void 0)&&(a[u]=s[u]);return a}const vE=mv({scrapeMotionValuesFromProps:Nd,createRenderState:Ad});function yv(t,n,i){const s=Nd(t,n,i);for(const a in t)if(xt(t[a])||xt(n[a])){const c=Ii.indexOf(a)!==-1?"attr"+a.charAt(0).toUpperCase()+a.substring(1):a;s[c]=t[a]}return s}const xE=mv({scrapeMotionValuesFromProps:yv,createRenderState:pv}),wE=Symbol.for("motionComponentSymbol");function Ti(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function SE(t,n,i){return Y.useCallback(s=>{s&&t.onMount&&t.onMount(s),n&&(s?n.mount(s):n.unmount()),i&&(typeof i=="function"?i(s):Ti(i)&&(i.current=s))},[n])}const Rd=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),EE="framerAppearId",gv="data-"+Rd(EE),vv=Y.createContext({});function PE(t,n,i,s,a){var A,S;const{visualElement:c}=Y.useContext(Ga),u=Y.useContext(av),d=Y.useContext(Ka),h=Y.useContext(Pd).reducedMotion,y=Y.useRef(null);s=s||u.renderer,!y.current&&s&&(y.current=s(t,{visualState:n,parent:c,props:i,presenceContext:d,blockInitialAnimation:d?d.initial===!1:!1,reducedMotionConfig:h}));const m=y.current,v=Y.useContext(vv);m&&!m.projection&&a&&(m.type==="html"||m.type==="svg")&&TE(y.current,i,a,v);const w=Y.useRef(!1);Y.useInsertionEffect(()=>{m&&w.current&&m.update(i,d)});const k=i[gv],T=Y.useRef(!!k&&!((A=window.MotionHandoffIsComplete)!=null&&A.call(window,k))&&((S=window.MotionHasOptimisedAnimation)==null?void 0:S.call(window,k)));return hg(()=>{m&&(w.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),T.current&&m.animationState&&m.animationState.animateChanges())}),Y.useEffect(()=>{m&&(!T.current&&m.animationState&&m.animationState.animateChanges(),T.current&&(queueMicrotask(()=>{var R;(R=window.MotionHandoffMarkAsComplete)==null||R.call(window,k)}),T.current=!1),m.enteringChildren=void 0)}),m}function TE(t,n,i,s){const{layoutId:a,layout:c,drag:u,dragConstraints:d,layoutScroll:h,layoutRoot:y,layoutCrossfade:m}=n;t.projection=new i(t.latestValues,n["data-framer-portal-id"]?void 0:xv(t.parent)),t.projection.setOptions({layoutId:a,layout:c,alwaysMeasureLayout:!!u||d&&Ti(d),visualElement:t,animationType:typeof c=="string"?c:"both",initialPromotionConfig:s,crossfade:m,layoutScroll:h,layoutRoot:y})}function xv(t){if(t)return t.options.allowProjection!==!1?t.projection:xv(t.parent)}function ic(t,{forwardMotionProps:n=!1}={},i,s){i&&Y2(i);const a=Cd(t)?xE:vE;function c(d,h){let y;const m={...Y.useContext(Pd),...d,layoutId:kE(d)},{isStatic:v}=m,w=nE(d),k=a(d,v);if(!v&&nd){_E();const T=AE(m);y=T.MeasureLayout,w.visualElement=PE(t,k,m,s,T.ProjectionNode)}return P.jsxs(Ga.Provider,{value:w,children:[y&&w.visualElement?P.jsx(y,{visualElement:w.visualElement,...m}):null,mE(t,d,SE(k,w.visualElement,h),k,v,n)]})}c.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;const u=Y.forwardRef(c);return u[wE]=t,u}function kE({layoutId:t}){const n=Y.useContext(ed).id;return n&&t!==void 0?n+"-"+t:t}function _E(t,n){Y.useContext(av).strict}function AE(t){const{drag:n,layout:i}=Ni;if(!n&&!i)return{};const s={...n,...i};return{MeasureLayout:n!=null&&n.isEnabled(t)||i!=null&&i.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}function CE(t,n){if(typeof Proxy>"u")return ic;const i=new Map,s=(c,u)=>ic(c,u,t,n),a=(c,u)=>s(c,u);return new Proxy(a,{get:(c,u)=>u==="create"?s:(i.has(u)||i.set(u,ic(u,void 0,t,n)),i.get(u))})}function wv({top:t,left:n,right:i,bottom:s}){return{x:{min:n,max:i},y:{min:t,max:s}}}function FE({x:t,y:n}){return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function NE(t,n){if(!n)return t;const i=n({x:t.left,y:t.top}),s=n({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}function oc(t){return t===void 0||t===1}function Ff({scale:t,scaleX:n,scaleY:i}){return!oc(t)||!oc(n)||!oc(i)}function Dr(t){return Ff(t)||Sv(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Sv(t){return Zm(t.x)||Zm(t.y)}function Zm(t){return t&&t!=="0%"}function Da(t,n,i){const s=t-i,a=n*s;return i+a}function ey(t,n,i,s,a){return a!==void 0&&(t=Da(t,a,s)),Da(t,i,s)+n}function Nf(t,n=0,i=1,s,a){t.min=ey(t.min,n,i,s,a),t.max=ey(t.max,n,i,s,a)}function Ev(t,{x:n,y:i}){Nf(t.x,n.translate,n.scale,n.originPoint),Nf(t.y,i.translate,i.scale,i.originPoint)}const ty=.999999999999,ny=1.0000000000001;function RE(t,n,i,s=!1){const a=i.length;if(!a)return;n.x=n.y=1;let c,u;for(let d=0;d<a;d++){c=i[d],u=c.projectionDelta;const{visualElement:h}=c.options;h&&h.props.style&&h.props.style.display==="contents"||(s&&c.options.layoutScroll&&c.scroll&&c!==c.root&&_i(t,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),u&&(n.x*=u.x.scale,n.y*=u.y.scale,Ev(t,u)),s&&Dr(c.latestValues)&&_i(t,c.latestValues))}n.x<ny&&n.x>ty&&(n.x=1),n.y<ny&&n.y>ty&&(n.y=1)}function ki(t,n){t.min=t.min+n,t.max=t.max+n}function ry(t,n,i,s,a=.5){const c=We(t.min,t.max,a);Nf(t,n,i,c,s)}function _i(t,n){ry(t.x,n.x,n.scaleX,n.scale,n.originX),ry(t.y,n.y,n.scaleY,n.scale,n.originY)}function Pv(t,n){return wv(NE(t.getBoundingClientRect(),n))}function bE(t,n,i){const s=Pv(t,i),{scroll:a}=n;return a&&(ki(s.x,a.offset.x),ki(s.y,a.offset.y)),s}const iy=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ai=()=>({x:iy(),y:iy()}),oy=()=>({min:0,max:0}),rt=()=>({x:oy(),y:oy()}),Rf={current:null},Tv={current:!1};function OE(){if(Tv.current=!0,!!nd)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),n=()=>Rf.current=t.matches;t.addEventListener("change",n),n()}else Rf.current=!1}const ME=new WeakMap;function jE(t,n,i){for(const s in n){const a=n[s],c=i[s];if(xt(a))t.addValue(s,a);else if(xt(c))t.addValue(s,Fi(a,{owner:t}));else if(c!==a)if(t.hasValue(s)){const u=t.getValue(s);u.liveStyle===!0?u.jump(a):u.hasAnimated||u.set(a)}else{const u=t.getStaticValue(s);t.addValue(s,Fi(u!==void 0?u:a,{owner:t}))}}for(const s in i)n[s]===void 0&&t.removeValue(s);return n}const sy=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class IE{scrapeMotionValuesFromProps(n,i,s){return{}}constructor({parent:n,props:i,presenceContext:s,reducedMotionConfig:a,blockInitialAnimation:c,visualState:u},d={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=vd,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const w=jt.now();this.renderScheduledAt<w&&(this.renderScheduledAt=w,ze.render(this.render,!1,!0))};const{latestValues:h,renderState:y}=u;this.latestValues=h,this.baseTarget={...h},this.initialValues=i.initial?{...h}:{},this.renderState=y,this.parent=n,this.props=i,this.presenceContext=s,this.depth=n?n.depth+1:0,this.reducedMotionConfig=a,this.options=d,this.blockInitialAnimation=!!c,this.isControllingVariants=Xa(i),this.isVariantNode=uv(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(n&&n.current);const{willChange:m,...v}=this.scrapeMotionValuesFromProps(i,{},this);for(const w in v){const k=v[w];h[w]!==void 0&&xt(k)&&k.set(h[w])}}mount(n){var i;this.current=n,ME.set(n,this),this.projection&&!this.projection.instance&&this.projection.mount(n),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,a)=>this.bindToMotionValue(a,s)),Tv.current||OE(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Rf.current,(i=this.parent)==null||i.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var n;this.projection&&this.projection.unmount(),vr(this.notifyUpdate),vr(this.render),this.valueSubscriptions.forEach(i=>i()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(n=this.parent)==null||n.removeChild(this);for(const i in this.events)this.events[i].clear();for(const i in this.features){const s=this.features[i];s&&(s.unmount(),s.isMounted=!1)}this.current=null}addChild(n){this.children.add(n),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(n)}removeChild(n){this.children.delete(n),this.enteringChildren&&this.enteringChildren.delete(n)}bindToMotionValue(n,i){this.valueSubscriptions.has(n)&&this.valueSubscriptions.get(n)();const s=Di.has(n);s&&this.onBindTransform&&this.onBindTransform();const a=i.on("change",u=>{this.latestValues[n]=u,this.props.onUpdate&&ze.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let c;window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,n,i)),this.valueSubscriptions.set(n,()=>{a(),c&&c(),i.owner&&i.stop()})}sortNodePosition(n){return!this.current||!this.sortInstanceNodePosition||this.type!==n.type?0:this.sortInstanceNodePosition(this.current,n.current)}updateFeatures(){let n="animation";for(n in Ni){const i=Ni[n];if(!i)continue;const{isEnabled:s,Feature:a}=i;if(!this.features[n]&&a&&s(this.props)&&(this.features[n]=new a(this)),this.features[n]){const c=this.features[n];c.isMounted?c.update():(c.mount(),c.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):rt()}getStaticValue(n){return this.latestValues[n]}setStaticValue(n,i){this.latestValues[n]=i}update(n,i){(n.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=n,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let s=0;s<sy.length;s++){const a=sy[s];this.propEventSubscriptions[a]&&(this.propEventSubscriptions[a](),delete this.propEventSubscriptions[a]);const c="on"+a,u=n[c];u&&(this.propEventSubscriptions[a]=this.on(a,u))}this.prevMotionValues=jE(this,this.scrapeMotionValuesFromProps(n,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(n){return this.props.variants?this.props.variants[n]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(n){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(n),()=>i.variantChildren.delete(n)}addValue(n,i){const s=this.values.get(n);i!==s&&(s&&this.removeValue(n),this.bindToMotionValue(n,i),this.values.set(n,i),this.latestValues[n]=i.get())}removeValue(n){this.values.delete(n);const i=this.valueSubscriptions.get(n);i&&(i(),this.valueSubscriptions.delete(n)),delete this.latestValues[n],this.removeValueFromRenderState(n,this.renderState)}hasValue(n){return this.values.has(n)}getValue(n,i){if(this.props.values&&this.props.values[n])return this.props.values[n];let s=this.values.get(n);return s===void 0&&i!==void 0&&(s=Fi(i===null?void 0:i,{owner:this}),this.addValue(n,s)),s}readValue(n,i){let s=this.latestValues[n]!==void 0||!this.current?this.latestValues[n]:this.getBaseTargetFromProps(this.props,n)??this.readValueFromInstance(this.current,n,this.options);return s!=null&&(typeof s=="string"&&(mg(s)||gg(s))?s=parseFloat(s):!$2(s)&&xr.test(i)&&(s=Zg(n,i)),this.setBaseTarget(n,xt(s)?s.get():s)),xt(s)?s.get():s}setBaseTarget(n,i){this.baseTarget[n]=i}getBaseTarget(n){var c;const{initial:i}=this.props;let s;if(typeof i=="string"||typeof i=="object"){const u=Fd(this.props,i,(c=this.presenceContext)==null?void 0:c.custom);u&&(s=u[n])}if(i&&s!==void 0)return s;const a=this.getBaseTargetFromProps(this.props,n);return a!==void 0&&!xt(a)?a:this.initialValues[n]!==void 0&&s===void 0?void 0:this.baseTarget[n]}on(n,i){return this.events[n]||(this.events[n]=new ad),this.events[n].add(i)}notify(n,...i){this.events[n]&&this.events[n].notify(...i)}scheduleRenderMicrotask(){Sd.render(this.render)}}class kv extends IE{constructor(){super(...arguments),this.KeyframeResolver=R2}sortInstanceNodePosition(n,i){return n.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(n,i){return n.style?n.style[i]:void 0}removeValueFromRenderState(n,{vars:i,style:s}){delete i[n],delete s[n]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:n}=this.props;xt(n)&&(this.childSubscription=n.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}function _v(t,{style:n,vars:i},s,a){const c=t.style;let u;for(u in n)c[u]=n[u];a==null||a.applyProjectionStyles(c,s);for(u in i)c.setProperty(u,i[u])}function DE(t){return window.getComputedStyle(t)}class LE extends kv{constructor(){super(...arguments),this.type="html",this.renderInstance=_v}readValueFromInstance(n,i){var s;if(Di.has(i))return(s=this.projection)!=null&&s.isProjecting?Sf(i):XS(n,i);{const a=DE(n),c=(Rg(i)?a.getPropertyValue(i):a[i])||0;return typeof c=="string"?c.trim():c}}measureInstanceViewportBox(n,{transformPagePoint:i}){return Pv(n,i)}build(n,i,s){_d(n,i,s.transformTemplate)}scrapeMotionValuesFromProps(n,i,s){return Nd(n,i,s)}}const Av=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function VE(t,n,i,s){_v(t,n,void 0,s);for(const a in n.attrs)t.setAttribute(Av.has(a)?a:Rd(a),n.attrs[a])}class BE extends kv{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=rt}getBaseTargetFromProps(n,i){return n[i]}readValueFromInstance(n,i){if(Di.has(i)){const s=Jg(i);return s&&s.default||0}return i=Av.has(i)?i:Rd(i),n.getAttribute(i)}scrapeMotionValuesFromProps(n,i,s){return yv(n,i,s)}build(n,i,s){dv(n,i,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(n,i,s,a){VE(n,i,s,a)}mount(n){this.isSVGTag=hv(n.tagName),super.mount(n)}}const zE=(t,n)=>Cd(t)?new BE(n):new LE(n,{allowProjection:t!==Y.Fragment});function Ci(t,n,i){const s=t.getProps();return Fd(s,n,i!==void 0?i:s.custom,t)}const bf=t=>Array.isArray(t);function UE(t,n,i){t.hasValue(n)?t.getValue(n).set(i):t.addValue(n,Fi(i))}function $E(t){return bf(t)?t[t.length-1]||0:t}function WE(t,n){const i=Ci(t,n);let{transitionEnd:s={},transition:a={},...c}=i||{};c={...c,...s};for(const u in c){const d=$E(c[u]);UE(t,u,d)}}function HE(t){return!!(xt(t)&&t.add)}function Of(t,n){const i=t.getValue("willChange");if(HE(i))return i.add(n);if(!i&&$n.WillChange){const s=new $n.WillChange("auto");t.addValue("willChange",s),s.add(n)}}function Cv(t){return t.props[gv]}const qE=t=>t!==null;function KE(t,{repeat:n,repeatType:i="loop"},s){const a=t.filter(qE),c=n&&i!=="loop"&&n%2===1?0:a.length-1;return a[c]}const GE={type:"spring",stiffness:500,damping:25,restSpeed:10},QE=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),XE={type:"keyframes",duration:.8},YE={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},JE=(t,{keyframes:n})=>n.length>2?XE:Di.has(t)?t.startsWith("scale")?QE(n[1]):GE:YE;function ZE({when:t,delay:n,delayChildren:i,staggerChildren:s,staggerDirection:a,repeat:c,repeatType:u,repeatDelay:d,from:h,elapsed:y,...m}){return!!Object.keys(m).length}const bd=(t,n,i,s={},a,c)=>u=>{const d=xd(s,t)||{},h=d.delay||s.delay||0;let{elapsed:y=0}=s;y=y-kn(h);const m={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:n.getVelocity(),...d,delay:-y,onUpdate:w=>{n.set(w),d.onUpdate&&d.onUpdate(w)},onComplete:()=>{u(),d.onComplete&&d.onComplete()},name:t,motionValue:n,element:c?void 0:a};ZE(d)||Object.assign(m,JE(t,m)),m.duration&&(m.duration=kn(m.duration)),m.repeatDelay&&(m.repeatDelay=kn(m.repeatDelay)),m.from!==void 0&&(m.keyframes[0]=m.from);let v=!1;if((m.type===!1||m.duration===0&&!m.repeatDelay)&&(_f(m),m.delay===0&&(v=!0)),($n.instantAnimations||$n.skipAnimations)&&(v=!0,_f(m),m.delay=0),m.allowFlatten=!d.type&&!d.ease,v&&!c&&n.get()!==void 0){const w=KE(m.keyframes,d);if(w!==void 0){ze.update(()=>{m.onUpdate(w),m.onComplete()});return}}return d.isSync?new gd(m):new x2(m)};function eP({protectedKeys:t,needsAnimating:n},i){const s=t.hasOwnProperty(i)&&n[i]!==!0;return n[i]=!1,s}function Fv(t,n,{delay:i=0,transitionOverride:s,type:a}={}){let{transition:c=t.getDefaultTransition(),transitionEnd:u,...d}=n;s&&(c=s);const h=[],y=a&&t.animationState&&t.animationState.getState()[a];for(const m in d){const v=t.getValue(m,t.latestValues[m]??null),w=d[m];if(w===void 0||y&&eP(y,m))continue;const k={delay:i,...xd(c||{},m)},T=v.get();if(T!==void 0&&!v.isAnimating&&!Array.isArray(w)&&w===T&&!k.velocity)continue;let A=!1;if(window.MotionHandoffAnimation){const R=Cv(t);if(R){const O=window.MotionHandoffAnimation(R,m,ze);O!==null&&(k.startTime=O,A=!0)}}Of(t,m),v.start(bd(m,v,w,t.shouldReduceMotion&&Qg.has(m)?{type:!1}:k,t,A));const S=v.animation;S&&h.push(S)}return u&&Promise.all(h).then(()=>{ze.update(()=>{u&&WE(t,u)})}),h}function Nv(t,n,i,s=0,a=1){const c=Array.from(t).sort((y,m)=>y.sortNodePosition(m)).indexOf(n),u=t.size,d=(u-1)*s;return typeof i=="function"?i(c,u):a===1?c*s:d-c*s}function Mf(t,n,i={}){var h;const s=Ci(t,n,i.type==="exit"?(h=t.presenceContext)==null?void 0:h.custom:void 0);let{transition:a=t.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(a=i.transitionOverride);const c=s?()=>Promise.all(Fv(t,s,i)):()=>Promise.resolve(),u=t.variantChildren&&t.variantChildren.size?(y=0)=>{const{delayChildren:m=0,staggerChildren:v,staggerDirection:w}=a;return tP(t,n,y,m,v,w,i)}:()=>Promise.resolve(),{when:d}=a;if(d){const[y,m]=d==="beforeChildren"?[c,u]:[u,c];return y().then(()=>m())}else return Promise.all([c(),u(i.delay)])}function tP(t,n,i=0,s=0,a=0,c=1,u){const d=[];for(const h of t.variantChildren)h.notify("AnimationStart",n),d.push(Mf(h,n,{...u,delay:i+(typeof s=="function"?0:s)+Nv(t.variantChildren,h,s,a,c)}).then(()=>h.notify("AnimationComplete",n)));return Promise.all(d)}function nP(t,n,i={}){t.notify("AnimationStart",n);let s;if(Array.isArray(n)){const a=n.map(c=>Mf(t,c,i));s=Promise.all(a)}else if(typeof n=="string")s=Mf(t,n,i);else{const a=typeof n=="function"?Ci(t,n,i.custom):n;s=Promise.all(Fv(t,a,i))}return s.then(()=>{t.notify("AnimationComplete",n)})}function Rv(t,n){if(!Array.isArray(n))return!1;const i=n.length;if(i!==t.length)return!1;for(let s=0;s<i;s++)if(n[s]!==t[s])return!1;return!0}const rP=kd.length;function bv(t){if(!t)return;if(!t.isControllingVariants){const i=t.parent?bv(t.parent)||{}:{};return t.props.initial!==void 0&&(i.initial=t.props.initial),i}const n={};for(let i=0;i<rP;i++){const s=kd[i],a=t.props[s];(Lo(a)||a===!1)&&(n[s]=a)}return n}const iP=[...Td].reverse(),oP=Td.length;function sP(t){return n=>Promise.all(n.map(({animation:i,options:s})=>nP(t,i,s)))}function aP(t){let n=sP(t),i=ay(),s=!0;const a=h=>(y,m)=>{var w;const v=Ci(t,m,h==="exit"?(w=t.presenceContext)==null?void 0:w.custom:void 0);if(v){const{transition:k,transitionEnd:T,...A}=v;y={...y,...A,...T}}return y};function c(h){n=h(t)}function u(h){const{props:y}=t,m=bv(t.parent)||{},v=[],w=new Set;let k={},T=1/0;for(let S=0;S<oP;S++){const R=iP[S],O=i[R],D=y[R]!==void 0?y[R]:m[R],U=Lo(D),H=R===h?O.isActive:null;H===!1&&(T=S);let q=D===m[R]&&D!==y[R]&&U;if(q&&s&&t.manuallyAnimateOnMount&&(q=!1),O.protectedKeys={...k},!O.isActive&&H===null||!D&&!O.prevProp||Qa(D)||typeof D=="boolean")continue;const b=lP(O.prevProp,D);let E=b||R===h&&O.isActive&&!q&&U||S>T&&U,N=!1;const _=Array.isArray(D)?D:[D];let V=_.reduce(a(R),{});H===!1&&(V={});const{prevResolvedValues:j={}}=O,se={...j,...V},pe=ce=>{E=!0,w.has(ce)&&(N=!0,w.delete(ce)),O.needsAnimating[ce]=!0;const g=t.getValue(ce);g&&(g.liveStyle=!1)};for(const ce in se){const g=V[ce],L=j[ce];if(k.hasOwnProperty(ce))continue;let B=!1;bf(g)&&bf(L)?B=!Rv(g,L):B=g!==L,B?g!=null?pe(ce):w.add(ce):g!==void 0&&w.has(ce)?pe(ce):O.protectedKeys[ce]=!0}O.prevProp=D,O.prevResolvedValues=V,O.isActive&&(k={...k,...V}),s&&t.blockInitialAnimation&&(E=!1);const Pe=q&&b;E&&(!Pe||N)&&v.push(..._.map(ce=>{const g={type:R};if(typeof ce=="string"&&s&&!Pe&&t.manuallyAnimateOnMount&&t.parent){const{parent:L}=t,B=Ci(L,ce);if(L.enteringChildren&&B){const{delayChildren:F}=B.transition||{};g.delay=Nv(L.enteringChildren,t,F)}}return{animation:ce,options:g}}))}if(w.size){const S={};if(typeof y.initial!="boolean"){const R=Ci(t,Array.isArray(y.initial)?y.initial[0]:y.initial);R&&R.transition&&(S.transition=R.transition)}w.forEach(R=>{const O=t.getBaseTarget(R),D=t.getValue(R);D&&(D.liveStyle=!0),S[R]=O??null}),v.push({animation:S})}let A=!!v.length;return s&&(y.initial===!1||y.initial===y.animate)&&!t.manuallyAnimateOnMount&&(A=!1),s=!1,A?n(v):Promise.resolve()}function d(h,y){var v;if(i[h].isActive===y)return Promise.resolve();(v=t.variantChildren)==null||v.forEach(w=>{var k;return(k=w.animationState)==null?void 0:k.setActive(h,y)}),i[h].isActive=y;const m=u(h);for(const w in i)i[w].protectedKeys={};return m}return{animateChanges:u,setActive:d,setAnimateFunction:c,getState:()=>i,reset:()=>{i=ay()}}}function lP(t,n){return typeof n=="string"?n!==t:Array.isArray(n)?!Rv(n,t):!1}function Ir(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ay(){return{animate:Ir(!0),whileInView:Ir(),whileHover:Ir(),whileTap:Ir(),whileDrag:Ir(),whileFocus:Ir(),exit:Ir()}}class Sr{constructor(n){this.isMounted=!1,this.node=n}update(){}}class uP extends Sr{constructor(n){super(n),n.animationState||(n.animationState=aP(n))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();Qa(n)&&(this.unmountControls=n.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:n}=this.node.getProps(),{animate:i}=this.node.prevProps||{};n!==i&&this.updateAnimationControlsSubscription()}unmount(){var n;this.node.animationState.reset(),(n=this.unmountControls)==null||n.call(this)}}let cP=0;class fP extends Sr{constructor(){super(...arguments),this.id=cP++}update(){if(!this.node.presenceContext)return;const{isPresent:n,onExitComplete:i}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||n===s)return;const a=this.node.animationState.setActive("exit",!n);i&&!n&&a.then(()=>{i(this.id)})}mount(){const{register:n,onExitComplete:i}=this.node.presenceContext||{};i&&i(this.id),n&&(this.unmount=n(this.id))}unmount(){}}const dP={animation:{Feature:uP},exit:{Feature:fP}};function Vo(t,n,i,s={passive:!0}){return t.addEventListener(n,i,s),()=>t.removeEventListener(n,i)}function Go(t){return{point:{x:t.pageX,y:t.pageY}}}const pP=t=>n=>Ed(n)&&t(n,Go(n));function Oo(t,n,i,s){return Vo(t,n,pP(i),s)}const Ov=1e-4,hP=1-Ov,mP=1+Ov,Mv=.01,yP=0-Mv,gP=0+Mv;function _t(t){return t.max-t.min}function vP(t,n,i){return Math.abs(t-n)<=i}function ly(t,n,i,s=.5){t.origin=s,t.originPoint=We(n.min,n.max,t.origin),t.scale=_t(i)/_t(n),t.translate=We(i.min,i.max,t.origin)-t.originPoint,(t.scale>=hP&&t.scale<=mP||isNaN(t.scale))&&(t.scale=1),(t.translate>=yP&&t.translate<=gP||isNaN(t.translate))&&(t.translate=0)}function Mo(t,n,i,s){ly(t.x,n.x,i.x,s?s.originX:void 0),ly(t.y,n.y,i.y,s?s.originY:void 0)}function uy(t,n,i){t.min=i.min+n.min,t.max=t.min+_t(n)}function xP(t,n,i){uy(t.x,n.x,i.x),uy(t.y,n.y,i.y)}function cy(t,n,i){t.min=n.min-i.min,t.max=t.min+_t(n)}function La(t,n,i){cy(t.x,n.x,i.x),cy(t.y,n.y,i.y)}function Qt(t){return[t("x"),t("y")]}const jv=({current:t})=>t?t.ownerDocument.defaultView:null,fy=(t,n)=>Math.abs(t-n);function wP(t,n){const i=fy(t.x,n.x),s=fy(t.y,n.y);return Math.sqrt(i**2+s**2)}class Iv{constructor(n,i,{transformPagePoint:s,contextWindow:a=window,dragSnapToOrigin:c=!1,distanceThreshold:u=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const w=ac(this.lastMoveEventInfo,this.history),k=this.startEvent!==null,T=wP(w.offset,{x:0,y:0})>=this.distanceThreshold;if(!k&&!T)return;const{point:A}=w,{timestamp:S}=dt;this.history.push({...A,timestamp:S});const{onStart:R,onMove:O}=this.handlers;k||(R&&R(this.lastMoveEvent,w),this.startEvent=this.lastMoveEvent),O&&O(this.lastMoveEvent,w)},this.handlePointerMove=(w,k)=>{this.lastMoveEvent=w,this.lastMoveEventInfo=sc(k,this.transformPagePoint),ze.update(this.updatePoint,!0)},this.handlePointerUp=(w,k)=>{this.end();const{onEnd:T,onSessionEnd:A,resumeAnimation:S}=this.handlers;if(this.dragSnapToOrigin&&S&&S(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const R=ac(w.type==="pointercancel"?this.lastMoveEventInfo:sc(k,this.transformPagePoint),this.history);this.startEvent&&T&&T(w,R),A&&A(w,R)},!Ed(n))return;this.dragSnapToOrigin=c,this.handlers=i,this.transformPagePoint=s,this.distanceThreshold=u,this.contextWindow=a||window;const d=Go(n),h=sc(d,this.transformPagePoint),{point:y}=h,{timestamp:m}=dt;this.history=[{...y,timestamp:m}];const{onSessionStart:v}=i;v&&v(n,ac(h,this.history)),this.removeListeners=Ho(Oo(this.contextWindow,"pointermove",this.handlePointerMove),Oo(this.contextWindow,"pointerup",this.handlePointerUp),Oo(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(n){this.handlers=n}end(){this.removeListeners&&this.removeListeners(),vr(this.updatePoint)}}function sc(t,n){return n?{point:n(t.point)}:t}function dy(t,n){return{x:t.x-n.x,y:t.y-n.y}}function ac({point:t},n){return{point:t,delta:dy(t,Dv(n)),offset:dy(t,SP(n)),velocity:EP(n,.1)}}function SP(t){return t[0]}function Dv(t){return t[t.length-1]}function EP(t,n){if(t.length<2)return{x:0,y:0};let i=t.length-1,s=null;const a=Dv(t);for(;i>=0&&(s=t[i],!(a.timestamp-s.timestamp>kn(n)));)i--;if(!s)return{x:0,y:0};const c=Xt(a.timestamp-s.timestamp);if(c===0)return{x:0,y:0};const u={x:(a.x-s.x)/c,y:(a.y-s.y)/c};return u.x===1/0&&(u.x=0),u.y===1/0&&(u.y=0),u}function PP(t,{min:n,max:i},s){return n!==void 0&&t<n?t=s?We(n,t,s.min):Math.max(t,n):i!==void 0&&t>i&&(t=s?We(i,t,s.max):Math.min(t,i)),t}function py(t,n,i){return{min:n!==void 0?t.min+n:void 0,max:i!==void 0?t.max+i-(t.max-t.min):void 0}}function TP(t,{top:n,left:i,bottom:s,right:a}){return{x:py(t.x,i,a),y:py(t.y,n,s)}}function hy(t,n){let i=n.min-t.min,s=n.max-t.max;return n.max-n.min<t.max-t.min&&([i,s]=[s,i]),{min:i,max:s}}function kP(t,n){return{x:hy(t.x,n.x),y:hy(t.y,n.y)}}function _P(t,n){let i=.5;const s=_t(t),a=_t(n);return a>s?i=jo(n.min,n.max-s,t.min):s>a&&(i=jo(t.min,t.max-a,n.min)),Un(0,1,i)}function AP(t,n){const i={};return n.min!==void 0&&(i.min=n.min-t.min),n.max!==void 0&&(i.max=n.max-t.min),i}const jf=.35;function CP(t=jf){return t===!1?t=0:t===!0&&(t=jf),{x:my(t,"left","right"),y:my(t,"top","bottom")}}function my(t,n,i){return{min:yy(t,n),max:yy(t,i)}}function yy(t,n){return typeof t=="number"?t:t[n]||0}const FP=new WeakMap;class NP{constructor(n){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=rt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=n}start(n,{snapToCursor:i=!1,distanceThreshold:s}={}){const{presenceContext:a}=this.visualElement;if(a&&a.isPresent===!1)return;const c=v=>{const{dragSnapToOrigin:w}=this.getProps();w?this.pauseAnimation():this.stopAnimation(),i&&this.snapToCursor(Go(v).point)},u=(v,w)=>{const{drag:k,dragPropagation:T,onDragStart:A}=this.getProps();if(k&&!T&&(this.openDragLock&&this.openDragLock(),this.openDragLock=j2(k),!this.openDragLock))return;this.latestPointerEvent=v,this.latestPanInfo=w,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Qt(R=>{let O=this.getAxisMotionValue(R).get()||0;if(_n.test(O)){const{projection:D}=this.visualElement;if(D&&D.layout){const U=D.layout.layoutBox[R];U&&(O=_t(U)*(parseFloat(O)/100))}}this.originPoint[R]=O}),A&&ze.postRender(()=>A(v,w)),Of(this.visualElement,"transform");const{animationState:S}=this.visualElement;S&&S.setActive("whileDrag",!0)},d=(v,w)=>{this.latestPointerEvent=v,this.latestPanInfo=w;const{dragPropagation:k,dragDirectionLock:T,onDirectionLock:A,onDrag:S}=this.getProps();if(!k&&!this.openDragLock)return;const{offset:R}=w;if(T&&this.currentDirection===null){this.currentDirection=RP(R),this.currentDirection!==null&&A&&A(this.currentDirection);return}this.updateAxis("x",w.point,R),this.updateAxis("y",w.point,R),this.visualElement.render(),S&&S(v,w)},h=(v,w)=>{this.latestPointerEvent=v,this.latestPanInfo=w,this.stop(v,w),this.latestPointerEvent=null,this.latestPanInfo=null},y=()=>Qt(v=>{var w;return this.getAnimationState(v)==="paused"&&((w=this.getAxisMotionValue(v).animation)==null?void 0:w.play())}),{dragSnapToOrigin:m}=this.getProps();this.panSession=new Iv(n,{onSessionStart:c,onStart:u,onMove:d,onSessionEnd:h,resumeAnimation:y},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:m,distanceThreshold:s,contextWindow:jv(this.visualElement)})}stop(n,i){const s=n||this.latestPointerEvent,a=i||this.latestPanInfo,c=this.isDragging;if(this.cancel(),!c||!a||!s)return;const{velocity:u}=a;this.startAnimation(u);const{onDragEnd:d}=this.getProps();d&&ze.postRender(()=>d(s,a))}cancel(){this.isDragging=!1;const{projection:n,animationState:i}=this.visualElement;n&&(n.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}updateAxis(n,i,s){const{drag:a}=this.getProps();if(!s||!xa(n,a,this.currentDirection))return;const c=this.getAxisMotionValue(n);let u=this.originPoint[n]+s[n];this.constraints&&this.constraints[n]&&(u=PP(u,this.constraints[n],this.elastic[n])),c.set(u)}resolveConstraints(){var c;const{dragConstraints:n,dragElastic:i}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(c=this.visualElement.projection)==null?void 0:c.layout,a=this.constraints;n&&Ti(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&s?this.constraints=TP(s.layoutBox,n):this.constraints=!1,this.elastic=CP(i),a!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&Qt(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=AP(s.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:n,onMeasureDragConstraints:i}=this.getProps();if(!n||!Ti(n))return!1;const s=n.current,{projection:a}=this.visualElement;if(!a||!a.layout)return!1;const c=bE(s,a.root,this.visualElement.getTransformPagePoint());let u=kP(a.layout.layoutBox,c);if(i){const d=i(FE(u));this.hasMutatedConstraints=!!d,d&&(u=wv(d))}return u}startAnimation(n){const{drag:i,dragMomentum:s,dragElastic:a,dragTransition:c,dragSnapToOrigin:u,onDragTransitionEnd:d}=this.getProps(),h=this.constraints||{},y=Qt(m=>{if(!xa(m,i,this.currentDirection))return;let v=h&&h[m]||{};u&&(v={min:0,max:0});const w=a?200:1e6,k=a?40:1e7,T={type:"inertia",velocity:s?n[m]:0,bounceStiffness:w,bounceDamping:k,timeConstant:750,restDelta:1,restSpeed:10,...c,...v};return this.startAxisValueAnimation(m,T)});return Promise.all(y).then(d)}startAxisValueAnimation(n,i){const s=this.getAxisMotionValue(n);return Of(this.visualElement,n),s.start(bd(n,s,0,i,this.visualElement,!1))}stopAnimation(){Qt(n=>this.getAxisMotionValue(n).stop())}pauseAnimation(){Qt(n=>{var i;return(i=this.getAxisMotionValue(n).animation)==null?void 0:i.pause()})}getAnimationState(n){var i;return(i=this.getAxisMotionValue(n).animation)==null?void 0:i.state}getAxisMotionValue(n){const i=`_drag${n.toUpperCase()}`,s=this.visualElement.getProps(),a=s[i];return a||this.visualElement.getValue(n,(s.initial?s.initial[n]:void 0)||0)}snapToCursor(n){Qt(i=>{const{drag:s}=this.getProps();if(!xa(i,s,this.currentDirection))return;const{projection:a}=this.visualElement,c=this.getAxisMotionValue(i);if(a&&a.layout){const{min:u,max:d}=a.layout.layoutBox[i];c.set(n[i]-We(u,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:n,dragConstraints:i}=this.getProps(),{projection:s}=this.visualElement;if(!Ti(i)||!s||!this.constraints)return;this.stopAnimation();const a={x:0,y:0};Qt(u=>{const d=this.getAxisMotionValue(u);if(d&&this.constraints!==!1){const h=d.get();a[u]=_P({min:h,max:h},this.constraints[u])}});const{transformTemplate:c}=this.visualElement.getProps();this.visualElement.current.style.transform=c?c({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),Qt(u=>{if(!xa(u,n,null))return;const d=this.getAxisMotionValue(u),{min:h,max:y}=this.constraints[u];d.set(We(h,y,a[u]))})}addListeners(){if(!this.visualElement.current)return;FP.set(this.visualElement,this);const n=this.visualElement.current,i=Oo(n,"pointerdown",h=>{const{drag:y,dragListener:m=!0}=this.getProps();y&&m&&this.start(h)}),s=()=>{const{dragConstraints:h}=this.getProps();Ti(h)&&h.current&&(this.constraints=this.resolveRefConstraints())},{projection:a}=this.visualElement,c=a.addEventListener("measure",s);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),ze.read(s);const u=Vo(window,"resize",()=>this.scalePositionWithinConstraints()),d=a.addEventListener("didUpdate",(({delta:h,hasLayoutChanged:y})=>{this.isDragging&&y&&(Qt(m=>{const v=this.getAxisMotionValue(m);v&&(this.originPoint[m]+=h[m].translate,v.set(v.get()+h[m].translate))}),this.visualElement.render())}));return()=>{u(),i(),c(),d&&d()}}getProps(){const n=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:s=!1,dragPropagation:a=!1,dragConstraints:c=!1,dragElastic:u=jf,dragMomentum:d=!0}=n;return{...n,drag:i,dragDirectionLock:s,dragPropagation:a,dragConstraints:c,dragElastic:u,dragMomentum:d}}}function xa(t,n,i){return(n===!0||n===t)&&(i===null||i===t)}function RP(t,n=10){let i=null;return Math.abs(t.y)>n?i="y":Math.abs(t.x)>n&&(i="x"),i}class bP extends Sr{constructor(n){super(n),this.removeGroupControls=Yt,this.removeListeners=Yt,this.controls=new NP(n)}mount(){const{dragControls:n}=this.node.getProps();n&&(this.removeGroupControls=n.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Yt}unmount(){this.removeGroupControls(),this.removeListeners()}}const gy=t=>(n,i)=>{t&&ze.postRender(()=>t(n,i))};class OP extends Sr{constructor(){super(...arguments),this.removePointerDownListener=Yt}onPointerDown(n){this.session=new Iv(n,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:jv(this.node)})}createPanHandlers(){const{onPanSessionStart:n,onPanStart:i,onPan:s,onPanEnd:a}=this.node.getProps();return{onSessionStart:gy(n),onStart:gy(i),onMove:s,onEnd:(c,u)=>{delete this.session,a&&ze.postRender(()=>a(c,u))}}}mount(){this.removePointerDownListener=Oo(this.node.current,"pointerdown",n=>this.onPointerDown(n))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const _a={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let lc=!1;class MP extends Y.Component{componentDidMount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:s,layoutId:a}=this.props,{projection:c}=n;c&&(i.group&&i.group.add(c),s&&s.register&&a&&s.register(c),lc&&c.root.didUpdate(),c.addEventListener("animationComplete",()=>{this.safeToRemove()}),c.setOptions({...c.options,onExitComplete:()=>this.safeToRemove()})),_a.hasEverUpdated=!0}getSnapshotBeforeUpdate(n){const{layoutDependency:i,visualElement:s,drag:a,isPresent:c}=this.props,{projection:u}=s;return u&&(u.isPresent=c,lc=!0,a||n.layoutDependency!==i||i===void 0||n.isPresent!==c?u.willUpdate():this.safeToRemove(),n.isPresent!==c&&(c?u.promote():u.relegate()||ze.postRender(()=>{const d=u.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:n}=this.props.visualElement;n&&(n.root.didUpdate(),Sd.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:s}=this.props,{projection:a}=n;lc=!0,a&&(a.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(a),s&&s.deregister&&s.deregister(a))}safeToRemove(){const{safeToRemove:n}=this.props;n&&n()}render(){return null}}function Lv(t){const[n,i]=sv(),s=Y.useContext(ed);return P.jsx(MP,{...t,layoutGroup:s,switchLayoutGroup:Y.useContext(vv),isPresent:n,safeToRemove:i})}function jP(t,n,i){const s=xt(t)?t:Fi(t);return s.start(bd("",s,n,i)),s.animation}const IP=(t,n)=>t.depth-n.depth;class DP{constructor(){this.children=[],this.isDirty=!1}add(n){rd(this.children,n),this.isDirty=!0}remove(n){id(this.children,n),this.isDirty=!0}forEach(n){this.isDirty&&this.children.sort(IP),this.isDirty=!1,this.children.forEach(n)}}function LP(t,n){const i=jt.now(),s=({timestamp:a})=>{const c=a-i;c>=n&&(vr(s),t(c-n))};return ze.setup(s,!0),()=>vr(s)}const Vv=["TopLeft","TopRight","BottomLeft","BottomRight"],VP=Vv.length,vy=t=>typeof t=="string"?parseFloat(t):t,xy=t=>typeof t=="number"||ve.test(t);function BP(t,n,i,s,a,c){a?(t.opacity=We(0,i.opacity??1,zP(s)),t.opacityExit=We(n.opacity??1,0,UP(s))):c&&(t.opacity=We(n.opacity??1,i.opacity??1,s));for(let u=0;u<VP;u++){const d=`border${Vv[u]}Radius`;let h=wy(n,d),y=wy(i,d);if(h===void 0&&y===void 0)continue;h||(h=0),y||(y=0),h===0||y===0||xy(h)===xy(y)?(t[d]=Math.max(We(vy(h),vy(y),s),0),(_n.test(y)||_n.test(h))&&(t[d]+="%")):t[d]=y}(n.rotate||i.rotate)&&(t.rotate=We(n.rotate||0,i.rotate||0,s))}function wy(t,n){return t[n]!==void 0?t[n]:t.borderRadius}const zP=Bv(0,.5,kg),UP=Bv(.5,.95,Yt);function Bv(t,n,i){return s=>s<t?0:s>n?1:i(jo(t,n,s))}function Sy(t,n){t.min=n.min,t.max=n.max}function un(t,n){Sy(t.x,n.x),Sy(t.y,n.y)}function Ey(t,n){t.translate=n.translate,t.scale=n.scale,t.originPoint=n.originPoint,t.origin=n.origin}function Py(t,n,i,s,a){return t-=n,t=Da(t,1/i,s),a!==void 0&&(t=Da(t,1/a,s)),t}function $P(t,n=0,i=1,s=.5,a,c=t,u=t){if(_n.test(n)&&(n=parseFloat(n),n=We(u.min,u.max,n/100)-u.min),typeof n!="number")return;let d=We(c.min,c.max,s);t===c&&(d-=n),t.min=Py(t.min,n,i,d,a),t.max=Py(t.max,n,i,d,a)}function Ty(t,n,[i,s,a],c,u){$P(t,n[i],n[s],n[a],n.scale,c,u)}const WP=["x","scaleX","originX"],HP=["y","scaleY","originY"];function ky(t,n,i,s){Ty(t.x,n,WP,i?i.x:void 0,s?s.x:void 0),Ty(t.y,n,HP,i?i.y:void 0,s?s.y:void 0)}function _y(t){return t.translate===0&&t.scale===1}function zv(t){return _y(t.x)&&_y(t.y)}function Ay(t,n){return t.min===n.min&&t.max===n.max}function qP(t,n){return Ay(t.x,n.x)&&Ay(t.y,n.y)}function Cy(t,n){return Math.round(t.min)===Math.round(n.min)&&Math.round(t.max)===Math.round(n.max)}function Uv(t,n){return Cy(t.x,n.x)&&Cy(t.y,n.y)}function Fy(t){return _t(t.x)/_t(t.y)}function Ny(t,n){return t.translate===n.translate&&t.scale===n.scale&&t.originPoint===n.originPoint}class KP{constructor(){this.members=[]}add(n){rd(this.members,n),n.scheduleRender()}remove(n){if(id(this.members,n),n===this.prevLead&&(this.prevLead=void 0),n===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(n){const i=this.members.findIndex(a=>n===a);if(i===0)return!1;let s;for(let a=i;a>=0;a--){const c=this.members[a];if(c.isPresent!==!1){s=c;break}}return s?(this.promote(s),!0):!1}promote(n,i){const s=this.lead;if(n!==s&&(this.prevLead=s,this.lead=n,n.show(),s)){s.instance&&s.scheduleRender(),n.scheduleRender(),n.resumeFrom=s,i&&(n.resumeFrom.preserveOpacity=!0),s.snapshot&&(n.snapshot=s.snapshot,n.snapshot.latestValues=s.animationValues||s.latestValues),n.root&&n.root.isUpdating&&(n.isLayoutDirty=!0);const{crossfade:a}=n.options;a===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(n=>{const{options:i,resumingFrom:s}=n;i.onExitComplete&&i.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(n=>{n.instance&&n.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function GP(t,n,i){let s="";const a=t.x.translate/n.x,c=t.y.translate/n.y,u=(i==null?void 0:i.z)||0;if((a||c||u)&&(s=`translate3d(${a}px, ${c}px, ${u}px) `),(n.x!==1||n.y!==1)&&(s+=`scale(${1/n.x}, ${1/n.y}) `),i){const{transformPerspective:y,rotate:m,rotateX:v,rotateY:w,skewX:k,skewY:T}=i;y&&(s=`perspective(${y}px) ${s}`),m&&(s+=`rotate(${m}deg) `),v&&(s+=`rotateX(${v}deg) `),w&&(s+=`rotateY(${w}deg) `),k&&(s+=`skewX(${k}deg) `),T&&(s+=`skewY(${T}deg) `)}const d=t.x.scale*n.x,h=t.y.scale*n.y;return(d!==1||h!==1)&&(s+=`scale(${d}, ${h})`),s||"none"}const uc=["","X","Y","Z"],QP=1e3;let XP=0;function cc(t,n,i,s){const{latestValues:a}=n;a[t]&&(i[t]=a[t],n.setStaticValue(t,0),s&&(s[t]=0))}function $v(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:n}=t.options;if(!n)return;const i=Cv(n);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:a,layoutId:c}=t.options;window.MotionCancelOptimisedAnimation(i,"transform",ze,!(a||c))}const{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&$v(s)}function Wv({attachResizeListener:t,defaultParent:n,measureScroll:i,checkIsScrollRoot:s,resetTransform:a}){return class{constructor(u={},d=n==null?void 0:n()){this.id=XP++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(ZP),this.nodes.forEach(rT),this.nodes.forEach(iT),this.nodes.forEach(eT)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=u,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let h=0;h<this.path.length;h++)this.path[h].shouldResetTransform=!0;this.root===this&&(this.nodes=new DP)}addEventListener(u,d){return this.eventHandlers.has(u)||this.eventHandlers.set(u,new ad),this.eventHandlers.get(u).add(d)}notifyListeners(u,...d){const h=this.eventHandlers.get(u);h&&h.notify(...d)}hasListeners(u){return this.eventHandlers.has(u)}mount(u){if(this.instance)return;this.isSVG=ov(u)&&!z2(u),this.instance=u;const{layoutId:d,layout:h,visualElement:y}=this.options;if(y&&!y.current&&y.mount(u),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(h||d)&&(this.isLayoutDirty=!0),t){let m,v=0;const w=()=>this.root.updateBlockedByResize=!1;ze.read(()=>{v=window.innerWidth}),t(u,()=>{const k=window.innerWidth;k!==v&&(v=k,this.root.updateBlockedByResize=!0,m&&m(),m=LP(w,250),_a.hasAnimatedSinceResize&&(_a.hasAnimatedSinceResize=!1,this.nodes.forEach(Oy)))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&y&&(d||h)&&this.addEventListener("didUpdate",({delta:m,hasLayoutChanged:v,hasRelativeLayoutChanged:w,layout:k})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const T=this.options.transition||y.getDefaultTransition()||uT,{onLayoutAnimationStart:A,onLayoutAnimationComplete:S}=y.getProps(),R=!this.targetLayout||!Uv(this.targetLayout,k),O=!v&&w;if(this.options.layoutRoot||this.resumeFrom||O||v&&(R||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const D={...xd(T,"layout"),onPlay:A,onComplete:S};(y.shouldReduceMotion||this.options.layoutRoot)&&(D.delay=0,D.type=!1),this.startAnimation(D),this.setAnimationOrigin(m,O)}else v||Oy(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=k})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const u=this.getStack();u&&u.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),vr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(oT),this.animationId++)}getTransformTemplate(){const{visualElement:u}=this.options;return u&&u.getProps().transformTemplate}willUpdate(u=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&$v(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let m=0;m<this.path.length;m++){const v=this.path[m];v.shouldResetTransform=!0,v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:d,layout:h}=this.options;if(d===void 0&&!h)return;const y=this.getTransformTemplate();this.prevTransformTemplateValue=y?y(this.latestValues,""):void 0,this.updateSnapshot(),u&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Ry);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(by);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(nT),this.nodes.forEach(YP),this.nodes.forEach(JP)):this.nodes.forEach(by),this.clearAllSnapshots();const d=jt.now();dt.delta=Un(0,1e3/60,d-dt.timestamp),dt.timestamp=d,dt.isProcessing=!0,Ju.update.process(dt),Ju.preRender.process(dt),Ju.render.process(dt),dt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Sd.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(tT),this.sharedNodes.forEach(sT)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ze.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ze.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!_t(this.snapshot.measuredBox.x)&&!_t(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let h=0;h<this.path.length;h++)this.path[h].updateScroll();const u=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=rt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,u?u.layoutBox:void 0)}updateScroll(u="measure"){let d=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===u&&(d=!1),d&&this.instance){const h=s(this.instance);this.scroll={animationId:this.root.animationId,phase:u,isRoot:h,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:h}}}resetTransform(){if(!a)return;const u=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!zv(this.projectionDelta),h=this.getTransformTemplate(),y=h?h(this.latestValues,""):void 0,m=y!==this.prevTransformTemplateValue;u&&this.instance&&(d||Dr(this.latestValues)||m)&&(a(this.instance,y),this.shouldResetTransform=!1,this.scheduleRender())}measure(u=!0){const d=this.measurePageBox();let h=this.removeElementScroll(d);return u&&(h=this.removeTransform(h)),cT(h),{animationId:this.root.animationId,measuredBox:d,layoutBox:h,latestValues:{},source:this.id}}measurePageBox(){var y;const{visualElement:u}=this.options;if(!u)return rt();const d=u.measureViewportBox();if(!(((y=this.scroll)==null?void 0:y.wasRoot)||this.path.some(fT))){const{scroll:m}=this.root;m&&(ki(d.x,m.offset.x),ki(d.y,m.offset.y))}return d}removeElementScroll(u){var h;const d=rt();if(un(d,u),(h=this.scroll)!=null&&h.wasRoot)return d;for(let y=0;y<this.path.length;y++){const m=this.path[y],{scroll:v,options:w}=m;m!==this.root&&v&&w.layoutScroll&&(v.wasRoot&&un(d,u),ki(d.x,v.offset.x),ki(d.y,v.offset.y))}return d}applyTransform(u,d=!1){const h=rt();un(h,u);for(let y=0;y<this.path.length;y++){const m=this.path[y];!d&&m.options.layoutScroll&&m.scroll&&m!==m.root&&_i(h,{x:-m.scroll.offset.x,y:-m.scroll.offset.y}),Dr(m.latestValues)&&_i(h,m.latestValues)}return Dr(this.latestValues)&&_i(h,this.latestValues),h}removeTransform(u){const d=rt();un(d,u);for(let h=0;h<this.path.length;h++){const y=this.path[h];if(!y.instance||!Dr(y.latestValues))continue;Ff(y.latestValues)&&y.updateSnapshot();const m=rt(),v=y.measurePageBox();un(m,v),ky(d,y.latestValues,y.snapshot?y.snapshot.layoutBox:void 0,m)}return Dr(this.latestValues)&&ky(d,this.latestValues),d}setTargetDelta(u){this.targetDelta=u,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(u){this.options={...this.options,...u,crossfade:u.crossfade!==void 0?u.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==dt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(u=!1){var k;const d=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=d.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=d.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=d.isSharedProjectionDirty);const h=!!this.resumingFrom||this!==d;if(!(u||h&&this.isSharedProjectionDirty||this.isProjectionDirty||(k=this.parent)!=null&&k.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:m,layoutId:v}=this.options;if(!this.layout||!(m||v))return;this.resolvedRelativeTargetAt=dt.timestamp;const w=this.getClosestProjectingParent();w&&this.linkedParentVersion!==w.layoutVersion&&!w.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(w&&w.layout?this.createRelativeTarget(w,this.layout.layoutBox,w.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=rt(),this.targetWithTransforms=rt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),xP(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):un(this.target,this.layout.layoutBox),Ev(this.target,this.targetDelta)):un(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,w&&!!w.resumingFrom==!!this.resumingFrom&&!w.options.layoutScroll&&w.target&&this.animationProgress!==1?this.createRelativeTarget(w,this.target,w.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Ff(this.parent.latestValues)||Sv(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(u,d,h){this.relativeParent=u,this.linkedParentVersion=u.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=rt(),this.relativeTargetOrigin=rt(),La(this.relativeTargetOrigin,d,h),un(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var T;const u=this.getLead(),d=!!this.resumingFrom||this!==u;let h=!0;if((this.isProjectionDirty||(T=this.parent)!=null&&T.isProjectionDirty)&&(h=!1),d&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(h=!1),this.resolvedRelativeTargetAt===dt.timestamp&&(h=!1),h)return;const{layout:y,layoutId:m}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(y||m))return;un(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,w=this.treeScale.y;RE(this.layoutCorrected,this.treeScale,this.path,d),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox,u.targetWithTransforms=rt());const{target:k}=u;if(!k){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Ey(this.prevProjectionDelta.x,this.projectionDelta.x),Ey(this.prevProjectionDelta.y,this.projectionDelta.y)),Mo(this.projectionDelta,this.layoutCorrected,k,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==w||!Ny(this.projectionDelta.x,this.prevProjectionDelta.x)||!Ny(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",k))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(u=!0){var d;if((d=this.options.visualElement)==null||d.scheduleRender(),u){const h=this.getStack();h&&h.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Ai(),this.projectionDelta=Ai(),this.projectionDeltaWithTransform=Ai()}setAnimationOrigin(u,d=!1){const h=this.snapshot,y=h?h.latestValues:{},m={...this.latestValues},v=Ai();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const w=rt(),k=h?h.source:void 0,T=this.layout?this.layout.source:void 0,A=k!==T,S=this.getStack(),R=!S||S.members.length<=1,O=!!(A&&!R&&this.options.crossfade===!0&&!this.path.some(lT));this.animationProgress=0;let D;this.mixTargetDelta=U=>{const H=U/1e3;My(v.x,u.x,H),My(v.y,u.y,H),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(La(w,this.layout.layoutBox,this.relativeParent.layout.layoutBox),aT(this.relativeTarget,this.relativeTargetOrigin,w,H),D&&qP(this.relativeTarget,D)&&(this.isProjectionDirty=!1),D||(D=rt()),un(D,this.relativeTarget)),A&&(this.animationValues=m,BP(m,y,this.latestValues,H,O,R)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=H},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(u){var d,h,y;this.notifyListeners("animationStart"),(d=this.currentAnimation)==null||d.stop(),(y=(h=this.resumingFrom)==null?void 0:h.currentAnimation)==null||y.stop(),this.pendingAnimation&&(vr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ze.update(()=>{_a.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Fi(0)),this.currentAnimation=jP(this.motionValue,[0,1e3],{...u,velocity:0,isSync:!0,onUpdate:m=>{this.mixTargetDelta(m),u.onUpdate&&u.onUpdate(m)},onStop:()=>{},onComplete:()=>{u.onComplete&&u.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const u=this.getStack();u&&u.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(QP),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const u=this.getLead();let{targetWithTransforms:d,target:h,layout:y,latestValues:m}=u;if(!(!d||!h||!y)){if(this!==u&&this.layout&&y&&Hv(this.options.animationType,this.layout.layoutBox,y.layoutBox)){h=this.target||rt();const v=_t(this.layout.layoutBox.x);h.x.min=u.target.x.min,h.x.max=h.x.min+v;const w=_t(this.layout.layoutBox.y);h.y.min=u.target.y.min,h.y.max=h.y.min+w}un(d,h),_i(d,m),Mo(this.projectionDeltaWithTransform,this.layoutCorrected,d,m)}}registerSharedNode(u,d){this.sharedNodes.has(u)||this.sharedNodes.set(u,new KP),this.sharedNodes.get(u).add(d);const y=d.options.initialPromotionConfig;d.promote({transition:y?y.transition:void 0,preserveFollowOpacity:y&&y.shouldPreserveFollowOpacity?y.shouldPreserveFollowOpacity(d):void 0})}isLead(){const u=this.getStack();return u?u.lead===this:!0}getLead(){var d;const{layoutId:u}=this.options;return u?((d=this.getStack())==null?void 0:d.lead)||this:this}getPrevLead(){var d;const{layoutId:u}=this.options;return u?(d=this.getStack())==null?void 0:d.prevLead:void 0}getStack(){const{layoutId:u}=this.options;if(u)return this.root.sharedNodes.get(u)}promote({needsReset:u,transition:d,preserveFollowOpacity:h}={}){const y=this.getStack();y&&y.promote(this,h),u&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const u=this.getStack();return u?u.relegate(this):!1}resetSkewAndRotation(){const{visualElement:u}=this.options;if(!u)return;let d=!1;const{latestValues:h}=u;if((h.z||h.rotate||h.rotateX||h.rotateY||h.rotateZ||h.skewX||h.skewY)&&(d=!0),!d)return;const y={};h.z&&cc("z",u,y,this.animationValues);for(let m=0;m<uc.length;m++)cc(`rotate${uc[m]}`,u,y,this.animationValues),cc(`skew${uc[m]}`,u,y,this.animationValues);u.render();for(const m in y)u.setStaticValue(m,y[m]),this.animationValues&&(this.animationValues[m]=y[m]);u.scheduleRender()}applyProjectionStyles(u,d){if(!this.instance||this.isSVG)return;if(!this.isVisible){u.visibility="hidden";return}const h=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,u.visibility="",u.opacity="",u.pointerEvents=ka(d==null?void 0:d.pointerEvents)||"",u.transform=h?h(this.latestValues,""):"none";return}const y=this.getLead();if(!this.projectionDelta||!this.layout||!y.target){this.options.layoutId&&(u.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,u.pointerEvents=ka(d==null?void 0:d.pointerEvents)||""),this.hasProjected&&!Dr(this.latestValues)&&(u.transform=h?h({},""):"none",this.hasProjected=!1);return}u.visibility="";const m=y.animationValues||y.latestValues;this.applyTransformsToTarget();let v=GP(this.projectionDeltaWithTransform,this.treeScale,m);h&&(v=h(m,v)),u.transform=v;const{x:w,y:k}=this.projectionDelta;u.transformOrigin=`${w.origin*100}% ${k.origin*100}% 0`,y.animationValues?u.opacity=y===this?m.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:m.opacityExit:u.opacity=y===this?m.opacity!==void 0?m.opacity:"":m.opacityExit!==void 0?m.opacityExit:0;for(const T in Cf){if(m[T]===void 0)continue;const{correct:A,applyTo:S,isCSSVariable:R}=Cf[T],O=v==="none"?m[T]:A(m[T],y);if(S){const D=S.length;for(let U=0;U<D;U++)u[S[U]]=O}else R?this.options.visualElement.renderState.vars[T]=O:u[T]=O}this.options.layoutId&&(u.pointerEvents=y===this?ka(d==null?void 0:d.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(u=>{var d;return(d=u.currentAnimation)==null?void 0:d.stop()}),this.root.nodes.forEach(Ry),this.root.sharedNodes.clear()}}}function YP(t){t.updateLayout()}function JP(t){var i;const n=((i=t.resumeFrom)==null?void 0:i.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:a}=t.layout,{animationType:c}=t.options,u=n.source!==t.layout.source;c==="size"?Qt(v=>{const w=u?n.measuredBox[v]:n.layoutBox[v],k=_t(w);w.min=s[v].min,w.max=w.min+k}):Hv(c,n.layoutBox,s)&&Qt(v=>{const w=u?n.measuredBox[v]:n.layoutBox[v],k=_t(s[v]);w.max=w.min+k,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[v].max=t.relativeTarget[v].min+k)});const d=Ai();Mo(d,s,n.layoutBox);const h=Ai();u?Mo(h,t.applyTransform(a,!0),n.measuredBox):Mo(h,s,n.layoutBox);const y=!zv(d);let m=!1;if(!t.resumeFrom){const v=t.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:w,layout:k}=v;if(w&&k){const T=rt();La(T,n.layoutBox,w.layoutBox);const A=rt();La(A,s,k.layoutBox),Uv(T,A)||(m=!0),v.options.layoutRoot&&(t.relativeTarget=A,t.relativeTargetOrigin=T,t.relativeParent=v)}}}t.notifyListeners("didUpdate",{layout:s,snapshot:n,delta:h,layoutDelta:d,hasLayoutChanged:y,hasRelativeLayoutChanged:m})}else if(t.isLead()){const{onExitComplete:s}=t.options;s&&s()}t.options.transition=void 0}function ZP(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function eT(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function tT(t){t.clearSnapshot()}function Ry(t){t.clearMeasurements()}function by(t){t.isLayoutDirty=!1}function nT(t){const{visualElement:n}=t.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),t.resetTransform()}function Oy(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function rT(t){t.resolveTargetDelta()}function iT(t){t.calcProjection()}function oT(t){t.resetSkewAndRotation()}function sT(t){t.removeLeadSnapshot()}function My(t,n,i){t.translate=We(n.translate,0,i),t.scale=We(n.scale,1,i),t.origin=n.origin,t.originPoint=n.originPoint}function jy(t,n,i,s){t.min=We(n.min,i.min,s),t.max=We(n.max,i.max,s)}function aT(t,n,i,s){jy(t.x,n.x,i.x,s),jy(t.y,n.y,i.y,s)}function lT(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const uT={duration:.45,ease:[.4,0,.1,1]},Iy=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Dy=Iy("applewebkit/")&&!Iy("chrome/")?Math.round:Yt;function Ly(t){t.min=Dy(t.min),t.max=Dy(t.max)}function cT(t){Ly(t.x),Ly(t.y)}function Hv(t,n,i){return t==="position"||t==="preserve-aspect"&&!vP(Fy(n),Fy(i),.2)}function fT(t){var n;return t!==t.root&&((n=t.scroll)==null?void 0:n.wasRoot)}const dT=Wv({attachResizeListener:(t,n)=>Vo(t,"resize",n),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),fc={current:void 0},qv=Wv({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!fc.current){const t=new dT({});t.mount(window),t.setOptions({layoutScroll:!0}),fc.current=t}return fc.current},resetTransform:(t,n)=>{t.style.transform=n!==void 0?n:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),pT={pan:{Feature:OP},drag:{Feature:bP,ProjectionNode:qv,MeasureLayout:Lv}};function Vy(t,n,i){const{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",i==="Start");const a="onHover"+i,c=s[a];c&&ze.postRender(()=>c(n,Go(n)))}class hT extends Sr{mount(){const{current:n}=this.node;n&&(this.unmount=I2(n,(i,s)=>(Vy(this.node,s,"Start"),a=>Vy(this.node,a,"End"))))}unmount(){}}class mT extends Sr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let n=!1;try{n=this.node.current.matches(":focus-visible")}catch{n=!0}!n||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Ho(Vo(this.node.current,"focus",()=>this.onFocus()),Vo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function By(t,n,i){const{props:s}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap",i==="Start");const a="onTap"+(i==="End"?"":i),c=s[a];c&&ze.postRender(()=>c(n,Go(n)))}class yT extends Sr{mount(){const{current:n}=this.node;n&&(this.unmount=B2(n,(i,s)=>(By(this.node,s,"Start"),(a,{success:c})=>By(this.node,a,c?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const If=new WeakMap,dc=new WeakMap,gT=t=>{const n=If.get(t.target);n&&n(t)},vT=t=>{t.forEach(gT)};function xT({root:t,...n}){const i=t||document;dc.has(i)||dc.set(i,{});const s=dc.get(i),a=JSON.stringify(n);return s[a]||(s[a]=new IntersectionObserver(vT,{root:t,...n})),s[a]}function wT(t,n,i){const s=xT(n);return If.set(t,i),s.observe(t),()=>{If.delete(t),s.unobserve(t)}}const ST={some:0,all:1};class ET extends Sr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:n={}}=this.node.getProps(),{root:i,margin:s,amount:a="some",once:c}=n,u={root:i?i.current:void 0,rootMargin:s,threshold:typeof a=="number"?a:ST[a]},d=h=>{const{isIntersecting:y}=h;if(this.isInView===y||(this.isInView=y,c&&!y&&this.hasEnteredView))return;y&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",y);const{onViewportEnter:m,onViewportLeave:v}=this.node.getProps(),w=y?m:v;w&&w(h)};return wT(this.node.current,u,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:n,prevProps:i}=this.node;["amount","margin","root"].some(PT(n,i))&&this.startObserver()}unmount(){}}function PT({viewport:t={}},{viewport:n={}}={}){return i=>t[i]!==n[i]}const TT={inView:{Feature:ET},tap:{Feature:yT},focus:{Feature:mT},hover:{Feature:hT}},kT={layout:{ProjectionNode:qv,MeasureLayout:Lv}},_T={...dP,...TT,...pT,...kT},ne=CE(_T,zE);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const AT=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),CT=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(n,i,s)=>s?s.toUpperCase():i.toLowerCase()),zy=t=>{const n=CT(t);return n.charAt(0).toUpperCase()+n.slice(1)},Kv=(...t)=>t.filter((n,i,s)=>!!n&&n.trim()!==""&&s.indexOf(n)===i).join(" ").trim();/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/var FT={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const NT=Y.forwardRef(({color:t="currentColor",size:n=24,strokeWidth:i=2,absoluteStrokeWidth:s,className:a="",children:c,iconNode:u,...d},h)=>Y.createElement("svg",{ref:h,...FT,width:n,height:n,stroke:t,strokeWidth:s?Number(i)*24/Number(n):i,className:Kv("lucide",a),...d},[...u.map(([y,m])=>Y.createElement(y,m)),...Array.isArray(c)?c:[c]]));/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Ze=(t,n)=>{const i=Y.forwardRef(({className:s,...a},c)=>Y.createElement(NT,{ref:c,iconNode:n,className:Kv(`lucide-${AT(zy(t))}`,`lucide-${t}`,s),...a}));return i.displayName=zy(t),i};/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const RT=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],bT=Ze("arrow-right",RT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const OT=[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]],Gv=Ze("brain",OT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const MT=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Uy=Ze("check",MT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const jT=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],$y=Ze("circle-alert",jT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const IT=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Wy=Ze("circle-check-big",IT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const DT=[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]],Qv=Ze("cpu",DT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const LT=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],VT=Ze("database",LT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const BT=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"10",cy:"12",r:"2",key:"737tya"}],["path",{d:"m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22",key:"wt3hpn"}]],Hy=Ze("file-image",BT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const zT=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],UT=Ze("file-text",zT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const $T=[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]],WT=Ze("gift",$T);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const HT=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],qy=Ze("lock",HT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const qT=[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]],pc=Ze("message-square",qT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const KT=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],GT=Ze("shield",KT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const QT=[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]],Od=Ze("sparkles",QT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const XT=[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]],Xv=Ze("trending-down",XT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const YT=[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]],JT=Ze("trending-up",YT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const ZT=[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]],ek=Ze("upload",ZT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const tk=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]],Yv=Ze("users",tk);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const nk=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],rk=Ze("x",nk);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const ik=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],Va=Ze("zap",ik);function ok({onNext:t}){const[n,i]=Y.useState(1e3),[s,a]=Y.useState(""),c="你的企业,正在为「低效」支付多少冤枉钱?";return Y.useEffect(()=>{let u=0;const d=setInterval(()=>{u<=c.length?(a(c.slice(0,u)),u++):clearInterval(d)},80);return()=>clearInterval(d)},[]),Y.useEffect(()=>{const u=setInterval(()=>{i(d=>d+Math.floor(Math.random()*3))},2e3);return()=>clearInterval(u)},[]),P.jsxs("div",{className:"min-h-screen flex flex-col items-center justify-center px-6 py-12 relative overflow-hidden",children:[P.jsx(ne.div,{className:"absolute top-1/4 left-1/4 w-64 h-64 bg-[#7B61FF]/20 rounded-full blur-3xl",animate:{scale:[1,1.2,1],opacity:[.3,.5,.3]},transition:{duration:4,repeat:1/0,ease:"easeInOut"}}),P.jsx(ne.div,{className:"absolute bottom-1/4 right-1/4 w-64 h-64 bg-[#00F0FF]/20 rounded-full blur-3xl",animate:{scale:[1.2,1,1.2],opacity:[.3,.5,.3]},transition:{duration:4,repeat:1/0,ease:"easeInOut"}}),P.jsxs(ne.div,{className:"mb-12 relative",initial:{opacity:0,scale:.5},animate:{opacity:1,scale:1},transition:{duration:1,type:"spring"},children:[P.jsxs(ne.div,{className:"relative w-32 h-32 flex items-center justify-center",animate:{scale:[1,1.1,1]},transition:{duration:3,repeat:1/0,ease:"easeInOut"},children:[P.jsx(ne.div,{className:"absolute inset-0 bg-gradient-to-br from-[#7B61FF] to-[#00F0FF] rounded-full blur-2xl",animate:{opacity:[.3,.8,.3],scale:[.8,1.2,.8]},transition:{duration:3,repeat:1/0,ease:"easeInOut"}}),P.jsx("div",{className:"relative z-10 w-24 h-24 bg-gradient-to-br from-[#7B61FF] to-[#00F0FF] rounded-full flex items-center justify-center",children:P.jsx(Gv,{className:"w-14 h-14 text-white"})}),[{Icon:Od,delay:0,color:"#00F0FF"},{Icon:Qv,delay:1,color:"#7B61FF"},{Icon:VT,delay:2,color:"#00F0FF"},{Icon:Va,delay:3,color:"#7B61FF"}].map((u,d)=>P.jsx(ne.div,{className:"absolute top-1/2 left-1/2 w-10 h-10 -ml-5 -mt-5",animate:{rotate:[0,360]},transition:{duration:8,repeat:1/0,ease:"linear",delay:u.delay*2},children:P.jsx(ne.div,{className:"absolute",style:{transform:`translateX(70px) rotate(-${d*90}deg)`},animate:{rotate:[0,-360]},transition:{duration:8,repeat:1/0,ease:"linear",delay:u.delay*2},children:P.jsx(ne.div,{className:"w-10 h-10 bg-[#0A0F24] border-2 rounded-full flex items-center justify-center",style:{borderColor:u.color},animate:{boxShadow:[`0 0 10px ${u.color}40`,`0 0 20px ${u.color}80`,`0 0 10px ${u.color}40`]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},children:P.jsx(u.Icon,{className:"w-5 h-5",style:{color:u.color}})})})},d))]}),Array.from({length:8}).map((u,d)=>P.jsx(ne.div,{className:"absolute w-1 h-1 bg-[#00F0FF] rounded-full",style:{left:"50%",top:"50%"},animate:{x:[0,Math.cos(d*45*Math.PI/180)*100],y:[0,Math.sin(d*45*Math.PI/180)*100],opacity:[0,1,0],scale:[0,1,0]},transition:{duration:2,repeat:1/0,delay:d*.2,ease:"easeOut"}},d))]}),P.jsxs(ne.h1,{className:"text-3xl md:text-4xl text-center mb-6 min-h-[6rem] px-4",initial:{opacity:0},animate:{opacity:1},transition:{delay:1.5},children:[s,P.jsx(ne.span,{className:"inline-block w-1 h-8 bg-[#00F0FF] ml-1 align-middle",animate:{opacity:[1,0,1]},transition:{duration:.8,repeat:1/0}})]}),P.jsxs(ne.p,{className:"text-center text-gray-300 mb-8 px-4 max-w-xl",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:2.5},children:["AI时代,1个懂AI的员工 > 5个传统员工",P.jsx("br",{}),"上传组织架构图,AI一键测算你的",P.jsx("span",{className:"text-[#00F0FF]",children:"隐形降本空间"})]}),P.jsxs(ne.div,{className:"flex items-center gap-2 mb-12 bg-white/5 backdrop-blur-sm border border-[#00F0FF]/30 rounded-full px-6 py-3",initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{delay:3},children:[P.jsx(Va,{className:"w-5 h-5 text-[#00F0FF]"}),P.jsx("span",{className:"text-gray-300",children:"今日已有"}),P.jsx(ne.span,{className:"text-[#00F0FF] text-xl",initial:{y:-10,opacity:0},animate:{y:0,opacity:1},children:n.toLocaleString()},n),P.jsx("span",{className:"text-gray-300",children:"位老板获取了降本方案"})]}),P.jsxs(ne.button,{className:"relative px-12 py-4 bg-gradient-to-r from-[#7B61FF] to-[#00F0FF] rounded-full overflow-hidden group",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:3.5},onClick:t,children:[P.jsx(ne.div,{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white/30 to-transparent",animate:{x:["-100%","200%"]},transition:{duration:2,repeat:1/0,repeatDelay:1}}),P.jsxs("span",{className:"relative z-10 flex items-center gap-2",children:["立即测算能省多少钱",P.jsx(Xv,{className:"w-5 h-5"})]})]}),P.jsxs(ne.div,{className:"mt-12 flex gap-6 text-xs text-gray-400",initial:{opacity:0},animate:{opacity:1},transition:{delay:4},children:[P.jsxs("div",{className:"flex items-center gap-1",children:[P.jsx("div",{className:"w-2 h-2 bg-green-400 rounded-full"}),P.jsx("span",{children:"银行级加密"})]}),P.jsxs("div",{className:"flex items-center gap-1",children:[P.jsx("div",{className:"w-2 h-2 bg-green-400 rounded-full"}),P.jsx("span",{children:"3秒出结果"})]}),P.jsxs("div",{className:"flex items-center gap-1",children:[P.jsx("div",{className:"w-2 h-2 bg-green-400 rounded-full"}),P.jsx("span",{children:"数据即时销毁"})]})]})]})}const Ky=[{id:"ecommerce",name:"电商型",icon:"🛒"},{id:"traditional",name:"传统型",icon:"🏢"},{id:"tech",name:"科技型",icon:"💻"}];function sk(t){var u,d;const[n,i]=Y.useState(!1),[s,a]=Y.useState(null),c=async h=>{var m;const y=(m=h.target.files)==null?void 0:m[0];y&&t.onSuccess(y)};return P.jsxs("div",{className:"min-h-screen flex flex-col items-center justify-center px-6 py-12 relative",children:[P.jsx(ne.h2,{className:"text-2xl md:text-3xl text-center mb-4",initial:{opacity:0,y:-20},animate:{opacity:1,y:0},children:"上传您的组织架构图"}),P.jsx(ne.p,{className:"text-gray-400 text-center mb-12",initial:{opacity:0},animate:{opacity:1},transition:{delay:.2},children:"AI将智能分析各岗位的优化潜力"}),P.jsxs(ne.div,{className:`relative w-full max-w-md h-72 border-2 border-dashed rounded-2xl transition-all duration-300
|
||
border-[#7B61FF]/50 bg-white/5
|
||
${n?"border-[#00F0FF] bg-[#00F0FF]/5 shadow-[0_0_30px_rgba(0,240,255,0.3)]":""}`,initial:{opacity:0,scale:.9},animate:{opacity:1,scale:n?1.02:1},transition:{delay:.3},children:[n?P.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center gap-3",children:[P.jsx(ne.div,{className:"absolute inset-0 bg-[#00F0FF]/10 rounded-2xl",animate:{opacity:[.1,.3,.1]},transition:{duration:1,repeat:1/0}}),P.jsx(ne.div,{className:"absolute inset-x-0 h-1 bg-gradient-to-r from-transparent via-[#00F0FF] to-transparent shadow-[0_0_10px_rgba(0,240,255,0.8)]",animate:{top:["0%","100%"]},transition:{duration:1.5,repeat:1/0,ease:"linear"}}),P.jsxs(ne.div,{initial:{scale:.8,opacity:0},animate:{scale:1,opacity:1},transition:{duration:.3},className:"relative z-10 flex flex-col items-center",children:[P.jsx(Hy,{className:"w-16 h-16 text-[#00F0FF] mb-4"}),P.jsx("p",{className:"text-[#00F0FF] text-lg",children:"正在扫描架构图..."}),s&&P.jsxs(ne.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:"mt-4 flex items-center gap-2 bg-white/10 px-4 py-2 rounded-lg",children:[P.jsx("span",{className:"text-2xl",children:(u=Ky.find(h=>h.id===s))==null?void 0:u.icon}),P.jsx("span",{className:"text-sm text-white",children:(d=Ky.find(h=>h.id===s))==null?void 0:d.name})]})]})]}):P.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center p-6",children:[P.jsx(ek,{className:"w-12 h-12 text-[#7B61FF] mb-4"}),P.jsx("p",{className:"text-gray-300 text-center mb-2",children:"拖拽图片到此处"}),P.jsx("p",{className:"text-gray-500 text-sm text-center mb-6",children:"或"}),P.jsx("div",{className:"flex ",children:P.jsxs("label",{className:"cursor-pointer",children:[P.jsx("input",{type:"file",accept:"image/*",className:"hidden",onChange:c}),P.jsxs("div",{className:"flex items-center gap-2 px-4 py-2 bg-[#7B61FF]/20 border border-[#7B61FF] rounded-lg hover:bg-[#7B61FF]/30 transition-colors",children:[P.jsx(Hy,{className:"w-4 h-4"}),P.jsx("span",{className:"text-sm",children:"选择文件"})]})]})})]}),P.jsx("div",{className:"absolute top-0 left-0 w-8 h-8 border-t-2 border-l-2 border-[#00F0FF]/50 rounded-tl-2xl"}),P.jsx("div",{className:"absolute top-0 right-0 w-8 h-8 border-t-2 border-r-2 border-[#00F0FF]/50 rounded-tr-2xl"}),P.jsx("div",{className:"absolute bottom-0 left-0 w-8 h-8 border-b-2 border-l-2 border-[#00F0FF]/50 rounded-bl-2xl"}),P.jsx("div",{className:"absolute bottom-0 right-0 w-8 h-8 border-b-2 border-r-2 border-[#00F0FF]/50 rounded-br-2xl"})]}),P.jsxs(ne.div,{className:"flex items-center gap-2 text-xs text-gray-500 bg-white/5 backdrop-blur-sm px-4 py-2 rounded-full mt-12",initial:{opacity:0},animate:{opacity:1},transition:{delay:.9},children:[P.jsx(GT,{className:"w-4 h-4 text-green-400"}),P.jsx("span",{children:"银行级数据加密,仅用于测算,分析后立即销毁"})]})]})}const hc=[{dept:"组织架构",message:"发现重复劳动节点...",icon:"🎨"},{dept:"AI替代方案",message:"AI替代率 85%...",icon:"✍️"},{dept:"AI优化方案",message:"智能接入可节省 70%...",icon:"💬"},{dept:"AI优化空间",message:"数据分析优化空间 60%...",icon:"📊"},{dept:"AI部署方案",message:"自动化流程提升 75%...",icon:"⚙️"}];function ak(){const[t,n]=Y.useState(0),[i,s]=Y.useState([]);return Y.useEffect(()=>{const a=Array.from({length:15},(c,u)=>({x:Math.random()*100,y:Math.random()*100,id:u}));s(a)},[]),Y.useEffect(()=>{const a=setInterval(()=>{n(c=>c<hc.length-1?c+1:(clearInterval(a),c))},800);return()=>clearInterval(a)},[]),P.jsxs("div",{className:"min-h-screen flex flex-col items-center justify-center px-6 py-12 relative overflow-hidden",children:[P.jsxs("div",{className:"absolute inset-0 flex items-center justify-center",children:[P.jsx(ne.div,{className:"absolute w-96 h-96 border-2 border-[#00F0FF]/30 rounded-full",animate:{scale:[1,1.5,1],opacity:[.5,0,.5]},transition:{duration:2,repeat:1/0,ease:"easeOut"}}),P.jsx(ne.div,{className:"absolute w-96 h-96 border-2 border-[#7B61FF]/30 rounded-full",animate:{scale:[1,1.5,1],opacity:[.5,0,.5]},transition:{duration:2,repeat:1/0,ease:"easeOut",delay:.5}}),P.jsx(ne.div,{className:"absolute w-96 h-1 bg-gradient-to-r from-[#00F0FF]/0 via-[#00F0FF]/80 to-[#00F0FF]/0 origin-left",style:{left:"50%",top:"50%"},animate:{rotate:[0,360]},transition:{duration:3,repeat:1/0,ease:"linear"}})]}),P.jsx("div",{className:"absolute inset-0 pointer-events-none",children:i.map(a=>P.jsx(ne.div,{className:"absolute w-3 h-3 bg-[#00F0FF] rounded-full",style:{left:`${a.x}%`,top:`${a.y}%`},initial:{scale:0,opacity:0},animate:{scale:[0,1,.8],opacity:[0,1,.6]},transition:{duration:1,delay:a.id*.1},children:P.jsx(ne.div,{className:"absolute inset-0 bg-[#00F0FF] rounded-full",animate:{scale:[1,2,1],opacity:[.8,0,.8]},transition:{duration:2,repeat:1/0,delay:a.id*.1}})},a.id))}),P.jsx(ne.div,{className:"relative z-10 mb-12",initial:{scale:0,rotate:-180},animate:{scale:1,rotate:0},transition:{duration:1,type:"spring"},children:P.jsxs("div",{className:"relative",children:[P.jsx(ne.div,{className:"w-24 h-24 bg-gradient-to-br from-[#7B61FF] to-[#00F0FF] rounded-full flex items-center justify-center",animate:{boxShadow:["0 0 20px rgba(123, 97, 255, 0.5)","0 0 40px rgba(0, 240, 255, 0.8)","0 0 20px rgba(123, 97, 255, 0.5)"]},transition:{duration:2,repeat:1/0},children:P.jsx(Gv,{className:"w-12 h-12 text-white"})}),[Qv,Va,JT].map((a,c)=>P.jsx(ne.div,{className:"absolute top-1/2 left-1/2 w-8 h-8 -ml-4 -mt-4",animate:{rotate:[0,360]},transition:{duration:5,repeat:1/0,ease:"linear",delay:c*.6},children:P.jsx(ne.div,{className:"absolute",style:{transform:`translateX(60px) rotate(-${c*120}deg)`},animate:{rotate:[0,-360]},transition:{duration:5,repeat:1/0,ease:"linear",delay:c*.6},children:P.jsx("div",{className:"w-8 h-8 bg-[#0A0F24] border-2 border-[#00F0FF] rounded-full flex items-center justify-center",children:P.jsx(a,{className:"w-4 h-4 text-[#00F0FF]"})})})},c))]})}),P.jsx("div",{className:"relative z-10 w-full max-w-md space-y-4",children:hc.map((a,c)=>P.jsxs(ne.div,{className:`flex items-center gap-4 p-4 rounded-xl backdrop-blur-sm transition-all ${c===t?"bg-[#00F0FF]/20 border-2 border-[#00F0FF]":c<t?"bg-white/5 border border-gray-600":"bg-white/5 border border-gray-800 opacity-30"}`,initial:{opacity:0,x:-50},animate:{opacity:c<=t?1:.3,x:0},transition:{delay:c*.1},children:[P.jsx("span",{className:"text-2xl",children:a.icon}),P.jsxs("div",{className:"flex-1",children:[P.jsxs("div",{className:"text-sm text-gray-300",children:["正在分析",a.dept]}),P.jsx("div",{className:"text-xs text-[#00F0FF] mt-1",children:a.message})]}),c===t&&P.jsx(ne.div,{className:"w-6 h-6 border-2 border-[#00F0FF] border-t-transparent rounded-full",animate:{rotate:360},transition:{duration:1,repeat:1/0,ease:"linear"}}),c<t&&P.jsx("div",{className:"w-6 h-6 bg-[#00F0FF] rounded-full flex items-center justify-center",children:P.jsx("svg",{className:"w-4 h-4 text-[#0A0F24]",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:P.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7"})})})]},c))}),P.jsx(ne.div,{className:"mt-12 text-center",initial:{opacity:0},animate:{opacity:[0,1,0]},transition:{duration:2,repeat:1/0},children:P.jsx("p",{className:"text-[#00F0FF] text-sm",children:"AI深度分析中,请稍候..."})}),P.jsx(ne.div,{className:"mt-6 w-64 h-1 bg-gray-800 rounded-full overflow-hidden",children:P.jsx(ne.div,{className:"h-full bg-gradient-to-r from-[#7B61FF] to-[#00F0FF]",initial:{width:"0%"},animate:{width:`${(t+1)/hc.length*100}%`},transition:{duration:.5}})})]})}function Jv(t,n){return function(){return t.apply(n,arguments)}}const{toString:lk}=Object.prototype,{getPrototypeOf:Md}=Object,{iterator:Ya,toStringTag:Zv}=Symbol,Ja=(t=>n=>{const i=lk.call(n);return t[i]||(t[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),pn=t=>(t=t.toLowerCase(),n=>Ja(n)===t),Za=t=>n=>typeof n===t,{isArray:Li}=Array,Ri=Za("undefined");function Qo(t){return t!==null&&!Ri(t)&&t.constructor!==null&&!Ri(t.constructor)&&It(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const e1=pn("ArrayBuffer");function uk(t){let n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(t):n=t&&t.buffer&&e1(t.buffer),n}const ck=Za("string"),It=Za("function"),t1=Za("number"),Xo=t=>t!==null&&typeof t=="object",fk=t=>t===!0||t===!1,Aa=t=>{if(Ja(t)!=="object")return!1;const n=Md(t);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Zv in t)&&!(Ya in t)},dk=t=>{if(!Xo(t)||Qo(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},pk=pn("Date"),hk=pn("File"),mk=pn("Blob"),yk=pn("FileList"),gk=t=>Xo(t)&&It(t.pipe),vk=t=>{let n;return t&&(typeof FormData=="function"&&t instanceof FormData||It(t.append)&&((n=Ja(t))==="formdata"||n==="object"&&It(t.toString)&&t.toString()==="[object FormData]"))},xk=pn("URLSearchParams"),[wk,Sk,Ek,Pk]=["ReadableStream","Request","Response","Headers"].map(pn),Tk=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Yo(t,n,{allOwnKeys:i=!1}={}){if(t===null||typeof t>"u")return;let s,a;if(typeof t!="object"&&(t=[t]),Li(t))for(s=0,a=t.length;s<a;s++)n.call(null,t[s],s,t);else{if(Qo(t))return;const c=i?Object.getOwnPropertyNames(t):Object.keys(t),u=c.length;let d;for(s=0;s<u;s++)d=c[s],n.call(null,t[d],d,t)}}function n1(t,n){if(Qo(t))return null;n=n.toLowerCase();const i=Object.keys(t);let s=i.length,a;for(;s-- >0;)if(a=i[s],n===a.toLowerCase())return a;return null}const zr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,r1=t=>!Ri(t)&&t!==zr;function Df(){const{caseless:t,skipUndefined:n}=r1(this)&&this||{},i={},s=(a,c)=>{const u=t&&n1(i,c)||c;Aa(i[u])&&Aa(a)?i[u]=Df(i[u],a):Aa(a)?i[u]=Df({},a):Li(a)?i[u]=a.slice():(!n||!Ri(a))&&(i[u]=a)};for(let a=0,c=arguments.length;a<c;a++)arguments[a]&&Yo(arguments[a],s);return i}const kk=(t,n,i,{allOwnKeys:s}={})=>(Yo(n,(a,c)=>{i&&It(a)?t[c]=Jv(a,i):t[c]=a},{allOwnKeys:s}),t),_k=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Ak=(t,n,i,s)=>{t.prototype=Object.create(n.prototype,s),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:n.prototype}),i&&Object.assign(t.prototype,i)},Ck=(t,n,i,s)=>{let a,c,u;const d={};if(n=n||{},t==null)return n;do{for(a=Object.getOwnPropertyNames(t),c=a.length;c-- >0;)u=a[c],(!s||s(u,t,n))&&!d[u]&&(n[u]=t[u],d[u]=!0);t=i!==!1&&Md(t)}while(t&&(!i||i(t,n))&&t!==Object.prototype);return n},Fk=(t,n,i)=>{t=String(t),(i===void 0||i>t.length)&&(i=t.length),i-=n.length;const s=t.indexOf(n,i);return s!==-1&&s===i},Nk=t=>{if(!t)return null;if(Li(t))return t;let n=t.length;if(!t1(n))return null;const i=new Array(n);for(;n-- >0;)i[n]=t[n];return i},Rk=(t=>n=>t&&n instanceof t)(typeof Uint8Array<"u"&&Md(Uint8Array)),bk=(t,n)=>{const s=(t&&t[Ya]).call(t);let a;for(;(a=s.next())&&!a.done;){const c=a.value;n.call(t,c[0],c[1])}},Ok=(t,n)=>{let i;const s=[];for(;(i=t.exec(n))!==null;)s.push(i);return s},Mk=pn("HTMLFormElement"),jk=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,s,a){return s.toUpperCase()+a}),Gy=(({hasOwnProperty:t})=>(n,i)=>t.call(n,i))(Object.prototype),Ik=pn("RegExp"),i1=(t,n)=>{const i=Object.getOwnPropertyDescriptors(t),s={};Yo(i,(a,c)=>{let u;(u=n(a,c,t))!==!1&&(s[c]=u||a)}),Object.defineProperties(t,s)},Dk=t=>{i1(t,(n,i)=>{if(It(t)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const s=t[i];if(It(s)){if(n.enumerable=!1,"writable"in n){n.writable=!1;return}n.set||(n.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},Lk=(t,n)=>{const i={},s=a=>{a.forEach(c=>{i[c]=!0})};return Li(t)?s(t):s(String(t).split(n)),i},Vk=()=>{},Bk=(t,n)=>t!=null&&Number.isFinite(t=+t)?t:n;function zk(t){return!!(t&&It(t.append)&&t[Zv]==="FormData"&&t[Ya])}const Uk=t=>{const n=new Array(10),i=(s,a)=>{if(Xo(s)){if(n.indexOf(s)>=0)return;if(Qo(s))return s;if(!("toJSON"in s)){n[a]=s;const c=Li(s)?[]:{};return Yo(s,(u,d)=>{const h=i(u,a+1);!Ri(h)&&(c[d]=h)}),n[a]=void 0,c}}return s};return i(t,0)},$k=pn("AsyncFunction"),Wk=t=>t&&(Xo(t)||It(t))&&It(t.then)&&It(t.catch),o1=((t,n)=>t?setImmediate:n?((i,s)=>(zr.addEventListener("message",({source:a,data:c})=>{a===zr&&c===i&&s.length&&s.shift()()},!1),a=>{s.push(a),zr.postMessage(i,"*")}))(`axios@${Math.random()}`,[]):i=>setTimeout(i))(typeof setImmediate=="function",It(zr.postMessage)),Hk=typeof queueMicrotask<"u"?queueMicrotask.bind(zr):typeof process<"u"&&process.nextTick||o1,qk=t=>t!=null&&It(t[Ya]),X={isArray:Li,isArrayBuffer:e1,isBuffer:Qo,isFormData:vk,isArrayBufferView:uk,isString:ck,isNumber:t1,isBoolean:fk,isObject:Xo,isPlainObject:Aa,isEmptyObject:dk,isReadableStream:wk,isRequest:Sk,isResponse:Ek,isHeaders:Pk,isUndefined:Ri,isDate:pk,isFile:hk,isBlob:mk,isRegExp:Ik,isFunction:It,isStream:gk,isURLSearchParams:xk,isTypedArray:Rk,isFileList:yk,forEach:Yo,merge:Df,extend:kk,trim:Tk,stripBOM:_k,inherits:Ak,toFlatObject:Ck,kindOf:Ja,kindOfTest:pn,endsWith:Fk,toArray:Nk,forEachEntry:bk,matchAll:Ok,isHTMLForm:Mk,hasOwnProperty:Gy,hasOwnProp:Gy,reduceDescriptors:i1,freezeMethods:Dk,toObjectSet:Lk,toCamelCase:jk,noop:Vk,toFiniteNumber:Bk,findKey:n1,global:zr,isContextDefined:r1,isSpecCompliantForm:zk,toJSONObject:Uk,isAsyncFn:$k,isThenable:Wk,setImmediate:o1,asap:Hk,isIterable:qk};function ke(t,n,i,s,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",n&&(this.code=n),i&&(this.config=i),s&&(this.request=s),a&&(this.response=a,this.status=a.status?a.status:null)}X.inherits(ke,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:X.toJSONObject(this.config),code:this.code,status:this.status}}});const s1=ke.prototype,a1={};["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(t=>{a1[t]={value:t}});Object.defineProperties(ke,a1);Object.defineProperty(s1,"isAxiosError",{value:!0});ke.from=(t,n,i,s,a,c)=>{const u=Object.create(s1);X.toFlatObject(t,u,function(m){return m!==Error.prototype},y=>y!=="isAxiosError");const d=t&&t.message?t.message:"Error",h=n==null&&t?t.code:n;return ke.call(u,d,h,i,s,a),t&&u.cause==null&&Object.defineProperty(u,"cause",{value:t,configurable:!0}),u.name=t&&t.name||"Error",c&&Object.assign(u,c),u};const Kk=null;function Lf(t){return X.isPlainObject(t)||X.isArray(t)}function l1(t){return X.endsWith(t,"[]")?t.slice(0,-2):t}function Qy(t,n,i){return t?t.concat(n).map(function(a,c){return a=l1(a),!i&&c?"["+a+"]":a}).join(i?".":""):n}function Gk(t){return X.isArray(t)&&!t.some(Lf)}const Qk=X.toFlatObject(X,{},null,function(n){return/^is[A-Z]/.test(n)});function el(t,n,i){if(!X.isObject(t))throw new TypeError("target must be an object");n=n||new FormData,i=X.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(A,S){return!X.isUndefined(S[A])});const s=i.metaTokens,a=i.visitor||m,c=i.dots,u=i.indexes,h=(i.Blob||typeof Blob<"u"&&Blob)&&X.isSpecCompliantForm(n);if(!X.isFunction(a))throw new TypeError("visitor must be a function");function y(T){if(T===null)return"";if(X.isDate(T))return T.toISOString();if(X.isBoolean(T))return T.toString();if(!h&&X.isBlob(T))throw new ke("Blob is not supported. Use a Buffer instead.");return X.isArrayBuffer(T)||X.isTypedArray(T)?h&&typeof Blob=="function"?new Blob([T]):Buffer.from(T):T}function m(T,A,S){let R=T;if(T&&!S&&typeof T=="object"){if(X.endsWith(A,"{}"))A=s?A:A.slice(0,-2),T=JSON.stringify(T);else if(X.isArray(T)&&Gk(T)||(X.isFileList(T)||X.endsWith(A,"[]"))&&(R=X.toArray(T)))return A=l1(A),R.forEach(function(D,U){!(X.isUndefined(D)||D===null)&&n.append(u===!0?Qy([A],U,c):u===null?A:A+"[]",y(D))}),!1}return Lf(T)?!0:(n.append(Qy(S,A,c),y(T)),!1)}const v=[],w=Object.assign(Qk,{defaultVisitor:m,convertValue:y,isVisitable:Lf});function k(T,A){if(!X.isUndefined(T)){if(v.indexOf(T)!==-1)throw Error("Circular reference detected in "+A.join("."));v.push(T),X.forEach(T,function(R,O){(!(X.isUndefined(R)||R===null)&&a.call(n,R,X.isString(O)?O.trim():O,A,w))===!0&&k(R,A?A.concat(O):[O])}),v.pop()}}if(!X.isObject(t))throw new TypeError("data must be an object");return k(t),n}function Xy(t){const n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return n[s]})}function jd(t,n){this._pairs=[],t&&el(t,this,n)}const u1=jd.prototype;u1.append=function(n,i){this._pairs.push([n,i])};u1.toString=function(n){const i=n?function(s){return n.call(this,s,Xy)}:Xy;return this._pairs.map(function(a){return i(a[0])+"="+i(a[1])},"").join("&")};function Xk(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function c1(t,n,i){if(!n)return t;const s=i&&i.encode||Xk;X.isFunction(i)&&(i={serialize:i});const a=i&&i.serialize;let c;if(a?c=a(n,i):c=X.isURLSearchParams(n)?n.toString():new jd(n,i).toString(s),c){const u=t.indexOf("#");u!==-1&&(t=t.slice(0,u)),t+=(t.indexOf("?")===-1?"?":"&")+c}return t}class Yy{constructor(){this.handlers=[]}use(n,i,s){return this.handlers.push({fulfilled:n,rejected:i,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(n){this.handlers[n]&&(this.handlers[n]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(n){X.forEach(this.handlers,function(s){s!==null&&n(s)})}}const f1={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Yk=typeof URLSearchParams<"u"?URLSearchParams:jd,Jk=typeof FormData<"u"?FormData:null,Zk=typeof Blob<"u"?Blob:null,e_={isBrowser:!0,classes:{URLSearchParams:Yk,FormData:Jk,Blob:Zk},protocols:["http","https","file","blob","url","data"]},Id=typeof window<"u"&&typeof document<"u",Vf=typeof navigator=="object"&&navigator||void 0,t_=Id&&(!Vf||["ReactNative","NativeScript","NS"].indexOf(Vf.product)<0),n_=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",r_=Id&&window.location.href||"http://localhost",i_=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Id,hasStandardBrowserEnv:t_,hasStandardBrowserWebWorkerEnv:n_,navigator:Vf,origin:r_},Symbol.toStringTag,{value:"Module"})),vt={...i_,...e_};function o_(t,n){return el(t,new vt.classes.URLSearchParams,{visitor:function(i,s,a,c){return vt.isNode&&X.isBuffer(i)?(this.append(s,i.toString("base64")),!1):c.defaultVisitor.apply(this,arguments)},...n})}function s_(t){return X.matchAll(/\w+|\[(\w*)]/g,t).map(n=>n[0]==="[]"?"":n[1]||n[0])}function a_(t){const n={},i=Object.keys(t);let s;const a=i.length;let c;for(s=0;s<a;s++)c=i[s],n[c]=t[c];return n}function d1(t){function n(i,s,a,c){let u=i[c++];if(u==="__proto__")return!0;const d=Number.isFinite(+u),h=c>=i.length;return u=!u&&X.isArray(a)?a.length:u,h?(X.hasOwnProp(a,u)?a[u]=[a[u],s]:a[u]=s,!d):((!a[u]||!X.isObject(a[u]))&&(a[u]=[]),n(i,s,a[u],c)&&X.isArray(a[u])&&(a[u]=a_(a[u])),!d)}if(X.isFormData(t)&&X.isFunction(t.entries)){const i={};return X.forEachEntry(t,(s,a)=>{n(s_(s),a,i,0)}),i}return null}function l_(t,n,i){if(X.isString(t))try{return(n||JSON.parse)(t),X.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(i||JSON.stringify)(t)}const Jo={transitional:f1,adapter:["xhr","http","fetch"],transformRequest:[function(n,i){const s=i.getContentType()||"",a=s.indexOf("application/json")>-1,c=X.isObject(n);if(c&&X.isHTMLForm(n)&&(n=new FormData(n)),X.isFormData(n))return a?JSON.stringify(d1(n)):n;if(X.isArrayBuffer(n)||X.isBuffer(n)||X.isStream(n)||X.isFile(n)||X.isBlob(n)||X.isReadableStream(n))return n;if(X.isArrayBufferView(n))return n.buffer;if(X.isURLSearchParams(n))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),n.toString();let d;if(c){if(s.indexOf("application/x-www-form-urlencoded")>-1)return o_(n,this.formSerializer).toString();if((d=X.isFileList(n))||s.indexOf("multipart/form-data")>-1){const h=this.env&&this.env.FormData;return el(d?{"files[]":n}:n,h&&new h,this.formSerializer)}}return c||a?(i.setContentType("application/json",!1),l_(n)):n}],transformResponse:[function(n){const i=this.transitional||Jo.transitional,s=i&&i.forcedJSONParsing,a=this.responseType==="json";if(X.isResponse(n)||X.isReadableStream(n))return n;if(n&&X.isString(n)&&(s&&!this.responseType||a)){const u=!(i&&i.silentJSONParsing)&&a;try{return JSON.parse(n,this.parseReviver)}catch(d){if(u)throw d.name==="SyntaxError"?ke.from(d,ke.ERR_BAD_RESPONSE,this,null,this.response):d}}return n}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:vt.classes.FormData,Blob:vt.classes.Blob},validateStatus:function(n){return n>=200&&n<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};X.forEach(["delete","get","head","post","put","patch"],t=>{Jo.headers[t]={}});const u_=X.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"]),c_=t=>{const n={};let i,s,a;return t&&t.split(`
|
||
`).forEach(function(u){a=u.indexOf(":"),i=u.substring(0,a).trim().toLowerCase(),s=u.substring(a+1).trim(),!(!i||n[i]&&u_[i])&&(i==="set-cookie"?n[i]?n[i].push(s):n[i]=[s]:n[i]=n[i]?n[i]+", "+s:s)}),n},Jy=Symbol("internals");function Fo(t){return t&&String(t).trim().toLowerCase()}function Ca(t){return t===!1||t==null?t:X.isArray(t)?t.map(Ca):String(t)}function f_(t){const n=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=i.exec(t);)n[s[1]]=s[2];return n}const d_=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function mc(t,n,i,s,a){if(X.isFunction(s))return s.call(this,n,i);if(a&&(n=i),!!X.isString(n)){if(X.isString(s))return n.indexOf(s)!==-1;if(X.isRegExp(s))return s.test(n)}}function p_(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(n,i,s)=>i.toUpperCase()+s)}function h_(t,n){const i=X.toCamelCase(" "+n);["get","set","has"].forEach(s=>{Object.defineProperty(t,s+i,{value:function(a,c,u){return this[s].call(this,n,a,c,u)},configurable:!0})})}let Dt=class{constructor(n){n&&this.set(n)}set(n,i,s){const a=this;function c(d,h,y){const m=Fo(h);if(!m)throw new Error("header name must be a non-empty string");const v=X.findKey(a,m);(!v||a[v]===void 0||y===!0||y===void 0&&a[v]!==!1)&&(a[v||h]=Ca(d))}const u=(d,h)=>X.forEach(d,(y,m)=>c(y,m,h));if(X.isPlainObject(n)||n instanceof this.constructor)u(n,i);else if(X.isString(n)&&(n=n.trim())&&!d_(n))u(c_(n),i);else if(X.isObject(n)&&X.isIterable(n)){let d={},h,y;for(const m of n){if(!X.isArray(m))throw TypeError("Object iterator must return a key-value pair");d[y=m[0]]=(h=d[y])?X.isArray(h)?[...h,m[1]]:[h,m[1]]:m[1]}u(d,i)}else n!=null&&c(i,n,s);return this}get(n,i){if(n=Fo(n),n){const s=X.findKey(this,n);if(s){const a=this[s];if(!i)return a;if(i===!0)return f_(a);if(X.isFunction(i))return i.call(this,a,s);if(X.isRegExp(i))return i.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(n,i){if(n=Fo(n),n){const s=X.findKey(this,n);return!!(s&&this[s]!==void 0&&(!i||mc(this,this[s],s,i)))}return!1}delete(n,i){const s=this;let a=!1;function c(u){if(u=Fo(u),u){const d=X.findKey(s,u);d&&(!i||mc(s,s[d],d,i))&&(delete s[d],a=!0)}}return X.isArray(n)?n.forEach(c):c(n),a}clear(n){const i=Object.keys(this);let s=i.length,a=!1;for(;s--;){const c=i[s];(!n||mc(this,this[c],c,n,!0))&&(delete this[c],a=!0)}return a}normalize(n){const i=this,s={};return X.forEach(this,(a,c)=>{const u=X.findKey(s,c);if(u){i[u]=Ca(a),delete i[c];return}const d=n?p_(c):String(c).trim();d!==c&&delete i[c],i[d]=Ca(a),s[d]=!0}),this}concat(...n){return this.constructor.concat(this,...n)}toJSON(n){const i=Object.create(null);return X.forEach(this,(s,a)=>{s!=null&&s!==!1&&(i[a]=n&&X.isArray(s)?s.join(", "):s)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([n,i])=>n+": "+i).join(`
|
||
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(n){return n instanceof this?n:new this(n)}static concat(n,...i){const s=new this(n);return i.forEach(a=>s.set(a)),s}static accessor(n){const s=(this[Jy]=this[Jy]={accessors:{}}).accessors,a=this.prototype;function c(u){const d=Fo(u);s[d]||(h_(a,u),s[d]=!0)}return X.isArray(n)?n.forEach(c):c(n),this}};Dt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);X.reduceDescriptors(Dt.prototype,({value:t},n)=>{let i=n[0].toUpperCase()+n.slice(1);return{get:()=>t,set(s){this[i]=s}}});X.freezeMethods(Dt);function yc(t,n){const i=this||Jo,s=n||i,a=Dt.from(s.headers);let c=s.data;return X.forEach(t,function(d){c=d.call(i,c,a.normalize(),n?n.status:void 0)}),a.normalize(),c}function p1(t){return!!(t&&t.__CANCEL__)}function Vi(t,n,i){ke.call(this,t??"canceled",ke.ERR_CANCELED,n,i),this.name="CanceledError"}X.inherits(Vi,ke,{__CANCEL__:!0});function h1(t,n,i){const s=i.config.validateStatus;!i.status||!s||s(i.status)?t(i):n(new ke("Request failed with status code "+i.status,[ke.ERR_BAD_REQUEST,ke.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function m_(t){const n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""}function y_(t,n){t=t||10;const i=new Array(t),s=new Array(t);let a=0,c=0,u;return n=n!==void 0?n:1e3,function(h){const y=Date.now(),m=s[c];u||(u=y),i[a]=h,s[a]=y;let v=c,w=0;for(;v!==a;)w+=i[v++],v=v%t;if(a=(a+1)%t,a===c&&(c=(c+1)%t),y-u<n)return;const k=m&&y-m;return k?Math.round(w*1e3/k):void 0}}function g_(t,n){let i=0,s=1e3/n,a,c;const u=(y,m=Date.now())=>{i=m,a=null,c&&(clearTimeout(c),c=null),t(...y)};return[(...y)=>{const m=Date.now(),v=m-i;v>=s?u(y,m):(a=y,c||(c=setTimeout(()=>{c=null,u(a)},s-v)))},()=>a&&u(a)]}const Ba=(t,n,i=3)=>{let s=0;const a=y_(50,250);return g_(c=>{const u=c.loaded,d=c.lengthComputable?c.total:void 0,h=u-s,y=a(h),m=u<=d;s=u;const v={loaded:u,total:d,progress:d?u/d:void 0,bytes:h,rate:y||void 0,estimated:y&&d&&m?(d-u)/y:void 0,event:c,lengthComputable:d!=null,[n?"download":"upload"]:!0};t(v)},i)},Zy=(t,n)=>{const i=t!=null;return[s=>n[0]({lengthComputable:i,total:t,loaded:s}),n[1]]},e0=t=>(...n)=>X.asap(()=>t(...n)),v_=vt.hasStandardBrowserEnv?((t,n)=>i=>(i=new URL(i,vt.origin),t.protocol===i.protocol&&t.host===i.host&&(n||t.port===i.port)))(new URL(vt.origin),vt.navigator&&/(msie|trident)/i.test(vt.navigator.userAgent)):()=>!0,x_=vt.hasStandardBrowserEnv?{write(t,n,i,s,a,c,u){if(typeof document>"u")return;const d=[`${t}=${encodeURIComponent(n)}`];X.isNumber(i)&&d.push(`expires=${new Date(i).toUTCString()}`),X.isString(s)&&d.push(`path=${s}`),X.isString(a)&&d.push(`domain=${a}`),c===!0&&d.push("secure"),X.isString(u)&&d.push(`SameSite=${u}`),document.cookie=d.join("; ")},read(t){if(typeof document>"u")return null;const n=document.cookie.match(new RegExp("(?:^|; )"+t+"=([^;]*)"));return n?decodeURIComponent(n[1]):null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function w_(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function S_(t,n){return n?t.replace(/\/?\/$/,"")+"/"+n.replace(/^\/+/,""):t}function m1(t,n,i){let s=!w_(n);return t&&(s||i==!1)?S_(t,n):n}const t0=t=>t instanceof Dt?{...t}:t;function Hr(t,n){n=n||{};const i={};function s(y,m,v,w){return X.isPlainObject(y)&&X.isPlainObject(m)?X.merge.call({caseless:w},y,m):X.isPlainObject(m)?X.merge({},m):X.isArray(m)?m.slice():m}function a(y,m,v,w){if(X.isUndefined(m)){if(!X.isUndefined(y))return s(void 0,y,v,w)}else return s(y,m,v,w)}function c(y,m){if(!X.isUndefined(m))return s(void 0,m)}function u(y,m){if(X.isUndefined(m)){if(!X.isUndefined(y))return s(void 0,y)}else return s(void 0,m)}function d(y,m,v){if(v in n)return s(y,m);if(v in t)return s(void 0,y)}const h={url:c,method:c,data:c,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,withXSRFToken:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:d,headers:(y,m,v)=>a(t0(y),t0(m),v,!0)};return X.forEach(Object.keys({...t,...n}),function(m){const v=h[m]||a,w=v(t[m],n[m],m);X.isUndefined(w)&&v!==d||(i[m]=w)}),i}const y1=t=>{const n=Hr({},t);let{data:i,withXSRFToken:s,xsrfHeaderName:a,xsrfCookieName:c,headers:u,auth:d}=n;if(n.headers=u=Dt.from(u),n.url=c1(m1(n.baseURL,n.url,n.allowAbsoluteUrls),t.params,t.paramsSerializer),d&&u.set("Authorization","Basic "+btoa((d.username||"")+":"+(d.password?unescape(encodeURIComponent(d.password)):""))),X.isFormData(i)){if(vt.hasStandardBrowserEnv||vt.hasStandardBrowserWebWorkerEnv)u.setContentType(void 0);else if(X.isFunction(i.getHeaders)){const h=i.getHeaders(),y=["content-type","content-length"];Object.entries(h).forEach(([m,v])=>{y.includes(m.toLowerCase())&&u.set(m,v)})}}if(vt.hasStandardBrowserEnv&&(s&&X.isFunction(s)&&(s=s(n)),s||s!==!1&&v_(n.url))){const h=a&&c&&x_.read(c);h&&u.set(a,h)}return n},E_=typeof XMLHttpRequest<"u",P_=E_&&function(t){return new Promise(function(i,s){const a=y1(t);let c=a.data;const u=Dt.from(a.headers).normalize();let{responseType:d,onUploadProgress:h,onDownloadProgress:y}=a,m,v,w,k,T;function A(){k&&k(),T&&T(),a.cancelToken&&a.cancelToken.unsubscribe(m),a.signal&&a.signal.removeEventListener("abort",m)}let S=new XMLHttpRequest;S.open(a.method.toUpperCase(),a.url,!0),S.timeout=a.timeout;function R(){if(!S)return;const D=Dt.from("getAllResponseHeaders"in S&&S.getAllResponseHeaders()),H={data:!d||d==="text"||d==="json"?S.responseText:S.response,status:S.status,statusText:S.statusText,headers:D,config:t,request:S};h1(function(b){i(b),A()},function(b){s(b),A()},H),S=null}"onloadend"in S?S.onloadend=R:S.onreadystatechange=function(){!S||S.readyState!==4||S.status===0&&!(S.responseURL&&S.responseURL.indexOf("file:")===0)||setTimeout(R)},S.onabort=function(){S&&(s(new ke("Request aborted",ke.ECONNABORTED,t,S)),S=null)},S.onerror=function(U){const H=U&&U.message?U.message:"Network Error",q=new ke(H,ke.ERR_NETWORK,t,S);q.event=U||null,s(q),S=null},S.ontimeout=function(){let U=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const H=a.transitional||f1;a.timeoutErrorMessage&&(U=a.timeoutErrorMessage),s(new ke(U,H.clarifyTimeoutError?ke.ETIMEDOUT:ke.ECONNABORTED,t,S)),S=null},c===void 0&&u.setContentType(null),"setRequestHeader"in S&&X.forEach(u.toJSON(),function(U,H){S.setRequestHeader(H,U)}),X.isUndefined(a.withCredentials)||(S.withCredentials=!!a.withCredentials),d&&d!=="json"&&(S.responseType=a.responseType),y&&([w,T]=Ba(y,!0),S.addEventListener("progress",w)),h&&S.upload&&([v,k]=Ba(h),S.upload.addEventListener("progress",v),S.upload.addEventListener("loadend",k)),(a.cancelToken||a.signal)&&(m=D=>{S&&(s(!D||D.type?new Vi(null,t,S):D),S.abort(),S=null)},a.cancelToken&&a.cancelToken.subscribe(m),a.signal&&(a.signal.aborted?m():a.signal.addEventListener("abort",m)));const O=m_(a.url);if(O&&vt.protocols.indexOf(O)===-1){s(new ke("Unsupported protocol "+O+":",ke.ERR_BAD_REQUEST,t));return}S.send(c||null)})},T_=(t,n)=>{const{length:i}=t=t?t.filter(Boolean):[];if(n||i){let s=new AbortController,a;const c=function(y){if(!a){a=!0,d();const m=y instanceof Error?y:this.reason;s.abort(m instanceof ke?m:new Vi(m instanceof Error?m.message:m))}};let u=n&&setTimeout(()=>{u=null,c(new ke(`timeout ${n} of ms exceeded`,ke.ETIMEDOUT))},n);const d=()=>{t&&(u&&clearTimeout(u),u=null,t.forEach(y=>{y.unsubscribe?y.unsubscribe(c):y.removeEventListener("abort",c)}),t=null)};t.forEach(y=>y.addEventListener("abort",c));const{signal:h}=s;return h.unsubscribe=()=>X.asap(d),h}},k_=function*(t,n){let i=t.byteLength;if(i<n){yield t;return}let s=0,a;for(;s<i;)a=s+n,yield t.slice(s,a),s=a},__=async function*(t,n){for await(const i of A_(t))yield*k_(i,n)},A_=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const n=t.getReader();try{for(;;){const{done:i,value:s}=await n.read();if(i)break;yield s}}finally{await n.cancel()}},n0=(t,n,i,s)=>{const a=__(t,n);let c=0,u,d=h=>{u||(u=!0,s&&s(h))};return new ReadableStream({async pull(h){try{const{done:y,value:m}=await a.next();if(y){d(),h.close();return}let v=m.byteLength;if(i){let w=c+=v;i(w)}h.enqueue(new Uint8Array(m))}catch(y){throw d(y),y}},cancel(h){return d(h),a.return()}},{highWaterMark:2})},r0=64*1024,{isFunction:wa}=X,C_=(({Request:t,Response:n})=>({Request:t,Response:n}))(X.global),{ReadableStream:i0,TextEncoder:o0}=X.global,s0=(t,...n)=>{try{return!!t(...n)}catch{return!1}},F_=t=>{t=X.merge.call({skipUndefined:!0},C_,t);const{fetch:n,Request:i,Response:s}=t,a=n?wa(n):typeof fetch=="function",c=wa(i),u=wa(s);if(!a)return!1;const d=a&&wa(i0),h=a&&(typeof o0=="function"?(T=>A=>T.encode(A))(new o0):async T=>new Uint8Array(await new i(T).arrayBuffer())),y=c&&d&&s0(()=>{let T=!1;const A=new i(vt.origin,{body:new i0,method:"POST",get duplex(){return T=!0,"half"}}).headers.has("Content-Type");return T&&!A}),m=u&&d&&s0(()=>X.isReadableStream(new s("").body)),v={stream:m&&(T=>T.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(T=>{!v[T]&&(v[T]=(A,S)=>{let R=A&&A[T];if(R)return R.call(A);throw new ke(`Response type '${T}' is not supported`,ke.ERR_NOT_SUPPORT,S)})});const w=async T=>{if(T==null)return 0;if(X.isBlob(T))return T.size;if(X.isSpecCompliantForm(T))return(await new i(vt.origin,{method:"POST",body:T}).arrayBuffer()).byteLength;if(X.isArrayBufferView(T)||X.isArrayBuffer(T))return T.byteLength;if(X.isURLSearchParams(T)&&(T=T+""),X.isString(T))return(await h(T)).byteLength},k=async(T,A)=>{const S=X.toFiniteNumber(T.getContentLength());return S??w(A)};return async T=>{let{url:A,method:S,data:R,signal:O,cancelToken:D,timeout:U,onDownloadProgress:H,onUploadProgress:q,responseType:b,headers:E,withCredentials:N="same-origin",fetchOptions:_}=y1(T),V=n||fetch;b=b?(b+"").toLowerCase():"text";let j=T_([O,D&&D.toAbortSignal()],U),se=null;const pe=j&&j.unsubscribe&&(()=>{j.unsubscribe()});let Pe;try{if(q&&y&&S!=="get"&&S!=="head"&&(Pe=await k(E,R))!==0){let F=new i(A,{method:"POST",body:R,duplex:"half"}),Q;if(X.isFormData(R)&&(Q=F.headers.get("content-type"))&&E.setContentType(Q),F.body){const[ie,ae]=Zy(Pe,Ba(e0(q)));R=n0(F.body,r0,ie,ae)}}X.isString(N)||(N=N?"include":"omit");const Ee=c&&"credentials"in i.prototype,ce={..._,signal:j,method:S.toUpperCase(),headers:E.normalize().toJSON(),body:R,duplex:"half",credentials:Ee?N:void 0};se=c&&new i(A,ce);let g=await(c?V(se,_):V(A,ce));const L=m&&(b==="stream"||b==="response");if(m&&(H||L&&pe)){const F={};["status","statusText","headers"].forEach(re=>{F[re]=g[re]});const Q=X.toFiniteNumber(g.headers.get("content-length")),[ie,ae]=H&&Zy(Q,Ba(e0(H),!0))||[];g=new s(n0(g.body,r0,ie,()=>{ae&&ae(),pe&&pe()}),F)}b=b||"text";let B=await v[X.findKey(v,b)||"text"](g,T);return!L&&pe&&pe(),await new Promise((F,Q)=>{h1(F,Q,{data:B,headers:Dt.from(g.headers),status:g.status,statusText:g.statusText,config:T,request:se})})}catch(Ee){throw pe&&pe(),Ee&&Ee.name==="TypeError"&&/Load failed|fetch/i.test(Ee.message)?Object.assign(new ke("Network Error",ke.ERR_NETWORK,T,se),{cause:Ee.cause||Ee}):ke.from(Ee,Ee&&Ee.code,T,se)}}},N_=new Map,g1=t=>{let n=t&&t.env||{};const{fetch:i,Request:s,Response:a}=n,c=[s,a,i];let u=c.length,d=u,h,y,m=N_;for(;d--;)h=c[d],y=m.get(h),y===void 0&&m.set(h,y=d?new Map:F_(n)),m=y;return y};g1();const Dd={http:Kk,xhr:P_,fetch:{get:g1}};X.forEach(Dd,(t,n)=>{if(t){try{Object.defineProperty(t,"name",{value:n})}catch{}Object.defineProperty(t,"adapterName",{value:n})}});const a0=t=>`- ${t}`,R_=t=>X.isFunction(t)||t===null||t===!1;function b_(t,n){t=X.isArray(t)?t:[t];const{length:i}=t;let s,a;const c={};for(let u=0;u<i;u++){s=t[u];let d;if(a=s,!R_(s)&&(a=Dd[(d=String(s)).toLowerCase()],a===void 0))throw new ke(`Unknown adapter '${d}'`);if(a&&(X.isFunction(a)||(a=a.get(n))))break;c[d||"#"+u]=a}if(!a){const u=Object.entries(c).map(([h,y])=>`adapter ${h} `+(y===!1?"is not supported by the environment":"is not available in the build"));let d=i?u.length>1?`since :
|
||
`+u.map(a0).join(`
|
||
`):" "+a0(u[0]):"as no adapter specified";throw new ke("There is no suitable adapter to dispatch the request "+d,"ERR_NOT_SUPPORT")}return a}const v1={getAdapter:b_,adapters:Dd};function gc(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Vi(null,t)}function l0(t){return gc(t),t.headers=Dt.from(t.headers),t.data=yc.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),v1.getAdapter(t.adapter||Jo.adapter,t)(t).then(function(s){return gc(t),s.data=yc.call(t,t.transformResponse,s),s.headers=Dt.from(s.headers),s},function(s){return p1(s)||(gc(t),s&&s.response&&(s.response.data=yc.call(t,t.transformResponse,s.response),s.response.headers=Dt.from(s.response.headers))),Promise.reject(s)})}const x1="1.13.2",tl={};["object","boolean","number","function","string","symbol"].forEach((t,n)=>{tl[t]=function(s){return typeof s===t||"a"+(n<1?"n ":" ")+t}});const u0={};tl.transitional=function(n,i,s){function a(c,u){return"[Axios v"+x1+"] Transitional option '"+c+"'"+u+(s?". "+s:"")}return(c,u,d)=>{if(n===!1)throw new ke(a(u," has been removed"+(i?" in "+i:"")),ke.ERR_DEPRECATED);return i&&!u0[u]&&(u0[u]=!0,console.warn(a(u," has been deprecated since v"+i+" and will be removed in the near future"))),n?n(c,u,d):!0}};tl.spelling=function(n){return(i,s)=>(console.warn(`${s} is likely a misspelling of ${n}`),!0)};function O_(t,n,i){if(typeof t!="object")throw new ke("options must be an object",ke.ERR_BAD_OPTION_VALUE);const s=Object.keys(t);let a=s.length;for(;a-- >0;){const c=s[a],u=n[c];if(u){const d=t[c],h=d===void 0||u(d,c,t);if(h!==!0)throw new ke("option "+c+" must be "+h,ke.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new ke("Unknown option "+c,ke.ERR_BAD_OPTION)}}const Fa={assertOptions:O_,validators:tl},Pn=Fa.validators;let Wr=class{constructor(n){this.defaults=n||{},this.interceptors={request:new Yy,response:new Yy}}async request(n,i){try{return await this._request(n,i)}catch(s){if(s instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const c=a.stack?a.stack.replace(/^.+\n/,""):"";try{s.stack?c&&!String(s.stack).endsWith(c.replace(/^.+\n.+\n/,""))&&(s.stack+=`
|
||
`+c):s.stack=c}catch{}}throw s}}_request(n,i){typeof n=="string"?(i=i||{},i.url=n):i=n||{},i=Hr(this.defaults,i);const{transitional:s,paramsSerializer:a,headers:c}=i;s!==void 0&&Fa.assertOptions(s,{silentJSONParsing:Pn.transitional(Pn.boolean),forcedJSONParsing:Pn.transitional(Pn.boolean),clarifyTimeoutError:Pn.transitional(Pn.boolean)},!1),a!=null&&(X.isFunction(a)?i.paramsSerializer={serialize:a}:Fa.assertOptions(a,{encode:Pn.function,serialize:Pn.function},!0)),i.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?i.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:i.allowAbsoluteUrls=!0),Fa.assertOptions(i,{baseUrl:Pn.spelling("baseURL"),withXsrfToken:Pn.spelling("withXSRFToken")},!0),i.method=(i.method||this.defaults.method||"get").toLowerCase();let u=c&&X.merge(c.common,c[i.method]);c&&X.forEach(["delete","get","head","post","put","patch","common"],T=>{delete c[T]}),i.headers=Dt.concat(u,c);const d=[];let h=!0;this.interceptors.request.forEach(function(A){typeof A.runWhen=="function"&&A.runWhen(i)===!1||(h=h&&A.synchronous,d.unshift(A.fulfilled,A.rejected))});const y=[];this.interceptors.response.forEach(function(A){y.push(A.fulfilled,A.rejected)});let m,v=0,w;if(!h){const T=[l0.bind(this),void 0];for(T.unshift(...d),T.push(...y),w=T.length,m=Promise.resolve(i);v<w;)m=m.then(T[v++],T[v++]);return m}w=d.length;let k=i;for(;v<w;){const T=d[v++],A=d[v++];try{k=T(k)}catch(S){A.call(this,S);break}}try{m=l0.call(this,k)}catch(T){return Promise.reject(T)}for(v=0,w=y.length;v<w;)m=m.then(y[v++],y[v++]);return m}getUri(n){n=Hr(this.defaults,n);const i=m1(n.baseURL,n.url,n.allowAbsoluteUrls);return c1(i,n.params,n.paramsSerializer)}};X.forEach(["delete","get","head","options"],function(n){Wr.prototype[n]=function(i,s){return this.request(Hr(s||{},{method:n,url:i,data:(s||{}).data}))}});X.forEach(["post","put","patch"],function(n){function i(s){return function(c,u,d){return this.request(Hr(d||{},{method:n,headers:s?{"Content-Type":"multipart/form-data"}:{},url:c,data:u}))}}Wr.prototype[n]=i(),Wr.prototype[n+"Form"]=i(!0)});let M_=class w1{constructor(n){if(typeof n!="function")throw new TypeError("executor must be a function.");let i;this.promise=new Promise(function(c){i=c});const s=this;this.promise.then(a=>{if(!s._listeners)return;let c=s._listeners.length;for(;c-- >0;)s._listeners[c](a);s._listeners=null}),this.promise.then=a=>{let c;const u=new Promise(d=>{s.subscribe(d),c=d}).then(a);return u.cancel=function(){s.unsubscribe(c)},u},n(function(c,u,d){s.reason||(s.reason=new Vi(c,u,d),i(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]}unsubscribe(n){if(!this._listeners)return;const i=this._listeners.indexOf(n);i!==-1&&this._listeners.splice(i,1)}toAbortSignal(){const n=new AbortController,i=s=>{n.abort(s)};return this.subscribe(i),n.signal.unsubscribe=()=>this.unsubscribe(i),n.signal}static source(){let n;return{token:new w1(function(a){n=a}),cancel:n}}};function j_(t){return function(i){return t.apply(null,i)}}function I_(t){return X.isObject(t)&&t.isAxiosError===!0}const Bf={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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Bf).forEach(([t,n])=>{Bf[n]=t});function S1(t){const n=new Wr(t),i=Jv(Wr.prototype.request,n);return X.extend(i,Wr.prototype,n,{allOwnKeys:!0}),X.extend(i,n,null,{allOwnKeys:!0}),i.create=function(a){return S1(Hr(t,a))},i}const Ke=S1(Jo);Ke.Axios=Wr;Ke.CanceledError=Vi;Ke.CancelToken=M_;Ke.isCancel=p1;Ke.VERSION=x1;Ke.toFormData=el;Ke.AxiosError=ke;Ke.Cancel=Ke.CanceledError;Ke.all=function(n){return Promise.all(n)};Ke.spread=j_;Ke.isAxiosError=I_;Ke.mergeConfig=Hr;Ke.AxiosHeaders=Dt;Ke.formToJSON=t=>d1(X.isHTMLForm(t)?new FormData(t):t);Ke.getAdapter=v1.getAdapter;Ke.HttpStatusCode=Bf;Ke.default=Ke;const{Axios:oF,AxiosError:sF,CanceledError:aF,isCancel:lF,CancelToken:uF,VERSION:cF,all:fF,Cancel:dF,isAxiosError:pF,spread:hF,toFormData:mF,AxiosHeaders:yF,HttpStatusCode:gF,formToJSON:vF,getAdapter:xF,mergeConfig:wF}=Ke;var vc,c0;function Bi(){return c0||(c0=1,vc=TypeError),vc}const D_={},L_=Object.freeze(Object.defineProperty({__proto__:null,default:D_},Symbol.toStringTag,{value:"Module"})),V_=Lw(L_);var xc,f0;function nl(){if(f0)return xc;f0=1;var t=typeof Map=="function"&&Map.prototype,n=Object.getOwnPropertyDescriptor&&t?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=t&&n&&typeof n.get=="function"?n.get:null,s=t&&Map.prototype.forEach,a=typeof Set=="function"&&Set.prototype,c=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=a&&c&&typeof c.get=="function"?c.get:null,d=a&&Set.prototype.forEach,h=typeof WeakMap=="function"&&WeakMap.prototype,y=h?WeakMap.prototype.has:null,m=typeof WeakSet=="function"&&WeakSet.prototype,v=m?WeakSet.prototype.has:null,w=typeof WeakRef=="function"&&WeakRef.prototype,k=w?WeakRef.prototype.deref:null,T=Boolean.prototype.valueOf,A=Object.prototype.toString,S=Function.prototype.toString,R=String.prototype.match,O=String.prototype.slice,D=String.prototype.replace,U=String.prototype.toUpperCase,H=String.prototype.toLowerCase,q=RegExp.prototype.test,b=Array.prototype.concat,E=Array.prototype.join,N=Array.prototype.slice,_=Math.floor,V=typeof BigInt=="function"?BigInt.prototype.valueOf:null,j=Object.getOwnPropertySymbols,se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,pe=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Pe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===pe||!0)?Symbol.toStringTag:null,Ee=Object.prototype.propertyIsEnumerable,ce=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(W){return W.__proto__}:null);function g(W,G){if(W===1/0||W===-1/0||W!==W||W&&W>-1e3&&W<1e3||q.call(/e/,G))return G;var Ce=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof W=="number"){var Re=W<0?-_(-W):_(W);if(Re!==W){var Oe=String(Re),Se=O.call(G,Oe.length+1);return D.call(Oe,Ce,"$&_")+"."+D.call(D.call(Se,/([0-9]{3})/g,"$&_"),/_$/,"")}}return D.call(G,Ce,"$&_")}var L=V_,B=L.custom,F=Xe(B)?B:null,Q={__proto__:null,double:'"',single:"'"},ie={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};xc=function W(G,Ce,Re,Oe){var Se=Ce||{};if(ot(Se,"quoteStyle")&&!ot(Q,Se.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ot(Se,"maxStringLength")&&(typeof Se.maxStringLength=="number"?Se.maxStringLength<0&&Se.maxStringLength!==1/0:Se.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Et=ot(Se,"customInspect")?Se.customInspect:!0;if(typeof Et!="boolean"&&Et!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ot(Se,"indent")&&Se.indent!==null&&Se.indent!==" "&&!(parseInt(Se.indent,10)===Se.indent&&Se.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ot(Se,"numericSeparator")&&typeof Se.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var yn=Se.numericSeparator;if(typeof G>"u")return"undefined";if(G===null)return"null";if(typeof G=="boolean")return G?"true":"false";if(typeof G=="string")return Kr(G,Se);if(typeof G=="number"){if(G===0)return 1/0/G>0?"0":"-0";var pt=String(G);return yn?g(G,pt):pt}if(typeof G=="bigint"){var Jt=String(G)+"n";return yn?g(G,Jt):Jt}var Yr=typeof Se.depth>"u"?5:Se.depth;if(typeof Re>"u"&&(Re=0),Re>=Yr&&Yr>0&&typeof G=="object")return Ae(G)?"[Array]":"[Object]";var Nn=is(Se,Re);if(typeof Oe>"u")Oe=[];else if(Ct(Oe,G)>=0)return"[Circular]";function Pt(Rn,Pr,ls){if(Pr&&(Oe=N.call(Oe),Oe.push(Pr)),ls){var qi={depth:Se.depth};return ot(Se,"quoteStyle")&&(qi.quoteStyle=Se.quoteStyle),W(Rn,qi,Re+1,Oe)}return W(Rn,Se,Re+1,Oe)}if(typeof G=="function"&&!Te(G)){var zi=hn(G),Gn=Xr(G,Pt);return"[Function"+(zi?": "+zi:" (anonymous)")+"]"+(Gn.length>0?" { "+E.call(Gn,", ")+" }":"")}if(Xe(G)){var Jr=pe?D.call(String(G),/^(Symbol\(.*\))_[^)]*$/,"$1"):se.call(G);return typeof G=="object"&&!pe?qn(Jr):Jr}if(rs(G)){for(var Zt="<"+H.call(String(G.nodeName)),Ui=G.attributes||[],gn=0;gn<Ui.length;gn++)Zt+=" "+Ui[gn].name+"="+ae(re(Ui[gn].value),"double",Se);return Zt+=">",G.childNodes&&G.childNodes.length&&(Zt+="..."),Zt+="</"+H.call(String(G.nodeName))+">",Zt}if(Ae(G)){if(G.length===0)return"[]";var Qn=Xr(G,Pt);return Nn&&!dl(Qn)?"["+Qr(Qn,Nn)+"]":"[ "+E.call(Qn,", ")+" ]"}if(we(G)){var Xn=Xr(G,Pt);return!("cause"in Error.prototype)&&"cause"in G&&!Ee.call(G,"cause")?"{ ["+String(G)+"] "+E.call(b.call("[cause]: "+Pt(G.cause),Xn),", ")+" }":Xn.length===0?"["+String(G)+"]":"{ ["+String(G)+"] "+E.call(Xn,", ")+" }"}if(typeof G=="object"&&Et){if(F&&typeof G[F]=="function"&&L)return L(G,{depth:Yr-Re});if(Et!=="symbol"&&typeof G.inspect=="function")return G.inspect()}if(st(G)){var Zr=[];return s&&s.call(G,function(Rn,Pr){Zr.push(Pt(Pr,G,!0)+" => "+Pt(Rn,G))}),Kn("Map",i.call(G),Zr,Nn)}if(Cn(G)){var os=[];return d&&d.call(G,function(Rn){os.push(Pt(Rn,G))}),Kn("Set",u.call(G),os,Nn)}if(mn(G))return Fn("WeakMap");if(ns(G))return Fn("WeakSet");if(An(G))return Fn("WeakRef");if(be(G))return qn(Pt(Number(G)));if(wt(G))return qn(Pt(V.call(G)));if(Ve(G))return qn(T.call(G));if(je(G))return qn(Pt(String(G)));if(typeof window<"u"&&G===window)return"{ [object Window] }";if(typeof globalThis<"u"&&G===globalThis||typeof vm<"u"&&G===vm)return"{ [object globalThis] }";if(!ge(G)&&!Te(G)){var $i=Xr(G,Pt),ss=ce?ce(G)===Object.prototype:G instanceof Object||G.constructor===Object,en=G instanceof Object?"":"null prototype",Wi=!ss&&Pe&&Object(G)===G&&Pe in G?O.call(St(G),8,-1):en?"Object":"",as=ss||typeof G.constructor!="function"?"":G.constructor.name?G.constructor.name+" ":"",Hi=as+(Wi||en?"["+E.call(b.call([],Wi||[],en||[]),": ")+"] ":"");return $i.length===0?Hi+"{}":Nn?Hi+"{"+Qr($i,Nn)+"}":Hi+"{ "+E.call($i,", ")+" }"}return String(G)};function ae(W,G,Ce){var Re=Ce.quoteStyle||G,Oe=Q[Re];return Oe+W+Oe}function re(W){return D.call(String(W),/"/g,""")}function he(W){return!Pe||!(typeof W=="object"&&(Pe in W||typeof W[Pe]<"u"))}function Ae(W){return St(W)==="[object Array]"&&he(W)}function ge(W){return St(W)==="[object Date]"&&he(W)}function Te(W){return St(W)==="[object RegExp]"&&he(W)}function we(W){return St(W)==="[object Error]"&&he(W)}function je(W){return St(W)==="[object String]"&&he(W)}function be(W){return St(W)==="[object Number]"&&he(W)}function Ve(W){return St(W)==="[object Boolean]"&&he(W)}function Xe(W){if(pe)return W&&typeof W=="object"&&W instanceof Symbol;if(typeof W=="symbol")return!0;if(!W||typeof W!="object"||!se)return!1;try{return se.call(W),!0}catch{}return!1}function wt(W){if(!W||typeof W!="object"||!V)return!1;try{return V.call(W),!0}catch{}return!1}var et=Object.prototype.hasOwnProperty||function(W){return W in this};function ot(W,G){return et.call(W,G)}function St(W){return A.call(W)}function hn(W){if(W.name)return W.name;var G=R.call(S.call(W),/^function\s*([\w$]+)/);return G?G[1]:null}function Ct(W,G){if(W.indexOf)return W.indexOf(G);for(var Ce=0,Re=W.length;Ce<Re;Ce++)if(W[Ce]===G)return Ce;return-1}function st(W){if(!i||!W||typeof W!="object")return!1;try{i.call(W);try{u.call(W)}catch{return!0}return W instanceof Map}catch{}return!1}function mn(W){if(!y||!W||typeof W!="object")return!1;try{y.call(W,y);try{v.call(W,v)}catch{return!0}return W instanceof WeakMap}catch{}return!1}function An(W){if(!k||!W||typeof W!="object")return!1;try{return k.call(W),!0}catch{}return!1}function Cn(W){if(!u||!W||typeof W!="object")return!1;try{u.call(W);try{i.call(W)}catch{return!0}return W instanceof Set}catch{}return!1}function ns(W){if(!v||!W||typeof W!="object")return!1;try{v.call(W,v);try{y.call(W,y)}catch{return!0}return W instanceof WeakSet}catch{}return!1}function rs(W){return!W||typeof W!="object"?!1:typeof HTMLElement<"u"&&W instanceof HTMLElement?!0:typeof W.nodeName=="string"&&typeof W.getAttribute=="function"}function Kr(W,G){if(W.length>G.maxStringLength){var Ce=W.length-G.maxStringLength,Re="... "+Ce+" more character"+(Ce>1?"s":"");return Kr(O.call(W,0,G.maxStringLength),G)+Re}var Oe=ie[G.quoteStyle||"single"];Oe.lastIndex=0;var Se=D.call(D.call(W,Oe,"\\$1"),/[\x00-\x1f]/g,Gr);return ae(Se,"single",G)}function Gr(W){var G=W.charCodeAt(0),Ce={8:"b",9:"t",10:"n",12:"f",13:"r"}[G];return Ce?"\\"+Ce:"\\x"+(G<16?"0":"")+U.call(G.toString(16))}function qn(W){return"Object("+W+")"}function Fn(W){return W+" { ? }"}function Kn(W,G,Ce,Re){var Oe=Re?Qr(Ce,Re):E.call(Ce,", ");return W+" ("+G+") {"+Oe+"}"}function dl(W){for(var G=0;G<W.length;G++)if(Ct(W[G],`
|
||
`)>=0)return!1;return!0}function is(W,G){var Ce;if(W.indent===" ")Ce=" ";else if(typeof W.indent=="number"&&W.indent>0)Ce=E.call(Array(W.indent+1)," ");else return null;return{base:Ce,prev:E.call(Array(G+1),Ce)}}function Qr(W,G){if(W.length===0)return"";var Ce=`
|
||
`+G.prev+G.base;return Ce+E.call(W,","+Ce)+`
|
||
`+G.prev}function Xr(W,G){var Ce=Ae(W),Re=[];if(Ce){Re.length=W.length;for(var Oe=0;Oe<W.length;Oe++)Re[Oe]=ot(W,Oe)?G(W[Oe],W):""}var Se=typeof j=="function"?j(W):[],Et;if(pe){Et={};for(var yn=0;yn<Se.length;yn++)Et["$"+Se[yn]]=Se[yn]}for(var pt in W)ot(W,pt)&&(Ce&&String(Number(pt))===pt&&pt<W.length||pe&&Et["$"+pt]instanceof Symbol||(q.call(/[^\w$]/,pt)?Re.push(G(pt,W)+": "+G(W[pt],W)):Re.push(pt+": "+G(W[pt],W))));if(typeof j=="function")for(var Jt=0;Jt<Se.length;Jt++)Ee.call(W,Se[Jt])&&Re.push("["+G(Se[Jt])+"]: "+G(W[Se[Jt]],W));return Re}return xc}var wc,d0;function B_(){if(d0)return wc;d0=1;var t=nl(),n=Bi(),i=function(d,h,y){for(var m=d,v;(v=m.next)!=null;m=v)if(v.key===h)return m.next=v.next,y||(v.next=d.next,d.next=v),v},s=function(d,h){if(d){var y=i(d,h);return y&&y.value}},a=function(d,h,y){var m=i(d,h);m?m.value=y:d.next={key:h,next:d.next,value:y}},c=function(d,h){return d?!!i(d,h):!1},u=function(d,h){if(d)return i(d,h,!0)};return wc=function(){var h,y={assert:function(m){if(!y.has(m))throw new n("Side channel does not contain "+t(m))},delete:function(m){var v=h&&h.next,w=u(h,m);return w&&v&&v===w&&(h=void 0),!!w},get:function(m){return s(h,m)},has:function(m){return c(h,m)},set:function(m,v){h||(h={next:void 0}),a(h,m,v)}};return y},wc}var Sc,p0;function E1(){return p0||(p0=1,Sc=Object),Sc}var Ec,h0;function z_(){return h0||(h0=1,Ec=Error),Ec}var Pc,m0;function U_(){return m0||(m0=1,Pc=EvalError),Pc}var Tc,y0;function $_(){return y0||(y0=1,Tc=RangeError),Tc}var kc,g0;function W_(){return g0||(g0=1,kc=ReferenceError),kc}var _c,v0;function H_(){return v0||(v0=1,_c=SyntaxError),_c}var Ac,x0;function q_(){return x0||(x0=1,Ac=URIError),Ac}var Cc,w0;function K_(){return w0||(w0=1,Cc=Math.abs),Cc}var Fc,S0;function G_(){return S0||(S0=1,Fc=Math.floor),Fc}var Nc,E0;function Q_(){return E0||(E0=1,Nc=Math.max),Nc}var Rc,P0;function X_(){return P0||(P0=1,Rc=Math.min),Rc}var bc,T0;function Y_(){return T0||(T0=1,bc=Math.pow),bc}var Oc,k0;function J_(){return k0||(k0=1,Oc=Math.round),Oc}var Mc,_0;function Z_(){return _0||(_0=1,Mc=Number.isNaN||function(n){return n!==n}),Mc}var jc,A0;function eA(){if(A0)return jc;A0=1;var t=Z_();return jc=function(i){return t(i)||i===0?i:i<0?-1:1},jc}var Ic,C0;function tA(){return C0||(C0=1,Ic=Object.getOwnPropertyDescriptor),Ic}var Dc,F0;function P1(){if(F0)return Dc;F0=1;var t=tA();if(t)try{t([],"length")}catch{t=null}return Dc=t,Dc}var Lc,N0;function nA(){if(N0)return Lc;N0=1;var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}return Lc=t,Lc}var Vc,R0;function rA(){return R0||(R0=1,Vc=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var n={},i=Symbol("test"),s=Object(i);if(typeof i=="string"||Object.prototype.toString.call(i)!=="[object Symbol]"||Object.prototype.toString.call(s)!=="[object Symbol]")return!1;var a=42;n[i]=a;for(var c in n)return!1;if(typeof Object.keys=="function"&&Object.keys(n).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var u=Object.getOwnPropertySymbols(n);if(u.length!==1||u[0]!==i||!Object.prototype.propertyIsEnumerable.call(n,i))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var d=Object.getOwnPropertyDescriptor(n,i);if(d.value!==a||d.enumerable!==!0)return!1}return!0}),Vc}var Bc,b0;function iA(){if(b0)return Bc;b0=1;var t=typeof Symbol<"u"&&Symbol,n=rA();return Bc=function(){return typeof t!="function"||typeof Symbol!="function"||typeof t("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()},Bc}var zc,O0;function T1(){return O0||(O0=1,zc=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),zc}var Uc,M0;function k1(){if(M0)return Uc;M0=1;var t=E1();return Uc=t.getPrototypeOf||null,Uc}var $c,j0;function oA(){if(j0)return $c;j0=1;var t="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,i=Math.max,s="[object Function]",a=function(h,y){for(var m=[],v=0;v<h.length;v+=1)m[v]=h[v];for(var w=0;w<y.length;w+=1)m[w+h.length]=y[w];return m},c=function(h,y){for(var m=[],v=y,w=0;v<h.length;v+=1,w+=1)m[w]=h[v];return m},u=function(d,h){for(var y="",m=0;m<d.length;m+=1)y+=d[m],m+1<d.length&&(y+=h);return y};return $c=function(h){var y=this;if(typeof y!="function"||n.apply(y)!==s)throw new TypeError(t+y);for(var m=c(arguments,1),v,w=function(){if(this instanceof v){var R=y.apply(this,a(m,arguments));return Object(R)===R?R:this}return y.apply(h,a(m,arguments))},k=i(0,y.length-m.length),T=[],A=0;A<k;A++)T[A]="$"+A;if(v=Function("binder","return function ("+u(T,",")+"){ return binder.apply(this,arguments); }")(w),y.prototype){var S=function(){};S.prototype=y.prototype,v.prototype=new S,S.prototype=null}return v},$c}var Wc,I0;function rl(){if(I0)return Wc;I0=1;var t=oA();return Wc=Function.prototype.bind||t,Wc}var Hc,D0;function Ld(){return D0||(D0=1,Hc=Function.prototype.call),Hc}var qc,L0;function _1(){return L0||(L0=1,qc=Function.prototype.apply),qc}var Kc,V0;function sA(){return V0||(V0=1,Kc=typeof Reflect<"u"&&Reflect&&Reflect.apply),Kc}var Gc,B0;function aA(){if(B0)return Gc;B0=1;var t=rl(),n=_1(),i=Ld(),s=sA();return Gc=s||t.call(i,n),Gc}var Qc,z0;function A1(){if(z0)return Qc;z0=1;var t=rl(),n=Bi(),i=Ld(),s=aA();return Qc=function(c){if(c.length<1||typeof c[0]!="function")throw new n("a function is required");return s(t,i,c)},Qc}var Xc,U0;function lA(){if(U0)return Xc;U0=1;var t=A1(),n=P1(),i;try{i=[].__proto__===Array.prototype}catch(u){if(!u||typeof u!="object"||!("code"in u)||u.code!=="ERR_PROTO_ACCESS")throw u}var s=!!i&&n&&n(Object.prototype,"__proto__"),a=Object,c=a.getPrototypeOf;return Xc=s&&typeof s.get=="function"?t([s.get]):typeof c=="function"?function(d){return c(d==null?d:a(d))}:!1,Xc}var Yc,$0;function uA(){if($0)return Yc;$0=1;var t=T1(),n=k1(),i=lA();return Yc=t?function(a){return t(a)}:n?function(a){if(!a||typeof a!="object"&&typeof a!="function")throw new TypeError("getProto: not an object");return n(a)}:i?function(a){return i(a)}:null,Yc}var Jc,W0;function cA(){if(W0)return Jc;W0=1;var t=Function.prototype.call,n=Object.prototype.hasOwnProperty,i=rl();return Jc=i.call(t,n),Jc}var Zc,H0;function Vd(){if(H0)return Zc;H0=1;var t,n=E1(),i=z_(),s=U_(),a=$_(),c=W_(),u=H_(),d=Bi(),h=q_(),y=K_(),m=G_(),v=Q_(),w=X_(),k=Y_(),T=J_(),A=eA(),S=Function,R=function(Te){try{return S('"use strict"; return ('+Te+").constructor;")()}catch{}},O=P1(),D=nA(),U=function(){throw new d},H=O?(function(){try{return arguments.callee,U}catch{try{return O(arguments,"callee").get}catch{return U}}})():U,q=iA()(),b=uA(),E=k1(),N=T1(),_=_1(),V=Ld(),j={},se=typeof Uint8Array>"u"||!b?t:b(Uint8Array),pe={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?t:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?t:ArrayBuffer,"%ArrayIteratorPrototype%":q&&b?b([][Symbol.iterator]()):t,"%AsyncFromSyncIteratorPrototype%":t,"%AsyncFunction%":j,"%AsyncGenerator%":j,"%AsyncGeneratorFunction%":j,"%AsyncIteratorPrototype%":j,"%Atomics%":typeof Atomics>"u"?t:Atomics,"%BigInt%":typeof BigInt>"u"?t:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?t:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?t:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?t:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":s,"%Float16Array%":typeof Float16Array>"u"?t:Float16Array,"%Float32Array%":typeof Float32Array>"u"?t:Float32Array,"%Float64Array%":typeof Float64Array>"u"?t:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?t:FinalizationRegistry,"%Function%":S,"%GeneratorFunction%":j,"%Int8Array%":typeof Int8Array>"u"?t:Int8Array,"%Int16Array%":typeof Int16Array>"u"?t:Int16Array,"%Int32Array%":typeof Int32Array>"u"?t:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":q&&b?b(b([][Symbol.iterator]())):t,"%JSON%":typeof JSON=="object"?JSON:t,"%Map%":typeof Map>"u"?t:Map,"%MapIteratorPrototype%":typeof Map>"u"||!q||!b?t:b(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":O,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?t:Promise,"%Proxy%":typeof Proxy>"u"?t:Proxy,"%RangeError%":a,"%ReferenceError%":c,"%Reflect%":typeof Reflect>"u"?t:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?t:Set,"%SetIteratorPrototype%":typeof Set>"u"||!q||!b?t:b(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?t:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":q&&b?b(""[Symbol.iterator]()):t,"%Symbol%":q?Symbol:t,"%SyntaxError%":u,"%ThrowTypeError%":H,"%TypedArray%":se,"%TypeError%":d,"%Uint8Array%":typeof Uint8Array>"u"?t:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?t:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?t:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?t:Uint32Array,"%URIError%":h,"%WeakMap%":typeof WeakMap>"u"?t:WeakMap,"%WeakRef%":typeof WeakRef>"u"?t:WeakRef,"%WeakSet%":typeof WeakSet>"u"?t:WeakSet,"%Function.prototype.call%":V,"%Function.prototype.apply%":_,"%Object.defineProperty%":D,"%Object.getPrototypeOf%":E,"%Math.abs%":y,"%Math.floor%":m,"%Math.max%":v,"%Math.min%":w,"%Math.pow%":k,"%Math.round%":T,"%Math.sign%":A,"%Reflect.getPrototypeOf%":N};if(b)try{null.error}catch(Te){var Pe=b(b(Te));pe["%Error.prototype%"]=Pe}var Ee=function Te(we){var je;if(we==="%AsyncFunction%")je=R("async function () {}");else if(we==="%GeneratorFunction%")je=R("function* () {}");else if(we==="%AsyncGeneratorFunction%")je=R("async function* () {}");else if(we==="%AsyncGenerator%"){var be=Te("%AsyncGeneratorFunction%");be&&(je=be.prototype)}else if(we==="%AsyncIteratorPrototype%"){var Ve=Te("%AsyncGenerator%");Ve&&b&&(je=b(Ve.prototype))}return pe[we]=je,je},ce={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},g=rl(),L=cA(),B=g.call(V,Array.prototype.concat),F=g.call(_,Array.prototype.splice),Q=g.call(V,String.prototype.replace),ie=g.call(V,String.prototype.slice),ae=g.call(V,RegExp.prototype.exec),re=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,he=/\\(\\)?/g,Ae=function(we){var je=ie(we,0,1),be=ie(we,-1);if(je==="%"&&be!=="%")throw new u("invalid intrinsic syntax, expected closing `%`");if(be==="%"&&je!=="%")throw new u("invalid intrinsic syntax, expected opening `%`");var Ve=[];return Q(we,re,function(Xe,wt,et,ot){Ve[Ve.length]=et?Q(ot,he,"$1"):wt||Xe}),Ve},ge=function(we,je){var be=we,Ve;if(L(ce,be)&&(Ve=ce[be],be="%"+Ve[0]+"%"),L(pe,be)){var Xe=pe[be];if(Xe===j&&(Xe=Ee(be)),typeof Xe>"u"&&!je)throw new d("intrinsic "+we+" exists, but is not available. Please file an issue!");return{alias:Ve,name:be,value:Xe}}throw new u("intrinsic "+we+" does not exist!")};return Zc=function(we,je){if(typeof we!="string"||we.length===0)throw new d("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof je!="boolean")throw new d('"allowMissing" argument must be a boolean');if(ae(/^%?[^%]*%?$/,we)===null)throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var be=Ae(we),Ve=be.length>0?be[0]:"",Xe=ge("%"+Ve+"%",je),wt=Xe.name,et=Xe.value,ot=!1,St=Xe.alias;St&&(Ve=St[0],F(be,B([0,1],St)));for(var hn=1,Ct=!0;hn<be.length;hn+=1){var st=be[hn],mn=ie(st,0,1),An=ie(st,-1);if((mn==='"'||mn==="'"||mn==="`"||An==='"'||An==="'"||An==="`")&&mn!==An)throw new u("property names with quotes must have matching quotes");if((st==="constructor"||!Ct)&&(ot=!0),Ve+="."+st,wt="%"+Ve+"%",L(pe,wt))et=pe[wt];else if(et!=null){if(!(st in et)){if(!je)throw new d("base intrinsic for "+we+" exists, but the property is not available.");return}if(O&&hn+1>=be.length){var Cn=O(et,st);Ct=!!Cn,Ct&&"get"in Cn&&!("originalValue"in Cn.get)?et=Cn.get:et=et[st]}else Ct=L(et,st),et=et[st];Ct&&!ot&&(pe[wt]=et)}}return et},Zc}var ef,q0;function C1(){if(q0)return ef;q0=1;var t=Vd(),n=A1(),i=n([t("%String.prototype.indexOf%")]);return ef=function(a,c){var u=t(a,!!c);return typeof u=="function"&&i(a,".prototype.")>-1?n([u]):u},ef}var tf,K0;function F1(){if(K0)return tf;K0=1;var t=Vd(),n=C1(),i=nl(),s=Bi(),a=t("%Map%",!0),c=n("Map.prototype.get",!0),u=n("Map.prototype.set",!0),d=n("Map.prototype.has",!0),h=n("Map.prototype.delete",!0),y=n("Map.prototype.size",!0);return tf=!!a&&function(){var v,w={assert:function(k){if(!w.has(k))throw new s("Side channel does not contain "+i(k))},delete:function(k){if(v){var T=h(v,k);return y(v)===0&&(v=void 0),T}return!1},get:function(k){if(v)return c(v,k)},has:function(k){return v?d(v,k):!1},set:function(k,T){v||(v=new a),u(v,k,T)}};return w},tf}var nf,G0;function fA(){if(G0)return nf;G0=1;var t=Vd(),n=C1(),i=nl(),s=F1(),a=Bi(),c=t("%WeakMap%",!0),u=n("WeakMap.prototype.get",!0),d=n("WeakMap.prototype.set",!0),h=n("WeakMap.prototype.has",!0),y=n("WeakMap.prototype.delete",!0);return nf=c?function(){var v,w,k={assert:function(T){if(!k.has(T))throw new a("Side channel does not contain "+i(T))},delete:function(T){if(c&&T&&(typeof T=="object"||typeof T=="function")){if(v)return y(v,T)}else if(s&&w)return w.delete(T);return!1},get:function(T){return c&&T&&(typeof T=="object"||typeof T=="function")&&v?u(v,T):w&&w.get(T)},has:function(T){return c&&T&&(typeof T=="object"||typeof T=="function")&&v?h(v,T):!!w&&w.has(T)},set:function(T,A){c&&T&&(typeof T=="object"||typeof T=="function")?(v||(v=new c),d(v,T,A)):s&&(w||(w=s()),w.set(T,A))}};return k}:s,nf}var rf,Q0;function dA(){if(Q0)return rf;Q0=1;var t=Bi(),n=nl(),i=B_(),s=F1(),a=fA(),c=a||s||i;return rf=function(){var d,h={assert:function(y){if(!h.has(y))throw new t("Side channel does not contain "+n(y))},delete:function(y){return!!d&&d.delete(y)},get:function(y){return d&&d.get(y)},has:function(y){return!!d&&d.has(y)},set:function(y,m){d||(d=c()),d.set(y,m)}};return h},rf}var of,X0;function Bd(){if(X0)return of;X0=1;var t=String.prototype.replace,n=/%20/g,i={RFC1738:"RFC1738",RFC3986:"RFC3986"};return of={default:i.RFC3986,formatters:{RFC1738:function(s){return t.call(s,n,"+")},RFC3986:function(s){return String(s)}},RFC1738:i.RFC1738,RFC3986:i.RFC3986},of}var sf,Y0;function N1(){if(Y0)return sf;Y0=1;var t=Bd(),n=Object.prototype.hasOwnProperty,i=Array.isArray,s=(function(){for(var S=[],R=0;R<256;++R)S.push("%"+((R<16?"0":"")+R.toString(16)).toUpperCase());return S})(),a=function(R){for(;R.length>1;){var O=R.pop(),D=O.obj[O.prop];if(i(D)){for(var U=[],H=0;H<D.length;++H)typeof D[H]<"u"&&U.push(D[H]);O.obj[O.prop]=U}}},c=function(R,O){for(var D=O&&O.plainObjects?{__proto__:null}:{},U=0;U<R.length;++U)typeof R[U]<"u"&&(D[U]=R[U]);return D},u=function S(R,O,D){if(!O)return R;if(typeof O!="object"&&typeof O!="function"){if(i(R))R.push(O);else if(R&&typeof R=="object")(D&&(D.plainObjects||D.allowPrototypes)||!n.call(Object.prototype,O))&&(R[O]=!0);else return[R,O];return R}if(!R||typeof R!="object")return[R].concat(O);var U=R;return i(R)&&!i(O)&&(U=c(R,D)),i(R)&&i(O)?(O.forEach(function(H,q){if(n.call(R,q)){var b=R[q];b&&typeof b=="object"&&H&&typeof H=="object"?R[q]=S(b,H,D):R.push(H)}else R[q]=H}),R):Object.keys(O).reduce(function(H,q){var b=O[q];return n.call(H,q)?H[q]=S(H[q],b,D):H[q]=b,H},U)},d=function(R,O){return Object.keys(O).reduce(function(D,U){return D[U]=O[U],D},R)},h=function(S,R,O){var D=S.replace(/\+/g," ");if(O==="iso-8859-1")return D.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(D)}catch{return D}},y=1024,m=function(R,O,D,U,H){if(R.length===0)return R;var q=R;if(typeof R=="symbol"?q=Symbol.prototype.toString.call(R):typeof R!="string"&&(q=String(R)),D==="iso-8859-1")return escape(q).replace(/%u[0-9a-f]{4}/gi,function(se){return"%26%23"+parseInt(se.slice(2),16)+"%3B"});for(var b="",E=0;E<q.length;E+=y){for(var N=q.length>=y?q.slice(E,E+y):q,_=[],V=0;V<N.length;++V){var j=N.charCodeAt(V);if(j===45||j===46||j===95||j===126||j>=48&&j<=57||j>=65&&j<=90||j>=97&&j<=122||H===t.RFC1738&&(j===40||j===41)){_[_.length]=N.charAt(V);continue}if(j<128){_[_.length]=s[j];continue}if(j<2048){_[_.length]=s[192|j>>6]+s[128|j&63];continue}if(j<55296||j>=57344){_[_.length]=s[224|j>>12]+s[128|j>>6&63]+s[128|j&63];continue}V+=1,j=65536+((j&1023)<<10|N.charCodeAt(V)&1023),_[_.length]=s[240|j>>18]+s[128|j>>12&63]+s[128|j>>6&63]+s[128|j&63]}b+=_.join("")}return b},v=function(R){for(var O=[{obj:{o:R},prop:"o"}],D=[],U=0;U<O.length;++U)for(var H=O[U],q=H.obj[H.prop],b=Object.keys(q),E=0;E<b.length;++E){var N=b[E],_=q[N];typeof _=="object"&&_!==null&&D.indexOf(_)===-1&&(O.push({obj:q,prop:N}),D.push(_))}return a(O),R},w=function(R){return Object.prototype.toString.call(R)==="[object RegExp]"},k=function(R){return!R||typeof R!="object"?!1:!!(R.constructor&&R.constructor.isBuffer&&R.constructor.isBuffer(R))},T=function(R,O){return[].concat(R,O)},A=function(R,O){if(i(R)){for(var D=[],U=0;U<R.length;U+=1)D.push(O(R[U]));return D}return O(R)};return sf={arrayToObject:c,assign:d,combine:T,compact:v,decode:h,encode:m,isBuffer:k,isRegExp:w,maybeMap:A,merge:u},sf}var af,J0;function pA(){if(J0)return af;J0=1;var t=dA(),n=N1(),i=Bd(),s=Object.prototype.hasOwnProperty,a={brackets:function(S){return S+"[]"},comma:"comma",indices:function(S,R){return S+"["+R+"]"},repeat:function(S){return S}},c=Array.isArray,u=Array.prototype.push,d=function(A,S){u.apply(A,c(S)?S:[S])},h=Date.prototype.toISOString,y=i.default,m={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:n.encode,encodeValuesOnly:!1,filter:void 0,format:y,formatter:i.formatters[y],indices:!1,serializeDate:function(S){return h.call(S)},skipNulls:!1,strictNullHandling:!1},v=function(S){return typeof S=="string"||typeof S=="number"||typeof S=="boolean"||typeof S=="symbol"||typeof S=="bigint"},w={},k=function A(S,R,O,D,U,H,q,b,E,N,_,V,j,se,pe,Pe,Ee,ce){for(var g=S,L=ce,B=0,F=!1;(L=L.get(w))!==void 0&&!F;){var Q=L.get(S);if(B+=1,typeof Q<"u"){if(Q===B)throw new RangeError("Cyclic object value");F=!0}typeof L.get(w)>"u"&&(B=0)}if(typeof N=="function"?g=N(R,g):g instanceof Date?g=j(g):O==="comma"&&c(g)&&(g=n.maybeMap(g,function(wt){return wt instanceof Date?j(wt):wt})),g===null){if(H)return E&&!Pe?E(R,m.encoder,Ee,"key",se):R;g=""}if(v(g)||n.isBuffer(g)){if(E){var ie=Pe?R:E(R,m.encoder,Ee,"key",se);return[pe(ie)+"="+pe(E(g,m.encoder,Ee,"value",se))]}return[pe(R)+"="+pe(String(g))]}var ae=[];if(typeof g>"u")return ae;var re;if(O==="comma"&&c(g))Pe&&E&&(g=n.maybeMap(g,E)),re=[{value:g.length>0?g.join(",")||null:void 0}];else if(c(N))re=N;else{var he=Object.keys(g);re=_?he.sort(_):he}var Ae=b?String(R).replace(/\./g,"%2E"):String(R),ge=D&&c(g)&&g.length===1?Ae+"[]":Ae;if(U&&c(g)&&g.length===0)return ge+"[]";for(var Te=0;Te<re.length;++Te){var we=re[Te],je=typeof we=="object"&&we&&typeof we.value<"u"?we.value:g[we];if(!(q&&je===null)){var be=V&&b?String(we).replace(/\./g,"%2E"):String(we),Ve=c(g)?typeof O=="function"?O(ge,be):ge:ge+(V?"."+be:"["+be+"]");ce.set(S,B);var Xe=t();Xe.set(w,ce),d(ae,A(je,Ve,O,D,U,H,q,b,O==="comma"&&Pe&&c(g)?null:E,N,_,V,j,se,pe,Pe,Ee,Xe))}}return ae},T=function(S){if(!S)return m;if(typeof S.allowEmptyArrays<"u"&&typeof S.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof S.encodeDotInKeys<"u"&&typeof S.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(S.encoder!==null&&typeof S.encoder<"u"&&typeof S.encoder!="function")throw new TypeError("Encoder has to be a function.");var R=S.charset||m.charset;if(typeof S.charset<"u"&&S.charset!=="utf-8"&&S.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var O=i.default;if(typeof S.format<"u"){if(!s.call(i.formatters,S.format))throw new TypeError("Unknown format option provided.");O=S.format}var D=i.formatters[O],U=m.filter;(typeof S.filter=="function"||c(S.filter))&&(U=S.filter);var H;if(S.arrayFormat in a?H=S.arrayFormat:"indices"in S?H=S.indices?"indices":"repeat":H=m.arrayFormat,"commaRoundTrip"in S&&typeof S.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var q=typeof S.allowDots>"u"?S.encodeDotInKeys===!0?!0:m.allowDots:!!S.allowDots;return{addQueryPrefix:typeof S.addQueryPrefix=="boolean"?S.addQueryPrefix:m.addQueryPrefix,allowDots:q,allowEmptyArrays:typeof S.allowEmptyArrays=="boolean"?!!S.allowEmptyArrays:m.allowEmptyArrays,arrayFormat:H,charset:R,charsetSentinel:typeof S.charsetSentinel=="boolean"?S.charsetSentinel:m.charsetSentinel,commaRoundTrip:!!S.commaRoundTrip,delimiter:typeof S.delimiter>"u"?m.delimiter:S.delimiter,encode:typeof S.encode=="boolean"?S.encode:m.encode,encodeDotInKeys:typeof S.encodeDotInKeys=="boolean"?S.encodeDotInKeys:m.encodeDotInKeys,encoder:typeof S.encoder=="function"?S.encoder:m.encoder,encodeValuesOnly:typeof S.encodeValuesOnly=="boolean"?S.encodeValuesOnly:m.encodeValuesOnly,filter:U,format:O,formatter:D,serializeDate:typeof S.serializeDate=="function"?S.serializeDate:m.serializeDate,skipNulls:typeof S.skipNulls=="boolean"?S.skipNulls:m.skipNulls,sort:typeof S.sort=="function"?S.sort:null,strictNullHandling:typeof S.strictNullHandling=="boolean"?S.strictNullHandling:m.strictNullHandling}};return af=function(A,S){var R=A,O=T(S),D,U;typeof O.filter=="function"?(U=O.filter,R=U("",R)):c(O.filter)&&(U=O.filter,D=U);var H=[];if(typeof R!="object"||R===null)return"";var q=a[O.arrayFormat],b=q==="comma"&&O.commaRoundTrip;D||(D=Object.keys(R)),O.sort&&D.sort(O.sort);for(var E=t(),N=0;N<D.length;++N){var _=D[N],V=R[_];O.skipNulls&&V===null||d(H,k(V,_,q,b,O.allowEmptyArrays,O.strictNullHandling,O.skipNulls,O.encodeDotInKeys,O.encode?O.encoder:null,O.filter,O.sort,O.allowDots,O.serializeDate,O.format,O.formatter,O.encodeValuesOnly,O.charset,E))}var j=H.join(O.delimiter),se=O.addQueryPrefix===!0?"?":"";return O.charsetSentinel&&(O.charset==="iso-8859-1"?se+="utf8=%26%2310003%3B&":se+="utf8=%E2%9C%93&"),j.length>0?se+j:""},af}var lf,Z0;function hA(){if(Z0)return lf;Z0=1;var t=N1(),n=Object.prototype.hasOwnProperty,i=Array.isArray,s={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:t.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},a=function(w){return w.replace(/&#(\d+);/g,function(k,T){return String.fromCharCode(parseInt(T,10))})},c=function(w,k,T){if(w&&typeof w=="string"&&k.comma&&w.indexOf(",")>-1)return w.split(",");if(k.throwOnLimitExceeded&&T>=k.arrayLimit)throw new RangeError("Array limit exceeded. Only "+k.arrayLimit+" element"+(k.arrayLimit===1?"":"s")+" allowed in an array.");return w},u="utf8=%26%2310003%3B",d="utf8=%E2%9C%93",h=function(k,T){var A={__proto__:null},S=T.ignoreQueryPrefix?k.replace(/^\?/,""):k;S=S.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var R=T.parameterLimit===1/0?void 0:T.parameterLimit,O=S.split(T.delimiter,T.throwOnLimitExceeded?R+1:R);if(T.throwOnLimitExceeded&&O.length>R)throw new RangeError("Parameter limit exceeded. Only "+R+" parameter"+(R===1?"":"s")+" allowed.");var D=-1,U,H=T.charset;if(T.charsetSentinel)for(U=0;U<O.length;++U)O[U].indexOf("utf8=")===0&&(O[U]===d?H="utf-8":O[U]===u&&(H="iso-8859-1"),D=U,U=O.length);for(U=0;U<O.length;++U)if(U!==D){var q=O[U],b=q.indexOf("]="),E=b===-1?q.indexOf("="):b+1,N,_;E===-1?(N=T.decoder(q,s.decoder,H,"key"),_=T.strictNullHandling?null:""):(N=T.decoder(q.slice(0,E),s.decoder,H,"key"),_=t.maybeMap(c(q.slice(E+1),T,i(A[N])?A[N].length:0),function(j){return T.decoder(j,s.decoder,H,"value")})),_&&T.interpretNumericEntities&&H==="iso-8859-1"&&(_=a(String(_))),q.indexOf("[]=")>-1&&(_=i(_)?[_]:_);var V=n.call(A,N);V&&T.duplicates==="combine"?A[N]=t.combine(A[N],_):(!V||T.duplicates==="last")&&(A[N]=_)}return A},y=function(w,k,T,A){var S=0;if(w.length>0&&w[w.length-1]==="[]"){var R=w.slice(0,-1).join("");S=Array.isArray(k)&&k[R]?k[R].length:0}for(var O=A?k:c(k,T,S),D=w.length-1;D>=0;--D){var U,H=w[D];if(H==="[]"&&T.parseArrays)U=T.allowEmptyArrays&&(O===""||T.strictNullHandling&&O===null)?[]:t.combine([],O);else{U=T.plainObjects?{__proto__:null}:{};var q=H.charAt(0)==="["&&H.charAt(H.length-1)==="]"?H.slice(1,-1):H,b=T.decodeDotInKeys?q.replace(/%2E/g,"."):q,E=parseInt(b,10);!T.parseArrays&&b===""?U={0:O}:!isNaN(E)&&H!==b&&String(E)===b&&E>=0&&T.parseArrays&&E<=T.arrayLimit?(U=[],U[E]=O):b!=="__proto__"&&(U[b]=O)}O=U}return O},m=function(k,T,A,S){if(k){var R=A.allowDots?k.replace(/\.([^.[]+)/g,"[$1]"):k,O=/(\[[^[\]]*])/,D=/(\[[^[\]]*])/g,U=A.depth>0&&O.exec(R),H=U?R.slice(0,U.index):R,q=[];if(H){if(!A.plainObjects&&n.call(Object.prototype,H)&&!A.allowPrototypes)return;q.push(H)}for(var b=0;A.depth>0&&(U=D.exec(R))!==null&&b<A.depth;){if(b+=1,!A.plainObjects&&n.call(Object.prototype,U[1].slice(1,-1))&&!A.allowPrototypes)return;q.push(U[1])}if(U){if(A.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+A.depth+" and strictDepth is true");q.push("["+R.slice(U.index)+"]")}return y(q,T,A,S)}},v=function(k){if(!k)return s;if(typeof k.allowEmptyArrays<"u"&&typeof k.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof k.decodeDotInKeys<"u"&&typeof k.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(k.decoder!==null&&typeof k.decoder<"u"&&typeof k.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof k.charset<"u"&&k.charset!=="utf-8"&&k.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof k.throwOnLimitExceeded<"u"&&typeof k.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var T=typeof k.charset>"u"?s.charset:k.charset,A=typeof k.duplicates>"u"?s.duplicates:k.duplicates;if(A!=="combine"&&A!=="first"&&A!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var S=typeof k.allowDots>"u"?k.decodeDotInKeys===!0?!0:s.allowDots:!!k.allowDots;return{allowDots:S,allowEmptyArrays:typeof k.allowEmptyArrays=="boolean"?!!k.allowEmptyArrays:s.allowEmptyArrays,allowPrototypes:typeof k.allowPrototypes=="boolean"?k.allowPrototypes:s.allowPrototypes,allowSparse:typeof k.allowSparse=="boolean"?k.allowSparse:s.allowSparse,arrayLimit:typeof k.arrayLimit=="number"?k.arrayLimit:s.arrayLimit,charset:T,charsetSentinel:typeof k.charsetSentinel=="boolean"?k.charsetSentinel:s.charsetSentinel,comma:typeof k.comma=="boolean"?k.comma:s.comma,decodeDotInKeys:typeof k.decodeDotInKeys=="boolean"?k.decodeDotInKeys:s.decodeDotInKeys,decoder:typeof k.decoder=="function"?k.decoder:s.decoder,delimiter:typeof k.delimiter=="string"||t.isRegExp(k.delimiter)?k.delimiter:s.delimiter,depth:typeof k.depth=="number"||k.depth===!1?+k.depth:s.depth,duplicates:A,ignoreQueryPrefix:k.ignoreQueryPrefix===!0,interpretNumericEntities:typeof k.interpretNumericEntities=="boolean"?k.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:typeof k.parameterLimit=="number"?k.parameterLimit:s.parameterLimit,parseArrays:k.parseArrays!==!1,plainObjects:typeof k.plainObjects=="boolean"?k.plainObjects:s.plainObjects,strictDepth:typeof k.strictDepth=="boolean"?!!k.strictDepth:s.strictDepth,strictNullHandling:typeof k.strictNullHandling=="boolean"?k.strictNullHandling:s.strictNullHandling,throwOnLimitExceeded:typeof k.throwOnLimitExceeded=="boolean"?k.throwOnLimitExceeded:!1}};return lf=function(w,k){var T=v(k);if(w===""||w===null||typeof w>"u")return T.plainObjects?{__proto__:null}:{};for(var A=typeof w=="string"?h(w,T):w,S=T.plainObjects?{__proto__:null}:{},R=Object.keys(A),O=0;O<R.length;++O){var D=R[O],U=m(D,A[D],T,typeof w=="string");S=t.merge(S,U,T)}return T.allowSparse===!0?S:t.compact(S)},lf}var uf,eg;function mA(){if(eg)return uf;eg=1;var t=pA(),n=hA(),i=Bd();return uf={formats:i,parse:n,stringify:t},uf}var yA=mA();const Bo=qa(yA);function gA(){window.localStorage.removeItem("zustand_storage");let t=window.location,n=Bo.parse(t.href.split("?")[1]);delete n.code;let i=Bo.stringify(n);window.location.href=t.origin+t.pathname+"?"+i}const tg=t=>{let n;const i=new Set,s=(y,m)=>{const v=typeof y=="function"?y(n):y;if(!Object.is(v,n)){const w=n;n=m??(typeof v!="object"||v===null)?v:Object.assign({},n,v),i.forEach(k=>k(n,w))}},a=()=>n,d={setState:s,getState:a,getInitialState:()=>h,subscribe:y=>(i.add(y),()=>i.delete(y))},h=n=t(s,a,d);return d},vA=(t=>t?tg(t):tg),xA=t=>t;function wA(t,n=xA){const i=ma.useSyncExternalStore(t.subscribe,ma.useCallback(()=>n(t.getState()),[t,n]),ma.useCallback(()=>n(t.getInitialState()),[t,n]));return ma.useDebugValue(i),i}const SA=t=>{const n=vA(t),i=s=>wA(n,s);return Object.assign(i,n),i},EA=(t=>SA);function R1(t,n){let i;try{i=t()}catch{return}return{getItem:a=>{var c;const u=h=>h===null?null:JSON.parse(h,void 0),d=(c=i.getItem(a))!=null?c:null;return d instanceof Promise?d.then(u):u(d)},setItem:(a,c)=>i.setItem(a,JSON.stringify(c,void 0)),removeItem:a=>i.removeItem(a)}}const zf=t=>n=>{try{const i=t(n);return i instanceof Promise?i:{then(s){return zf(s)(i)},catch(s){return this}}}catch(i){return{then(s){return this},catch(s){return zf(s)(i)}}}},PA=(t,n)=>(i,s,a)=>{let c={storage:R1(()=>localStorage),partialize:A=>A,version:0,merge:(A,S)=>({...S,...A}),...n},u=!1;const d=new Set,h=new Set;let y=c.storage;if(!y)return t((...A)=>{console.warn(`[zustand persist middleware] Unable to update item '${c.name}', the given storage is currently unavailable.`),i(...A)},s,a);const m=()=>{const A=c.partialize({...s()});return y.setItem(c.name,{state:A,version:c.version})},v=a.setState;a.setState=(A,S)=>(v(A,S),m());const w=t((...A)=>(i(...A),m()),s,a);a.getInitialState=()=>w;let k;const T=()=>{var A,S;if(!y)return;u=!1,d.forEach(O=>{var D;return O((D=s())!=null?D:w)});const R=((S=c.onRehydrateStorage)==null?void 0:S.call(c,(A=s())!=null?A:w))||void 0;return zf(y.getItem.bind(y))(c.name).then(O=>{if(O)if(typeof O.version=="number"&&O.version!==c.version){if(c.migrate){const D=c.migrate(O.state,O.version);return D instanceof Promise?D.then(U=>[!0,U]):[!0,D]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,O.state];return[!1,void 0]}).then(O=>{var D;const[U,H]=O;if(k=c.merge(H,(D=s())!=null?D:w),i(k,!0),U)return m()}).then(()=>{R==null||R(k,void 0),k=s(),u=!0,h.forEach(O=>O(k))}).catch(O=>{R==null||R(void 0,O)})};return a.persist={setOptions:A=>{c={...c,...A},A.storage&&(y=A.storage)},clearStorage:()=>{y==null||y.removeItem(c.name)},getOptions:()=>c,rehydrate:()=>T(),hasHydrated:()=>u,onHydrate:A=>(d.add(A),()=>{d.delete(A)}),onFinishHydration:A=>(h.add(A),()=>{h.delete(A)})},c.skipHydration||T(),k||w},TA=PA;var b1=Symbol.for("immer-nothing"),ng=Symbol.for("immer-draftable"),At=Symbol.for("immer-state");function dn(t,...n){throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}var Ut=Object,bi=Ut.getPrototypeOf,za="constructor",il="prototype",Uf="configurable",Ua="enumerable",Na="writable",zo="value",wr=t=>!!t&&!!t[At];function Wn(t){var n;return t?O1(t)||ol(t)||!!t[ng]||!!((n=t[za])!=null&&n[ng])||sl(t)||al(t):!1}var kA=Ut[il][za].toString(),rg=new WeakMap;function O1(t){if(!t||!zd(t))return!1;const n=bi(t);if(n===null||n===Ut[il])return!0;const i=Ut.hasOwnProperty.call(n,za)&&n[za];if(i===Object)return!0;if(!Ei(i))return!1;let s=rg.get(i);return s===void 0&&(s=Function.toString.call(i),rg.set(i,s)),s===kA}function Zo(t,n,i=!0){es(t)===0?(i?Reflect.ownKeys(t):Ut.keys(t)).forEach(a=>{n(a,t[a],t)}):t.forEach((s,a)=>n(a,s,t))}function es(t){const n=t[At];return n?n.type_:ol(t)?1:sl(t)?2:al(t)?3:0}var ig=(t,n,i=es(t))=>i===2?t.has(n):Ut[il].hasOwnProperty.call(t,n),$f=(t,n,i=es(t))=>i===2?t.get(n):t[n],$a=(t,n,i,s=es(t))=>{s===2?t.set(n,i):s===3?t.add(i):t[n]=i};function _A(t,n){return t===n?t!==0||1/t===1/n:t!==t&&n!==n}var ol=Array.isArray,sl=t=>t instanceof Map,al=t=>t instanceof Set,zd=t=>typeof t=="object",Ei=t=>typeof t=="function",cf=t=>typeof t=="boolean",zn=t=>t.copy_||t.base_,Ud=t=>t.modified_?t.copy_:t.base_;function Wf(t,n){if(sl(t))return new Map(t);if(al(t))return new Set(t);if(ol(t))return Array[il].slice.call(t);const i=O1(t);if(n===!0||n==="class_only"&&!i){const s=Ut.getOwnPropertyDescriptors(t);delete s[At];let a=Reflect.ownKeys(s);for(let c=0;c<a.length;c++){const u=a[c],d=s[u];d[Na]===!1&&(d[Na]=!0,d[Uf]=!0),(d.get||d.set)&&(s[u]={[Uf]:!0,[Na]:!0,[Ua]:d[Ua],[zo]:t[u]})}return Ut.create(bi(t),s)}else{const s=bi(t);if(s!==null&&i)return{...t};const a=Ut.create(s);return Ut.assign(a,t)}}function $d(t,n=!1){return ll(t)||wr(t)||!Wn(t)||(es(t)>1&&Ut.defineProperties(t,{set:Sa,add:Sa,clear:Sa,delete:Sa}),Ut.freeze(t),n&&Zo(t,(i,s)=>{$d(s,!0)},!1)),t}function AA(){dn(2)}var Sa={[zo]:AA};function ll(t){return t===null||!zd(t)?!0:Ut.isFrozen(t)}var Wa="MapSet",Hf="Patches",M1={};function Oi(t){const n=M1[t];return n||dn(0,t),n}var CA=t=>!!M1[t],Uo,j1=()=>Uo,FA=(t,n)=>({drafts_:[],parent_:t,immer_:n,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:CA(Wa)?Oi(Wa):void 0});function og(t,n){n&&(t.patchPlugin_=Oi(Hf),t.patches_=[],t.inversePatches_=[],t.patchListener_=n)}function qf(t){Kf(t),t.drafts_.forEach(NA),t.drafts_=null}function Kf(t){t===Uo&&(Uo=t.parent_)}var sg=t=>Uo=FA(Uo,t);function NA(t){const n=t[At];n.type_===0||n.type_===1?n.revoke_():n.revoked_=!0}function ag(t,n){n.unfinalizedDrafts_=n.drafts_.length;const i=n.drafts_[0];if(t!==void 0&&t!==i){i[At].modified_&&(qf(n),dn(4)),Wn(t)&&(t=lg(n,t));const{patchPlugin_:a}=n;a&&a.generateReplacementPatches_(i[At].base_,t,n)}else t=lg(n,i);return RA(n,t,!0),qf(n),n.patches_&&n.patchListener_(n.patches_,n.inversePatches_),t!==b1?t:void 0}function lg(t,n){if(ll(n))return n;const i=n[At];if(!i)return Wd(n,t.handledSet_,t);if(!ul(i,t))return n;if(!i.modified_)return i.base_;if(!i.finalized_){const{callbacks_:s}=i;if(s)for(;s.length>0;)s.pop()(t);L1(i,t)}return i.copy_}function RA(t,n,i=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&$d(n,i)}function I1(t){t.finalized_=!0,t.scope_.unfinalizedDrafts_--}var ul=(t,n)=>t.scope_===n,bA=[];function D1(t,n,i,s){const a=zn(t),c=t.type_;if(s!==void 0&&$f(a,s,c)===n){$a(a,s,i,c);return}if(!t.draftLocations_){const d=t.draftLocations_=new Map;Zo(a,(h,y)=>{if(wr(y)){const m=d.get(y)||[];m.push(h),d.set(y,m)}})}const u=t.draftLocations_.get(n)??bA;for(const d of u)$a(a,d,i,c)}function OA(t,n,i){t.callbacks_.push(function(a){var d;const c=n;if(!c||!ul(c,a))return;(d=a.mapSetPlugin_)==null||d.fixSetContents(c);const u=Ud(c);D1(t,c.draft_??c,u,i),L1(c,a)})}function L1(t,n){var s;if(t.modified_&&!t.finalized_&&(t.type_===3||(((s=t.assigned_)==null?void 0:s.size)??0)>0)){const{patchPlugin_:a}=n;if(a){const c=a.getPath(t);c&&a.generatePatches_(t,c,n)}I1(t)}}function MA(t,n,i){const{scope_:s}=t;if(wr(i)){const a=i[At];ul(a,s)&&a.callbacks_.push(function(){Ra(t);const u=Ud(a);D1(t,i,u,n)})}else Wn(i)&&t.callbacks_.push(function(){const c=zn(t);$f(c,n,t.type_)===i&&s.drafts_.length>1&&(t.assigned_.get(n)??!1)===!0&&t.copy_&&Wd($f(t.copy_,n,t.type_),s.handledSet_,s)})}function Wd(t,n,i){return!i.immer_.autoFreeze_&&i.unfinalizedDrafts_<1||wr(t)||n.has(t)||!Wn(t)||ll(t)||(n.add(t),Zo(t,(s,a)=>{if(wr(a)){const c=a[At];if(ul(c,i)){const u=Ud(c);$a(t,s,u,t.type_),I1(c)}}else Wn(a)&&Wd(a,n,i)})),t}function jA(t,n){const i=ol(t),s={type_:i?1:0,scope_:n?n.scope_:j1(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:n,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0};let a=s,c=Hd;i&&(a=[s],c=$o);const{revoke:u,proxy:d}=Proxy.revocable(a,c);return s.draft_=d,s.revoke_=u,[d,s]}var Hd={get(t,n){if(n===At)return t;const i=zn(t);if(!ig(i,n,t.type_))return IA(t,i,n);const s=i[n];if(t.finalized_||!Wn(s))return s;if(s===ff(t.base_,n)){Ra(t);const a=t.type_===1?+n:n,c=Qf(t.scope_,s,t,a);return t.copy_[a]=c}return s},has(t,n){return n in zn(t)},ownKeys(t){return Reflect.ownKeys(zn(t))},set(t,n,i){const s=V1(zn(t),n);if(s!=null&&s.set)return s.set.call(t.draft_,i),!0;if(!t.modified_){const a=ff(zn(t),n),c=a==null?void 0:a[At];if(c&&c.base_===i)return t.copy_[n]=i,t.assigned_.set(n,!1),!0;if(_A(i,a)&&(i!==void 0||ig(t.base_,n,t.type_)))return!0;Ra(t),Gf(t)}return t.copy_[n]===i&&(i!==void 0||n in t.copy_)||Number.isNaN(i)&&Number.isNaN(t.copy_[n])||(t.copy_[n]=i,t.assigned_.set(n,!0),MA(t,n,i)),!0},deleteProperty(t,n){return Ra(t),ff(t.base_,n)!==void 0||n in t.base_?(t.assigned_.set(n,!1),Gf(t)):t.assigned_.delete(n),t.copy_&&delete t.copy_[n],!0},getOwnPropertyDescriptor(t,n){const i=zn(t),s=Reflect.getOwnPropertyDescriptor(i,n);return s&&{[Na]:!0,[Uf]:t.type_!==1||n!=="length",[Ua]:s[Ua],[zo]:i[n]}},defineProperty(){dn(11)},getPrototypeOf(t){return bi(t.base_)},setPrototypeOf(){dn(12)}},$o={};Zo(Hd,(t,n)=>{$o[t]=function(){const i=arguments;return i[0]=i[0][0],n.apply(this,i)}});$o.deleteProperty=function(t,n){return $o.set.call(this,t,n,void 0)};$o.set=function(t,n,i){return Hd.set.call(this,t[0],n,i,t[0])};function ff(t,n){const i=t[At];return(i?zn(i):t)[n]}function IA(t,n,i){var a;const s=V1(n,i);return s?zo in s?s[zo]:(a=s.get)==null?void 0:a.call(t.draft_):void 0}function V1(t,n){if(!(n in t))return;let i=bi(t);for(;i;){const s=Object.getOwnPropertyDescriptor(i,n);if(s)return s;i=bi(i)}}function Gf(t){t.modified_||(t.modified_=!0,t.parent_&&Gf(t.parent_))}function Ra(t){t.copy_||(t.assigned_=new Map,t.copy_=Wf(t.base_,t.scope_.immer_.useStrictShallowCopy_))}var DA=class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(n,i,s)=>{if(Ei(n)&&!Ei(i)){const c=i;i=n;const u=this;return function(h=c,...y){return u.produce(h,m=>i.call(this,m,...y))}}Ei(i)||dn(6),s!==void 0&&!Ei(s)&&dn(7);let a;if(Wn(n)){const c=sg(this),u=Qf(c,n,void 0);let d=!0;try{a=i(u),d=!1}finally{d?qf(c):Kf(c)}return og(c,s),ag(a,c)}else if(!n||!zd(n)){if(a=i(n),a===void 0&&(a=n),a===b1&&(a=void 0),this.autoFreeze_&&$d(a,!0),s){const c=[],u=[];Oi(Hf).generateReplacementPatches_(n,a,{patches_:c,inversePatches_:u}),s(c,u)}return a}else dn(1,n)},this.produceWithPatches=(n,i)=>{if(Ei(n))return(u,...d)=>this.produceWithPatches(u,h=>n(h,...d));let s,a;return[this.produce(n,i,(u,d)=>{s=u,a=d}),s,a]},cf(t==null?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),cf(t==null?void 0:t.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),cf(t==null?void 0:t.useStrictIteration)&&this.setUseStrictIteration(t.useStrictIteration)}createDraft(t){Wn(t)||dn(8),wr(t)&&(t=LA(t));const n=sg(this),i=Qf(n,t,void 0);return i[At].isManual_=!0,Kf(n),i}finishDraft(t,n){const i=t&&t[At];(!i||!i.isManual_)&&dn(9);const{scope_:s}=i;return og(s,n),ag(void 0,s)}setAutoFreeze(t){this.autoFreeze_=t}setUseStrictShallowCopy(t){this.useStrictShallowCopy_=t}setUseStrictIteration(t){this.useStrictIteration_=t}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(t,n){let i;for(i=n.length-1;i>=0;i--){const a=n[i];if(a.path.length===0&&a.op==="replace"){t=a.value;break}}i>-1&&(n=n.slice(i+1));const s=Oi(Hf).applyPatches_;return wr(t)?s(t,n):this.produce(t,a=>s(a,n))}};function Qf(t,n,i,s){const[a,c]=sl(n)?Oi(Wa).proxyMap_(n,i):al(n)?Oi(Wa).proxySet_(n,i):jA(n,i);return((i==null?void 0:i.scope_)??j1()).drafts_.push(a),c.callbacks_=(i==null?void 0:i.callbacks_)??[],c.key_=s,i&&s!==void 0?OA(i,c,s):c.callbacks_.push(function(h){var m;(m=h.mapSetPlugin_)==null||m.fixSetContents(c);const{patchPlugin_:y}=h;c.modified_&&y&&y.generatePatches_(c,[],h)}),a}function LA(t){return wr(t)||dn(10,t),B1(t)}function B1(t){if(!Wn(t)||ll(t))return t;const n=t[At];let i,s=!0;if(n){if(!n.modified_)return n.base_;n.finalized_=!0,i=Wf(t,n.scope_.immer_.useStrictShallowCopy_),s=n.scope_.immer_.shouldUseStrictIteration()}else i=Wf(t,!0);return Zo(i,(a,c)=>{$a(i,a,B1(c))},s),n&&(n.finalized_=!1),i}var VA=new DA,BA=VA.produce;const zA=t=>(n,i,s)=>(s.setState=(a,c,...u)=>{const d=typeof a=="function"?BA(a):a;return n(d,c,...u)},t(s.setState,i,s)),UA=zA,Mi=EA()(TA(UA(t=>({token:"",analysis:null,setToken(n){t(i=>{i.token=n})},setAnalysis(n){t(i=>{i.analysis=n})}})),{name:"zustand_storage",storage:R1(()=>localStorage)}));let $A={data:""},WA=t=>{if(typeof window=="object"){let n=(t?t.querySelector("#_goober"):window._goober)||Object.assign(document.createElement("style"),{innerHTML:" ",id:"_goober"});return n.nonce=window.__nonce__,n.parentNode||(t||document.head).appendChild(n),n.firstChild}return t||$A},HA=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,qA=/\/\*[^]*?\*\/| +/g,ug=/\n+/g,gr=(t,n)=>{let i="",s="",a="";for(let c in t){let u=t[c];c[0]=="@"?c[1]=="i"?i=c+" "+u+";":s+=c[1]=="f"?gr(u,c):c+"{"+gr(u,c[1]=="k"?"":n)+"}":typeof u=="object"?s+=gr(u,n?n.replace(/([^,])+/g,d=>c.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,h=>/&/.test(h)?h.replace(/&/g,d):d?d+" "+h:h)):c):u!=null&&(c=/^--/.test(c)?c:c.replace(/[A-Z]/g,"-$&").toLowerCase(),a+=gr.p?gr.p(c,u):c+":"+u+";")}return i+(n&&a?n+"{"+a+"}":a)+s},Bn={},z1=t=>{if(typeof t=="object"){let n="";for(let i in t)n+=i+z1(t[i]);return n}return t},KA=(t,n,i,s,a)=>{let c=z1(t),u=Bn[c]||(Bn[c]=(h=>{let y=0,m=11;for(;y<h.length;)m=101*m+h.charCodeAt(y++)>>>0;return"go"+m})(c));if(!Bn[u]){let h=c!==t?t:(y=>{let m,v,w=[{}];for(;m=HA.exec(y.replace(qA,""));)m[4]?w.shift():m[3]?(v=m[3].replace(ug," ").trim(),w.unshift(w[0][v]=w[0][v]||{})):w[0][m[1]]=m[2].replace(ug," ").trim();return w[0]})(t);Bn[u]=gr(a?{["@keyframes "+u]:h}:h,i?"":"."+u)}let d=i&&Bn.g?Bn.g:null;return i&&(Bn.g=Bn[u]),((h,y,m,v)=>{v?y.data=y.data.replace(v,h):y.data.indexOf(h)===-1&&(y.data=m?h+y.data:y.data+h)})(Bn[u],n,s,d),u},GA=(t,n,i)=>t.reduce((s,a,c)=>{let u=n[c];if(u&&u.call){let d=u(i),h=d&&d.props&&d.props.className||/^go/.test(d)&&d;u=h?"."+h:d&&typeof d=="object"?d.props?"":gr(d,""):d===!1?"":d}return s+a+(u??"")},"");function cl(t){let n=this||{},i=t.call?t(n.p):t;return KA(i.unshift?i.raw?GA(i,[].slice.call(arguments,1),n.p):i.reduce((s,a)=>Object.assign(s,a&&a.call?a(n.p):a),{}):i,WA(n.target),n.g,n.o,n.k)}let U1,Xf,Yf;cl.bind({g:1});let Hn=cl.bind({k:1});function QA(t,n,i,s){gr.p=n,U1=t,Xf=i,Yf=s}function Er(t,n){let i=this||{};return function(){let s=arguments;function a(c,u){let d=Object.assign({},c),h=d.className||a.className;i.p=Object.assign({theme:Xf&&Xf()},d),i.o=/ *go\d+/.test(h),d.className=cl.apply(i,s)+(h?" "+h:"");let y=t;return t[0]&&(y=d.as||t,delete d.as),Yf&&y[0]&&Yf(d),U1(y,d)}return a}}var XA=t=>typeof t=="function",Ha=(t,n)=>XA(t)?t(n):t,YA=(()=>{let t=0;return()=>(++t).toString()})(),$1=(()=>{let t;return()=>{if(t===void 0&&typeof window<"u"){let n=matchMedia("(prefers-reduced-motion: reduce)");t=!n||n.matches}return t}})(),JA=20,qd="default",W1=(t,n)=>{let{toastLimit:i}=t.settings;switch(n.type){case 0:return{...t,toasts:[n.toast,...t.toasts].slice(0,i)};case 1:return{...t,toasts:t.toasts.map(u=>u.id===n.toast.id?{...u,...n.toast}:u)};case 2:let{toast:s}=n;return W1(t,{type:t.toasts.find(u=>u.id===s.id)?1:0,toast:s});case 3:let{toastId:a}=n;return{...t,toasts:t.toasts.map(u=>u.id===a||a===void 0?{...u,dismissed:!0,visible:!1}:u)};case 4:return n.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(u=>u.id!==n.toastId)};case 5:return{...t,pausedAt:n.time};case 6:let c=n.time-(t.pausedAt||0);return{...t,pausedAt:void 0,toasts:t.toasts.map(u=>({...u,pauseDuration:u.pauseDuration+c}))}}},ba=[],H1={toasts:[],pausedAt:void 0,settings:{toastLimit:JA}},Tn={},q1=(t,n=qd)=>{Tn[n]=W1(Tn[n]||H1,t),ba.forEach(([i,s])=>{i===n&&s(Tn[n])})},K1=t=>Object.keys(Tn).forEach(n=>q1(t,n)),ZA=t=>Object.keys(Tn).find(n=>Tn[n].toasts.some(i=>i.id===t)),fl=(t=qd)=>n=>{q1(n,t)},eC={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},tC=(t={},n=qd)=>{let[i,s]=Y.useState(Tn[n]||H1),a=Y.useRef(Tn[n]);Y.useEffect(()=>(a.current!==Tn[n]&&s(Tn[n]),ba.push([n,s]),()=>{let u=ba.findIndex(([d])=>d===n);u>-1&&ba.splice(u,1)}),[n]);let c=i.toasts.map(u=>{var d,h,y;return{...t,...t[u.type],...u,removeDelay:u.removeDelay||((d=t[u.type])==null?void 0:d.removeDelay)||(t==null?void 0:t.removeDelay),duration:u.duration||((h=t[u.type])==null?void 0:h.duration)||(t==null?void 0:t.duration)||eC[u.type],style:{...t.style,...(y=t[u.type])==null?void 0:y.style,...u.style}}});return{...i,toasts:c}},nC=(t,n="blank",i)=>({createdAt:Date.now(),visible:!0,dismissed:!1,type:n,ariaProps:{role:"status","aria-live":"polite"},message:t,pauseDuration:0,...i,id:(i==null?void 0:i.id)||YA()}),ts=t=>(n,i)=>{let s=nC(n,t,i);return fl(s.toasterId||ZA(s.id))({type:2,toast:s}),s.id},it=(t,n)=>ts("blank")(t,n);it.error=ts("error");it.success=ts("success");it.loading=ts("loading");it.custom=ts("custom");it.dismiss=(t,n)=>{let i={type:3,toastId:t};n?fl(n)(i):K1(i)};it.dismissAll=t=>it.dismiss(void 0,t);it.remove=(t,n)=>{let i={type:4,toastId:t};n?fl(n)(i):K1(i)};it.removeAll=t=>it.remove(void 0,t);it.promise=(t,n,i)=>{let s=it.loading(n.loading,{...i,...i==null?void 0:i.loading});return typeof t=="function"&&(t=t()),t.then(a=>{let c=n.success?Ha(n.success,a):void 0;return c?it.success(c,{id:s,...i,...i==null?void 0:i.success}):it.dismiss(s),a}).catch(a=>{let c=n.error?Ha(n.error,a):void 0;c?it.error(c,{id:s,...i,...i==null?void 0:i.error}):it.dismiss(s)}),t};var rC=1e3,iC=(t,n="default")=>{let{toasts:i,pausedAt:s}=tC(t,n),a=Y.useRef(new Map).current,c=Y.useCallback((v,w=rC)=>{if(a.has(v))return;let k=setTimeout(()=>{a.delete(v),u({type:4,toastId:v})},w);a.set(v,k)},[]);Y.useEffect(()=>{if(s)return;let v=Date.now(),w=i.map(k=>{if(k.duration===1/0)return;let T=(k.duration||0)+k.pauseDuration-(v-k.createdAt);if(T<0){k.visible&&it.dismiss(k.id);return}return setTimeout(()=>it.dismiss(k.id,n),T)});return()=>{w.forEach(k=>k&&clearTimeout(k))}},[i,s,n]);let u=Y.useCallback(fl(n),[n]),d=Y.useCallback(()=>{u({type:5,time:Date.now()})},[u]),h=Y.useCallback((v,w)=>{u({type:1,toast:{id:v,height:w}})},[u]),y=Y.useCallback(()=>{s&&u({type:6,time:Date.now()})},[s,u]),m=Y.useCallback((v,w)=>{let{reverseOrder:k=!1,gutter:T=8,defaultPosition:A}=w||{},S=i.filter(D=>(D.position||A)===(v.position||A)&&D.height),R=S.findIndex(D=>D.id===v.id),O=S.filter((D,U)=>U<R&&D.visible).length;return S.filter(D=>D.visible).slice(...k?[O+1]:[0,O]).reduce((D,U)=>D+(U.height||0)+T,0)},[i]);return Y.useEffect(()=>{i.forEach(v=>{if(v.dismissed)c(v.id,v.removeDelay);else{let w=a.get(v.id);w&&(clearTimeout(w),a.delete(v.id))}})},[i,c]),{toasts:i,handlers:{updateHeight:h,startPause:d,endPause:y,calculateOffset:m}}},oC=Hn`
|
||
from {
|
||
transform: scale(0) rotate(45deg);
|
||
opacity: 0;
|
||
}
|
||
to {
|
||
transform: scale(1) rotate(45deg);
|
||
opacity: 1;
|
||
}`,sC=Hn`
|
||
from {
|
||
transform: scale(0);
|
||
opacity: 0;
|
||
}
|
||
to {
|
||
transform: scale(1);
|
||
opacity: 1;
|
||
}`,aC=Hn`
|
||
from {
|
||
transform: scale(0) rotate(90deg);
|
||
opacity: 0;
|
||
}
|
||
to {
|
||
transform: scale(1) rotate(90deg);
|
||
opacity: 1;
|
||
}`,lC=Er("div")`
|
||
width: 20px;
|
||
opacity: 0;
|
||
height: 20px;
|
||
border-radius: 10px;
|
||
background: ${t=>t.primary||"#ff4b4b"};
|
||
position: relative;
|
||
transform: rotate(45deg);
|
||
|
||
animation: ${oC} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
||
forwards;
|
||
animation-delay: 100ms;
|
||
|
||
&:after,
|
||
&:before {
|
||
content: '';
|
||
animation: ${sC} 0.15s ease-out forwards;
|
||
animation-delay: 150ms;
|
||
position: absolute;
|
||
border-radius: 3px;
|
||
opacity: 0;
|
||
background: ${t=>t.secondary||"#fff"};
|
||
bottom: 9px;
|
||
left: 4px;
|
||
height: 2px;
|
||
width: 12px;
|
||
}
|
||
|
||
&:before {
|
||
animation: ${aC} 0.15s ease-out forwards;
|
||
animation-delay: 180ms;
|
||
transform: rotate(90deg);
|
||
}
|
||
`,uC=Hn`
|
||
from {
|
||
transform: rotate(0deg);
|
||
}
|
||
to {
|
||
transform: rotate(360deg);
|
||
}
|
||
`,cC=Er("div")`
|
||
width: 12px;
|
||
height: 12px;
|
||
box-sizing: border-box;
|
||
border: 2px solid;
|
||
border-radius: 100%;
|
||
border-color: ${t=>t.secondary||"#e0e0e0"};
|
||
border-right-color: ${t=>t.primary||"#616161"};
|
||
animation: ${uC} 1s linear infinite;
|
||
`,fC=Hn`
|
||
from {
|
||
transform: scale(0) rotate(45deg);
|
||
opacity: 0;
|
||
}
|
||
to {
|
||
transform: scale(1) rotate(45deg);
|
||
opacity: 1;
|
||
}`,dC=Hn`
|
||
0% {
|
||
height: 0;
|
||
width: 0;
|
||
opacity: 0;
|
||
}
|
||
40% {
|
||
height: 0;
|
||
width: 6px;
|
||
opacity: 1;
|
||
}
|
||
100% {
|
||
opacity: 1;
|
||
height: 10px;
|
||
}`,pC=Er("div")`
|
||
width: 20px;
|
||
opacity: 0;
|
||
height: 20px;
|
||
border-radius: 10px;
|
||
background: ${t=>t.primary||"#61d345"};
|
||
position: relative;
|
||
transform: rotate(45deg);
|
||
|
||
animation: ${fC} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
||
forwards;
|
||
animation-delay: 100ms;
|
||
&:after {
|
||
content: '';
|
||
box-sizing: border-box;
|
||
animation: ${dC} 0.2s ease-out forwards;
|
||
opacity: 0;
|
||
animation-delay: 200ms;
|
||
position: absolute;
|
||
border-right: 2px solid;
|
||
border-bottom: 2px solid;
|
||
border-color: ${t=>t.secondary||"#fff"};
|
||
bottom: 6px;
|
||
left: 6px;
|
||
height: 10px;
|
||
width: 6px;
|
||
}
|
||
`,hC=Er("div")`
|
||
position: absolute;
|
||
`,mC=Er("div")`
|
||
position: relative;
|
||
display: flex;
|
||
justify-content: center;
|
||
align-items: center;
|
||
min-width: 20px;
|
||
min-height: 20px;
|
||
`,yC=Hn`
|
||
from {
|
||
transform: scale(0.6);
|
||
opacity: 0.4;
|
||
}
|
||
to {
|
||
transform: scale(1);
|
||
opacity: 1;
|
||
}`,gC=Er("div")`
|
||
position: relative;
|
||
transform: scale(0.6);
|
||
opacity: 0.4;
|
||
min-width: 20px;
|
||
animation: ${yC} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
||
forwards;
|
||
`,vC=({toast:t})=>{let{icon:n,type:i,iconTheme:s}=t;return n!==void 0?typeof n=="string"?Y.createElement(gC,null,n):n:i==="blank"?null:Y.createElement(mC,null,Y.createElement(cC,{...s}),i!=="loading"&&Y.createElement(hC,null,i==="error"?Y.createElement(lC,{...s}):Y.createElement(pC,{...s})))},xC=t=>`
|
||
0% {transform: translate3d(0,${t*-200}%,0) scale(.6); opacity:.5;}
|
||
100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
|
||
`,wC=t=>`
|
||
0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
|
||
100% {transform: translate3d(0,${t*-150}%,-1px) scale(.6); opacity:0;}
|
||
`,SC="0%{opacity:0;} 100%{opacity:1;}",EC="0%{opacity:1;} 100%{opacity:0;}",PC=Er("div")`
|
||
display: flex;
|
||
align-items: center;
|
||
background: #fff;
|
||
color: #363636;
|
||
line-height: 1.3;
|
||
will-change: transform;
|
||
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);
|
||
max-width: 350px;
|
||
pointer-events: auto;
|
||
padding: 8px 10px;
|
||
border-radius: 8px;
|
||
`,TC=Er("div")`
|
||
display: flex;
|
||
justify-content: center;
|
||
margin: 4px 10px;
|
||
color: inherit;
|
||
flex: 1 1 auto;
|
||
white-space: pre-line;
|
||
`,kC=(t,n)=>{let i=t.includes("top")?1:-1,[s,a]=$1()?[SC,EC]:[xC(i),wC(i)];return{animation:n?`${Hn(s)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${Hn(a)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},_C=Y.memo(({toast:t,position:n,style:i,children:s})=>{let a=t.height?kC(t.position||n||"top-center",t.visible):{opacity:0},c=Y.createElement(vC,{toast:t}),u=Y.createElement(TC,{...t.ariaProps},Ha(t.message,t));return Y.createElement(PC,{className:t.className,style:{...a,...i,...t.style}},typeof s=="function"?s({icon:c,message:u}):Y.createElement(Y.Fragment,null,c,u))});QA(Y.createElement);var AC=({id:t,className:n,style:i,onHeightUpdate:s,children:a})=>{let c=Y.useCallback(u=>{if(u){let d=()=>{let h=u.getBoundingClientRect().height;s(t,h)};d(),new MutationObserver(d).observe(u,{subtree:!0,childList:!0,characterData:!0})}},[t,s]);return Y.createElement("div",{ref:c,className:n,style:i},a)},CC=(t,n)=>{let i=t.includes("top"),s=i?{top:0}:{bottom:0},a=t.includes("center")?{justifyContent:"center"}:t.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:$1()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${n*(i?1:-1)}px)`,...s,...a}},FC=cl`
|
||
z-index: 9999;
|
||
> * {
|
||
pointer-events: auto;
|
||
}
|
||
`,Ea=16,NC=({reverseOrder:t,position:n="top-center",toastOptions:i,gutter:s,children:a,toasterId:c,containerStyle:u,containerClassName:d})=>{let{toasts:h,handlers:y}=iC(i,c);return Y.createElement("div",{"data-rht-toaster":c||"",style:{position:"fixed",zIndex:9999,top:Ea,left:Ea,right:Ea,bottom:Ea,pointerEvents:"none",...u},className:d,onMouseEnter:y.startPause,onMouseLeave:y.endPause},h.map(m=>{let v=m.position||n,w=y.calculateOffset(m,{reverseOrder:t,gutter:s,defaultPosition:n}),k=CC(v,w);return Y.createElement(AC,{id:m.id,key:m.id,onHeightUpdate:y.updateHeight,className:m.visible?FC:"",style:k},m.type==="custom"?Ha(m.message,m):a?a(m):Y.createElement(_C,{toast:m,position:v}))}))},Lr=it;const Wo=Ke.create({baseURL:"https://ting.lifebanktech.com/api",timeout:1e3*300});Wo.interceptors.request.use(t=>{t.data instanceof FormData&&(t.headers["Content-Type"]="multipart/form-data");let n=Mi.getState().token;return n&&(t.headers.Authorization=`Bearer ${n}`),t});Wo.interceptors.response.use(t=>{const{code:n,data:i,message:s}=t.data;if(n===1)return i;if(n===0)return Lr.error(s),Promise.reject(new Error(s));n===401||n===403?gA():Lr.error(s)},t=>t.code==="ECONNABORTED"?(Lr.error("网速较慢,请耐心等待"),t.config.timeout=1e3*60*3,Wo(t.config)):t.message==="Network Error"?(Lr.error("网络中断"),Promise.reject()):(Lr.error("网络异常"),Promise.reject()));function RC(t,n={}){return Wo.post(t,n)}function bC(t,n={}){return Wo.get(t,{params:n})}const qr={get:bC,post:RC};function OC(t){let n=new FormData;return n.append("analys_image",t.analys_image),n.append("analys_type",t.analys_type),qr.post("/enterprise/analyze",n)}function MC(t){return qr.post("/enterprise/submit_contact_info",t)}function jC(t){return qr.post("/analysis_order/create",t)}var df={exports:{}},cg;function IC(){return cg||(cg=1,(function(t,n){df.exports=n(t)})(typeof window=="object"&&window,function(t,n){if(!t){console.warn("can't use weixin-js-sdk in server side");return}var i,s,a,c,u,d,h,y,m,v,w,k,T,A,S,R,O,D,U,H,q,b;if(t.jWeixin)return t.jWeixin;return i={config:"preVerifyJSAPI",onMenuShareTimeline:"menu:share:timeline",onMenuShareAppMessage:"menu:share:appmessage",onMenuShareQQ:"menu:share:qq",onMenuShareWeibo:"menu:share:weiboApp",onMenuShareQZone:"menu:share:QZone",previewImage:"imagePreview",getLocation:"geoLocation",openProductSpecificView:"openProductViewWithPid",addCard:"batchAddCard",openCard:"batchViewCard",chooseWXPay:"getBrandWCPayRequest",openEnterpriseRedPacket:"getRecevieBizHongBaoRequest",startSearchBeacons:"startMonitoringBeacons",stopSearchBeacons:"stopMonitoringBeacons",onSearchBeacons:"onBeaconsInRange",consumeAndShareCard:"consumedShareCard",openAddress:"editAddress"},s=(function(){var g,L={};for(g in i)L[i[g]]=g;return L})(),a=t.document,c=a.title,u=navigator.userAgent.toLowerCase(),k=navigator.platform.toLowerCase(),d=!(!k.match("mac")&&!k.match("win")),h=u.indexOf("wxdebugger")!=-1,y=u.indexOf("micromessenger")!=-1,m=u.indexOf("android")!=-1,v=u.indexOf("iphone")!=-1||u.indexOf("ipad")!=-1,w=(k=u.match(/micromessenger\/(\d+\.\d+\.\d+)/)||u.match(/micromessenger\/(\d+\.\d+)/))?k[1]:"",T={initStartTime:Ee(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},A={version:1,appId:"",initTime:0,preVerifyTime:0,networkType:"",isPreVerifyOk:1,systemType:v?1:m?2:-1,clientVersion:w,url:encodeURIComponent(location.href)},S={},R={_completes:[]},O={state:0,data:{}},ce(function(){T.initEndTime=Ee()}),D=!1,U=[],H={config:function(g){pe("config",S=g);var L=S.check!==!1;ce(function(){if(L)E(i.config,{verifyJsApiList:se(S.jsApiList),verifyOpenTagList:se(S.openTagList)},(R._complete=function(ae){T.preVerifyEndTime=Ee(),O.state=1,O.data=ae},R.success=function(ae){A.isPreVerifyOk=0},R.fail=function(ae){R._fail?R._fail(ae):O.state=-1},(ie=R._completes).push(function(){Pe()}),R.complete=function(ae){for(var re=0,he=ie.length;re<he;++re)ie[re]();R._completes=[]},R)),T.preVerifyStartTime=Ee();else{O.state=1;for(var B=R._completes,F=0,Q=B.length;F<Q;++F)B[F]();R._completes=[]}var ie}),H.invoke||(H.invoke=function(B,F,Q){t.WeixinJSBridge&&WeixinJSBridge.invoke(B,_(F),Q)},H.on=function(B,F){t.WeixinJSBridge&&WeixinJSBridge.on(B,F)})},ready:function(g){(O.state!=0||(R._completes.push(g),!y&&S.debug))&&g()},error:function(g){w<"6.0.2"||(O.state==-1?g(O.data):R._fail=g)},checkJsApi:function(g){E("checkJsApi",{jsApiList:se(g.jsApiList)},(g._complete=function(L){m&&(F=L.checkResult)&&(L.checkResult=JSON.parse(F));var B,F=L,Q=F.checkResult;for(B in Q){var ie=s[B];ie&&(Q[ie]=Q[B],delete Q[B])}},g))},onMenuShareTimeline:function(g){N(i.onMenuShareTimeline,{complete:function(){E("shareTimeline",{title:g.title||c,desc:g.title||c,img_url:g.imgUrl||"",link:g.link||location.href,type:g.type||"link",data_url:g.dataUrl||""},g)}},g)},onMenuShareAppMessage:function(g){N(i.onMenuShareAppMessage,{complete:function(L){L.scene==="favorite"?E("sendAppMessage",{title:g.title||c,desc:g.desc||"",link:g.link||location.href,img_url:g.imgUrl||"",type:g.type||"link",data_url:g.dataUrl||""}):E("sendAppMessage",{title:g.title||c,desc:g.desc||"",link:g.link||location.href,img_url:g.imgUrl||"",type:g.type||"link",data_url:g.dataUrl||""},g)}},g)},onMenuShareQQ:function(g){N(i.onMenuShareQQ,{complete:function(){E("shareQQ",{title:g.title||c,desc:g.desc||"",img_url:g.imgUrl||"",link:g.link||location.href},g)}},g)},onMenuShareWeibo:function(g){N(i.onMenuShareWeibo,{complete:function(){E("shareWeiboApp",{title:g.title||c,desc:g.desc||"",img_url:g.imgUrl||"",link:g.link||location.href},g)}},g)},onMenuShareQZone:function(g){N(i.onMenuShareQZone,{complete:function(){E("shareQZone",{title:g.title||c,desc:g.desc||"",img_url:g.imgUrl||"",link:g.link||location.href},g)}},g)},updateTimelineShareData:function(g){E("updateTimelineShareData",{title:g.title,link:g.link,imgUrl:g.imgUrl},g)},updateAppMessageShareData:function(g){E("updateAppMessageShareData",{title:g.title,desc:g.desc,link:g.link,imgUrl:g.imgUrl},g)},startRecord:function(g){E("startRecord",{},g)},stopRecord:function(g){E("stopRecord",{},g)},onVoiceRecordEnd:function(g){N("onVoiceRecordEnd",g)},playVoice:function(g){E("playVoice",{localId:g.localId},g)},pauseVoice:function(g){E("pauseVoice",{localId:g.localId},g)},stopVoice:function(g){E("stopVoice",{localId:g.localId},g)},onVoicePlayEnd:function(g){N("onVoicePlayEnd",g)},uploadVoice:function(g){E("uploadVoice",{localId:g.localId,isShowProgressTips:g.isShowProgressTips==0?0:1},g)},downloadVoice:function(g){E("downloadVoice",{serverId:g.serverId,isShowProgressTips:g.isShowProgressTips==0?0:1},g)},translateVoice:function(g){E("translateVoice",{localId:g.localId,isShowProgressTips:g.isShowProgressTips==0?0:1},g)},chooseImage:function(g){E("chooseImage",{scene:"1|2",count:g.count||9,sizeType:g.sizeType||["original","compressed"],sourceType:g.sourceType||["album","camera"]},(g._complete=function(L){if(m){var B=L.localIds;try{B&&(L.localIds=JSON.parse(B))}catch{}}},g))},getLocation:function(g){g=g||{},E(i.getLocation,{type:g.type||"wgs84"},(g._complete=function(L){delete L.type},g))},previewImage:function(g){E(i.previewImage,{current:g.current,urls:g.urls},g)},uploadImage:function(g){E("uploadImage",{localId:g.localId,isShowProgressTips:g.isShowProgressTips==0?0:1},g)},downloadImage:function(g){E("downloadImage",{serverId:g.serverId,isShowProgressTips:g.isShowProgressTips==0?0:1},g)},getLocalImgData:function(g){D===!1?(D=!0,E("getLocalImgData",{localId:g.localId},(g._complete=function(L){var B;D=!1,0<U.length&&(B=U.shift(),wx.getLocalImgData(B))},g))):U.push(g)},getNetworkType:function(g){E("getNetworkType",{},(g._complete=function(F){var B=F,F=B.errMsg,Q=(B.errMsg="getNetworkType:ok",B.subtype);if(delete B.subtype,Q)B.networkType=Q;else{var Q=F.indexOf(":"),ie=F.substring(Q+1);switch(ie){case"wifi":case"edge":case"wwan":B.networkType=ie;break;default:B.errMsg="getNetworkType:fail"}}},g))},openLocation:function(g){E("openLocation",{latitude:g.latitude,longitude:g.longitude,name:g.name||"",address:g.address||"",scale:g.scale||28,infoUrl:g.infoUrl||""},g)},hideOptionMenu:function(g){E("hideOptionMenu",{},g)},showOptionMenu:function(g){E("showOptionMenu",{},g)},closeWindow:function(g){E("closeWindow",{},g=g||{})},hideMenuItems:function(g){E("hideMenuItems",{menuList:g.menuList},g)},showMenuItems:function(g){E("showMenuItems",{menuList:g.menuList},g)},hideAllNonBaseMenuItem:function(g){E("hideAllNonBaseMenuItem",{},g)},showAllNonBaseMenuItem:function(g){E("showAllNonBaseMenuItem",{},g)},scanQRCode:function(g){E("scanQRCode",{needResult:(g=g||{}).needResult||0,scanType:g.scanType||["qrCode","barCode"]},(g._complete=function(L){var B;v&&(B=L.resultStr)&&(B=JSON.parse(B),L.resultStr=B&&B.scan_code&&B.scan_code.scan_result)},g))},openAddress:function(g){E(i.openAddress,{},(g._complete=function(L){(L=L).postalCode=L.addressPostalCode,delete L.addressPostalCode,L.provinceName=L.proviceFirstStageName,delete L.proviceFirstStageName,L.cityName=L.addressCitySecondStageName,delete L.addressCitySecondStageName,L.countryName=L.addressCountiesThirdStageName,delete L.addressCountiesThirdStageName,L.detailInfo=L.addressDetailInfo,delete L.addressDetailInfo},g))},openProductSpecificView:function(g){E(i.openProductSpecificView,{pid:g.productId,view_type:g.viewType||0,ext_info:g.extInfo},g)},addCard:function(g){for(var L=g.cardList,B=[],F=0,Q=L.length;F<Q;++F){var ie=L[F],ie={card_id:ie.cardId,card_ext:ie.cardExt};B.push(ie)}E(i.addCard,{card_list:B},(g._complete=function(ae){if(re=ae.card_list){for(var re,he=0,Ae=(re=JSON.parse(re)).length;he<Ae;++he){var ge=re[he];ge.cardId=ge.card_id,ge.cardExt=ge.card_ext,ge.isSuccess=!!ge.is_succ,delete ge.card_id,delete ge.card_ext,delete ge.is_succ}ae.cardList=re,delete ae.card_list}},g))},chooseCard:function(g){E("chooseCard",{app_id:S.appId,location_id:g.shopId||"",sign_type:g.signType||"SHA1",card_id:g.cardId||"",card_type:g.cardType||"",card_sign:g.cardSign,time_stamp:g.timestamp+"",nonce_str:g.nonceStr},(g._complete=function(L){L.cardList=L.choose_card_info,delete L.choose_card_info},g))},openCard:function(g){for(var L=g.cardList,B=[],F=0,Q=L.length;F<Q;++F){var ie=L[F],ie={card_id:ie.cardId,code:ie.code};B.push(ie)}E(i.openCard,{card_list:B},g)},consumeAndShareCard:function(g){E(i.consumeAndShareCard,{consumedCardId:g.cardId,consumedCode:g.code},g)},chooseWXPay:function(g){E(i.chooseWXPay,V(g),g),Pe({jsApiName:"chooseWXPay"})},openEnterpriseRedPacket:function(g){E(i.openEnterpriseRedPacket,V(g),g)},startSearchBeacons:function(g){E(i.startSearchBeacons,{ticket:g.ticket},g)},stopSearchBeacons:function(g){E(i.stopSearchBeacons,{},g)},onSearchBeacons:function(g){N(i.onSearchBeacons,g)},openEnterpriseChat:function(g){E("openEnterpriseChat",{useridlist:g.userIds,chatname:g.groupName},g)},launchMiniProgram:function(g){E("launchMiniProgram",{targetAppId:g.targetAppId,path:(function(L){var B;if(typeof L=="string"&&0<L.length)return B=L.split("?")[0],B+=".html",(L=L.split("?")[1])!==void 0?B+"?"+L:B})(g.path),envVersion:g.envVersion},g)},openBusinessView:function(g){E("openBusinessView",{businessType:g.businessType,queryString:g.queryString||"",envVersion:g.envVersion},(g._complete=function(L){if(m){var B=L.extraData;if(B)try{L.extraData=JSON.parse(B)}catch{L.extraData={}}}},g))},miniProgram:{navigateBack:function(g){g=g||{},ce(function(){E("invokeMiniProgramAPI",{name:"navigateBack",arg:{delta:g.delta||1}},g)})},navigateTo:function(g){ce(function(){E("invokeMiniProgramAPI",{name:"navigateTo",arg:{url:g.url}},g)})},redirectTo:function(g){ce(function(){E("invokeMiniProgramAPI",{name:"redirectTo",arg:{url:g.url}},g)})},switchTab:function(g){ce(function(){E("invokeMiniProgramAPI",{name:"switchTab",arg:{url:g.url}},g)})},reLaunch:function(g){ce(function(){E("invokeMiniProgramAPI",{name:"reLaunch",arg:{url:g.url}},g)})},postMessage:function(g){ce(function(){E("invokeMiniProgramAPI",{name:"postMessage",arg:g.data||{}},g)})},getEnv:function(g){ce(function(){g({miniprogram:t.__wxjs_environment==="miniprogram"})})}}},q=1,b={},a.addEventListener("error",function(g){var L,B,F;m||(F=(L=g.target).tagName,B=L.src,F!="IMG"&&F!="VIDEO"&&F!="AUDIO"&&F!="SOURCE")||B.indexOf("wxlocalresource://")!=-1&&(g.preventDefault(),g.stopPropagation(),(F=L["wx-id"])||(F=q++,L["wx-id"]=F),b[F]||(b[F]=!0,wx.ready(function(){wx.getLocalImgData({localId:B,success:function(Q){L.src=Q.localData}})})))},!0),a.addEventListener("load",function(g){var L;m||(L=(g=g.target).tagName,g.src,L!="IMG"&&L!="VIDEO"&&L!="AUDIO"&&L!="SOURCE")||(L=g["wx-id"])&&(b[L]=!1)},!0),n&&(t.wx=t.jWeixin=H),H;function E(g,L,B){t.WeixinJSBridge?WeixinJSBridge.invoke(g,_(L),function(F){j(g,F,B)}):pe(g,B)}function N(g,L,B){t.WeixinJSBridge?WeixinJSBridge.on(g,function(F){B&&B.trigger&&B.trigger(F),j(g,F,L)}):pe(g,B||L)}function _(g){return(g=g||{}).appId=S.appId,g.verifyAppId=S.appId,g.verifySignType="sha1",g.verifyTimestamp=S.timestamp+"",g.verifyNonceStr=S.nonceStr,g.verifySignature=S.signature,g}function V(g){return{timeStamp:g.timestamp+"",nonceStr:g.nonceStr,package:g.package,paySign:g.paySign,signType:g.signType||"SHA1"}}function j(Q,L,B){Q!="openEnterpriseChat"&&Q!=="openBusinessView"||(L.errCode=L.err_code),delete L.err_code,delete L.err_desc,delete L.err_detail;var F=L.errMsg,Q=(F||(F=L.err_msg,delete L.err_msg,F=(function(ie,ae){var re=s[ie];re&&(ie=re),re="ok";{var he;ae&&(he=ae.indexOf(":"),(re=(re=(re=(re=(re=(re=(re=ae.substring(he+1))=="confirm"?"ok":re)=="failed"?"fail":re).indexOf("failed_")!=-1?re.substring(7):re).indexOf("fail_")!=-1?re.substring(5):re).replace(/_/g," ")).toLowerCase())!="access denied"&&re!="no permission to execute"||(re="permission denied"),(re=ie=="config"&&re=="function not exist"?"ok":re)=="")&&(re="fail")}return ae=ie+":"+re})(Q,F),L.errMsg=F),(B=B||{})._complete&&(B._complete(L),delete B._complete),F=L.errMsg||"",S.debug&&!B.isInnerInvoke&&alert(JSON.stringify(L)),F.indexOf(":"));switch(F.substring(Q+1)){case"ok":B.success&&B.success(L);break;case"cancel":B.cancel&&B.cancel(L);break;default:B.fail&&B.fail(L)}B.complete&&B.complete(L)}function se(g){if(g){for(var L=0,B=g.length;L<B;++L){var F=g[L],F=i[F];F&&(g[L]=F)}return g}}function pe(g,L){var B;!S.debug||L&&L.isInnerInvoke||((B=s[g])&&(g=B),L&&L._complete&&delete L._complete,console.log('"'+g+'",',L||""))}function Pe(g){var L;d||h||S.debug||w<"6.0.2"||A.systemType<0||(L=new Image,A.appId=S.appId,A.initTime=T.initEndTime-T.initStartTime,A.preVerifyTime=T.preVerifyEndTime-T.preVerifyStartTime,H.getNetworkType({isInnerInvoke:!0,success:function(B){A.networkType=B.networkType,B="https://open.weixin.qq.com/sdk/report?v="+A.version+"&o="+A.isPreVerifyOk+"&s="+A.systemType+"&c="+A.clientVersion+"&a="+A.appId+"&n="+A.networkType+"&i="+A.initTime+"&p="+A.preVerifyTime+"&u="+A.url+"&jsapi_name="+(g?g.jsApiName:""),L.src=B}}))}function Ee(){return new Date().getTime()}function ce(g){y&&(t.WeixinJSBridge?g():a.addEventListener&&a.addEventListener("WeixinJSBridgeReady",g,!1))}})),df.exports}var DC=IC();const cn=qa(DC);function LC(t){return new Promise(n=>{cn.chooseWXPay({timestamp:t.timestamp,nonceStr:t.nonceStr,package:t.package,signType:t.signType,paySign:t.paySign,success:function(){n(!0)},cancel:function(i){console.log(i),n(!1)}})})}const fg=["某杭州电商公司使用后,设计部成本降低60%","某深圳外贸公司使用后,客服响应速度提升5倍","某上海科技公司使用后,年度成本节省120万"];function VC({onPayment:t}){const n=Mi(),[i,s]=Y.useState(599),[a,c]=Y.useState(0);let u=!0;const d=async()=>{if(!u)return;u=!1;let m=await jC({record_id:n.analysis.record_id});LC(m).then(v=>{u=!0,v?t():Lr.error("支付失败")})};Y.useEffect(()=>{const m=setInterval(()=>{s(v=>v>0?v-1:0)},1e3);return()=>clearInterval(m)},[]),Y.useEffect(()=>{const m=setInterval(()=>{c(v=>(v+1)%fg.length)},3e3);return()=>clearInterval(m)},[]);const h=Math.floor(i/60),y=i%60;return P.jsxs("div",{className:"min-h-screen flex flex-col items-center justify-center px-6 py-12 relative",children:[P.jsx("div",{className:"absolute inset-0 opacity-30 blur-xl pointer-events-none",children:P.jsx("div",{className:"absolute top-1/4 left-1/2 -translate-x-1/2 w-80 h-96 bg-gradient-to-br from-red-500 to-gray-800 rounded-2xl p-6",children:P.jsxs("div",{className:"space-y-4",children:[P.jsx("div",{className:"h-8 bg-white/20 rounded"}),P.jsx("div",{className:"h-32 bg-white/20 rounded"}),P.jsx("div",{className:"h-8 bg-white/20 rounded w-2/3"})]})})}),P.jsxs(ne.div,{className:"relative z-10 w-full max-w-md",initial:{opacity:0,y:30},animate:{opacity:1,y:0},children:[P.jsxs(ne.div,{className:"flex items-center justify-center gap-2 mb-6",initial:{scale:0},animate:{scale:1},transition:{type:"spring",delay:.2},children:[P.jsx($y,{className:"w-8 h-8 text-[#00F0FF]"}),P.jsx("span",{className:"text-xl",children:"分析完成!"})]}),P.jsxs(ne.div,{className:"bg-white/5 backdrop-blur-md border border-[#7B61FF]/30 rounded-2xl p-6 mb-6 relative overflow-hidden",initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{delay:.3},children:[P.jsxs("div",{className:"absolute inset-0 backdrop-blur-sm bg-white/5 z-10 flex flex-col items-center justify-center gap-4",children:[P.jsx(qy,{className:"w-16 h-16 text-[#00F0FF]/50"}),P.jsxs("div",{className:"text-center px-4",children:[P.jsxs(ne.div,{className:"mb-2",animate:{opacity:[.7,1,.7]},transition:{duration:2,repeat:1/0},children:[P.jsx("p",{className:"text-sm text-gray-400 mb-1",children:"预计年度节省"}),P.jsxs("div",{className:"text-3xl bg-gradient-to-r from-[#00F0FF] to-[#7B61FF] bg-clip-text text-transparent",children:["¥ ",n.analysis.analysis_result.analyze_data.annual_savings_cost]})]}),P.jsxs(ne.div,{animate:{opacity:[.7,1,.7]},transition:{duration:2,repeat:1/0,delay:.5},children:[P.jsx("p",{className:"text-sm text-gray-400 mb-1",children:"效率提升"}),P.jsxs("div",{className:"text-2xl text-[#00F0FF]",children:[n.analysis.analysis_result.analyze_data.efficiency_improvement," %"]})]})]})]}),P.jsxs("div",{className:"space-y-4 blur-sm select-none",children:[P.jsxs("div",{className:"text-center",children:[P.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"经测算,您的企业每年由于员工不使用AI"}),P.jsx("p",{className:"text-2xl text-red-400 mb-1",children:"额外支出成本约为"}),P.jsxs("div",{className:"text-5xl bg-gradient-to-r from-red-400 to-orange-400 bg-clip-text text-transparent",children:["¥???",",","???"]})]}),P.jsx("div",{className:"h-px bg-gradient-to-r from-transparent via-gray-600 to-transparent"}),P.jsxs("div",{className:"text-center",children:[P.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"优化后,预计每年可节省"}),P.jsxs("div",{className:"text-4xl bg-gradient-to-r from-[#00F0FF] to-[#7B61FF] bg-clip-text text-transparent",children:["¥???",",","???"]})]})]})]}),P.jsxs(ne.div,{className:"bg-gradient-to-br from-[#7B61FF]/20 to-[#00F0FF]/20 backdrop-blur-md border-2 border-[#00F0FF] rounded-2xl p-6 mb-6",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.5},children:[P.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[P.jsx(Od,{className:"w-6 h-6 text-[#00F0FF]"}),P.jsx("h3",{className:"text-xl",children:"解锁完整报告"})]}),P.jsx("div",{className:"space-y-3 mb-6",children:["各部门AI替代率精准评估","具体的降本金额明细","推荐的AI工具组合清单"].map((m,v)=>P.jsxs(ne.div,{className:"flex items-center gap-3 text-sm text-gray-300",initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.6+v*.1},children:[P.jsx("div",{className:"w-5 h-5 bg-[#00F0FF]/20 rounded-full flex items-center justify-center flex-shrink-0",children:P.jsx(Uy,{className:"w-3 h-3 text-[#00F0FF]"})}),P.jsx("span",{children:m})]},v))}),P.jsxs("div",{className:"text-center mb-6",children:[P.jsxs("div",{className:"flex items-center justify-center gap-3 mb-2",children:[P.jsx("span",{className:"text-gray-500 line-through text-lg",children:"¥999"}),P.jsx("span",{className:"bg-red-500 text-white text-xs px-2 py-1 rounded",children:"限时特惠"})]}),P.jsxs("div",{className:"flex items-baseline justify-center gap-1",children:[P.jsx("span",{className:"text-4xl",children:"¥"}),P.jsx("span",{className:"text-6xl bg-gradient-to-r from-[#00F0FF] to-[#7B61FF] bg-clip-text text-transparent",children:"9.9"})]})]}),P.jsxs(ne.button,{className:"w-full py-4 bg-gradient-to-r from-[#7B61FF] to-[#00F0FF] rounded-xl relative overflow-hidden group",whileHover:{scale:1.02},whileTap:{scale:.98},onClick:d,children:[P.jsx(ne.div,{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white/30 to-transparent",animate:{x:["-100%","200%"]},transition:{duration:2,repeat:1/0,repeatDelay:1}}),P.jsxs("span",{className:"relative z-10 flex items-center justify-center gap-2",children:[P.jsx("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"currentColor",children:P.jsx("path",{d:"M8.5 2C6.57 2 5 3.57 5 5.5V6H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-1v-.5C19 3.57 17.43 2 15.5 2h-7zM7 6V5.5C7 4.67 7.67 4 8.5 4h7c.83 0 1.5.67 1.5 1.5V6H7zm5.99 6c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"})}),"微信支付 ¥9.9 解锁报告"]})]}),P.jsxs(ne.div,{className:"mt-4 text-center text-sm text-orange-400 flex items-center justify-center gap-2",animate:{opacity:[1,.5,1]},transition:{duration:1,repeat:1/0},children:[P.jsx($y,{className:"w-4 h-4"}),P.jsxs("span",{children:["优惠将在"," ",P.jsxs("span",{className:"text-lg",children:[String(h).padStart(2,"0"),":",String(y).padStart(2,"0")]})," ","后失效"]})]})]}),P.jsx(ne.div,{className:"bg-white/5 backdrop-blur-sm rounded-xl p-4 overflow-hidden",initial:{opacity:0},animate:{opacity:1},transition:{delay:.8},children:P.jsxs(ne.div,{className:"text-center text-sm text-gray-400 flex items-center justify-center gap-2",initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},children:[P.jsx(Uy,{className:"w-4 h-4 text-green-400 flex-shrink-0"}),P.jsx("span",{children:fg[a]})]},a)}),P.jsxs(ne.div,{className:"mt-6 flex justify-center gap-6 text-xs text-gray-500",initial:{opacity:0},animate:{opacity:1},transition:{delay:1},children:[P.jsxs("div",{className:"flex items-center gap-1",children:[P.jsx(qy,{className:"w-3 h-3"}),P.jsx("span",{children:"安全支付"})]}),P.jsxs("div",{className:"flex items-center gap-1",children:[P.jsx(Yv,{className:"w-3 h-3"}),P.jsx("span",{children:"1000+企业选择"})]}),P.jsxs("div",{className:"flex items-center gap-1",children:[P.jsx(Xv,{className:"w-3 h-3"}),P.jsx("span",{children:"平均节省40%"})]})]})]})]})}function BC(){const t=Mi(),[n,i]=Y.useState({name:"",phone:"",company:""}),[s,a]=Y.useState(!1),[c,u]=Y.useState(!1),d=async h=>{h.preventDefault(),await MC({contact_name:n.name,contact_phone:n.phone,enterprise_name:n.company,record_id:t.analysis.record_id}),a(!0)};return s?P.jsxs("div",{className:"min-h-screen px-6 py-12 pb-32",children:[P.jsxs(ne.div,{className:"max-w-2xl mx-auto",initial:{opacity:0},animate:{opacity:1},children:[P.jsxs(ne.div,{className:"text-center mb-12",initial:{opacity:0,y:-20},animate:{opacity:1,y:0},children:[P.jsx("h1",{className:"text-3xl mb-2",children:"AI降本增效诊断报告"}),P.jsxs("p",{className:"text-gray-400",children:["为 ",n.company||n.name," 定制"]})]}),P.jsxs("div",{className:"grid grid-cols-2 gap-4 mb-8",children:[P.jsxs(ne.div,{className:"bg-gradient-to-br from-red-500/20 to-red-500/5 border border-red-500/30 rounded-xl p-6",initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.2},children:[P.jsx("div",{className:"text-red-400 text-sm mb-2",children:"年度额外支出"}),P.jsxs("div",{className:"text-3xl",children:["¥",t.analysis.analysis_result.analyze_data.annual_original_cost]})]}),P.jsxs(ne.div,{className:"bg-gradient-to-br from-[#00F0FF]/20 to-[#00F0FF]/5 border border-[#00F0FF]/30 rounded-xl p-6",initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{delay:.3},children:[P.jsx("div",{className:"text-[#00F0FF] text-sm mb-2",children:"预计年节省"}),P.jsxs("div",{className:"text-3xl",children:["¥",t.analysis.analysis_result.analyze_data.annual_savings_cost]})]})]}),P.jsxs(ne.div,{className:"bg-white/5 backdrop-blur-sm border border-gray-600 rounded-2xl p-6 mb-8",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.4},children:[P.jsxs("h3",{className:"text-xl mb-6 flex items-center gap-2",children:[P.jsx(Yv,{className:"w-6 h-6 text-[#00F0FF]"}),"各部门优化分析"]}),P.jsx("div",{className:"space-y-4",children:t.analysis.analysis_result.analyze_data.analyze_postion_detail.map((h,y)=>{let m=0;return h.replace_save_rate<30?m=0:h.replace_save_rate<70?m=1:m=2,P.jsxs(ne.div,{className:`p-4 rounded-xl border ${m==2?"bg-red-500/10 border-red-500/30":m==1?"bg-orange-500/10 border-orange-500/30":"bg-yellow-500/10 border-yellow-500/30"}`,initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.5+y*.1},children:[P.jsxs("div",{className:"flex items-center justify-between mb-3",children:[P.jsxs("div",{children:[P.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[P.jsx("span",{className:"font-medium",children:h.position}),m==2&&P.jsx("span",{className:"text-xs bg-red-500 text-white px-2 py-0.5 rounded",children:"急需优化"})]}),P.jsxs("div",{className:"text-sm text-gray-400",children:[h.original_number,"人 → ",h.replace_with_ai_number,"人 + AI"]})]}),P.jsxs("div",{className:"text-right",children:[P.jsxs("div",{className:`text-2xl ${m==2?"text-red-400":m==1?"text-orange-400":"text-yellow-400"}`,children:["-",h.replace_save_rate,"%"]}),P.jsx("div",{className:"text-xs text-gray-500",children:"成本降低"})]})]}),P.jsx("div",{className:"h-2 bg-gray-800 rounded-full overflow-hidden",children:P.jsx(ne.div,{className:`h-full ${m==2?"bg-red-400":m==1?"bg-orange-400":"bg-yellow-400"}`,initial:{width:0},animate:{width:`${h.replace_save_rate}%`},transition:{delay:.7+y*.1,duration:1}})})]},h.position)})})]}),P.jsxs(ne.div,{className:"bg-gradient-to-br from-[#7B61FF]/20 to-[#00F0FF]/20 backdrop-blur-sm border border-[#00F0FF]/30 rounded-2xl p-6 mb-8",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.9},children:[P.jsxs("h3",{className:"text-xl mb-4 flex items-center gap-2",children:[P.jsx(Va,{className:"w-6 h-6 text-[#00F0FF]"}),"推荐AI工具组合"]}),P.jsx("div",{className:"grid grid-cols-2 gap-3",children:["文案生成AI","设计辅助AI","智能客服系统","数据分析AI","自动化运营工具","会议记录AI"].map((h,y)=>P.jsx(ne.div,{className:"bg-white/5 border border-gray-600 rounded-lg px-4 py-3 text-sm text-center",initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{delay:1+y*.05},children:h},h))})]}),P.jsxs(ne.div,{className:"relative bg-gradient-to-br from-[#7B61FF] to-[#00F0FF] rounded-3xl p-8 text-center overflow-hidden",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:1.2},children:[P.jsx(ne.div,{className:"absolute inset-0 opacity-20",animate:{backgroundPosition:["0% 0%","100% 100%"]},transition:{duration:20,repeat:1/0,repeatType:"reverse"},style:{backgroundImage:"radial-gradient(circle, white 1px, transparent 1px)",backgroundSize:"30px 30px"}}),P.jsxs("div",{className:"relative z-10",children:[P.jsxs(ne.div,{className:"flex items-center justify-center gap-2 mb-4",animate:{scale:[1,1.05,1]},transition:{duration:2,repeat:1/0},children:[P.jsx(Od,{className:"w-8 h-8 text-white"}),P.jsx("h3",{className:"text-2xl text-white",children:"知道问题了,不知道怎么落地?"})]}),P.jsxs("p",{className:"text-white/90 mb-6 text-lg",children:["专属AI顾问为您提供",P.jsx("br",{}),P.jsx("span",{className:"text-white",children:"行业定制版AI工具包 + 员工培训方案"})]}),P.jsxs(ne.button,{className:"w-full max-w-sm mx-auto py-5 bg-white text-[#7B61FF] rounded-2xl flex items-center justify-center gap-3 shadow-2xl",whileHover:{scale:1.05,boxShadow:"0 20px 40px rgba(0,0,0,0.3)"},whileTap:{scale:.95},onClick:()=>u(!0),children:[P.jsx(pc,{className:"w-6 h-6"}),P.jsx("span",{className:"text-lg",children:"立即咨询专属AI顾问"}),P.jsx(bT,{className:"w-6 h-6"})]}),P.jsxs(ne.div,{className:"mt-4 flex items-center justify-center gap-2 text-white/90",animate:{opacity:[.7,1,.7]},transition:{duration:2,repeat:1/0},children:[P.jsx(WT,{className:"w-5 h-5"}),P.jsx("span",{children:"限时赠送《2025企业AI工具白皮书》"})]})]})]})]}),P.jsxs(ne.button,{className:"fixed bottom-6 left-1/2 -translate-x-1/2 px-8 py-4 bg-gradient-to-r from-[#7B61FF] to-[#00F0FF] rounded-full shadow-2xl flex items-center justify-center gap-3 z-50 max-w-[90vw]",initial:{y:100,opacity:0},animate:{y:0,opacity:1},transition:{delay:1.5,type:"spring"},whileHover:{scale:1.05,y:-5},whileTap:{scale:.95},onClick:()=>u(!0),children:[P.jsx(pc,{className:"w-6 h-6 text-white"}),P.jsx("span",{className:"text-white whitespace-nowrap",children:"点击获取 1对1定制化AI落地方案"}),P.jsx(ne.div,{className:"absolute inset-0 rounded-full border-2 border-white",animate:{scale:[1,1.2,1],opacity:[.6,0,.6]},transition:{duration:2,repeat:1/0}}),P.jsx(ne.div,{className:"absolute inset-0 rounded-full bg-gradient-to-r from-[#7B61FF] to-[#00F0FF] blur-xl opacity-50",animate:{opacity:[.3,.6,.3]},transition:{duration:2,repeat:1/0}})]}),P.jsx(X2,{children:c&&P.jsxs(ne.div,{className:"fixed inset-0 z-50 flex items-center justify-center px-6",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:[P.jsx(ne.div,{className:"absolute inset-0 bg-black/80 backdrop-blur-sm",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:()=>u(!1)}),P.jsxs(ne.div,{className:"relative bg-gradient-to-br from-[#0A0F24] to-[#1a1f3a] border-2 border-[#00F0FF] rounded-3xl p-8 max-w-md w-full",initial:{scale:.8,y:50},animate:{scale:1,y:0},exit:{scale:.8,y:50},transition:{type:"spring"},children:[P.jsx("button",{className:"absolute top-4 right-4 text-gray-400 hover:text-white transition-colors",onClick:()=>u(!1),children:P.jsx(rk,{className:"w-6 h-6"})}),P.jsx(ne.div,{className:"flex justify-center mb-6",initial:{scale:0},animate:{scale:1},transition:{type:"spring",delay:.2},children:P.jsx(ne.div,{className:"w-20 h-20 bg-gradient-to-br from-[#7B61FF] to-[#00F0FF] rounded-full flex items-center justify-center",animate:{boxShadow:["0 0 20px rgba(0, 240, 255, 0.5)","0 0 40px rgba(123, 97, 255, 0.8)","0 0 20px rgba(0, 240, 255, 0.5)"]},transition:{duration:2,repeat:1/0},children:P.jsx(pc,{className:"w-10 h-10 text-white"})})}),P.jsxs(ne.div,{className:"text-center mb-8",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3},children:[P.jsx("h3",{className:"text-2xl mb-4",children:"添加专属AI顾问"}),P.jsx("p",{className:"text-gray-300 mb-6",children:"扫描下方二维码,即可获得:"}),P.jsx("div",{className:"space-y-3 mb-6 text-left",children:["1对1定制化AI落地方案","行业专属AI工具包推荐","全员AI技能培训指导","《2025企业AI工具白皮书》PDF"].map((h,y)=>P.jsxs(ne.div,{className:"flex items-center gap-3 text-sm text-gray-300",initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.4+y*.1},children:[P.jsx("div",{className:"w-6 h-6 bg-[#00F0FF]/20 rounded-full flex items-center justify-center flex-shrink-0",children:P.jsx(Wy,{className:"w-4 h-4 text-[#00F0FF]"})}),P.jsx("span",{children:h})]},y))}),P.jsx(ne.div,{className:"bg-white rounded-2xl p-4 inline-block mb-4",initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{delay:.6},children:P.jsx("div",{className:"w-48 h-48 bg-gray-300 rounded-xl flex items-center justify-center text-gray-600 text-xs text-center px-4",children:P.jsx("img",{src:"https://keyang2.tuzuu.com/%E6%95%88%E7%81%B5/kf.jpg"})})}),P.jsxs(ne.p,{className:"text-sm text-gray-400",initial:{opacity:0},animate:{opacity:1},transition:{delay:.8},children:["顾问微信二维码,长按识别添加",P.jsx("br",{}),"添加后回复「",n.company||n.name,"」",P.jsx("br",{}),"立即获取专属方案"]})]})]})]})})]}):P.jsx("div",{className:"min-h-screen flex flex-col items-center justify-center px-6 py-12",children:P.jsxs(ne.div,{className:"w-full max-w-md",initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},children:[P.jsx(ne.div,{className:"flex justify-center mb-8",initial:{scale:0},animate:{scale:1},transition:{type:"spring",delay:.2},children:P.jsx("div",{className:"w-20 h-20 bg-gradient-to-br from-[#7B61FF] to-[#00F0FF] rounded-full flex items-center justify-center",children:P.jsx(Wy,{className:"w-12 h-12 text-white"})})}),P.jsx(ne.h2,{className:"text-2xl text-center mb-2",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3},children:"报告已生成!"}),P.jsx(ne.p,{className:"text-gray-400 text-center mb-8",initial:{opacity:0},animate:{opacity:1},transition:{delay:.4},children:"请输入接收人信息以存档"}),P.jsxs(ne.form,{className:"space-y-4",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.5},onSubmit:d,children:[P.jsxs("div",{children:[P.jsx("label",{className:"block text-sm text-gray-400 mb-2",children:"姓名 *"}),P.jsx("input",{type:"text",required:!0,className:"w-full px-4 py-3 bg-white/5 border border-gray-600 rounded-xl focus:border-[#00F0FF] focus:outline-none transition-colors",placeholder:"请输入您的姓名",value:n.name,onChange:h=>i({...n,name:h.target.value})})]}),P.jsxs("div",{children:[P.jsx("label",{className:"block text-sm text-gray-400 mb-2",children:"手机号 *"}),P.jsx("input",{type:"tel",required:!0,maxLength:11,pattern:"[0-9]{11}",className:"w-full px-4 py-3 bg-white/5 border border-gray-600 rounded-xl focus:border-[#00F0FF] focus:outline-none transition-colors",placeholder:"请输入手机号",value:n.phone,onChange:h=>i({...n,phone:h.target.value})})]}),P.jsxs("div",{children:[P.jsx("label",{className:"block text-sm text-gray-400 mb-2",children:"企业名称(选填)"}),P.jsx("input",{type:"text",className:"w-full px-4 py-3 bg-white/5 border border-gray-600 rounded-xl focus:border-[#00F0FF] focus:outline-none transition-colors",placeholder:"请输入企业名称",value:n.company,onChange:h=>i({...n,company:h.target.value})})]}),P.jsxs(ne.button,{type:"submit",className:"w-full py-4 bg-gradient-to-r from-[#7B61FF] to-[#00F0FF] rounded-xl flex items-center justify-center gap-2",whileHover:{scale:1.02},whileTap:{scale:.98},children:[P.jsx(UT,{className:"w-5 h-5"}),"查看报告"]})]})]})})}function zC(t){return qr.post("/login",t)}function UC(t){return qr.get("/get_jssdk",t)}function $C(){return qr.get("/get_share_config")}const WC=["snsapi_base","snsapi_userinfo"],HC="wxbc438492e3efab70";let Jf=window.location.href,pf=Jf.split("?")[0];function qC(){return new Promise(t=>{if(Mi.getState().token){t(!0);return}let i=Bo.parse(Jf.split("?")[1]);i.code?zC({wx_code:i.code,...i}).then(s=>{if(!s.accessToken){delete i.code,delete i.state,pf=pf+Bo.stringify(i),dg(pf);return}Mi.getState().setToken(s.accessToken),t(!0)}):dg(Jf)})}function dg(t){t=encodeURIComponent(t),window.location.href=`https://open.weixin.qq.com/connect/oauth2/authorize?appid=${HC}&redirect_uri=${t}&response_type=code&scope=${WC[1]}#wechat_redirect`}async function KC(){if(!(navigator.userAgent.toLowerCase().indexOf("micromessenger")!==-1))return;let n=Bo.parse(window.location.search.split("?")[1]);delete n.code;let i=await UC({url:window.location.href}),s=await $C();const a={title:s.share_title,desc:s.share_sub_title,link:window.location.href,imgUrl:"https://keyang2.tuzuu.com/%E6%95%88%E7%81%B5/logo.jpg"};cn.config({debug:!1,appId:i.jssdk.appId,timestamp:i.jssdk.timestamp,nonceStr:i.jssdk.nonceStr,signature:i.jssdk.signature,jsApiList:i.jssdk.jsApiList,openTagList:["wx-open-launch-weapp"]}),cn.ready(function(){cn.updateAppMessageShareData&&cn.updateAppMessageShareData({title:a.title,desc:a.desc,link:a.link,imgUrl:a.imgUrl,success:()=>{console.log("分享朋友成功")}}),cn.updateTimelineShareData&&cn.updateTimelineShareData({title:a.title,link:a.link,imgUrl:a.imgUrl,success:()=>{console.log("分享朋友圈")}}),cn.onMenuShareAppMessage&&cn.onMenuShareAppMessage({title:a.title,desc:a.desc,link:a.link,imgUrl:a.imgUrl,success:()=>{console.log("旧版本分享朋友成功")},cancel:()=>{}}),cn.onMenuShareTimeline&&cn.onMenuShareTimeline({title:a.title,link:a.link,imgUrl:a.imgUrl,success:()=>{console.log("旧版本分享朋友圈")},cancel:()=>{}})})}var hf={exports:{}},pg;function GC(){return pg||(pg=1,(function(t,n){(function(i){t.exports=i()})(function(i){var s=function(b,E){return b+E&4294967295},a=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function c(b,E,N,_,V,j){return E=s(s(E,b),s(_,j)),s(E<<V|E>>>32-V,N)}function u(b,E,N,_,V,j,se){return c(E&N|~E&_,b,E,V,j,se)}function d(b,E,N,_,V,j,se){return c(E&_|N&~_,b,E,V,j,se)}function h(b,E,N,_,V,j,se){return c(E^N^_,b,E,V,j,se)}function y(b,E,N,_,V,j,se){return c(N^(E|~_),b,E,V,j,se)}function m(b,E){var N=b[0],_=b[1],V=b[2],j=b[3];N=u(N,_,V,j,E[0],7,-680876936),j=u(j,N,_,V,E[1],12,-389564586),V=u(V,j,N,_,E[2],17,606105819),_=u(_,V,j,N,E[3],22,-1044525330),N=u(N,_,V,j,E[4],7,-176418897),j=u(j,N,_,V,E[5],12,1200080426),V=u(V,j,N,_,E[6],17,-1473231341),_=u(_,V,j,N,E[7],22,-45705983),N=u(N,_,V,j,E[8],7,1770035416),j=u(j,N,_,V,E[9],12,-1958414417),V=u(V,j,N,_,E[10],17,-42063),_=u(_,V,j,N,E[11],22,-1990404162),N=u(N,_,V,j,E[12],7,1804603682),j=u(j,N,_,V,E[13],12,-40341101),V=u(V,j,N,_,E[14],17,-1502002290),_=u(_,V,j,N,E[15],22,1236535329),N=d(N,_,V,j,E[1],5,-165796510),j=d(j,N,_,V,E[6],9,-1069501632),V=d(V,j,N,_,E[11],14,643717713),_=d(_,V,j,N,E[0],20,-373897302),N=d(N,_,V,j,E[5],5,-701558691),j=d(j,N,_,V,E[10],9,38016083),V=d(V,j,N,_,E[15],14,-660478335),_=d(_,V,j,N,E[4],20,-405537848),N=d(N,_,V,j,E[9],5,568446438),j=d(j,N,_,V,E[14],9,-1019803690),V=d(V,j,N,_,E[3],14,-187363961),_=d(_,V,j,N,E[8],20,1163531501),N=d(N,_,V,j,E[13],5,-1444681467),j=d(j,N,_,V,E[2],9,-51403784),V=d(V,j,N,_,E[7],14,1735328473),_=d(_,V,j,N,E[12],20,-1926607734),N=h(N,_,V,j,E[5],4,-378558),j=h(j,N,_,V,E[8],11,-2022574463),V=h(V,j,N,_,E[11],16,1839030562),_=h(_,V,j,N,E[14],23,-35309556),N=h(N,_,V,j,E[1],4,-1530992060),j=h(j,N,_,V,E[4],11,1272893353),V=h(V,j,N,_,E[7],16,-155497632),_=h(_,V,j,N,E[10],23,-1094730640),N=h(N,_,V,j,E[13],4,681279174),j=h(j,N,_,V,E[0],11,-358537222),V=h(V,j,N,_,E[3],16,-722521979),_=h(_,V,j,N,E[6],23,76029189),N=h(N,_,V,j,E[9],4,-640364487),j=h(j,N,_,V,E[12],11,-421815835),V=h(V,j,N,_,E[15],16,530742520),_=h(_,V,j,N,E[2],23,-995338651),N=y(N,_,V,j,E[0],6,-198630844),j=y(j,N,_,V,E[7],10,1126891415),V=y(V,j,N,_,E[14],15,-1416354905),_=y(_,V,j,N,E[5],21,-57434055),N=y(N,_,V,j,E[12],6,1700485571),j=y(j,N,_,V,E[3],10,-1894986606),V=y(V,j,N,_,E[10],15,-1051523),_=y(_,V,j,N,E[1],21,-2054922799),N=y(N,_,V,j,E[8],6,1873313359),j=y(j,N,_,V,E[15],10,-30611744),V=y(V,j,N,_,E[6],15,-1560198380),_=y(_,V,j,N,E[13],21,1309151649),N=y(N,_,V,j,E[4],6,-145523070),j=y(j,N,_,V,E[11],10,-1120210379),V=y(V,j,N,_,E[2],15,718787259),_=y(_,V,j,N,E[9],21,-343485551),b[0]=s(N,b[0]),b[1]=s(_,b[1]),b[2]=s(V,b[2]),b[3]=s(j,b[3])}function v(b){var E=[],N;for(N=0;N<64;N+=4)E[N>>2]=b.charCodeAt(N)+(b.charCodeAt(N+1)<<8)+(b.charCodeAt(N+2)<<16)+(b.charCodeAt(N+3)<<24);return E}function w(b){var E=[],N;for(N=0;N<64;N+=4)E[N>>2]=b[N]+(b[N+1]<<8)+(b[N+2]<<16)+(b[N+3]<<24);return E}function k(b){var E=b.length,N=[1732584193,-271733879,-1732584194,271733878],_,V,j,se,pe,Pe;for(_=64;_<=E;_+=64)m(N,v(b.substring(_-64,_)));for(b=b.substring(_-64),V=b.length,j=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],_=0;_<V;_+=1)j[_>>2]|=b.charCodeAt(_)<<(_%4<<3);if(j[_>>2]|=128<<(_%4<<3),_>55)for(m(N,j),_=0;_<16;_+=1)j[_]=0;return se=E*8,se=se.toString(16).match(/(.*?)(.{0,8})$/),pe=parseInt(se[2],16),Pe=parseInt(se[1],16)||0,j[14]=pe,j[15]=Pe,m(N,j),N}function T(b){var E=b.length,N=[1732584193,-271733879,-1732584194,271733878],_,V,j,se,pe,Pe;for(_=64;_<=E;_+=64)m(N,w(b.subarray(_-64,_)));for(b=_-64<E?b.subarray(_-64):new Uint8Array(0),V=b.length,j=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],_=0;_<V;_+=1)j[_>>2]|=b[_]<<(_%4<<3);if(j[_>>2]|=128<<(_%4<<3),_>55)for(m(N,j),_=0;_<16;_+=1)j[_]=0;return se=E*8,se=se.toString(16).match(/(.*?)(.{0,8})$/),pe=parseInt(se[2],16),Pe=parseInt(se[1],16)||0,j[14]=pe,j[15]=Pe,m(N,j),N}function A(b){var E="",N;for(N=0;N<4;N+=1)E+=a[b>>N*8+4&15]+a[b>>N*8&15];return E}function S(b){var E;for(E=0;E<b.length;E+=1)b[E]=A(b[E]);return b.join("")}S(k("hello"))!=="5d41402abc4b2a76b9719d911017c592"&&(s=function(b,E){var N=(b&65535)+(E&65535),_=(b>>16)+(E>>16)+(N>>16);return _<<16|N&65535}),typeof ArrayBuffer<"u"&&!ArrayBuffer.prototype.slice&&(function(){function b(E,N){return E=E|0||0,E<0?Math.max(E+N,0):Math.min(E,N)}ArrayBuffer.prototype.slice=function(E,N){var _=this.byteLength,V=b(E,_),j=_,se,pe,Pe,Ee;return N!==i&&(j=b(N,_)),V>j?new ArrayBuffer(0):(se=j-V,pe=new ArrayBuffer(se),Pe=new Uint8Array(pe),Ee=new Uint8Array(this,V,se),Pe.set(Ee),pe)}})();function R(b){return/[\u0080-\uFFFF]/.test(b)&&(b=unescape(encodeURIComponent(b))),b}function O(b,E){var N=b.length,_=new ArrayBuffer(N),V=new Uint8Array(_),j;for(j=0;j<N;j+=1)V[j]=b.charCodeAt(j);return E?V:_}function D(b){return String.fromCharCode.apply(null,new Uint8Array(b))}function U(b,E,N){var _=new Uint8Array(b.byteLength+E.byteLength);return _.set(new Uint8Array(b)),_.set(new Uint8Array(E),b.byteLength),_}function H(b){var E=[],N=b.length,_;for(_=0;_<N-1;_+=2)E.push(parseInt(b.substr(_,2),16));return String.fromCharCode.apply(String,E)}function q(){this.reset()}return q.prototype.append=function(b){return this.appendBinary(R(b)),this},q.prototype.appendBinary=function(b){this._buff+=b,this._length+=b.length;var E=this._buff.length,N;for(N=64;N<=E;N+=64)m(this._hash,v(this._buff.substring(N-64,N)));return this._buff=this._buff.substring(N-64),this},q.prototype.end=function(b){var E=this._buff,N=E.length,_,V=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],j;for(_=0;_<N;_+=1)V[_>>2]|=E.charCodeAt(_)<<(_%4<<3);return this._finish(V,N),j=S(this._hash),b&&(j=H(j)),this.reset(),j},q.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},q.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash}},q.prototype.setState=function(b){return this._buff=b.buff,this._length=b.length,this._hash=b.hash,this},q.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},q.prototype._finish=function(b,E){var N=E,_,V,j;if(b[N>>2]|=128<<(N%4<<3),N>55)for(m(this._hash,b),N=0;N<16;N+=1)b[N]=0;_=this._length*8,_=_.toString(16).match(/(.*?)(.{0,8})$/),V=parseInt(_[2],16),j=parseInt(_[1],16)||0,b[14]=V,b[15]=j,m(this._hash,b)},q.hash=function(b,E){return q.hashBinary(R(b),E)},q.hashBinary=function(b,E){var N=k(b),_=S(N);return E?H(_):_},q.ArrayBuffer=function(){this.reset()},q.ArrayBuffer.prototype.append=function(b){var E=U(this._buff.buffer,b),N=E.length,_;for(this._length+=b.byteLength,_=64;_<=N;_+=64)m(this._hash,w(E.subarray(_-64,_)));return this._buff=_-64<N?new Uint8Array(E.buffer.slice(_-64)):new Uint8Array(0),this},q.ArrayBuffer.prototype.end=function(b){var E=this._buff,N=E.length,_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],V,j;for(V=0;V<N;V+=1)_[V>>2]|=E[V]<<(V%4<<3);return this._finish(_,N),j=S(this._hash),b&&(j=H(j)),this.reset(),j},q.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},q.ArrayBuffer.prototype.getState=function(){var b=q.prototype.getState.call(this);return b.buff=D(b.buff),b},q.ArrayBuffer.prototype.setState=function(b){return b.buff=O(b.buff,!0),q.prototype.setState.call(this,b)},q.ArrayBuffer.prototype.destroy=q.prototype.destroy,q.ArrayBuffer.prototype._finish=q.prototype._finish,q.ArrayBuffer.hash=function(b,E){var N=T(new Uint8Array(b)),_=S(N);return E?H(_):_},q})})(hf)),hf.exports}var QC=GC();const XC=qa(QC);class YC{md5(n,i,s){this.aborted=!1,this.progress=0;let a=0;const c=File.prototype.slice||File.prototype.mozSlice||File.prototype.webkitSlice,u=2097152,d=Math.ceil(n.size/u),h=new XC.ArrayBuffer,y=new FileReader;m(),y.onloadend=v=>{if(h.append(v.target.result),a++,this.progress=a/d,s&&typeof s=="function"&&s(this.progress),this.aborted){i("aborted");return}a<d?m():i(null,h.end())};function m(){const v=a*u,w=v+u>=n.size?n.size:v+u;y.readAsArrayBuffer(c.call(n,v,w))}}abort(){this.aborted=!0}}function JC(t){const n=new YC;return new Promise(i=>{n.md5(t,(s,a)=>i(a))})}function ZC(t){return qr.get("/get_qiniu_upload_token",{file_key:t})}async function eF(t,n){let i=new FormData,s=await JC(t),a=t.name.split(".")[1],c=await ZC("效灵"+n+"/"+s+"."+a);i.append("token",c.up_token),i.append("upload_url",c.upload_url),i.append("imgPrefix",c.domain),i.append("key",c.file_key),i.append("file",t);let d=(await Ke.post(c.upload_url,i)).data;return d.key?`https://${c.domain}/${d.key}`:null}function tF(){const t=Mi(),[n,i]=Y.useState(!1),[s,a]=Y.useState(1),c=()=>{a(h=>Math.min(h+1,5))},u=async h=>{c();let y=await eF(h,"/analyze"),m=await OC({analys_image:y,analys_type:null});if(m.analysis_result.analyze_ret!="success"){Lr.error("请重新上传结构清晰的组织架构图"),a(v=>2);return}t.setAnalysis(m),c()},d=()=>{c()};return Y.useEffect(()=>{qC().then(()=>{i(!0),KC().then()})},[]),n?P.jsxs(P.Fragment,{children:[P.jsx(NC,{position:"top-center"}),P.jsxs("div",{className:"min-h-screen bg-[#0A0F24] text-white overflow-x-hidden relative",children:[P.jsx("div",{className:"fixed inset-0 pointer-events-none",children:P.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#7B61FF]/10 via-transparent to-[#00F0FF]/10"})}),P.jsxs("div",{className:"relative z-10",children:[s===1&&P.jsx(ok,{onNext:c}),s===2&&P.jsx(sk,{onSuccess:u}),s===3&&P.jsx(ak,{}),s===4&&P.jsx(VC,{onPayment:d}),s===5&&P.jsx(BC,{})]})]})]}):P.jsx(P.Fragment,{})}Kw.createRoot(document.getElementById("root")).render(P.jsx(tF,{}));
|