355 lines
413 KiB
JavaScript
355 lines
413 KiB
JavaScript
(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))s(l);new MutationObserver(l=>{for(const c of l)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(l){const c={};return l.integrity&&(c.integrity=l.integrity),l.referrerPolicy&&(c.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?c.credentials="include":l.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function s(l){if(l.ep)return;l.ep=!0;const c=i(l);fetch(l.href,c)}})();var gm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Yf(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Iw(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 l=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(i,s,l.get?l:{enumerable:!0,get:function(){return t[s]}})}),i}var qu={exports:{}},Ao={},Ku={exports:{}},Te={};/**
|
||
* @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 vm;function Dw(){if(vm)return Te;vm=1;var t=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),l=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"),x=Symbol.iterator;function w(A){return A===null||typeof A!="object"?null:(A=x&&A[x]||A["@@iterator"],typeof A=="function"?A:null)}var P={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},k=Object.assign,T={};function S(A,U,ee){this.props=A,this.context=U,this.refs=T,this.updater=ee||P}S.prototype.isReactComponent={},S.prototype.setState=function(A,U){if(typeof A!="object"&&typeof A!="function"&&A!=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,A,U,"setState")},S.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function _(){}_.prototype=S.prototype;function N(A,U,ee){this.props=A,this.context=U,this.refs=T,this.updater=ee||P}var b=N.prototype=new _;b.constructor=N,k(b,S.prototype),b.isPureReactComponent=!0;var D=Array.isArray,W=Object.prototype.hasOwnProperty,q={current:null},H={key:!0,ref:!0,__self:!0,__source:!0};function I(A,U,ee){var oe,Z={},fe=null,Ce=null;if(U!=null)for(oe in U.ref!==void 0&&(Ce=U.ref),U.key!==void 0&&(fe=""+U.key),U)W.call(U,oe)&&!H.hasOwnProperty(oe)&&(Z[oe]=U[oe]);var me=arguments.length-2;if(me===1)Z.children=ee;else if(1<me){for(var Ee=Array(me),xe=0;xe<me;xe++)Ee[xe]=arguments[xe+2];Z.children=Ee}if(A&&A.defaultProps)for(oe in me=A.defaultProps,me)Z[oe]===void 0&&(Z[oe]=me[oe]);return{$$typeof:t,type:A,key:fe,ref:Ce,props:Z,_owner:q.current}}function ne(A,U){return{$$typeof:t,type:A.type,key:U,ref:A.ref,props:A.props,_owner:A._owner}}function te(A){return typeof A=="object"&&A!==null&&A.$$typeof===t}function he(A){var U={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(ee){return U[ee]})}var re=/\/+/g;function Se(A,U){return typeof A=="object"&&A!==null&&A.key!=null?he(""+A.key):U.toString(36)}function ge(A,U,ee,oe,Z){var fe=typeof A;(fe==="undefined"||fe==="boolean")&&(A=null);var Ce=!1;if(A===null)Ce=!0;else switch(fe){case"string":case"number":Ce=!0;break;case"object":switch(A.$$typeof){case t:case n:Ce=!0}}if(Ce)return Ce=A,Z=Z(Ce),A=oe===""?"."+Se(Ce,0):oe,D(Z)?(ee="",A!=null&&(ee=A.replace(re,"$&/")+"/"),ge(Z,U,ee,"",function(xe){return xe})):Z!=null&&(te(Z)&&(Z=ne(Z,ee+(!Z.key||Ce&&Ce.key===Z.key?"":(""+Z.key).replace(re,"$&/")+"/")+A)),U.push(Z)),1;if(Ce=0,oe=oe===""?".":oe+":",D(A))for(var me=0;me<A.length;me++){fe=A[me];var Ee=oe+Se(fe,me);Ce+=ge(fe,U,ee,Ee,Z)}else if(Ee=w(A),typeof Ee=="function")for(A=Ee.call(A),me=0;!(fe=A.next()).done;)fe=fe.value,Ee=oe+Se(fe,me++),Ce+=ge(fe,U,ee,Ee,Z);else if(fe==="object")throw U=String(A),Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.");return Ce}function _e(A,U,ee){if(A==null)return A;var oe=[],Z=0;return ge(A,oe,"","",function(fe){return U.call(ee,fe,Z++)}),oe}function Pe(A){if(A._status===-1){var U=A._result;U=U(),U.then(function(ee){(A._status===0||A._status===-1)&&(A._status=1,A._result=ee)},function(ee){(A._status===0||A._status===-1)&&(A._status=2,A._result=ee)}),A._status===-1&&(A._status=0,A._result=U)}if(A._status===1)return A._result.default;throw A._result}var le={current:null},g={transition:null},O={ReactCurrentDispatcher:le,ReactCurrentBatchConfig:g,ReactCurrentOwner:q};function M(){throw Error("act(...) is not supported in production builds of React.")}return Te.Children={map:_e,forEach:function(A,U,ee){_e(A,function(){U.apply(this,arguments)},ee)},count:function(A){var U=0;return _e(A,function(){U++}),U},toArray:function(A){return _e(A,function(U){return U})||[]},only:function(A){if(!te(A))throw Error("React.Children.only expected to receive a single React element child.");return A}},Te.Component=S,Te.Fragment=i,Te.Profiler=l,Te.PureComponent=N,Te.StrictMode=s,Te.Suspense=h,Te.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,Te.act=M,Te.cloneElement=function(A,U,ee){if(A==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+A+".");var oe=k({},A.props),Z=A.key,fe=A.ref,Ce=A._owner;if(U!=null){if(U.ref!==void 0&&(fe=U.ref,Ce=q.current),U.key!==void 0&&(Z=""+U.key),A.type&&A.type.defaultProps)var me=A.type.defaultProps;for(Ee in U)W.call(U,Ee)&&!H.hasOwnProperty(Ee)&&(oe[Ee]=U[Ee]===void 0&&me!==void 0?me[Ee]:U[Ee])}var Ee=arguments.length-2;if(Ee===1)oe.children=ee;else if(1<Ee){me=Array(Ee);for(var xe=0;xe<Ee;xe++)me[xe]=arguments[xe+2];oe.children=me}return{$$typeof:t,type:A.type,key:Z,ref:fe,props:oe,_owner:Ce}},Te.createContext=function(A){return A={$$typeof:u,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},A.Provider={$$typeof:c,_context:A},A.Consumer=A},Te.createElement=I,Te.createFactory=function(A){var U=I.bind(null,A);return U.type=A,U},Te.createRef=function(){return{current:null}},Te.forwardRef=function(A){return{$$typeof:d,render:A}},Te.isValidElement=te,Te.lazy=function(A){return{$$typeof:m,_payload:{_status:-1,_result:A},_init:Pe}},Te.memo=function(A,U){return{$$typeof:y,type:A,compare:U===void 0?null:U}},Te.startTransition=function(A){var U=g.transition;g.transition={};try{A()}finally{g.transition=U}},Te.unstable_act=M,Te.useCallback=function(A,U){return le.current.useCallback(A,U)},Te.useContext=function(A){return le.current.useContext(A)},Te.useDebugValue=function(){},Te.useDeferredValue=function(A){return le.current.useDeferredValue(A)},Te.useEffect=function(A,U){return le.current.useEffect(A,U)},Te.useId=function(){return le.current.useId()},Te.useImperativeHandle=function(A,U,ee){return le.current.useImperativeHandle(A,U,ee)},Te.useInsertionEffect=function(A,U){return le.current.useInsertionEffect(A,U)},Te.useLayoutEffect=function(A,U){return le.current.useLayoutEffect(A,U)},Te.useMemo=function(A,U){return le.current.useMemo(A,U)},Te.useReducer=function(A,U,ee){return le.current.useReducer(A,U,ee)},Te.useRef=function(A){return le.current.useRef(A)},Te.useState=function(A){return le.current.useState(A)},Te.useSyncExternalStore=function(A,U,ee){return le.current.useSyncExternalStore(A,U,ee)},Te.useTransition=function(){return le.current.useTransition()},Te.version="18.3.1",Te}var xm;function Jf(){return xm||(xm=1,Ku.exports=Dw()),Ku.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 wm;function Lw(){if(wm)return Ao;wm=1;var t=Jf(),n=Symbol.for("react.element"),i=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,l=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,x={},w=null,P=null;y!==void 0&&(w=""+y),h.key!==void 0&&(w=""+h.key),h.ref!==void 0&&(P=h.ref);for(m in h)s.call(h,m)&&!c.hasOwnProperty(m)&&(x[m]=h[m]);if(d&&d.defaultProps)for(m in h=d.defaultProps,h)x[m]===void 0&&(x[m]=h[m]);return{$$typeof:n,type:d,key:w,ref:P,props:x,_owner:l.current}}return Ao.Fragment=i,Ao.jsx=u,Ao.jsxs=u,Ao}var Sm;function Vw(){return Sm||(Sm=1,qu.exports=Lw()),qu.exports}var E=Vw(),ha={},Gu={exports:{}},Mt={},Qu={exports:{}},Xu={};/**
|
||
* @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 Em;function Bw(){return Em||(Em=1,(function(t){function n(g,O){var M=g.length;g.push(O);e:for(;0<M;){var A=M-1>>>1,U=g[A];if(0<l(U,O))g[A]=O,g[M]=U,M=A;else break e}}function i(g){return g.length===0?null:g[0]}function s(g){if(g.length===0)return null;var O=g[0],M=g.pop();if(M!==O){g[0]=M;e:for(var A=0,U=g.length,ee=U>>>1;A<ee;){var oe=2*(A+1)-1,Z=g[oe],fe=oe+1,Ce=g[fe];if(0>l(Z,M))fe<U&&0>l(Ce,Z)?(g[A]=Ce,g[fe]=M,A=fe):(g[A]=Z,g[oe]=M,A=oe);else if(fe<U&&0>l(Ce,M))g[A]=Ce,g[fe]=M,A=fe;else break e}}return O}function l(g,O){var M=g.sortIndex-O.sortIndex;return M!==0?M:g.id-O.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,x=null,w=3,P=!1,k=!1,T=!1,S=typeof setTimeout=="function"?setTimeout:null,_=typeof clearTimeout=="function"?clearTimeout:null,N=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function b(g){for(var O=i(y);O!==null;){if(O.callback===null)s(y);else if(O.startTime<=g)s(y),O.sortIndex=O.expirationTime,n(h,O);else break;O=i(y)}}function D(g){if(T=!1,b(g),!k)if(i(h)!==null)k=!0,Pe(W);else{var O=i(y);O!==null&&le(D,O.startTime-g)}}function W(g,O){k=!1,T&&(T=!1,_(I),I=-1),P=!0;var M=w;try{for(b(O),x=i(h);x!==null&&(!(x.expirationTime>O)||g&&!he());){var A=x.callback;if(typeof A=="function"){x.callback=null,w=x.priorityLevel;var U=A(x.expirationTime<=O);O=t.unstable_now(),typeof U=="function"?x.callback=U:x===i(h)&&s(h),b(O)}else s(h);x=i(h)}if(x!==null)var ee=!0;else{var oe=i(y);oe!==null&&le(D,oe.startTime-O),ee=!1}return ee}finally{x=null,w=M,P=!1}}var q=!1,H=null,I=-1,ne=5,te=-1;function he(){return!(t.unstable_now()-te<ne)}function re(){if(H!==null){var g=t.unstable_now();te=g;var O=!0;try{O=H(!0,g)}finally{O?Se():(q=!1,H=null)}}else q=!1}var Se;if(typeof N=="function")Se=function(){N(re)};else if(typeof MessageChannel<"u"){var ge=new MessageChannel,_e=ge.port2;ge.port1.onmessage=re,Se=function(){_e.postMessage(null)}}else Se=function(){S(re,0)};function Pe(g){H=g,q||(q=!0,Se())}function le(g,O){I=S(function(){g(t.unstable_now())},O)}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(){k||P||(k=!0,Pe(W))},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"):ne=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 O=3;break;default:O=w}var M=w;w=O;try{return g()}finally{w=M}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(g,O){switch(g){case 1:case 2:case 3:case 4:case 5:break;default:g=3}var M=w;w=g;try{return O()}finally{w=M}},t.unstable_scheduleCallback=function(g,O,M){var A=t.unstable_now();switch(typeof M=="object"&&M!==null?(M=M.delay,M=typeof M=="number"&&0<M?A+M:A):M=A,g){case 1:var U=-1;break;case 2:U=250;break;case 5:U=1073741823;break;case 4:U=1e4;break;default:U=5e3}return U=M+U,g={id:m++,callback:O,priorityLevel:g,startTime:M,expirationTime:U,sortIndex:-1},M>A?(g.sortIndex=M,n(y,g),i(h)===null&&g===i(y)&&(T?(_(I),I=-1):T=!0,le(D,M-A))):(g.sortIndex=U,n(h,g),k||P||(k=!0,Pe(W))),g},t.unstable_shouldYield=he,t.unstable_wrapCallback=function(g){var O=w;return function(){var M=w;w=O;try{return g.apply(this,arguments)}finally{w=M}}}})(Xu)),Xu}var km;function zw(){return km||(km=1,Qu.exports=Bw()),Qu.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 Pm;function Uw(){if(Pm)return Mt;Pm=1;var t=Jf(),n=zw();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,l={};function c(e,r){u(e,r),u(e+"Capture",r)}function u(e,r){for(l[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={},x={};function w(e){return h.call(x,e)?!0:h.call(m,e)?!1:y.test(e)?x[e]=!0:(m[e]=!0,!1)}function P(e,r,o,a){if(o!==null&&o.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return a?!1:o!==null?!o.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function k(e,r,o,a){if(r===null||typeof r>"u"||P(e,r,o,a))return!0;if(a)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 T(e,r,o,a,f,p,v){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=a,this.attributeNamespace=f,this.mustUseProperty=o,this.propertyName=e,this.type=r,this.sanitizeURL=p,this.removeEmptyString=v}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){S[e]=new T(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 T(r,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){S[e]=new T(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){S[e]=new T(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 T(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){S[e]=new T(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){S[e]=new T(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){S[e]=new T(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){S[e]=new T(e,5,!1,e.toLowerCase(),null,!1,!1)});var _=/[\-:]([a-z])/g;function N(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(_,N);S[r]=new T(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(_,N);S[r]=new T(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(_,N);S[r]=new T(r,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){S[e]=new T(e,1,!1,e.toLowerCase(),null,!1,!1)}),S.xlinkHref=new T("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){S[e]=new T(e,1,!1,e.toLowerCase(),null,!0,!0)});function b(e,r,o,a){var f=S.hasOwnProperty(r)?S[r]:null;(f!==null?f.type!==0:a||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(k(r,o,f,a)&&(o=null),a||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,a=f.attributeNamespace,o===null?e.removeAttribute(r):(f=f.type,o=f===3||f===4&&o===!0?"":""+o,a?e.setAttributeNS(a,r,o):e.setAttribute(r,o))))}var D=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,W=Symbol.for("react.element"),q=Symbol.for("react.portal"),H=Symbol.for("react.fragment"),I=Symbol.for("react.strict_mode"),ne=Symbol.for("react.profiler"),te=Symbol.for("react.provider"),he=Symbol.for("react.context"),re=Symbol.for("react.forward_ref"),Se=Symbol.for("react.suspense"),ge=Symbol.for("react.suspense_list"),_e=Symbol.for("react.memo"),Pe=Symbol.for("react.lazy"),le=Symbol.for("react.offscreen"),g=Symbol.iterator;function O(e){return e===null||typeof e!="object"?null:(e=g&&e[g]||e["@@iterator"],typeof e=="function"?e:null)}var M=Object.assign,A;function U(e){if(A===void 0)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);A=r&&r[1]||""}return`
|
||
`+A+e}var ee=!1;function oe(e,r){if(!e||ee)return"";ee=!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(B){var a=B}Reflect.construct(e,[],r)}else{try{r.call()}catch(B){a=B}e.call(r.prototype)}else{try{throw Error()}catch(B){a=B}e()}}catch(B){if(B&&a&&typeof B.stack=="string"){for(var f=B.stack.split(`
|
||
`),p=a.stack.split(`
|
||
`),v=f.length-1,C=p.length-1;1<=v&&0<=C&&f[v]!==p[C];)C--;for(;1<=v&&0<=C;v--,C--)if(f[v]!==p[C]){if(v!==1||C!==1)do if(v--,C--,0>C||f[v]!==p[C]){var R=`
|
||
`+f[v].replace(" at new "," at ");return e.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",e.displayName)),R}while(1<=v&&0<=C);break}}}finally{ee=!1,Error.prepareStackTrace=o}return(e=e?e.displayName||e.name:"")?U(e):""}function Z(e){switch(e.tag){case 5:return U(e.type);case 16:return U("Lazy");case 13:return U("Suspense");case 19:return U("SuspenseList");case 0:case 2:case 15:return e=oe(e.type,!1),e;case 11:return e=oe(e.type.render,!1),e;case 1:return e=oe(e.type,!0),e;default:return""}}function fe(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 H:return"Fragment";case q:return"Portal";case ne:return"Profiler";case I:return"StrictMode";case Se:return"Suspense";case ge:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case he:return(e.displayName||"Context")+".Consumer";case te:return(e._context.displayName||"Context")+".Provider";case re:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case _e:return r=e.displayName||null,r!==null?r:fe(e.type)||"Memo";case Pe:r=e._payload,e=e._init;try{return fe(e(r))}catch{}}return null}function Ce(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 fe(r);case 8:return r===I?"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 me(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ee(e){var r=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function xe(e){var r=Ee(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,r),a=""+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(v){a=""+v,p.call(this,v)}}),Object.defineProperty(e,r,{enumerable:o.enumerable}),{getValue:function(){return a},setValue:function(v){a=""+v},stopTracking:function(){e._valueTracker=null,delete e[r]}}}}function je(e){e._valueTracker||(e._valueTracker=xe(e))}function be(e){if(!e)return!1;var r=e._valueTracker;if(!r)return!0;var o=r.getValue(),a="";return e&&(a=Ee(e)?e.checked?"true":"false":e.value),e=a,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 M({},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,a=r.checked!=null?r.checked:r.defaultChecked;o=me(r.value!=null?r.value:o),e._wrapperState={initialChecked:a,initialValue:o,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function et(e,r){r=r.checked,r!=null&&b(e,"checked",r,!1)}function ot(e,r){et(e,r);var o=me(r.value),a=r.type;if(o!=null)a==="number"?(o===0&&e.value===""||e.value!=o)&&(e.value=""+o):e.value!==""+o&&(e.value=""+o);else if(a==="submit"||a==="reset"){e.removeAttribute("value");return}r.hasOwnProperty("value")?hn(e,r.type,o):r.hasOwnProperty("defaultValue")&&hn(e,r.type,me(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 a=r.type;if(!(a!=="submit"&&a!=="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 _t=Array.isArray;function st(e,r,o,a){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&&a&&(e[o].defaultSelected=!0)}else{for(o=""+me(o),r=null,f=0;f<e.length;f++){if(e[f].value===o){e[f].selected=!0,a&&(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 M({},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(_t(o)){if(1<o.length)throw Error(i(93));o=o[0]}r=o}r==null&&(r=""),o=r}e._wrapperState={initialValue:me(o)}}function _n(e,r){var o=me(r.value),a=me(r.defaultValue);o!=null&&(o=""+o,o!==e.value&&(e.value=o),r.defaultValue==null&&e.defaultValue!==o&&(e.defaultValue=o)),a!=null&&(e.defaultValue=""+a)}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 qr(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 Kr,qn=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,o,a,f){MSApp.execUnsafeLocalFunction(function(){return e(r,o,a,f)})}:e})(function(e,r){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=r;else{for(Kr=Kr||document.createElement("div"),Kr.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=Kr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;r.firstChild;)e.appendChild(r.firstChild)}});function Nn(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},fl=["Webkit","ms","Moz","O"];Object.keys(Kn).forEach(function(e){fl.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 Gr(e,r){e=e.style;for(var o in r)if(r.hasOwnProperty(o)){var a=o.indexOf("--")===0,f=is(o,r[o],a);o==="float"&&(o="cssFloat"),a?e.setProperty(o,f):e[o]=f}}var Qr=M({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 V(e,r){if(r){if(Qr[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 z(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 Ae=null;function Fe(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Oe=null,we=null,Et=null;function yn(e){if(e=fo(e)){if(typeof Oe!="function")throw Error(i(280));var r=e.stateNode;r&&(r=Ns(r),Oe(e.stateNode,e.type,r))}}function pt(e){we?Et?Et.push(e):Et=[e]:we=e}function Jt(){if(we){var e=we,r=Et;if(Et=we=null,yn(e),r)for(e=0;e<r.length;e++)yn(r[e])}}function Xr(e,r){return e(r)}function Rn(){}var kt=!1;function zi(e,r,o){if(kt)return e(r,o);kt=!0;try{return Xr(e,r,o)}finally{kt=!1,(we!==null||Et!==null)&&(Rn(),Jt())}}function Gn(e,r){var o=e.stateNode;if(o===null)return null;var a=Ns(o);if(a===null)return null;o=a[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":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(i(231,r,typeof o));return o}var Yr=!1;if(d)try{var Zt={};Object.defineProperty(Zt,"passive",{get:function(){Yr=!0}}),window.addEventListener("test",Zt,Zt),window.removeEventListener("test",Zt,Zt)}catch{Yr=!1}function Ui(e,r,o,a,f,p,v,C,R){var B=Array.prototype.slice.call(arguments,3);try{r.apply(o,B)}catch(Q){this.onError(Q)}}var gn=!1,Qn=null,Xn=!1,Jr=null,os={onError:function(e){gn=!0,Qn=e}};function $i(e,r,o,a,f,p,v,C,R){gn=!1,Qn=null,Ui.apply(os,arguments)}function ss(e,r,o,a,f,p,v,C,R){if($i.apply(this,arguments),gn){if(gn){var B=Qn;gn=!1,Qn=null}else throw Error(i(198));Xn||(Xn=!0,Jr=B)}}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,a=r;;){var f=o.return;if(f===null)break;var p=f.alternate;if(p===null){if(a=f.return,a!==null){o=a;continue}break}if(f.child===p.child){for(p=f.child;p;){if(p===o)return as(f),e;if(p===a)return as(f),r;p=p.sibling}throw Error(i(188))}if(o.return!==a.return)o=f,a=p;else{for(var v=!1,C=f.child;C;){if(C===o){v=!0,o=f,a=p;break}if(C===a){v=!0,a=f,o=p;break}C=C.sibling}if(!v){for(C=p.child;C;){if(C===o){v=!0,o=p,a=f;break}if(C===a){v=!0,a=p,o=f;break}C=C.sibling}if(!v)throw Error(i(189))}}if(o.alternate!==a)throw Error(i(190))}if(o.tag!==3)throw Error(i(188));return o.stateNode.current===o?e:r}function Fn(e){return e=Hi(e),e!==null?kr(e):null}function kr(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var r=kr(e);if(r!==null)return r;e=e.sibling}return null}var ls=n.unstable_scheduleCallback,qi=n.unstable_cancelCallback,q1=n.unstable_shouldYield,K1=n.unstable_requestPaint,Ke=n.unstable_now,G1=n.unstable_getCurrentPriorityLevel,dl=n.unstable_ImmediatePriority,qd=n.unstable_UserBlockingPriority,us=n.unstable_NormalPriority,Q1=n.unstable_LowPriority,Kd=n.unstable_IdlePriority,cs=null,vn=null;function X1(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:Z1,Y1=Math.log,J1=Math.LN2;function Z1(e){return e>>>=0,e===0?32:31-(Y1(e)/J1|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 a=0,f=e.suspendedLanes,p=e.pingedLanes,v=o&268435455;if(v!==0){var C=v&~f;C!==0?a=Ki(C):(p&=v,p!==0&&(a=Ki(p)))}else v=o&~f,v!==0?a=Ki(v):p!==0&&(a=Ki(p));if(a===0)return 0;if(r!==0&&r!==a&&(r&f)===0&&(f=a&-a,p=r&-r,f>=p||f===16&&(p&4194240)!==0))return r;if((a&4)!==0&&(a|=o&16),r=e.entangledLanes,r!==0)for(e=e.entanglements,r&=a;0<r;)o=31-tn(r),f=1<<o,a|=e[o],r&=~f;return a}function ex(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 tx(e,r){for(var o=e.suspendedLanes,a=e.pingedLanes,f=e.expirationTimes,p=e.pendingLanes;0<p;){var v=31-tn(p),C=1<<v,R=f[v];R===-1?((C&o)===0||(C&a)!==0)&&(f[v]=ex(C,r)):R<=r&&(e.expiredLanes|=C),p&=~C}}function pl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Gd(){var e=fs;return fs<<=1,(fs&4194240)===0&&(fs=64),e}function hl(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 nx(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 a=e.eventTimes;for(e=e.expirationTimes;0<o;){var f=31-tn(o),p=1<<f;r[f]=0,a[f]=-1,e[f]=-1,o&=~p}}function ml(e,r){var o=e.entangledLanes|=r;for(e=e.entanglements;o;){var a=31-tn(o),f=1<<a;f&r|e[a]&r&&(e[a]|=r),o&=~f}}var Me=0;function Qd(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Xd,yl,Yd,Jd,Zd,gl=!1,hs=[],Yn=null,Jn=null,Zn=null,Qi=new Map,Xi=new Map,er=[],rx="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 ep(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,a,f,p){return e===null||e.nativeEvent!==p?(e={blockedOn:r,domEventName:o,eventSystemFlags:a,nativeEvent:p,targetContainers:[f]},r!==null&&(r=fo(r),r!==null&&yl(r)),e):(e.eventSystemFlags|=a,r=e.targetContainers,f!==null&&r.indexOf(f)===-1&&r.push(f),e)}function ix(e,r,o,a,f){switch(r){case"focusin":return Yn=Yi(Yn,e,r,o,a,f),!0;case"dragenter":return Jn=Yi(Jn,e,r,o,a,f),!0;case"mouseover":return Zn=Yi(Zn,e,r,o,a,f),!0;case"pointerover":var p=f.pointerId;return Qi.set(p,Yi(Qi.get(p)||null,e,r,o,a,f)),!0;case"gotpointercapture":return p=f.pointerId,Xi.set(p,Yi(Xi.get(p)||null,e,r,o,a,f)),!0}return!1}function tp(e){var r=Pr(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,Zd(e.priority,function(){Yd(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=xl(e.domEventName,e.eventSystemFlags,r[0],e.nativeEvent);if(o===null){o=e.nativeEvent;var a=new o.constructor(o.type,o);Ae=a,o.target.dispatchEvent(a),Ae=null}else return r=fo(o),r!==null&&yl(r),e.blockedOn=o,!1;r.shift()}return!0}function np(e,r,o){ms(e)&&o.delete(r)}function ox(){gl=!1,Yn!==null&&ms(Yn)&&(Yn=null),Jn!==null&&ms(Jn)&&(Jn=null),Zn!==null&&ms(Zn)&&(Zn=null),Qi.forEach(np),Xi.forEach(np)}function Ji(e,r){e.blockedOn===r&&(e.blockedOn=null,gl||(gl=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,ox)))}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 a=hs[o];a.blockedOn===e&&(a.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++)a=er[o],a.blockedOn===e&&(a.blockedOn=null);for(;0<er.length&&(o=er[0],o.blockedOn===null);)tp(o),o.blockedOn===null&&er.shift()}var Zr=D.ReactCurrentBatchConfig,ys=!0;function sx(e,r,o,a){var f=Me,p=Zr.transition;Zr.transition=null;try{Me=1,vl(e,r,o,a)}finally{Me=f,Zr.transition=p}}function ax(e,r,o,a){var f=Me,p=Zr.transition;Zr.transition=null;try{Me=4,vl(e,r,o,a)}finally{Me=f,Zr.transition=p}}function vl(e,r,o,a){if(ys){var f=xl(e,r,o,a);if(f===null)Il(e,r,a,gs,o),ep(e,a);else if(ix(f,e,r,o,a))a.stopPropagation();else if(ep(e,a),r&4&&-1<rx.indexOf(e)){for(;f!==null;){var p=fo(f);if(p!==null&&Xd(p),p=xl(e,r,o,a),p===null&&Il(e,r,a,gs,o),p===f)break;f=p}f!==null&&a.stopPropagation()}else Il(e,r,a,null,o)}}var gs=null;function xl(e,r,o,a){if(gs=null,e=Fe(a),e=Pr(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 rp(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(G1()){case dl:return 1;case qd:return 4;case us:case Q1:return 16;case Kd:return 536870912;default:return 16}default:return 16}}var tr=null,wl=null,vs=null;function ip(){if(vs)return vs;var e,r=wl,o=r.length,a,f="value"in tr?tr.value:tr.textContent,p=f.length;for(e=0;e<o&&r[e]===f[e];e++);var v=o-e;for(a=1;a<=v&&r[o-a]===f[p-a];a++);return vs=f.slice(e,1<a?1-a: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 op(){return!1}function Lt(e){function r(o,a,f,p,v){this._reactName=o,this._targetInst=f,this.type=a,this.nativeEvent=p,this.target=v,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:op,this.isPropagationStopped=op,this}return M(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 ei={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Sl=Lt(ei),eo=M({},ei,{view:0,detail:0}),lx=Lt(eo),El,kl,to,Ss=M({},eo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Tl,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"?(El=e.screenX-to.screenX,kl=e.screenY-to.screenY):kl=El=0,to=e),El)},movementY:function(e){return"movementY"in e?e.movementY:kl}}),sp=Lt(Ss),ux=M({},Ss,{dataTransfer:0}),cx=Lt(ux),fx=M({},eo,{relatedTarget:0}),Pl=Lt(fx),dx=M({},ei,{animationName:0,elapsedTime:0,pseudoElement:0}),px=Lt(dx),hx=M({},ei,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),mx=Lt(hx),yx=M({},ei,{data:0}),ap=Lt(yx),gx={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},vx={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"},xx={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sx(e){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(e):(e=xx[e])?!!r[e]:!1}function Tl(){return Sx}var Ex=M({},eo,{key:function(e){if(e.key){var r=gx[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"?vx[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Tl,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(Ex),Px=M({},Ss,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),lp=Lt(Px),Tx=M({},eo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Tl}),Cx=Lt(Tx),Ax=M({},ei,{propertyName:0,elapsedTime:0,pseudoElement:0}),_x=Lt(Ax),Nx=M({},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}),Rx=Lt(Nx),Fx=[9,13,27,32],Cl=d&&"CompositionEvent"in window,no=null;d&&"documentMode"in document&&(no=document.documentMode);var bx=d&&"TextEvent"in window&&!no,up=d&&(!Cl||no&&8<no&&11>=no),cp=" ",fp=!1;function dp(e,r){switch(e){case"keyup":return Fx.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function pp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ti=!1;function Ox(e,r){switch(e){case"compositionend":return pp(r);case"keypress":return r.which!==32?null:(fp=!0,cp);case"textInput":return e=r.data,e===cp&&fp?null:e;default:return null}}function Mx(e,r){if(ti)return e==="compositionend"||!Cl&&dp(e,r)?(e=ip(),vs=wl=tr=null,ti=!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 up&&r.locale!=="ko"?null:r.data;default:return null}}var jx={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 hp(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r==="input"?!!jx[e.type]:r==="textarea"}function mp(e,r,o,a){pt(a),r=Cs(r,"onChange"),0<r.length&&(o=new Sl("onChange","change",null,o,a),e.push({event:o,listeners:r}))}var ro=null,io=null;function Ix(e){Op(e,0)}function Es(e){var r=si(e);if(be(r))return e}function Dx(e,r){if(e==="change")return r}var yp=!1;if(d){var Al;if(d){var _l="oninput"in document;if(!_l){var gp=document.createElement("div");gp.setAttribute("oninput","return;"),_l=typeof gp.oninput=="function"}Al=_l}else Al=!1;yp=Al&&(!document.documentMode||9<document.documentMode)}function vp(){ro&&(ro.detachEvent("onpropertychange",xp),io=ro=null)}function xp(e){if(e.propertyName==="value"&&Es(io)){var r=[];mp(r,io,e,Fe(e)),zi(Ix,r)}}function Lx(e,r,o){e==="focusin"?(vp(),ro=r,io=o,ro.attachEvent("onpropertychange",xp)):e==="focusout"&&vp()}function Vx(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Es(io)}function Bx(e,r){if(e==="click")return Es(r)}function zx(e,r){if(e==="input"||e==="change")return Es(r)}function Ux(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var nn=typeof Object.is=="function"?Object.is:Ux;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),a=Object.keys(r);if(o.length!==a.length)return!1;for(a=0;a<o.length;a++){var f=o[a];if(!h.call(r,f)||!nn(e[f],r[f]))return!1}return!0}function wp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Sp(e,r){var o=wp(e);e=0;for(var a;o;){if(o.nodeType===3){if(a=e+o.textContent.length,e<=r&&a>=r)return{node:o,offset:r-e};e=a}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=wp(o)}}function Ep(e,r){return e&&r?e===r?!0:e&&e.nodeType===3?!1:r&&r.nodeType===3?Ep(e,r.parentNode):"contains"in e?e.contains(r):e.compareDocumentPosition?!!(e.compareDocumentPosition(r)&16):!1:!1}function kp(){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 $x(e){var r=kp(),o=e.focusedElem,a=e.selectionRange;if(r!==o&&o&&o.ownerDocument&&Ep(o.ownerDocument.documentElement,o)){if(a!==null&&Nl(o)){if(r=a.start,e=a.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(a.start,f);a=a.end===void 0?p:Math.min(a.end,f),!e.extend&&p>a&&(f=a,a=p,p=f),f=Sp(o,p);var v=Sp(o,a);f&&v&&(e.rangeCount!==1||e.anchorNode!==f.node||e.anchorOffset!==f.offset||e.focusNode!==v.node||e.focusOffset!==v.offset)&&(r=r.createRange(),r.setStart(f.node,f.offset),e.removeAllRanges(),p>a?(e.addRange(r),e.extend(v.node,v.offset)):(r.setEnd(v.node,v.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 Wx=d&&"documentMode"in document&&11>=document.documentMode,ni=null,Rl=null,so=null,Fl=!1;function Pp(e,r,o){var a=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Fl||ni==null||ni!==Ve(a)||(a=ni,"selectionStart"in a&&Nl(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),so&&oo(so,a)||(so=a,a=Cs(Rl,"onSelect"),0<a.length&&(r=new Sl("onSelect","select",null,r,o),e.push({event:r,listeners:a}),r.target=ni)))}function ks(e,r){var o={};return o[e.toLowerCase()]=r.toLowerCase(),o["Webkit"+e]="webkit"+r,o["Moz"+e]="moz"+r,o}var ri={animationend:ks("Animation","AnimationEnd"),animationiteration:ks("Animation","AnimationIteration"),animationstart:ks("Animation","AnimationStart"),transitionend:ks("Transition","TransitionEnd")},bl={},Tp={};d&&(Tp=document.createElement("div").style,"AnimationEvent"in window||(delete ri.animationend.animation,delete ri.animationiteration.animation,delete ri.animationstart.animation),"TransitionEvent"in window||delete ri.transitionend.transition);function Ps(e){if(bl[e])return bl[e];if(!ri[e])return e;var r=ri[e],o;for(o in r)if(r.hasOwnProperty(o)&&o in Tp)return bl[e]=r[o];return e}var Cp=Ps("animationend"),Ap=Ps("animationiteration"),_p=Ps("animationstart"),Np=Ps("transitionend"),Rp=new Map,Fp="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 Ol=0;Ol<Fp.length;Ol++){var Ml=Fp[Ol],Hx=Ml.toLowerCase(),qx=Ml[0].toUpperCase()+Ml.slice(1);nr(Hx,"on"+qx)}nr(Cp,"onAnimationEnd"),nr(Ap,"onAnimationIteration"),nr(_p,"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(" "),Kx=new Set("cancel close invalid load scroll toggle".split(" ").concat(ao));function bp(e,r,o){var a=e.type||"unknown-event";e.currentTarget=o,ss(a,r,void 0,e),e.currentTarget=null}function Op(e,r){r=(r&4)!==0;for(var o=0;o<e.length;o++){var a=e[o],f=a.event;a=a.listeners;e:{var p=void 0;if(r)for(var v=a.length-1;0<=v;v--){var C=a[v],R=C.instance,B=C.currentTarget;if(C=C.listener,R!==p&&f.isPropagationStopped())break e;bp(f,C,B),p=R}else for(v=0;v<a.length;v++){if(C=a[v],R=C.instance,B=C.currentTarget,C=C.listener,R!==p&&f.isPropagationStopped())break e;bp(f,C,B),p=R}}}if(Xn)throw e=Jr,Xn=!1,Jr=null,e}function De(e,r){var o=r[Ul];o===void 0&&(o=r[Ul]=new Set);var a=e+"__bubble";o.has(a)||(Mp(r,e,2,!1),o.add(a))}function jl(e,r,o){var a=0;r&&(a|=4),Mp(o,e,a,r)}var Ts="_reactListening"+Math.random().toString(36).slice(2);function lo(e){if(!e[Ts]){e[Ts]=!0,s.forEach(function(o){o!=="selectionchange"&&(Kx.has(o)||jl(o,!1,e),jl(o,!0,e))});var r=e.nodeType===9?e:e.ownerDocument;r===null||r[Ts]||(r[Ts]=!0,jl("selectionchange",!1,r))}}function Mp(e,r,o,a){switch(rp(r)){case 1:var f=sx;break;case 4:f=ax;break;default:f=vl}o=f.bind(null,r,o,e),f=void 0,!Yr||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(f=!0),a?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 Il(e,r,o,a,f){var p=a;if((r&1)===0&&(r&2)===0&&a!==null)e:for(;;){if(a===null)return;var v=a.tag;if(v===3||v===4){var C=a.stateNode.containerInfo;if(C===f||C.nodeType===8&&C.parentNode===f)break;if(v===4)for(v=a.return;v!==null;){var R=v.tag;if((R===3||R===4)&&(R=v.stateNode.containerInfo,R===f||R.nodeType===8&&R.parentNode===f))return;v=v.return}for(;C!==null;){if(v=Pr(C),v===null)return;if(R=v.tag,R===5||R===6){a=p=v;continue e}C=C.parentNode}}a=a.return}zi(function(){var B=p,Q=Fe(o),X=[];e:{var G=Rp.get(e);if(G!==void 0){var ie=Sl,ae=e;switch(e){case"keypress":if(xs(o)===0)break e;case"keydown":case"keyup":ie=kx;break;case"focusin":ae="focus",ie=Pl;break;case"focusout":ae="blur",ie=Pl;break;case"beforeblur":case"afterblur":ie=Pl;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":ie=sp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ie=cx;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ie=Cx;break;case Cp:case Ap:case _p:ie=px;break;case Np:ie=_x;break;case"scroll":ie=lx;break;case"wheel":ie=Rx;break;case"copy":case"cut":case"paste":ie=mx;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ie=lp}var ue=(r&4)!==0,Ge=!ue&&e==="scroll",j=ue?G!==null?G+"Capture":null:G;ue=[];for(var F=B,L;F!==null;){L=F;var Y=L.stateNode;if(L.tag===5&&Y!==null&&(L=Y,j!==null&&(Y=Gn(F,j),Y!=null&&ue.push(uo(F,Y,L)))),Ge)break;F=F.return}0<ue.length&&(G=new ie(G,ae,null,o,Q),X.push({event:G,listeners:ue}))}}if((r&7)===0){e:{if(G=e==="mouseover"||e==="pointerover",ie=e==="mouseout"||e==="pointerout",G&&o!==Ae&&(ae=o.relatedTarget||o.fromElement)&&(Pr(ae)||ae[bn]))break e;if((ie||G)&&(G=Q.window===Q?Q:(G=Q.ownerDocument)?G.defaultView||G.parentWindow:window,ie?(ae=o.relatedTarget||o.toElement,ie=B,ae=ae?Pr(ae):null,ae!==null&&(Ge=en(ae),ae!==Ge||ae.tag!==5&&ae.tag!==6)&&(ae=null)):(ie=null,ae=B),ie!==ae)){if(ue=sp,Y="onMouseLeave",j="onMouseEnter",F="mouse",(e==="pointerout"||e==="pointerover")&&(ue=lp,Y="onPointerLeave",j="onPointerEnter",F="pointer"),Ge=ie==null?G:si(ie),L=ae==null?G:si(ae),G=new ue(Y,F+"leave",ie,o,Q),G.target=Ge,G.relatedTarget=L,Y=null,Pr(Q)===B&&(ue=new ue(j,F+"enter",ae,o,Q),ue.target=L,ue.relatedTarget=Ge,Y=ue),Ge=Y,ie&&ae)t:{for(ue=ie,j=ae,F=0,L=ue;L;L=ii(L))F++;for(L=0,Y=j;Y;Y=ii(Y))L++;for(;0<F-L;)ue=ii(ue),F--;for(;0<L-F;)j=ii(j),L--;for(;F--;){if(ue===j||j!==null&&ue===j.alternate)break t;ue=ii(ue),j=ii(j)}ue=null}else ue=null;ie!==null&&jp(X,G,ie,ue,!1),ae!==null&&Ge!==null&&jp(X,Ge,ae,ue,!0)}}e:{if(G=B?si(B):window,ie=G.nodeName&&G.nodeName.toLowerCase(),ie==="select"||ie==="input"&&G.type==="file")var ce=Dx;else if(hp(G))if(yp)ce=zx;else{ce=Vx;var de=Lx}else(ie=G.nodeName)&&ie.toLowerCase()==="input"&&(G.type==="checkbox"||G.type==="radio")&&(ce=Bx);if(ce&&(ce=ce(e,B))){mp(X,ce,o,Q);break e}de&&de(e,G,B),e==="focusout"&&(de=G._wrapperState)&&de.controlled&&G.type==="number"&&hn(G,"number",G.value)}switch(de=B?si(B):window,e){case"focusin":(hp(de)||de.contentEditable==="true")&&(ni=de,Rl=B,so=null);break;case"focusout":so=Rl=ni=null;break;case"mousedown":Fl=!0;break;case"contextmenu":case"mouseup":case"dragend":Fl=!1,Pp(X,o,Q);break;case"selectionchange":if(Wx)break;case"keydown":case"keyup":Pp(X,o,Q)}var pe;if(Cl)e:{switch(e){case"compositionstart":var ve="onCompositionStart";break e;case"compositionend":ve="onCompositionEnd";break e;case"compositionupdate":ve="onCompositionUpdate";break e}ve=void 0}else ti?dp(e,o)&&(ve="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(ve="onCompositionStart");ve&&(up&&o.locale!=="ko"&&(ti||ve!=="onCompositionStart"?ve==="onCompositionEnd"&&ti&&(pe=ip()):(tr=Q,wl="value"in tr?tr.value:tr.textContent,ti=!0)),de=Cs(B,ve),0<de.length&&(ve=new ap(ve,e,null,o,Q),X.push({event:ve,listeners:de}),pe?ve.data=pe:(pe=pp(o),pe!==null&&(ve.data=pe)))),(pe=bx?Ox(e,o):Mx(e,o))&&(B=Cs(B,"onBeforeInput"),0<B.length&&(Q=new ap("onBeforeInput","beforeinput",null,o,Q),X.push({event:Q,listeners:B}),Q.data=pe))}Op(X,r)})}function uo(e,r,o){return{instance:e,listener:r,currentTarget:o}}function Cs(e,r){for(var o=r+"Capture",a=[];e!==null;){var f=e,p=f.stateNode;f.tag===5&&p!==null&&(f=p,p=Gn(e,o),p!=null&&a.unshift(uo(e,p,f)),p=Gn(e,r),p!=null&&a.push(uo(e,p,f))),e=e.return}return a}function ii(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function jp(e,r,o,a,f){for(var p=r._reactName,v=[];o!==null&&o!==a;){var C=o,R=C.alternate,B=C.stateNode;if(R!==null&&R===a)break;C.tag===5&&B!==null&&(C=B,f?(R=Gn(o,p),R!=null&&v.unshift(uo(o,R,C))):f||(R=Gn(o,p),R!=null&&v.push(uo(o,R,C)))),o=o.return}v.length!==0&&e.push({event:r,listeners:v})}var Gx=/\r\n?/g,Qx=/\u0000|\uFFFD/g;function Ip(e){return(typeof e=="string"?e:""+e).replace(Gx,`
|
||
`).replace(Qx,"")}function As(e,r,o){if(r=Ip(r),Ip(e)!==r&&o)throw Error(i(425))}function _s(){}var Dl=null,Ll=null;function Vl(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 Bl=typeof setTimeout=="function"?setTimeout:void 0,Xx=typeof clearTimeout=="function"?clearTimeout:void 0,Dp=typeof Promise=="function"?Promise:void 0,Yx=typeof queueMicrotask=="function"?queueMicrotask:typeof Dp<"u"?function(e){return Dp.resolve(null).then(e).catch(Jx)}:Bl;function Jx(e){setTimeout(function(){throw e})}function zl(e,r){var o=r,a=0;do{var f=o.nextSibling;if(e.removeChild(o),f&&f.nodeType===8)if(o=f.data,o==="/$"){if(a===0){e.removeChild(f),Zi(r);return}a--}else o!=="$"&&o!=="$?"&&o!=="$!"||a++;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 Lp(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 oi=Math.random().toString(36).slice(2),xn="__reactFiber$"+oi,co="__reactProps$"+oi,bn="__reactContainer$"+oi,Ul="__reactEvents$"+oi,Zx="__reactListeners$"+oi,ew="__reactHandles$"+oi;function Pr(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=Lp(e);e!==null;){if(o=e[xn])return o;e=Lp(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 si(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(i(33))}function Ns(e){return e[co]||null}var $l=[],ai=-1;function ir(e){return{current:e}}function Le(e){0>ai||(e.current=$l[ai],$l[ai]=null,ai--)}function Ie(e,r){ai++,$l[ai]=e.current,e.current=r}var or={},ht=ir(or),Nt=ir(!1),Tr=or;function li(e,r){var o=e.type.contextTypes;if(!o)return or;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===r)return a.__reactInternalMemoizedMaskedChildContext;var f={},p;for(p in o)f[p]=r[p];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=f),f}function Rt(e){return e=e.childContextTypes,e!=null}function Rs(){Le(Nt),Le(ht)}function Vp(e,r,o){if(ht.current!==or)throw Error(i(168));Ie(ht,r),Ie(Nt,o)}function Bp(e,r,o){var a=e.stateNode;if(r=r.childContextTypes,typeof a.getChildContext!="function")return o;a=a.getChildContext();for(var f in a)if(!(f in r))throw Error(i(108,Ce(e)||"Unknown",f));return M({},o,a)}function Fs(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||or,Tr=ht.current,Ie(ht,e),Ie(Nt,Nt.current),!0}function zp(e,r,o){var a=e.stateNode;if(!a)throw Error(i(169));o?(e=Bp(e,r,Tr),a.__reactInternalMemoizedMergedChildContext=e,Le(Nt),Le(ht),Ie(ht,e)):Le(Nt),Ie(Nt,o)}var On=null,bs=!1,Wl=!1;function Up(e){On===null?On=[e]:On.push(e)}function tw(e){bs=!0,Up(e)}function sr(){if(!Wl&&On!==null){Wl=!0;var e=0,r=Me;try{var o=On;for(Me=1;e<o.length;e++){var a=o[e];do a=a(!0);while(a!==null)}On=null,bs=!1}catch(f){throw On!==null&&(On=On.slice(e+1)),ls(dl,sr),f}finally{Me=r,Wl=!1}}return null}var ui=[],ci=0,Os=null,Ms=0,$t=[],Wt=0,Cr=null,Mn=1,jn="";function Ar(e,r){ui[ci++]=Ms,ui[ci++]=Os,Os=e,Ms=r}function $p(e,r,o){$t[Wt++]=Mn,$t[Wt++]=jn,$t[Wt++]=Cr,Cr=e;var a=Mn;e=jn;var f=32-tn(a)-1;a&=~(1<<f),o+=1;var p=32-tn(r)+f;if(30<p){var v=f-f%5;p=(a&(1<<v)-1).toString(32),a>>=v,f-=v,Mn=1<<32-tn(r)+f|o<<f|a,jn=p+e}else Mn=1<<p|o<<f|a,jn=e}function Hl(e){e.return!==null&&(Ar(e,1),$p(e,1,0))}function ql(e){for(;e===Os;)Os=ui[--ci],ui[ci]=null,Ms=ui[--ci],ui[ci]=null;for(;e===Cr;)Cr=$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 Wp(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 Hp(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=Cr!==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 Kl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Gl(e){if(Be){var r=Bt;if(r){var o=r;if(!Hp(e,r)){if(Kl(e))throw Error(i(418));r=rr(o.nextSibling);var a=Vt;r&&Hp(e,r)?Wp(a,o):(e.flags=e.flags&-4097|2,Be=!1,Vt=e)}}else{if(Kl(e))throw Error(i(418));e.flags=e.flags&-4097|2,Be=!1,Vt=e}}}function qp(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 qp(e),Be=!0,!1;var r;if((r=e.tag!==3)&&!(r=e.tag!==5)&&(r=e.type,r=r!=="head"&&r!=="body"&&!Vl(e.type,e.memoizedProps)),r&&(r=Bt)){if(Kl(e))throw Kp(),Error(i(418));for(;r;)Wp(e,r),r=rr(r.nextSibling)}if(qp(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 Kp(){for(var e=Bt;e;)e=rr(e.nextSibling)}function fi(){Bt=Vt=null,Be=!1}function Ql(e){rn===null?rn=[e]:rn.push(e)}var nw=D.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 a=o.stateNode}if(!a)throw Error(i(147,e));var f=a,p=""+e;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===p?r.ref:(r=function(v){var C=f.refs;v===null?delete C[p]:C[p]=v},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 Gp(e){var r=e._init;return r(e._payload)}function Qp(e){function r(j,F){if(e){var L=j.deletions;L===null?(j.deletions=[F],j.flags|=16):L.push(F)}}function o(j,F){if(!e)return null;for(;F!==null;)r(j,F),F=F.sibling;return null}function a(j,F){for(j=new Map;F!==null;)F.key!==null?j.set(F.key,F):j.set(F.index,F),F=F.sibling;return j}function f(j,F){return j=hr(j,F),j.index=0,j.sibling=null,j}function p(j,F,L){return j.index=L,e?(L=j.alternate,L!==null?(L=L.index,L<F?(j.flags|=2,F):L):(j.flags|=2,F)):(j.flags|=1048576,F)}function v(j){return e&&j.alternate===null&&(j.flags|=2),j}function C(j,F,L,Y){return F===null||F.tag!==6?(F=Bu(L,j.mode,Y),F.return=j,F):(F=f(F,L),F.return=j,F)}function R(j,F,L,Y){var ce=L.type;return ce===H?Q(j,F,L.props.children,Y,L.key):F!==null&&(F.elementType===ce||typeof ce=="object"&&ce!==null&&ce.$$typeof===Pe&&Gp(ce)===F.type)?(Y=f(F,L.props),Y.ref=po(j,F,L),Y.return=j,Y):(Y=sa(L.type,L.key,L.props,null,j.mode,Y),Y.ref=po(j,F,L),Y.return=j,Y)}function B(j,F,L,Y){return F===null||F.tag!==4||F.stateNode.containerInfo!==L.containerInfo||F.stateNode.implementation!==L.implementation?(F=zu(L,j.mode,Y),F.return=j,F):(F=f(F,L.children||[]),F.return=j,F)}function Q(j,F,L,Y,ce){return F===null||F.tag!==7?(F=jr(L,j.mode,Y,ce),F.return=j,F):(F=f(F,L),F.return=j,F)}function X(j,F,L){if(typeof F=="string"&&F!==""||typeof F=="number")return F=Bu(""+F,j.mode,L),F.return=j,F;if(typeof F=="object"&&F!==null){switch(F.$$typeof){case W:return L=sa(F.type,F.key,F.props,null,j.mode,L),L.ref=po(j,null,F),L.return=j,L;case q:return F=zu(F,j.mode,L),F.return=j,F;case Pe:var Y=F._init;return X(j,Y(F._payload),L)}if(_t(F)||O(F))return F=jr(F,j.mode,L,null),F.return=j,F;Is(j,F)}return null}function G(j,F,L,Y){var ce=F!==null?F.key:null;if(typeof L=="string"&&L!==""||typeof L=="number")return ce!==null?null:C(j,F,""+L,Y);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case W:return L.key===ce?R(j,F,L,Y):null;case q:return L.key===ce?B(j,F,L,Y):null;case Pe:return ce=L._init,G(j,F,ce(L._payload),Y)}if(_t(L)||O(L))return ce!==null?null:Q(j,F,L,Y,null);Is(j,L)}return null}function ie(j,F,L,Y,ce){if(typeof Y=="string"&&Y!==""||typeof Y=="number")return j=j.get(L)||null,C(F,j,""+Y,ce);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case W:return j=j.get(Y.key===null?L:Y.key)||null,R(F,j,Y,ce);case q:return j=j.get(Y.key===null?L:Y.key)||null,B(F,j,Y,ce);case Pe:var de=Y._init;return ie(j,F,L,de(Y._payload),ce)}if(_t(Y)||O(Y))return j=j.get(L)||null,Q(F,j,Y,ce,null);Is(F,Y)}return null}function ae(j,F,L,Y){for(var ce=null,de=null,pe=F,ve=F=0,ut=null;pe!==null&&ve<L.length;ve++){pe.index>ve?(ut=pe,pe=null):ut=pe.sibling;var Re=G(j,pe,L[ve],Y);if(Re===null){pe===null&&(pe=ut);break}e&&pe&&Re.alternate===null&&r(j,pe),F=p(Re,F,ve),de===null?ce=Re:de.sibling=Re,de=Re,pe=ut}if(ve===L.length)return o(j,pe),Be&&Ar(j,ve),ce;if(pe===null){for(;ve<L.length;ve++)pe=X(j,L[ve],Y),pe!==null&&(F=p(pe,F,ve),de===null?ce=pe:de.sibling=pe,de=pe);return Be&&Ar(j,ve),ce}for(pe=a(j,pe);ve<L.length;ve++)ut=ie(pe,j,ve,L[ve],Y),ut!==null&&(e&&ut.alternate!==null&&pe.delete(ut.key===null?ve:ut.key),F=p(ut,F,ve),de===null?ce=ut:de.sibling=ut,de=ut);return e&&pe.forEach(function(mr){return r(j,mr)}),Be&&Ar(j,ve),ce}function ue(j,F,L,Y){var ce=O(L);if(typeof ce!="function")throw Error(i(150));if(L=ce.call(L),L==null)throw Error(i(151));for(var de=ce=null,pe=F,ve=F=0,ut=null,Re=L.next();pe!==null&&!Re.done;ve++,Re=L.next()){pe.index>ve?(ut=pe,pe=null):ut=pe.sibling;var mr=G(j,pe,Re.value,Y);if(mr===null){pe===null&&(pe=ut);break}e&&pe&&mr.alternate===null&&r(j,pe),F=p(mr,F,ve),de===null?ce=mr:de.sibling=mr,de=mr,pe=ut}if(Re.done)return o(j,pe),Be&&Ar(j,ve),ce;if(pe===null){for(;!Re.done;ve++,Re=L.next())Re=X(j,Re.value,Y),Re!==null&&(F=p(Re,F,ve),de===null?ce=Re:de.sibling=Re,de=Re);return Be&&Ar(j,ve),ce}for(pe=a(j,pe);!Re.done;ve++,Re=L.next())Re=ie(pe,j,ve,Re.value,Y),Re!==null&&(e&&Re.alternate!==null&&pe.delete(Re.key===null?ve:Re.key),F=p(Re,F,ve),de===null?ce=Re:de.sibling=Re,de=Re);return e&&pe.forEach(function(jw){return r(j,jw)}),Be&&Ar(j,ve),ce}function Ge(j,F,L,Y){if(typeof L=="object"&&L!==null&&L.type===H&&L.key===null&&(L=L.props.children),typeof L=="object"&&L!==null){switch(L.$$typeof){case W:e:{for(var ce=L.key,de=F;de!==null;){if(de.key===ce){if(ce=L.type,ce===H){if(de.tag===7){o(j,de.sibling),F=f(de,L.props.children),F.return=j,j=F;break e}}else if(de.elementType===ce||typeof ce=="object"&&ce!==null&&ce.$$typeof===Pe&&Gp(ce)===de.type){o(j,de.sibling),F=f(de,L.props),F.ref=po(j,de,L),F.return=j,j=F;break e}o(j,de);break}else r(j,de);de=de.sibling}L.type===H?(F=jr(L.props.children,j.mode,Y,L.key),F.return=j,j=F):(Y=sa(L.type,L.key,L.props,null,j.mode,Y),Y.ref=po(j,F,L),Y.return=j,j=Y)}return v(j);case q:e:{for(de=L.key;F!==null;){if(F.key===de)if(F.tag===4&&F.stateNode.containerInfo===L.containerInfo&&F.stateNode.implementation===L.implementation){o(j,F.sibling),F=f(F,L.children||[]),F.return=j,j=F;break e}else{o(j,F);break}else r(j,F);F=F.sibling}F=zu(L,j.mode,Y),F.return=j,j=F}return v(j);case Pe:return de=L._init,Ge(j,F,de(L._payload),Y)}if(_t(L))return ae(j,F,L,Y);if(O(L))return ue(j,F,L,Y);Is(j,L)}return typeof L=="string"&&L!==""||typeof L=="number"?(L=""+L,F!==null&&F.tag===6?(o(j,F.sibling),F=f(F,L),F.return=j,j=F):(o(j,F),F=Bu(L,j.mode,Y),F.return=j,j=F),v(j)):o(j,F)}return Ge}var di=Qp(!0),Xp=Qp(!1),Ds=ir(null),Ls=null,pi=null,Xl=null;function Yl(){Xl=pi=Ls=null}function Jl(e){var r=Ds.current;Le(Ds),e._currentValue=r}function Zl(e,r,o){for(;e!==null;){var a=e.alternate;if((e.childLanes&r)!==r?(e.childLanes|=r,a!==null&&(a.childLanes|=r)):a!==null&&(a.childLanes&r)!==r&&(a.childLanes|=r),e===o)break;e=e.return}}function hi(e,r){Ls=e,Xl=pi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&r)!==0&&(Ft=!0),e.firstContext=null)}function Ht(e){var r=e._currentValue;if(Xl!==e)if(e={context:e,memoizedValue:r,next:null},pi===null){if(Ls===null)throw Error(i(308));pi=e,Ls.dependencies={lanes:0,firstContext:e}}else pi=pi.next=e;return r}var _r=null;function eu(e){_r===null?_r=[e]:_r.push(e)}function Yp(e,r,o,a){var f=r.interleaved;return f===null?(o.next=o,eu(r)):(o.next=f.next,f.next=o),r.interleaved=o,In(e,a)}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 tu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Jp(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 a=e.updateQueue;if(a===null)return null;if(a=a.shared,(Ne&2)!==0){var f=a.pending;return f===null?r.next=r:(r.next=f.next,f.next=r),a.pending=r,In(e,o)}return f=a.interleaved,f===null?(r.next=r,eu(a)):(r.next=f.next,f.next=r),a.interleaved=r,In(e,o)}function Vs(e,r,o){if(r=r.updateQueue,r!==null&&(r=r.shared,(o&4194240)!==0)){var a=r.lanes;a&=e.pendingLanes,o|=a,r.lanes=o,ml(e,o)}}function Zp(e,r){var o=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,o===a)){var f=null,p=null;if(o=o.firstBaseUpdate,o!==null){do{var v={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};p===null?f=p=v:p=p.next=v,o=o.next}while(o!==null);p===null?f=p=r:p=p.next=r}else f=p=r;o={baseState:a.baseState,firstBaseUpdate:f,lastBaseUpdate:p,shared:a.shared,effects:a.effects},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=r:e.next=r,o.lastBaseUpdate=r}function Bs(e,r,o,a){var f=e.updateQueue;ar=!1;var p=f.firstBaseUpdate,v=f.lastBaseUpdate,C=f.shared.pending;if(C!==null){f.shared.pending=null;var R=C,B=R.next;R.next=null,v===null?p=B:v.next=B,v=R;var Q=e.alternate;Q!==null&&(Q=Q.updateQueue,C=Q.lastBaseUpdate,C!==v&&(C===null?Q.firstBaseUpdate=B:C.next=B,Q.lastBaseUpdate=R))}if(p!==null){var X=f.baseState;v=0,Q=B=R=null,C=p;do{var G=C.lane,ie=C.eventTime;if((a&G)===G){Q!==null&&(Q=Q.next={eventTime:ie,lane:0,tag:C.tag,payload:C.payload,callback:C.callback,next:null});e:{var ae=e,ue=C;switch(G=r,ie=o,ue.tag){case 1:if(ae=ue.payload,typeof ae=="function"){X=ae.call(ie,X,G);break e}X=ae;break e;case 3:ae.flags=ae.flags&-65537|128;case 0:if(ae=ue.payload,G=typeof ae=="function"?ae.call(ie,X,G):ae,G==null)break e;X=M({},X,G);break e;case 2:ar=!0}}C.callback!==null&&C.lane!==0&&(e.flags|=64,G=f.effects,G===null?f.effects=[C]:G.push(C))}else ie={eventTime:ie,lane:G,tag:C.tag,payload:C.payload,callback:C.callback,next:null},Q===null?(B=Q=ie,R=X):Q=Q.next=ie,v|=G;if(C=C.next,C===null){if(C=f.shared.pending,C===null)break;G=C,C=G.next,G.next=null,f.lastBaseUpdate=G,f.shared.pending=null}}while(!0);if(Q===null&&(R=X),f.baseState=R,f.firstBaseUpdate=B,f.lastBaseUpdate=Q,r=f.shared.interleaved,r!==null){f=r;do v|=f.lane,f=f.next;while(f!==r)}else p===null&&(f.shared.lanes=0);Fr|=v,e.lanes=v,e.memoizedState=X}}function eh(e,r,o){if(e=r.effects,r.effects=null,e!==null)for(r=0;r<e.length;r++){var a=e[r],f=a.callback;if(f!==null){if(a.callback=null,a=o,typeof f!="function")throw Error(i(191,f));f.call(a)}}}var ho={},wn=ir(ho),mo=ir(ho),yo=ir(ho);function Nr(e){if(e===ho)throw Error(i(174));return e}function nu(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:qr(null,"");break;default:e=e===8?r.parentNode:r,r=e.namespaceURI||null,e=e.tagName,r=qr(r,e)}Le(wn),Ie(wn,r)}function mi(){Le(wn),Le(mo),Le(yo)}function th(e){Nr(yo.current);var r=Nr(wn.current),o=qr(r,e.type);r!==o&&(Ie(mo,e),Ie(wn,o))}function ru(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 iu=[];function ou(){for(var e=0;e<iu.length;e++)iu[e]._workInProgressVersionPrimary=null;iu.length=0}var Us=D.ReactCurrentDispatcher,su=D.ReactCurrentBatchConfig,Rr=0,$e=null,tt=null,at=null,$s=!1,go=!1,vo=0,rw=0;function mt(){throw Error(i(321))}function au(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 lu(e,r,o,a,f,p){if(Rr=p,$e=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,Us.current=e===null||e.memoizedState===null?aw:lw,e=o(a,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=uw,e=o(a,f)}while(go)}if(Us.current=qs,r=tt!==null&&tt.next!==null,Rr=0,at=tt=$e=null,$s=!1,r)throw Error(i(300));return e}function uu(){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 cu(e){var r=qt(),o=r.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=e;var a=tt,f=a.baseQueue,p=o.pending;if(p!==null){if(f!==null){var v=f.next;f.next=p.next,p.next=v}a.baseQueue=f=p,o.pending=null}if(f!==null){p=f.next,a=a.baseState;var C=v=null,R=null,B=p;do{var Q=B.lane;if((Rr&Q)===Q)R!==null&&(R=R.next={lane:0,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null}),a=B.hasEagerState?B.eagerState:e(a,B.action);else{var X={lane:Q,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null};R===null?(C=R=X,v=a):R=R.next=X,$e.lanes|=Q,Fr|=Q}B=B.next}while(B!==null&&B!==p);R===null?v=a:R.next=C,nn(a,r.memoizedState)||(Ft=!0),r.memoizedState=a,r.baseState=v,r.baseQueue=R,o.lastRenderedState=a}if(e=o.interleaved,e!==null){f=e;do p=f.lane,$e.lanes|=p,Fr|=p,f=f.next;while(f!==e)}else f===null&&(o.lanes=0);return[r.memoizedState,o.dispatch]}function fu(e){var r=qt(),o=r.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=e;var a=o.dispatch,f=o.pending,p=r.memoizedState;if(f!==null){o.pending=null;var v=f=f.next;do p=e(p,v.action),v=v.next;while(v!==f);nn(p,r.memoizedState)||(Ft=!0),r.memoizedState=p,r.baseQueue===null&&(r.baseState=p),o.lastRenderedState=p}return[p,a]}function nh(){}function rh(e,r){var o=$e,a=qt(),f=r(),p=!nn(a.memoizedState,f);if(p&&(a.memoizedState=f,Ft=!0),a=a.queue,du(sh.bind(null,o,a,e),[e]),a.getSnapshot!==r||p||at!==null&&at.memoizedState.tag&1){if(o.flags|=2048,wo(9,oh.bind(null,o,a,f,r),void 0,null),lt===null)throw Error(i(349));(Rr&30)!==0||ih(o,r,f)}return f}function ih(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 oh(e,r,o,a){r.value=o,r.getSnapshot=a,ah(r)&&lh(e)}function sh(e,r,o){return o(function(){ah(r)&&lh(e)})}function ah(e){var r=e.getSnapshot;e=e.value;try{var o=r();return!nn(e,o)}catch{return!0}}function lh(e){var r=In(e,1);r!==null&&ln(r,e,1,-1)}function uh(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=sw.bind(null,$e,e),[r.memoizedState,e]}function wo(e,r,o,a){return e={tag:e,create:r,destroy:o,deps:a,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:(a=o.next,o.next=e,e.next=a,r.lastEffect=e)),e}function ch(){return qt().memoizedState}function Ws(e,r,o,a){var f=Sn();$e.flags|=e,f.memoizedState=wo(1|r,o,void 0,a===void 0?null:a)}function Hs(e,r,o,a){var f=qt();a=a===void 0?null:a;var p=void 0;if(tt!==null){var v=tt.memoizedState;if(p=v.destroy,a!==null&&au(a,v.deps)){f.memoizedState=wo(r,o,p,a);return}}$e.flags|=e,f.memoizedState=wo(1|r,o,p,a)}function fh(e,r){return Ws(8390656,8,e,r)}function du(e,r){return Hs(2048,8,e,r)}function dh(e,r){return Hs(4,2,e,r)}function ph(e,r){return Hs(4,4,e,r)}function hh(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 mh(e,r,o){return o=o!=null?o.concat([e]):null,Hs(4,4,hh.bind(null,r,e),o)}function pu(){}function yh(e,r){var o=qt();r=r===void 0?null:r;var a=o.memoizedState;return a!==null&&r!==null&&au(r,a[1])?a[0]:(o.memoizedState=[e,r],e)}function gh(e,r){var o=qt();r=r===void 0?null:r;var a=o.memoizedState;return a!==null&&r!==null&&au(r,a[1])?a[0]:(e=e(),o.memoizedState=[e,r],e)}function vh(e,r,o){return(Rr&21)===0?(e.baseState&&(e.baseState=!1,Ft=!0),e.memoizedState=o):(nn(o,r)||(o=Gd(),$e.lanes|=o,Fr|=o,e.baseState=!0),r)}function iw(e,r){var o=Me;Me=o!==0&&4>o?o:4,e(!0);var a=su.transition;su.transition={};try{e(!1),r()}finally{Me=o,su.transition=a}}function xh(){return qt().memoizedState}function ow(e,r,o){var a=dr(e);if(o={lane:a,action:o,hasEagerState:!1,eagerState:null,next:null},wh(e))Sh(r,o);else if(o=Yp(e,r,o,a),o!==null){var f=Tt();ln(o,e,a,f),Eh(o,r,a)}}function sw(e,r,o){var a=dr(e),f={lane:a,action:o,hasEagerState:!1,eagerState:null,next:null};if(wh(e))Sh(r,f);else{var p=e.alternate;if(e.lanes===0&&(p===null||p.lanes===0)&&(p=r.lastRenderedReducer,p!==null))try{var v=r.lastRenderedState,C=p(v,o);if(f.hasEagerState=!0,f.eagerState=C,nn(C,v)){var R=r.interleaved;R===null?(f.next=f,eu(r)):(f.next=R.next,R.next=f),r.interleaved=f;return}}catch{}finally{}o=Yp(e,r,f,a),o!==null&&(f=Tt(),ln(o,e,a,f),Eh(o,r,a))}}function wh(e){var r=e.alternate;return e===$e||r!==null&&r===$e}function Sh(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 Eh(e,r,o){if((o&4194240)!==0){var a=r.lanes;a&=e.pendingLanes,o|=a,r.lanes=o,ml(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},aw={readContext:Ht,useCallback:function(e,r){return Sn().memoizedState=[e,r===void 0?null:r],e},useContext:Ht,useEffect:fh,useImperativeHandle:function(e,r,o){return o=o!=null?o.concat([e]):null,Ws(4194308,4,hh.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 a=Sn();return r=o!==void 0?o(r):r,a.memoizedState=a.baseState=r,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},a.queue=e,e=e.dispatch=ow.bind(null,$e,e),[a.memoizedState,e]},useRef:function(e){var r=Sn();return e={current:e},r.memoizedState=e},useState:uh,useDebugValue:pu,useDeferredValue:function(e){return Sn().memoizedState=e},useTransition:function(){var e=uh(!1),r=e[0];return e=iw.bind(null,e[1]),Sn().memoizedState=e,[r,e]},useMutableSource:function(){},useSyncExternalStore:function(e,r,o){var a=$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));(Rr&30)!==0||ih(a,r,o)}f.memoizedState=o;var p={value:o,getSnapshot:r};return f.queue=p,fh(sh.bind(null,a,p,e),[e]),a.flags|=2048,wo(9,oh.bind(null,a,p,o,r),void 0,null),o},useId:function(){var e=Sn(),r=lt.identifierPrefix;if(Be){var o=jn,a=Mn;o=(a&~(1<<32-tn(a)-1)).toString(32)+o,r=":"+r+"R"+o,o=vo++,0<o&&(r+="H"+o.toString(32)),r+=":"}else o=rw++,r=":"+r+"r"+o.toString(32)+":";return e.memoizedState=r},unstable_isNewReconciler:!1},lw={readContext:Ht,useCallback:yh,useContext:Ht,useEffect:du,useImperativeHandle:mh,useInsertionEffect:dh,useLayoutEffect:ph,useMemo:gh,useReducer:cu,useRef:ch,useState:function(){return cu(xo)},useDebugValue:pu,useDeferredValue:function(e){var r=qt();return vh(r,tt.memoizedState,e)},useTransition:function(){var e=cu(xo)[0],r=qt().memoizedState;return[e,r]},useMutableSource:nh,useSyncExternalStore:rh,useId:xh,unstable_isNewReconciler:!1},uw={readContext:Ht,useCallback:yh,useContext:Ht,useEffect:du,useImperativeHandle:mh,useInsertionEffect:dh,useLayoutEffect:ph,useMemo:gh,useReducer:fu,useRef:ch,useState:function(){return fu(xo)},useDebugValue:pu,useDeferredValue:function(e){var r=qt();return tt===null?r.memoizedState=e:vh(r,tt.memoizedState,e)},useTransition:function(){var e=fu(xo)[0],r=qt().memoizedState;return[e,r]},useMutableSource:nh,useSyncExternalStore:rh,useId:xh,unstable_isNewReconciler:!1};function on(e,r){if(e&&e.defaultProps){r=M({},r),e=e.defaultProps;for(var o in e)r[o]===void 0&&(r[o]=e[o]);return r}return r}function hu(e,r,o,a){r=e.memoizedState,o=o(a,r),o=o==null?r:M({},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 a=Tt(),f=dr(e),p=Dn(a,f);p.payload=r,o!=null&&(p.callback=o),r=lr(e,p,f),r!==null&&(ln(r,e,f,a),Vs(r,e,f))},enqueueReplaceState:function(e,r,o){e=e._reactInternals;var a=Tt(),f=dr(e),p=Dn(a,f);p.tag=1,p.payload=r,o!=null&&(p.callback=o),r=lr(e,p,f),r!==null&&(ln(r,e,f,a),Vs(r,e,f))},enqueueForceUpdate:function(e,r){e=e._reactInternals;var o=Tt(),a=dr(e),f=Dn(o,a);f.tag=2,r!=null&&(f.callback=r),r=lr(e,f,a),r!==null&&(ln(r,e,a,o),Vs(r,e,a))}};function kh(e,r,o,a,f,p,v){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,p,v):r.prototype&&r.prototype.isPureReactComponent?!oo(o,a)||!oo(f,p):!0}function Ph(e,r,o){var a=!1,f=or,p=r.contextType;return typeof p=="object"&&p!==null?p=Ht(p):(f=Rt(r)?Tr:ht.current,a=r.contextTypes,p=(a=a!=null)?li(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,a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=f,e.__reactInternalMemoizedMaskedChildContext=p),r}function Th(e,r,o,a){e=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(o,a),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(o,a),r.state!==e&&Ks.enqueueReplaceState(r,r.state,null)}function mu(e,r,o,a){var f=e.stateNode;f.props=o,f.state=e.memoizedState,f.refs={},tu(e);var p=r.contextType;typeof p=="object"&&p!==null?f.context=Ht(p):(p=Rt(r)?Tr:ht.current,f.context=li(e,p)),f.state=e.memoizedState,p=r.getDerivedStateFromProps,typeof p=="function"&&(hu(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,a),f.state=e.memoizedState),typeof f.componentDidMount=="function"&&(e.flags|=4194308)}function yi(e,r){try{var o="",a=r;do o+=Z(a),a=a.return;while(a);var f=o}catch(p){f=`
|
||
Error generating stack: `+p.message+`
|
||
`+p.stack}return{value:e,source:r,stack:f,digest:null}}function yu(e,r,o){return{value:e,source:null,stack:o??null,digest:r??null}}function gu(e,r){try{console.error(r.value)}catch(o){setTimeout(function(){throw o})}}var cw=typeof WeakMap=="function"?WeakMap:Map;function Ch(e,r,o){o=Dn(-1,o),o.tag=3,o.payload={element:null};var a=r.value;return o.callback=function(){ea||(ea=!0,bu=a),gu(e,r)},o}function Ah(e,r,o){o=Dn(-1,o),o.tag=3;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var f=r.value;o.payload=function(){return a(f)},o.callback=function(){gu(e,r)}}var p=e.stateNode;return p!==null&&typeof p.componentDidCatch=="function"&&(o.callback=function(){gu(e,r),typeof a!="function"&&(cr===null?cr=new Set([this]):cr.add(this));var v=r.stack;this.componentDidCatch(r.value,{componentStack:v!==null?v:""})}),o}function _h(e,r,o){var a=e.pingCache;if(a===null){a=e.pingCache=new cw;var f=new Set;a.set(r,f)}else f=a.get(r),f===void 0&&(f=new Set,a.set(r,f));f.has(o)||(f.add(o),e=Pw.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,a,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 fw=D.ReactCurrentOwner,Ft=!1;function Pt(e,r,o,a){r.child=e===null?Xp(r,null,o,a):di(r,e.child,o,a)}function Fh(e,r,o,a,f){o=o.render;var p=r.ref;return hi(r,f),a=lu(e,r,o,a,p,f),o=uu(),e!==null&&!Ft?(r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~f,Ln(e,r,f)):(Be&&o&&Hl(r),r.flags|=1,Pt(e,r,a,f),r.child)}function bh(e,r,o,a,f){if(e===null){var p=o.type;return typeof p=="function"&&!Vu(p)&&p.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(r.tag=15,r.type=p,Oh(e,r,p,a,f)):(e=sa(o.type,null,a,r,r.mode,f),e.ref=r.ref,e.return=r,r.child=e)}if(p=e.child,(e.lanes&f)===0){var v=p.memoizedProps;if(o=o.compare,o=o!==null?o:oo,o(v,a)&&e.ref===r.ref)return Ln(e,r,f)}return r.flags|=1,e=hr(p,a),e.ref=r.ref,e.return=r,r.child=e}function Oh(e,r,o,a,f){if(e!==null){var p=e.memoizedProps;if(oo(p,a)&&e.ref===r.ref)if(Ft=!1,r.pendingProps=a=p,(e.lanes&f)!==0)(e.flags&131072)!==0&&(Ft=!0);else return r.lanes=e.lanes,Ln(e,r,f)}return vu(e,r,o,a,f)}function Mh(e,r,o){var a=r.pendingProps,f=a.children,p=e!==null?e.memoizedState:null;if(a.mode==="hidden")if((r.mode&1)===0)r.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ie(vi,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(vi,zt),zt|=e,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=p!==null?p.baseLanes:o,Ie(vi,zt),zt|=a}else p!==null?(a=p.baseLanes|o,r.memoizedState=null):a=o,Ie(vi,zt),zt|=a;return Pt(e,r,f,o),r.child}function jh(e,r){var o=r.ref;(e===null&&o!==null||e!==null&&e.ref!==o)&&(r.flags|=512,r.flags|=2097152)}function vu(e,r,o,a,f){var p=Rt(o)?Tr:ht.current;return p=li(r,p),hi(r,f),o=lu(e,r,o,a,p,f),a=uu(),e!==null&&!Ft?(r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~f,Ln(e,r,f)):(Be&&a&&Hl(r),r.flags|=1,Pt(e,r,o,f),r.child)}function Ih(e,r,o,a,f){if(Rt(o)){var p=!0;Fs(r)}else p=!1;if(hi(r,f),r.stateNode===null)Qs(e,r),Ph(r,o,a),mu(r,o,a,f),a=!0;else if(e===null){var v=r.stateNode,C=r.memoizedProps;v.props=C;var R=v.context,B=o.contextType;typeof B=="object"&&B!==null?B=Ht(B):(B=Rt(o)?Tr:ht.current,B=li(r,B));var Q=o.getDerivedStateFromProps,X=typeof Q=="function"||typeof v.getSnapshotBeforeUpdate=="function";X||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(C!==a||R!==B)&&Th(r,v,a,B),ar=!1;var G=r.memoizedState;v.state=G,Bs(r,a,v,f),R=r.memoizedState,C!==a||G!==R||Nt.current||ar?(typeof Q=="function"&&(hu(r,o,Q,a),R=r.memoizedState),(C=ar||kh(r,o,C,a,G,R,B))?(X||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount=="function"&&(r.flags|=4194308)):(typeof v.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=a,r.memoizedState=R),v.props=a,v.state=R,v.context=B,a=C):(typeof v.componentDidMount=="function"&&(r.flags|=4194308),a=!1)}else{v=r.stateNode,Jp(e,r),C=r.memoizedProps,B=r.type===r.elementType?C:on(r.type,C),v.props=B,X=r.pendingProps,G=v.context,R=o.contextType,typeof R=="object"&&R!==null?R=Ht(R):(R=Rt(o)?Tr:ht.current,R=li(r,R));var ie=o.getDerivedStateFromProps;(Q=typeof ie=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(C!==X||G!==R)&&Th(r,v,a,R),ar=!1,G=r.memoizedState,v.state=G,Bs(r,a,v,f);var ae=r.memoizedState;C!==X||G!==ae||Nt.current||ar?(typeof ie=="function"&&(hu(r,o,ie,a),ae=r.memoizedState),(B=ar||kh(r,o,B,a,G,ae,R)||!1)?(Q||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(a,ae,R),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(a,ae,R)),typeof v.componentDidUpdate=="function"&&(r.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof v.componentDidUpdate!="function"||C===e.memoizedProps&&G===e.memoizedState||(r.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||C===e.memoizedProps&&G===e.memoizedState||(r.flags|=1024),r.memoizedProps=a,r.memoizedState=ae),v.props=a,v.state=ae,v.context=R,a=B):(typeof v.componentDidUpdate!="function"||C===e.memoizedProps&&G===e.memoizedState||(r.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||C===e.memoizedProps&&G===e.memoizedState||(r.flags|=1024),a=!1)}return xu(e,r,o,a,p,f)}function xu(e,r,o,a,f,p){jh(e,r);var v=(r.flags&128)!==0;if(!a&&!v)return f&&zp(r,o,!1),Ln(e,r,p);a=r.stateNode,fw.current=r;var C=v&&typeof o.getDerivedStateFromError!="function"?null:a.render();return r.flags|=1,e!==null&&v?(r.child=di(r,e.child,null,p),r.child=di(r,null,C,p)):Pt(e,r,C,p),r.memoizedState=a.state,f&&zp(r,o,!0),r.child}function Dh(e){var r=e.stateNode;r.pendingContext?Vp(e,r.pendingContext,r.pendingContext!==r.context):r.context&&Vp(e,r.context,!1),nu(e,r.containerInfo)}function Lh(e,r,o,a,f){return fi(),Ql(f),r.flags|=256,Pt(e,r,o,a),r.child}var wu={dehydrated:null,treeContext:null,retryLane:0};function Su(e){return{baseLanes:e,cachePool:null,transitions:null}}function Vh(e,r,o){var a=r.pendingProps,f=Ue.current,p=!1,v=(r.flags&128)!==0,C;if((C=v)||(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 Gl(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):(v=a.children,e=a.fallback,p?(a=r.mode,p=r.child,v={mode:"hidden",children:v},(a&1)===0&&p!==null?(p.childLanes=0,p.pendingProps=v):p=aa(v,a,0,null),e=jr(e,a,o,null),p.return=r,e.return=r,p.sibling=e,r.child=p,r.child.memoizedState=Su(o),r.memoizedState=wu,e):Eu(r,v));if(f=e.memoizedState,f!==null&&(C=f.dehydrated,C!==null))return dw(e,r,v,a,C,f,o);if(p){p=a.fallback,v=r.mode,f=e.child,C=f.sibling;var R={mode:"hidden",children:a.children};return(v&1)===0&&r.child!==f?(a=r.child,a.childLanes=0,a.pendingProps=R,r.deletions=null):(a=hr(f,R),a.subtreeFlags=f.subtreeFlags&14680064),C!==null?p=hr(C,p):(p=jr(p,v,o,null),p.flags|=2),p.return=r,a.return=r,a.sibling=p,r.child=a,a=p,p=r.child,v=e.child.memoizedState,v=v===null?Su(o):{baseLanes:v.baseLanes|o,cachePool:null,transitions:v.transitions},p.memoizedState=v,p.childLanes=e.childLanes&~o,r.memoizedState=wu,a}return p=e.child,e=p.sibling,a=hr(p,{mode:"visible",children:a.children}),(r.mode&1)===0&&(a.lanes=o),a.return=r,a.sibling=null,e!==null&&(o=r.deletions,o===null?(r.deletions=[e],r.flags|=16):o.push(e)),r.child=a,r.memoizedState=null,a}function Eu(e,r){return r=aa({mode:"visible",children:r},e.mode,0,null),r.return=e,e.child=r}function Gs(e,r,o,a){return a!==null&&Ql(a),di(r,e.child,null,o),e=Eu(r,r.pendingProps.children),e.flags|=2,r.memoizedState=null,e}function dw(e,r,o,a,f,p,v){if(o)return r.flags&256?(r.flags&=-257,a=yu(Error(i(422))),Gs(e,r,v,a)):r.memoizedState!==null?(r.child=e.child,r.flags|=128,null):(p=a.fallback,f=r.mode,a=aa({mode:"visible",children:a.children},f,0,null),p=jr(p,f,v,null),p.flags|=2,a.return=r,p.return=r,a.sibling=p,r.child=a,(r.mode&1)!==0&&di(r,e.child,null,v),r.child.memoizedState=Su(v),r.memoizedState=wu,p);if((r.mode&1)===0)return Gs(e,r,v,null);if(f.data==="$!"){if(a=f.nextSibling&&f.nextSibling.dataset,a)var C=a.dgst;return a=C,p=Error(i(419)),a=yu(p,a,void 0),Gs(e,r,v,a)}if(C=(v&e.childLanes)!==0,Ft||C){if(a=lt,a!==null){switch(v&-v){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&(a.suspendedLanes|v))!==0?0:f,f!==0&&f!==p.retryLane&&(p.retryLane=f,In(e,f),ln(a,e,f,-1))}return Lu(),a=yu(Error(i(421))),Gs(e,r,v,a)}return f.data==="$?"?(r.flags|=128,r.child=e.child,r=Tw.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++]=Cr,Mn=e.id,jn=e.overflow,Cr=r),r=Eu(r,a.children),r.flags|=4096,r)}function Bh(e,r,o){e.lanes|=r;var a=e.alternate;a!==null&&(a.lanes|=r),Zl(e.return,r,o)}function ku(e,r,o,a,f){var p=e.memoizedState;p===null?e.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:a,tail:o,tailMode:f}:(p.isBackwards=r,p.rendering=null,p.renderingStartTime=0,p.last=a,p.tail=o,p.tailMode=f)}function zh(e,r,o){var a=r.pendingProps,f=a.revealOrder,p=a.tail;if(Pt(e,r,a.children,o),a=Ue.current,(a&2)!==0)a=a&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&&Bh(e,o,r);else if(e.tag===19)Bh(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}a&=1}if(Ie(Ue,a),(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),ku(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}ku(r,!0,o,null,p);break;case"together":ku(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),Fr|=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 pw(e,r,o){switch(r.tag){case 3:Dh(r),fi();break;case 5:th(r);break;case 1:Rt(r.type)&&Fs(r);break;case 4:nu(r,r.stateNode.containerInfo);break;case 10:var a=r.type._context,f=r.memoizedProps.value;Ie(Ds,a._currentValue),a._currentValue=f;break;case 13:if(a=r.memoizedState,a!==null)return a.dehydrated!==null?(Ie(Ue,Ue.current&1),r.flags|=128,null):(o&r.child.childLanes)!==0?Vh(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(a=(o&r.childLanes)!==0,(e.flags&128)!==0){if(a)return zh(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),a)break;return null;case 22:case 23:return r.lanes=0,Mh(e,r,o)}return Ln(e,r,o)}var Uh,Pu,$h,Wh;Uh=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}},Pu=function(){},$h=function(e,r,o,a){var f=e.memoizedProps;if(f!==a){e=r.stateNode,Nr(wn.current);var p=null;switch(o){case"input":f=Xe(e,f),a=Xe(e,a),p=[];break;case"select":f=M({},f,{value:void 0}),a=M({},a,{value:void 0}),p=[];break;case"textarea":f=mn(e,f),a=mn(e,a),p=[];break;default:typeof f.onClick!="function"&&typeof a.onClick=="function"&&(e.onclick=_s)}V(o,a);var v;o=null;for(B in f)if(!a.hasOwnProperty(B)&&f.hasOwnProperty(B)&&f[B]!=null)if(B==="style"){var C=f[B];for(v in C)C.hasOwnProperty(v)&&(o||(o={}),o[v]="")}else B!=="dangerouslySetInnerHTML"&&B!=="children"&&B!=="suppressContentEditableWarning"&&B!=="suppressHydrationWarning"&&B!=="autoFocus"&&(l.hasOwnProperty(B)?p||(p=[]):(p=p||[]).push(B,null));for(B in a){var R=a[B];if(C=f!=null?f[B]:void 0,a.hasOwnProperty(B)&&R!==C&&(R!=null||C!=null))if(B==="style")if(C){for(v in C)!C.hasOwnProperty(v)||R&&R.hasOwnProperty(v)||(o||(o={}),o[v]="");for(v in R)R.hasOwnProperty(v)&&C[v]!==R[v]&&(o||(o={}),o[v]=R[v])}else o||(p||(p=[]),p.push(B,o)),o=R;else B==="dangerouslySetInnerHTML"?(R=R?R.__html:void 0,C=C?C.__html:void 0,R!=null&&C!==R&&(p=p||[]).push(B,R)):B==="children"?typeof R!="string"&&typeof R!="number"||(p=p||[]).push(B,""+R):B!=="suppressContentEditableWarning"&&B!=="suppressHydrationWarning"&&(l.hasOwnProperty(B)?(R!=null&&B==="onScroll"&&De("scroll",e),p||C===R||(p=[])):(p=p||[]).push(B,R))}o&&(p=p||[]).push("style",o);var B=p;(r.updateQueue=B)&&(r.flags|=4)}},Wh=function(e,r,o,a){o!==a&&(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 a=null;o!==null;)o.alternate!==null&&(a=o),o=o.sibling;a===null?r||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function yt(e){var r=e.alternate!==null&&e.alternate.child===e.child,o=0,a=0;if(r)for(var f=e.child;f!==null;)o|=f.lanes|f.childLanes,a|=f.subtreeFlags&14680064,a|=f.flags&14680064,f.return=e,f=f.sibling;else for(f=e.child;f!==null;)o|=f.lanes|f.childLanes,a|=f.subtreeFlags,a|=f.flags,f.return=e,f=f.sibling;return e.subtreeFlags|=a,e.childLanes=o,r}function hw(e,r,o){var a=r.pendingProps;switch(ql(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 Rt(r.type)&&Rs(),yt(r),null;case 3:return a=r.stateNode,mi(),Le(Nt),Le(ht),ou(),a.pendingContext&&(a.context=a.pendingContext,a.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&&(ju(rn),rn=null))),Pu(e,r),yt(r),null;case 5:ru(r);var f=Nr(yo.current);if(o=r.type,e!==null&&r.stateNode!=null)$h(e,r,o,a,f),e.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!a){if(r.stateNode===null)throw Error(i(166));return yt(r),null}if(e=Nr(wn.current),js(r)){a=r.stateNode,o=r.type;var p=r.memoizedProps;switch(a[xn]=r,a[co]=p,e=(r.mode&1)!==0,o){case"dialog":De("cancel",a),De("close",a);break;case"iframe":case"object":case"embed":De("load",a);break;case"video":case"audio":for(f=0;f<ao.length;f++)De(ao[f],a);break;case"source":De("error",a);break;case"img":case"image":case"link":De("error",a),De("load",a);break;case"details":De("toggle",a);break;case"input":wt(a,p),De("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!p.multiple},De("invalid",a);break;case"textarea":An(a,p),De("invalid",a)}V(o,p),f=null;for(var v in p)if(p.hasOwnProperty(v)){var C=p[v];v==="children"?typeof C=="string"?a.textContent!==C&&(p.suppressHydrationWarning!==!0&&As(a.textContent,C,e),f=["children",C]):typeof C=="number"&&a.textContent!==""+C&&(p.suppressHydrationWarning!==!0&&As(a.textContent,C,e),f=["children",""+C]):l.hasOwnProperty(v)&&C!=null&&v==="onScroll"&&De("scroll",a)}switch(o){case"input":je(a),St(a,p,!0);break;case"textarea":je(a),ns(a);break;case"select":case"option":break;default:typeof p.onClick=="function"&&(a.onclick=_s)}a=f,r.updateQueue=a,a!==null&&(r.flags|=4)}else{v=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=v.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof a.is=="string"?e=v.createElement(o,{is:a.is}):(e=v.createElement(o),o==="select"&&(v=e,a.multiple?v.multiple=!0:a.size&&(v.size=a.size))):e=v.createElementNS(e,o),e[xn]=r,e[co]=a,Uh(e,r,!1,!1),r.stateNode=e;e:{switch(v=z(o,a),o){case"dialog":De("cancel",e),De("close",e),f=a;break;case"iframe":case"object":case"embed":De("load",e),f=a;break;case"video":case"audio":for(f=0;f<ao.length;f++)De(ao[f],e);f=a;break;case"source":De("error",e),f=a;break;case"img":case"image":case"link":De("error",e),De("load",e),f=a;break;case"details":De("toggle",e),f=a;break;case"input":wt(e,a),f=Xe(e,a),De("invalid",e);break;case"option":f=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},f=M({},a,{value:void 0}),De("invalid",e);break;case"textarea":An(e,a),f=mn(e,a),De("invalid",e);break;default:f=a}V(o,f),C=f;for(p in C)if(C.hasOwnProperty(p)){var R=C[p];p==="style"?Gr(e,R):p==="dangerouslySetInnerHTML"?(R=R?R.__html:void 0,R!=null&&qn(e,R)):p==="children"?typeof R=="string"?(o!=="textarea"||R!=="")&&Nn(e,R):typeof R=="number"&&Nn(e,""+R):p!=="suppressContentEditableWarning"&&p!=="suppressHydrationWarning"&&p!=="autoFocus"&&(l.hasOwnProperty(p)?R!=null&&p==="onScroll"&&De("scroll",e):R!=null&&b(e,p,R,v))}switch(o){case"input":je(e),St(e,a,!1);break;case"textarea":je(e),ns(e);break;case"option":a.value!=null&&e.setAttribute("value",""+me(a.value));break;case"select":e.multiple=!!a.multiple,p=a.value,p!=null?st(e,!!a.multiple,p,!1):a.defaultValue!=null&&st(e,!!a.multiple,a.defaultValue,!0);break;default:typeof f.onClick=="function"&&(e.onclick=_s)}switch(o){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}}a&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}return yt(r),null;case 6:if(e&&r.stateNode!=null)Wh(e,r,e.memoizedProps,a);else{if(typeof a!="string"&&r.stateNode===null)throw Error(i(166));if(o=Nr(yo.current),Nr(wn.current),js(r)){if(a=r.stateNode,o=r.memoizedProps,a[xn]=r,(p=a.nodeValue!==o)&&(e=Vt,e!==null))switch(e.tag){case 3:As(a.nodeValue,o,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&As(a.nodeValue,o,(e.mode&1)!==0)}p&&(r.flags|=4)}else a=(o.nodeType===9?o:o.ownerDocument).createTextNode(a),a[xn]=r,r.stateNode=a}return yt(r),null;case 13:if(Le(Ue),a=r.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Be&&Bt!==null&&(r.mode&1)!==0&&(r.flags&128)===0)Kp(),fi(),r.flags|=98560,p=!1;else if(p=js(r),a!==null&&a.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 fi(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;yt(r),p=!1}else rn!==null&&(ju(rn),rn=null),p=!0;if(!p)return r.flags&65536?r:null}return(r.flags&128)!==0?(r.lanes=o,r):(a=a!==null,a!==(e!==null&&e.memoizedState!==null)&&a&&(r.child.flags|=8192,(r.mode&1)!==0&&(e===null||(Ue.current&1)!==0?nt===0&&(nt=3):Lu())),r.updateQueue!==null&&(r.flags|=4),yt(r),null);case 4:return mi(),Pu(e,r),e===null&&lo(r.stateNode.containerInfo),yt(r),null;case 10:return Jl(r.type._context),yt(r),null;case 17:return Rt(r.type)&&Rs(),yt(r),null;case 19:if(Le(Ue),p=r.memoizedState,p===null)return yt(r),null;if(a=(r.flags&128)!==0,v=p.rendering,v===null)if(a)So(p,!1);else{if(nt!==0||e!==null&&(e.flags&128)!==0)for(e=r.child;e!==null;){if(v=zs(e),v!==null){for(r.flags|=128,So(p,!1),a=v.updateQueue,a!==null&&(r.updateQueue=a,r.flags|=4),r.subtreeFlags=0,a=o,o=r.child;o!==null;)p=o,e=a,p.flags&=14680066,v=p.alternate,v===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=v.childLanes,p.lanes=v.lanes,p.child=v.child,p.subtreeFlags=0,p.deletions=null,p.memoizedProps=v.memoizedProps,p.memoizedState=v.memoizedState,p.updateQueue=v.updateQueue,p.type=v.type,e=v.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&&Ke()>xi&&(r.flags|=128,a=!0,So(p,!1),r.lanes=4194304)}else{if(!a)if(e=zs(v),e!==null){if(r.flags|=128,a=!0,o=e.updateQueue,o!==null&&(r.updateQueue=o,r.flags|=4),So(p,!0),p.tail===null&&p.tailMode==="hidden"&&!v.alternate&&!Be)return yt(r),null}else 2*Ke()-p.renderingStartTime>xi&&o!==1073741824&&(r.flags|=128,a=!0,So(p,!1),r.lanes=4194304);p.isBackwards?(v.sibling=r.child,r.child=v):(o=p.last,o!==null?o.sibling=v:r.child=v,p.last=v)}return p.tail!==null?(r=p.tail,p.rendering=r,p.tail=r.sibling,p.renderingStartTime=Ke(),r.sibling=null,o=Ue.current,Ie(Ue,a?o&1|2:o&1),r):(yt(r),null);case 22:case 23:return Du(),a=r.memoizedState!==null,e!==null&&e.memoizedState!==null!==a&&(r.flags|=8192),a&&(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 mw(e,r){switch(ql(r),r.tag){case 1:return Rt(r.type)&&Rs(),e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 3:return mi(),Le(Nt),Le(ht),ou(),e=r.flags,(e&65536)!==0&&(e&128)===0?(r.flags=e&-65537|128,r):null;case 5:return ru(r),null;case 13:if(Le(Ue),e=r.memoizedState,e!==null&&e.dehydrated!==null){if(r.alternate===null)throw Error(i(340));fi()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 19:return Le(Ue),null;case 4:return mi(),null;case 10:return Jl(r.type._context),null;case 22:case 23:return Du(),null;case 24:return null;default:return null}}var Xs=!1,gt=!1,yw=typeof WeakSet=="function"?WeakSet:Set,se=null;function gi(e,r){var o=e.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(a){He(e,r,a)}else o.current=null}function Tu(e,r,o){try{o()}catch(a){He(e,r,a)}}var Hh=!1;function gw(e,r){if(Dl=ys,e=kp(),Nl(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var a=o.getSelection&&o.getSelection();if(a&&a.rangeCount!==0){o=a.anchorNode;var f=a.anchorOffset,p=a.focusNode;a=a.focusOffset;try{o.nodeType,p.nodeType}catch{o=null;break e}var v=0,C=-1,R=-1,B=0,Q=0,X=e,G=null;t:for(;;){for(var ie;X!==o||f!==0&&X.nodeType!==3||(C=v+f),X!==p||a!==0&&X.nodeType!==3||(R=v+a),X.nodeType===3&&(v+=X.nodeValue.length),(ie=X.firstChild)!==null;)G=X,X=ie;for(;;){if(X===e)break t;if(G===o&&++B===f&&(C=v),G===p&&++Q===a&&(R=v),(ie=X.nextSibling)!==null)break;X=G,G=X.parentNode}X=ie}o=C===-1||R===-1?null:{start:C,end:R}}else o=null}o=o||{start:0,end:0}}else o=null;for(Ll={focusedElem:e,selectionRange:o},ys=!1,se=r;se!==null;)if(r=se,e=r.child,(r.subtreeFlags&1028)!==0&&e!==null)e.return=r,se=e;else for(;se!==null;){r=se;try{var ae=r.alternate;if((r.flags&1024)!==0)switch(r.tag){case 0:case 11:case 15:break;case 1:if(ae!==null){var ue=ae.memoizedProps,Ge=ae.memoizedState,j=r.stateNode,F=j.getSnapshotBeforeUpdate(r.elementType===r.type?ue:on(r.type,ue),Ge);j.__reactInternalSnapshotBeforeUpdate=F}break;case 3:var L=r.stateNode.containerInfo;L.nodeType===1?L.textContent="":L.nodeType===9&&L.documentElement&&L.removeChild(L.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(Y){He(r,r.return,Y)}if(e=r.sibling,e!==null){e.return=r.return,se=e;break}se=r.return}return ae=Hh,Hh=!1,ae}function Eo(e,r,o){var a=r.updateQueue;if(a=a!==null?a.lastEffect:null,a!==null){var f=a=a.next;do{if((f.tag&e)===e){var p=f.destroy;f.destroy=void 0,p!==void 0&&Tu(r,o,p)}f=f.next}while(f!==a)}}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 a=o.create;o.destroy=a()}o=o.next}while(o!==r)}}function Cu(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 qh(e){var r=e.alternate;r!==null&&(e.alternate=null,qh(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[Ul],delete r[Zx],delete r[ew])),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 Kh(e){return e.tag===5||e.tag===3||e.tag===4}function Gh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Kh(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 Au(e,r,o){var a=e.tag;if(a===5||a===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=_s));else if(a!==4&&(e=e.child,e!==null))for(Au(e,r,o),e=e.sibling;e!==null;)Au(e,r,o),e=e.sibling}function _u(e,r,o){var a=e.tag;if(a===5||a===6)e=e.stateNode,r?o.insertBefore(e,r):o.appendChild(e);else if(a!==4&&(e=e.child,e!==null))for(_u(e,r,o),e=e.sibling;e!==null;)_u(e,r,o),e=e.sibling}var ct=null,sn=!1;function ur(e,r,o){for(o=o.child;o!==null;)Qh(e,r,o),o=o.sibling}function Qh(e,r,o){if(vn&&typeof vn.onCommitFiberUnmount=="function")try{vn.onCommitFiberUnmount(cs,o)}catch{}switch(o.tag){case 5:gt||gi(o,r);case 6:var a=ct,f=sn;ct=null,ur(e,r,o),ct=a,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?zl(e.parentNode,o):e.nodeType===1&&zl(e,o),Zi(e)):zl(ct,o.stateNode));break;case 4:a=ct,f=sn,ct=o.stateNode.containerInfo,sn=!0,ur(e,r,o),ct=a,sn=f;break;case 0:case 11:case 14:case 15:if(!gt&&(a=o.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){f=a=a.next;do{var p=f,v=p.destroy;p=p.tag,v!==void 0&&((p&2)!==0||(p&4)!==0)&&Tu(o,r,v),f=f.next}while(f!==a)}ur(e,r,o);break;case 1:if(!gt&&(gi(o,r),a=o.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=o.memoizedProps,a.state=o.memoizedState,a.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=(a=gt)||o.memoizedState!==null,ur(e,r,o),gt=a):ur(e,r,o);break;default:ur(e,r,o)}}function Xh(e){var r=e.updateQueue;if(r!==null){e.updateQueue=null;var o=e.stateNode;o===null&&(o=e.stateNode=new yw),r.forEach(function(a){var f=Cw.bind(null,e,a);o.has(a)||(o.add(a),a.then(f,f))})}}function an(e,r){var o=r.deletions;if(o!==null)for(var a=0;a<o.length;a++){var f=o[a];try{var p=e,v=r,C=v;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));Qh(p,v,f),ct=null,sn=!1;var R=f.alternate;R!==null&&(R.return=null),f.return=null}catch(B){He(f,r,B)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)Yh(r,e),r=r.sibling}function Yh(e,r){var o=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(an(r,e),En(e),a&4){try{Eo(3,e,e.return),Ys(3,e)}catch(ue){He(e,e.return,ue)}try{Eo(5,e,e.return)}catch(ue){He(e,e.return,ue)}}break;case 1:an(r,e),En(e),a&512&&o!==null&&gi(o,o.return);break;case 5:if(an(r,e),En(e),a&512&&o!==null&&gi(o,o.return),e.flags&32){var f=e.stateNode;try{Nn(f,"")}catch(ue){He(e,e.return,ue)}}if(a&4&&(f=e.stateNode,f!=null)){var p=e.memoizedProps,v=o!==null?o.memoizedProps:p,C=e.type,R=e.updateQueue;if(e.updateQueue=null,R!==null)try{C==="input"&&p.type==="radio"&&p.name!=null&&et(f,p),z(C,v);var B=z(C,p);for(v=0;v<R.length;v+=2){var Q=R[v],X=R[v+1];Q==="style"?Gr(f,X):Q==="dangerouslySetInnerHTML"?qn(f,X):Q==="children"?Nn(f,X):b(f,Q,X,B)}switch(C){case"input":ot(f,p);break;case"textarea":_n(f,p);break;case"select":var G=f._wrapperState.wasMultiple;f._wrapperState.wasMultiple=!!p.multiple;var ie=p.value;ie!=null?st(f,!!p.multiple,ie,!1):G!==!!p.multiple&&(p.defaultValue!=null?st(f,!!p.multiple,p.defaultValue,!0):st(f,!!p.multiple,p.multiple?[]:"",!1))}f[co]=p}catch(ue){He(e,e.return,ue)}}break;case 6:if(an(r,e),En(e),a&4){if(e.stateNode===null)throw Error(i(162));f=e.stateNode,p=e.memoizedProps;try{f.nodeValue=p}catch(ue){He(e,e.return,ue)}}break;case 3:if(an(r,e),En(e),a&4&&o!==null&&o.memoizedState.isDehydrated)try{Zi(r.containerInfo)}catch(ue){He(e,e.return,ue)}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||(Fu=Ke())),a&4&&Xh(e);break;case 22:if(Q=o!==null&&o.memoizedState!==null,e.mode&1?(gt=(B=gt)||Q,an(r,e),gt=B):an(r,e),En(e),a&8192){if(B=e.memoizedState!==null,(e.stateNode.isHidden=B)&&!Q&&(e.mode&1)!==0)for(se=e,Q=e.child;Q!==null;){for(X=se=Q;se!==null;){switch(G=se,ie=G.child,G.tag){case 0:case 11:case 14:case 15:Eo(4,G,G.return);break;case 1:gi(G,G.return);var ae=G.stateNode;if(typeof ae.componentWillUnmount=="function"){a=G,o=G.return;try{r=a,ae.props=r.memoizedProps,ae.state=r.memoizedState,ae.componentWillUnmount()}catch(ue){He(a,o,ue)}}break;case 5:gi(G,G.return);break;case 22:if(G.memoizedState!==null){em(X);continue}}ie!==null?(ie.return=G,se=ie):em(X)}Q=Q.sibling}e:for(Q=null,X=e;;){if(X.tag===5){if(Q===null){Q=X;try{f=X.stateNode,B?(p=f.style,typeof p.setProperty=="function"?p.setProperty("display","none","important"):p.display="none"):(C=X.stateNode,R=X.memoizedProps.style,v=R!=null&&R.hasOwnProperty("display")?R.display:null,C.style.display=is("display",v))}catch(ue){He(e,e.return,ue)}}}else if(X.tag===6){if(Q===null)try{X.stateNode.nodeValue=B?"":X.memoizedProps}catch(ue){He(e,e.return,ue)}}else if((X.tag!==22&&X.tag!==23||X.memoizedState===null||X===e)&&X.child!==null){X.child.return=X,X=X.child;continue}if(X===e)break e;for(;X.sibling===null;){if(X.return===null||X.return===e)break e;Q===X&&(Q=null),X=X.return}Q===X&&(Q=null),X.sibling.return=X.return,X=X.sibling}}break;case 19:an(r,e),En(e),a&4&&Xh(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(Kh(o)){var a=o;break e}o=o.return}throw Error(i(160))}switch(a.tag){case 5:var f=a.stateNode;a.flags&32&&(Nn(f,""),a.flags&=-33);var p=Gh(e);_u(e,p,f);break;case 3:case 4:var v=a.stateNode.containerInfo,C=Gh(e);Au(e,C,v);break;default:throw Error(i(161))}}catch(R){He(e,e.return,R)}e.flags&=-3}r&4096&&(e.flags&=-4097)}function vw(e,r,o){se=e,Jh(e)}function Jh(e,r,o){for(var a=(e.mode&1)!==0;se!==null;){var f=se,p=f.child;if(f.tag===22&&a){var v=f.memoizedState!==null||Xs;if(!v){var C=f.alternate,R=C!==null&&C.memoizedState!==null||gt;C=Xs;var B=gt;if(Xs=v,(gt=R)&&!B)for(se=f;se!==null;)v=se,R=v.child,v.tag===22&&v.memoizedState!==null?tm(f):R!==null?(R.return=v,se=R):tm(f);for(;p!==null;)se=p,Jh(p),p=p.sibling;se=f,Xs=C,gt=B}Zh(e)}else(f.subtreeFlags&8772)!==0&&p!==null?(p.return=f,se=p):Zh(e)}}function Zh(e){for(;se!==null;){var r=se;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 a=r.stateNode;if(r.flags&4&&!gt)if(o===null)a.componentDidMount();else{var f=r.elementType===r.type?o.memoizedProps:on(r.type,o.memoizedProps);a.componentDidUpdate(f,o.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}var p=r.updateQueue;p!==null&&eh(r,p,a);break;case 3:var v=r.updateQueue;if(v!==null){if(o=null,r.child!==null)switch(r.child.tag){case 5:o=r.child.stateNode;break;case 1:o=r.child.stateNode}eh(r,v,o)}break;case 5:var C=r.stateNode;if(o===null&&r.flags&4){o=C;var R=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":R.autoFocus&&o.focus();break;case"img":R.src&&(o.src=R.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var B=r.alternate;if(B!==null){var Q=B.memoizedState;if(Q!==null){var X=Q.dehydrated;X!==null&&Zi(X)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}gt||r.flags&512&&Cu(r)}catch(G){He(r,r.return,G)}}if(r===e){se=null;break}if(o=r.sibling,o!==null){o.return=r.return,se=o;break}se=r.return}}function em(e){for(;se!==null;){var r=se;if(r===e){se=null;break}var o=r.sibling;if(o!==null){o.return=r.return,se=o;break}se=r.return}}function tm(e){for(;se!==null;){var r=se;try{switch(r.tag){case 0:case 11:case 15:var o=r.return;try{Ys(4,r)}catch(R){He(r,o,R)}break;case 1:var a=r.stateNode;if(typeof a.componentDidMount=="function"){var f=r.return;try{a.componentDidMount()}catch(R){He(r,f,R)}}var p=r.return;try{Cu(r)}catch(R){He(r,p,R)}break;case 5:var v=r.return;try{Cu(r)}catch(R){He(r,v,R)}}}catch(R){He(r,r.return,R)}if(r===e){se=null;break}var C=r.sibling;if(C!==null){C.return=r.return,se=C;break}se=r.return}}var xw=Math.ceil,Js=D.ReactCurrentDispatcher,Nu=D.ReactCurrentOwner,Kt=D.ReactCurrentBatchConfig,Ne=0,lt=null,Ye=null,ft=0,zt=0,vi=ir(0),nt=0,ko=null,Fr=0,Zs=0,Ru=0,Po=null,bt=null,Fu=0,xi=1/0,Vn=null,ea=!1,bu=null,cr=null,ta=!1,fr=null,na=0,To=0,Ou=null,ra=-1,ia=0;function Tt(){return(Ne&6)!==0?Ke():ra!==-1?ra:ra=Ke()}function dr(e){return(e.mode&1)===0?1:(Ne&2)!==0&&ft!==0?ft&-ft:nw.transition!==null?(ia===0&&(ia=Gd()),ia):(e=Me,e!==0||(e=window.event,e=e===void 0?16:rp(e.type)),e)}function ln(e,r,o,a){if(50<To)throw To=0,Ou=null,Error(i(185));Gi(e,o,a),((Ne&2)===0||e!==lt)&&(e===lt&&((Ne&2)===0&&(Zs|=o),nt===4&&pr(e,ft)),Ot(e,a),o===1&&Ne===0&&(r.mode&1)===0&&(xi=Ke()+500,bs&&sr()))}function Ot(e,r){var o=e.callbackNode;tx(e,r);var a=ps(e,e===lt?ft:0);if(a===0)o!==null&&qi(o),e.callbackNode=null,e.callbackPriority=0;else if(r=a&-a,e.callbackPriority!==r){if(o!=null&&qi(o),r===1)e.tag===0?tw(rm.bind(null,e)):Up(rm.bind(null,e)),Yx(function(){(Ne&6)===0&&sr()}),o=null;else{switch(Qd(a)){case 1:o=dl;break;case 4:o=qd;break;case 16:o=us;break;case 536870912:o=Kd;break;default:o=us}o=fm(o,nm.bind(null,e))}e.callbackPriority=r,e.callbackNode=o}}function nm(e,r){if(ra=-1,ia=0,(Ne&6)!==0)throw Error(i(327));var o=e.callbackNode;if(wi()&&e.callbackNode!==o)return null;var a=ps(e,e===lt?ft:0);if(a===0)return null;if((a&30)!==0||(a&e.expiredLanes)!==0||r)r=oa(e,a);else{r=a;var f=Ne;Ne|=2;var p=om();(lt!==e||ft!==r)&&(Vn=null,xi=Ke()+500,Or(e,r));do try{Ew();break}catch(C){im(e,C)}while(!0);Yl(),Js.current=p,Ne=f,Ye!==null?r=0:(lt=null,ft=0,r=nt)}if(r!==0){if(r===2&&(f=pl(e),f!==0&&(a=f,r=Mu(e,f))),r===1)throw o=ko,Or(e,0),pr(e,a),Ot(e,Ke()),o;if(r===6)pr(e,a);else{if(f=e.current.alternate,(a&30)===0&&!ww(f)&&(r=oa(e,a),r===2&&(p=pl(e),p!==0&&(a=p,r=Mu(e,p))),r===1))throw o=ko,Or(e,0),pr(e,a),Ot(e,Ke()),o;switch(e.finishedWork=f,e.finishedLanes=a,r){case 0:case 1:throw Error(i(345));case 2:Mr(e,bt,Vn);break;case 3:if(pr(e,a),(a&130023424)===a&&(r=Fu+500-Ke(),10<r)){if(ps(e,0)!==0)break;if(f=e.suspendedLanes,(f&a)!==a){Tt(),e.pingedLanes|=e.suspendedLanes&f;break}e.timeoutHandle=Bl(Mr.bind(null,e,bt,Vn),r);break}Mr(e,bt,Vn);break;case 4:if(pr(e,a),(a&4194240)===a)break;for(r=e.eventTimes,f=-1;0<a;){var v=31-tn(a);p=1<<v,v=r[v],v>f&&(f=v),a&=~p}if(a=f,a=Ke()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*xw(a/1960))-a,10<a){e.timeoutHandle=Bl(Mr.bind(null,e,bt,Vn),a);break}Mr(e,bt,Vn);break;case 5:Mr(e,bt,Vn);break;default:throw Error(i(329))}}}return Ot(e,Ke()),e.callbackNode===o?nm.bind(null,e):null}function Mu(e,r){var o=Po;return e.current.memoizedState.isDehydrated&&(Or(e,r).flags|=256),e=oa(e,r),e!==2&&(r=bt,bt=o,r!==null&&ju(r)),e}function ju(e){bt===null?bt=e:bt.push.apply(bt,e)}function ww(e){for(var r=e;;){if(r.flags&16384){var o=r.updateQueue;if(o!==null&&(o=o.stores,o!==null))for(var a=0;a<o.length;a++){var f=o[a],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),a=1<<o;e[o]=-1,r&=~a}}function rm(e){if((Ne&6)!==0)throw Error(i(327));wi();var r=ps(e,0);if((r&1)===0)return Ot(e,Ke()),null;var o=oa(e,r);if(e.tag!==0&&o===2){var a=pl(e);a!==0&&(r=a,o=Mu(e,a))}if(o===1)throw o=ko,Or(e,0),pr(e,r),Ot(e,Ke()),o;if(o===6)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=r,Mr(e,bt,Vn),Ot(e,Ke()),null}function Iu(e,r){var o=Ne;Ne|=1;try{return e(r)}finally{Ne=o,Ne===0&&(xi=Ke()+500,bs&&sr())}}function br(e){fr!==null&&fr.tag===0&&(Ne&6)===0&&wi();var r=Ne;Ne|=1;var o=Kt.transition,a=Me;try{if(Kt.transition=null,Me=1,e)return e()}finally{Me=a,Kt.transition=o,Ne=r,(Ne&6)===0&&sr()}}function Du(){zt=vi.current,Le(vi)}function Or(e,r){e.finishedWork=null,e.finishedLanes=0;var o=e.timeoutHandle;if(o!==-1&&(e.timeoutHandle=-1,Xx(o)),Ye!==null)for(o=Ye.return;o!==null;){var a=o;switch(ql(a),a.tag){case 1:a=a.type.childContextTypes,a!=null&&Rs();break;case 3:mi(),Le(Nt),Le(ht),ou();break;case 5:ru(a);break;case 4:mi();break;case 13:Le(Ue);break;case 19:Le(Ue);break;case 10:Jl(a.type._context);break;case 22:case 23:Du()}o=o.return}if(lt=e,Ye=e=hr(e.current,null),ft=zt=r,nt=0,ko=null,Ru=Zs=Fr=0,bt=Po=null,_r!==null){for(r=0;r<_r.length;r++)if(o=_r[r],a=o.interleaved,a!==null){o.interleaved=null;var f=a.next,p=o.pending;if(p!==null){var v=p.next;p.next=f,a.next=v}o.pending=a}_r=null}return e}function im(e,r){do{var o=Ye;try{if(Yl(),Us.current=qs,$s){for(var a=$e.memoizedState;a!==null;){var f=a.queue;f!==null&&(f.pending=null),a=a.next}$s=!1}if(Rr=0,at=tt=$e=null,go=!1,vo=0,Nu.current=null,o===null||o.return===null){nt=1,ko=r,Ye=null;break}e:{var p=e,v=o.return,C=o,R=r;if(r=ft,C.flags|=32768,R!==null&&typeof R=="object"&&typeof R.then=="function"){var B=R,Q=C,X=Q.tag;if((Q.mode&1)===0&&(X===0||X===11||X===15)){var G=Q.alternate;G?(Q.updateQueue=G.updateQueue,Q.memoizedState=G.memoizedState,Q.lanes=G.lanes):(Q.updateQueue=null,Q.memoizedState=null)}var ie=Nh(v);if(ie!==null){ie.flags&=-257,Rh(ie,v,C,p,r),ie.mode&1&&_h(p,B,r),r=ie,R=B;var ae=r.updateQueue;if(ae===null){var ue=new Set;ue.add(R),r.updateQueue=ue}else ae.add(R);break e}else{if((r&1)===0){_h(p,B,r),Lu();break e}R=Error(i(426))}}else if(Be&&C.mode&1){var Ge=Nh(v);if(Ge!==null){(Ge.flags&65536)===0&&(Ge.flags|=256),Rh(Ge,v,C,p,r),Ql(yi(R,C));break e}}p=R=yi(R,C),nt!==4&&(nt=2),Po===null?Po=[p]:Po.push(p),p=v;do{switch(p.tag){case 3:p.flags|=65536,r&=-r,p.lanes|=r;var j=Ch(p,R,r);Zp(p,j);break e;case 1:C=R;var F=p.type,L=p.stateNode;if((p.flags&128)===0&&(typeof F.getDerivedStateFromError=="function"||L!==null&&typeof L.componentDidCatch=="function"&&(cr===null||!cr.has(L)))){p.flags|=65536,r&=-r,p.lanes|=r;var Y=Ah(p,C,r);Zp(p,Y);break e}}p=p.return}while(p!==null)}am(o)}catch(ce){r=ce,Ye===o&&o!==null&&(Ye=o=o.return);continue}break}while(!0)}function om(){var e=Js.current;return Js.current=qs,e===null?qs:e}function Lu(){(nt===0||nt===3||nt===2)&&(nt=4),lt===null||(Fr&268435455)===0&&(Zs&268435455)===0||pr(lt,ft)}function oa(e,r){var o=Ne;Ne|=2;var a=om();(lt!==e||ft!==r)&&(Vn=null,Or(e,r));do try{Sw();break}catch(f){im(e,f)}while(!0);if(Yl(),Ne=o,Js.current=a,Ye!==null)throw Error(i(261));return lt=null,ft=0,nt}function Sw(){for(;Ye!==null;)sm(Ye)}function Ew(){for(;Ye!==null&&!q1();)sm(Ye)}function sm(e){var r=cm(e.alternate,e,zt);e.memoizedProps=e.pendingProps,r===null?am(e):Ye=r,Nu.current=null}function am(e){var r=e;do{var o=r.alternate;if(e=r.return,(r.flags&32768)===0){if(o=hw(o,r,zt),o!==null){Ye=o;return}}else{if(o=mw(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 a=Me,f=Kt.transition;try{Kt.transition=null,Me=1,kw(e,r,o,a)}finally{Kt.transition=f,Me=a}return null}function kw(e,r,o,a){do wi();while(fr!==null);if((Ne&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(nx(e,p),e===lt&&(Ye=lt=null,ft=0),(o.subtreeFlags&2064)===0&&(o.flags&2064)===0||ta||(ta=!0,fm(us,function(){return wi(),null})),p=(o.flags&15990)!==0,(o.subtreeFlags&15990)!==0||p){p=Kt.transition,Kt.transition=null;var v=Me;Me=1;var C=Ne;Ne|=4,Nu.current=null,gw(e,o),Yh(o,e),$x(Ll),ys=!!Dl,Ll=Dl=null,e.current=o,vw(o),K1(),Ne=C,Me=v,Kt.transition=p}else e.current=o;if(ta&&(ta=!1,fr=e,na=f),p=e.pendingLanes,p===0&&(cr=null),X1(o.stateNode),Ot(e,Ke()),r!==null)for(a=e.onRecoverableError,o=0;o<r.length;o++)f=r[o],a(f.value,{componentStack:f.stack,digest:f.digest});if(ea)throw ea=!1,e=bu,bu=null,e;return(na&1)!==0&&e.tag!==0&&wi(),p=e.pendingLanes,(p&1)!==0?e===Ou?To++:(To=0,Ou=e):To=0,sr(),null}function wi(){if(fr!==null){var e=Qd(na),r=Kt.transition,o=Me;try{if(Kt.transition=null,Me=16>e?16:e,fr===null)var a=!1;else{if(e=fr,fr=null,na=0,(Ne&6)!==0)throw Error(i(331));var f=Ne;for(Ne|=4,se=e.current;se!==null;){var p=se,v=p.child;if((se.flags&16)!==0){var C=p.deletions;if(C!==null){for(var R=0;R<C.length;R++){var B=C[R];for(se=B;se!==null;){var Q=se;switch(Q.tag){case 0:case 11:case 15:Eo(8,Q,p)}var X=Q.child;if(X!==null)X.return=Q,se=X;else for(;se!==null;){Q=se;var G=Q.sibling,ie=Q.return;if(qh(Q),Q===B){se=null;break}if(G!==null){G.return=ie,se=G;break}se=ie}}}var ae=p.alternate;if(ae!==null){var ue=ae.child;if(ue!==null){ae.child=null;do{var Ge=ue.sibling;ue.sibling=null,ue=Ge}while(ue!==null)}}se=p}}if((p.subtreeFlags&2064)!==0&&v!==null)v.return=p,se=v;else e:for(;se!==null;){if(p=se,(p.flags&2048)!==0)switch(p.tag){case 0:case 11:case 15:Eo(9,p,p.return)}var j=p.sibling;if(j!==null){j.return=p.return,se=j;break e}se=p.return}}var F=e.current;for(se=F;se!==null;){v=se;var L=v.child;if((v.subtreeFlags&2064)!==0&&L!==null)L.return=v,se=L;else e:for(v=F;se!==null;){if(C=se,(C.flags&2048)!==0)try{switch(C.tag){case 0:case 11:case 15:Ys(9,C)}}catch(ce){He(C,C.return,ce)}if(C===v){se=null;break e}var Y=C.sibling;if(Y!==null){Y.return=C.return,se=Y;break e}se=C.return}}if(Ne=f,sr(),vn&&typeof vn.onPostCommitFiberRoot=="function")try{vn.onPostCommitFiberRoot(cs,e)}catch{}a=!0}return a}finally{Me=o,Kt.transition=r}}return!1}function lm(e,r,o){r=yi(o,r),r=Ch(e,r,1),e=lr(e,r,1),r=Tt(),e!==null&&(Gi(e,1,r),Ot(e,r))}function He(e,r,o){if(e.tag===3)lm(e,e,o);else for(;r!==null;){if(r.tag===3){lm(r,e,o);break}else if(r.tag===1){var a=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(cr===null||!cr.has(a))){e=yi(o,e),e=Ah(r,e,1),r=lr(r,e,1),e=Tt(),r!==null&&(Gi(r,1,e),Ot(r,e));break}}r=r.return}}function Pw(e,r,o){var a=e.pingCache;a!==null&&a.delete(r),r=Tt(),e.pingedLanes|=e.suspendedLanes&o,lt===e&&(ft&o)===o&&(nt===4||nt===3&&(ft&130023424)===ft&&500>Ke()-Fu?Or(e,0):Ru|=o),Ot(e,r)}function um(e,r){r===0&&((e.mode&1)===0?r=1:(r=ds,ds<<=1,(ds&130023424)===0&&(ds=4194304)));var o=Tt();e=In(e,r),e!==null&&(Gi(e,r,o),Ot(e,o))}function Tw(e){var r=e.memoizedState,o=0;r!==null&&(o=r.retryLane),um(e,o)}function Cw(e,r){var o=0;switch(e.tag){case 13:var a=e.stateNode,f=e.memoizedState;f!==null&&(o=f.retryLane);break;case 19:a=e.stateNode;break;default:throw Error(i(314))}a!==null&&a.delete(r),um(e,o)}var cm;cm=function(e,r,o){if(e!==null)if(e.memoizedProps!==r.pendingProps||Nt.current)Ft=!0;else{if((e.lanes&o)===0&&(r.flags&128)===0)return Ft=!1,pw(e,r,o);Ft=(e.flags&131072)!==0}else Ft=!1,Be&&(r.flags&1048576)!==0&&$p(r,Ms,r.index);switch(r.lanes=0,r.tag){case 2:var a=r.type;Qs(e,r),e=r.pendingProps;var f=li(r,ht.current);hi(r,o),f=lu(null,r,a,e,f,o);var p=uu();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,Rt(a)?(p=!0,Fs(r)):p=!1,r.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,tu(r),f.updater=Ks,r.stateNode=f,f._reactInternals=r,mu(r,a,e,o),r=xu(null,r,a,!0,p,o)):(r.tag=0,Be&&p&&Hl(r),Pt(null,r,f,o),r=r.child),r;case 16:a=r.elementType;e:{switch(Qs(e,r),e=r.pendingProps,f=a._init,a=f(a._payload),r.type=a,f=r.tag=_w(a),e=on(a,e),f){case 0:r=vu(null,r,a,e,o);break e;case 1:r=Ih(null,r,a,e,o);break e;case 11:r=Fh(null,r,a,e,o);break e;case 14:r=bh(null,r,a,on(a.type,e),o);break e}throw Error(i(306,a,""))}return r;case 0:return a=r.type,f=r.pendingProps,f=r.elementType===a?f:on(a,f),vu(e,r,a,f,o);case 1:return a=r.type,f=r.pendingProps,f=r.elementType===a?f:on(a,f),Ih(e,r,a,f,o);case 3:e:{if(Dh(r),e===null)throw Error(i(387));a=r.pendingProps,p=r.memoizedState,f=p.element,Jp(e,r),Bs(r,a,null,o);var v=r.memoizedState;if(a=v.element,p.isDehydrated)if(p={element:a,isDehydrated:!1,cache:v.cache,pendingSuspenseBoundaries:v.pendingSuspenseBoundaries,transitions:v.transitions},r.updateQueue.baseState=p,r.memoizedState=p,r.flags&256){f=yi(Error(i(423)),r),r=Lh(e,r,a,o,f);break e}else if(a!==f){f=yi(Error(i(424)),r),r=Lh(e,r,a,o,f);break e}else for(Bt=rr(r.stateNode.containerInfo.firstChild),Vt=r,Be=!0,rn=null,o=Xp(r,null,a,o),r.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(fi(),a===f){r=Ln(e,r,o);break e}Pt(e,r,a,o)}r=r.child}return r;case 5:return th(r),e===null&&Gl(r),a=r.type,f=r.pendingProps,p=e!==null?e.memoizedProps:null,v=f.children,Vl(a,f)?v=null:p!==null&&Vl(a,p)&&(r.flags|=32),jh(e,r),Pt(e,r,v,o),r.child;case 6:return e===null&&Gl(r),null;case 13:return Vh(e,r,o);case 4:return nu(r,r.stateNode.containerInfo),a=r.pendingProps,e===null?r.child=di(r,null,a,o):Pt(e,r,a,o),r.child;case 11:return a=r.type,f=r.pendingProps,f=r.elementType===a?f:on(a,f),Fh(e,r,a,f,o);case 7:return Pt(e,r,r.pendingProps,o),r.child;case 8:return Pt(e,r,r.pendingProps.children,o),r.child;case 12:return Pt(e,r,r.pendingProps.children,o),r.child;case 10:e:{if(a=r.type._context,f=r.pendingProps,p=r.memoizedProps,v=f.value,Ie(Ds,a._currentValue),a._currentValue=v,p!==null)if(nn(p.value,v)){if(p.children===f.children&&!Nt.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){v=p.child;for(var R=C.firstContext;R!==null;){if(R.context===a){if(p.tag===1){R=Dn(-1,o&-o),R.tag=2;var B=p.updateQueue;if(B!==null){B=B.shared;var Q=B.pending;Q===null?R.next=R:(R.next=Q.next,Q.next=R),B.pending=R}}p.lanes|=o,R=p.alternate,R!==null&&(R.lanes|=o),Zl(p.return,o,r),C.lanes|=o;break}R=R.next}}else if(p.tag===10)v=p.type===r.type?null:p.child;else if(p.tag===18){if(v=p.return,v===null)throw Error(i(341));v.lanes|=o,C=v.alternate,C!==null&&(C.lanes|=o),Zl(v,o,r),v=p.sibling}else v=p.child;if(v!==null)v.return=p;else for(v=p;v!==null;){if(v===r){v=null;break}if(p=v.sibling,p!==null){p.return=v.return,v=p;break}v=v.return}p=v}Pt(e,r,f.children,o),r=r.child}return r;case 9:return f=r.type,a=r.pendingProps.children,hi(r,o),f=Ht(f),a=a(f),r.flags|=1,Pt(e,r,a,o),r.child;case 14:return a=r.type,f=on(a,r.pendingProps),f=on(a.type,f),bh(e,r,a,f,o);case 15:return Oh(e,r,r.type,r.pendingProps,o);case 17:return a=r.type,f=r.pendingProps,f=r.elementType===a?f:on(a,f),Qs(e,r),r.tag=1,Rt(a)?(e=!0,Fs(r)):e=!1,hi(r,o),Ph(r,a,f),mu(r,a,f,o),xu(null,r,a,!0,e,o);case 19:return zh(e,r,o);case 22:return Mh(e,r,o)}throw Error(i(156,r.tag))};function fm(e,r){return ls(e,r)}function Aw(e,r,o,a){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=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Gt(e,r,o,a){return new Aw(e,r,o,a)}function Vu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _w(e){if(typeof e=="function")return Vu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===re)return 11;if(e===_e)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,a,f,p){var v=2;if(a=e,typeof e=="function")Vu(e)&&(v=1);else if(typeof e=="string")v=5;else e:switch(e){case H:return jr(o.children,f,p,r);case I:v=8,f|=8;break;case ne:return e=Gt(12,o,r,f|2),e.elementType=ne,e.lanes=p,e;case Se:return e=Gt(13,o,r,f),e.elementType=Se,e.lanes=p,e;case ge:return e=Gt(19,o,r,f),e.elementType=ge,e.lanes=p,e;case le:return aa(o,f,p,r);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case te:v=10;break e;case he:v=9;break e;case re:v=11;break e;case _e:v=14;break e;case Pe:v=16,a=null;break e}throw Error(i(130,e==null?e:typeof e,""))}return r=Gt(v,o,r,f),r.elementType=e,r.type=a,r.lanes=p,r}function jr(e,r,o,a){return e=Gt(7,e,a,r),e.lanes=o,e}function aa(e,r,o,a){return e=Gt(22,e,a,r),e.elementType=le,e.lanes=o,e.stateNode={isHidden:!1},e}function Bu(e,r,o){return e=Gt(6,e,null,r),e.lanes=o,e}function zu(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 Nw(e,r,o,a,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=hl(0),this.expirationTimes=hl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=hl(0),this.identifierPrefix=a,this.onRecoverableError=f,this.mutableSourceEagerHydrationData=null}function Uu(e,r,o,a,f,p,v,C,R){return e=new Nw(e,r,o,C,R),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:a,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},tu(p),e}function Rw(e,r,o){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:q,key:a==null?null:""+a,children:e,containerInfo:r,implementation:o}}function dm(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(Rt(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(Rt(o))return Bp(e,o,r)}return r}function pm(e,r,o,a,f,p,v,C,R){return e=Uu(o,a,!0,e,f,p,v,C,R),e.context=dm(null),o=e.current,a=Tt(),f=dr(o),p=Dn(a,f),p.callback=r??null,lr(o,p,f),e.current.lanes=f,Gi(e,f,a),Ot(e,a),e}function la(e,r,o,a){var f=r.current,p=Tt(),v=dr(f);return o=dm(o),r.context===null?r.context=o:r.pendingContext=o,r=Dn(p,v),r.payload={element:e},a=a===void 0?null:a,a!==null&&(r.callback=a),e=lr(f,r,v),e!==null&&(ln(e,f,v,p),Vs(e,f,v)),v}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 hm(e,r){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<r?o:r}}function $u(e,r){hm(e,r),(e=e.alternate)&&hm(e,r)}function Fw(){return null}var mm=typeof reportError=="function"?reportError:function(e){console.error(e)};function Wu(e){this._internalRoot=e}ca.prototype.render=Wu.prototype.render=function(e){var r=this._internalRoot;if(r===null)throw Error(i(409));la(e,r,null,null)},ca.prototype.unmount=Wu.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=Jd();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&&tp(e)}};function Hu(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 ym(){}function bw(e,r,o,a,f){if(f){if(typeof a=="function"){var p=a;a=function(){var B=ua(v);p.call(B)}}var v=pm(r,a,e,0,null,!1,!1,"",ym);return e._reactRootContainer=v,e[bn]=v.current,lo(e.nodeType===8?e.parentNode:e),br(),v}for(;f=e.lastChild;)e.removeChild(f);if(typeof a=="function"){var C=a;a=function(){var B=ua(R);C.call(B)}}var R=Uu(e,0,!1,null,null,!1,!1,"",ym);return e._reactRootContainer=R,e[bn]=R.current,lo(e.nodeType===8?e.parentNode:e),br(function(){la(r,R,o,a)}),R}function da(e,r,o,a,f){var p=o._reactRootContainer;if(p){var v=p;if(typeof f=="function"){var C=f;f=function(){var R=ua(v);C.call(R)}}la(r,v,e,f)}else v=bw(o,r,e,f,a);return ua(v)}Xd=function(e){switch(e.tag){case 3:var r=e.stateNode;if(r.current.memoizedState.isDehydrated){var o=Ki(r.pendingLanes);o!==0&&(ml(r,o|1),Ot(r,Ke()),(Ne&6)===0&&(xi=Ke()+500,sr()))}break;case 13:br(function(){var a=In(e,1);if(a!==null){var f=Tt();ln(a,e,1,f)}}),$u(e,1)}},yl=function(e){if(e.tag===13){var r=In(e,134217728);if(r!==null){var o=Tt();ln(r,e,134217728,o)}$u(e,134217728)}},Yd=function(e){if(e.tag===13){var r=dr(e),o=In(e,r);if(o!==null){var a=Tt();ln(o,e,r,a)}$u(e,r)}},Jd=function(){return Me},Zd=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 a=o[r];if(a!==e&&a.form===e.form){var f=Ns(a);if(!f)throw Error(i(90));be(a),ot(a,f)}}}break;case"textarea":_n(e,o);break;case"select":r=o.value,r!=null&&st(e,!!o.multiple,r,!1)}},Xr=Iu,Rn=br;var Ow={usingClientEntryPoint:!1,Events:[fo,si,Ns,pt,Jt,Iu]},Co={findFiberByHostInstance:Pr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Mw={bundleType:Co.bundleType,version:Co.version,rendererPackageName:Co.rendererPackageName,rendererConfig:Co.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:D.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Fn(e),e===null?null:e.stateNode},findFiberByHostInstance:Co.findFiberByHostInstance||Fw,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(Mw),vn=pa}catch{}}return Mt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ow,Mt.createPortal=function(e,r){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Hu(r))throw Error(i(200));return Rw(e,r,null,o)},Mt.createRoot=function(e,r){if(!Hu(e))throw Error(i(299));var o=!1,a="",f=mm;return r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(a=r.identifierPrefix),r.onRecoverableError!==void 0&&(f=r.onRecoverableError)),r=Uu(e,1,!1,null,null,o,!1,a,f),e[bn]=r.current,lo(e.nodeType===8?e.parentNode:e),new Wu(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=Fn(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(!Hu(e))throw Error(i(405));var a=o!=null&&o.hydratedSources||null,f=!1,p="",v=mm;if(o!=null&&(o.unstable_strictMode===!0&&(f=!0),o.identifierPrefix!==void 0&&(p=o.identifierPrefix),o.onRecoverableError!==void 0&&(v=o.onRecoverableError)),r=pm(r,null,e,1,o??null,f,!1,p,v),e[bn]=r.current,lo(e),a)for(e=0;e<a.length;e++)o=a[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=Iu,Mt.unstable_renderSubtreeIntoContainer=function(e,r,o,a){if(!fa(o))throw Error(i(200));if(e==null||e._reactInternals===void 0)throw Error(i(38));return da(e,r,o,!1,a)},Mt.version="18.3.1-next-f1338f8080-20240426",Mt}var Tm;function $w(){if(Tm)return Gu.exports;Tm=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(),Gu.exports=Uw(),Gu.exports}var Cm;function Ww(){if(Cm)return ha;Cm=1;var t=$w();return ha.createRoot=t.createRoot,ha.hydrateRoot=t.hydrateRoot,ha}var Hw=Ww(),K=Jf();const ma=Yf(K),Zf=K.createContext({});function ed(t){const n=K.useRef(null);return n.current===null&&(n.current=t()),n.current}const td=typeof window<"u",d0=td?K.useLayoutEffect:K.useEffect,qa=K.createContext(null);function nd(t,n){t.indexOf(n)===-1&&t.push(n)}function rd(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 id=()=>{};const $n={},p0=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function h0(t){return typeof t=="object"&&t!==null}const m0=t=>/^0[^.\s]+$/u.test(t);function od(t){let n;return()=>(n===void 0&&(n=t()),n)}const Yt=t=>t,qw=(t,n)=>i=>n(t(i)),Ho=(...t)=>t.reduce(qw),jo=(t,n,i)=>{const s=n-t;return s===0?1:(i-t)/s};class sd{constructor(){this.subscriptions=[]}add(n){return nd(this.subscriptions,n),()=>rd(this.subscriptions,n)}notify(n,i,s){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](n,i,s);else for(let c=0;c<l;c++){const u=this.subscriptions[c];u&&u(n,i,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Tn=t=>t*1e3,Xt=t=>t/1e3;function y0(t,n){return n?t*(1e3/n):0}const g0=(t,n,i)=>(((1-3*i+3*n)*t+(3*i-6*n))*t+3*n)*t,Kw=1e-7,Gw=12;function Qw(t,n,i,s,l){let c,u,d=0;do u=n+(i-n)/2,c=g0(u,s,l)-t,c>0?i=u:n=u;while(Math.abs(c)>Kw&&++d<Gw);return u}function qo(t,n,i,s){if(t===n&&i===s)return Yt;const l=c=>Qw(c,0,1,t,i);return c=>c===0||c===1?c:g0(l(c),n,s)}const v0=t=>n=>n<=.5?t(2*n)/2:(2-t(2*(1-n)))/2,x0=t=>n=>1-t(1-n),w0=qo(.33,1.53,.69,.99),ad=x0(w0),S0=v0(ad),E0=t=>(t*=2)<1?.5*ad(t):.5*(2-Math.pow(2,-10*(t-1))),ld=t=>1-Math.sin(Math.acos(t)),k0=x0(ld),P0=v0(ld),Xw=qo(.42,0,1,1),Yw=qo(0,0,.58,1),T0=qo(.42,0,.58,1),Jw=t=>Array.isArray(t)&&typeof t[0]!="number",C0=t=>Array.isArray(t)&&typeof t[0]=="number",Zw={linear:Yt,easeIn:Xw,easeInOut:T0,easeOut:Yw,circIn:ld,circInOut:P0,circOut:k0,backIn:ad,backInOut:S0,backOut:w0,anticipate:E0},eS=t=>typeof t=="string",Am=t=>{if(C0(t)){id(t.length===4);const[n,i,s,l]=t;return qo(n,i,s,l)}else if(eS(t))return Zw[t];return t},ya=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function tS(t,n){let i=new Set,s=new Set,l=!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,x=!1,w=!1)=>{const k=w&&l?i:s;return x&&u.add(m),k.has(m)||k.add(m),m},cancel:m=>{s.delete(m),u.delete(m)},process:m=>{if(d=m,l){c=!0;return}l=!0,[i,s]=[s,i],i.forEach(h),i.clear(),l=!1,c&&(c=!1,y.process(m))}};return y}const nS=40;function A0(t,n){let i=!1,s=!0;const l={delta:0,timestamp:0,isProcessing:!1},c=()=>i=!0,u=ya.reduce((b,D)=>(b[D]=tS(c),b),{}),{setup:d,read:h,resolveKeyframes:y,preUpdate:m,update:x,preRender:w,render:P,postRender:k}=u,T=()=>{const b=$n.useManualTiming?l.timestamp:performance.now();i=!1,$n.useManualTiming||(l.delta=s?1e3/60:Math.max(Math.min(b-l.timestamp,nS),1)),l.timestamp=b,l.isProcessing=!0,d.process(l),h.process(l),y.process(l),m.process(l),x.process(l),w.process(l),P.process(l),k.process(l),l.isProcessing=!1,i&&n&&(s=!1,t(T))},S=()=>{i=!0,s=!0,l.isProcessing||t(T)};return{schedule:ya.reduce((b,D)=>{const W=u[D];return b[D]=(q,H=!1,I=!1)=>(i||S(),W.schedule(q,H,I)),b},{}),cancel:b=>{for(let D=0;D<ya.length;D++)u[ya[D]].cancel(b)},state:l,steps:u}}const{schedule:ze,cancel:vr,state:dt,steps:Yu}=A0(typeof requestAnimationFrame<"u"?requestAnimationFrame:Yt,!0);let ka;function rS(){ka=void 0}const jt={now:()=>(ka===void 0&&jt.set(dt.isProcessing||$n.useManualTiming?dt.timestamp:performance.now()),ka),set:t=>{ka=t,queueMicrotask(rS)}},_0=t=>n=>typeof n=="string"&&n.startsWith(t),N0=_0("--"),iS=_0("var(--"),ud=t=>iS(t)?oS.test(t.split("/*")[0].trim()):!1,oS=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Mi={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Io={...Mi,transform:t=>Un(0,1,t)},ga={...Mi,default:1},Fo=t=>Math.round(t*1e5)/1e5,cd=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function sS(t){return t==null}const aS=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,fd=(t,n)=>i=>!!(typeof i=="string"&&aS.test(i)&&i.startsWith(t)||n&&!sS(i)&&Object.prototype.hasOwnProperty.call(i,n)),R0=(t,n,i)=>s=>{if(typeof s!="string")return s;const[l,c,u,d]=s.match(cd);return{[t]:parseFloat(l),[n]:parseFloat(c),[i]:parseFloat(u),alpha:d!==void 0?parseFloat(d):1}},lS=t=>Un(0,255,t),Ju={...Mi,transform:t=>Math.round(lS(t))},Vr={test:fd("rgb","red"),parse:R0("red","green","blue"),transform:({red:t,green:n,blue:i,alpha:s=1})=>"rgba("+Ju.transform(t)+", "+Ju.transform(n)+", "+Ju.transform(i)+", "+Fo(Io.transform(s))+")"};function uS(t){let n="",i="",s="",l="";return t.length>5?(n=t.substring(1,3),i=t.substring(3,5),s=t.substring(5,7),l=t.substring(7,9)):(n=t.substring(1,2),i=t.substring(2,3),s=t.substring(3,4),l=t.substring(4,5),n+=n,i+=i,s+=s,l+=l),{red:parseInt(n,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:l?parseInt(l,16)/255:1}}const pf={test:fd("#"),parse:uS,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"),Cn=Ko("%"),ye=Ko("px"),cS=Ko("vh"),fS=Ko("vw"),_m={...Cn,parse:t=>Cn.parse(t)/100,transform:t=>Cn.transform(t*100)},Ei={test:fd("hsl","hue"),parse:R0("hue","saturation","lightness"),transform:({hue:t,saturation:n,lightness:i,alpha:s=1})=>"hsla("+Math.round(t)+", "+Cn.transform(Fo(n))+", "+Cn.transform(Fo(i))+", "+Fo(Io.transform(s))+")"},Je={test:t=>Vr.test(t)||pf.test(t)||Ei.test(t),parse:t=>Vr.test(t)?Vr.parse(t):Ei.test(t)?Ei.parse(t):pf.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?Vr.transform(t):Ei.transform(t),getAnimatableNone:t=>{const n=Je.parse(t);return n.alpha=0,Je.transform(n)}},dS=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function pS(t){var n,i;return isNaN(t)&&typeof t=="string"&&(((n=t.match(cd))==null?void 0:n.length)||0)+(((i=t.match(dS))==null?void 0:i.length)||0)>0}const F0="number",b0="color",hS="var",mS="var(",Nm="${}",yS=/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:[]},l=[];let c=0;const d=n.replace(yS,h=>(Je.test(h)?(s.color.push(c),l.push(b0),i.push(Je.parse(h))):h.startsWith(mS)?(s.var.push(c),l.push(hS),i.push(h)):(s.number.push(c),l.push(F0),i.push(parseFloat(h))),++c,Nm)).split(Nm);return{values:i,split:d,indexes:s,types:l}}function O0(t){return Do(t).values}function M0(t){const{split:n,types:i}=Do(t),s=n.length;return l=>{let c="";for(let u=0;u<s;u++)if(c+=n[u],l[u]!==void 0){const d=i[u];d===F0?c+=Fo(l[u]):d===b0?c+=Je.transform(l[u]):c+=l[u]}return c}}const gS=t=>typeof t=="number"?0:Je.test(t)?Je.getAnimatableNone(t):t;function vS(t){const n=O0(t);return M0(t)(n.map(gS))}const xr={test:pS,parse:O0,createTransformer:M0,getAnimatableNone:vS};function Zu(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 xS({hue:t,saturation:n,lightness:i,alpha:s}){t/=360,n/=100,i/=100;let l=0,c=0,u=0;if(!n)l=c=u=i;else{const d=i<.5?i*(1+n):i+n-i*n,h=2*i-d;l=Zu(h,d,t+1/3),c=Zu(h,d,t),u=Zu(h,d,t-1/3)}return{red:Math.round(l*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,ec=(t,n,i)=>{const s=t*t,l=i*(n*n-s)+s;return l<0?0:Math.sqrt(l)},wS=[pf,Vr,Ei],SS=t=>wS.find(n=>n.test(t));function Rm(t){const n=SS(t);if(!n)return!1;let i=n.parse(t);return n===Ei&&(i=xS(i)),i}const Fm=(t,n)=>{const i=Rm(t),s=Rm(n);if(!i||!s)return Oa(t,n);const l={...i};return c=>(l.red=ec(i.red,s.red,c),l.green=ec(i.green,s.green,c),l.blue=ec(i.blue,s.blue,c),l.alpha=We(i.alpha,s.alpha,c),Vr.transform(l))},hf=new Set(["none","hidden"]);function ES(t,n){return hf.has(t)?i=>i<=0?t:n:i=>i>=1?n:t}function kS(t,n){return i=>We(t,n,i)}function dd(t){return typeof t=="number"?kS:typeof t=="string"?ud(t)?Oa:Je.test(t)?Fm:CS:Array.isArray(t)?j0:typeof t=="object"?Je.test(t)?Fm:PS:Oa}function j0(t,n){const i=[...t],s=i.length,l=t.map((c,u)=>dd(c)(c,n[u]));return c=>{for(let u=0;u<s;u++)i[u]=l[u](c);return i}}function PS(t,n){const i={...t,...n},s={};for(const l in i)t[l]!==void 0&&n[l]!==void 0&&(s[l]=dd(t[l])(t[l],n[l]));return l=>{for(const c in s)i[c]=s[c](l);return i}}function TS(t,n){const i=[],s={color:0,var:0,number:0};for(let l=0;l<n.values.length;l++){const c=n.types[l],u=t.indexes[c][s[c]],d=t.values[u]??0;i[l]=d,s[c]++}return i}const CS=(t,n)=>{const i=xr.createTransformer(n),s=Do(t),l=Do(n);return s.indexes.var.length===l.indexes.var.length&&s.indexes.color.length===l.indexes.color.length&&s.indexes.number.length>=l.indexes.number.length?hf.has(t)&&!l.values.length||hf.has(n)&&!s.values.length?ES(t,n):Ho(j0(TS(s,l),l.values),i):Oa(t,n)};function I0(t,n,i){return typeof t=="number"&&typeof n=="number"&&typeof i=="number"?We(t,n,i):dd(t)(t,n)}const AS=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()}},D0=(t,n,i=10)=>{let s="";const l=Math.max(Math.round(n/i),2);for(let c=0;c<l;c++)s+=Math.round(t(c/(l-1))*1e4)/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},Ma=2e4;function pd(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 _S(t,n=100,i){const s=i({...t,keyframes:[0,n]}),l=Math.min(pd(s),Ma);return{type:"keyframes",ease:c=>s.next(l*c).value/n,duration:Xt(l)}}const NS=5;function L0(t,n,i){const s=Math.max(n-NS,0);return y0(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},tc=.001;function RS({duration:t=qe.duration,bounce:n=qe.bounce,velocity:i=qe.velocity,mass:s=qe.mass}){let l,c,u=1-n;u=Un(qe.minDamping,qe.maxDamping,u),t=Un(qe.minDuration,qe.maxDuration,Xt(t)),u<1?(l=y=>{const m=y*u,x=m*t,w=m-i,P=mf(y,u),k=Math.exp(-x);return tc-w/P*k},c=y=>{const x=y*u*t,w=x*i+i,P=Math.pow(u,2)*Math.pow(y,2)*t,k=Math.exp(-x),T=mf(Math.pow(y,2),u);return(-l(y)+tc>0?-1:1)*((w-P)*k)/T}):(l=y=>{const m=Math.exp(-y*t),x=(y-i)*t+1;return-tc+m*x},c=y=>{const m=Math.exp(-y*t),x=(i-y)*(t*t);return m*x});const d=5/t,h=bS(l,c,d);if(t=Tn(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 FS=12;function bS(t,n,i){let s=i;for(let l=1;l<FS;l++)s=s-t(s)/n(s);return s}function mf(t,n){return t*Math.sqrt(1-n*n)}const OS=["duration","bounce"],MS=["stiffness","damping","mass"];function bm(t,n){return n.some(i=>t[i]!==void 0)}function jS(t){let n={velocity:qe.velocity,stiffness:qe.stiffness,damping:qe.damping,mass:qe.mass,isResolvedFromDuration:!1,...t};if(!bm(t,MS)&&bm(t,OS))if(t.visualDuration){const i=t.visualDuration,s=2*Math.PI/(i*1.2),l=s*s,c=2*Un(.05,1,1-(t.bounce||0))*Math.sqrt(l);n={...n,mass:qe.mass,stiffness:l,damping:c}}else{const i=RS(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:l}=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:x,velocity:w,isResolvedFromDuration:P}=jS({...i,velocity:-Xt(i.velocity||0)}),k=w||0,T=y/(2*Math.sqrt(h*m)),S=u-c,_=Xt(Math.sqrt(h/m)),N=Math.abs(S)<5;s||(s=N?qe.restSpeed.granular:qe.restSpeed.default),l||(l=N?qe.restDelta.granular:qe.restDelta.default);let b;if(T<1){const W=mf(_,T);b=q=>{const H=Math.exp(-T*_*q);return u-H*((k+T*_*S)/W*Math.sin(W*q)+S*Math.cos(W*q))}}else if(T===1)b=W=>u-Math.exp(-_*W)*(S+(k+_*S)*W);else{const W=_*Math.sqrt(T*T-1);b=q=>{const H=Math.exp(-T*_*q),I=Math.min(W*q,300);return u-H*((k+T*_*S)*Math.sinh(I)+W*S*Math.cosh(I))/W}}const D={calculatedDuration:P&&x||null,next:W=>{const q=b(W);if(P)d.done=W>=x;else{let H=W===0?k:0;T<1&&(H=W===0?Tn(k):L0(b,W,q));const I=Math.abs(H)<=s,ne=Math.abs(u-q)<=l;d.done=I&&ne}return d.value=d.done?u:q,d},toString:()=>{const W=Math.min(pd(D),Ma),q=D0(H=>D.next(W*H).value,W,30);return W+"ms "+q},toTransition:()=>{}};return D}ja.applyToOptions=t=>{const n=_S(t,100,ja);return t.ease=n.ease,t.duration=Tn(n.duration),t.type="keyframes",t};function yf({keyframes:t,velocity:n=0,power:i=.8,timeConstant:s=325,bounceDamping:l=10,bounceStiffness:c=500,modifyTarget:u,min:d,max:h,restDelta:y=.5,restSpeed:m}){const x=t[0],w={done:!1,value:x},P=I=>d!==void 0&&I<d||h!==void 0&&I>h,k=I=>d===void 0?h:h===void 0||Math.abs(d-I)<Math.abs(h-I)?d:h;let T=i*n;const S=x+T,_=u===void 0?S:u(S);_!==S&&(T=_-x);const N=I=>-T*Math.exp(-I/s),b=I=>_+N(I),D=I=>{const ne=N(I),te=b(I);w.done=Math.abs(ne)<=y,w.value=w.done?_:te};let W,q;const H=I=>{P(w.value)&&(W=I,q=ja({keyframes:[w.value,k(w.value)],velocity:L0(b,I,w.value),damping:l,stiffness:c,restDelta:y,restSpeed:m}))};return H(0),{calculatedDuration:null,next:I=>{let ne=!1;return!q&&W===void 0&&(ne=!0,D(I),H(I)),W!==void 0&&I>=W?q.next(I-W):(!ne&&D(I),w)}}}function IS(t,n,i){const s=[],l=i||$n.mix||I0,c=t.length-1;for(let u=0;u<c;u++){let d=l(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 DS(t,n,{clamp:i=!0,ease:s,mixer:l}={}){const c=t.length;if(id(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=IS(n,s,l),h=d.length,y=m=>{if(u&&m<t[0])return n[0];let x=0;if(h>1)for(;x<t.length-2&&!(m<t[x+1]);x++);const w=jo(t[x],t[x+1],m);return d[x](w)};return i?m=>y(Un(t[0],t[c-1],m)):y}function LS(t,n){const i=t[t.length-1];for(let s=1;s<=n;s++){const l=jo(0,n,s);t.push(We(i,1,l))}}function VS(t){const n=[0];return LS(n,t.length-1),n}function BS(t,n){return t.map(i=>i*n)}function zS(t,n){return t.map(()=>n||T0).splice(0,t.length-1)}function bo({duration:t=300,keyframes:n,times:i,ease:s="easeInOut"}){const l=Jw(s)?s.map(Am):Am(s),c={done:!1,value:n[0]},u=BS(i&&i.length===n.length?i:VS(n),t),d=DS(u,n,{ease:Array.isArray(l)?l:zS(n,l)});return{calculatedDuration:t,next:h=>(c.value=d(h),c.done=h>=t,c)}}const US=t=>t!==null;function hd(t,{repeat:n,repeatType:i="loop"},s,l=1){const c=t.filter(US),d=l<0||n&&i!=="loop"&&n%2===1?0:c.length-1;return!d||s===void 0?c[d]:s}const $S={decay:yf,inertia:yf,tween:bo,keyframes:bo,spring:ja};function V0(t){typeof t.type=="string"&&(t.type=$S[t.type])}class md{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 WS=t=>t/100;class yd extends md{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,l;const{motionValue:i}=this.options;i&&i.updatedAt!==jt.now()&&this.tick(jt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(l=(s=this.options).onStop)==null||l.call(s))},this.options=n,this.initAnimation(),this.play(),n.autoplay===!1&&this.pause()}initAnimation(){const{options:n}=this;V0(n);const{type:i=bo,repeat:s=0,repeatDelay:l=0,repeatType:c,velocity:u=0}=n;let{keyframes:d}=n;const h=i||bo;h!==bo&&typeof d[0]!="number"&&(this.mixKeyframes=Ho(WS,I0(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=pd(y));const{calculatedDuration:m}=y;this.calculatedDuration=m,this.resolvedDuration=m+l,this.totalDuration=this.resolvedDuration*(s+1)-l,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:l,mixKeyframes:c,mirroredGenerator:u,resolvedDuration:d,calculatedDuration:h}=this;if(this.startTime===null)return s.next(0);const{delay:y=0,keyframes:m,repeat:x,repeatType:w,repeatDelay:P,type:k,onUpdate:T,finalKeyframe:S}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,n):this.speed<0&&(this.startTime=Math.min(n-l/this.speed,this.startTime)),i?this.currentTime=n:this.updateTime(n);const _=this.currentTime-y*(this.playbackSpeed>=0?1:-1),N=this.playbackSpeed>=0?_<0:_>l;this.currentTime=Math.max(_,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=l);let b=this.currentTime,D=s;if(x){const I=Math.min(this.currentTime,l)/d;let ne=Math.floor(I),te=I%1;!te&&I>=1&&(te=1),te===1&&ne--,ne=Math.min(ne,x+1),!!(ne%2)&&(w==="reverse"?(te=1-te,P&&(te-=P/d)):w==="mirror"&&(D=u)),b=Un(0,1,te)*d}const W=N?{done:!1,value:m[0]}:D.next(b);c&&(W.value=c(W.value));let{done:q}=W;!N&&h!==null&&(q=this.playbackSpeed>=0?this.currentTime>=l:this.currentTime<=0);const H=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&q);return H&&k!==yf&&(W.value=hd(m,this.options,S,this.speed)),T&&T(W.value),H&&this.finish(),W}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=Tn(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 l,c;if(this.isStopped)return;const{driver:n=AS,startTime:i}=this.options;this.driver||(this.driver=n(u=>this.tick(u))),(c=(l=this.options).onPlay)==null||c.call(l);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 HS(t){for(let n=1;n<t.length;n++)t[n]??(t[n]=t[n-1])}const Br=t=>t*180/Math.PI,gf=t=>{const n=Br(Math.atan2(t[1],t[0]));return vf(n)},qS={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:gf,rotateZ:gf,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},vf=t=>(t=t%360,t<0&&(t+=360),t),Om=gf,Mm=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),jm=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),KS={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Mm,scaleY:jm,scale:t=>(Mm(t)+jm(t))/2,rotateX:t=>vf(Br(Math.atan2(t[6],t[5]))),rotateY:t=>vf(Br(Math.atan2(-t[2],t[0]))),rotateZ:Om,rotate:Om,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 xf(t){return t.includes("scale")?1:0}function wf(t,n){if(!t||t==="none")return xf(n);const i=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,l;if(i)s=KS,l=i;else{const d=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=qS,l=d}if(!l)return xf(n);const c=s[n],u=l[1].split(",").map(QS);return typeof c=="function"?c(u):u[c]}const GS=(t,n)=>{const{transform:i="none"}=getComputedStyle(t);return wf(i,n)};function QS(t){return parseFloat(t.trim())}const ji=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ii=new Set(ji),Im=t=>t===Mi||t===ye,XS=new Set(["x","y","z"]),YS=ji.filter(t=>!XS.has(t));function JS(t){const n=[];return YS.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})=>wf(n,"x"),y:(t,{transform:n})=>wf(n,"y")};Ur.translateX=Ur.x;Ur.translateY=Ur.y;const $r=new Set;let Sf=!1,Ef=!1,kf=!1;function B0(){if(Ef){const t=Array.from($r).filter(s=>s.needsMeasurement),n=new Set(t.map(s=>s.element)),i=new Map;n.forEach(s=>{const l=JS(s);l.length&&(i.set(s,l),s.render())}),t.forEach(s=>s.measureInitialState()),n.forEach(s=>{s.render();const l=i.get(s);l&&l.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)})}Ef=!1,Sf=!1,$r.forEach(t=>t.complete(kf)),$r.clear()}function z0(){$r.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Ef=!0)})}function ZS(){kf=!0,z0(),B0(),kf=!1}class gd{constructor(n,i,s,l,c,u=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...n],this.onComplete=i,this.name=s,this.motionValue=l,this.element=c,this.isAsync=u}scheduleResolve(){this.state="scheduled",this.isAsync?($r.add(this),Sf||(Sf=!0,ze.read(z0),ze.resolveKeyframes(B0))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:n,name:i,element:s,motionValue:l}=this;if(n[0]===null){const c=l==null?void 0:l.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),l&&c===void 0&&l.set(n[0])}HS(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 e2=t=>t.startsWith("--");function t2(t,n,i){e2(n)?t.style.setProperty(n,i):t.style[n]=i}const n2=od(()=>window.ScrollTimeline!==void 0),r2={};function i2(t,n){const i=od(t);return()=>r2[n]??i()}const U0=i2(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Ro=([t,n,i,s])=>`cubic-bezier(${t}, ${n}, ${i}, ${s})`,Dm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ro([0,.65,.55,1]),circOut:Ro([.55,0,1,.45]),backIn:Ro([.31,.01,.66,-.59]),backOut:Ro([.33,1.53,.69,.99])};function $0(t,n){if(t)return typeof t=="function"?U0()?D0(t,n):"ease-out":C0(t)?Ro(t):Array.isArray(t)?t.map(i=>$0(i,n)||Dm.easeOut):Dm[t]}function o2(t,n,i,{delay:s=0,duration:l=300,repeat:c=0,repeatType:u="loop",ease:d="easeOut",times:h}={},y=void 0){const m={[n]:i};h&&(m.offset=h);const x=$0(d,l);Array.isArray(x)&&(m.easing=x);const w={delay:s,duration:l,easing:Array.isArray(x)?"linear":x,fill:"both",iterations:c+1,direction:u==="reverse"?"alternate":"normal"};return y&&(w.pseudoElement=y),t.animate(m,w)}function W0(t){return typeof t=="function"&&"applyToOptions"in t}function s2({type:t,...n}){return W0(t)&&U0()?t.applyToOptions(n):(n.duration??(n.duration=300),n.ease??(n.ease="easeOut"),n)}class a2 extends md{constructor(n){if(super(),this.finishedTime=null,this.isStopped=!1,!n)return;const{element:i,name:s,keyframes:l,pseudoElement:c,allowFlatten:u=!1,finalKeyframe:d,onComplete:h}=n;this.isPseudoElement=!!c,this.allowFlatten=u,this.options=n,id(typeof n.type!="string");const y=s2(n);this.animation=o2(i,s,l,y,c),y.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!c){const m=hd(l,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(m):t2(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=Tn(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&&n2()?(this.animation.timeline=n,Yt):i(this)}}const H0={anticipate:E0,backInOut:S0,circInOut:P0};function l2(t){return t in H0}function u2(t){typeof t.ease=="string"&&l2(t.ease)&&(t.ease=H0[t.ease])}const Lm=10;class c2 extends a2{constructor(n){u2(n),V0(n),super(n),n.startTime&&(this.startTime=n.startTime),this.options=n}updateMotionValue(n){const{motionValue:i,onUpdate:s,onComplete:l,element:c,...u}=this.options;if(!i)return;if(n!==void 0){i.set(n);return}const d=new yd({...u,autoplay:!1}),h=Tn(this.finishedTime??this.time);i.setWithVelocity(d.sample(h-Lm).value,d.sample(h).value,Lm),d.stop()}}const Vm=(t,n)=>n==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(xr.test(t)||t==="0")&&!t.startsWith("url("));function f2(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 d2(t,n,i,s){const l=t[0];if(l===null)return!1;if(n==="display"||n==="visibility")return!0;const c=t[t.length-1],u=Vm(l,n),d=Vm(c,n);return!u||!d?!1:f2(t)||(i==="spring"||W0(i))&&s}function Pf(t){t.duration=0,t.type="keyframes"}const p2=new Set(["opacity","clipPath","filter","transform"]),h2=od(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function m2(t){var m;const{motionValue:n,name:i,repeatDelay:s,repeatType:l,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 h2()&&i&&p2.has(i)&&(i!=="transform"||!y)&&!h&&!s&&l!=="mirror"&&c!==0&&u!=="inertia"}const y2=40;class g2 extends md{constructor({autoplay:n=!0,delay:i=0,type:s="keyframes",repeat:l=0,repeatDelay:c=0,repeatType:u="loop",keyframes:d,name:h,motionValue:y,element:m,...x}){var k;super(),this.stop=()=>{var T,S;this._animation&&(this._animation.stop(),(T=this.stopTimeline)==null||T.call(this)),(S=this.keyframeResolver)==null||S.cancel()},this.createdAt=jt.now();const w={autoplay:n,delay:i,type:s,repeat:l,repeatDelay:c,repeatType:u,name:h,motionValue:y,element:m,...x},P=(m==null?void 0:m.KeyframeResolver)||gd;this.keyframeResolver=new P(d,(T,S,_)=>this.onKeyframesResolved(T,S,w,!_),h,y,m),(k=this.keyframeResolver)==null||k.scheduleResolve()}onKeyframesResolved(n,i,s,l){this.keyframeResolver=void 0;const{name:c,type:u,velocity:d,delay:h,isHandoff:y,onUpdate:m}=s;this.resolvedAt=jt.now(),d2(n,c,u,d)||(($n.instantAnimations||!h)&&(m==null||m(hd(n,s,i))),n[0]=n[n.length-1],Pf(s),s.repeat=0);const w={startTime:l?this.resolvedAt?this.resolvedAt-this.createdAt>y2?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:i,...s,keyframes:n},P=!y&&m2(w)?new c2({...w,element:w.motionValue.owner.current}):new yd(w);P.finished.then(()=>this.notifyFinished()).catch(Yt),this.pendingTimeline&&(this.stopTimeline=P.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=P}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(),ZS()),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 v2=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function x2(t){const n=v2.exec(t);if(!n)return[,];const[,i,s,l]=n;return[`--${i??s}`,l]}function q0(t,n,i=1){const[s,l]=x2(t);if(!s)return;const c=window.getComputedStyle(n).getPropertyValue(s);if(c){const u=c.trim();return p0(u)?parseFloat(u):u}return ud(l)?q0(l,n,i+1):l}function vd(t,n){return(t==null?void 0:t[n])??(t==null?void 0:t.default)??t}const K0=new Set(["width","height","top","left","right","bottom",...ji]),w2={test:t=>t==="auto",parse:t=>t},G0=t=>n=>n.test(t),Q0=[Mi,ye,Cn,yr,fS,cS,w2],Bm=t=>Q0.find(G0(t));function S2(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||m0(t):!0}const E2=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(cd)||[];if(!s)return t;const l=i.replace(s,"");let c=E2.has(n)?1:0;return s!==i&&(c*=100),n+"("+c+l+")"}const P2=/\b([a-z-]*)\(.*?\)/gu,Tf={...xr,getAnimatableNone:t=>{const n=t.match(P2);return n?n.map(k2).join(" "):t}},zm={...Mi,transform:Math.round},T2={rotate:yr,rotateX:yr,rotateY:yr,rotateZ:yr,scale:ga,scaleX:ga,scaleY:ga,scaleZ:ga,skew:yr,skewX:yr,skewY:yr,distance:ye,translateX:ye,translateY:ye,translateZ:ye,x:ye,y:ye,z:ye,perspective:ye,transformPerspective:ye,opacity:Io,originX:_m,originY:_m,originZ:ye},xd={borderWidth:ye,borderTopWidth:ye,borderRightWidth:ye,borderBottomWidth:ye,borderLeftWidth:ye,borderRadius:ye,radius:ye,borderTopLeftRadius:ye,borderTopRightRadius:ye,borderBottomRightRadius:ye,borderBottomLeftRadius:ye,width:ye,maxWidth:ye,height:ye,maxHeight:ye,top:ye,right:ye,bottom:ye,left:ye,padding:ye,paddingTop:ye,paddingRight:ye,paddingBottom:ye,paddingLeft:ye,margin:ye,marginTop:ye,marginRight:ye,marginBottom:ye,marginLeft:ye,backgroundPositionX:ye,backgroundPositionY:ye,...T2,zIndex:zm,fillOpacity:Io,strokeOpacity:Io,numOctaves:zm},C2={...xd,color:Je,backgroundColor:Je,outlineColor:Je,fill:Je,stroke:Je,borderColor:Je,borderTopColor:Je,borderRightColor:Je,borderBottomColor:Je,borderLeftColor:Je,filter:Tf,WebkitFilter:Tf},X0=t=>C2[t];function Y0(t,n){let i=X0(t);return i!==Tf&&(i=xr),i.getAnimatableNone?i.getAnimatableNone(n):void 0}const A2=new Set(["auto","none","0"]);function _2(t,n,i){let s=0,l;for(;s<t.length&&!l;){const c=t[s];typeof c=="string"&&!A2.has(c)&&Do(c).values.length&&(l=t[s]),s++}if(l&&i)for(const c of n)t[c]=Y0(i,l)}class N2 extends gd{constructor(n,i,s,l,c){super(n,i,s,l,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(),ud(y))){const m=q0(y,i.current);m!==void 0&&(n[h]=m),h===n.length-1&&(this.finalKeyframe=y)}}if(this.resolveNoneKeyframes(),!K0.has(s)||n.length!==2)return;const[l,c]=n,u=Bm(l),d=Bm(c);if(u!==d)if(Im(u)&&Im(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 l=0;l<n.length;l++)(n[l]===null||S2(n[l]))&&s.push(l);s.length&&_2(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 l=i[i.length-1];l!==void 0&&n.getValue(s,l).jump(l,!1)}measureEndState(){var d;const{element:n,name:i,unresolvedKeyframes:s}=this;if(!n||!n.current)return;const l=n.getValue(i);l&&l.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 R2(t,n,i){if(t instanceof EventTarget)return[t];if(typeof t=="string"){let s=document;const l=(i==null?void 0:i[t])??s.querySelectorAll(t);return l?Array.from(l):[]}return Array.from(t)}const J0=(t,n)=>n&&typeof t=="number"?n.transform(t):t;function Z0(t){return h0(t)&&"offsetHeight"in t}const Um=30,F2=t=>!isNaN(parseFloat(t));class b2{constructor(n,i={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=s=>{var c;const l=jt.now();if(this.updatedAt!==l&&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=F2(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 sd);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>Um)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,Um);return y0(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 _i(t,n){return new b2(t,n)}const{schedule:wd}=A0(queueMicrotask,!1),fn={x:!1,y:!1};function ev(){return fn.x||fn.y}function O2(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 tv(t,n){const i=R2(t),s=new AbortController,l={passive:!0,...n,signal:s.signal};return[i,l,()=>s.abort()]}function $m(t){return!(t.pointerType==="touch"||ev())}function M2(t,n,i={}){const[s,l,c]=tv(t,i),u=d=>{if(!$m(d))return;const{target:h}=d,y=n(h,d);if(typeof y!="function"||!h)return;const m=x=>{$m(x)&&(y(x),h.removeEventListener("pointerleave",m))};h.addEventListener("pointerleave",m,l)};return s.forEach(d=>{d.addEventListener("pointerenter",u,l)}),c}const nv=(t,n)=>n?t===n?!0:nv(t,n.parentElement):!1,Sd=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,j2=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function I2(t){return j2.has(t.tagName)||t.tabIndex!==-1}const Pa=new WeakSet;function Wm(t){return n=>{n.key==="Enter"&&t(n)}}function nc(t,n){t.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const D2=(t,n)=>{const i=t.currentTarget;if(!i)return;const s=Wm(()=>{if(Pa.has(i))return;nc(i,"down");const l=Wm(()=>{nc(i,"up")}),c=()=>nc(i,"cancel");i.addEventListener("keyup",l,n),i.addEventListener("blur",c,n)});i.addEventListener("keydown",s,n),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),n)};function Hm(t){return Sd(t)&&!ev()}function L2(t,n,i={}){const[s,l,c]=tv(t,i),u=d=>{const h=d.currentTarget;if(!Hm(d))return;Pa.add(h);const y=n(h,d),m=(P,k)=>{window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",w),Pa.has(h)&&Pa.delete(h),Hm(P)&&typeof y=="function"&&y(P,{success:k})},x=P=>{m(P,h===window||h===document||i.useGlobalTarget||nv(h,P.target))},w=P=>{m(P,!1)};window.addEventListener("pointerup",x,l),window.addEventListener("pointercancel",w,l)};return s.forEach(d=>{(i.useGlobalTarget?window:d).addEventListener("pointerdown",u,l),Z0(d)&&(d.addEventListener("focus",y=>D2(y,l)),!I2(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),c}function rv(t){return h0(t)&&"ownerSVGElement"in t}function V2(t){return rv(t)&&t.tagName==="svg"}const xt=t=>!!(t&&t.getVelocity),B2=[...Q0,Je,xr],z2=t=>B2.find(G0(t)),Ed=K.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function qm(t,n){if(typeof t=="function")return t(n);t!=null&&(t.current=n)}function U2(...t){return n=>{let i=!1;const s=t.map(l=>{const c=qm(l,n);return!i&&typeof c=="function"&&(i=!0),c});if(i)return()=>{for(let l=0;l<s.length;l++){const c=s[l];typeof c=="function"?c():qm(t[l],null)}}}}function $2(...t){return K.useCallback(U2(...t),t)}class W2 extends K.Component{getSnapshotBeforeUpdate(n){const i=this.props.childRef.current;if(i&&n.isPresent&&!this.props.isPresent){const s=i.offsetParent,l=Z0(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=l-c.width-c.left}return null}componentDidUpdate(){}render(){return this.props.children}}function H2({children:t,isPresent:n,anchorX:i,root:s}){const l=K.useId(),c=K.useRef(null),u=K.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=K.useContext(Ed),h=$2(c,t==null?void 0:t.ref);return K.useInsertionEffect(()=>{const{width:y,height:m,top:x,left:w,right:P}=u.current;if(n||!c.current||!y||!m)return;const k=i==="left"?`left: ${w}`:`right: ${P}`;c.current.dataset.motionPopId=l;const T=document.createElement("style");d&&(T.nonce=d);const S=s??document.head;return S.appendChild(T),T.sheet&&T.sheet.insertRule(`
|
||
[data-motion-pop-id="${l}"] {
|
||
position: absolute !important;
|
||
width: ${y}px !important;
|
||
height: ${m}px !important;
|
||
${k}px !important;
|
||
top: ${x}px !important;
|
||
}
|
||
`),()=>{S.contains(T)&&S.removeChild(T)}},[n]),E.jsx(W2,{isPresent:n,childRef:c,sizeRef:u,children:K.cloneElement(t,{ref:h})})}const q2=({children:t,initial:n,isPresent:i,onExitComplete:s,custom:l,presenceAffectsLayout:c,mode:u,anchorX:d,root:h})=>{const y=ed(K2),m=K.useId();let x=!0,w=K.useMemo(()=>(x=!1,{id:m,initial:n,isPresent:i,custom:l,onExitComplete:P=>{y.set(P,!0);for(const k of y.values())if(!k)return;s&&s()},register:P=>(y.set(P,!1),()=>y.delete(P))}),[i,y,s]);return c&&x&&(w={...w}),K.useMemo(()=>{y.forEach((P,k)=>y.set(k,!1))},[i]),K.useEffect(()=>{!i&&!y.size&&s&&s()},[i]),u==="popLayout"&&(t=E.jsx(H2,{isPresent:i,anchorX:d,root:h,children:t})),E.jsx(qa.Provider,{value:w,children:t})};function K2(){return new Map}function iv(t=!0){const n=K.useContext(qa);if(n===null)return[!0,null];const{isPresent:i,onExitComplete:s,register:l}=n,c=K.useId();K.useEffect(()=>{if(t)return l(c)},[t]);const u=K.useCallback(()=>t&&s&&s(c),[c,s,t]);return!i&&s?[!1,u]:[!0]}const va=t=>t.key||"";function Km(t){const n=[];return K.Children.forEach(t,i=>{K.isValidElement(i)&&n.push(i)}),n}const G2=({children:t,custom:n,initial:i=!0,onExitComplete:s,presenceAffectsLayout:l=!0,mode:c="sync",propagate:u=!1,anchorX:d="left",root:h})=>{const[y,m]=iv(u),x=K.useMemo(()=>Km(t),[t]),w=u&&!y?[]:x.map(va),P=K.useRef(!0),k=K.useRef(x),T=ed(()=>new Map),[S,_]=K.useState(x),[N,b]=K.useState(x);d0(()=>{P.current=!1,k.current=x;for(let q=0;q<N.length;q++){const H=va(N[q]);w.includes(H)?T.delete(H):T.get(H)!==!0&&T.set(H,!1)}},[N,w.length,w.join("-")]);const D=[];if(x!==S){let q=[...x];for(let H=0;H<N.length;H++){const I=N[H],ne=va(I);w.includes(ne)||(q.splice(H,0,I),D.push(I))}return c==="wait"&&D.length&&(q=D),b(Km(q)),_(x),null}const{forceRender:W}=K.useContext(Zf);return E.jsx(E.Fragment,{children:N.map(q=>{const H=va(q),I=u&&!y?!1:x===N||w.includes(H),ne=()=>{if(T.has(H))T.set(H,!0);else return;let te=!0;T.forEach(he=>{he||(te=!1)}),te&&(W==null||W(),b(k.current),u&&(m==null||m()),s&&s())};return E.jsx(q2,{isPresent:I,initial:!P.current||i?void 0:!1,custom:n,presenceAffectsLayout:l,mode:c,root:h,onExitComplete:I?void 0:ne,anchorX:d,children:q},H)})})},ov=K.createContext({strict:!1}),Gm={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 Gm)Ni[t]={isEnabled:n=>Gm[t].some(i=>!!n[i])};function Q2(t){for(const n in t)Ni[n]={...Ni[n],...t[n]}}const X2=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")||X2.has(t)}let sv=t=>!Ia(t);function Y2(t){typeof t=="function"&&(sv=n=>n.startsWith("on")?!Ia(n):t(n))}try{Y2(require("@emotion/is-prop-valid").default)}catch{}function J2(t,n,i){const s={};for(const l in t)l==="values"&&typeof t.values=="object"||(sv(l)||i===!0&&Ia(l)||!n&&!Ia(l)||t.draggable&&l.startsWith("onDrag"))&&(s[l]=t[l]);return s}const Ka=K.createContext({});function Ga(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function Lo(t){return typeof t=="string"||Array.isArray(t)}const kd=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Pd=["initial",...kd];function Qa(t){return Ga(t.animate)||Pd.some(n=>Lo(t[n]))}function av(t){return!!(Qa(t)||t.variants)}function Z2(t,n){if(Qa(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 eE(t){const{initial:n,animate:i}=Z2(t,K.useContext(Ka));return K.useMemo(()=>({initial:n,animate:i}),[Qm(n),Qm(i)])}function Qm(t){return Array.isArray(t)?t.join(" "):t}function Xm(t,n){return n.max===n.min?0:t/(n.max-n.min)*100}const _o={correct:(t,n)=>{if(!n.target)return t;if(typeof t=="string")if(ye.test(t))t=parseFloat(t);else return t;const i=Xm(t,n.target.x),s=Xm(t,n.target.y);return`${i}% ${s}%`}},tE={correct:(t,{treeScale:n,projectionDelta:i})=>{const s=t,l=xr.parse(t);if(l.length>5)return s;const c=xr.createTransformer(t),u=typeof l[0]!="number"?1:0,d=i.x.scale*n.x,h=i.y.scale*n.y;l[0+u]/=d,l[1+u]/=h;const y=We(d,h,.5);return typeof l[2+u]=="number"&&(l[2+u]/=y),typeof l[3+u]=="number"&&(l[3+u]/=y),c(l)}},Cf={borderRadius:{..._o,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:_o,borderTopRightRadius:_o,borderBottomLeftRadius:_o,borderBottomRightRadius:_o,boxShadow:tE};function lv(t,{layout:n,layoutId:i}){return Ii.has(t)||t.startsWith("origin")||(n||i!==void 0)&&(!!Cf[t]||t==="opacity")}const nE={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},rE=ji.length;function iE(t,n,i){let s="",l=!0;for(let c=0;c<rE;c++){const u=ji[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=J0(d,xd[u]);if(!h){l=!1;const m=nE[u]||u;s+=`${m}(${y}) `}i&&(n[u]=y)}}return s=s.trim(),i?s=i(n,l?"":s):l&&(s="none"),s}function Td(t,n,i){const{style:s,vars:l,transformOrigin:c}=t;let u=!1,d=!1;for(const h in n){const y=n[h];if(Ii.has(h)){u=!0;continue}else if(N0(h)){l[h]=y;continue}else{const m=J0(y,xd[h]);h.startsWith("origin")?(d=!0,c[h]=m):s[h]=m}}if(n.transform||(u||i?s.transform=iE(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 Cd=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function uv(t,n,i){for(const s in n)!xt(n[s])&&!lv(s,i)&&(t[s]=n[s])}function oE({transformTemplate:t},n){return K.useMemo(()=>{const i=Cd();return Td(i,n,t),Object.assign({},i.vars,i.style)},[n])}function sE(t,n){const i=t.style||{},s={};return uv(s,i,t),Object.assign(s,oE(t,n)),s}function aE(t,n){const i={},s=sE(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 lE={offset:"stroke-dashoffset",array:"stroke-dasharray"},uE={offset:"strokeDashoffset",array:"strokeDasharray"};function cE(t,n,i=1,s=0,l=!0){t.pathLength=1;const c=l?lE:uE;t[c.offset]=ye.transform(-s);const u=ye.transform(n),d=ye.transform(i);t[c.array]=`${u} ${d}`}function cv(t,{attrX:n,attrY:i,attrScale:s,pathLength:l,pathSpacing:c=1,pathOffset:u=0,...d},h,y,m){if(Td(t,d,y),h){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:x,style:w}=t;x.transform&&(w.transform=x.transform,delete x.transform),(w.transform||x.transformOrigin)&&(w.transformOrigin=x.transformOrigin??"50% 50%",delete x.transformOrigin),w.transform&&(w.transformBox=(m==null?void 0:m.transformBox)??"fill-box",delete x.transformBox),n!==void 0&&(x.x=n),i!==void 0&&(x.y=i),s!==void 0&&(x.scale=s),l!==void 0&&cE(x,l,c,u,!1)}const fv=()=>({...Cd(),attrs:{}}),dv=t=>typeof t=="string"&&t.toLowerCase()==="svg";function fE(t,n,i,s){const l=K.useMemo(()=>{const c=fv();return cv(c,n,dv(s),t.transformTemplate,t.style),{...c.attrs,style:{...c.style}}},[n]);if(t.style){const c={};uv(c,t.style,t),l.style={...c,...l.style}}return l}const dE=["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 Ad(t){return typeof t!="string"||t.includes("-")?!1:!!(dE.indexOf(t)>-1||/[A-Z]/u.test(t))}function pE(t,n,i,{latestValues:s},l,c=!1){const d=(Ad(t)?fE:aE)(n,s,l,t),h=J2(n,typeof t=="string",c),y=t!==K.Fragment?{...h,...d,ref:i}:{},{children:m}=n,x=K.useMemo(()=>xt(m)?m.get():m,[m]);return K.createElement(t,{...y,children:x})}function Ym(t){const n=[{},{}];return t==null||t.values.forEach((i,s)=>{n[0][s]=i.get(),n[1][s]=i.getVelocity()}),n}function _d(t,n,i,s){if(typeof n=="function"){const[l,c]=Ym(s);n=n(i!==void 0?i:t.custom,l,c)}if(typeof n=="string"&&(n=t.variants&&t.variants[n]),typeof n=="function"){const[l,c]=Ym(s);n=n(i!==void 0?i:t.custom,l,c)}return n}function Ta(t){return xt(t)?t.get():t}function hE({scrapeMotionValuesFromProps:t,createRenderState:n},i,s,l){return{latestValues:mE(i,s,l,t),renderState:n()}}function mE(t,n,i,s){const l={},c=s(t,{});for(const w in c)l[w]=Ta(c[w]);let{initial:u,animate:d}=t;const h=Qa(t),y=av(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 x=m?d:u;if(x&&typeof x!="boolean"&&!Ga(x)){const w=Array.isArray(x)?x:[x];for(let P=0;P<w.length;P++){const k=_d(t,w[P]);if(k){const{transitionEnd:T,transition:S,..._}=k;for(const N in _){let b=_[N];if(Array.isArray(b)){const D=m?b.length-1:0;b=b[D]}b!==null&&(l[N]=b)}for(const N in T)l[N]=T[N]}}}return l}const pv=t=>(n,i)=>{const s=K.useContext(Ka),l=K.useContext(qa),c=()=>hE(t,n,s,l);return i?c():ed(c)};function Nd(t,n,i){var c;const{style:s}=t,l={};for(const u in s)(xt(s[u])||n.style&&xt(n.style[u])||lv(u,t)||((c=i==null?void 0:i.getValue(u))==null?void 0:c.liveStyle)!==void 0)&&(l[u]=s[u]);return l}const yE=pv({scrapeMotionValuesFromProps:Nd,createRenderState:Cd});function hv(t,n,i){const s=Nd(t,n,i);for(const l in t)if(xt(t[l])||xt(n[l])){const c=ji.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;s[c]=t[l]}return s}const gE=pv({scrapeMotionValuesFromProps:hv,createRenderState:fv}),vE=Symbol.for("motionComponentSymbol");function ki(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function xE(t,n,i){return K.useCallback(s=>{s&&t.onMount&&t.onMount(s),n&&(s?n.mount(s):n.unmount()),i&&(typeof i=="function"?i(s):ki(i)&&(i.current=s))},[n])}const Rd=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),wE="framerAppearId",mv="data-"+Rd(wE),yv=K.createContext({});function SE(t,n,i,s,l){var T,S;const{visualElement:c}=K.useContext(Ka),u=K.useContext(ov),d=K.useContext(qa),h=K.useContext(Ed).reducedMotion,y=K.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,x=K.useContext(yv);m&&!m.projection&&l&&(m.type==="html"||m.type==="svg")&&EE(y.current,i,l,x);const w=K.useRef(!1);K.useInsertionEffect(()=>{m&&w.current&&m.update(i,d)});const P=i[mv],k=K.useRef(!!P&&!((T=window.MotionHandoffIsComplete)!=null&&T.call(window,P))&&((S=window.MotionHasOptimisedAnimation)==null?void 0:S.call(window,P)));return d0(()=>{m&&(w.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),k.current&&m.animationState&&m.animationState.animateChanges())}),K.useEffect(()=>{m&&(!k.current&&m.animationState&&m.animationState.animateChanges(),k.current&&(queueMicrotask(()=>{var _;(_=window.MotionHandoffMarkAsComplete)==null||_.call(window,P)}),k.current=!1),m.enteringChildren=void 0)}),m}function EE(t,n,i,s){const{layoutId:l,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:gv(t.parent)),t.projection.setOptions({layoutId:l,layout:c,alwaysMeasureLayout:!!u||d&&ki(d),visualElement:t,animationType:typeof c=="string"?c:"both",initialPromotionConfig:s,crossfade:m,layoutScroll:h,layoutRoot:y})}function gv(t){if(t)return t.options.allowProjection!==!1?t.projection:gv(t.parent)}function rc(t,{forwardMotionProps:n=!1}={},i,s){i&&Q2(i);const l=Ad(t)?gE:yE;function c(d,h){let y;const m={...K.useContext(Ed),...d,layoutId:kE(d)},{isStatic:x}=m,w=eE(d),P=l(d,x);if(!x&&td){PE();const k=TE(m);y=k.MeasureLayout,w.visualElement=SE(t,P,m,s,k.ProjectionNode)}return E.jsxs(Ka.Provider,{value:w,children:[y&&w.visualElement?E.jsx(y,{visualElement:w.visualElement,...m}):null,pE(t,d,xE(P,w.visualElement,h),P,x,n)]})}c.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;const u=K.forwardRef(c);return u[vE]=t,u}function kE({layoutId:t}){const n=K.useContext(Zf).id;return n&&t!==void 0?n+"-"+t:t}function PE(t,n){K.useContext(ov).strict}function TE(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 rc;const i=new Map,s=(c,u)=>rc(c,u,t,n),l=(c,u)=>s(c,u);return new Proxy(l,{get:(c,u)=>u==="create"?s:(i.has(u)||i.set(u,rc(u,void 0,t,n)),i.get(u))})}function vv({top:t,left:n,right:i,bottom:s}){return{x:{min:n,max:i},y:{min:t,max:s}}}function AE({x:t,y:n}){return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function _E(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 ic(t){return t===void 0||t===1}function Af({scale:t,scaleX:n,scaleY:i}){return!ic(t)||!ic(n)||!ic(i)}function Dr(t){return Af(t)||xv(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function xv(t){return Jm(t.x)||Jm(t.y)}function Jm(t){return t&&t!=="0%"}function Da(t,n,i){const s=t-i,l=n*s;return i+l}function Zm(t,n,i,s,l){return l!==void 0&&(t=Da(t,l,s)),Da(t,i,s)+n}function _f(t,n=0,i=1,s,l){t.min=Zm(t.min,n,i,s,l),t.max=Zm(t.max,n,i,s,l)}function wv(t,{x:n,y:i}){_f(t.x,n.translate,n.scale,n.originPoint),_f(t.y,i.translate,i.scale,i.originPoint)}const ey=.999999999999,ty=1.0000000000001;function NE(t,n,i,s=!1){const l=i.length;if(!l)return;n.x=n.y=1;let c,u;for(let d=0;d<l;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&&Ti(t,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),u&&(n.x*=u.x.scale,n.y*=u.y.scale,wv(t,u)),s&&Dr(c.latestValues)&&Ti(t,c.latestValues))}n.x<ty&&n.x>ey&&(n.x=1),n.y<ty&&n.y>ey&&(n.y=1)}function Pi(t,n){t.min=t.min+n,t.max=t.max+n}function ny(t,n,i,s,l=.5){const c=We(t.min,t.max,l);_f(t,n,i,c,s)}function Ti(t,n){ny(t.x,n.x,n.scaleX,n.scale,n.originX),ny(t.y,n.y,n.scaleY,n.scale,n.originY)}function Sv(t,n){return vv(_E(t.getBoundingClientRect(),n))}function RE(t,n,i){const s=Sv(t,i),{scroll:l}=n;return l&&(Pi(s.x,l.offset.x),Pi(s.y,l.offset.y)),s}const ry=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ci=()=>({x:ry(),y:ry()}),iy=()=>({min:0,max:0}),rt=()=>({x:iy(),y:iy()}),Nf={current:null},Ev={current:!1};function FE(){if(Ev.current=!0,!!td)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),n=()=>Nf.current=t.matches;t.addEventListener("change",n),n()}else Nf.current=!1}const bE=new WeakMap;function OE(t,n,i){for(const s in n){const l=n[s],c=i[s];if(xt(l))t.addValue(s,l);else if(xt(c))t.addValue(s,_i(l,{owner:t}));else if(c!==l)if(t.hasValue(s)){const u=t.getValue(s);u.liveStyle===!0?u.jump(l):u.hasAnimated||u.set(l)}else{const u=t.getStaticValue(s);t.addValue(s,_i(u!==void 0?u:l,{owner:t}))}}for(const s in i)n[s]===void 0&&t.removeValue(s);return n}const oy=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class ME{scrapeMotionValuesFromProps(n,i,s){return{}}constructor({parent:n,props:i,presenceContext:s,reducedMotionConfig:l,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=gd,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=l,this.options=d,this.blockInitialAnimation=!!c,this.isControllingVariants=Qa(i),this.isVariantNode=av(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(n&&n.current);const{willChange:m,...x}=this.scrapeMotionValuesFromProps(i,{},this);for(const w in x){const P=x[w];h[w]!==void 0&&xt(P)&&P.set(h[w])}}mount(n){var i;this.current=n,bE.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,l)=>this.bindToMotionValue(l,s)),Ev.current||FE(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Nf.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=Ii.has(n);s&&this.onBindTransform&&this.onBindTransform();const l=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,()=>{l(),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:l}=i;if(!this.features[n]&&l&&s(this.props)&&(this.features[n]=new l(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<oy.length;s++){const l=oy[s];this.propEventSubscriptions[l]&&(this.propEventSubscriptions[l](),delete this.propEventSubscriptions[l]);const c="on"+l,u=n[c];u&&(this.propEventSubscriptions[l]=this.on(l,u))}this.prevMotionValues=OE(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=_i(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"&&(p0(s)||m0(s))?s=parseFloat(s):!z2(s)&&xr.test(i)&&(s=Y0(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=_d(this.props,i,(c=this.presenceContext)==null?void 0:c.custom);u&&(s=u[n])}if(i&&s!==void 0)return s;const l=this.getBaseTargetFromProps(this.props,n);return l!==void 0&&!xt(l)?l:this.initialValues[n]!==void 0&&s===void 0?void 0:this.baseTarget[n]}on(n,i){return this.events[n]||(this.events[n]=new sd),this.events[n].add(i)}notify(n,...i){this.events[n]&&this.events[n].notify(...i)}scheduleRenderMicrotask(){wd.render(this.render)}}class kv extends ME{constructor(){super(...arguments),this.KeyframeResolver=N2}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 Pv(t,{style:n,vars:i},s,l){const c=t.style;let u;for(u in n)c[u]=n[u];l==null||l.applyProjectionStyles(c,s);for(u in i)c.setProperty(u,i[u])}function jE(t){return window.getComputedStyle(t)}class IE extends kv{constructor(){super(...arguments),this.type="html",this.renderInstance=Pv}readValueFromInstance(n,i){var s;if(Ii.has(i))return(s=this.projection)!=null&&s.isProjecting?xf(i):GS(n,i);{const l=jE(n),c=(N0(i)?l.getPropertyValue(i):l[i])||0;return typeof c=="string"?c.trim():c}}measureInstanceViewportBox(n,{transformPagePoint:i}){return Sv(n,i)}build(n,i,s){Td(n,i,s.transformTemplate)}scrapeMotionValuesFromProps(n,i,s){return Nd(n,i,s)}}const Tv=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 DE(t,n,i,s){Pv(t,n,void 0,s);for(const l in n.attrs)t.setAttribute(Tv.has(l)?l:Rd(l),n.attrs[l])}class LE extends kv{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=rt}getBaseTargetFromProps(n,i){return n[i]}readValueFromInstance(n,i){if(Ii.has(i)){const s=X0(i);return s&&s.default||0}return i=Tv.has(i)?i:Rd(i),n.getAttribute(i)}scrapeMotionValuesFromProps(n,i,s){return hv(n,i,s)}build(n,i,s){cv(n,i,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(n,i,s,l){DE(n,i,s,l)}mount(n){this.isSVGTag=dv(n.tagName),super.mount(n)}}const VE=(t,n)=>Ad(t)?new LE(n):new IE(n,{allowProjection:t!==K.Fragment});function Ai(t,n,i){const s=t.getProps();return _d(s,n,i!==void 0?i:s.custom,t)}const Rf=t=>Array.isArray(t);function BE(t,n,i){t.hasValue(n)?t.getValue(n).set(i):t.addValue(n,_i(i))}function zE(t){return Rf(t)?t[t.length-1]||0:t}function UE(t,n){const i=Ai(t,n);let{transitionEnd:s={},transition:l={},...c}=i||{};c={...c,...s};for(const u in c){const d=zE(c[u]);BE(t,u,d)}}function $E(t){return!!(xt(t)&&t.add)}function Ff(t,n){const i=t.getValue("willChange");if($E(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[mv]}const WE=t=>t!==null;function HE(t,{repeat:n,repeatType:i="loop"},s){const l=t.filter(WE),c=n&&i!=="loop"&&n%2===1?0:l.length-1;return l[c]}const qE={type:"spring",stiffness:500,damping:25,restSpeed:10},KE=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),GE={type:"keyframes",duration:.8},QE={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},XE=(t,{keyframes:n})=>n.length>2?GE:Ii.has(t)?t.startsWith("scale")?KE(n[1]):qE:QE;function YE({when:t,delay:n,delayChildren:i,staggerChildren:s,staggerDirection:l,repeat:c,repeatType:u,repeatDelay:d,from:h,elapsed:y,...m}){return!!Object.keys(m).length}const Fd=(t,n,i,s={},l,c)=>u=>{const d=vd(s,t)||{},h=d.delay||s.delay||0;let{elapsed:y=0}=s;y=y-Tn(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:l};YE(d)||Object.assign(m,XE(t,m)),m.duration&&(m.duration=Tn(m.duration)),m.repeatDelay&&(m.repeatDelay=Tn(m.repeatDelay)),m.from!==void 0&&(m.keyframes[0]=m.from);let x=!1;if((m.type===!1||m.duration===0&&!m.repeatDelay)&&(Pf(m),m.delay===0&&(x=!0)),($n.instantAnimations||$n.skipAnimations)&&(x=!0,Pf(m),m.delay=0),m.allowFlatten=!d.type&&!d.ease,x&&!c&&n.get()!==void 0){const w=HE(m.keyframes,d);if(w!==void 0){ze.update(()=>{m.onUpdate(w),m.onComplete()});return}}return d.isSync?new yd(m):new g2(m)};function JE({protectedKeys:t,needsAnimating:n},i){const s=t.hasOwnProperty(i)&&n[i]!==!0;return n[i]=!1,s}function Av(t,n,{delay:i=0,transitionOverride:s,type:l}={}){let{transition:c=t.getDefaultTransition(),transitionEnd:u,...d}=n;s&&(c=s);const h=[],y=l&&t.animationState&&t.animationState.getState()[l];for(const m in d){const x=t.getValue(m,t.latestValues[m]??null),w=d[m];if(w===void 0||y&&JE(y,m))continue;const P={delay:i,...vd(c||{},m)},k=x.get();if(k!==void 0&&!x.isAnimating&&!Array.isArray(w)&&w===k&&!P.velocity)continue;let T=!1;if(window.MotionHandoffAnimation){const _=Cv(t);if(_){const N=window.MotionHandoffAnimation(_,m,ze);N!==null&&(P.startTime=N,T=!0)}}Ff(t,m),x.start(Fd(m,x,w,t.shouldReduceMotion&&K0.has(m)?{type:!1}:P,t,T));const S=x.animation;S&&h.push(S)}return u&&Promise.all(h).then(()=>{ze.update(()=>{u&&UE(t,u)})}),h}function _v(t,n,i,s=0,l=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):l===1?c*s:d-c*s}function bf(t,n,i={}){var h;const s=Ai(t,n,i.type==="exit"?(h=t.presenceContext)==null?void 0:h.custom:void 0);let{transition:l=t.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(l=i.transitionOverride);const c=s?()=>Promise.all(Av(t,s,i)):()=>Promise.resolve(),u=t.variantChildren&&t.variantChildren.size?(y=0)=>{const{delayChildren:m=0,staggerChildren:x,staggerDirection:w}=l;return ZE(t,n,y,m,x,w,i)}:()=>Promise.resolve(),{when:d}=l;if(d){const[y,m]=d==="beforeChildren"?[c,u]:[u,c];return y().then(()=>m())}else return Promise.all([c(),u(i.delay)])}function ZE(t,n,i=0,s=0,l=0,c=1,u){const d=[];for(const h of t.variantChildren)h.notify("AnimationStart",n),d.push(bf(h,n,{...u,delay:i+(typeof s=="function"?0:s)+_v(t.variantChildren,h,s,l,c)}).then(()=>h.notify("AnimationComplete",n)));return Promise.all(d)}function ek(t,n,i={}){t.notify("AnimationStart",n);let s;if(Array.isArray(n)){const l=n.map(c=>bf(t,c,i));s=Promise.all(l)}else if(typeof n=="string")s=bf(t,n,i);else{const l=typeof n=="function"?Ai(t,n,i.custom):n;s=Promise.all(Av(t,l,i))}return s.then(()=>{t.notify("AnimationComplete",n)})}function Nv(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 tk=Pd.length;function Rv(t){if(!t)return;if(!t.isControllingVariants){const i=t.parent?Rv(t.parent)||{}:{};return t.props.initial!==void 0&&(i.initial=t.props.initial),i}const n={};for(let i=0;i<tk;i++){const s=Pd[i],l=t.props[s];(Lo(l)||l===!1)&&(n[s]=l)}return n}const nk=[...kd].reverse(),rk=kd.length;function ik(t){return n=>Promise.all(n.map(({animation:i,options:s})=>ek(t,i,s)))}function ok(t){let n=ik(t),i=sy(),s=!0;const l=h=>(y,m)=>{var w;const x=Ai(t,m,h==="exit"?(w=t.presenceContext)==null?void 0:w.custom:void 0);if(x){const{transition:P,transitionEnd:k,...T}=x;y={...y,...T,...k}}return y};function c(h){n=h(t)}function u(h){const{props:y}=t,m=Rv(t.parent)||{},x=[],w=new Set;let P={},k=1/0;for(let S=0;S<rk;S++){const _=nk[S],N=i[_],b=y[_]!==void 0?y[_]:m[_],D=Lo(b),W=_===h?N.isActive:null;W===!1&&(k=S);let q=b===m[_]&&b!==y[_]&&D;if(q&&s&&t.manuallyAnimateOnMount&&(q=!1),N.protectedKeys={...P},!N.isActive&&W===null||!b&&!N.prevProp||Ga(b)||typeof b=="boolean")continue;const H=sk(N.prevProp,b);let I=H||_===h&&N.isActive&&!q&&D||S>k&&D,ne=!1;const te=Array.isArray(b)?b:[b];let he=te.reduce(l(_),{});W===!1&&(he={});const{prevResolvedValues:re={}}=N,Se={...re,...he},ge=le=>{I=!0,w.has(le)&&(ne=!0,w.delete(le)),N.needsAnimating[le]=!0;const g=t.getValue(le);g&&(g.liveStyle=!1)};for(const le in Se){const g=he[le],O=re[le];if(P.hasOwnProperty(le))continue;let M=!1;Rf(g)&&Rf(O)?M=!Nv(g,O):M=g!==O,M?g!=null?ge(le):w.add(le):g!==void 0&&w.has(le)?ge(le):N.protectedKeys[le]=!0}N.prevProp=b,N.prevResolvedValues=he,N.isActive&&(P={...P,...he}),s&&t.blockInitialAnimation&&(I=!1);const _e=q&&H;I&&(!_e||ne)&&x.push(...te.map(le=>{const g={type:_};if(typeof le=="string"&&s&&!_e&&t.manuallyAnimateOnMount&&t.parent){const{parent:O}=t,M=Ai(O,le);if(O.enteringChildren&&M){const{delayChildren:A}=M.transition||{};g.delay=_v(O.enteringChildren,t,A)}}return{animation:le,options:g}}))}if(w.size){const S={};if(typeof y.initial!="boolean"){const _=Ai(t,Array.isArray(y.initial)?y.initial[0]:y.initial);_&&_.transition&&(S.transition=_.transition)}w.forEach(_=>{const N=t.getBaseTarget(_),b=t.getValue(_);b&&(b.liveStyle=!0),S[_]=N??null}),x.push({animation:S})}let T=!!x.length;return s&&(y.initial===!1||y.initial===y.animate)&&!t.manuallyAnimateOnMount&&(T=!1),s=!1,T?n(x):Promise.resolve()}function d(h,y){var x;if(i[h].isActive===y)return Promise.resolve();(x=t.variantChildren)==null||x.forEach(w=>{var P;return(P=w.animationState)==null?void 0:P.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=sy()}}}function sk(t,n){return typeof n=="string"?n!==t:Array.isArray(n)?!Nv(n,t):!1}function Ir(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function sy(){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 ak extends Sr{constructor(n){super(n),n.animationState||(n.animationState=ok(n))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();Ga(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 lk=0;class uk extends Sr{constructor(){super(...arguments),this.id=lk++}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 l=this.node.animationState.setActive("exit",!n);i&&!n&&l.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 ck={animation:{Feature:ak},exit:{Feature:uk}};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 fk=t=>n=>Sd(n)&&t(n,Go(n));function Oo(t,n,i,s){return Vo(t,n,fk(i),s)}const Fv=1e-4,dk=1-Fv,pk=1+Fv,bv=.01,hk=0-bv,mk=0+bv;function Ct(t){return t.max-t.min}function yk(t,n,i){return Math.abs(t-n)<=i}function ay(t,n,i,s=.5){t.origin=s,t.originPoint=We(n.min,n.max,t.origin),t.scale=Ct(i)/Ct(n),t.translate=We(i.min,i.max,t.origin)-t.originPoint,(t.scale>=dk&&t.scale<=pk||isNaN(t.scale))&&(t.scale=1),(t.translate>=hk&&t.translate<=mk||isNaN(t.translate))&&(t.translate=0)}function Mo(t,n,i,s){ay(t.x,n.x,i.x,s?s.originX:void 0),ay(t.y,n.y,i.y,s?s.originY:void 0)}function ly(t,n,i){t.min=i.min+n.min,t.max=t.min+Ct(n)}function gk(t,n,i){ly(t.x,n.x,i.x),ly(t.y,n.y,i.y)}function uy(t,n,i){t.min=n.min-i.min,t.max=t.min+Ct(n)}function La(t,n,i){uy(t.x,n.x,i.x),uy(t.y,n.y,i.y)}function Qt(t){return[t("x"),t("y")]}const Ov=({current:t})=>t?t.ownerDocument.defaultView:null,cy=(t,n)=>Math.abs(t-n);function vk(t,n){const i=cy(t.x,n.x),s=cy(t.y,n.y);return Math.sqrt(i**2+s**2)}class Mv{constructor(n,i,{transformPagePoint:s,contextWindow:l=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=sc(this.lastMoveEventInfo,this.history),P=this.startEvent!==null,k=vk(w.offset,{x:0,y:0})>=this.distanceThreshold;if(!P&&!k)return;const{point:T}=w,{timestamp:S}=dt;this.history.push({...T,timestamp:S});const{onStart:_,onMove:N}=this.handlers;P||(_&&_(this.lastMoveEvent,w),this.startEvent=this.lastMoveEvent),N&&N(this.lastMoveEvent,w)},this.handlePointerMove=(w,P)=>{this.lastMoveEvent=w,this.lastMoveEventInfo=oc(P,this.transformPagePoint),ze.update(this.updatePoint,!0)},this.handlePointerUp=(w,P)=>{this.end();const{onEnd:k,onSessionEnd:T,resumeAnimation:S}=this.handlers;if(this.dragSnapToOrigin&&S&&S(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const _=sc(w.type==="pointercancel"?this.lastMoveEventInfo:oc(P,this.transformPagePoint),this.history);this.startEvent&&k&&k(w,_),T&&T(w,_)},!Sd(n))return;this.dragSnapToOrigin=c,this.handlers=i,this.transformPagePoint=s,this.distanceThreshold=u,this.contextWindow=l||window;const d=Go(n),h=oc(d,this.transformPagePoint),{point:y}=h,{timestamp:m}=dt;this.history=[{...y,timestamp:m}];const{onSessionStart:x}=i;x&&x(n,sc(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 oc(t,n){return n?{point:n(t.point)}:t}function fy(t,n){return{x:t.x-n.x,y:t.y-n.y}}function sc({point:t},n){return{point:t,delta:fy(t,jv(n)),offset:fy(t,xk(n)),velocity:wk(n,.1)}}function xk(t){return t[0]}function jv(t){return t[t.length-1]}function wk(t,n){if(t.length<2)return{x:0,y:0};let i=t.length-1,s=null;const l=jv(t);for(;i>=0&&(s=t[i],!(l.timestamp-s.timestamp>Tn(n)));)i--;if(!s)return{x:0,y:0};const c=Xt(l.timestamp-s.timestamp);if(c===0)return{x:0,y:0};const u={x:(l.x-s.x)/c,y:(l.y-s.y)/c};return u.x===1/0&&(u.x=0),u.y===1/0&&(u.y=0),u}function Sk(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 dy(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 Ek(t,{top:n,left:i,bottom:s,right:l}){return{x:dy(t.x,i,l),y:dy(t.y,n,s)}}function py(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 kk(t,n){return{x:py(t.x,n.x),y:py(t.y,n.y)}}function Pk(t,n){let i=.5;const s=Ct(t),l=Ct(n);return l>s?i=jo(n.min,n.max-s,t.min):s>l&&(i=jo(t.min,t.max-l,n.min)),Un(0,1,i)}function Tk(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 Of=.35;function Ck(t=Of){return t===!1?t=0:t===!0&&(t=Of),{x:hy(t,"left","right"),y:hy(t,"top","bottom")}}function hy(t,n,i){return{min:my(t,n),max:my(t,i)}}function my(t,n){return typeof t=="number"?t:t[n]||0}const Ak=new WeakMap;class _k{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:l}=this.visualElement;if(l&&l.isPresent===!1)return;const c=x=>{const{dragSnapToOrigin:w}=this.getProps();w?this.pauseAnimation():this.stopAnimation(),i&&this.snapToCursor(Go(x).point)},u=(x,w)=>{const{drag:P,dragPropagation:k,onDragStart:T}=this.getProps();if(P&&!k&&(this.openDragLock&&this.openDragLock(),this.openDragLock=O2(P),!this.openDragLock))return;this.latestPointerEvent=x,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(_=>{let N=this.getAxisMotionValue(_).get()||0;if(Cn.test(N)){const{projection:b}=this.visualElement;if(b&&b.layout){const D=b.layout.layoutBox[_];D&&(N=Ct(D)*(parseFloat(N)/100))}}this.originPoint[_]=N}),T&&ze.postRender(()=>T(x,w)),Ff(this.visualElement,"transform");const{animationState:S}=this.visualElement;S&&S.setActive("whileDrag",!0)},d=(x,w)=>{this.latestPointerEvent=x,this.latestPanInfo=w;const{dragPropagation:P,dragDirectionLock:k,onDirectionLock:T,onDrag:S}=this.getProps();if(!P&&!this.openDragLock)return;const{offset:_}=w;if(k&&this.currentDirection===null){this.currentDirection=Nk(_),this.currentDirection!==null&&T&&T(this.currentDirection);return}this.updateAxis("x",w.point,_),this.updateAxis("y",w.point,_),this.visualElement.render(),S&&S(x,w)},h=(x,w)=>{this.latestPointerEvent=x,this.latestPanInfo=w,this.stop(x,w),this.latestPointerEvent=null,this.latestPanInfo=null},y=()=>Qt(x=>{var w;return this.getAnimationState(x)==="paused"&&((w=this.getAxisMotionValue(x).animation)==null?void 0:w.play())}),{dragSnapToOrigin:m}=this.getProps();this.panSession=new Mv(n,{onSessionStart:c,onStart:u,onMove:d,onSessionEnd:h,resumeAnimation:y},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:m,distanceThreshold:s,contextWindow:Ov(this.visualElement)})}stop(n,i){const s=n||this.latestPointerEvent,l=i||this.latestPanInfo,c=this.isDragging;if(this.cancel(),!c||!l||!s)return;const{velocity:u}=l;this.startAnimation(u);const{onDragEnd:d}=this.getProps();d&&ze.postRender(()=>d(s,l))}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:l}=this.getProps();if(!s||!xa(n,l,this.currentDirection))return;const c=this.getAxisMotionValue(n);let u=this.originPoint[n]+s[n];this.constraints&&this.constraints[n]&&(u=Sk(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,l=this.constraints;n&&ki(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&s?this.constraints=Ek(s.layoutBox,n):this.constraints=!1,this.elastic=Ck(i),l!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&Qt(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=Tk(s.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:n,onMeasureDragConstraints:i}=this.getProps();if(!n||!ki(n))return!1;const s=n.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;const c=RE(s,l.root,this.visualElement.getTransformPagePoint());let u=kk(l.layout.layoutBox,c);if(i){const d=i(AE(u));this.hasMutatedConstraints=!!d,d&&(u=vv(d))}return u}startAnimation(n){const{drag:i,dragMomentum:s,dragElastic:l,dragTransition:c,dragSnapToOrigin:u,onDragTransitionEnd:d}=this.getProps(),h=this.constraints||{},y=Qt(m=>{if(!xa(m,i,this.currentDirection))return;let x=h&&h[m]||{};u&&(x={min:0,max:0});const w=l?200:1e6,P=l?40:1e7,k={type:"inertia",velocity:s?n[m]:0,bounceStiffness:w,bounceDamping:P,timeConstant:750,restDelta:1,restSpeed:10,...c,...x};return this.startAxisValueAnimation(m,k)});return Promise.all(y).then(d)}startAxisValueAnimation(n,i){const s=this.getAxisMotionValue(n);return Ff(this.visualElement,n),s.start(Fd(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(),l=s[i];return l||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:l}=this.visualElement,c=this.getAxisMotionValue(i);if(l&&l.layout){const{min:u,max:d}=l.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(!ki(i)||!s||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};Qt(u=>{const d=this.getAxisMotionValue(u);if(d&&this.constraints!==!1){const h=d.get();l[u]=Pk({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,l[u]))})}addListeners(){if(!this.visualElement.current)return;Ak.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();ki(h)&&h.current&&(this.constraints=this.resolveRefConstraints())},{projection:l}=this.visualElement,c=l.addEventListener("measure",s);l&&!l.layout&&(l.root&&l.root.updateScroll(),l.updateLayout()),ze.read(s);const u=Vo(window,"resize",()=>this.scalePositionWithinConstraints()),d=l.addEventListener("didUpdate",(({delta:h,hasLayoutChanged:y})=>{this.isDragging&&y&&(Qt(m=>{const x=this.getAxisMotionValue(m);x&&(this.originPoint[m]+=h[m].translate,x.set(x.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:l=!1,dragConstraints:c=!1,dragElastic:u=Of,dragMomentum:d=!0}=n;return{...n,drag:i,dragDirectionLock:s,dragPropagation:l,dragConstraints:c,dragElastic:u,dragMomentum:d}}}function xa(t,n,i){return(n===!0||n===t)&&(i===null||i===t)}function Nk(t,n=10){let i=null;return Math.abs(t.y)>n?i="y":Math.abs(t.x)>n&&(i="x"),i}class Rk extends Sr{constructor(n){super(n),this.removeGroupControls=Yt,this.removeListeners=Yt,this.controls=new _k(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 yy=t=>(n,i)=>{t&&ze.postRender(()=>t(n,i))};class Fk extends Sr{constructor(){super(...arguments),this.removePointerDownListener=Yt}onPointerDown(n){this.session=new Mv(n,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Ov(this.node)})}createPanHandlers(){const{onPanSessionStart:n,onPanStart:i,onPan:s,onPanEnd:l}=this.node.getProps();return{onSessionStart:yy(n),onStart:yy(i),onMove:s,onEnd:(c,u)=>{delete this.session,l&&ze.postRender(()=>l(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 Ca={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let ac=!1;class bk extends K.Component{componentDidMount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:s,layoutId:l}=this.props,{projection:c}=n;c&&(i.group&&i.group.add(c),s&&s.register&&l&&s.register(c),ac&&c.root.didUpdate(),c.addEventListener("animationComplete",()=>{this.safeToRemove()}),c.setOptions({...c.options,onExitComplete:()=>this.safeToRemove()})),Ca.hasEverUpdated=!0}getSnapshotBeforeUpdate(n){const{layoutDependency:i,visualElement:s,drag:l,isPresent:c}=this.props,{projection:u}=s;return u&&(u.isPresent=c,ac=!0,l||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(),wd.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:s}=this.props,{projection:l}=n;ac=!0,l&&(l.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(l),s&&s.deregister&&s.deregister(l))}safeToRemove(){const{safeToRemove:n}=this.props;n&&n()}render(){return null}}function Iv(t){const[n,i]=iv(),s=K.useContext(Zf);return E.jsx(bk,{...t,layoutGroup:s,switchLayoutGroup:K.useContext(yv),isPresent:n,safeToRemove:i})}function Ok(t,n,i){const s=xt(t)?t:_i(t);return s.start(Fd("",s,n,i)),s.animation}const Mk=(t,n)=>t.depth-n.depth;class jk{constructor(){this.children=[],this.isDirty=!1}add(n){nd(this.children,n),this.isDirty=!0}remove(n){rd(this.children,n),this.isDirty=!0}forEach(n){this.isDirty&&this.children.sort(Mk),this.isDirty=!1,this.children.forEach(n)}}function Ik(t,n){const i=jt.now(),s=({timestamp:l})=>{const c=l-i;c>=n&&(vr(s),t(c-n))};return ze.setup(s,!0),()=>vr(s)}const Dv=["TopLeft","TopRight","BottomLeft","BottomRight"],Dk=Dv.length,gy=t=>typeof t=="string"?parseFloat(t):t,vy=t=>typeof t=="number"||ye.test(t);function Lk(t,n,i,s,l,c){l?(t.opacity=We(0,i.opacity??1,Vk(s)),t.opacityExit=We(n.opacity??1,0,Bk(s))):c&&(t.opacity=We(n.opacity??1,i.opacity??1,s));for(let u=0;u<Dk;u++){const d=`border${Dv[u]}Radius`;let h=xy(n,d),y=xy(i,d);if(h===void 0&&y===void 0)continue;h||(h=0),y||(y=0),h===0||y===0||vy(h)===vy(y)?(t[d]=Math.max(We(gy(h),gy(y),s),0),(Cn.test(y)||Cn.test(h))&&(t[d]+="%")):t[d]=y}(n.rotate||i.rotate)&&(t.rotate=We(n.rotate||0,i.rotate||0,s))}function xy(t,n){return t[n]!==void 0?t[n]:t.borderRadius}const Vk=Lv(0,.5,k0),Bk=Lv(.5,.95,Yt);function Lv(t,n,i){return s=>s<t?0:s>n?1:i(jo(t,n,s))}function wy(t,n){t.min=n.min,t.max=n.max}function un(t,n){wy(t.x,n.x),wy(t.y,n.y)}function Sy(t,n){t.translate=n.translate,t.scale=n.scale,t.originPoint=n.originPoint,t.origin=n.origin}function Ey(t,n,i,s,l){return t-=n,t=Da(t,1/i,s),l!==void 0&&(t=Da(t,1/l,s)),t}function zk(t,n=0,i=1,s=.5,l,c=t,u=t){if(Cn.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=Ey(t.min,n,i,d,l),t.max=Ey(t.max,n,i,d,l)}function ky(t,n,[i,s,l],c,u){zk(t,n[i],n[s],n[l],n.scale,c,u)}const Uk=["x","scaleX","originX"],$k=["y","scaleY","originY"];function Py(t,n,i,s){ky(t.x,n,Uk,i?i.x:void 0,s?s.x:void 0),ky(t.y,n,$k,i?i.y:void 0,s?s.y:void 0)}function Ty(t){return t.translate===0&&t.scale===1}function Vv(t){return Ty(t.x)&&Ty(t.y)}function Cy(t,n){return t.min===n.min&&t.max===n.max}function Wk(t,n){return Cy(t.x,n.x)&&Cy(t.y,n.y)}function Ay(t,n){return Math.round(t.min)===Math.round(n.min)&&Math.round(t.max)===Math.round(n.max)}function Bv(t,n){return Ay(t.x,n.x)&&Ay(t.y,n.y)}function _y(t){return Ct(t.x)/Ct(t.y)}function Ny(t,n){return t.translate===n.translate&&t.scale===n.scale&&t.originPoint===n.originPoint}class Hk{constructor(){this.members=[]}add(n){nd(this.members,n),n.scheduleRender()}remove(n){if(rd(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(l=>n===l);if(i===0)return!1;let s;for(let l=i;l>=0;l--){const c=this.members[l];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:l}=n.options;l===!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 qk(t,n,i){let s="";const l=t.x.translate/n.x,c=t.y.translate/n.y,u=(i==null?void 0:i.z)||0;if((l||c||u)&&(s=`translate3d(${l}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:x,rotateY:w,skewX:P,skewY:k}=i;y&&(s=`perspective(${y}px) ${s}`),m&&(s+=`rotate(${m}deg) `),x&&(s+=`rotateX(${x}deg) `),w&&(s+=`rotateY(${w}deg) `),P&&(s+=`skewX(${P}deg) `),k&&(s+=`skewY(${k}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 lc=["","X","Y","Z"],Kk=1e3;let Gk=0;function uc(t,n,i,s){const{latestValues:l}=n;l[t]&&(i[t]=l[t],n.setStaticValue(t,0),s&&(s[t]=0))}function zv(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:l,layoutId:c}=t.options;window.MotionCancelOptimisedAnimation(i,"transform",ze,!(l||c))}const{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&zv(s)}function Uv({attachResizeListener:t,defaultParent:n,measureScroll:i,checkIsScrollRoot:s,resetTransform:l}){return class{constructor(u={},d=n==null?void 0:n()){this.id=Gk++,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(Yk),this.nodes.forEach(tP),this.nodes.forEach(nP),this.nodes.forEach(Jk)},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 jk)}addEventListener(u,d){return this.eventHandlers.has(u)||this.eventHandlers.set(u,new sd),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=rv(u)&&!V2(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,x=0;const w=()=>this.root.updateBlockedByResize=!1;ze.read(()=>{x=window.innerWidth}),t(u,()=>{const P=window.innerWidth;P!==x&&(x=P,this.root.updateBlockedByResize=!0,m&&m(),m=Ik(w,250),Ca.hasAnimatedSinceResize&&(Ca.hasAnimatedSinceResize=!1,this.nodes.forEach(by)))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&y&&(d||h)&&this.addEventListener("didUpdate",({delta:m,hasLayoutChanged:x,hasRelativeLayoutChanged:w,layout:P})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const k=this.options.transition||y.getDefaultTransition()||aP,{onLayoutAnimationStart:T,onLayoutAnimationComplete:S}=y.getProps(),_=!this.targetLayout||!Bv(this.targetLayout,P),N=!x&&w;if(this.options.layoutRoot||this.resumeFrom||N||x&&(_||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const b={...vd(k,"layout"),onPlay:T,onComplete:S};(y.shouldReduceMotion||this.options.layoutRoot)&&(b.delay=0,b.type=!1),this.startAnimation(b),this.setAnimationOrigin(m,N)}else x||by(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=P})}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(rP),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&&zv(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let m=0;m<this.path.length;m++){const x=this.path[m];x.shouldResetTransform=!0,x.updateScroll("snapshot"),x.options.layoutRoot&&x.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(Fy);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(eP),this.nodes.forEach(Qk),this.nodes.forEach(Xk)):this.nodes.forEach(Fy),this.clearAllSnapshots();const d=jt.now();dt.delta=Un(0,1e3/60,d-dt.timestamp),dt.timestamp=d,dt.isProcessing=!0,Yu.update.process(dt),Yu.preRender.process(dt),Yu.render.process(dt),dt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,wd.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Zk),this.sharedNodes.forEach(iP)}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&&!Ct(this.snapshot.measuredBox.x)&&!Ct(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(!l)return;const u=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!Vv(this.projectionDelta),h=this.getTransformTemplate(),y=h?h(this.latestValues,""):void 0,m=y!==this.prevTransformTemplateValue;u&&this.instance&&(d||Dr(this.latestValues)||m)&&(l(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)),lP(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(uP))){const{scroll:m}=this.root;m&&(Pi(d.x,m.offset.x),Pi(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:x,options:w}=m;m!==this.root&&x&&w.layoutScroll&&(x.wasRoot&&un(d,u),Pi(d.x,x.offset.x),Pi(d.y,x.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&&Ti(h,{x:-m.scroll.offset.x,y:-m.scroll.offset.y}),Dr(m.latestValues)&&Ti(h,m.latestValues)}return Dr(this.latestValues)&&Ti(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;Af(y.latestValues)&&y.updateSnapshot();const m=rt(),x=y.measurePageBox();un(m,x),Py(d,y.latestValues,y.snapshot?y.snapshot.layoutBox:void 0,m)}return Dr(this.latestValues)&&Py(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 P;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||(P=this.parent)!=null&&P.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:m,layoutId:x}=this.options;if(!this.layout||!(m||x))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(),gk(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):un(this.target,this.layout.layoutBox),wv(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||Af(this.parent.latestValues)||xv(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 k;const u=this.getLead(),d=!!this.resumingFrom||this!==u;let h=!0;if((this.isProjectionDirty||(k=this.parent)!=null&&k.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 x=this.treeScale.x,w=this.treeScale.y;NE(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:P}=u;if(!P){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Sy(this.prevProjectionDelta.x,this.projectionDelta.x),Sy(this.prevProjectionDelta.y,this.projectionDelta.y)),Mo(this.projectionDelta,this.layoutCorrected,P,this.latestValues),(this.treeScale.x!==x||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",P))}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=Ci(),this.projectionDelta=Ci(),this.projectionDeltaWithTransform=Ci()}setAnimationOrigin(u,d=!1){const h=this.snapshot,y=h?h.latestValues:{},m={...this.latestValues},x=Ci();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const w=rt(),P=h?h.source:void 0,k=this.layout?this.layout.source:void 0,T=P!==k,S=this.getStack(),_=!S||S.members.length<=1,N=!!(T&&!_&&this.options.crossfade===!0&&!this.path.some(sP));this.animationProgress=0;let b;this.mixTargetDelta=D=>{const W=D/1e3;Oy(x.x,u.x,W),Oy(x.y,u.y,W),this.setTargetDelta(x),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(La(w,this.layout.layoutBox,this.relativeParent.layout.layoutBox),oP(this.relativeTarget,this.relativeTargetOrigin,w,W),b&&Wk(this.relativeTarget,b)&&(this.isProjectionDirty=!1),b||(b=rt()),un(b,this.relativeTarget)),T&&(this.animationValues=m,Lk(m,y,this.latestValues,W,N,_)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=W},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(()=>{Ca.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=_i(0)),this.currentAnimation=Ok(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(Kk),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&&$v(this.options.animationType,this.layout.layoutBox,y.layoutBox)){h=this.target||rt();const x=Ct(this.layout.layoutBox.x);h.x.min=u.target.x.min,h.x.max=h.x.min+x;const w=Ct(this.layout.layoutBox.y);h.y.min=u.target.y.min,h.y.max=h.y.min+w}un(d,h),Ti(d,m),Mo(this.projectionDeltaWithTransform,this.layoutCorrected,d,m)}}registerSharedNode(u,d){this.sharedNodes.has(u)||this.sharedNodes.set(u,new Hk),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&&uc("z",u,y,this.animationValues);for(let m=0;m<lc.length;m++)uc(`rotate${lc[m]}`,u,y,this.animationValues),uc(`skew${lc[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=Ta(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=Ta(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 x=qk(this.projectionDeltaWithTransform,this.treeScale,m);h&&(x=h(m,x)),u.transform=x;const{x:w,y:P}=this.projectionDelta;u.transformOrigin=`${w.origin*100}% ${P.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 k in Cf){if(m[k]===void 0)continue;const{correct:T,applyTo:S,isCSSVariable:_}=Cf[k],N=x==="none"?m[k]:T(m[k],y);if(S){const b=S.length;for(let D=0;D<b;D++)u[S[D]]=N}else _?this.options.visualElement.renderState.vars[k]=N:u[k]=N}this.options.layoutId&&(u.pointerEvents=y===this?Ta(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 Qk(t){t.updateLayout()}function Xk(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:l}=t.layout,{animationType:c}=t.options,u=n.source!==t.layout.source;c==="size"?Qt(x=>{const w=u?n.measuredBox[x]:n.layoutBox[x],P=Ct(w);w.min=s[x].min,w.max=w.min+P}):$v(c,n.layoutBox,s)&&Qt(x=>{const w=u?n.measuredBox[x]:n.layoutBox[x],P=Ct(s[x]);w.max=w.min+P,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[x].max=t.relativeTarget[x].min+P)});const d=Ci();Mo(d,s,n.layoutBox);const h=Ci();u?Mo(h,t.applyTransform(l,!0),n.measuredBox):Mo(h,s,n.layoutBox);const y=!Vv(d);let m=!1;if(!t.resumeFrom){const x=t.getClosestProjectingParent();if(x&&!x.resumeFrom){const{snapshot:w,layout:P}=x;if(w&&P){const k=rt();La(k,n.layoutBox,w.layoutBox);const T=rt();La(T,s,P.layoutBox),Bv(k,T)||(m=!0),x.options.layoutRoot&&(t.relativeTarget=T,t.relativeTargetOrigin=k,t.relativeParent=x)}}}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 Yk(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 Jk(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Zk(t){t.clearSnapshot()}function Ry(t){t.clearMeasurements()}function Fy(t){t.isLayoutDirty=!1}function eP(t){const{visualElement:n}=t.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),t.resetTransform()}function by(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tP(t){t.resolveTargetDelta()}function nP(t){t.calcProjection()}function rP(t){t.resetSkewAndRotation()}function iP(t){t.removeLeadSnapshot()}function Oy(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 My(t,n,i,s){t.min=We(n.min,i.min,s),t.max=We(n.max,i.max,s)}function oP(t,n,i,s){My(t.x,n.x,i.x,s),My(t.y,n.y,i.y,s)}function sP(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const aP={duration:.45,ease:[.4,0,.1,1]},jy=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Iy=jy("applewebkit/")&&!jy("chrome/")?Math.round:Yt;function Dy(t){t.min=Iy(t.min),t.max=Iy(t.max)}function lP(t){Dy(t.x),Dy(t.y)}function $v(t,n,i){return t==="position"||t==="preserve-aspect"&&!yk(_y(n),_y(i),.2)}function uP(t){var n;return t!==t.root&&((n=t.scroll)==null?void 0:n.wasRoot)}const cP=Uv({attachResizeListener:(t,n)=>Vo(t,"resize",n),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),cc={current:void 0},Wv=Uv({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!cc.current){const t=new cP({});t.mount(window),t.setOptions({layoutScroll:!0}),cc.current=t}return cc.current},resetTransform:(t,n)=>{t.style.transform=n!==void 0?n:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),fP={pan:{Feature:Fk},drag:{Feature:Rk,ProjectionNode:Wv,MeasureLayout:Iv}};function Ly(t,n,i){const{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",i==="Start");const l="onHover"+i,c=s[l];c&&ze.postRender(()=>c(n,Go(n)))}class dP extends Sr{mount(){const{current:n}=this.node;n&&(this.unmount=M2(n,(i,s)=>(Ly(this.node,s,"Start"),l=>Ly(this.node,l,"End"))))}unmount(){}}class pP 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 Vy(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 l="onTap"+(i==="End"?"":i),c=s[l];c&&ze.postRender(()=>c(n,Go(n)))}class hP extends Sr{mount(){const{current:n}=this.node;n&&(this.unmount=L2(n,(i,s)=>(Vy(this.node,s,"Start"),(l,{success:c})=>Vy(this.node,l,c?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Mf=new WeakMap,fc=new WeakMap,mP=t=>{const n=Mf.get(t.target);n&&n(t)},yP=t=>{t.forEach(mP)};function gP({root:t,...n}){const i=t||document;fc.has(i)||fc.set(i,{});const s=fc.get(i),l=JSON.stringify(n);return s[l]||(s[l]=new IntersectionObserver(yP,{root:t,...n})),s[l]}function vP(t,n,i){const s=gP(n);return Mf.set(t,i),s.observe(t),()=>{Mf.delete(t),s.unobserve(t)}}const xP={some:0,all:1};class wP 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:l="some",once:c}=n,u={root:i?i.current:void 0,rootMargin:s,threshold:typeof l=="number"?l:xP[l]},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:x}=this.node.getProps(),w=y?m:x;w&&w(h)};return vP(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(SP(n,i))&&this.startObserver()}unmount(){}}function SP({viewport:t={}},{viewport:n={}}={}){return i=>t[i]!==n[i]}const EP={inView:{Feature:wP},tap:{Feature:hP},focus:{Feature:pP},hover:{Feature:dP}},kP={layout:{ProjectionNode:Wv,MeasureLayout:Iv}},PP={...ck,...EP,...fP,...kP},J=CE(PP,VE);/**
|
||
* @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 TP=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),CP=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(n,i,s)=>s?s.toUpperCase():i.toLowerCase()),By=t=>{const n=CP(t);return n.charAt(0).toUpperCase()+n.slice(1)},Hv=(...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 AP={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 _P=K.forwardRef(({color:t="currentColor",size:n=24,strokeWidth:i=2,absoluteStrokeWidth:s,className:l="",children:c,iconNode:u,...d},h)=>K.createElement("svg",{ref:h,...AP,width:n,height:n,stroke:t,strokeWidth:s?Number(i)*24/Number(n):i,className:Hv("lucide",l),...d},[...u.map(([y,m])=>K.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=K.forwardRef(({className:s,...l},c)=>K.createElement(_P,{ref:c,iconNode:n,className:Hv(`lucide-${TP(By(t))}`,`lucide-${t}`,s),...l}));return i.displayName=By(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 NP=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],RP=Ze("arrow-right",NP);/**
|
||
* @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 FP=[["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"}]],qv=Ze("brain",FP);/**
|
||
* @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 bP=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],zy=Ze("check",bP);/**
|
||
* @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 OP=[["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"}]],Uy=Ze("circle-alert",OP);/**
|
||
* @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 MP=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],$y=Ze("circle-check-big",MP);/**
|
||
* @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 jP=[["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"}]],Kv=Ze("cpu",jP);/**
|
||
* @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 IP=[["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"}]],DP=Ze("database",IP);/**
|
||
* @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 LP=[["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"}]],Wy=Ze("file-image",LP);/**
|
||
* @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 VP=[["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"}]],BP=Ze("file-text",VP);/**
|
||
* @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 zP=[["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"}]],UP=Ze("gift",zP);/**
|
||
* @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 $P=[["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"}]],Hy=Ze("lock",$P);/**
|
||
* @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 WP=[["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"}]],dc=Ze("message-square",WP);/**
|
||
* @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 HP=[["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"}]],qP=Ze("shield",HP);/**
|
||
* @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 KP=[["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"}]],bd=Ze("sparkles",KP);/**
|
||
* @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 GP=[["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"}]],Gv=Ze("trending-down",GP);/**
|
||
* @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 QP=[["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"}]],XP=Ze("trending-up",QP);/**
|
||
* @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 YP=[["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"}]],JP=Ze("upload",YP);/**
|
||
* @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 ZP=[["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"}]],Qv=Ze("users",ZP);/**
|
||
* @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 eT=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],tT=Ze("x",eT);/**
|
||
* @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=[["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",nT);function rT({onNext:t}){const[n,i]=K.useState(1e3),[s,l]=K.useState(""),c="你的企业,正在为「低效」支付多少冤枉钱?";return K.useEffect(()=>{let u=0;const d=setInterval(()=>{u<=c.length?(l(c.slice(0,u)),u++):clearInterval(d)},80);return()=>clearInterval(d)},[]),K.useEffect(()=>{const u=setInterval(()=>{i(d=>d+Math.floor(Math.random()*3))},2e3);return()=>clearInterval(u)},[]),E.jsxs("div",{className:"min-h-screen flex flex-col items-center justify-center px-6 py-12 relative overflow-hidden",children:[E.jsx(J.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"}}),E.jsx(J.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"}}),E.jsxs(J.div,{className:"mb-12 relative",initial:{opacity:0,scale:.5},animate:{opacity:1,scale:1},transition:{duration:1,type:"spring"},children:[E.jsxs(J.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:[E.jsx(J.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"}}),E.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:E.jsx(qv,{className:"w-14 h-14 text-white"})}),[{Icon:bd,delay:0,color:"#00F0FF"},{Icon:Kv,delay:1,color:"#7B61FF"},{Icon:DP,delay:2,color:"#00F0FF"},{Icon:Va,delay:3,color:"#7B61FF"}].map((u,d)=>E.jsx(J.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:E.jsx(J.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:E.jsx(J.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:E.jsx(u.Icon,{className:"w-5 h-5",style:{color:u.color}})})})},d))]}),Array.from({length:8}).map((u,d)=>E.jsx(J.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))]}),E.jsxs(J.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,E.jsx(J.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}})]}),E.jsxs(J.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个传统员工",E.jsx("br",{}),"上传组织架构图,AI一键测算你的",E.jsx("span",{className:"text-[#00F0FF]",children:"隐形降本空间"})]}),E.jsxs(J.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:[E.jsx(Va,{className:"w-5 h-5 text-[#00F0FF]"}),E.jsx("span",{className:"text-gray-300",children:"今日已有"}),E.jsx(J.span,{className:"text-[#00F0FF] text-xl",initial:{y:-10,opacity:0},animate:{y:0,opacity:1},children:n.toLocaleString()},n),E.jsx("span",{className:"text-gray-300",children:"位老板获取了降本方案"})]}),E.jsxs(J.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:[E.jsx(J.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}}),E.jsxs("span",{className:"relative z-10 flex items-center gap-2",children:["立即测算能省多少钱",E.jsx(Gv,{className:"w-5 h-5"})]})]}),E.jsxs(J.div,{className:"mt-12 flex gap-6 text-xs text-gray-400",initial:{opacity:0},animate:{opacity:1},transition:{delay:4},children:[E.jsxs("div",{className:"flex items-center gap-1",children:[E.jsx("div",{className:"w-2 h-2 bg-green-400 rounded-full"}),E.jsx("span",{children:"银行级加密"})]}),E.jsxs("div",{className:"flex items-center gap-1",children:[E.jsx("div",{className:"w-2 h-2 bg-green-400 rounded-full"}),E.jsx("span",{children:"3秒出结果"})]}),E.jsxs("div",{className:"flex items-center gap-1",children:[E.jsx("div",{className:"w-2 h-2 bg-green-400 rounded-full"}),E.jsx("span",{children:"数据即时销毁"})]})]})]})}const qy=[{id:"ecommerce",name:"电商型",icon:"🛒"},{id:"traditional",name:"传统型",icon:"🏢"},{id:"tech",name:"科技型",icon:"💻"}];function iT(t){var u,d;const[n,i]=K.useState(!1),[s,l]=K.useState(null),c=async h=>{var m;const y=(m=h.target.files)==null?void 0:m[0];y&&t.onSuccess(y)};return E.jsxs("div",{className:"min-h-screen flex flex-col items-center justify-center px-6 py-12 relative",children:[E.jsx(J.h2,{className:"text-2xl md:text-3xl text-center mb-4",initial:{opacity:0,y:-20},animate:{opacity:1,y:0},children:"上传您的组织架构图"}),E.jsx(J.p,{className:"text-gray-400 text-center mb-12",initial:{opacity:0},animate:{opacity:1},transition:{delay:.2},children:"AI将智能分析各岗位的优化潜力"}),E.jsxs(J.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?E.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center gap-3",children:[E.jsx(J.div,{className:"absolute inset-0 bg-[#00F0FF]/10 rounded-2xl",animate:{opacity:[.1,.3,.1]},transition:{duration:1,repeat:1/0}}),E.jsx(J.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"}}),E.jsxs(J.div,{initial:{scale:.8,opacity:0},animate:{scale:1,opacity:1},transition:{duration:.3},className:"relative z-10 flex flex-col items-center",children:[E.jsx(Wy,{className:"w-16 h-16 text-[#00F0FF] mb-4"}),E.jsx("p",{className:"text-[#00F0FF] text-lg",children:"正在扫描架构图..."}),s&&E.jsxs(J.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:[E.jsx("span",{className:"text-2xl",children:(u=qy.find(h=>h.id===s))==null?void 0:u.icon}),E.jsx("span",{className:"text-sm text-white",children:(d=qy.find(h=>h.id===s))==null?void 0:d.name})]})]})]}):E.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center p-6",children:[E.jsx(JP,{className:"w-12 h-12 text-[#7B61FF] mb-4"}),E.jsx("p",{className:"text-gray-300 text-center mb-2",children:"拖拽图片到此处"}),E.jsx("p",{className:"text-gray-500 text-sm text-center mb-6",children:"或"}),E.jsx("div",{className:"flex ",children:E.jsxs("label",{className:"cursor-pointer",children:[E.jsx("input",{type:"file",accept:"image/*",className:"hidden",onChange:c}),E.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:[E.jsx(Wy,{className:"w-4 h-4"}),E.jsx("span",{className:"text-sm",children:"选择文件"})]})]})})]}),E.jsx("div",{className:"absolute top-0 left-0 w-8 h-8 border-t-2 border-l-2 border-[#00F0FF]/50 rounded-tl-2xl"}),E.jsx("div",{className:"absolute top-0 right-0 w-8 h-8 border-t-2 border-r-2 border-[#00F0FF]/50 rounded-tr-2xl"}),E.jsx("div",{className:"absolute bottom-0 left-0 w-8 h-8 border-b-2 border-l-2 border-[#00F0FF]/50 rounded-bl-2xl"}),E.jsx("div",{className:"absolute bottom-0 right-0 w-8 h-8 border-b-2 border-r-2 border-[#00F0FF]/50 rounded-br-2xl"})]}),E.jsxs(J.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:[E.jsx(qP,{className:"w-4 h-4 text-green-400"}),E.jsx("span",{children:"银行级数据加密,仅用于测算,分析后立即销毁"})]})]})}const pc=[{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 oT(){const[t,n]=K.useState(0),[i,s]=K.useState([]);return K.useEffect(()=>{const l=Array.from({length:15},(c,u)=>({x:Math.random()*100,y:Math.random()*100,id:u}));s(l)},[]),K.useEffect(()=>{const l=setInterval(()=>{n(c=>c<pc.length-1?c+1:(clearInterval(l),c))},800);return()=>clearInterval(l)},[]),E.jsxs("div",{className:"min-h-screen flex flex-col items-center justify-center px-6 py-12 relative overflow-hidden",children:[E.jsxs("div",{className:"absolute inset-0 flex items-center justify-center",children:[E.jsx(J.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"}}),E.jsx(J.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}}),E.jsx(J.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"}})]}),E.jsx("div",{className:"absolute inset-0 pointer-events-none",children:i.map(l=>E.jsx(J.div,{className:"absolute w-3 h-3 bg-[#00F0FF] rounded-full",style:{left:`${l.x}%`,top:`${l.y}%`},initial:{scale:0,opacity:0},animate:{scale:[0,1,.8],opacity:[0,1,.6]},transition:{duration:1,delay:l.id*.1},children:E.jsx(J.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:l.id*.1}})},l.id))}),E.jsx(J.div,{className:"relative z-10 mb-12",initial:{scale:0,rotate:-180},animate:{scale:1,rotate:0},transition:{duration:1,type:"spring"},children:E.jsxs("div",{className:"relative",children:[E.jsx(J.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:E.jsx(qv,{className:"w-12 h-12 text-white"})}),[Kv,Va,XP].map((l,c)=>E.jsx(J.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:E.jsx(J.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:E.jsx("div",{className:"w-8 h-8 bg-[#0A0F24] border-2 border-[#00F0FF] rounded-full flex items-center justify-center",children:E.jsx(l,{className:"w-4 h-4 text-[#00F0FF]"})})})},c))]})}),E.jsx("div",{className:"relative z-10 w-full max-w-md space-y-4",children:pc.map((l,c)=>E.jsxs(J.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:[E.jsx("span",{className:"text-2xl",children:l.icon}),E.jsxs("div",{className:"flex-1",children:[E.jsxs("div",{className:"text-sm text-gray-300",children:["正在分析",l.dept]}),E.jsx("div",{className:"text-xs text-[#00F0FF] mt-1",children:l.message})]}),c===t&&E.jsx(J.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&&E.jsx("div",{className:"w-6 h-6 bg-[#00F0FF] rounded-full flex items-center justify-center",children:E.jsx("svg",{className:"w-4 h-4 text-[#0A0F24]",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7"})})})]},c))}),E.jsx(J.div,{className:"mt-12 text-center",initial:{opacity:0},animate:{opacity:[0,1,0]},transition:{duration:2,repeat:1/0},children:E.jsx("p",{className:"text-[#00F0FF] text-sm",children:"AI深度分析中,请稍候..."})}),E.jsx(J.div,{className:"mt-6 w-64 h-1 bg-gray-800 rounded-full overflow-hidden",children:E.jsx(J.div,{className:"h-full bg-gradient-to-r from-[#7B61FF] to-[#00F0FF]",initial:{width:"0%"},animate:{width:`${(t+1)/pc.length*100}%`},transition:{duration:.5}})})]})}function Xv(t,n){return function(){return t.apply(n,arguments)}}const{toString:sT}=Object.prototype,{getPrototypeOf:Od}=Object,{iterator:Xa,toStringTag:Yv}=Symbol,Ya=(t=>n=>{const i=sT.call(n);return t[i]||(t[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),pn=t=>(t=t.toLowerCase(),n=>Ya(n)===t),Ja=t=>n=>typeof n===t,{isArray:Di}=Array,Ri=Ja("undefined");function Qo(t){return t!==null&&!Ri(t)&&t.constructor!==null&&!Ri(t.constructor)&&It(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Jv=pn("ArrayBuffer");function aT(t){let n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(t):n=t&&t.buffer&&Jv(t.buffer),n}const lT=Ja("string"),It=Ja("function"),Zv=Ja("number"),Xo=t=>t!==null&&typeof t=="object",uT=t=>t===!0||t===!1,Aa=t=>{if(Ya(t)!=="object")return!1;const n=Od(t);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Yv in t)&&!(Xa in t)},cT=t=>{if(!Xo(t)||Qo(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},fT=pn("Date"),dT=pn("File"),pT=pn("Blob"),hT=pn("FileList"),mT=t=>Xo(t)&&It(t.pipe),yT=t=>{let n;return t&&(typeof FormData=="function"&&t instanceof FormData||It(t.append)&&((n=Ya(t))==="formdata"||n==="object"&&It(t.toString)&&t.toString()==="[object FormData]"))},gT=pn("URLSearchParams"),[vT,xT,wT,ST]=["ReadableStream","Request","Response","Headers"].map(pn),ET=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,l;if(typeof t!="object"&&(t=[t]),Di(t))for(s=0,l=t.length;s<l;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 e1(t,n){if(Qo(t))return null;n=n.toLowerCase();const i=Object.keys(t);let s=i.length,l;for(;s-- >0;)if(l=i[s],n===l.toLowerCase())return l;return null}const zr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,t1=t=>!Ri(t)&&t!==zr;function jf(){const{caseless:t,skipUndefined:n}=t1(this)&&this||{},i={},s=(l,c)=>{const u=t&&e1(i,c)||c;Aa(i[u])&&Aa(l)?i[u]=jf(i[u],l):Aa(l)?i[u]=jf({},l):Di(l)?i[u]=l.slice():(!n||!Ri(l))&&(i[u]=l)};for(let l=0,c=arguments.length;l<c;l++)arguments[l]&&Yo(arguments[l],s);return i}const kT=(t,n,i,{allOwnKeys:s}={})=>(Yo(n,(l,c)=>{i&&It(l)?t[c]=Xv(l,i):t[c]=l},{allOwnKeys:s}),t),PT=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),TT=(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)},CT=(t,n,i,s)=>{let l,c,u;const d={};if(n=n||{},t==null)return n;do{for(l=Object.getOwnPropertyNames(t),c=l.length;c-- >0;)u=l[c],(!s||s(u,t,n))&&!d[u]&&(n[u]=t[u],d[u]=!0);t=i!==!1&&Od(t)}while(t&&(!i||i(t,n))&&t!==Object.prototype);return n},AT=(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},_T=t=>{if(!t)return null;if(Di(t))return t;let n=t.length;if(!Zv(n))return null;const i=new Array(n);for(;n-- >0;)i[n]=t[n];return i},NT=(t=>n=>t&&n instanceof t)(typeof Uint8Array<"u"&&Od(Uint8Array)),RT=(t,n)=>{const s=(t&&t[Xa]).call(t);let l;for(;(l=s.next())&&!l.done;){const c=l.value;n.call(t,c[0],c[1])}},FT=(t,n)=>{let i;const s=[];for(;(i=t.exec(n))!==null;)s.push(i);return s},bT=pn("HTMLFormElement"),OT=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,s,l){return s.toUpperCase()+l}),Ky=(({hasOwnProperty:t})=>(n,i)=>t.call(n,i))(Object.prototype),MT=pn("RegExp"),n1=(t,n)=>{const i=Object.getOwnPropertyDescriptors(t),s={};Yo(i,(l,c)=>{let u;(u=n(l,c,t))!==!1&&(s[c]=u||l)}),Object.defineProperties(t,s)},jT=t=>{n1(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+"'")})}})},IT=(t,n)=>{const i={},s=l=>{l.forEach(c=>{i[c]=!0})};return Di(t)?s(t):s(String(t).split(n)),i},DT=()=>{},LT=(t,n)=>t!=null&&Number.isFinite(t=+t)?t:n;function VT(t){return!!(t&&It(t.append)&&t[Yv]==="FormData"&&t[Xa])}const BT=t=>{const n=new Array(10),i=(s,l)=>{if(Xo(s)){if(n.indexOf(s)>=0)return;if(Qo(s))return s;if(!("toJSON"in s)){n[l]=s;const c=Di(s)?[]:{};return Yo(s,(u,d)=>{const h=i(u,l+1);!Ri(h)&&(c[d]=h)}),n[l]=void 0,c}}return s};return i(t,0)},zT=pn("AsyncFunction"),UT=t=>t&&(Xo(t)||It(t))&&It(t.then)&&It(t.catch),r1=((t,n)=>t?setImmediate:n?((i,s)=>(zr.addEventListener("message",({source:l,data:c})=>{l===zr&&c===i&&s.length&&s.shift()()},!1),l=>{s.push(l),zr.postMessage(i,"*")}))(`axios@${Math.random()}`,[]):i=>setTimeout(i))(typeof setImmediate=="function",It(zr.postMessage)),$T=typeof queueMicrotask<"u"?queueMicrotask.bind(zr):typeof process<"u"&&process.nextTick||r1,WT=t=>t!=null&&It(t[Xa]),$={isArray:Di,isArrayBuffer:Jv,isBuffer:Qo,isFormData:yT,isArrayBufferView:aT,isString:lT,isNumber:Zv,isBoolean:uT,isObject:Xo,isPlainObject:Aa,isEmptyObject:cT,isReadableStream:vT,isRequest:xT,isResponse:wT,isHeaders:ST,isUndefined:Ri,isDate:fT,isFile:dT,isBlob:pT,isRegExp:MT,isFunction:It,isStream:mT,isURLSearchParams:gT,isTypedArray:NT,isFileList:hT,forEach:Yo,merge:jf,extend:kT,trim:ET,stripBOM:PT,inherits:TT,toFlatObject:CT,kindOf:Ya,kindOfTest:pn,endsWith:AT,toArray:_T,forEachEntry:RT,matchAll:FT,isHTMLForm:bT,hasOwnProperty:Ky,hasOwnProp:Ky,reduceDescriptors:n1,freezeMethods:jT,toObjectSet:IT,toCamelCase:OT,noop:DT,toFiniteNumber:LT,findKey:e1,global:zr,isContextDefined:t1,isSpecCompliantForm:VT,toJSONObject:BT,isAsyncFn:zT,isThenable:UT,setImmediate:r1,asap:$T,isIterable:WT};function ke(t,n,i,s,l){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),l&&(this.response=l,this.status=l.status?l.status:null)}$.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:$.toJSONObject(this.config),code:this.code,status:this.status}}});const i1=ke.prototype,o1={};["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=>{o1[t]={value:t}});Object.defineProperties(ke,o1);Object.defineProperty(i1,"isAxiosError",{value:!0});ke.from=(t,n,i,s,l,c)=>{const u=Object.create(i1);$.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,l),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 HT=null;function If(t){return $.isPlainObject(t)||$.isArray(t)}function s1(t){return $.endsWith(t,"[]")?t.slice(0,-2):t}function Gy(t,n,i){return t?t.concat(n).map(function(l,c){return l=s1(l),!i&&c?"["+l+"]":l}).join(i?".":""):n}function qT(t){return $.isArray(t)&&!t.some(If)}const KT=$.toFlatObject($,{},null,function(n){return/^is[A-Z]/.test(n)});function Za(t,n,i){if(!$.isObject(t))throw new TypeError("target must be an object");n=n||new FormData,i=$.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(T,S){return!$.isUndefined(S[T])});const s=i.metaTokens,l=i.visitor||m,c=i.dots,u=i.indexes,h=(i.Blob||typeof Blob<"u"&&Blob)&&$.isSpecCompliantForm(n);if(!$.isFunction(l))throw new TypeError("visitor must be a function");function y(k){if(k===null)return"";if($.isDate(k))return k.toISOString();if($.isBoolean(k))return k.toString();if(!h&&$.isBlob(k))throw new ke("Blob is not supported. Use a Buffer instead.");return $.isArrayBuffer(k)||$.isTypedArray(k)?h&&typeof Blob=="function"?new Blob([k]):Buffer.from(k):k}function m(k,T,S){let _=k;if(k&&!S&&typeof k=="object"){if($.endsWith(T,"{}"))T=s?T:T.slice(0,-2),k=JSON.stringify(k);else if($.isArray(k)&&qT(k)||($.isFileList(k)||$.endsWith(T,"[]"))&&(_=$.toArray(k)))return T=s1(T),_.forEach(function(b,D){!($.isUndefined(b)||b===null)&&n.append(u===!0?Gy([T],D,c):u===null?T:T+"[]",y(b))}),!1}return If(k)?!0:(n.append(Gy(S,T,c),y(k)),!1)}const x=[],w=Object.assign(KT,{defaultVisitor:m,convertValue:y,isVisitable:If});function P(k,T){if(!$.isUndefined(k)){if(x.indexOf(k)!==-1)throw Error("Circular reference detected in "+T.join("."));x.push(k),$.forEach(k,function(_,N){(!($.isUndefined(_)||_===null)&&l.call(n,_,$.isString(N)?N.trim():N,T,w))===!0&&P(_,T?T.concat(N):[N])}),x.pop()}}if(!$.isObject(t))throw new TypeError("data must be an object");return P(t),n}function Qy(t){const n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return n[s]})}function Md(t,n){this._pairs=[],t&&Za(t,this,n)}const a1=Md.prototype;a1.append=function(n,i){this._pairs.push([n,i])};a1.toString=function(n){const i=n?function(s){return n.call(this,s,Qy)}:Qy;return this._pairs.map(function(l){return i(l[0])+"="+i(l[1])},"").join("&")};function GT(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function l1(t,n,i){if(!n)return t;const s=i&&i.encode||GT;$.isFunction(i)&&(i={serialize:i});const l=i&&i.serialize;let c;if(l?c=l(n,i):c=$.isURLSearchParams(n)?n.toString():new Md(n,i).toString(s),c){const u=t.indexOf("#");u!==-1&&(t=t.slice(0,u)),t+=(t.indexOf("?")===-1?"?":"&")+c}return t}class Xy{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){$.forEach(this.handlers,function(s){s!==null&&n(s)})}}const u1={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},QT=typeof URLSearchParams<"u"?URLSearchParams:Md,XT=typeof FormData<"u"?FormData:null,YT=typeof Blob<"u"?Blob:null,JT={isBrowser:!0,classes:{URLSearchParams:QT,FormData:XT,Blob:YT},protocols:["http","https","file","blob","url","data"]},jd=typeof window<"u"&&typeof document<"u",Df=typeof navigator=="object"&&navigator||void 0,ZT=jd&&(!Df||["ReactNative","NativeScript","NS"].indexOf(Df.product)<0),eC=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",tC=jd&&window.location.href||"http://localhost",nC=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:jd,hasStandardBrowserEnv:ZT,hasStandardBrowserWebWorkerEnv:eC,navigator:Df,origin:tC},Symbol.toStringTag,{value:"Module"})),vt={...nC,...JT};function rC(t,n){return Za(t,new vt.classes.URLSearchParams,{visitor:function(i,s,l,c){return vt.isNode&&$.isBuffer(i)?(this.append(s,i.toString("base64")),!1):c.defaultVisitor.apply(this,arguments)},...n})}function iC(t){return $.matchAll(/\w+|\[(\w*)]/g,t).map(n=>n[0]==="[]"?"":n[1]||n[0])}function oC(t){const n={},i=Object.keys(t);let s;const l=i.length;let c;for(s=0;s<l;s++)c=i[s],n[c]=t[c];return n}function c1(t){function n(i,s,l,c){let u=i[c++];if(u==="__proto__")return!0;const d=Number.isFinite(+u),h=c>=i.length;return u=!u&&$.isArray(l)?l.length:u,h?($.hasOwnProp(l,u)?l[u]=[l[u],s]:l[u]=s,!d):((!l[u]||!$.isObject(l[u]))&&(l[u]=[]),n(i,s,l[u],c)&&$.isArray(l[u])&&(l[u]=oC(l[u])),!d)}if($.isFormData(t)&&$.isFunction(t.entries)){const i={};return $.forEachEntry(t,(s,l)=>{n(iC(s),l,i,0)}),i}return null}function sC(t,n,i){if($.isString(t))try{return(n||JSON.parse)(t),$.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(i||JSON.stringify)(t)}const Jo={transitional:u1,adapter:["xhr","http","fetch"],transformRequest:[function(n,i){const s=i.getContentType()||"",l=s.indexOf("application/json")>-1,c=$.isObject(n);if(c&&$.isHTMLForm(n)&&(n=new FormData(n)),$.isFormData(n))return l?JSON.stringify(c1(n)):n;if($.isArrayBuffer(n)||$.isBuffer(n)||$.isStream(n)||$.isFile(n)||$.isBlob(n)||$.isReadableStream(n))return n;if($.isArrayBufferView(n))return n.buffer;if($.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 rC(n,this.formSerializer).toString();if((d=$.isFileList(n))||s.indexOf("multipart/form-data")>-1){const h=this.env&&this.env.FormData;return Za(d?{"files[]":n}:n,h&&new h,this.formSerializer)}}return c||l?(i.setContentType("application/json",!1),sC(n)):n}],transformResponse:[function(n){const i=this.transitional||Jo.transitional,s=i&&i.forcedJSONParsing,l=this.responseType==="json";if($.isResponse(n)||$.isReadableStream(n))return n;if(n&&$.isString(n)&&(s&&!this.responseType||l)){const u=!(i&&i.silentJSONParsing)&&l;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}}};$.forEach(["delete","get","head","post","put","patch"],t=>{Jo.headers[t]={}});const aC=$.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"]),lC=t=>{const n={};let i,s,l;return t&&t.split(`
|
||
`).forEach(function(u){l=u.indexOf(":"),i=u.substring(0,l).trim().toLowerCase(),s=u.substring(l+1).trim(),!(!i||n[i]&&aC[i])&&(i==="set-cookie"?n[i]?n[i].push(s):n[i]=[s]:n[i]=n[i]?n[i]+", "+s:s)}),n},Yy=Symbol("internals");function No(t){return t&&String(t).trim().toLowerCase()}function _a(t){return t===!1||t==null?t:$.isArray(t)?t.map(_a):String(t)}function uC(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 cC=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function hc(t,n,i,s,l){if($.isFunction(s))return s.call(this,n,i);if(l&&(n=i),!!$.isString(n)){if($.isString(s))return n.indexOf(s)!==-1;if($.isRegExp(s))return s.test(n)}}function fC(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(n,i,s)=>i.toUpperCase()+s)}function dC(t,n){const i=$.toCamelCase(" "+n);["get","set","has"].forEach(s=>{Object.defineProperty(t,s+i,{value:function(l,c,u){return this[s].call(this,n,l,c,u)},configurable:!0})})}let Dt=class{constructor(n){n&&this.set(n)}set(n,i,s){const l=this;function c(d,h,y){const m=No(h);if(!m)throw new Error("header name must be a non-empty string");const x=$.findKey(l,m);(!x||l[x]===void 0||y===!0||y===void 0&&l[x]!==!1)&&(l[x||h]=_a(d))}const u=(d,h)=>$.forEach(d,(y,m)=>c(y,m,h));if($.isPlainObject(n)||n instanceof this.constructor)u(n,i);else if($.isString(n)&&(n=n.trim())&&!cC(n))u(lC(n),i);else if($.isObject(n)&&$.isIterable(n)){let d={},h,y;for(const m of n){if(!$.isArray(m))throw TypeError("Object iterator must return a key-value pair");d[y=m[0]]=(h=d[y])?$.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=No(n),n){const s=$.findKey(this,n);if(s){const l=this[s];if(!i)return l;if(i===!0)return uC(l);if($.isFunction(i))return i.call(this,l,s);if($.isRegExp(i))return i.exec(l);throw new TypeError("parser must be boolean|regexp|function")}}}has(n,i){if(n=No(n),n){const s=$.findKey(this,n);return!!(s&&this[s]!==void 0&&(!i||hc(this,this[s],s,i)))}return!1}delete(n,i){const s=this;let l=!1;function c(u){if(u=No(u),u){const d=$.findKey(s,u);d&&(!i||hc(s,s[d],d,i))&&(delete s[d],l=!0)}}return $.isArray(n)?n.forEach(c):c(n),l}clear(n){const i=Object.keys(this);let s=i.length,l=!1;for(;s--;){const c=i[s];(!n||hc(this,this[c],c,n,!0))&&(delete this[c],l=!0)}return l}normalize(n){const i=this,s={};return $.forEach(this,(l,c)=>{const u=$.findKey(s,c);if(u){i[u]=_a(l),delete i[c];return}const d=n?fC(c):String(c).trim();d!==c&&delete i[c],i[d]=_a(l),s[d]=!0}),this}concat(...n){return this.constructor.concat(this,...n)}toJSON(n){const i=Object.create(null);return $.forEach(this,(s,l)=>{s!=null&&s!==!1&&(i[l]=n&&$.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(l=>s.set(l)),s}static accessor(n){const s=(this[Yy]=this[Yy]={accessors:{}}).accessors,l=this.prototype;function c(u){const d=No(u);s[d]||(dC(l,u),s[d]=!0)}return $.isArray(n)?n.forEach(c):c(n),this}};Dt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);$.reduceDescriptors(Dt.prototype,({value:t},n)=>{let i=n[0].toUpperCase()+n.slice(1);return{get:()=>t,set(s){this[i]=s}}});$.freezeMethods(Dt);function mc(t,n){const i=this||Jo,s=n||i,l=Dt.from(s.headers);let c=s.data;return $.forEach(t,function(d){c=d.call(i,c,l.normalize(),n?n.status:void 0)}),l.normalize(),c}function f1(t){return!!(t&&t.__CANCEL__)}function Li(t,n,i){ke.call(this,t??"canceled",ke.ERR_CANCELED,n,i),this.name="CanceledError"}$.inherits(Li,ke,{__CANCEL__:!0});function d1(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 pC(t){const n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""}function hC(t,n){t=t||10;const i=new Array(t),s=new Array(t);let l=0,c=0,u;return n=n!==void 0?n:1e3,function(h){const y=Date.now(),m=s[c];u||(u=y),i[l]=h,s[l]=y;let x=c,w=0;for(;x!==l;)w+=i[x++],x=x%t;if(l=(l+1)%t,l===c&&(c=(c+1)%t),y-u<n)return;const P=m&&y-m;return P?Math.round(w*1e3/P):void 0}}function mC(t,n){let i=0,s=1e3/n,l,c;const u=(y,m=Date.now())=>{i=m,l=null,c&&(clearTimeout(c),c=null),t(...y)};return[(...y)=>{const m=Date.now(),x=m-i;x>=s?u(y,m):(l=y,c||(c=setTimeout(()=>{c=null,u(l)},s-x)))},()=>l&&u(l)]}const Ba=(t,n,i=3)=>{let s=0;const l=hC(50,250);return mC(c=>{const u=c.loaded,d=c.lengthComputable?c.total:void 0,h=u-s,y=l(h),m=u<=d;s=u;const x={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(x)},i)},Jy=(t,n)=>{const i=t!=null;return[s=>n[0]({lengthComputable:i,total:t,loaded:s}),n[1]]},Zy=t=>(...n)=>$.asap(()=>t(...n)),yC=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,gC=vt.hasStandardBrowserEnv?{write(t,n,i,s,l,c,u){if(typeof document>"u")return;const d=[`${t}=${encodeURIComponent(n)}`];$.isNumber(i)&&d.push(`expires=${new Date(i).toUTCString()}`),$.isString(s)&&d.push(`path=${s}`),$.isString(l)&&d.push(`domain=${l}`),c===!0&&d.push("secure"),$.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 vC(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function xC(t,n){return n?t.replace(/\/?\/$/,"")+"/"+n.replace(/^\/+/,""):t}function p1(t,n,i){let s=!vC(n);return t&&(s||i==!1)?xC(t,n):n}const eg=t=>t instanceof Dt?{...t}:t;function Hr(t,n){n=n||{};const i={};function s(y,m,x,w){return $.isPlainObject(y)&&$.isPlainObject(m)?$.merge.call({caseless:w},y,m):$.isPlainObject(m)?$.merge({},m):$.isArray(m)?m.slice():m}function l(y,m,x,w){if($.isUndefined(m)){if(!$.isUndefined(y))return s(void 0,y,x,w)}else return s(y,m,x,w)}function c(y,m){if(!$.isUndefined(m))return s(void 0,m)}function u(y,m){if($.isUndefined(m)){if(!$.isUndefined(y))return s(void 0,y)}else return s(void 0,m)}function d(y,m,x){if(x in n)return s(y,m);if(x 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,x)=>l(eg(y),eg(m),x,!0)};return $.forEach(Object.keys({...t,...n}),function(m){const x=h[m]||l,w=x(t[m],n[m],m);$.isUndefined(w)&&x!==d||(i[m]=w)}),i}const h1=t=>{const n=Hr({},t);let{data:i,withXSRFToken:s,xsrfHeaderName:l,xsrfCookieName:c,headers:u,auth:d}=n;if(n.headers=u=Dt.from(u),n.url=l1(p1(n.baseURL,n.url,n.allowAbsoluteUrls),t.params,t.paramsSerializer),d&&u.set("Authorization","Basic "+btoa((d.username||"")+":"+(d.password?unescape(encodeURIComponent(d.password)):""))),$.isFormData(i)){if(vt.hasStandardBrowserEnv||vt.hasStandardBrowserWebWorkerEnv)u.setContentType(void 0);else if($.isFunction(i.getHeaders)){const h=i.getHeaders(),y=["content-type","content-length"];Object.entries(h).forEach(([m,x])=>{y.includes(m.toLowerCase())&&u.set(m,x)})}}if(vt.hasStandardBrowserEnv&&(s&&$.isFunction(s)&&(s=s(n)),s||s!==!1&&yC(n.url))){const h=l&&c&&gC.read(c);h&&u.set(l,h)}return n},wC=typeof XMLHttpRequest<"u",SC=wC&&function(t){return new Promise(function(i,s){const l=h1(t);let c=l.data;const u=Dt.from(l.headers).normalize();let{responseType:d,onUploadProgress:h,onDownloadProgress:y}=l,m,x,w,P,k;function T(){P&&P(),k&&k(),l.cancelToken&&l.cancelToken.unsubscribe(m),l.signal&&l.signal.removeEventListener("abort",m)}let S=new XMLHttpRequest;S.open(l.method.toUpperCase(),l.url,!0),S.timeout=l.timeout;function _(){if(!S)return;const b=Dt.from("getAllResponseHeaders"in S&&S.getAllResponseHeaders()),W={data:!d||d==="text"||d==="json"?S.responseText:S.response,status:S.status,statusText:S.statusText,headers:b,config:t,request:S};d1(function(H){i(H),T()},function(H){s(H),T()},W),S=null}"onloadend"in S?S.onloadend=_:S.onreadystatechange=function(){!S||S.readyState!==4||S.status===0&&!(S.responseURL&&S.responseURL.indexOf("file:")===0)||setTimeout(_)},S.onabort=function(){S&&(s(new ke("Request aborted",ke.ECONNABORTED,t,S)),S=null)},S.onerror=function(D){const W=D&&D.message?D.message:"Network Error",q=new ke(W,ke.ERR_NETWORK,t,S);q.event=D||null,s(q),S=null},S.ontimeout=function(){let D=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded";const W=l.transitional||u1;l.timeoutErrorMessage&&(D=l.timeoutErrorMessage),s(new ke(D,W.clarifyTimeoutError?ke.ETIMEDOUT:ke.ECONNABORTED,t,S)),S=null},c===void 0&&u.setContentType(null),"setRequestHeader"in S&&$.forEach(u.toJSON(),function(D,W){S.setRequestHeader(W,D)}),$.isUndefined(l.withCredentials)||(S.withCredentials=!!l.withCredentials),d&&d!=="json"&&(S.responseType=l.responseType),y&&([w,k]=Ba(y,!0),S.addEventListener("progress",w)),h&&S.upload&&([x,P]=Ba(h),S.upload.addEventListener("progress",x),S.upload.addEventListener("loadend",P)),(l.cancelToken||l.signal)&&(m=b=>{S&&(s(!b||b.type?new Li(null,t,S):b),S.abort(),S=null)},l.cancelToken&&l.cancelToken.subscribe(m),l.signal&&(l.signal.aborted?m():l.signal.addEventListener("abort",m)));const N=pC(l.url);if(N&&vt.protocols.indexOf(N)===-1){s(new ke("Unsupported protocol "+N+":",ke.ERR_BAD_REQUEST,t));return}S.send(c||null)})},EC=(t,n)=>{const{length:i}=t=t?t.filter(Boolean):[];if(n||i){let s=new AbortController,l;const c=function(y){if(!l){l=!0,d();const m=y instanceof Error?y:this.reason;s.abort(m instanceof ke?m:new Li(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=()=>$.asap(d),h}},kC=function*(t,n){let i=t.byteLength;if(i<n){yield t;return}let s=0,l;for(;s<i;)l=s+n,yield t.slice(s,l),s=l},PC=async function*(t,n){for await(const i of TC(t))yield*kC(i,n)},TC=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()}},tg=(t,n,i,s)=>{const l=PC(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 l.next();if(y){d(),h.close();return}let x=m.byteLength;if(i){let w=c+=x;i(w)}h.enqueue(new Uint8Array(m))}catch(y){throw d(y),y}},cancel(h){return d(h),l.return()}},{highWaterMark:2})},ng=64*1024,{isFunction:wa}=$,CC=(({Request:t,Response:n})=>({Request:t,Response:n}))($.global),{ReadableStream:rg,TextEncoder:ig}=$.global,og=(t,...n)=>{try{return!!t(...n)}catch{return!1}},AC=t=>{t=$.merge.call({skipUndefined:!0},CC,t);const{fetch:n,Request:i,Response:s}=t,l=n?wa(n):typeof fetch=="function",c=wa(i),u=wa(s);if(!l)return!1;const d=l&&wa(rg),h=l&&(typeof ig=="function"?(k=>T=>k.encode(T))(new ig):async k=>new Uint8Array(await new i(k).arrayBuffer())),y=c&&d&&og(()=>{let k=!1;const T=new i(vt.origin,{body:new rg,method:"POST",get duplex(){return k=!0,"half"}}).headers.has("Content-Type");return k&&!T}),m=u&&d&&og(()=>$.isReadableStream(new s("").body)),x={stream:m&&(k=>k.body)};l&&["text","arrayBuffer","blob","formData","stream"].forEach(k=>{!x[k]&&(x[k]=(T,S)=>{let _=T&&T[k];if(_)return _.call(T);throw new ke(`Response type '${k}' is not supported`,ke.ERR_NOT_SUPPORT,S)})});const w=async k=>{if(k==null)return 0;if($.isBlob(k))return k.size;if($.isSpecCompliantForm(k))return(await new i(vt.origin,{method:"POST",body:k}).arrayBuffer()).byteLength;if($.isArrayBufferView(k)||$.isArrayBuffer(k))return k.byteLength;if($.isURLSearchParams(k)&&(k=k+""),$.isString(k))return(await h(k)).byteLength},P=async(k,T)=>{const S=$.toFiniteNumber(k.getContentLength());return S??w(T)};return async k=>{let{url:T,method:S,data:_,signal:N,cancelToken:b,timeout:D,onDownloadProgress:W,onUploadProgress:q,responseType:H,headers:I,withCredentials:ne="same-origin",fetchOptions:te}=h1(k),he=n||fetch;H=H?(H+"").toLowerCase():"text";let re=EC([N,b&&b.toAbortSignal()],D),Se=null;const ge=re&&re.unsubscribe&&(()=>{re.unsubscribe()});let _e;try{if(q&&y&&S!=="get"&&S!=="head"&&(_e=await P(I,_))!==0){let A=new i(T,{method:"POST",body:_,duplex:"half"}),U;if($.isFormData(_)&&(U=A.headers.get("content-type"))&&I.setContentType(U),A.body){const[ee,oe]=Jy(_e,Ba(Zy(q)));_=tg(A.body,ng,ee,oe)}}$.isString(ne)||(ne=ne?"include":"omit");const Pe=c&&"credentials"in i.prototype,le={...te,signal:re,method:S.toUpperCase(),headers:I.normalize().toJSON(),body:_,duplex:"half",credentials:Pe?ne:void 0};Se=c&&new i(T,le);let g=await(c?he(Se,te):he(T,le));const O=m&&(H==="stream"||H==="response");if(m&&(W||O&&ge)){const A={};["status","statusText","headers"].forEach(Z=>{A[Z]=g[Z]});const U=$.toFiniteNumber(g.headers.get("content-length")),[ee,oe]=W&&Jy(U,Ba(Zy(W),!0))||[];g=new s(tg(g.body,ng,ee,()=>{oe&&oe(),ge&&ge()}),A)}H=H||"text";let M=await x[$.findKey(x,H)||"text"](g,k);return!O&&ge&&ge(),await new Promise((A,U)=>{d1(A,U,{data:M,headers:Dt.from(g.headers),status:g.status,statusText:g.statusText,config:k,request:Se})})}catch(Pe){throw ge&&ge(),Pe&&Pe.name==="TypeError"&&/Load failed|fetch/i.test(Pe.message)?Object.assign(new ke("Network Error",ke.ERR_NETWORK,k,Se),{cause:Pe.cause||Pe}):ke.from(Pe,Pe&&Pe.code,k,Se)}}},_C=new Map,m1=t=>{let n=t&&t.env||{};const{fetch:i,Request:s,Response:l}=n,c=[s,l,i];let u=c.length,d=u,h,y,m=_C;for(;d--;)h=c[d],y=m.get(h),y===void 0&&m.set(h,y=d?new Map:AC(n)),m=y;return y};m1();const Id={http:HT,xhr:SC,fetch:{get:m1}};$.forEach(Id,(t,n)=>{if(t){try{Object.defineProperty(t,"name",{value:n})}catch{}Object.defineProperty(t,"adapterName",{value:n})}});const sg=t=>`- ${t}`,NC=t=>$.isFunction(t)||t===null||t===!1;function RC(t,n){t=$.isArray(t)?t:[t];const{length:i}=t;let s,l;const c={};for(let u=0;u<i;u++){s=t[u];let d;if(l=s,!NC(s)&&(l=Id[(d=String(s)).toLowerCase()],l===void 0))throw new ke(`Unknown adapter '${d}'`);if(l&&($.isFunction(l)||(l=l.get(n))))break;c[d||"#"+u]=l}if(!l){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(sg).join(`
|
||
`):" "+sg(u[0]):"as no adapter specified";throw new ke("There is no suitable adapter to dispatch the request "+d,"ERR_NOT_SUPPORT")}return l}const y1={getAdapter:RC,adapters:Id};function yc(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Li(null,t)}function ag(t){return yc(t),t.headers=Dt.from(t.headers),t.data=mc.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),y1.getAdapter(t.adapter||Jo.adapter,t)(t).then(function(s){return yc(t),s.data=mc.call(t,t.transformResponse,s),s.headers=Dt.from(s.headers),s},function(s){return f1(s)||(yc(t),s&&s.response&&(s.response.data=mc.call(t,t.transformResponse,s.response),s.response.headers=Dt.from(s.response.headers))),Promise.reject(s)})}const g1="1.13.2",el={};["object","boolean","number","function","string","symbol"].forEach((t,n)=>{el[t]=function(s){return typeof s===t||"a"+(n<1?"n ":" ")+t}});const lg={};el.transitional=function(n,i,s){function l(c,u){return"[Axios v"+g1+"] Transitional option '"+c+"'"+u+(s?". "+s:"")}return(c,u,d)=>{if(n===!1)throw new ke(l(u," has been removed"+(i?" in "+i:"")),ke.ERR_DEPRECATED);return i&&!lg[u]&&(lg[u]=!0,console.warn(l(u," has been deprecated since v"+i+" and will be removed in the near future"))),n?n(c,u,d):!0}};el.spelling=function(n){return(i,s)=>(console.warn(`${s} is likely a misspelling of ${n}`),!0)};function FC(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 l=s.length;for(;l-- >0;){const c=s[l],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 Na={assertOptions:FC,validators:el},kn=Na.validators;let Wr=class{constructor(n){this.defaults=n||{},this.interceptors={request:new Xy,response:new Xy}}async request(n,i){try{return await this._request(n,i)}catch(s){if(s instanceof Error){let l={};Error.captureStackTrace?Error.captureStackTrace(l):l=new Error;const c=l.stack?l.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:l,headers:c}=i;s!==void 0&&Na.assertOptions(s,{silentJSONParsing:kn.transitional(kn.boolean),forcedJSONParsing:kn.transitional(kn.boolean),clarifyTimeoutError:kn.transitional(kn.boolean)},!1),l!=null&&($.isFunction(l)?i.paramsSerializer={serialize:l}:Na.assertOptions(l,{encode:kn.function,serialize:kn.function},!0)),i.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?i.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:i.allowAbsoluteUrls=!0),Na.assertOptions(i,{baseUrl:kn.spelling("baseURL"),withXsrfToken:kn.spelling("withXSRFToken")},!0),i.method=(i.method||this.defaults.method||"get").toLowerCase();let u=c&&$.merge(c.common,c[i.method]);c&&$.forEach(["delete","get","head","post","put","patch","common"],k=>{delete c[k]}),i.headers=Dt.concat(u,c);const d=[];let h=!0;this.interceptors.request.forEach(function(T){typeof T.runWhen=="function"&&T.runWhen(i)===!1||(h=h&&T.synchronous,d.unshift(T.fulfilled,T.rejected))});const y=[];this.interceptors.response.forEach(function(T){y.push(T.fulfilled,T.rejected)});let m,x=0,w;if(!h){const k=[ag.bind(this),void 0];for(k.unshift(...d),k.push(...y),w=k.length,m=Promise.resolve(i);x<w;)m=m.then(k[x++],k[x++]);return m}w=d.length;let P=i;for(;x<w;){const k=d[x++],T=d[x++];try{P=k(P)}catch(S){T.call(this,S);break}}try{m=ag.call(this,P)}catch(k){return Promise.reject(k)}for(x=0,w=y.length;x<w;)m=m.then(y[x++],y[x++]);return m}getUri(n){n=Hr(this.defaults,n);const i=p1(n.baseURL,n.url,n.allowAbsoluteUrls);return l1(i,n.params,n.paramsSerializer)}};$.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}))}});$.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 bC=class v1{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(l=>{if(!s._listeners)return;let c=s._listeners.length;for(;c-- >0;)s._listeners[c](l);s._listeners=null}),this.promise.then=l=>{let c;const u=new Promise(d=>{s.subscribe(d),c=d}).then(l);return u.cancel=function(){s.unsubscribe(c)},u},n(function(c,u,d){s.reason||(s.reason=new Li(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 v1(function(l){n=l}),cancel:n}}};function OC(t){return function(i){return t.apply(null,i)}}function MC(t){return $.isObject(t)&&t.isAxiosError===!0}const Lf={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(Lf).forEach(([t,n])=>{Lf[n]=t});function x1(t){const n=new Wr(t),i=Xv(Wr.prototype.request,n);return $.extend(i,Wr.prototype,n,{allOwnKeys:!0}),$.extend(i,n,null,{allOwnKeys:!0}),i.create=function(l){return x1(Hr(t,l))},i}const Qe=x1(Jo);Qe.Axios=Wr;Qe.CanceledError=Li;Qe.CancelToken=bC;Qe.isCancel=f1;Qe.VERSION=g1;Qe.toFormData=Za;Qe.AxiosError=ke;Qe.Cancel=Qe.CanceledError;Qe.all=function(n){return Promise.all(n)};Qe.spread=OC;Qe.isAxiosError=MC;Qe.mergeConfig=Hr;Qe.AxiosHeaders=Dt;Qe.formToJSON=t=>c1($.isHTMLForm(t)?new FormData(t):t);Qe.getAdapter=y1.getAdapter;Qe.HttpStatusCode=Lf;Qe.default=Qe;const{Axios:X_,AxiosError:Y_,CanceledError:J_,isCancel:Z_,CancelToken:eN,VERSION:tN,all:nN,Cancel:rN,isAxiosError:iN,spread:oN,toFormData:sN,AxiosHeaders:aN,HttpStatusCode:lN,formToJSON:uN,getAdapter:cN,mergeConfig:fN}=Qe;var gc,ug;function Vi(){return ug||(ug=1,gc=TypeError),gc}const jC={},IC=Object.freeze(Object.defineProperty({__proto__:null,default:jC},Symbol.toStringTag,{value:"Module"})),DC=Iw(IC);var vc,cg;function tl(){if(cg)return vc;cg=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,l=typeof Set=="function"&&Set.prototype,c=Object.getOwnPropertyDescriptor&&l?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=l&&c&&typeof c.get=="function"?c.get:null,d=l&&Set.prototype.forEach,h=typeof WeakMap=="function"&&WeakMap.prototype,y=h?WeakMap.prototype.has:null,m=typeof WeakSet=="function"&&WeakSet.prototype,x=m?WeakSet.prototype.has:null,w=typeof WeakRef=="function"&&WeakRef.prototype,P=w?WeakRef.prototype.deref:null,k=Boolean.prototype.valueOf,T=Object.prototype.toString,S=Function.prototype.toString,_=String.prototype.match,N=String.prototype.slice,b=String.prototype.replace,D=String.prototype.toUpperCase,W=String.prototype.toLowerCase,q=RegExp.prototype.test,H=Array.prototype.concat,I=Array.prototype.join,ne=Array.prototype.slice,te=Math.floor,he=typeof BigInt=="function"?BigInt.prototype.valueOf:null,re=Object.getOwnPropertySymbols,Se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ge=typeof Symbol=="function"&&typeof Symbol.iterator=="object",_e=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ge||!0)?Symbol.toStringTag:null,Pe=Object.prototype.propertyIsEnumerable,le=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(V){return V.__proto__}:null);function g(V,z){if(V===1/0||V===-1/0||V!==V||V&&V>-1e3&&V<1e3||q.call(/e/,z))return z;var Ae=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof V=="number"){var Fe=V<0?-te(-V):te(V);if(Fe!==V){var Oe=String(Fe),we=N.call(z,Oe.length+1);return b.call(Oe,Ae,"$&_")+"."+b.call(b.call(we,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(z,Ae,"$&_")}var O=DC,M=O.custom,A=Xe(M)?M:null,U={__proto__:null,double:'"',single:"'"},ee={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};vc=function V(z,Ae,Fe,Oe){var we=Ae||{};if(ot(we,"quoteStyle")&&!ot(U,we.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ot(we,"maxStringLength")&&(typeof we.maxStringLength=="number"?we.maxStringLength<0&&we.maxStringLength!==1/0:we.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Et=ot(we,"customInspect")?we.customInspect:!0;if(typeof Et!="boolean"&&Et!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ot(we,"indent")&&we.indent!==null&&we.indent!==" "&&!(parseInt(we.indent,10)===we.indent&&we.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ot(we,"numericSeparator")&&typeof we.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var yn=we.numericSeparator;if(typeof z>"u")return"undefined";if(z===null)return"null";if(typeof z=="boolean")return z?"true":"false";if(typeof z=="string")return qr(z,we);if(typeof z=="number"){if(z===0)return 1/0/z>0?"0":"-0";var pt=String(z);return yn?g(z,pt):pt}if(typeof z=="bigint"){var Jt=String(z)+"n";return yn?g(z,Jt):Jt}var Xr=typeof we.depth>"u"?5:we.depth;if(typeof Fe>"u"&&(Fe=0),Fe>=Xr&&Xr>0&&typeof z=="object")return Ce(z)?"[Array]":"[Object]";var Rn=is(we,Fe);if(typeof Oe>"u")Oe=[];else if(_t(Oe,z)>=0)return"[Circular]";function kt(Fn,kr,ls){if(kr&&(Oe=ne.call(Oe),Oe.push(kr)),ls){var qi={depth:we.depth};return ot(we,"quoteStyle")&&(qi.quoteStyle=we.quoteStyle),V(Fn,qi,Fe+1,Oe)}return V(Fn,we,Fe+1,Oe)}if(typeof z=="function"&&!Ee(z)){var zi=hn(z),Gn=Qr(z,kt);return"[Function"+(zi?": "+zi:" (anonymous)")+"]"+(Gn.length>0?" { "+I.call(Gn,", ")+" }":"")}if(Xe(z)){var Yr=ge?b.call(String(z),/^(Symbol\(.*\))_[^)]*$/,"$1"):Se.call(z);return typeof z=="object"&&!ge?qn(Yr):Yr}if(rs(z)){for(var Zt="<"+W.call(String(z.nodeName)),Ui=z.attributes||[],gn=0;gn<Ui.length;gn++)Zt+=" "+Ui[gn].name+"="+oe(Z(Ui[gn].value),"double",we);return Zt+=">",z.childNodes&&z.childNodes.length&&(Zt+="..."),Zt+="</"+W.call(String(z.nodeName))+">",Zt}if(Ce(z)){if(z.length===0)return"[]";var Qn=Qr(z,kt);return Rn&&!fl(Qn)?"["+Gr(Qn,Rn)+"]":"[ "+I.call(Qn,", ")+" ]"}if(xe(z)){var Xn=Qr(z,kt);return!("cause"in Error.prototype)&&"cause"in z&&!Pe.call(z,"cause")?"{ ["+String(z)+"] "+I.call(H.call("[cause]: "+kt(z.cause),Xn),", ")+" }":Xn.length===0?"["+String(z)+"]":"{ ["+String(z)+"] "+I.call(Xn,", ")+" }"}if(typeof z=="object"&&Et){if(A&&typeof z[A]=="function"&&O)return O(z,{depth:Xr-Fe});if(Et!=="symbol"&&typeof z.inspect=="function")return z.inspect()}if(st(z)){var Jr=[];return s&&s.call(z,function(Fn,kr){Jr.push(kt(kr,z,!0)+" => "+kt(Fn,z))}),Kn("Map",i.call(z),Jr,Rn)}if(_n(z)){var os=[];return d&&d.call(z,function(Fn){os.push(kt(Fn,z))}),Kn("Set",u.call(z),os,Rn)}if(mn(z))return Nn("WeakMap");if(ns(z))return Nn("WeakSet");if(An(z))return Nn("WeakRef");if(be(z))return qn(kt(Number(z)));if(wt(z))return qn(kt(he.call(z)));if(Ve(z))return qn(k.call(z));if(je(z))return qn(kt(String(z)));if(typeof window<"u"&&z===window)return"{ [object Window] }";if(typeof globalThis<"u"&&z===globalThis||typeof gm<"u"&&z===gm)return"{ [object globalThis] }";if(!me(z)&&!Ee(z)){var $i=Qr(z,kt),ss=le?le(z)===Object.prototype:z instanceof Object||z.constructor===Object,en=z instanceof Object?"":"null prototype",Wi=!ss&&_e&&Object(z)===z&&_e in z?N.call(St(z),8,-1):en?"Object":"",as=ss||typeof z.constructor!="function"?"":z.constructor.name?z.constructor.name+" ":"",Hi=as+(Wi||en?"["+I.call(H.call([],Wi||[],en||[]),": ")+"] ":"");return $i.length===0?Hi+"{}":Rn?Hi+"{"+Gr($i,Rn)+"}":Hi+"{ "+I.call($i,", ")+" }"}return String(z)};function oe(V,z,Ae){var Fe=Ae.quoteStyle||z,Oe=U[Fe];return Oe+V+Oe}function Z(V){return b.call(String(V),/"/g,""")}function fe(V){return!_e||!(typeof V=="object"&&(_e in V||typeof V[_e]<"u"))}function Ce(V){return St(V)==="[object Array]"&&fe(V)}function me(V){return St(V)==="[object Date]"&&fe(V)}function Ee(V){return St(V)==="[object RegExp]"&&fe(V)}function xe(V){return St(V)==="[object Error]"&&fe(V)}function je(V){return St(V)==="[object String]"&&fe(V)}function be(V){return St(V)==="[object Number]"&&fe(V)}function Ve(V){return St(V)==="[object Boolean]"&&fe(V)}function Xe(V){if(ge)return V&&typeof V=="object"&&V instanceof Symbol;if(typeof V=="symbol")return!0;if(!V||typeof V!="object"||!Se)return!1;try{return Se.call(V),!0}catch{}return!1}function wt(V){if(!V||typeof V!="object"||!he)return!1;try{return he.call(V),!0}catch{}return!1}var et=Object.prototype.hasOwnProperty||function(V){return V in this};function ot(V,z){return et.call(V,z)}function St(V){return T.call(V)}function hn(V){if(V.name)return V.name;var z=_.call(S.call(V),/^function\s*([\w$]+)/);return z?z[1]:null}function _t(V,z){if(V.indexOf)return V.indexOf(z);for(var Ae=0,Fe=V.length;Ae<Fe;Ae++)if(V[Ae]===z)return Ae;return-1}function st(V){if(!i||!V||typeof V!="object")return!1;try{i.call(V);try{u.call(V)}catch{return!0}return V instanceof Map}catch{}return!1}function mn(V){if(!y||!V||typeof V!="object")return!1;try{y.call(V,y);try{x.call(V,x)}catch{return!0}return V instanceof WeakMap}catch{}return!1}function An(V){if(!P||!V||typeof V!="object")return!1;try{return P.call(V),!0}catch{}return!1}function _n(V){if(!u||!V||typeof V!="object")return!1;try{u.call(V);try{i.call(V)}catch{return!0}return V instanceof Set}catch{}return!1}function ns(V){if(!x||!V||typeof V!="object")return!1;try{x.call(V,x);try{y.call(V,y)}catch{return!0}return V instanceof WeakSet}catch{}return!1}function rs(V){return!V||typeof V!="object"?!1:typeof HTMLElement<"u"&&V instanceof HTMLElement?!0:typeof V.nodeName=="string"&&typeof V.getAttribute=="function"}function qr(V,z){if(V.length>z.maxStringLength){var Ae=V.length-z.maxStringLength,Fe="... "+Ae+" more character"+(Ae>1?"s":"");return qr(N.call(V,0,z.maxStringLength),z)+Fe}var Oe=ee[z.quoteStyle||"single"];Oe.lastIndex=0;var we=b.call(b.call(V,Oe,"\\$1"),/[\x00-\x1f]/g,Kr);return oe(we,"single",z)}function Kr(V){var z=V.charCodeAt(0),Ae={8:"b",9:"t",10:"n",12:"f",13:"r"}[z];return Ae?"\\"+Ae:"\\x"+(z<16?"0":"")+D.call(z.toString(16))}function qn(V){return"Object("+V+")"}function Nn(V){return V+" { ? }"}function Kn(V,z,Ae,Fe){var Oe=Fe?Gr(Ae,Fe):I.call(Ae,", ");return V+" ("+z+") {"+Oe+"}"}function fl(V){for(var z=0;z<V.length;z++)if(_t(V[z],`
|
||
`)>=0)return!1;return!0}function is(V,z){var Ae;if(V.indent===" ")Ae=" ";else if(typeof V.indent=="number"&&V.indent>0)Ae=I.call(Array(V.indent+1)," ");else return null;return{base:Ae,prev:I.call(Array(z+1),Ae)}}function Gr(V,z){if(V.length===0)return"";var Ae=`
|
||
`+z.prev+z.base;return Ae+I.call(V,","+Ae)+`
|
||
`+z.prev}function Qr(V,z){var Ae=Ce(V),Fe=[];if(Ae){Fe.length=V.length;for(var Oe=0;Oe<V.length;Oe++)Fe[Oe]=ot(V,Oe)?z(V[Oe],V):""}var we=typeof re=="function"?re(V):[],Et;if(ge){Et={};for(var yn=0;yn<we.length;yn++)Et["$"+we[yn]]=we[yn]}for(var pt in V)ot(V,pt)&&(Ae&&String(Number(pt))===pt&&pt<V.length||ge&&Et["$"+pt]instanceof Symbol||(q.call(/[^\w$]/,pt)?Fe.push(z(pt,V)+": "+z(V[pt],V)):Fe.push(pt+": "+z(V[pt],V))));if(typeof re=="function")for(var Jt=0;Jt<we.length;Jt++)Pe.call(V,we[Jt])&&Fe.push("["+z(we[Jt])+"]: "+z(V[we[Jt]],V));return Fe}return vc}var xc,fg;function LC(){if(fg)return xc;fg=1;var t=tl(),n=Vi(),i=function(d,h,y){for(var m=d,x;(x=m.next)!=null;m=x)if(x.key===h)return m.next=x.next,y||(x.next=d.next,d.next=x),x},s=function(d,h){if(d){var y=i(d,h);return y&&y.value}},l=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 xc=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 x=h&&h.next,w=u(h,m);return w&&x&&x===w&&(h=void 0),!!w},get:function(m){return s(h,m)},has:function(m){return c(h,m)},set:function(m,x){h||(h={next:void 0}),l(h,m,x)}};return y},xc}var wc,dg;function w1(){return dg||(dg=1,wc=Object),wc}var Sc,pg;function VC(){return pg||(pg=1,Sc=Error),Sc}var Ec,hg;function BC(){return hg||(hg=1,Ec=EvalError),Ec}var kc,mg;function zC(){return mg||(mg=1,kc=RangeError),kc}var Pc,yg;function UC(){return yg||(yg=1,Pc=ReferenceError),Pc}var Tc,gg;function $C(){return gg||(gg=1,Tc=SyntaxError),Tc}var Cc,vg;function WC(){return vg||(vg=1,Cc=URIError),Cc}var Ac,xg;function HC(){return xg||(xg=1,Ac=Math.abs),Ac}var _c,wg;function qC(){return wg||(wg=1,_c=Math.floor),_c}var Nc,Sg;function KC(){return Sg||(Sg=1,Nc=Math.max),Nc}var Rc,Eg;function GC(){return Eg||(Eg=1,Rc=Math.min),Rc}var Fc,kg;function QC(){return kg||(kg=1,Fc=Math.pow),Fc}var bc,Pg;function XC(){return Pg||(Pg=1,bc=Math.round),bc}var Oc,Tg;function YC(){return Tg||(Tg=1,Oc=Number.isNaN||function(n){return n!==n}),Oc}var Mc,Cg;function JC(){if(Cg)return Mc;Cg=1;var t=YC();return Mc=function(i){return t(i)||i===0?i:i<0?-1:1},Mc}var jc,Ag;function ZC(){return Ag||(Ag=1,jc=Object.getOwnPropertyDescriptor),jc}var Ic,_g;function S1(){if(_g)return Ic;_g=1;var t=ZC();if(t)try{t([],"length")}catch{t=null}return Ic=t,Ic}var Dc,Ng;function eA(){if(Ng)return Dc;Ng=1;var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}return Dc=t,Dc}var Lc,Rg;function tA(){return Rg||(Rg=1,Lc=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 l=42;n[i]=l;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!==l||d.enumerable!==!0)return!1}return!0}),Lc}var Vc,Fg;function nA(){if(Fg)return Vc;Fg=1;var t=typeof Symbol<"u"&&Symbol,n=tA();return Vc=function(){return typeof t!="function"||typeof Symbol!="function"||typeof t("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()},Vc}var Bc,bg;function E1(){return bg||(bg=1,Bc=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Bc}var zc,Og;function k1(){if(Og)return zc;Og=1;var t=w1();return zc=t.getPrototypeOf||null,zc}var Uc,Mg;function rA(){if(Mg)return Uc;Mg=1;var t="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,i=Math.max,s="[object Function]",l=function(h,y){for(var m=[],x=0;x<h.length;x+=1)m[x]=h[x];for(var w=0;w<y.length;w+=1)m[w+h.length]=y[w];return m},c=function(h,y){for(var m=[],x=y,w=0;x<h.length;x+=1,w+=1)m[w]=h[x];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 Uc=function(h){var y=this;if(typeof y!="function"||n.apply(y)!==s)throw new TypeError(t+y);for(var m=c(arguments,1),x,w=function(){if(this instanceof x){var _=y.apply(this,l(m,arguments));return Object(_)===_?_:this}return y.apply(h,l(m,arguments))},P=i(0,y.length-m.length),k=[],T=0;T<P;T++)k[T]="$"+T;if(x=Function("binder","return function ("+u(k,",")+"){ return binder.apply(this,arguments); }")(w),y.prototype){var S=function(){};S.prototype=y.prototype,x.prototype=new S,S.prototype=null}return x},Uc}var $c,jg;function nl(){if(jg)return $c;jg=1;var t=rA();return $c=Function.prototype.bind||t,$c}var Wc,Ig;function Dd(){return Ig||(Ig=1,Wc=Function.prototype.call),Wc}var Hc,Dg;function P1(){return Dg||(Dg=1,Hc=Function.prototype.apply),Hc}var qc,Lg;function iA(){return Lg||(Lg=1,qc=typeof Reflect<"u"&&Reflect&&Reflect.apply),qc}var Kc,Vg;function oA(){if(Vg)return Kc;Vg=1;var t=nl(),n=P1(),i=Dd(),s=iA();return Kc=s||t.call(i,n),Kc}var Gc,Bg;function T1(){if(Bg)return Gc;Bg=1;var t=nl(),n=Vi(),i=Dd(),s=oA();return Gc=function(c){if(c.length<1||typeof c[0]!="function")throw new n("a function is required");return s(t,i,c)},Gc}var Qc,zg;function sA(){if(zg)return Qc;zg=1;var t=T1(),n=S1(),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__"),l=Object,c=l.getPrototypeOf;return Qc=s&&typeof s.get=="function"?t([s.get]):typeof c=="function"?function(d){return c(d==null?d:l(d))}:!1,Qc}var Xc,Ug;function aA(){if(Ug)return Xc;Ug=1;var t=E1(),n=k1(),i=sA();return Xc=t?function(l){return t(l)}:n?function(l){if(!l||typeof l!="object"&&typeof l!="function")throw new TypeError("getProto: not an object");return n(l)}:i?function(l){return i(l)}:null,Xc}var Yc,$g;function lA(){if($g)return Yc;$g=1;var t=Function.prototype.call,n=Object.prototype.hasOwnProperty,i=nl();return Yc=i.call(t,n),Yc}var Jc,Wg;function Ld(){if(Wg)return Jc;Wg=1;var t,n=w1(),i=VC(),s=BC(),l=zC(),c=UC(),u=$C(),d=Vi(),h=WC(),y=HC(),m=qC(),x=KC(),w=GC(),P=QC(),k=XC(),T=JC(),S=Function,_=function(Ee){try{return S('"use strict"; return ('+Ee+").constructor;")()}catch{}},N=S1(),b=eA(),D=function(){throw new d},W=N?(function(){try{return arguments.callee,D}catch{try{return N(arguments,"callee").get}catch{return D}}})():D,q=nA()(),H=aA(),I=k1(),ne=E1(),te=P1(),he=Dd(),re={},Se=typeof Uint8Array>"u"||!H?t:H(Uint8Array),ge={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?t:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?t:ArrayBuffer,"%ArrayIteratorPrototype%":q&&H?H([][Symbol.iterator]()):t,"%AsyncFromSyncIteratorPrototype%":t,"%AsyncFunction%":re,"%AsyncGenerator%":re,"%AsyncGeneratorFunction%":re,"%AsyncIteratorPrototype%":re,"%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%":re,"%Int8Array%":typeof Int8Array>"u"?t:Int8Array,"%Int16Array%":typeof Int16Array>"u"?t:Int16Array,"%Int32Array%":typeof Int32Array>"u"?t:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":q&&H?H(H([][Symbol.iterator]())):t,"%JSON%":typeof JSON=="object"?JSON:t,"%Map%":typeof Map>"u"?t:Map,"%MapIteratorPrototype%":typeof Map>"u"||!q||!H?t:H(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":N,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?t:Promise,"%Proxy%":typeof Proxy>"u"?t:Proxy,"%RangeError%":l,"%ReferenceError%":c,"%Reflect%":typeof Reflect>"u"?t:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?t:Set,"%SetIteratorPrototype%":typeof Set>"u"||!q||!H?t:H(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?t:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":q&&H?H(""[Symbol.iterator]()):t,"%Symbol%":q?Symbol:t,"%SyntaxError%":u,"%ThrowTypeError%":W,"%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%":he,"%Function.prototype.apply%":te,"%Object.defineProperty%":b,"%Object.getPrototypeOf%":I,"%Math.abs%":y,"%Math.floor%":m,"%Math.max%":x,"%Math.min%":w,"%Math.pow%":P,"%Math.round%":k,"%Math.sign%":T,"%Reflect.getPrototypeOf%":ne};if(H)try{null.error}catch(Ee){var _e=H(H(Ee));ge["%Error.prototype%"]=_e}var Pe=function Ee(xe){var je;if(xe==="%AsyncFunction%")je=_("async function () {}");else if(xe==="%GeneratorFunction%")je=_("function* () {}");else if(xe==="%AsyncGeneratorFunction%")je=_("async function* () {}");else if(xe==="%AsyncGenerator%"){var be=Ee("%AsyncGeneratorFunction%");be&&(je=be.prototype)}else if(xe==="%AsyncIteratorPrototype%"){var Ve=Ee("%AsyncGenerator%");Ve&&H&&(je=H(Ve.prototype))}return ge[xe]=je,je},le={__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=nl(),O=lA(),M=g.call(he,Array.prototype.concat),A=g.call(te,Array.prototype.splice),U=g.call(he,String.prototype.replace),ee=g.call(he,String.prototype.slice),oe=g.call(he,RegExp.prototype.exec),Z=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,fe=/\\(\\)?/g,Ce=function(xe){var je=ee(xe,0,1),be=ee(xe,-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 U(xe,Z,function(Xe,wt,et,ot){Ve[Ve.length]=et?U(ot,fe,"$1"):wt||Xe}),Ve},me=function(xe,je){var be=xe,Ve;if(O(le,be)&&(Ve=le[be],be="%"+Ve[0]+"%"),O(ge,be)){var Xe=ge[be];if(Xe===re&&(Xe=Pe(be)),typeof Xe>"u"&&!je)throw new d("intrinsic "+xe+" exists, but is not available. Please file an issue!");return{alias:Ve,name:be,value:Xe}}throw new u("intrinsic "+xe+" does not exist!")};return Jc=function(xe,je){if(typeof xe!="string"||xe.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(oe(/^%?[^%]*%?$/,xe)===null)throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var be=Ce(xe),Ve=be.length>0?be[0]:"",Xe=me("%"+Ve+"%",je),wt=Xe.name,et=Xe.value,ot=!1,St=Xe.alias;St&&(Ve=St[0],A(be,M([0,1],St)));for(var hn=1,_t=!0;hn<be.length;hn+=1){var st=be[hn],mn=ee(st,0,1),An=ee(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"||!_t)&&(ot=!0),Ve+="."+st,wt="%"+Ve+"%",O(ge,wt))et=ge[wt];else if(et!=null){if(!(st in et)){if(!je)throw new d("base intrinsic for "+xe+" exists, but the property is not available.");return}if(N&&hn+1>=be.length){var _n=N(et,st);_t=!!_n,_t&&"get"in _n&&!("originalValue"in _n.get)?et=_n.get:et=et[st]}else _t=O(et,st),et=et[st];_t&&!ot&&(ge[wt]=et)}}return et},Jc}var Zc,Hg;function C1(){if(Hg)return Zc;Hg=1;var t=Ld(),n=T1(),i=n([t("%String.prototype.indexOf%")]);return Zc=function(l,c){var u=t(l,!!c);return typeof u=="function"&&i(l,".prototype.")>-1?n([u]):u},Zc}var ef,qg;function A1(){if(qg)return ef;qg=1;var t=Ld(),n=C1(),i=tl(),s=Vi(),l=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 ef=!!l&&function(){var x,w={assert:function(P){if(!w.has(P))throw new s("Side channel does not contain "+i(P))},delete:function(P){if(x){var k=h(x,P);return y(x)===0&&(x=void 0),k}return!1},get:function(P){if(x)return c(x,P)},has:function(P){return x?d(x,P):!1},set:function(P,k){x||(x=new l),u(x,P,k)}};return w},ef}var tf,Kg;function uA(){if(Kg)return tf;Kg=1;var t=Ld(),n=C1(),i=tl(),s=A1(),l=Vi(),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 tf=c?function(){var x,w,P={assert:function(k){if(!P.has(k))throw new l("Side channel does not contain "+i(k))},delete:function(k){if(c&&k&&(typeof k=="object"||typeof k=="function")){if(x)return y(x,k)}else if(s&&w)return w.delete(k);return!1},get:function(k){return c&&k&&(typeof k=="object"||typeof k=="function")&&x?u(x,k):w&&w.get(k)},has:function(k){return c&&k&&(typeof k=="object"||typeof k=="function")&&x?h(x,k):!!w&&w.has(k)},set:function(k,T){c&&k&&(typeof k=="object"||typeof k=="function")?(x||(x=new c),d(x,k,T)):s&&(w||(w=s()),w.set(k,T))}};return P}:s,tf}var nf,Gg;function cA(){if(Gg)return nf;Gg=1;var t=Vi(),n=tl(),i=LC(),s=A1(),l=uA(),c=l||s||i;return nf=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},nf}var rf,Qg;function Vd(){if(Qg)return rf;Qg=1;var t=String.prototype.replace,n=/%20/g,i={RFC1738:"RFC1738",RFC3986:"RFC3986"};return rf={default:i.RFC3986,formatters:{RFC1738:function(s){return t.call(s,n,"+")},RFC3986:function(s){return String(s)}},RFC1738:i.RFC1738,RFC3986:i.RFC3986},rf}var of,Xg;function _1(){if(Xg)return of;Xg=1;var t=Vd(),n=Object.prototype.hasOwnProperty,i=Array.isArray,s=(function(){for(var S=[],_=0;_<256;++_)S.push("%"+((_<16?"0":"")+_.toString(16)).toUpperCase());return S})(),l=function(_){for(;_.length>1;){var N=_.pop(),b=N.obj[N.prop];if(i(b)){for(var D=[],W=0;W<b.length;++W)typeof b[W]<"u"&&D.push(b[W]);N.obj[N.prop]=D}}},c=function(_,N){for(var b=N&&N.plainObjects?{__proto__:null}:{},D=0;D<_.length;++D)typeof _[D]<"u"&&(b[D]=_[D]);return b},u=function S(_,N,b){if(!N)return _;if(typeof N!="object"&&typeof N!="function"){if(i(_))_.push(N);else if(_&&typeof _=="object")(b&&(b.plainObjects||b.allowPrototypes)||!n.call(Object.prototype,N))&&(_[N]=!0);else return[_,N];return _}if(!_||typeof _!="object")return[_].concat(N);var D=_;return i(_)&&!i(N)&&(D=c(_,b)),i(_)&&i(N)?(N.forEach(function(W,q){if(n.call(_,q)){var H=_[q];H&&typeof H=="object"&&W&&typeof W=="object"?_[q]=S(H,W,b):_.push(W)}else _[q]=W}),_):Object.keys(N).reduce(function(W,q){var H=N[q];return n.call(W,q)?W[q]=S(W[q],H,b):W[q]=H,W},D)},d=function(_,N){return Object.keys(N).reduce(function(b,D){return b[D]=N[D],b},_)},h=function(S,_,N){var b=S.replace(/\+/g," ");if(N==="iso-8859-1")return b.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(b)}catch{return b}},y=1024,m=function(_,N,b,D,W){if(_.length===0)return _;var q=_;if(typeof _=="symbol"?q=Symbol.prototype.toString.call(_):typeof _!="string"&&(q=String(_)),b==="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 H="",I=0;I<q.length;I+=y){for(var ne=q.length>=y?q.slice(I,I+y):q,te=[],he=0;he<ne.length;++he){var re=ne.charCodeAt(he);if(re===45||re===46||re===95||re===126||re>=48&&re<=57||re>=65&&re<=90||re>=97&&re<=122||W===t.RFC1738&&(re===40||re===41)){te[te.length]=ne.charAt(he);continue}if(re<128){te[te.length]=s[re];continue}if(re<2048){te[te.length]=s[192|re>>6]+s[128|re&63];continue}if(re<55296||re>=57344){te[te.length]=s[224|re>>12]+s[128|re>>6&63]+s[128|re&63];continue}he+=1,re=65536+((re&1023)<<10|ne.charCodeAt(he)&1023),te[te.length]=s[240|re>>18]+s[128|re>>12&63]+s[128|re>>6&63]+s[128|re&63]}H+=te.join("")}return H},x=function(_){for(var N=[{obj:{o:_},prop:"o"}],b=[],D=0;D<N.length;++D)for(var W=N[D],q=W.obj[W.prop],H=Object.keys(q),I=0;I<H.length;++I){var ne=H[I],te=q[ne];typeof te=="object"&&te!==null&&b.indexOf(te)===-1&&(N.push({obj:q,prop:ne}),b.push(te))}return l(N),_},w=function(_){return Object.prototype.toString.call(_)==="[object RegExp]"},P=function(_){return!_||typeof _!="object"?!1:!!(_.constructor&&_.constructor.isBuffer&&_.constructor.isBuffer(_))},k=function(_,N){return[].concat(_,N)},T=function(_,N){if(i(_)){for(var b=[],D=0;D<_.length;D+=1)b.push(N(_[D]));return b}return N(_)};return of={arrayToObject:c,assign:d,combine:k,compact:x,decode:h,encode:m,isBuffer:P,isRegExp:w,maybeMap:T,merge:u},of}var sf,Yg;function fA(){if(Yg)return sf;Yg=1;var t=cA(),n=_1(),i=Vd(),s=Object.prototype.hasOwnProperty,l={brackets:function(S){return S+"[]"},comma:"comma",indices:function(S,_){return S+"["+_+"]"},repeat:function(S){return S}},c=Array.isArray,u=Array.prototype.push,d=function(T,S){u.apply(T,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},x=function(S){return typeof S=="string"||typeof S=="number"||typeof S=="boolean"||typeof S=="symbol"||typeof S=="bigint"},w={},P=function T(S,_,N,b,D,W,q,H,I,ne,te,he,re,Se,ge,_e,Pe,le){for(var g=S,O=le,M=0,A=!1;(O=O.get(w))!==void 0&&!A;){var U=O.get(S);if(M+=1,typeof U<"u"){if(U===M)throw new RangeError("Cyclic object value");A=!0}typeof O.get(w)>"u"&&(M=0)}if(typeof ne=="function"?g=ne(_,g):g instanceof Date?g=re(g):N==="comma"&&c(g)&&(g=n.maybeMap(g,function(wt){return wt instanceof Date?re(wt):wt})),g===null){if(W)return I&&!_e?I(_,m.encoder,Pe,"key",Se):_;g=""}if(x(g)||n.isBuffer(g)){if(I){var ee=_e?_:I(_,m.encoder,Pe,"key",Se);return[ge(ee)+"="+ge(I(g,m.encoder,Pe,"value",Se))]}return[ge(_)+"="+ge(String(g))]}var oe=[];if(typeof g>"u")return oe;var Z;if(N==="comma"&&c(g))_e&&I&&(g=n.maybeMap(g,I)),Z=[{value:g.length>0?g.join(",")||null:void 0}];else if(c(ne))Z=ne;else{var fe=Object.keys(g);Z=te?fe.sort(te):fe}var Ce=H?String(_).replace(/\./g,"%2E"):String(_),me=b&&c(g)&&g.length===1?Ce+"[]":Ce;if(D&&c(g)&&g.length===0)return me+"[]";for(var Ee=0;Ee<Z.length;++Ee){var xe=Z[Ee],je=typeof xe=="object"&&xe&&typeof xe.value<"u"?xe.value:g[xe];if(!(q&&je===null)){var be=he&&H?String(xe).replace(/\./g,"%2E"):String(xe),Ve=c(g)?typeof N=="function"?N(me,be):me:me+(he?"."+be:"["+be+"]");le.set(S,M);var Xe=t();Xe.set(w,le),d(oe,T(je,Ve,N,b,D,W,q,H,N==="comma"&&_e&&c(g)?null:I,ne,te,he,re,Se,ge,_e,Pe,Xe))}}return oe},k=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 _=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 N=i.default;if(typeof S.format<"u"){if(!s.call(i.formatters,S.format))throw new TypeError("Unknown format option provided.");N=S.format}var b=i.formatters[N],D=m.filter;(typeof S.filter=="function"||c(S.filter))&&(D=S.filter);var W;if(S.arrayFormat in l?W=S.arrayFormat:"indices"in S?W=S.indices?"indices":"repeat":W=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:W,charset:_,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:D,format:N,formatter:b,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 sf=function(T,S){var _=T,N=k(S),b,D;typeof N.filter=="function"?(D=N.filter,_=D("",_)):c(N.filter)&&(D=N.filter,b=D);var W=[];if(typeof _!="object"||_===null)return"";var q=l[N.arrayFormat],H=q==="comma"&&N.commaRoundTrip;b||(b=Object.keys(_)),N.sort&&b.sort(N.sort);for(var I=t(),ne=0;ne<b.length;++ne){var te=b[ne],he=_[te];N.skipNulls&&he===null||d(W,P(he,te,q,H,N.allowEmptyArrays,N.strictNullHandling,N.skipNulls,N.encodeDotInKeys,N.encode?N.encoder:null,N.filter,N.sort,N.allowDots,N.serializeDate,N.format,N.formatter,N.encodeValuesOnly,N.charset,I))}var re=W.join(N.delimiter),Se=N.addQueryPrefix===!0?"?":"";return N.charsetSentinel&&(N.charset==="iso-8859-1"?Se+="utf8=%26%2310003%3B&":Se+="utf8=%E2%9C%93&"),re.length>0?Se+re:""},sf}var af,Jg;function dA(){if(Jg)return af;Jg=1;var t=_1(),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},l=function(w){return w.replace(/&#(\d+);/g,function(P,k){return String.fromCharCode(parseInt(k,10))})},c=function(w,P,k){if(w&&typeof w=="string"&&P.comma&&w.indexOf(",")>-1)return w.split(",");if(P.throwOnLimitExceeded&&k>=P.arrayLimit)throw new RangeError("Array limit exceeded. Only "+P.arrayLimit+" element"+(P.arrayLimit===1?"":"s")+" allowed in an array.");return w},u="utf8=%26%2310003%3B",d="utf8=%E2%9C%93",h=function(P,k){var T={__proto__:null},S=k.ignoreQueryPrefix?P.replace(/^\?/,""):P;S=S.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var _=k.parameterLimit===1/0?void 0:k.parameterLimit,N=S.split(k.delimiter,k.throwOnLimitExceeded?_+1:_);if(k.throwOnLimitExceeded&&N.length>_)throw new RangeError("Parameter limit exceeded. Only "+_+" parameter"+(_===1?"":"s")+" allowed.");var b=-1,D,W=k.charset;if(k.charsetSentinel)for(D=0;D<N.length;++D)N[D].indexOf("utf8=")===0&&(N[D]===d?W="utf-8":N[D]===u&&(W="iso-8859-1"),b=D,D=N.length);for(D=0;D<N.length;++D)if(D!==b){var q=N[D],H=q.indexOf("]="),I=H===-1?q.indexOf("="):H+1,ne,te;I===-1?(ne=k.decoder(q,s.decoder,W,"key"),te=k.strictNullHandling?null:""):(ne=k.decoder(q.slice(0,I),s.decoder,W,"key"),te=t.maybeMap(c(q.slice(I+1),k,i(T[ne])?T[ne].length:0),function(re){return k.decoder(re,s.decoder,W,"value")})),te&&k.interpretNumericEntities&&W==="iso-8859-1"&&(te=l(String(te))),q.indexOf("[]=")>-1&&(te=i(te)?[te]:te);var he=n.call(T,ne);he&&k.duplicates==="combine"?T[ne]=t.combine(T[ne],te):(!he||k.duplicates==="last")&&(T[ne]=te)}return T},y=function(w,P,k,T){var S=0;if(w.length>0&&w[w.length-1]==="[]"){var _=w.slice(0,-1).join("");S=Array.isArray(P)&&P[_]?P[_].length:0}for(var N=T?P:c(P,k,S),b=w.length-1;b>=0;--b){var D,W=w[b];if(W==="[]"&&k.parseArrays)D=k.allowEmptyArrays&&(N===""||k.strictNullHandling&&N===null)?[]:t.combine([],N);else{D=k.plainObjects?{__proto__:null}:{};var q=W.charAt(0)==="["&&W.charAt(W.length-1)==="]"?W.slice(1,-1):W,H=k.decodeDotInKeys?q.replace(/%2E/g,"."):q,I=parseInt(H,10);!k.parseArrays&&H===""?D={0:N}:!isNaN(I)&&W!==H&&String(I)===H&&I>=0&&k.parseArrays&&I<=k.arrayLimit?(D=[],D[I]=N):H!=="__proto__"&&(D[H]=N)}N=D}return N},m=function(P,k,T,S){if(P){var _=T.allowDots?P.replace(/\.([^.[]+)/g,"[$1]"):P,N=/(\[[^[\]]*])/,b=/(\[[^[\]]*])/g,D=T.depth>0&&N.exec(_),W=D?_.slice(0,D.index):_,q=[];if(W){if(!T.plainObjects&&n.call(Object.prototype,W)&&!T.allowPrototypes)return;q.push(W)}for(var H=0;T.depth>0&&(D=b.exec(_))!==null&&H<T.depth;){if(H+=1,!T.plainObjects&&n.call(Object.prototype,D[1].slice(1,-1))&&!T.allowPrototypes)return;q.push(D[1])}if(D){if(T.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+T.depth+" and strictDepth is true");q.push("["+_.slice(D.index)+"]")}return y(q,k,T,S)}},x=function(P){if(!P)return s;if(typeof P.allowEmptyArrays<"u"&&typeof P.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof P.decodeDotInKeys<"u"&&typeof P.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(P.decoder!==null&&typeof P.decoder<"u"&&typeof P.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof P.charset<"u"&&P.charset!=="utf-8"&&P.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof P.throwOnLimitExceeded<"u"&&typeof P.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var k=typeof P.charset>"u"?s.charset:P.charset,T=typeof P.duplicates>"u"?s.duplicates:P.duplicates;if(T!=="combine"&&T!=="first"&&T!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var S=typeof P.allowDots>"u"?P.decodeDotInKeys===!0?!0:s.allowDots:!!P.allowDots;return{allowDots:S,allowEmptyArrays:typeof P.allowEmptyArrays=="boolean"?!!P.allowEmptyArrays:s.allowEmptyArrays,allowPrototypes:typeof P.allowPrototypes=="boolean"?P.allowPrototypes:s.allowPrototypes,allowSparse:typeof P.allowSparse=="boolean"?P.allowSparse:s.allowSparse,arrayLimit:typeof P.arrayLimit=="number"?P.arrayLimit:s.arrayLimit,charset:k,charsetSentinel:typeof P.charsetSentinel=="boolean"?P.charsetSentinel:s.charsetSentinel,comma:typeof P.comma=="boolean"?P.comma:s.comma,decodeDotInKeys:typeof P.decodeDotInKeys=="boolean"?P.decodeDotInKeys:s.decodeDotInKeys,decoder:typeof P.decoder=="function"?P.decoder:s.decoder,delimiter:typeof P.delimiter=="string"||t.isRegExp(P.delimiter)?P.delimiter:s.delimiter,depth:typeof P.depth=="number"||P.depth===!1?+P.depth:s.depth,duplicates:T,ignoreQueryPrefix:P.ignoreQueryPrefix===!0,interpretNumericEntities:typeof P.interpretNumericEntities=="boolean"?P.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:typeof P.parameterLimit=="number"?P.parameterLimit:s.parameterLimit,parseArrays:P.parseArrays!==!1,plainObjects:typeof P.plainObjects=="boolean"?P.plainObjects:s.plainObjects,strictDepth:typeof P.strictDepth=="boolean"?!!P.strictDepth:s.strictDepth,strictNullHandling:typeof P.strictNullHandling=="boolean"?P.strictNullHandling:s.strictNullHandling,throwOnLimitExceeded:typeof P.throwOnLimitExceeded=="boolean"?P.throwOnLimitExceeded:!1}};return af=function(w,P){var k=x(P);if(w===""||w===null||typeof w>"u")return k.plainObjects?{__proto__:null}:{};for(var T=typeof w=="string"?h(w,k):w,S=k.plainObjects?{__proto__:null}:{},_=Object.keys(T),N=0;N<_.length;++N){var b=_[N],D=m(b,T[b],k,typeof w=="string");S=t.merge(S,D,k)}return k.allowSparse===!0?S:t.compact(S)},af}var lf,Zg;function pA(){if(Zg)return lf;Zg=1;var t=fA(),n=dA(),i=Vd();return lf={formats:i,parse:n,stringify:t},lf}var hA=pA();const Bo=Yf(hA);function mA(){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 e0=t=>{let n;const i=new Set,s=(y,m)=>{const x=typeof y=="function"?y(n):y;if(!Object.is(x,n)){const w=n;n=m??(typeof x!="object"||x===null)?x:Object.assign({},n,x),i.forEach(P=>P(n,w))}},l=()=>n,d={setState:s,getState:l,getInitialState:()=>h,subscribe:y=>(i.add(y),()=>i.delete(y))},h=n=t(s,l,d);return d},yA=(t=>t?e0(t):e0),gA=t=>t;function vA(t,n=gA){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 xA=t=>{const n=yA(t),i=s=>vA(n,s);return Object.assign(i,n),i},wA=(t=>xA);function N1(t,n){let i;try{i=t()}catch{return}return{getItem:l=>{var c;const u=h=>h===null?null:JSON.parse(h,void 0),d=(c=i.getItem(l))!=null?c:null;return d instanceof Promise?d.then(u):u(d)},setItem:(l,c)=>i.setItem(l,JSON.stringify(c,void 0)),removeItem:l=>i.removeItem(l)}}const Vf=t=>n=>{try{const i=t(n);return i instanceof Promise?i:{then(s){return Vf(s)(i)},catch(s){return this}}}catch(i){return{then(s){return this},catch(s){return Vf(s)(i)}}}},SA=(t,n)=>(i,s,l)=>{let c={storage:N1(()=>localStorage),partialize:T=>T,version:0,merge:(T,S)=>({...S,...T}),...n},u=!1;const d=new Set,h=new Set;let y=c.storage;if(!y)return t((...T)=>{console.warn(`[zustand persist middleware] Unable to update item '${c.name}', the given storage is currently unavailable.`),i(...T)},s,l);const m=()=>{const T=c.partialize({...s()});return y.setItem(c.name,{state:T,version:c.version})},x=l.setState;l.setState=(T,S)=>(x(T,S),m());const w=t((...T)=>(i(...T),m()),s,l);l.getInitialState=()=>w;let P;const k=()=>{var T,S;if(!y)return;u=!1,d.forEach(N=>{var b;return N((b=s())!=null?b:w)});const _=((S=c.onRehydrateStorage)==null?void 0:S.call(c,(T=s())!=null?T:w))||void 0;return Vf(y.getItem.bind(y))(c.name).then(N=>{if(N)if(typeof N.version=="number"&&N.version!==c.version){if(c.migrate){const b=c.migrate(N.state,N.version);return b instanceof Promise?b.then(D=>[!0,D]):[!0,b]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,N.state];return[!1,void 0]}).then(N=>{var b;const[D,W]=N;if(P=c.merge(W,(b=s())!=null?b:w),i(P,!0),D)return m()}).then(()=>{_==null||_(P,void 0),P=s(),u=!0,h.forEach(N=>N(P))}).catch(N=>{_==null||_(void 0,N)})};return l.persist={setOptions:T=>{c={...c,...T},T.storage&&(y=T.storage)},clearStorage:()=>{y==null||y.removeItem(c.name)},getOptions:()=>c,rehydrate:()=>k(),hasHydrated:()=>u,onHydrate:T=>(d.add(T),()=>{d.delete(T)}),onFinishHydration:T=>(h.add(T),()=>{h.delete(T)})},c.skipHydration||k(),P||w},EA=SA;var R1=Symbol.for("immer-nothing"),t0=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,Fi=Ut.getPrototypeOf,za="constructor",rl="prototype",Bf="configurable",Ua="enumerable",Ra="writable",zo="value",wr=t=>!!t&&!!t[At];function Wn(t){var n;return t?F1(t)||il(t)||!!t[t0]||!!((n=t[za])!=null&&n[t0])||ol(t)||sl(t):!1}var kA=Ut[rl][za].toString(),n0=new WeakMap;function F1(t){if(!t||!Bd(t))return!1;const n=Fi(t);if(n===null||n===Ut[rl])return!0;const i=Ut.hasOwnProperty.call(n,za)&&n[za];if(i===Object)return!0;if(!Si(i))return!1;let s=n0.get(i);return s===void 0&&(s=Function.toString.call(i),n0.set(i,s)),s===kA}function Zo(t,n,i=!0){es(t)===0?(i?Reflect.ownKeys(t):Ut.keys(t)).forEach(l=>{n(l,t[l],t)}):t.forEach((s,l)=>n(l,s,t))}function es(t){const n=t[At];return n?n.type_:il(t)?1:ol(t)?2:sl(t)?3:0}var r0=(t,n,i=es(t))=>i===2?t.has(n):Ut[rl].hasOwnProperty.call(t,n),zf=(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 PA(t,n){return t===n?t!==0||1/t===1/n:t!==t&&n!==n}var il=Array.isArray,ol=t=>t instanceof Map,sl=t=>t instanceof Set,Bd=t=>typeof t=="object",Si=t=>typeof t=="function",uf=t=>typeof t=="boolean",zn=t=>t.copy_||t.base_,zd=t=>t.modified_?t.copy_:t.base_;function Uf(t,n){if(ol(t))return new Map(t);if(sl(t))return new Set(t);if(il(t))return Array[rl].slice.call(t);const i=F1(t);if(n===!0||n==="class_only"&&!i){const s=Ut.getOwnPropertyDescriptors(t);delete s[At];let l=Reflect.ownKeys(s);for(let c=0;c<l.length;c++){const u=l[c],d=s[u];d[Ra]===!1&&(d[Ra]=!0,d[Bf]=!0),(d.get||d.set)&&(s[u]={[Bf]:!0,[Ra]:!0,[Ua]:d[Ua],[zo]:t[u]})}return Ut.create(Fi(t),s)}else{const s=Fi(t);if(s!==null&&i)return{...t};const l=Ut.create(s);return Ut.assign(l,t)}}function Ud(t,n=!1){return al(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)=>{Ud(s,!0)},!1)),t}function TA(){dn(2)}var Sa={[zo]:TA};function al(t){return t===null||!Bd(t)?!0:Ut.isFrozen(t)}var Wa="MapSet",$f="Patches",b1={};function bi(t){const n=b1[t];return n||dn(0,t),n}var CA=t=>!!b1[t],Uo,O1=()=>Uo,AA=(t,n)=>({drafts_:[],parent_:t,immer_:n,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:CA(Wa)?bi(Wa):void 0});function i0(t,n){n&&(t.patchPlugin_=bi($f),t.patches_=[],t.inversePatches_=[],t.patchListener_=n)}function Wf(t){Hf(t),t.drafts_.forEach(_A),t.drafts_=null}function Hf(t){t===Uo&&(Uo=t.parent_)}var o0=t=>Uo=AA(Uo,t);function _A(t){const n=t[At];n.type_===0||n.type_===1?n.revoke_():n.revoked_=!0}function s0(t,n){n.unfinalizedDrafts_=n.drafts_.length;const i=n.drafts_[0];if(t!==void 0&&t!==i){i[At].modified_&&(Wf(n),dn(4)),Wn(t)&&(t=a0(n,t));const{patchPlugin_:l}=n;l&&l.generateReplacementPatches_(i[At].base_,t,n)}else t=a0(n,i);return NA(n,t,!0),Wf(n),n.patches_&&n.patchListener_(n.patches_,n.inversePatches_),t!==R1?t:void 0}function a0(t,n){if(al(n))return n;const i=n[At];if(!i)return $d(n,t.handledSet_,t);if(!ll(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);I1(i,t)}return i.copy_}function NA(t,n,i=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&Ud(n,i)}function M1(t){t.finalized_=!0,t.scope_.unfinalizedDrafts_--}var ll=(t,n)=>t.scope_===n,RA=[];function j1(t,n,i,s){const l=zn(t),c=t.type_;if(s!==void 0&&zf(l,s,c)===n){$a(l,s,i,c);return}if(!t.draftLocations_){const d=t.draftLocations_=new Map;Zo(l,(h,y)=>{if(wr(y)){const m=d.get(y)||[];m.push(h),d.set(y,m)}})}const u=t.draftLocations_.get(n)??RA;for(const d of u)$a(l,d,i,c)}function FA(t,n,i){t.callbacks_.push(function(l){var d;const c=n;if(!c||!ll(c,l))return;(d=l.mapSetPlugin_)==null||d.fixSetContents(c);const u=zd(c);j1(t,c.draft_??c,u,i),I1(c,l)})}function I1(t,n){var s;if(t.modified_&&!t.finalized_&&(t.type_===3||(((s=t.assigned_)==null?void 0:s.size)??0)>0)){const{patchPlugin_:l}=n;if(l){const c=l.getPath(t);c&&l.generatePatches_(t,c,n)}M1(t)}}function bA(t,n,i){const{scope_:s}=t;if(wr(i)){const l=i[At];ll(l,s)&&l.callbacks_.push(function(){Fa(t);const u=zd(l);j1(t,i,u,n)})}else Wn(i)&&t.callbacks_.push(function(){const c=zn(t);zf(c,n,t.type_)===i&&s.drafts_.length>1&&(t.assigned_.get(n)??!1)===!0&&t.copy_&&$d(zf(t.copy_,n,t.type_),s.handledSet_,s)})}function $d(t,n,i){return!i.immer_.autoFreeze_&&i.unfinalizedDrafts_<1||wr(t)||n.has(t)||!Wn(t)||al(t)||(n.add(t),Zo(t,(s,l)=>{if(wr(l)){const c=l[At];if(ll(c,i)){const u=zd(c);$a(t,s,u,t.type_),M1(c)}}else Wn(l)&&$d(l,n,i)})),t}function OA(t,n){const i=il(t),s={type_:i?1:0,scope_:n?n.scope_:O1(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:n,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0};let l=s,c=Wd;i&&(l=[s],c=$o);const{revoke:u,proxy:d}=Proxy.revocable(l,c);return s.draft_=d,s.revoke_=u,[d,s]}var Wd={get(t,n){if(n===At)return t;const i=zn(t);if(!r0(i,n,t.type_))return MA(t,i,n);const s=i[n];if(t.finalized_||!Wn(s))return s;if(s===cf(t.base_,n)){Fa(t);const l=t.type_===1?+n:n,c=Kf(t.scope_,s,t,l);return t.copy_[l]=c}return s},has(t,n){return n in zn(t)},ownKeys(t){return Reflect.ownKeys(zn(t))},set(t,n,i){const s=D1(zn(t),n);if(s!=null&&s.set)return s.set.call(t.draft_,i),!0;if(!t.modified_){const l=cf(zn(t),n),c=l==null?void 0:l[At];if(c&&c.base_===i)return t.copy_[n]=i,t.assigned_.set(n,!1),!0;if(PA(i,l)&&(i!==void 0||r0(t.base_,n,t.type_)))return!0;Fa(t),qf(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),bA(t,n,i)),!0},deleteProperty(t,n){return Fa(t),cf(t.base_,n)!==void 0||n in t.base_?(t.assigned_.set(n,!1),qf(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&&{[Ra]:!0,[Bf]:t.type_!==1||n!=="length",[Ua]:s[Ua],[zo]:i[n]}},defineProperty(){dn(11)},getPrototypeOf(t){return Fi(t.base_)},setPrototypeOf(){dn(12)}},$o={};Zo(Wd,(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 Wd.set.call(this,t[0],n,i,t[0])};function cf(t,n){const i=t[At];return(i?zn(i):t)[n]}function MA(t,n,i){var l;const s=D1(n,i);return s?zo in s?s[zo]:(l=s.get)==null?void 0:l.call(t.draft_):void 0}function D1(t,n){if(!(n in t))return;let i=Fi(t);for(;i;){const s=Object.getOwnPropertyDescriptor(i,n);if(s)return s;i=Fi(i)}}function qf(t){t.modified_||(t.modified_=!0,t.parent_&&qf(t.parent_))}function Fa(t){t.copy_||(t.assigned_=new Map,t.copy_=Uf(t.base_,t.scope_.immer_.useStrictShallowCopy_))}var jA=class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(n,i,s)=>{if(Si(n)&&!Si(i)){const c=i;i=n;const u=this;return function(h=c,...y){return u.produce(h,m=>i.call(this,m,...y))}}Si(i)||dn(6),s!==void 0&&!Si(s)&&dn(7);let l;if(Wn(n)){const c=o0(this),u=Kf(c,n,void 0);let d=!0;try{l=i(u),d=!1}finally{d?Wf(c):Hf(c)}return i0(c,s),s0(l,c)}else if(!n||!Bd(n)){if(l=i(n),l===void 0&&(l=n),l===R1&&(l=void 0),this.autoFreeze_&&Ud(l,!0),s){const c=[],u=[];bi($f).generateReplacementPatches_(n,l,{patches_:c,inversePatches_:u}),s(c,u)}return l}else dn(1,n)},this.produceWithPatches=(n,i)=>{if(Si(n))return(u,...d)=>this.produceWithPatches(u,h=>n(h,...d));let s,l;return[this.produce(n,i,(u,d)=>{s=u,l=d}),s,l]},uf(t==null?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),uf(t==null?void 0:t.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),uf(t==null?void 0:t.useStrictIteration)&&this.setUseStrictIteration(t.useStrictIteration)}createDraft(t){Wn(t)||dn(8),wr(t)&&(t=IA(t));const n=o0(this),i=Kf(n,t,void 0);return i[At].isManual_=!0,Hf(n),i}finishDraft(t,n){const i=t&&t[At];(!i||!i.isManual_)&&dn(9);const{scope_:s}=i;return i0(s,n),s0(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 l=n[i];if(l.path.length===0&&l.op==="replace"){t=l.value;break}}i>-1&&(n=n.slice(i+1));const s=bi($f).applyPatches_;return wr(t)?s(t,n):this.produce(t,l=>s(l,n))}};function Kf(t,n,i,s){const[l,c]=ol(n)?bi(Wa).proxyMap_(n,i):sl(n)?bi(Wa).proxySet_(n,i):OA(n,i);return((i==null?void 0:i.scope_)??O1()).drafts_.push(l),c.callbacks_=(i==null?void 0:i.callbacks_)??[],c.key_=s,i&&s!==void 0?FA(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)}),l}function IA(t){return wr(t)||dn(10,t),L1(t)}function L1(t){if(!Wn(t)||al(t))return t;const n=t[At];let i,s=!0;if(n){if(!n.modified_)return n.base_;n.finalized_=!0,i=Uf(t,n.scope_.immer_.useStrictShallowCopy_),s=n.scope_.immer_.shouldUseStrictIteration()}else i=Uf(t,!0);return Zo(i,(l,c)=>{$a(i,l,L1(c))},s),n&&(n.finalized_=!1),i}var DA=new jA,LA=DA.produce;const VA=t=>(n,i,s)=>(s.setState=(l,c,...u)=>{const d=typeof l=="function"?LA(l):l;return n(d,c,...u)},t(s.setState,i,s)),BA=VA,Oi=wA()(EA(BA(t=>({token:"",analysis:null,setToken(n){t(i=>{i.token=n})},setAnalysis(n){t(i=>{i.analysis=n})}})),{name:"zustand_storage",storage:N1(()=>localStorage)}));let zA={data:""},UA=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||zA},$A=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,WA=/\/\*[^]*?\*\/| +/g,l0=/\n+/g,gr=(t,n)=>{let i="",s="",l="";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(),l+=gr.p?gr.p(c,u):c+":"+u+";")}return i+(n&&l?n+"{"+l+"}":l)+s},Bn={},V1=t=>{if(typeof t=="object"){let n="";for(let i in t)n+=i+V1(t[i]);return n}return t},HA=(t,n,i,s,l)=>{let c=V1(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,x,w=[{}];for(;m=$A.exec(y.replace(WA,""));)m[4]?w.shift():m[3]?(x=m[3].replace(l0," ").trim(),w.unshift(w[0][x]=w[0][x]||{})):w[0][m[1]]=m[2].replace(l0," ").trim();return w[0]})(t);Bn[u]=gr(l?{["@keyframes "+u]:h}:h,i?"":"."+u)}let d=i&&Bn.g?Bn.g:null;return i&&(Bn.g=Bn[u]),((h,y,m,x)=>{x?y.data=y.data.replace(x,h):y.data.indexOf(h)===-1&&(y.data=m?h+y.data:y.data+h)})(Bn[u],n,s,d),u},qA=(t,n,i)=>t.reduce((s,l,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+l+(u??"")},"");function ul(t){let n=this||{},i=t.call?t(n.p):t;return HA(i.unshift?i.raw?qA(i,[].slice.call(arguments,1),n.p):i.reduce((s,l)=>Object.assign(s,l&&l.call?l(n.p):l),{}):i,UA(n.target),n.g,n.o,n.k)}let B1,Gf,Qf;ul.bind({g:1});let Hn=ul.bind({k:1});function KA(t,n,i,s){gr.p=n,B1=t,Gf=i,Qf=s}function Er(t,n){let i=this||{};return function(){let s=arguments;function l(c,u){let d=Object.assign({},c),h=d.className||l.className;i.p=Object.assign({theme:Gf&&Gf()},d),i.o=/ *go\d+/.test(h),d.className=ul.apply(i,s)+(h?" "+h:"");let y=t;return t[0]&&(y=d.as||t,delete d.as),Qf&&y[0]&&Qf(d),B1(y,d)}return l}}var GA=t=>typeof t=="function",Ha=(t,n)=>GA(t)?t(n):t,QA=(()=>{let t=0;return()=>(++t).toString()})(),z1=(()=>{let t;return()=>{if(t===void 0&&typeof window<"u"){let n=matchMedia("(prefers-reduced-motion: reduce)");t=!n||n.matches}return t}})(),XA=20,Hd="default",U1=(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 U1(t,{type:t.toasts.find(u=>u.id===s.id)?1:0,toast:s});case 3:let{toastId:l}=n;return{...t,toasts:t.toasts.map(u=>u.id===l||l===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=[],$1={toasts:[],pausedAt:void 0,settings:{toastLimit:XA}},Pn={},W1=(t,n=Hd)=>{Pn[n]=U1(Pn[n]||$1,t),ba.forEach(([i,s])=>{i===n&&s(Pn[n])})},H1=t=>Object.keys(Pn).forEach(n=>W1(t,n)),YA=t=>Object.keys(Pn).find(n=>Pn[n].toasts.some(i=>i.id===t)),cl=(t=Hd)=>n=>{W1(n,t)},JA={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},ZA=(t={},n=Hd)=>{let[i,s]=K.useState(Pn[n]||$1),l=K.useRef(Pn[n]);K.useEffect(()=>(l.current!==Pn[n]&&s(Pn[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)||JA[u.type],style:{...t.style,...(y=t[u.type])==null?void 0:y.style,...u.style}}});return{...i,toasts:c}},e_=(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)||QA()}),ts=t=>(n,i)=>{let s=e_(n,t,i);return cl(s.toasterId||YA(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?cl(n)(i):H1(i)};it.dismissAll=t=>it.dismiss(void 0,t);it.remove=(t,n)=>{let i={type:4,toastId:t};n?cl(n)(i):H1(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(l=>{let c=n.success?Ha(n.success,l):void 0;return c?it.success(c,{id:s,...i,...i==null?void 0:i.success}):it.dismiss(s),l}).catch(l=>{let c=n.error?Ha(n.error,l):void 0;c?it.error(c,{id:s,...i,...i==null?void 0:i.error}):it.dismiss(s)}),t};var t_=1e3,n_=(t,n="default")=>{let{toasts:i,pausedAt:s}=ZA(t,n),l=K.useRef(new Map).current,c=K.useCallback((x,w=t_)=>{if(l.has(x))return;let P=setTimeout(()=>{l.delete(x),u({type:4,toastId:x})},w);l.set(x,P)},[]);K.useEffect(()=>{if(s)return;let x=Date.now(),w=i.map(P=>{if(P.duration===1/0)return;let k=(P.duration||0)+P.pauseDuration-(x-P.createdAt);if(k<0){P.visible&&it.dismiss(P.id);return}return setTimeout(()=>it.dismiss(P.id,n),k)});return()=>{w.forEach(P=>P&&clearTimeout(P))}},[i,s,n]);let u=K.useCallback(cl(n),[n]),d=K.useCallback(()=>{u({type:5,time:Date.now()})},[u]),h=K.useCallback((x,w)=>{u({type:1,toast:{id:x,height:w}})},[u]),y=K.useCallback(()=>{s&&u({type:6,time:Date.now()})},[s,u]),m=K.useCallback((x,w)=>{let{reverseOrder:P=!1,gutter:k=8,defaultPosition:T}=w||{},S=i.filter(b=>(b.position||T)===(x.position||T)&&b.height),_=S.findIndex(b=>b.id===x.id),N=S.filter((b,D)=>D<_&&b.visible).length;return S.filter(b=>b.visible).slice(...P?[N+1]:[0,N]).reduce((b,D)=>b+(D.height||0)+k,0)},[i]);return K.useEffect(()=>{i.forEach(x=>{if(x.dismissed)c(x.id,x.removeDelay);else{let w=l.get(x.id);w&&(clearTimeout(w),l.delete(x.id))}})},[i,c]),{toasts:i,handlers:{updateHeight:h,startPause:d,endPause:y,calculateOffset:m}}},r_=Hn`
|
||
from {
|
||
transform: scale(0) rotate(45deg);
|
||
opacity: 0;
|
||
}
|
||
to {
|
||
transform: scale(1) rotate(45deg);
|
||
opacity: 1;
|
||
}`,i_=Hn`
|
||
from {
|
||
transform: scale(0);
|
||
opacity: 0;
|
||
}
|
||
to {
|
||
transform: scale(1);
|
||
opacity: 1;
|
||
}`,o_=Hn`
|
||
from {
|
||
transform: scale(0) rotate(90deg);
|
||
opacity: 0;
|
||
}
|
||
to {
|
||
transform: scale(1) rotate(90deg);
|
||
opacity: 1;
|
||
}`,s_=Er("div")`
|
||
width: 20px;
|
||
opacity: 0;
|
||
height: 20px;
|
||
border-radius: 10px;
|
||
background: ${t=>t.primary||"#ff4b4b"};
|
||
position: relative;
|
||
transform: rotate(45deg);
|
||
|
||
animation: ${r_} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
||
forwards;
|
||
animation-delay: 100ms;
|
||
|
||
&:after,
|
||
&:before {
|
||
content: '';
|
||
animation: ${i_} 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: ${o_} 0.15s ease-out forwards;
|
||
animation-delay: 180ms;
|
||
transform: rotate(90deg);
|
||
}
|
||
`,a_=Hn`
|
||
from {
|
||
transform: rotate(0deg);
|
||
}
|
||
to {
|
||
transform: rotate(360deg);
|
||
}
|
||
`,l_=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: ${a_} 1s linear infinite;
|
||
`,u_=Hn`
|
||
from {
|
||
transform: scale(0) rotate(45deg);
|
||
opacity: 0;
|
||
}
|
||
to {
|
||
transform: scale(1) rotate(45deg);
|
||
opacity: 1;
|
||
}`,c_=Hn`
|
||
0% {
|
||
height: 0;
|
||
width: 0;
|
||
opacity: 0;
|
||
}
|
||
40% {
|
||
height: 0;
|
||
width: 6px;
|
||
opacity: 1;
|
||
}
|
||
100% {
|
||
opacity: 1;
|
||
height: 10px;
|
||
}`,f_=Er("div")`
|
||
width: 20px;
|
||
opacity: 0;
|
||
height: 20px;
|
||
border-radius: 10px;
|
||
background: ${t=>t.primary||"#61d345"};
|
||
position: relative;
|
||
transform: rotate(45deg);
|
||
|
||
animation: ${u_} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
||
forwards;
|
||
animation-delay: 100ms;
|
||
&:after {
|
||
content: '';
|
||
box-sizing: border-box;
|
||
animation: ${c_} 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;
|
||
}
|
||
`,d_=Er("div")`
|
||
position: absolute;
|
||
`,p_=Er("div")`
|
||
position: relative;
|
||
display: flex;
|
||
justify-content: center;
|
||
align-items: center;
|
||
min-width: 20px;
|
||
min-height: 20px;
|
||
`,h_=Hn`
|
||
from {
|
||
transform: scale(0.6);
|
||
opacity: 0.4;
|
||
}
|
||
to {
|
||
transform: scale(1);
|
||
opacity: 1;
|
||
}`,m_=Er("div")`
|
||
position: relative;
|
||
transform: scale(0.6);
|
||
opacity: 0.4;
|
||
min-width: 20px;
|
||
animation: ${h_} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
||
forwards;
|
||
`,y_=({toast:t})=>{let{icon:n,type:i,iconTheme:s}=t;return n!==void 0?typeof n=="string"?K.createElement(m_,null,n):n:i==="blank"?null:K.createElement(p_,null,K.createElement(l_,{...s}),i!=="loading"&&K.createElement(d_,null,i==="error"?K.createElement(s_,{...s}):K.createElement(f_,{...s})))},g_=t=>`
|
||
0% {transform: translate3d(0,${t*-200}%,0) scale(.6); opacity:.5;}
|
||
100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
|
||
`,v_=t=>`
|
||
0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
|
||
100% {transform: translate3d(0,${t*-150}%,-1px) scale(.6); opacity:0;}
|
||
`,x_="0%{opacity:0;} 100%{opacity:1;}",w_="0%{opacity:1;} 100%{opacity:0;}",S_=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;
|
||
`,E_=Er("div")`
|
||
display: flex;
|
||
justify-content: center;
|
||
margin: 4px 10px;
|
||
color: inherit;
|
||
flex: 1 1 auto;
|
||
white-space: pre-line;
|
||
`,k_=(t,n)=>{let i=t.includes("top")?1:-1,[s,l]=z1()?[x_,w_]:[g_(i),v_(i)];return{animation:n?`${Hn(s)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${Hn(l)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},P_=K.memo(({toast:t,position:n,style:i,children:s})=>{let l=t.height?k_(t.position||n||"top-center",t.visible):{opacity:0},c=K.createElement(y_,{toast:t}),u=K.createElement(E_,{...t.ariaProps},Ha(t.message,t));return K.createElement(S_,{className:t.className,style:{...l,...i,...t.style}},typeof s=="function"?s({icon:c,message:u}):K.createElement(K.Fragment,null,c,u))});KA(K.createElement);var T_=({id:t,className:n,style:i,onHeightUpdate:s,children:l})=>{let c=K.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 K.createElement("div",{ref:c,className:n,style:i},l)},C_=(t,n)=>{let i=t.includes("top"),s=i?{top:0}:{bottom:0},l=t.includes("center")?{justifyContent:"center"}:t.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:z1()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${n*(i?1:-1)}px)`,...s,...l}},A_=ul`
|
||
z-index: 9999;
|
||
> * {
|
||
pointer-events: auto;
|
||
}
|
||
`,Ea=16,__=({reverseOrder:t,position:n="top-center",toastOptions:i,gutter:s,children:l,toasterId:c,containerStyle:u,containerClassName:d})=>{let{toasts:h,handlers:y}=n_(i,c);return K.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 x=m.position||n,w=y.calculateOffset(m,{reverseOrder:t,gutter:s,defaultPosition:n}),P=C_(x,w);return K.createElement(T_,{id:m.id,key:m.id,onHeightUpdate:y.updateHeight,className:m.visible?A_:"",style:P},m.type==="custom"?Ha(m.message,m):l?l(m):K.createElement(P_,{toast:m,position:x}))}))},Lr=it;const Wo=Qe.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=Oi.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?mA():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 N_(t,n={}){return Wo.post(t,n)}function R_(t,n={}){return Wo.get(t,{params:n})}const Bi={get:R_,post:N_};function F_(t){let n=new FormData;return n.append("analys_image",t.analys_image),n.append("analys_type",t.analys_type),Bi.post("/enterprise/analyze",n)}function b_(t){return Bi.post("/enterprise/submit_contact_info",t)}function O_(t){return Bi.post("/analysis_order/create",t)}var ff={exports:{}},u0;function M_(){return u0||(u0=1,(function(t,n){ff.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,l,c,u,d,h,y,m,x,w,P,k,T,S,_,N,b,D,W,q,H;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,O={};for(g in i)O[i[g]]=g;return O})(),l=t.document,c=l.title,u=navigator.userAgent.toLowerCase(),P=navigator.platform.toLowerCase(),d=!(!P.match("mac")&&!P.match("win")),h=u.indexOf("wxdebugger")!=-1,y=u.indexOf("micromessenger")!=-1,m=u.indexOf("android")!=-1,x=u.indexOf("iphone")!=-1||u.indexOf("ipad")!=-1,w=(P=u.match(/micromessenger\/(\d+\.\d+\.\d+)/)||u.match(/micromessenger\/(\d+\.\d+)/))?P[1]:"",k={initStartTime:Pe(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},T={version:1,appId:"",initTime:0,preVerifyTime:0,networkType:"",isPreVerifyOk:1,systemType:x?1:m?2:-1,clientVersion:w,url:encodeURIComponent(location.href)},S={},_={_completes:[]},N={state:0,data:{}},le(function(){k.initEndTime=Pe()}),b=!1,D=[],W={config:function(g){ge("config",S=g);var O=S.check!==!1;le(function(){if(O)I(i.config,{verifyJsApiList:Se(S.jsApiList),verifyOpenTagList:Se(S.openTagList)},(_._complete=function(oe){k.preVerifyEndTime=Pe(),N.state=1,N.data=oe},_.success=function(oe){T.isPreVerifyOk=0},_.fail=function(oe){_._fail?_._fail(oe):N.state=-1},(ee=_._completes).push(function(){_e()}),_.complete=function(oe){for(var Z=0,fe=ee.length;Z<fe;++Z)ee[Z]();_._completes=[]},_)),k.preVerifyStartTime=Pe();else{N.state=1;for(var M=_._completes,A=0,U=M.length;A<U;++A)M[A]();_._completes=[]}var ee}),W.invoke||(W.invoke=function(M,A,U){t.WeixinJSBridge&&WeixinJSBridge.invoke(M,te(A),U)},W.on=function(M,A){t.WeixinJSBridge&&WeixinJSBridge.on(M,A)})},ready:function(g){(N.state!=0||(_._completes.push(g),!y&&S.debug))&&g()},error:function(g){w<"6.0.2"||(N.state==-1?g(N.data):_._fail=g)},checkJsApi:function(g){I("checkJsApi",{jsApiList:Se(g.jsApiList)},(g._complete=function(O){m&&(A=O.checkResult)&&(O.checkResult=JSON.parse(A));var M,A=O,U=A.checkResult;for(M in U){var ee=s[M];ee&&(U[ee]=U[M],delete U[M])}},g))},onMenuShareTimeline:function(g){ne(i.onMenuShareTimeline,{complete:function(){I("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){ne(i.onMenuShareAppMessage,{complete:function(O){O.scene==="favorite"?I("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||""}):I("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){ne(i.onMenuShareQQ,{complete:function(){I("shareQQ",{title:g.title||c,desc:g.desc||"",img_url:g.imgUrl||"",link:g.link||location.href},g)}},g)},onMenuShareWeibo:function(g){ne(i.onMenuShareWeibo,{complete:function(){I("shareWeiboApp",{title:g.title||c,desc:g.desc||"",img_url:g.imgUrl||"",link:g.link||location.href},g)}},g)},onMenuShareQZone:function(g){ne(i.onMenuShareQZone,{complete:function(){I("shareQZone",{title:g.title||c,desc:g.desc||"",img_url:g.imgUrl||"",link:g.link||location.href},g)}},g)},updateTimelineShareData:function(g){I("updateTimelineShareData",{title:g.title,link:g.link,imgUrl:g.imgUrl},g)},updateAppMessageShareData:function(g){I("updateAppMessageShareData",{title:g.title,desc:g.desc,link:g.link,imgUrl:g.imgUrl},g)},startRecord:function(g){I("startRecord",{},g)},stopRecord:function(g){I("stopRecord",{},g)},onVoiceRecordEnd:function(g){ne("onVoiceRecordEnd",g)},playVoice:function(g){I("playVoice",{localId:g.localId},g)},pauseVoice:function(g){I("pauseVoice",{localId:g.localId},g)},stopVoice:function(g){I("stopVoice",{localId:g.localId},g)},onVoicePlayEnd:function(g){ne("onVoicePlayEnd",g)},uploadVoice:function(g){I("uploadVoice",{localId:g.localId,isShowProgressTips:g.isShowProgressTips==0?0:1},g)},downloadVoice:function(g){I("downloadVoice",{serverId:g.serverId,isShowProgressTips:g.isShowProgressTips==0?0:1},g)},translateVoice:function(g){I("translateVoice",{localId:g.localId,isShowProgressTips:g.isShowProgressTips==0?0:1},g)},chooseImage:function(g){I("chooseImage",{scene:"1|2",count:g.count||9,sizeType:g.sizeType||["original","compressed"],sourceType:g.sourceType||["album","camera"]},(g._complete=function(O){if(m){var M=O.localIds;try{M&&(O.localIds=JSON.parse(M))}catch{}}},g))},getLocation:function(g){g=g||{},I(i.getLocation,{type:g.type||"wgs84"},(g._complete=function(O){delete O.type},g))},previewImage:function(g){I(i.previewImage,{current:g.current,urls:g.urls},g)},uploadImage:function(g){I("uploadImage",{localId:g.localId,isShowProgressTips:g.isShowProgressTips==0?0:1},g)},downloadImage:function(g){I("downloadImage",{serverId:g.serverId,isShowProgressTips:g.isShowProgressTips==0?0:1},g)},getLocalImgData:function(g){b===!1?(b=!0,I("getLocalImgData",{localId:g.localId},(g._complete=function(O){var M;b=!1,0<D.length&&(M=D.shift(),wx.getLocalImgData(M))},g))):D.push(g)},getNetworkType:function(g){I("getNetworkType",{},(g._complete=function(A){var M=A,A=M.errMsg,U=(M.errMsg="getNetworkType:ok",M.subtype);if(delete M.subtype,U)M.networkType=U;else{var U=A.indexOf(":"),ee=A.substring(U+1);switch(ee){case"wifi":case"edge":case"wwan":M.networkType=ee;break;default:M.errMsg="getNetworkType:fail"}}},g))},openLocation:function(g){I("openLocation",{latitude:g.latitude,longitude:g.longitude,name:g.name||"",address:g.address||"",scale:g.scale||28,infoUrl:g.infoUrl||""},g)},hideOptionMenu:function(g){I("hideOptionMenu",{},g)},showOptionMenu:function(g){I("showOptionMenu",{},g)},closeWindow:function(g){I("closeWindow",{},g=g||{})},hideMenuItems:function(g){I("hideMenuItems",{menuList:g.menuList},g)},showMenuItems:function(g){I("showMenuItems",{menuList:g.menuList},g)},hideAllNonBaseMenuItem:function(g){I("hideAllNonBaseMenuItem",{},g)},showAllNonBaseMenuItem:function(g){I("showAllNonBaseMenuItem",{},g)},scanQRCode:function(g){I("scanQRCode",{needResult:(g=g||{}).needResult||0,scanType:g.scanType||["qrCode","barCode"]},(g._complete=function(O){var M;x&&(M=O.resultStr)&&(M=JSON.parse(M),O.resultStr=M&&M.scan_code&&M.scan_code.scan_result)},g))},openAddress:function(g){I(i.openAddress,{},(g._complete=function(O){(O=O).postalCode=O.addressPostalCode,delete O.addressPostalCode,O.provinceName=O.proviceFirstStageName,delete O.proviceFirstStageName,O.cityName=O.addressCitySecondStageName,delete O.addressCitySecondStageName,O.countryName=O.addressCountiesThirdStageName,delete O.addressCountiesThirdStageName,O.detailInfo=O.addressDetailInfo,delete O.addressDetailInfo},g))},openProductSpecificView:function(g){I(i.openProductSpecificView,{pid:g.productId,view_type:g.viewType||0,ext_info:g.extInfo},g)},addCard:function(g){for(var O=g.cardList,M=[],A=0,U=O.length;A<U;++A){var ee=O[A],ee={card_id:ee.cardId,card_ext:ee.cardExt};M.push(ee)}I(i.addCard,{card_list:M},(g._complete=function(oe){if(Z=oe.card_list){for(var Z,fe=0,Ce=(Z=JSON.parse(Z)).length;fe<Ce;++fe){var me=Z[fe];me.cardId=me.card_id,me.cardExt=me.card_ext,me.isSuccess=!!me.is_succ,delete me.card_id,delete me.card_ext,delete me.is_succ}oe.cardList=Z,delete oe.card_list}},g))},chooseCard:function(g){I("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(O){O.cardList=O.choose_card_info,delete O.choose_card_info},g))},openCard:function(g){for(var O=g.cardList,M=[],A=0,U=O.length;A<U;++A){var ee=O[A],ee={card_id:ee.cardId,code:ee.code};M.push(ee)}I(i.openCard,{card_list:M},g)},consumeAndShareCard:function(g){I(i.consumeAndShareCard,{consumedCardId:g.cardId,consumedCode:g.code},g)},chooseWXPay:function(g){I(i.chooseWXPay,he(g),g),_e({jsApiName:"chooseWXPay"})},openEnterpriseRedPacket:function(g){I(i.openEnterpriseRedPacket,he(g),g)},startSearchBeacons:function(g){I(i.startSearchBeacons,{ticket:g.ticket},g)},stopSearchBeacons:function(g){I(i.stopSearchBeacons,{},g)},onSearchBeacons:function(g){ne(i.onSearchBeacons,g)},openEnterpriseChat:function(g){I("openEnterpriseChat",{useridlist:g.userIds,chatname:g.groupName},g)},launchMiniProgram:function(g){I("launchMiniProgram",{targetAppId:g.targetAppId,path:(function(O){var M;if(typeof O=="string"&&0<O.length)return M=O.split("?")[0],M+=".html",(O=O.split("?")[1])!==void 0?M+"?"+O:M})(g.path),envVersion:g.envVersion},g)},openBusinessView:function(g){I("openBusinessView",{businessType:g.businessType,queryString:g.queryString||"",envVersion:g.envVersion},(g._complete=function(O){if(m){var M=O.extraData;if(M)try{O.extraData=JSON.parse(M)}catch{O.extraData={}}}},g))},miniProgram:{navigateBack:function(g){g=g||{},le(function(){I("invokeMiniProgramAPI",{name:"navigateBack",arg:{delta:g.delta||1}},g)})},navigateTo:function(g){le(function(){I("invokeMiniProgramAPI",{name:"navigateTo",arg:{url:g.url}},g)})},redirectTo:function(g){le(function(){I("invokeMiniProgramAPI",{name:"redirectTo",arg:{url:g.url}},g)})},switchTab:function(g){le(function(){I("invokeMiniProgramAPI",{name:"switchTab",arg:{url:g.url}},g)})},reLaunch:function(g){le(function(){I("invokeMiniProgramAPI",{name:"reLaunch",arg:{url:g.url}},g)})},postMessage:function(g){le(function(){I("invokeMiniProgramAPI",{name:"postMessage",arg:g.data||{}},g)})},getEnv:function(g){le(function(){g({miniprogram:t.__wxjs_environment==="miniprogram"})})}}},q=1,H={},l.addEventListener("error",function(g){var O,M,A;m||(A=(O=g.target).tagName,M=O.src,A!="IMG"&&A!="VIDEO"&&A!="AUDIO"&&A!="SOURCE")||M.indexOf("wxlocalresource://")!=-1&&(g.preventDefault(),g.stopPropagation(),(A=O["wx-id"])||(A=q++,O["wx-id"]=A),H[A]||(H[A]=!0,wx.ready(function(){wx.getLocalImgData({localId:M,success:function(U){O.src=U.localData}})})))},!0),l.addEventListener("load",function(g){var O;m||(O=(g=g.target).tagName,g.src,O!="IMG"&&O!="VIDEO"&&O!="AUDIO"&&O!="SOURCE")||(O=g["wx-id"])&&(H[O]=!1)},!0),n&&(t.wx=t.jWeixin=W),W;function I(g,O,M){t.WeixinJSBridge?WeixinJSBridge.invoke(g,te(O),function(A){re(g,A,M)}):ge(g,M)}function ne(g,O,M){t.WeixinJSBridge?WeixinJSBridge.on(g,function(A){M&&M.trigger&&M.trigger(A),re(g,A,O)}):ge(g,M||O)}function te(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 he(g){return{timeStamp:g.timestamp+"",nonceStr:g.nonceStr,package:g.package,paySign:g.paySign,signType:g.signType||"SHA1"}}function re(U,O,M){U!="openEnterpriseChat"&&U!=="openBusinessView"||(O.errCode=O.err_code),delete O.err_code,delete O.err_desc,delete O.err_detail;var A=O.errMsg,U=(A||(A=O.err_msg,delete O.err_msg,A=(function(ee,oe){var Z=s[ee];Z&&(ee=Z),Z="ok";{var fe;oe&&(fe=oe.indexOf(":"),(Z=(Z=(Z=(Z=(Z=(Z=(Z=oe.substring(fe+1))=="confirm"?"ok":Z)=="failed"?"fail":Z).indexOf("failed_")!=-1?Z.substring(7):Z).indexOf("fail_")!=-1?Z.substring(5):Z).replace(/_/g," ")).toLowerCase())!="access denied"&&Z!="no permission to execute"||(Z="permission denied"),(Z=ee=="config"&&Z=="function not exist"?"ok":Z)=="")&&(Z="fail")}return oe=ee+":"+Z})(U,A),O.errMsg=A),(M=M||{})._complete&&(M._complete(O),delete M._complete),A=O.errMsg||"",S.debug&&!M.isInnerInvoke&&alert(JSON.stringify(O)),A.indexOf(":"));switch(A.substring(U+1)){case"ok":M.success&&M.success(O);break;case"cancel":M.cancel&&M.cancel(O);break;default:M.fail&&M.fail(O)}M.complete&&M.complete(O)}function Se(g){if(g){for(var O=0,M=g.length;O<M;++O){var A=g[O],A=i[A];A&&(g[O]=A)}return g}}function ge(g,O){var M;!S.debug||O&&O.isInnerInvoke||((M=s[g])&&(g=M),O&&O._complete&&delete O._complete,console.log('"'+g+'",',O||""))}function _e(g){var O;d||h||S.debug||w<"6.0.2"||T.systemType<0||(O=new Image,T.appId=S.appId,T.initTime=k.initEndTime-k.initStartTime,T.preVerifyTime=k.preVerifyEndTime-k.preVerifyStartTime,W.getNetworkType({isInnerInvoke:!0,success:function(M){T.networkType=M.networkType,M="https://open.weixin.qq.com/sdk/report?v="+T.version+"&o="+T.isPreVerifyOk+"&s="+T.systemType+"&c="+T.clientVersion+"&a="+T.appId+"&n="+T.networkType+"&i="+T.initTime+"&p="+T.preVerifyTime+"&u="+T.url+"&jsapi_name="+(g?g.jsApiName:""),O.src=M}}))}function Pe(){return new Date().getTime()}function le(g){y&&(t.WeixinJSBridge?g():l.addEventListener&&l.addEventListener("WeixinJSBridgeReady",g,!1))}})),ff.exports}var j_=M_();const cn=Yf(j_);function I_(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 c0=["某杭州电商公司使用后,设计部成本降低60%","某深圳外贸公司使用后,客服响应速度提升5倍","某上海科技公司使用后,年度成本节省120万"];function D_({onPayment:t}){const n=Oi(),[i,s]=K.useState(599),[l,c]=K.useState(0);let u=!0;const d=async()=>{if(!u)return;u=!1;let m=await O_({record_id:n.analysis.record_id});I_(m).then(x=>{u=!0,x?t():Lr.error("支付失败")})};K.useEffect(()=>{const m=setInterval(()=>{s(x=>x>0?x-1:0)},1e3);return()=>clearInterval(m)},[]),K.useEffect(()=>{const m=setInterval(()=>{c(x=>(x+1)%c0.length)},3e3);return()=>clearInterval(m)},[]);const h=Math.floor(i/60),y=i%60;return E.jsxs("div",{className:"min-h-screen flex flex-col items-center justify-center px-6 py-12 relative",children:[E.jsx("div",{className:"absolute inset-0 opacity-30 blur-xl pointer-events-none",children:E.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:E.jsxs("div",{className:"space-y-4",children:[E.jsx("div",{className:"h-8 bg-white/20 rounded"}),E.jsx("div",{className:"h-32 bg-white/20 rounded"}),E.jsx("div",{className:"h-8 bg-white/20 rounded w-2/3"})]})})}),E.jsxs(J.div,{className:"relative z-10 w-full max-w-md",initial:{opacity:0,y:30},animate:{opacity:1,y:0},children:[E.jsxs(J.div,{className:"flex items-center justify-center gap-2 mb-6",initial:{scale:0},animate:{scale:1},transition:{type:"spring",delay:.2},children:[E.jsx(Uy,{className:"w-8 h-8 text-[#00F0FF]"}),E.jsx("span",{className:"text-xl",children:"分析完成!"})]}),E.jsxs(J.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:[E.jsxs("div",{className:"absolute inset-0 backdrop-blur-sm bg-white/5 z-10 flex flex-col items-center justify-center gap-4",children:[E.jsx(Hy,{className:"w-16 h-16 text-[#00F0FF]/50"}),E.jsxs("div",{className:"text-center px-4",children:[E.jsxs(J.div,{className:"mb-2",animate:{opacity:[.7,1,.7]},transition:{duration:2,repeat:1/0},children:[E.jsx("p",{className:"text-sm text-gray-400 mb-1",children:"预计年度节省"}),E.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]})]}),E.jsxs(J.div,{animate:{opacity:[.7,1,.7]},transition:{duration:2,repeat:1/0,delay:.5},children:[E.jsx("p",{className:"text-sm text-gray-400 mb-1",children:"效率提升"}),E.jsxs("div",{className:"text-2xl text-[#00F0FF]",children:[n.analysis.analysis_result.analyze_data.efficiency_improvement," %"]})]})]})]}),E.jsxs("div",{className:"space-y-4 blur-sm select-none",children:[E.jsxs("div",{className:"text-center",children:[E.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"经测算,您的企业每年由于员工不使用AI"}),E.jsx("p",{className:"text-2xl text-red-400 mb-1",children:"额外支出成本约为"}),E.jsxs("div",{className:"text-5xl bg-gradient-to-r from-red-400 to-orange-400 bg-clip-text text-transparent",children:["¥???",",","???"]})]}),E.jsx("div",{className:"h-px bg-gradient-to-r from-transparent via-gray-600 to-transparent"}),E.jsxs("div",{className:"text-center",children:[E.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"优化后,预计每年可节省"}),E.jsxs("div",{className:"text-4xl bg-gradient-to-r from-[#00F0FF] to-[#7B61FF] bg-clip-text text-transparent",children:["¥???",",","???"]})]})]})]}),E.jsxs(J.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:[E.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[E.jsx(bd,{className:"w-6 h-6 text-[#00F0FF]"}),E.jsx("h3",{className:"text-xl",children:"解锁完整报告"})]}),E.jsx("div",{className:"space-y-3 mb-6",children:["各部门AI替代率精准评估","具体的降本金额明细","推荐的AI工具组合清单"].map((m,x)=>E.jsxs(J.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+x*.1},children:[E.jsx("div",{className:"w-5 h-5 bg-[#00F0FF]/20 rounded-full flex items-center justify-center flex-shrink-0",children:E.jsx(zy,{className:"w-3 h-3 text-[#00F0FF]"})}),E.jsx("span",{children:m})]},x))}),E.jsxs("div",{className:"text-center mb-6",children:[E.jsxs("div",{className:"flex items-center justify-center gap-3 mb-2",children:[E.jsx("span",{className:"text-gray-500 line-through text-lg",children:"¥999"}),E.jsx("span",{className:"bg-red-500 text-white text-xs px-2 py-1 rounded",children:"限时特惠"})]}),E.jsxs("div",{className:"flex items-baseline justify-center gap-1",children:[E.jsx("span",{className:"text-4xl",children:"¥"}),E.jsx("span",{className:"text-6xl bg-gradient-to-r from-[#00F0FF] to-[#7B61FF] bg-clip-text text-transparent",children:"9.9"})]})]}),E.jsxs(J.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:[E.jsx(J.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}}),E.jsxs("span",{className:"relative z-10 flex items-center justify-center gap-2",children:[E.jsx("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"currentColor",children:E.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 解锁报告"]})]}),E.jsxs(J.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:[E.jsx(Uy,{className:"w-4 h-4"}),E.jsxs("span",{children:["优惠将在"," ",E.jsxs("span",{className:"text-lg",children:[String(h).padStart(2,"0"),":",String(y).padStart(2,"0")]})," ","后失效"]})]})]}),E.jsx(J.div,{className:"bg-white/5 backdrop-blur-sm rounded-xl p-4 overflow-hidden",initial:{opacity:0},animate:{opacity:1},transition:{delay:.8},children:E.jsxs(J.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:[E.jsx(zy,{className:"w-4 h-4 text-green-400 flex-shrink-0"}),E.jsx("span",{children:c0[l]})]},l)}),E.jsxs(J.div,{className:"mt-6 flex justify-center gap-6 text-xs text-gray-500",initial:{opacity:0},animate:{opacity:1},transition:{delay:1},children:[E.jsxs("div",{className:"flex items-center gap-1",children:[E.jsx(Hy,{className:"w-3 h-3"}),E.jsx("span",{children:"安全支付"})]}),E.jsxs("div",{className:"flex items-center gap-1",children:[E.jsx(Qv,{className:"w-3 h-3"}),E.jsx("span",{children:"1000+企业选择"})]}),E.jsxs("div",{className:"flex items-center gap-1",children:[E.jsx(Gv,{className:"w-3 h-3"}),E.jsx("span",{children:"平均节省40%"})]})]})]})]})}function L_(){const t=Oi(),[n,i]=K.useState({name:"",phone:"",company:""}),[s,l]=K.useState(!1),[c,u]=K.useState(!1),d=async h=>{h.preventDefault(),await b_({contact_name:n.name,contact_phone:n.phone,enterprise_name:n.company,record_id:t.analysis.record_id}),l(!0)};return s?E.jsxs("div",{className:"min-h-screen px-6 py-12 pb-32",children:[E.jsxs(J.div,{className:"max-w-2xl mx-auto",initial:{opacity:0},animate:{opacity:1},children:[E.jsxs(J.div,{className:"text-center mb-12",initial:{opacity:0,y:-20},animate:{opacity:1,y:0},children:[E.jsx("h1",{className:"text-3xl mb-2",children:"AI降本增效诊断报告"}),E.jsxs("p",{className:"text-gray-400",children:["为 ",n.company||n.name," 定制"]})]}),E.jsxs("div",{className:"grid grid-cols-2 gap-4 mb-8",children:[E.jsxs(J.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:[E.jsx("div",{className:"text-red-400 text-sm mb-2",children:"年度额外支出"}),E.jsxs("div",{className:"text-3xl",children:["¥",t.analysis.analysis_result.analyze_data.annual_original_cost]})]}),E.jsxs(J.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:[E.jsx("div",{className:"text-[#00F0FF] text-sm mb-2",children:"预计年节省"}),E.jsxs("div",{className:"text-3xl",children:["¥",t.analysis.analysis_result.analyze_data.annual_savings_cost]})]})]}),E.jsxs(J.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:[E.jsxs("h3",{className:"text-xl mb-6 flex items-center gap-2",children:[E.jsx(Qv,{className:"w-6 h-6 text-[#00F0FF]"}),"各部门优化分析"]}),E.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,E.jsxs(J.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:[E.jsxs("div",{className:"flex items-center justify-between mb-3",children:[E.jsxs("div",{children:[E.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[E.jsx("span",{className:"font-medium",children:h.position}),m==2&&E.jsx("span",{className:"text-xs bg-red-500 text-white px-2 py-0.5 rounded",children:"急需优化"})]}),E.jsxs("div",{className:"text-sm text-gray-400",children:[h.original_number,"人 → ",h.replace_with_ai_number,"人 + AI"]})]}),E.jsxs("div",{className:"text-right",children:[E.jsxs("div",{className:`text-2xl ${m==2?"text-red-400":m==1?"text-orange-400":"text-yellow-400"}`,children:["-",h.replace_save_rate,"%"]}),E.jsx("div",{className:"text-xs text-gray-500",children:"成本降低"})]})]}),E.jsx("div",{className:"h-2 bg-gray-800 rounded-full overflow-hidden",children:E.jsx(J.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)})})]}),E.jsxs(J.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:[E.jsxs("h3",{className:"text-xl mb-4 flex items-center gap-2",children:[E.jsx(Va,{className:"w-6 h-6 text-[#00F0FF]"}),"推荐AI工具组合"]}),E.jsx("div",{className:"grid grid-cols-2 gap-3",children:["文案生成AI","设计辅助AI","智能客服系统","数据分析AI","自动化运营工具","会议记录AI"].map((h,y)=>E.jsx(J.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))})]}),E.jsxs(J.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:[E.jsx(J.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"}}),E.jsxs("div",{className:"relative z-10",children:[E.jsxs(J.div,{className:"flex items-center justify-center gap-2 mb-4",animate:{scale:[1,1.05,1]},transition:{duration:2,repeat:1/0},children:[E.jsx(bd,{className:"w-8 h-8 text-white"}),E.jsx("h3",{className:"text-2xl text-white",children:"知道问题了,不知道怎么落地?"})]}),E.jsxs("p",{className:"text-white/90 mb-6 text-lg",children:["专属AI顾问为您提供",E.jsx("br",{}),E.jsx("span",{className:"text-white",children:"行业定制版AI工具包 + 员工培训方案"})]}),E.jsxs(J.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:[E.jsx(dc,{className:"w-6 h-6"}),E.jsx("span",{className:"text-lg",children:"立即咨询专属AI顾问"}),E.jsx(RP,{className:"w-6 h-6"})]}),E.jsxs(J.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:[E.jsx(UP,{className:"w-5 h-5"}),E.jsx("span",{children:"限时赠送《2025企业AI工具白皮书》"})]})]})]})]}),E.jsxs(J.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:[E.jsx(dc,{className:"w-6 h-6 text-white"}),E.jsx("span",{className:"text-white whitespace-nowrap",children:"点击获取 1对1定制化AI落地方案"}),E.jsx(J.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}}),E.jsx(J.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}})]}),E.jsx(G2,{children:c&&E.jsxs(J.div,{className:"fixed inset-0 z-50 flex items-center justify-center px-6",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:[E.jsx(J.div,{className:"absolute inset-0 bg-black/80 backdrop-blur-sm",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:()=>u(!1)}),E.jsxs(J.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:[E.jsx("button",{className:"absolute top-4 right-4 text-gray-400 hover:text-white transition-colors",onClick:()=>u(!1),children:E.jsx(tT,{className:"w-6 h-6"})}),E.jsx(J.div,{className:"flex justify-center mb-6",initial:{scale:0},animate:{scale:1},transition:{type:"spring",delay:.2},children:E.jsx(J.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:E.jsx(dc,{className:"w-10 h-10 text-white"})})}),E.jsxs(J.div,{className:"text-center mb-8",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3},children:[E.jsx("h3",{className:"text-2xl mb-4",children:"添加专属AI顾问"}),E.jsx("p",{className:"text-gray-300 mb-6",children:"扫描下方二维码,即可获得:"}),E.jsx("div",{className:"space-y-3 mb-6 text-left",children:["1对1定制化AI落地方案","行业专属AI工具包推荐","全员AI技能培训指导","《2025企业AI工具白皮书》PDF"].map((h,y)=>E.jsxs(J.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:[E.jsx("div",{className:"w-6 h-6 bg-[#00F0FF]/20 rounded-full flex items-center justify-center flex-shrink-0",children:E.jsx($y,{className:"w-4 h-4 text-[#00F0FF]"})}),E.jsx("span",{children:h})]},y))}),E.jsx(J.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:E.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:E.jsx("img",{src:"https://keyang2.tuzuu.com/%E6%95%88%E7%81%B5/kf.jpg"})})}),E.jsxs(J.p,{className:"text-sm text-gray-400",initial:{opacity:0},animate:{opacity:1},transition:{delay:.8},children:["顾问微信二维码,长按识别添加",E.jsx("br",{}),"添加后回复「",n.company||n.name,"」",E.jsx("br",{}),"立即获取专属方案"]})]})]})]})})]}):E.jsx("div",{className:"min-h-screen flex flex-col items-center justify-center px-6 py-12",children:E.jsxs(J.div,{className:"w-full max-w-md",initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},children:[E.jsx(J.div,{className:"flex justify-center mb-8",initial:{scale:0},animate:{scale:1},transition:{type:"spring",delay:.2},children:E.jsx("div",{className:"w-20 h-20 bg-gradient-to-br from-[#7B61FF] to-[#00F0FF] rounded-full flex items-center justify-center",children:E.jsx($y,{className:"w-12 h-12 text-white"})})}),E.jsx(J.h2,{className:"text-2xl text-center mb-2",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3},children:"报告已生成!"}),E.jsx(J.p,{className:"text-gray-400 text-center mb-8",initial:{opacity:0},animate:{opacity:1},transition:{delay:.4},children:"请输入接收人信息以存档"}),E.jsxs(J.form,{className:"space-y-4",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.5},onSubmit:d,children:[E.jsxs("div",{children:[E.jsx("label",{className:"block text-sm text-gray-400 mb-2",children:"姓名 *"}),E.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})})]}),E.jsxs("div",{children:[E.jsx("label",{className:"block text-sm text-gray-400 mb-2",children:"手机号 *"}),E.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})})]}),E.jsxs("div",{children:[E.jsx("label",{className:"block text-sm text-gray-400 mb-2",children:"企业名称(选填)"}),E.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})})]}),E.jsxs(J.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:[E.jsx(BP,{className:"w-5 h-5"}),"查看报告"]})]})]})})}function V_(t){return Bi.post("/login",t)}function B_(t){return Bi.get("/get_jssdk",t)}function z_(){return Bi.get("/get_share_config")}const U_=["snsapi_base","snsapi_userinfo"],$_="wxbc438492e3efab70";let Xf=window.location.href,df=Xf.split("?")[0];function W_(){return new Promise(t=>{if(Oi.getState().token){t(!0);return}let i=Bo.parse(Xf.split("?")[1]);i.code?V_({wx_code:i.code,...i}).then(s=>{if(!s.accessToken){delete i.code,delete i.state,df=df+Bo.stringify(i),f0(df);return}Oi.getState().setToken(s.accessToken),t(!0)}):f0(Xf)})}function f0(t){t=encodeURIComponent(t),window.location.href=`https://open.weixin.qq.com/connect/oauth2/authorize?appid=${$_}&redirect_uri=${t}&response_type=code&scope=${U_[1]}#wechat_redirect`}async function H_(){navigator.userAgent.toLowerCase().indexOf("micromessenger");let t=Bo.parse(window.location.search.split("?")[1]);delete t.code;let n=await B_({url:window.location.href}),i=await z_();const s={title:i.share_title,desc:i.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:n.jssdk.appId,timestamp:n.jssdk.timestamp,nonceStr:n.jssdk.nonceStr,signature:n.jssdk.signature,jsApiList:n.jssdk.jsApiList,openTagList:["wx-open-launch-weapp"]}),cn.ready(function(){cn.updateAppMessageShareData&&cn.updateAppMessageShareData({title:s.title,desc:s.desc,link:s.link,imgUrl:s.imgUrl,success:()=>{console.log("分享朋友成功")}}),cn.updateTimelineShareData&&cn.updateTimelineShareData({title:s.title,link:s.link,imgUrl:s.imgUrl,success:()=>{console.log("分享朋友圈")}}),cn.onMenuShareAppMessage&&cn.onMenuShareAppMessage({title:s.title,desc:s.desc,link:s.link,imgUrl:s.imgUrl,success:()=>{console.log("旧版本分享朋友成功")},cancel:()=>{}}),cn.onMenuShareTimeline&&cn.onMenuShareTimeline({title:s.title,link:s.link,imgUrl:s.imgUrl,success:()=>{console.log("旧版本分享朋友圈")},cancel:()=>{}})})}function q_(){const t=Oi(),[n,i]=K.useState(!1),[s,l]=K.useState(1),c=()=>{l(h=>Math.min(h+1,5))},u=async h=>{c();let y=await F_({analys_image:h,analys_type:null});if(y.analysis_result.analyze_ret!="success"){Lr.error("请重新上传结构清晰的组织架构图"),l(m=>2);return}t.setAnalysis(y),c()},d=()=>{c()};return K.useEffect(()=>{W_().then(()=>{i(!0),H_().then()})},[]),n?E.jsxs(E.Fragment,{children:[E.jsx(__,{position:"top-center"}),E.jsxs("div",{className:"min-h-screen bg-[#0A0F24] text-white overflow-x-hidden relative",children:[E.jsx("div",{className:"fixed inset-0 pointer-events-none",children:E.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#7B61FF]/10 via-transparent to-[#00F0FF]/10"})}),E.jsxs("div",{className:"relative z-10",children:[s===1&&E.jsx(rT,{onNext:c}),s===2&&E.jsx(iT,{onSuccess:u}),s===3&&E.jsx(oT,{}),s===4&&E.jsx(D_,{onPayment:d}),s===5&&E.jsx(L_,{})]})]})]}):E.jsx(E.Fragment,{})}Hw.createRoot(document.getElementById("root")).render(E.jsx(q_,{}));
|