PageSourceSearch

https://positive-abyssal-echo-ocean.base44.app/assets/index-x3bEn6ii.js

js positive-abyssal-echo-ocean.base44.app collected 2026-10-03 05:33:02 UTC 407,520 bytes, 136 lines download raw bytes

vendor: 6,049 bytes, lines 1-9
1var Gw=Object.defineProperty;var np=r=>{throw TypeError(r)};var Xw=(r,t,s)=>t in r?Gw(r,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[t]=s;var Me=(r,t,s)=>Xw(r,typeof t!="symbol"?t+"":t,s),Du=(r,t,s)=>t.has(r)||np("Cannot "+s);var R=(r,t,s)=>(Du(r,t,"read from private field"),s?s.call(r):t.get(r)),pe=(r,t,s)=>t.has(r)?np("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(r):t.set(r,s),ee=(r,t,s,o)=>(Du(r,t,"write to private field"),o?o.call(r,s):t.set(r,s),s),Te=(r,t,s)=>(Du(r,t,"access private method"),s);var ca=(r,t,s,o)=>({set _(l){ee(r,t,l,s)},get _(){return R(r,t,o)}});function Yw(r,t){for(var s=0;s<t.length;s++){const o=t[s];if(typeof o!="string"&&!Array.isArray(o)){for(const l in o)if(l!=="default"&&!(l in r)){const u=Object.getOwnPropertyDescriptor(o,l);u&&Object.defineProperty(r,l,u.get?u:{enumerable:!0,get:()=>o[l]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))o(l);new MutationObserver(l=>{for(const u of l)if(u.type==="childList")for(const d of u.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&o(d)}).observe(document,{childList:!0,subtree:!0});function s(l){const u={};return l.integrity&&(u.integrity=l.integrity),l.referrerPolicy&&(u.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?u.credentials="include":l.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function o(l){if(l.ep)return;l.ep=!0;const u=s(l);fetch(l.href,u)}})();function Dc(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var ju={exports:{}},Ao={},Mu={exports:{}},ke={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var rp;function Jw(){if(rp)return ke;rp=1;var r=Symbol.for("react.element"),t=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),d=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),v=Symbol.iterator;function _(A){return A===null||typeof A!="object"?null:(A=v&&A[v]||A["@@iterator"],typeof A=="function"?A:null)}var T={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},D=Object.assign,S={};function w(A,$,ce){this.props=A,this.context=$,this.refs=S,this.updater=ce||T}w.prototype.isReactComponent={},w.prototype.setState=function(A,$){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,$,"setState")},w.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function E(){}E.prototype=w.prototype;function I(A,$,ce){this.props=A,this.context=$,this.refs=S,this.updater=ce||T}var L=I.prototype=new E;L.constructor=I,D(L,w.prototype),L.isPureReactComponent=!0;var N=Array.isArray,U=Object.prototype.hasOwnProperty,q={current:null},G={key:!0,ref:!0,__self:!0,__source:!0};function z(A,$,ce){var me,he={},X=null,xe=null;if($!=null)for(me in $.ref!==void 0&&(xe=$.ref),$.key!==void 0&&(X=""+$.key),$)U.call($,me)&&!G.hasOwnProperty(me)&&(he[me]=$[me]);var Re=arguments.length-2;if(Re===1)he.children=ce;else if(1<Re){for(var ve=Array(Re),et=0;et<Re;et++)ve[et]=arguments[et+2];he.children=ve}if(A&&A.defaultProps)for(me in Re=A.defaultProps,Re)he[me]===void 0&&(he[me]=Re[me]);return{$$typeof:r,type:A,key:X,ref:xe,props:he,_owner:q.current}}function ae(A,$){return{$$typeof:r,type:A.type,key:$,ref:A.ref,props:A.props,_owner:A._owner}}function ye(A){return typeof A=="object"&&A!==null&&A.$$typeof===r}function _e(A){var $={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(ce){return $[ce]})}var Ce=/\/+/g;function Oe(A,$){return typeof A=="object"&&A!==null&&A.key!=null?_e(""+A.key):$.toString(36)}function Z(A,$,ce,me,he){var X=typeof A;(X==="undefined"||X==="boolean")&&(A=null);var xe=!1;if(A===null)xe=!0;else switch(X){case"string":case"number":xe=!0;break;case"object":switch(A.$$typeof){case r:case t:xe=!0}}if(xe)return xe=A,he=he(xe),A=me===""?"."+Oe(xe,0):me,N(he)?(ce="",A!=null&&(ce=A.replace(Ce,"$&/")+"/"),Z(he,$,ce,"",function(et){return et})):he!=null&&(ye(he)&&(he=ae(he,ce+(!he.key||xe&&xe.key===he.key?"":(""+he.key).replace(Ce,"$&/")+"/")+A)),$.push(he)),1;if(xe=0,me=me===""?".":me+":",N(A))for(var Re=0;Re<A.length;Re++){X=A[Re];var ve=me+Oe(X,Re);xe+=Z(X,$,ce,ve,he)}else if(ve=_(A),typeof ve=="function")for(A=ve.call(A),Re=0;!(X=A.next()).done;)X=X.value,ve=me+Oe(X,Re++),xe+=Z(X,$,ce,ve,he);else if(X==="object")throw $=String(A),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.");return xe}function Se(A,$,ce){if(A==null)return A;var me=[],he=0;return Z(A,me,"","",function(X){return $.call(ce,X,he++)}),me}function ue(A){if(A._status===-1){var $=A._result;$=$(),$.then(function(ce){(A._status===0||A._status===-1)&&(A._status=1,A._result=ce)},function(ce){(A._status===0||A._status===-1)&&(A._status=2,A._result=ce)}),A._status===-1&&(A._status=0,A._result=$)}if(A._status===1)return A._result.default;throw A._result}var we={current:null},K={transition:null},ne={ReactCurrentDispatcher:we,ReactCurrentBatchConfig:K,ReactCurrentOwner:q};function B(){throw Error("act(...) is not supported in production builds of React.")}return ke.Children={map:Se,forEach:function(A,$,ce){Se(A,function(){$.apply(this,arguments)},ce)}
vendor: 4,358 bytes, lines 9-25
9,count:function(A){var $=0;return Se(A,function(){$++}),$},toArray:function(A){return Se(A,function($){return $})||[]},only:function(A){if(!ye(A))throw Error("React.Children.only expected to receive a single React element child.");return A}},ke.Component=w,ke.Fragment=s,ke.Profiler=l,ke.PureComponent=I,ke.StrictMode=o,ke.Suspense=p,ke.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ne,ke.act=B,ke.cloneElement=function(A,$,ce){if(A==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+A+".");var me=D({},A.props),he=A.key,X=A.ref,xe=A._owner;if($!=null){if($.ref!==void 0&&(X=$.ref,xe=q.current),$.key!==void 0&&(he=""+$.key),A.type&&A.type.defaultProps)var Re=A.type.defaultProps;for(ve in $)U.call($,ve)&&!G.hasOwnProperty(ve)&&(me[ve]=$[ve]===void 0&&Re!==void 0?Re[ve]:$[ve])}var ve=arguments.length-2;if(ve===1)me.children=ce;else if(1<ve){Re=Array(ve);for(var et=0;et<ve;et++)Re[et]=arguments[et+2];me.children=Re}return{$$typeof:r,type:A.type,key:he,ref:X,props:me,_owner:xe}},ke.createContext=function(A){return A={$$typeof:d,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},A.Provider={$$typeof:u,_context:A},A.Consumer=A},ke.createElement=z,ke.createFactory=function(A){var $=z.bind(null,A);return $.type=A,$},ke.createRef=function(){return{current:null}},ke.forwardRef=function(A){return{$$typeof:f,render:A}},ke.isValidElement=ye,ke.lazy=function(A){return{$$typeof:g,_payload:{_status:-1,_result:A},_init:ue}},ke.memo=function(A,$){return{$$typeof:m,type:A,compare:$===void 0?null:$}},ke.startTransition=function(A){var $=K.transition;K.transition={};try{A()}finally{K.transition=$}},ke.unstable_act=B,ke.useCallback=function(A,$){return we.current.useCallback(A,$)},ke.useContext=function(A){return we.current.useContext(A)},ke.useDebugValue=function(){},ke.useDeferredValue=function(A){return we.current.useDeferredValue(A)},ke.useEffect=function(A,$){return we.current.useEffect(A,$)},ke.useId=function(){return we.current.useId()},ke.useImperativeHandle=function(A,$,ce){return we.current.useImperativeHandle(A,$,ce)},ke.useInsertionEffect=function(A,$){return we.current.useInsertionEffect(A,$)},ke.useLayoutEffect=function(A,$){return we.current.useLayoutEffect(A,$)},ke.useMemo=function(A,$){return we.current.useMemo(A,$)},ke.useReducer=function(A,$,ce){return we.current.useReducer(A,$,ce)},ke.useRef=function(A){return we.current.useRef(A)},ke.useState=function(A){return we.current.useState(A)},ke.useSyncExternalStore=function(A,$,ce){return we.current.useSyncExternalStore(A,$,ce)},ke.useTransition=function(){return we.current.useTransition()},ke.version="18.3.1",ke}var sp;function jc(){return sp||(sp=1,Mu.exports=Jw()),Mu.exports}/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var op;function Zw(){if(op)return Ao;op=1;var r=jc(),t=Symbol.for("react.element"),s=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function d(f,p,m){var g,v={},_=null,T=null;m!==void 0&&(_=""+m),p.key!==void 0&&(_=""+p.key),p.ref!==void 0&&(T=p.ref);for(g in p)o.call(p,g)&&!u.hasOwnProperty(g)&&(v[g]=p[g]);if(f&&f.defaultProps)for(g in p=f.defaultProps,p)v[g]===void 0&&(v[g]=p[g]);return{$$typeof:t,type:f,key:_,ref:T,props:v,_owner:l.current}}return Ao.Fragment=s,Ao.jsx=d,Ao.jsxs=d,Ao}var ip;function e0(){return ip||(ip=1,ju.exports=Zw()),ju.exports}var C=e0(),k=jc();const ir=Dc(k),Vm=Yw({__proto__:null,default:ir},[k]);var da={},Uu={exports:{}},Rt={},Bu={exports:{}},zu={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */var ap;function t0(){return ap||(ap=1,(function(r){function t(K,ne){var B=K.length;K.push(ne);e:for(;0<B;){var A=B-1>>>1,$=K[A];if(0<l($,ne))K[A]=ne,K[B]=$,B=A;else break e}}function s(K){return K.length===0?null:K[0]}function o(K){if(K.length===0)return null;var ne=K[0],B=K.pop();
vendor: 25,148 bytes, lines 25-37
25if(B!==ne){K[0]=B;e:for(var A=0,$=K.length,ce=$>>>1;A<ce;){var me=2*(A+1)-1,he=K[me],X=me+1,xe=K[X];if(0>l(he,B))X<$&&0>l(xe,he)?(K[A]=xe,K[X]=B,A=X):(K[A]=he,K[me]=B,A=me);else if(X<$&&0>l(xe,B))K[A]=xe,K[X]=B,A=X;else break e}}return ne}function l(K,ne){var B=K.sortIndex-ne.sortIndex;return B!==0?B:K.id-ne.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;r.unstable_now=function(){return u.now()}}else{var d=Date,f=d.now();r.unstable_now=function(){return d.now()-f}}var p=[],m=[],g=1,v=null,_=3,T=!1,D=!1,S=!1,w=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,I=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function L(K){for(var ne=s(m);ne!==null;){if(ne.callback===null)o(m);else if(ne.startTime<=K)o(m),ne.sortIndex=ne.expirationTime,t(p,ne);else break;ne=s(m)}}function N(K){if(S=!1,L(K),!D)if(s(p)!==null)D=!0,ue(U);else{var ne=s(m);ne!==null&&we(N,ne.startTime-K)}}function U(K,ne){D=!1,S&&(S=!1,E(z),z=-1),T=!0;var B=_;try{for(L(ne),v=s(p);v!==null&&(!(v.expirationTime>ne)||K&&!_e());){var A=v.callback;if(typeof A=="function"){v.callback=null,_=v.priorityLevel;var $=A(v.expirationTime<=ne);ne=r.unstable_now(),typeof $=="function"?v.callback=$:v===s(p)&&o(p),L(ne)}else o(p);v=s(p)}if(v!==null)var ce=!0;else{var me=s(m);me!==null&&we(N,me.startTime-ne),ce=!1}return ce}finally{v=null,_=B,T=!1}}var q=!1,G=null,z=-1,ae=5,ye=-1;function _e(){return!(r.unstable_now()-ye<ae)}function Ce(){if(G!==null){var K=r.unstable_now();ye=K;var ne=!0;try{ne=G(!0,K)}finally{ne?Oe():(q=!1,G=null)}}else q=!1}var Oe;if(typeof I=="function")Oe=function(){I(Ce)};else if(typeof MessageChannel<"u"){var Z=new MessageChannel,Se=Z.port2;Z.port1.onmessage=Ce,Oe=function(){Se.postMessage(null)}}else Oe=function(){w(Ce,0)};function ue(K){G=K,q||(q=!0,Oe())}function we(K,ne){z=w(function(){K(r.unstable_now())},ne)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(K){K.callback=null},r.unstable_continueExecution=function(){D||T||(D=!0,ue(U))},r.unstable_forceFrameRate=function(K){0>K||125<K?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ae=0<K?Math.floor(1e3/K):5},r.unstable_getCurrentPriorityLevel=function(){return _},r.unstable_getFirstCallbackNode=function(){return s(p)},r.unstable_next=function(K){switch(_){case 1:case 2:case 3:var ne=3;break;default:ne=_}var B=_;_=ne;try{return K()}finally{_=B}},r.unstable_pauseExecution=function(){},r.unstable_requestPaint=function(){},r.unstable_runWithPriority=function(K,ne){switch(K){case 1:case 2:case 3:case 4:case 5:break;default:K=3}var B=_;_=K;try{return ne()}finally{_=B}},r.unstable_scheduleCallback=function(K,ne,B){var A=r.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?A+B:A):B=A,K){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}return $=B+$,K={id:g++,callback:ne,priorityLevel:K,startTime:B,expirationTime:$,sortIndex:-1},B>A?(K.sortIndex=B,t(m,K),s(p)===null&&K===s(m)&&(S?(E(z),z=-1):S=!0,we(N,B-A))):(K.sortIndex=$,t(p,K),D||T||(D=!0,ue(U))),K},r.unstable_shouldYield=_e,r.unstable_wrapCallback=function(K){var ne=_;return function(){var B=_;_=ne;try{return K.apply(this,arguments)}finally{_=B}}}})(zu)),zu}var lp;function n0(){return lp||(lp=1,Bu.exports=t0()),Bu.exports}/**
26 * @license React
27 * react-dom.production.min.js
28 *
29 * Copyright (c) Facebook, Inc. and its affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var up;function r0(){if(up)return Rt;up=1;var r=jc(),t=n0();function s(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,i=1;i<arguments.length;i++)n+="&args[]="+encodeURIComponent(arguments[i]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=new Set,l={};function u(e,n){d(e,n),d(e+"Capture",n)}function d(e,n){for(l[e]=n,e=0;e<n.length;e++)o.add(n[e])}var f=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),p=Object.prototype.hasOwnProperty,m=/^[: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]*$/,g={},v={};function _(e){return p.call(v,e)?!0:p.call(g,e)?!1:m.test(e)?v[e]=!0:(g[e]=!0,!1)}function T(e,n,i,a){if(i!==null&&i.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return a?!1:i!==null?!i.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function D(e,n,i,a){if(n===null||typeof n>"u"||T(e,n,i,a))return!0;if(a)return!1;if(i!==null)switch(i.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function S(e,n,i,a,c,h,y){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=a,this.attributeNamespace=c,this.mustUseProperty=i,this.propertyName=e,this.type=n,this.sanitizeURL=h,this.removeEmptyString=y}var w={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){w[e]=new S(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];w[n]=new S(n,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){w[e]=new S(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){w[e]=new S(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){w[e]=new S(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){w[e]=new S(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){w[e]=new S(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){w[e]=new S(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){w[e]=new S(e,5,!1,e.toLowerCase(),null,!1,!1)});var E=/[\-:]([a-z])/g;function I(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 n=e.replace(E,I);w[n]=new S(n,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(E,I);w[n]=new S(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(E,I);w[n]=new S(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){w[e]=new S(e,1,!1,e.toLowerCase(),null,!1,!1)}),w.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){w[e]=new S(e,1,!1,e.toLowerCase(),null,!0,!0)});function L(e,n,i,a){var c=w.hasOwnProperty(n)?w[n]:null;(c!==null?c.type!==0:a||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(D(n,i,c,a)&&(i=null),a||c===null?_(n)&&(i===null?e.removeAttribute(n):e.setAttribute(n,""+i)):c.mustUseProperty?e[c.propertyName]=i===null?c.type===3?!1:"":i:(n=c.attributeName,a=c.attributeNamespace,i===null?e.removeAttribute(n):(c=c.type,i=c===3||c===4&&i===!0?"":""+i,a?e.setAttributeNS(a,n,i):e.setAttribute(n,i))))}var N=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,U=Symbol.for("react.element"),q=Symbol.for("react.portal"),G=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),ae=Symbol.for("react.profiler"),ye=Symbol.for("react.provider"),_e=Symbol.for("react.context"),Ce=Symbol.for("react.forward_ref"),Oe=Symbol.for("react.suspense"),Z=Symbol.for("react.suspense_list"),Se=Symbol.for("react.memo"),ue=Symbol.for("react.lazy"),we=Symbol.for("react.offscreen"),K=Symbol.iterator;function ne(e){return e===null||typeof e!="object"?null:(e=K&&e[K]||e["@@iterator"],typeof e=="function"?e:null)}var B=Object.assign,A;function $(e){if(A===void 0)try{throw Error()}catch(i){var n=i.stack.trim().match(/\n( *(at )?)/);A=n&&n[1]||""}return`
34`+A+e}var ce=!1;function me(e,n){if(!e||ce)return"";ce=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(n,[])}catch(M){var a=M}Reflect.construct(e,[],n)}else{try{n.call()}catch(M){a=M}e.call(n.prototype)}else{try{throw Error()}catch(M){a=M}e()}}catch(M){if(M&&a&&typeof M.stack=="string"){for(var c=M.stack.split(`
35`),h=a.stack.split(`
36`),y=c.length-1,x=h.length-1;1<=y&&0<=x&&c[y]!==h[x];)x--;for(;1<=y&&0<=x;y--,x--)if(c[y]!==h[x]){if(y!==1||x!==1)do if(y--,x--,0>x||c[y]!==h[x]){var b=`
37`+c[y].replace(" at new "," at ");return e.displayName&&b.includes("<anonymous>")&&(b=b.replace("<anonymous>",e.displayName)),b}while(1<=y&&0<=x);break}}}finally{ce=!1,Error.prepareStackTrace=i}return(e=e?e.displayName||e.name:"")?$(e):""}function he(e){switch(e.tag){case 5:return $(e.type);case 16:return $("Lazy");case 13:return $("Suspense");case 19:return $("SuspenseList");case 0:case 2:case 15:return e=me(e.type,!1),e;case 11:return e=me(e.type.render,!1),e;case 1:return e=me(e.type,!0),e;default:return""}}function X(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 G:return"Fragment";case q:return"Portal";case ae:return"Profiler";case z:return"StrictMode";case Oe:return"Suspense";case Z:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case _e:return(e.displayName||"Context")+".Consumer";case ye:return(e._context.displayName||"Context")+".Provider";case Ce:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Se:return n=e.displayName||null,n!==null?n:X(e.type)||"Memo";case ue:n=e._payload,e=e._init;try{return X(e(n))}catch{}}return null}function xe(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return X(n);case 8:return n===z?"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 n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function Re(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ve(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function et(e){var n=ve(e)?"checked":"value",i=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),a=""+e[n];if(!e.hasOwnProperty(n)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var c=i.get,h=i.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return c.call(this)},set:function(y){a=""+y,h.call(this,y)}}),Object.defineProperty(e,n,{enumerable:i.enumerable}),{getValue:function(){return a},setValue:function(y){a=""+y},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function jt(e){e._valueTracker||(e._valueTracker=et(e))}function ot(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var i=n.getValue(),a="";return e&&(a=ve(e)?e.checked?"true":"false":e.value),e=a,e!==i?(n.setValue(e),!0):!1}function Gt(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 Mt(e,n){var i=n.checked;return B({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??e._wrapperState.initialChecked})}function Ut(e,n){var i=n.defaultValue==null?"":n.defaultValue,a=n.checked!=null?n.checked:n.defaultChecked;i=Re(n.value!=null?n.value:i),e._wrapperState={initialChecked:a,initialValue:i,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function Ee(e,n){n=n.checked,n!=null&&L(e,"checked",n,!1)}function it(e,n){Ee(e,n);var i=Re(n.value),a=n.type;if(i!=null)a==="number"?(i===0&&e.value===""||e.value!=i)&&(e.value=""+i):e.value!==""+i&&(e.value=""+i);else if(a==="submit"||a==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Yt(e,n.type,i):n.hasOwnProperty("defaultValue")&&Yt(e,n.type,Re(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Xt(e,n,i){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var a=n.type;if(!(a!=="submit"&&a!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,i||n===e.value||(e.value=n),e.defaultValue=n}i=e.name,i!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,i!==""&&(e.name=i)}function Yt(e,n,i){(n!=="number"||Gt(e.ownerDocument)!==e)&&(i==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+i&&(e.defaultValue=""+i))}var jn=Array.isArray;function Mn(e,n,i,a){if(e=e.options,n){n={};for(var c=0;c<i.length;c++)n["$"+i[c]]=!0;for(i=0;i<e.length;i++)c=n.hasOwnProperty("$"+e[i].value),e[i].selected!==c&&(e[i].selected=c),c&&a&&(e[i].defaultSelected=!0)}else{for(i=""+Re(i),n=null,c=0;c<e.length;c++){if(e[c].value===i){e[c].selected=!0,a&&(e[c].defaultSelected=!0);return}n!==null||e[c].disabled||(n=e[c])}n!==null&&(n.selected=!0)}}function En(e,n){if(n.dangerouslySetInnerHTML!=null)throw Error(s(91));return B({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function dd(e,n){var i=n.value;if(i==null){if(i=n.children,n=n.defaultValue,i!=null){if(n!=null)throw Error(s(92));if(jn(i)){if(1<i.length)throw Error(s(93));i=i[0]}n=i}n==null&&(n=""),i=n}e._wrapperState={initialValue:Re(i)}}function fd(e,n){var i=Re(n.value),a=Re(n.defaultValue);i!=null&&(i=""+i,i!==e.value&&(e.value=i),n.defaultValue==null&&e.defaultValue!==i&&(e.defaultValue=i)),a!=null&&(e.defaultValue=""+a)}function hd(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}function pd(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 Qa(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?pd(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ni,md=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,i,a,c){MSApp.execUnsafeLocalFunction(function(){return e(n,i,a,c)})}:e})(function(e,n){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=n;else{for(ni=ni||document.createElement("div"),ni.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=ni.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Hs(e,n){if(n){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=n;return}}e.textContent=n}var Ws={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},Zg=["Webkit","ms","Moz","O"];Object.keys(Ws).forEach(function(e){Zg.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Ws[n]=Ws[e]})});function yd(e,n,i){return n==null||typeof n=="boolean"||n===""?"":i||typeof n!="number"||n===0||Ws.hasOwnProperty(e)&&Ws[e]?(""+n).trim():n+"px"}function gd(e,n){e=e.style;for(var i in n)if(n.hasOwnProperty(i)){var a=i.indexOf("--")===0,c=yd(i,n[i],a);i==="float"&&(i="cssFloat"),a?e.setProperty(i,c):e[i]=c}}var ev=B({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ka(e,n){if(n){if(ev[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(s(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(s(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(s(61))}if(n.style!=null&&typeof n.style!="object")throw Error(s(62))}}function Ga(e,n){if(e.indexOf("-")===-1)return typeof n.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 Xa=null;function Ya(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ja=null,ts=null,ns=null;function vd(e){if(e=mo(e)){if(typeof Ja!="function")throw Error(s(280));var n=e.stateNode;n&&(n=Ci(n),Ja(e.stateNode,e.type,n))}}function wd(e){ts?ns?ns.push(e):ns=[e]:ts=e}function xd(){if(ts){var e=ts,n=ns;if(ns=ts=null,vd(e),n)for(e=0;e<n.length;e++)vd(n[e])}}function Ed(e,n){return e(n)}function _d(){}var Za=!1;function Sd(e,n,i){if(Za)return e(n,i);Za=!0;try{return Ed(e,n,i)}finally{Za=!1,(ts!==null||ns!==null)&&(_d(),xd())}}function Qs(e,n){var i=e.stateNode;if(i===null)return null;var a=Ci(i);if(a===null)return null;i=a[n];e:switch(n){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(i&&typeof i!="function")throw Error(s(231,n,typeof i));return i}var el=!1;if(f)try{var Ks={};Object.defineProperty(Ks,"passive",{get:function(){el=!0}}),window.addEventListener("test",Ks,Ks),window.removeEventListener("test",Ks,Ks)}catch{el=!1}function tv(e,n,i,a,c,h,y,x,b){var M=Array.prototype.slice.call(arguments,3);try{n.apply(i,M)}catch(H){this.onError(H)}}var Gs=!1,ri=null,si=!1,tl=null,nv={onError:function(e){Gs=!0,ri=e}};function rv(e,n,i,a,c,h,y,x,b){Gs=!1,ri=null,tv.apply(nv,arguments)}function sv(e,n,i,a,c,h,y,x,b){if(rv.apply(this,arguments),Gs){if(Gs){var M=ri;Gs=!1,ri=null}else throw Error(s(198));si||(si=!0,tl=M)}}function Er(e){var n=e,i=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,(n.flags&4098)!==0&&(i=n.return),e=n.return;while(e)}return n.tag===3?i:null}function bd(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function Cd(e){if(Er(e)!==e)throw Error(s(188))}function ov(e){var n=e.alternate;if(!n){if(n=Er(e),n===null)throw Error(s(188));return n!==e?null:e}for(var i=e,a=n;;){var c=i.return;if(c===null)break;var h=c.alternate;if(h===null){if(a=c.return,a!==null){i=a;continue}break}if(c.child===h.child){for(h=c.child;h;){if(h===i)return Cd(c),e;if(h===a)return Cd(c),n;h=h.sibling}throw Error(s(188))}if(i.return!==a.return)i=c,a=h;else{for(var y=!1,x=c.child;x;){if(x===i){y=!0,i=c,a=h;break}if(x===a){y=!0,a=c,i=h;break}x=x.sibling}if(!y){for(x=h.child;x;){if(x===i){y=!0,i=h,a=c;break}if(x===a){y=!0,a=h,i=c;break}x=x.sibling}if(!y)throw Error(s(189))}}if(i.alternate!==a)throw Error(s(190))}if(i.tag!==3)throw Error(s(188));return i.stateNode.current===i?e:n}function kd(e){return e=ov(e),e!==null?Rd(e):null}function Rd(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var n=Rd(e);if(n!==null)return n;e=e.sibling}return null}var Td=t.unstable_scheduleCallback,Pd=t.unstable_cancelCallback,iv=t.unstable_shouldYield,av=t.unstable_requestPaint,We=t.unstable_now,lv=t.unstable_getCurrentPriorityLevel,nl=t.unstable_ImmediatePriority,Ad=t.unstable_UserBlockingPriority,oi=t.unstable_NormalPriority,uv=t.unstable_LowPriority,Od=t.unstable_IdlePriority,ii=null,cn=null;function cv(e){if(cn&&typeof cn.onCommitFiberRoot=="function")try{cn.onCommitFiberRoot(ii,e,void 0,(e.current.flags&128)===128)}catch{}}var Jt=Math.clz32?Math.clz32:hv,dv=Math.log,fv=Math.LN2;function hv(e){return e>>>=0,e===0?32:31-(dv(e)/fv|0)|0}var ai=64,li=4194304;function Xs(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 ui(e,n){var i=e.pendingLanes;if(i===0)return 0;var a=0,c=e.suspendedLanes,h=e.pingedLanes,y=i&268435455;if(y!==0){var x=y&~c;x!==0?a=Xs(x):(h&=y,h!==0&&(a=Xs(h)))}else y=i&~c,y!==0?a=Xs(y):h!==0&&(a=Xs(h));if(a===0)return 0;if(n!==0&&n!==a&&(n&c)===0&&(c=a&-a,h=n&-n,c>=h||c===16&&(h&4194240)!==0))return n;if((a&4)!==0&&(a|=i&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=a;0<n;)i=31-Jt(n),c=1<<i,a|=e[i],n&=~c;return a}function pv(e,n){switch(e){case 1:case 2:case 4:return n+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 n+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 mv(e,n){for(var i=e.suspendedLanes,a=e.pingedLanes,c=e.expirationTimes,h=e.pendingLanes;0<h;){var y=31-Jt(h),x=1<<y,b=c[y];b===-1?((x&i)===0||(x&a)!==0)&&(c[y]=pv(x,n)):b<=n&&(e.expiredLanes|=x),h&=~x}}function rl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Nd(){var e=ai;return ai<<=1,(ai&4194240)===0&&(ai=64),e}function sl(e){for(var n=[],i=0;31>i;i++)n.push(e);return n}function Ys(e,n,i){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Jt(n),e[n]=i}function yv(e,n){var i=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var a=e.eventTimes;for(e=e.expirationTimes;0<i;){var c=31-Jt(i),h=1<<c;n[c]=0,a[c]=-1,e[c]=-1,i&=~h}}function ol(e,n){var i=e.entangledLanes|=n;for(e=e.entanglements;i;){var a=31-Jt(i),c=1<<a;c&n|e[a]&n&&(e[a]|=n),i&=~c}}var De=0;function Ld(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}
vendor: 2,059 bytes, line 37
37var Id,il,Fd,Dd,jd,al=!1,ci=[],Un=null,Bn=null,zn=null,Js=new Map,Zs=new Map,$n=[],gv="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 Md(e,n){switch(e){case"focusin":case"focusout":Un=null;break;case"dragenter":case"dragleave":Bn=null;break;case"mouseover":case"mouseout":zn=null;break;case"pointerover":case"pointerout":Js.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Zs.delete(n.pointerId)}}function eo(e,n,i,a,c,h){return e===null||e.nativeEvent!==h?(e={blockedOn:n,domEventName:i,eventSystemFlags:a,nativeEvent:h,targetContainers:[c]},n!==null&&(n=mo(n),n!==null&&il(n)),e):(e.eventSystemFlags|=a,n=e.targetContainers,c!==null&&n.indexOf(c)===-1&&n.push(c),e)}function vv(e,n,i,a,c){switch(n){case"focusin":return Un=eo(Un,e,n,i,a,c),!0;case"dragenter":return Bn=eo(Bn,e,n,i,a,c),!0;case"mouseover":return zn=eo(zn,e,n,i,a,c),!0;case"pointerover":var h=c.pointerId;return Js.set(h,eo(Js.get(h)||null,e,n,i,a,c)),!0;case"gotpointercapture":return h=c.pointerId,Zs.set(h,eo(Zs.get(h)||null,e,n,i,a,c)),!0}return!1}function Ud(e){var n=_r(e.target);if(n!==null){var i=Er(n);if(i!==null){if(n=i.tag,n===13){if(n=bd(i),n!==null){e.blockedOn=n,jd(e.priority,function(){Fd(i)});return}}else if(n===3&&i.stateNode.current.memoizedState.isDehydrated){e.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}e.blockedOn=null}function di(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var i=ul(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(i===null){i=e.nativeEvent;var a=new i.constructor(i.type,i);Xa=a,i.target.dispatchEvent(a),Xa=null}else return n=mo(i),n!==null&&il(n),e.blockedOn=i,!1;n.shift()}return!0}function Bd(e,n,i){di(e)&&i.delete(n)}function wv(){al=!1,Un!==null&&di(Un)&&(Un=null),Bn!==null&&di(Bn)&&(Bn=null),zn!==null&&di(zn)&&(zn=null),Js.forEac
vendor: 24,752 bytes, lines 37-38
37h(Bd),Zs.forEach(Bd)}function to(e,n){e.blockedOn===n&&(e.blockedOn=null,al||(al=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,wv)))}function no(e){function n(c){return to(c,e)}if(0<ci.length){to(ci[0],e);for(var i=1;i<ci.length;i++){var a=ci[i];a.blockedOn===e&&(a.blockedOn=null)}}for(Un!==null&&to(Un,e),Bn!==null&&to(Bn,e),zn!==null&&to(zn,e),Js.forEach(n),Zs.forEach(n),i=0;i<$n.length;i++)a=$n[i],a.blockedOn===e&&(a.blockedOn=null);for(;0<$n.length&&(i=$n[0],i.blockedOn===null);)Ud(i),i.blockedOn===null&&$n.shift()}var rs=N.ReactCurrentBatchConfig,fi=!0;function xv(e,n,i,a){var c=De,h=rs.transition;rs.transition=null;try{De=1,ll(e,n,i,a)}finally{De=c,rs.transition=h}}function Ev(e,n,i,a){var c=De,h=rs.transition;rs.transition=null;try{De=4,ll(e,n,i,a)}finally{De=c,rs.transition=h}}function ll(e,n,i,a){if(fi){var c=ul(e,n,i,a);if(c===null)kl(e,n,a,hi,i),Md(e,a);else if(vv(c,e,n,i,a))a.stopPropagation();else if(Md(e,a),n&4&&-1<gv.indexOf(e)){for(;c!==null;){var h=mo(c);if(h!==null&&Id(h),h=ul(e,n,i,a),h===null&&kl(e,n,a,hi,i),h===c)break;c=h}c!==null&&a.stopPropagation()}else kl(e,n,a,null,i)}}var hi=null;function ul(e,n,i,a){if(hi=null,e=Ya(a),e=_r(e),e!==null)if(n=Er(e),n===null)e=null;else if(i=n.tag,i===13){if(e=bd(n),e!==null)return e;e=null}else if(i===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null);return hi=e,null}function zd(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(lv()){case nl:return 1;case Ad:return 4;case oi:case uv:return 16;case Od:return 536870912;default:return 16}default:return 16}}var Vn=null,cl=null,pi=null;function $d(){if(pi)return pi;var e,n=cl,i=n.length,a,c="value"in Vn?Vn.value:Vn.textContent,h=c.length;for(e=0;e<i&&n[e]===c[e];e++);var y=i-e;for(a=1;a<=y&&n[i-a]===c[h-a];a++);return pi=c.slice(e,1<a?1-a:void 0)}function mi(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function yi(){return!0}function Vd(){return!1}function Nt(e){function n(i,a,c,h,y){this._reactName=i,this._targetInst=c,this.type=a,this.nativeEvent=h,this.target=y,this.currentTarget=null;for(var x in e)e.hasOwnProperty(x)&&(i=e[x],this[x]=i?i(h):h[x]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?yi:Vd,this.isPropagationStopped=Vd,this}return B(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=yi)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=yi)},persist:function(){},isPersistent:yi}),n}var ss={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dl=Nt(ss),ro=B({},ss,{view:0,detail:0}),_v=Nt(ro),fl,hl,so,gi=B({},ro,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ml,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!==so&&(so&&e.type==="mousemove"?(fl=e.screenX-so.screenX,hl=e.screenY-so.screenY):hl=fl=0,so=e),fl)},movementY:function(e){return"movementY"in e?e.movementY:hl}}),qd=Nt(gi),Sv=B({},gi,{dataTransfer:0}),bv=Nt(Sv),Cv=B({},ro,{relatedTarget:0}),pl=Nt(Cv),kv=B({},ss,{animationName:0,elapsedTime:0,pseudoElement:0}),Rv=Nt(kv),Tv=B({},ss,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Pv=Nt(Tv),Av=B({},ss,{data:0}),Hd=Nt(Av),Ov={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Nv={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"},Lv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Iv(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=Lv[e])?!!n[e]:!1}function ml(){return Iv}var Fv=B({},ro,{key:function(e){if(e.key){var n=Ov[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=mi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Nv[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ml,charCode:function(e){return e.type==="keypress"?mi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?mi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Dv=Nt(Fv),jv=B({},gi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wd=Nt(jv),Mv=B({},ro,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ml}),Uv=Nt(Mv),Bv=B({},ss,{propertyName:0,elapsedTime:0,pseudoElement:0}),zv=Nt(Bv),$v=B({},gi,{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}),Vv=Nt($v),qv=[9,13,27,32],yl=f&&"CompositionEvent"in window,oo=null;f&&"documentMode"in document&&(oo=document.documentMode);var Hv=f&&"TextEvent"in window&&!oo,Qd=f&&(!yl||oo&&8<oo&&11>=oo),Kd=" ",Gd=!1;function Xd(e,n){switch(e){case"keyup":return qv.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Yd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var os=!1;function Wv(e,n){switch(e){case"compositionend":return Yd(n);case"keypress":return n.which!==32?null:(Gd=!0,Kd);case"textInput":return e=n.data,e===Kd&&Gd?null:e;default:return null}}function Qv(e,n){if(os)return e==="compositionend"||!yl&&Xd(e,n)?(e=$d(),pi=cl=Vn=null,os=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Qd&&n.locale!=="ko"?null:n.data;default:return null}}var Kv={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 Jd(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!Kv[e.type]:n==="textarea"}function Zd(e,n,i,a){wd(a),n=_i(n,"onChange"),0<n.length&&(i=new dl("onChange","change",null,i,a),e.push({event:i,listeners:n}))}var io=null,ao=null;function Gv(e){vf(e,0)}function vi(e){var n=cs(e);if(ot(n))return e}function Xv(e,n){if(e==="change")return n}var ef=!1;if(f){var gl;if(f){var vl="oninput"in document;if(!vl){var tf=document.createElement("div");tf.setAttribute("oninput","return;"),vl=typeof tf.oninput=="function"}gl=vl}else gl=!1;ef=gl&&(!document.documentMode||9<document.documentMode)}function nf(){io&&(io.detachEvent("onpropertychange",rf),ao=io=null)}function rf(e){if(e.propertyName==="value"&&vi(ao)){var n=[];Zd(n,ao,e,Ya(e)),Sd(Gv,n)}}function Yv(e,n,i){e==="focusin"?(nf(),io=n,ao=i,io.attachEvent("onpropertychange",rf)):e==="focusout"&&nf()}function Jv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return vi(ao)}function Zv(e,n){if(e==="click")return vi(n)}function ew(e,n){if(e==="input"||e==="change")return vi(n)}function tw(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var Zt=typeof Object.is=="function"?Object.is:tw;function lo(e,n){if(Zt(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var i=Object.keys(e),a=Object.keys(n);if(i.length!==a.length)return!1;for(a=0;a<i.length;a++){var c=i[a];if(!p.call(n,c)||!Zt(e[c],n[c]))return!1}return!0}function sf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function of(e,n){var i=sf(e);e=0;for(var a;i;){if(i.nodeType===3){if(a=e+i.textContent.length,e<=n&&a>=n)return{node:i,offset:n-e};e=a}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=sf(i)}}function af(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?af(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function lf(){for(var e=window,n=Gt();n instanceof e.HTMLIFrameElement;){try{var i=typeof n.contentWindow.location.href=="string"}catch{i=!1}if(i)e=n.contentWindow;else break;n=Gt(e.document)}return n}function wl(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function nw(e){var n=lf(),i=e.focusedElem,a=e.selectionRange;if(n!==i&&i&&i.ownerDocument&&af(i.ownerDocument.documentElement,i)){if(a!==null&&wl(i)){if(n=a.start,e=a.end,e===void 0&&(e=n),"selectionStart"in i)i.selectionStart=n,i.selectionEnd=Math.min(e,i.value.length);else if(e=(n=i.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var c=i.textContent.length,h=Math.min(a.start,c);a=a.end===void 0?h:Math.min(a.end,c),!e.extend&&h>a&&(c=a,a=h,h=c),c=of(i,h);var y=of(i,a);c&&y&&(e.rangeCount!==1||e.anchorNode!==c.node||e.anchorOffset!==c.offset||e.focusNode!==y.node||e.focusOffset!==y.offset)&&(n=n.createRange(),n.setStart(c.node,c.offset),e.removeAllRanges(),h>a?(e.addRange(n),e.extend(y.node,y.offset)):(n.setEnd(y.node,y.offset),e.addRange(n)))}}for(n=[],e=i;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<n.length;i++)e=n[i],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var rw=f&&"documentMode"in document&&11>=document.documentMode,is=null,xl=null,uo=null,El=!1;function uf(e,n,i){var a=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;El||is==null||is!==Gt(a)||(a=is,"selectionStart"in a&&wl(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}),uo&&lo(uo,a)||(uo=a,a=_i(xl,"onSelect"),0<a.length&&(n=new dl("onSelect","select",null,n,i),e.push({event:n,listeners:a}),n.target=is)))}function wi(e,n){var i={};return i[e.toLowerCase()]=n.toLowerCase(),i["Webkit"+e]="webkit"+n,i["Moz"+e]="moz"+n,i}var as={animationend:wi("Animation","AnimationEnd"),animationiteration:wi("Animation","AnimationIteration"),animationstart:wi("Animation","AnimationStart"),transitionend:wi("Transition","TransitionEnd")},_l={},cf={};f&&(cf=document.createElement("div").style,"AnimationEvent"in window||(delete as.animationend.animation,delete as.animationiteration.animation,delete as.animationstart.animation),"TransitionEvent"in window||delete as.transitionend.transition);function xi(e){if(_l[e])return _l[e];if(!as[e])return e;var n=as[e],i;for(i in n)if(n.hasOwnProperty(i)&&i in cf)return _l[e]=n[i];return e}var df=xi("animationend"),ff=xi("animationiteration"),hf=xi("animationstart"),pf=xi("transitionend"),mf=new Map,yf="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 qn(e,n){mf.set(e,n),u(n,[e])}for(var Sl=0;Sl<yf.length;Sl++){var bl=yf[Sl],sw=bl.toLowerCase(),ow=bl[0].toUpperCase()+bl.slice(1);qn(sw,"on"+ow)}qn(df,"onAnimationEnd"),qn(ff,"onAnimationIteration"),qn(hf,"onAnimationStart"),qn("dblclick","onDoubleClick"),qn("focusin","onFocus"),qn("focusout","onBlur"),qn(pf,"onTransitionEnd"),d("onMouseEnter",["mouseout","mouseover"]),d("onMouseLeave",["mouseout","mouseover"]),d("onPointerEnter",["pointerout","pointerover"]),d("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var co="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(" "),iw=new Set("cancel close invalid load scroll toggle".split(" ").concat(co));function gf(e,n,i){var a=e.type||"unknown-event";e.currentTarget=i,sv(a,n,void 0,e),e.currentTarget=null}function vf(e,n){n=(n&4)!==0;for(var i=0;i<e.length;i++){var a=e[i],c=a.event;a=a.listeners;e:{var h=void 0;if(n)for(var y=a.length-1;0<=y;y--){var x=a[y],b=x.instance,M=x.currentTarget;if(x=x.listener,b!==h&&c.isPropagationStopped())break e;gf(c,x,M),h=b}else for(y=0;y<a.length;y++){if(x=a[y],b=x.instance,M=x.currentTarget,x=x.listener,b!==h&&c.isPropagationStopped())break e;gf(c,x,M),h=b}}}if(si)throw e=tl,si=!1,tl=null,e}function Ue(e,n){var i=n[Nl];i===void 0&&(i=n[Nl]=new Set);var a=e+"__bubble";i.has(a)||(wf(n,e,2,!1),i.add(a))}function Cl(e,n,i){var a=0;n&&(a|=4),wf(i,e,a,n)}var Ei="_reactListening"+Math.random().toString(36).slice(2);function fo(e){if(!e[Ei]){e[Ei]=!0,o.forEach(function(i){i!=="selectionchange"&&(iw.has(i)||Cl(i,!1,e),Cl(i,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[Ei]||(n[Ei]=!0,Cl("selectionchange",!1,n))}}function wf(e,n,i,a){switch(zd(n)){case 1:var c=xv;break;case 4:c=Ev;break;default:c=ll}i=c.bind(null,n,i,e),c=void 0,!el||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(c=!0),a?c!==void 0?e.addEventListener(n,i,{capture:!0,passive:c}):e.addEventListener(n,i,!0):c!==void 0?e.addEventListener(n,i,{passive:c}):e.addEventListener(n,i,!1)}function kl(e,n,i,a,c){var h=a;if((n&1)===0&&(n&2)===0&&a!==null)e:for(;;){if(a===null)return;var y=a.tag;if(y===3||y===4){var x=a.stateNode.containerInfo;if(x===c||x.nodeType===8&&x.parentNode===c)break;if(y===4)for(y=a.return;y!==null;){var b=y.tag;if((b===3||b===4)&&(b=y.stateNode.containerInfo,b===c||b.nodeType===8&&b.parentNode===c))return;y=y.return}for(;x!==null;){if(y=_r(x),y===null)return;if(b=y.tag,b===5||b===6){a=h=y;continue e}x=x.parentNode}}a=a.return}Sd(function(){var M=h,H=Ya(i),W=[];e:{var V=mf.get(e);if(V!==void 0){var J=dl,re=e;switch(e){case"keypress":if(mi(i)===0)break e;case"keydown":case"keyup":J=Dv;break;case"focusin":re="focus",J=pl;break;case"focusout":re="blur",J=pl;break;case"beforeblur":case"afterblur":J=pl;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":J=qd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":J=bv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":J=Uv;break;case df:case ff:case hf:J=Rv;break;case pf:J=zv;break;case"scroll":J=_v;break;case"wheel":J=Vv;break;case"copy":case"cut":case"paste":J=Pv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":J=Wd}var ie=(n&4)!==0,Qe=!ie&&e==="scroll",F=ie?V!==null?V+"Capture":null:V;ie=[];for(var P=M,j;P!==null;){j=P;var Q=j.stateNode;if(j.tag===5&&Q!==null&&(j=Q,F!==null&&(Q=Qs(P,F),Q!=null&&ie.push(ho(P,Q,j)))),Qe)break;P=P.return}0<ie.length&&(V=new J(V,re,null,i,H),W.push({event:V,listeners:ie}))}}if((n&7)===0){e:{if(V=e==="mouseover"||e==="pointerover",J=e==="mouseout"||e==="pointerout",V&&i!==Xa&&(re=i.relatedTarget||i.fromElement)&&(_r(re)||re[_n]))break e;if((J||V)&&(V=H.window===H?H:(V=H.ownerDocument)?V.defaultView||V.parentWindow:window,J?(re=i.relatedTarget||i.toElement,J=M,re=re?_r(re):null,re!==null&&(Qe=Er(re),re!==Qe||re.tag!==5&&re.tag!==6)&&(re=null)):(J=null,re=M),J!==re)){if(ie=qd,Q="onMouseLeave",F="onMouseEnter",P="mouse",(e==="pointerout"||e==="pointerover")&&(ie=Wd,Q="onPointerLeave",F="onPointerEnter",P="pointer"),Qe=J==null?V:cs(J),j=re==null?V:cs(re),V=new ie(Q,P+"leave",J,i,H),V.target=Qe,V.relatedTarget=j,Q=null,_r(H)===M&&(ie=new ie(F,P+"enter",re,i,H),ie.target=j,ie.relatedTarget=Qe,Q=ie),Qe=Q,J&&re)t:{for(ie=J,F=re,P=0,j=ie;j;j=ls(j))P++;for(j=0,Q=F;Q;Q=ls(Q))j++;for(;0<P-j;)ie=ls(ie),P--;for(;0<j-P;)F=ls(F),j--;for(;P--;){if(ie===F||F!==null&&ie===F.alternate)break t;ie=ls(ie),F=ls(F)}ie=null}else ie=null;J!==null&&xf(W,V,J,ie,!1),re!==null&&Qe!==null&&xf(W,Qe,re,ie,!0)}}e:{if(V=M?cs(M):window,J=V.nodeName&&V.nodeName.toLowerCase(),J==="select"||J==="input"&&V.type==="file")var le=Xv;else if(Jd(V))if(ef)le=ew;else{le=Jv;var de=Yv}else(J=V.nodeName)&&J.toLowerCase()==="input"&&(V.type==="checkbox"||V.type==="radio")&&(le=Zv);if(le&&(le=le(e,M))){Zd(W,le,i,H);break e}de&&de(e,V,M),e==="focusout"&&(de=V._wrapperState)&&de.controlled&&V.type==="number"&&Yt(V,"number",V.value)}switch(de=M?cs(M):window,e){case"focusin":(Jd(de)||de.contentEditable==="true")&&(is=de,xl=M,uo=null);break;case"focusout":uo=xl=is=null;break;case"mousedown":El=!0;break;case"contextmenu":case"mouseup":case"dragend":El=!1,uf(W,i,H);break;case"selectionchange":if(rw)break;case"keydown":case"keyup":uf(W,i,H)}var fe;if(yl)e:{switch(e){case"compositionstart":var ge="onCompositionStart";break e;case"compositionend":ge="onCompositionEnd";break e;case"compositionupdate":ge="onCompositionUpdate";break e}ge=void 0}else os?Xd(e,i)&&(ge="onCompositionEnd"):e==="keydown"&&i.keyCode===229&&(ge="onCompositionStart");ge&&(Qd&&i.locale!=="ko"&&(os||ge!=="onCompositionStart"?ge==="onCompositionEnd"&&os&&(fe=$d()):(Vn=H,cl="value"in Vn?Vn.value:Vn.textContent,os=!0)),de=_i(M,ge),0<de.length&&(ge=new Hd(ge,e,null,i,H),W.push({event:ge,listeners:de}),fe?ge.data=fe:(fe=Yd(i),fe!==null&&(ge.data=fe)))),(fe=Hv?Wv(e,i):Qv(e,i))&&(M=_i(M,"onBeforeInput"),0<M.length&&(H=new Hd("onBeforeInput","beforeinput",null,i,H),W.push({event:H,listeners:M}),H.data=fe))}vf(W,n)})}function ho(e,n,i){return{instance:e,listener:n,currentTarget:i}}function _i(e,n){for(var i=n+"Capture",a=[];e!==null;){var c=e,h=c.stateNode;c.tag===5&&h!==null&&(c=h,h=Qs(e,i),h!=null&&a.unshift(ho(e,h,c)),h=Qs(e,n),h!=null&&a.push(ho(e,h,c))),e=e.return}return a}function ls(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function xf(e,n,i,a,c){for(var h=n._reactName,y=[];i!==null&&i!==a;){var x=i,b=x.alternate,M=x.stateNode;if(b!==null&&b===a)break;x.tag===5&&M!==null&&(x=M,c?(b=Qs(i,h),b!=null&&y.unshift(ho(i,b,x))):c||(b=Qs(i,h),b!=null&&y.push(ho(i,b,x)))),i=i.return}y.length!==0&&e.push({event:n,listeners:y})}var aw=/\r\n?/g,lw=/\u0000|\uFFFD/g;function Ef(e){return(typeof e=="string"?e:""+e).replace(aw,`
38`).replace(lw,"")}function Si(e,n,i){if(n=Ef(n),Ef(e)!==n&&i)throw Error(s(425))}function bi(){}var Rl=null,Tl=null;function Pl(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Al=typeof setTimeout=="function"?setTimeout:void 0,uw=typeof clearTimeout=="function"?clearTimeout:void 0,_f=typeof Promise=="function"?Promise:void 0,cw=typeof queueMicrotask=="function"?queueMicrotask:typeof _f<"u"?function(e){return _f.resolve(null).then(e).catch(dw)}:Al;function dw(e){setTimeout(function(){throw e})}function Ol(e,n){var i=n,a=0;do{var c=i.nextSibling;if(e.removeChild(i),c&&c.nodeType===8)if(i=c.data,i==="/$"){if(a===0){e.removeChild(c),no(n);return}a--}else i!=="$"&&i!=="$?"&&i!=="$!"||a++;i=c}while(i);no(n)}function Hn(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?")break;if(n==="/$")return null}}return e}function Sf(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var i=e.data;if(i==="$"||i==="$!"||i==="$?"){if(n===0)return e;n--}else i==="/$"&&n++}e=e.previousSibling}return null}var us=Math.random().toString(36).slice(2),dn="__reactFiber$"+us,po="__reactProps$"+us,_n="__reactContainer$"+us,Nl="__reactEvents$"+us,fw="__reactListeners$"+us,hw="__reactHandles$"+us;function _r(e){var n=e[dn];if(n)return n;for(var i=e.parentNode;i;){if(n=i[_n]||i[dn]){if(i=n.alternate,n.child!==null||i!==null&&i.child!==null)for(e=Sf(e);e!==null;){if(i=e[dn])return i;e=Sf(e)}return n}e=i,i=e.parentNode}return null}function mo(e){return e=e[dn]||e[_n],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function cs(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(s(33))}function Ci(e){return e[po]||null}var Ll=[],ds=-1;function Wn(e){return{current:e}}function Be(e){0>ds||(e.current=Ll[ds],Ll[ds]=null,ds--)}function je(e,n){ds++,Ll[ds]=e.current,e.current=n}var Qn={},ft=Wn(Qn),_t=Wn(!1),Sr=Qn;function fs(e,n){var i=e.type.contextTypes;if(!i)return Qn;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===n)return a.__reactInternalMemoizedMaskedChildContext;var c={},h;for(h in i)c[h]=n[h];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=c),c}function St(e){return e=e.childContextTypes,e!=null}function ki(){Be(_t),Be(ft)}function bf(e,n,i){if(ft.current!==Qn)throw Error(s(168));je(ft,n),je(_t,i)}function Cf(e,n,i){var a=e.stateNode;if(n=n.childContextTypes,typeof a.getChildContext!="function")return i;a=a.getChildContext();for(var c in a)if(!(c in n))throw Error(s(108,xe(e)||"Unknown",c));return B({},i,a)}function Ri(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Qn,Sr=ft.current,je(ft,e),je(_t,_t.current),!0}function kf(e,n,i){var a=e.stateNode;if(!a)throw Error(s(169));i?(e=Cf(e,n,Sr),a.__reactInternalMemoizedMergedChildContext=e,Be(_t),Be(ft),je(ft,e)):Be(_t),je(_t,i)}var Sn=null,Ti=!1,Il=!1;function Rf(e){Sn===null?Sn=[e]:Sn.push(e)}function pw(e){Ti=!0,Rf(e)}function Kn(){if(!Il&&Sn!==null){Il=!0;var e=0,n=De;try{var i=Sn;for(De=1;e<i.length;e++){var a=i[e];do a=a(!0);while(a!==null)}Sn=null,Ti=!1}catch(c){throw Sn!==null&&(Sn=Sn.slice(e+1)),Td(nl,Kn),c}finally{De=n,Il=!1}}return null}var hs=[],ps=0,Pi=null,Ai=0,Bt=[],zt=0,br=null,bn=1,Cn="";function Cr(e,n){hs[ps++]=Ai,hs[ps++]=Pi,Pi=e,Ai=n}function Tf(e,n,i){Bt[zt++]=bn,Bt[zt++]=Cn,Bt[zt++]=br,br=e;var a=bn;e=Cn;var c=32-Jt(a)-1;a&=~(1<<c),i+=1;var h=32-Jt(n)+c;
vendor: 6,006 bytes, line 38
38if(30<h){var y=c-c%5;h=(a&(1<<y)-1).toString(32),a>>=y,c-=y,bn=1<<32-Jt(n)+c|i<<c|a,Cn=h+e}else bn=1<<h|i<<c|a,Cn=e}function Fl(e){e.return!==null&&(Cr(e,1),Tf(e,1,0))}function Dl(e){for(;e===Pi;)Pi=hs[--ps],hs[ps]=null,Ai=hs[--ps],hs[ps]=null;for(;e===br;)br=Bt[--zt],Bt[zt]=null,Cn=Bt[--zt],Bt[zt]=null,bn=Bt[--zt],Bt[zt]=null}var Lt=null,It=null,ze=!1,en=null;function Pf(e,n){var i=Ht(5,null,null,0);i.elementType="DELETED",i.stateNode=n,i.return=e,n=e.deletions,n===null?(e.deletions=[i],e.flags|=16):n.push(i)}function Af(e,n){switch(e.tag){case 5:var i=e.type;return n=n.nodeType!==1||i.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(e.stateNode=n,Lt=e,It=Hn(n.firstChild),!0):!1;case 6:return n=e.pendingProps===""||n.nodeType!==3?null:n,n!==null?(e.stateNode=n,Lt=e,It=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(i=br!==null?{id:bn,overflow:Cn}:null,e.memoizedState={dehydrated:n,treeContext:i,retryLane:1073741824},i=Ht(18,null,null,0),i.stateNode=n,i.return=e,e.child=i,Lt=e,It=null,!0):!1;default:return!1}}function jl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ml(e){if(ze){var n=It;if(n){var i=n;if(!Af(e,n)){if(jl(e))throw Error(s(418));n=Hn(i.nextSibling);var a=Lt;n&&Af(e,n)?Pf(a,i):(e.flags=e.flags&-4097|2,ze=!1,Lt=e)}}else{if(jl(e))throw Error(s(418));e.flags=e.flags&-4097|2,ze=!1,Lt=e}}}function Of(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Lt=e}function Oi(e){if(e!==Lt)return!1;if(!ze)return Of(e),ze=!0,!1;var n;if((n=e.tag!==3)&&!(n=e.tag!==5)&&(n=e.type,n=n!=="head"&&n!=="body"&&!Pl(e.type,e.memoizedProps)),n&&(n=It)){if(jl(e))throw Nf(),Error(s(418));for(;n;)Pf(e,n),n=Hn(n.nextSibling)}if(Of(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var i=e.data;if(i==="/$"){if(n===0){It=Hn(e.nextSibling);break e}n--}else i!=="$"&&i!=="$!"&&i!=="$?"||n++}e=e.nextSibling}It=null}}else It=Lt?Hn(e.stateNode.nextSibling):null;return!0}function Nf(){for(var e=It;e;)e=Hn(e.nextSibling)}function ms(){It=Lt=null,ze=!1}function Ul(e){en===null?en=[e]:en.push(e)}var mw=N.ReactCurrentBatchConfig;function yo(e,n,i){if(e=i.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(i._owner){if(i=i._owner,i){if(i.tag!==1)throw Error(s(309));var a=i.stateNode}if(!a)throw Error(s(147,e));var c=a,h=""+e;return n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===h?n.ref:(n=function(y){var x=c.refs;y===null?delete x[h]:x[h]=y},n._stringRef=h,n)}if(typeof e!="string")throw Error(s(284));if(!i._owner)throw Error(s(290,e))}return e}function Ni(e,n){throw e=Object.prototype.toString.call(n),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function Lf(e){var n=e._init;return n(e._payload)}function If(e){function n(F,P){if(e){var j=F.deletions;j===null?(F.deletions=[P],F.flags|=16):j.push(P)}}function i(F,P){if(!e)return null;for(;P!==null;)n(F,P),P=P.sibling;return null}function a(F,P){for(F=new Map;P!==null;)P.key!==null?F.set(P.key,P):F.set(P.index,P),P=P.sibling;return F}function c(F,P){return F=nr(F,P),F.index=0,F.sibling=null,F}function h(F,P,j){return F.index=j,e?(j=F.alternate,j!==null?(j=j.index,j<P?(F.flags|=2,P):j):(F.flags|=2,P)):(F.flags|=1048576,P)}function y(F){return e&&F.alternate===null&&(F.flags|=2),F}function x(F,P,j,Q){return P===null||P.tag!==6?(P=Au(j,F.mode,Q),P.return=F,P):(P=c(P,j),P.return=F,P)}function b(F,P,j,Q){var le=j.type;return le===G?H(F,P,j.props.children,Q,j.key):P!==null&&(P.elementType===le||typeof le=="object"&&le!==null&&le.$$typeof===ue&&Lf(le)===P.type)?(Q=c(P,j.props),Q.ref=yo(F,P,j),Q.return=F,Q):(Q=na(j.type,j.key,j.props,null,F.mode,Q),Q.ref=yo(F,P,j),Q.return=F,Q)}function M(F,P,j,Q){return P===null||P.tag!==4||P.stateNode.containerInfo!==j.containerInfo||P.stateNode.implementation!==j.implementation?(P=Ou(j,F.mode,Q),P.return=F,P):(P=c(P,j.children||[]),P.return=F,P)}function H(F,P,j,Q,le){return P===null||P.tag!==7?(P=Lr(j,F.mode,Q,le),P.return=F,P):(P=c(P,j),P.return=F,P)}function W(F,P,j){if(typeof P=="string"&&P!==""||typeof P=="number")return P=Au(""+P,F.mode,j),P.return=F,P;if(typeof P=="object"&&P!==null){switch(P.$$typeof){case U:return j=na(P.type,P.key,P.props,null,F.mode,j),j.ref=yo(F,null,P),j.return=F,j;case q:return P=Ou(P,F.mode,j),P.return=F,P;case ue:var Q=P._init;return W(F,Q(P._payload),j)}if(jn(P)||ne(P))return P=Lr(P,F.mode,j,null),P.return=F,P;Ni(F,P)}return null}function V(F,P,j,Q){var le=P!==null?P.key:null;if(typeof j=="string"&&j!==""||typeof j=="number")return le!==null?null:x(F,P,""+j,Q);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case U:return j.key===le?b(F,P,j,Q):null;case q:return j.key===le?M(F,P,j,Q):null;case ue:return le=j._init,V(F,P,le(j._payload),Q)}if(jn(j)||ne(j))return le!==null?null:H(F,P,j,Q,null);Ni(F,j)}return null}function J(F,P,j,Q,le){if(typeof Q=="string"&&Q!==""||typeof Q=="number")return F=F.get(j)||null,x(P,F,""+Q,le);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case U:return F=F.get(Q.key===null?j:Q.key)||null,b(P,F,Q,le);case q:return F=F.get(Q.key===null?j:Q.key)||null,M(P,F,Q,le);case ue:var de=Q._init;return J(F,P,j,de(Q._payload),le)}if(jn(Q)||ne(Q))return F=F.get(j)||null,H(P,F,Q,le,null);Ni(P,Q)}return null}function re(F,P,j,Q){for(var le=null,de=null,fe=P,ge=P=0,rt=null;fe!==null&&ge<j.length;ge++){fe.index>ge?(rt=fe,fe=null):rt=fe.sibling;var Le=V(F,fe,j[ge],Q);if(Le===null){fe===null&&(fe=rt);break}e&&fe&&Le.alternate===null&&n(F,fe),P=h(Le,P,ge),de===null?le=Le:de.sibling=Le,de=Le,fe=rt}if(ge===j.length)return i(F,fe),ze&&Cr(F,ge),le;if(fe===null){for(;ge<j.length;ge++)fe=W(F,j[ge],Q),fe!==null&&(P=h(fe,P,ge),de===null?le=fe:de.sibling=fe,de=fe);return ze&&Cr(F,ge),le}for(fe=a(F,fe);ge<j.length;ge++)rt=J(fe,F,ge,j[ge],Q),rt!==null&&(e&&rt.alternate!==null&&fe.delete(rt.key===null?ge:rt.key),P=h(rt,P,ge),de===null?le=rt:de.sibling=rt,de=rt);return e&&fe.forEach(function(rr){return n(F,rr)}
vendor: 8,629 bytes, line 38
38),ze&&Cr(F,ge),le}function ie(F,P,j,Q){var le=ne(j);if(typeof le!="function")throw Error(s(150));if(j=le.call(j),j==null)throw Error(s(151));for(var de=le=null,fe=P,ge=P=0,rt=null,Le=j.next();fe!==null&&!Le.done;ge++,Le=j.next()){fe.index>ge?(rt=fe,fe=null):rt=fe.sibling;var rr=V(F,fe,Le.value,Q);if(rr===null){fe===null&&(fe=rt);break}e&&fe&&rr.alternate===null&&n(F,fe),P=h(rr,P,ge),de===null?le=rr:de.sibling=rr,de=rr,fe=rt}if(Le.done)return i(F,fe),ze&&Cr(F,ge),le;if(fe===null){for(;!Le.done;ge++,Le=j.next())Le=W(F,Le.value,Q),Le!==null&&(P=h(Le,P,ge),de===null?le=Le:de.sibling=Le,de=Le);return ze&&Cr(F,ge),le}for(fe=a(F,fe);!Le.done;ge++,Le=j.next())Le=J(fe,F,ge,Le.value,Q),Le!==null&&(e&&Le.alternate!==null&&fe.delete(Le.key===null?ge:Le.key),P=h(Le,P,ge),de===null?le=Le:de.sibling=Le,de=Le);return e&&fe.forEach(function(Kw){return n(F,Kw)}),ze&&Cr(F,ge),le}function Qe(F,P,j,Q){if(typeof j=="object"&&j!==null&&j.type===G&&j.key===null&&(j=j.props.children),typeof j=="object"&&j!==null){switch(j.$$typeof){case U:e:{for(var le=j.key,de=P;de!==null;){if(de.key===le){if(le=j.type,le===G){if(de.tag===7){i(F,de.sibling),P=c(de,j.props.children),P.return=F,F=P;break e}}else if(de.elementType===le||typeof le=="object"&&le!==null&&le.$$typeof===ue&&Lf(le)===de.type){i(F,de.sibling),P=c(de,j.props),P.ref=yo(F,de,j),P.return=F,F=P;break e}i(F,de);break}else n(F,de);de=de.sibling}j.type===G?(P=Lr(j.props.children,F.mode,Q,j.key),P.return=F,F=P):(Q=na(j.type,j.key,j.props,null,F.mode,Q),Q.ref=yo(F,P,j),Q.return=F,F=Q)}return y(F);case q:e:{for(de=j.key;P!==null;){if(P.key===de)if(P.tag===4&&P.stateNode.containerInfo===j.containerInfo&&P.stateNode.implementation===j.implementation){i(F,P.sibling),P=c(P,j.children||[]),P.return=F,F=P;break e}else{i(F,P);break}else n(F,P);P=P.sibling}P=Ou(j,F.mode,Q),P.return=F,F=P}return y(F);case ue:return de=j._init,Qe(F,P,de(j._payload),Q)}if(jn(j))return re(F,P,j,Q);if(ne(j))return ie(F,P,j,Q);Ni(F,j)}return typeof j=="string"&&j!==""||typeof j=="number"?(j=""+j,P!==null&&P.tag===6?(i(F,P.sibling),P=c(P,j),P.return=F,F=P):(i(F,P),P=Au(j,F.mode,Q),P.return=F,F=P),y(F)):i(F,P)}return Qe}var ys=If(!0),Ff=If(!1),Li=Wn(null),Ii=null,gs=null,Bl=null;function zl(){Bl=gs=Ii=null}function $l(e){var n=Li.current;Be(Li),e._currentValue=n}function Vl(e,n,i){for(;e!==null;){var a=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,a!==null&&(a.childLanes|=n)):a!==null&&(a.childLanes&n)!==n&&(a.childLanes|=n),e===i)break;e=e.return}}function vs(e,n){Ii=e,Bl=gs=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&n)!==0&&(bt=!0),e.firstContext=null)}function $t(e){var n=e._currentValue;if(Bl!==e)if(e={context:e,memoizedValue:n,next:null},gs===null){if(Ii===null)throw Error(s(308));gs=e,Ii.dependencies={lanes:0,firstContext:e}}else gs=gs.next=e;return n}var kr=null;function ql(e){kr===null?kr=[e]:kr.push(e)}function Df(e,n,i,a){var c=n.interleaved;return c===null?(i.next=i,ql(n)):(i.next=c.next,c.next=i),n.interleaved=i,kn(e,a)}function kn(e,n){e.lanes|=n;var i=e.alternate;for(i!==null&&(i.lanes|=n),i=e,e=e.return;e!==null;)e.childLanes|=n,i=e.alternate,i!==null&&(i.childLanes|=n),i=e,e=e.return;return i.tag===3?i.stateNode:null}var Gn=!1;function Hl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function jf(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Rn(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function Xn(e,n,i){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(Ne&2)!==0){var c=a.pending;return c===null?n.next=n:(n.next=c.next,c.next=n),a.pending=n,kn(e,i)}return c=a.interleaved,c===null?(n.next=n,ql(a)):(n.next=c.next,c.next=n),a.interleaved=n,kn(e,i)}function Fi(e,n,i){if(n=n.updateQueue,n!==null&&(n=n.shared,(i&4194240)!==0)){var a=n.lanes;a&=e.pendingLanes,i|=a,n.lanes=i,ol(e,i)}}function Mf(e,n){var i=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,i===a)){var c=null,h=null;if(i=i.firstBaseUpdate,i!==null){do{var y={eventTime:i.eventTime,lane:i.lane,tag:i.tag,payload:i.payload,callback:i.callback,next:null};h===null?c=h=y:h=h.next=y,i=i.next}while(i!==null);h===null?c=h=n:h=h.next=n}else c=h=n;i={baseState:a.baseState,firstBaseUpdate:c,lastBaseUpdate:h,shared:a.shared,effects:a.effects},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=n:e.next=n,i.lastBaseUpdate=n}function Di(e,n,i,a){var c=e.updateQueue;Gn=!1;var h=c.firstBaseUpdate,y=c.lastBaseUpdate,x=c.shared.pending;if(x!==null){c.shared.pending=null;var b=x,M=b.next;b.next=null,y===null?h=M:y.next=M,y=b;var H=e.alternate;H!==null&&(H=H.updateQueue,x=H.lastBaseUpdate,x!==y&&(x===null?H.firstBaseUpdate=M:x.next=M,H.lastBaseUpdate=b))}if(h!==null){var W=c.baseState;y=0,H=M=b=null,x=h;do{var V=x.lane,J=x.eventTime;if((a&V)===V){H!==null&&(H=H.next={eventTime:J,lane:0,tag:x.tag,payload:x.payload,callback:x.callback,next:null});e:{var re=e,ie=x;switch(V=n,J=i,ie.tag){case 1:if(re=ie.payload,typeof re=="function"){W=re.call(J,W,V);break e}W=re;break e;case 3:re.flags=re.flags&-65537|128;case 0:if(re=ie.payload,V=typeof re=="function"?re.call(J,W,V):re,V==null)break e;W=B({},W,V);break e;case 2:Gn=!0}}x.callback!==null&&x.lane!==0&&(e.flags|=64,V=c.effects,V===null?c.effects=[x]:V.push(x))}else J={eventTime:J,lane:V,tag:x.tag,payload:x.payload,callback:x.callback,next:null},H===null?(M=H=J,b=W):H=H.next=J,y|=V;if(x=x.next,x===null){if(x=c.shared.pending,x===null)break;V=x,x=V.next,V.next=null,c.lastBaseUpdate=V,c.shared.pending=null}}while(!0);if(H===null&&(b=W),c.baseState=b,c.firstBaseUpdate=M,c.lastBaseUpdate=H,n=c.shared.interleaved,n!==null){c=n;do y|=c.lane,c=c.next;while(c!==n)}else h===null&&(c.shared.lanes=0);Pr|=y,e.lanes=y,e.memoizedState=W}}function Uf(e,n,i){if(e=n.effects,n.effects=null,e!==null)for(n=0;n<e.length;n++){var a=e[n],c=a.callback;if(c!==null){if(a.callback=null,a=i,typeof c!="function")throw Error(s(191,c));c.call(a)}}}var go={},fn=Wn(go),vo=Wn(go),wo=Wn(go);function Rr(e){if(e===go)throw Error(s(174));return e}function Wl(e,n){switch(je(wo,n),je(vo,e),je(fn,go),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:Qa(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=Qa(n,e)}Be(fn),je(fn,n)}function ws(){Be(fn),Be(vo),Be(wo)}function Bf(e){Rr(wo.current);var n=Rr(fn.current),i=Qa(n,e.type);n!==i&&(je(vo,e),je(fn,i))}function Ql(e){vo.current===e&&(Be(fn),Be(vo))}var $e=Wn(0);function ji(e){for(var n=e;n!==null;){if(n.tag===13){var i=n.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||i.data==="$?"||i.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Kl=[];function Gl(){for(var e=0;e<Kl.length;e++)Kl[e]._workInProgressVersionPrimary=null;Kl.length=0}var Mi=N.ReactCurrentDispatcher,Xl=N.ReactCurrentBatchConfig,Tr=0,Ve=null,Ye=null,tt=null,Ui=!1,xo=!1,Eo=0,yw=0;function ht(){throw Error(s(321))}function Yl(e,n){if(n===null)return!1;for(var i=0;i<n.length&&i<e.length;i++)if(!Zt(e[i],n[i]))return!1;return!0}function Jl(e,n,i,a,c,h){if(Tr=h,Ve=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,Mi.current=e===null||e.memoizedState===null?xw:Ew,e=i(a,c),xo){h=0;do{if(xo=!1,Eo=0,25<=h)throw Error(s(301));h+=1,tt=Ye=null,n.updateQueue=null,Mi.current=_w,e=i(a,c)}while(xo)}if(Mi.current=$i,n=Ye!==null&&Ye.next!==null,Tr=0,tt=Ye=Ve=null,Ui=!1,n)throw Error(s(300));return e}function Zl(){var e=Eo!==0;return Eo=0,e}function hn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return tt===null?Ve.memoizedState=tt=e:tt=tt.next=e,tt}function Vt(){if(Ye===null){var e=Ve.alternate;e=e!==null?e.memoizedState:null}else e=Ye.next;var n=tt===null?Ve.memoizedState:tt.next;if(n!==null)tt=n,Ye=e;else{if(e===null)throw Error(s(310));Ye=e,e={memoizedState:Ye.memoizedState,baseState:Ye.baseState,baseQueue:Ye.baseQueue,queue:Ye.queue,next:null},tt===null?Ve.memoizedState=tt=e:tt=tt.next=e}return tt}function _o(e,n){return typeof n=="function"?n(e):n}function eu(e){var n=Vt(),i=n.queue;if(i===null)throw Error(s(311));i.lastRenderedReducer=e;var a=Ye,c=a.baseQueue,h=i.pending;if(h!==null){if(c!==null){var y=c.next;c.next=h.next,h.next=y}
vendor: 4,569 bytes, line 38
38a.baseQueue=c=h,i.pending=null}if(c!==null){h=c.next,a=a.baseState;var x=y=null,b=null,M=h;do{var H=M.lane;if((Tr&H)===H)b!==null&&(b=b.next={lane:0,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null}),a=M.hasEagerState?M.eagerState:e(a,M.action);else{var W={lane:H,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null};b===null?(x=b=W,y=a):b=b.next=W,Ve.lanes|=H,Pr|=H}M=M.next}while(M!==null&&M!==h);b===null?y=a:b.next=x,Zt(a,n.memoizedState)||(bt=!0),n.memoizedState=a,n.baseState=y,n.baseQueue=b,i.lastRenderedState=a}if(e=i.interleaved,e!==null){c=e;do h=c.lane,Ve.lanes|=h,Pr|=h,c=c.next;while(c!==e)}else c===null&&(i.lanes=0);return[n.memoizedState,i.dispatch]}function tu(e){var n=Vt(),i=n.queue;if(i===null)throw Error(s(311));i.lastRenderedReducer=e;var a=i.dispatch,c=i.pending,h=n.memoizedState;if(c!==null){i.pending=null;var y=c=c.next;do h=e(h,y.action),y=y.next;while(y!==c);Zt(h,n.memoizedState)||(bt=!0),n.memoizedState=h,n.baseQueue===null&&(n.baseState=h),i.lastRenderedState=h}return[h,a]}function zf(){}function $f(e,n){var i=Ve,a=Vt(),c=n(),h=!Zt(a.memoizedState,c);if(h&&(a.memoizedState=c,bt=!0),a=a.queue,nu(Hf.bind(null,i,a,e),[e]),a.getSnapshot!==n||h||tt!==null&&tt.memoizedState.tag&1){if(i.flags|=2048,So(9,qf.bind(null,i,a,c,n),void 0,null),nt===null)throw Error(s(349));(Tr&30)!==0||Vf(i,n,c)}return c}function Vf(e,n,i){e.flags|=16384,e={getSnapshot:n,value:i},n=Ve.updateQueue,n===null?(n={lastEffect:null,stores:null},Ve.updateQueue=n,n.stores=[e]):(i=n.stores,i===null?n.stores=[e]:i.push(e))}function qf(e,n,i,a){n.value=i,n.getSnapshot=a,Wf(n)&&Qf(e)}function Hf(e,n,i){return i(function(){Wf(n)&&Qf(e)})}function Wf(e){var n=e.getSnapshot;e=e.value;try{var i=n();return!Zt(e,i)}catch{return!0}}function Qf(e){var n=kn(e,1);n!==null&&sn(n,e,1,-1)}function Kf(e){var n=hn();return typeof e=="function"&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:_o,lastRenderedState:e},n.queue=e,e=e.dispatch=ww.bind(null,Ve,e),[n.memoizedState,e]}function So(e,n,i,a){return e={tag:e,create:n,destroy:i,deps:a,next:null},n=Ve.updateQueue,n===null?(n={lastEffect:null,stores:null},Ve.updateQueue=n,n.lastEffect=e.next=e):(i=n.lastEffect,i===null?n.lastEffect=e.next=e:(a=i.next,i.next=e,e.next=a,n.lastEffect=e)),e}function Gf(){return Vt().memoizedState}function Bi(e,n,i,a){var c=hn();Ve.flags|=e,c.memoizedState=So(1|n,i,void 0,a===void 0?null:a)}function zi(e,n,i,a){var c=Vt();a=a===void 0?null:a;var h=void 0;if(Ye!==null){var y=Ye.memoizedState;if(h=y.destroy,a!==null&&Yl(a,y.deps)){c.memoizedState=So(n,i,h,a);return}}Ve.flags|=e,c.memoizedState=So(1|n,i,h,a)}function Xf(e,n){return Bi(8390656,8,e,n)}function nu(e,n){return zi(2048,8,e,n)}function Yf(e,n){return zi(4,2,e,n)}function Jf(e,n){return zi(4,4,e,n)}function Zf(e,n){if(typeof n=="function")return e=e(),n(e),function(){n(null)};if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function eh(e,n,i){return i=i!=null?i.concat([e]):null,zi(4,4,Zf.bind(null,n,e),i)}function ru(){}function th(e,n){var i=Vt();n=n===void 0?null:n;var a=i.memoizedState;return a!==null&&n!==null&&Yl(n,a[1])?a[0]:(i.memoizedState=[e,n],e)}function nh(e,n){var i=Vt();n=n===void 0?null:n;var a=i.memoizedState;return a!==null&&n!==null&&Yl(n,a[1])?a[0]:(e=e(),i.memoizedState=[e,n],e)}function rh(e,n,i){return(Tr&21)===0?(e.baseState&&(e.baseState=!1,bt=!0),e.memoizedState=i):(Zt(i,n)||(i=Nd(),Ve.lanes|=i,Pr|=i,e.baseState=!0),n)}function gw(e,n){var i=De;De=i!==0&&4>i?i:4,e(!0);var a=Xl.transition;Xl.transition={};try{e(!1),n()}finally{De=i,Xl.transition=a}}function sh(){return Vt().memoizedState}function vw(e,n,i){var a=er(e);if(i={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null},oh(e))ih(n,i);else if(i=Df(e,n,i,a),i!==null){var c=xt();sn(i,e,a,c),ah(i,n,a)}}function ww(e,n,i){var a=er(e),c={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null};if(oh(e))ih(n,c);else{var h=e.alternate;if(e.lanes===0&&(h===null||h.lanes===0)&&(h=n.lastRenderedReducer,h!==null))try{var y=n.lastRenderedState,x=h(y,i);if(c.hasEagerState=!0,c.eagerState=x,Zt(x,y)){var b=n.interleaved;b===null?(c.next=c,ql(n)):(c.next=b.next,b.next=c),n.interleaved=c;return}}catch{}finally{}i=Df(e,n,c,a),i!==null&&(c=xt(),sn(i,e,a,c),ah(i,n,a))}}function oh(e){var n=e.alternate;return e===Ve||n!==null&&n===Ve}function ih(e,n){xo=Ui=!0;var i=e.pending;i===null?n.next=n:(n.next=i.next,i.next=n),e.pending=n}function ah(e,n,i){if((i&4194240)!==0){var a=n.lanes;
vendor: 6,771 bytes, lines 38-40
38a&=e.pendingLanes,i|=a,n.lanes=i,ol(e,i)}}var $i={readContext:$t,useCallback:ht,useContext:ht,useEffect:ht,useImperativeHandle:ht,useInsertionEffect:ht,useLayoutEffect:ht,useMemo:ht,useReducer:ht,useRef:ht,useState:ht,useDebugValue:ht,useDeferredValue:ht,useTransition:ht,useMutableSource:ht,useSyncExternalStore:ht,useId:ht,unstable_isNewReconciler:!1},xw={readContext:$t,useCallback:function(e,n){return hn().memoizedState=[e,n===void 0?null:n],e},useContext:$t,useEffect:Xf,useImperativeHandle:function(e,n,i){return i=i!=null?i.concat([e]):null,Bi(4194308,4,Zf.bind(null,n,e),i)},useLayoutEffect:function(e,n){return Bi(4194308,4,e,n)},useInsertionEffect:function(e,n){return Bi(4,2,e,n)},useMemo:function(e,n){var i=hn();return n=n===void 0?null:n,e=e(),i.memoizedState=[e,n],e},useReducer:function(e,n,i){var a=hn();return n=i!==void 0?i(n):n,a.memoizedState=a.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},a.queue=e,e=e.dispatch=vw.bind(null,Ve,e),[a.memoizedState,e]},useRef:function(e){var n=hn();return e={current:e},n.memoizedState=e},useState:Kf,useDebugValue:ru,useDeferredValue:function(e){return hn().memoizedState=e},useTransition:function(){var e=Kf(!1),n=e[0];return e=gw.bind(null,e[1]),hn().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,i){var a=Ve,c=hn();if(ze){if(i===void 0)throw Error(s(407));i=i()}else{if(i=n(),nt===null)throw Error(s(349));(Tr&30)!==0||Vf(a,n,i)}c.memoizedState=i;var h={value:i,getSnapshot:n};return c.queue=h,Xf(Hf.bind(null,a,h,e),[e]),a.flags|=2048,So(9,qf.bind(null,a,h,i,n),void 0,null),i},useId:function(){var e=hn(),n=nt.identifierPrefix;if(ze){var i=Cn,a=bn;i=(a&~(1<<32-Jt(a)-1)).toString(32)+i,n=":"+n+"R"+i,i=Eo++,0<i&&(n+="H"+i.toString(32)),n+=":"}else i=yw++,n=":"+n+"r"+i.toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},Ew={readContext:$t,useCallback:th,useContext:$t,useEffect:nu,useImperativeHandle:eh,useInsertionEffect:Yf,useLayoutEffect:Jf,useMemo:nh,useReducer:eu,useRef:Gf,useState:function(){return eu(_o)},useDebugValue:ru,useDeferredValue:function(e){var n=Vt();return rh(n,Ye.memoizedState,e)},useTransition:function(){var e=eu(_o)[0],n=Vt().memoizedState;return[e,n]},useMutableSource:zf,useSyncExternalStore:$f,useId:sh,unstable_isNewReconciler:!1},_w={readContext:$t,useCallback:th,useContext:$t,useEffect:nu,useImperativeHandle:eh,useInsertionEffect:Yf,useLayoutEffect:Jf,useMemo:nh,useReducer:tu,useRef:Gf,useState:function(){return tu(_o)},useDebugValue:ru,useDeferredValue:function(e){var n=Vt();return Ye===null?n.memoizedState=e:rh(n,Ye.memoizedState,e)},useTransition:function(){var e=tu(_o)[0],n=Vt().memoizedState;return[e,n]},useMutableSource:zf,useSyncExternalStore:$f,useId:sh,unstable_isNewReconciler:!1};function tn(e,n){if(e&&e.defaultProps){n=B({},n),e=e.defaultProps;for(var i in e)n[i]===void 0&&(n[i]=e[i]);return n}return n}function su(e,n,i,a){n=e.memoizedState,i=i(a,n),i=i==null?n:B({},n,i),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}var Vi={isMounted:function(e){return(e=e._reactInternals)?Er(e)===e:!1},enqueueSetState:function(e,n,i){e=e._reactInternals;var a=xt(),c=er(e),h=Rn(a,c);h.payload=n,i!=null&&(h.callback=i),n=Xn(e,h,c),n!==null&&(sn(n,e,c,a),Fi(n,e,c))},enqueueReplaceState:function(e,n,i){e=e._reactInternals;var a=xt(),c=er(e),h=Rn(a,c);h.tag=1,h.payload=n,i!=null&&(h.callback=i),n=Xn(e,h,c),n!==null&&(sn(n,e,c,a),Fi(n,e,c))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var i=xt(),a=er(e),c=Rn(i,a);c.tag=2,n!=null&&(c.callback=n),n=Xn(e,c,a),n!==null&&(sn(n,e,a,i),Fi(n,e,a))}};function lh(e,n,i,a,c,h,y){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,h,y):n.prototype&&n.prototype.isPureReactComponent?!lo(i,a)||!lo(c,h):!0}function uh(e,n,i){var a=!1,c=Qn,h=n.contextType;return typeof h=="object"&&h!==null?h=$t(h):(c=St(n)?Sr:ft.current,a=n.contextTypes,h=(a=a!=null)?fs(e,c):Qn),n=new n(i,h),e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=Vi,e.stateNode=n,n._reactInternals=e,a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=c,e.__reactInternalMemoizedMaskedChildContext=h),n}function ch(e,n,i,a){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(i,a),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(i,a),n.state!==e&&Vi.enqueueReplaceState(n,n.state,null)}function ou(e,n,i,a){var c=e.stateNode;c.props=i,c.state=e.memoizedState,c.refs={},Hl(e);var h=n.contextType;typeof h=="object"&&h!==null?c.context=$t(h):(h=St(n)?Sr:ft.current,c.context=fs(e,h)),c.state=e.memoizedState,h=n.getDerivedStateFromProps,typeof h=="function"&&(su(e,n,h,i),c.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(n=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),n!==c.state&&Vi.enqueueReplaceState(c,c.state,null),Di(e,i,c,a),c.state=e.memoizedState),typeof c.componentDidMount=="function"&&(e.flags|=4194308)}function xs(e,n){try{var i="",a=n;do i+=he(a),a=a.return;while(a);var c=i}catch(h){c=`
39Error generating stack: `+h.message+`
40`+h.stack}return{value:e,source:n,stack:c,digest:null}}function iu(e,n,i){return{value:e,source:null,stack:i??null,digest:n??null}}function au(e,n){try{console.error(n.value)}catch(i){setTimeout(function(){throw i})}}var Sw=typeof WeakMap=="function"?WeakMap:Map;function dh(e,n,i){i=Rn(-1,i),i.tag=3,i.payload={element:null};var a=n.value;return i.callback=function(){Xi||(Xi=!0,_u=a),au(e,n)},i}function fh(e,n,i){i=Rn(-1,i),i.tag=3;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var c=n.value;i.payload=function(){return a(c)},i.callback=function(){au(e,n)}}var h=e.stateNode;return h!==null&&typeof h.componentDidCatch=="function"&&(i.callback=function(){au(e,n),typeof a!="function"&&(Jn===null?Jn=new Set([this]):Jn.add(this));var y=n.stack;this.componentDidCatch(n.value,{componentStack:y!==null?y:""})}),i}function hh(e,n,i){var a=e.pingCache;if(a===null){a=e.pingCache=new Sw;var c=new Set;a.set(n,c)}else c=a.get(n),c===void 0&&(c=new Set,a.set(n,c));c.has(i)||(c.add(i),e=jw.bind(null,e,n,i),n.then(e,e))}function ph(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function mh(e,n,i,a,c){return(e.mode&1)===0?(e===n?e.flags|=65536:(e.flags|=128,i.flags|=131072,i.flags&=-52805,i.tag===1&&(i.alternate===null?i.tag=17:(n=Rn(-1,1),n.tag=2,Xn(i,n,1
vendor: 30,466 bytes, line 40
40))),i.lanes|=1),e):(e.flags|=65536,e.lanes=c,e)}var bw=N.ReactCurrentOwner,bt=!1;function wt(e,n,i,a){n.child=e===null?Ff(n,null,i,a):ys(n,e.child,i,a)}function yh(e,n,i,a,c){i=i.render;var h=n.ref;return vs(n,c),a=Jl(e,n,i,a,h,c),i=Zl(),e!==null&&!bt?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~c,Tn(e,n,c)):(ze&&i&&Fl(n),n.flags|=1,wt(e,n,a,c),n.child)}function gh(e,n,i,a,c){if(e===null){var h=i.type;return typeof h=="function"&&!Pu(h)&&h.defaultProps===void 0&&i.compare===null&&i.defaultProps===void 0?(n.tag=15,n.type=h,vh(e,n,h,a,c)):(e=na(i.type,null,a,n,n.mode,c),e.ref=n.ref,e.return=n,n.child=e)}if(h=e.child,(e.lanes&c)===0){var y=h.memoizedProps;if(i=i.compare,i=i!==null?i:lo,i(y,a)&&e.ref===n.ref)return Tn(e,n,c)}return n.flags|=1,e=nr(h,a),e.ref=n.ref,e.return=n,n.child=e}function vh(e,n,i,a,c){if(e!==null){var h=e.memoizedProps;if(lo(h,a)&&e.ref===n.ref)if(bt=!1,n.pendingProps=a=h,(e.lanes&c)!==0)(e.flags&131072)!==0&&(bt=!0);else return n.lanes=e.lanes,Tn(e,n,c)}return lu(e,n,i,a,c)}function wh(e,n,i){var a=n.pendingProps,c=a.children,h=e!==null?e.memoizedState:null;if(a.mode==="hidden")if((n.mode&1)===0)n.memoizedState={baseLanes:0,cachePool:null,transitions:null},je(_s,Ft),Ft|=i;else{if((i&1073741824)===0)return e=h!==null?h.baseLanes|i:i,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,je(_s,Ft),Ft|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=h!==null?h.baseLanes:i,je(_s,Ft),Ft|=a}else h!==null?(a=h.baseLanes|i,n.memoizedState=null):a=i,je(_s,Ft),Ft|=a;return wt(e,n,c,i),n.child}function xh(e,n){var i=n.ref;(e===null&&i!==null||e!==null&&e.ref!==i)&&(n.flags|=512,n.flags|=2097152)}function lu(e,n,i,a,c){var h=St(i)?Sr:ft.current;return h=fs(n,h),vs(n,c),i=Jl(e,n,i,a,h,c),a=Zl(),e!==null&&!bt?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~c,Tn(e,n,c)):(ze&&a&&Fl(n),n.flags|=1,wt(e,n,i,c),n.child)}function Eh(e,n,i,a,c){if(St(i)){var h=!0;Ri(n)}else h=!1;if(vs(n,c),n.stateNode===null)Hi(e,n),uh(n,i,a),ou(n,i,a,c),a=!0;else if(e===null){var y=n.stateNode,x=n.memoizedProps;y.props=x;var b=y.context,M=i.contextType;typeof M=="object"&&M!==null?M=$t(M):(M=St(i)?Sr:ft.current,M=fs(n,M));var H=i.getDerivedStateFromProps,W=typeof H=="function"||typeof y.getSnapshotBeforeUpdate=="function";W||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(x!==a||b!==M)&&ch(n,y,a,M),Gn=!1;var V=n.memoizedState;y.state=V,Di(n,a,y,c),b=n.memoizedState,x!==a||V!==b||_t.current||Gn?(typeof H=="function"&&(su(n,i,H,a),b=n.memoizedState),(x=Gn||lh(n,i,x,a,V,b,M))?(W||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount()),typeof y.componentDidMount=="function"&&(n.flags|=4194308)):(typeof y.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=a,n.memoizedState=b),y.props=a,y.state=b,y.context=M,a=x):(typeof y.componentDidMount=="function"&&(n.flags|=4194308),a=!1)}else{y=n.stateNode,jf(e,n),x=n.memoizedProps,M=n.type===n.elementType?x:tn(n.type,x),y.props=M,W=n.pendingProps,V=y.context,b=i.contextType,typeof b=="object"&&b!==null?b=$t(b):(b=St(i)?Sr:ft.current,b=fs(n,b));var J=i.getDerivedStateFromProps;(H=typeof J=="function"||typeof y.getSnapshotBeforeUpdate=="function")||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(x!==W||V!==b)&&ch(n,y,a,b),Gn=!1,V=n.memoizedState,y.state=V,Di(n,a,y,c);var re=n.memoizedState;x!==W||V!==re||_t.current||Gn?(typeof J=="function"&&(su(n,i,J,a),re=n.memoizedState),(M=Gn||lh(n,i,M,a,V,re,b)||!1)?(H||typeof y.UNSAFE_componentWillUpdate!="function"&&typeof y.componentWillUpdate!="function"||(typeof y.componentWillUpdate=="function"&&y.componentWillUpdate(a,re,b),typeof y.UNSAFE_componentWillUpdate=="function"&&y.UNSAFE_componentWillUpdate(a,re,b)),typeof y.componentDidUpdate=="function"&&(n.flags|=4),typeof y.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof y.componentDidUpdate!="function"||x===e.memoizedProps&&V===e.memoizedState||(n.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||x===e.memoizedProps&&V===e.memoizedState||(n.flags|=1024),n.memoizedProps=a,n.memoizedState=re),y.props=a,y.state=re,y.context=b,a=M):(typeof y.componentDidUpdate!="function"||x===e.memoizedProps&&V===e.memoizedState||(n.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||x===e.memoizedProps&&V===e.memoizedState||(n.flags|=1024),a=!1)}return uu(e,n,i,a,h,c)}function uu(e,n,i,a,c,h){xh(e,n);var y=(n.flags&128)!==0;if(!a&&!y)return c&&kf(n,i,!1),Tn(e,n,h);a=n.stateNode,bw.current=n;var x=y&&typeof i.getDerivedStateFromError!="function"?null:a.render();return n.flags|=1,e!==null&&y?(n.child=ys(n,e.child,null,h),n.child=ys(n,null,x,h)):wt(e,n,x,h),n.memoizedState=a.state,c&&kf(n,i,!0),n.child}function _h(e){var n=e.stateNode;n.pendingContext?bf(e,n.pendingContext,n.pendingContext!==n.context):n.context&&bf(e,n.context,!1),Wl(e,n.containerInfo)}function Sh(e,n,i,a,c){return ms(),Ul(c),n.flags|=256,wt(e,n,i,a),n.child}var cu={dehydrated:null,treeContext:null,retryLane:0};function du(e){return{baseLanes:e,cachePool:null,transitions:null}}function bh(e,n,i){var a=n.pendingProps,c=$e.current,h=!1,y=(n.flags&128)!==0,x;if((x=y)||(x=e!==null&&e.memoizedState===null?!1:(c&2)!==0),x?(h=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(c|=1),je($e,c&1),e===null)return Ml(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((n.mode&1)===0?n.lanes=1:e.data==="$!"?n.lanes=8:n.lanes=1073741824,null):(y=a.children,e=a.fallback,h?(a=n.mode,h=n.child,y={mode:"hidden",children:y},(a&1)===0&&h!==null?(h.childLanes=0,h.pendingProps=y):h=ra(y,a,0,null),e=Lr(e,a,i,null),h.return=n,e.return=n,h.sibling=e,n.child=h,n.child.memoizedState=du(i),n.memoizedState=cu,e):fu(n,y));if(c=e.memoizedState,c!==null&&(x=c.dehydrated,x!==null))return Cw(e,n,y,a,x,c,i);if(h){h=a.fallback,y=n.mode,c=e.child,x=c.sibling;var b={mode:"hidden",children:a.children};return(y&1)===0&&n.child!==c?(a=n.child,a.childLanes=0,a.pendingProps=b,n.deletions=null):(a=nr(c,b),a.subtreeFlags=c.subtreeFlags&14680064),x!==null?h=nr(x,h):(h=Lr(h,y,i,null),h.flags|=2),h.return=n,a.return=n,a.sibling=h,n.child=a,a=h,h=n.child,y=e.child.memoizedState,y=y===null?du(i):{baseLanes:y.baseLanes|i,cachePool:null,transitions:y.transitions},h.memoizedState=y,h.childLanes=e.childLanes&~i,n.memoizedState=cu,a}return h=e.child,e=h.sibling,a=nr(h,{mode:"visible",children:a.children}),(n.mode&1)===0&&(a.lanes=i),a.return=n,a.sibling=null,e!==null&&(i=n.deletions,i===null?(n.deletions=[e],n.flags|=16):i.push(e)),n.child=a,n.memoizedState=null,a}function fu(e,n){return n=ra({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function qi(e,n,i,a){return a!==null&&Ul(a),ys(n,e.child,null,i),e=fu(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function Cw(e,n,i,a,c,h,y){if(i)return n.flags&256?(n.flags&=-257,a=iu(Error(s(422))),qi(e,n,y,a)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(h=a.fallback,c=n.mode,a=ra({mode:"visible",children:a.children},c,0,null),h=Lr(h,c,y,null),h.flags|=2,a.return=n,h.return=n,a.sibling=h,n.child=a,(n.mode&1)!==0&&ys(n,e.child,null,y),n.child.memoizedState=du(y),n.memoizedState=cu,h);if((n.mode&1)===0)return qi(e,n,y,null);if(c.data==="$!"){if(a=c.nextSibling&&c.nextSibling.dataset,a)var x=a.dgst;return a=x,h=Error(s(419)),a=iu(h,a,void 0),qi(e,n,y,a)}if(x=(y&e.childLanes)!==0,bt||x){if(a=nt,a!==null){switch(y&-y){case 4:c=2;break;case 16:c=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:c=32;break;case 536870912:c=268435456;break;default:c=0}c=(c&(a.suspendedLanes|y))!==0?0:c,c!==0&&c!==h.retryLane&&(h.retryLane=c,kn(e,c),sn(a,e,c,-1))}return Tu(),a=iu(Error(s(421))),qi(e,n,y,a)}return c.data==="$?"?(n.flags|=128,n.child=e.child,n=Mw.bind(null,e),c._reactRetry=n,null):(e=h.treeContext,It=Hn(c.nextSibling),Lt=n,ze=!0,en=null,e!==null&&(Bt[zt++]=bn,Bt[zt++]=Cn,Bt[zt++]=br,bn=e.id,Cn=e.overflow,br=n),n=fu(n,a.children),n.flags|=4096,n)}function Ch(e,n,i){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n),Vl(e.return,n,i)}function hu(e,n,i,a,c){var h=e.memoizedState;h===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:a,tail:i,tailMode:c}:(h.isBackwards=n,h.rendering=null,h.renderingStartTime=0,h.last=a,h.tail=i,h.tailMode=c)}function kh(e,n,i){var a=n.pendingProps,c=a.revealOrder,h=a.tail;if(wt(e,n,a.children,i),a=$e.current,(a&2)!==0)a=a&1|2,n.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ch(e,i,n);else if(e.tag===19)Ch(e,i,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=1}if(je($e,a),(n.mode&1)===0)n.memoizedState=null;else switch(c){case"forwards":for(i=n.child,c=null;i!==null;)e=i.alternate,e!==null&&ji(e)===null&&(c=i),i=i.sibling;i=c,i===null?(c=n.child,n.child=null):(c=i.sibling,i.sibling=null),hu(n,!1,c,i,h);break;case"backwards":for(i=null,c=n.child,n.child=null;c!==null;){if(e=c.alternate,e!==null&&ji(e)===null){n.child=c;break}e=c.sibling,c.sibling=i,i=c,c=e}hu(n,!0,i,null,h);break;case"together":hu(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function Hi(e,n){(n.mode&1)===0&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function Tn(e,n,i){if(e!==null&&(n.dependencies=e.dependencies),Pr|=n.lanes,(i&n.childLanes)===0)return null;if(e!==null&&n.child!==e.child)throw Error(s(153));if(n.child!==null){for(e=n.child,i=nr(e,e.pendingProps),n.child=i,i.return=n;e.sibling!==null;)e=e.sibling,i=i.sibling=nr(e,e.pendingProps),i.return=n;i.sibling=null}return n.child}function kw(e,n,i){switch(n.tag){case 3:_h(n),ms();break;case 5:Bf(n);break;case 1:St(n.type)&&Ri(n);break;case 4:Wl(n,n.stateNode.containerInfo);break;case 10:var a=n.type._context,c=n.memoizedProps.value;je(Li,a._currentValue),a._currentValue=c;break;case 13:if(a=n.memoizedState,a!==null)return a.dehydrated!==null?(je($e,$e.current&1),n.flags|=128,null):(i&n.child.childLanes)!==0?bh(e,n,i):(je($e,$e.current&1),e=Tn(e,n,i),e!==null?e.sibling:null);je($e,$e.current&1);break;case 19:if(a=(i&n.childLanes)!==0,(e.flags&128)!==0){if(a)return kh(e,n,i);n.flags|=128}if(c=n.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),je($e,$e.current),a)break;return null;case 22:case 23:return n.lanes=0,wh(e,n,i)}return Tn(e,n,i)}var Rh,pu,Th,Ph;Rh=function(e,n){for(var i=n.child;i!==null;){if(i.tag===5||i.tag===6)e.appendChild(i.stateNode);else if(i.tag!==4&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===n)break;for(;i.sibling===null;){if(i.return===null||i.return===n)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},pu=function(){},Th=function(e,n,i,a){var c=e.memoizedProps;if(c!==a){e=n.stateNode,Rr(fn.current);var h=null;switch(i){case"input":c=Mt(e,c),a=Mt(e,a),h=[];break;case"select":c=B({},c,{value:void 0}),a=B({},a,{value:void 0}),h=[];break;case"textarea":c=En(e,c),a=En(e,a),h=[];break;default:typeof c.onClick!="function"&&typeof a.onClick=="function"&&(e.onclick=bi)}Ka(i,a);var y;i=null;for(M in c)if(!a.hasOwnProperty(M)&&c.hasOwnProperty(M)&&c[M]!=null)if(M==="style"){var x=c[M];for(y in x)x.hasOwnProperty(y)&&(i||(i={}),i[y]="")}else M!=="dangerouslySetInnerHTML"&&M!=="children"&&M!=="suppressContentEditableWarning"&&M!=="suppressHydrationWarning"&&M!=="autoFocus"&&(l.hasOwnProperty(M)?h||(h=[]):(h=h||[]).push(M,null));for(M in a){var b=a[M];if(x=c!=null?c[M]:void 0,a.hasOwnProperty(M)&&b!==x&&(b!=null||x!=null))if(M==="style")if(x){for(y in x)!x.hasOwnProperty(y)||b&&b.hasOwnProperty(y)||(i||(i={}),i[y]="");for(y in b)b.hasOwnProperty(y)&&x[y]!==b[y]&&(i||(i={}),i[y]=b[y])}else i||(h||(h=[]),h.push(M,i)),i=b;else M==="dangerouslySetInnerHTML"?(b=b?b.__html:void 0,x=x?x.__html:void 0,b!=null&&x!==b&&(h=h||[]).push(M,b)):M==="children"?typeof b!="string"&&typeof b!="number"||(h=h||[]).push(M,""+b):M!=="suppressContentEditableWarning"&&M!=="suppressHydrationWarning"&&(l.hasOwnProperty(M)?(b!=null&&M==="onScroll"&&Ue("scroll",e),h||x===b||(h=[])):(h=h||[]).push(M,b))}i&&(h=h||[]).push("style",i);var M=h;(n.updateQueue=M)&&(n.flags|=4)}},Ph=function(e,n,i,a){i!==a&&(n.flags|=4)};function bo(e,n){if(!ze)switch(e.tailMode){case"hidden":n=e.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e.tail=null:i.sibling=null;break;case"collapsed":i=e.tail;for(var a=null;i!==null;)i.alternate!==null&&(a=i),i=i.sibling;a===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function pt(e){var n=e.alternate!==null&&e.alternate.child===e.child,i=0,a=0;if(n)for(var c=e.child;c!==null;)i|=c.lanes|c.childLanes,a|=c.subtreeFlags&14680064,a|=c.flags&14680064,c.return=e,c=c.sibling;else for(c=e.child;c!==null;)i|=c.lanes|c.childLanes,a|=c.subtreeFlags,a|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=a,e.childLanes=i,n}function Rw(e,n,i){var a=n.pendingProps;switch(Dl(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return pt(n),null;case 1:return St(n.type)&&ki(),pt(n),null;case 3:return a=n.stateNode,ws(),Be(_t),Be(ft),Gl(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Oi(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,en!==null&&(Cu(en),en=null))),pu(e,n),pt(n),null;case 5:Ql(n);var c=Rr(wo.current);if(i=n.type,e!==null&&n.stateNode!=null)Th(e,n,i,a,c),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!a){if(n.stateNode===null)throw Error(s(166));return pt(n),null}if(e=Rr(fn.current),Oi(n)){a=n.stateNode,i=n.type;var h=n.memoizedProps;switch(a[dn]=n,a[po]=h,e=(n.mode&1)!==0,i){case"dialog":Ue("cancel",a),Ue("close",a);break;case"iframe":case"object":case"embed":Ue("load",a);break;case"video":case"audio":for(c=0;c<co.length;c++)Ue(co[c],a);break;case"source":Ue("error",a);break;case"img":case"image":case"link":Ue("error",a),Ue("load",a);break;case"details":Ue("toggle",a);break;case"input":Ut(a,h),Ue("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!h.multiple},Ue("invalid",a);break;case"textarea":dd(a,h),Ue("invalid",a)}Ka(i,h),c=null;for(var y in h)if(h.hasOwnProperty(y)){var x=h[y];y==="children"?typeof x=="string"?a.textContent!==x&&(h.suppressHydrationWarning!==!0&&Si(a.textContent,x,e),c=["children",x]):typeof x=="number"&&a.textContent!==""+x&&(h.suppressHydrationWarning!==!0&&Si(a.textContent,x,e),c=["children",""+x]):l.hasOwnProperty(y)&&x!=null&&y==="onScroll"&&Ue("scroll",a)}switch(i){case"input":jt(a),Xt(a,h,!0);break;case"textarea":jt(a),hd(a);break;case"select":case"option":break;default:typeof h.onClick=="function"&&(a.onclick=bi)}a=c,n.updateQueue=a,a!==null&&(n.flags|=4)}else{y=c.nodeType===9?c:c.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=pd(i)),e==="http://www.w3.org/1999/xhtml"?i==="script"?(e=y.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof a.is=="string"?e=y.createElement(i,{is:a.is}):(e=y.createElement(i),i==="select"&&(y=e,a.multiple?y.multiple=!0:a.size&&(y.size=a.size))):e=y.createElementNS(e,i),e[dn]=n,e[po]=a,Rh(e,n,!1,!1),n.stateNode=e;e:{switch(y=Ga(i,a),i){case"dialog":Ue("cancel",e),Ue("close",e),c=a;break;case"iframe":case"object":case"embed":Ue("load",e),c=a;break;case"video":case"audio":for(c=0;c<co.length;c++)Ue(co[c],e);c=a;break;case"source":Ue("error",e),c=a;break;case"img":case"image":case"link":Ue("error",e),Ue("load",e),c=a;break;case"details":Ue("toggle",e),c=a;break;case"input":Ut(e,a),c=Mt(e,a),Ue("invalid",e);break;case"option":c=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},c=B({},a,{value:void 0}),Ue("invalid",e);break;case"textarea":dd(e,a),c=En(e,a),Ue("invalid",e);break;default:c=a}Ka(i,c),x=c;for(h in x)if(x.hasOwnProperty(h)){var b=x[h];h==="style"?gd(e,b):h==="dangerouslySetInnerHTML"?(b=b?b.__html:void 0,b!=null&&md(e,b)):h==="children"?typeof b=="string"?(i!=="textarea"||b!=="")&&Hs(e,b):typeof b=="number"&&Hs(e,""+b):h!=="suppressContentEditableWarning"&&h!=="suppressHydrationWarning"&&h!=="autoFocus"&&(l.hasOwnProperty(h)?b!=null&&h==="onScroll"&&Ue("scroll",e):b!=null&&L(e,h,b,y))}switch(i){case"input":jt(e),Xt(e,a,!1);break;case"textarea":jt(e),hd(e);break;case"option":a.value!=null&&e.setAttribute("value",""+Re(a.value));break;case"select":e.multiple=!!a.multiple,h=a.value,h!=null?Mn(e,!!a.multiple,h,!1):a.defaultValue!=null&&Mn(e,!!a.multiple,a.defaultValue,!0);break;default:typeof c.onClick=="function"&&(e.onclick=bi)}switch(i){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}}a&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}return pt(n),null;case 6:if(e&&n.stateNode!=null)Ph(e,n,e.memoizedProps,a);else{if(typeof a!="string"&&n.stateNode===null)throw Error(s(166));if(i=Rr(wo.current),Rr(fn.current),Oi(n)){if(a=n.stateNode,i=n.memoizedProps,a[dn]=n,(h=a.nodeValue!==i)&&(e=Lt,e!==null))switch(e.tag){case 3:Si(a.nodeValue,i,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Si(a.nodeValue,i,(e.mode&1)!==0)}h&&(n.flags|=4)}else a=(i.nodeType===9?i:i.ownerDocument).createTextNode(a),a[dn]=n,n.stateNode=a}return pt(n),null;case 13:if(Be($e),a=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ze&&It!==null&&(n.mode&1)!==0&&(n.flags&128)===0)Nf(),ms(),n.flags|=98560,h=!1;else if(h=Oi(n),a!==null&&a.dehydrated!==null){if(e===null){if(!h)throw Error(s(318));if(h=n.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(s(317));h[dn]=n}else ms(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;pt(n),h=!1}else en!==null&&(Cu(en),en=null),h=!0;if(!h)return n.flags&65536?n:null}return(n.flags&128)!==0?(n.lanes=i,n):(a=a!==null,a!==(e!==null&&e.memoizedState!==null)&&a&&(n.child.flags|=8192,(n.mode&1)!==0&&(e===null||($e.current&1)!==0?Je===0&&(Je=3):Tu())),n.updateQueue!==null&&(n.flags|=4),pt(n),null);case 4:return ws(),pu(e,n),e===null&&fo(n.stateNode.containerInfo),pt(n),null;case 10:return $l(n.type._context),pt(n),null;case 17:return St(n.type)&&ki(),pt(n),null;case 19:if(Be($e),h=n.memoizedState,h===null)return pt(n),null;if(a=(n.flags&128)!==0,y=h.rendering,y===null)if(a)bo(h,!1);else{if(Je!==0||e!==null&&(e.flags&128)!==0)for(e=n.child;e!==null;){if(y=ji(e),y!==null){for(n.flags|=128,bo(h,!1),a=y.updateQueue,a!==null&&(n.updateQueue=a,n.flags|=4),n.subtreeFlags=0,a=i,i=n.child;i!==null;)h=i,e=a,h.flags&=14680066,y=h.alternate,y===null?(h.childLanes=0,h.lanes=e,h.child=null,h.subtreeFlags=0,h.memoizedProps=null,h.memoizedState=null,h.updateQueue=null,h.dependencies=null,h.stateNode=null):(h.childLanes=y.childLanes,h.lanes=y.lanes,h.child=y.child,h.subtreeFlags=0,h.deletions=null,h.memoizedProps=y.memoizedProps,h.memoizedState=y.memoizedState,h.updateQueue=y.updateQueue,h.type=y.type,e=y.dependencies,h.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),i=i.sibling;return je($e,$e.current&1|2),n.child}e=e.sibling}h.tail!==null&&We()>Ss&&(n.flags|=128,a=!0,bo(h,!1),n.lanes=4194304)}else{if(!a)if(e=ji(y),e!==null){if(n.flags|=128,a=!0,i=e.updateQueue,i!==null&&(n.updateQueue=i,n.flags|=4),bo(h,!0),h.tail===null&&h.tailMode==="hidden"&&!y.alternate&&!ze)return pt(n),null}else 2*We()-h.renderingStartTime>Ss&&i!==1073741824&&(n.flags|=128,a=!0,bo(h,!1),n.lanes=4194304);h.isBackwards?(y.sibling=n.child,n.child=y):(i=h.last,i!==null?i.sibling=y:n.child=y,h.last=y)}return h.tail!==null?(n=h.tail,h.rendering=n,h.tail=n.sibling,h.renderingStartTime=We(),n.sibling=null,i=$e.current,je($e,a?i&1|2:i&1),n):(pt(n),null);case 22:case 23:return Ru(),a=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==a&&(n.flags|=8192),a&&(n.mode&1)!==0?(Ft&1073741824)!==0&&(pt(n),n.subtreeFlags&6&&(n.flags|=8192)):pt(n),null;case 24:return null;case 25:return null}throw Error(s(156,n.tag))}function Tw(e,n){switch(Dl(n),n.tag){case 1:return St(n.type)&&ki(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return ws(),Be(_t),Be(ft),Gl(),e=n.flags,(e&65536)!==0&&(e&128)===0?(n.flags=e&-65537|128,n):null;case 5:return Ql(n),null;case 13:if(Be($e),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(s(340));ms()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return Be($e),null;case 4:return ws(),null;case 10:return $l(n.type._context),null;case 22:case 23:return Ru(),null;case 24:return null;default:return null}}var Wi=!1,mt=!1,Pw=typeof WeakSet=="function"?WeakSet:Set,te=null;function Es(e,n){var i=e.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(a){qe(e,n,a)}else i.current=null}function mu(e,n,i){try{i()}catch(a){qe(e,n,a)}}var Ah=!1;function Aw(e,n){if(Rl=fi,e=lf(),wl(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var a=i.getSelection&&i.getSelection();if(a&&a.rangeCount!==0){i=a.anchorNode;var c=a.anchorOffset,h=a.focusNode;a=a.focusOffset;try{i.nodeType,h.nodeType}catch{i=null;break e}var y=0,x=-1,b=-1,M=0,H=0,W=e,V=null;t:for(;;){for(var J;W!==i||c!==0&&W.nodeType!==3||(x=y+c),W!==h||a!==0&&W.nodeType!==3||(b=y+a),W.nodeType===3&&(y+=W.nodeValue.length),(J=W.firstChild)!==null;)V=W,W=J;for(;;){if(W===e)break t;if(V===i&&++M===c&&(x=y),V===h&&++H===a&&(b=y),(J=W.nextSibling)!==null)break;W=V,V=W.parentNode}W=J}i=x===-1||b===-1?null:{start:x,end:b}}else i=null}i=i||{start:0,end:0}}else i=null;for(Tl={focusedElem:e,selectionRange:i},fi=!1,te=n;te!==null;)if(n=te,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,te=e;else for(;te!==null;){n=te;try{var re=n.alternate;if((n.flags&1024)!==0)switch(n.tag){case 0:case 11:case 15:break;case 1:if(re!==null){var ie=re.memoizedProps,Qe=re.memoizedState,F=n.stateNode,P=F.getSnapshotBeforeUpdate(n.elementType===n.type?ie:tn(n.type,ie),Qe);F.__reactInternalSnapshotBeforeUpdate=P}break;case 3:var j=n.stateNode.containerInfo;j.nodeType===1?j.textContent="":j.nodeType===9&&j.documentElement&&j.removeChild(j.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(s(163))}}catch(Q){qe(n,n.return,Q)}if(e=n.sibling,e!==null){e.return=n.return,te=e;break}te=n.return}return re=Ah,Ah=!1,re}function Co(e,n,i){var a=n.updateQueue;if(a=a!==null?a.lastEffect:null,a!==null){var c=a=a.next;do{if((c.tag&e)===e){var h=c.destroy;c.destroy=void 0,h!==void 0&&mu(n,i,h)}c=c.next}while(c!==a)}}function Qi(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&e)===e){var a=i.create;i.destroy=a()}i=i.next}while(i!==n)}}function yu(e){var n=e.ref;if(n!==null){var i=e.stateNode;switch(e.tag){case 5:e=i;break;default:e=i}typeof n=="function"?n(e):n.current=e}}function Oh(e){var n=e.alternate;n!==null&&(e.alternate=null,Oh(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[dn],delete n[po],delete n[Nl],delete n[fw],delete n[hw])),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 Nh(e){return e.tag===5||e.tag===3||e.tag===4}function Lh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Nh(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 gu(e,n,i){var a=e.tag;if(a===5||a===6)e=e.stateNode,n?i.nodeType===8?i.parentNode.insertBefore(e,n):i.insertBefore(e,n):(i.nodeType===8?(n=i.parentNode,n.insertBefore(e,i)):(n=i,n.appendChild(e)),i=i._reactRootContainer,i!=null||n.onclick!==null||(n.onclick=bi));else if(a!==4&&(e=e.child,e!==null))for(gu(e,n,i),e=e.sibling;e!==null;)gu(e,n,i),e=e.sibling}function vu(e,n,i){var a=e.tag;if(a===5||a===6)e=e.stateNode,n?i.insertBefore(e,n):i.appendChild(e);else if(a!==4&&(e=e.child,e!==null))for(vu(e,n,i),e=e.sibling;e!==null;)vu(e,n,i),e=e.sibling}var at=null,nn=!1;function Yn(e,n,i){for(i=i.child;i!==null;)Ih(e,n,i),i=i.sibling}function Ih(e,n,i){if(cn&&typeof cn.onCommitFiberUnmount=="function")try{cn.onCommitFiberUnmount(ii,i)}catch{}switch(i.tag){case 5:mt||Es(i,n);case 6:var a=at,c=nn;at=null,Yn(e,n,i),at=a,nn=c,at!==null&&(nn?(e=at,i=i.stateNode,e.nodeType===8?e.parentNode.removeChild(i):e.removeChild(i)):at.removeChild(i.stateNode));break;case 18:at!==null&&(nn?(e=at,i=i.stateNode,e.nodeType===8?Ol(e.parentNode,i):e.nodeType===1&&Ol(e,i),no(e)):Ol(at,i.stateNode));break;case 4:a=at,c=nn,at=i.stateNode.containerInfo,nn=!0,Yn(e,n,i),at=a,nn=c;break;case 0:case 11:case 14:case 15:if(!mt&&(a=i.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){c=a=a.next;do{var h=c,y=h.destroy;h=h.tag,y!==void 0&&((h&2)!==0||(h&4)!==0)&&mu(i,n,y),c=c.next}while(c!==a)}Yn(e,n,i);break;case 1:if(!mt&&(Es(i,n),a=i.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=i.memoizedProps,a.state=i.memoizedState,a.componentWillUnmount()}catch(x){qe(i,n,x)}Yn(e,n,i);break;case 21:Yn(e,n,i);break;case 22:i.mode&1?(mt=(a=mt)||i.memoizedState!==null,Yn(e,n,i),mt=a):Yn(e,n,i);break;default:Yn(e,n,i)}}function Fh(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new Pw),n.forEach(function(a){var c=Uw.bind(null,e,a);i.has(a)||(i.add(a),a.then(c,c))})}}function rn(e,n){var i=n.deletions;if(i!==null)for(var a=0;a<i.length;a++){var c=i[a];try{var h=e,y=n,x=y;e:for(;x!==null;){switch(x.tag){case 5:at=x.stateNode,nn=!1;break e;case 3:at=x.stateNode.containerInfo,nn=!0;break e;case 4:at=x.stateNode.containerInfo,nn=!0;break e}x=x.return}if(at===null)throw Error(s(160));Ih(h,y,c),at=null,nn=!1;var b=c.alternate;b!==null&&(b.return=null),c.return=null}catch(M){qe(c,n,M)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)Dh(n,e),n=n.sibling}function Dh(e,n){var i=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(rn(n,e),pn(e),a&4){try{Co(3,e,e.return),Qi(3,e)}catch(ie){qe(e,e.return,ie)}try{Co(5,e,e.return)}catch(ie){qe(e,e.return,ie)}}break;case 1:rn(n,e),pn(e),a&512&&i!==null&&Es(i,i.return);break;case 5:if(rn(n,e),pn(e),a&512&&i!==null&&Es(i,i.return),e.flags&32){var c=e.stateNode;try{Hs(c,"")}catch(ie){qe(e,e.return,ie)}}if(a&4&&(c=e.stateNode,c!=null)){var h=e.memoizedProps,y=i!==null?i.memoizedProps:h,x=e.type,b=e.updateQueue;if(e.updateQueue=null,b!==null)try{x==="input"&&h.type==="radio"&&h.name!=null&&Ee(c,h),Ga(x,y);var M=Ga(x,h);for(y=0;y<b.length;y+=2){var H=b[y],W=b[y+1];H==="style"?gd(c,W):H==="dangerouslySetInnerHTML"?md(c,W):H==="children"?Hs(c,W):L(c,H,W,M)}switch(x){case"input":it(c,h);break;case"textarea":fd(c,h);break;case"select":var V=c._wrapperState.wasMultiple;c._wrapperState.wasMultiple=!!h.multiple;var J=h.value;J!=null?Mn(c,!!h.multiple,J,!1):V!==!!h.multiple&&(h.defaultValue!=null?Mn(c,!!h.multiple,h.defaultValue,!0):Mn(c,!!h.multiple,h.multiple?[]:"",!1))}c[po]=h}catch(ie){qe(e,e.return,ie)}}break;case 6:if(rn(n,e),pn(e),a&4){if(e.stateNode===null)throw Error(s(162));c=e.stateNode,h=e.memoizedProps;try{c.nodeValue=h}catch(ie){qe(e,e.return,ie)}}break;case 3:if(rn(n,e),pn(e),a&4&&i!==null&&i.memoizedState.isDehydrated)try{no(n.containerInfo)}catch(ie){qe(e,e.return,ie)}break;case 4:rn(n,e),pn(e);break;case 13:rn(n,e),pn(e),c=e.child,c.flags&8192&&(h=c.memoizedState!==null,c.stateNode.isHidden=h,!h||c.alternate!==null&&c.alternate.memoizedState!==null||(Eu=We())),a&4&&Fh(e);break;case 22:if(H=i!==null&&i.memoizedState!==null,e.mode&1?(mt=(M=mt)||H,rn(n,e),mt=M):rn(n,e),pn(e),a&8192){if(M=e.memoizedState!==null,(e.stateNode.isHidden=M)&&!H&&(e.mode&1)!==0)for(te=e,H=e.child;H!==null;){for(W=te=H;te!==null;){switch(V=te,J=V.child,V.tag){case 0:case 11:case 14:case 15:Co(4,V,V.return);break;case 1:Es(V,V.return);var re=V.stateNode;if(typeof re.componentWillUnmount=="function"){a=V,i=V.return;try{n=a,re.props=n.memoizedProps,re.state=n.memoizedState,re.componentWillUnmount()}catch(ie){qe(a,i,ie)}}break;case 5:Es(V,V.return);break;case 22:if(V.memoizedState!==null){Uh(W);continue}}J!==null?(J.return=V,te=J):Uh(W)}H=H.sibling}e:for(H=null,W=e;;){if(W.tag===5){if(H===null){H=W;try{c=W.stateNode,M?(h=c.style,typeof h.setProperty=="function"?h.setProperty("display","none","important"):h.display="none"):(x=W.stateNode,b=W.memoizedProps.style,y=b!=null&&b.hasOwnProperty("display")?b.display:null,x.style.display=yd("display",y))}catch(ie){qe(e,e.return,ie)}}}else if(W.tag===6){if(H===null)try{W.stateNode.nodeValue=M?"":W.memoizedProps}catch(ie){qe(e,e.return,ie)}}else if((W.tag!==22&&W.tag!==23||W.memoizedState===null||W===e)&&W.child!==null){W.child.return=W,W=W.child;continue}if(W===e)break e;for(;W.sibling===null;){if(W.return===null||W.return===e)break e;H===W&&(H=null),W=W.return}H===W&&(H=null),W.sibling.return=W.return,W=W.sibling}}break;case 19:rn(n,e),pn(e),a&4&&Fh(e);break;case 21:break;default:rn(n,e),pn(e)}}function pn(e){var n=e.flags;if(n&2){try{e:{for(var i=e.return;i!==null;){if(Nh(i)){var a=i;break e}i=i.return}throw Error(s(160))}switch(a.tag){case 5:var c=a.stateNode;a.flags&32&&(Hs(c,""),a.flags&=-33);var h=Lh(e);vu(e,h,c);break;case 3:case 4:var y=a.stateNode.containerInfo,x=Lh(e);gu(e,x,y);break;default:throw Error(s(161))}}catch(b){qe(e,e.return,b)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function Ow(e,n,i){te=e,jh(e)}function jh(e,n,i){for(var a=(e.mode&1)!==0;te!==null;){var c=te,h=c.child;if(c.tag===22&&a){var y=c.memoizedState!==null||Wi;if(!y){var x=c.alternate,b=x!==null&&x.memoizedState!==null||mt;x=Wi;var M=mt;if(Wi=y,(mt=b)&&!M)for(te=c;te!==null;)y=te,b=y.child,y.tag===22&&y.memoizedState!==null?Bh(c):b!==null?(b.return=y,te=b):Bh(c);for(;h!==null;)te=h,jh(h),h=h.sibling;te=c,Wi=x,mt=M}Mh(e)}else(c.subtreeFlags&8772)!==0&&h!==null?(h.return=c,te=h):Mh(e)}}function Mh(e){for(;te!==null;){var n=te;if((n.flags&8772)!==0){var i=n.alternate;try{if((n.flags&8772)!==0)switch(n.tag){case 0:case 11:case 15:mt||Qi(
vendor: 1,244 bytes, line 40
405,n);break;case 1:var a=n.stateNode;if(n.flags&4&&!mt)if(i===null)a.componentDidMount();else{var c=n.elementType===n.type?i.memoizedProps:tn(n.type,i.memoizedProps);a.componentDidUpdate(c,i.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}var h=n.updateQueue;h!==null&&Uf(n,h,a);break;case 3:var y=n.updateQueue;if(y!==null){if(i=null,n.child!==null)switch(n.child.tag){case 5:i=n.child.stateNode;break;case 1:i=n.child.stateNode}Uf(n,y,i)}break;case 5:var x=n.stateNode;if(i===null&&n.flags&4){i=x;var b=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":b.autoFocus&&i.focus();break;case"img":b.src&&(i.src=b.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var M=n.alternate;if(M!==null){var H=M.memoizedState;if(H!==null){var W=H.dehydrated;W!==null&&no(W)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(s(163))}mt||n.flags&512&&yu(n)}catch(V){qe(n,n.return,V)}}if(n===e){te=null;break}if(i=n.sibling,i!==null){i.return=n.return,te=i;break}te=n.return}}function Uh(e){for(;te!==null;){var n=te;if(n===e){te=null;break}var i=n.sibling;if(i!==null){i.return=n.return,te=i;break}te=n.return}}function Bh(e){for(;te!==null;){var n=te;
vendor: 5,062 bytes, line 40
40try{switch(n.tag){case 0:case 11:case 15:var i=n.return;try{Qi(4,n)}catch(b){qe(n,i,b)}break;case 1:var a=n.stateNode;if(typeof a.componentDidMount=="function"){var c=n.return;try{a.componentDidMount()}catch(b){qe(n,c,b)}}var h=n.return;try{yu(n)}catch(b){qe(n,h,b)}break;case 5:var y=n.return;try{yu(n)}catch(b){qe(n,y,b)}}}catch(b){qe(n,n.return,b)}if(n===e){te=null;break}var x=n.sibling;if(x!==null){x.return=n.return,te=x;break}te=n.return}}var Nw=Math.ceil,Ki=N.ReactCurrentDispatcher,wu=N.ReactCurrentOwner,qt=N.ReactCurrentBatchConfig,Ne=0,nt=null,Ge=null,lt=0,Ft=0,_s=Wn(0),Je=0,ko=null,Pr=0,Gi=0,xu=0,Ro=null,Ct=null,Eu=0,Ss=1/0,Pn=null,Xi=!1,_u=null,Jn=null,Yi=!1,Zn=null,Ji=0,To=0,Su=null,Zi=-1,ea=0;function xt(){return(Ne&6)!==0?We():Zi!==-1?Zi:Zi=We()}function er(e){return(e.mode&1)===0?1:(Ne&2)!==0&&lt!==0?lt&-lt:mw.transition!==null?(ea===0&&(ea=Nd()),ea):(e=De,e!==0||(e=window.event,e=e===void 0?16:zd(e.type)),e)}function sn(e,n,i,a){if(50<To)throw To=0,Su=null,Error(s(185));Ys(e,i,a),((Ne&2)===0||e!==nt)&&(e===nt&&((Ne&2)===0&&(Gi|=i),Je===4&&tr(e,lt)),kt(e,a),i===1&&Ne===0&&(n.mode&1)===0&&(Ss=We()+500,Ti&&Kn()))}function kt(e,n){var i=e.callbackNode;mv(e,n);var a=ui(e,e===nt?lt:0);if(a===0)i!==null&&Pd(i),e.callbackNode=null,e.callbackPriority=0;else if(n=a&-a,e.callbackPriority!==n){if(i!=null&&Pd(i),n===1)e.tag===0?pw($h.bind(null,e)):Rf($h.bind(null,e)),cw(function(){(Ne&6)===0&&Kn()}),i=null;else{switch(Ld(a)){case 1:i=nl;break;case 4:i=Ad;break;case 16:i=oi;break;case 536870912:i=Od;break;default:i=oi}i=Xh(i,zh.bind(null,e))}e.callbackPriority=n,e.callbackNode=i}}function zh(e,n){if(Zi=-1,ea=0,(Ne&6)!==0)throw Error(s(327));var i=e.callbackNode;if(bs()&&e.callbackNode!==i)return null;var a=ui(e,e===nt?lt:0);if(a===0)return null;if((a&30)!==0||(a&e.expiredLanes)!==0||n)n=ta(e,a);else{n=a;var c=Ne;Ne|=2;var h=qh();(nt!==e||lt!==n)&&(Pn=null,Ss=We()+500,Or(e,n));do try{Fw();break}catch(x){Vh(e,x)}while(!0);zl(),Ki.current=h,Ne=c,Ge!==null?n=0:(nt=null,lt=0,n=Je)}if(n!==0){if(n===2&&(c=rl(e),c!==0&&(a=c,n=bu(e,c))),n===1)throw i=ko,Or(e,0),tr(e,a),kt(e,We()),i;if(n===6)tr(e,a);else{if(c=e.current.alternate,(a&30)===0&&!Lw(c)&&(n=ta(e,a),n===2&&(h=rl(e),h!==0&&(a=h,n=bu(e,h))),n===1))throw i=ko,Or(e,0),tr(e,a),kt(e,We()),i;switch(e.finishedWork=c,e.finishedLanes=a,n){case 0:case 1:throw Error(s(345));case 2:Nr(e,Ct,Pn);break;case 3:if(tr(e,a),(a&130023424)===a&&(n=Eu+500-We(),10<n)){if(ui(e,0)!==0)break;if(c=e.suspendedLanes,(c&a)!==a){xt(),e.pingedLanes|=e.suspendedLanes&c;break}e.timeoutHandle=Al(Nr.bind(null,e,Ct,Pn),n);break}Nr(e,Ct,Pn);break;case 4:if(tr(e,a),(a&4194240)===a)break;for(n=e.eventTimes,c=-1;0<a;){var y=31-Jt(a);h=1<<y,y=n[y],y>c&&(c=y),a&=~h}if(a=c,a=We()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*Nw(a/1960))-a,10<a){e.timeoutHandle=Al(Nr.bind(null,e,Ct,Pn),a);break}Nr(e,Ct,Pn);break;case 5:Nr(e,Ct,Pn);break;default:throw Error(s(329))}}}return kt(e,We()),e.callbackNode===i?zh.bind(null,e):null}function bu(e,n){var i=Ro;return e.current.memoizedState.isDehydrated&&(Or(e,n).flags|=256),e=ta(e,n),e!==2&&(n=Ct,Ct=i,n!==null&&Cu(n)),e}function Cu(e){Ct===null?Ct=e:Ct.push.apply(Ct,e)}function Lw(e){for(var n=e;;){if(n.flags&16384){var i=n.updateQueue;if(i!==null&&(i=i.stores,i!==null))for(var a=0;a<i.length;a++){var c=i[a],h=c.getSnapshot;c=c.value;try{if(!Zt(h(),c))return!1}catch{return!1}}}if(i=n.child,n.subtreeFlags&16384&&i!==null)i.return=n,n=i;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function tr(e,n){for(n&=~xu,n&=~Gi,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var i=31-Jt(n),a=1<<i;e[i]=-1,n&=~a}}function $h(e){if((Ne&6)!==0)throw Error(s(327));bs();var n=ui(e,0);if((n&1)===0)return kt(e,We()),null;var i=ta(e,n);if(e.tag!==0&&i===2){var a=rl(e);a!==0&&(n=a,i=bu(e,a))}if(i===1)throw i=ko,Or(e,0),tr(e,n),kt(e,We()),i;if(i===6)throw Error(s(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,Nr(e,Ct,Pn),kt(e,We()),null}function ku(e,n){var i=Ne;Ne|=1;try{return e(n)}finally{Ne=i,Ne===0&&(Ss=We()+500,Ti&&Kn())}}function Ar(e){Zn!==null&&Zn.tag===0&&(Ne&6)===0&&bs();var n=Ne;Ne|=1;var i=qt.transition,a=De;try{if(qt.transition=null,De=1,e)return e()}finally{De=a,qt.transition=i,Ne=n,(Ne&6)===0&&Kn()}}function Ru(){Ft=_s.current,Be(_s)}function Or(e,n){e.finishedWork=null,e.finishedLanes=0;var i=e.timeoutHandle;if(i!==-1&&(e.timeoutHandle=-1,uw(i)),Ge!==null)for(i=Ge.return;i!==null;){var a=i;switch(Dl(a),a.tag){case 1:a=a.type.childContextTypes,a!=null&&ki();break;case 3:ws(),Be(_t),Be(ft),Gl();break;case 5:Ql(a);break;case 4:ws();break;case 13:Be($e);break;case 19:Be($e);break;case 10:$l(a.type._context);break;case 22:case 23:Ru()}i=i.return}if(nt=e,Ge=e=nr(e.current,null),lt=Ft=n,Je=0,ko=null,xu=Gi=Pr=0,Ct=Ro=null,kr!==null){for(n=0;n<kr.length;n++)if(i=kr[n],a=i.interleaved,a!==null){i.interleaved=null;var c=a.next,h=i.pending;if(h!==null){var y=h.next;h.next=c,a.next=y}
vendor: 8,536 bytes, line 40
40i.pending=a}kr=null}return e}function Vh(e,n){do{var i=Ge;try{if(zl(),Mi.current=$i,Ui){for(var a=Ve.memoizedState;a!==null;){var c=a.queue;c!==null&&(c.pending=null),a=a.next}Ui=!1}if(Tr=0,tt=Ye=Ve=null,xo=!1,Eo=0,wu.current=null,i===null||i.return===null){Je=1,ko=n,Ge=null;break}e:{var h=e,y=i.return,x=i,b=n;if(n=lt,x.flags|=32768,b!==null&&typeof b=="object"&&typeof b.then=="function"){var M=b,H=x,W=H.tag;if((H.mode&1)===0&&(W===0||W===11||W===15)){var V=H.alternate;V?(H.updateQueue=V.updateQueue,H.memoizedState=V.memoizedState,H.lanes=V.lanes):(H.updateQueue=null,H.memoizedState=null)}var J=ph(y);if(J!==null){J.flags&=-257,mh(J,y,x,h,n),J.mode&1&&hh(h,M,n),n=J,b=M;var re=n.updateQueue;if(re===null){var ie=new Set;ie.add(b),n.updateQueue=ie}else re.add(b);break e}else{if((n&1)===0){hh(h,M,n),Tu();break e}b=Error(s(426))}}else if(ze&&x.mode&1){var Qe=ph(y);if(Qe!==null){(Qe.flags&65536)===0&&(Qe.flags|=256),mh(Qe,y,x,h,n),Ul(xs(b,x));break e}}h=b=xs(b,x),Je!==4&&(Je=2),Ro===null?Ro=[h]:Ro.push(h),h=y;do{switch(h.tag){case 3:h.flags|=65536,n&=-n,h.lanes|=n;var F=dh(h,b,n);Mf(h,F);break e;case 1:x=b;var P=h.type,j=h.stateNode;if((h.flags&128)===0&&(typeof P.getDerivedStateFromError=="function"||j!==null&&typeof j.componentDidCatch=="function"&&(Jn===null||!Jn.has(j)))){h.flags|=65536,n&=-n,h.lanes|=n;var Q=fh(h,x,n);Mf(h,Q);break e}}h=h.return}while(h!==null)}Wh(i)}catch(le){n=le,Ge===i&&i!==null&&(Ge=i=i.return);continue}break}while(!0)}function qh(){var e=Ki.current;return Ki.current=$i,e===null?$i:e}function Tu(){(Je===0||Je===3||Je===2)&&(Je=4),nt===null||(Pr&268435455)===0&&(Gi&268435455)===0||tr(nt,lt)}function ta(e,n){var i=Ne;Ne|=2;var a=qh();(nt!==e||lt!==n)&&(Pn=null,Or(e,n));do try{Iw();break}catch(c){Vh(e,c)}while(!0);if(zl(),Ne=i,Ki.current=a,Ge!==null)throw Error(s(261));return nt=null,lt=0,Je}function Iw(){for(;Ge!==null;)Hh(Ge)}function Fw(){for(;Ge!==null&&!iv();)Hh(Ge)}function Hh(e){var n=Gh(e.alternate,e,Ft);e.memoizedProps=e.pendingProps,n===null?Wh(e):Ge=n,wu.current=null}function Wh(e){var n=e;do{var i=n.alternate;if(e=n.return,(n.flags&32768)===0){if(i=Rw(i,n,Ft),i!==null){Ge=i;return}}else{if(i=Tw(i,n),i!==null){i.flags&=32767,Ge=i;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Je=6,Ge=null;return}}if(n=n.sibling,n!==null){Ge=n;return}Ge=n=e}while(n!==null);Je===0&&(Je=5)}function Nr(e,n,i){var a=De,c=qt.transition;try{qt.transition=null,De=1,Dw(e,n,i,a)}finally{qt.transition=c,De=a}return null}function Dw(e,n,i,a){do bs();while(Zn!==null);if((Ne&6)!==0)throw Error(s(327));i=e.finishedWork;var c=e.finishedLanes;if(i===null)return null;if(e.finishedWork=null,e.finishedLanes=0,i===e.current)throw Error(s(177));e.callbackNode=null,e.callbackPriority=0;var h=i.lanes|i.childLanes;if(yv(e,h),e===nt&&(Ge=nt=null,lt=0),(i.subtreeFlags&2064)===0&&(i.flags&2064)===0||Yi||(Yi=!0,Xh(oi,function(){return bs(),null})),h=(i.flags&15990)!==0,(i.subtreeFlags&15990)!==0||h){h=qt.transition,qt.transition=null;var y=De;De=1;var x=Ne;Ne|=4,wu.current=null,Aw(e,i),Dh(i,e),nw(Tl),fi=!!Rl,Tl=Rl=null,e.current=i,Ow(i),av(),Ne=x,De=y,qt.transition=h}else e.current=i;if(Yi&&(Yi=!1,Zn=e,Ji=c),h=e.pendingLanes,h===0&&(Jn=null),cv(i.stateNode),kt(e,We()),n!==null)for(a=e.onRecoverableError,i=0;i<n.length;i++)c=n[i],a(c.value,{componentStack:c.stack,digest:c.digest});if(Xi)throw Xi=!1,e=_u,_u=null,e;return(Ji&1)!==0&&e.tag!==0&&bs(),h=e.pendingLanes,(h&1)!==0?e===Su?To++:(To=0,Su=e):To=0,Kn(),null}function bs(){if(Zn!==null){var e=Ld(Ji),n=qt.transition,i=De;try{if(qt.transition=null,De=16>e?16:e,Zn===null)var a=!1;else{if(e=Zn,Zn=null,Ji=0,(Ne&6)!==0)throw Error(s(331));var c=Ne;for(Ne|=4,te=e.current;te!==null;){var h=te,y=h.child;if((te.flags&16)!==0){var x=h.deletions;if(x!==null){for(var b=0;b<x.length;b++){var M=x[b];for(te=M;te!==null;){var H=te;switch(H.tag){case 0:case 11:case 15:Co(8,H,h)}var W=H.child;if(W!==null)W.return=H,te=W;else for(;te!==null;){H=te;var V=H.sibling,J=H.return;if(Oh(H),H===M){te=null;break}if(V!==null){V.return=J,te=V;break}te=J}}}var re=h.alternate;if(re!==null){var ie=re.child;if(ie!==null){re.child=null;do{var Qe=ie.sibling;ie.sibling=null,ie=Qe}while(ie!==null)}}te=h}}if((h.subtreeFlags&2064)!==0&&y!==null)y.return=h,te=y;else e:for(;te!==null;){if(h=te,(h.flags&2048)!==0)switch(h.tag){case 0:case 11:case 15:Co(9,h,h.return)}var F=h.sibling;if(F!==null){F.return=h.return,te=F;break e}te=h.return}}var P=e.current;for(te=P;te!==null;){y=te;var j=y.child;if((y.subtreeFlags&2064)!==0&&j!==null)j.return=y,te=j;else e:for(y=P;te!==null;){if(x=te,(x.flags&2048)!==0)try{switch(x.tag){case 0:case 11:case 15:Qi(9,x)}}catch(le){qe(x,x.return,le)}if(x===y){te=null;break e}var Q=x.sibling;if(Q!==null){Q.return=x.return,te=Q;break e}te=x.return}}if(Ne=c,Kn(),cn&&typeof cn.onPostCommitFiberRoot=="function")try{cn.onPostCommitFiberRoot(ii,e)}catch{}a=!0}return a}finally{De=i,qt.transition=n}}return!1}function Qh(e,n,i){n=xs(i,n),n=dh(e,n,1),e=Xn(e,n,1),n=xt(),e!==null&&(Ys(e,1,n),kt(e,n))}function qe(e,n,i){if(e.tag===3)Qh(e,e,i);else for(;n!==null;){if(n.tag===3){Qh(n,e,i);break}else if(n.tag===1){var a=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Jn===null||!Jn.has(a))){e=xs(i,e),e=fh(n,e,1),n=Xn(n,e,1),e=xt(),n!==null&&(Ys(n,1,e),kt(n,e));break}}n=n.return}}function jw(e,n,i){var a=e.pingCache;a!==null&&a.delete(n),n=xt(),e.pingedLanes|=e.suspendedLanes&i,nt===e&&(lt&i)===i&&(Je===4||Je===3&&(lt&130023424)===lt&&500>We()-Eu?Or(e,0):xu|=i),kt(e,n)}function Kh(e,n){n===0&&((e.mode&1)===0?n=1:(n=li,li<<=1,(li&130023424)===0&&(li=4194304)));var i=xt();e=kn(e,n),e!==null&&(Ys(e,n,i),kt(e,i))}function Mw(e){var n=e.memoizedState,i=0;n!==null&&(i=n.retryLane),Kh(e,i)}function Uw(e,n){var i=0;switch(e.tag){case 13:var a=e.stateNode,c=e.memoizedState;c!==null&&(i=c.retryLane);break;case 19:a=e.stateNode;break;default:throw Error(s(314))}a!==null&&a.delete(n),Kh(e,i)}var Gh;Gh=function(e,n,i){if(e!==null)if(e.memoizedProps!==n.pendingProps||_t.current)bt=!0;else{if((e.lanes&i)===0&&(n.flags&128)===0)return bt=!1,kw(e,n,i);bt=(e.flags&131072)!==0}else bt=!1,ze&&(n.flags&1048576)!==0&&Tf(n,Ai,n.index);switch(n.lanes=0,n.tag){case 2:var a=n.type;Hi(e,n),e=n.pendingProps;var c=fs(n,ft.current);vs(n,i),c=Jl(null,n,a,e,c,i);var h=Zl();return n.flags|=1,typeof c=="object"&&c!==null&&typeof c.render=="function"&&c.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,St(a)?(h=!0,Ri(n)):h=!1,n.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,Hl(n),c.updater=Vi,n.stateNode=c,c._reactInternals=n,ou(n,a,e,i),n=uu(null,n,a,!0,h,i)):(n.tag=0,ze&&h&&Fl(n),wt(null,n,c,i),n=n.child),n;case 16:a=n.elementType;e:{switch(Hi(e,n),e=n.pendingProps,c=a._init,a=c(a._payload),n.type=a,c=n.tag=zw(a),e=tn(a,e),c){case 0:n=lu(null,n,a,e,i);break e;case 1:n=Eh(null,n,a,e,i);break e;case 11:n=yh(null,n,a,e,i);break e;case 14:n=gh(null,n,a,tn(a.type,e),i);break e}throw Error(s(306,a,""))}return n;case 0:return a=n.type,c=n.pendingProps,c=n.elementType===a?c:tn(a,c),lu(e,n,a,c,i);case 1:return a=n.type,c=n.pendingProps,c=n.elementType===a?c:tn(a,c),Eh(e,n,a,c,i);case 3:e:{if(_h(n),e===null)throw Error(s(387));a=n.pendingProps,h=n.memoizedState,c=h.element,jf(e,n),Di(n,a,null,i);var y=n.memoizedState;if(a=y.element,h.isDehydrated)if(h={element:a,isDehydrated:!1,cache:y.cache,pendingSuspenseBoundaries:y.pendingSuspenseBoundaries,transitions:y.transitions},n.updateQueue.baseState=h,n.memoizedState=h,n.flags&256){c=xs(Error(s(423)),n),n=Sh(e,n,a,i,c);break e}else if(a!==c){c=xs(Error(s(424)),n),n=Sh(e,n,a,i,c);break e}else for(It=Hn(n.stateNode.containerInfo.firstChild),Lt=n,ze=!0,en=null,i=Ff(n,null,a,i),n.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(ms(),a===c){n=Tn(e,n,i);break e}wt(e,n,a,i)}n=n.child}return n;case 5:return Bf(n),e===null&&Ml(n),a=n.type,c=n.pendingProps,h=e!==null?e.memoizedProps:null,y=c.children,Pl(a,c)?y=null:h!==null&&Pl(a,h)&&(n.flags|=32),xh(e,n),wt(e,n,y,i),n.child;case 6:return e===null&&Ml(n),null;case 13:return bh(e,n,i);case 4:return Wl(n,n.stateNode.containerInfo),a=n.pendingProps,e===null?n.child=ys(n,null,a,i):wt(e,n,a,i),n.child;case 11:return a=n.type,c=n.pendingProps,c=n.elementType===a?c:tn(a,c),yh(e,n,a,c,i);case 7:return wt(e,n,n.pendingProps,i),n.child;case 8:return wt(e,n,n.pendingProps.children,i),n.child;case 12:return wt(e,n,n.pendingProps.children,i),n.child;case 10:e:{if(a=n.type._context,c=n.pendingProps,h=n.memoizedProps,y=c.value,
vendor: 9,215 bytes, line 40
40je(Li,a._currentValue),a._currentValue=y,h!==null)if(Zt(h.value,y)){if(h.children===c.children&&!_t.current){n=Tn(e,n,i);break e}}else for(h=n.child,h!==null&&(h.return=n);h!==null;){var x=h.dependencies;if(x!==null){y=h.child;for(var b=x.firstContext;b!==null;){if(b.context===a){if(h.tag===1){b=Rn(-1,i&-i),b.tag=2;var M=h.updateQueue;if(M!==null){M=M.shared;var H=M.pending;H===null?b.next=b:(b.next=H.next,H.next=b),M.pending=b}}h.lanes|=i,b=h.alternate,b!==null&&(b.lanes|=i),Vl(h.return,i,n),x.lanes|=i;break}b=b.next}}else if(h.tag===10)y=h.type===n.type?null:h.child;else if(h.tag===18){if(y=h.return,y===null)throw Error(s(341));y.lanes|=i,x=y.alternate,x!==null&&(x.lanes|=i),Vl(y,i,n),y=h.sibling}else y=h.child;if(y!==null)y.return=h;else for(y=h;y!==null;){if(y===n){y=null;break}if(h=y.sibling,h!==null){h.return=y.return,y=h;break}y=y.return}h=y}wt(e,n,c.children,i),n=n.child}return n;case 9:return c=n.type,a=n.pendingProps.children,vs(n,i),c=$t(c),a=a(c),n.flags|=1,wt(e,n,a,i),n.child;case 14:return a=n.type,c=tn(a,n.pendingProps),c=tn(a.type,c),gh(e,n,a,c,i);case 15:return vh(e,n,n.type,n.pendingProps,i);case 17:return a=n.type,c=n.pendingProps,c=n.elementType===a?c:tn(a,c),Hi(e,n),n.tag=1,St(a)?(e=!0,Ri(n)):e=!1,vs(n,i),uh(n,a,c),ou(n,a,c,i),uu(null,n,a,!0,e,i);case 19:return kh(e,n,i);case 22:return wh(e,n,i)}throw Error(s(156,n.tag))};function Xh(e,n){return Td(e,n)}function Bw(e,n,i,a){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,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 Ht(e,n,i,a){return new Bw(e,n,i,a)}function Pu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function zw(e){if(typeof e=="function")return Pu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ce)return 11;if(e===Se)return 14}return 2}function nr(e,n){var i=e.alternate;return i===null?(i=Ht(e.tag,n,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=n,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=e.flags&14680064,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,n=e.dependencies,i.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i}function na(e,n,i,a,c,h){var y=2;if(a=e,typeof e=="function")Pu(e)&&(y=1);else if(typeof e=="string")y=5;else e:switch(e){case G:return Lr(i.children,c,h,n);case z:y=8,c|=8;break;case ae:return e=Ht(12,i,n,c|2),e.elementType=ae,e.lanes=h,e;case Oe:return e=Ht(13,i,n,c),e.elementType=Oe,e.lanes=h,e;case Z:return e=Ht(19,i,n,c),e.elementType=Z,e.lanes=h,e;case we:return ra(i,c,h,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ye:y=10;break e;case _e:y=9;break e;case Ce:y=11;break e;case Se:y=14;break e;case ue:y=16,a=null;break e}throw Error(s(130,e==null?e:typeof e,""))}return n=Ht(y,i,n,c),n.elementType=e,n.type=a,n.lanes=h,n}function Lr(e,n,i,a){return e=Ht(7,e,a,n),e.lanes=i,e}function ra(e,n,i,a){return e=Ht(22,e,a,n),e.elementType=we,e.lanes=i,e.stateNode={isHidden:!1},e}function Au(e,n,i){return e=Ht(6,e,null,n),e.lanes=i,e}function Ou(e,n,i){return n=Ht(4,e.children!==null?e.children:[],e.key,n),n.lanes=i,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function $w(e,n,i,a,c){this.tag=n,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=sl(0),this.expirationTimes=sl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=sl(0),this.identifierPrefix=a,this.onRecoverableError=c,this.mutableSourceEagerHydrationData=null}function Nu(e,n,i,a,c,h,y,x,b){return e=new $w(e,n,i,x,b),n===1?(n=1,h===!0&&(n|=8)):n=0,h=Ht(3,null,null,n),e.current=h,h.stateNode=e,h.memoizedState={element:a,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},Hl(h),e}function Vw(e,n,i){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:q,key:a==null?null:""+a,children:e,containerInfo:n,implementation:i}}function Yh(e){if(!e)return Qn;e=e._reactInternals;e:{if(Er(e)!==e||e.tag!==1)throw Error(s(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(St(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(n!==null);throw Error(s(171))}if(e.tag===1){var i=e.type;if(St(i))return Cf(e,i,n)}return n}function Jh(e,n,i,a,c,h,y,x,b){return e=Nu(i,a,!0,e,c,h,y,x,b),e.context=Yh(null),i=e.current,a=xt(),c=er(i),h=Rn(a,c),h.callback=n??null,Xn(i,h,c),e.current.lanes=c,Ys(e,c,a),kt(e,a),e}function sa(e,n,i,a){var c=n.current,h=xt(),y=er(c);return i=Yh(i),n.context===null?n.context=i:n.pendingContext=i,n=Rn(h,y),n.payload={element:e},a=a===void 0?null:a,a!==null&&(n.callback=a),e=Xn(c,n,y),e!==null&&(sn(e,c,y,h),Fi(e,c,y)),y}function oa(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 Zh(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<n?i:n}}function Lu(e,n){Zh(e,n),(e=e.alternate)&&Zh(e,n)}function qw(){return null}var ep=typeof reportError=="function"?reportError:function(e){console.error(e)};function Iu(e){this._internalRoot=e}ia.prototype.render=Iu.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(s(409));sa(e,n,null,null)},ia.prototype.unmount=Iu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;Ar(function(){sa(null,e,null,null)}),n[_n]=null}};function ia(e){this._internalRoot=e}ia.prototype.unstable_scheduleHydration=function(e){if(e){var n=Dd();e={blockedOn:null,target:e,priority:n};for(var i=0;i<$n.length&&n!==0&&n<$n[i].priority;i++);$n.splice(i,0,e),i===0&&Ud(e)}};function Fu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function aa(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function tp(){}function Hw(e,n,i,a,c){if(c){if(typeof a=="function"){var h=a;a=function(){var M=oa(y);h.call(M)}}var y=Jh(n,a,e,0,null,!1,!1,"",tp);return e._reactRootContainer=y,e[_n]=y.current,fo(e.nodeType===8?e.parentNode:e),Ar(),y}for(;c=e.lastChild;)e.removeChild(c);if(typeof a=="function"){var x=a;a=function(){var M=oa(b);x.call(M)}}var b=Nu(e,0,!1,null,null,!1,!1,"",tp);return e._reactRootContainer=b,e[_n]=b.current,fo(e.nodeType===8?e.parentNode:e),Ar(function(){sa(n,b,i,a)}),b}function la(e,n,i,a,c){var h=i._reactRootContainer;if(h){var y=h;if(typeof c=="function"){var x=c;c=function(){var b=oa(y);x.call(b)}}sa(n,y,e,c)}else y=Hw(i,n,e,c,a);return oa(y)}Id=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var i=Xs(n.pendingLanes);i!==0&&(ol(n,i|1),kt(n,We()),(Ne&6)===0&&(Ss=We()+500,Kn()))}break;case 13:Ar(function(){var a=kn(e,1);if(a!==null){var c=xt();sn(a,e,1,c)}}),Lu(e,1)}},il=function(e){if(e.tag===13){var n=kn(e,134217728);if(n!==null){var i=xt();sn(n,e,134217728,i)}Lu(e,134217728)}},Fd=function(e){if(e.tag===13){var n=er(e),i=kn(e,n);if(i!==null){var a=xt();sn(i,e,n,a)}Lu(e,n)}},Dd=function(){return De},jd=function(e,n){var i=De;try{return De=e,n()}finally{De=i}},Ja=function(e,n,i){switch(n){case"input":if(it(e,i),n=i.name,i.type==="radio"&&n!=null){for(i=e;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<i.length;n++){var a=i[n];if(a!==e&&a.form===e.form){var c=Ci(a);if(!c)throw Error(s(90));ot(a),it(a,c)}}}break;case"textarea":fd(e,i);break;case"select":n=i.value,n!=null&&Mn(e,!!i.multiple,n,!1)}},Ed=ku,_d=Ar;var Ww={usingClientEntryPoint:!1,Events:[mo,cs,Ci,wd,xd,ku]},Po={findFiberByHostInstance:_r,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Qw={bundleType:Po.bundleType,version:Po.version,rendererPackageName:Po.rendererPackageName,rendererConfig:Po.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:N.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=kd(e),e===null?null:e.stateNode},findFiberByHostInstance:Po.findFiberByHostInstance||qw,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 ua=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ua.isDisabled&&ua.supportsFiber)try{ii=ua.inject(Qw),cn=ua}catch{}}
40return Rt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ww,Rt.createPortal=function(e,n){var i=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Fu(n))throw Error(s(200));return Vw(e,n,null,i)},Rt.createRoot=function(e,n){if(!Fu(e))throw Error(s(299));var i=!1,a="",c=ep;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(a=n.identifierPrefix),n.onRecoverableError!==void 0&&(c=n.onRecoverableError)),n=Nu(e,1,!1,null,null,i,!1,a,c),e[_n]=n.current,fo(e.nodeType===8?e.parentNode:e),new Iu(n)},Rt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=kd(n),e=e===null?null:e.stateNode,e},Rt.flushSync=function(e){return Ar(e)},Rt.hydrate=function(e,n,i){if(!aa(n))throw Error(s(200));return la(null,e,n,!0,i)},Rt.hydrateRoot=function(e,n,i){if(!Fu(e))throw Error(s(405));var a=i!=null&&i.hydratedSources||null,c=!1,h="",y=ep;if(i!=null&&(i.unstable_strictMode===!0&&(c=!0),i.identifierPrefix!==void 0&&(h=i.identifierPrefix),i.onRecoverableError!==void 0&&(y=i.onRecoverableError)),n=Jh(n,null,e,1,i??null,c,!1,h,y),e[_n]=n.current,fo(e),a)for(e=0;e<a.length;e++)i=a[e],c=i._getVersion,c=c(i._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[i,c]:n.mutableSourceEagerHydrationData.push(i,c);return new ia(n)},Rt.render=function(e,n,i){if(!aa(n))throw Error(s(200));return la(null,e,n,!1,i)},Rt.unmountComponentAtNode=function(e){if(!aa(e))throw Error(s(40));return e._reactRootContainer?(Ar(function(){la(null,null,e,!1,function(){e._reactRootContainer=null,e[_n]=null})}),!0):!1},Rt.unstable_batchedUpdates=ku,Rt.unstable_renderSubtreeIntoContainer=function(e,n,i,a){if(!aa(i))throw Error(s(200));if(e==null||e._reactInternals===void 0)throw Error(s(38));return la(e,n,i,!1,a)},Rt.version="18.3.1-next-f1338f8080-20240426",Rt}var cp;function qm(){if(cp)return Uu.exports;cp=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(t){console.error(t)}}return r(),Uu.exports=r0(),Uu.exports}var dp;function s0(){if(dp)return da;dp=1;var r=qm();return da.createRoot=r.createRoot,da.hydrateRoot=r.hydrateRoot,da}var o0=s0();const i0=Dc(o0),a0=20,l0=1e6,Fn={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let $u=0;function u0(){return $u=($u+1)%Number.MAX_VALUE,$u.toString()}const Vu=new Map,fp=r=>{if(Vu.has(r))return;const t=setTimeout(()=>{Vu.delete(r),Uo({type:Fn.REMOVE_TOAST,toastId:r})},l0);Vu.set(r,t)},c0=(r,t)=>{switch(t.type){case Fn.ADD_TOAST:return{...r,toasts:[t.toast,...r.toasts].slice(0,a0)};case Fn.UPDATE_TOAST:return{...r,toasts:r.toasts.map(s=>s.id===t.toast.id?{...s,...t.toast}:s)};case Fn.DISMISS_TOAST:{const{toastId:s}=t;return s?fp(s):r.toasts.forEach(o=>{fp(o.id)}),{...r,toasts:r.toasts.map(o=>o.id===s||s===void 0?{...o,open:!1}:o)}}case Fn.REMOVE_TOAST:return t.toastId===void 0?{...r,toasts:[]}:{...r,toasts:r.toasts.filter(s=>s.id!==t.toastId)}}},Ea=[];let _a={toasts:[]};function Uo(r){_a=c0(_a,r),Ea.forEach(t=>{t(_a)})}function d0({...r}){const t=u0(),s=l=>Uo({type:Fn.UPDATE_TOAST,toast:{...l,id:t}}),o=()=>Uo({type:Fn.DISMISS_TOAST,toastId:t});return Uo({type:Fn.ADD_TOAST,toast:{...r,id:t,open:!0,onOpenChange:l=>{l||o()}}}),{id:t,dismiss:o,update:s}}function f0(){const[r,t]=k.useState(_a);return k.useEffect(()=>(Ea.push(t),()=>{const s=Ea.indexOf(t);s>-1&&Ea.splice(s,1)}),[r]),{...r,toast:d0,dismiss:s=>Uo({type:Fn.DISMISS_TOAST,toastId:s})}}var Mc=qm();const h0=Dc(Mc);function Dt(r,t,{checkForDefaultPrevented:s=!0}={}){return function(l){if(r==null||r(l),s===!1||!l.defaultPrevented)return t==null?void 0:t(l)}}function hp(r,t){if(typeof r=="function")return r(t);r!=null&&(r.current=t)}function Uc(...r){return t=>{let s=!1;const o=r.map(l=>{const u=hp(l,t);return!s&&typeof u=="function"&&(s=!0),u});if(s)return()=>{for(let l=0;l<o.length;l++){const u=o[l];typeof u=="function"?u():hp(r[l],null)}}}}function Gr(...r){return k.useCallback(Uc(...r),r)}function Hm(r,t=[]){let s=[];function o(u,d){const f=k.createContext(d),p=s.length;s=[...s,d];const m=v=>{var E;const{scope:_,children:T,...D}=v,S=((E=_==null?void 0:_[r])==null?void 0:E[p])||f,w=k.useMemo(()=>D,Object.values(D));return C.jsx(S.Provider,{value:w,children:T})};m.displayName=u+"Provider";function g(v,_){var S;const T=((S=_==null?void 0:_[r])==null?void 0:S[p])||f,D=k.useContext(T);if(D)return D;if(d!==void 0)return d;throw new Error(`\`${v}\` must be used within \`${u}\``)}return[m,g]}const l=()=>{const u=s.map(d=>k.createContext(d));return function(f){const p=(f==null?void 0:f[r])||u;return k.useMemo(()=>({[`__scope${r}`]:{...f,[r]:p}}),[f,p])}};return l.scopeName=r,[o,p0(l,...t)]}function p0(...r){const t=r[0];if(r.length===1)return t;const s=()=>{const o=r.map(l=>({useScope:l(),scopeName:l.scopeName}));return function(u){const d=o.reduce((f,{useScope:p,scopeName:m})=>{const v=p(u)[`__scope${m}`];return{...f,...v}},{});return k.useMemo(()=>({[`__scope${t.scopeName}`]:d}),[d])}};return s.scopeName=t.scopeName,s}function pp(r){const t=m0(r),s=k.forwardRef((o,l)=>{const{children:u,...d}=o,f=k.Children.toArray(u),p=f.find(g0);if(p){const m=p.props.children,g=f.map(v=>v===p?k.Children.count(m)>1?k.Children.only(null):k.isValidElement(m)?m.props.children:null:v);return C.jsx(t,{...d,ref:l,children:k.isValidElement(m)?k.cloneElement(m,void 0,g):null})}return C.jsx(t,{...d,ref:l,children:u})});return s.displayName=`${r}.Slot`,s}function m0(r){const t=k.forwardRef((s,o)=>{const{children:l,...u}=s;if(k.isValidElement(l)){const d=w0(l),f=v0(u,l.props);return l.type!==k.Fragment&&(f.ref=o?Uc(o,d):d),k.cloneElement(l,f)}return k.Children.count(l)>1?k.Children.only(null):null});return t.displayName=`${r}.SlotClone`,t}var y0=Symbol("radix.slottable");function g0(r){return k.isValidElement(r)&&typeof r.type=="function"&&"__radixId"in r.type&&r.type.__radixId===y0}function v0(r,t){const s={...t};
vendor: 8,545 bytes, line 40
40for(const o in t){const l=r[o],u=t[o];/^on[A-Z]/.test(o)?l&&u?s[o]=(...f)=>{const p=u(...f);return l(...f),p}:l&&(s[o]=l):o==="style"?s[o]={...l,...u}:o==="className"&&(s[o]=[l,u].filter(Boolean).join(" "))}return{...r,...s}}function w0(r){var o,l;let t=(o=Object.getOwnPropertyDescriptor(r.props,"ref"))==null?void 0:o.get,s=t&&"isReactWarning"in t&&t.isReactWarning;return s?r.ref:(t=(l=Object.getOwnPropertyDescriptor(r,"ref"))==null?void 0:l.get,s=t&&"isReactWarning"in t&&t.isReactWarning,s?r.props.ref:r.props.ref||r.ref)}function x0(r){const t=r+"CollectionProvider",[s,o]=Hm(t),[l,u]=s(t,{collectionRef:{current:null},itemMap:new Map}),d=S=>{const{scope:w,children:E}=S,I=ir.useRef(null),L=ir.useRef(new Map).current;return C.jsx(l,{scope:w,itemMap:L,collectionRef:I,children:E})};d.displayName=t;const f=r+"CollectionSlot",p=pp(f),m=ir.forwardRef((S,w)=>{const{scope:E,children:I}=S,L=u(f,E),N=Gr(w,L.collectionRef);return C.jsx(p,{ref:N,children:I})});m.displayName=f;const g=r+"CollectionItemSlot",v="data-radix-collection-item",_=pp(g),T=ir.forwardRef((S,w)=>{const{scope:E,children:I,...L}=S,N=ir.useRef(null),U=Gr(w,N),q=u(g,E);return ir.useEffect(()=>(q.itemMap.set(N,{ref:N,...L}),()=>void q.itemMap.delete(N))),C.jsx(_,{[v]:"",ref:U,children:I})});T.displayName=g;function D(S){const w=u(r+"CollectionConsumer",S);return ir.useCallback(()=>{const I=w.collectionRef.current;if(!I)return[];const L=Array.from(I.querySelectorAll(`[${v}]`));return Array.from(w.itemMap.values()).sort((q,G)=>L.indexOf(q.ref.current)-L.indexOf(G.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:d,Slot:m,ItemSlot:T},D,o]}function E0(r){const t=_0(r),s=k.forwardRef((o,l)=>{const{children:u,...d}=o,f=k.Children.toArray(u),p=f.find(b0);if(p){const m=p.props.children,g=f.map(v=>v===p?k.Children.count(m)>1?k.Children.only(null):k.isValidElement(m)?m.props.children:null:v);return C.jsx(t,{...d,ref:l,children:k.isValidElement(m)?k.cloneElement(m,void 0,g):null})}return C.jsx(t,{...d,ref:l,children:u})});return s.displayName=`${r}.Slot`,s}function _0(r){const t=k.forwardRef((s,o)=>{const{children:l,...u}=s;if(k.isValidElement(l)){const d=k0(l),f=C0(u,l.props);return l.type!==k.Fragment&&(f.ref=o?Uc(o,d):d),k.cloneElement(l,f)}return k.Children.count(l)>1?k.Children.only(null):null});return t.displayName=`${r}.SlotClone`,t}var S0=Symbol("radix.slottable");function b0(r){return k.isValidElement(r)&&typeof r.type=="function"&&"__radixId"in r.type&&r.type.__radixId===S0}function C0(r,t){const s={...t};for(const o in t){const l=r[o],u=t[o];/^on[A-Z]/.test(o)?l&&u?s[o]=(...f)=>{const p=u(...f);return l(...f),p}:l&&(s[o]=l):o==="style"?s[o]={...l,...u}:o==="className"&&(s[o]=[l,u].filter(Boolean).join(" "))}return{...r,...s}}function k0(r){var o,l;let t=(o=Object.getOwnPropertyDescriptor(r.props,"ref"))==null?void 0:o.get,s=t&&"isReactWarning"in t&&t.isReactWarning;return s?r.ref:(t=(l=Object.getOwnPropertyDescriptor(r,"ref"))==null?void 0:l.get,s=t&&"isReactWarning"in t&&t.isReactWarning,s?r.props.ref:r.props.ref||r.ref)}var R0=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],xn=R0.reduce((r,t)=>{const s=E0(`Primitive.${t}`),o=k.forwardRef((l,u)=>{const{asChild:d,...f}=l,p=d?s:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),C.jsx(p,{...f,ref:u})});return o.displayName=`Primitive.${t}`,{...r,[t]:o}},{});function Wm(r,t){r&&Mc.flushSync(()=>r.dispatchEvent(t))}function Xr(r){const t=k.useRef(r);return k.useEffect(()=>{t.current=r}),k.useMemo(()=>(...s)=>{var o;return(o=t.current)==null?void 0:o.call(t,...s)},[])}function T0(r,t=globalThis==null?void 0:globalThis.document){const s=Xr(r);k.useEffect(()=>{const o=l=>{l.key==="Escape"&&s(l)};return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[s,t])}var P0="DismissableLayer",nc="dismissableLayer.update",A0="dismissableLayer.pointerDownOutside",O0="dismissableLayer.focusOutside",mp,Qm=k.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Km=k.forwardRef((r,t)=>{const{disableOutsidePointerEvents:s=!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:d,onDismiss:f,...p}=r,m=k.useContext(Qm),[g,v]=k.useState(null),_=(g==null?void 0:g.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,T]=k.useState({}),D=Gr(t,G=>v(G)),S=Array.from(m.layers),[w]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),E=S.indexOf(w),I=g?S.indexOf(g):-1,L=m.layersWithOutsidePointerEventsDisabled.size>0,N=I>=E,U=L0(G=>{const z=G.target,ae=[...m.branches].some(ye=>ye.contains(z));!N||ae||(l==null||l(G),d==null||d(G),G.defaultPrevented||f==null||f())},_),q=I0(G=>{const z=G.target;[...m.branches].some(ye=>ye.contains(z))||(u==null||u(G),d==null||d(G),G.defaultPrevented||f==null||f())},_);return T0(G=>{I===m.layers.size-1&&(o==null||o(G),!G.defaultPrevented&&f&&(G.preventDefault(),f()))},_),k.useEffect(()=>{if(g)return s&&(m.layersWithOutsidePointerEventsDisabled.size===0&&(mp=_.body.style.pointerEvents,_.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(g)),m.layers.add(g),yp(),()=>{s&&m.layersWithOutsidePointerEventsDisabled.size===1&&(_.body.style.pointerEvents=mp)}},[g,_,s,m]),k.useEffect(()=>()=>{g&&(m.layers.delete(g),m.layersWithOutsidePointerEventsDisabled.delete(g),yp())},[g,m]),k.useEffect(()=>{const G=()=>T({});return document.addEventListener(nc,G),()=>document.removeEventListener(nc,G)},[]),C.jsx(xn.div,{...p,ref:D,style:{pointerEvents:L?N?"auto":"none":void 0,...r.style},onFocusCapture:Dt(r.onFocusCapture,q.onFocusCapture),onBlurCapture:Dt(r.onBlurCapture,q.onBlurCapture),onPointerDownCapture:Dt(r.onPointerDownCapture,U.onPointerDownCapture)})});Km.displayName=P0;var N0="DismissableLayerBranch",Gm=k.forwardRef((r,t)=>{const s=k.useContext(Qm),o=k.useRef(null),l=Gr(t,o);return k.useEffect(()=>{const u=o.current;if(u)return s.branches.add(u),()=>{s.branches.delete(u)}},[s.branches]),C.jsx(xn.div,{...r,ref:l})});Gm.displayName=N0;function L0(r,t=globalThis==null?void 0:globalThis.document){const s=Xr(r),o=k.useRef(!1),l=k.useRef(()=>{});return k.useEffect(()=>{const u=f=>{if(f.target&&!o.current){let p=function(){Xm(A0,s,m,{discrete:!0})};const m={originalEvent:f};f.pointerType==="touch"?(t.removeEventListener("click",l.current),l.current=p,t.addEventListener("click",l.current,{once:!0})):p()}else t.removeEventListener("click",l.current);o.current=!1},d=window.setTimeout(()=>{t.addEventListener("pointerdown",u)},0);return()=>{window.clearTimeout(d),t.removeEventListener("pointerdown",u),t.removeEventListener("click",l.current)}},[t,s]),{onPointerDownCapture:()=>o.current=!0}}function I0(r,t=globalThis==null?void 0:globalThis.document){const s=Xr(r),o=k.useRef(!1);return k.useEffect(()=>{const l=u=>{u.target&&!o.current&&Xm(O0,s,{originalEvent:u},{discrete:!1})};return t.addEventListener("focusin",l),()=>t.removeEventListener("focusin",l)},[t,s]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function yp(){const r=new CustomEvent(nc);document.dispatchEvent(r)}function Xm(r,t,s,{discrete:o}){const l=s.originalEvent.target,u=new CustomEvent(r,{bubbles:!1,cancelable:!0,detail:s});t&&l.addEventListener(r,t,{once:!0}),o?Wm(l,u):l.dispatchEvent(u)}var F0=Km,D0=Gm,Bo=globalThis!=null&&globalThis.document?k.useLayoutEffect:()=>{},j0="Portal",Ym=k.forwardRef((r,t)=>{var f;const{container:s,...o}=r,[l,u]=k.useState(!1);Bo(()=>u(!0),[]);const d=s||l&&((f=globalThis==null?void 0:globalThis.document)==null?void 0:f.body);return d?h0.createPortal(C.jsx(xn.div,{...o,ref:t}),d):null});Ym.displayName=j0;function M0(r,t){return k.useReducer((s,o)=>t[s][o]??s,r)}var Jm=r=>{const{present:t,children:s}=r,o=U0(t),l=typeof s=="function"?s({present:o.isPresent}):k.Children.only(s),u=Gr(o.ref,B0(l));return typeof s=="function"||o.isPresent?k.cloneElement(l,{ref:u}):null};Jm.displayName="Presence";function U0(r){const[t,s]=k.useState(),o=k.useRef(null),l=k.useRef(r),u=k.useRef("none"),d=r?"mounted":"unmounted",[f,p]=M0(d,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return k.useEffect(()=>{const m=fa(o.current);u.current=f==="mounted"?m:"none"},[f]),Bo(()=>{const m=o.current,g=l.current;if(g!==r){const _=u.current,T=fa(m);r?p("MOUNT"):T==="none"||(m==null?void 0:m.display)==="none"?p("UNMOUNT"):p(g&&_!==T?"ANIMATION_OUT":"UNMOUNT"),l.current=r}},[r,p]),Bo(()=>
40{if(t){let m;const g=t.ownerDocument.defaultView??window,v=T=>{const S=fa(o.current).includes(CSS.escape(T.animationName));if(T.target===t&&S&&(p("ANIMATION_END"),!l.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",m=g.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},_=T=>{T.target===t&&(u.current=fa(o.current))};return t.addEventListener("animationstart",_),t.addEventListener("animationcancel",v),t.addEventListener("animationend",v),()=>{g.clearTimeout(m),t.removeEventListener("animationstart",_),t.removeEventListener("animationcancel",v),t.removeEventListener("animationend",v)}}else p("ANIMATION_END")},[t,p]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:k.useCallback(m=>{o.current=m?getComputedStyle(m):null,s(m)},[])}}function fa(r){return(r==null?void 0:r.animationName)||"none"}function B0(r){var o,l;let t=(o=Object.getOwnPropertyDescriptor(r.props,"ref"))==null?void 0:o.get,s=t&&"isReactWarning"in t&&t.isReactWarning;return s?r.ref:(t=(l=Object.getOwnPropertyDescriptor(r,"ref"))==null?void 0:l.get,s=t&&"isReactWarning"in t&&t.isReactWarning,s?r.props.ref:r.props.ref||r.ref)}var z0=Vm[" useInsertionEffect ".trim().toString()]||Bo;function $0({prop:r,defaultProp:t,onChange:s=()=>{},caller:o}){const[l,u,d]=V0({defaultProp:t,onChange:s}),f=r!==void 0,p=f?r:l;{const g=k.useRef(r!==void 0);k.useEffect(()=>{const v=g.current;v!==f&&console.warn(`${o} is changing from ${v?"controlled":"uncontrolled"} to ${f?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),g.current=f},[f,o])}const m=k.useCallback(g=>{var v;if(f){const _=q0(g)?g(r):g;_!==r&&((v=d.current)==null||v.call(d,_))}else u(g)},[f,r,u,d]);return[p,m]}function V0({defaultProp:r,onChange:t}){const[s,o]=k.useState(r),l=k.useRef(s),u=k.useRef(t);return z0(()=>{u.current=t},[t]),k.useEffect(()=>{var d;l.current!==s&&((d=u.current)==null||d.call(u,s),l.current=s)},[s,l]),[s,o,u]}function q0(r){return typeof r=="function"}var H0=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),W0="VisuallyHidden",Bc=k.forwardRef((r,t)=>C.jsx(xn.span,{...r,ref:t,style:{...H0,...r.style}}));Bc.displayName=W0;var zc="ToastProvider",[$c,Q0,K0]=x0("Toast"),[Zm]=Hm("Toast",[K0]),[G0,Ma]=Zm(zc),ey=r=>{const{__scopeToast:t,label:s="Notification",duration:o=5e3,swipeDirection:l="right",swipeThreshold:u=50,children:d}=r,[f,p]=k.useState(null),[m,g]=k.useState(0),v=k.useRef(!1),_=k.useRef(!1);return s.trim()||console.error(`Invalid prop \`label\` supplied to \`${zc}\`. Expected non-empty \`string\`.`),C.jsx($c.Provider,{scope:t,children:C.jsx(G0,{scope:t,label:s,duration:o,swipeDirection:l,swipeThreshold:u,toastCount:m,viewport:f,onViewportChange:p,onToastAdd:k.useCallback(()=>g(T=>T+1),[]),onToastRemove:k.useCallback(()=>g(T=>T-1),[]),isFocusedToastEscapeKeyDownRef:v,isClosePausedRef:_,children:d})})};ey.displayName=zc;var ty="ToastViewport",X0=["F8"],rc="toast.viewportPause",sc="toast.viewportResume",ny=k.forwardRef((r,t)=>{const{__scopeToast:s,hotkey:o=X0,label:l="Notifications ({hotkey})",...u}=r,d=Ma(ty,s),f=Q0(s),p=k.useRef(null),m=k.useRef(null),g=k.useRef(null),v=k.useRef(null),_=Gr(t,v,d.onViewportChange),T=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),D=d.toastCount>0;k.useEffect(()=>{const w=E=>{var L;o.length!==0&&o.every(N=>E[N]||E.code===N)&&((L=v.current)==null||L.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[o]),k.useEffect(()=>{const w=p.current,E=v.current;if(D&&w&&E){const I=()=>{if(!d.isClosePausedRef.current){const q=new CustomEvent(rc);E.dispatchEvent(q),d.isClosePausedRef.current=!0}},L=()=>
40{if(d.isClosePausedRef.current){const q=new CustomEvent(sc);E.dispatchEvent(q),d.isClosePausedRef.current=!1}},N=q=>{!w.contains(q.relatedTarget)&&L()},U=()=>{w.contains(document.activeElement)||L()};return w.addEventListener("focusin",I),w.addEventListener("focusout",N),w.addEventListener("pointermove",I),w.addEventListener("pointerleave",U),window.addEventListener("blur",I),window.addEventListener("focus",L),()=>{w.removeEventListener("focusin",I),w.removeEventListener("focusout",N),w.removeEventListener("pointermove",I),w.removeEventListener("pointerleave",U),window.removeEventListener("blur",I),window.removeEventListener("focus",L)}}},[D,d.isClosePausedRef]);const S=k.useCallback(({tabbingDirection:w})=>{const I=f().map(L=>{const N=L.ref.current,U=[N,...ux(N)];return w==="forwards"?U:U.reverse()});return(w==="forwards"?I.reverse():I).flat()},[f]);return k.useEffect(()=>{const w=v.current;if(w){const E=I=>{var U,q,G;const L=I.altKey||I.ctrlKey||I.metaKey;if(I.key==="Tab"&&!L){const z=document.activeElement,ae=I.shiftKey;if(I.target===w&&ae){(U=m.current)==null||U.focus();return}const Ce=S({tabbingDirection:ae?"backwards":"forwards"}),Oe=Ce.findIndex(Z=>Z===z);qu(Ce.slice(Oe+1))?I.preventDefault():ae?(q=m.current)==null||q.focus():(G=g.current)==null||G.focus()}};return w.addEventListener("keydown",E),()=>w.removeEventListener("keydown",E)}},[f,S]),C.jsxs(D0,{ref:p,role:"region","aria-label":l.replace("{hotkey}",T),tabIndex:-1,style:{pointerEvents:D?void 0:"none"},children:[D&&C.jsx(oc,{ref:m,onFocusFromOutsideViewport:()=>{const w=S({tabbingDirection:"forwards"});qu(w)}}),C.jsx($c.Slot,{scope:s,children:C.jsx(xn.ol,{tabIndex:-1,...u,ref:_})}),D&&C.jsx(oc,{ref:g,onFocusFromOutsideViewport:()=>{const w=S({tabbingDirection:"backwards"});qu(w)}})]})});ny.displayName=ty;var ry="ToastFocusProxy",oc=k.forwardRef((r,t)=>{const{__scopeToast:s,onFocusFromOutsideViewport:o,...l}=r,u=Ma(ry,s);return C.jsx(Bc,{tabIndex:0,...l,ref:t,style:{position:"fixed"},onFocus:d=>{var m;const f=d.relatedTarget;!((m=u.viewport)!=null&&m.contains(f))&&o()}})});oc.displayName=ry;var Go="Toast",Y0="toast.swipeStart",J0="toast.swipeMove",Z0="toast.swipeCancel",ex="toast.swipeEnd",sy=k.forwardRef((r,t)=>{const{forceMount:s,open:o,defaultOpen:l,onOpenChange:u,...d}=r,[f,p]=$0({prop:o,defaultProp:l??!0,onChange:u,caller:Go});return C.jsx(Jm,{present:s||f,children:C.jsx(rx,{open:f,...d,ref:t,onClose:()=>p(!1),onPause:Xr(r.onPause),onResume:Xr(r.onResume),onSwipeStart:Dt(r.onSwipeStart,m=>{m.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Dt(r.onSwipeMove,m=>{const{x:g,y:v}=m.detail.delta;m.currentTarget.setAttribute("data-swipe","move"),m.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${g}px`),m.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${v}px`)}),onSwipeCancel:Dt(r.onSwipeCancel,m=>{m.currentTarget.setAttribute("data-swipe","cancel"),m.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),m.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),m.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),m.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Dt(r.onSwipeEnd,m=>{const{x:g,y:v}=m.detail.delta;m.currentTarget.setAttribute("data-swipe","end"),m.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),m.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),m.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${g}px`),m.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${v}px`),p(!1)})})})});sy.displayName=Go;var[tx,nx]=Zm(Go,{onClose(){}}),rx=k.forwardRef((r,t)=>{const{__scopeToast:s,type:o="foreground",duration:l,open:u,onClose:d,onEscapeKeyDown:f,onPause:p,onResume:m,onSwipeStart:g,onSwipeMove:v,onSwipeCancel:_,onSwipeEnd:T,...D}=r,S=Ma(Go,s),[w,E]=k.useState(null),I=Gr(t,Z=>E(Z)),L=k.useRef(null),N=k.useRef(null),U=l||S.duration,q=k.useRef(0),G=k.useRef(U),z=k.useRef(0),{onToastAdd:ae,onToastRemove:ye}=S,_e=Xr(()=>{var Se;(w==null?void 0:w.contains(document.activeElement))&&((Se=S.viewport)==null||Se.focu
40s()),d()}),Ce=k.useCallback(Z=>{!Z||Z===1/0||(window.clearTimeout(z.current),q.current=new Date().getTime(),z.current=window.setTimeout(_e,Z))},[_e]);k.useEffect(()=>{const Z=S.viewport;if(Z){const Se=()=>{Ce(G.current),m==null||m()},ue=()=>{const we=new Date().getTime()-q.current;G.current=G.current-we,window.clearTimeout(z.current),p==null||p()};return Z.addEventListener(rc,ue),Z.addEventListener(sc,Se),()=>{Z.removeEventListener(rc,ue),Z.removeEventListener(sc,Se)}}},[S.viewport,U,p,m,Ce]),k.useEffect(()=>{u&&!S.isClosePausedRef.current&&Ce(U)},[u,U,S.isClosePausedRef,Ce]),k.useEffect(()=>(ae(),()=>ye()),[ae,ye]);const Oe=k.useMemo(()=>w?dy(w):null,[w]);return S.viewport?C.jsxs(C.Fragment,{children:[Oe&&C.jsx(sx,{__scopeToast:s,role:"status","aria-live":o==="foreground"?"assertive":"polite",children:Oe}),C.jsx(tx,{scope:s,onClose:_e,children:Mc.createPortal(C.jsx($c.ItemSlot,{scope:s,children:C.jsx(F0,{asChild:!0,onEscapeKeyDown:Dt(f,()=>{S.isFocusedToastEscapeKeyDownRef.current||_e(),S.isFocusedToastEscapeKeyDownRef.current=!1}),children:C.jsx(xn.li,{tabIndex:0,"data-state":u?"open":"closed","data-swipe-direction":S.swipeDirection,...D,ref:I,style:{userSelect:"none",touchAction:"none",...r.style},onKeyDown:Dt(r.onKeyDown,Z=>{Z.key==="Escape"&&(f==null||f(Z.nativeEvent),Z.nativeEvent.defaultPrevented||(S.isFocusedToastEscapeKeyDownRef.current=!0,_e()))}),onPointerDown:Dt(r.onPointerDown,Z=>{Z.button===0&&(L.current={x:Z.clientX,y:Z.clientY})}),onPointerMove:Dt(r.onPointerMove,Z=>{if(!L.current)return;const Se=Z.clientX-L.current.x,ue=Z.clientY-L.current.y,we=!!N.current,K=["left","right"].includes(S.swipeDirection),ne=["left","up"].includes(S.swipeDirection)?Math.min:Math.max,B=K?ne(0,Se):0,A=K?0:ne(0,ue),$=Z.pointerType==="touch"?10:2,ce={x:B,y:A},me={originalEvent:Z,delta:ce};we?(N.current=ce,ha(J0,v,me,{discrete:!1})):gp(ce,S.swipeDirection,$)?(N.current=ce,ha(Y0,g,me,{discrete:!1}),Z.target.setPointerCapture(Z.pointerId)):(Math.abs(Se)>$||Math.abs(ue)>$)&&(L.current=null)}),onPointerUp:Dt(r.onPointerUp,Z=>{const Se=N.current,ue=Z.target;if(ue.hasPointerCapture(Z.pointerId)&&ue.releasePointerCapture(Z.pointerId),N.current=null,L.current=null,Se){const we=Z.currentTarget,K={originalEvent:Z,delta:Se};gp(Se,S.swipeDirection,S.swipeThreshold)?ha(ex,T,K,{discrete:!0}):ha(Z0,_,K,{discrete:!0}),we.addEventListener("click",ne=>ne.preventDefault(),{once:!0})}})})})}),S.viewport)})]}):null}),sx=r=>{const{__scopeToast:t,children:s,...o}=r,l=Ma(Go,t),[u,d]=k.useState(!1),[f,p]=k.useState(!1);return ax(()=>d(!0)),k.useEffect(()=>{const m=window.setTimeout(()=>p(!0),1e3);return()=>window.clearTimeout(m)},[]),f?null:C.jsx(Ym,{asChild:!0,children:C.jsx(Bc,{...o,children:u&&C.jsxs(C.Fragment,{children:[l.label," ",s]})})})},ox="ToastTitle",oy=k.forwardRef((r,t)=>{const{__scopeToast:s,...o}=r;return C.jsx(xn.div,{...o,ref:t})});oy.displayName=ox;var ix="ToastDescription",iy=k.forwardRef((r,t)=>{const{__scopeToast:s,...o}=r;return C.jsx(xn.div,{...o,ref:t})});iy.displayName=ix;var ay="ToastAction",ly=k.forwardRef((r,t)=>{const{altText:s,...o}=r;return s.trim()?C.jsx(cy,{altText:s,asChild:!0,children:C.jsx(Vc,{...o,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${ay}\`. Expected non-empty \`string\`.`),null)});ly.displayName=ay;var uy="ToastClose",Vc=k.forwardRef((r,t)=>{const{__scopeToast:s,...o}=r,l=nx(uy,s);return C.jsx(cy,{asChild:!0,children:C.jsx(xn.button,{type:"button",...o,ref:t,onClick:Dt(r.onClick,l.onClose)})})});Vc.displayName=uy;var cy=k.forwardRef((r,t)=>{const{__scopeToast:s,altText:o,...l}=r;return C.jsx(xn.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":o||void 0,...l,ref:t})});function dy(r){const t=[];return Array.from(r.childNodes).forEach(o=>{if(o.nodeType===o.TEXT_NODE&&o.textContent&&t.push(o.textContent),lx(o)){const l=o.ariaHidden||o.hidden||o.style.display==="none",u=o.dataset.radixToastAnnounceExclude==="";if(!l)if(u){const d=o.dataset.radixToastAnnounceAlt;d&&t.push(d)}else t.push(...dy(o))}}),t}function ha(r,t,s,{discrete:o}){const l=s.originalEvent.currentTarget,u=new CustomEvent(r,{bubbles:!0,cancelable:!0,detail:s});t&&l.addEventListener(r,t,{once:!0}),o?Wm(l,u):l.dispatchEvent(u)}var gp=(r,t,s=0)=>{const o=Math.abs(r.x),l=Math.abs(r.y),u=o>l;return t==="left"||t==="right"?u&&o>s:!u&&l>s};function ax(r=()=>{}){const t=Xr(r);Bo(()=>{let s=0,o=0;return s=window.requestAnimationFrame(()=>o=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(s),window.cancelAnimationFrame(o)}},[t])}function lx(r){return r.nodeType===r.ELEMENT_NODE}function ux(r){const t=[],s=document.createTreeWalker(r,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const l=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||l?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;s.nextNode();)t.push(s.currentNode);return t}function qu(r){const t=document.activeElement;return r.some(s=>s===t?!0:(s.focus(),document.activeElement!==t))}var cx=ey,fy=ny,hy=sy,py=oy,my=iy,yy=ly,gy=Vc;function vy(r){var t,s,o="";if(typeof r=="string"||typeof r=="number")o+=r;else if(typeof r=="object")if(Array.isArray(r)){var l=r.length;for(t=0;t<l;t++)r[t]&&(s=vy(r[t]))&&(o&&(o+=" "),o+=s)}else for(s in r)r[s]&&(o&&(o+=" "),o+=s);return o}function wy(){for(var r,t,s=0,o="",l=arguments.length;s<l;s++)(r=arguments[s])&&(t=vy(r))&&(o&&(o+=" "),o+=t);return o}const vp=r=>typeof r=="boolean"?`${r}`:r===0?"0":r,wp=wy,dx=(r,t)=>s=>{var o;if((t==null?void 0:t.variants)==null)return wp(r,s==null?void 0:s.class,s==null?void 0:s.className);const{variants:l,defaultVariants:u}=t,d=Object.keys(l).map(m=>{const g=s==null?void 0:s[m],v=u==null?void 0:u[m];if(g===null)return null;const _=vp(g)||vp(v);return l[m][_]}),f=s&&Object.entries(s).reduce((m,g)=>{let[v,_]=g;return _===void 0||(m[v]=_),m},{}),p=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((m,g)=>{let{class:v,className:_,...T}=g;return Object.entries(T).every(D=>{let[S,w]=D;return Array.isArray(w)?w.includes({...u,...f}[S]):{...u,...f}[S]===w})?[...m,v,_]:m},[]);return wp(r,d,p,s==null?void 0:s.class,s==null?void 0:s.className)};/**
41 * @license lucide-react v0.475.0 - ISC
42 *
43 * This source code is licensed under the ISC license.
44 * See the LICENSE file in the root directory of this source tree.
45 */const fx=r=>r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),xy=(...r)=>r.filter((t,s,o)=>!!t&&t.trim()!==""&&o.indexOf(t)===s).join(" ").trim();/**
46 * @license lucide-react v0.475.0 - ISC
47 *
48 * This source code is licensed under the ISC license.
49 * See the LICENSE file in the root directory of this source tree.
50 */var hx={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"};/**
51 * @license lucide-react v0.475.0 - ISC
52 *
53 * This source code is licensed under the ISC license.
54 * See the LICENSE file in the root directory of this source tree.
55 */const px=k.forwardRef(({color:r="currentColor",size:t=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:l="",children:u,iconNode:d,...f},p)=>k.createElement("svg",{ref:p,...hx,width:t,height:t,stroke:r,strokeWidth:o?Number(s)*24/Number(t):s,className:xy("lucide",l),...f},[...d.map(([m,g])=>k.createElement(m,g)),...Array.isArray(u)?u:[u]]));/**
56 * @license lucide-react v0.475.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const qc=(r,t)=>{const s=k.forwardRef(({className:o,...l},u)=>k.createElement(px,{ref:u,iconNode:t,className:xy(`lucide-${fx(r)}`,o),...l}));return s.displayName=`${r}`,s};/**
61 * @license lucide-react v0.475.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const mx=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],yx=qc("ArrowDown",mx);/**
66 * @license lucide-react v0.475.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */const gx=[["path",{d:"M2 6c.6.5 1.2 1 2.5 1C7 7 7 5 9.5 5c2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"knzxuh"}],["path",{d:"M2 12c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"2jd2cc"}],["path",{d:"M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"rd2r6e"}]],vx=qc("Waves",gx);/**
71 * @license lucide-react v0.475.0 - ISC
72 *
73 * This source code is licensed under the ISC license.
74 * See the LICENSE file in the root directory of this source tree.
75 */const wx=[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 3,589 bytes, line 75
75],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],xx=qc("X",wx),Ex=(r,t)=>{const s=new Array(r.length+t.length);for(let o=0;o<r.length;o++)s[o]=r[o];for(let o=0;o<t.length;o++)s[r.length+o]=t[o];return s},_x=(r,t)=>({classGroupId:r,validator:t}),Ey=(r=new Map,t=null,s)=>({nextPart:r,validators:t,classGroupId:s}),Aa="-",xp=[],Sx="arbitrary..",bx=r=>{const t=kx(r),{conflictingClassGroups:s,conflictingClassGroupModifiers:o}=r;return{getClassGroupId:d=>{if(d.startsWith("[")&&d.endsWith("]"))return Cx(d);const f=d.split(Aa),p=f[0]===""&&f.length>1?1:0;return _y(f,p,t)},getConflictingClassGroupIds:(d,f)=>{if(f){const p=o[d],m=s[d];return p?m?Ex(m,p):p:m||xp}return s[d]||xp}}},_y=(r,t,s)=>{if(r.length-t===0)return s.classGroupId;const l=r[t],u=s.nextPart.get(l);if(u){const m=_y(r,t+1,u);if(m)return m}const d=s.validators;if(d===null)return;const f=t===0?r.join(Aa):r.slice(t).join(Aa),p=d.length;for(let m=0;m<p;m++){const g=d[m];if(g.validator(f))return g.classGroupId}},Cx=r=>r.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=r.slice(1,-1),s=t.indexOf(":"),o=t.slice(0,s);return o?Sx+o:void 0})(),kx=r=>{const{theme:t,classGroups:s}=r;return Rx(s,t)},Rx=(r,t)=>{const s=Ey();for(const o in r){const l=r[o];Hc(l,s,o,t)}return s},Hc=(r,t,s,o)=>{const l=r.length;for(let u=0;u<l;u++){const d=r[u];Tx(d,t,s,o)}},Tx=(r,t,s,o)=>{if(typeof r=="string"){Px(r,t,s);return}if(typeof r=="function"){Ax(r,t,s,o);return}Ox(r,t,s,o)},Px=(r,t,s)=>{const o=r===""?t:Sy(t,r);o.classGroupId=s},Ax=(r,t,s,o)=>{if(Nx(r)){Hc(r(o),t,s,o);return}t.validators===null&&(t.validators=[]),t.validators.push(_x(s,r))},Ox=(r,t,s,o)=>{const l=Object.entries(r),u=l.length;for(let d=0;d<u;d++){const[f,p]=l[d];Hc(p,Sy(t,f),s,o)}},Sy=(r,t)=>{let s=r;const o=t.split(Aa),l=o.length;for(let u=0;u<l;u++){const d=o[u];let f=s.nextPart.get(d);f||(f=Ey(),s.nextPart.set(d,f)),s=f}return s},Nx=r=>"isThemeGetter"in r&&r.isThemeGetter===!0,Lx=r=>{if(r<1)return{get:()=>{},set:()=>{}};let t=0,s=Object.create(null),o=Object.create(null);const l=(u,d)=>{s[u]=d,t++,t>r&&(t=0,o=s,s=Object.create(null))};return{get(u){let d=s[u];if(d!==void 0)return d;if((d=o[u])!==void 0)return l(u,d),d},set(u,d){u in s?s[u]=d:l(u,d)}}},ic="!",Ep=":",Ix=[],_p=(r,t,s,o,l)=>({modifiers:r,hasImportantModifier:t,baseClassName:s,maybePostfixModifierPosition:o,isExternal:l}),Fx=r=>{const{prefix:t,experimentalParseClassName:s}=r;let o=l=>{const u=[];let d=0,f=0,p=0,m;const g=l.length;for(let S=0;S<g;S++){const w=l[S];if(d===0&&f===0){if(w===Ep){u.push(l.slice(p,S)),p=S+1;continue}if(w==="/"){m=S;continue}}w==="["?d++:w==="]"?d--:w==="("?f++:w===")"&&f--}const v=u.length===0?l:l.slice(p);let _=v,T=!1;v.endsWith(ic)?(_=v.slice(0,-1),T=!0):v.startsWith(ic)&&(_=v.slice(1),T=!0);const D=m&&m>p?m-p:void 0;return _p(u,T,_,D)};if(t){const l=t+Ep,u=o;o=d=>d.startsWith(l)?u(d.slice(l.length)):_p(Ix,!1,d,void 0,!0)}if(s){const l=o;o=u=>s({className:u,parseClassName:l})}return o},Dx=r=>{const t=new Map;return r.orderSensitiveModifiers.forEach((s,o)=>{t.set(s,1e6+o)}),s=>{const o=[];let l=[];for(let u=0;u<s.length;u++){const d=s[u],f=d[0]==="[",p=t.has(d);f||p?(l.length>0&&(l.sort(),o.push(...l),l=[]),o.push(d)):l.push(d)}return l.length>0&&(l.sort(),o.push(...l)),o}},jx=r=>({cache:Lx(r.cacheSize),parseClassName:Fx(r),sortModifiers:Dx(r),...bx(r)}),Mx=/\s+/,Ux=(r,t)=>{const{parseClassName:s,getClassGroupId:o,getConflictingClassGroupIds:l,sortModifiers:u}=t,d=[],f=r.trim().split(Mx);let p="";for(let m=f.length-1;m>=0;m-=1){const g=f[m],{isExternal:v,modifiers:_,hasImportantModifier:T,baseClassName:D,maybePostfixModifierPosition:S}=s(g);
vendor: 4,818 bytes, line 75
75if(v){p=g+(p.length>0?" "+p:p);continue}let w=!!S,E=o(w?D.substring(0,S):D);if(!E){if(!w){p=g+(p.length>0?" "+p:p);continue}if(E=o(D),!E){p=g+(p.length>0?" "+p:p);continue}w=!1}const I=_.length===0?"":_.length===1?_[0]:u(_).join(":"),L=T?I+ic:I,N=L+E;if(d.indexOf(N)>-1)continue;d.push(N);const U=l(E,w);for(let q=0;q<U.length;++q){const G=U[q];d.push(L+G)}p=g+(p.length>0?" "+p:p)}return p},Bx=(...r)=>{let t=0,s,o,l="";for(;t<r.length;)(s=r[t++])&&(o=by(s))&&(l&&(l+=" "),l+=o);return l},by=r=>{if(typeof r=="string")return r;let t,s="";for(let o=0;o<r.length;o++)r[o]&&(t=by(r[o]))&&(s&&(s+=" "),s+=t);return s},zx=(r,...t)=>{let s,o,l,u;const d=p=>{const m=t.reduce((g,v)=>v(g),r());return s=jx(m),o=s.cache.get,l=s.cache.set,u=f,f(p)},f=p=>{const m=o(p);if(m)return m;const g=Ux(p,s);return l(p,g),g};return u=d,(...p)=>u(Bx(...p))},$x=[],Ze=r=>{const t=s=>s[r]||$x;return t.isThemeGetter=!0,t},Cy=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ky=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Vx=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,qx=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Hx=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Wx=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Qx=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Kx=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,sr=r=>Vx.test(r),be=r=>!!r&&!Number.isNaN(Number(r)),or=r=>!!r&&Number.isInteger(Number(r)),Hu=r=>r.endsWith("%")&&be(r.slice(0,-1)),An=r=>qx.test(r),Ry=()=>!0,Gx=r=>Hx.test(r)&&!Wx.test(r),Wc=()=>!1,Xx=r=>Qx.test(r),Yx=r=>Kx.test(r),Jx=r=>!se(r)&&!oe(r),Zx=r=>wr(r,Ay,Wc),se=r=>Cy.test(r),Ir=r=>wr(r,Oy,Gx),Sp=r=>wr(r,aE,be),eE=r=>wr(r,Ly,Ry),tE=r=>wr(r,Ny,Wc),bp=r=>wr(r,Ty,Wc),nE=r=>wr(r,Py,Yx),pa=r=>wr(r,Iy,Xx),oe=r=>ky.test(r),Oo=r=>es(r,Oy),rE=r=>es(r,Ny),Cp=r=>es(r,Ty),sE=r=>es(r,Ay),oE=r=>es(r,Py),ma=r=>es(r,Iy,!0),iE=r=>es(r,Ly,!0),wr=(r,t,s)=>{const o=Cy.exec(r);return o?o[1]?t(o[1]):s(o[2]):!1},es=(r,t,s=!1)=>{const o=ky.exec(r);return o?o[1]?t(o[1]):s:!1},Ty=r=>r==="position"||r==="percentage",Py=r=>r==="image"||r==="url",Ay=r=>r==="length"||r==="size"||r==="bg-size",Oy=r=>r==="length",aE=r=>r==="number",Ny=r=>r==="family-name",Ly=r=>r==="number"||r==="weight",Iy=r=>r==="shadow",lE=()=>{const r=Ze("color"),t=Ze("font"),s=Ze("text"),o=Ze("font-weight"),l=Ze("tracking"),u=Ze("leading"),d=Ze("breakpoint"),f=Ze("container"),p=Ze("spacing"),m=Ze("radius"),g=Ze("shadow"),v=Ze("inset-shadow"),_=Ze("text-shadow"),T=Ze("drop-shadow"),D=Ze("blur"),S=Ze("perspective"),w=Ze("aspect"),E=Ze("ease"),I=Ze("animate"),L=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],U=()=>[...N(),oe,se],q=()=>["auto","hidden","clip","visible","scroll"],G=()=>["auto","contain","none"],z=()=>[oe,se,p],ae=()=>[sr,"full","auto",...z()],ye=()=>[or,"none","subgrid",oe,se],_e=()=>["auto",{span:["full",or,oe,se]},or,oe,se],Ce=()=>[or,"auto",oe,se],Oe=()=>["auto","min","max","fr",oe,se],Z=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Se=()=>["start","end","center","stretch","center-safe","end-safe"],ue=()=>["auto",...z()],we=()=>[sr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...z()],K=()=>[sr,"screen","full","dvw","lvw","svw","min","max","fit",...z()],ne=()=>[sr,"screen","full","lh","dvh","lvh","svh","min","max","fit",...z()],B=()=>[r,oe,se],A=()=>[...N(),Cp,bp,{position:[oe,se]}],$=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ce=()=>["auto","cover","contain",sE,Zx,{size:[oe,se]}],me=()=>[Hu,Oo,Ir],he=()=>["","none","full",m,oe,se],X=()=>["",be,Oo,Ir],xe=()=>["solid","dashed","dotted","double"],Re=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ve=()=>[be,Hu,Cp,bp],et=()=>["","none",D,oe,se],jt=()=>["none",be,oe,se],ot=()=>["none",be,oe,se],Gt=()=>[be,oe,se],Mt=()=>[sr,"full",...z()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[An],breakpoint:[An],color:[Ry],container:[An],"drop-shadow":[An],ease:["in","out","in-out"],font:[Jx],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[An],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[An],shadow:[An],spacing:["px",be],text:[An],"text-shadow":[An],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",sr,se,oe,w]}
vendor: 6,143 bytes, line 75
75],container:["container"],columns:[{columns:[be,se,oe,f]}],"break-after":[{"break-after":L()}],"break-before":[{"break-before":L()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:U()}],overflow:[{overflow:q()}],"overflow-x":[{"overflow-x":q()}],"overflow-y":[{"overflow-y":q()}],overscroll:[{overscroll:G()}],"overscroll-x":[{"overscroll-x":G()}],"overscroll-y":[{"overscroll-y":G()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ae()}],"inset-x":[{"inset-x":ae()}],"inset-y":[{"inset-y":ae()}],start:[{"inset-s":ae(),start:ae()}],end:[{"inset-e":ae(),end:ae()}],"inset-bs":[{"inset-bs":ae()}],"inset-be":[{"inset-be":ae()}],top:[{top:ae()}],right:[{right:ae()}],bottom:[{bottom:ae()}],left:[{left:ae()}],visibility:["visible","invisible","collapse"],z:[{z:[or,"auto",oe,se]}],basis:[{basis:[sr,"full","auto",f,...z()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[be,sr,"auto","initial","none",se]}],grow:[{grow:["",be,oe,se]}],shrink:[{shrink:["",be,oe,se]}],order:[{order:[or,"first","last","none",oe,se]}],"grid-cols":[{"grid-cols":ye()}],"col-start-end":[{col:_e()}],"col-start":[{"col-start":Ce()}],"col-end":[{"col-end":Ce()}],"grid-rows":[{"grid-rows":ye()}],"row-start-end":[{row:_e()}],"row-start":[{"row-start":Ce()}],"row-end":[{"row-end":Ce()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Oe()}],"auto-rows":[{"auto-rows":Oe()}],gap:[{gap:z()}],"gap-x":[{"gap-x":z()}],"gap-y":[{"gap-y":z()}],"justify-content":[{justify:[...Z(),"normal"]}],"justify-items":[{"justify-items":[...Se(),"normal"]}],"justify-self":[{"justify-self":["auto",...Se()]}],"align-content":[{content:["normal",...Z()]}],"align-items":[{items:[...Se(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Se(),{baseline:["","last"]}]}],"place-content":[{"place-content":Z()}],"place-items":[{"place-items":[...Se(),"baseline"]}],"place-self":[{"place-self":["auto",...Se()]}],p:[{p:z()}],px:[{px:z()}],py:[{py:z()}],ps:[{ps:z()}],pe:[{pe:z()}],pbs:[{pbs:z()}],pbe:[{pbe:z()}],pt:[{pt:z()}],pr:[{pr:z()}],pb:[{pb:z()}],pl:[{pl:z()}],m:[{m:ue()}],mx:[{mx:ue()}],my:[{my:ue()}],ms:[{ms:ue()}],me:[{me:ue()}],mbs:[{mbs:ue()}],mbe:[{mbe:ue()}],mt:[{mt:ue()}],mr:[{mr:ue()}],mb:[{mb:ue()}],ml:[{ml:ue()}],"space-x":[{"space-x":z()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":z()}],"space-y-reverse":["space-y-reverse"],size:[{size:we()}],"inline-size":[{inline:["auto",...K()]}],"min-inline-size":[{"min-inline":["auto",...K()]}],"max-inline-size":[{"max-inline":["none",...K()]}],"block-size":[{block:["auto",...ne()]}],"min-block-size":[{"min-block":["auto",...ne()]}],"max-block-size":[{"max-block":["none",...ne()]}],w:[{w:[f,"screen",...we()]}],"min-w":[{"min-w":[f,"screen","none",...we()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[d]},...we()]}],h:[{h:["screen","lh",...we()]}],"min-h":[{"min-h":["screen","lh","none",...we()]}],"max-h":[{"max-h":["screen","lh",...we()]}],"font-size":[{text:["base",s,Oo,Ir]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,iE,eE]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Hu,se]}],"font-family":[{font:[rE,tE,t]}],"font-features":[{"font-features":[se]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[l,oe,se]}],"line-clamp":[{"line-clamp":[be,"none",oe,Sp]}],leading:[{leading:[u,...z()]}],"list-image":[{"list-image":["none",oe,se]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",oe,se]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:B()}],"text-color":[{text:B()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...xe(),"wavy"]}],"text-decoration-thickness":[{decoration:[be,"from-font","auto",oe,Ir]}],"text-decoration-color":[{decoration:B()}],"underline-offset":[{"underline-offset":[be,"auto",oe,se]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",oe,se]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",oe,se]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:A()}],"bg-repeat":[{bg:$()}],"bg-size":[{bg:ce()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},or,oe,se],radial:["",oe,se],conic:[or,oe,se]},oE,nE]}],"bg-color":[{bg:B()}],"gradient-from-pos":[{from:me()}
75],"gradient-via-pos":[{via:me()}],"gradient-to-pos":[{to:me()}],"gradient-from":[{from:B()}],"gradient-via":[{via:B()}],"gradient-to":[{to:B()}],rounded:[{rounded:he()}],"rounded-s":[{"rounded-s":he()}],"rounded-e":[{"rounded-e":he()}],"rounded-t":[{"rounded-t":he()}],"rounded-r":[{"rounded-r":he()}],"rounded-b":[{"rounded-b":he()}],"rounded-l":[{"rounded-l":he()}],"rounded-ss":[{"rounded-ss":he()}],"rounded-se":[{"rounded-se":he()}],"rounded-ee":[{"rounded-ee":he()}],"rounded-es":[{"rounded-es":he()}],"rounded-tl":[{"rounded-tl":he()}],"rounded-tr":[{"rounded-tr":he()}],"rounded-br":[{"rounded-br":he()}],"rounded-bl":[{"rounded-bl":he()}],"border-w":[{border:X()}],"border-w-x":[{"border-x":X()}],"border-w-y":[{"border-y":X()}],"border-w-s":[{"border-s":X()}],"border-w-e":[{"border-e":X()}],"border-w-bs":[{"border-bs":X()}],"border-w-be":[{"border-be":X()}],"border-w-t":[{"border-t":X()}],"border-w-r":[{"border-r":X()}],"border-w-b":[{"border-b":X()}],"border-w-l":[{"border-l":X()}],"divide-x":[{"divide-x":X()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":X()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...xe(),"hidden","none"]}],"divide-style":[{divide:[...xe(),"hidden","none"]}],"border-color":[{border:B()}],"border-color-x":[{"border-x":B()}],"border-color-y":[{"border-y":B()}],"border-color-s":[{"border-s":B()}],"border-color-e":[{"border-e":B()}],"border-color-bs":[{"border-bs":B()}],"border-color-be":[{"border-be":B()}],"border-color-t":[{"border-t":B()}],"border-color-r":[{"border-r":B()}],"border-color-b":[{"border-b":B()}],"border-color-l":[{"border-l":B()}
vendor: 5,552 bytes, line 75
75],"divide-color":[{divide:B()}],"outline-style":[{outline:[...xe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[be,oe,se]}],"outline-w":[{outline:["",be,Oo,Ir]}],"outline-color":[{outline:B()}],shadow:[{shadow:["","none",g,ma,pa]}],"shadow-color":[{shadow:B()}],"inset-shadow":[{"inset-shadow":["none",v,ma,pa]}],"inset-shadow-color":[{"inset-shadow":B()}],"ring-w":[{ring:X()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:B()}],"ring-offset-w":[{"ring-offset":[be,Ir]}],"ring-offset-color":[{"ring-offset":B()}],"inset-ring-w":[{"inset-ring":X()}],"inset-ring-color":[{"inset-ring":B()}],"text-shadow":[{"text-shadow":["none",_,ma,pa]}],"text-shadow-color":[{"text-shadow":B()}],opacity:[{opacity:[be,oe,se]}],"mix-blend":[{"mix-blend":[...Re(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Re()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[be]}],"mask-image-linear-from-pos":[{"mask-linear-from":ve()}],"mask-image-linear-to-pos":[{"mask-linear-to":ve()}],"mask-image-linear-from-color":[{"mask-linear-from":B()}],"mask-image-linear-to-color":[{"mask-linear-to":B()}],"mask-image-t-from-pos":[{"mask-t-from":ve()}],"mask-image-t-to-pos":[{"mask-t-to":ve()}],"mask-image-t-from-color":[{"mask-t-from":B()}],"mask-image-t-to-color":[{"mask-t-to":B()}],"mask-image-r-from-pos":[{"mask-r-from":ve()}],"mask-image-r-to-pos":[{"mask-r-to":ve()}],"mask-image-r-from-color":[{"mask-r-from":B()}],"mask-image-r-to-color":[{"mask-r-to":B()}],"mask-image-b-from-pos":[{"mask-b-from":ve()}],"mask-image-b-to-pos":[{"mask-b-to":ve()}],"mask-image-b-from-color":[{"mask-b-from":B()}],"mask-image-b-to-color":[{"mask-b-to":B()}],"mask-image-l-from-pos":[{"mask-l-from":ve()}],"mask-image-l-to-pos":[{"mask-l-to":ve()}],"mask-image-l-from-color":[{"mask-l-from":B()}],"mask-image-l-to-color":[{"mask-l-to":B()}],"mask-image-x-from-pos":[{"mask-x-from":ve()}],"mask-image-x-to-pos":[{"mask-x-to":ve()}],"mask-image-x-from-color":[{"mask-x-from":B()}],"mask-image-x-to-color":[{"mask-x-to":B()}],"mask-image-y-from-pos":[{"mask-y-from":ve()}],"mask-image-y-to-pos":[{"mask-y-to":ve()}],"mask-image-y-from-color":[{"mask-y-from":B()}],"mask-image-y-to-color":[{"mask-y-to":B()}],"mask-image-radial":[{"mask-radial":[oe,se]}],"mask-image-radial-from-pos":[{"mask-radial-from":ve()}],"mask-image-radial-to-pos":[{"mask-radial-to":ve()}],"mask-image-radial-from-color":[{"mask-radial-from":B()}],"mask-image-radial-to-color":[{"mask-radial-to":B()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":N()}],"mask-image-conic-pos":[{"mask-conic":[be]}],"mask-image-conic-from-pos":[{"mask-conic-from":ve()}],"mask-image-conic-to-pos":[{"mask-conic-to":ve()}],"mask-image-conic-from-color":[{"mask-conic-from":B()}],"mask-image-conic-to-color":[{"mask-conic-to":B()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:A()}],"mask-repeat":[{mask:$()}],"mask-size":[{mask:ce()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",oe,se]}],filter:[{filter:["","none",oe,se]}],blur:[{blur:et()}],brightness:[{brightness:[be,oe,se]}],contrast:[{contrast:[be,oe,se]}],"drop-shadow":[{"drop-shadow":["","none",T,ma,pa]}],"drop-shadow-color":[{"drop-shadow":B()}],grayscale:[{grayscale:["",be,oe,se]}],"hue-rotate":[{"hue-rotate":[be,oe,se]}],invert:[{invert:["",be,oe,se]}],saturate:[{saturate:[be,oe,se]}],sepia:[{sepia:["",be,oe,se]}],"backdrop-filter":[{"backdrop-filter":["","none",oe,se]}],"backdrop-blur":[{"backdrop-blur":et()}],"backdrop-brightness":[{"backdrop-brightness":[be,oe,se]}],"backdrop-contrast":[{"backdrop-contrast":[be,oe,se]}],"backdrop-grayscale":[{"backdrop-grayscale":["",be,oe,se]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[be,oe,se]}],"backdrop-invert":[{"backdrop-invert":["",be,oe,se]}],"backdrop-opacity":[{"backdrop-opacity":[be,oe,se]}],"backdrop-saturate":[{"backdrop-saturate":[be,oe,se]}],"backdrop-sepia":[{"backdrop-sepia":["",be,oe,se]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":z()}],"border-spacing-x":[{"border-spacing-x":z()}],"border-spacing-y":[{"border-spacing-y":z()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",oe,se]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[be,"initial",oe,se]}],ease:[{ease:["linear","initial",E,oe,se]}],delay:[{delay:[be,oe,se]}],animate:[{animate:["none",I,oe,se]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[S,oe,se]}],"perspective-origin":[{"perspective-origin":U()}],rotate:[{rotate:jt()}],"rotate-x":[{"rotate-x":jt()}],"rotate-y":[{"rotate-y":jt()}],"rotate-z":[{"rotate-z":jt()}],scale:[{scale:ot()}],"scale-x":[{"scale-x":ot()}],"scale-y":[{"scale-y":ot()}],"scale-z":[{"scale-z":ot()}],"scale-3d":["scale-3d"],skew:[{skew:Gt()}],"skew-x":[{"skew-x":Gt()}],"skew-y":[{"skew-y":Gt()}],transform:[{transform:[oe,se,"","none","gpu","cpu"]}],"transform-origin":[{origin:U()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Mt()}],"translate-x":[{"translate-x":Mt()}
vendor: 6,780 bytes, line 75
75],"translate-y":[{"translate-y":Mt()}],"translate-z":[{"translate-z":Mt()}],"translate-none":["translate-none"],accent:[{accent:B()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:B()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",oe,se]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":z()}],"scroll-mx":[{"scroll-mx":z()}],"scroll-my":[{"scroll-my":z()}],"scroll-ms":[{"scroll-ms":z()}],"scroll-me":[{"scroll-me":z()}],"scroll-mbs":[{"scroll-mbs":z()}],"scroll-mbe":[{"scroll-mbe":z()}],"scroll-mt":[{"scroll-mt":z()}],"scroll-mr":[{"scroll-mr":z()}],"scroll-mb":[{"scroll-mb":z()}],"scroll-ml":[{"scroll-ml":z()}],"scroll-p":[{"scroll-p":z()}],"scroll-px":[{"scroll-px":z()}],"scroll-py":[{"scroll-py":z()}],"scroll-ps":[{"scroll-ps":z()}],"scroll-pe":[{"scroll-pe":z()}],"scroll-pbs":[{"scroll-pbs":z()}],"scroll-pbe":[{"scroll-pbe":z()}],"scroll-pt":[{"scroll-pt":z()}],"scroll-pr":[{"scroll-pr":z()}],"scroll-pb":[{"scroll-pb":z()}],"scroll-pl":[{"scroll-pl":z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",oe,se]}],fill:[{fill:["none",...B()]}],"stroke-w":[{stroke:[be,Oo,Ir,Sp]}],stroke:[{stroke:["none",...B()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},uE=zx(lE);function xr(...r){return uE(wy(r))}const cE=cx,Fy=k.forwardRef(({className:r,...t},s)=>C.jsx(fy,{ref:s,className:xr("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",r),...t}));Fy.displayName=fy.displayName;const dE=dx("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Dy=k.forwardRef(({className:r,variant:t,...s},o)=>C.jsx(hy,{ref:o,className:xr(dE({variant:t}),r),...s}));Dy.displayName=hy.displayName;const fE=k.forwardRef(({className:r,...t},s)=>C.jsx(yy,{ref:s,className:xr("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",r),...t}));
75fE.displayName=yy.displayName;const jy=k.forwardRef(({className:r,...t},s)=>C.jsx(gy,{ref:s,className:xr("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",r),"toast-close":"",...t,children:C.jsx(xx,{className:"h-4 w-4"})}));jy.displayName=gy.displayName;const My=k.forwardRef(({className:r,...t},s)=>C.jsx(py,{ref:s,className:xr("text-sm font-semibold",r),...t}));My.displayName=py.displayName;const Uy=k.forwardRef(({className:r,...t},s)=>C.jsx(my,{ref:s,className:xr("text-sm opacity-90",r),...t}));Uy.displayName=my.displayName;function hE(){const{toasts:r}=f0();return C.jsxs(cE,{children:[r.map(function({id:t,title:s,description:o,action:l,...u}){return C.jsxs(Dy,{...u,children:[C.jsxs("div",{className:"grid gap-1",children:[s&&C.jsx(My,{children:s}),o&&C.jsx(Uy,{children:o})]}),l,C.jsx(jy,{})]},t)}),C.jsx(Fy,{})]})}var Xo=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(r){return this.listeners.add(r),this.onSubscribe(),()=>{this.listeners.delete(r),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},pE={setTimeout:(r,t)=>setTimeout(r,t),clearTimeout:r=>clearTimeout(r),setInterval:(r,t)=>setInterval(r,t),clearInterval:r=>clearInterval(r)},lr,Fc,Nm,mE=(Nm=class{constructor(){pe(this,lr,pE);pe(this,Fc,!1)}setTimeoutProvider(r){ee(this,lr,r)}setTimeout(r,t){return R(this,lr).setTimeout(r,t)}clearTimeout(r){R(this,lr).clearTimeout(r)}setInterval(r,t){return R(this,lr).setInterval(r,t)}clearInterval(r){R(this,lr).clearInterval(r)}},lr=new WeakMap,Fc=new WeakMap,Nm),jr=new mE;function yE(r){setTimeout(r,0)}var Yr=typeof window>"u"||"Deno"in globalThis;function Pt(){}function gE(r,t){return typeof r=="function"?r(t):r}function ac(r){return typeof r=="number"&&r>=0&&r!==1/0}function By(r,t){return Math.max(r+(t||0)-Date.now(),0)}function gr(r,t){return typeof r=="function"?r(t):r}function Qt(r,t){return typeof r=="function"?r(t):r}function kp(r,t){const{type:s="all",exact:o,fetchStatus:l,predicate:u,queryKey:d,stale:f}=r;if(d){if(o){if(t.queryHash!==Qc(d,t.options))return!1}else if(!$o(t.queryKey,d))return!1}if(s!=="all"){const p=t.isActive();if(s==="active"&&!p||s==="inactive"&&p)return!1}return!(typeof f=="boolean"&&t.isStale()!==f||l&&l!==t.state.fetchStatus||u&&!u(t))}function Rp(r,t){const{exact:s,status:o,predicate:l,mutationKey:u}=r;if(u){if(!t.options.mutationKey)return!1;if(s){if(zo(t.options.mutationKey)!==zo(u))return!1}else if(!$o(t.options.mutationKey,u))return!1}return!(o&&t.state.status!==o||l&&!l(t))}function Qc(r,t){return((t==null?void 0:t.queryKeyHashFn)||zo)(r)}function zo(r){return JSON.stringify(r,(t,s)=>uc(s)?Object.keys(s).sort().reduce((o,l)=>(o[l]=s[l],o),{}):s)}function $o(r,t){return r===t?!0:typeof r!=typeof t?!1:r&&t&&typeof r=="object"&&typeof t=="object"?Object.keys(t).every(s=>$o(r[s],t[s])):!1}var vE=Object.prototype.hasOwnProperty;function zy(r,t,s=0){if(r===t)return r;if(s>500)return t;const o=Tp(r)&&Tp(t);if(!o&&!(uc(r)&&uc(t)))return t;const u=(o?r:Object.keys(r)).length,d=o?t:Object.keys(t),f=d.length,p=o?new Array(f):{};let m=0;for(let g=0;g<f;g++){const v=o?g:d[g],_=r[v],T=t[v];if(_===T){p[v]=_,(o?g<u:vE.call(r,v))&&m++;continue}if(_===null||T===null||typeof _!="object"||typeof T!="object"){p[v]=T;continue}const D=zy(_,T,s+1);p[v]=D,D===_&&m++}return u===f&&m===u?r:p}function lc(r,t){if(!t||Object.keys(r).length!==Object.keys(t).length)return!1;for(const s in r)if(r[s]!==t[s])return!1;return!0}function Tp(r){return Array.isArray(r)&&r.length===Object.keys(r).length}function uc(r){if(!Pp(r))return!1;const t=r.constructor;if(t===void 0)return!0;const s=t.prototype;return!(!Pp(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(r)!==Object.prototype)}function Pp(r){return Object.prototype.toString.call(r)==="[object Object]"}function wE(r){return new Promise(t=>{jr.setTimeout(t,r)})}function cc(r,t,s){return typeof s.structuralSharing=="function"?s.structuralSharing(r,t):s.structuralSharing!==!1?zy(r,t):t}function xE(r,t,s=0){const o=[...r,t];return s&&o.length>s?o.slice(1):o}function EE(r,t,s=0){const o=[t,...r];return s&&o.length>s?o.slice(0,-1):o}var Kc=Symbol();function $y(r,t){return!r.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!r.queryFn||r.queryFn===Kc?()=>Promise.reject(new Error(`Missing queryFn: '${r.queryHash}'`)):r.queryFn}function Vy(r,t){return typeof r=="function"?r(...t):!!r}function _E(r,t,s){let o=!1,l;return Object.defineProperty(r,"signal",{enumerable:!0,get:()=>(l??(l=t()),o||(o=!0,l.aborted?s():l.addEventListener("abort",s,{once:!0})),l)}),r}var Ur,ur,Ts,Lm,SE=(Lm=class extends Xo{constructor(){super();pe(this,Ur);pe(this,ur);pe(this,Ts);ee(this,Ts,t=>{if(!Yr&&window.addEventListener){const s=()=>t();return window.addEventListener("visibilitychange",s,!1),()=>{window.removeEventListener("visibilitychange",s)}}})}onSubscribe(){R(this,ur)||this.setEventListener(R(this,Ts))}onUnsubscribe(){var t;this.hasListeners()||((t=R(this,ur))==null||t.call(this),ee(this,ur,void 0))}setEventListener(t){var s;ee(this,Ts,t),(s=R(this,ur))==null||s.call(this),ee(this,ur,t(o=>{typeof o=="boolean"?this.setFocused(o):this.onFocus()}))}setFocused(t){R(this,Ur)!==t&&(ee(this,Ur,t),this.onFocus())}onFocus(){const t=this.isFocused();
vendor: 5,005 bytes, line 75
75this.listeners.forEach(s=>{s(t)})}isFocused(){var t;return typeof R(this,Ur)=="boolean"?R(this,Ur):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Ur=new WeakMap,ur=new WeakMap,Ts=new WeakMap,Lm),Gc=new SE;function dc(){let r,t;const s=new Promise((l,u)=>{r=l,t=u});s.status="pending",s.catch(()=>{});function o(l){Object.assign(s,l),delete s.resolve,delete s.reject}return s.resolve=l=>{o({status:"fulfilled",value:l}),r(l)},s.reject=l=>{o({status:"rejected",reason:l}),t(l)},s}var bE=yE;function CE(){let r=[],t=0,s=f=>{f()},o=f=>{f()},l=bE;const u=f=>{t?r.push(f):l(()=>{s(f)})},d=()=>{const f=r;r=[],f.length&&l(()=>{o(()=>{f.forEach(p=>{s(p)})})})};return{batch:f=>{let p;t++;try{p=f()}finally{t--,t||d()}return p},batchCalls:f=>(...p)=>{u(()=>{f(...p)})},schedule:u,setNotifyFunction:f=>{s=f},setBatchNotifyFunction:f=>{o=f},setScheduler:f=>{l=f}}}var ct=CE(),Ps,cr,As,Im,kE=(Im=class extends Xo{constructor(){super();pe(this,Ps,!0);pe(this,cr);pe(this,As);ee(this,As,t=>{if(!Yr&&window.addEventListener){const s=()=>t(!0),o=()=>t(!1);return window.addEventListener("online",s,!1),window.addEventListener("offline",o,!1),()=>{window.removeEventListener("online",s),window.removeEventListener("offline",o)}}})}onSubscribe(){R(this,cr)||this.setEventListener(R(this,As))}onUnsubscribe(){var t;this.hasListeners()||((t=R(this,cr))==null||t.call(this),ee(this,cr,void 0))}setEventListener(t){var s;ee(this,As,t),(s=R(this,cr))==null||s.call(this),ee(this,cr,t(this.setOnline.bind(this)))}setOnline(t){R(this,Ps)!==t&&(ee(this,Ps,t),this.listeners.forEach(o=>{o(t)}))}isOnline(){return R(this,Ps)}},Ps=new WeakMap,cr=new WeakMap,As=new WeakMap,Im),Oa=new kE;function RE(r){return Math.min(1e3*2**r,3e4)}function qy(r){return(r??"online")==="online"?Oa.isOnline():!0}var fc=class extends Error{constructor(r){super("CancelledError"),this.revert=r==null?void 0:r.revert,this.silent=r==null?void 0:r.silent}};function Hy(r){let t=!1,s=0,o;const l=dc(),u=()=>l.status!=="pending",d=S=>{var w;if(!u()){const E=new fc(S);_(E),(w=r.onCancel)==null||w.call(r,E)}},f=()=>{t=!0},p=()=>{t=!1},m=()=>Gc.isFocused()&&(r.networkMode==="always"||Oa.isOnline())&&r.canRun(),g=()=>qy(r.networkMode)&&r.canRun(),v=S=>{u()||(o==null||o(),l.resolve(S))},_=S=>{u()||(o==null||o(),l.reject(S))},T=()=>new Promise(S=>{var w;o=E=>{(u()||m())&&S(E)},(w=r.onPause)==null||w.call(r)}).then(()=>{var S;o=void 0,u()||(S=r.onContinue)==null||S.call(r)}),D=()=>{if(u())return;let S;const w=s===0?r.initialPromise:void 0;try{S=w??r.fn()}catch(E){S=Promise.reject(E)}Promise.resolve(S).then(v).catch(E=>{var q;if(u())return;const I=r.retry??(Yr?0:3),L=r.retryDelay??RE,N=typeof L=="function"?L(s,E):L,U=I===!0||typeof I=="number"&&s<I||typeof I=="function"&&I(s,E);if(t||!U){_(E);return}s++,(q=r.onFail)==null||q.call(r,s,E),wE(N).then(()=>m()?void 0:T()).then(()=>{t?_(E):D()})})};return{promise:l,status:()=>l.status,cancel:d,continue:()=>(o==null||o(),l),cancelRetry:f,continueRetry:p,canStart:g,start:()=>(g()?D():T().then(D),l)}}var Br,Fm,Wy=(Fm=class{constructor(){pe(this,Br)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ac(this.gcTime)&&ee(this,Br,jr.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(r){this.gcTime=Math.max(this.gcTime||0,r??(Yr?1/0:300*1e3))}clearGcTimeout(){R(this,Br)&&(jr.clearTimeout(R(this,Br)),ee(this,Br,void 0))}},Br=new WeakMap,Fm),zr,Os,Wt,$r,st,qo,Vr,on,On,Dm,TE=(Dm=class extends Wy{constructor(t){super();pe(this,on);pe(this,zr);pe(this,Os);pe(this,Wt);pe(this,$r);pe(this,st);pe(this,qo);pe(this,Vr);ee(this,Vr,!1),ee(this,qo,t.defaultOptions),this.setOptions(t.options),this.observers=[],ee(this,$r,t.client),ee(this,Wt,R(this,$r).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,ee(this,zr,Op(this.options)),this.state=t.state??R(this,zr),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=R(this,st))==null?void 0:t.promise}setOptions(t){if(this.options={...R(this,qo),...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const s=Op(this.options);s.data!==void 0&&(this.setState(Ap(s.data,s.dataUpdatedAt)),ee(this,zr,s))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&R(this,Wt).remove(this)}setData(t,s){const o=cc(this.state.data,t,this.options);return Te(this,on,On).call(this,{data:o,type:"success",dataUpdatedAt:s==null?void 0:s.updatedAt,manual:s==null?void 0:s.manual}),o}setState(t,s){Te(this,on,On).call(this,{type:"setState",state:t,setStateOptions:s})}cancel(t){var o,l;const s=(o=R(this,st))==null?void 0:o.promise;return(l=R(this,st))==null||l.cancel(t),s?s.then(Pt).catch(Pt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(R(this,zr))}isActive(){return this.observers.some(t=>Qt(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Kc||this.state.dataUpdateCount+this.state.errorUpdate
75Count===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>gr(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!By(this.state.dataUpdatedAt,t)}onFocus(){var s;const t=this.observers.find(o=>o.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(s=R(this,st))==null||s.continue()}onOnline(){var s;const t=this.observers.find(o=>o.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(s=R(this,st))==null||s.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),R(this,Wt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(s=>s!==t),this.observers.length||(R(this,st)&&(R(this,Vr)?R(this,st).cancel({revert:!0}):R(this,st).cancelRetry()),this.scheduleGc()),R(this,Wt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Te(this,on,On).call(this,{type:"invalidate"})}async fetch(t,s){var p,m,g,v,_,T,D,S,w,E,I,L;if(this.state.fetchStatus!=="idle"&&((p=R(this,st))==null?void 0:p.status())!=="rejected"){if(this.state.data!==void 0&&(s!=null&&s.cancelRefetch))this.cancel({silent:!0});else if(R(this,st))return R(this,st).continueRetry(),R(this,st).promise}if(t&&this.setOptions(t),!this.options.queryFn){const N=this.observers.find(U=>U.options.queryFn);N&&this.setOptions(N.options)}const o=new AbortController,l=N=>{Object.defineProperty(N,"signal",{enumerable:!0,get:()=>(ee(this,Vr,!0),o.signal)})},u=()=>{const N=$y(this.options,s),q=(()=>{const G={client:R(this,$r),queryKey:this.queryKey,meta:this.meta};return l(G),G})();return ee(this,Vr,!1),this.options.persister?this.options.persister(N,q,this):N(q)},f=(()=>{const N={fetchOptions:s,options:this.options,queryKey:this.queryKey,client:R(this,$r),state:this.state,fetchFn:u};return l(N),N})();(m=this.options.behavior)==null||m.onFetch(f,this),ee(this,Os,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((g=f.fetchOptions)==null?void 0:g.meta))&&Te(this,on,On).call(this,{type:"fetch",meta:(v=f.fetchOptions)==null?void 0:v.meta}),ee(this,st,Hy({initialPromise:s==null?void 0:s.initialPromise,fn:f.fetchFn,onCancel:N=>{N instanceof fc&&N.revert&&this.setState({...R(this,Os),fetchStatus:"idle"}),o.abort()},onFail:(N,U)=>{Te(this,on,On).call(this,{type:"failed",failureCount:N,error:U})},onPause:()=>{Te(this,on,On).call(this,{type:"pause"})},onContinue:()=>{Te(this,on,On).call(this,{type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay,networkMode:f.options.networkMode,canRun:()=>!0}));try{const N=await R(this,st).start();if(N===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(N),(T=(_=R(this,Wt).config).onSuccess)==null||T.call(_,N,this),(S=(D=R(this,Wt).config).onSettled)==null||S.call(D,N,this.state.error,this),N}catch(N){if(N instanceof fc){if(N.silent)return R(this,st).promise;if(N.revert){if(this.state.data===void 0)throw N;return this.state.data}}throw Te(this,on,On).call(this,{type:"error",error:N}),(E=(w=R(this,Wt).config).onError)==null||E.call(w,N,this),(L=(I=R(this,Wt).config).onSettled)==null||L.call(I,this.state.data,N,this),N}finally{this.scheduleGc()}}},zr=new WeakMap,Os=new WeakMap,Wt=new WeakMap,$r=new WeakMap,st=new WeakMap,qo=new WeakMap,Vr=new WeakMap,on=new WeakSet,On=function(t){const s=o=>{switch(t.type){case"failed":return{...o,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...o,fetchStatus:"paused"};case"continue":return{...o,fetchStatus:"fetching"};case"fetch":return{...o,...Qy(o.data,this.options),fetchMeta:t.meta??null};case"success":const l={...o,...Ap(t.data,t.dataUpdatedAt),dataUpdateCount:o.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return ee(this,Os,t.manual?l:void 0),l;case"error":const u=t.error;
vendor: 11,040 bytes, line 75
75return{...o,error:u,errorUpdateCount:o.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:o.fetchFailureCount+1,fetchFailureReason:u,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...o,isInvalidated:!0};case"setState":return{...o,...t.state}}};this.state=s(this.state),ct.batch(()=>{this.observers.forEach(o=>{o.onQueryUpdate()}),R(this,Wt).notify({query:this,type:"updated",action:t})})},Dm);function Qy(r,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:qy(t.networkMode)?"fetching":"paused",...r===void 0&&{error:null,status:"pending"}}}function Ap(r,t){return{data:r,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Op(r){const t=typeof r.initialData=="function"?r.initialData():r.initialData,s=t!==void 0,o=s?typeof r.initialDataUpdatedAt=="function"?r.initialDataUpdatedAt():r.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:s?o??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var Tt,Pe,Ho,Et,qr,Ns,Ln,dr,Wo,Ls,Is,Hr,Wr,fr,Fs,Fe,Do,hc,pc,mc,yc,gc,vc,wc,Ky,jm,PE=(jm=class extends Xo{constructor(t,s){super();pe(this,Fe);pe(this,Tt);pe(this,Pe);pe(this,Ho);pe(this,Et);pe(this,qr);pe(this,Ns);pe(this,Ln);pe(this,dr);pe(this,Wo);pe(this,Ls);pe(this,Is);pe(this,Hr);pe(this,Wr);pe(this,fr);pe(this,Fs,new Set);this.options=s,ee(this,Tt,t),ee(this,dr,null),ee(this,Ln,dc()),this.bindMethods(),this.setOptions(s)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(R(this,Pe).addObserver(this),Np(R(this,Pe),this.options)?Te(this,Fe,Do).call(this):this.updateResult(),Te(this,Fe,yc).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return xc(R(this,Pe),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return xc(R(this,Pe),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Te(this,Fe,gc).call(this),Te(this,Fe,vc).call(this),R(this,Pe).removeObserver(this)}setOptions(t){const s=this.options,o=R(this,Pe);if(this.options=R(this,Tt).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Qt(this.options.enabled,R(this,Pe))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Te(this,Fe,wc).call(this),R(this,Pe).setOptions(this.options),s._defaulted&&!lc(this.options,s)&&R(this,Tt).getQueryCache().notify({type:"observerOptionsUpdated",query:R(this,Pe),observer:this});const l=this.hasListeners();l&&Lp(R(this,Pe),o,this.options,s)&&Te(this,Fe,Do).call(this),this.updateResult(),l&&(R(this,Pe)!==o||Qt(this.options.enabled,R(this,Pe))!==Qt(s.enabled,R(this,Pe))||gr(this.options.staleTime,R(this,Pe))!==gr(s.staleTime,R(this,Pe)))&&Te(this,Fe,hc).call(this);const u=Te(this,Fe,pc).call(this);l&&(R(this,Pe)!==o||Qt(this.options.enabled,R(this,Pe))!==Qt(s.enabled,R(this,Pe))||u!==R(this,fr))&&Te(this,Fe,mc).call(this,u)}getOptimisticResult(t){const s=R(this,Tt).getQueryCache().build(R(this,Tt),t),o=this.createResult(s,t);return OE(this,o)&&(ee(this,Et,o),ee(this,Ns,this.options),ee(this,qr,R(this,Pe).state)),o}getCurrentResult(){return R(this,Et)}trackResult(t,s){return new Proxy(t,{get:(o,l)=>(this.trackProp(l),s==null||s(l),l==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&R(this,Ln).status==="pending"&&R(this,Ln).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(o,l))})}trackProp(t){R(this,Fs).add(t)}getCurrentQuery(){return R(this,Pe)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const s=R(this,Tt).defaultQueryOptions(t),o=R(this,Tt).getQueryCache().build(R(this,Tt),s);return o.fetch().then(()=>this.createResult(o,s))}fetch(t){return Te(this,Fe,Do).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),R(this,Et)))}createResult(t,s){var ae;const o=R(this,Pe),l=this.options,u=R(this,Et),d=R(this,qr),f=R(this,Ns),m=t!==o?t.state:R(this,Ho),{state:g}=t;let v={...g},_=!1,T;if(s._optimisticResults){const ye=this.hasListeners(),_e=!ye&&Np(t,s),Ce=ye&&Lp(t,o,s,l);(_e||Ce)&&(v={...v,...Qy(g.data,t.options)}),s._optimisticResults==="isRestoring"&&(v.fetchStatus="idle")}let{error:D,errorUpdatedAt:S,status:w}=v;T=v.data;let E=!1;if(s.placeholderData!==void 0&&T===void 0&&w==="pending"){let ye;u!=null&&u.isPlaceholderData&&s.placeholderData===(f==null?void 0:f.placeholderData)?(ye=u.data,E=!0):ye=typeof s.placeholderData=="function"?s.placeholderData((ae=R(this,Is))==null?void 0:ae.state.data,R(this,Is)):s.placeholderData,ye!==void 0&&(w="success",T=cc(u==null?void 0:u.data,ye,s),_=!0)}if(s.select&&T!==void 0&&!E)if(u&&T===(d==null?void 0:d.data)&&s.select===R(this,Wo))T=R(this,Ls);else try{ee(this,Wo,s.select),T=s.select(T),T=cc(u==null?void 0:u.data,T,s),ee(this,Ls,T),ee(this,dr,null)}catch(ye){ee(this,dr,ye)}R(this,dr)&&(D=R(this,dr),T=R(this,Ls),S=Date.now(),w="error");const I=v.fetchStatus==="fetching",L=w==="pending",N=w==="error",U=L&&I,q=T!==void 0,z={status:w,fetchStatus:v.fetchStatus,isPending:L,isSuccess:w==="success",isError:N,isInitialLoading:U,isLoading:U,data:T,dataUpdatedAt:v.dataUpdatedAt,error:D,errorUpdatedAt:S,failureCount:v.fetchFailureCount,failureReason:v.fetchFailureReason,errorUpdateCount:v.errorUpdateCount,isFetched:v.dataUpdateCount>0||v.errorUpdateCount>0,isFetchedAfterMount:v.dataUpdateCount>m.dataUpdateCount||v.errorUpdateCount>m.errorUpdateCount,isFetching:I,isRefetching:I&&!L,isLoadingError:N&&!q,isPaused:v.fetchStatus==="paused",isPlaceholderData:_,isRefetchError:N&&q,isStale:Xc(t,s),refetch:this.refetch,promise:R(this,Ln),isEnabled:Qt(s.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const ye=z.data!==void 0,_e=z.status==="error"&&!ye,Ce=Se=>{_e?Se.reject(z.error):ye&&Se.resolve(z.data)},Oe=()=>{const Se=ee(this,Ln,z.promise=dc());Ce(Se)},Z=R(this,Ln);switch(Z.status){case"pending":t.queryHash===o.queryHash&&Ce(Z);break;case"fulfilled":(_e||z.data!==Z.value)&&Oe();break;case"rejected":(!_e||z.error!==Z.reason)&&Oe();break}}return z}updateResult(){const t=R(this,Et),s=this.createResult(R(this,Pe),this.options);if(ee(this,qr,R(this,Pe).state),ee(this,Ns,this.options),R(this,qr).data!==void 0&&ee(this,Is,R(this,Pe)),lc(s,t))return;ee(this,Et,s);const o=()=>{if(!t)return!0;const{notifyOnChangeProps:l}=this.options,u=typeof l=="function"?l():l;if(u==="all"||!u&&!R(this,Fs).size)return!0;const d=new Set(u??R(this,Fs));return this.options.throwOnError&&d.add("error"),Object.keys(R(this,Et)).some(f=>{const p=f;return R(this,Et)[p]!==t[p]&&d.has(p)})};Te(this,Fe,Ky).call(this,{listeners:o()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Te(this,Fe,yc).call(this)}},Tt=new WeakMap,Pe=new WeakMap,Ho=new WeakMap,Et=new WeakMap,qr=new WeakMap,Ns=new WeakMap,Ln=new WeakMap,dr=new WeakMap,Wo=new WeakMap,Ls=new WeakMap,Is=new WeakMap,Hr=new WeakMap,Wr=new WeakMap,fr=new WeakMap,Fs=new WeakMap,Fe=new WeakSet,Do=function(t){Te(this,Fe,wc).call(this);let s=R(this,Pe).fetch(this.options,t);return t!=null&&t.throwOnError||(s=s.catch(Pt)),s},hc=function(){Te(this,Fe,gc).call(this);const t=gr(this.options.staleTime,R(this,Pe));if(Yr||R(this,Et).isStale||!ac(t))return;const o=By(R(this,Et).dataUpdatedAt,t)+1;ee(this,Hr,jr.setTimeout(()=>{R(this,Et).isStale||this.updateResult()},o))},pc=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(R(this,Pe)):this.options.refetchInterval)??!1},mc=function(t){Te(this,Fe,vc).call(this),ee(this,fr,t),!(Yr||Qt(this.options.enabled,R(this,Pe))===!1||!ac(R(this,fr))||R(this,fr)===0)&&ee(this,Wr,jr.setInterval(()=>{(this.options.refetchIntervalInBackground||Gc.isFocused())&&Te(this,Fe,Do).call(this)},R(this,fr)))},yc=function(){Te(this,Fe,hc).call(this),Te(this,Fe,mc).call(this,Te(this,Fe,pc).call(this))},gc=function(){R(this,Hr)&&(jr.clearTimeout(R(this,Hr)),ee(this,Hr,void 0))},vc=function(){R(this,Wr)&&(jr.clearInterval(R(this,Wr)),ee(this,Wr,void 0))},wc=function(){const t=R(this,Tt).getQueryCache().build(R(this,Tt),this.options);if(t===R(this,Pe))return;const s=R(this,Pe);ee(this,Pe,t),ee(this,Ho,t.state),this.hasListeners()&&(s==null||s.removeObserver(this),t.addObserver(this))},Ky=function(t){ct.batch(()=>{t.listeners&&this.listeners.forEach(s=>{s(R(this,Et))}),R(this,Tt).getQueryCache().notify({query:R(this,Pe),type:"observerResultsUpdated"})})},jm);function AE(r,t){return Qt(t.enabled,r)!==!1&&r.state.data===void 0&&!(r.state.status==="error"&&t.retryOnMount===!1)}function Np(r,t){return AE(r,t)||r.state.data!==void 0&&xc(r,t,t.refetchOnMount)}function xc(r,t,s){if(Qt(t.enabled,r)!==!1&&gr(t.staleTime,r)!=="static"){const o=typeof s=="function"?s(r):s;return o==="always"||o!==!1&&Xc(r,t)}return!1}function Lp(r,t,s,o){return(r!==t||Qt(o.enabled,r)===!1)&&(!s.suspense||r.state.status!=="error")&&Xc(r,s)}function Xc(r,t){return Qt(t.enabled,r)!==!1&&r.isStaleByTime(gr(t.staleTime,r))}function OE(r,t){return!lc(r.getCurrentResult(),t)}function Ip(r){return{onFetch:(t,s)=>{var g,v,_,T,D;const o=t.options,l=(_=(v=(g=t.fetchOptions)==null?void 0:g.meta)==null?void 0:v.fetchMore)==null?void 0:_.direction,u=((T=t.state.data)==null?void 0:T.pages)||[],d=((D=t.state.data)==null?void 0:D.pageParams)||[];let f={pages:[],pageParams:[]},p=0;const m=async()=>{let S=!1;const w=L=>{_E(L,()=>t.signal,()=>S=!0)},E=$y(t.options,t.fetchOptions),I=async(L,N,U)=>{if(S)return Promise.reject();if(N==null&&L.pages.length)return Promise.resolve(L);const G=(()=>{const _e={client:t.client,queryKey:t.queryKey,pageParam:N,direction:U?"backward":"forward",meta:t.options.meta};return w(_e),_e})(),z=await E(G),{maxPages:ae}=t.options,ye=U?EE:xE;return{pages:ye(L.pages,z,ae),pageParams:ye(L.pageParams,N,ae)}};if(l&&u.length){const L=l==="backward",N=L?NE:Fp,U={pages:u,pageParams:d},q=N(o,U);f=await I(U,q,L)}else{const L=r??u.length;do{const N=p===0?d[0]??o.initialPageParam:Fp(o,f);if(p>0&&N==null)break;f=await I(f,N),p++}while(p<L)}return f};t.options.persister?t.fetchFn=()=>{var S,w;return(w=(S=t.options).persister)==null?void 0:w.call(S,m,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},s)}:t.fetchFn=m}}}function Fp(r,{pages:t,pageParams:s}){const o=t.length-1;return t.length>0?r.getNextPageParam(t[o],t,s[o],s):void 0}function NE(r,{pages:t,pageParams:s}){var o;return t.length>0?(o=r.getPreviousPageParam)==null?void 0:o.call(r,t[0],t,s[0],s):void 0}var Qo,mn,gt,Qr,yn,ar,Mm,LE=(Mm=class extends Wy{constructor(t){super();pe(this,yn);pe(this,Qo);pe(this,mn);pe(this,gt);pe(this,Qr);ee(this,Qo,t.client),this.mutationId=t.mutationId,ee(this,gt,t.mutationCache),ee(this,mn,[]),this.state=t.state||IE(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}
75addObserver(t){R(this,mn).includes(t)||(R(this,mn).push(t),this.clearGcTimeout(),R(this,gt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){ee(this,mn,R(this,mn).filter(s=>s!==t)),this.scheduleGc(),R(this,gt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){R(this,mn).length||(this.state.status==="pending"?this.scheduleGc():R(this,gt).remove(this))}continue(){var t;return((t=R(this,Qr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var d,f,p,m,g,v,_,T,D,S,w,E,I,L,N,U,q,G;const s=()=>{Te(this,yn,ar).call(this,{type:"continue"})},o={client:R(this,Qo),meta:this.options.meta,mutationKey:this.options.mutationKey};ee(this,Qr,Hy({fn:()=>this.options.mutationFn?this.options.mutationFn(t,o):Promise.reject(new Error("No mutationFn found")),onFail:(z,ae)=>{Te(this,yn,ar).call(this,{type:"failed",failureCount:z,error:ae})},onPause:()=>{Te(this,yn,ar).call(this,{type:"pause"})},onContinue:s,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>R(this,gt).canRun(this)}));const l=this.state.status==="pending",u=!R(this,Qr).canStart();try{if(l)s();else{Te(this,yn,ar).call(this,{type:"pending",variables:t,isPaused:u}),R(this,gt).config.onMutate&&await R(this,gt).config.onMutate(t,this,o);const ae=await((f=(d=this.options).onMutate)==null?void 0:f.call(d,t,o));ae!==this.state.context&&Te(this,yn,ar).call(this,{type:"pending",context:ae,variables:t,isPaused:u})}const z=await R(this,Qr).start();return await((m=(p=R(this,gt).config).onSuccess)==null?void 0:m.call(p,z,t,this.state.context,this,o)),await((v=(g=this.options).onSuccess)==null?void 0:v.call(g,z,t,this.state.context,o)),await((T=(_=R(this,gt).config).onSettled)==null?void 0:T.call(_,z,null,this.state.variables,this.state.context,this,o)),await((S=(D=this.options).onSettled)==null?void 0:S.call(D,z,null,t,this.state.context,o)),Te(this,yn,ar).call(this,{type:"success",data:z}),z}catch(z){try{await((E=(w=R(this,gt).config).onError)==null?void 0:E.call(w,z,t,this.state.context,this,o))}catch(ae){Promise.reject(ae)}try{await((L=(I=this.options).onError)==null?void 0:L.call(I,z,t,this.state.context,o))}catch(ae){Promise.reject(ae)}try{await((U=(N=R(this,gt).config).onSettled)==null?void 0:U.call(N,void 0,z,this.state.variables,this.state.context,this,o))}catch(ae){Promise.reject(ae)}try{await((G=(q=this.options).onSettled)==null?void 0:G.call(q,void 0,z,t,this.state.context,o))}catch(ae){Promise.reject(ae)}throw Te(this,yn,ar).call(this,{type:"error",error:z}),z}finally{R(this,gt).runNext(this)}}},Qo=new WeakMap,mn=new WeakMap,gt=new WeakMap,Qr=new WeakMap,yn=new WeakSet,ar=function(t){const s=o=>{switch(t.type){case"failed":return{...o,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...o,isPaused:!0};case"continue":return{...o,isPaused:!1};case"pending":return{...o,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...o,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...o,data:void 0,error:t.error,failureCount:o.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=s(this.state),ct.batch(()=>{R(this,mn).forEach(o=>{o.onMutationUpdate(t)}),R(this,gt).notify({mutation:this,type:"updated",action:t})})},Mm);function IE(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var In,an,Ko,Um,FE=(Um=class extends Xo{constructor(t={}){super();pe(this,In);pe(this,an);pe(this,Ko);this.config=t,ee(this,In,new Set),ee(this,an,new Map),ee(this,Ko,0)}build(t,s,o){const l=new LE({client:t,mutationCache:this,mutationId:++ca(this,Ko)._,options:t.defaultMutationOptions(s),state:o});return this.add(l),l}add(t){R(this,In).add(t);const s=ya(t);if(typeof s=="string"){const o=R(this,an).get(s);o?o.push(t):R(this,an).set(s,[t])}this.notify({type:"added",mutation:t})}remove(t){if(R(this,In).delete(t)){const s=ya(t);if(typeof s=="string"){const o=R(this,an).get(s);if(o)if(o.length>1){const l=o.indexOf(t);l!==-1&&o.splice(l,1)}else o[0]===t&&R(this,an).delete(s)}}this.notify({type:"removed",mutation:t})}canRun(t){const s=ya(t);if(typeof s=="string"){const o=R(this,an).get(s),l=o==null?void 0:o.find(u=>u.state.status==="pending");return!l||l===t}else return!0}runNext(t){var o;const s=ya(t);if(typeof s=="string"){const l=(o=R(this,an).get(s))==null?void 0:o.find(u=>
vendor: 4,791 bytes, line 75
75u!==t&&u.state.isPaused);return(l==null?void 0:l.continue())??Promise.resolve()}else return Promise.resolve()}clear(){ct.batch(()=>{R(this,In).forEach(t=>{this.notify({type:"removed",mutation:t})}),R(this,In).clear(),R(this,an).clear()})}getAll(){return Array.from(R(this,In))}find(t){const s={exact:!0,...t};return this.getAll().find(o=>Rp(s,o))}findAll(t={}){return this.getAll().filter(s=>Rp(t,s))}notify(t){ct.batch(()=>{this.listeners.forEach(s=>{s(t)})})}resumePausedMutations(){const t=this.getAll().filter(s=>s.state.isPaused);return ct.batch(()=>Promise.all(t.map(s=>s.continue().catch(Pt))))}},In=new WeakMap,an=new WeakMap,Ko=new WeakMap,Um);function ya(r){var t;return(t=r.options.scope)==null?void 0:t.id}var gn,Bm,DE=(Bm=class extends Xo{constructor(t={}){super();pe(this,gn);this.config=t,ee(this,gn,new Map)}build(t,s,o){const l=s.queryKey,u=s.queryHash??Qc(l,s);let d=this.get(u);return d||(d=new TE({client:t,queryKey:l,queryHash:u,options:t.defaultQueryOptions(s),state:o,defaultOptions:t.getQueryDefaults(l)}),this.add(d)),d}add(t){R(this,gn).has(t.queryHash)||(R(this,gn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const s=R(this,gn).get(t.queryHash);s&&(t.destroy(),s===t&&R(this,gn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){ct.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return R(this,gn).get(t)}getAll(){return[...R(this,gn).values()]}find(t){const s={exact:!0,...t};return this.getAll().find(o=>kp(s,o))}findAll(t={}){const s=this.getAll();return Object.keys(t).length>0?s.filter(o=>kp(t,o)):s}notify(t){ct.batch(()=>{this.listeners.forEach(s=>{s(t)})})}onFocus(){ct.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){ct.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},gn=new WeakMap,Bm),He,hr,pr,Ds,js,mr,Ms,Us,zm,jE=(zm=class{constructor(r={}){pe(this,He);pe(this,hr);pe(this,pr);pe(this,Ds);pe(this,js);pe(this,mr);pe(this,Ms);pe(this,Us);ee(this,He,r.queryCache||new DE),ee(this,hr,r.mutationCache||new FE),ee(this,pr,r.defaultOptions||{}),ee(this,Ds,new Map),ee(this,js,new Map),ee(this,mr,0)}mount(){ca(this,mr)._++,R(this,mr)===1&&(ee(this,Ms,Gc.subscribe(async r=>{r&&(await this.resumePausedMutations(),R(this,He).onFocus())})),ee(this,Us,Oa.subscribe(async r=>{r&&(await this.resumePausedMutations(),R(this,He).onOnline())})))}unmount(){var r,t;ca(this,mr)._--,R(this,mr)===0&&((r=R(this,Ms))==null||r.call(this),ee(this,Ms,void 0),(t=R(this,Us))==null||t.call(this),ee(this,Us,void 0))}isFetching(r){return R(this,He).findAll({...r,fetchStatus:"fetching"}).length}isMutating(r){return R(this,hr).findAll({...r,status:"pending"}).length}getQueryData(r){var s;const t=this.defaultQueryOptions({queryKey:r});return(s=R(this,He).get(t.queryHash))==null?void 0:s.state.data}ensureQueryData(r){const t=this.defaultQueryOptions(r),s=R(this,He).build(this,t),o=s.state.data;return o===void 0?this.fetchQuery(r):(r.revalidateIfStale&&s.isStaleByTime(gr(t.staleTime,s))&&this.prefetchQuery(t),Promise.resolve(o))}getQueriesData(r){return R(this,He).findAll(r).map(({queryKey:t,state:s})=>{const o=s.data;return[t,o]})}setQueryData(r,t,s){const o=this.defaultQueryOptions({queryKey:r}),l=R(this,He).get(o.queryHash),u=l==null?void 0:l.state.data,d=gE(t,u);if(d!==void 0)return R(this,He).build(this,o).setData(d,{...s,manual:!0})}setQueriesData(r,t,s){return ct.batch(()=>R(this,He).findAll(r).map(({queryKey:o})=>[o,this.setQueryData(o,t,s)]))}getQueryState(r){var s;const t=this.defaultQueryOptions({queryKey:r});return(s=R(this,He).get(t.queryHash))==null?void 0:s.state}removeQueries(r){const t=R(this,He);ct.batch(()=>{t.findAll(r).forEach(s=>{t.remove(s)})})}resetQueries(r,t){const s=R(this,He);return ct.batch(()=>(s.findAll(r).forEach(o=>{o.reset()}),this.refetchQueries({type:"active",...r},t)))}cancelQueries(r,t={}){const s={revert:!0,...t},o=ct.batch(()=>R(this,He).findAll(r).map(l=>l.cancel(s)));return Promise.all(o).then(Pt).catch(Pt)}invalidateQueries(r,t={}){return ct.batch(()=>(R(this,He).findAll(r).forEach(s=>{s.invalidate()}),(r==null?void 0:r.refetchType)==="none"?Promise.resolve():this.refetchQueries({...r,type:(r==null?void 0:r.refetchType)??(r==null?void 0:r.type)??"active"},t)))}refetchQueries(r,t={}){const s={...t,cancelRefetch:t.cancelRefetch??!0},o=ct.batch(()=>R(this,He).findAll(r).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let u=l.fetch(void 0,s);return s.throwOnError||(u=u.catch(Pt)),l.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(o).then(Pt)}fetchQuery(r){const t=this.defaultQueryOptions(r);t.retry===void 0&&(t.retry=!1);const s=R(this,He).build(this,t);return s.isStaleByTime(gr(t.staleTime,s))?s.fetch(t):Promise.resolve(s.state.data)}prefetchQuery(r){return this.fetchQuery(r).then(Pt).catch(Pt)}
75fetchInfiniteQuery(r){return r.behavior=Ip(r.pages),this.fetchQuery(r)}prefetchInfiniteQuery(r){return this.fetchInfiniteQuery(r).then(Pt).catch(Pt)}ensureInfiniteQueryData(r){return r.behavior=Ip(r.pages),this.ensureQueryData(r)}resumePausedMutations(){return Oa.isOnline()?R(this,hr).resumePausedMutations():Promise.resolve()}getQueryCache(){return R(this,He)}getMutationCache(){return R(this,hr)}getDefaultOptions(){return R(this,pr)}setDefaultOptions(r){ee(this,pr,r)}setQueryDefaults(r,t){R(this,Ds).set(zo(r),{queryKey:r,defaultOptions:t})}getQueryDefaults(r){const t=[...R(this,Ds).values()],s={};return t.forEach(o=>{$o(r,o.queryKey)&&Object.assign(s,o.defaultOptions)}),s}setMutationDefaults(r,t){R(this,js).set(zo(r),{mutationKey:r,defaultOptions:t})}getMutationDefaults(r){const t=[...R(this,js).values()],s={};return t.forEach(o=>{$o(r,o.mutationKey)&&Object.assign(s,o.defaultOptions)}),s}defaultQueryOptions(r){if(r._defaulted)return r;const t={...R(this,pr).queries,...this.getQueryDefaults(r.queryKey),...r,_defaulted:!0};return t.queryHash||(t.queryHash=Qc(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Kc&&(t.enabled=!1),t}defaultMutationOptions(r){return r!=null&&r._defaulted?r:{...R(this,pr).mutations,...(r==null?void 0:r.mutationKey)&&this.getMutationDefaults(r.mutationKey),...r,_defaulted:!0}}clear(){R(this,He).clear(),R(this,hr).clear()}},He=new WeakMap,hr=new WeakMap,pr=new WeakMap,Ds=new WeakMap,js=new WeakMap,mr=new WeakMap,Ms=new WeakMap,Us=new WeakMap,zm),Gy=k.createContext(void 0),ME=r=>{const t=k.useContext(Gy);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},UE=({client:r,children:t})=>(k.useEffect(()=>(r.mount(),()=>{r.unmount()}),[r]),C.jsx(Gy.Provider,{value:r,children:t})),Xy=k.createContext(!1),BE=()=>k.useContext(Xy);Xy.Provider;function zE(){let r=!1;return{clearReset:()=>{r=!1},reset:()=>{r=!0},isReset:()=>r}}var $E=k.createContext(zE()),VE=()=>k.useContext($E),qE=(r,t,s)=>{const o=s!=null&&s.state.error&&typeof r.throwOnError=="function"?Vy(r.throwOnError,[s.state.error,s]):r.throwOnError;(r.suspense||r.experimental_prefetchInRender||o)&&(t.isReset()||(r.retryOnMount=!1))},HE=r=>{k.useEffect(()=>{r.clearReset()},[r])},WE=({result:r,errorResetBoundary:t,throwOnError:s,query:o,suspense:l})=>r.isError&&!t.isReset()&&!r.isFetching&&o&&(l&&r.data===void 0||Vy(s,[r.error,o])),QE=r=>{if(r.suspense){const s=l=>l==="static"?l:Math.max(l??1e3,1e3),o=r.staleTime;r.staleTime=typeof o=="function"?(...l)=>s(o(...l)):s(o),typeof r.gcTime=="number"&&(r.gcTime=Math.max(r.gcTime,1e3))}},KE=(r,t)=>r.isLoading&&r.isFetching&&!t,GE=(r,t)=>(r==null?void 0:r.suspense)&&t.isPending,Dp=(r,t,s)=>t.fetchOptimistic(r).catch(()=>{s.clearReset()});function XE(r,t,s){var _,T,D,S;const o=BE(),l=VE(),u=ME(),d=u.defaultQueryOptions(r);(T=(_=u.getDefaultOptions().queries)==null?void 0:_._experimental_beforeQuery)==null||T.call(_,d);const f=u.getQueryCache().get(d.queryHash);d._optimisticResults=o?"isRestoring":"optimistic",QE(d),qE(d,l,f),HE(l);const p=!u.getQueryCache().get(d.queryHash),[m]=k.useState(()=>new t(u,d)),g=m.getOptimisticResult(d),v=!o&&r.subscribed!==!1;if(k.useSyncExternalStore(k.useCallback(w=>{const E=v?m.subscribe(ct.batchCalls(w)):Pt;return m.updateResult(),E},[m,v]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),k.useEffect(()=>{m.setOptions(d)},[d,m]),GE(d,g))throw Dp(d,m,l);if(WE({result:g,errorResetBoundary:l,throwOnError:d.throwOnError,query:f,suspense:d.suspense}))throw g.error;if((S=(D=u.getDefaultOptions().queries)==null?void 0:D._experimental_afterQuery)==null||S.call(D,d,g),d.experimental_prefetchInRender&&!Yr&&KE(g,o)){const w=p?Dp(d,m,l):f==null?void 0:f.promise;w==null||w.catch(Pt).finally(()=>{m.updateResult()})}return d.notifyOnChangeProps?g:m.trackResult(g)}function YE(r,t){return XE(r,PE)}const JE=new jE({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}});/**
76 * @remix-run/router v1.23.3
77 *
78 * Copyright (c) Remix Software Inc.
79 *
80 * This source code is licensed under the MIT license found in the
81 * LICENSE.md file in the root directory of this source tree.
82 *
83 * @license MIT
84 */function Na(){return Na=Object.assign?Object.assign.bind():function(r){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var o in s)({}).hasOwnProperty.call(s,o)&&(r[o]=s[o])}return r},Na.apply(null,arguments)}var yr;(function(r){r.Pop="POP",r.Push="PUSH",r.Replace="REPLACE"})(yr||(yr={}));const jp="popstate";function ZE(r){r===void 0&&(r={});function t(o,l){let{pathname:u,search:d,hash:f}=o.location;return Ec("",{pathname:u,search:d,hash:f},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function s(o,l){return typeof l=="string"?l:Jy(l)}return t_(t,s,null,r)}function Ot(r,t){if(r===!1||r===null||typeof r>"u")throw new Error(t)}function Yy(r,t){if(!r){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function e_(){return Math.random().toString(36).substr(2,8)}function Mp(r,t){return{usr:r.state,key:r.key,idx:t}}function Ec(r,t,s,o){return s===void 0&&(s=null),Na({pathname:typeof r=="string"?r:r.pathname,search:"",hash:""},typeof t=="string"?Ua(t):t,{state:s,key:t&&t.key||o||e_()})}function Jy(r){let{pathname:t="/",search:s="",hash:o=""}=r;return s&&s!=="?"&&(t+=s.charAt(0)==="?"?s:"?"+s),o&&o!=="#"&&(t+=o.charAt(0)==="#"?o:"#"+o),t}function Ua(r){let t={};if(r){let s=r.indexOf("#");s>=0&&(t.hash=r.substr(s),r=r.substr(0,s));let o=r.indexOf("?");o>=0&&(t.search=r.substr(o),r=r.substr(0,o)),r&&(t.pathname=r)}return t}function t_(r,t,s,o){o===void 0&&(o={});let{window:l=document.defaultView,v5Compat:u=!1}=o,d=l.history,f=yr.Pop,p=null,m=g();m==null&&(m=0,d.replaceState(Na({},d.state,{idx:m}),""));function g(){return(d.state||{idx:null}).idx}function v(){f=yr.Pop;let w=g(),E=w==null?null:w-m;m=w,p&&p({action:f,location:S.location,delta:E})}function _(w,E){f=yr.Push;let I=Ec(S.location,w,E);m=g()+1;let L=Mp(I,m),N=S.createHref(I);try{d.pushState(L,"",N)}catch(U){if(U instanceof DOMException&&U.name==="DataCloneError")throw U;l.location.assign(N)}u&&p&&p({action:f,location:S.location,delta:1})}function T(w,E){f=yr.Replace;let I=Ec(S.location,w,E);m=g();let L=Mp(I,m),N=S.createHref(I);d.replaceState(L,"",N),u&&p&&p({action:f,location:S.location,delta:0})}function D(w){let E=l.location.origin!=="null"?l.location.origin:l.location.href,I=typeof w=="string"?w:Jy(w);
vendor: 2,792 bytes, line 84
84return I=I.replace(/ $/,"%20"),Ot(E,"No window.location.(origin|href) available to create URL for href: "+I),new URL(I,E)}let S={get action(){return f},get location(){return r(l,d)},listen(w){if(p)throw new Error("A history only accepts one active listener");return l.addEventListener(jp,v),p=w,()=>{l.removeEventListener(jp,v),p=null}},createHref(w){return t(l,w)},createURL:D,encodeLocation(w){let E=D(w);return{pathname:E.pathname,search:E.search,hash:E.hash}},push:_,replace:T,go(w){return d.go(w)}};return S}var Up;(function(r){r.data="data",r.deferred="deferred",r.redirect="redirect",r.error="error"})(Up||(Up={}));function n_(r,t,s){return s===void 0&&(s="/"),r_(r,t,s)}function r_(r,t,s,o){let l=typeof t=="string"?Ua(t):t,u=tg(l.pathname||"/",s);if(u==null)return null;let d=Zy(r);s_(d);let f=null,p=y_(u);for(let m=0;f==null&&m<d.length;++m)f=h_(d[m],p);return f}function Zy(r,t,s,o){t===void 0&&(t=[]),s===void 0&&(s=[]),o===void 0&&(o="");let l=(u,d,f)=>{let p={relativePath:f===void 0?u.path||"":f,caseSensitive:u.caseSensitive===!0,childrenIndex:d,route:u};p.relativePath.startsWith("/")&&(Ot(p.relativePath.startsWith(o),'Absolute route path "'+p.relativePath+'" nested under path '+('"'+o+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),p.relativePath=p.relativePath.slice(o.length));let m=Rs([o,p.relativePath]),g=s.concat(p);u.children&&u.children.length>0&&(Ot(u.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+m+'".')),Zy(u.children,t,g,m)),!(u.path==null&&!u.index)&&t.push({path:m,score:d_(m,u.index),routesMeta:g})};return r.forEach((u,d)=>{var f;if(u.path===""||!((f=u.path)!=null&&f.includes("?")))l(u,d);else for(let p of eg(u.path))l(u,d,p)}),t}function eg(r){let t=r.split("/");if(t.length===0)return[];let[s,...o]=t,l=s.endsWith("?"),u=s.replace(/\?$/,"");if(o.length===0)return l?[u,""]:[u];let d=eg(o.join("/")),f=[];return f.push(...d.map(p=>p===""?u:[u,p].join("/"))),l&&f.push(...d),f.map(p=>r.startsWith("/")&&p===""?"/":p)}function s_(r){r.sort((t,s)=>t.score!==s.score?s.score-t.score:f_(t.routesMeta.map(o=>o.childrenIndex),s.routesMeta.map(o=>o.childrenIndex)))}const o_=/^:[\w-]+$/,i_=3,a_=2,l_=1,u_=10,c_=-2,Bp=r=>r==="*";function d_(r,t){let s=r.split("/"),o=s.length;return s.some(Bp)&&(o+=c_),t&&(o+=a_),s.filter(l=>!Bp(l)).reduce((l,u)=>l+(o_.test(u)?i_:u===""?l_:u_),o)}function f_(r,t){return r.length===t.length&&r.slice(0,-1).every((o,l)=>o===t[l])?r[r.length-1]-t[t.length-1]:0}function h_(r,t,s){let{routesMeta:o}=r,l={},u="/",d=[];for(let f=0;f<o.length;++f){let p=o[f],m=f===o.length-1,g=u==="/"?t:t.slice(u.length)||"/",v=p_({path:p.relativePath,caseSensitive:p.caseSensitive,end:m},g),_=p.route;if(!v)return null;
vendor: 4,184 bytes, lines 84-93
84Object.assign(l,v.params),d.push({params:l,pathname:Rs([u,v.pathname]),pathnameBase:v_(Rs([u,v.pathnameBase])),route:_}),v.pathnameBase!=="/"&&(u=Rs([u,v.pathnameBase]))}return d}function p_(r,t){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[s,o]=m_(r.path,r.caseSensitive,r.end),l=t.match(s);if(!l)return null;let u=l[0],d=u.replace(/(.)\/+$/,"$1"),f=l.slice(1);return{params:o.reduce((m,g,v)=>{let{paramName:_,isOptional:T}=g;if(_==="*"){let S=f[v]||"";d=u.slice(0,u.length-S.length).replace(/(.)\/+$/,"$1")}const D=f[v];return T&&!D?m[_]=void 0:m[_]=(D||"").replace(/%2F/g,"/"),m},{}),pathname:u,pathnameBase:d,pattern:r}}function m_(r,t,s){t===void 0&&(t=!1),s===void 0&&(s=!0),Yy(r==="*"||!r.endsWith("*")||r.endsWith("/*"),'Route path "'+r+'" will be treated as if it were '+('"'+r.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+r.replace(/\*$/,"/*")+'".'));let o=[],l="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(d,f,p)=>(o.push({paramName:f,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)"));return r.endsWith("*")?(o.push({paramName:"*"}),l+=r==="*"||r==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?l+="\\/*$":r!==""&&r!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),o]}function y_(r){try{return r.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Yy(!1,'The URL path "'+r+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),r}}function tg(r,t){if(t==="/")return r;if(!r.toLowerCase().startsWith(t.toLowerCase()))return null;let s=t.endsWith("/")?t.length-1:t.length,o=r.charAt(s);return o&&o!=="/"?null:r.slice(s)||"/"}const g_=r=>r.replace(/\/\/+/g,"/"),Rs=r=>g_(r.join("/")),v_=r=>r.replace(/\/+$/,"").replace(/^\/*/,"/");function w_(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}const ng=["post","put","patch","delete"];new Set(ng);const x_=["get",...ng];new Set(x_);/**
85 * React Router v6.30.4
86 *
87 * Copyright (c) Remix Software Inc.
88 *
89 * This source code is licensed under the MIT license found in the
90 * LICENSE.md file in the root directory of this source tree.
91 *
92 * @license MIT
93 */function La(){return La=Object.assign?Object.assign.bind():function(r){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var o in s)({}).hasOwnProperty.call(s,o)&&(r[o]=s[o])}return r},La.apply(null,arguments)}const E_=k.createContext(null),__=k.createContext(null),rg=k.createContext(null),Yo=k.createContext(null),Ba=k.createContext({outlet:null,matches:[],isDataRoute:!1}),sg=k.createContext(null);function Yc(){return k.useContext(Yo)!=null}function Jc(){return Yc()||Ot(!1),k.useContext(Yo).location}function S_(){return k.useContext(Yo).navigationType}function b_(r,t){return C_(r,t)}function C_(r,t,s,o){Yc()||Ot(!1);let{navigator:l}=k.useContext(rg),{matches:u}=k.useContext(Ba),d=u[u.length-1],f=d?d.params:{};d&&d.pathname;let p=d?d.pathnameBase:"/";d&&d.route;let m=Jc(),g;if(t){var v;let w=typeof t=="string"?Ua(t):t;p==="/"||(v=w.pathname)!=null&&v.startsWith(p)||Ot(!1),g=w}else g=m;let _=g.pathname||"/",T=_;if(p!=="/"){let w=p.replace(/^\//,"").split("/");T="/"+_.replace(/^\//,"").split("/").slice(w.length).join("/")}let D=n_(r,{pathname:T}),S=A_(D&&D.map(w=>Object.assign({},w,{params:Object.assign({},f,w.params),pathname:Rs([p,l.encodeLocation?l.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?p:Rs([p,l.encodeLocation?l.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),u,s,o);return t&&S?k.createElement(Yo.Provider,{value:{location:La({pathname:"/",search:"",hash:"",state:null,key:"default"},g),navigationType:yr.Pop}},S):S}function k_(){let r=I_(),t=w_(r)?r.status+" "+r.statusText:r instanceof Error?r.message:JSON.stringify(r),s=r instanceof Error?r.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return k.createElement(k.Fragment,null,k.createElement("h2",null,"Unexpected Application 
93Error!"),k.createElement("h3",{style:{fontStyle:"italic"}},t),s?k.createElement("pre",{style:l},s):null,null)}const R_=k.createElement(k_,null);class T_ extends k.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,s){return s.location!==t.location||s.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:s.error,location:s.location,revalidation:t.revalidation||s.revalidation}}componentDidCatch(t,s){console.error("React Router caught the following error during render",t,s)}render(){return this.state.error!==void 0?k.createElement(Ba.Provider,{value:this.props.routeContext},k.createElement(sg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function P_(r){let{routeContext:t,match:s,children:o}=r,l=k.useContext(E_);return l&&l.static&&l.staticContext&&(s.route.errorElement||s.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=s.route.id),k.createElement(Ba.Provider,{value:t},o)}function A_(r,t,s,o){var l;if(t===void 0&&(t=[]),s===void 0&&(s=null),o===void 0&&(o=null),r==null){var u;if(!s)return null;if(s.errors)r=s.matches;else if((u=o)!=null&&u.v7_partialHydration&&t.length===0&&!s.initialized&&s.matches.length>0)r=s.matches;else return null}let d=r,f=(l=s)==null?void 0:l.errors;if(f!=null){let g=d.findIndex(v=>v.route.id&&(f==null?void 0:f[v.route.id])!==void 0);g>=0||Ot(!1),d=d.slice(0,Math.min(d.length,g+1))}let p=!1,m=-1;if(s&&o&&o.v7_partialHydration)for(let g=0;g<d.length;g++){let v=d[g];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(m=g),v.route.id){let{loaderData:_,errors:T}=s,D=v.route.loader&&_[v.route.id]===void 0&&(!T||T[v.route.id]===void 0);if(v.route.lazy||D){p=!0,m>=0?d=d.slice(0,m+1):d=[d[0]];break}}}return d.reduceRight((g,v,_)=>{let T,D=!1,S=null,w=null;s&&(T=f&&v.route.id?f[v.route.id]:void 0,S=v.route.errorElement||R_,p&&(m<0&&_===0?(F_("route-fallback"),D=!0,w=null):m===_&&(D=!0,w=v.route.hydrateFallbackElement||null)));let E=t.concat(d.slice(0,_+1)),I=()=>{let L;return T?L=S:D?L=w:v.route.Component?L=k.createElement(v.route.Component,null):v.route.element?L=v.route.element:L=g,k.createElement(P_,{match:v,routeContext:{outlet:g,matches:E,isDataRoute:s!=null},children:L})};return s&&(v.route.ErrorBoundary||v.route.errorElement||_===0)?k.createElement(T_,{location:s.location,revalidation:s.revalidation,component:S,error:T,children:I(),routeContext:{outlet:null,matches:E,isDataRoute:!0}}):I()},null)}var og=(function(r){return r.UseBlocker="useBlocker",r.UseLoaderData="useLoaderData",r.UseActionData="useActionData",r.UseRouteError="useRouteError",r.UseNavigation="useNavigation",r.UseRouteLoaderData="useRouteLoaderData",r.UseMatches="useMatches",r.UseRevalidator="useRevalidator",r.UseNavigateStable="useNavigate",r.UseRouteId="useRouteId",r})(og||{});function O_(r){let t=k.useContext(__);return t||Ot(!1),t}function N_(r){let t=k.useContext(Ba);return t||Ot(!1),t}function L_(r){let t=N_(),s=t.matches[t.matches.length-1];return s.route.id||Ot(!1),s.route.id}function I_(){var r;let t=k.useContext(sg),s=O_(og.UseRouteError),o=L_();return t!==void 0?t:(r=s.errors)==null?void 0:r[o]}const zp={};function F_(r,t,s){zp[r]||(zp[r]=!0)}function D_(r,t){r==null||r.v7_startTransition,r==null||r.v7_relativeSplatPath}function _c(r){Ot(!1)}function j_(r){let{basename:t="/",children:s=null,location:o,navigationType:l=yr.Pop,navigator:u,static:d=!1,future:f}=r;Yc()&&Ot(!1);let p=t.replace(/^\/*/,"/"),m=k.useMemo(()=>({basename:p,navigator:u,static:d,future:La({v7_relativeSplatPath:!1},f)}),[p,f,u,d]);typeof o=="string"&&(o=Ua(o));let{pathname:g="/",search:v="",hash:_="",state:T=null,key:D="default"}=o,S=k.useMemo(()=>{let w=tg(g,p);return w==null?null:{location:{pathname:w,search:v,hash:_,state:T,key:D},navigationType:l}},[p,g,v,_,T,D,l]);return S==null?null:k.createElement(rg.Provider,{value:m},k.createElement(Yo.Provider,{children:s,value:S}))}function M_(r){let{children:t,location:s}=r;return b_(Sc(t),s)}new Promise(()=>{});function Sc(r,t){t===void 0&&(t=[]);let s=[];
93return k.Children.forEach(r,(o,l)=>{if(!k.isValidElement(o))return;let u=[...t,l];if(o.type===k.Fragment){s.push.apply(s,Sc(o.props.children,u));return}o.type!==_c&&Ot(!1),!o.props.index||!o.props.children||Ot(!1);let d={id:o.props.id||u.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,loader:o.props.loader,action:o.props.action,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(d.children=Sc(o.props.children,u)),s.push(d)}),s}/**
94 * React Router DOM v6.30.4
95 *
96 * Copyright (c) Remix Software Inc.
97 *
98 * This source code is licensed under the MIT license found in the
99 * LICENSE.md file in the root directory of this source tree.
100 *
101 * @license MIT
102 */const U_="6";try{window.__reactRouterVersion=U_}catch{}const B_="startTransition",$p=Vm[B_];function z_(r){let{basename:t,children:s,future:o,window:l}=r,u=k.useRef();u.current==null&&(u.current=ZE({window:l,v5Compat:!0}));let d=u.current,[f,p]=k.useState({action:d.action,location:d.location}),{v7_startTransition:m}=o||{},g=k.useCallback(v=>{m&&$p?$p(()=>p(v)):p(v)},[p,m]);return k.useLayoutEffect(()=>d.listen(g),[d,g]),k.useEffect(()=>D_(o),[o]),k.createElement(j_,{basename:t,children:s,location:f.location,navigationType:f.action,navigator:d,future:o})}var Vp;(function(r){r.UseScrollRestoration="useScrollRestoration",r.UseSubmit="useSubmit",r.UseSubmitFetcher="useSubmitFetcher",r.UseFetcher="useFetcher",r.useViewTransitionState="useViewTransitionState"})(Vp||(Vp={}));var qp;(function(r){r.UseFetcher="useFetcher",r.UseFetchers="useFetchers",r.UseScrollRestoration="useScrollRestoration"})(qp||(qp={}));function ig(r,t){return function(){return r.apply(t,arguments)}}const{toString:$_}=Object.prototype,{getPrototypeOf:Bs}=Object,{iterator:Jo,toStringTag:ag}=Symbol,Ia=(({hasOwnProperty:r})=>(t,s)=>r.call(t,s))(Object.prototype),Vo=(r,t)=>{let s=r;const o=[];for(;s!=null&&s!==Object.prototype;){if(o.indexOf(s)!==-1)return!1;if(o.push(s),Ia(s,t))return!0;s=Bs(s)}return!1},V_=(r,t)=>r!=null&&Vo(r,t)?r[t]:void 0,Zc=(r=>t=>{const s=$_.call(t);return r[s]||(r[s]=s.slice(8,-1).toLowerCase())})(Object.create(null)),un=r=>(r=r.toLowerCase(),t=>Zc(t)===r),za=r=>t=>typeof t===r,{isArray:Jr}=Array,zs=za("undefined");function $s(r){return r!==null&&!zs(r)&&r.constructor!==null&&!zs(r.constructor)&&At(r.constructor.isBuffer)&&r.constructor.isBuffer(r)}const lg=un("ArrayBuffer");function q_(r){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(r):t=r&&r.buffer&&lg(r.buffer),t}const H_=za("string"),At=za("function"),ug=za("number"),Vs=r=>r!==null&&typeof r=="object",W_=r=>r===!0||r===!1,Sa=r=>{if(!Vs(r))return!1;const t=Bs(r);return(t===null||t===Object.prototype||Bs(t)===null)&&!Vo(r,ag)&&!Vo(r,Jo)},Q_=r=>{if(!Vs(r)||$s(r))return!1;try{return Object.keys(r).length===0&&Object.getPrototypeOf(r)===Object.prototype}catch{return!1}},K_=un("Date"),G_=un("File"),X_=r=>!!(r&&typeof r.uri<"u"),Y_=r=>r&&typeof r.getParts<"u",J_=un("Blob"),Z_=un("FileList"),eS=r=>Vs(r)&&At(r.pipe);function tS(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const Hp=tS(),Wp=typeof Hp.FormData<"u"?Hp.FormData:void 0,nS=r=>{if(!r)return!1;if(Wp&&r instanceof Wp)return!0;const t=Bs(r);if(!t||t===Object.prototype||!At(r.append))return!1;const s=Zc(r);return s==="formdata"||s==="object"&&At(r.toString)&&r.toString()==="[object FormData]"},rS=un("URLSearchParams"),[sS,oS,iS,aS]=["ReadableStream","Request","Response","Headers"].map(un),lS=r=>r.trim?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Zo(r,t,{allOwnKeys:s=!1}={}){if(r===null||typeof r>"u")return;let o,l;if(typeof r!="object"&&(r=[r]),Jr(r))for(o=0,l=r.length;o<l;o++)t.call(null,r[o],o,r);else{if($s(r))return;const u=s?Object.getOwnPropertyNames(r):Object.keys(r),d=u.length;let f;for(o=0;o<d;o++)f=u[o],t.call(null,r[f],f,r)}}function cg(r,t){if($s(r))return null;t=t.toLowerCase();const s=Object.keys(r);let o=s.length,l;for(;o-- >0;)if(l=s[o],t===l.toLowerCase())return l;return null}const Mr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,dg=r=>!zs(r)&&r!==Mr;function bc(...r){const{caseless:t,skipUndefined:s}=dg(this)&&this||{},o={},l=(u,d)=>{if(d==="__proto__"||d==="constructor"||d==="prototype")return;
vendor: 9,224 bytes, lines 102-104
102const f=t&&typeof d=="string"&&cg(o,d)||d,p=Ia(o,f)?o[f]:void 0;Sa(p)&&Sa(u)?o[f]=bc(p,u):Sa(u)?o[f]=bc({},u):Jr(u)?o[f]=u.slice():(!s||!zs(u))&&(o[f]=u)};for(let u=0,d=r.length;u<d;u++){const f=r[u];if(!f||$s(f)||(Zo(f,l),typeof f!="object"||Jr(f)))continue;const p=Object.getOwnPropertySymbols(f);for(let m=0;m<p.length;m++){const g=p[m];xS.call(f,g)&&l(f[g],g)}}return o}const uS=(r,t,s,{allOwnKeys:o}={})=>(Zo(t,(l,u)=>{s&&At(l)?Object.defineProperty(r,u,{__proto__:null,value:ig(l,s),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(r,u,{__proto__:null,value:l,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:o}),r),cS=r=>(r.charCodeAt(0)===65279&&(r=r.slice(1)),r),dS=(r,t,s,o)=>{r.prototype=Object.create(t.prototype,o),Object.defineProperty(r.prototype,"constructor",{__proto__:null,value:r,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(r,"super",{__proto__:null,value:t.prototype}),s&&Object.assign(r.prototype,s)},fS=(r,t,s,o)=>{let l,u,d;const f={};if(t=t||{},r==null)return t;do{for(l=Object.getOwnPropertyNames(r),u=l.length;u-- >0;)d=l[u],(!o||o(d,r,t))&&!f[d]&&(t[d]=r[d],f[d]=!0);r=s!==!1&&Bs(r)}while(r&&(!s||s(r,t))&&r!==Object.prototype);return t},hS=(r,t,s)=>{r=String(r),(s===void 0||s>r.length)&&(s=r.length),s-=t.length;const o=r.indexOf(t,s);return o!==-1&&o===s},pS=r=>{if(!r)return null;if(Jr(r))return r;let t=r.length;if(!ug(t))return null;const s=new Array(t);for(;t-- >0;)s[t]=r[t];return s},mS=(r=>t=>r&&t instanceof r)(typeof Uint8Array<"u"&&Bs(Uint8Array)),yS=(r,t)=>{const o=(r&&r[Jo]).call(r);let l;for(;(l=o.next())&&!l.done;){const u=l.value;t.call(r,u[0],u[1])}},gS=(r,t)=>{let s;const o=[];for(;(s=r.exec(t))!==null;)o.push(s);return o},vS=un("HTMLFormElement"),wS=r=>r.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(s,o,l){return o.toUpperCase()+l}),{propertyIsEnumerable:xS}=Object.prototype,ES=un("RegExp"),fg=(r,t)=>{const s=Object.getOwnPropertyDescriptors(r),o={};Zo(s,(l,u)=>{let d;(d=t(l,u,r))!==!1&&(o[u]=d||l)}),Object.defineProperties(r,o)},_S=r=>{fg(r,(t,s)=>{if(At(r)&&["arguments","caller","callee"].includes(s))return!1;const o=r[s];if(At(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+s+"'")})}})},SS=(r,t)=>{const s={},o=l=>{l.forEach(u=>{s[u]=!0})};return Jr(r)?o(r):o(String(r).split(t)),s},bS=()=>{},CS=(r,t)=>r!=null&&Number.isFinite(r=+r)?r:t;function kS(r){return!!(r&&At(r.append)&&r[ag]==="FormData"&&r[Jo])}const RS=r=>{const t=new WeakSet,s=o=>{if(Vs(o)){if(t.has(o))return;if($s(o))return o;if(!("toJSON"in o)){t.add(o);const l=Jr(o)?[]:{};return Zo(o,(u,d)=>{const f=s(u);!zs(f)&&(l[d]=f)}),t.delete(o),l}}return o};return s(r)},TS=un("AsyncFunction"),PS=r=>r&&(Vs(r)||At(r))&&At(r.then)&&At(r.catch),hg=((r,t)=>r?setImmediate:t?((s,o)=>(Mr.addEventListener("message",({source:l,data:u})=>{l===Mr&&u===s&&o.length&&o.shift()()},!1),l=>{o.push(l),Mr.postMessage(s,"*")}))(`axios@${Math.random()}`,[]):s=>setTimeout(s))(typeof setImmediate=="function",At(Mr.postMessage)),AS=typeof queueMicrotask<"u"?queueMicrotask.bind(Mr):typeof process<"u"&&process.nextTick||hg,pg=r=>r!=null&&At(r[Jo]),OS=r=>r!=null&&Vo(r,Jo)&&pg(r),O={isArray:Jr,isArrayBuffer:lg,isBuffer:$s,isFormData:nS,isArrayBufferView:q_,isString:H_,isNumber:ug,isBoolean:W_,isObject:Vs,isPlainObject:Sa,isEmptyObject:Q_,isReadableStream:sS,isRequest:oS,isResponse:iS,isHeaders:aS,isUndefined:zs,isDate:K_,isFile:G_,isReactNativeBlob:X_,isReactNative:Y_,isBlob:J_,isRegExp:ES,isFunction:At,isStream:eS,isURLSearchParams:rS,isTypedArray:mS,isFileList:Z_,forEach:Zo,merge:bc,extend:uS,trim:lS,stripBOM:cS,inherits:dS,toFlatObject:fS,kindOf:Zc,kindOfTest:un,endsWith:hS,toArray:pS,forEachEntry:yS,matchAll:gS,isHTMLForm:vS,hasOwnProperty:Ia,hasOwnProp:Ia,hasOwnInPrototypeChain:Vo,getSafeProp:V_,reduceDescriptors:fg,freezeMethods:_S,toObjectSet:SS,toCamelCase:wS,noop:bS,toFiniteNumber:CS,findKey:cg,global:Mr,isContextDefined:dg,isSpecCompliantForm:kS,toJSONObject:RS,isAsyncFn:TS,isThenable:PS,setImmediate:hg,asap:AS,isIterable:pg,isSafeIterable:OS},NS=O.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"]),LS=r=>{const t={};let s,o,l;return r&&r.split(`
103`).forEach(function(d){l=d.indexOf(":"),s=d.substring(0,l).trim().toLowerCase(),o=d.substring(l+1).trim(),!(!s||t[s]&&NS[s])&&(s==="set-cookie"?t[s]?t[s].push(o):t[s]=[o]:t[s]=t[s]?t[s]+", "+o:o)}),t};function IS(r){let t=0,s=r.length;for(;t<s;){const o=r.charCodeAt(t);if(o!==9&&o!==32)break;t+=1}for(;s>t;){const o=r.charCodeAt(s-1);if(o!==9&&o!==32)break;s-=1}return t===0&&s===r.length?r:r.slice(t,s)}const FS=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),DS=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function ed(r,t){return O.isArray(r)?r.map(s=>ed(s,t)):IS(String(r).replace(t,""))}const jS=r=>ed(r,FS),MS=r=>ed(r,DS);function mg(r){const t=Object.create(null);return O.forEach(r.toJSON(),(s,o)=>{t[o]=MS(s)}),t}const Qp=Symbol("internals");function No(r){return r&&String(r).trim().toLowerCase()}function ba(r){return r===!1||r==null?r:O.isArray(r)?r.map(ba):jS(String(r))}function US(r){const t=Object.create(null),s=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=s.exec(r);)t[o[1]]=o[2];return t}const BS=r=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim());function Wu(r,t,s,o,l){if(O.isFunction(o))return o.call(this,t,s);if(l&&(t=s),!!O.isString(t)){if(O.isString(o))return t.indexOf(o)!==-1;if(O.isRegExp(o))return o.test(t)}}function zS(r){return r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,s,o)=>s.toUpperCase()+o)}function $S(r,t){const s=O.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(r,o+s,{__proto__:null,value:function(l,u,d){return this[o].call(this,t,l,u,d)},configurable:!0})})}let vt=class{constructor(t){t&&this.set(t)}set(t,s,o){const l=this;function u(f,p,m){const g=No(p);if(!g)return;const v=O.findKey(l,g);(!v||l[v]===void 0||m===!0||m===void 0&&l[v]!==!1)&&(l[v||p]=ba(f))}const d=(f,p)=>O.forEach(f,(m,g)=>u(m,g,p));if(O.isPlainObject(t)||t instanceof this.constructor)d(t,s);else if(O.isString(t)&&(t=t.trim())&&!BS(t))d(LS(t),s);else if(O.isObject(t)&&O.isSafeIterable(t)){let f=Object.create(null),p,m;for(const g of t){if(!O.isArray(g))throw new TypeError("Object iterator must return a key-value pair");m=g[0],O.hasOwnProp(f,m)?(p=f[m],f[m]=O.isArray(p)?[...p,g[1]]:[p,g[1]]):f[m]=g[1]}d(f,s)}else t!=null&&u(s,t,o);return this}get(t,s){if(t=No(t),t){const o=O.findKey(this,t);if(o){const l=this[o];if(!s)return l;if(s===!0)return US(l);if(O.isFunction(s))return s.call(this,l,o);if(O.isRegExp(s))return s.exec(l);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,s){if(t=No(t),t){const o=O.findKey(this,t);return!!(o&&this[o]!==void 0&&(!s||Wu(this,this[o],o,s)))}return!1}delete(t,s){const o=this;let l=!1;function u(d){if(d=No(d),d){const f=O.findKey(o,d);f&&(!s||Wu(o,o[f],f,s))&&(delete o[f],l=!0)}}return O.isArray(t)?t.forEach(u):u(t),l}clear(t){const s=Object.keys(this);let o=s.length,l=!1;for(;o--;){const u=s[o];(!t||Wu(this,this[u],u,t,!0))&&(delete this[u],l=!0)}return l}normalize(t){const s=this,o={};return O.forEach(this,(l,u)=>{const d=O.findKey(o,u);if(d){s[d]=ba(l),delete s[u];return}const f=t?zS(u):String(u).trim();f!==u&&delete s[u],s[f]=ba(l),o[f]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const s=Object.create(null);return O.forEach(this,(o,l)=>{o!=null&&o!==!1&&(s[l]=t&&O.isArray(o)?o.join(", "):o)}),s}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,s])=>t+": "+s).join(`
104`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...s){const o=new this(t);return s.forEach(l=>o.set(l)),o}static accessor(t){const o=(this[Qp]=this[Qp]={accessors:{}}).accessors,l=this.prototype;function u(d){const f=No(d);o[f]||($S(l,d),o[f]=!0)}return O.isArray(t)?t.forEach(u):u(t),this}};vt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);O.reduceDescriptors(vt.prototype,({value:r},t)=>{let s=t[0].toUpperCase()+t.slice(1);return{get:()=>r,set(o){this[s]=o}}});O.freezeMethods(vt);const VS="[REDACTED ****]";function qS(r){if(O.hasOwnProp(r,"toJSON"))return!0;let t=Object.getPrototypeOf(r);for(;t&&t!==Object.prototype;){if(O.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function HS(r,t){const s=new Set(t.map(u=>String(u).toLowerCase())),o=[],l=u=>{if(u===null||typeof u!="object"||O.isBuffer(u))return u;if(o.indexOf(u)!==-1)return;u instanceof vt&&(u=u.toJSON()),o.push(u);let d;if(O.isArray(u))d=[],u.forEach((f,p)=>{const m=l(f);O.isUndefined(m)||(d[p]=m)});else{if(!O.isPlainObject(u)&&qS(u))return o.pop(),u;d=Object.create(null);for(const[f,p]of Object.entries(u)){const m=s.has(f.toLowerCase())?VS:l(p);O.isUndefined(m)||(d[f]=m)}}return o.pop(),d};return l(r)}
vendor: 4,197 bytes, line 104
104let Y=class yg extends Error{static from(t,s,o,l,u,d){const f=new yg(t.message,s||t.code,o,l,u);return Object.defineProperty(f,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),f.name=t.name,t.status!=null&&f.status==null&&(f.status=t.status),d&&Object.assign(f,d),f}constructor(t,s,o,l,u){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,s&&(this.code=s),o&&(this.config=o),l&&(this.request=l),u&&(this.response=u,this.status=u.status)}toJSON(){const t=this.config,s=t&&O.hasOwnProp(t,"redact")?t.redact:void 0,o=O.isArray(s)&&s.length>0?HS(t,s):O.toJSONObject(t);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:o,code:this.code,status:this.status}}};Y.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Y.ERR_BAD_OPTION="ERR_BAD_OPTION";Y.ECONNABORTED="ECONNABORTED";Y.ETIMEDOUT="ETIMEDOUT";Y.ECONNREFUSED="ECONNREFUSED";Y.ERR_NETWORK="ERR_NETWORK";Y.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Y.ERR_DEPRECATED="ERR_DEPRECATED";Y.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Y.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Y.ERR_CANCELED="ERR_CANCELED";Y.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Y.ERR_INVALID_URL="ERR_INVALID_URL";Y.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const WS=null,gg=100;function Cc(r){return O.isPlainObject(r)||O.isArray(r)}function vg(r){return O.endsWith(r,"[]")?r.slice(0,-2):r}function Qu(r,t,s){return r?r.concat(t).map(function(l,u){return l=vg(l),!s&&u?"["+l+"]":l}).join(s?".":""):t}function QS(r){return O.isArray(r)&&!r.some(Cc)}const KS=O.toFlatObject(O,{},null,function(t){return/^is[A-Z]/.test(t)});function $a(r,t,s){if(!O.isObject(r))throw new TypeError("target must be an object");t=t||new FormData,s=O.toFlatObject(s,{metaTokens:!0,dots:!1,indexes:!1},!1,function(I,L){return!O.isUndefined(L[I])});const o=s.metaTokens,l=s.visitor||D,u=s.dots,d=s.indexes,f=s.Blob||typeof Blob<"u"&&Blob,p=s.maxDepth===void 0?gg:s.maxDepth,m=f&&O.isSpecCompliantForm(t),g=[];if(!O.isFunction(l))throw new TypeError("visitor must be a function");function v(E){if(E===null)return"";if(O.isDate(E))return E.toISOString();if(O.isBoolean(E))return E.toString();if(!m&&O.isBlob(E))throw new Y("Blob is not supported. Use a Buffer instead.");if(O.isArrayBuffer(E)||O.isTypedArray(E)){if(m&&typeof f=="function")return new f([E]);if(typeof Buffer<"u")return Buffer.from(E);throw new Y("Blob is not supported. Use a Buffer instead.",Y.ERR_NOT_SUPPORT)}return E}function _(E){if(E>p)throw new Y("Object is too deeply nested ("+E+" levels). Max depth: "+p,Y.ERR_FORM_DATA_DEPTH_EXCEEDED)}function T(E,I){if(p===1/0)return JSON.stringify(E);const L=[];return JSON.stringify(E,function(U,q){if(!O.isObject(q))return q;for(;L.length&&L[L.length-1]!==this;)L.pop();return L.push(q),_(I+L.length-1),q})}function D(E,I,L){let N=E;if(O.isReactNative(t)&&O.isReactNativeBlob(E))return t.append(Qu(L,I,u),v(E)),!1;if(E&&!L&&typeof E=="object"){if(O.endsWith(I,"{}"))I=o?I:I.slice(0,-2),E=T(E,1);else if(O.isArray(E)&&QS(E)||(O.isFileList(E)||O.endsWith(I,"[]"))&&(N=O.toArray(E)))return I=vg(I),N.forEach(function(q,G){!(O.isUndefined(q)||q===null)&&t.append(d===!0?Qu([I],G,u):d===null?I:I+"[]",v(q))}),!1}return Cc(E)?!0:(t.append(Qu(L,I,u),v(E)),!1)}const S=Object.assign(KS,{defaultVisitor:D,convertValue:v,isVisitable:Cc});function w(E,I,L=0){if(!O.isUndefined(E)){if(_(L),g.indexOf(E)!==-1)throw new Error("Circular reference detected in "+I.join("."));g.push(E),O.forEach(E,function(U,q){(!(O.isUndefined(U)||U===null)&&l.call(t,U,O.isString(q)?q.trim():q,I,S))===!0&&w(U,I?I.concat(q):[q],L+1)}),g.pop()}}if(!O.isObject(r))throw new TypeError("data must be an object");return w(r),t}function Kp(r){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(r).replace(/[!'()~]|%20/g,function(o){return t[o]})}function td(r,t){this._pairs=[],r&&$a(r,this,t)}const wg=td.prototype;wg.append=function(t,s){this._pairs.push([t,s])};wg.toString=function(t){const s=t?o=>
vendor: 3,630 bytes, line 104
104t.call(this,o,Kp):Kp;return this._pairs.map(function(l){return s(l[0])+"="+s(l[1])},"").join("&")};function GS(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function xg(r,t,s){if(!t)return r;r=r||"";const o=O.isFunction(s)?{serialize:s}:s,l=O.getSafeProp(o,"encode")||GS,u=O.getSafeProp(o,"serialize");let d;if(u?d=u(t,o):d=O.isURLSearchParams(t)?t.toString():new td(t,o).toString(l),d){const f=r.indexOf("#");f!==-1&&(r=r.slice(0,f)),r+=(r.indexOf("?")===-1?"?":"&")+d}return r}class Gp{constructor(){this.handlers=[]}use(t,s,o){return this.handlers.push({fulfilled:t,rejected:s,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){O.forEach(this.handlers,function(o){o!==null&&t(o)})}}const nd={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},XS=typeof URLSearchParams<"u"?URLSearchParams:td,YS=typeof FormData<"u"?FormData:null,JS=typeof Blob<"u"?Blob:null,ZS={isBrowser:!0,classes:{URLSearchParams:XS,FormData:YS,Blob:JS},protocols:["http","https","file","blob","url","data"]},rd=typeof window<"u"&&typeof document<"u",kc=typeof navigator=="object"&&navigator||void 0,e1=rd&&(!kc||["ReactNative","NativeScript","NS"].indexOf(kc.product)<0),t1=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",n1=rd&&window.location.href||"http://localhost",r1=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:rd,hasStandardBrowserEnv:e1,hasStandardBrowserWebWorkerEnv:t1,navigator:kc,origin:n1},Symbol.toStringTag,{value:"Module"})),dt={...r1,...ZS};function s1(r,t){return $a(r,new dt.classes.URLSearchParams,{visitor:function(s,o,l,u){return dt.isNode&&O.isBuffer(s)?(this.append(o,s.toString("base64")),!1):u.defaultVisitor.apply(this,arguments)},...t})}const Xp=gg;function Eg(r){if(r>Xp)throw new Y("FormData field is too deeply nested ("+r+" levels). Max depth: "+Xp,Y.ERR_FORM_DATA_DEPTH_EXCEEDED)}function o1(r){const t=[],s=/\w+|\[(\w*)]/g;let o;for(;(o=s.exec(r))!==null;)Eg(t.length),t.push(o[0]==="[]"?"":o[1]||o[0]);return t}function i1(r){const t={},s=Object.keys(r);let o;const l=s.length;let u;for(o=0;o<l;o++)u=s[o],t[u]=r[u];return t}function _g(r){function t(s,o,l,u){Eg(u);let d=s[u++];if(d==="__proto__")return!0;const f=Number.isFinite(+d),p=u>=s.length;return d=!d&&O.isArray(l)?l.length:d,p?(O.hasOwnProp(l,d)?l[d]=O.isArray(l[d])?l[d].concat(o):[l[d],o]:l[d]=o,!f):((!O.hasOwnProp(l,d)||!O.isObject(l[d]))&&(l[d]=[]),t(s,o,l[d],u)&&O.isArray(l[d])&&(l[d]=i1(l[d])),!f)}if(O.isFormData(r)&&O.isFunction(r.entries)){const s={};return O.forEachEntry(r,(o,l)=>{t(o1(o),l,s,0)}),s}return null}const Cs=(r,t)=>r!=null&&O.hasOwnProp(r,t)?r[t]:void 0;function a1(r,t,s){if(O.isString(r))try{return(t||JSON.parse)(r),O.trim(r)}catch(o){if(o.name!=="SyntaxError")throw o}return(s||JSON.stringify)(r)}const ei={transitional:nd,adapter:["xhr","http","fetch"],transformRequest:[function(t,s){const o=s.getContentType()||"",l=o.indexOf("application/json")>-1,u=O.isObject(t);if(u&&O.isHTMLForm(t)&&(t=new FormData(t)),O.isFormData(t))return l?JSON.stringify(_g(t)):t;if(O.isArrayBuffer(t)||O.isBuffer(t)||O.isStream(t)||O.isFile(t)||O.isBlob(t)||O.isReadableStream(t))return t;if(O.isArrayBufferView(t))return t.buffer;if(O.isURLSearchParams(t))return s.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let f;
vendor: 20,178 bytes, lines 104-106
104if(u){const p=Cs(this,"formSerializer");if(o.indexOf("application/x-www-form-urlencoded")>-1)return s1(t,p).toString();if((f=O.isFileList(t))||o.indexOf("multipart/form-data")>-1){const m=Cs(this,"env"),g=m&&m.FormData;return $a(f?{"files[]":t}:t,g&&new g,p)}}return u||l?(s.setContentType("application/json",!1),a1(t)):t}],transformResponse:[function(t){const s=Cs(this,"transitional")||ei.transitional,o=s&&s.forcedJSONParsing,l=Cs(this,"responseType"),u=l==="json";if(O.isResponse(t)||O.isReadableStream(t))return t;if(t&&O.isString(t)&&(o&&!l||u)){const f=!(s&&s.silentJSONParsing)&&u;try{return JSON.parse(t,Cs(this,"parseReviver"))}catch(p){if(f)throw p.name==="SyntaxError"?Y.from(p,Y.ERR_BAD_RESPONSE,this,null,Cs(this,"response")):p}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:dt.classes.FormData,Blob:dt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};O.forEach(["delete","get","head","post","put","patch","query"],r=>{ei.headers[r]={}});function Ku(r,t){const s=this||ei,o=t||s,l=vt.from(o.headers);let u=o.data;return O.forEach(r,function(f){u=f.call(s,u,l.normalize(),t?t.status:void 0)}),l.normalize(),u}function Sg(r){return!!(r&&r.__CANCEL__)}let ti=class extends Y{constructor(t,s,o){super(t??"canceled",Y.ERR_CANCELED,s,o),this.name="CanceledError",this.__CANCEL__=!0}};function bg(r,t,s){const o=s.config.validateStatus;!s.status||!o||o(s.status)?r(s):t(new Y("Request failed with status code "+s.status,s.status>=400&&s.status<500?Y.ERR_BAD_REQUEST:Y.ERR_BAD_RESPONSE,s.config,s.request,s))}function l1(r){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(r);return t&&t[1]||""}function u1(r,t){r=r||10;const s=new Array(r),o=new Array(r);let l=0,u=0,d;return t=t!==void 0?t:1e3,function(p){const m=Date.now(),g=o[u];d||(d=m),s[l]=p,o[l]=m;let v=u,_=0;for(;v!==l;)_+=s[v++],v=v%r;if(l=(l+1)%r,l===u&&(u=(u+1)%r),m-d<t)return;const T=g&&m-g;return T?Math.round(_*1e3/T):void 0}}function c1(r,t){let s=0,o=1e3/t,l,u;const d=(m,g=Date.now())=>{s=g,l=null,u&&(clearTimeout(u),u=null),r(...m)};return[(...m)=>{const g=Date.now(),v=g-s;v>=o?d(m,g):(l=m,u||(u=setTimeout(()=>{u=null,d(l)},o-v)))},()=>l&&d(l)]}const Fa=(r,t,s=3)=>{let o=0;const l=u1(50,250);return c1(u=>{if(!u||typeof u.loaded!="number")return;const d=u.loaded,f=u.lengthComputable?u.total:void 0,p=f!=null?Math.min(d,f):d,m=Math.max(0,p-o),g=l(m);o=Math.max(o,p);const v={loaded:p,total:f,progress:f?p/f:void 0,bytes:m,rate:g||void 0,estimated:g&&f?(f-p)/g:void 0,event:u,lengthComputable:f!=null,[t?"download":"upload"]:!0};r(v)},s)},Yp=(r,t)=>{const s=r!=null;return[o=>t[0]({lengthComputable:s,total:r,loaded:o}),t[1]]},Jp=r=>(...t)=>O.asap(()=>r(...t)),d1=dt.hasStandardBrowserEnv?((r,t)=>s=>(s=new URL(s,dt.origin),r.protocol===s.protocol&&r.host===s.host&&(t||r.port===s.port)))(new URL(dt.origin),dt.navigator&&/(msie|trident)/i.test(dt.navigator.userAgent)):()=>!0,f1=dt.hasStandardBrowserEnv?{write(r,t,s,o,l,u,d){if(typeof document>"u")return;const f=[`${r}=${encodeURIComponent(t)}`];O.isNumber(s)&&f.push(`expires=${new Date(s).toUTCString()}`),O.isString(o)&&f.push(`path=${o}`),O.isString(l)&&f.push(`domain=${l}`),u===!0&&f.push("secure"),O.isString(d)&&f.push(`SameSite=${d}`),document.cookie=f.join("; ")},read(r){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let s=0;s<t.length;s++){const o=t[s].replace(/^\s+/,""),l=o.indexOf("=");if(l!==-1&&o.slice(0,l)===r)try{return decodeURIComponent(o.slice(l+1))}catch{return o.slice(l+1)}}return null},remove(r){this.write(r,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function h1(r){return typeof r!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r)}function p1(r,t){return t?r.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):r}const m1=/^https?:(?!\/\/)/i,y1=/[\t\n\r]/g;function g1(r){let t=0;for(;t<r.length&&r.charCodeAt(t)<=32;)t++;return r.slice(t)}function v1(r){return g1(r).replace(y1,"")}function Zp(r,t){if(typeof r=="string"&&m1.test(v1(r)))throw new Y('Invalid URL: missing "//" after protocol',Y.ERR_INVALID_URL,t)}function Cg(r,t,s,o){Zp(t,o);let l=!h1(t);return r&&(l||s===!1)?(Zp(r,o),p1(r,t)):t}const em=r=>r instanceof vt?{...r}:r;function Zr(r,t){r=r||{},t=t||{};const s=Object.create(null);Object.defineProperty(s,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function o(g,v,_,T){return O.isPlainObject(g)&&O.isPlainObject(v)?O.merge.call({caseless:T},g,v):O.isPlainObject(v)?O.merge({},v):O.isArray(v)?v.slice():v}function l(g,v,_,T){if(O.isUndefined(v)){if(!O.isUndefined(g))return o(void 0,g,_,T)}else return o(g,v,_,T)}function u(g,v){if(!O.isUndefined(v))return o(void 0,v)}function d(g,v){if(O.isUndefined(v)){if(!O.isUndefined(g))return o(void 0,g)}else return o(void 0,v)}function f(g){const v=O.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!O.isUndefined(v))if(O.isPlainObject(v)){if(O.hasOwnProp(v,g))return v[g]}else return;const _=O.hasOwnProp(r,"transitional")?r.transitional:void 0;if(O.isPlainObject(_)&&O.hasOwnProp(_,g))return _[g]}function p(g,v,_){if(O.hasOwnProp(t,_))return o(g,v);if(O.hasOwnProp(r,_))return o(void 0,g)}const m={url:u,method:u,data:u,baseURL:d,transformRequest:d,transformResponse:d,paramsSerializer:d,timeout:d,timeoutMessage:d,withCredentials:d,withXSRFToken:d,adapter:d,responseType:d,xsrfCookieName:d,xsrfHeaderName:d,onUploadProgress:d,onDownloadProgress:d,decompress:d,maxContentLength:d,maxBodyLength:d,beforeRedirect:d,transport:d,httpAgent:d,httpsAgent:d,cancelToken:d,socketPath:d,allowedSocketPaths:d,responseEncoding:d,validateStatus:p,headers:(g,v,_)=>l(em(g),em(v),_,!0)};return O.forEach(Object.keys({...r,...t}),function(v){if(v==="__proto__"||v==="constructor"||v==="prototype")return;const _=O.hasOwnProp(m,v)?m[v]:l,T=O.hasOwnProp(r,v)?r[v]:void 0,D=O.hasOwnProp(t,v)?t[v]:void 0,S=_(T,D,v);O.isUndefined(S)&&_!==p||(s[v]=S)}),O.hasOwnProp(t,"validateStatus")&&O.isUndefined(t.validateStatus)&&f("validateStatusUndefinedResolves")===!1&&(O.hasOwnProp(r,"validateStatus")?s.validateStatus=o(void 0,r.validateStatus):delete s.validateStatus),s}const w1=["content-type","content-length"];function x1(r,t,s){if(s!=="content-only"){r.set(t);return}Object.entries(t||{}).forEach(([o,l])=>{w1.includes(o.toLowerCase())&&r.set(o,l)})}const E1=r=>encodeURIComponent(r).replace(/%([0-9A-F]{2})/gi,(t,s)=>String.fromCharCode(parseInt(s,16)));function kg(r){const t=Zr({},r),s=_=>O.hasOwnProp(t,_)?t[_]:void 0,o=s("data");let l=s("withXSRFToken");const u=s("xsrfHeaderName"),d=s("xsrfCookieName");let f=s("headers");const p=s("auth"),m=s("baseURL"),g=s("allowAbsoluteUrls"),v=s("url");if(t.headers=f=vt.from(f),t.url=xg(Cg(m,v,g,t),s("params"),s("paramsSerializer")),p){const _=O.getSafeProp(p,"username")||"",T=O.getSafeProp(p,"password")||"";try{f.set("Authorization","Basic "+btoa(_+":"+(T?E1(T):"")))}catch(D){throw Y.from(D,Y.ERR_BAD_OPTION_VALUE,r)}}if(O.isFormData(o)&&(dt.hasStandardBrowserEnv||dt.hasStandardBrowserWebWorkerEnv||O.isReactNative(o)?f.setContentType(void 0):O.isFunction(o.getHeaders)&&x1(f,o.getHeaders(),s("formDataHeaderPolicy"))),dt.hasStandardBrowserEnv&&(O.isFunction(l)&&(l=l(t)),l===!0||l==null&&d1(t.url))){const T=u&&d&&f1.read(d);T&&f.set(u,T)}return t}const _1=typeof XMLHttpRequest<"u",S1=_1&&function(r){return new Promise(function(s,o){const l=kg(r);let u=l.data;const d=vt.from(l.headers).normalize();let{responseType:f,onUploadProgress:p,onDownloadProgress:m}=l,g,v,_,T,D;function S(){T&&T(),D&&D(),l.cancelToken&&l.cancelToken.unsubscribe(g),l.signal&&l.signal.removeEventListener("abort",g)}let w=new XMLHttpRequest;w.open(l.method.toUpperCase(),l.url,!0),w.timeout=l.timeout;function E(){if(!w)return;const L=vt.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),U={data:!f||f==="text"||f==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:L,config:r,request:w};bg(function(G){s(G),S()},function(G){o(G),S()},U),w=null}"onloadend"in w?w.onloadend=E:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.startsWith("file:"))||setTimeout(E)},w.onabort=function(){w&&(o(new Y("Request aborted",Y.ECONNABORTED,r,w)),S(),w=null)},w.onerror=function(N){const U=N&&N.message?N.message:"Network Error",q=new Y(U,Y.ERR_NETWORK,r,w);q.event=N||null,o(q),S(),w=null},w.ontimeout=function(){let N=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded";const U=l.transitional||nd;l.timeoutErrorMessage&&(N=l.timeoutErrorMessage),o(new Y(N,U.clarifyTimeoutError?Y.ETIMEDOUT:Y.ECONNABORTED,r,w)),S(),w=null},u===void 0&&d.setContentType(null),"setRequestHeader"in w&&O.forEach(mg(d),function(N,U){w.setRequestHeader(U,N)}),O.isUndefined(l.withCredentials)||(w.withCredentials=!!l.withCredentials),f&&f!=="json"&&(w.responseType=l.responseType),m&&([_,D]=Fa(m,!0),w.addEventListener("progress",_)),p&&w.upload&&([v,T]=Fa(p),w.upload.addEventListener("progress",v),w.upload.addEventListener("loadend",T)),(l.cancelToken||l.signal)&&(g=L=>{w&&(o(!L||L.type?new ti(null,r,w):L),w.abort(),S(),w=null)},l.cancelToken&&l.cancelToken.subscribe(g),l.signal&&(l.signal.aborted?g():l.signal.addEventListener("abort",g)));const I=l1(l.url);if(I&&!dt.protocols.includes(I)){o(new Y("Unsupported protocol "+I+":",Y.ERR_BAD_REQUEST,r)),S();return}w.send(u||null)})},b1=(r,t)=>{if(r=r?r.filter(Boolean):[],!t&&!r.length)return;const s=new AbortController;let o=!1;const l=function(p){if(!o){o=!0,d();const m=p instanceof Error?p:this.reason;s.abort(m instanceof Y?m:new ti(m instanceof Error?m.message:m))}};let u=t&&setTimeout(()=>{u=null,l(new Y(`timeout of ${t}ms exceeded`,Y.ETIMEDOUT))},t);const d=()=>{r&&(u&&clearTimeout(u),u=null,r.forEach(p=>{p.unsubscribe?p.unsubscribe(l):p.removeEventListener("abort",l)}),r=null)};r.forEach(p=>p.addEventListener("abort",l,{once:!0}));const{signal:f}=s;return f.unsubscribe=()=>O.asap(d),f},C1=function*(r,t){let s=r.byteLength;if(s<t){yield r;return}let o=0,l;for(;o<s;)l=o+t,yield r.slice(o,l),o=l},k1=async function*(r,t){for await(const s of R1(r))yield*C1(s,t)},R1=async function*(r){if(r[Symbol.asyncIterator]){yield*r;return}const t=r.getReader();try{for(;;){const{done:s,value:o}=await t.read();if(s)break;yield o}}finally{await t.cancel()}},tm=(r,t,s,o)=>{const l=k1(r,t);let u=0,d,f=p=>{d||(d=!0,o&&o(p))};return new ReadableStream({async pull(p){try{const{done:m,value:g}=await l.next();if(m){f(),p.close();return}let v=g.byteLength;if(s){let _=u+=v;s(_)}p.enqueue(new Uint8Array(g))}catch(m){throw f(m),m}},cancel(p){return f(p),l.return()}},{highWaterMark:2})},Da=r=>r>=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102,T1=(r,t,s)=>t+2<s&&Da(r.charCodeAt(t+1))&&Da(r.charCodeAt(t+2));function P1(r){if(!r||typeof r!="string"||!r.startsWith("data:"))return 0;const t=r.indexOf(",");if(t<0)return 0;const s=r.slice(5,t),o=r.slice(t+1);if(/;base64/i.test(s)){let d=o.length;const f=o.length;for(let T=0;T<f;T++)if(o.charCodeAt(T)===37&&T+2<f){const D=o.charCodeAt(T+1),S=o.charCodeAt(T+2);Da(D)&&Da(S)&&(d-=2,T+=2)}let p=0,m=f-1;const g=T=>T>=2&&o.charCodeAt(T-2)===37&&o.charCodeAt(T-1)===51&&(o.charCodeAt(T)===68||o.charCodeAt(T)===100);m>=0&&(o.charCodeAt(m)===61?(p++,m--):g(m)&&(p++,m-=3)),p===1&&m>=0&&(o.charCodeAt(m)===61||g(m))&&p++;const _=Math.floor(d/4)*3-(p||0);return _>0?_:0}let u=0;for(let d=0,f=o.length;d<f;d++){const p=o.charCodeAt(d);if(p===37&&T1(o,d,f))u+=1,d+=2;else if(p<128)u+=1;else if(p<2048)u+=2;else if(p>=55296&&p<=56319&&d+1<f){const m=o.charCodeAt(d+1);m>=56320&&m<=57343?(u+=4,d++):u+=3}else u+=3}return u}const sd="1.18.1",nm=64*1024,{isFunction:ga}=O,A1=r=>encodeURIComponent(r).replace(/%([0-9A-F]{2})/gi,(t,s)=>String.fromCharCode(parseInt(s,16))),rm=r=>{if(!O.isString(r))return r;try{return decodeURIComponent(r)}catch{return r}},sm=(r,...t)=>{try{return!!r(...t)}catch{return!1}},O1=r=>{const t=r.indexOf("://");let s=r;return t!==-1&&(s=s.slice(t+3)),s.includes("@")||s.includes(":")},N1=r=>{const t=O.global!==void 0&&O.global!==null?O.global:globalThis,{ReadableStream:s,TextEncoder:o}=t;r=O.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},r);const{fetch:l,Request:u,Response:d}=r,f=l?ga(l):typeof fetch=="function",p=ga(u),m=ga(d);if(!f)return!1;const g=f&&ga(s),v=f&&(typeof o=="function"?(E=>I=>E.encode(I))(new o):async E=>new Uint8Array(await new u(E).arrayBuffer())),_=p&&g&&sm(()=>{let E=!1;const I=new u(dt.origin,{body:new s,method:"POST",get duplex(){return E=!0,"half"}}),L=I.headers.has("Content-Type");return I.body!=null&&I.body.cancel(),E&&!L}),T=m&&g&&sm(()=>O.isReadableStream(new d("").body)),D={stream:T&&(E=>E.body)};f&&["text","arrayBuffer","blob","formData","stream"].forEach(E=>{!D[E]&&(D[E]=(I,L)=>{let N=I&&I[E];if(N)return N.call(I);throw new Y(`Response type '${E}' is not supported`,Y.ERR_NOT_SUPPORT,L)})});const S=async E=>{if(E==null)return 0;if(O.isBlob(E))return E.size;if(O.isSpecCompliantForm(E))return(await new u(dt.origin,{method:"POST",body:E}).arrayBuffer()).byteLength;if(O.isArrayBufferView(E)||O.isArrayBuffer(E))return E.byteLength;if(O.isURLSearchParams(E)&&(E=E+""),O.isString(E))return(await v(E)).byteLength},w=async(E,I)=>{const L=O.toFiniteNumber(E.getContentLength());return L??S(I)};return async E=>{let{url:I,method:L,data:N,signal:U,cancelToken:q,timeout:G,onDownloadProgress:z,onUploadProgress:ae,responseType:ye,headers:_e,withCredentials:Ce="same-origin",fetchOptions:Oe,maxContentLength:Z,maxBodyLength:Se}=kg(E);const ue=O.isNumber(Z)&&Z>-1,we=O.isNumber(Se)&&Se>-1,K=X=>O.hasOwnProp(E,X)?E[X]:void 0;let ne=l||fetch;ye=ye?(ye+"").toLowerCase():"text";let B=b1([U,q&&q.toAbortSignal()],G),A=null;const $=B&&B.unsubscribe&&(()=>{B.unsubscribe()});let ce,me=null;const he=()=>new Y("Request body larger than maxBodyLength limit",Y.ERR_BAD_REQUEST,E,A);try{let X;const xe=K("auth");if(xe){const Ee=O.getSafeProp(xe,"username")||"",it=O.getSafeProp(xe,"password")||"";X={username:Ee,password:it}}if(O1(I)){const Ee=new URL(I,dt.origin);if(!X&&(Ee.username||Ee.password)){const it=rm(Ee.username),Xt=rm(Ee.password);X={username:it,password:Xt}}(Ee.username||Ee.password)&&(Ee.username="",Ee.password="",I=Ee.href)}if(X&&(_e.delete("authorization"),_e.set("Authorization","Basic "+btoa(A1((X.username||"")+":"+(X.password||""))))),ue&&typeof I=="string"&&I.startsWith("data:")&&P1(I)>Z)throw new Y("maxContentLength size of "+Z+" exceeded",Y.ERR_BAD_RESPONSE,E,A);if(we&&L!=="get"&&L!=="head"){const Ee=await S(N);if(typeof Ee=="number"&&isFinite(Ee)&&(ce=Ee,Ee>Se))throw he()}const Re=we&&(O.isReadableStream(N)||O.isStream(N)),ve=(Ee,it,Xt)=>tm(Ee,nm,Yt=>{if(we&&Yt>Se)throw me=he();it&&it(Yt)},Xt);if(_&&L!=="get"&&L!=="head"&&(ae||Re)){if(ce=ce??await w(_e,N),ce!==0||Re){let Ee=new u(I,{method:"POST",body:N,duplex:"half"}),it;if(O.isFormData(N)&&(it=Ee.headers.get("content-type"))&&_e.setContentType(it),Ee.body){const[Xt,Yt]=ae&&Yp(ce,Fa(Jp(ae)))||[];N=ve(Ee.body,Xt,Yt)}}}else if(Re&&!p&&g&&L!=="get"&&L!=="head")N=ve(N);else if(Re&&p&&!_&&L!=="get"&&L!=="head")throw new Y("Stream request bodies are not supported by the current fetch implementation",Y.ERR_NOT_SUPPORT,E,A);O.isString(Ce)||(Ce=Ce?"include":"omit");const et=p&&"credentials"in u.prototype;if(O.isFormData(N)){const Ee=_e.getContentType();Ee&&/^multipart\/form-data/i.test(Ee)&&!/boundary=/i.test(Ee)&&_e.delete("content-type")}_e.set("User-Agent","axios/"+sd,!1);const jt={...Oe,signal:B,method:L.toUpperCase(),headers:mg(_e.normalize()),body:N,duplex:"half",credentials:et?Ce:void 0};A=p&&new u(I,jt);let ot=await(p?ne(A,Oe):ne(I,jt));const Gt=vt.from(ot.headers);if(ue){const Ee=O.toFiniteNumber(Gt.getContentLength());if(Ee!=null&&Ee>Z)throw new Y("maxContentLength size of "+Z+" exceeded",Y.ERR_BAD_RESPONSE,E,A)}const Mt=T&&(ye==="stream"||ye==="response");if(T&&ot.body&&(z||ue||Mt&&$)){const Ee={};["status","statusText","headers"].forEach(En=>{Ee[En]=ot[En]});const it=O.toFiniteNumber(Gt.getContentLength()),[Xt,Yt]=z&&Yp(it,Fa(Jp(z),!0))||[];let jn=0;const Mn=En=>{if(ue&&(jn=En,jn>Z))throw new Y("maxContentLength size of "+Z+" exceeded",Y.ERR_BAD_RESPONSE,E,A);Xt&&Xt(En)};ot=new d(tm(ot.body,nm,Mn,()=>{Yt&&Yt(),$&&$()}),Ee)}ye=ye||"text";let Ut=await D[O.findKey(D,ye)||"text"](ot,E);if(ue&&!T&&!Mt){let Ee;if(Ut!=null&&(typeof Ut.byteLength=="number"?Ee=Ut.byteLength:typeof Ut.size=="number"?Ee=Ut.size:typeof Ut=="string"&&(Ee=typeof o=="function"?new o().encode(Ut).byteLength:Ut.length)),typeof Ee=="number"&&Ee>Z)throw new Y("maxContentLength size of "+Z+" exceeded",Y.ERR_BAD_RESPONSE,E,A)}return!Mt&&$&&$(),await new Promise((Ee,it)=>{bg(Ee,it,{data:Ut,headers:vt.from(ot.headers),status:ot.status,statusText:ot.statusText,config:E,request:A})})}catch(X){if($&&$(),B&&B.aborted&&B.reason instanceof Y){const xe=B.reason;throw xe.config=E,A&&(xe.request=A),X!==xe&&Object.defineProperty(xe,"cause",{__proto__:null,value:X,writable:!0,enumerable:!1,configurable:!0}),xe}if(me)throw A&&!me.request&&(me.request=A),me;if(X instanceof Y)throw A&&!X.request&&(X.request=A),X;if(X&&X.name==="TypeError"&&/Load failed|fetch/i.test(X.message)){const xe=new Y("Network Error",Y.ERR_NETWORK,E,A,X&&X.response);throw Object.defineProperty(xe,"cause",{__proto__:null,value:X.cause||X,writable:!0,enumerable:!1,configurable:!0}),xe}throw Y.from(X,X&&X.code,E,A,X&&X.response)}}},L1=new Map,Rg=r=>{let t=r&&r.env||{};const{fetch:s,Request:o,Response:l}=t,u=[o,l,s];let d=u.length,f=d,p,m,g=L1;for(;f--;)p=u[f],m=g.get(p),m===void 0&&g.set(p,m=f?new Map:N1(t)),g=m;return m};Rg();const od={http:WS,xhr:S1,fetch:{get:Rg}};O.forEach(od,(r,t)=>{if(r){try{Object.defineProperty(r,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(r,"adapterName",{__proto__:null,value:t})}});const om=r=>`- ${r}`,I1=r=>O.isFunction(r)||r===null||r===!1;function F1(r,t){r=O.isArray(r)?r:[r];const{length:s}=r;let o,l;const u={};for(let d=0;d<s;d++){o=r[d];let f;if(l=o,!I1(o)&&(l=od[(f=String(o)).toLowerCase()],l===void 0))throw new Y(`Unknown adapter '${f}'`);if(l&&(O.isFunction(l)||(l=l.get(t))))break;u[f||"#"+d]=l}if(!l){const d=Object.entries(u).map(([p,m])=>`adapter ${p} `+(m===!1?"is not supported by the environment":"is not available in the build"));let f=s?d.length>1?`since :
105`+d.map(om).join(`
106`):" "+om(d[0]):"as no adapter specified";throw new Y("There is no suitable adapter to dispatch the request "+f,Y.ERR_NOT_SUPPORT)}return l}const Tg={getAdapter:F1,adapters:od};function Gu(r){if(r.cancelToken&&r.cancelToken.throwIfRequested(),r.signal&&r.signal.aborted)throw new ti(null,r)}function im(r){return Gu(r),r.headers=vt.from(r.headers),r.data=Ku.call(r,r.transformRequest),["post","put","patch"].indexOf(r.method)!==-1&&r.headers.setContentType("application/x-www-form-urlencoded",!1),Tg.getAdapter(r.adapter||ei.adapter,r)(r).then(function(o){Gu(r),r.response=o;try{o.data=Ku.call(r,r.transformResponse,o)}finally{delete r.response}return o.headers=vt.from(o.headers),o},function(o){if(!Sg(o)&&(Gu(r),o&&o.response)){r.response=o.response;try{o.response.data=Ku.call(r,r.transformResponse,o.response)}finally{delete r.response}o.response.headers=vt.from(o.response.headers)}return Promise.reject(o)})}const Va={};["object","boolean","number","function","string","symbol"].forEach((r,t)=>{Va[r]=function(o){return typeof o===r||"a"+(t<1?"n ":" ")+r}});const am={};Va.transitional=function(t,s,o){function l(u,d){return"[Axios v"+sd+"] Transitional option '"+u+"'"+d+(o?". "+o:"")}return(u,d,f)=>{if(t===!1)throw new Y(l(d," has been removed"+(s?" in "+s:"")),Y.ERR_DEPRECATED);return s&&!am[d]&&(am[d]=!0,console.warn(l(d," has been deprecated since v"+s+" and will be removed in the near future"))),t?t(u,d,f):!0}};Va.spelling=function(t){return(s,o)=>(console.warn(`${o} is likely a misspelling of ${t}`),!0)};function D1(r,t,s){if(typeof r!="object"||r===null)throw new Y("options must be an object",Y.ERR_BAD_OPTION_VALUE);const o=Object.keys(r);let l=o.length;for(;l-- >0;){const u=o[l],d=Object.prototype.hasOwnProperty.call(t,u)?t[u]:void 0;if(d){const f=r[u],p=f===void 0||d(f,u,r);
vendor: 4,370 bytes, lines 106-110
106if(p!==!0)throw new Y("option "+u+" must be "+p,Y.ERR_BAD_OPTION_VALUE);continue}if(s!==!0)throw new Y("Unknown option "+u,Y.ERR_BAD_OPTION)}}const Ca={assertOptions:D1,validators:Va},yt=Ca.validators;let Kr=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Gp,response:new Gp}}async request(t,s){try{return await this._request(t,s)}catch(o){if(o instanceof Error){let l={};Error.captureStackTrace?Error.captureStackTrace(l):l=new Error;const u=(()=>{if(!l.stack)return"";const d=l.stack.indexOf(`
107`);return d===-1?"":l.stack.slice(d+1)})();try{if(!o.stack)o.stack=u;else if(u){const d=u.indexOf(`
108`),f=d===-1?-1:u.indexOf(`
109`,d+1),p=f===-1?"":u.slice(f+1);String(o.stack).endsWith(p)||(o.stack+=`
110`+u)}}catch{}}throw o}}_request(t,s){typeof t=="string"?(s=s||{},s.url=t):s=t||{},s=Zr(this.defaults,s);const{transitional:o,paramsSerializer:l,headers:u}=s;o!==void 0&&Ca.assertOptions(o,{silentJSONParsing:yt.transitional(yt.boolean),forcedJSONParsing:yt.transitional(yt.boolean),clarifyTimeoutError:yt.transitional(yt.boolean),legacyInterceptorReqResOrdering:yt.transitional(yt.boolean),advertiseZstdAcceptEncoding:yt.transitional(yt.boolean),validateStatusUndefinedResolves:yt.transitional(yt.boolean)},!1),l!=null&&(O.isFunction(l)?s.paramsSerializer={serialize:l}:Ca.assertOptions(l,{encode:yt.function,serialize:yt.function},!0)),s.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?s.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:s.allowAbsoluteUrls=!0),Ca.assertOptions(s,{baseUrl:yt.spelling("baseURL"),withXsrfToken:yt.spelling("withXSRFToken")},!0),s.method=(s.method||this.defaults.method||"get").toLowerCase();let d=u&&O.merge(u.common,u[s.method]);u&&O.forEach(["delete","get","head","post","put","patch","query","common"],D=>{delete u[D]}),s.headers=vt.concat(d,u);const f=[];let p=!0;this.interceptors.request.forEach(function(S){if(typeof S.runWhen=="function"&&S.runWhen(s)===!1)return;p=p&&S.synchronous;const w=s.transitional||nd;w&&w.legacyInterceptorReqResOrdering?f.unshift(S.fulfilled,S.rejected):f.push(S.fulfilled,S.rejected)});const m=[];this.interceptors.response.forEach(function(S){m.push(S.fulfilled,S.rejected)});let g,v=0,_;if(!p){const D=[im.bind(this),void 0];for(D.unshift(...f),D.push(...m),_=D.length,g=Promise.resolve(s);v<_;)g=g.then(D[v++],D[v++]);return g}_=f.length;let T=s;for(;v<_;){const D=f[v++],S=f[v++];try{T=D(T)}catch(w){S.call(this,w);break}}try{g=im.call(this,T)}catch(D){return Promise.reject(D)}for(v=0,_=m.length;v<_;)g=g.then(m[v++],m[v++]);return g}getUri(t){t=Zr(this.defaults,t);const s=Cg(t.baseURL,t.url,t.allowAbsoluteUrls,t);return xg(s,t.params,t.paramsSerializer)}};O.forEach(["delete","get","head","options"],function(t){Kr.prototype[t]=function(s,o){return this.request(Zr(o||{},{method:t,url:s,data:o&&O.hasOwnProp(o,"data")?o.data:void 0}))}});O.forEach(["post","put","patch","query"],function(t){function s(o){return function(u,d,f){return this.request(Zr(f||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:u,data:d}))}}Kr.prototype[t]=s(),t!=="query"&&(Kr.prototype[t+"Form"]=s(!0))});let j1=class Pg{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let s;this.promise=new Promise(function(u){s=u});const o=this;this.promise.then(l=>{if(!o._listeners)return;let u=o._listeners.length;for(;u-- >0;)o._listeners[u](l);o._listeners=null}),this.promise.then=l=>{let u;const d=new Promise(f=>{o.subscribe(f),u=f}).then(l);return d.cancel=function(){o.unsubscribe(u)},d},t(function(u,d,f){o.reason||(o.reason=new ti(u,d,f),s(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const s=this._listeners.indexOf(t);s!==-1&&this._listeners.splice(s,1)}toAbortSignal(){const t=new AbortController,s=o=>{t.abort(o)};return this.subscribe(s),t.signal.unsubscribe=()=>this.unsubscribe(s),t.signal}static source(){let t;return{token:new Pg(function(l){t=l}),cancel:t}}};function M1(r){return function(s){return r.apply(null,s)}}function U1(r){return O.isObject(r)&&r.isAxiosError===!0}const Rc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,Re
110setContent: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(Rc).forEach(([r,t])=>{Rc[t]=r});function Ag(r){const t=new Kr(r),s=ig(Kr.prototype.request,t);return O.extend(s,Kr.prototype,t,{allOwnKeys:!0}),O.extend(s,t,null,{allOwnKeys:!0}),s.create=function(l){return Ag(Zr(r,l))},s}const Ke=Ag(ei);Ke.Axios=Kr;Ke.CanceledError=ti;Ke.CancelToken=j1;Ke.isCancel=Sg;Ke.VERSION=sd;Ke.toFormData=$a;Ke.AxiosError=Y;Ke.Cancel=Ke.CanceledError;Ke.all=function(t){return Promise.all(t)};Ke.spread=M1;Ke.isAxiosError=U1;Ke.mergeConfig=Zr;Ke.AxiosHeaders=vt;Ke.formToJSON=r=>_g(O.isHTMLForm(r)?new FormData(r):r);Ke.getAdapter=Tg.getAdapter;Ke.HttpStatusCode=Rc;Ke.default=Ke;const{Axios:vk,AxiosError:wk,CanceledError:xk,isCancel:Ek,CancelToken:_k,VERSION:Sk,all:bk,Cancel:Ck,isAxiosError:kk,spread:Rk,toFormData:Tk,AxiosHeaders:Pk,HttpStatusCode:Ak,formToJSON:Ok,getAdapter:Nk,mergeConfig:Lk,create:Ik}=Ke,Og=typeof window>"u",lm=!Og&&window.self!==window.top,B1=!Og&&typeof document>"u",Ng=()=>Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),ut=[];for(let r=0;r<256;++r)ut.push((r+256).toString(16).slice(1));function z1(r,t=0){return(ut[r[t+0]]+ut[r[t+1]]+ut[r[t+2]]+ut[r[t+3]]+"-"+ut[r[t+4]]+ut[r[t+5]]+"-"+ut[r[t+6]]+ut[r[t+7]]+"-"+ut[r[t+8]]+ut[r[t+9]]+"-"+ut[r[t+10]]+ut[r[t+11]]+ut[r[t+12]]+ut[r[t+13]]+ut[r[t+14]]+ut[r[t+15]]).toLowerCase()}let Xu;const $1=new Uint8Array(16);function V1(){if(!Xu){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Xu=crypto.getRandomValues.bind(crypto)}return Xu($1)}const q1=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),um={randomUUID:q1};function H1(r,t,s){var l;r=r||{};const o=r.random??((l=r.rng)==null?void 0:l.call(r))??V1();if(o.length<16)throw new Error("Random bytes length must be >= 16");return o[6]=o[6]&15|64,o[8]=o[8]&63|128,z1(o)}function W1(r,t,s){return um.randomUUID&&!r?um.randomUUID():H1(r)}const Lo=typeof window<"u"?window:{base44SharedInstances:{}};function Q1(r,t){return Lo.base44SharedInstances||(Lo.base44SharedInstances={}),Lo.base44SharedInstances[r]||(Lo.base44SharedInstances[r]={instance:t()}),Lo.base44SharedInstances[r].instance}const K1="__user_heartbeat_event__",G1="__initialization_event__",X1="__session_duration_event__",cm="analytics-enable",dm="base44_analytics_session_id",Y1={enabled:!0,maxQueueSize:1e3,throttleTime:1e3,batchSize:30,heartBeatInterval:60*1e3},J1="analytics",Ie=Q1(J1,()=>({requestsQueue:[],isProcessing:!1,isHeartBeatProcessing:!1,wasInitializationTracked:!1,sessionContext:null,sessionStartTime:null,fallbackSessionId:null,config:{...Y1,...ib()}})),Z1=({axiosClient:r,serverUrl:t,appId:s,userAuthModule:o,enabled:l})=>{var u;const{maxQueueSize:d,throttleTime:f,batchSize:p}=Ie.config;if(!l||!(!((u=Ie.config)===null||u===void 0)&&u.enabled)||B1)return{track:()=>{},cleanup:()=>{}};let m;const g=`${t}/api/apps/${s}/analytics/track/batch`,v=async N=>{await r.request({method:"POST",url:`/apps/${s}/analytics/track/batch`,data:{events:N}})},_=N=>{try{const U=JSON.stringify({events:N}),q=new Blob([U],{type:"application/json"});return typeof navigator>"u"||U.length>6e4||!navigator.sendBeacon(g,q)}catch{return!1}},T=async(N,U={})=>
110{if(N.length===0)return;const q=await ob(o),G=N.map(sb(q));try{(!U.isBeacon||!_(G))&&await v(G)}catch{}},D=()=>{hm(T,{throttleTime:f,batchSize:p})},S=N=>{if(Ie.requestsQueue.length>=d)return;const U=rb();Ie.requestsQueue.push({...N,...U}),D()},w=()=>{hm(T,{throttleTime:f,batchSize:p}),m=pm(S),tb()},E=()=>{fm(),m==null||m(),nb(S);const N=Ie.requestsQueue.splice(0);T(N,{isBeacon:!0})},I=()=>{typeof window>"u"||(document.visibilityState==="hidden"?E():document.visibilityState==="visible"&&w())},L=()=>{fm(),m==null||m(),typeof window<"u"&&window.removeEventListener("visibilitychange",I)};return D(),m=pm(S),eb(S),typeof window<"u"&&window.addEventListener("visibilitychange",I),{track:S,cleanup:L}};function fm(){Ie.isProcessing=!1}async function hm(r,t){if(Ie.isProcessing)return;Ie.isProcessing=!0;const{throttleTime:s=1e3,batchSize:o=30}=t??{};for(;Ie.isProcessing&&Ie.requestsQueue.length>0;){const l=Ie.requestsQueue.splice(0,o);l.length&&await r(l),await new Promise(u=>setTimeout(u,s))}Ie.isProcessing=!1}function pm(r){var t;if(typeof window>"u"||Ie.isHeartBeatProcessing||((t=Ie.config.heartBeatInterval)!==null&&t!==void 0?t:0)<10)return()=>{};Ie.isHeartBeatProcessing=!0;const s=setInterval(()=>{r({eventName:K1})},Ie.config.heartBeatInterval);return()=>{clearInterval(s),Ie.isHeartBeatProcessing=!1}}function eb(r){typeof window>"u"||Ie.wasInitializationTracked||(Ie.wasInitializationTracked=!0,r({eventName:G1,properties:{referrer:document==null?void 0:document.referrer}}))}function tb(){typeof window>"u"||Ie.sessionStartTime!==null||(Ie.sessionStartTime=new Date().toISOString())}function nb(r){if(typeof window>"u"||Ie.sessionStartTime===null)return;const t=new Date().getTime()-new Date(Ie.sessionStartTime).getTime();Ie.sessionStartTime=null,r({eventName:X1,properties:{sessionDuration:t}})}function rb(){var r,t;return{timestamp:new Date().toISOString(),pageUrl:typeof window<"u"&&(t=(r=window.location)===null||r===void 0?void 0:r.pathname)!==null&&t!==void 0?t:null}}function sb(r){return t=>({event_name:t.eventName,properties:t.properties,timestamp:t.timestamp,page_url:t.pageUrl,...r})}let jo=null;function mm(){Ie.sessionContext=null,jo=null}async function ob(r){if(!Ie.sessionContext){if(!r.hasToken())return{user_id:null,session_id:ja()};if(!jo){const o=ja();jo=r.me().then(l=>({user_id:l.id,session_id:o})).catch(()=>({user_id:null,session_id:o}))}const t=jo,s=await t;return jo===t&&(Ie.sessionContext=s),s}return Ie.sessionContext}function ib(){if(typeof window>"u"||!window.location)return;const t=new URLSearchParams(window.location.search).get(cm);if(t==null||!t.length)return;const s=new URLSearchParams(window.location.search);s.delete(cm);const o=window.location.pathname+(s.toString()?"?"+s.toString():"");return window.history.replaceState({},"",o),{enabled:t==="true"}}function ym(){var r;return(r=Ie.fallbackSessionId)!==null&&r!==void 0?r:Ie.fallbackSessionId=Ng()}function ja(){if(typeof window>"u")return ym();try{const r=localStorage.getItem(dm);if(!r){const t=Ng();return localStorage.setItem(dm,t),t}return r}catch{return ym()}}class ab extends Error{constructor(t,s,o,l,u){super(t),this.name="Base44Error",this.status=s,this.code=o,this.data=l,this.originalError=u}toJSON(){return{name:this.name,message:this.message,status:this.status,code:this.code,data:this.data}}}function Io({baseURL:r,headers:t={},token:s,interceptResponses:o=!0,onError:l}){const u=Ke.create({baseURL:r,headers:{"Content-Type":"application/json",Accept:"application/json",...t}});return s&&(u.defaults.headers.common.Authorization=`Bearer ${s}`),u.interceptors.request.use(d=>{typeof window<"u"&&(window.location&&d.headers.set("X-Origin-URL",window.location.href),d.headers.get("Authorization")||d.headers.set("X-Base44-Anonymous-Id",ja()));const f=W1();if(d.requestId=f,lm)try{window.parent.postMessage({type:"api-request-start",requestId:f,data:{url:r+d.url,method:d.method,body:d.data instanceof FormData?"[FormData object]":d.data}},"*")}catch{}return d}),o&&u.interceptors.response.use(d=>{var f;const p=(f=d.config)===null||f===void 0?void 0:f.requestId;try{lm&&p&&window.parent.postMessage({type:"api-request-end",requestId:p,data:{statusCode:d.status,response:d.data}},"*")}catch{}return d.data},d=>{var f,p,m,g,v,_,T,D,S,w,E,I,L,N,U;const q=((p=(f=d.response)===null||f===void 0?void 0:f.data)===null||p===void 0?void 0:p.message)||((g=(m=d.response)===null||m===void 0?void 0:m.data)===null||g===void 0?void 0:g.detail)||d.message,G=new ab(q,(v=d.response)===null||v===void 0?void 0:v.status,(I=(D=(T=(_=d.response)===null||_===void 0?void 0:_.data)===null||T===void 0?void 0:T.code)!==null&&D!==void 0?D:(E=(w=(S=d.response)===null||S===void 0?void 0:S.headers)===null||w===void 0?void 0:w.get)===null||E===void 0?void 0:E.
110call(w,"x-base44-connector-error"))!==null&&I!==void 0?I:(N=(L=d.response)===null||L===void 0?void 0:L.headers)===null||N===void 0?void 0:N["x-base44-connector-error"],(U=d.response)===null||U===void 0?void 0:U.data,d);return l==null||l(G),Promise.reject(G)}),u}function gm(r){const{axios:t,appId:s,getSocket:o}=r;return new Proxy({},{get(l,u){if(!(typeof u!="string"||u==="then"||u.startsWith("_")))return ub(t,s,u,o)}})}function lb(r){var t;try{const s=JSON.parse(r);return{type:s.type,data:s.data,id:s.id||((t=s.data)===null||t===void 0?void 0:t.id),timestamp:s.timestamp||new Date().toISOString()}}catch(s){return console.warn("[Base44 SDK] Failed to parse realtime message:",s),null}}function ub(r,t,s,o){const l=`/apps/${t}/entities/${s}`;return{async list(u,d,f,p){const m={};return u&&(m.sort=u),d&&(m.limit=d),f&&(m.skip=f),p&&(m.fields=Array.isArray(p)?p.join(","):p),r.get(l,{params:m})},async filter(u,d,f,p,m){const g={q:JSON.stringify(u)};return d&&(g.sort=d),f&&(g.limit=f),p&&(g.skip=p),m&&(g.fields=Array.isArray(m)?m.join(","):m),r.get(l,{params:g})},async get(u){return r.get(`${l}/${u}`)},async create(u){return r.post(l,u)},async update(u,d){return r.put(`${l}/${u}`,d)},async delete(u){return r.delete(`${l}/${u}`)},async deleteMany(u){return r.delete(l,{data:u})},async bulkCreate(u){return r.post(`${l}/bulk`,u)},async updateMany(u,d){return r.patch(`${l}/update-many`,{query:u,data:d})},async bulkUpdate(u){return r.put(`${l}/bulk`,u)},async importEntities(u){const d=new FormData;return d.append("file",u,u.name),r.post(`${l}/import`,d,{headers:{"Content-Type":"multipart/form-data"}})},subscribe(u){const d=`entities:${t}:${s}`;return o().subscribeToRoom(d,{update_model:m=>{var g;const v=lb(m.data);if(v){v.type!=="delete"&&(!((g=v.data)===null||g===void 0)&&g._oversize)&&console.error(`[Base44 SDK] Realtime broadcast for ${s}#${v.id} was oversize and got slimmed for transport. Fields >10 KB are empty and the rest of the record may be a stub. Call \`entities.${s}.get("${v.id}")\` to fetch the full record.`);try{u(v)}catch(_){console.error("[Base44 SDK] Subscription callback error:",_)}}}})}}}function cb(r,t){return{async call(s,o,l){if(!(s!=null&&s.trim()))throw new Error("Integration slug is required and cannot be empty");if(!(o!=null&&o.trim()))throw new Error("Operation ID is required and cannot be empty");const{pathParams:u,queryParams:d,...f}=l??{},p={...f,...u&&{path_params:u},...d&&{query_params:d}};return await r.post(`/apps/${t}/integrations/custom/${s}/${o}`,p)}}}function vm(r,t){const s=cb(r,t);return new Proxy({},{get(o,l){if(!(typeof l!="string"||l==="then"||l.startsWith("_")))return l==="custom"?s:new Proxy({},{get(u,d){if(!(typeof d!="string"||d==="then"||d.startsWith("_")))return async f=>{if(typeof f=="string")throw new Error(`Integration ${d} must receive an object with named parameters, received: ${f}`);let p,m;return f instanceof FormData||f&&Object.values(f).some(g=>g instanceof File)?(p=new FormData,Object.keys(f).forEach(g=>{f[g]instanceof File?p.append(g,f[g],f[g].name):typeof f[g]=="object"&&f[g]!==null?p.append(g,JSON.stringify(f[g])):p.append(g,f[g])}),m="multipart/form-data"):(p=f,m="application/json"),l==="Core"?r.post(`/apps/${t}/integration-endpoints/Core/${d}`,p||f,{headers:{"Content-Type":m}}):r.post(`/apps/${t}/integration-endpoints/installable/${l}/integration-endpoints/${d}`,p||f,{headers:{"Content-Type":m}})}}})}})}function db(){return typeof window>"u"?!1:window!==window.parent}function fb(r,t,s){const u=Math.round(window.screenX+(window.outerWidth-500)/2),d=Math.round(window.screenY+(window.outerHeight-600)/2),f=window.open(r,"base44_auth",`width=500,height=600,left=${u},top=${d},resizable=yes,scrollbars=yes`);if(!f)return;const p=()=>{window.removeEventListener("message",m),clearInterval(g),f.closed||f.close()},m=v=>{var _;if(v.origin!==s||v.source!==f||!(!((_=v.data)===null||_===void 0)&&_.access_token))return;p();const T=new URL(t),{access_token:D,is_new_user:S}=v.data;T.searchParams.set("access_token",D),S!=null&&T.searchParams.set("is_new_user",String(S)),window.location.href=T.toString()},g=setInterval(()=>{f.closed&&p()},500);window.addEventListener("message",m)}function hb(r,t,s,o){let l=null;const u=()=>{l=null};let d=!!o.token;return{hasToken(){return d},async me(){const f=l??r.get(`/apps/${s}/entities/User/me`).finally(()=>{l===f&&(l=null)});return l=f,f},async updateMe(f){return r.put(`/apps/${s}/entities/User/me`,f)},redirectToLogin(f){if(typeof window>"u")throw new Error("Login method can only be used in a browser environment");const p=f?new URL(f,window.location.origin).toString():window.location.href,m=`${o.appBaseUrl}/login?from_url=${encodeURIComponent(p)}`;window.location.href=m},loginWithProvider(f,p="/"){const m=new URL(p,window.location.origin).toString(),g=`app_id=${s}&from_url=${encodeURIComponent(m)}`;let v;f==="sso"?v=`/apps/${s}/auth/sso/login`:v=`/apps/auth${f==="google"?"":`/${f}`}/login`;const _=`${o.appBaseUrl}/api${v}?${g}`;if(db()){const T=`${_}&popup_origin=${encodeURIComponent(window.location.origin)}`;return fb(T,m,window.location.origin)}window.location.href=_},logout(f){if(delete r.defaults.headers.common.Authorization,u(),mm(),d=!1,typeof window<"u"){if(window.localStorage)try{window.localStorage.removeItem("base44_access_token"),window.localStorage.removeItem("token")}catch(g){console.error("Failed to remove token from localStorage:",g)}const p=f||window.location.href,m=`${o.appBaseUrl}/api/apps/auth/logout?from_url=${encodeURIComponent(p)}`;window.location.href=m}},setToken(f,p=!0){if(f&&(u(),mm(),d=!0,r.defaults.headers.common.Authorization=`Bearer ${f}`,t.defaults.headers.common.Authorization=`Bearer ${f}`,p&&typeof window<"u"&&window.localStorage))try{window.localStorage.setItem("base44_access_token",f),window.localStorage.setItem("token",f)}catch(m){console.error("Failed to save token to localStorage:",m)}},async loginViaEmailPassword(f,p,m){var g;try{const v=await r.post(`/apps/${s}/auth/login`,{email:f,password:p,...m&&{turnstile_token:m}}),{access_token:_,user:T}=v;return _&&this.setToken(_),{access_token:_,user:T}}catch(v){throw((g=v.response)===null||g===void 0?void 0:g.status)===401&&await this.logout(),v}},async isAuthenticated(){try{return await this.me(),!0}catch{return!1}},inviteUser(f,p){return r.post(`/apps/${s}/users/invite-user`,{user_email:f,role:p})},register(f){return r.post(`/apps/${s}/auth/register`,f)},verifyOtp({email:f,otpCode:p}){return r.post(`/apps/${s}/auth/verify-otp`,{email:f,otp_code:p})},resendOtp(f){return r.post(`/apps/${s}/auth/resend-otp`,{email:f})},resetPasswordRequest(f){return r.post(`/apps/${s}/auth/reset-password-request`,{email:f})},resetPassword({resetToken:f,newPassword:p}){return r.post(`/apps/${s}/auth/reset-password`,{reset_token:f,new_password:p})},changePassword({userId:f,currentPassword:p,newPassword:m}){return r.post(`/apps/${s}/auth/change-password`,{user_id:f,current_password:p,new_password:m})}}}function pb(r,t){return{async getAccessToken(s){const o=`/apps/${t}/auth/sso/accesstoken/${s}`;return r.get(o)},async getIdToken(s){const o=`/apps/${t}/auth/sso/idtoken/${s}`;return r.get(o)}}}const mb=new Set(["GET","POST","PUT","PATCH","DELETE","HEAD"]);function yb(r,t){return{async getAccessToken(s){if(!s||typeof s!="str
110ing")throw new Error("Integration type is required and must be a string");return(await r.get(`/apps/${t}/external-auth/tokens/${encodeURIComponent(s)}`)).access_token},async getConnection(s){var o;if(!s||typeof s!="string")throw new Error("Integration type is required and must be a string");const u=await r.get(`/apps/${t}/external-auth/tokens/${encodeURIComponent(s)}`);return{accessToken:u.access_token,connectionConfig:(o=u.connection_config)!==null&&o!==void 0?o:null}},async getWorkspaceConnection(s){var o;if(!s||typeof s!="string")throw new Error("Connector ID is required and must be a string");const u=await r.get(`/apps/${t}/external-auth/tokens/connectors/${encodeURIComponent(s)}`);return{accessToken:u.access_token,connectionConfig:(o=u.connection_config)!==null&&o!==void 0?o:null}},async getCurrentAppUserAccessToken(s){if(!s||typeof s!="string")throw new Error("Connector ID is required and must be a string");return(await r.get(`/apps/${t}/app-user-auth/connectors/${encodeURIComponent(s)}/token`)).access_token},async getCurrentAppUserConnection(s){var o;if(!s||typeof s!="string")throw new Error("Connector ID is required and must be a string");const u=await r.get(`/apps/${t}/app-user-auth/connectors/${encodeURIComponent(s)}/token`);return{accessToken:u.access_token,connectionConfig:(o=u.connection_config)!==null&&o!==void 0?o:null}},async callApi(s,o){return Lg(s,"Integration type"),gb(r,`/apps/${t}/connectors/${encodeURIComponent(s)}/call`,o)}}}function Lg(r,t){if(!r||typeof r!="string")throw new Error(`${t} is required and must be a string`)}async function gb(r,t,s){var o,l,u,d,f,p,m,g,v;if(!s||typeof s!="object")throw new Error("Request is required and must be an object");Lg(s.path,"Request path");const _=(o=s.method)!==null&&o!==void 0?o:"GET";if(!mb.has(_))throw new Error("Request method must be one of GET, POST, PUT, PATCH, DELETE, or HEAD");const D=await r.post(t,{method:_,...s.host==null?{}:{host:s.host},path:s.path,query:(l=s.query)!==null&&l!==void 0?l:{},headers:(u=s.headers)!==null&&u!==void 0?u:{},body:(d=s.body)!==null&&d!==void 0?d:null});return{success:D.success,phase:D.phase,status:(f=D.status_code)!==null&&f!==void 0?f:null,data:D.data,dataBase64:(p=D.data_base64)!==null&&p!==void 0?p:null,contentType:(m=D.content_type)!==null&&m!==void 0?m:null,headers:(g=D.headers)!==null&&g!==void 0?g:{},creditsCharged:(v=D.credits_charged)!==null&&v!==void 0?v:0}}function vb(r,t){return{async connectAppUser(s){if(!s||typeof s!="string")throw new Error("Connector ID is required and must be a string");return(await r.post(`/apps/${t}/app-user-auth/connectors/${encodeURIComponent(s)}/initiate`)).redirect_url},async disconnectAppUser(s){if(!s||typeof s!="string")throw new Error("Connector ID is required and must be a string");await r.delete(`/apps/${t}/app-user-auth/connectors/${encodeURIComponent(s)}`)}}}function Dn(r={}){const{storageKey:t="base44_access_token",paramName:s="access_token",saveToStorage:o=!0,removeFromUrl:l=!0}=r;let u=null;if(typeof window<"u"&&window.location)try{const d=new URLSearchParams(window.location.search);if(u=d.get(s),u){if(o&&wb(u,{storageKey:t}),l){d.delete(s);const f=`${window.location.pathname}${d.toString()?`?${d.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,f)}return u}}catch(d){console.error("Error retrieving token from URL:",d)}if(typeof window<"u"&&window.localStorage)try{return u=window.localStorage.getItem(t),u}catch(d){console.error("Error retrieving token from local storage:",d)}return null}function wb(r,t){const{storageKey:s="base44_access_token"}=t;if(typeof window>"u"||!window.localStorage||!r)return!1;try{return window.localStorage.setItem(s,r),window.localStorage.setItem("token",r),!0}catch(o){return console.error("Error saving token to local storage:",o),!1}}function wm(r,t,s){const o=(u,d)=>u?`${String(u).replace(/\/$/,"")}${d}`:d,l=u=>{const d=new Headers;if(s!=null&&s.getAuthHeaders){const f=s.getAuthHeaders();Object.entries(f).forEach(([p,m])=>{m!=null&&d.set(p,String(m))})}return u&&new Headers(u).forEach((f,p)=>{d.set(p,f)}),d};
110return{async invoke(u,d){if(typeof d=="string")throw new Error(`Function ${u} must receive an object with named parameters, received: ${d}`);let f,p;return d instanceof FormData||d&&Object.values(d).some(m=>m instanceof File)?(f=new FormData,Object.keys(d).forEach(m=>{d[m]instanceof File?f.append(m,d[m],d[m].name):typeof d[m]=="object"&&d[m]!==null?f.append(m,JSON.stringify(d[m])):f.append(m,d[m])}),p="multipart/form-data"):(f=d,p="application/json"),r.post(`/apps/${t}/functions/${u}`,f||d,{headers:{"Content-Type":p}})},async fetch(u,d={}){const p=`/functions${u.startsWith("/")?u:`/${u}`}`,m=l(d.headers),g={...d,headers:m};return await fetch(o(s==null?void 0:s.baseURL,p),g)}}}function xm({axios:r,getSocket:t,appId:s,serverUrl:o,token:l}){const u=`/apps/${s}/agents`,d={},f=()=>r.get(`${u}/conversations`),p=S=>r.get(`${u}/conversations/${S}`);return{getConversations:f,getConversation:p,listConversations:S=>r.get(`${u}/conversations`,{params:S}),createConversation:S=>r.post(`${u}/conversations`,S),addMessage:async(S,w)=>r.post(`${u}/conversations/v2/${S.id}/messages`,w),subscribeToConversation:(S,w)=>{const E=`/agent-conversations/${S}`,I=t(),L=p(S).then(N=>(d[S]=N,N));return I.subscribeToRoom(E,{connect:()=>{},update_model:async({data:N})=>{const U=JSON.parse(N);if(U._message){await L;const q=U._message,G=d[S];if(G){const z=G.messages||[],ae=z.findIndex(_e=>_e.id===q.id),ye=ae!==-1?z.map((_e,Ce)=>Ce===ae?q:_e):[...z,q];d[S]={...G,messages:ye},w==null||w(d[S])}}}})},getWhatsAppConnectURL:S=>{const w=`${o}/api/apps/${s}/agents/${encodeURIComponent(S)}/whatsapp`,E=l??Dn();return E?`${w}?token=${E}`:w},getTelegramConnectURL:S=>{const w=`${o}/api/apps/${s}/agents/${encodeURIComponent(S)}/telegram`,E=l??Dn();return E?`${w}?token=${E}`:w}}}function Em({serverUrl:r,token:t,appId:s}){return{connection:()=>{var l;return{baseURL:`${r}/api/apps/${s}/ai/openai/v1`,token:(l=t??Dn())!==null&&l!==void 0?l:""}}}}function _m(r,t){const s=`/app-logs/${t}`;return{async logUserInApp(o){await r.post(`${s}/log-user-in-app/${o}`)},async fetchLogs(o={}){return await r.get(s,{params:o})},async getStats(o={}){return await r.get(`${s}/stats`,{params:o})}}}function xb(r,t){return{async getPublicSettings(){return r.get(`/apps/public/prod/public-settings/by-id/${t}`)}}}function Eb(r,t){return{async inviteUser(s,o){if(o!=="user"&&o!=="admin")throw new Error(`Invalid role: "${o}". Role must be either "user" or "admin".`);return await r.post(`/apps/${t}/runtime/users/invite-user`,{user_email:s,role:o})}}}const wn=Object.create(null);wn.open="0";wn.close="1";wn.ping="2";wn.pong="3";wn.message="4";wn.upgrade="5";wn.noop="6";const ka=Object.create(null);Object.keys(wn).forEach(r=>{ka[wn[r]]=r});const Tc={type:"error",data:"parser error"},Ig=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",Fg=typeof ArrayBuffer=="function",Dg=r=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(r):r&&r.buffer instanceof ArrayBuffer,id=({type:r,data:t},s,o)=>Ig&&t instanceof Blob?s?o(t):Sm(t,o):Fg&&(t instanceof ArrayBuffer||Dg(t))?s?o(t):Sm(new Blob([t]),o):o(wn[r]+(t||"")),Sm=(r,t)=>{const s=new FileReader;return s.onload=function(){const o=s.result.split(",")[1];t("b"+(o||""))},s.readAsDataURL(r)};function bm(r){return r instanceof Uint8Array?r:r instanceof ArrayBuffer?new Uint8Array(r):new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}let Yu;function _b(r,t){if(Ig&&r.data instanceof Blob)return r.data.arrayBuffer().then(bm).then(t);if(Fg&&(r.data instanceof ArrayBuffer||Dg(r.data)))return t(bm(r.data));id(r,!1,s=>{Yu||(Yu=new TextEncoder),t(Yu.encode(s))})}const Cm="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Mo=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let r=0;r<Cm.length;r++)Mo[Cm.charCodeAt(r)]=r;const Sb=r=>{let t=r.length*.75,s=r.length,o,l=0,u,d,f,p;r[r.length-1]==="="&&(t--,r[r.length-2]==="="&&t--);const m=new ArrayBuffer(t),g=new Uint8Array(m);for(o=0;o<s;o+=4)u=Mo[r.charCodeAt(o)],d=Mo[r.charCodeAt(o+1)],f=Mo[r.charCodeAt(o+2)],p=Mo[r.charCodeAt(o+3)],g[l++]=u<<2|d>>4,g[l++]=(d&15)<<4|f>>2,g[l++]=(f&3)<<6|p&63;return m},bb=typeof ArrayBuffer=="function",ad=(r,t)=>{if(typeof r!="string")return{type:"message",data:jg(r,t)};const s=r.charAt(0);return s==="b"?{type:"message",data:Cb(r.substring(1),t)}:ka[s]?r.length>1?{type:ka[s],data:r.substring(1)}:{type:ka[s]}:Tc},Cb=(r,t)=>{if(bb){const s=Sb(r);return jg(s,t)}else return{base64:!0,data:r}},jg=(r,t)=>{switch(t){case"blob":return r instanceof Blob?r:new Blob([r]);case"arraybuffer":default:return r instanceof ArrayBuffer?r:r.buffer}},Mg="�",kb=(r,t)=>{const s=r.length,o=new Array(s);let l=0;r.forEach((u,d)=>{id(u,!1,f=>{o[d]=f,++l===s&&t(o.join(Mg))})})},Rb=(r,t)=>{const s=r.split(Mg),o=[];for(let l=0;l<s.length;l++){const u=ad(s[l],t);if(o.push(u),u.type==="error")break}return o};function Tb(){return new TransformStream({transform(r,t){_b(r,s=>{const o=s.length;let l;if(o<126)l=new Uint8Array(1),new DataView(l.buffer).setUint8(0,o);else if(o<65536){l=new Uint8Array(3);const u=new DataView(l.buffer);u.setUint8(0,126),u.setUint16(1,o)}else{l=new Uint8Array(9);const u=new DataView(l.buffer);u.setUint8(0,127),u.setBigUint64(1,BigInt(o))}r.data&&typeof r.data!="string"&&(l[0]|=128),t.enqueue(l),t.enqueue(s)})}})}let Ju;function va(r){return r.reduce((t,s)=>t+s.length,0)}function wa(r,t){if(r[0].length===t)return r.shift();const s=new Uint8Array(t);let o=0;for(let l=0;l<t;l++)s[l]=r[0][o++],o===r[0].length&&(r.shift(),o=0);return r.length&&o<r[0].length&&(r[0]=r[0].slice(o)),s}function Pb(r,t){Ju||(Ju=new TextDecoder);const s=[];let o=0,l=-1,u=!1;return new TransformStream({transform(d,f){for(s.push(d);;){if(o===0){if(va(s)<1)break;const p=wa(s,1);u=(p[0]&128)===128,l=p[0]&127,l<126?o=3:l===126?o=1:o=2}else if(o===1){if(va(s)<2)break;const p=wa(s,2);l=new DataView(p.buffer,p.byteOffset,p.length).getUint16(0),o=3}else if(o===2){if(va(s)<8)break;const p=wa(s,8),m=new DataView(p.buffer,p.byteOffset,p.length),g=m.getUint32(0);if(g>Math.pow(2,21)-1){f.enqueue(Tc);break}l=g*Math.pow(2,32)+m.getUint32(4),o=3}else{if(va(s)<l)break;const p=wa(s,l);f.enqueue(ad(u?p:Ju.decode(p),t)),o=0}if(l===0||l>r){f.enqueue(Tc);break}}}})}const Ug=4;function Xe(r){if(r)return Ab(r)}function Ab(r){for(var t in Xe.prototype)r[t]=Xe.prototype[t];return r}Xe.prototype.on=Xe.prototype.addEventListener=function(r,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+r]=this._callbacks["$"+r]||[]).push(t),this};Xe.prototype.once=function(r,t){function s(){this.off(r,s),t.apply(this,arguments)}return s.fn=t,this.on(r,s),this};Xe.prototype.off=Xe.prototype.removeListener=Xe.prototype.removeAllListeners=Xe.prototype.removeEventListener=function(r,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var s=this._callbacks["$"+r];if(!s)return this;if(arguments.length==1)return delete this._callbacks["$"+r],this;for(var o,l=0;l<s.length;l++)if(o=s[l],o===t||o.fn===t){s.splice(l,1);break}return s.length===0&&delete this._callbacks["$"+r],this};Xe.prototype.emit=function(r){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),s=this._callbacks["$"+r],o=1;o<arguments.length;o++)t[o-1]=arguments[o];if(s){s=s.slice(0);for(var o=0,l=s.length;o<l;++o)s[o].apply(this,t)}return this};Xe.prototype.emitReserved=Xe.prototype.emit;Xe.prototype.listeners=function(r){return this._callbacks=this._callbacks||{},this._callbacks["$"+r]||[]};Xe.prototype.hasListeners=function(r){return!!this.listeners(r).length};const qa=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,s)=>s(t,0),Kt=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),Ob="arraybuffer";function Bg(r,...t){return t.reduce((s,o)=>(r.hasOwnProperty(o)&&(s[o]=r[o]),s),{})}const Nb=Kt.setTimeout,Lb=Kt.clearTimeout;function Ha(r,t){t.useNativeTimers?(r.setTimeoutFn=Nb.bind(Kt),r.clearTimeoutFn=Lb.bind(Kt)):(r.setTimeoutFn=Kt.setTimeout.bind(Kt),r.clearTimeoutFn=Kt.clearTimeout.bind(Kt))}const Ib=1.33;function Fb(r){return typeof r=="string"?Db(r):Math.ceil((r.byteLength||r.size)*Ib)}function Db(r){let t=0,s=0;for(let o=0,l=r.length;o<l;o++)t=r.charCodeAt(o),t<128?s+=1:t<2048?s+=2:t<55296||t>=57344?s+=3:(o++,s+=4);return s}function zg(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function jb(r){let t="";for(let s in r)r.hasOwnProperty(s)&&(t.length&&(t+="&"),t+=encodeURIComponent(s)+"="+encodeURIComponent(r[s]));return t}function Mb(r){let t={},s=r.split("&");for(let o=0,l=s.length;o<l;o++){let u=s[o].split("=");
vendor: 6,261 bytes, line 110
110t[decodeURIComponent(u[0])]=decodeURIComponent(u[1])}return t}class Ub extends Error{constructor(t,s,o){super(t),this.description=s,this.context=o,this.type="TransportError"}}class ld extends Xe{constructor(t){super(),this.writable=!1,Ha(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,s,o){return super.emitReserved("error",new Ub(t,s,o)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const s=ad(t,this.socket.binaryType);this.onPacket(s)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,s={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(s)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const s=jb(t);return s.length?"?"+s:""}}class Bb extends ld{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(t){this.readyState="pausing";const s=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let o=0;this._polling&&(o++,this.once("pollComplete",function(){--o||s()})),this.writable||(o++,this.once("drain",function(){--o||s()}))}else s()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const s=o=>{if(this.readyState==="opening"&&o.type==="open"&&this.onOpen(),o.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(o)};Rb(t,this.socket.binaryType).forEach(s),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,kb(t,s=>{this.doWrite(s,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",s=this.query||{};return this.opts.timestampRequests!==!1&&(s[this.opts.timestampParam]=zg()),!this.supportsBinary&&!s.sid&&(s.b64=1),this.createUri(t,s)}}let $g=!1;try{$g=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const zb=$g;function $b(){}class Vb extends Bb{constructor(t){if(super(t),typeof location<"u"){const s=location.protocol==="https:";let o=location.port;o||(o=s?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||o!==t.port}}doWrite(t,s){const o=this.request({method:"POST",data:t});o.on("success",s),o.on("error",(l,u)=>{this.onError("xhr post error",l,u)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(s,o)=>{this.onError("xhr poll error",s,o)}),this.pollXhr=t}}class vn extends Xe{constructor(t,s,o){super(),this.createRequest=t,Ha(this,o),this._opts=o,this._method=o.method||"GET",this._uri=s,this._data=o.data!==void 0?o.data:null,this._create()}_create(){var t;const s=Bg(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");s.xdomain=!!this._opts.xd;const o=this._xhr=this.createRequest(s);try{o.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){o.setDisableHeaderCheck&&o.setDisableHeaderCheck(!0);for(let l in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(l)&&o.setRequestHeader(l,this._opts.extraHeaders[l])}}catch{}if(this._method==="POST")try{o.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{o.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(o),"withCredentials"in o&&(o.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(o.timeout=this._opts.requestTimeout),o.onreadystatechange=()=>{var l;o.readyState===3&&((l=this._opts.cookieJar)===null||l===void 0||l.parseCookies(o.getResponseHeader("set-cookie"))),o.readyState===4&&(o.status===200||o.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof o.status=="number"?o.status:0)},0))},o.send(this._data)}catch(l){this.setTimeoutFn(()=>{this._onError(l)},0);return}typeof document<"u"&&(this._index=vn.requestsCount++,vn.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=$b,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete vn.requests[this._index],this._xhr=null}}_onLoad(){const t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}vn.requestsCount=0;vn.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",km);else if(typeof addEventListener=="function"){const r="onpagehide"in Kt?"pagehide":"unload";addEventListener(r,km,!1)}}function km(){for(let r in vn.requests)vn.requests.hasOwnProperty(r)&&vn.requests[r].abort()}const qb=(function(){const r=Vg({xdomain:!1});return r&&r.responseType!==null})();class Hb extends Vb{constructor(t){super(t);const s=t&&t.forceBase64;this.supportsBinary=qb&&!s}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new vn(Vg,this.uri(),t)}}function Vg(r){const t=r.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||zb))return new XMLHttpRequest}catch{}if(!t)try{return new Kt[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const qg=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class Wb extends ld{get name(){return"websocket"}doOpen(){const t=this.uri(),s=this.opts.protocols,o=qg?{}:Bg(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(o.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,s,o)}catch(l){return this.emitReserved("error",l)}
vendor: 10,324 bytes, line 110
110this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let s=0;s<t.length;s++){const o=t[s],l=s===t.length-1;id(o,this.supportsBinary,u=>{try{this.doWrite(o,u)}catch{}l&&qa(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",s=this.query||{};return this.opts.timestampRequests&&(s[this.opts.timestampParam]=zg()),this.supportsBinary||(s.b64=1),this.createUri(t,s)}}const Zu=Kt.WebSocket||Kt.MozWebSocket;class Qb extends Wb{createSocket(t,s,o){return qg?new Zu(t,s,o):s?new Zu(t,s):new Zu(t)}doWrite(t,s){this.ws.send(s)}}class Kb extends ld{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{const s=Pb(Number.MAX_SAFE_INTEGER,this.socket.binaryType),o=t.readable.pipeThrough(s).getReader(),l=Tb();l.readable.pipeTo(t.writable),this._writer=l.writable.getWriter();const u=()=>{o.read().then(({done:f,value:p})=>{f||(this.onPacket(p),u())}).catch(f=>{})};u();const d={type:"open"};this.query.sid&&(d.data=`{"sid":"${this.query.sid}"}`),this._writer.write(d).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let s=0;s<t.length;s++){const o=t[s],l=s===t.length-1;this._writer.write(o).then(()=>{l&&qa(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this._transport)===null||t===void 0||t.close()}}const Gb={websocket:Qb,webtransport:Kb,polling:Hb},Xb=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Yb=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Pc(r){if(r.length>8e3)throw"URI too long";const t=r,s=r.indexOf("["),o=r.indexOf("]");s!=-1&&o!=-1&&(r=r.substring(0,s)+r.substring(s,o).replace(/:/g,";")+r.substring(o,r.length));let l=Xb.exec(r||""),u={},d=14;for(;d--;)u[Yb[d]]=l[d]||"";return s!=-1&&o!=-1&&(u.source=t,u.host=u.host.substring(1,u.host.length-1).replace(/;/g,":"),u.authority=u.authority.replace("[","").replace("]","").replace(/;/g,":"),u.ipv6uri=!0),u.pathNames=Jb(u,u.path),u.queryKey=Zb(u,u.query),u}function Jb(r,t){const s=/\/{2,9}/g,o=t.replace(s,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&o.splice(0,1),t.slice(-1)=="/"&&o.splice(o.length-1,1),o}function Zb(r,t){const s={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(o,l,u){l&&(s[l]=u)}),s}const Ac=typeof addEventListener=="function"&&typeof removeEventListener=="function",Ra=[];Ac&&addEventListener("offline",()=>{Ra.forEach(r=>r())},!1);class vr extends Xe{constructor(t,s){if(super(),this.binaryType=Ob,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(s=t,t=null),t){const o=Pc(t);s.hostname=o.host,s.secure=o.protocol==="https"||o.protocol==="wss",s.port=o.port,o.query&&(s.query=o.query)}else s.host&&(s.hostname=Pc(s.host).host);Ha(this,s),this.secure=s.secure!=null?s.secure:typeof location<"u"&&location.protocol==="https:",s.hostname&&!s.port&&(s.port=this.secure?"443":"80"),this.hostname=s.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=s.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},s.transports.forEach(o=>{const l=o.prototype.name;this.transports.push(l),this._transportsByName[l]=o}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},s),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=Mb(this.opts.query)),Ac&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},Ra.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){const s=Object.assign({},this.opts.query);s.EIO=Ug,s.transport=t,this.id&&(s.sid=this.id);const o=Object.assign({},this.opts,{query:s,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](o)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const t=this.opts.rememberUpgrade&&vr.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const s=this.createTransport(t);s.open(),this.setTransport(s)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",s=>this._onClose("transport close",s))}onOpen(){this.readyState="open",vr.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const s=new Error("server error");s.code=t.data,this._onError(s);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let s=1;for(let o=0;o<this.writeBuffer.length;o++){const l=this.writeBuffer[o].data;if(l&&(s+=Fb(l)),o>0&&s>this._maxPayload)return this.writeBuffer.slice(0,o);s+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,qa(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,s,o){return this._sendPacket("message",t,s,o),this}send(t,s,o){return this._sendPacket("message",t,s,o),this}_sendPacket(t,s,o,l){if(typeof s=="function"&&(l=s,s=void 0),typeof o=="function"&&(l=o,o=null),this.readyState==="closing"||this.readyState==="closed")return;o=o||{},o.compress=o.compress!==!1;const u={type:t,data:s,options:o};this.emitReserved("packetCreate",u),this.writeBuffer.push(u),l&&this.once("flush",l),this.flush()}close(){const t=()=>{this._onClose("forced close"),this.transport.close()},s=()=>{this.off("upgrade",s),this.off("upgradeError",s),t()},o=()=>{this.once("upgrade",s),this.once("upgradeError",s)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?o():t()}):this.upgrading?o():t()),this}_onError(t){if(vr.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,s){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Ac&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const o=Ra.indexOf(this._offlineEventListener);o!==-1&&Ra.splice(o,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,s),this.writeBuffer=[],this._prevBufferLen=0}}}vr.protocol=Ug;class eC extends vr{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let s=this.createTransport(t),o=!1;vr.priorWebsocketSuccess=!1;const l=()=>{o||(s.send([{type:"ping",data:"probe"}]),s.once("packet",v=>{if(!o)if(v.type==="pong"&&v.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",s),!s)return;vr.priorWebsocketSuccess=s.name==="websocket",this.transport.pause(()=>{o||this.readyState!=="closed"&&(g(),this.setTransport(s),s.send([{type:"upgrade"}
vendor: 10,501 bytes, line 110
110]),this.emitReserved("upgrade",s),s=null,this.upgrading=!1,this.flush())})}else{const _=new Error("probe error");_.transport=s.name,this.emitReserved("upgradeError",_)}}))};function u(){o||(o=!0,g(),s.close(),s=null)}const d=v=>{const _=new Error("probe error: "+v);_.transport=s.name,u(),this.emitReserved("upgradeError",_)};function f(){d("transport closed")}function p(){d("socket closed")}function m(v){s&&v.name!==s.name&&u()}const g=()=>{s.removeListener("open",l),s.removeListener("error",d),s.removeListener("close",f),this.off("close",p),this.off("upgrading",m)};s.once("open",l),s.once("error",d),s.once("close",f),this.once("close",p),this.once("upgrading",m),this._upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{o||s.open()},200):s.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){const s=[];for(let o=0;o<t.length;o++)~this.transports.indexOf(t[o])&&s.push(t[o]);return s}}let tC=class extends eC{constructor(t,s={}){const o=typeof t=="object",l=o?{...t}:{...s};(!l.transports||l.transports&&typeof l.transports[0]=="string")&&(l.transports=(l.transports||["polling","websocket","webtransport"]).map(u=>Gb[u]).filter(u=>!!u)),super(o?l:t,l)}};function nC(r,t="",s){let o=r;s=s||typeof location<"u"&&location,r==null&&(r=s.protocol+"//"+s.host),typeof r=="string"&&(r.charAt(0)==="/"&&(r.charAt(1)==="/"?r=s.protocol+r:r=s.host+r),/^(https?|wss?):\/\//.test(r)||(typeof s<"u"?r=s.protocol+"//"+r:r="https://"+r),o=Pc(r)),o.port||(/^(http|ws)$/.test(o.protocol)?o.port="80":/^(http|ws)s$/.test(o.protocol)&&(o.port="443")),o.path=o.path||"/";const u=o.host.indexOf(":")!==-1?"["+o.host+"]":o.host;return o.id=o.protocol+"://"+u+":"+o.port+t,o.href=o.protocol+"://"+u+(s&&s.port===o.port?"":":"+o.port),o}const rC=typeof ArrayBuffer=="function",sC=r=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(r):r.buffer instanceof ArrayBuffer,Hg=Object.prototype.toString,oC=typeof Blob=="function"||typeof Blob<"u"&&Hg.call(Blob)==="[object BlobConstructor]",iC=typeof File=="function"||typeof File<"u"&&Hg.call(File)==="[object FileConstructor]";function ud(r){return rC&&(r instanceof ArrayBuffer||sC(r))||oC&&r instanceof Blob||iC&&r instanceof File}function Ta(r,t){if(!r||typeof r!="object")return!1;if(Array.isArray(r)){for(let s=0,o=r.length;s<o;s++)if(Ta(r[s]))return!0;return!1}if(ud(r))return!0;if(r.toJSON&&typeof r.toJSON=="function"&&arguments.length===1)return Ta(r.toJSON(),!0);for(const s in r)if(Object.prototype.hasOwnProperty.call(r,s)&&Ta(r[s]))return!0;return!1}function aC(r){const t=[],s=r.data,o=r;return o.data=Oc(s,t),o.attachments=t.length,{packet:o,buffers:t}}function Oc(r,t){if(!r)return r;if(ud(r)){const s={_placeholder:!0,num:t.length};return t.push(r),s}else if(Array.isArray(r)){const s=new Array(r.length);for(let o=0;o<r.length;o++)s[o]=Oc(r[o],t);return s}else if(typeof r=="object"&&!(r instanceof Date)){const s={};for(const o in r)Object.prototype.hasOwnProperty.call(r,o)&&(s[o]=Oc(r[o],t));return s}return r}function lC(r,t){return r.data=Nc(r.data,t),delete r.attachments,r}function Nc(r,t){if(!r)return r;if(r&&r._placeholder===!0){if(typeof r.num=="number"&&r.num>=0&&r.num<t.length)return t[r.num];throw new Error("illegal attachments")}else if(Array.isArray(r))for(let s=0;s<r.length;s++)r[s]=Nc(r[s],t);else if(typeof r=="object")for(const s in r)Object.prototype.hasOwnProperty.call(r,s)&&(r[s]=Nc(r[s],t));return r}const uC=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var Ae;(function(r){r[r.CONNECT=0]="CONNECT",r[r.DISCONNECT=1]="DISCONNECT",r[r.EVENT=2]="EVENT",r[r.ACK=3]="ACK",r[r.CONNECT_ERROR=4]="CONNECT_ERROR",r[r.BINARY_EVENT=5]="BINARY_EVENT",r[r.BINARY_ACK=6]="BINARY_ACK"})(Ae||(Ae={}));class cC{constructor(t){this.replacer=t}encode(t){return(t.type===Ae.EVENT||t.type===Ae.ACK)&&Ta(t)?this.encodeAsBinary({type:t.type===Ae.EVENT?Ae.BINARY_EVENT:Ae.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let s=""+t.type;return(t.type===Ae.BINARY_EVENT||t.type===Ae.BINARY_ACK)&&(s+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(s+=t.nsp+","),t.id!=null&&(s+=t.id),t.data!=null&&(s+=JSON.stringify(t.data,this.replacer)),s}encodeAsBinary(t){const s=aC(t),o=this.encodeAsString(s.packet),l=s.buffers;return l.unshift(o),l}}class cd extends Xe{constructor(t){super(),this.opts=Object.assign({reviver:void 0,maxAttachments:10},typeof t=="function"?{reviver:t}:t)}add(t){let s;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");s=this.decodeString(t);const o=s.type===Ae.BINARY_EVENT;o||s.type===Ae.BINARY_ACK?(s.type=o?Ae.EVENT:Ae.ACK,this.reconstructor=new dC(s),s.attachments===0&&super.emitReserved("decoded",s)):super.emitReserved("decoded",s)}else if(ud(t)||t.base64)if(this.reconstructor)s=this.reconstructor.takeBinaryData(t),s&&(this.reconstructor=null,super.emitReserved("decoded",s));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let s=0;const o={type:Number(t.charAt(0))};if(Ae[o.type]===void 0)throw new Error("unknown packet type "+o.type);if(o.type===Ae.BINARY_EVENT||o.type===Ae.BINARY_ACK){const u=s+1;for(;t.charAt(++s)!=="-"&&s!=t.length;);const d=t.substring(u,s);if(d!=Number(d)||t.charAt(s)!=="-")throw new Error("Illegal attachments");const f=Number(d);if(!fC(f)||f<0)throw new Error("Illegal attachments");if(f>this.opts.maxAttachments)throw new Error("too many attachments");o.attachments=f}if(t.charAt(s+1)==="/"){const u=s+1;for(;++s&&!(t.charAt(s)===","||s===t.length););o.nsp=t.substring(u,s)}else o.nsp="/";const l=t.charAt(s+1);if(l!==""&&Number(l)==l){const u=s+1;for(;++s;){const d=t.charAt(s);if(d==null||Number(d)!=d){--s;break}if(s===t.length)break}o.id=Number(t.substring(u,s+1))}if(t.charAt(++s)){const u=this.tryParse(t.substr(s));if(cd.isPayloadValid(o.type,u))o.data=u;else throw new Error("invalid payload")}return o}tryParse(t){try{return JSON.parse(t,this.opts.reviver)}catch{return!1}}static isPayloadValid(t,s){switch(t){case Ae.CONNECT:return Rm(s);case Ae.DISCONNECT:return s===void 0;case Ae.CONNECT_ERROR:return typeof s=="string"||Rm(s);case Ae.EVENT:case Ae.BINARY_EVENT:return Array.isArray(s)&&(typeof s[0]=="number"||typeof s[0]=="string"&&uC.indexOf(s[0])===-1);case Ae.ACK:case Ae.BINARY_ACK:return Array.isArray(s)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class dC{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const s=lC(this.reconPack,this.buffers);return this.finishedReconstruction(),s}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const fC=Number.isInteger||function(r){return typeof r=="number"&&isFinite(r)&&Math.floor(r)===r};function Rm(r){return Object.prototype.toString.call(r)==="[object Object]"}const hC=Object.freeze(Object.defineProperty({__proto__:null,Decoder:cd,Encoder:cC,get PacketType(){return Ae}},Symbol.toStringTag,{value:"Module"}));function ln(r,t,s){return r.on(t,s),function(){r.off(t,s)}}const pC=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Wg extends Xe{constructor(t,s,o){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=s,o&&o.auth&&(this.auth=o.auth),this._opts=Object.assign({},o),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[ln(t,"open",this.onopen.bind(this)),ln(t,"packet",this.onpacket.bind(this)),ln(t,"error",this.onerror.bind(this)),ln(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...s){var o,l,u;if(pC.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(s.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(s),this;const d={type:Ae.EVENT,data:s};if(d.options={},d.options.compress=this.flags.compress!==!1,typeof s[s.length-1]=="function"){const g=this.ids++,v=s.pop();this._registerAckCallback(g,v),d.id=g}const f=(l=(o=this.io.engine)===null||o===void 0?void 0:o.transport)===null||l===void 0?void 0:l.writable,p=this.connected&&!(!((u=this.io.engine)===null||u===void 0)&&u._hasPingExpired());return this.flags.volatile&&!f||(p?(this.notifyOutgoingListeners(d),this.packet(d)):this.sendBuffer.push(d)),this.flags={},this}_registerAckCallback(t,s){var o;const l=(o=this.flags.timeout)!==null&&o!==void 0?o:this._opts.ackTimeout;if(l===void 0){this.acks[t]=s;return}const u=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let f=0;f<this.sendBuffer.length;f++)this.sendBuffer[f].id===t&&this.sendBuffer.splice(f,1);s.call(this,new Error("operation has timed out"))},l),d=(...f)=>{this.io.clearTimeoutFn(u),s.apply(this,f)};d.withError=!0,this.acks[t]=d}emitWithAck(t,...s){return new Promise((o,l)=>{const u=(d,f)=>d?l(d):o(f);u.withError=!0,s.push(u),this.emit(t,...s)})}_addToQueue(t){let s;typeof t[t.length-1]=="function"&&(s=t.pop());const o={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((l,...u)=>(this._queue[0],l!==null?o.tryCount>this._opts.retries&&(this._queue.shift(),s&&s(l)):(this._queue.shift(),s&&s(null,...u)),o.pending=!1,this._drainQueue())),this._queue.push(o),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const s=this._queue[0];s.pending&&!t||(s.pending=!0,s.tryCount++,this.flags=s.flags,this.emit.apply(this,s.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:Ae.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,s){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,s),this._clearAcks()}
vendor: 6,031 bytes, line 110
110_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(o=>String(o.id)===t)){const o=this.acks[t];delete this.acks[t],o.withError&&o.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case Ae.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case Ae.EVENT:case Ae.BINARY_EVENT:this.onevent(t);break;case Ae.ACK:case Ae.BINARY_ACK:this.onack(t);break;case Ae.DISCONNECT:this.ondisconnect();break;case Ae.CONNECT_ERROR:this.destroy();const o=new Error(t.data.message);o.data=t.data.data,this.emitReserved("connect_error",o);break}}onevent(t){const s=t.data||[];t.id!=null&&s.push(this.ack(t.id)),this.connected?this.emitEvent(s):this.receiveBuffer.push(Object.freeze(s))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const s=this._anyListeners.slice();for(const o of s)o.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const s=this;let o=!1;return function(...l){o||(o=!0,s.packet({type:Ae.ACK,id:t,data:l}))}}onack(t){const s=this.acks[t.id];typeof s=="function"&&(delete this.acks[t.id],s.withError&&t.data.unshift(null),s.apply(this,t.data))}onconnect(t,s){this.id=t,this.recovered=s&&this._pid===s,this._pid=s,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Ae.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const s=this._anyListeners;for(let o=0;o<s.length;o++)if(t===s[o])return s.splice(o,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const s=this._anyOutgoingListeners;for(let o=0;o<s.length;o++)if(t===s[o])return s.splice(o,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const s=this._anyOutgoingListeners.slice();for(const o of s)o.apply(this,t.data)}}}function qs(r){r=r||{},this.ms=r.min||100,this.max=r.max||1e4,this.factor=r.factor||2,this.jitter=r.jitter>0&&r.jitter<=1?r.jitter:0,this.attempts=0}qs.prototype.duration=function(){var r=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),s=Math.floor(t*this.jitter*r);r=(Math.floor(t*10)&1)==0?r-s:r+s}return Math.min(r,this.max)|0};qs.prototype.reset=function(){this.attempts=0};qs.prototype.setMin=function(r){this.ms=r};qs.prototype.setMax=function(r){this.max=r};qs.prototype.setJitter=function(r){this.jitter=r};class Lc extends Xe{constructor(t,s){var o;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(s=t,t=void 0),s=s||{},s.path=s.path||"/socket.io",this.opts=s,Ha(this,s),this.reconnection(s.reconnection!==!1),this.reconnectionAttempts(s.reconnectionAttempts||1/0),this.reconnectionDelay(s.reconnectionDelay||1e3),this.reconnectionDelayMax(s.reconnectionDelayMax||5e3),this.randomizationFactor((o=s.randomizationFactor)!==null&&o!==void 0?o:.5),this.backoff=new qs({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(s.timeout==null?2e4:s.timeout),this._readyState="closed",this.uri=t;const l=s.parser||hC;this.encoder=new l.Encoder,this.decoder=new l.Decoder,this._autoConnect=s.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var s;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(s=this.backoff)===null||s===void 0||s.setMin(t),this)}randomizationFactor(t){var s;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(s=this.backoff)===null||s===void 0||s.setJitter(t),this)}reconnectionDelayMax(t){var s;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(s=this.backoff)===null||s===void 0||s.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new tC(this.uri,this.opts);const s=this.engine,o=this;this._readyState="opening",this.skipReconnect=!1;const l=ln(s,"open",function(){o.onopen(),t&&t()}),u=f=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",f),t?t(f):this.maybeReconnectOnOpen()},d=ln(s,"error",u);if(this._timeout!==!1){const f=this._timeout,p=this.setTimeoutFn(()=>
110{l(),u(new Error("timeout")),s.close()},f);this.opts.autoUnref&&p.unref(),this.subs.push(()=>{this.clearTimeoutFn(p)})}return this.subs.push(l),this.subs.push(d),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(ln(t,"ping",this.onping.bind(this)),ln(t,"data",this.ondata.bind(this)),ln(t,"error",this.onerror.bind(this)),ln(t,"close",this.onclose.bind(this)),ln(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(s){this.onclose("parse error",s)}}ondecoded(t){qa(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,s){let o=this.nsps[t];return o?this._autoConnect&&!o.active&&o.connect():(o=new Wg(this,t,s),this.nsps[t]=o),o}_destroy(t){const s=Object.keys(this.nsps);for(const o of s)if(this.nsps[o].active)return;this._close()}_packet(t){const s=this.encoder.encode(t);for(let o=0;o<s.length;o++)this.engine.write(s[o],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,s){var o;this.cleanup(),(o=this.engine)===null||o===void 0||o.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,s),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const s=this.backoff.duration();this._reconnecting=!0;const o=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(l=>{l?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",l)):t.onreconnect()}))},s);this.opts.autoUnref&&o.unref(),this.subs.push(()=>{this.clearTimeoutFn(o)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const Fo={};function Pa(r,t){typeof r=="object"&&(t=r,r=void 0),t=t||{};const s=nC(r,t.path||"/socket.io"),o=s.source,l=s.id,u=s.path,d=Fo[l]&&u in Fo[l].nsps,f=t.forceNew||t["force new connection"]||t.multiplex===!1||d;let p;return f?p=new Lc(o,t):(Fo[l]||(Fo[l]=new Lc(o,t)),p=Fo[l]),s.query&&!t.query&&(t.query=s.queryKey),p.socket(s.path,t)}Object.assign(Pa,{Manager:Lc,Socket:Wg,io:Pa,connect:Pa});const mC=250;function Tm(r,t){var s;const o=(s=r.token)!==null&&s!==void 0?s:Dn(),l={app_id:r.appId,token:o};o||(l.anonymous_id=ja());const u=Pa(r.serverUrl,{path:r.mountPath,transports:r.transports,query:l});return u.on("connect",async()=>{var d;return console.log("connect",u.id),(d=t.connect)===null||d===void 0?void 0:d.call(t)}),u.on("update_model",async d=>{var f;return(f=t.update_model)===null||f===void 0?void 0:f.call(t,d)}),u.on("error",async d=>{var f;return(f=t.error)===null||f===void 0?void 0:f.call(t,d)}),u.on("connect_error",async d=>{var f;return console.error("connect_error",d),(f=t.error)===null||f===void 0?void 0:f.call(t,d)}),u}function yC({config:r}){let t={...r};const s={},o={},l={connect:async()=>{const E=[];Object.keys(s).forEach(I=>{const L=_(I);L.length!==0&&(m(I),L.forEach(({connect:N})=>{const U=async()=>N==null?void 0:N();E.push(U())}))}),await Promise.all(E)},update_model:async E=>{const L=_(E.room).map(N=>{var U;return(U=N.update_model)===null||U===void 0?void 0:U.call(N,E)});await Promise.all(L)},error:async E=>{console.error("error",E);const I=Object.values(s).flat().map(L=>{var N;return(N=L.error)===null||N===void 0?void 0:N.call(L,E)});await Promise.all(I)}};let u=Tm(r,l);function d(){f()}function f(){D(),u&&u.disconnect()}function p(E){d(),t={...t,...E},u=Tm(t,l)}function m(E){u.emit("join",E)}function g(E){u.emit("leave",E)}async function v(E,I){var L;const N=JSON.stringify(I);return(L=l.update_model)===null||L===void 0?void 0:L.call(l,{room:E,data:N})}function _(E){var I;return(I=s[E])!==null&&I!==void 0?I:[]}function T(E){const I=o[E];I&&(clearTimeout(I),delete o[E])}
110function D(){Object.keys(o).forEach(E=>{var I,L;clearTimeout(o[E]),delete o[E],((L=(I=s[E])===null||I===void 0?void 0:I.length)!==null&&L!==void 0?L:0)===0&&delete s[E]})}function S(E){T(E),o[E]=setTimeout(()=>{var I,L;delete o[E],!(((L=(I=s[E])===null||I===void 0?void 0:I.length)!==null&&L!==void 0?L:0)>0)&&(g(E),delete s[E])},mC)}return{socket:u,subscribeToRoom:(E,I)=>{s[E]?T(E):(m(E),s[E]=[]),s[E].push(I);let L=!1;return()=>{var N,U;L||(L=!0,s[E]=(U=(N=s[E])===null||N===void 0?void 0:N.filter(q=>q!==I))!==null&&U!==void 0?U:[],s[E].length===0&&S(E))}},updateConfig:p,updateModel:v,disconnect:f}}(!globalThis.EventTarget||!globalThis.Event)&&console.error(`
111  PartySocket requires a global 'EventTarget' class to be available!
112  You can polyfill this global by adding this to your code before any partysocket imports: 
113  
114  \`\`\`
115  import 'partysocket/event-target-polyfill';
116  \`\`\`
117  Please file an issue at https://github.com/partykit/partykit if you're still having trouble.
118`);var Qg=class extends Event{constructor(t,s){super("error",s);Me(this,"message");Me(this,"error");this.message=t.message,this.error=t}},Kg=class extends Event{constructor(t=1e3,s="",o){super("close",o);Me(this,"code");Me(this,"reason");Me(this,"wasClean",!0);this.code=t,this.reason=s}},ec={Event,ErrorEvent:Qg,CloseEvent:Kg};function gC(r,t){if(!r)throw new Error(t)}function vC(r){return new r.constructor(r.type,r)}function wC(r){return"data"in r?new MessageEvent(r.type,r):"code"in r||"reason"in r?new Kg(r.code||1999,r.reason||"unknown reason",r):"error"in r?new Qg(r.error,r):new Event(r.type,r)}var $m,xC=typeof process<"u"&&typeof(($m=process.versions)==null?void 0:$m.node)<"u"&&typeof document>"u",xa=xC?wC:vC,Fr={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0},Pm=!1,EC=class Dr extends EventTarget{constructor(s,o,l={}){super();Me(this,"_ws");Me(this,"_retryCount",-1);Me(this,"_uptimeTimeout");Me(this,"_connectTimeout");Me(this,"_shouldReconnect",!0);Me(this,"_connectLock",!1);Me(this,"_binaryType","blob");Me(this,"_closeCalled",!1);Me(this,"_messageQueue",[]);Me(this,"_url");Me(this,"_protocols");Me(this,"_options");Me(this,"onclose",null);Me(this,"onerror",null);Me(this,"onmessage",null);Me(this,"onopen",null);Me(this,"_handleOpen",s=>{this._debug("open event");const{minUptime:o=Fr.minUptime}=this._options;clearTimeout(this._connectTimeout),this._uptimeTimeout=setTimeout(()=>this._acceptOpen(),o),gC(this._ws,"WebSocket is not defined"),this._ws.binaryType=this._binaryType,this._messageQueue.forEach(l=>{var u;return(u=this._ws)==null?void 0:u.send(l)}),this._messageQueue=[],this.onopen&&this.onopen(s),this.dispatchEvent(xa(s))});Me(this,"_handleMessage",s=>{this._debug("message event"),this.onmessage&&this.onmessage(s),this.dispatchEvent(xa(s))});Me(this,"_handleError",s=>{this._debug("error event",s.message),this._disconnect(void 0,s.message==="TIMEOUT"?"timeout":void 0),this.onerror&&this.onerror(s),this._debug("exec error listeners"),this.dispatchEvent(xa(s)),this._connect()});Me(this,"_handleClose",s=>{this._debug("close event"),this._clearTimeouts(),this._shouldReconnect&&this._connect(),this.onclose&&this.onclose(s),this.dispatchEvent(xa(s))});this._url=s,this._protocols=o,this._options=l,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}static get CONNECTING(){return 0}static get OPEN(){return 1}static get CLOSING(){return 2}static get CLOSED(){return 3}get CONNECTING(){return Dr.CONNECTING}get OPEN(){return Dr.OPEN}get CLOSING(){return Dr.CLOSING}get CLOSED(){return Dr.CLOSED}get binaryType(){return this._ws?this._ws.binaryType:this._binaryType}set binaryType(s){this._binaryType=s,this._ws&&(this._ws.binaryType=s)}get retryCount(){return Math.max(this._retryCount,0)}get bufferedAmount(){return this._messageQueue.reduce((o,l)=>(typeof l=="string"?o+=l.length:l instanceof Blob?o+=l.size:o+=l.byteLength,o),0)+(this._ws?this._ws.bufferedAmount:0)}get extensions(){return this._ws?this._ws.extensions:""}get protocol(){return this._ws?this._ws.protocol:""}get readyState(){return this._ws?this._ws.readyState:this._options.startClosed?Dr.CLOSED:Dr.CONNECTING}get url(){return this._ws?this._ws.url:""}get shouldReconnect(){return this._shouldReconnect}close(s=1e3,o){if(this._closeCalled=!0,this._shouldReconnect=!1,this._clearTimeouts(),!this._ws){this._debug("close enqueued: no ws instance");return}if(this._ws.readyState===this.CLOSED){this._debug("close: already closed");return}this._ws.close(s,o)}reconnect(s,o){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(s,o),this._connect())}
118send(s){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",s),this._ws.send(s);else{const{maxEnqueuedMessages:o=Fr.maxEnqueuedMessages}=this._options;this._messageQueue.length<o&&(this._debug("enqueue",s),this._messageQueue.push(s))}}_debug(...s){this._options.debug&&console.log.apply(console,["RWS>",...s])}_getNextDelay(){const{reconnectionDelayGrowFactor:s=Fr.reconnectionDelayGrowFactor,minReconnectionDelay:o=Fr.minReconnectionDelay,maxReconnectionDelay:l=Fr.maxReconnectionDelay}=this._options;let u=0;return this._retryCount>0&&(u=o*Math.pow(s,this._retryCount-1),u>l&&(u=l)),this._debug("next delay",u),u}_wait(){return new Promise(s=>{setTimeout(s,this._getNextDelay())})}_getNextProtocols(s){if(!s)return Promise.resolve(null);if(typeof s=="string"||Array.isArray(s))return Promise.resolve(s);if(typeof s=="function"){const o=s();if(!o)return Promise.resolve(null);if(typeof o=="string"||Array.isArray(o))return Promise.resolve(o);if(o.then)return o}throw Error("Invalid protocols")}_getNextUrl(s){if(typeof s=="string")return Promise.resolve(s);if(typeof s=="function"){const o=s();if(typeof o=="string")return Promise.resolve(o);if(o.then)return o}throw Error("Invalid URL")}_connect(){if(this._connectLock||!this._shouldReconnect)return;this._connectLock=!0;
118const{maxRetries:s=Fr.maxRetries,connectionTimeout:o=Fr.connectionTimeout}=this._options;if(this._retryCount>=s){this._debug("max retries reached",this._retryCount,">=",s);return}this._retryCount++,this._debug("connect",this._retryCount),this._removeListeners(),this._wait().then(()=>Promise.all([this._getNextUrl(this._url),this._getNextProtocols(this._protocols||null)])).then(([l,u])=>{if(this._closeCalled){this._connectLock=!1;return}!this._options.WebSocket&&typeof WebSocket>"u"&&!Pm&&(console.error(`‼️ No WebSocket implementation available. You should define options.WebSocket. 
119
120For example, if you're using node.js, run \`npm install ws\`, and then in your code:
121
122import PartySocket from 'partysocket';
123import WS from 'ws';
124
125const partysocket = new PartySocket({
126  host: "127.0.0.1:1999",
127  room: "test-room",
128  WebSocket: WS
129});
130
131`),Pm=!0);const d=this._options.WebSocket||WebSocket;this._debug("connect",{url:l,protocols:u}),this._ws=u?new d(l,u):new d(l),this._ws.binaryType=this._binaryType,this._connectLock=!1,this._addListeners(),this._connectTimeout=setTimeout(()=>this._handleTimeout(),o)}).catch(l=>{this._connectLock=!1,this._handleError(new ec.ErrorEvent(Error(l.message),this))})}_handleTimeout(){this._debug("timeout event"),this._handleError(new ec.ErrorEvent(Error("TIMEOUT"),this))}_disconnect(s=1e3,o){if(this._clearTimeouts(),!!this._ws){this._removeListeners();try{this._ws.close(s,o),this._handleClose(new ec.CloseEvent(s,o,this))}catch{}}}_acceptOpen(){this._debug("accept open"),this._retryCount=0}_removeListeners(){this._ws&&(this._debug("removeListeners"),this._ws.removeEventListener("open",this._handleOpen),this._ws.removeEventListener("close",this._handleClose),this._ws.removeEventListener("message",this._handleMessage),this._ws.removeEventListener("error",this._handleError))}_addListeners(){this._ws&&(this._debug("addListeners"),this._ws.addEventListener("open",this._handleOpen),this._ws.addEventListener("close",this._handleClose),this._ws.addEventListener("message",this._handleMessage),this._ws.addEventListener("error",this._handleError))}_clearTimeouts(){clearTimeout(this._connectTimeout),clearTimeout(this._uptimeTimeout)}};/*!
132 * Reconnecting WebSocket
133 * by Pedro Ladaria <[email protected]>
134 * https://github.com/pladaria/reconnecting-websocket
135 * License MIT
136 */const _C=1e3,SC=3e3,bC=new Set([405,409,422,503]),CC=new Set([400,403,404]);function kC(r){const t=r&&typeof r=="object"?r.status:void 0;return typeof t=="number"?t:void 0}function RC(r){return r instanceof Error?r:new Error(String(r))}class TC{constructor(t,s,o,l,u){var d;this.onClose=u,this.listeners=new Set,this.heartbeat=null,this.closed=!1,this.id=(d=l==null?void 0:l.id)!==null&&d!==void 0?d:crypto.randomUUID();let f=o.transport==="proxy";const p=async()=>{var _;if(this.closed)throw new Error("Actor connection is closed");if(!f)try{const{websocket_url:T,token:D}=await o.mintConnectionToken(t,s,this.id),S=T.includes("?")?"&":"?";return`${T}${S}token=${encodeURIComponent(D)}`}catch(T){const D=kC(T);if(!(o.transport!=="direct"&&D!==void 0&&bC.has(D))){D!==void 0&&CC.has(D)&&this.close();try{(_=o.onMintError)===null||_===void 0||_.call(o,RC(T))}catch{}throw T}f=!0}return AC(o.host,t,s,this.id,o.appId,o.getAuthToken(),o.functionsVersion)},m=new EC(p);this.ws=m;let g=Date.now();const v=()=>{g=Date.now()};m.addEventListener("open",v),m.addEventListener("message",_=>{v();let T;try{T=JSON.parse(_.data)}catch{return}if((T&&typeof T=="object"?T.type:void 0)!=="__pong")for(const S of this.listeners)S(T)}),this.heartbeat=setInterval(()=>{if(Date.now()-g>SC){v(),m.readyState===m.OPEN&&m.reconnect();return}try{m.send(JSON.stringify({type:"__ping"}))}catch{}},_C)}subscribe(t){return this.listeners.add(t),{unsubscribe:()=>{this.listeners.delete(t)}}}send(t){this.closed||this.ws.send(JSON.stringify(t))}close(){this.closed||(this.closed=!0,this.heartbeat&&(clearInterval(this.heartbeat),this.heartbeat=null),this.listeners.clear(),this.ws.close(),this.onClose())}}function PC(r,t,s,o){let l=null;return{connect(u){if(l)return l;const d=new TC(r,t,s,u,()=>
136{o.delete(d),l===d&&(l=null)});return l=d,o.add(d),d}}}function AC(r,t,s,o,l,u,d){let f=r.replace(/^(http|https|ws|wss):\/\//,"");f.endsWith("/")&&(f=f.slice(0,-1));const p=f.startsWith("localhost:")||f.startsWith("127.0.0.1:")||f.startsWith("192.168.")||f.startsWith("10.")||f.startsWith("172.")&&f.split(".")[1]>="16"&&f.split(".")[1]<="31"||f.startsWith("[::ffff:7f00:1]:"),m=new URLSearchParams([["_pk",o],["app_id",l],["handler",t]]);return u&&m.append("token",u),d&&m.append("fv",d),`${p?"ws":"wss"}://${f}/parties/${t}/${s}?${m}`}function OC(r,t){return r&&!r.startsWith("/")?r:t??r}function NC(r){const t=new Set;return{module:new Proxy({},{get(o,l){if(!(typeof l!="string"||l==="then"))return u=>PC(l,u,r,t)}}),closeAll:()=>{for(const o of[...t])o.close()}}}function LC(r){var t,s,o,l;const{serverUrl:u="https://base44.app",appId:d,analytics:f,token:p,serviceToken:m,requiresAuth:g=!1,appBaseUrl:v,options:_,functionsVersion:T,headers:D}=r,S=typeof v=="string"?v:"",w={serverUrl:u,mountPath:"/ws-user-apps/socket.io/",transports:["websocket"],appId:d,token:p};let E=null;const I=()=>(E||(E=yC({config:w})),E),L={...D,"X-App-Id":String(d)},N=T?{...L,"Base44-Functions-Version":T}:L,U=Io({baseURL:`${u}/api`,headers:L,token:p,onError:_==null?void 0:_.onError}),q=Io({baseURL:`${u}/api`,headers:N,token:p,interceptResponses:!1,onError:_==null?void 0:_.onError}),G={...L,...p?{"on-behalf-of":`Bearer ${p}`}:{}},z=Io({baseURL:`${u}/api`,headers:G,token:m,onError:_==null?void 0:_.onError}),ae=Io({baseURL:`${u}/api`,headers:N,token:m,interceptResponses:!1}),ye=Io({baseURL:`${u}/api`,headers:L}),_e=hb(U,q,d,{appBaseUrl:S,token:p});if(typeof window<"u"){const ue=p||Dn();ue&&_e.setToken(ue)}const Ce=NC({appId:d,host:OC(u,typeof window<"u"?(t=window.location)===null||t===void 0?void 0:t.origin:void 0),functionsVersion:T,getAuthToken:()=>p||Dn(),mintConnectionToken:async(ue,we,K)=>{const ne=p||Dn();return await ye.post(`/apps/${d}/actors/${encodeURIComponent(ue)}/connection-token`,{room:we,connection_id:K},{headers:{...ne?{Authorization:`Bearer ${ne}`}:{},...T?{"Base44-Functions-Version":T}:{}}})},transport:_==null?void 0:_.actorsTransport,onMintError:_==null?void 0:_.onError}),Oe={entities:gm({axios:U,appId:d,getSocket:I}),integrations:vm(U,d),connectors:vb(U,d),auth:_e,functions:wm(q,d,{getAuthHeaders:()=>{const ue={},we=p||Dn();return we&&(ue.Authorization=`Bearer ${we}`),ue},baseURL:(s=q.defaults)===null||s===void 0?void 0:s.baseURL}),agents:xm({axios:U,getSocket:I,appId:d,serverUrl:u,token:p}),aiGateway:Em({serverUrl:u,token:p,appId:d}),appLogs:_m(U,d),app:xb(U,d),users:Eb(U,d),analytics:Z1({axiosClient:U,serverUrl:u,appId:d,userAuthModule:_e,enabled:(o=f==null?void 0:f.enabled)!==null&&o!==void 0?o:!0}),actors:Ce.module,cleanup:()=>{Oe.analytics.cleanup(),Ce.closeAll(),E&&E.disconnect()}},Z={entities:gm({axios:z,appId:d,getSocket:I}),integrations:vm(z,d),sso:pb(z,d),connectors:yb(z,d),functions:wm(ae,d,{getAuthHeaders:()=>{const ue={};return m&&(ue.Authorization=`Bearer ${m}`),ue},baseURL:(l=ae.defaults)===null||l===void 0?void 0:l.baseURL}),agents:xm({axios:z,getSocket:I,appId:d,serverUrl:u,token:p}),aiGateway:Em({serverUrl:u,token:m,appId:d}),appLogs:_m(z,d),cleanup:()=>{E&&E.disconnect()}};return g&&typeof window<"u"&&setTimeout(async()=>{try{await Oe.auth.isAuthenticated()||Oe.auth.redirectToLogin(window.location.href)}catch(ue){console.error("Authentication check failed:",ue),Oe.auth.redirectToLogin(window.location.href)}},0),{...Oe,setToken(ue){Oe.auth.setToken(ue),E&&E.updateConfig({token:ue}),w.token=ue},getConfig(){return{serverUrl:u,appId:d,requiresAuth:g}},get asServiceRole(){if(!m)throw new Error("Service token is required to use asServiceRole. Please provide a serviceToken when creating the client.");return Z}}}const IC=typeof window>"u",FC=()=>!IC&&new URLSearchParams(window.location.search).get("clear_access_token")==="true",DC=()=>{window.localStorage.removeItem("base44_access_token"),window.localStorage.removeItem("token")},jC=()=>(FC()&&DC(),{appId:"6a99602719e1d2c2c31650ac",token:Dn(),functionsVersion:"prod",appBaseUrl:void 0}),Gg={...jC()},{appId:MC,token:UC,functionsVersion:BC,appBaseUrl:zC}=Gg,ks=LC({appId:MC,token:UC,functionsVersion:BC,serverUrl:"",appBaseUrl:zC});function $C({}){var l;const t=Jc().pathname.substring(1),{data:s,isFetched:o}=YE({queryKey:["user"],queryFn:async()=>{try{return{user:await ks.auth.me(),isAuthenticated:!0}}catch{return{user:null,isAuthenticated:!1}}}});return C.jsx("div",{className:"min-h-screen flex items-center justify-center p-6 bg-slate-50",children:C.jsx("div",{className:"max-w-md w-full",children:C.jsxs("div",{className:"text-center space-y-6",children:[C.jsxs("div",{className:"space-y-2",children:[C.jsx("h1",{className:"text-7xl font-light text-slate-300",children:"404"}),C.jsx("div",{className:"h-0.5 w-16 bg-slate-200 mx-auto"})]}),C.jsxs("div",{className:"space-y-3",children:[C.jsx("h2",{className:"text-2xl font-medium text-slate-800",children:"Page Not Found"}),C.jsxs("p",{className:"text-slate-600 leading-relaxed",children:["The page ",C.jsxs("span",{className:"font-medium text-slate-700",children:['"',t,'"']})," could not be found in this application."]})]}),o&&s.isAuthenticated&&((l=s.user)==null?void 0:l.role)==="admin"&&C.jsx("div",{className:"mt-8 p-4 bg-slate-100 rounded-lg border border-slate-200",children:C.jsxs("div",{className:"flex items-start space-x-3",children:[C.jsx("div",{className:"flex-shrink-0 w-5 h-5 rounded-full bg-orange-100 flex items-center justify-center mt-0.5",children:C.jsx("div",{className:"w-2 h-2 rounded-full bg-orange-400"})}),C.jsxs("div",{className:"text-left space-y-1",children:[C.jsx("p",{className:"text-sm font-medium text-slate-700",children:"Admin Note"}),C.jsx("p",{className:"text-sm text-slate-600 leading-relaxed",children:"This could mean that the AI hasn't implemented this page yet. Ask it to implement it in the chat."})]})]})}),C.jsx("div",{className:"pt-6",children:C.jsxs("button",{onClick:()=>window.location.href="/",className:"inline-flex items-center px-4 py-2 text-sm font-medium text-slate-700 bg-white border border-slate-200 rounded-lg hover:bg-slate-50 hover:border-slate-300 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-slate-500",children:[C.jsx("svg",{className:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:C.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"})}),"Go Home"]})})]})})})}const Xg=k.createContext(),VC=({children:r})=>{const[t,s]=k.useState(null),[o,l]=k.useState(!1),[u,d]=k.useState(!0),[f,p]=k.useState(!0),[m,g]=k.useState(null),[v,_]=k.useState(!1),[T,D]=k.useState(null);k.useEffect(()=>{S()},[]);const S=async()=>{var L,N;try{p(!0),g(null);try{const U=await ks.app.getPublicSettings();D(U),Gg.token?await w():(d(!1),l(!1),_(!0)),p(!1)}catch(U){if(console.error("App state check failed:",U),U.status===403&&((N=(L=U.data)==null?void 0:L.extra_data)!=null&&N.reason)){const q=U.data.extra_data.reason;g(q==="auth_required"?{type:"auth_required",message:"Authentication required"}:q==="user_not_registered"?{type:"user_not_registered",message:"User not registered for this app"}:{type:q,message:U.message})}else g({type:"unknown",message:U.message||"Failed to load app"});p(!1),d(!1)}}catch(U){console.error("Unexpected error:",U),g({type:"unknown",message:U.message||"An unexpected error occurred"}),p(!1),d(!1)}},w=async()=>{try{d(!0);const L=await ks.auth.me();s(L),l(!0),d(!1),_(!0)}catch(L){console.error("User auth check failed:",L),d(!1),l(!1),_(!0),(L.status===401||L.status===403)&&g({type:"auth_required",message:"Authentication required"})}},E=(L=!0)=>{s(null),l(!1),L?ks.auth.logout(window.location.href):ks.auth.logout()},I=()=>{ks.auth.redirectToLogin(window.location.href)};return C.jsx(Xg.Provider,{value:{user:t,isAuthenticated:o,isLoadingAuth:u,isLoadingPublicSettings:f,authError:m,appPublicSettings:T,authChecked:v,logout:E,navigateToLogin:I,checkUserAuth:w,checkAppState:S},children:r})},qC=()=>{const r=k.useContext(Xg);if(!r)throw new Error("useAuth must be used within an AuthProvider");return r},HC=()=>C.jsx("div",{className:"flex flex-col items-center justify-center min-h-screen bg-gradient-to-b from-white to-slate-50",children:C.jsx("div",{className:"max-w-md w-full p-8 bg-white rounded-lg shadow-lg border border-slate-100",children:C.jsxs("div",{className:"text-center",children:[C.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 mb-6 rounded-full bg-orange-100",children:C.jsx("svg",{className:"w-8 h-8 text-orange-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:C.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),C.jsx("h1",{className:"text-3xl font-bold text-slate-900 mb-4",children:"Access Restricted"}),C.jsx("p",{className:"text-slate-600 mb-8",children:"You are not registered to use this application. Please contact the app administrator to request access."}),C.jsxs("div",{className:"p-4 bg-slate-50 rounded-md text-sm text-slate-600",children:[C.jsx("p",{children:"If you believe this is an error, you can:"}),C.jsxs("ul",{className:"list-disc list-inside mt-2 space-y-1",children:[C.jsx("li",{children:"Verify you are logged in with the correct account"}),C.jsx("li",{children:"Contact the app administrator for access"}),C.jsx("li",{children:"Try logging out and back in again"})]})]})]})})}),WC=r=>{const t=r.slice(1);try{return decodeURIComponent(t)}catch{return t}};function QC(){const{pathname:r,hash:t}=Jc(),s=S_();return k.useEffect(()=>{if(s!=="POP"){if(t){const o=WC(t),l=window.setTimeout(()=>{var u;(u=document.getElementById(o))==null||u.scrollIntoView({behavior:"smooth"})},50);return()=>window.clearTimeout(l)}window.scrollTo({top:0,left:0,behavior:"instant"})}},[r,t,s]),null}function KC(){return C.jsx("header",{className:"fixed inset-x-0 top-0 z-40 border-b border-white/10 bg-[#05070A]/75 backdrop-blur-xl",children:C.jsxs("div",{className:"mx-auto flex h-20 max-w-7xl items-center justify-between px-6 lg:px-10",children:[C.jsxs("a",{href:"#inicio",className:"flex items-center gap-3 font-semibold tracking-[0.18em] text-[#F2F2F2]",children:[C.jsx(vx,{className:"h-6 w-6 text-[#00E5FF]","aria-hidden":"true"}),C.jsx("span",{className:"text-sm sm:text-base",children:"EL ECO ABISAL"})]}),C.jsxs("nav",{"aria-label":"Navegación principal",className:"hidden items-center gap-8 text-sm text-[#A0AAB2] md:flex",children:[C.jsx("a",{className:"transition-colors hover:text-[#00E5FF]",href:"#crisis",children:"La crisis"}),C.jsx("a",{className:"transition-colors hover:text-[#00E5FF]",href:"#impacto",children:"El impacto"}),C.jsx("a",{className:"transition-colors hover:text-[#00E5FF]",href:"#actua",children:"Actúa"})]}),C.jsx("a",{href:"#actua",className:"border border-[#00E5FF]/50 px-4 py-2 text-sm font-semibold text-[#00E5FF] transition-colors hover:bg-[#00E5FF] hover:text-[#05070A]",children:"Comprométete"})]})})}function GC(r){const[t,s]=k.useState(null);return k.useLayoutEffect(()=>{const o=r.current;if(!o)return;const l=o.getBoundingClientRect();s({width:l.width,height:l.height});
136const u=new ResizeObserver(([d])=>{const{width:f,height:p}=d.contentRect;s({width:f,height:p})});return u.observe(o),()=>u.disconnect()},[r]),t}const XC={"media.base44.com":"/images/public/","static.wixstatic.com":"/media/"},YC=1024,Nn={OPTIMIZED:"optimized",ORIGINAL:"original",FALLBACK:"fallback"},JC=[1,2,3],ZC=6e3;function ek(r){try{const t=new URL(r);if(t.protocol!=="https:"||t.username||t.password||t.port&&t.port!=="443")return null;const s=XC[t.hostname];if(!s)return null;const o=t.pathname.match(/^(.*)\/v1\/(?:fill|fit)\/[^/]+\/[^/]+$/i),l=o?o[1]:t.pathname,u=l.split("/").pop();return!l.startsWith(s)||!u||!/\.[a-z0-9]+$/i.test(u)||/\.svg$/i.test(u)?null:{baseUrl:`${t.origin}${l}`,filename:u}}catch{return null}}const Am=r=>Math.min(Math.max(Math.round(r),1),ZC),Om=r=>Math.min(1,Math.max(0,r));function Ic({baseUrl:r,filename:t},{width:s,height:o,crop:l,focalPoint:u,quality:d}){const f=[`w_${Am(s)}`,`h_${Am(o||s)}`];l&&f.push(u?`fp_${Om(u.x).toFixed(2)}_${Om(u.y).toFixed(2)}`:"al_c"),f.push(`q_${d}`,"usm_0.66_1.00_0.01","enc_webp","quality_auto");const p=/\.gif$/i.test(t)?t:t.replace(/\.[a-z0-9]+$/i,"")+".webp";return`${r}/v1/${l?"fill":"fit"}/${f.join(",")}/${p}`}function tk(r,t){return JC.map(s=>`${Ic(r,{...t,width:t.width*s,height:t.height?t.height*s:void 0})} ${s}x`).join(", ")}function nk(r,t){return(t==null?void 0:t.baseUrl)||r}function rk(r){return r===Nn.OPTIMIZED?Nn.ORIGINAL:Nn.FALLBACK}const tc="https://static.wixstatic.com/media/12d367_4f26ccd17f8f4e3a8958306ea08c2332~mv2.png",Yg=k.forwardRef(({aspectRatio:r,className:t,style:s,children:o},l)=>C.jsx("span",{ref:l,className:xr("inline-block relative",t),style:{aspectRatio:r,...s},children:o}));Yg.displayName="ImageWrapper";const Jg=k.forwardRef(({parsed:r,fittingType:t,focalPoint:s,quality:o,className:l,style:u,aspectRatio:d,onLoad:f,...p},m)=>{const g=k.useRef(null),v=k.useRef(null),_=GC(g),[T,D]=k.useState(!1);k.useImperativeHandle(m,()=>v.current),k.useEffect(()=>{D(!1)},[r.baseUrl]);const S=t!=="fit",w=_&&{width:_.width||YC,height:_.height?_.height:void 0,crop:S,focalPoint:S?s:void 0,quality:o};return C.jsxs(Yg,{ref:g,aspectRatio:d,className:l,style:u,children:[w&&!T&&C.jsx("img",{src:Ic(r,{...w,width:20,height:w.height?Math.max(1,Math.round(20*w.height/w.width)):void 0,quality:20}),alt:"","aria-hidden":"true",className:"w-full h-full inset-0 absolute",style:{objectFit:t==="fit"?"contain":"cover",filter:"blur(10px)",transform:"scale(1.1)"}}),w&&C.jsx("img",{ref:v,src:Ic(r,w),srcSet:tk(r,w),loading:"lazy",className:xr("w-full h-full inset-0 absolute",t==="fit"?"object-contain":"object-cover"),onLoad:E=>{D(!0),f==null||f(E)},...p})]})});Jg.displayName="ResponsiveImage";const Wa=k.forwardRef(({src:r,fittingType:t="fill",originWidth:s,originHeight:o,focalPointX:l,focalPointY:u,quality:d=90,onError:f,...p},m)=>{const g=r&&r!==tc?ek(r):null,v=g?Nn.OPTIMIZED:Nn.ORIGINAL,[_,T]=k.useState({src:r,mode:v}),D=_.src===r?_.mode:v;k.useEffect(()=>{T({src:r,mode:v})},[r,v]);const w={...p,onError:N=>{if(D===Nn.FALLBACK)return;const U=rk(D);T({src:r,mode:U}),U===Nn.FALLBACK&&(f==null||f(N))}};if(!r)return C.jsx("img",{ref:m,src:tc,...w,"data-empty-image":!0});const E=D===Nn.OPTIMIZED?g:null;if(!E){const N=D===Nn.FALLBACK,U=N?tc:nk(r,g);return C.jsx("img",{ref:m,src:U,...w,"data-error-image":N||void 0})}const I=typeof l=="number"&&typeof u=="number"?{x:l,y:u}:void 0,L=s&&o?`${s} / ${o}`:void 0;return C.jsx(Jg,{ref:m,parsed:E,fittingType:t,focalPoint:I,quality:d,aspectRatio:L,...w})});Wa.displayName="Image";const sk="https://media.base44.com/images/public/6a99602719e1d2c2c31650ac/707a8dac4_generated_0e090a65.jpg";function ok(){return C.jsxs("section",{id:"inicio",className:"relative flex min-h-screen items-end overflow-hidden bg-[#05070A] pb-16 pt-36 sm:pb-24",children:[C.jsx(Wa,{src:sk,alt:"La enorme aleta de una ballena azul desaparece en un océano oscuro rodeada de partículas suspendidas",className:"absolute inset-0 h-full w-full object-cover opacity-70"}),C.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#05070A]/30 via-[#05070A]/20 to-[#05070A]"}),C.jsxs("div",{className:"relative mx-auto w-full max-w-7xl px-6 lg:px-10",children:[C.jsxs("p",{className:"mb-7 flex items-center gap-3 text-sm font-semibold uppercase tracking-[0.28em] text-[#00E5FF]",children:[C.jsx("span",{className:"h-px w-12 bg-[#00E5FF]"})," Crónica de una crisis silenciosa"]}),C.jsxs("h1",{className:"max-w-5xl font-display text-6xl font-medium leading-[0.88] tracking-[-0.05em] text-[#F2F2F2] sm:text-8xl lg:text-[9rem]",children:["EL ECO",C.jsx("br",{}),C.jsx("span",{className:"text-[#A0AAB2]",children:"SILENCIOSO."})]}),C.jsxs("div",{className:"mt-10 flex flex-col gap-8 border-t border-white/20 pt-7 sm:flex-row sm:items-end sm:justify-between",children:[C.jsx("p",{className:"max-w-xl text-lg leading-relaxed text-[#D0D6DA]",children:"Las ballenas sostienen la vida del océano. Hoy, su mundo se llena de un material diseñado para no desaparecer."}),C.jsxs("a",{href:"#crisis",className:"flex items-center gap-3 text-sm font-semibold uppercase tracking-[0.2em] text-[#F2F2F2]",children:["Iniciar descenso ",C.jsx(yx,{className:"h-5 w-5 text-[#00E5FF]"})]})]})]})]})}const ik=[{image:"https://media.base44.com/images/public/6a99602719e1d2c2c31650ac/20aac6acc_generated_0abdb376.jpg",alt:"Red de pesca rota rozando la piel azul oscura de una ballena",number:"600 años",title:"Redes fantasma",text:"Las redes de pesca perdidas o abandonadas derivan durante décadas en el océano. Atrapan, enredan y asfixian a ballenas, delfines y tortugas que no logran liberarse. Un solo paño puede seguir matando animales mucho después de que el barco que lo perdió dejó de existir. Se les llama «redes fantasma» porque capturan sin que nadie las recoja, generando una mortandad silenciosa y continua bajo la superficie.",detail:"Hasta el 46% de la basura del Gran Pacífico son redes y cuerdas de pesca."},{image:"https://media.base44.com/images/public/6a99602719e1d2c2c31650ac/4fcd11e5c_generated_3025c62e.jpg",alt:"Botella plástica con bordes rotos suspendida en agua azul profunda",number:"450 años",title:"Botellas",text:"Una botella de plástico puede tardar hasta 450 años en degradarse. No desaparece: se fragmenta en piezas cada vez más pequeñas que terminan en el estómago de animales marinos. Las ballenas filtradoras tragan miles de litros de agua al día y, con ellos, estos fragmentos que confunden con alimento. El plástico libera además sustancias tóxicas que se acumulan en los tejidos y pasan de generación en generación.",detail:"Cada minuto se compran un millón de botellas de plástico en el mund
136o."}];function ak(){return C.jsx("section",{id:"crisis",className:"bg-[#071117] py-28 sm:py-40",children:C.jsxs("div",{className:"mx-auto max-w-7xl px-6 lg:px-10",children:[C.jsxs("div",{className:"grid gap-12 lg:grid-cols-[0.8fr_1.2fr] lg:items-end",children:[C.jsxs("div",{children:[C.jsx("p",{className:"mb-5 text-sm uppercase tracking-[0.25em] text-[#00E5FF]",children:"01 — La necrópolis plástica"}),C.jsxs("h2",{className:"font-display text-5xl leading-none tracking-tight text-[#F2F2F2] sm:text-7xl",children:["Lo que tiramos",C.jsx("br",{}),"no se va."]})]}),C.jsx("p",{className:"max-w-2xl text-lg leading-[1.7] text-[#A0AAB2]",children:"Cada año llegan al océano hasta 13 millones de toneladas de plástico. Ese material no se disuelve ni se reintegra a la naturaleza: se acumula, se fragmenta y permanece durante siglos. Bolsas, cuerdas, envases y microplásticos se confunden con alimento, bloquean el sistema digestivo de los cetáceos, los enredan y los asfixian. Lo que tiramos a la basura hoy puede estar flotando en el mar cuando nuestros nietos ya no estén."})]}),C.jsx("div",{className:"mt-20 grid gap-6 md:grid-cols-2",children:ik.map(r=>C.jsxs("article",{className:"group relative overflow-hidden border border-white/10 bg-[#05070A]",children:[C.jsx(Wa,{src:r.image,alt:r.alt,className:"h-[30rem] w-full object-cover opacity-75 transition duration-700 group-hover:scale-105 group-hover:opacity-95"}),C.jsxs("div",{className:"absolute inset-x-0 bottom-0 bg-gradient-to-t from-[#05070A] via-[#05070A]/90 to-transparent p-7 pt-28",children:[C.jsxs("p",{className:"mb-3 font-mono text-sm text-[#00E5FF]",children:["PERSISTENCIA APROX. — ",r.number]}),C.jsx("h3",{className:"font-display text-3xl text-[#F2F2F2]",children:r.title}),C.jsx("p",{className:"mt-3 text-lg leading-relaxed text-[#A0AAB2]",children:r.text}),C.jsx("p",{className:"mt-4 border-t border-white/10 pt-4 text-base leading-relaxed text-[#7A8890]",children:r.detail})]})]},r.title))})]})})}function lk(){const[r,t]=k.useState(!0);return C.jsx("section",{id:"impacto",className:"relative overflow-hidden bg-[#05070A] py-28 sm:py-40",children:C.jsxs("div",{className:"mx-auto grid max-w-7xl gap-16 px-6 lg:grid-cols-2 lg:px-10",children:[C.jsxs("div",{children:[C.jsx("p",{className:"mb-5 text-sm uppercase tracking-[0.25em] text-[#00E5FF]",children:"02 — Anatomía del impacto"}),C.jsxs("h2",{className:"font-display text-5xl leading-none tracking-tight text-[#F2F2F2] sm:text-7xl",children:["Una amenaza",C.jsx("br",{}),"invisible."]}),C.jsx("p",{className:"mt-8 max-w-xl text-lg leading-[1.7] text-[#A0AAB2]",children:"Los microplásticos —fragmentos menores a 5 milímetros— son la cara más insidiosa de la contaminación marina. Ingresan a la cadena alimentaria desde el plancton, el alimento base del océano, y ascienden hasta los grandes cetáceos. Una ballena azul puede ingerir hasta 10 millones de partículas de microplástico al día mientras filtra miles de litros de agua para alimentarse."}),C.jsx("p",{className:"mt-5 max-w-xl text-lg leading-[1.7] text-[#A0AAB2]",children:"El problema no termina en el plástico visible: estas partículas absorben sustancias tóxicas como metales pesados y químicos industriales. Al acumularse en los tejidos de las ballenas, debilitan su sistema inmunológico, alteran su reproducción y comprometen la supervivencia de poblaciones enteras que ya enfrentan presión por colisiones con barcos y ruido submarino."}),C.jsx("p",{className:"mt-5 max-w-xl text-lg leading-[1.7] text-[#A0AAB2]",children:"Lo más alarmante es que no se ve. El agua puede parecer cristalina y, aun así, estar cargada de millones de fragmentos invisibles a simple vista. Esta es la verdadera dimensión del problema: un océano que parece sano pero que, silenciosamente, se está llenando de un material que la vida marina no puede evitar tragar."}),C.jsxs("button",{onClick:()=>t(!r),"aria-pressed":r,className:"mt-10 flex items-center gap-4 border border-white/20 bg-white/5 px-5 py-4 text-left text-[#F2F2F2]",children:[C.jsx("span",{className:`relative h-7 w-14 roun
136ded-full transition-colors ${r?"bg-[#00E5FF]":"bg-[#3B4B53]"}`,children:C.jsx("span",{className:`absolute top-1 h-5 w-5 rounded-full bg-[#05070A] transition-transform ${r?"translate-x-8":"translate-x-1"}`})}),C.jsxs("span",{children:[C.jsx("strong",{className:"block text-sm uppercase tracking-wider",children:"Filtro de partículas"}),C.jsx("span",{className:"text-sm text-[#A0AAB2]",children:r?"Plástico visible":"Océano limpio"})]})]})]}),C.jsxs("div",{className:"relative flex min-h-[34rem] items-center justify-center border border-white/10 bg-[#071117]",children:[C.jsx("div",{className:"absolute h-48 w-4/5 rounded-[50%] border border-[#00E5FF]/70 before:absolute before:-left-16 before:top-1/2 before:h-24 before:w-28 before:-translate-y-1/2 before:rounded-[50%] before:border before:border-[#00E5FF]/70 after:absolute after:-right-10 after:top-1/2 after:h-px after:w-20 after:rotate-12 after:bg-[#00E5FF]/70"}),r&&Array.from({length:18}).map((s,o)=>C.jsx("i",{className:"absolute h-1.5 w-1.5 animate-pulse rounded-full bg-[#00E5FF]",style:{left:`${12+o*37%78}%`,top:`${10+o*29%78}%`,animationDelay:`${o*80}ms`}},o)),C.jsxs("div",{className:"absolute bottom-7 left-7 border-l-2 border-[#00E5FF] pl-4",children:[C.jsx("p",{className:"font-mono text-xs text-[#00E5FF]",children:"PUNTO CRÍTICO"}),C.jsx("p",{className:"mt-1 text-lg text-[#F2F2F2]",children:"Barbas y sistema digestivo"})]})]})]})})}const uk="https://media.base44.com/images/public/6a99602719e1d2c2c31650ac/ac13b8074_generated_16d626a8.jpg";function ck(){return C.jsxs("section",{id:"actua",className:"relative min-h-[90vh] overflow-hidden py-28 sm:py-40",children:[C.jsx(Wa,{src:uk,alt:"Ballena solitaria ascendiendo hacia una superficie iluminada entre partículas de microplástico",className:"absolute inset-0 h-full w-full object-cover"}),C.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#05070A] via-[#06323A]/70 to-[#04252C]/80"}),C.jsx("div",{className:"relative mx-auto flex max-w-7xl justify-center px-6 lg:px-10",children:C.jsxs("div",{className:"max-w-3xl border border-white/20 bg-[#071117]/85 p-8 text-center backdrop-blur-xl sm:p-16",children:[C.jsx("p",{className:"text-sm uppercase tracking-[0.25em] text-[#00E5FF]",children:"03 — Regreso a la superficie"}),C.jsx("h2",{className:"mt-6 font-display text-5xl leading-none text-[#F2F2F2] sm:text-7xl",children:"El cambio empieza en tierra."}),C.jsx("p",{className:"mx-auto mt-7 max-w-xl text-lg leading-[1.7] text-[#C8D7DA]",children:"Cada año, hasta 13 millones de toneladas de plástico llegan al océano. Las ballenas, que filan miles de litros de agua al día, ingieren sin saberlo partículas que permanecen durante siglos. El problema es inmenso, pero las soluciones comienzan con decisiones cotidianas."}),C.jsxs("div",{className:"mt-8 grid gap-6 text-left sm:grid-cols-2",children:[C.jsxs("div",{className:"border-l-2 border-[#00E5FF]/60 pl-5",children:[C.jsx("h3",{className:"text-lg font-semibold text-[#F2F2F2]",children:"Reduce el plástico de un solo uso"}),C.jsx("p",{className:"mt-2 text-base leading-[1.7] text-[#A0AAB2]",children:"Lleva contigo bolsas, botellas y cubiertos reutilizables. Un solo cambio repetido por miles de personas evita toneladas de residuos."})]}),C.jsxs("div",{className:"border-l-2 border-[#00E5FF]/60 pl-5",children:[C.jsx("h3",{className:"text-lg font-semibold text-[#F2F2F2]",children:"Recicla y separa correctamente"}),C.jsx("p",{className:"mt-2 text-base leading-[1.7] text-[#A0AAB2]",children:"Un envase mal desechado puede terminar en el mar. Conocer los símbolos de reciclaje y separar en casa evita que el plástico llegue al océano."})]}),C.jsxs("div",{className:"border-l-2 border-[#00E5FF]/60 pl-5",children:[C.jsx("h3",{className:"text-lg font-semibold text-[#F2F2F2]",children:"Participa en limpiezas costeras"}),C.jsx("p",{className:"mt-2 text-base leading-[1.7] text-[#A0AAB2]",children:"Cada pieza recogida de una playa es una pieza menos que puede ser tragada por un cetáceo. Sumarte a voluntariados tiene un impacto directo."})]}),C.jsxs("div",{className:"border-l-2 border-[#00E5FF]/60 pl-5",children:[C.jsx("h3",{className:"text-lg font-semibold text-[#F2F2F2]",children:"Exige responsabilidad"}),C.jsx("p",{className:"mt-2 text-base leading-[1.7] text-[#A0AAB2]",children:"Apoya políticas que limiten la producción de plásticos innecesarios y exige a las empresas alternativas sostenibles. El cambio sistémico protege a las ballenas a gran escala."})]})]})]})}),C.jsxs("footer",{className:"relative mx-auto mt-28 flex max-w-7xl flex-col gap-5 border-t border-white/20 px-6 pt-7 text-sm text-[#B7C4C8] sm:flex-row sm:justify-between lg:px-10",children:[C.jsx("p",{children:"EL ECO ABISAL — Por un océano que vuelva a respirar."}),C.jsx("a",{className:"text-[#00E5FF]",href:"#inicio",children:"Volver a la superficie ↑"})]})]})}function dk(){const[r,t]=k.useState(0);return k.useEffect(()=>{const s=()=>{const o=document.documentElement.scrollHeight-window.innerHeight;t(Math.round(window.scrollY/Math.max(o,1)*3800))};return s(),window.addEventListener("scroll",s,{passive:!0}),()=>window.removeEventListener("scroll",s)},[]),C.jsxs("div",{className:"min-h-screen bg-[#05070A] text-[#F2F2F2]",children:[C.jsx("a",{href:"#contenido",className:"fixed left-4 top-3 z-[60] -translate-y-20 bg-[#00E5FF] px-5 py-3 font-bold text-[#05070A] focus:translate-y-0",children:"Saltar al contenido"}),C.jsx(KC,{}),C.jsxs("aside",{"aria-label":`Profundidad virtual ${r} metros`,className:"fixed bottom-8 right-4 z-30 hidden border-r border-[#00E5FF]/50 pr-3 text-right font-mono lg:block",children:[C.jsx("span",{className:"block text-[10px] tracking-[0.2em] text-[#A0AAB2]",children:"PROFUNDIDAD"}),C.jsxs("strong",{className:"text-sm text-[#00E5FF]",children:[r.toLocaleStr
136ing("es-ES")," M"]})]}),C.jsxs("main",{id:"contenido",children:[C.jsx(ok,{}),C.jsx(ak,{}),C.jsx(lk,{}),C.jsx(ck,{})]})]})}const fk=()=>{const{isLoadingAuth:r,isLoadingPublicSettings:t,authError:s,navigateToLogin:o}=qC();if(t||r)return C.jsx("div",{className:"fixed inset-0 flex items-center justify-center",children:C.jsx("div",{className:"w-8 h-8 border-4 border-slate-200 border-t-slate-800 rounded-full animate-spin"})});if(s){if(s.type==="user_not_registered")return C.jsx(HC,{});if(s.type==="auth_required")return o(),null}return C.jsxs(M_,{children:[C.jsx(_c,{path:"/",element:C.jsx(dk,{})}),C.jsx(_c,{path:"*",element:C.jsx($C,{})})]})};function hk(){return C.jsx(VC,{children:C.jsxs(UE,{client:JE,children:[C.jsxs(z_,{children:[C.jsx(QC,{}),C.jsx(fk,{})]}),C.jsx(hE,{})]})})}i0.createRoot(document.getElementById("root")).render(C.jsx(hk,{}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.